Top 10 – Popular posts plugin for WordPress - Version 2.2.4

Version Description

  • Enhancements:
    • Changed text domain to top-10 in advance of translate.wordpress.org translation system
    • Improved support for WPML. If available, same language posts will be pulled by default. To restrict to the same language add this code to your theme's functions.php file
Download this release

Release Info

Developer Ajay
Plugin Icon 128x128 Top 10 – Popular posts plugin for WordPress
Version 2.2.4
Comparing to
See all releases

Code changes from version 2.2.3 to 2.2.4

Files changed (63) hide show
  1. admin/admin-columns.php +20 -21
  2. admin/admin-dashboard.php +17 -17
  3. admin/admin-metabox.php +35 -35
  4. admin/admin.php +638 -625
  5. admin/cache.php +73 -74
  6. admin/class-stats.php +51 -53
  7. admin/deprecated.php +5 -5
  8. admin/images/index.php +1 -0
  9. admin/index.php +1 -1
  10. admin/main-view.php +966 -954
  11. admin/wick/index.php +1 -1
  12. admin/wick/wick.css +0 -1
  13. admin/wick/wick.js +266 -273
  14. css/default-style.css +1 -1
  15. css/index.php +1 -1
  16. includes/class-top-10-widget.php +25 -26
  17. includes/counter.php +46 -50
  18. includes/deprecated.php +1 -1
  19. includes/index.php +1 -1
  20. includes/media.php +8 -9
  21. includes/modules/exclusions.php +1 -1
  22. includes/modules/index.php +1 -0
  23. includes/modules/shortcode.php +7 -7
  24. includes/modules/taxonomies.php +3 -3
  25. includes/output-generator.php +16 -16
  26. includes/top-10-addcount.js.php +57 -57
  27. includes/top-10-counter.js.php +43 -43
  28. index.php +1 -1
  29. languages/index.php +1 -1
  30. languages/{tptn-az_AZ.mo → top-10-az_AZ.mo} +0 -0
  31. languages/{tptn-az_AZ.po → top-10-az_AZ.po} +173 -162
  32. languages/{tptn-be_BY.mo → top-10-be_BY.mo} +0 -0
  33. languages/{tptn-be_BY.po → top-10-be_BY.po} +173 -162
  34. languages/{tptn-en_US.mo → top-10-en_US.mo} +0 -0
  35. languages/{tptn-en_US.po → top-10-en_US.po} +173 -162
  36. languages/{tptn-en_US.pot → top-10-en_US.pot} +173 -162
  37. languages/{tptn-es_ES.mo → top-10-es_ES.mo} +0 -0
  38. languages/{tptn-es_ES.po → top-10-es_ES.po} +173 -162
  39. languages/top-10-fr_FR.mo +0 -0
  40. languages/top-10-fr_FR.po +1413 -0
  41. languages/{tptn-ga_IR.mo → top-10-ga_IR.mo} +0 -0
  42. languages/{tptn-ga_IR.po → top-10-ga_IR.po} +173 -162
  43. languages/{tptn-hi_IN.mo → top-10-hi_IN.mo} +0 -0
  44. languages/{tptn-hi_IN.po → top-10-hi_IN.po} +174 -163
  45. languages/{tptn-it_IT.mo → top-10-it_IT.mo} +0 -0
  46. languages/{tptn-it_IT.po → top-10-it_IT.po} +173 -162
  47. languages/{tptn-nl_NL.mo → top-10-nl_NL.mo} +0 -0
  48. languages/{tptn-nl_NL.po → top-10-nl_NL.po} +173 -162
  49. languages/top-10-pt_BR.mo +0 -0
  50. languages/top-10-pt_BR.po +1242 -0
  51. languages/{tptn-ro_RO.mo → top-10-ro_RO.mo} +0 -0
  52. languages/{tptn-ro_RO.po → top-10-ro_RO.po} +173 -162
  53. languages/{tptn-ru_RU.mo → top-10-ru_RU.mo} +0 -0
  54. languages/{tptn-ru_RU.po → top-10-ru_RU.po} +173 -162
  55. languages/{tptn-sr_RS.mo → top-10-sr_RS.mo} +0 -0
  56. languages/{tptn-sr_RS.po → top-10-sr_RS.po} +173 -162
  57. languages/{tptn-ua_UA.mo → top-10-ua_UA.mo} +0 -0
  58. languages/{tptn-ua_UA.po → top-10-ua_UA.po} +173 -162
  59. languages/tptn-fr_FR.mo +0 -0
  60. languages/tptn-fr_FR.po +0 -1434
  61. readme.txt +288 -281
  62. top-10.php +1289 -1275
  63. uninstall.php +38 -38
admin/admin-columns.php CHANGED
@@ -19,21 +19,21 @@ if ( ! defined( 'WPINC' ) ) {
19
  *
20
  * @since 1.2
21
  *
22
- * @param array $cols Array of all columns on posts page
23
  * @return array Modified array of columns
24
  */
25
  function tptn_column( $cols ) {
26
  global $tptn_settings;
27
 
28
- if ( ( current_user_can('manage_options') ) || ( $tptn_settings['show_count_non_admins'] ) ) {
29
  if ( $tptn_settings['pv_in_admin'] ) {
30
- $cols['tptn_total'] = __( 'Total Views', 'tptn' );
31
  }
32
  if ( $tptn_settings['pv_in_admin'] ) {
33
- $cols['tptn_daily'] = __( "Today's Views", 'tptn' );
34
  }
35
  if ( $tptn_settings['pv_in_admin'] ) {
36
- $cols['tptn_both'] = __( 'Views', 'tptn' );
37
  }
38
  }
39
  return $cols;
@@ -47,8 +47,8 @@ add_filter( 'manage_pages_columns', 'tptn_column' );
47
  *
48
  * @since 1.2
49
  *
50
- * @param string $column_name Name of the column
51
- * @param int|string $id Post ID
52
  */
53
  function tptn_value( $column_name, $id ) {
54
  global $wpdb, $tptn_settings;
@@ -57,7 +57,7 @@ function tptn_value( $column_name, $id ) {
57
 
58
  // Add Total count
59
  if ( ( $column_name == 'tptn_total' ) && ( $tptn_settings['pv_in_admin'] ) ) {
60
- $table_name = $wpdb->base_prefix . "top_ten";
61
 
62
  $resultscount = $wpdb->get_row( $wpdb->prepare( "SELECT postnumber, cntaccess FROM {$table_name} WHERE postnumber = %d AND blog_id = %d ", $id, $blog_id ) );
63
  $cntaccess = number_format_i18n( ( ( $resultscount ) ? $resultscount->cntaccess : 0 ) );
@@ -66,7 +66,7 @@ function tptn_value( $column_name, $id ) {
66
 
67
  // Now process daily count
68
  if ( ( $column_name == 'tptn_daily' ) && ( $tptn_settings['pv_in_admin'] ) ) {
69
- $table_name = $wpdb->base_prefix . "top_ten_daily";
70
 
71
  $daily_range = $tptn_settings['daily_range'];
72
  $hour_range = $tptn_settings['hour_range'];
@@ -89,12 +89,12 @@ function tptn_value( $column_name, $id ) {
89
 
90
  // Now process both
91
  if ( ( $column_name == 'tptn_both' ) && ( $tptn_settings['pv_in_admin'] ) ) {
92
- $table_name = $wpdb->base_prefix . "top_ten";
93
 
94
  $resultscount = $wpdb->get_row( $wpdb->prepare( "SELECT postnumber, cntaccess FROM {$table_name} WHERE postnumber = %d AND blog_id = %d ", $id, $blog_id ) );
95
- $cntaccess = number_format_i18n((($resultscount) ? $resultscount->cntaccess : 0));
96
 
97
- $table_name = $wpdb->base_prefix . "top_ten_daily";
98
 
99
  $daily_range = $tptn_settings['daily_range'];
100
  $hour_range = $tptn_settings['hour_range'];
@@ -124,7 +124,7 @@ add_action( 'manage_pages_custom_column', 'tptn_value', 10, 2 );
124
  *
125
  * @since 1.9.8.2
126
  *
127
- * @param array $cols Array with column names
128
  * @return array Filtered columns array
129
  */
130
  function tptn_column_register_sortable( $cols ) {
@@ -146,8 +146,8 @@ add_filter( 'manage_edit-page_sortable_columns', 'tptn_column_register_sortable'
146
  *
147
  * @since 1.9.8.2
148
  *
149
- * @param array $clauses Lookup clauses
150
- * @param object $wp_query WP Query object
151
  * @return array Filtered clauses
152
  */
153
  function tptn_column_clauses( $clauses, $wp_query ) {
@@ -156,15 +156,15 @@ function tptn_column_clauses( $clauses, $wp_query ) {
156
 
157
  if ( isset( $wp_query->query['orderby'] ) && 'tptn_total' == $wp_query->query['orderby'] ) {
158
 
159
- $table_name = $wpdb->base_prefix . "top_ten";
160
  $clauses['join'] .= "LEFT OUTER JOIN {$table_name} ON {$wpdb->posts}.ID={$table_name}.postnumber";
161
- $clauses['orderby'] = "cntaccess ";
162
- $clauses['orderby'] .= ( 'ASC' == strtoupper( $wp_query->get('order') ) ) ? 'ASC' : 'DESC';
163
  }
164
 
165
  if ( isset( $wp_query->query['orderby'] ) && 'tptn_daily' == $wp_query->query['orderby'] ) {
166
 
167
- $table_name = $wpdb->base_prefix . "top_ten_daily";
168
 
169
  $daily_range = $tptn_settings['daily_range'];
170
  $hour_range = $tptn_settings['hour_range'];
@@ -183,7 +183,7 @@ function tptn_column_clauses( $clauses, $wp_query ) {
183
  $clauses['where'] .= " AND {$table_name}.dp_date >= '$from_date' ";
184
  $clauses['groupby'] = "{$table_name}.postnumber";
185
  $clauses['orderby'] = "SUM({$table_name}.cntaccess) ";
186
- $clauses['orderby'] .= ( 'ASC' == strtoupper( $wp_query->get('order') ) ) ? 'ASC' : 'DESC';
187
  }
188
 
189
  return $clauses;
@@ -195,7 +195,6 @@ add_filter( 'posts_clauses', 'tptn_column_clauses', 10, 2 );
195
  * Output CSS for width of new column.
196
  *
197
  * @since 1.2
198
- *
199
  */
200
  function tptn_admin_css() {
201
  ?>
19
  *
20
  * @since 1.2
21
  *
22
+ * @param array $cols Array of all columns on posts page
23
  * @return array Modified array of columns
24
  */
25
  function tptn_column( $cols ) {
26
  global $tptn_settings;
27
 
28
+ if ( ( current_user_can( 'manage_options' ) ) || ( $tptn_settings['show_count_non_admins'] ) ) {
29
  if ( $tptn_settings['pv_in_admin'] ) {
30
+ $cols['tptn_total'] = __( 'Total Views', 'top-10' );
31
  }
32
  if ( $tptn_settings['pv_in_admin'] ) {
33
+ $cols['tptn_daily'] = __( "Today's Views", 'top-10' );
34
  }
35
  if ( $tptn_settings['pv_in_admin'] ) {
36
+ $cols['tptn_both'] = __( 'Views', 'top-10' );
37
  }
38
  }
39
  return $cols;
47
  *
48
  * @since 1.2
49
  *
50
+ * @param string $column_name Name of the column
51
+ * @param int|string $id Post ID
52
  */
53
  function tptn_value( $column_name, $id ) {
54
  global $wpdb, $tptn_settings;
57
 
58
  // Add Total count
59
  if ( ( $column_name == 'tptn_total' ) && ( $tptn_settings['pv_in_admin'] ) ) {
60
+ $table_name = $wpdb->base_prefix . 'top_ten';
61
 
62
  $resultscount = $wpdb->get_row( $wpdb->prepare( "SELECT postnumber, cntaccess FROM {$table_name} WHERE postnumber = %d AND blog_id = %d ", $id, $blog_id ) );
63
  $cntaccess = number_format_i18n( ( ( $resultscount ) ? $resultscount->cntaccess : 0 ) );
66
 
67
  // Now process daily count
68
  if ( ( $column_name == 'tptn_daily' ) && ( $tptn_settings['pv_in_admin'] ) ) {
69
+ $table_name = $wpdb->base_prefix . 'top_ten_daily';
70
 
71
  $daily_range = $tptn_settings['daily_range'];
72
  $hour_range = $tptn_settings['hour_range'];
89
 
90
  // Now process both
91
  if ( ( $column_name == 'tptn_both' ) && ( $tptn_settings['pv_in_admin'] ) ) {
92
+ $table_name = $wpdb->base_prefix . 'top_ten';
93
 
94
  $resultscount = $wpdb->get_row( $wpdb->prepare( "SELECT postnumber, cntaccess FROM {$table_name} WHERE postnumber = %d AND blog_id = %d ", $id, $blog_id ) );
95
+ $cntaccess = number_format_i18n( (($resultscount) ? $resultscount->cntaccess : 0) );
96
 
97
+ $table_name = $wpdb->base_prefix . 'top_ten_daily';
98
 
99
  $daily_range = $tptn_settings['daily_range'];
100
  $hour_range = $tptn_settings['hour_range'];
124
  *
125
  * @since 1.9.8.2
126
  *
127
+ * @param array $cols Array with column names
128
  * @return array Filtered columns array
129
  */
130
  function tptn_column_register_sortable( $cols ) {
146
  *
147
  * @since 1.9.8.2
148
  *
149
+ * @param array $clauses Lookup clauses
150
+ * @param object $wp_query WP Query object
151
  * @return array Filtered clauses
152
  */
153
  function tptn_column_clauses( $clauses, $wp_query ) {
156
 
157
  if ( isset( $wp_query->query['orderby'] ) && 'tptn_total' == $wp_query->query['orderby'] ) {
158
 
159
+ $table_name = $wpdb->base_prefix . 'top_ten';
160
  $clauses['join'] .= "LEFT OUTER JOIN {$table_name} ON {$wpdb->posts}.ID={$table_name}.postnumber";
161
+ $clauses['orderby'] = 'cntaccess ';
162
+ $clauses['orderby'] .= ( 'ASC' == strtoupper( $wp_query->get( 'order' ) ) ) ? 'ASC' : 'DESC';
163
  }
164
 
165
  if ( isset( $wp_query->query['orderby'] ) && 'tptn_daily' == $wp_query->query['orderby'] ) {
166
 
167
+ $table_name = $wpdb->base_prefix . 'top_ten_daily';
168
 
169
  $daily_range = $tptn_settings['daily_range'];
170
  $hour_range = $tptn_settings['hour_range'];
183
  $clauses['where'] .= " AND {$table_name}.dp_date >= '$from_date' ";
184
  $clauses['groupby'] = "{$table_name}.postnumber";
185
  $clauses['orderby'] = "SUM({$table_name}.cntaccess) ";
186
+ $clauses['orderby'] .= ( 'ASC' == strtoupper( $wp_query->get( 'order' ) ) ) ? 'ASC' : 'DESC';
187
  }
188
 
189
  return $clauses;
195
  * Output CSS for width of new column.
196
  *
197
  * @since 1.2
 
198
  */
199
  function tptn_admin_css() {
200
  ?>
admin/admin-dashboard.php CHANGED
@@ -22,19 +22,19 @@ if ( ! defined( 'WPINC' ) ) {
22
  *
23
  * @since 1.3
24
  *
25
- * @param bool $daily Switch for Daily or Overall popular posts
26
- * @param int $page Which page of the lists are we on?
27
- * @param int $limit Maximum number of posts per page
28
- * @param bool $widget Is this a WordPress widget?
29
  * @return Formatted list of popular posts
30
  */
31
- function tptn_pop_display( $daily = FALSE, $page = 0, $limit = FALSE, $widget = FALSE ) {
32
  global $wpdb, $tptn_settings;
33
 
34
- $table_name = $wpdb->base_prefix . "top_ten";
35
- if ( $daily ) $table_name .= "_daily"; // If we're viewing daily posts, set this to true
36
-
37
- if ( ! $limit ) $limit = $tptn_settings['limit'];
38
 
39
  $results = get_tptn_pop_posts( array(
40
  'posts_only' => 1,
@@ -44,30 +44,30 @@ function tptn_pop_display( $daily = FALSE, $page = 0, $limit = FALSE, $widget =
44
  'limit' => $limit,
45
  ) );
46
 
47
- $output = '<div id="tptn_popular_posts' . ( $daily ? "_daily" : "" ) . '">';
48
 
49
  if ( $results ) {
50
- $output .= '<ul>';
51
  foreach ( $results as $result ) {
52
  $output .= '<li><a href="' . get_permalink( $result['postnumber'] ) . '">' . get_the_title( $result['postnumber'] ) . '</a>';
53
  $output .= ' (' . number_format_i18n( $result['sumCount'] ) . ')';
54
  $output .= '</li>';
55
  }
56
- $output .= '</ul>';
57
  }
58
 
59
  $output .= '<p style="text-align:center">';
60
 
61
  if ( $daily ) {
62
- $output .= '<a href="' . admin_url( 'admin.php?page=tptn_popular_posts&orderby=daily_count&order=desc' ) . '">' . __( "View all daily popular posts", 'tptn' ) . '</a>';
63
  } else {
64
- $output .= '<a href="' . admin_url( 'admin.php?page=tptn_popular_posts&orderby=total_count&order=desc' ) . '">' . __( "View all popular posts", 'tptn' ) . '</a>';
65
  }
66
 
67
  $output .= '</p>';
68
 
69
  $output .= '<p style="text-align:center;border-top: #000 1px solid">';
70
- $output .= sprintf( __( 'Popular posts by <a href="%s" target="_blank">Top 10 plugin</a>', 'tptn' ), esc_url( 'https://webberzone.com/plugins/top-10/' ) );
71
  $output .= '</p>';
72
  $output .= '</div>';
73
 
@@ -106,12 +106,12 @@ function tptn_pop_dashboard_setup() {
106
  if ( ( current_user_can( 'manage_options' ) ) || ( $tptn_settings['show_count_non_admins'] ) ) {
107
  wp_add_dashboard_widget(
108
  'tptn_pop_dashboard',
109
- __( 'Popular Posts', 'tptn' ),
110
  'tptn_pop_dashboard'
111
  );
112
  wp_add_dashboard_widget(
113
  'tptn_pop_daily_dashboard',
114
- __( 'Daily Popular Posts', 'tptn' ),
115
  'tptn_pop_daily_dashboard'
116
  );
117
  }
22
  *
23
  * @since 1.3
24
  *
25
+ * @param bool $daily Switch for Daily or Overall popular posts
26
+ * @param int $page Which page of the lists are we on?
27
+ * @param int $limit Maximum number of posts per page
28
+ * @param bool $widget Is this a WordPress widget?
29
  * @return Formatted list of popular posts
30
  */
31
+ function tptn_pop_display( $daily = false, $page = 0, $limit = false, $widget = false ) {
32
  global $wpdb, $tptn_settings;
33
 
34
+ $table_name = $wpdb->base_prefix . 'top_ten';
35
+ if ( $daily ) { $table_name .= '_daily'; // If we're viewing daily posts, set this to true
36
+ }
37
+ if ( ! $limit ) { $limit = $tptn_settings['limit']; }
38
 
39
  $results = get_tptn_pop_posts( array(
40
  'posts_only' => 1,
44
  'limit' => $limit,
45
  ) );
46
 
47
+ $output = '<div id="tptn_popular_posts' . ( $daily ? '_daily' : '' ) . '">';
48
 
49
  if ( $results ) {
50
+ $output .= '<ul>';
51
  foreach ( $results as $result ) {
52
  $output .= '<li><a href="' . get_permalink( $result['postnumber'] ) . '">' . get_the_title( $result['postnumber'] ) . '</a>';
53
  $output .= ' (' . number_format_i18n( $result['sumCount'] ) . ')';
54
  $output .= '</li>';
55
  }
56
+ $output .= '</ul>';
57
  }
58
 
59
  $output .= '<p style="text-align:center">';
60
 
61
  if ( $daily ) {
62
+ $output .= '<a href="' . admin_url( 'admin.php?page=tptn_popular_posts&orderby=daily_count&order=desc' ) . '">' . __( 'View all daily popular posts', 'top-10' ) . '</a>';
63
  } else {
64
+ $output .= '<a href="' . admin_url( 'admin.php?page=tptn_popular_posts&orderby=total_count&order=desc' ) . '">' . __( 'View all popular posts', 'top-10' ) . '</a>';
65
  }
66
 
67
  $output .= '</p>';
68
 
69
  $output .= '<p style="text-align:center;border-top: #000 1px solid">';
70
+ $output .= sprintf( __( 'Popular posts by <a href="%s" target="_blank">Top 10 plugin</a>', 'top-10' ), esc_url( 'https://webberzone.com/plugins/top-10/' ) );
71
  $output .= '</p>';
72
  $output .= '</div>';
73
 
106
  if ( ( current_user_can( 'manage_options' ) ) || ( $tptn_settings['show_count_non_admins'] ) ) {
107
  wp_add_dashboard_widget(
108
  'tptn_pop_dashboard',
109
+ __( 'Popular Posts', 'top-10' ),
110
  'tptn_pop_dashboard'
111
  );
112
  wp_add_dashboard_widget(
113
  'tptn_pop_daily_dashboard',
114
+ __( 'Daily Popular Posts', 'top-10' ),
115
  'tptn_pop_daily_dashboard'
116
  );
117
  }
admin/admin-metabox.php CHANGED
@@ -21,17 +21,17 @@ if ( ! defined( 'WPINC' ) ) {
21
  *
22
  * @since 1.9.10
23
  *
24
- * @param text $post_type Post type
25
- * @param object $post Post object
26
  */
27
  function tptn_add_meta_box( $post_type, $post ) {
28
  global $tptn_settings;
29
 
30
  // If metaboxes are disabled, then exit
31
- if ( ! $tptn_settings['show_metabox'] ) return;
32
 
33
  // If current user isn't an admin and we're restricting metaboxes to admins only, then exit
34
- if ( ! current_user_can( 'manage_options' ) && $tptn_settings['show_metabox_admins'] ) return;
35
 
36
  $args = array(
37
  'public' => true,
@@ -70,7 +70,7 @@ add_action( 'add_meta_boxes', 'tptn_add_meta_box' , 10, 2 );
70
  function tptn_call_meta_box() {
71
  global $wpdb, $post, $tptn_settings;
72
 
73
- $table_name = $wpdb->base_prefix . "top_ten";
74
 
75
  // Add an nonce field so we can check for it later.
76
  wp_nonce_field( 'tptn_meta_box', 'tptn_meta_box_nonce' );
@@ -101,9 +101,9 @@ function tptn_call_meta_box() {
101
 
102
  ?>
103
  <p>
104
- <label for="total_count"><strong><?php _e( "Visit count:", 'tptn' ); ?></strong></label>
105
  <input type="text" id="total_count" name="total_count" value="<?php echo $total_count ?>" style="width:100%" />
106
- <em><?php _e( "Enter a number above to update the visit count. Leaving the above box blank will set the count to zero", 'tptn' ); ?></em>
107
  </p>
108
 
109
  <?php
@@ -112,29 +112,29 @@ function tptn_call_meta_box() {
112
  $value = ( $results ) ? $results : '';
113
  ?>
114
  <p>
115
- <label for="disable_here"><strong><?php _e( "Disable Popular Posts display:", 'tptn' ); ?></strong></label>
116
  <input type="checkbox" id="disable_here" name="disable_here" <?php if ( 1 == $disable_here ) { echo ' checked="checked" '; } ?> />
117
  <br />
118
- <em><?php _e( "If this is checked, then Top 10 will not display the popular posts widgets when viewing this post.", 'tptn' ); ?></em>
119
  </p>
120
 
121
  <p>
122
- <label for="exclude_this_post"><strong><?php _e( "Exclude this post from the popular posts list:", 'tptn' ); ?></strong></label>
123
  <input type="checkbox" id="exclude_this_post" name="exclude_this_post" <?php if ( 1 == $exclude_this_post ) { echo ' checked="checked" '; } ?> />
124
  <br />
125
- <em><?php _e( "If this is checked, then this post will be excluded from the popular posts list.", 'tptn' ); ?></em>
126
  </p>
127
 
128
  <p>
129
- <label for="thumb_meta"><strong><?php _e( "Location of thumbnail:", 'tptn' ); ?></strong></label>
130
  <input type="text" id="thumb_meta" name="thumb_meta" value="<?php echo esc_url( $value ) ?>" style="width:100%" />
131
- <em><?php _e( "Enter the full URL to the image (JPG, PNG or GIF) you'd like to use. This image will be used for the post. It will be resized to the thumbnail size set under Top 10 Settings &raquo; Thumbnail options.", 'tptn' ); ?></em>
132
- <em><?php _e( "The URL above is saved in the meta field:", 'tptn' ); ?></em><strong><?php echo $tptn_settings['thumb_meta']; ?></strong>
133
  </p>
134
 
135
  <p>
136
  <?php if ( function_exists( 'tptn_add_viewed_count' ) ) { ?>
137
- <em style="color:red"><?php printf( __( 'You have %1$s installed. If you are trying to modify the thumbnail, then you will need to make the same change in the %1$s meta box on this page.', 'tptn' ), "Contextual Related Posts" ); ?></em>
138
  <?php } ?>
139
  </p>
140
 
@@ -158,31 +158,31 @@ function tptn_save_meta_box( $post_id ) {
158
 
159
  $tptn_post_meta = array();
160
 
161
- $table_name = $wpdb->base_prefix . "top_ten";
162
 
163
- // Bail if we're doing an auto save
164
- if ( defined( 'DOING_AUTOSAVE' ) && DOING_AUTOSAVE ) return;
165
 
166
- // if our nonce isn't there, or we can't verify it, bail
167
- if ( ! isset( $_POST['tptn_meta_box_nonce'] ) || ! wp_verify_nonce( $_POST['tptn_meta_box_nonce'], 'tptn_meta_box' ) ) return;
168
 
169
- // if our current user can't edit this post, bail
170
- if ( ! current_user_can( 'edit_posts' ) ) return;
171
 
172
  // Update the posts view count
173
  if ( isset( $_POST['total_count'] ) ) {
174
- $total_count = intval( $_POST['total_count'] );
175
  $blog_id = get_current_blog_id();
176
 
177
- if ( 0 <> $total_count ) {
178
 
179
  $tt = $wpdb->query( $wpdb->prepare(
180
- "INSERT INTO {$table_name} (postnumber, cntaccess, blog_id) VALUES('%d', '%d', '%d') ON DUPLICATE KEY UPDATE cntaccess= %d ",
181
- $post_id,
182
- $total_count,
183
- $blog_id,
184
- $total_count
185
- ) );
186
  } else {
187
  $resultscount = $wpdb->query( $wpdb->prepare(
188
  "DELETE FROM {$table_name} WHERE postnumber = %d AND blog_id = %d",
@@ -192,10 +192,10 @@ function tptn_save_meta_box( $post_id ) {
192
  }
193
  }
194
 
195
- // Update the thumbnail URL
196
- if ( isset( $_POST['thumb_meta'] ) ) {
197
- $thumb_meta = $_POST['thumb_meta'] == '' ? '' : sanitize_text_field( $_POST['thumb_meta'] );
198
- }
199
 
200
  $tptn_post_meta = get_post_meta( $post_id, $tptn_settings['thumb_meta'], true );
201
 
@@ -238,7 +238,7 @@ function tptn_save_meta_box( $post_id ) {
238
 
239
  $tptn_post_meta_filtered = array_filter( $tptn_post_meta );
240
 
241
- /**** Now we can start saving ****/
242
  if ( empty( $tptn_post_meta_filtered ) ) { // Checks if all the array items are 0 or empty
243
  delete_post_meta( $post_id, 'tptn_post_meta' ); // Delete the post meta if no options are set
244
  } else {
21
  *
22
  * @since 1.9.10
23
  *
24
+ * @param text $post_type Post type
25
+ * @param object $post Post object
26
  */
27
  function tptn_add_meta_box( $post_type, $post ) {
28
  global $tptn_settings;
29
 
30
  // If metaboxes are disabled, then exit
31
+ if ( ! $tptn_settings['show_metabox'] ) { return; }
32
 
33
  // If current user isn't an admin and we're restricting metaboxes to admins only, then exit
34
+ if ( ! current_user_can( 'manage_options' ) && $tptn_settings['show_metabox_admins'] ) { return; }
35
 
36
  $args = array(
37
  'public' => true,
70
  function tptn_call_meta_box() {
71
  global $wpdb, $post, $tptn_settings;
72
 
73
+ $table_name = $wpdb->base_prefix . 'top_ten';
74
 
75
  // Add an nonce field so we can check for it later.
76
  wp_nonce_field( 'tptn_meta_box', 'tptn_meta_box_nonce' );
101
 
102
  ?>
103
  <p>
104
+ <label for="total_count"><strong><?php _e( 'Visit count:', 'top-10' ); ?></strong></label>
105
  <input type="text" id="total_count" name="total_count" value="<?php echo $total_count ?>" style="width:100%" />
106
+ <em><?php _e( 'Enter a number above to update the visit count. Leaving the above box blank will set the count to zero', 'top-10' ); ?></em>
107
  </p>
108
 
109
  <?php
112
  $value = ( $results ) ? $results : '';
113
  ?>
114
  <p>
115
+ <label for="disable_here"><strong><?php _e( 'Disable Popular Posts display:', 'top-10' ); ?></strong></label>
116
  <input type="checkbox" id="disable_here" name="disable_here" <?php if ( 1 == $disable_here ) { echo ' checked="checked" '; } ?> />
117
  <br />
118
+ <em><?php _e( 'If this is checked, then Top 10 will not display the popular posts widgets when viewing this post.', 'top-10' ); ?></em>
119
  </p>
120
 
121
  <p>
122
+ <label for="exclude_this_post"><strong><?php _e( 'Exclude this post from the popular posts list:', 'top-10' ); ?></strong></label>
123
  <input type="checkbox" id="exclude_this_post" name="exclude_this_post" <?php if ( 1 == $exclude_this_post ) { echo ' checked="checked" '; } ?> />
124
  <br />
125
+ <em><?php _e( 'If this is checked, then this post will be excluded from the popular posts list.', 'top-10' ); ?></em>
126
  </p>
127
 
128
  <p>
129
+ <label for="thumb_meta"><strong><?php _e( 'Location of thumbnail:', 'top-10' ); ?></strong></label>
130
  <input type="text" id="thumb_meta" name="thumb_meta" value="<?php echo esc_url( $value ) ?>" style="width:100%" />
131
+ <em><?php _e( "Enter the full URL to the image (JPG, PNG or GIF) you'd like to use. This image will be used for the post. It will be resized to the thumbnail size set under Top 10 Settings &raquo; Thumbnail options.", 'top-10' ); ?></em>
132
+ <em><?php _e( 'The URL above is saved in the meta field:', 'top-10' ); ?></em><strong><?php echo $tptn_settings['thumb_meta']; ?></strong>
133
  </p>
134
 
135
  <p>
136
  <?php if ( function_exists( 'tptn_add_viewed_count' ) ) { ?>
137
+ <em style="color:red"><?php printf( __( 'You have %1$s installed. If you are trying to modify the thumbnail, then you will need to make the same change in the %1$s meta box on this page.', 'top-10' ), 'Contextual Related Posts' ); ?></em>
138
  <?php } ?>
139
  </p>
140
 
158
 
159
  $tptn_post_meta = array();
160
 
161
+ $table_name = $wpdb->base_prefix . 'top_ten';
162
 
163
+ // Bail if we're doing an auto save
164
+ if ( defined( 'DOING_AUTOSAVE' ) && DOING_AUTOSAVE ) { return; }
165
 
166
+ // if our nonce isn't there, or we can't verify it, bail
167
+ if ( ! isset( $_POST['tptn_meta_box_nonce'] ) || ! wp_verify_nonce( $_POST['tptn_meta_box_nonce'], 'tptn_meta_box' ) ) { return; }
168
 
169
+ // if our current user can't edit this post, bail
170
+ if ( ! current_user_can( 'edit_posts' ) ) { return; }
171
 
172
  // Update the posts view count
173
  if ( isset( $_POST['total_count'] ) ) {
174
+ $total_count = intval( $_POST['total_count'] );
175
  $blog_id = get_current_blog_id();
176
 
177
+ if ( 0 <> $total_count ) {
178
 
179
  $tt = $wpdb->query( $wpdb->prepare(
180
+ "INSERT INTO {$table_name} (postnumber, cntaccess, blog_id) VALUES('%d', '%d', '%d') ON DUPLICATE KEY UPDATE cntaccess= %d ",
181
+ $post_id,
182
+ $total_count,
183
+ $blog_id,
184
+ $total_count
185
+ ) );
186
  } else {
187
  $resultscount = $wpdb->query( $wpdb->prepare(
188
  "DELETE FROM {$table_name} WHERE postnumber = %d AND blog_id = %d",
192
  }
193
  }
194
 
195
+ // Update the thumbnail URL
196
+ if ( isset( $_POST['thumb_meta'] ) ) {
197
+ $thumb_meta = $_POST['thumb_meta'] == '' ? '' : sanitize_text_field( $_POST['thumb_meta'] );
198
+ }
199
 
200
  $tptn_post_meta = get_post_meta( $post_id, $tptn_settings['thumb_meta'], true );
201
 
238
 
239
  $tptn_post_meta_filtered = array_filter( $tptn_post_meta );
240
 
241
+ /**** Now we can start saving ****/
242
  if ( empty( $tptn_post_meta_filtered ) ) { // Checks if all the array items are 0 or empty
243
  delete_post_meta( $post_id, 'tptn_post_meta' ); // Delete the post meta if no options are set
244
  } else {
admin/admin.php CHANGED
@@ -1,625 +1,638 @@
1
- <?php
2
- /**
3
- * Top 10 Admin interface.
4
- *
5
- * This page is accessible via Top 10 Settings menu item
6
- *
7
- * @package Top_Ten
8
- * @author Ajay D'Souza <me@ajaydsouza.com>
9
- * @license GPL-2.0+
10
- * @link https://webberzone.com
11
- * @copyright 2008-2015 Ajay D'Souza
12
- */
13
-
14
- /**** If this file is called directly, abort. ****/
15
- if ( ! defined( 'WPINC' ) ) {
16
- die;
17
- }
18
-
19
-
20
- /**
21
- * Function generates the plugin settings page.
22
- *
23
- * @since 1.0
24
- *
25
- */
26
- function tptn_options() {
27
-
28
- global $wpdb, $network_wide, $tptn_url;
29
-
30
- $tptn_settings = tptn_read_options();
31
-
32
- /* Temporary check to remove the deprecated hook */
33
- if ( wp_next_scheduled( 'ald_tptn_hook' ) ) {
34
- wp_clear_scheduled_hook( 'ald_tptn_hook' );
35
-
36
- tptn_enable_run( $tptn_settings['cron_hour'], $tptn_settings['cron_min'], $tptn_settings['cron_recurrence'] );
37
- }
38
-
39
- /* Temporary check if default styles are off and left thumbnails are selected - will be eventually deprecated
40
- // This is a mismatch, so we force it to no style */
41
- if ( ( false == $tptn_settings['include_default_style'] ) && ( 'left_thumbs' == $tptn_settings['tptn_styles'] ) ) {
42
- $tptn_settings['tptn_styles'] = 'no_style';
43
- update_option( 'ald_tptn_settings', $tptn_settings );
44
- }
45
- if ( ( true == $tptn_settings['include_default_style'] ) && ( 'left_thumbs' != $tptn_settings['tptn_styles'] ) ) {
46
- $tptn_settings['tptn_styles'] = 'left_thumbs';
47
- update_option( 'ald_tptn_settings', $tptn_settings );
48
- }
49
-
50
- /* Parse post types */
51
- parse_str( $tptn_settings['post_types'], $post_types );
52
- $wp_post_types = get_post_types( array(
53
- 'public' => true,
54
- ) );
55
- $posts_types_inc = array_intersect( $wp_post_types, $post_types );
56
-
57
- /* Save options has been triggered */
58
- if ( ( isset( $_POST['tptn_save'] ) ) && ( check_admin_referer( 'tptn-plugin-settings' ) ) ) {
59
-
60
- /* General options */
61
- $tptn_settings['activate_overall'] = isset( $_POST['activate_overall']) ? true : false;
62
- $tptn_settings['activate_daily'] = isset( $_POST['activate_daily']) ? true : false;
63
- $tptn_settings['cache'] = isset( $_POST['cache'] ) ? true : false;
64
- $tptn_settings['cache_fix'] = isset( $_POST['cache_fix'] ) ? true : false;
65
- $tptn_settings['daily_midnight'] = isset( $_POST['daily_midnight'] ) ? true : false;
66
- $tptn_settings['daily_range'] = intval( $_POST['daily_range'] );
67
- $tptn_settings['hour_range'] = intval( $_POST['hour_range'] );
68
- $tptn_settings['uninstall_clean_options'] = isset( $_POST['uninstall_clean_options'] ) ? true : false;
69
- $tptn_settings['uninstall_clean_tables'] = isset( $_POST['uninstall_clean_tables'] ) ? true : false;
70
- $tptn_settings['show_metabox'] = ( isset( $_POST['show_metabox'] ) ? true : false );
71
- $tptn_settings['show_metabox_admins'] = ( isset( $_POST['show_metabox_admins'] ) ? true : false );
72
- $tptn_settings['show_credit'] = isset( $_POST['show_credit'] ) ? true : false;
73
-
74
- /* Counter and tracker options */
75
- $tptn_settings['add_to_content'] = isset( $_POST['add_to_content'] ) ? true : false;
76
- $tptn_settings['count_on_pages'] = isset( $_POST['count_on_pages'] ) ? true : false;
77
- $tptn_settings['add_to_feed'] = isset( $_POST['add_to_feed'] ) ? true : false;
78
- $tptn_settings['add_to_home'] = isset( $_POST['add_to_home'] ) ? true : false;
79
- $tptn_settings['add_to_category_archives'] = isset( $_POST['add_to_category_archives'] ) ? true : false;
80
- $tptn_settings['add_to_tag_archives'] = isset( $_POST['add_to_tag_archives'] ) ? true : false;
81
- $tptn_settings['add_to_archives'] = isset( $_POST['add_to_archives'] ) ? true : false;
82
-
83
- $tptn_settings['count_disp_form'] = $_POST['count_disp_form'];
84
- $tptn_settings['count_disp_form_zero'] = $_POST['count_disp_form_zero'];
85
- $tptn_settings['dynamic_post_count'] = isset( $_POST['dynamic_post_count'] ) ? true : false;
86
-
87
- $tptn_settings['track_authors'] = isset( $_POST['track_authors']) ? true : false;
88
- $tptn_settings['track_admins'] = isset( $_POST['track_admins']) ? true : false;
89
- $tptn_settings['track_editors'] = isset( $_POST['track_editors']) ? true : false;
90
-
91
- $tptn_settings['pv_in_admin'] = isset( $_POST['pv_in_admin']) ? true : false;
92
- $tptn_settings['show_count_non_admins'] = isset( $_POST['show_count_non_admins'] ) ? true : false;
93
-
94
- /* Popular post list options */
95
- $tptn_settings['limit'] = intval( $_POST['limit'] );
96
- $tptn_settings['how_old'] = intval( $_POST['how_old'] );
97
-
98
- // Process post types to be selected
99
- $wp_post_types = get_post_types( array(
100
- 'public' => true,
101
- ) );
102
- $post_types_arr = ( isset( $_POST['post_types'] ) && is_array( $_POST['post_types'] ) ) ? $_POST['post_types'] : array( 'post' => 'post' );
103
- $post_types = array_intersect( $wp_post_types, $post_types_arr );
104
- $tptn_settings['post_types'] = http_build_query( $post_types, '', '&' );
105
-
106
- $tptn_settings['exclude_post_ids'] = $_POST['exclude_post_ids'] == '' ? '' : implode( ',', array_map( 'intval', explode( ",", $_POST['exclude_post_ids'] ) ) );
107
-
108
- /**** Exclude categories ****/
109
- $exclude_categories_slugs = array_map( 'trim', explode( ",", wp_kses_post( $_POST['exclude_cat_slugs'] ) ) );
110
- $tptn_settings['exclude_cat_slugs'] = implode( ", ", $exclude_categories_slugs );
111
-
112
- foreach ( $exclude_categories_slugs as $exclude_categories_slug ) {
113
- $catObj = get_category_by_slug( $exclude_categories_slug );
114
- if ( isset( $catObj->term_taxonomy_id ) ) $exclude_categories[] = $catObj->term_taxonomy_id;
115
- }
116
- $tptn_settings['exclude_categories'] = ( isset( $exclude_categories ) ) ? join( ',', $exclude_categories ) : '';
117
-
118
- $tptn_settings['title'] = wp_kses_post( $_POST['title'] );
119
- $tptn_settings['title_daily'] = wp_kses_post( $_POST['title_daily'] );
120
-
121
- $tptn_settings['blank_output'] = ( $_POST['blank_output'] == 'blank' ) ? true : false;
122
- $tptn_settings['blank_output_text'] = wp_kses_post( $_POST['blank_output_text'] );
123
-
124
- $tptn_settings['show_excerpt'] = isset( $_POST['show_excerpt'] ) ? true : false;
125
- $tptn_settings['excerpt_length'] = intval( $_POST['excerpt_length'] );
126
- $tptn_settings['show_date'] = isset( $_POST['show_date'] ) ? true : false;
127
- $tptn_settings['show_author'] = isset( $_POST['show_author'] ) ? true : false;
128
- $tptn_settings['title_length'] = intval( $_POST['title_length'] );
129
- $tptn_settings['disp_list_count'] = isset( $_POST['disp_list_count'] ) ? true : false;
130
-
131
- $tptn_settings['link_new_window'] = isset( $_POST['link_new_window'] ) ? true : false;
132
- $tptn_settings['link_nofollow'] = isset( $_POST['link_nofollow'] ) ? true : false;
133
- $tptn_settings['exclude_on_post_ids'] = $_POST['exclude_on_post_ids'] == '' ? '' : implode( ',', array_map( 'intval', explode( ",", $_POST['exclude_on_post_ids'] ) ) );
134
-
135
- // List HTML options
136
- $tptn_settings['before_list'] = $_POST['before_list'];
137
- $tptn_settings['after_list'] = $_POST['after_list'];
138
- $tptn_settings['before_list_item'] = $_POST['before_list_item'];
139
- $tptn_settings['after_list_item'] = $_POST['after_list_item'];
140
-
141
- /* Thumbnail options */
142
- $tptn_settings['post_thumb_op'] = $_POST['post_thumb_op'];
143
- $tptn_settings['thumb_size'] = $_POST['thumb_size'];
144
- $tptn_settings['thumb_width'] = intval( $_POST['thumb_width'] );
145
- $tptn_settings['thumb_height'] = intval( $_POST['thumb_height'] );
146
- $tptn_settings['thumb_crop'] = ( isset( $_POST['thumb_crop'] ) ? true : false );
147
- $tptn_settings['thumb_html'] = $_POST['thumb_html'];
148
-
149
- $tptn_settings['thumb_meta'] = '' == $_POST['thumb_meta'] ? 'post-image' : $_POST['thumb_meta'];
150
- $tptn_settings['scan_images'] = isset( $_POST['scan_images'] ) ? true : false;
151
- $tptn_settings['thumb_default_show'] = isset( $_POST['thumb_default_show'] ) ? true : false;
152
- $tptn_settings['thumb_default'] = ( ( '' == $_POST['thumb_default'] ) || ( "/default.png" == $_POST['thumb_default'] ) ) ? $tptn_url . '/default.png' : $_POST['thumb_default'];
153
-
154
- /* Styles */
155
- $tptn_settings['custom_CSS'] = wp_kses_post( $_POST['custom_CSS'] );
156
-
157
- $tptn_settings['tptn_styles'] = $_POST['tptn_styles'];
158
-
159
- if ( 'left_thumbs' == $tptn_settings['tptn_styles'] ) {
160
- $tptn_settings['include_default_style'] = true;
161
- $tptn_settings['post_thumb_op'] = 'inline';
162
- } elseif ( 'text_only' == $tptn_settings['tptn_styles'] ) {
163
- $tptn_settings['include_default_style'] = false;
164
- $tptn_settings['post_thumb_op'] = 'text_only';
165
- } else {
166
- $tptn_settings['include_default_style'] = false;
167
- }
168
-
169
- /**
170
- * Filter the settings array just before saving them to the database
171
- *
172
- * @since 2.0.4
173
- *
174
- * @param array $tptn_settings Settings array
175
- */
176
- $tptn_settings = apply_filters( 'tptn_save_options', $tptn_settings );
177
-
178
- /* Update the options */
179
- update_option( 'ald_tptn_settings', $tptn_settings );
180
-
181
- /* Let's get the options again after we update them */
182
- $tptn_settings = tptn_read_options();
183
- parse_str( $tptn_settings['post_types'], $post_types );
184
- $posts_types_inc = array_intersect( $wp_post_types, $post_types );
185
-
186
- // Delete the cache
187
- tptn_cache_delete();
188
-
189
- /* Echo a success message */
190
- $str = '<div id="message" class="updated fade"><p>'. __( 'Options saved successfully. If enabled, the cache has been cleared.', 'tptn' ) . '</p>';
191
-
192
- if ( 'left_thumbs' == $tptn_settings['tptn_styles'] ) {
193
- $str .= '<p>'. __( 'Left Thumbnails style selected. Post thumbnail location set to Inline before text.', 'tptn' ) . '</p>';
194
- }
195
- if ( 'text_only' == $tptn_settings['tptn_styles'] ) {
196
- $str .= '<p>'. __( 'Text Only style selected. Thumbnails will not be displayed.', 'tptn' ) . '</p>';
197
- }
198
- if ( 'tptn_thumbnail' != $tptn_settings['thumb_size'] ) {
199
- $str .= '<p>'. sprintf( __( 'Pre-built thumbnail size selected. Thumbnail set to %d x %d.', 'tptn' ), $tptn_settings['thumb_width'], $tptn_settings['thumb_height'] ) . '</p>';
200
- }
201
-
202
- $str .= '</div>';
203
-
204
- echo $str;
205
- }
206
-
207
- /* Default options has been triggered */
208
- if ( ( isset( $_POST['tptn_default'] ) ) && ( check_admin_referer( 'tptn-plugin-settings' ) ) ) {
209
- delete_option( 'ald_tptn_settings' );
210
- $tptn_settings = tptn_default_options();
211
- update_option( 'ald_tptn_settings', $tptn_settings );
212
- tptn_disable_run();
213
-
214
- $str = '<div id="message" class="updated fade"><p>'. __( 'Options set to Default.', 'tptn' ) .'</p></div>';
215
- echo $str;
216
- }
217
-
218
- /* Truncate overall posts table */
219
- if ( ( isset( $_POST['tptn_trunc_all'] ) ) && ( check_admin_referer( 'tptn-plugin-settings' ) ) ) {
220
- tptn_trunc_count( false );
221
- $str = '<div id="message" class="updated fade"><p>'. __( 'Top 10 popular posts reset', 'tptn' ) .'</p></div>';
222
- echo $str;
223
- }
224
-
225
- /* Truncate daily posts table */
226
- if ( ( isset( $_POST['tptn_trunc_daily'] ) ) && ( check_admin_referer( 'tptn-plugin-settings' ) ) ) {
227
- tptn_trunc_count( true );
228
- $str = '<div id="message" class="updated fade"><p>'. __( 'Top 10 daily popular posts reset', 'tptn' ) .'</p></div>';
229
- echo $str;
230
- }
231
-
232
- /* Clean duplicates */
233
- if ( ( isset( $_POST['tptn_clean_duplicates'] ) ) && ( check_admin_referer( 'tptn-plugin-settings' ) ) ) {
234
- tptn_clean_duplicates( true );
235
- tptn_clean_duplicates( false );
236
- $str = '<div id="message" class="updated fade"><p>'. __( 'Duplicate rows cleaned from tables', 'tptn' ) .'</p></div>';
237
- echo $str;
238
- }
239
-
240
- /* Merge blog IDs */
241
- if ( ( isset( $_POST['tptn_merge_blogids'] ) ) && ( check_admin_referer( 'tptn-plugin-settings' ) ) ) {
242
- tptn_merge_blogids( true );
243
- tptn_merge_blogids( false );
244
- $str = '<div id="message" class="updated fade"><p>'. __( 'Post counts across blog IDs 0 and 1 have been merged', 'tptn' ) .'</p></div>';
245
- echo $str;
246
- }
247
-
248
- /* Save maintenance options */
249
- if ( ( isset( $_POST['tptn_mnts_save'] ) ) && ( check_admin_referer( 'tptn-plugin-settings' ) ) ) {
250
- $tptn_settings['cron_hour'] = min( 23, intval( $_POST['cron_hour'] ) );
251
- $tptn_settings['cron_min'] = min( 59, intval( $_POST['cron_min'] ) );
252
- $tptn_settings['cron_recurrence'] = $_POST['cron_recurrence'];
253
-
254
- if ( isset( $_POST['cron_on'] ) ) {
255
- $tptn_settings['cron_on'] = true;
256
- tptn_enable_run( $tptn_settings['cron_hour'], $tptn_settings['cron_min'], $tptn_settings['cron_recurrence'] );
257
- $str = '<div id="message" class="updated fade"><p>' . __( 'Scheduled maintenance enabled / modified', 'tptn' ) .'</p></div>';
258
- } else {
259
- $tptn_settings['cron_on'] = false;
260
- tptn_disable_run();
261
- $str = '<div id="message" class="updated fade"><p>'. __( 'Scheduled maintenance disabled', 'tptn' ) .'</p></div>';
262
- }
263
- update_option( 'ald_tptn_settings', $tptn_settings );
264
- $tptn_settings = tptn_read_options();
265
-
266
- echo $str;
267
- }
268
-
269
- if ( ( isset( $_POST['tptn_import'] ) ) && ( check_admin_referer( 'tptn-plugin-settings' ) ) ) {
270
-
271
- $top_ten_all_mu_tables = isset( $_POST['top_ten_all_mu_tables'] ) ? $_POST['top_ten_all_mu_tables'] : array();
272
- $top_ten_mu_tables_blog_ids = explode( ",", $_POST['top_ten_mu_tables_blog_ids'] );
273
- $top_ten_mu_tables_sel_blog_ids = array_values( $top_ten_all_mu_tables );
274
-
275
- foreach ( $top_ten_mu_tables_sel_blog_ids as $top_ten_mu_tables_sel_blog_id ) {
276
- $sql = "
277
- INSERT INTO " . $wpdb->base_prefix . "top_ten (postnumber, cntaccess, blog_id)
278
- SELECT postnumber, cntaccess, '%d' FROM " . $wpdb->base_prefix . $top_ten_mu_tables_sel_blog_id . "_top_ten
279
- ON DUPLICATE KEY UPDATE " . $wpdb->base_prefix . "top_ten.cntaccess = " . $wpdb->base_prefix . "top_ten.cntaccess + (
280
- SELECT " . $wpdb->base_prefix . $top_ten_mu_tables_sel_blog_id . "_top_ten.cntaccess FROM " . $wpdb->base_prefix . $top_ten_mu_tables_sel_blog_id . "_top_ten WHERE " . $wpdb->base_prefix . $top_ten_mu_tables_sel_blog_id . "_top_ten.postnumber = " . $wpdb->base_prefix . "top_ten.postnumber
281
- )
282
- ";
283
-
284
- $wpdb->query( $wpdb->prepare( $sql, $top_ten_mu_tables_sel_blog_id ) );
285
-
286
- $sql = "
287
- INSERT INTO " . $wpdb->base_prefix . "top_ten_daily (postnumber, cntaccess, dp_date, blog_id)
288
- SELECT postnumber, cntaccess, dp_date, '%d' FROM " . $wpdb->base_prefix . $top_ten_mu_tables_sel_blog_id . "_top_ten_daily
289
- ON DUPLICATE KEY UPDATE " . $wpdb->base_prefix . "top_ten_daily.cntaccess = " . $wpdb->base_prefix . "top_ten_daily.cntaccess + (
290
- SELECT " . $wpdb->base_prefix . $top_ten_mu_tables_sel_blog_id . "_top_ten_daily.cntaccess FROM " . $wpdb->base_prefix . $top_ten_mu_tables_sel_blog_id . "_top_ten_daily WHERE " . $wpdb->base_prefix . $top_ten_mu_tables_sel_blog_id . "_top_ten_daily.postnumber = " . $wpdb->base_prefix . "top_ten_daily.postnumber
291
- )
292
- ";
293
-
294
- $wpdb->query( $wpdb->prepare( $sql, $top_ten_mu_tables_sel_blog_id ) );
295
- }
296
-
297
- update_site_option( 'top_ten_mu_tables_sel_blog_ids', array_unique( array_merge( $top_ten_mu_tables_sel_blog_ids, get_site_option( 'top_ten_mu_tables_sel_blog_ids', array() ) ) ) );
298
-
299
-
300
- $str = '<div id="message" class="updated fade"><p>'. __( 'Counts from selected sites have been imported.', 'tptn' ) .'</p></div>';
301
- echo $str;
302
- }
303
-
304
- if ( ( ( isset( $_POST['tptn_delete_selected_tables'] ) ) || ( isset( $_POST['tptn_delete_imported_tables'] ) ) ) && ( check_admin_referer( 'tptn-plugin-settings' ) ) ) {
305
- $top_ten_all_mu_tables = isset( $_POST['top_ten_all_mu_tables'] ) ? $_POST['top_ten_all_mu_tables'] : array();
306
- $top_ten_mu_tables_blog_ids = explode( ",", $_POST['top_ten_mu_tables_blog_ids'] );
307
- $top_ten_mu_tables_sel_blog_ids = array_values( $top_ten_all_mu_tables );
308
-
309
- if ( isset( $_POST['tptn_delete_selected_tables'] ) ) {
310
- $top_ten_mu_tables_sel_blog_ids = array_intersect( $top_ten_mu_tables_sel_blog_ids, get_site_option( 'top_ten_mu_tables_sel_blog_ids', array() ) );
311
- } else {
312
- $top_ten_mu_tables_sel_blog_ids = get_site_option( 'top_ten_mu_tables_sel_blog_ids', array() );
313
- }
314
-
315
- if ( ! empty( $top_ten_mu_tables_sel_blog_ids ) ) {
316
-
317
- $sql = "DROP TABLE ";
318
- foreach( $top_ten_mu_tables_sel_blog_ids as $top_ten_mu_tables_sel_blog_id ) {
319
- $sql .= $wpdb->base_prefix . $top_ten_mu_tables_sel_blog_id . "_top_ten, ";
320
- $sql .= $wpdb->base_prefix . $top_ten_mu_tables_sel_blog_id . "_top_ten_daily, ";
321
- }
322
- $sql = substr( $sql, 0, -2 );
323
-
324
- $wpdb->query( $sql );
325
- $str = '<div id="message" class="updated fade"><p>'. __( 'Selected tables have been deleted. Note that only imported tables have been deleted.', 'tptn' ) .'</p></div>';
326
- echo $str;
327
- }
328
- }
329
-
330
- /**** Include the views page ****/
331
- include_once( 'main-view.php' );
332
- }
333
-
334
-
335
- /**
336
- * Function to generate the right sidebar of the Settings and Admin popular posts pages.
337
- *
338
- * @since 1.8.1
339
- */
340
- function tptn_admin_side() {
341
- ?>
342
- <div id="donatediv" class="postbox"><div class="handlediv" title="<?php _e( 'Click to toggle', 'tptn' ); ?>"><br /></div>
343
- <h3 class='hndle'><span><?php _e( 'Support the development', 'tptn' ); ?></span></h3>
344
- <div class="inside">
345
- <div id="donate-form">
346
- <form action="https://www.paypal.com/cgi-bin/webscr" method="post">
347
- <input type="hidden" name="cmd" value="_xclick">
348
- <input type="hidden" name="business" value="donate@ajaydsouza.com">
349
- <input type="hidden" name="lc" value="IN">
350
- <input type="hidden" name="item_name" value="<?php _e( 'Donation for Top 10', 'tptn' ); ?>">
351
- <input type="hidden" name="item_number" value="tptn_admin">
352
- <strong><?php _e( 'Enter amount in USD:', 'tptn' ); ?></strong> <input name="amount" value="10.00" size="6" type="text"><br />
353
- <input type="hidden" name="currency_code" value="USD">
354
- <input type="hidden" name="button_subtype" value="services">
355
- <input type="hidden" name="bn" value="PP-BuyNowBF:btn_donate_LG.gif:NonHosted">
356
- <input type="image" src="https://www.paypal.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="<?php _e( 'Send your donation to the author of Top 10', 'tptn' ); ?>">
357
- <img alt="" border="0" src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1">
358
- </form>
359
- </div>
360
- </div>
361
- </div>
362
- <div id="followdiv" class="postbox"><div class="handlediv" title="<?php _e( 'Click to toggle', 'tptn' ); ?>"><br /></div>
363
- <h3 class='hndle'><span><?php _e( 'Follow me', 'tptn' ); ?></span></h3>
364
- <div class="inside">
365
- <div id="follow-us">
366
- <iframe src="//www.facebook.com/plugins/likebox.php?href=http%3A%2F%2Fwww.facebook.com%2Fajaydsouzacom&amp;width=292&amp;height=62&amp;colorscheme=light&amp;show_faces=false&amp;border_color&amp;stream=false&amp;header=true&amp;appId=113175385243" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:292px; height:62px;" allowTransparency="true"></iframe>
367
- <div style="text-align:center"><a href="https://twitter.com/ajaydsouza" class="twitter-follow-button" data-show-count="false" data-size="large" data-dnt="true">Follow @ajaydsouza</a>
368
- <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script></div>
369
- </div>
370
- </div>
371
- </div>
372
- <div id="qlinksdiv" class="postbox"><div class="handlediv" title="<?php _e( 'Click to toggle', 'tptn' ); ?>"><br /></div>
373
- <h3 class='hndle'><span><?php _e( 'Quick links', 'tptn' ); ?></span></h3>
374
- <div class="inside">
375
- <div id="quick-links">
376
- <ul>
377
- <li><a href="https://webberzone.com/plugins/top-10/" target="_blank"><?php _e( 'Top 10 plugin page', 'tptn' ); ?></a></li>
378
- <li><a href="https://github.com/ajaydsouza/top-10" target="_blank"><?php _e( 'Top 10 Github page', 'tptn' ); ?></a></li>
379
- <li><a href="https://webberzone.com/plugins/" target="_blank"><?php _e( 'Other plugins', 'tptn' ); ?></a></li>
380
- <li><a href="https://wordpress.org/plugins/top-10/faq/" target="_blank"><?php _e( 'FAQ', 'tptn' ); ?></a></li>
381
- <li><a href="https://wordpress.org/support/plugin/top-10" target="_blank"><?php _e( 'Support', 'tptn' ); ?></a></li>
382
- <li><a href="https://wordpress.org/support/view/plugin-reviews/top-10" target="_blank"><?php _e( 'Reviews', 'tptn' ); ?></a></li>
383
- <li><a href="https://ajaydsouza.com/" target="_blank"><?php _e( "Ajay's blog", 'tptn' ); ?></a></li>
384
- </ul>
385
- </div>
386
- </div>
387
- </div>
388
-
389
- <?php
390
- }
391
-
392
-
393
- /**
394
- * Add Top 10 menu in WP-Admin.
395
- *
396
- * @since 1.0
397
- */
398
- function tptn_adminmenu() {
399
-
400
- $plugin_page = add_menu_page( __( "Top 10 Settings", 'tptn' ), __( "Top 10", 'tptn' ), 'manage_options', 'tptn_options', 'tptn_options', 'dashicons-editor-ol' );
401
- add_action( 'admin_head-'. $plugin_page, 'tptn_adminhead' );
402
-
403
- $plugin_page = add_submenu_page( 'tptn_options', __( "Top 10 Settings", 'tptn' ), __( "Top 10 Settings", 'tptn' ), 'manage_options', 'tptn_options', 'tptn_options' );
404
- add_action( 'admin_head-'. $plugin_page, 'tptn_adminhead' );
405
-
406
- $tptn_stats_screen = new Top_Ten_Statistics;
407
-
408
- $plugin_page = add_submenu_page( 'tptn_options', __( "View Popular Posts", 'tptn' ), __( "View Popular Posts", 'tptn' ), 'manage_options', 'tptn_popular_posts', array( $tptn_stats_screen, 'plugin_settings_page' ) );
409
- add_action( "load-$plugin_page", array( $tptn_stats_screen, 'screen_option' ) );
410
- add_action( 'admin_head-'. $plugin_page, 'tptn_adminhead' );
411
-
412
- }
413
- add_action( 'admin_menu', 'tptn_adminmenu' );
414
-
415
-
416
- /**
417
- * Add JS and CSS to admin header.
418
- *
419
- * @since 1.6
420
- */
421
- function tptn_adminhead() {
422
- global $tptn_url;
423
-
424
- wp_enqueue_script( 'common' );
425
- wp_enqueue_script( 'wp-lists' );
426
- wp_enqueue_script( 'postbox' );
427
- wp_enqueue_script( 'plugin-install' );
428
-
429
- add_thickbox();
430
-
431
- ?>
432
- <style type="text/css">
433
- .postbox .handlediv:before {
434
- right:12px;
435
- font:400 20px/1 dashicons;
436
- speak:none;
437
- display:inline-block;
438
- top:0;
439
- position:relative;
440
- -webkit-font-smoothing:antialiased;
441
- -moz-osx-font-smoothing:grayscale;
442
- text-decoration:none!important;
443
- content:'\f142';
444
- padding:8px 10px;
445
- }
446
- .postbox.closed .handlediv:before {
447
- content: '\f140';
448
- }
449
- .wrap h2:before {
450
- content: "\f204";
451
- display: inline-block;
452
- -webkit-font-smoothing: antialiased;
453
- font: normal 29px/1 'dashicons';
454
- vertical-align: middle;
455
- margin-right: 0.3em;
456
- }
457
- </style>
458
-
459
- <script type="text/javascript">
460
- //<![CDATA[
461
- jQuery(document).ready( function($) {
462
- // close postboxes that should be closed
463
- $('.if-js-closed').removeClass('if-js-closed').addClass('closed');
464
- // postboxes setup
465
- postboxes.add_postbox_toggles('tptn_options');
466
- });
467
- //]]>
468
- </script>
469
-
470
- <script type="text/javascript" language="JavaScript">
471
- //<![CDATA[
472
- function checkForm() {
473
- answer = true;
474
- if (siw && siw.selectingSomething)
475
- answer = false;
476
- return answer;
477
- }//
478
- //]]>
479
- </script>
480
-
481
- <link rel="stylesheet" type="text/css" href="<?php echo $tptn_url ?>/admin/wick/wick.css" />
482
- <script type="text/javascript" language="JavaScript">
483
- //<![CDATA[
484
- function clearCache() {
485
- /**** since 2.8 ajaxurl is always defined in the admin header and points to admin-ajax.php ****/
486
- jQuery.post(ajaxurl, {action: 'tptn_clear_cache'}, function(response, textStatus, jqXHR) {
487
- alert( response.message );
488
- }, 'json');
489
- }
490
-
491
- <?php
492
- function wick_data() {
493
- global $wpdb;
494
-
495
- $categories = get_categories( 'hide_empty=0' );
496
- $str = 'collection = [';
497
- foreach ( $categories as $cat ) {
498
- $str .= "'" . $cat->slug . "',";
499
- }
500
- $str = substr( $str, 0, -1 ); // Remove trailing comma
501
- $str .= '];';
502
-
503
- echo $str;
504
- }
505
- wick_data();
506
- ?>
507
- //]]>
508
- </script>
509
-
510
- <script type="text/javascript" src="<?php echo $tptn_url ?>/admin/wick/wick.js"></script>
511
-
512
- <?php
513
- }
514
-
515
-
516
- /**
517
- * Adding WordPress plugin action links.
518
- *
519
- * @version 1.9.2
520
- *
521
- * @param array $links
522
- * @return array Links array with our settings link added
523
- */
524
- function tptn_plugin_actions_links( $links ) {
525
-
526
- return array_merge(
527
- array(
528
- 'settings' => '<a href="' . admin_url( 'options-general.php?page=tptn_options' ) . '">' . __( 'Settings', 'tptn' ) . '</a>'
529
- ),
530
- $links
531
- );
532
-
533
- }
534
- add_filter( 'plugin_action_links_' . plugin_basename( plugin_dir_path( __DIR__ ) . 'top-10.php' ), 'tptn_plugin_actions_links' );
535
-
536
-
537
- /**
538
- * Add links to the plugin action row.
539
- *
540
- * @since 1.5
541
- *
542
- * @param array $links
543
- * @param array $file
544
- * @return array Links array with our links added
545
- */
546
- function tptn_plugin_actions( $links, $file ) {
547
- $plugin = plugin_basename( __FILE__ );
548
-
549
- // create link
550
- if ( $file == $plugin ) {
551
- $links[] = '<a href="https://webberzone.com/support/">' . __( 'Support', 'tptn' ) . '</a>';
552
- $links[] = '<a href="https://ajaydsouza.com/donate/">' . __( 'Donate', 'tptn' ) . '</a>';
553
- }
554
- return $links;
555
- }
556
- add_filter( 'plugin_action_links', 'tptn_plugin_actions', 10, 2 );
557
-
558
-
559
- /**
560
- * Function to delete all duplicate rows in the posts table.
561
- *
562
- * @since 1.6.2
563
- *
564
- * @param bool $daily Daily flag
565
- */
566
- function tptn_clean_duplicates( $daily = false ) {
567
- global $wpdb;
568
-
569
- $table_name = $wpdb->base_prefix . "top_ten";
570
- if ( $daily ) {
571
- $table_name .= "_daily";
572
- }
573
- $count = 0;
574
-
575
- $wpdb->query( "CREATE TEMPORARY TABLE " . $table_name . "_temp AS SELECT * FROM " . $table_name . " GROUP BY postnumber" );
576
- $wpdb->query( "TRUNCATE TABLE $table_name" );
577
- $wpdb->query( "INSERT INTO " . $table_name . " SELECT * FROM " . $table_name . "_temp" );
578
- }
579
-
580
-
581
- /**
582
- * Function to merge counts with post numbers of blog ID 0 and 1 respectively.
583
- *
584
- * @since 2.0.4
585
- *
586
- * @param bool $daily Daily flag
587
- */
588
- function tptn_merge_blogids( $daily = false ) {
589
- global $wpdb;
590
-
591
- $table_name = $wpdb->base_prefix . "top_ten";
592
- if ( $daily ) {
593
- $table_name .= "_daily";
594
- }
595
-
596
- if ( $daily ) {
597
- $wpdb->query( "
598
- INSERT INTO `$table_name` (postnumber, cntaccess, dp_date, blog_id) (
599
- SELECT
600
- postnumber,
601
- SUM(cntaccess) as sumCount,
602
- dp_date,
603
- 1
604
- FROM `$table_name`
605
- WHERE blog_ID IN (0,1)
606
- GROUP BY postnumber, dp_date
607
- ) ON DUPLICATE KEY UPDATE cntaccess = VALUES(cntaccess);
608
- " );
609
- } else {
610
- $wpdb->query( "
611
- INSERT INTO `$table_name` (postnumber, cntaccess, blog_id) (
612
- SELECT
613
- postnumber,
614
- SUM(cntaccess) as sumCount,
615
- 1
616
- FROM `$table_name`
617
- WHERE blog_ID IN (0,1)
618
- GROUP BY postnumber
619
- ) ON DUPLICATE KEY UPDATE cntaccess = VALUES(cntaccess);
620
- " );
621
- }
622
-
623
- $wpdb->query( "DELETE FROM $table_name WHERE blog_id = 0" );
624
- }
625
-
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Top 10 Admin interface.
4
+ *
5
+ * This page is accessible via Top 10 Settings menu item
6
+ *
7
+ * @package Top_Ten
8
+ * @author Ajay D'Souza <me@ajaydsouza.com>
9
+ * @license GPL-2.0+
10
+ * @link https://webberzone.com
11
+ * @copyright 2008-2015 Ajay D'Souza
12
+ */
13
+
14
+ /**** If this file is called directly, abort. ****/
15
+ if ( ! defined( 'WPINC' ) ) {
16
+ die;
17
+ }
18
+
19
+
20
+ /**
21
+ * Function generates the plugin settings page.
22
+ *
23
+ * @since 1.0
24
+ */
25
+ function tptn_options() {
26
+
27
+ global $wpdb, $network_wide, $tptn_url;
28
+
29
+ $tptn_settings = tptn_read_options();
30
+
31
+ /* Temporary check to remove the deprecated hook */
32
+ if ( wp_next_scheduled( 'ald_tptn_hook' ) ) {
33
+ wp_clear_scheduled_hook( 'ald_tptn_hook' );
34
+
35
+ tptn_enable_run( $tptn_settings['cron_hour'], $tptn_settings['cron_min'], $tptn_settings['cron_recurrence'] );
36
+ }
37
+
38
+ /*
39
+ Temporary check if default styles are off and left thumbnails are selected - will be eventually deprecated
40
+ // This is a mismatch, so we force it to no style */
41
+ if ( ( false == $tptn_settings['include_default_style'] ) && ( 'left_thumbs' == $tptn_settings['tptn_styles'] ) ) {
42
+ $tptn_settings['tptn_styles'] = 'no_style';
43
+ update_option( 'ald_tptn_settings', $tptn_settings );
44
+ }
45
+ if ( ( true == $tptn_settings['include_default_style'] ) && ( 'left_thumbs' != $tptn_settings['tptn_styles'] ) ) {
46
+ $tptn_settings['tptn_styles'] = 'left_thumbs';
47
+ update_option( 'ald_tptn_settings', $tptn_settings );
48
+ }
49
+
50
+ /* Parse post types */
51
+ parse_str( $tptn_settings['post_types'], $post_types );
52
+ $wp_post_types = get_post_types( array(
53
+ 'public' => true,
54
+ ) );
55
+ $posts_types_inc = array_intersect( $wp_post_types, $post_types );
56
+
57
+ /* Save options has been triggered */
58
+ if ( ( isset( $_POST['tptn_save'] ) ) && ( check_admin_referer( 'tptn-plugin-settings' ) ) ) {
59
+
60
+ /* General options */
61
+ $tptn_settings['activate_overall'] = isset( $_POST['activate_overall'] ) ? true : false;
62
+ $tptn_settings['activate_daily'] = isset( $_POST['activate_daily'] ) ? true : false;
63
+ $tptn_settings['cache'] = isset( $_POST['cache'] ) ? true : false;
64
+ $tptn_settings['cache_fix'] = isset( $_POST['cache_fix'] ) ? true : false;
65
+ $tptn_settings['daily_midnight'] = isset( $_POST['daily_midnight'] ) ? true : false;
66
+ $tptn_settings['daily_range'] = intval( $_POST['daily_range'] );
67
+ $tptn_settings['hour_range'] = intval( $_POST['hour_range'] );
68
+ $tptn_settings['uninstall_clean_options'] = isset( $_POST['uninstall_clean_options'] ) ? true : false;
69
+ $tptn_settings['uninstall_clean_tables'] = isset( $_POST['uninstall_clean_tables'] ) ? true : false;
70
+ $tptn_settings['show_metabox'] = ( isset( $_POST['show_metabox'] ) ? true : false );
71
+ $tptn_settings['show_metabox_admins'] = ( isset( $_POST['show_metabox_admins'] ) ? true : false );
72
+ $tptn_settings['show_credit'] = isset( $_POST['show_credit'] ) ? true : false;
73
+
74
+ /* Counter and tracker options */
75
+ $tptn_settings['add_to_content'] = isset( $_POST['add_to_content'] ) ? true : false;
76
+ $tptn_settings['count_on_pages'] = isset( $_POST['count_on_pages'] ) ? true : false;
77
+ $tptn_settings['add_to_feed'] = isset( $_POST['add_to_feed'] ) ? true : false;
78
+ $tptn_settings['add_to_home'] = isset( $_POST['add_to_home'] ) ? true : false;
79
+ $tptn_settings['add_to_category_archives'] = isset( $_POST['add_to_category_archives'] ) ? true : false;
80
+ $tptn_settings['add_to_tag_archives'] = isset( $_POST['add_to_tag_archives'] ) ? true : false;
81
+ $tptn_settings['add_to_archives'] = isset( $_POST['add_to_archives'] ) ? true : false;
82
+
83
+ $tptn_settings['count_disp_form'] = $_POST['count_disp_form'];
84
+ $tptn_settings['count_disp_form_zero'] = $_POST['count_disp_form_zero'];
85
+ $tptn_settings['dynamic_post_count'] = isset( $_POST['dynamic_post_count'] ) ? true : false;
86
+
87
+ $tptn_settings['track_authors'] = isset( $_POST['track_authors'] ) ? true : false;
88
+ $tptn_settings['track_admins'] = isset( $_POST['track_admins'] ) ? true : false;
89
+ $tptn_settings['track_editors'] = isset( $_POST['track_editors'] ) ? true : false;
90
+
91
+ $tptn_settings['pv_in_admin'] = isset( $_POST['pv_in_admin'] ) ? true : false;
92
+ $tptn_settings['show_count_non_admins'] = isset( $_POST['show_count_non_admins'] ) ? true : false;
93
+
94
+ /* Popular post list options */
95
+ $tptn_settings['limit'] = intval( $_POST['limit'] );
96
+ $tptn_settings['how_old'] = intval( $_POST['how_old'] );
97
+
98
+ // Process post types to be selected
99
+ $wp_post_types = get_post_types( array(
100
+ 'public' => true,
101
+ ) );
102
+ $post_types_arr = ( isset( $_POST['post_types'] ) && is_array( $_POST['post_types'] ) ) ? $_POST['post_types'] : array( 'post' => 'post' );
103
+ $post_types = array_intersect( $wp_post_types, $post_types_arr );
104
+ $tptn_settings['post_types'] = http_build_query( $post_types, '', '&' );
105
+
106
+ $tptn_settings['exclude_post_ids'] = $_POST['exclude_post_ids'] == '' ? '' : implode( ',', array_map( 'intval', explode( ',', $_POST['exclude_post_ids'] ) ) );
107
+
108
+ /**** Exclude categories ****/
109
+ $exclude_categories_slugs = array_map( 'trim', explode( ',', wp_kses_post( $_POST['exclude_cat_slugs'] ) ) );
110
+ $tptn_settings['exclude_cat_slugs'] = implode( ', ', $exclude_categories_slugs );
111
+
112
+ foreach ( $exclude_categories_slugs as $exclude_categories_slug ) {
113
+ $catObj = get_category_by_slug( $exclude_categories_slug );
114
+ if ( isset( $catObj->term_taxonomy_id ) ) { $exclude_categories[] = $catObj->term_taxonomy_id; }
115
+ }
116
+ $tptn_settings['exclude_categories'] = ( isset( $exclude_categories ) ) ? join( ',', $exclude_categories ) : '';
117
+
118
+ $tptn_settings['title'] = wp_kses_post( $_POST['title'] );
119
+ $tptn_settings['title_daily'] = wp_kses_post( $_POST['title_daily'] );
120
+
121
+ $tptn_settings['blank_output'] = ( $_POST['blank_output'] == 'blank' ) ? true : false;
122
+ $tptn_settings['blank_output_text'] = wp_kses_post( $_POST['blank_output_text'] );
123
+
124
+ $tptn_settings['show_excerpt'] = isset( $_POST['show_excerpt'] ) ? true : false;
125
+ $tptn_settings['excerpt_length'] = intval( $_POST['excerpt_length'] );
126
+ $tptn_settings['show_date'] = isset( $_POST['show_date'] ) ? true : false;
127
+ $tptn_settings['show_author'] = isset( $_POST['show_author'] ) ? true : false;
128
+ $tptn_settings['title_length'] = intval( $_POST['title_length'] );
129
+ $tptn_settings['disp_list_count'] = isset( $_POST['disp_list_count'] ) ? true : false;
130
+
131
+ $tptn_settings['link_new_window'] = isset( $_POST['link_new_window'] ) ? true : false;
132
+ $tptn_settings['link_nofollow'] = isset( $_POST['link_nofollow'] ) ? true : false;
133
+ $tptn_settings['exclude_on_post_ids'] = $_POST['exclude_on_post_ids'] == '' ? '' : implode( ',', array_map( 'intval', explode( ',', $_POST['exclude_on_post_ids'] ) ) );
134
+
135
+ // List HTML options
136
+ $tptn_settings['before_list'] = $_POST['before_list'];
137
+ $tptn_settings['after_list'] = $_POST['after_list'];
138
+ $tptn_settings['before_list_item'] = $_POST['before_list_item'];
139
+ $tptn_settings['after_list_item'] = $_POST['after_list_item'];
140
+
141
+ /* Thumbnail options */
142
+ $tptn_settings['post_thumb_op'] = $_POST['post_thumb_op'];
143
+ $tptn_settings['thumb_size'] = $_POST['thumb_size'];
144
+ $tptn_settings['thumb_width'] = intval( $_POST['thumb_width'] );
145
+ $tptn_settings['thumb_height'] = intval( $_POST['thumb_height'] );
146
+ $tptn_settings['thumb_crop'] = ( isset( $_POST['thumb_crop'] ) ? true : false );
147
+ $tptn_settings['thumb_html'] = $_POST['thumb_html'];
148
+
149
+ $tptn_settings['thumb_meta'] = '' == $_POST['thumb_meta'] ? 'post-image' : $_POST['thumb_meta'];
150
+ $tptn_settings['scan_images'] = isset( $_POST['scan_images'] ) ? true : false;
151
+ $tptn_settings['thumb_default_show'] = isset( $_POST['thumb_default_show'] ) ? true : false;
152
+ $tptn_settings['thumb_default'] = ( ( '' == $_POST['thumb_default'] ) || ( '/default.png' == $_POST['thumb_default'] ) ) ? $tptn_url . '/default.png' : $_POST['thumb_default'];
153
+
154
+ /* Styles */
155
+ $tptn_settings['custom_CSS'] = wp_kses_post( $_POST['custom_CSS'] );
156
+
157
+ $tptn_settings['tptn_styles'] = $_POST['tptn_styles'];
158
+
159
+ if ( 'left_thumbs' == $tptn_settings['tptn_styles'] ) {
160
+ $tptn_settings['include_default_style'] = true;
161
+ $tptn_settings['post_thumb_op'] = 'inline';
162
+ } elseif ( 'text_only' == $tptn_settings['tptn_styles'] ) {
163
+ $tptn_settings['include_default_style'] = false;
164
+ $tptn_settings['post_thumb_op'] = 'text_only';
165
+ } else {
166
+ $tptn_settings['include_default_style'] = false;
167
+ }
168
+
169
+ /**
170
+ * Filter the settings array just before saving them to the database
171
+ *
172
+ * @since 2.0.4
173
+ *
174
+ * @param array $tptn_settings Settings array
175
+ */
176
+ $tptn_settings = apply_filters( 'tptn_save_options', $tptn_settings );
177
+
178
+ /* Update the options */
179
+ update_option( 'ald_tptn_settings', $tptn_settings );
180
+
181
+ /* Let's get the options again after we update them */
182
+ $tptn_settings = tptn_read_options();
183
+ parse_str( $tptn_settings['post_types'], $post_types );
184
+ $posts_types_inc = array_intersect( $wp_post_types, $post_types );
185
+
186
+ // Delete the cache
187
+ tptn_cache_delete();
188
+
189
+ /* Echo a success message */
190
+ $str = '<div id="message" class="updated fade"><p>'. __( 'Options saved successfully. If enabled, the cache has been cleared.', 'top-10' ) . '</p>';
191
+
192
+ if ( 'left_thumbs' == $tptn_settings['tptn_styles'] ) {
193
+ $str .= '<p>'. __( 'Left Thumbnails style selected. Post thumbnail location set to Inline before text.', 'top-10' ) . '</p>';
194
+ }
195
+ if ( 'text_only' == $tptn_settings['tptn_styles'] ) {
196
+ $str .= '<p>'. __( 'Text Only style selected. Thumbnails will not be displayed.', 'top-10' ) . '</p>';
197
+ }
198
+ if ( 'tptn_thumbnail' != $tptn_settings['thumb_size'] ) {
199
+ $str .= '<p>'. sprintf( __( 'Pre-built thumbnail size selected. Thumbnail set to %d x %d.', 'top-10' ), $tptn_settings['thumb_width'], $tptn_settings['thumb_height'] ) . '</p>';
200
+ }
201
+
202
+ $str .= '</div>';
203
+
204
+ echo $str;
205
+ }
206
+
207
+ /* Default options has been triggered */
208
+ if ( ( isset( $_POST['tptn_default'] ) ) && ( check_admin_referer( 'tptn-plugin-settings' ) ) ) {
209
+ delete_option( 'ald_tptn_settings' );
210
+ $tptn_settings = tptn_default_options();
211
+ update_option( 'ald_tptn_settings', $tptn_settings );
212
+ tptn_disable_run();
213
+
214
+ $str = '<div id="message" class="updated fade"><p>'. __( 'Options set to Default.', 'top-10' ) .'</p></div>';
215
+ echo $str;
216
+ }
217
+
218
+ /* Truncate overall posts table */
219
+ if ( ( isset( $_POST['tptn_trunc_all'] ) ) && ( check_admin_referer( 'tptn-plugin-settings' ) ) ) {
220
+ tptn_trunc_count( false );
221
+ $str = '<div id="message" class="updated fade"><p>'. __( 'Top 10 popular posts reset', 'top-10' ) .'</p></div>';
222
+ echo $str;
223
+ }
224
+
225
+ /* Truncate daily posts table */
226
+ if ( ( isset( $_POST['tptn_trunc_daily'] ) ) && ( check_admin_referer( 'tptn-plugin-settings' ) ) ) {
227
+ tptn_trunc_count( true );
228
+ $str = '<div id="message" class="updated fade"><p>'. __( 'Top 10 daily popular posts reset', 'top-10' ) .'</p></div>';
229
+ echo $str;
230
+ }
231
+
232
+ /* Clean duplicates */
233
+ if ( ( isset( $_POST['tptn_clean_duplicates'] ) ) && ( check_admin_referer( 'tptn-plugin-settings' ) ) ) {
234
+ tptn_clean_duplicates( true );
235
+ tptn_clean_duplicates( false );
236
+ $str = '<div id="message" class="updated fade"><p>'. __( 'Duplicate rows cleaned from tables', 'top-10' ) .'</p></div>';
237
+ echo $str;
238
+ }
239
+
240
+ /* Merge blog IDs */
241
+ if ( ( isset( $_POST['tptn_merge_blogids'] ) ) && ( check_admin_referer( 'tptn-plugin-settings' ) ) ) {
242
+ tptn_merge_blogids( true );
243
+ tptn_merge_blogids( false );
244
+ $str = '<div id="message" class="updated fade"><p>'. __( 'Post counts across blog IDs 0 and 1 have been merged', 'top-10' ) .'</p></div>';
245
+ echo $str;
246
+ }
247
+
248
+ /* Save maintenance options */
249
+ if ( ( isset( $_POST['tptn_mnts_save'] ) ) && ( check_admin_referer( 'tptn-plugin-settings' ) ) ) {
250
+ $tptn_settings['cron_hour'] = min( 23, intval( $_POST['cron_hour'] ) );
251
+ $tptn_settings['cron_min'] = min( 59, intval( $_POST['cron_min'] ) );
252
+ $tptn_settings['cron_recurrence'] = $_POST['cron_recurrence'];
253
+
254
+ if ( isset( $_POST['cron_on'] ) ) {
255
+ $tptn_settings['cron_on'] = true;
256
+ tptn_enable_run( $tptn_settings['cron_hour'], $tptn_settings['cron_min'], $tptn_settings['cron_recurrence'] );
257
+ $str = '<div id="message" class="updated fade"><p>' . __( 'Scheduled maintenance enabled / modified', 'top-10' ) .'</p></div>';
258
+ } else {
259
+ $tptn_settings['cron_on'] = false;
260
+ tptn_disable_run();
261
+ $str = '<div id="message" class="updated fade"><p>'. __( 'Scheduled maintenance disabled', 'top-10' ) .'</p></div>';
262
+ }
263
+ update_option( 'ald_tptn_settings', $tptn_settings );
264
+ $tptn_settings = tptn_read_options();
265
+
266
+ echo $str;
267
+ }
268
+
269
+ if ( ( isset( $_POST['tptn_import'] ) ) && ( check_admin_referer( 'tptn-plugin-settings' ) ) ) {
270
+
271
+ $top_ten_all_mu_tables = isset( $_POST['top_ten_all_mu_tables'] ) ? $_POST['top_ten_all_mu_tables'] : array();
272
+ $top_ten_mu_tables_blog_ids = explode( ',', $_POST['top_ten_mu_tables_blog_ids'] );
273
+ $top_ten_mu_tables_sel_blog_ids = array_values( $top_ten_all_mu_tables );
274
+
275
+ foreach ( $top_ten_mu_tables_sel_blog_ids as $top_ten_mu_tables_sel_blog_id ) {
276
+ $sql = '
277
+ INSERT INTO ' . $wpdb->base_prefix . "top_ten (postnumber, cntaccess, blog_id)
278
+ SELECT postnumber, cntaccess, '%d' FROM " . $wpdb->base_prefix . $top_ten_mu_tables_sel_blog_id . '_top_ten
279
+ ON DUPLICATE KEY UPDATE ' . $wpdb->base_prefix . 'top_ten.cntaccess = ' . $wpdb->base_prefix . 'top_ten.cntaccess + (
280
+ SELECT ' . $wpdb->base_prefix . $top_ten_mu_tables_sel_blog_id . '_top_ten.cntaccess FROM ' . $wpdb->base_prefix . $top_ten_mu_tables_sel_blog_id . '_top_ten WHERE ' . $wpdb->base_prefix . $top_ten_mu_tables_sel_blog_id . '_top_ten.postnumber = ' . $wpdb->base_prefix . 'top_ten.postnumber
281
+ )
282
+ ';
283
+
284
+ $wpdb->query( $wpdb->prepare( $sql, $top_ten_mu_tables_sel_blog_id ) );
285
+
286
+ $sql = '
287
+ INSERT INTO ' . $wpdb->base_prefix . "top_ten_daily (postnumber, cntaccess, dp_date, blog_id)
288
+ SELECT postnumber, cntaccess, dp_date, '%d' FROM " . $wpdb->base_prefix . $top_ten_mu_tables_sel_blog_id . '_top_ten_daily
289
+ ON DUPLICATE KEY UPDATE ' . $wpdb->base_prefix . 'top_ten_daily.cntaccess = ' . $wpdb->base_prefix . 'top_ten_daily.cntaccess + (
290
+ SELECT ' . $wpdb->base_prefix . $top_ten_mu_tables_sel_blog_id . '_top_ten_daily.cntaccess FROM ' . $wpdb->base_prefix . $top_ten_mu_tables_sel_blog_id . '_top_ten_daily WHERE ' . $wpdb->base_prefix . $top_ten_mu_tables_sel_blog_id . '_top_ten_daily.postnumber = ' . $wpdb->base_prefix . 'top_ten_daily.postnumber
291
+ )
292
+ ';
293
+
294
+ $wpdb->query( $wpdb->prepare( $sql, $top_ten_mu_tables_sel_blog_id ) );
295
+ }
296
+
297
+ update_site_option( 'top_ten_mu_tables_sel_blog_ids', array_unique( array_merge( $top_ten_mu_tables_sel_blog_ids, get_site_option( 'top_ten_mu_tables_sel_blog_ids', array() ) ) ) );
298
+
299
+ $str = '<div id="message" class="updated fade"><p>'. __( 'Counts from selected sites have been imported.', 'top-10' ) .'</p></div>';
300
+ echo $str;
301
+ }
302
+
303
+ if ( ( ( isset( $_POST['tptn_delete_selected_tables'] ) ) || ( isset( $_POST['tptn_delete_imported_tables'] ) ) ) && ( check_admin_referer( 'tptn-plugin-settings' ) ) ) {
304
+ $top_ten_all_mu_tables = isset( $_POST['top_ten_all_mu_tables'] ) ? $_POST['top_ten_all_mu_tables'] : array();
305
+ $top_ten_mu_tables_blog_ids = explode( ',', $_POST['top_ten_mu_tables_blog_ids'] );
306
+ $top_ten_mu_tables_sel_blog_ids = array_values( $top_ten_all_mu_tables );
307
+
308
+ if ( isset( $_POST['tptn_delete_selected_tables'] ) ) {
309
+ $top_ten_mu_tables_sel_blog_ids = array_intersect( $top_ten_mu_tables_sel_blog_ids, get_site_option( 'top_ten_mu_tables_sel_blog_ids', array() ) );
310
+ } else {
311
+ $top_ten_mu_tables_sel_blog_ids = get_site_option( 'top_ten_mu_tables_sel_blog_ids', array() );
312
+ }
313
+
314
+ if ( ! empty( $top_ten_mu_tables_sel_blog_ids ) ) {
315
+
316
+ $sql = 'DROP TABLE ';
317
+ foreach ( $top_ten_mu_tables_sel_blog_ids as $top_ten_mu_tables_sel_blog_id ) {
318
+ $sql .= $wpdb->base_prefix . $top_ten_mu_tables_sel_blog_id . '_top_ten, ';
319
+ $sql .= $wpdb->base_prefix . $top_ten_mu_tables_sel_blog_id . '_top_ten_daily, ';
320
+ }
321
+ $sql = substr( $sql, 0, -2 );
322
+
323
+ $wpdb->query( $sql );
324
+ $str = '<div id="message" class="updated fade"><p>'. __( 'Selected tables have been deleted. Note that only imported tables have been deleted.', 'top-10' ) .'</p></div>';
325
+ echo $str;
326
+ }
327
+ }
328
+
329
+ /**** Include the views page ****/
330
+ include_once( 'main-view.php' );
331
+ }
332
+
333
+
334
+ /**
335
+ * Function to generate the right sidebar of the Settings and Admin popular posts pages.
336
+ *
337
+ * @since 1.8.1
338
+ */
339
+ function tptn_admin_side() {
340
+ ?>
341
+ <div id="donatediv" class="postbox"><div class="handlediv" title="<?php _e( 'Click to toggle', 'top-10' ); ?>"><br /></div>
342
+ <h3 class='hndle'><span><?php _e( 'Support the development', 'top-10' ); ?></span></h3>
343
+ <div class="inside">
344
+ <div id="donate-form">
345
+ <form action="https://www.paypal.com/cgi-bin/webscr" method="post">
346
+ <input type="hidden" name="cmd" value="_xclick">
347
+ <input type="hidden" name="business" value="donate@ajaydsouza.com">
348
+ <input type="hidden" name="lc" value="IN">
349
+ <input type="hidden" name="item_name" value="<?php _e( 'Donation for Top 10', 'top-10' ); ?>">
350
+ <input type="hidden" name="item_number" value="tptn_admin">
351
+ <strong><?php _e( 'Enter amount in USD:', 'top-10' ); ?></strong> <input name="amount" value="10.00" size="6" type="text"><br />
352
+ <input type="hidden" name="currency_code" value="USD">
353
+ <input type="hidden" name="button_subtype" value="services">
354
+ <input type="hidden" name="bn" value="PP-BuyNowBF:btn_donate_LG.gif:NonHosted">
355
+ <input type="image" src="https://www.paypal.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="<?php _e( 'Send your donation to the author of Top 10', 'top-10' ); ?>">
356
+ <img alt="" border="0" src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1">
357
+ </form>
358
+ </div>
359
+ </div>
360
+ </div>
361
+ <div id="followdiv" class="postbox"><div class="handlediv" title="<?php _e( 'Click to toggle', 'top-10' ); ?>"><br /></div>
362
+ <h3 class='hndle'><span><?php _e( 'Follow me', 'top-10' ); ?></span></h3>
363
+ <div class="inside">
364
+ <div id="twitter">
365
+ <div style="text-align:center"><a href="https://twitter.com/WebberZoneWP" class="twitter-follow-button" data-show-count="false" data-size="large" data-dnt="true">Follow @WebberZoneWP</a>
366
+ <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script></div>
367
+ </div>
368
+ <div id="facebook">
369
+ <div id="fb-root"></div>
370
+ <script>
371
+ //<![CDATA[
372
+ (function(d, s, id) {
373
+ var js, fjs = d.getElementsByTagName(s)[0];
374
+ if (d.getElementById(id)) return;
375
+ js = d.createElement(s); js.id = id;
376
+ js.src = "//connect.facebook.net/en_US/sdk.js#xfbml=1&version=v2.4&appId=458036114376706";
377
+ fjs.parentNode.insertBefore(js, fjs);
378
+ }(document, 'script', 'facebook-jssdk'));
379
+ //]]>
380
+ </script>
381
+ <div class="fb-page" data-href="https://www.facebook.com/WebberZone" data-small-header="false" data-adapt-container-width="true" data-hide-cover="false" data-show-facepile="false" data-show-posts="false"><div class="fb-xfbml-parse-ignore"><blockquote cite="https://www.facebook.com/WebberZone"><a href="https://www.facebook.com/WebberZone">WebberZone</a></blockquote></div></div>
382
+ </div>
383
+ </div>
384
+ </div>
385
+ <div id="qlinksdiv" class="postbox"><div class="handlediv" title="<?php _e( 'Click to toggle', 'top-10' ); ?>"><br /></div>
386
+ <h3 class='hndle'><span><?php _e( 'Quick links', 'top-10' ); ?></span></h3>
387
+ <div class="inside">
388
+ <div id="quick-links">
389
+ <ul>
390
+ <li><a href="https://webberzone.com/plugins/top-10/" target="_blank"><?php _e( 'Top 10 plugin page', 'top-10' ); ?></a></li>
391
+ <li><a href="https://github.com/ajaydsouza/top-10" target="_blank"><?php _e( 'Top 10 Github page', 'top-10' ); ?></a></li>
392
+ <li><a href="https://webberzone.com/plugins/" target="_blank"><?php _e( 'Other plugins', 'top-10' ); ?></a></li>
393
+ <li><a href="https://wordpress.org/plugins/top-10/faq/" target="_blank"><?php _e( 'FAQ', 'top-10' ); ?></a></li>
394
+ <li><a href="https://wordpress.org/support/plugin/top-10" target="_blank"><?php _e( 'Support', 'top-10' ); ?></a></li>
395
+ <li><a href="https://wordpress.org/support/view/plugin-reviews/top-10" target="_blank"><?php _e( 'Reviews', 'top-10' ); ?></a></li>
396
+ <li><a href="https://ajaydsouza.com/" target="_blank"><?php _e( "Ajay's blog", 'top-10' ); ?></a></li>
397
+ </ul>
398
+ </div>
399
+ </div>
400
+ </div>
401
+
402
+ <?php
403
+ }
404
+
405
+
406
+ /**
407
+ * Add Top 10 menu in WP-Admin.
408
+ *
409
+ * @since 1.0
410
+ */
411
+ function tptn_adminmenu() {
412
+
413
+ $plugin_page = add_menu_page( __( 'Top 10 Settings', 'top-10' ), __( 'Top 10', 'top-10' ), 'manage_options', 'tptn_options', 'tptn_options', 'dashicons-editor-ol' );
414
+ add_action( 'admin_head-'. $plugin_page, 'tptn_adminhead' );
415
+
416
+ $plugin_page = add_submenu_page( 'tptn_options', __( 'Top 10 Settings', 'top-10' ), __( 'Top 10 Settings', 'top-10' ), 'manage_options', 'tptn_options', 'tptn_options' );
417
+ add_action( 'admin_head-'. $plugin_page, 'tptn_adminhead' );
418
+
419
+ $tptn_stats_screen = new Top_Ten_Statistics;
420
+
421
+ $plugin_page = add_submenu_page( 'tptn_options', __( 'View Popular Posts', 'top-10' ), __( 'View Popular Posts', 'top-10' ), 'manage_options', 'tptn_popular_posts', array( $tptn_stats_screen, 'plugin_settings_page' ) );
422
+ add_action( "load-$plugin_page", array( $tptn_stats_screen, 'screen_option' ) );
423
+ add_action( 'admin_head-'. $plugin_page, 'tptn_adminhead' );
424
+
425
+ }
426
+ add_action( 'admin_menu', 'tptn_adminmenu' );
427
+
428
+
429
+ /**
430
+ * Add JS and CSS to admin header.
431
+ *
432
+ * @since 1.6
433
+ */
434
+ function tptn_adminhead() {
435
+ global $tptn_url;
436
+
437
+ wp_enqueue_script( 'common' );
438
+ wp_enqueue_script( 'wp-lists' );
439
+ wp_enqueue_script( 'postbox' );
440
+ wp_enqueue_script( 'plugin-install' );
441
+
442
+ add_thickbox();
443
+
444
+ ?>
445
+ <style type="text/css">
446
+ .postbox .handlediv:before {
447
+ right:12px;
448
+ font:400 20px/1 dashicons;
449
+ speak:none;
450
+ display:inline-block;
451
+ top:0;
452
+ position:relative;
453
+ -webkit-font-smoothing:antialiased;
454
+ -moz-osx-font-smoothing:grayscale;
455
+ text-decoration:none!important;
456
+ content:'\f142';
457
+ padding:8px 10px;
458
+ }
459
+ .postbox.closed .handlediv:before {
460
+ content: '\f140';
461
+ }
462
+ .wrap h2:before {
463
+ content: "\f204";
464
+ display: inline-block;
465
+ -webkit-font-smoothing: antialiased;
466
+ font: normal 29px/1 'dashicons';
467
+ vertical-align: middle;
468
+ margin-right: 0.3em;
469
+ }
470
+ </style>
471
+
472
+ <script type="text/javascript">
473
+ //<![CDATA[
474
+ jQuery(document).ready( function($) {
475
+ // close postboxes that should be closed
476
+ $('.if-js-closed').removeClass('if-js-closed').addClass('closed');
477
+ // postboxes setup
478
+ postboxes.add_postbox_toggles('tptn_options');
479
+ });
480
+ //]]>
481
+ </script>
482
+
483
+ <script type="text/javascript" language="JavaScript">
484
+ //<![CDATA[
485
+ function checkForm() {
486
+ answer = true;
487
+ if (siw && siw.selectingSomething)
488
+ answer = false;
489
+ return answer;
490
+ }//
491
+ //]]>
492
+ </script>
493
+
494
+ <link rel="stylesheet" type="text/css" href="<?php echo $tptn_url ?>/admin/wick/wick.css" />
495
+ <script type="text/javascript" language="JavaScript">
496
+ //<![CDATA[
497
+ function clearCache() {
498
+ /**** since 2.8 ajaxurl is always defined in the admin header and points to admin-ajax.php ****/
499
+ jQuery.post(ajaxurl, {action: 'tptn_clear_cache'}, function(response, textStatus, jqXHR) {
500
+ alert( response.message );
501
+ }, 'json');
502
+ }
503
+
504
+ <?php
505
+ function wick_data() {
506
+ global $wpdb;
507
+
508
+ $categories = get_categories( 'hide_empty=0' );
509
+ $str = 'collection = [';
510
+ foreach ( $categories as $cat ) {
511
+ $str .= "'" . $cat->slug . "',";
512
+ }
513
+ $str = substr( $str, 0, -1 ); // Remove trailing comma
514
+ $str .= '];';
515
+
516
+ echo $str;
517
+ }
518
+ wick_data();
519
+ ?>
520
+ //]]>
521
+ </script>
522
+
523
+ <script type="text/javascript" src="<?php echo $tptn_url ?>/admin/wick/wick.js"></script>
524
+
525
+ <?php
526
+ }
527
+
528
+
529
+ /**
530
+ * Adding WordPress plugin action links.
531
+ *
532
+ * @version 1.9.2
533
+ *
534
+ * @param array $links
535
+ * @return array Links array with our settings link added
536
+ */
537
+ function tptn_plugin_actions_links( $links ) {
538
+
539
+ return array_merge(
540
+ array(
541
+ 'settings' => '<a href="' . admin_url( 'options-general.php?page=tptn_options' ) . '">' . __( 'Settings', 'top-10' ) . '</a>',
542
+ ),
543
+ $links
544
+ );
545
+
546
+ }
547
+ add_filter( 'plugin_action_links_' . plugin_basename( plugin_dir_path( __DIR__ ) . 'top-10.php' ), 'tptn_plugin_actions_links' );
548
+
549
+
550
+ /**
551
+ * Add links to the plugin action row.
552
+ *
553
+ * @since 1.5
554
+ *
555
+ * @param array $links
556
+ * @param array $file
557
+ * @return array Links array with our links added
558
+ */
559
+ function tptn_plugin_actions( $links, $file ) {
560
+ $plugin = plugin_basename( __FILE__ );
561
+
562
+ // create link
563
+ if ( $file == $plugin ) {
564
+ $links[] = '<a href="https://webberzone.com/support/">' . __( 'Support', 'top-10' ) . '</a>';
565
+ $links[] = '<a href="https://ajaydsouza.com/donate/">' . __( 'Donate', 'top-10' ) . '</a>';
566
+ }
567
+ return $links;
568
+ }
569
+ add_filter( 'plugin_action_links', 'tptn_plugin_actions', 10, 2 );
570
+
571
+
572
+ /**
573
+ * Function to delete all duplicate rows in the posts table.
574
+ *
575
+ * @since 1.6.2
576
+ *
577
+ * @param bool $daily Daily flag
578
+ */
579
+ function tptn_clean_duplicates( $daily = false ) {
580
+ global $wpdb;
581
+
582
+ $table_name = $wpdb->base_prefix . 'top_ten';
583
+ if ( $daily ) {
584
+ $table_name .= '_daily';
585
+ }
586
+ $count = 0;
587
+
588
+ $wpdb->query( 'CREATE TEMPORARY TABLE ' . $table_name . '_temp AS SELECT * FROM ' . $table_name . ' GROUP BY postnumber' );
589
+ $wpdb->query( "TRUNCATE TABLE $table_name" );
590
+ $wpdb->query( 'INSERT INTO ' . $table_name . ' SELECT * FROM ' . $table_name . '_temp' );
591
+ }
592
+
593
+
594
+ /**
595
+ * Function to merge counts with post numbers of blog ID 0 and 1 respectively.
596
+ *
597
+ * @since 2.0.4
598
+ *
599
+ * @param bool $daily Daily flag
600
+ */
601
+ function tptn_merge_blogids( $daily = false ) {
602
+ global $wpdb;
603
+
604
+ $table_name = $wpdb->base_prefix . 'top_ten';
605
+ if ( $daily ) {
606
+ $table_name .= '_daily';
607
+ }
608
+
609
+ if ( $daily ) {
610
+ $wpdb->query( "
611
+ INSERT INTO `$table_name` (postnumber, cntaccess, dp_date, blog_id) (
612
+ SELECT
613
+ postnumber,
614
+ SUM(cntaccess) as sumCount,
615
+ dp_date,
616
+ 1
617
+ FROM `$table_name`
618
+ WHERE blog_ID IN (0,1)
619
+ GROUP BY postnumber, dp_date
620
+ ) ON DUPLICATE KEY UPDATE cntaccess = VALUES(cntaccess);
621
+ " );
622
+ } else {
623
+ $wpdb->query( "
624
+ INSERT INTO `$table_name` (postnumber, cntaccess, blog_id) (
625
+ SELECT
626
+ postnumber,
627
+ SUM(cntaccess) as sumCount,
628
+ 1
629
+ FROM `$table_name`
630
+ WHERE blog_ID IN (0,1)
631
+ GROUP BY postnumber
632
+ ) ON DUPLICATE KEY UPDATE cntaccess = VALUES(cntaccess);
633
+ " );
634
+ }
635
+
636
+ $wpdb->query( "DELETE FROM $table_name WHERE blog_id = 0" );
637
+ }
638
+
admin/cache.php CHANGED
@@ -1,74 +1,73 @@
1
- <?php
2
- /**
3
- * Top 10 Cache interface.
4
- *
5
- * @package Top_Ten
6
- */
7
-
8
- /**
9
- * Function to clear the Top 10 Cache with Ajax.
10
- *
11
- * @since 2.2.0
12
- *
13
- */
14
- function tptn_ajax_clearcache() {
15
-
16
- tptn_cache_delete();
17
-
18
- exit( json_encode( array(
19
- 'success' => 1,
20
- 'message' => __( 'Top 10 cache has been cleared', 'tptn' ),
21
- ) ) );
22
- }
23
- add_action( 'wp_ajax_tptn_clear_cache', 'tptn_ajax_clearcache' );
24
-
25
-
26
- /**
27
- * Get the default meta keys used for the cache
28
- *
29
- * @return array Transient meta keys
30
- */
31
- function tptn_cache_get_keys() {
32
-
33
- $meta_keys = array(
34
- 'tptn_total',
35
- 'tptn_daily',
36
- 'tptn_total_shortcode',
37
- 'tptn_daily_shortcode',
38
- 'tptn_total_widget',
39
- 'tptn_daily_widget',
40
- 'tptn_total_manual',
41
- 'tptn_daily_manual',
42
- );
43
-
44
- /**
45
- * Filters the array containing the various cache keys.
46
- *
47
- * @since 1.9
48
- *
49
- * @param array $default_meta_keys Array of meta keys
50
- */
51
- return apply_filters( 'tptn_cache_keys', $meta_keys );
52
- }
53
-
54
-
55
- /**
56
- * Delete the Top 10 cache.
57
- *
58
- * @param array $transients
59
- */
60
- function tptn_cache_delete( $transients = array() ) {
61
-
62
- $default_transients = tptn_cache_get_keys();
63
-
64
- if ( ! empty( $transients ) ) {
65
- $transients = array_intersect( $default_transients, (array) $transients );
66
- } else {
67
- $transients = $default_transients;
68
- }
69
-
70
- foreach ( $transients as $transient ) {
71
- delete_transient( $transient );
72
- }
73
- }
74
-
1
+ <?php
2
+ /**
3
+ * Top 10 Cache interface.
4
+ *
5
+ * @package Top_Ten
6
+ */
7
+
8
+ /**
9
+ * Function to clear the Top 10 Cache with Ajax.
10
+ *
11
+ * @since 2.2.0
12
+ */
13
+ function tptn_ajax_clearcache() {
14
+
15
+ tptn_cache_delete();
16
+
17
+ exit( json_encode( array(
18
+ 'success' => 1,
19
+ 'message' => __( 'Top 10 cache has been cleared', 'top-10' ),
20
+ ) ) );
21
+ }
22
+ add_action( 'wp_ajax_tptn_clear_cache', 'tptn_ajax_clearcache' );
23
+
24
+
25
+ /**
26
+ * Get the default meta keys used for the cache
27
+ *
28
+ * @return array Transient meta keys
29
+ */
30
+ function tptn_cache_get_keys() {
31
+
32
+ $meta_keys = array(
33
+ 'tptn_total',
34
+ 'tptn_daily',
35
+ 'tptn_total_shortcode',
36
+ 'tptn_daily_shortcode',
37
+ 'tptn_total_widget',
38
+ 'tptn_daily_widget',
39
+ 'tptn_total_manual',
40
+ 'tptn_daily_manual',
41
+ );
42
+
43
+ /**
44
+ * Filters the array containing the various cache keys.
45
+ *
46
+ * @since 1.9
47
+ *
48
+ * @param array $default_meta_keys Array of meta keys
49
+ */
50
+ return apply_filters( 'tptn_cache_keys', $meta_keys );
51
+ }
52
+
53
+
54
+ /**
55
+ * Delete the Top 10 cache.
56
+ *
57
+ * @param array $transients
58
+ */
59
+ function tptn_cache_delete( $transients = array() ) {
60
+
61
+ $default_transients = tptn_cache_get_keys();
62
+
63
+ if ( ! empty( $transients ) ) {
64
+ $transients = array_intersect( $default_transients, (array) $transients );
65
+ } else {
66
+ $transients = $default_transients;
67
+ }
68
+
69
+ foreach ( $transients as $transient ) {
70
+ delete_transient( $transient );
71
+ }
72
+ }
73
+
 
admin/class-stats.php CHANGED
@@ -30,26 +30,25 @@ class Top_Ten_Statistics_Table extends WP_List_Table {
30
 
31
  /**
32
  * Class constructor.
33
- *
34
  */
35
  public function __construct() {
36
  parent::__construct( array(
37
- 'singular' => __( 'popular_post', 'tptn' ), //singular name of the listed records
38
- 'plural' => __( 'popular_posts', 'tptn' ), //plural name of the listed records
39
- // 'ajax' => false //does this table support ajax?
40
  ) );
41
  }
42
 
43
  /**
44
  * Retrieve the Top 10 posts
45
  *
46
- * @param int $per_page
47
- * @param int $page_number
48
- * @param bool $daily
49
  *
50
  * @return array Array of popular posts
51
  */
52
- public static function get_popular_posts( $per_page = 5, $page_number = 1, $daily = FALSE ) {
53
 
54
  global $wpdb, $tptn_settings;
55
 
@@ -66,20 +65,19 @@ class Top_Ten_Statistics_Table extends WP_List_Table {
66
  }
67
 
68
  /* Start creating the SQL */
69
- $table_name_daily = $wpdb->base_prefix . "top_ten_daily AS ttd";
70
- $table_name = $wpdb->base_prefix . "top_ten AS ttt";
71
 
72
  // Fields to return
73
- $fields[] = "ID";
74
- $fields[] = "post_title as title";
75
- $fields[] = "post_type";
76
- $fields[] = "post_date";
77
- $fields[] = "post_author";
78
- $fields[] = "ttt.cntaccess as total_count";
79
- $fields[] = "SUM(ttd.cntaccess) as daily_count";
80
-
81
- $fields = implode( ", ", $fields );
82
 
 
83
 
84
  // Create the JOIN clause
85
  $join = " INNER JOIN {$wpdb->posts} ON ttt.postnumber=ID ";
@@ -91,14 +89,14 @@ class Top_Ten_Statistics_Table extends WP_List_Table {
91
  ", $from_date );
92
 
93
  // Create the base WHERE clause
94
- $where = $wpdb->prepare( " AND ttt.blog_id = %d ", $blog_id ); // Posts need to be from the current blog only
95
  $where .= " AND $wpdb->posts.post_status = 'publish' "; // Only show published posts
96
 
97
  // Create the base GROUP BY clause
98
- $groupby = " ID ";
99
 
100
  // Create the base ORDER BY clause
101
- $orderby = " total_count DESC ";
102
 
103
  if ( ! empty( $_REQUEST['orderby'] ) ) {
104
  $orderby = esc_sql( $_REQUEST['orderby'] );
@@ -106,7 +104,7 @@ class Top_Ten_Statistics_Table extends WP_List_Table {
106
  }
107
 
108
  // Create the base LIMITS clause
109
- $limits = $wpdb->prepare( " LIMIT %d, %d ", ( $page_number - 1 ) * $per_page, $per_page );
110
 
111
  if ( ! empty( $groupby ) ) {
112
  $groupby = " GROUP BY {$groupby} ";
@@ -159,14 +157,14 @@ class Top_Ten_Statistics_Table extends WP_List_Table {
159
  * Text displayed when no post data is available
160
  */
161
  public function no_items() {
162
- _e( 'No popular posts available.', 'tptn' );
163
  }
164
 
165
 
166
  /**
167
  * Render a column when no column specific method exist.
168
  *
169
- * @param array $item
170
  * @param string $column_name
171
  *
172
  * @return mixed
@@ -179,7 +177,7 @@ class Top_Ten_Statistics_Table extends WP_List_Table {
179
  case 'daily_count':
180
  return intval( $item[ $column_name ] );
181
  default:
182
- return print_r( $item, true ); //Show the whole array for troubleshooting purposes
183
  }
184
  }
185
 
@@ -192,8 +190,8 @@ class Top_Ten_Statistics_Table extends WP_List_Table {
192
  function column_cb( $item ) {
193
  return sprintf(
194
  '<input type="checkbox" name="%1$s[]" value="%2$s" />',
195
- /*$1%s*/ "bulk-delete", //Let's simply repurpose the table's singular label ("movie")
196
- /*$2%s*/ $item['ID'] //The value of the checkbox should be the record's id
197
  );
198
  }
199
 
@@ -208,12 +206,12 @@ class Top_Ten_Statistics_Table extends WP_List_Table {
208
  $delete_nonce = wp_create_nonce( 'tptn_delete_entry' );
209
 
210
  $actions = array(
211
- 'view' => sprintf( '<a href="%s" target="_blank">' . __( 'View', 'tptn' ) . '</a>', get_permalink( $item['ID'] ) ),
212
- 'edit' => sprintf( '<a href="%s">' . __( 'Edit', 'tptn' ) . '</a>', get_edit_post_link( $item['ID'] ) ),
213
- 'delete' => sprintf( '<a href="?page=%s&action=%s&post=%s&_wpnonce=%s">' . __( 'Delete', 'tptn' ) . '</a>', esc_attr( $_REQUEST['page'] ), 'delete', absint( $item['ID'] ), $delete_nonce ),
214
  );
215
 
216
- //Return the title contents
217
  return sprintf( '<a href="%4$s">%1$s</a> <span style="color:silver">(id:%2$s)</span>%3$s',
218
  /*$1%s*/ $item['title'],
219
  /*$2%s*/ $item['ID'],
@@ -232,7 +230,7 @@ class Top_Ten_Statistics_Table extends WP_List_Table {
232
  */
233
  public function column_date( $item ) {
234
 
235
- $t_time = get_the_time( __( 'Y/m/d g:i:s a', 'tptn' ) );
236
  $m_time = $item['post_date'];
237
  $time = get_post_time( 'G', true, $item['ID'] );
238
 
@@ -261,26 +259,26 @@ class Top_Ten_Statistics_Table extends WP_List_Table {
261
  printf( '<a href="%s">%s</a>',
262
  esc_url( add_query_arg( array(
263
  'post_type' => $item['post_type'],
264
- 'author' => $author_info->ID
265
  ), 'edit.php' ) ),
266
  $author_name
267
  );
268
  }
269
 
270
  /**
271
- * Associative array of columns
272
- *
273
- * @return array
274
- */
275
  function get_columns() {
276
  $columns = array(
277
  'cb' => '<input type="checkbox" />',
278
- 'title' => __( 'Title', 'tptn' ),
279
- 'total_count' => __( 'Total visits', 'tptn' ),
280
- 'daily_count' => __( 'Daily visits', 'tptn' ),
281
- 'post_type' => __( 'Post type', 'tptn' ),
282
- 'author' => __( 'Author', 'tptn' ),
283
- 'date' => __( 'Date', 'tptn' ),
284
  );
285
 
286
  /**
@@ -314,7 +312,7 @@ class Top_Ten_Statistics_Table extends WP_List_Table {
314
  */
315
  public function get_bulk_actions() {
316
  $actions = array(
317
- 'bulk-delete' => __( 'Delete Count', 'tptn' )
318
  );
319
  return $actions;
320
  }
@@ -336,9 +334,9 @@ class Top_Ten_Statistics_Table extends WP_List_Table {
336
  $total_items = self::record_count();
337
 
338
  $this->set_pagination_args( array(
339
- 'total_items' => $total_items, //WE have to calculate the total number of items
340
- 'per_page' => $per_page, //WE have to determine how many items to show on a page
341
- 'total_pages' => ceil( $total_items / $per_page ) //WE have to calculate the total number of pages
342
  ) );
343
 
344
  $this->items = self::get_popular_posts( $per_page, $current_page );
@@ -349,12 +347,12 @@ class Top_Ten_Statistics_Table extends WP_List_Table {
349
  */
350
  public function process_bulk_action() {
351
 
352
- //Detect when a bulk action is being triggered...
353
  if ( 'delete' === $this->current_action() ) {
354
  // In our file that handles the request, verify the nonce.
355
  $nonce = esc_attr( $_REQUEST['_wpnonce'] );
356
  if ( ! wp_verify_nonce( $nonce, 'tptn_delete_entry' ) ) {
357
- die( __( 'Are you sure you want to do this', 'tptn' ) );
358
  } else {
359
  self::delete_post_count( absint( $_GET['post'] ) );
360
  }
@@ -405,7 +403,7 @@ class Top_Ten_Statistics {
405
  public function plugin_settings_page() {
406
  ?>
407
  <div class="wrap">
408
- <h1><?php printf( _x( "%s Popular Posts", 'Plugin name', 'tptn' ), "Top 10" ); ?></h1>
409
 
410
  <div id="poststuff">
411
  <div id="post-body" class="metabox-holder columns-2">
@@ -437,9 +435,9 @@ class Top_Ten_Statistics {
437
  public function screen_option() {
438
  $option = 'per_page';
439
  $args = array(
440
- 'label' => __( 'Popular Posts', 'tptn' ),
441
  'default' => 20,
442
- 'option' => 'pop_posts_per_page'
443
  );
444
  add_screen_option( $option, $args );
445
  $this->pop_posts_obj = new Top_Ten_Statistics_Table();
30
 
31
  /**
32
  * Class constructor.
 
33
  */
34
  public function __construct() {
35
  parent::__construct( array(
36
+ 'singular' => __( 'popular_post', 'top-10' ), // singular name of the listed records
37
+ 'plural' => __( 'popular_posts', 'top-10' ), // plural name of the listed records
38
+ // 'ajax' => false //does this table support ajax?
39
  ) );
40
  }
41
 
42
  /**
43
  * Retrieve the Top 10 posts
44
  *
45
+ * @param int $per_page
46
+ * @param int $page_number
47
+ * @param bool $daily
48
  *
49
  * @return array Array of popular posts
50
  */
51
+ public static function get_popular_posts( $per_page = 5, $page_number = 1, $daily = false ) {
52
 
53
  global $wpdb, $tptn_settings;
54
 
65
  }
66
 
67
  /* Start creating the SQL */
68
+ $table_name_daily = $wpdb->base_prefix . 'top_ten_daily AS ttd';
69
+ $table_name = $wpdb->base_prefix . 'top_ten AS ttt';
70
 
71
  // Fields to return
72
+ $fields[] = 'ID';
73
+ $fields[] = 'post_title as title';
74
+ $fields[] = 'post_type';
75
+ $fields[] = 'post_date';
76
+ $fields[] = 'post_author';
77
+ $fields[] = 'ttt.cntaccess as total_count';
78
+ $fields[] = 'SUM(ttd.cntaccess) as daily_count';
 
 
79
 
80
+ $fields = implode( ', ', $fields );
81
 
82
  // Create the JOIN clause
83
  $join = " INNER JOIN {$wpdb->posts} ON ttt.postnumber=ID ";
89
  ", $from_date );
90
 
91
  // Create the base WHERE clause
92
+ $where = $wpdb->prepare( ' AND ttt.blog_id = %d ', $blog_id ); // Posts need to be from the current blog only
93
  $where .= " AND $wpdb->posts.post_status = 'publish' "; // Only show published posts
94
 
95
  // Create the base GROUP BY clause
96
+ $groupby = ' ID ';
97
 
98
  // Create the base ORDER BY clause
99
+ $orderby = ' total_count DESC ';
100
 
101
  if ( ! empty( $_REQUEST['orderby'] ) ) {
102
  $orderby = esc_sql( $_REQUEST['orderby'] );
104
  }
105
 
106
  // Create the base LIMITS clause
107
+ $limits = $wpdb->prepare( ' LIMIT %d, %d ', ( $page_number - 1 ) * $per_page, $per_page );
108
 
109
  if ( ! empty( $groupby ) ) {
110
  $groupby = " GROUP BY {$groupby} ";
157
  * Text displayed when no post data is available
158
  */
159
  public function no_items() {
160
+ _e( 'No popular posts available.', 'top-10' );
161
  }
162
 
163
 
164
  /**
165
  * Render a column when no column specific method exist.
166
  *
167
+ * @param array $item
168
  * @param string $column_name
169
  *
170
  * @return mixed
177
  case 'daily_count':
178
  return intval( $item[ $column_name ] );
179
  default:
180
+ return print_r( $item, true ); // Show the whole array for troubleshooting purposes
181
  }
182
  }
183
 
190
  function column_cb( $item ) {
191
  return sprintf(
192
  '<input type="checkbox" name="%1$s[]" value="%2$s" />',
193
+ /*$1%s*/ 'bulk-delete', // Let's simply repurpose the table's singular label ("movie")
194
+ /*$2%s*/ $item['ID'] // The value of the checkbox should be the record's id
195
  );
196
  }
197
 
206
  $delete_nonce = wp_create_nonce( 'tptn_delete_entry' );
207
 
208
  $actions = array(
209
+ 'view' => sprintf( '<a href="%s" target="_blank">' . __( 'View', 'top-10' ) . '</a>', get_permalink( $item['ID'] ) ),
210
+ 'edit' => sprintf( '<a href="%s">' . __( 'Edit', 'top-10' ) . '</a>', get_edit_post_link( $item['ID'] ) ),
211
+ 'delete' => sprintf( '<a href="?page=%s&action=%s&post=%s&_wpnonce=%s">' . __( 'Delete', 'top-10' ) . '</a>', esc_attr( $_REQUEST['page'] ), 'delete', absint( $item['ID'] ), $delete_nonce ),
212
  );
213
 
214
+ // Return the title contents
215
  return sprintf( '<a href="%4$s">%1$s</a> <span style="color:silver">(id:%2$s)</span>%3$s',
216
  /*$1%s*/ $item['title'],
217
  /*$2%s*/ $item['ID'],
230
  */
231
  public function column_date( $item ) {
232
 
233
+ $t_time = get_the_time( __( 'Y/m/d g:i:s a', 'top-10' ) );
234
  $m_time = $item['post_date'];
235
  $time = get_post_time( 'G', true, $item['ID'] );
236
 
259
  printf( '<a href="%s">%s</a>',
260
  esc_url( add_query_arg( array(
261
  'post_type' => $item['post_type'],
262
+ 'author' => $author_info->ID,
263
  ), 'edit.php' ) ),
264
  $author_name
265
  );
266
  }
267
 
268
  /**
269
+ * Associative array of columns
270
+ *
271
+ * @return array
272
+ */
273
  function get_columns() {
274
  $columns = array(
275
  'cb' => '<input type="checkbox" />',
276
+ 'title' => __( 'Title', 'top-10' ),
277
+ 'total_count' => __( 'Total visits', 'top-10' ),
278
+ 'daily_count' => __( 'Daily visits', 'top-10' ),
279
+ 'post_type' => __( 'Post type', 'top-10' ),
280
+ 'author' => __( 'Author', 'top-10' ),
281
+ 'date' => __( 'Date', 'top-10' ),
282
  );
283
 
284
  /**
312
  */
313
  public function get_bulk_actions() {
314
  $actions = array(
315
+ 'bulk-delete' => __( 'Delete Count', 'top-10' ),
316
  );
317
  return $actions;
318
  }
334
  $total_items = self::record_count();
335
 
336
  $this->set_pagination_args( array(
337
+ 'total_items' => $total_items, // WE have to calculate the total number of items
338
+ 'per_page' => $per_page, // WE have to determine how many items to show on a page
339
+ 'total_pages' => ceil( $total_items / $per_page ),// WE have to calculate the total number of pages
340
  ) );
341
 
342
  $this->items = self::get_popular_posts( $per_page, $current_page );
347
  */
348
  public function process_bulk_action() {
349
 
350
+ // Detect when a bulk action is being triggered...
351
  if ( 'delete' === $this->current_action() ) {
352
  // In our file that handles the request, verify the nonce.
353
  $nonce = esc_attr( $_REQUEST['_wpnonce'] );
354
  if ( ! wp_verify_nonce( $nonce, 'tptn_delete_entry' ) ) {
355
+ die( __( 'Are you sure you want to do this', 'top-10' ) );
356
  } else {
357
  self::delete_post_count( absint( $_GET['post'] ) );
358
  }
403
  public function plugin_settings_page() {
404
  ?>
405
  <div class="wrap">
406
+ <h1><?php printf( _x( '%s Popular Posts', 'Plugin name', 'top-10' ), 'Top 10' ); ?></h1>
407
 
408
  <div id="poststuff">
409
  <div id="post-body" class="metabox-holder columns-2">
435
  public function screen_option() {
436
  $option = 'per_page';
437
  $args = array(
438
+ 'label' => __( 'Popular Posts', 'top-10' ),
439
  'default' => 20,
440
+ 'option' => 'pop_posts_per_page',
441
  );
442
  add_screen_option( $option, $args );
443
  $this->pop_posts_obj = new Top_Ten_Statistics_Table();
admin/deprecated.php CHANGED
@@ -38,10 +38,10 @@ function tptn_manage( $daily = 0 ) {
38
  <div class="wrap">
39
  <h2>
40
  <?php if ( ! $daily ) {
41
- _e( 'Popular Posts', 'tptn' );
42
- } else {
43
- _e( 'Daily Popular Posts', 'tptn' );
44
- } ?>
45
  </h2>
46
  <div id="poststuff">
47
  <div id="post-body" class="metabox-holder columns-2">
@@ -50,7 +50,7 @@ function tptn_manage( $daily = 0 ) {
50
  </div><!-- /post-body-content -->
51
  <div id="postbox-container-1" class="postbox-container">
52
  <div id="side-sortables" class="meta-box-sortables ui-sortable">
53
- <?php tptn_admin_side(); ?>
54
  </div><!-- /side-sortables -->
55
  </div><!-- /postbox-container-1 -->
56
  </div><!-- /post-body -->
38
  <div class="wrap">
39
  <h2>
40
  <?php if ( ! $daily ) {
41
+ _e( 'Popular Posts', 'top-10' );
42
+ } else {
43
+ _e( 'Daily Popular Posts', 'top-10' );
44
+ } ?>
45
  </h2>
46
  <div id="poststuff">
47
  <div id="post-body" class="metabox-holder columns-2">
50
  </div><!-- /post-body-content -->
51
  <div id="postbox-container-1" class="postbox-container">
52
  <div id="side-sortables" class="meta-box-sortables ui-sortable">
53
+ <?php tptn_admin_side(); ?>
54
  </div><!-- /side-sortables -->
55
  </div><!-- /postbox-container-1 -->
56
  </div><!-- /post-body -->
admin/images/index.php ADDED
@@ -0,0 +1 @@
 
1
+ <?php // Silence is golden
admin/index.php CHANGED
@@ -1 +1 @@
1
- <?php // Silence is golden
1
+ <?php // Silence is golden
admin/main-view.php CHANGED
@@ -1,954 +1,966 @@
1
- <?php
2
- /**
3
- * Top 10 Admin interface - Main screen.
4
- *
5
- * This page is accessible via Top 10 Settings menu item
6
- *
7
- * @package Top_Ten
8
- * @author Ajay D'Souza <me@ajaydsouza.com>
9
- * @license GPL-2.0+
10
- * @link https://webberzone.com
11
- * @copyright 2008-2015 Ajay D'Souza
12
- */
13
-
14
- // If this file is called directly, abort.
15
- if ( ! defined( 'WPINC' ) ) {
16
- die;
17
- }
18
-
19
- ?>
20
-
21
- <div class="wrap">
22
- <h2><?php _e( 'Top 10 Settings', 'tptn' ); ?></h2>
23
-
24
- <ul class="subsubsub">
25
- <?php
26
- /**
27
- * Fires before the navigation bar in the Settings page
28
- *
29
- * @since 2.0.0
30
- */
31
- do_action( 'tptn_admin_nav_bar_before' )
32
- ?>
33
-
34
- <li><a href="#genopdiv"><?php _e( 'General options', 'tptn' ); ?></a> | </li>
35
- <li><a href="#counteropdiv"><?php _e( 'Counter and tracker options', 'tptn' ); ?></a> | </li>
36
- <li><a href="#pplopdiv"><?php _e( 'Popular post list options', 'tptn' ); ?></a> | </li>
37
- <li><a href="#thumbopdiv"><?php _e( 'Thumbnail options', 'tptn' ); ?></a> | </li>
38
- <li><a href="#customcssdiv"><?php _e( 'Styles', 'tptn' ); ?></a> | </li>
39
- <li><a href="#tptn_maintenance_op"><?php _e( 'Maintenance', 'tptn' ); ?></a></li>
40
-
41
- <?php
42
- /**
43
- * Fires after the navigation bar in the Settings page
44
- *
45
- * @since 2.0.0
46
- */
47
- do_action( 'tptn_admin_nav_bar_after' )
48
- ?>
49
- </ul>
50
-
51
- <div id="poststuff">
52
- <div id="post-body" class="metabox-holder columns-2">
53
- <div id="post-body-content">
54
- <form method="post" id="tptn_options" name="tptn_options" onsubmit="return checkForm()">
55
- <div id="genopdiv" class="postbox"><div class="handlediv" title="<?php _e( 'Click to toggle', 'tptn' ); ?>"><br /></div>
56
- <h3 class='hndle'><span><?php _e( 'General options', 'tptn' ); ?></span></h3>
57
- <div class="inside">
58
- <table class="form-table">
59
-
60
- <?php
61
- /**
62
- * Fires before General options block.
63
- *
64
- * @since 2.0.0
65
- *
66
- * @param array $tptn_settings Top 10 settings array
67
- */
68
- do_action( 'tptn_admin_general_options_before', $tptn_settings );
69
- ?>
70
-
71
- <tr>
72
- <th scope="row"><?php _e( 'Enable trackers:', 'tptn' ); ?></th>
73
- <td>
74
- <p>
75
- <label>
76
- <input type="checkbox" name="activate_overall" id="activate_overall" <?php if ( $tptn_settings['activate_overall'] ) echo 'checked="checked"' ?> />
77
- <?php _e( 'Overall', 'tptn' ); ?>
78
- </label>
79
- </p>
80
- <p>
81
- <label>
82
- <input type="checkbox" name="activate_daily" id="activate_daily" <?php if ( $tptn_settings['activate_daily'] ) echo 'checked="checked"' ?> />
83
- <?php _e( 'Daily', 'tptn' ); ?>
84
- </label>
85
- </p>
86
- </td>
87
- </tr>
88
- <tr>
89
- <th scope="row"><label for="cache"><?php _e( 'Enable cache:', 'tptn' ); ?></label></th>
90
- <td>
91
- <p><input type="checkbox" name="cache" id="cache" <?php if ( $tptn_settings['cache'] ) echo 'checked="checked"' ?> /></p>
92
- <p class="description"><?php _e( 'If activated, Top 10 will use the Transients API to cache the popular posts output for 1 hour.', 'tptn' ); ?></p>
93
- <p><input type="button" name="cache_clear" id="cache_clear" value="<?php _e( 'Clear cache', 'tptn' ); ?>" class="button-secondary" onclick="return clearCache();" /></p>
94
- </td>
95
- </tr>
96
- <tr>
97
- <th scope="row"><label for="cache_fix"><?php _e( 'Use Ajax for tracking:', 'tptn' ); ?></label></th>
98
- <td>
99
- <input type="checkbox" name="cache_fix" id="cache_fix" <?php if ( $tptn_settings['cache_fix'] ) echo 'checked="checked"' ?> />
100
- <p class="description"><?php _e( 'This will try to prevent W3 Total Cache and other caching plugins from caching the tracker script of the plugin. Try toggling this option in case you find that your posts are not tracked.', 'tptn' ); ?></p>
101
- </td>
102
- </tr>
103
- <tr>
104
- <th scope="row"><label for="daily_midnight"><?php _e( 'Start daily counts from midnight:', 'tptn' ); ?></label></th>
105
- <td>
106
- <input type="checkbox" name="daily_midnight" id="daily_midnight" <?php if ( $tptn_settings['daily_midnight'] ) echo 'checked="checked"' ?> />
107
- <p class="description"><?php _e( 'Daily counter will display number of visits from midnight. This option is checked by default and mimics the way most normal counters work. Turning this off will allow you to use the hourly setting in the next option.', 'tptn' ); ?></p>
108
- </td>
109
- </tr>
110
- <tr>
111
- <th scope="row"><label for="daily_range"><?php _e( 'Daily popular contains top posts over:', 'tptn' ); ?></label></th>
112
- <td>
113
- <input type="textbox" name="daily_range" id="daily_range" size="3" value="<?php echo stripslashes( $tptn_settings['daily_range'] ); ?>"> <?php _e( 'day(s)', 'tptn' ); ?>
114
- <input type="textbox" name="hour_range" id="hour_range" size="3" value="<?php echo stripslashes( $tptn_settings['hour_range'] ); ?>"> <?php _e( 'hour(s)', 'tptn' ); ?>
115
- <p class="description"><?php _e( "Think of Daily Popular has a custom date range applied as a global setting. Instead of displaying popular posts from the past day, this setting lets you display posts for as many days or as few hours as you want. This can be overridden in the widget.", 'tptn' ); ?></p>
116
- </td>
117
- </tr>
118
- <tr>
119
- <th scope="row"><label for="uninstall_clean_options"><?php _e( 'Delete options on uninstall', 'tptn' ); ?></label></th>
120
- <td>
121
- <input type="checkbox" name="uninstall_clean_options" id="uninstall_clean_options" <?php if ( $tptn_settings['uninstall_clean_options'] ) echo 'checked="checked"' ?> />
122
- <p class="description"><?php _e( 'If this is checked, all settings related to Top 10 are removed from the database if you choose to uninstall/delete the plugin.', 'tptn' ); ?></p>
123
- </td>
124
- </tr>
125
- <tr>
126
- <th scope="row"><label for="uninstall_clean_tables"><?php _e( 'Delete counter data on uninstall', 'tptn' ); ?></label></th>
127
- <td>
128
- <input type="checkbox" name="uninstall_clean_tables" id="uninstall_clean_tables" <?php if ( $tptn_settings['uninstall_clean_tables'] ) echo 'checked="checked"' ?> />
129
- <p class="description"><?php _e( 'If this is checked, the tables containing the counter statistics are removed from the database if you choose to uninstall/delete the plugin.', 'tptn' ); ?></p>
130
- <p class="description"><?php _e( "Keep this unchecked if you choose to reinstall the plugin and don't want to lose your counter data.", 'tptn' ); ?></p>
131
- </td>
132
- </tr>
133
- <tr><th scope="row"><label for="show_metabox"><?php _e( "Show metabox:", 'tptn' ); ?></label></th>
134
- <td>
135
- <input type="checkbox" name="show_metabox" id="show_metabox" <?php if ( $tptn_settings['show_metabox'] ) echo 'checked="checked"' ?> />
136
- <p class="description"><?php _e( 'This will add the Top 10 metabox on Edit Posts or Add New Posts screens. Also applies to Pages and Custom Post Types.', 'tptn' ); ?></p>
137
- </td>
138
- </tr>
139
-
140
- <tr><th scope="row"><label for="show_metabox_admins"><?php _e( "Limit metabox to Admins only:", 'tptn' ); ?></label></th>
141
- <td>
142
- <input type="checkbox" name="show_metabox_admins" id="show_metabox_admins" <?php if ( $tptn_settings['show_metabox_admins'] ) echo 'checked="checked"' ?> />
143
- <p class="description"><?php _e( 'If this is selected, the metabox will be hidden from anyone who is not an Admin. Otherwise, by default, Contributors and above will be able to see the metabox. This applies only if the above option is selected.', 'tptn' ); ?></p>
144
- </td>
145
- </tr>
146
-
147
- <tr>
148
- <th scope="row"><label for="show_credit"><?php _e( 'Link to Top 10 plugin page', 'tptn' ); ?></label></th>
149
- <td>
150
- <input type="checkbox" name="show_credit" id="show_credit" <?php if ( $tptn_settings['show_credit'] ) echo 'checked="checked"' ?> />
151
- <p class="description"><?php _e( 'A link to the plugin is added as an extra list item to the list of popular posts', 'tptn' ); ?></p>
152
- </td>
153
- </tr>
154
- <tr>
155
- <td scope="row" colspan="2">
156
- <input type="submit" name="tptn_save" id="tptn_genop_save" value="<?php _e( 'Save Options', 'tptn' ); ?>" class="button button-primary" />
157
- </td>
158
- </tr>
159
-
160
- <?php
161
- /**
162
- * Fires after General options block.
163
- *
164
- * @since 2.0.0
165
- *
166
- * @param array $tptn_settings Top 10 settings array
167
- */
168
- do_action( 'tptn_admin_general_options_after', $tptn_settings );
169
- ?>
170
-
171
- </table>
172
- </div>
173
- </div>
174
- <div id="counteropdiv" class="postbox"><div class="handlediv" title="<?php _e( 'Click to toggle', 'tptn' ); ?>"><br /></div>
175
- <h3 class='hndle'><span><?php _e( 'Counter and tracker options', 'tptn' ); ?></span></h3>
176
- <div class="inside">
177
- <table class="form-table">
178
-
179
- <?php
180
- /**
181
- * Fires before Counter options block.
182
- *
183
- * @since 2.0.0
184
- *
185
- * @param array $tptn_settings Top 10 settings array
186
- */
187
- do_action( 'tptn_admin_counter_options_before', $tptn_settings );
188
- ?>
189
-
190
- <tr>
191
- <th scope="row"><?php _e( 'Display number of views on:', 'tptn' ); ?></th>
192
- <td>
193
- <label><input type="checkbox" name="add_to_content" id="add_to_content" <?php if ( $tptn_settings['add_to_content'] ) echo 'checked="checked"' ?> /> <?php _e( 'Posts', 'tptn' ); ?></label><br />
194
- <label><input type="checkbox" name="count_on_pages" id="count_on_pages" <?php if ( $tptn_settings['count_on_pages'] ) echo 'checked="checked"' ?> /> <?php _e( 'Pages', 'tptn' ); ?></label><br />
195
- <label><input type="checkbox" name="add_to_home" id="add_to_home" <?php if ( $tptn_settings['add_to_home'] ) echo 'checked="checked"' ?> /> <?php _e( 'Home page', 'tptn' ); ?></label></label><br />
196
- <label><input type="checkbox" name="add_to_feed" id="add_to_feed" <?php if ( $tptn_settings['add_to_feed'] ) echo 'checked="checked"' ?> /> <?php _e( 'Feeds', 'tptn' ); ?></label></label><br />
197
- <label><input type="checkbox" name="add_to_category_archives" id="add_to_category_archives" <?php if ( $tptn_settings['add_to_category_archives'] ) echo 'checked="checked"' ?> /> <?php _e( 'Category archives', 'tptn' ); ?></label><br />
198
- <label><input type="checkbox" name="add_to_tag_archives" id="add_to_tag_archives" <?php if ( $tptn_settings['add_to_tag_archives'] ) echo 'checked="checked"' ?> /> <?php _e( 'Tag archives', 'tptn' ); ?></label></label><br />
199
- <label><input type="checkbox" name="add_to_archives" id="add_to_archives" <?php if ( $tptn_settings['add_to_archives'] ) echo 'checked="checked"' ?> /> <?php _e( 'Other archives', 'tptn' ); ?></label></label>
200
- <p class="description"><?php _e( "If you choose to disable this, please add <code>&lt;?php if ( function_exists ( 'echo_tptn_post_count' ) ) echo_tptn_post_count(); ?&gt;</code> to your template file where you want it displayed", 'tptn' ); ?></p>
201
- </td>
202
- </tr>
203
- <tr>
204
- <th scope="row"><label for="title"><?php _e( 'Format to display the post views:', 'tptn' ); ?></label></th>
205
- <td>
206
- <textarea name="count_disp_form" id="count_disp_form" cols="50" rows="3" style="width:100%"><?php echo htmlspecialchars( stripslashes( $tptn_settings['count_disp_form'] ) ); ?></textarea>
207
- <p class="description"><?php _e( 'Use <code>%totalcount%</code> to display the total count, <code>%dailycount%</code> to display the daily count and <code>%overallcount%</code> to display the overall count across all posts on the blog. e.g. the default options displays <code>[Visited 123 times, 23 visits today]</code>', 'tptn' ); ?>
208
- </td>
209
- </tr>
210
- <tr>
211
- <th scope="row"><label for="title"><?php _e( 'What do display when there are no visits?', 'tptn' ); ?></label></th>
212
- <td>
213
- <textarea name="count_disp_form_zero" id="count_disp_form_zero" cols="50" rows="3" style="width:100%"><?php echo htmlspecialchars( stripslashes( $tptn_settings['count_disp_form_zero'] ) ); ?></textarea>
214
- <p class="description"><?php _e( "This text applies only when there are 0 hits for the post and it isn't a single page. e.g. if you display post views on the homepage or archives then this text will be used. To override this, just enter the same text as above option.", 'tptn' ); ?>
215
- </td>
216
- </tr>
217
- <tr>
218
- <th scope="row"><label for="dynamic_post_count"><?php _e( 'Always display latest post count', 'tptn' ); ?></label></th>
219
- <td>
220
- <input type="checkbox" name="dynamic_post_count" id="dynamic_post_count" <?php if ( $tptn_settings['dynamic_post_count'] ) echo 'checked="checked"' ?> />
221
- <p class="description"><?php _e( 'This option uses JavaScript and will increase your page load time. Turn this off if you are not using caching plugins or are OK with displaying older cached counts.', 'tptn' ); ?></p>
222
- </td>
223
- </tr>
224
- <tr>
225
- <th scope="row"><label for="track_authors"><?php _e( 'Track visits of authors on their own posts?', 'tptn' ); ?></label></th>
226
- <td>
227
- <input type="checkbox" name="track_authors" id="track_authors" <?php if ( $tptn_settings['track_authors'] ) echo 'checked="checked"' ?> />
228
- <p class="description"><?php _e( 'Disabling this option will stop authors visits tracked on their own posts', 'tptn' ); ?></p>
229
- </td>
230
- </tr>
231
- <tr>
232
- <th scope="row"><label for="track_admins"><?php _e( 'Track visits of admins?', 'tptn' ); ?></label></th>
233
- <td>
234
- <input type="checkbox" name="track_admins" id="track_admins" <?php if ( $tptn_settings['track_admins'] ) echo 'checked="checked"' ?> />
235
- <p class="description"><?php _e( 'Disabling this option will stop admin visits being tracked.', 'tptn' ); ?></p>
236
- </td>
237
- </tr>
238
- <tr>
239
- <th scope="row"><label for="track_editors"><?php _e( 'Track visits of Editors?', 'tptn' ); ?></label></th>
240
- <td>
241
- <input type="checkbox" name="track_editors" id="track_editors" <?php if ( $tptn_settings['track_editors'] ) echo 'checked="checked"' ?> />
242
- <p class="description"><?php _e( 'Disabling this option will stop editor visits being tracked.', 'tptn' ); ?></p>
243
- </td>
244
- </tr>
245
- <tr>
246
- <th scope="row"><label for="pv_in_admin"><?php _e( 'Display page views on Posts and Pages in Admin', 'tptn' ); ?></label></th>
247
- <td>
248
- <input type="checkbox" name="pv_in_admin" id="pv_in_admin" <?php if ( $tptn_settings['pv_in_admin'] ) echo 'checked="checked"' ?> />
249
- <p class="description"><?php _e( "Adds three columns called Total Views, Today's Views and Views to All Posts and All Pages", 'tptn' ); ?></p>
250
- </td>
251
- </tr>
252
- <tr>
253
- <th scope="row"><label for="show_count_non_admins"><?php _e( 'Show number of views to non-admins', 'tptn' ); ?></label></th>
254
- <td>
255
- <input type="checkbox" name="show_count_non_admins" id="show_count_non_admins" <?php if ( $tptn_settings['show_count_non_admins'] ) echo 'checked="checked"' ?> />
256
- <p class="description"><?php _e( "If you disable this then non-admins won't see the above columns or view the independent pages with the top posts", 'tptn' ); ?></p>
257
- </td>
258
- </tr>
259
- <tr>
260
- <td scope="row" colspan="2">
261
- <input type="submit" name="tptn_save" id="tptn_counterop_save" value="<?php _e( 'Save Options', 'tptn' ); ?>" class="button button-primary" />
262
- </td>
263
- </tr>
264
-
265
- <?php
266
- /**
267
- * Fires after Counter options block.
268
- *
269
- * @since 2.0.0
270
- *
271
- * @param array $tptn_settings Top 10 settings array
272
- */
273
- do_action( 'tptn_admin_counter_options_after', $tptn_settings );
274
- ?>
275
-
276
- </table>
277
- </div>
278
- </div>
279
- <div id="pplopdiv" class="postbox"><div class="handlediv" title="<?php _e( 'Click to toggle', 'tptn' ); ?>"><br /></div>
280
- <h3 class='hndle'><span><?php _e( 'Popular post list options', 'tptn' ); ?></span></h3>
281
- <div class="inside">
282
- <table class="form-table">
283
-
284
- <?php
285
- /**
286
- * Fires before Popular post list options block.
287
- *
288
- * @since 2.0.0
289
- *
290
- * @param array $tptn_settings Top 10 settings array
291
- */
292
- do_action( 'tptn_admin_list_options_before', $tptn_settings );
293
- ?>
294
-
295
- <tr>
296
- <th scope="row"><label for="limit"><?php _e( 'Number of popular posts to display:', 'tptn' ); ?></label></th>
297
- <td>
298
- <input type="textbox" name="limit" id="limit" value="<?php echo esc_attr( stripslashes( $tptn_settings['limit'] ) ); ?>">
299
- <p class="description"><?php _e( "Maximum number of posts that will be displayed in the list. This option is used if you don't specify the number of posts in the widget or shortcodes", 'tptn' ); ?></p>
300
- </td>
301
- </tr>
302
- <tr>
303
- <th scope="row"><label for="how_old"><?php _e( 'Published age of posts:', 'tptn' ); ?></label></th>
304
- <td>
305
- <input type="textbox" name="how_old" id="how_old" value="<?php echo esc_attr( stripslashes( $tptn_settings['how_old'] ) ); ?>"> <?php _e( 'days', 'tptn' ); ?>
306
- <p class="description"><?php _e( "This options allows you to only show posts that have been published within the above day range. Applies to both overall posts and daily posts lists.", 'tptn' ); ?></p>
307
- <p class="description"><?php _e( "e.g. 365 days will only show posts published in the last year in the popular posts lists. Enter 0 for no restriction.", 'tptn' ); ?></p>
308
- </td>
309
- </tr>
310
- <tr>
311
- <th scope="row"><?php _e( 'Post types to include in results (including custom post types)', 'tptn' ); ?></th>
312
- <td>
313
- <?php foreach ( $wp_post_types as $wp_post_type ) { ?>
314
-
315
- <label>
316
- <input type="checkbox" name="post_types[]" value="<?php echo $wp_post_type; ?>" <?php if ( in_array( $wp_post_type, $posts_types_inc ) ) echo 'checked="checked"' ?> />
317
- <?php echo $wp_post_type; ?>
318
- </label>
319
- <br />
320
-
321
- <?php } ?>
322
- </td>
323
- </tr>
324
- <tr>
325
- <th scope="row"><label for="exclude_post_ids"><?php _e( 'List of post or page IDs to exclude from the results:', 'tptn' ); ?></label></th>
326
- <td><input type="textbox" name="exclude_post_ids" id="exclude_post_ids" value="<?php echo esc_attr( stripslashes( $tptn_settings['exclude_post_ids'] ) ); ?>" style="width:250px">
327
- <p class="description"><?php _e( 'Enter comma separated list of IDs. e.g. 188,320,500', 'tptn' ); ?></p>
328
- </td>
329
- </tr>
330
- <tr>
331
- <th scope="row"><label for="exclude_cat_slugs"><?php _e( 'Exclude Categories:', 'tptn' ); ?></label></th>
332
- <td>
333
- <div style="position:relative;text-align:left">
334
- <table id="MYCUSTOMFLOATER" class="myCustomFloater" style="position:absolute;top:50px;left:0;background-color:#cecece;display:none;visibility:hidden">
335
- <tr><td><!--
336
- please see: http://chrisholland.blogspot.com/2004/09/geekstuff-css-display-inline-block.html
337
- to explain why i'm using a table here.
338
- You could replace the table/tr/td with a DIV, but you'd have to specify it's width and height
339
- -->
340
- <div class="myCustomFloaterContent">
341
- you should never be seeing this
342
- </div>
343
- </td></tr>
344
- </table>
345
- <textarea class="wickEnabled:MYCUSTOMFLOATER" cols="50" rows="3" wrap="virtual" name="exclude_cat_slugs" style="width:100%"><?php echo ( stripslashes( $tptn_settings['exclude_cat_slugs'] ) ); ?></textarea>
346
- <p class="description"><?php _e( 'Comma separated list of category slugs. The field above has an autocomplete so simply start typing in the starting letters and it will prompt you with options', 'tptn' ); ?></p>
347
- </div>
348
- </td>
349
- </tr>
350
- <tr>
351
- <th scope="row"><label for="title"><?php _e( 'Title of popular posts:', 'tptn' ); ?></label></th>
352
- <td>
353
- <input type="textbox" name="title" id="title" value="<?php echo esc_attr( stripslashes( $tptn_settings['title'] ) ); ?>" style="width:250px" />
354
- </td>
355
- </tr>
356
- <tr>
357
- <th scope="row"><label for="title_daily"><?php _e( 'Title of daily popular posts:', 'tptn' ); ?></label></th>
358
- <td>
359
- <input type="textbox" name="title_daily" id="title_daily" value="<?php echo esc_attr( stripslashes( $tptn_settings['title_daily'] ) ); ?>" style="width:250px" />
360
- </td>
361
- </tr>
362
- <tr>
363
- <th scope="row"><label for="blank_output"><?php _e( 'When there are no posts, what should be shown?', 'tptn' ); ?></label></th>
364
- <td>
365
- <label>
366
- <input type="radio" name="blank_output" value="blank" id="blank_output_0" <?php if ( $tptn_settings['blank_output'] ) echo 'checked="checked"' ?> />
367
- <?php _e( 'Blank Output', 'tptn' ); ?></label>
368
- <br />
369
- <label>
370
- <input type="radio" name="blank_output" value="customs" id="blank_output_1" <?php if ( ! $tptn_settings['blank_output'] ) echo 'checked="checked"' ?> />
371
- <?php _e( 'Display:', 'tptn' ); ?></label>
372
- <input type="textbox" name="blank_output_text" id="blank_output_text" value="<?php echo esc_attr( stripslashes( $tptn_settings['blank_output_text'] ) ); ?>" style="width:250px" />
373
- </td>
374
- </tr>
375
- <tr>
376
- <th scope="row"><label for="show_excerpt"><?php _e( 'Show post excerpt in list?', 'tptn' ); ?></label></th>
377
- <td>
378
- <input type="checkbox" name="show_excerpt" id="show_excerpt" <?php if ( $tptn_settings['show_excerpt'] ) echo 'checked="checked"' ?> />
379
- </td>
380
- </tr>
381
- <tr>
382
- <th scope="row"><label for="excerpt_length"><?php _e( 'Length of excerpt (in words):', 'tptn' ); ?></label></th>
383
- <td>
384
- <input type="textbox" name="excerpt_length" id="excerpt_length" value="<?php echo stripslashes( $tptn_settings['excerpt_length'] ); ?>" />
385
- </td>
386
- </tr>
387
- <tr>
388
- <th scope="row"><label for="show_author"><?php _e( 'Show post author in list?', 'tptn' ); ?></label></th>
389
- <td>
390
- <input type="checkbox" name="show_author" id="show_author" <?php if ( $tptn_settings['show_author'] ) echo 'checked="checked"' ?> />
391
- </td>
392
- </tr>
393
- <tr>
394
- <th scope="row"><label for="show_date"><?php _e( 'Show post date in list?', 'tptn' ); ?></label></th>
395
- <td>
396
- <input type="checkbox" name="show_date" id="show_date" <?php if ( $tptn_settings['show_date'] ) echo 'checked="checked"' ?> />
397
- </td>
398
- </tr>
399
- <tr>
400
- <th scope="row"><label for="title_length"><?php _e( 'Limit post title length (in characters)', 'tptn' ); ?></label></th>
401
- <td>
402
- <input type="textbox" name="title_length" id="title_length" value="<?php echo stripslashes( $tptn_settings['title_length'] ); ?>" />
403
- </td>
404
- </tr>
405
- <tr>
406
- <th scope="row"><label for="disp_list_count"><?php _e( 'Show view count in list?', 'tptn' ); ?></label></th>
407
- <td>
408
- <input type="checkbox" name="disp_list_count" id="disp_list_count" <?php if ( $tptn_settings['disp_list_count'] ) echo 'checked="checked"' ?> />
409
- </td>
410
- </tr>
411
- <tr>
412
- <th scope="row"><label for="link_new_window "><?php _e( 'Open links in new window', 'tptn' ); ?></label></th>
413
- <td>
414
- <input type="checkbox" name="link_new_window" id="link_new_window" <?php if ( $tptn_settings['link_new_window'] ) echo 'checked="checked"' ?> />
415
- </td>
416
- </tr>
417
- <tr>
418
- <th scope="row"><label for="link_nofollow"><?php _e( 'Add nofollow attribute to links in the list', 'tptn' ); ?></label></th>
419
- <td>
420
- <input type="checkbox" name="link_nofollow" id="link_nofollow" <?php if ( $tptn_settings['link_nofollow'] ) echo 'checked="checked"' ?> />
421
- </td>
422
- </tr>
423
- <tr>
424
- <th scope="row"><label for="exclude_on_post_ids"><?php _e( 'Exclude display of related posts on these posts / pages', 'tptn' ); ?></label></th>
425
- <td>
426
- <input type="textbox" name="exclude_on_post_ids" id="exclude_on_post_ids" value="<?php echo esc_attr( stripslashes( $tptn_settings['exclude_on_post_ids'] ) ); ?>" style="width:250px">
427
- <p class="description"><?php _e( 'Enter comma separated list of IDs. e.g. 188,320,500', 'tptn' ); ?></p>
428
- </td>
429
- </tr>
430
-
431
- <tr style="background: #eee"><th scope="row" colspan="2"><?php _e( 'Customise the list HTML', 'tptn' ); ?></th>
432
- </tr>
433
- <tr>
434
- <th scope="row"><label for="before_list"><?php _e( 'HTML to display before the list of posts:', 'tptn' ); ?></label></th>
435
- <td>
436
- <input type="textbox" name="before_list" id="before_list" value="<?php echo esc_attr( stripslashes( $tptn_settings['before_list'] ) ); ?>" style="width:250px" />
437
- </td>
438
- </tr>
439
- <tr>
440
- <th scope="row"><label for="before_list_item"><?php _e( 'HTML to display before each list item:', 'tptn' ); ?></label></th>
441
- <td>
442
- <input type="textbox" name="before_list_item" id="before_list_item" value="<?php echo esc_attr( stripslashes( $tptn_settings['before_list_item'] ) ); ?>" style="width:250px" />
443
- </td>
444
- </tr>
445
- <tr>
446
- <th scope="row"><label for="after_list_item"><?php _e( 'HTML to display after each list item:', 'tptn' ); ?></label></th>
447
- <td>
448
- <input type="textbox" name="after_list_item" id="after_list_item" value="<?php echo esc_attr( stripslashes( $tptn_settings['after_list_item'] ) ); ?>" style="width:250px" />
449
- </td>
450
- </tr>
451
- <tr>
452
- <th scope="row"><label for="after_list"><?php _e( 'HTML to display after the list of posts:', 'tptn' ); ?></label></th>
453
- <td>
454
- <input type="textbox" name="after_list" id="after_list" value="<?php echo esc_attr( stripslashes( $tptn_settings['after_list'] ) ); ?>" style="width:250px" />
455
- </td>
456
- </tr>
457
- <tr>
458
- <td scope="row" colspan="2">
459
- <input type="submit" name="tptn_save" id="tptn_pplop_save" value="<?php _e( 'Save Options', 'tptn' ); ?>" class="button button-primary" />
460
- </td>
461
- </tr>
462
-
463
- <?php
464
- /**
465
- * Fires after Popular post list options block.
466
- *
467
- * @since 2.0.0
468
- *
469
- * @param array $tptn_settings Top 10 settings array
470
- */
471
- do_action( 'tptn_admin_list_options_after', $tptn_settings );
472
- ?>
473
-
474
- </table>
475
- </div>
476
- </div>
477
- <div id="thumbopdiv" class="postbox"><div class="handlediv" title="<?php _e( 'Click to toggle', 'tptn' ); ?>"><br /></div>
478
- <h3 class='hndle'><span><?php _e( 'Thumbnail options', 'tptn' ); ?></span></h3>
479
- <div class="inside">
480
- <table class="form-table">
481
-
482
- <?php
483
- /**
484
- * Fires before thumbnail options block.
485
- *
486
- * @since 2.0.0
487
- *
488
- * @param array $tptn_settings Top 10 settings array
489
- */
490
- do_action( 'tptn_admin_thumbnail_options_before', $tptn_settings );
491
- ?>
492
-
493
- <tr><th scope="row"><label for="post_thumb_op"><?php _e( 'Location of post thumbnail:', 'tptn' ); ?></label></th>
494
- <td>
495
- <label>
496
- <input type="radio" name="post_thumb_op" value="inline" id="post_thumb_op_0" <?php if ( 'inline' == $tptn_settings['post_thumb_op'] ) echo 'checked="checked"' ?> />
497
- <?php _e( 'Display thumbnails inline with posts, before title', 'tptn' ); ?>
498
- </label>
499
- <br />
500
- <label>
501
- <input type="radio" name="post_thumb_op" value="after" id="post_thumb_op_1" <?php if ( 'after' == $tptn_settings['post_thumb_op'] ) echo 'checked="checked"' ?> />
502
- <?php _e( 'Display thumbnails inline with posts, after title', 'tptn' ); ?>
503
- </label>
504
- <br />
505
- <label>
506
- <input type="radio" name="post_thumb_op" value="thumbs_only" id="post_thumb_op_2" <?php if ( 'thumbs_only' == $tptn_settings['post_thumb_op'] ) echo 'checked="checked"' ?> />
507
- <?php _e( 'Display only thumbnails, no text', 'tptn' ); ?>
508
- </label>
509
- <br />
510
- <label>
511
- <input type="radio" name="post_thumb_op" value="text_only" id="post_thumb_op_3" <?php if ( 'text_only' == $tptn_settings['post_thumb_op'] ) echo 'checked="checked"' ?> />
512
- <?php _e( 'Do not display thumbnails, only text.', 'tptn' ); ?>
513
- </label>
514
-
515
- <?php if ( 'left_thumbs' == $tptn_settings['tptn_styles'] ) { ?>
516
- <p style="color: #F00"><?php _e( "This setting cannot be changed because an inbuilt style has been selected under the Styles section. If you would like to change this option, please select No styles under the Styles section.", 'tptn' ); ?></p>
517
- <?php } ?>
518
- </td>
519
- </tr>
520
- <tr><th scope="row"><?php _e( 'Thumbnail size:', 'tptn' ); ?></th>
521
- <td>
522
- <?php
523
- $tptn_get_all_image_sizes = tptn_get_all_image_sizes();
524
- if ( isset( $tptn_get_all_image_sizes['tptn_thumbnail'] ) ) {
525
- unset( $tptn_get_all_image_sizes['tptn_thumbnail'] );
526
- }
527
-
528
- foreach( $tptn_get_all_image_sizes as $size ) :
529
- ?>
530
- <label>
531
- <input type="radio" name="thumb_size" value="<?php echo $size['name'] ?>" id="<?php echo $size['name'] ?>" <?php if ( $tptn_settings['thumb_size'] == $size['name'] ) echo 'checked="checked"' ?> />
532
- <?php echo $size['name']; ?> ( <?php echo $size['width']; ?>x<?php echo $size['height']; ?>
533
- <?php
534
- if ( $size['crop'] ) {
535
- echo "cropped";
536
- }
537
- ?>
538
- )
539
- </label>
540
- <br />
541
- <?php endforeach; ?>
542
-
543
- <label>
544
- <input type="radio" name="thumb_size" value="tptn_thumbnail" id="tptn_thumbnail" <?php if ( $tptn_settings['thumb_size'] == 'tptn_thumbnail' ) echo 'checked="checked"' ?> /> <?php _e( 'Custom size', 'tptn' ); ?>
545
- </label>
546
- <p class="description">
547
- <?php _e( 'You can choose from existing image sizes above or create a custom size. If you have chosen Custom size above, then enter the width, height and crop settings below. For best results, use a cropped image.', 'tptn' ); ?><br />
548
- <?php _e( "If you change the width and/or height below, existing images will not be automatically resized.", 'tptn' ); ?>
549
- <?php printf( __( "I recommend using <a href='%s' class='thickbox'>OTF Regenerate Thumbnails</a> or <a href='%s' class='thickbox'>Regenerate Thumbnails</a> to regenerate all image sizes.", 'tptn' ), self_admin_url( 'plugin-install.php?tab=plugin-information&amp;plugin=otf-regenerate-thumbnails&amp;TB_iframe=true&amp;width=600&amp;height=550' ), self_admin_url( 'plugin-install.php?tab=plugin-information&amp;plugin=regenerate-thumbnails&amp;TB_iframe=true&amp;width=600&amp;height=550' ) ); ?>
550
- </p>
551
- <p class="description">
552
- <?php _e( "If you're using the Left Thumbs style below then the thumbnail width and height that you set here will supersede the widget. Alternatively, choose <strong>Style attributes</strong> under <strong>Image size attributes</strong> option below", 'tptn' ); ?>
553
- </p>
554
- </td>
555
- <tr><th scope="row"><label for="thumb_width"><?php _e( 'Width of custom thumbnail:', 'tptn' ); ?></label></th>
556
- <td>
557
- <input type="textbox" name="thumb_width" id="thumb_width" value="<?php echo esc_attr( stripslashes( $tptn_settings['thumb_width'] ) ); ?>" style="width:50px" />px
558
- </td>
559
- </tr>
560
- <tr><th scope="row"><label for="thumb_height"><?php _e( 'Height of custom thumbnail', 'tptn' ); ?></label></th>
561
- <td>
562
- <input type="textbox" name="thumb_height" id="thumb_height" value="<?php echo esc_attr( stripslashes( $tptn_settings['thumb_height'] ) ); ?>" style="width:50px" />px
563
- </td>
564
- </tr>
565
- <tr><th scope="row"><label for="thumb_crop"><?php _e( 'Crop mode:', 'tptn' ); ?></label></th>
566
- <td>
567
- <input type="checkbox" name="thumb_crop" id="thumb_crop" <?php if ( $tptn_settings['thumb_crop'] ) echo 'checked="checked"' ?> />
568
- <p class="description">
569
- <?php _e( "By default, thumbnails will be proportionately cropped. Check this box to hard crop the thumbnails.", 'tptn' ); ?>
570
- <?php printf( __( "<a href='%s' target='_blank'>Difference between soft and hard crop</a>", 'tptn' ), esc_url( 'http://www.davidtan.org/wordpress-hard-crop-vs-soft-crop-difference-comparison-example/' ) ); ?>
571
- </p>
572
- </td>
573
- </tr>
574
- <tr><th scope="row"><label for="thumb_html"><?php _e( 'Image size attributes:', 'tptn' ); ?></label></th>
575
- <td>
576
- <label>
577
- <input type="radio" name="thumb_html" value="css" id="thumb_html_0" <?php if ( 'css' == $tptn_settings['thumb_html'] ) echo 'checked="checked"' ?> />
578
- <?php _e( 'Style attributes are used for width and height.', 'tptn' ); echo ' <code>style="max-width:' . $tptn_settings['thumb_width'] . 'px;max-height:' . $tptn_settings['thumb_height'] . 'px;"</code>'; ?>
579
- </label>
580
- <br />
581
- <label>
582
- <input type="radio" name="thumb_html" value="html" id="thumb_html_1" <?php if ( 'html' == $tptn_settings['thumb_html'] ) echo 'checked="checked"' ?> />
583
- <?php _e( 'HTML width and height attributes are used for width and height.', 'tptn' ); echo ' <code>width="' . $tptn_settings['thumb_width'] . '" height="' . $tptn_settings['thumb_height'] . '"</code>'; ?>
584
- </label>
585
- <br />
586
- <label>
587
- <input type="radio" name="thumb_html" value="none" id="thumb_html_1" <?php if ( 'none' == $tptn_settings['thumb_html'] ) echo 'checked="checked"' ?> />
588
- <?php _e( 'No HTML or Style attributes set for width and height', 'tptn' ); ?>
589
- </label>
590
- <br />
591
- </td>
592
- </tr>
593
- <tr><th scope="row"><label for="thumb_meta"><?php _e( 'Post thumbnail meta field name:', 'tptn' ); ?></label></th>
594
- <td>
595
- <input type="textbox" name="thumb_meta" id="thumb_meta" value="<?php echo esc_attr( stripslashes( $tptn_settings['thumb_meta'] ) ); ?>">
596
- <p class="description"><?php _e( 'The value of this field should contain the image source and is set in the <em>Add New Post</em> screen', 'tptn' ); ?></p>
597
- </td>
598
- </tr>
599
- <tr><th scope="row"><label for="scan_images"><?php _e( 'If the postmeta is not set, then should the plugin extract the first image from the post?', 'tptn' ); ?></label></th>
600
- <td>
601
- <input type="checkbox" name="scan_images" id="scan_images" <?php if ( $tptn_settings['scan_images'] ) echo 'checked="checked"' ?> />
602
- <p class="description"><?php _e( 'This could slow down the loading of your page if the first image in the related posts is large in file-size', 'tptn' ); ?></p>
603
- </td>
604
- </tr>
605
- <tr><th scope="row"><label for="thumb_default_show"><?php _e( 'Use default thumbnail?', 'tptn' ); ?></label></th>
606
- <td>
607
- <input type="checkbox" name="thumb_default_show" id="thumb_default_show" <?php if ( $tptn_settings['thumb_default_show'] ) echo 'checked="checked"' ?> />
608
- <p class="description"><?php _e( 'If checked, when no thumbnail is found, show a default one from the URL below. If not checked and no thumbnail is found, no image will be shown.', 'tptn' ); ?></p>
609
- </td>
610
- </tr>
611
- <tr><th scope="row"><label for="thumb_default"><?php _e( 'Default thumbnail:', 'tptn' ); ?></label></th>
612
- <td>
613
- <input type="textbox" name="thumb_default" id="thumb_default" value="<?php echo esc_attr( stripslashes( $tptn_settings['thumb_default'] ) ); ?>" style="width:100%"> <br />
614
- <?php if ( '' != $tptn_settings['thumb_default'] ) echo "<img src='{$tptn_settings['thumb_default']}' style='max-width:200px' />"; ?>
615
- <p class="description"><?php _e( "The plugin will first check if the post contains a thumbnail. If it doesn't then it will check the meta field. If this is not available, then it will show the default image as specified above", 'tptn' ); ?></p>
616
- </td>
617
- </tr>
618
- <tr>
619
- <td scope="row" colspan="2">
620
- <input type="submit" name="tptn_save" id="tptn_thumbop_save" value="<?php _e( 'Save Options', 'tptn' ); ?>" class="button button-primary" />
621
- </td>
622
- </tr>
623
-
624
- <?php
625
- /**
626
- * Fires after thumbnail options block.
627
- *
628
- * @since 2.0.0
629
- *
630
- * @param array $tptn_settings Top 10 settings array
631
- */
632
- do_action( 'tptn_admin_thumbnail_options_after', $tptn_settings );
633
- ?>
634
-
635
- </table>
636
- </div>
637
- </div>
638
- <div id="customcssdiv" class="postbox"><div class="handlediv" title="<?php _e( 'Click to toggle', 'tptn' ); ?>"><br /></div>
639
- <h3 class='hndle'><span><?php _e( 'Styles', 'tptn' ); ?></span></h3>
640
- <div class="inside">
641
- <table class="form-table">
642
-
643
- <?php
644
- /**
645
- * Fires before custom styles options block.
646
- *
647
- * @since 2.0.0
648
- *
649
- * @param array $tptn_settings Top 10 settings array
650
- */
651
- do_action( 'tptn_admin_custom_styles_before', $tptn_settings );
652
- ?>
653
-
654
- <tr><th scope="row"><?php _e( 'Style of the related posts:', 'tptn' ); ?></th>
655
- <td>
656
- <label>
657
- <input type="radio" name="tptn_styles" value="no_style" id="tptn_styles_1" <?php if ( 'no_style' == $tptn_settings['tptn_styles'] ) echo 'checked="checked"' ?> /> <?php _e( 'No styles', 'tptn' ); ?>
658
- </label>
659
- <p class="description"><?php _e( 'Select this option if you plan to add your own styles', 'tptn' ); ?></p>
660
- <br />
661
-
662
- <label>
663
- <input type="radio" name="tptn_styles" value="left_thumbs" id="tptn_styles_0" <?php if ( $tptn_settings['include_default_style'] && ( 'left_thumbs' == $tptn_settings['tptn_styles'] ) ) echo 'checked="checked"' ?> />
664
- <?php _e( 'Left Thumbnails', 'tptn' ); ?>
665
- </label>
666
- <p class="description"><img src="<?php echo plugins_url( 'admin/images/tptn-left-thumbs.png', dirname( __FILE__ ) ); ?>" /></p>
667
- <p class="description"><?php _e( 'Enabling this option will set the post thumbnail to be before text. Disabling this option will not revert any settings.', 'tptn' ); ?></p>
668
- <p class="description"><?php printf( __( 'You can view the default style at <a href="%1$s" target="_blank">%1$s</a>', 'tptn' ), esc_url( 'https://github.com/WebberZone/top-10/blob/master/css/default-style.css' ) ); ?></p>
669
- <br />
670
-
671
- <label>
672
- <input type="radio" name="tptn_styles" value="text_only" id="tptn_styles_1" <?php if ( 'text_only' == $tptn_settings['tptn_styles'] ) echo 'checked="checked"' ?> /> <?php _e( 'Text only', 'tptn' ); ?>
673
- </label>
674
- <p class="description"><?php _e( 'Enabling this option will disable thumbnails and no longer include the default style sheet included in the plugin.', 'tptn' ); ?></p>
675
-
676
- <?php
677
- /**
678
- * Fires after style checkboxes which allows an addon to add more styles.
679
- *
680
- * @since 2.2.0
681
- *
682
- * @param array $tptn_settings Top 10 settings array
683
- */
684
- do_action( 'tptn_admin_tptn_styles', $tptn_settings );
685
- ?>
686
-
687
- </td>
688
- </tr>
689
-
690
- <tr><th scope="row" colspan="2"><?php _e( 'Custom CSS to add to header:', 'tptn' ); ?></th>
691
- </tr>
692
- <tr>
693
- <td scope="row" colspan="2">
694
- <textarea name="custom_CSS" id="custom_CSS" rows="15" cols="80" style="width:100%"><?php echo stripslashes( $tptn_settings['custom_CSS'] ); ?></textarea>
695
- <p class="description"><?php _e( 'Do not include <code>style</code> tags. Check out the <a href="http://wordpress.org/extend/plugins/top-10/faq/" target="_blank">FAQ</a> for available CSS classes to style.', 'tptn' ); ?></p>
696
- </td>
697
- </tr>
698
-
699
- <?php
700
- /**
701
- * Fires after custom styles options block.
702
- *
703
- * @since 2.0.0
704
- *
705
- * @param array $tptn_settings Top 10 settings array
706
- */
707
- do_action( 'tptn_admin_custom_styles_after', $tptn_settings );
708
- ?>
709
-
710
- </table>
711
- </div>
712
- </div>
713
- <p>
714
- <input type="submit" name="tptn_save" id="tptn_save" value="<?php _e( 'Save Options', 'tptn' ); ?>" class="button button-primary" />
715
- <input type="submit" name="tptn_default" id="tptn_default" value="<?php _e( 'Default Options', 'tptn' ); ?>" class="button button-secondary" onclick="if (!confirm('<?php _e( "Do you want to set options to Default?", 'tptn' ); ?>')) return false;" />
716
- </p>
717
- <?php wp_nonce_field( 'tptn-plugin-settings' ); ?>
718
- </form>
719
-
720
- <?php
721
- /**
722
- * Fires after all option blocks.
723
- *
724
- * @since 2.0.0
725
- *
726
- * @param array $tptn_settings Top 10 settings array
727
- */
728
- do_action( 'tptn_admin_options_after', $tptn_settings );
729
- ?>
730
-
731
- <hr class="clear" />
732
-
733
- <form method="post" id="tptn_maintenance_op" name="tptn_reset_options" onsubmit="return checkForm()">
734
- <div id="resetopdiv" class="postbox"><div class="handlediv" title="<?php _e( 'Click to toggle', 'tptn' ); ?>"><br /></div>
735
- <h3 class='hndle'><span><?php _e( 'Maintenance', 'tptn' ); ?></span></h3>
736
- <div class="inside">
737
- <table class="form-table">
738
- <tr><td scope="row" colspan="2">
739
- <p class="description"><?php _e( 'Over time the Daily Top 10 database grows in size, which reduces the performance of the plugin. Cleaning the database at regular intervals could improve performance, especially on high traffic blogs. Enabling maintenance will automatically delete entries older than 90 days.', 'tptn' ); ?><br />
740
- <strong><?php _e( 'Note: When scheduled maintenance is enabled, WordPress will run the cron job everytime the job is rescheduled (i.e. you change the settings below).', 'tptn' ); ?></strong>
741
- </td>
742
- </tr>
743
- <tr><th scope="row"><label for="cron_on"><?php _e( 'Enable scheduled maintenance of daily tables:', 'tptn' ); ?></label></th>
744
- <td><input type="checkbox" name="cron_on" id="cron_on" <?php if ( $tptn_settings['cron_on'] ) echo 'checked="checked"' ?> />
745
- </td>
746
- </tr>
747
- <tr><th scope="row"><label for="cron_hour"><?php _e( 'Time to run maintenance', 'tptn' ); ?></label></th>
748
- <td><input type="textbox" name="cron_hour" id="cron_hour" value="<?php echo esc_attr(stripslashes($tptn_settings['cron_hour'])); ?>" style="width:50px" /> <?php _e( 'hrs', 'tptn' ); ?> : <input type="textbox" name="cron_min" id="cron_min" value="<?php echo esc_attr(stripslashes($tptn_settings['cron_min'])); ?>" style="width:50px" /> <?php _e( 'min', 'tptn' ); ?></td>
749
- </tr>
750
- <tr><th scope="row"><label for="cron_recurrence"><?php _e( 'How often should the maintenance be run:', 'tptn' ); ?></label></th>
751
- <td>
752
- <label>
753
- <input type="radio" name="cron_recurrence" value="daily" id="cron_recurrence0" <?php if ( 'daily' == $tptn_settings['cron_recurrence'] ) echo 'checked="checked"' ?> />
754
- <?php _e( 'Daily', 'tptn' ); ?></label>
755
- <br />
756
- <label>
757
- <input type="radio" name="cron_recurrence" value="weekly" id="cron_recurrence1" <?php if ( 'weekly' == $tptn_settings['cron_recurrence'] ) echo 'checked="checked"' ?> />
758
- <?php _e( 'Weekly', 'tptn' ); ?></label>
759
- <br />
760
- <label>
761
- <input type="radio" name="cron_recurrence" value="fortnightly" id="cron_recurrence2" <?php if ( 'fortnightly' == $tptn_settings['cron_recurrence'] ) echo 'checked="checked"' ?> />
762
- <?php _e( 'Fortnightly', 'tptn' ); ?></label>
763
- <br />
764
- <label>
765
- <input type="radio" name="cron_recurrence" value="monthly" id="cron_recurrence3" <?php if ( 'monthly' == $tptn_settings['cron_recurrence'] ) echo 'checked="checked"' ?> />
766
- <?php _e( 'Monthly', 'tptn' ); ?></label>
767
- <br />
768
- </td>
769
- </tr>
770
- <tr><td scope="row" colspan="2">
771
- <?php
772
- if ( ( $tptn_settings['cron_on'] ) || wp_next_scheduled( 'tptn_cron_hook' ) ) {
773
- if ( wp_next_scheduled( 'tptn_cron_hook' ) ) {
774
- echo '<span style="color:#0c0">';
775
- _e( 'The cron job has been scheduled. Maintenance will run', 'tptn' );
776
- echo ' ' . wp_get_schedule( 'tptn_cron_hook' );
777
- echo '.</span>';
778
- } else {
779
- echo '<span style="color:#e00">';
780
- _e( 'The cron job is missing. Please resave this page to add the job', 'tptn' );
781
- echo '</span>';
782
- }
783
- } else {
784
- echo '<span style="color:#FFA500">';
785
- _e( 'Maintenance is turned off', 'tptn' );
786
- echo '</span>';
787
- }
788
- ?>
789
- </td></tr>
790
- </table>
791
- <input type="submit" name="tptn_mnts_save" id="tptn_mnts_save" value="<?php _e( 'Save Maintenance Options', 'tptn' ); ?>" class="button button-primary" />
792
- </div>
793
- </div>
794
- <?php wp_nonce_field( 'tptn-plugin-settings' ); ?>
795
- </form>
796
-
797
- <form method="post" id="tptn_reset_options" name="tptn_reset_options" onsubmit="return checkForm()">
798
- <div id="resetopdiv" class="postbox"><div class="handlediv" title="<?php _e( 'Click to toggle', 'tptn' ); ?>"><br /></div>
799
- <h3 class='hndle'><span><?php _e( 'Reset count and other tools', 'tptn' ); ?></span></h3>
800
- <div class="inside">
801
- <p class="description">
802
- <?php _e( 'This cannot be reversed. Make sure that your database has been backed up before proceeding', 'tptn' ); ?>
803
- </p>
804
- <p>
805
- <input name="tptn_trunc_all" type="submit" id="tptn_trunc_all" value="<?php _e( 'Reset Popular Posts', 'tptn' ); ?>" class="button button-secondary" style="color:#f00" onclick="if (!confirm('<?php _e( "Are you sure you want to reset the popular posts?", 'tptn' ); ?>')) return false;" />
806
- <input name="tptn_trunc_daily" type="submit" id="tptn_trunc_daily" value="<?php _e( 'Reset Daily Popular Posts', 'tptn' ); ?>" class="button button-secondary" style="color:#f00" onclick="if (!confirm('<?php _e( "Are you sure you want to reset the daily popular posts?", 'tptn' ); ?>')) return false;" />
807
- </p>
808
- <p class="description">
809
- <?php _e( 'This will merge post counts for posts with table entries of 0 and 1', 'tptn' ); ?>
810
- </p>
811
- <p>
812
- <input name="tptn_merge_blogids" type="submit" id="tptn_merge_blogids" value="<?php _e( 'Merge blog ID 0 and 1 post counts', 'tptn' ); ?>" class="button button-secondary" onclick="if (!confirm('<?php _e( "This will merge post counts for blog IDs 0 and 1. Proceed?", 'tptn' ); ?>')) return false;" />
813
- </p>
814
- <p class="description">
815
- <?php _e( 'In older versions, the plugin created entries with duplicate post IDs. Clicking the button below will merge these duplicate IDs', 'tptn' ); ?>
816
- </p>
817
- <p>
818
- <input name="tptn_clean_duplicates" type="submit" id="tptn_clean_duplicates" value="<?php _e( 'Merge duplicates across blog IDs', 'tptn' ); ?>" class="button button-secondary" onclick="if (!confirm('<?php _e( "This will delete the duplicate entries in the tables. Proceed?", 'tptn' ); ?>')) return false;" />
819
- </p>
820
- </div>
821
- </div>
822
- <?php wp_nonce_field( 'tptn-plugin-settings' ); ?>
823
- </form>
824
-
825
- <?php
826
- /**
827
- * Only show the below options if it is multisite
828
- *
829
- */
830
- if ( is_multisite() ) {
831
- ?>
832
-
833
- <form method="post" id="tptn_import_mu" name="tptn_import_mu" onsubmit="return checkForm()">
834
- <div id="resetopdiv" class="postbox"><div class="handlediv" title="<?php _e( 'Click to toggle', 'tptn' ); ?>"><br /></div>
835
- <h3 class='hndle'><span><?php _e( 'WordPress Multisite: Migrate Top 10 v1.x counts to 2.x', 'tptn' ); ?></span></h3>
836
- <div class="inside">
837
- <p class="description">
838
- <?php _e( "If you've been using Top 10 v1.x on multisite, you would have needed to activate the plugin independently for each site. This would have resulted in two tables being created for each site in the network.", 'tptn' ); ?>
839
- <?php _e( "Top 10 v2.x onwards uses only a single table to record the count, keeping your database clean. You can use this tool to import the recorded counts from v1.x tables to the new v2.x table format.", 'tptn' ); ?>
840
- </p>
841
- <p class="description">
842
- <?php _e( "If you do not see any tables below, then it means that either all data has already been imported or no relevant information has been found.", 'tptn' ); ?>
843
- </p>
844
- <p class="description">
845
- <strong style="color:#C00"><?php _e( "After running the importer, please verify that all the counts have been successfully imported. Only then should you delete any old tables!", 'tptn' ); ?></strong>
846
- </p>
847
-
848
- <?php
849
- $top_ten_mu_tables_sel_blog_ids = get_site_option( 'top_ten_mu_tables_sel_blog_ids', array() );
850
- $top_ten_mu_tables_blog_ids = array();
851
- $top_ten_all_mu_tables = array();
852
-
853
- // Get all blogs in the network and activate plugin on each one
854
- $blog_ids = $wpdb->get_col( "
855
- SELECT blog_id FROM $wpdb->blogs
856
- WHERE archived = '0' AND spam = '0' AND deleted = '0'
857
- " );
858
- foreach ( $blog_ids as $blog_id ) {
859
- switch_to_blog( $blog_id );
860
- $top_ten_mu_table = $wpdb->get_var( "SHOW TABLES LIKE '" . $wpdb->prefix . "top_ten' " );
861
-
862
- if ( ! empty( $top_ten_mu_table ) && ! is_main_site( $blog_id ) ) {
863
- $top_ten_mu_tables_blog_ids[] = $blog_id;
864
- $top_ten_all_mu_tables[ $top_ten_mu_table ][0] = $top_ten_mu_table;
865
- $top_ten_all_mu_tables[ $top_ten_mu_table ][1] = in_array( $blog_id, $top_ten_mu_tables_sel_blog_ids ) ? 1 : 0;
866
- $top_ten_all_mu_tables[ $top_ten_mu_table ][2] = $blog_id;
867
- }
868
- }
869
-
870
- // Switch back to the current blog
871
- restore_current_blog();
872
-
873
- if ( ! empty( $top_ten_all_mu_tables ) ) {
874
- ?>
875
-
876
- <table class="form-table">
877
- <tr>
878
- <th>
879
- <?php _e( "Blog ID", 'tptn' ); ?>
880
- </th>
881
- <th>
882
- <?php _e( "Status", 'tptn' ); ?>
883
- </th>
884
- <th>
885
- <?php _e( "Select to import", 'tptn' ); ?>
886
- </th>
887
- </tr>
888
-
889
- <?php
890
- foreach ( $top_ten_all_mu_tables as $top_ten_all_mu_table ) {
891
- ?>
892
- <tr>
893
- <td>
894
- <?php
895
- _e( "Blog #", 'tptn' );
896
- echo $top_ten_all_mu_table[2];
897
- echo ": ";
898
- echo get_blog_details( $top_ten_all_mu_table[2] )->blogname;
899
- ?>
900
- </td>
901
- <td>
902
- <?php
903
- if ( 0 == $top_ten_all_mu_table[1] ) {
904
- echo '<span style="color:#F00">';
905
- _e( "Not imported", 'tptn' );
906
- echo '</span>';
907
- } else {
908
- echo '<span style="color:#0F0">';
909
- _e( "Imported", 'tptn' );
910
- echo '</span>';
911
- }
912
- ?>
913
- </td>
914
- <td>
915
- <?php
916
- if ( 0 == $top_ten_all_mu_table[1] ) {
917
- echo '<input type="checkbox" name="top_ten_all_mu_tables[' . $top_ten_all_mu_table[0] . ']" value="' . $top_ten_all_mu_table[2] . '" checked="checked" />';
918
- } else {
919
- echo '<input type="checkbox" name="top_ten_all_mu_tables[' . $top_ten_all_mu_table[0] . ']" value="' . $top_ten_all_mu_table[2] . '" />';
920
- }
921
- ?>
922
- </td>
923
- </tr>
924
- <?php
925
- }
926
- ?>
927
- </table>
928
- <p>
929
- <input type="hidden" name="top_ten_mu_tables_blog_ids" value="<?php echo implode( ',', $top_ten_mu_tables_blog_ids ); ?>" />
930
- <input name="tptn_import" type="submit" id="tptn_import" value="<?php _e( 'Begin import', 'tptn' ); ?>" class="button button-primary" />
931
- <input name="tptn_delete_selected_tables" type="submit" id="tptn_delete_selected_tables" value="<?php _e( 'Delete selected tables', 'tptn' ); ?>" class="button button-secondary" style="color:#f00" />
932
- <input name="tptn_delete_imported_tables" type="submit" id="tptn_delete_imported_tables" value="<?php _e( 'Delete all imported tables', 'tptn' ); ?>" class="button button-secondary" style="color:#f00" />
933
- </p>
934
- <?php
935
- } // End if ( ! empty( $top_ten_all_mu_tables ) )
936
- ?>
937
- </div>
938
- </div>
939
- <?php wp_nonce_field( 'tptn-plugin-settings' ); ?>
940
- </form>
941
- <?php
942
- }
943
- ?>
944
- </div><!-- /post-body-content -->
945
- <div id="postbox-container-1" class="postbox-container">
946
- <div id="side-sortables" class="meta-box-sortables ui-sortable">
947
- <?php tptn_admin_side(); ?>
948
- </div><!-- /side-sortables -->
949
- </div><!-- /postbox-container-1 -->
950
- </div><!-- /post-body -->
951
- <br class="clear" />
952
- </div><!-- /poststuff -->
953
- </div><!-- /wrap -->
954
-
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Top 10 Admin interface - Main screen.
4
+ *
5
+ * This page is accessible via Top 10 Settings menu item
6
+ *
7
+ * @package Top_Ten
8
+ * @author Ajay D'Souza <me@ajaydsouza.com>
9
+ * @license GPL-2.0+
10
+ * @link https://webberzone.com
11
+ * @copyright 2008-2015 Ajay D'Souza
12
+ */
13
+
14
+ // If this file is called directly, abort.
15
+ if ( ! defined( 'WPINC' ) ) {
16
+ die;
17
+ }
18
+
19
+ ?>
20
+
21
+ <div class="wrap">
22
+ <h2><?php _e( 'Top 10 Settings', 'top-10' ); ?></h2>
23
+
24
+ <ul class="subsubsub">
25
+ <?php
26
+ /**
27
+ * Fires before the navigation bar in the Settings page
28
+ *
29
+ * @since 2.0.0
30
+ */
31
+ do_action( 'tptn_admin_nav_bar_before' )
32
+ ?>
33
+
34
+ <li><a href="#genopdiv"><?php _e( 'General options', 'top-10' ); ?></a> | </li>
35
+ <li><a href="#counteropdiv"><?php _e( 'Counter and tracker options', 'top-10' ); ?></a> | </li>
36
+ <li><a href="#pplopdiv"><?php _e( 'Popular post list options', 'top-10' ); ?></a> | </li>
37
+ <li><a href="#thumbopdiv"><?php _e( 'Thumbnail options', 'top-10' ); ?></a> | </li>
38
+ <li><a href="#customcssdiv"><?php _e( 'Styles', 'top-10' ); ?></a> | </li>
39
+ <li><a href="#tptn_maintenance_op"><?php _e( 'Maintenance', 'top-10' ); ?></a></li>
40
+
41
+ <?php
42
+ /**
43
+ * Fires after the navigation bar in the Settings page
44
+ *
45
+ * @since 2.0.0
46
+ */
47
+ do_action( 'tptn_admin_nav_bar_after' )
48
+ ?>
49
+ </ul>
50
+
51
+ <div id="poststuff">
52
+ <div id="post-body" class="metabox-holder columns-2">
53
+ <div id="post-body-content">
54
+ <form method="post" id="tptn_options" name="tptn_options" onsubmit="return checkForm()">
55
+ <div id="genopdiv" class="postbox"><div class="handlediv" title="<?php _e( 'Click to toggle', 'top-10' ); ?>"><br /></div>
56
+ <h3 class='hndle'><span><?php _e( 'General options', 'top-10' ); ?></span></h3>
57
+ <div class="inside">
58
+ <table class="form-table">
59
+
60
+ <?php
61
+ /**
62
+ * Fires before General options block.
63
+ *
64
+ * @since 2.0.0
65
+ *
66
+ * @param array $tptn_settings Top 10 settings array
67
+ */
68
+ do_action( 'tptn_admin_general_options_before', $tptn_settings );
69
+ ?>
70
+
71
+ <tr>
72
+ <th scope="row"><?php _e( 'Enable trackers:', 'top-10' ); ?></th>
73
+ <td>
74
+ <p>
75
+ <label>
76
+ <input type="checkbox" name="activate_overall" id="activate_overall" <?php if ( $tptn_settings['activate_overall'] ) { echo 'checked="checked"'; } ?> />
77
+ <?php _e( 'Overall', 'top-10' ); ?>
78
+ </label>
79
+ </p>
80
+ <p>
81
+ <label>
82
+ <input type="checkbox" name="activate_daily" id="activate_daily" <?php if ( $tptn_settings['activate_daily'] ) { echo 'checked="checked"'; } ?> />
83
+ <?php _e( 'Daily', 'top-10' ); ?>
84
+ </label>
85
+ </p>
86
+ </td>
87
+ </tr>
88
+ <tr>
89
+ <th scope="row"><label for="cache"><?php _e( 'Enable cache:', 'top-10' ); ?></label></th>
90
+ <td>
91
+ <p><input type="checkbox" name="cache" id="cache" <?php if ( $tptn_settings['cache'] ) { echo 'checked="checked"'; } ?> /></p>
92
+ <p class="description"><?php _e( 'If activated, Top 10 will use the Transients API to cache the popular posts output for 1 hour.', 'top-10' ); ?></p>
93
+ <p><input type="button" name="cache_clear" id="cache_clear" value="<?php _e( 'Clear cache', 'top-10' ); ?>" class="button-secondary" onclick="return clearCache();" /></p>
94
+ </td>
95
+ </tr>
96
+ <tr>
97
+ <th scope="row"><label for="cache_fix"><?php _e( 'Use Ajax for tracking:', 'top-10' ); ?></label></th>
98
+ <td>
99
+ <input type="checkbox" name="cache_fix" id="cache_fix" <?php if ( $tptn_settings['cache_fix'] ) { echo 'checked="checked"'; } ?> />
100
+ <p class="description"><?php _e( 'This will try to prevent W3 Total Cache and other caching plugins from caching the tracker script of the plugin. Try toggling this option in case you find that your posts are not tracked.', 'top-10' ); ?></p>
101
+ </td>
102
+ </tr>
103
+ <tr>
104
+ <th scope="row"><label for="daily_midnight"><?php _e( 'Start daily counts from midnight:', 'top-10' ); ?></label></th>
105
+ <td>
106
+ <input type="checkbox" name="daily_midnight" id="daily_midnight" <?php if ( $tptn_settings['daily_midnight'] ) { echo 'checked="checked"'; } ?> />
107
+ <p class="description"><?php _e( 'Daily counter will display number of visits from midnight. This option is checked by default and mimics the way most normal counters work. Turning this off will allow you to use the hourly setting in the next option.', 'top-10' ); ?></p>
108
+ </td>
109
+ </tr>
110
+ <tr>
111
+ <th scope="row"><label for="daily_range"><?php _e( 'Daily popular contains top posts over:', 'top-10' ); ?></label></th>
112
+ <td>
113
+ <input type="textbox" name="daily_range" id="daily_range" size="3" value="<?php echo stripslashes( $tptn_settings['daily_range'] ); ?>"> <?php _e( 'day(s)', 'top-10' ); ?>
114
+ <input type="textbox" name="hour_range" id="hour_range" size="3" value="<?php echo stripslashes( $tptn_settings['hour_range'] ); ?>"> <?php _e( 'hour(s)', 'top-10' ); ?>
115
+ <p class="description"><?php _e( 'Think of Daily Popular has a custom date range applied as a global setting. Instead of displaying popular posts from the past day, this setting lets you display posts for as many days or as few hours as you want. This can be overridden in the widget.', 'top-10' ); ?></p>
116
+ </td>
117
+ </tr>
118
+ <tr>
119
+ <th scope="row"><label for="uninstall_clean_options"><?php _e( 'Delete options on uninstall', 'top-10' ); ?></label></th>
120
+ <td>
121
+ <input type="checkbox" name="uninstall_clean_options" id="uninstall_clean_options" <?php if ( $tptn_settings['uninstall_clean_options'] ) { echo 'checked="checked"'; } ?> />
122
+ <p class="description"><?php _e( 'If this is checked, all settings related to Top 10 are removed from the database if you choose to uninstall/delete the plugin.', 'top-10' ); ?></p>
123
+ </td>
124
+ </tr>
125
+ <tr>
126
+ <th scope="row"><label for="uninstall_clean_tables"><?php _e( 'Delete counter data on uninstall', 'top-10' ); ?></label></th>
127
+ <td>
128
+ <input type="checkbox" name="uninstall_clean_tables" id="uninstall_clean_tables" <?php if ( $tptn_settings['uninstall_clean_tables'] ) { echo 'checked="checked"'; } ?> />
129
+ <p class="description"><?php _e( 'If this is checked, the tables containing the counter statistics are removed from the database if you choose to uninstall/delete the plugin.', 'top-10' ); ?></p>
130
+ <p class="description"><?php _e( "Keep this unchecked if you choose to reinstall the plugin and don't want to lose your counter data.", 'top-10' ); ?></p>
131
+ </td>
132
+ </tr>
133
+ <tr><th scope="row"><label for="show_metabox"><?php _e( 'Show metabox:', 'top-10' ); ?></label></th>
134
+ <td>
135
+ <input type="checkbox" name="show_metabox" id="show_metabox" <?php if ( $tptn_settings['show_metabox'] ) { echo 'checked="checked"'; } ?> />
136
+ <p class="description"><?php _e( 'This will add the Top 10 metabox on Edit Posts or Add New Posts screens. Also applies to Pages and Custom Post Types.', 'top-10' ); ?></p>
137
+ </td>
138
+ </tr>
139
+
140
+ <tr><th scope="row"><label for="show_metabox_admins"><?php _e( 'Limit metabox to Admins only:', 'top-10' ); ?></label></th>
141
+ <td>
142
+ <input type="checkbox" name="show_metabox_admins" id="show_metabox_admins" <?php if ( $tptn_settings['show_metabox_admins'] ) { echo 'checked="checked"'; } ?> />
143
+ <p class="description"><?php _e( 'If this is selected, the metabox will be hidden from anyone who is not an Admin. Otherwise, by default, Contributors and above will be able to see the metabox. This applies only if the above option is selected.', 'top-10' ); ?></p>
144
+ </td>
145
+ </tr>
146
+
147
+ <tr>
148
+ <th scope="row"><label for="show_credit"><?php _e( 'Link to Top 10 plugin page', 'top-10' ); ?></label></th>
149
+ <td>
150
+ <input type="checkbox" name="show_credit" id="show_credit" <?php if ( $tptn_settings['show_credit'] ) { echo 'checked="checked"'; } ?> />
151
+ <p class="description"><?php _e( 'A link to the plugin is added as an extra list item to the list of popular posts', 'top-10' ); ?></p>
152
+ </td>
153
+ </tr>
154
+ <tr>
155
+ <td scope="row" colspan="2">
156
+ <input type="submit" name="tptn_save" id="tptn_genop_save" value="<?php _e( 'Save Options', 'top-10' ); ?>" class="button button-primary" />
157
+ </td>
158
+ </tr>
159
+
160
+ <?php
161
+ /**
162
+ * Fires after General options block.
163
+ *
164
+ * @since 2.0.0
165
+ *
166
+ * @param array $tptn_settings Top 10 settings array
167
+ */
168
+ do_action( 'tptn_admin_general_options_after', $tptn_settings );
169
+ ?>
170
+
171
+ </table>
172
+ </div>
173
+ </div>
174
+ <div id="counteropdiv" class="postbox"><div class="handlediv" title="<?php _e( 'Click to toggle', 'top-10' ); ?>"><br /></div>
175
+ <h3 class='hndle'><span><?php _e( 'Counter and tracker options', 'top-10' ); ?></span></h3>
176
+ <div class="inside">
177
+ <table class="form-table">
178
+
179
+ <?php
180
+ /**
181
+ * Fires before Counter options block.
182
+ *
183
+ * @since 2.0.0
184
+ *
185
+ * @param array $tptn_settings Top 10 settings array
186
+ */
187
+ do_action( 'tptn_admin_counter_options_before', $tptn_settings );
188
+ ?>
189
+
190
+ <tr>
191
+ <th scope="row"><?php _e( 'Display number of views on:', 'top-10' ); ?></th>
192
+ <td>
193
+ <label><input type="checkbox" name="add_to_content" id="add_to_content" <?php if ( $tptn_settings['add_to_content'] ) { echo 'checked="checked"'; } ?> /> <?php _e( 'Posts', 'top-10' ); ?></label><br />
194
+ <label><input type="checkbox" name="count_on_pages" id="count_on_pages" <?php if ( $tptn_settings['count_on_pages'] ) { echo 'checked="checked"'; } ?> /> <?php _e( 'Pages', 'top-10' ); ?></label><br />
195
+ <label><input type="checkbox" name="add_to_home" id="add_to_home" <?php if ( $tptn_settings['add_to_home'] ) { echo 'checked="checked"'; } ?> /> <?php _e( 'Home page', 'top-10' ); ?></label></label><br />
196
+ <label><input type="checkbox" name="add_to_feed" id="add_to_feed" <?php if ( $tptn_settings['add_to_feed'] ) { echo 'checked="checked"'; } ?> /> <?php _e( 'Feeds', 'top-10' ); ?></label></label><br />
197
+ <label><input type="checkbox" name="add_to_category_archives" id="add_to_category_archives" <?php if ( $tptn_settings['add_to_category_archives'] ) { echo 'checked="checked"'; } ?> /> <?php _e( 'Category archives', 'top-10' ); ?></label><br />
198
+ <label><input type="checkbox" name="add_to_tag_archives" id="add_to_tag_archives" <?php if ( $tptn_settings['add_to_tag_archives'] ) { echo 'checked="checked"'; } ?> /> <?php _e( 'Tag archives', 'top-10' ); ?></label></label><br />
199
+ <label><input type="checkbox" name="add_to_archives" id="add_to_archives" <?php if ( $tptn_settings['add_to_archives'] ) { echo 'checked="checked"'; } ?> /> <?php _e( 'Other archives', 'top-10' ); ?></label></label>
200
+ <p class="description"><?php _e( "If you choose to disable this, please add <code>&lt;?php if ( function_exists ( 'echo_tptn_post_count' ) ) echo_tptn_post_count(); ?&gt;</code> to your template file where you want it displayed", 'top-10' ); ?></p>
201
+ </td>
202
+ </tr>
203
+ <tr>
204
+ <th scope="row"><label for="title"><?php _e( 'Format to display the post views:', 'top-10' ); ?></label></th>
205
+ <td>
206
+ <textarea name="count_disp_form" id="count_disp_form" cols="50" rows="3" style="width:100%"><?php echo htmlspecialchars( stripslashes( $tptn_settings['count_disp_form'] ) ); ?></textarea>
207
+ <p class="description"><?php _e( 'Use <code>%totalcount%</code> to display the total count, <code>%dailycount%</code> to display the daily count and <code>%overallcount%</code> to display the overall count across all posts on the blog. e.g. the default options displays <code>[Visited 123 times, 23 visits today]</code>', 'top-10' ); ?>
208
+ </td>
209
+ </tr>
210
+ <tr>
211
+ <th scope="row"><label for="title"><?php _e( 'What do display when there are no visits?', 'top-10' ); ?></label></th>
212
+ <td>
213
+ <textarea name="count_disp_form_zero" id="count_disp_form_zero" cols="50" rows="3" style="width:100%"><?php echo htmlspecialchars( stripslashes( $tptn_settings['count_disp_form_zero'] ) ); ?></textarea>
214
+ <p class="description"><?php _e( "This text applies only when there are 0 hits for the post and it isn't a single page. e.g. if you display post views on the homepage or archives then this text will be used. To override this, just enter the same text as above option.", 'top-10' ); ?>
215
+ </td>
216
+ </tr>
217
+ <tr>
218
+ <th scope="row"><label for="dynamic_post_count"><?php _e( 'Always display latest post count', 'top-10' ); ?></label></th>
219
+ <td>
220
+ <input type="checkbox" name="dynamic_post_count" id="dynamic_post_count" <?php if ( $tptn_settings['dynamic_post_count'] ) { echo 'checked="checked"'; } ?> />
221
+ <p class="description"><?php _e( 'This option uses JavaScript and will increase your page load time. Turn this off if you are not using caching plugins or are OK with displaying older cached counts.', 'top-10' ); ?></p>
222
+ </td>
223
+ </tr>
224
+ <tr>
225
+ <th scope="row"><label for="track_authors"><?php _e( 'Track visits of authors on their own posts?', 'top-10' ); ?></label></th>
226
+ <td>
227
+ <input type="checkbox" name="track_authors" id="track_authors" <?php if ( $tptn_settings['track_authors'] ) { echo 'checked="checked"'; } ?> />
228
+ <p class="description"><?php _e( 'Disabling this option will stop authors visits tracked on their own posts', 'top-10' ); ?></p>
229
+ </td>
230
+ </tr>
231
+ <tr>
232
+ <th scope="row"><label for="track_admins"><?php _e( 'Track visits of admins?', 'top-10' ); ?></label></th>
233
+ <td>
234
+ <input type="checkbox" name="track_admins" id="track_admins" <?php if ( $tptn_settings['track_admins'] ) { echo 'checked="checked"'; } ?> />
235
+ <p class="description"><?php _e( 'Disabling this option will stop admin visits being tracked.', 'top-10' ); ?></p>
236
+ </td>
237
+ </tr>
238
+ <tr>
239
+ <th scope="row"><label for="track_editors"><?php _e( 'Track visits of Editors?', 'top-10' ); ?></label></th>
240
+ <td>
241
+ <input type="checkbox" name="track_editors" id="track_editors" <?php if ( $tptn_settings['track_editors'] ) { echo 'checked="checked"'; } ?> />
242
+ <p class="description"><?php _e( 'Disabling this option will stop editor visits being tracked.', 'top-10' ); ?></p>
243
+ </td>
244
+ </tr>
245
+ <tr>
246
+ <th scope="row"><label for="pv_in_admin"><?php _e( 'Display page views on Posts and Pages in Admin', 'top-10' ); ?></label></th>
247
+ <td>
248
+ <input type="checkbox" name="pv_in_admin" id="pv_in_admin" <?php if ( $tptn_settings['pv_in_admin'] ) { echo 'checked="checked"'; } ?> />
249
+ <p class="description"><?php _e( "Adds three columns called Total Views, Today's Views and Views to All Posts and All Pages", 'top-10' ); ?></p>
250
+ </td>
251
+ </tr>
252
+ <tr>
253
+ <th scope="row"><label for="show_count_non_admins"><?php _e( 'Show number of views to non-admins', 'top-10' ); ?></label></th>
254
+ <td>
255
+ <input type="checkbox" name="show_count_non_admins" id="show_count_non_admins" <?php if ( $tptn_settings['show_count_non_admins'] ) { echo 'checked="checked"'; } ?> />
256
+ <p class="description"><?php _e( "If you disable this then non-admins won't see the above columns or view the independent pages with the top posts", 'top-10' ); ?></p>
257
+ </td>
258
+ </tr>
259
+ <tr>
260
+ <td scope="row" colspan="2">
261
+ <input type="submit" name="tptn_save" id="tptn_counterop_save" value="<?php _e( 'Save Options', 'top-10' ); ?>" class="button button-primary" />
262
+ </td>
263
+ </tr>
264
+
265
+ <?php
266
+ /**
267
+ * Fires after Counter options block.
268
+ *
269
+ * @since 2.0.0
270
+ *
271
+ * @param array $tptn_settings Top 10 settings array
272
+ */
273
+ do_action( 'tptn_admin_counter_options_after', $tptn_settings );
274
+ ?>
275
+
276
+ </table>
277
+ </div>
278
+ </div>
279
+ <div id="pplopdiv" class="postbox"><div class="handlediv" title="<?php _e( 'Click to toggle', 'top-10' ); ?>"><br /></div>
280
+ <h3 class='hndle'><span><?php _e( 'Popular post list options', 'top-10' ); ?></span></h3>
281
+ <div class="inside">
282
+ <table class="form-table">
283
+
284
+ <?php
285
+ /**
286
+ * Fires before Popular post list options block.
287
+ *
288
+ * @since 2.0.0
289
+ *
290
+ * @param array $tptn_settings Top 10 settings array
291
+ */
292
+ do_action( 'tptn_admin_list_options_before', $tptn_settings );
293
+ ?>
294
+
295
+ <tr>
296
+ <th scope="row"><label for="limit"><?php _e( 'Number of popular posts to display:', 'top-10' ); ?></label></th>
297
+ <td>
298
+ <input type="textbox" name="limit" id="limit" value="<?php echo esc_attr( stripslashes( $tptn_settings['limit'] ) ); ?>">
299
+ <p class="description"><?php _e( "Maximum number of posts that will be displayed in the list. This option is used if you don't specify the number of posts in the widget or shortcodes", 'top-10' ); ?></p>
300
+ </td>
301
+ </tr>
302
+ <tr>
303
+ <th scope="row"><label for="how_old"><?php _e( 'Published age of posts:', 'top-10' ); ?></label></th>
304
+ <td>
305
+ <input type="textbox" name="how_old" id="how_old" value="<?php echo esc_attr( stripslashes( $tptn_settings['how_old'] ) ); ?>"> <?php _e( 'days', 'top-10' ); ?>
306
+ <p class="description"><?php _e( 'This options allows you to only show posts that have been published within the above day range. Applies to both overall posts and daily posts lists.', 'top-10' ); ?></p>
307
+ <p class="description"><?php _e( 'e.g. 365 days will only show posts published in the last year in the popular posts lists. Enter 0 for no restriction.', 'top-10' ); ?></p>
308
+ </td>
309
+ </tr>
310
+ <tr>
311
+ <th scope="row"><?php _e( 'Post types to include in results (including custom post types)', 'top-10' ); ?></th>
312
+ <td>
313
+ <?php foreach ( $wp_post_types as $wp_post_type ) { ?>
314
+
315
+ <label>
316
+ <input type="checkbox" name="post_types[]" value="<?php echo $wp_post_type; ?>" <?php if ( in_array( $wp_post_type, $posts_types_inc ) ) { echo 'checked="checked"'; } ?> />
317
+ <?php echo $wp_post_type; ?>
318
+ </label>
319
+ <br />
320
+
321
+ <?php } ?>
322
+ </td>
323
+ </tr>
324
+ <tr>
325
+ <th scope="row"><label for="exclude_post_ids"><?php _e( 'List of post or page IDs to exclude from the results:', 'top-10' ); ?></label></th>
326
+ <td><input type="textbox" name="exclude_post_ids" id="exclude_post_ids" value="<?php echo esc_attr( stripslashes( $tptn_settings['exclude_post_ids'] ) ); ?>" style="width:250px">
327
+ <p class="description"><?php _e( 'Enter comma separated list of IDs. e.g. 188,320,500', 'top-10' ); ?></p>
328
+ </td>
329
+ </tr>
330
+ <tr>
331
+ <th scope="row"><label for="exclude_cat_slugs"><?php _e( 'Exclude Categories:', 'top-10' ); ?></label></th>
332
+ <td>
333
+ <div style="position:relative;text-align:left">
334
+ <table id="MYCUSTOMFLOATER" class="myCustomFloater" style="position:absolute;top:50px;left:0;background-color:#cecece;display:none;visibility:hidden">
335
+ <tr><td><!--
336
+ please see: http://chrisholland.blogspot.com/2004/09/geekstuff-css-display-inline-block.html
337
+ to explain why i'm using a table here.
338
+ You could replace the table/tr/td with a DIV, but you'd have to specify it's width and height
339
+ -->
340
+ <div class="myCustomFloaterContent">
341
+ you should never be seeing this
342
+ </div>
343
+ </td></tr>
344
+ </table>
345
+ <textarea class="wickEnabled:MYCUSTOMFLOATER" cols="50" rows="3" wrap="virtual" name="exclude_cat_slugs" style="width:100%"><?php echo ( stripslashes( $tptn_settings['exclude_cat_slugs'] ) ); ?></textarea>
346
+ <p class="description"><?php _e( 'Comma separated list of category slugs. The field above has an autocomplete so simply start typing in the starting letters and it will prompt you with options', 'top-10' ); ?></p>
347
+ </div>
348
+ <p class="description highlight">
349
+ <?php
350
+ _e( 'Excluded category IDs are:', 'top-10' );
351
+ echo ' ' . $tptn_settings['exclude_categories'];
352
+ ?>
353
+ </p>
354
+ <p class="description">
355
+ <?php
356
+ _e( 'These might differ from the IDs visible in the Categories page which use the <code>term_id</code>. Top 10 uses the <code>term_taxonomy_id</code> which is unique to this taxonomy.', 'top-10' );
357
+ ?>
358
+ </p>
359
+ </td>
360
+ </tr>
361
+ <tr>
362
+ <th scope="row"><label for="title"><?php _e( 'Title of popular posts:', 'top-10' ); ?></label></th>
363
+ <td>
364
+ <input type="textbox" name="title" id="title" value="<?php echo esc_attr( stripslashes( $tptn_settings['title'] ) ); ?>" style="width:250px" />
365
+ </td>
366
+ </tr>
367
+ <tr>
368
+ <th scope="row"><label for="title_daily"><?php _e( 'Title of daily popular posts:', 'top-10' ); ?></label></th>
369
+ <td>
370
+ <input type="textbox" name="title_daily" id="title_daily" value="<?php echo esc_attr( stripslashes( $tptn_settings['title_daily'] ) ); ?>" style="width:250px" />
371
+ </td>
372
+ </tr>
373
+ <tr>
374
+ <th scope="row"><label for="blank_output"><?php _e( 'When there are no posts, what should be shown?', 'top-10' ); ?></label></th>
375
+ <td>
376
+ <label>
377
+ <input type="radio" name="blank_output" value="blank" id="blank_output_0" <?php if ( $tptn_settings['blank_output'] ) { echo 'checked="checked"'; } ?> />
378
+ <?php _e( 'Blank Output', 'top-10' ); ?></label>
379
+ <br />
380
+ <label>
381
+ <input type="radio" name="blank_output" value="customs" id="blank_output_1" <?php if ( ! $tptn_settings['blank_output'] ) { echo 'checked="checked"'; } ?> />
382
+ <?php _e( 'Display:', 'top-10' ); ?></label>
383
+ <input type="textbox" name="blank_output_text" id="blank_output_text" value="<?php echo esc_attr( stripslashes( $tptn_settings['blank_output_text'] ) ); ?>" style="width:250px" />
384
+ </td>
385
+ </tr>
386
+ <tr>
387
+ <th scope="row"><label for="show_excerpt"><?php _e( 'Show post excerpt in list?', 'top-10' ); ?></label></th>
388
+ <td>
389
+ <input type="checkbox" name="show_excerpt" id="show_excerpt" <?php if ( $tptn_settings['show_excerpt'] ) { echo 'checked="checked"'; } ?> />
390
+ </td>
391
+ </tr>
392
+ <tr>
393
+ <th scope="row"><label for="excerpt_length"><?php _e( 'Length of excerpt (in words):', 'top-10' ); ?></label></th>
394
+ <td>
395
+ <input type="textbox" name="excerpt_length" id="excerpt_length" value="<?php echo stripslashes( $tptn_settings['excerpt_length'] ); ?>" />
396
+ </td>
397
+ </tr>
398
+ <tr>
399
+ <th scope="row"><label for="show_author"><?php _e( 'Show post author in list?', 'top-10' ); ?></label></th>
400
+ <td>
401
+ <input type="checkbox" name="show_author" id="show_author" <?php if ( $tptn_settings['show_author'] ) { echo 'checked="checked"'; } ?> />
402
+ </td>
403
+ </tr>
404
+ <tr>
405
+ <th scope="row"><label for="show_date"><?php _e( 'Show post date in list?', 'top-10' ); ?></label></th>
406
+ <td>
407
+ <input type="checkbox" name="show_date" id="show_date" <?php if ( $tptn_settings['show_date'] ) { echo 'checked="checked"'; } ?> />
408
+ </td>
409
+ </tr>
410
+ <tr>
411
+ <th scope="row"><label for="title_length"><?php _e( 'Limit post title length (in characters)', 'top-10' ); ?></label></th>
412
+ <td>
413
+ <input type="textbox" name="title_length" id="title_length" value="<?php echo stripslashes( $tptn_settings['title_length'] ); ?>" />
414
+ </td>
415
+ </tr>
416
+ <tr>
417
+ <th scope="row"><label for="disp_list_count"><?php _e( 'Show view count in list?', 'top-10' ); ?></label></th>
418
+ <td>
419
+ <input type="checkbox" name="disp_list_count" id="disp_list_count" <?php if ( $tptn_settings['disp_list_count'] ) { echo 'checked="checked"'; } ?> />
420
+ </td>
421
+ </tr>
422
+ <tr>
423
+ <th scope="row"><label for="link_new_window "><?php _e( 'Open links in new window', 'top-10' ); ?></label></th>
424
+ <td>
425
+ <input type="checkbox" name="link_new_window" id="link_new_window" <?php if ( $tptn_settings['link_new_window'] ) { echo 'checked="checked"'; } ?> />
426
+ </td>
427
+ </tr>
428
+ <tr>
429
+ <th scope="row"><label for="link_nofollow"><?php _e( 'Add nofollow attribute to links in the list', 'top-10' ); ?></label></th>
430
+ <td>
431
+ <input type="checkbox" name="link_nofollow" id="link_nofollow" <?php if ( $tptn_settings['link_nofollow'] ) { echo 'checked="checked"'; } ?> />
432
+ </td>
433
+ </tr>
434
+ <tr>
435
+ <th scope="row"><label for="exclude_on_post_ids"><?php _e( 'Exclude display of related posts on these posts / pages', 'top-10' ); ?></label></th>
436
+ <td>
437
+ <input type="textbox" name="exclude_on_post_ids" id="exclude_on_post_ids" value="<?php echo esc_attr( stripslashes( $tptn_settings['exclude_on_post_ids'] ) ); ?>" style="width:250px">
438
+ <p class="description"><?php _e( 'Enter comma separated list of IDs. e.g. 188,320,500', 'top-10' ); ?></p>
439
+ </td>
440
+ </tr>
441
+
442
+ <tr style="background: #eee"><th scope="row" colspan="2"><?php _e( 'Customise the list HTML', 'top-10' ); ?></th>
443
+ </tr>
444
+ <tr>
445
+ <th scope="row"><label for="before_list"><?php _e( 'HTML to display before the list of posts:', 'top-10' ); ?></label></th>
446
+ <td>
447
+ <input type="textbox" name="before_list" id="before_list" value="<?php echo esc_attr( stripslashes( $tptn_settings['before_list'] ) ); ?>" style="width:250px" />
448
+ </td>
449
+ </tr>
450
+ <tr>
451
+ <th scope="row"><label for="before_list_item"><?php _e( 'HTML to display before each list item:', 'top-10' ); ?></label></th>
452
+ <td>
453
+ <input type="textbox" name="before_list_item" id="before_list_item" value="<?php echo esc_attr( stripslashes( $tptn_settings['before_list_item'] ) ); ?>" style="width:250px" />
454
+ </td>
455
+ </tr>
456
+ <tr>
457
+ <th scope="row"><label for="after_list_item"><?php _e( 'HTML to display after each list item:', 'top-10' ); ?></label></th>
458
+ <td>
459
+ <input type="textbox" name="after_list_item" id="after_list_item" value="<?php echo esc_attr( stripslashes( $tptn_settings['after_list_item'] ) ); ?>" style="width:250px" />
460
+ </td>
461
+ </tr>
462
+ <tr>
463
+ <th scope="row"><label for="after_list"><?php _e( 'HTML to display after the list of posts:', 'top-10' ); ?></label></th>
464
+ <td>
465
+ <input type="textbox" name="after_list" id="after_list" value="<?php echo esc_attr( stripslashes( $tptn_settings['after_list'] ) ); ?>" style="width:250px" />
466
+ </td>
467
+ </tr>
468
+ <tr>
469
+ <td scope="row" colspan="2">
470
+ <input type="submit" name="tptn_save" id="tptn_pplop_save" value="<?php _e( 'Save Options', 'top-10' ); ?>" class="button button-primary" />
471
+ </td>
472
+ </tr>
473
+
474
+ <?php
475
+ /**
476
+ * Fires after Popular post list options block.
477
+ *
478
+ * @since 2.0.0
479
+ *
480
+ * @param array $tptn_settings Top 10 settings array
481
+ */
482
+ do_action( 'tptn_admin_list_options_after', $tptn_settings );
483
+ ?>
484
+
485
+ </table>
486
+ </div>
487
+ </div>
488
+ <div id="thumbopdiv" class="postbox"><div class="handlediv" title="<?php _e( 'Click to toggle', 'top-10' ); ?>"><br /></div>
489
+ <h3 class='hndle'><span><?php _e( 'Thumbnail options', 'top-10' ); ?></span></h3>
490
+ <div class="inside">
491
+ <table class="form-table">
492
+
493
+ <?php
494
+ /**
495
+ * Fires before thumbnail options block.
496
+ *
497
+ * @since 2.0.0
498
+ *
499
+ * @param array $tptn_settings Top 10 settings array
500
+ */
501
+ do_action( 'tptn_admin_thumbnail_options_before', $tptn_settings );
502
+ ?>
503
+
504
+ <tr><th scope="row"><label for="post_thumb_op"><?php _e( 'Location of post thumbnail:', 'top-10' ); ?></label></th>
505
+ <td>
506
+ <label>
507
+ <input type="radio" name="post_thumb_op" value="inline" id="post_thumb_op_0" <?php if ( 'inline' == $tptn_settings['post_thumb_op'] ) { echo 'checked="checked"'; } ?> />
508
+ <?php _e( 'Display thumbnails inline with posts, before title', 'top-10' ); ?>
509
+ </label>
510
+ <br />
511
+ <label>
512
+ <input type="radio" name="post_thumb_op" value="after" id="post_thumb_op_1" <?php if ( 'after' == $tptn_settings['post_thumb_op'] ) { echo 'checked="checked"'; } ?> />
513
+ <?php _e( 'Display thumbnails inline with posts, after title', 'top-10' ); ?>
514
+ </label>
515
+ <br />
516
+ <label>
517
+ <input type="radio" name="post_thumb_op" value="thumbs_only" id="post_thumb_op_2" <?php if ( 'thumbs_only' == $tptn_settings['post_thumb_op'] ) { echo 'checked="checked"'; } ?> />
518
+ <?php _e( 'Display only thumbnails, no text', 'top-10' ); ?>
519
+ </label>
520
+ <br />
521
+ <label>
522
+ <input type="radio" name="post_thumb_op" value="text_only" id="post_thumb_op_3" <?php if ( 'text_only' == $tptn_settings['post_thumb_op'] ) { echo 'checked="checked"'; } ?> />
523
+ <?php _e( 'Do not display thumbnails, only text.', 'top-10' ); ?>
524
+ </label>
525
+
526
+ <?php if ( 'left_thumbs' == $tptn_settings['tptn_styles'] ) { ?>
527
+ <p style="color: #F00"><?php _e( 'This setting cannot be changed because an inbuilt style has been selected under the Styles section. If you would like to change this option, please select No styles under the Styles section.', 'top-10' ); ?></p>
528
+ <?php } ?>
529
+ </td>
530
+ </tr>
531
+ <tr><th scope="row"><?php _e( 'Thumbnail size:', 'top-10' ); ?></th>
532
+ <td>
533
+ <?php
534
+ $tptn_get_all_image_sizes = tptn_get_all_image_sizes();
535
+ if ( isset( $tptn_get_all_image_sizes['tptn_thumbnail'] ) ) {
536
+ unset( $tptn_get_all_image_sizes['tptn_thumbnail'] );
537
+ }
538
+
539
+ foreach ( $tptn_get_all_image_sizes as $size ) :
540
+ ?>
541
+ <label>
542
+ <input type="radio" name="thumb_size" value="<?php echo $size['name'] ?>" id="<?php echo $size['name'] ?>" <?php if ( $tptn_settings['thumb_size'] == $size['name'] ) { echo 'checked="checked"'; } ?> />
543
+ <?php echo $size['name']; ?> ( <?php echo $size['width']; ?>x<?php echo $size['height']; ?>
544
+ <?php
545
+ if ( $size['crop'] ) {
546
+ echo 'cropped';
547
+ }
548
+ ?>
549
+ )
550
+ </label>
551
+ <br />
552
+ <?php endforeach; ?>
553
+
554
+ <label>
555
+ <input type="radio" name="thumb_size" value="tptn_thumbnail" id="tptn_thumbnail" <?php if ( $tptn_settings['thumb_size'] == 'tptn_thumbnail' ) { echo 'checked="checked"'; } ?> /> <?php _e( 'Custom size', 'top-10' ); ?>
556
+ </label>
557
+ <p class="description">
558
+ <?php _e( 'You can choose from existing image sizes above or create a custom size. If you have chosen Custom size above, then enter the width, height and crop settings below. For best results, use a cropped image.', 'top-10' ); ?><br />
559
+ <?php _e( 'If you change the width and/or height below, existing images will not be automatically resized.', 'top-10' ); ?>
560
+ <?php printf( __( "I recommend using <a href='%s' class='thickbox'>OTF Regenerate Thumbnails</a> or <a href='%s' class='thickbox'>Regenerate Thumbnails</a> to regenerate all image sizes.", 'top-10' ), self_admin_url( 'plugin-install.php?tab=plugin-information&amp;plugin=otf-regenerate-thumbnails&amp;TB_iframe=true&amp;width=600&amp;height=550' ), self_admin_url( 'plugin-install.php?tab=plugin-information&amp;plugin=regenerate-thumbnails&amp;TB_iframe=true&amp;width=600&amp;height=550' ) ); ?>
561
+ </p>
562
+ <p class="description">
563
+ <?php _e( "If you're using the Left Thumbs style below then the thumbnail width and height that you set here will supersede the widget. Alternatively, choose <strong>Style attributes</strong> under <strong>Image size attributes</strong> option below", 'top-10' ); ?>
564
+ </p>
565
+ </td>
566
+ <tr><th scope="row"><label for="thumb_width"><?php _e( 'Width of custom thumbnail:', 'top-10' ); ?></label></th>
567
+ <td>
568
+ <input type="textbox" name="thumb_width" id="thumb_width" value="<?php echo esc_attr( stripslashes( $tptn_settings['thumb_width'] ) ); ?>" style="width:50px" />px
569
+ </td>
570
+ </tr>
571
+ <tr><th scope="row"><label for="thumb_height"><?php _e( 'Height of custom thumbnail', 'top-10' ); ?></label></th>
572
+ <td>
573
+ <input type="textbox" name="thumb_height" id="thumb_height" value="<?php echo esc_attr( stripslashes( $tptn_settings['thumb_height'] ) ); ?>" style="width:50px" />px
574
+ </td>
575
+ </tr>
576
+ <tr><th scope="row"><label for="thumb_crop"><?php _e( 'Crop mode:', 'top-10' ); ?></label></th>
577
+ <td>
578
+ <input type="checkbox" name="thumb_crop" id="thumb_crop" <?php if ( $tptn_settings['thumb_crop'] ) { echo 'checked="checked"'; } ?> />
579
+ <p class="description">
580
+ <?php _e( 'By default, thumbnails will be proportionately cropped. Check this box to hard crop the thumbnails.', 'top-10' ); ?>
581
+ <?php printf( __( "<a href='%s' target='_blank'>Difference between soft and hard crop</a>", 'top-10' ), esc_url( 'http://www.davidtan.org/wordpress-hard-crop-vs-soft-crop-difference-comparison-example/' ) ); ?>
582
+ </p>
583
+ </td>
584
+ </tr>
585
+ <tr><th scope="row"><label for="thumb_html"><?php _e( 'Image size attributes:', 'top-10' ); ?></label></th>
586
+ <td>
587
+ <label>
588
+ <input type="radio" name="thumb_html" value="css" id="thumb_html_0" <?php if ( 'css' == $tptn_settings['thumb_html'] ) { echo 'checked="checked"'; } ?> />
589
+ <?php _e( 'Style attributes are used for width and height.', 'top-10' );
590
+ echo ' <code>style="max-width:' . $tptn_settings['thumb_width'] . 'px;max-height:' . $tptn_settings['thumb_height'] . 'px;"</code>'; ?>
591
+ </label>
592
+ <br />
593
+ <label>
594
+ <input type="radio" name="thumb_html" value="html" id="thumb_html_1" <?php if ( 'html' == $tptn_settings['thumb_html'] ) { echo 'checked="checked"'; } ?> />
595
+ <?php _e( 'HTML width and height attributes are used for width and height.', 'top-10' );
596
+ echo ' <code>width="' . $tptn_settings['thumb_width'] . '" height="' . $tptn_settings['thumb_height'] . '"</code>'; ?>
597
+ </label>
598
+ <br />
599
+ <label>
600
+ <input type="radio" name="thumb_html" value="none" id="thumb_html_1" <?php if ( 'none' == $tptn_settings['thumb_html'] ) { echo 'checked="checked"'; } ?> />
601
+ <?php _e( 'No HTML or Style attributes set for width and height', 'top-10' ); ?>
602
+ </label>
603
+ <br />
604
+ </td>
605
+ </tr>
606
+ <tr><th scope="row"><label for="thumb_meta"><?php _e( 'Post thumbnail meta field name:', 'top-10' ); ?></label></th>
607
+ <td>
608
+ <input type="textbox" name="thumb_meta" id="thumb_meta" value="<?php echo esc_attr( stripslashes( $tptn_settings['thumb_meta'] ) ); ?>">
609
+ <p class="description"><?php _e( 'The value of this field should contain the image source and is set in the <em>Add New Post</em> screen', 'top-10' ); ?></p>
610
+ </td>
611
+ </tr>
612
+ <tr><th scope="row"><label for="scan_images"><?php _e( 'If the postmeta is not set, then should the plugin extract the first image from the post?', 'top-10' ); ?></label></th>
613
+ <td>
614
+ <input type="checkbox" name="scan_images" id="scan_images" <?php if ( $tptn_settings['scan_images'] ) { echo 'checked="checked"'; } ?> />
615
+ <p class="description"><?php _e( 'This could slow down the loading of your page if the first image in the related posts is large in file-size', 'top-10' ); ?></p>
616
+ </td>
617
+ </tr>
618
+ <tr><th scope="row"><label for="thumb_default_show"><?php _e( 'Use default thumbnail?', 'top-10' ); ?></label></th>
619
+ <td>
620
+ <input type="checkbox" name="thumb_default_show" id="thumb_default_show" <?php if ( $tptn_settings['thumb_default_show'] ) { echo 'checked="checked"'; } ?> />
621
+ <p class="description"><?php _e( 'If checked, when no thumbnail is found, show a default one from the URL below. If not checked and no thumbnail is found, no image will be shown.', 'top-10' ); ?></p>
622
+ </td>
623
+ </tr>
624
+ <tr><th scope="row"><label for="thumb_default"><?php _e( 'Default thumbnail:', 'top-10' ); ?></label></th>
625
+ <td>
626
+ <input type="textbox" name="thumb_default" id="thumb_default" value="<?php echo esc_attr( stripslashes( $tptn_settings['thumb_default'] ) ); ?>" style="width:100%"> <br />
627
+ <?php if ( '' != $tptn_settings['thumb_default'] ) { echo "<img src='{$tptn_settings['thumb_default']}' style='max-width:200px' />"; } ?>
628
+ <p class="description"><?php _e( "The plugin will first check if the post contains a thumbnail. If it doesn't then it will check the meta field. If this is not available, then it will show the default image as specified above", 'top-10' ); ?></p>
629
+ </td>
630
+ </tr>
631
+ <tr>
632
+ <td scope="row" colspan="2">
633
+ <input type="submit" name="tptn_save" id="tptn_thumbop_save" value="<?php _e( 'Save Options', 'top-10' ); ?>" class="button button-primary" />
634
+ </td>
635
+ </tr>
636
+
637
+ <?php
638
+ /**
639
+ * Fires after thumbnail options block.
640
+ *
641
+ * @since 2.0.0
642
+ *
643
+ * @param array $tptn_settings Top 10 settings array
644
+ */
645
+ do_action( 'tptn_admin_thumbnail_options_after', $tptn_settings );
646
+ ?>
647
+
648
+ </table>
649
+ </div>
650
+ </div>
651
+ <div id="customcssdiv" class="postbox"><div class="handlediv" title="<?php _e( 'Click to toggle', 'top-10' ); ?>"><br /></div>
652
+ <h3 class='hndle'><span><?php _e( 'Styles', 'top-10' ); ?></span></h3>
653
+ <div class="inside">
654
+ <table class="form-table">
655
+
656
+ <?php
657
+ /**
658
+ * Fires before custom styles options block.
659
+ *
660
+ * @since 2.0.0
661
+ *
662
+ * @param array $tptn_settings Top 10 settings array
663
+ */
664
+ do_action( 'tptn_admin_custom_styles_before', $tptn_settings );
665
+ ?>
666
+
667
+ <tr><th scope="row"><?php _e( 'Style of the related posts:', 'top-10' ); ?></th>
668
+ <td>
669
+ <label>
670
+ <input type="radio" name="tptn_styles" value="no_style" id="tptn_styles_1" <?php if ( 'no_style' == $tptn_settings['tptn_styles'] ) { echo 'checked="checked"'; } ?> /> <?php _e( 'No styles', 'top-10' ); ?>
671
+ </label>
672
+ <p class="description"><?php _e( 'Select this option if you plan to add your own styles', 'top-10' ); ?></p>
673
+ <br />
674
+
675
+ <label>
676
+ <input type="radio" name="tptn_styles" value="left_thumbs" id="tptn_styles_0" <?php if ( $tptn_settings['include_default_style'] && ( 'left_thumbs' == $tptn_settings['tptn_styles'] ) ) { echo 'checked="checked"'; } ?> />
677
+ <?php _e( 'Left Thumbnails', 'top-10' ); ?>
678
+ </label>
679
+ <p class="description"><img src="<?php echo plugins_url( 'admin/images/tptn-left-thumbs.png', dirname( __FILE__ ) ); ?>" /></p>
680
+ <p class="description"><?php _e( 'Enabling this option will set the post thumbnail to be before text. Disabling this option will not revert any settings.', 'top-10' ); ?></p>
681
+ <p class="description"><?php printf( __( 'You can view the default style at <a href="%1$s" target="_blank">%1$s</a>', 'top-10' ), esc_url( 'https://github.com/WebberZone/top-10/blob/master/css/default-style.css' ) ); ?></p>
682
+ <br />
683
+
684
+ <label>
685
+ <input type="radio" name="tptn_styles" value="text_only" id="tptn_styles_1" <?php if ( 'text_only' == $tptn_settings['tptn_styles'] ) { echo 'checked="checked"'; } ?> /> <?php _e( 'Text only', 'top-10' ); ?>
686
+ </label>
687
+ <p class="description"><?php _e( 'Enabling this option will disable thumbnails and no longer include the default style sheet included in the plugin.', 'top-10' ); ?></p>
688
+
689
+ <?php
690
+ /**
691
+ * Fires after style checkboxes which allows an addon to add more styles.
692
+ *
693
+ * @since 2.2.0
694
+ *
695
+ * @param array $tptn_settings Top 10 settings array
696
+ */
697
+ do_action( 'tptn_admin_tptn_styles', $tptn_settings );
698
+ ?>
699
+
700
+ </td>
701
+ </tr>
702
+
703
+ <tr><th scope="row" colspan="2"><?php _e( 'Custom CSS to add to header:', 'top-10' ); ?></th>
704
+ </tr>
705
+ <tr>
706
+ <td scope="row" colspan="2">
707
+ <textarea name="custom_CSS" id="custom_CSS" rows="15" cols="80" style="width:100%"><?php echo stripslashes( $tptn_settings['custom_CSS'] ); ?></textarea>
708
+ <p class="description"><?php _e( 'Do not include <code>style</code> tags. Check out the <a href="http://wordpress.org/extend/plugins/top-10/faq/" target="_blank">FAQ</a> for available CSS classes to style.', 'top-10' ); ?></p>
709
+ </td>
710
+ </tr>
711
+
712
+ <?php
713
+ /**
714
+ * Fires after custom styles options block.
715
+ *
716
+ * @since 2.0.0
717
+ *
718
+ * @param array $tptn_settings Top 10 settings array
719
+ */
720
+ do_action( 'tptn_admin_custom_styles_after', $tptn_settings );
721
+ ?>
722
+
723
+ </table>
724
+ </div>
725
+ </div>
726
+ <p>
727
+ <input type="submit" name="tptn_save" id="tptn_save" value="<?php _e( 'Save Options', 'top-10' ); ?>" class="button button-primary" />
728
+ <input type="submit" name="tptn_default" id="tptn_default" value="<?php _e( 'Default Options', 'top-10' ); ?>" class="button button-secondary" onclick="if (!confirm('<?php _e( 'Do you want to set options to Default?', 'top-10' ); ?>')) return false;" />
729
+ </p>
730
+ <?php wp_nonce_field( 'tptn-plugin-settings' ); ?>
731
+ </form>
732
+
733
+ <?php
734
+ /**
735
+ * Fires after all option blocks.
736
+ *
737
+ * @since 2.0.0
738
+ *
739
+ * @param array $tptn_settings Top 10 settings array
740
+ */
741
+ do_action( 'tptn_admin_options_after', $tptn_settings );
742
+ ?>
743
+
744
+ <hr class="clear" />
745
+
746
+ <form method="post" id="tptn_maintenance_op" name="tptn_reset_options" onsubmit="return checkForm()">
747
+ <div id="resetopdiv" class="postbox"><div class="handlediv" title="<?php _e( 'Click to toggle', 'top-10' ); ?>"><br /></div>
748
+ <h3 class='hndle'><span><?php _e( 'Maintenance', 'top-10' ); ?></span></h3>
749
+ <div class="inside">
750
+ <table class="form-table">
751
+ <tr><td scope="row" colspan="2">
752
+ <p class="description"><?php _e( 'Over time the Daily Top 10 database grows in size, which reduces the performance of the plugin. Cleaning the database at regular intervals could improve performance, especially on high traffic blogs. Enabling maintenance will automatically delete entries older than 90 days.', 'top-10' ); ?><br />
753
+ <strong><?php _e( 'Note: When scheduled maintenance is enabled, WordPress will run the cron job everytime the job is rescheduled (i.e. you change the settings below).', 'top-10' ); ?></strong>
754
+ </td>
755
+ </tr>
756
+ <tr><th scope="row"><label for="cron_on"><?php _e( 'Enable scheduled maintenance of daily tables:', 'top-10' ); ?></label></th>
757
+ <td><input type="checkbox" name="cron_on" id="cron_on" <?php if ( $tptn_settings['cron_on'] ) { echo 'checked="checked"'; } ?> />
758
+ </td>
759
+ </tr>
760
+ <tr><th scope="row"><label for="cron_hour"><?php _e( 'Time to run maintenance', 'top-10' ); ?></label></th>
761
+ <td><input type="textbox" name="cron_hour" id="cron_hour" value="<?php echo esc_attr( stripslashes( $tptn_settings['cron_hour'] ) ); ?>" style="width:50px" /> <?php _e( 'hrs', 'top-10' ); ?> : <input type="textbox" name="cron_min" id="cron_min" value="<?php echo esc_attr( stripslashes( $tptn_settings['cron_min'] ) ); ?>" style="width:50px" /> <?php _e( 'min', 'top-10' ); ?></td>
762
+ </tr>
763
+ <tr><th scope="row"><label for="cron_recurrence"><?php _e( 'How often should the maintenance be run:', 'top-10' ); ?></label></th>
764
+ <td>
765
+ <label>
766
+ <input type="radio" name="cron_recurrence" value="daily" id="cron_recurrence0" <?php if ( 'daily' == $tptn_settings['cron_recurrence'] ) { echo 'checked="checked"'; } ?> />
767
+ <?php _e( 'Daily', 'top-10' ); ?></label>
768
+ <br />
769
+ <label>
770
+ <input type="radio" name="cron_recurrence" value="weekly" id="cron_recurrence1" <?php if ( 'weekly' == $tptn_settings['cron_recurrence'] ) { echo 'checked="checked"'; } ?> />
771
+ <?php _e( 'Weekly', 'top-10' ); ?></label>
772
+ <br />
773
+ <label>
774
+ <input type="radio" name="cron_recurrence" value="fortnightly" id="cron_recurrence2" <?php if ( 'fortnightly' == $tptn_settings['cron_recurrence'] ) { echo 'checked="checked"'; } ?> />
775
+ <?php _e( 'Fortnightly', 'top-10' ); ?></label>
776
+ <br />
777
+ <label>
778
+ <input type="radio" name="cron_recurrence" value="monthly" id="cron_recurrence3" <?php if ( 'monthly' == $tptn_settings['cron_recurrence'] ) { echo 'checked="checked"'; } ?> />
779
+ <?php _e( 'Monthly', 'top-10' ); ?></label>
780
+ <br />
781
+ </td>
782
+ </tr>
783
+ <tr><td scope="row" colspan="2">
784
+ <?php
785
+ if ( ( $tptn_settings['cron_on'] ) || wp_next_scheduled( 'tptn_cron_hook' ) ) {
786
+ if ( wp_next_scheduled( 'tptn_cron_hook' ) ) {
787
+ echo '<span style="color:#0c0">';
788
+ _e( 'The cron job has been scheduled. Maintenance will run', 'top-10' );
789
+ echo ' ' . wp_get_schedule( 'tptn_cron_hook' );
790
+ echo '.</span>';
791
+ } else {
792
+ echo '<span style="color:#e00">';
793
+ _e( 'The cron job is missing. Please resave this page to add the job', 'top-10' );
794
+ echo '</span>';
795
+ }
796
+ } else {
797
+ echo '<span style="color:#FFA500">';
798
+ _e( 'Maintenance is turned off', 'top-10' );
799
+ echo '</span>';
800
+ }
801
+ ?>
802
+ </td></tr>
803
+ </table>
804
+ <input type="submit" name="tptn_mnts_save" id="tptn_mnts_save" value="<?php _e( 'Save Maintenance Options', 'top-10' ); ?>" class="button button-primary" />
805
+ </div>
806
+ </div>
807
+ <?php wp_nonce_field( 'tptn-plugin-settings' ); ?>
808
+ </form>
809
+
810
+ <form method="post" id="tptn_reset_options" name="tptn_reset_options" onsubmit="return checkForm()">
811
+ <div id="resetopdiv" class="postbox"><div class="handlediv" title="<?php _e( 'Click to toggle', 'top-10' ); ?>"><br /></div>
812
+ <h3 class='hndle'><span><?php _e( 'Reset count and other tools', 'top-10' ); ?></span></h3>
813
+ <div class="inside">
814
+ <p class="description">
815
+ <?php _e( 'This cannot be reversed. Make sure that your database has been backed up before proceeding', 'top-10' ); ?>
816
+ </p>
817
+ <p>
818
+ <input name="tptn_trunc_all" type="submit" id="tptn_trunc_all" value="<?php _e( 'Reset Popular Posts', 'top-10' ); ?>" class="button button-secondary" style="color:#f00" onclick="if (!confirm('<?php _e( 'Are you sure you want to reset the popular posts?', 'top-10' ); ?>')) return false;" />
819
+ <input name="tptn_trunc_daily" type="submit" id="tptn_trunc_daily" value="<?php _e( 'Reset Daily Popular Posts', 'top-10' ); ?>" class="button button-secondary" style="color:#f00" onclick="if (!confirm('<?php _e( 'Are you sure you want to reset the daily popular posts?', 'top-10' ); ?>')) return false;" />
820
+ </p>
821
+ <p class="description">
822
+ <?php _e( 'This will merge post counts for posts with table entries of 0 and 1', 'top-10' ); ?>
823
+ </p>
824
+ <p>
825
+ <input name="tptn_merge_blogids" type="submit" id="tptn_merge_blogids" value="<?php _e( 'Merge blog ID 0 and 1 post counts', 'top-10' ); ?>" class="button button-secondary" onclick="if (!confirm('<?php _e( 'This will merge post counts for blog IDs 0 and 1. Proceed?', 'top-10' ); ?>')) return false;" />
826
+ </p>
827
+ <p class="description">
828
+ <?php _e( 'In older versions, the plugin created entries with duplicate post IDs. Clicking the button below will merge these duplicate IDs', 'top-10' ); ?>
829
+ </p>
830
+ <p>
831
+ <input name="tptn_clean_duplicates" type="submit" id="tptn_clean_duplicates" value="<?php _e( 'Merge duplicates across blog IDs', 'top-10' ); ?>" class="button button-secondary" onclick="if (!confirm('<?php _e( 'This will delete the duplicate entries in the tables. Proceed?', 'top-10' ); ?>')) return false;" />
832
+ </p>
833
+ </div>
834
+ </div>
835
+ <?php wp_nonce_field( 'tptn-plugin-settings' ); ?>
836
+ </form>
837
+
838
+ <?php
839
+ /**
840
+ * Only show the below options if it is multisite
841
+ */
842
+ if ( is_multisite() ) {
843
+ ?>
844
+
845
+ <form method="post" id="tptn_import_mu" name="tptn_import_mu" onsubmit="return checkForm()">
846
+ <div id="resetopdiv" class="postbox"><div class="handlediv" title="<?php _e( 'Click to toggle', 'top-10' ); ?>"><br /></div>
847
+ <h3 class='hndle'><span><?php _e( 'WordPress Multisite: Migrate Top 10 v1.x counts to 2.x', 'top-10' ); ?></span></h3>
848
+ <div class="inside">
849
+ <p class="description">
850
+ <?php _e( "If you've been using Top 10 v1.x on multisite, you would have needed to activate the plugin independently for each site. This would have resulted in two tables being created for each site in the network.", 'top-10' ); ?>
851
+ <?php _e( 'Top 10 v2.x onwards uses only a single table to record the count, keeping your database clean. You can use this tool to import the recorded counts from v1.x tables to the new v2.x table format.', 'top-10' ); ?>
852
+ </p>
853
+ <p class="description">
854
+ <?php _e( 'If you do not see any tables below, then it means that either all data has already been imported or no relevant information has been found.', 'top-10' ); ?>
855
+ </p>
856
+ <p class="description">
857
+ <strong style="color:#C00"><?php _e( 'After running the importer, please verify that all the counts have been successfully imported. Only then should you delete any old tables!', 'top-10' ); ?></strong>
858
+ </p>
859
+
860
+ <?php
861
+ $top_ten_mu_tables_sel_blog_ids = get_site_option( 'top_ten_mu_tables_sel_blog_ids', array() );
862
+ $top_ten_mu_tables_blog_ids = array();
863
+ $top_ten_all_mu_tables = array();
864
+
865
+ // Get all blogs in the network and activate plugin on each one
866
+ $blog_ids = $wpdb->get_col( "
867
+ SELECT blog_id FROM $wpdb->blogs
868
+ WHERE archived = '0' AND spam = '0' AND deleted = '0'
869
+ " );
870
+ foreach ( $blog_ids as $blog_id ) {
871
+ switch_to_blog( $blog_id );
872
+ $top_ten_mu_table = $wpdb->get_var( "SHOW TABLES LIKE '" . $wpdb->prefix . "top_ten' " );
873
+
874
+ if ( ! empty( $top_ten_mu_table ) && ! is_main_site( $blog_id ) ) {
875
+ $top_ten_mu_tables_blog_ids[] = $blog_id;
876
+ $top_ten_all_mu_tables[ $top_ten_mu_table ][0] = $top_ten_mu_table;
877
+ $top_ten_all_mu_tables[ $top_ten_mu_table ][1] = in_array( $blog_id, $top_ten_mu_tables_sel_blog_ids ) ? 1 : 0;
878
+ $top_ten_all_mu_tables[ $top_ten_mu_table ][2] = $blog_id;
879
+ }
880
+ }
881
+
882
+ // Switch back to the current blog
883
+ restore_current_blog();
884
+
885
+ if ( ! empty( $top_ten_all_mu_tables ) ) {
886
+ ?>
887
+
888
+ <table class="form-table">
889
+ <tr>
890
+ <th>
891
+ <?php _e( 'Blog ID', 'top-10' ); ?>
892
+ </th>
893
+ <th>
894
+ <?php _e( 'Status', 'top-10' ); ?>
895
+ </th>
896
+ <th>
897
+ <?php _e( 'Select to import', 'top-10' ); ?>
898
+ </th>
899
+ </tr>
900
+
901
+ <?php
902
+ foreach ( $top_ten_all_mu_tables as $top_ten_all_mu_table ) {
903
+ ?>
904
+ <tr>
905
+ <td>
906
+ <?php
907
+ _e( 'Blog #', 'top-10' );
908
+ echo $top_ten_all_mu_table[2];
909
+ echo ': ';
910
+ echo get_blog_details( $top_ten_all_mu_table[2] )->blogname;
911
+ ?>
912
+ </td>
913
+ <td>
914
+ <?php
915
+ if ( 0 == $top_ten_all_mu_table[1] ) {
916
+ echo '<span style="color:#F00">';
917
+ _e( 'Not imported', 'top-10' );
918
+ echo '</span>';
919
+ } else {
920
+ echo '<span style="color:#0F0">';
921
+ _e( 'Imported', 'top-10' );
922
+ echo '</span>';
923
+ }
924
+ ?>
925
+ </td>
926
+ <td>
927
+ <?php
928
+ if ( 0 == $top_ten_all_mu_table[1] ) {
929
+ echo '<input type="checkbox" name="top_ten_all_mu_tables[' . $top_ten_all_mu_table[0] . ']" value="' . $top_ten_all_mu_table[2] . '" checked="checked" />';
930
+ } else {
931
+ echo '<input type="checkbox" name="top_ten_all_mu_tables[' . $top_ten_all_mu_table[0] . ']" value="' . $top_ten_all_mu_table[2] . '" />';
932
+ }
933
+ ?>
934
+ </td>
935
+ </tr>
936
+ <?php
937
+ }
938
+ ?>
939
+ </table>
940
+ <p>
941
+ <input type="hidden" name="top_ten_mu_tables_blog_ids" value="<?php echo implode( ',', $top_ten_mu_tables_blog_ids ); ?>" />
942
+ <input name="tptn_import" type="submit" id="tptn_import" value="<?php _e( 'Begin import', 'top-10' ); ?>" class="button button-primary" />
943
+ <input name="tptn_delete_selected_tables" type="submit" id="tptn_delete_selected_tables" value="<?php _e( 'Delete selected tables', 'top-10' ); ?>" class="button button-secondary" style="color:#f00" />
944
+ <input name="tptn_delete_imported_tables" type="submit" id="tptn_delete_imported_tables" value="<?php _e( 'Delete all imported tables', 'top-10' ); ?>" class="button button-secondary" style="color:#f00" />
945
+ </p>
946
+ <?php
947
+ } // End if ( ! empty( $top_ten_all_mu_tables ) )
948
+ ?>
949
+ </div>
950
+ </div>
951
+ <?php wp_nonce_field( 'tptn-plugin-settings' ); ?>
952
+ </form>
953
+ <?php
954
+ }
955
+ ?>
956
+ </div><!-- /post-body-content -->
957
+ <div id="postbox-container-1" class="postbox-container">
958
+ <div id="side-sortables" class="meta-box-sortables ui-sortable">
959
+ <?php tptn_admin_side(); ?>
960
+ </div><!-- /side-sortables -->
961
+ </div><!-- /postbox-container-1 -->
962
+ </div><!-- /post-body -->
963
+ <br class="clear" />
964
+ </div><!-- /poststuff -->
965
+ </div><!-- /wrap -->
966
+
admin/wick/index.php CHANGED
@@ -1 +1 @@
1
- <?php // Silence is golden
1
+ <?php // Silence is golden
admin/wick/wick.css CHANGED
@@ -48,4 +48,3 @@ padding:0;margin:0;
48
  .siwCredit {
49
  margin:0;padding:0;margin-top:10px;font-size:0.7em;color:black;
50
  }
51
-
48
  .siwCredit {
49
  margin:0;padding:0;margin-top:10px;font-size:0.7em;color:black;
50
  }
 
admin/wick/wick.js CHANGED
@@ -14,37 +14,37 @@ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
14
  */
15
  /* start dhtml building blocks */
16
  function freezeEvent(e) {
17
- if (e.preventDefault) e.preventDefault();
18
- e.returnValue = false;
19
- e.cancelBubble = true;
20
- if (e.stopPropagation) e.stopPropagation();
21
- return false;
22
  }//freezeEvent
23
 
24
  function isWithinNode(e,i,c,t,obj) {
25
- answer = false;
26
- te = e;
27
- while(te && !answer) {
28
- if ((te.id && (te.id == i)) || (te.className && (te.className == i+"Class"))
29
- || (!t && c && te.className && (te.className == c))
30
- || (!t && c && te.className && (te.className.indexOf(c) != -1))
31
  || (t && te.tagName && (te.tagName.toLowerCase() == t))
32
  || (obj && (te == obj))
33
  ) {
34
- answer = te;
35
- } else {
36
- te = te.parentNode;
 
37
  }
38
- }
39
- return te;
40
  }//isWithinNode
41
 
42
  function getEvent(event) {
43
- return (event ? event : window.event);
44
  }//getEvent()
45
 
46
  function getEventElement(e) {
47
- return (e.srcElement ? e.srcElement: (e.target ? e.target : e.currentTarget));
48
  }//getEventElement()
49
 
50
  function findElementPosX(obj) {
@@ -54,10 +54,10 @@ function findElementPosX(obj) {
54
  curleft += obj.offsetLeft;
55
  obj = obj.offsetParent;
56
  }
57
- }//if offsetParent exists
58
- else if (obj.x)
59
  curleft += obj.x
60
- return curleft;
61
  }//findElementPosX
62
 
63
  function findElementPosY(obj) {
@@ -67,159 +67,158 @@ function findElementPosY(obj) {
67
  curtop += obj.offsetTop;
68
  obj = obj.offsetParent;
69
  }
70
- }//if offsetParent exists
71
- else if (obj.y)
72
  curtop += obj.y
73
- return curtop;
74
  }//findElementPosY
75
 
76
  /* end dhtml building blocks */
77
 
78
  function handleKeyPress(event) {
79
- e = getEvent(event);
80
- eL = getEventElement(e);
81
 
82
- upEl = isWithinNode(eL,null,"wickEnabled",null,null);
83
 
84
- kc = e["keyCode"];
85
 
86
- if (siw && ((kc == 13) || (kc == 9))) {
87
- siw.selectingSomething = true;
88
- if (siw.isSafari) siw.inputBox.blur(); //hack to "wake up" safari
89
- siw.inputBox.focus();
90
- siw.inputBox.value = siw.inputBox.value.replace(/[ \r\n\t\f\s]+$/gi,' ');
91
- hideSmartInputFloater();
92
- } else if (upEl && (kc != 38) && (kc != 40) && (kc != 37) && (kc != 39) && (kc != 13) && (kc != 27)) {
93
- if (!siw || (siw && !siw.selectingSomething)) {
94
- processSmartInput(upEl);
 
 
 
95
  }
96
- } else if (siw && siw.inputBox) {
97
- siw.inputBox.focus(); //kinda part of the hack.
98
- }
99
 
100
  }//handleKeyPress()
101
 
102
 
103
  function handleKeyDown(event) {
104
- e = getEvent(event);
105
- eL = getEventElement(e);
106
-
107
- if (siw && (kc = e["keyCode"])) {
108
- if (kc == 40) {
109
- siw.selectingSomething = true;
110
- freezeEvent(e);
111
- if (siw.isGecko) siw.inputBox.blur(); /* Gecko hack */
112
- selectNextSmartInputMatchItem();
113
- } else if (kc == 38) {
114
- siw.selectingSomething = true;
115
- freezeEvent(e);
116
- if (siw.isGecko) siw.inputBox.blur();
117
- selectPreviousSmartInputMatchItem();
118
- } else if ((kc == 13) || (kc == 9)) {
119
- siw.selectingSomething = true;
120
- activateCurrentSmartInputMatch();
121
- freezeEvent(e);
122
- } else if (kc == 27) {
123
- hideSmartInputFloater();
124
- freezeEvent(e);
125
- } else {
126
- siw.selectingSomething = false;
 
127
  }
128
- }
129
 
130
  }//handleKeyDown()
131
 
132
  function handleFocus(event) {
133
- e = getEvent(event);
134
- eL = getEventElement(e);
135
- if (focEl = isWithinNode(eL,null,"wickEnabled",null,null)) {
136
- if (!siw || (siw && !siw.selectingSomething)) processSmartInput(focEl);
137
  }
138
  }//handleFocus()
139
 
140
  function handleBlur(event) {
141
- e = getEvent(event);
142
- eL = getEventElement(e);
143
- if (blurEl = isWithinNode(eL,null,"wickEnabled",null,null)) {
144
- if (siw && !siw.selectingSomething) hideSmartInputFloater();
145
  }
146
  }//handleBlur()
147
 
148
  function handleClick(event) {
149
- e2 = getEvent(event);
150
- eL2 = getEventElement(e2);
151
  if (siw && siw.selectingSomething) {
152
  selectFromMouseClick();
153
  }
154
  }//handleClick()
155
 
156
  function handleMouseOver(event) {
157
- e = getEvent(event);
158
- eL = getEventElement(e);
159
- if (siw && (mEl = isWithinNode(eL,null,"matchedSmartInputItem",null,null))) {
160
  siw.selectingSomething = true;
161
- selectFromMouseOver(mEl);
162
- } else if (isWithinNode(eL,null,"siwCredit",null,null)) {
163
  siw.selectingSomething = true;
164
- }else if (siw) {
165
  siw.selectingSomething = false;
166
  }
167
  }//handleMouseOver
168
 
169
  function showSmartInputFloater() {
170
- if (!siw.floater.style.display || (siw.floater.style.display=="none")) {
171
- if (!siw.customFloater) {
172
- x = findElementPosX(siw.inputBox);
173
- y = findElementPosY(siw.inputBox) + siw.inputBox.offsetHeight;
174
- //hack: browser-specific adjustments.
175
- if (!siw.isGecko && !siw.isWinIE) x += 8;
176
- if (!siw.isGecko && !siw.isWinIE) y += 10;
177
- siw.floater.style.left = x;
178
- siw.floater.style.top = y;
179
- } else {
180
- //you may
181
- //do additional things for your custom floater
182
- //beyond setting display and visibility
 
 
 
183
  }
184
- siw.floater.style.display="block";
185
- siw.floater.style.visibility="visible";
186
- }
187
  }//showSmartInputFloater()
188
 
189
  function hideSmartInputFloater() {
190
- if (siw) {
191
- siw.floater.style.display="none";
192
- siw.floater.style.visibility="hidden";
193
- siw = null;
194
- }//siw exists
195
  }//hideSmartInputFloater
196
 
197
  function processSmartInput(inputBox) {
198
- if (!siw) siw = new smartInputWindow();
199
- siw.inputBox = inputBox;
200
-
201
- classData = inputBox.className.split(" ");
202
- siwDirectives = null;
203
- for (i=0;(!siwDirectives && classData[i]);i++) {
204
- if (classData[i].indexOf("wickEnabled") != -1)
205
- siwDirectives = classData[i];
206
- }
207
-
208
- if (siwDirectives && (siwDirectives.indexOf(":") != -1)) {
209
- siw.customFloater = true;
210
- newFloaterId = siwDirectives.split(":")[1];
211
- siw.floater = document.getElementById(newFloaterId);
212
- siw.floaterContent = siw.floater.getElementsByTagName("div")[0];
213
- }
214
 
 
 
 
 
 
 
215
 
216
- setSmartInputData();
217
- if (siw.matchCollection && (siw.matchCollection.length > 0)) selectSmartInputMatchItem(0);
218
- content = getSmartInputBoxContent();
219
- if (content) {
220
- modifySmartInputBoxContent(content);
221
- showSmartInputFloater();
222
- } else hideSmartInputFloater();
223
  }//processSmartInput()
224
 
225
  function smartInputMatch(cleanValue, value) {
@@ -229,69 +228,67 @@ function smartInputMatch(cleanValue, value) {
229
  }//smartInputMatch
230
 
231
  function simplify(s) {
232
- return s.toLowerCase().replace(/^[ \s\f\t\n\r]+/,'').replace(/[ \s\f\t\n\r]+$/,'');
233
- //.replace(/[�,�,�,�,\u00E9,\u00E8,\u00EA,\u00EB]/gi,"e").replace(/[�,�,\u00E0,\u00E2]/gi,"a").
234
  }//simplify
235
 
236
  function getUserInputToMatch(s) {
237
- a = s;
238
- fields = s.split(",");
239
- if (fields.length > 0) a = fields[fields.length - 1];
240
- return a;
241
  }//getUserInputToMatch
242
 
243
  function getUserInputBase() {
244
- s = siw.inputBox.value;
245
- a = s;
246
- if ((lastComma = s.lastIndexOf(",")) != -1) {
247
- a = a.replace(/^(.*\,[ \r\n\t\f\s]*).*$/i,'$1');
248
- }
249
- else
250
- a = "";
251
- return a;
252
  }//getUserInputBase()
253
 
254
  function runMatchingLogic(userInput, standalone) {
255
- userInput = simplify(userInput);
256
- uifc = userInput.charAt(0).toLowerCase();
257
- if (uifc == '"') uifc = (n = userInput.charAt(1)) ? n.toLowerCase() : "z";
258
- if (standalone) userInput = uifc;
259
- if (siw) siw.matchCollection = new Array();
260
  pointerToCollectionToUse = collection;
261
- if (siw && siw.revisedCollection && (siw.revisedCollection.length > 0) && siw.lastUserInput && (userInput.indexOf(siw.lastUserInput) == 0)) {
262
  pointerToCollectionToUse = siw.revisedCollection;
263
  } else if (collectionIndex[userInput] && (collectionIndex[userInput].length > 0)) {
264
  pointerToCollectionToUse = collectionIndex[userInput];
265
  } else if (collectionIndex[uifc] && (collectionIndex[uifc].length > 0)) {
266
  pointerToCollectionToUse = collectionIndex[uifc];
267
- } else if (siw && (userInput.length == 1) && (!collectionIndex[uifc])) {
268
  siw.buildIndex = true;
269
  } else if (siw) {
270
  siw.buildIndex = false;
271
  }
272
-
273
  tempCollection = new Array();
274
 
275
- re1m = new RegExp("^([ \"\>\<\-]*)("+userInput+")","i");
276
- re2m = new RegExp("([ \"\>\<\-]+)("+userInput+")","i");
277
- re1 = new RegExp("^([ \"\}\{\-]*)("+userInput+")","gi");
278
- re2 = new RegExp("([ \"\}\{\-]+)("+userInput+")","gi");
279
-
280
- for (i=0,j=0;(i<pointerToCollectionToUse.length);i++) {
281
- displayMatches = ((!standalone) && (j < siw.MAX_MATCHES));
282
  entry = pointerToCollectionToUse[i];
283
- mEntry = simplify(entry);
284
- if (!standalone && (mEntry.indexOf(userInput) == 0)) {
285
- userInput = userInput.replace(/\>/gi,'\\}').replace(/\< ?/gi,'\\{');
286
- re = new RegExp("(" + userInput + ")","i");
287
  if (displayMatches) {
288
- siw.matchCollection[j] = new smartInputMatch(entry, mEntry.replace(/\>/gi,'}').replace(/\< ?/gi,'{').replace(re,"<b>$1</b>"));
289
  }
290
  tempCollection[j] = entry;
291
- j++;
292
- } else if (mEntry.match(re1m) || mEntry.match(re2m)) {
293
- if (!standalone && displayMatches) {
294
- siw.matchCollection[j] = new smartInputMatch(entry, mEntry.replace(/\>/gi,'}').replace(/\</gi,'{').replace(re1,"$1<b>$2</b>").replace(re2,"$1<b>$2</b>"));
295
  }
296
  tempCollection[j] = entry;
297
  j++;
@@ -299,76 +296,76 @@ function runMatchingLogic(userInput, standalone) {
299
  }//loop thru collection
300
  if (siw) {
301
  siw.lastUserInput = userInput;
302
- siw.revisedCollection = tempCollection.join(",").split(",");
303
- collectionIndex[userInput] = tempCollection.join(",").split(",");
304
  }
305
  if (standalone || siw.buildIndex) {
306
- collectionIndex[uifc] = tempCollection.join(",").split(",");
307
- if (siw) siw.buildIndex = false;
308
  }
309
  }//runMatchingLogic
310
 
311
  function setSmartInputData() {
312
- if (siw) {
313
- orgUserInput = siw.inputBox.value;
314
- orgUserInput = getUserInputToMatch(orgUserInput);
315
- userInput = orgUserInput.toLowerCase().replace(/[\r\n\t\f\s]+/gi,' ').replace(/^ +/gi,'').replace(/ +$/gi,'').replace(/ +/gi,' ').replace(/\\/gi,'').replace(/\[/gi,'').replace(/\(/gi,'').replace(/\./gi,'\.').replace(/\?/gi,'');
316
- if (userInput && (userInput != "") && (userInput != '"')) {
317
- runMatchingLogic(userInput);
318
- }//if userinput not blank and is meaningful
319
- else {
320
- siw.matchCollection = null;
321
- }
322
- }//siw exists ... uhmkaaayyyyy
323
  }//setSmartInputData
324
 
325
  function getSmartInputBoxContent() {
326
- a = null;
327
- if (siw && siw.matchCollection && (siw.matchCollection.length > 0)) {
328
- a = '';
329
- for (i = 0;i < siw.matchCollection.length; i++) {
330
- selectedString = siw.matchCollection[i].isSelected ? ' selectedSmartInputItem' : '';
331
- a += '<p class="matchedSmartInputItem' + selectedString + '">' + siw.matchCollection[i].value.replace(/\{ */gi,"&lt;").replace(/\} */gi,"&gt;") + '</p>';
332
- }//
333
- }//siw exists
334
- return a;
335
  }//getSmartInputBoxContent
336
 
337
  function modifySmartInputBoxContent(content) {
338
- //todo: remove credits 'cuz no one gives a shit ;] - done
339
- siw.floaterContent.innerHTML = '<div id="smartInputResults">' + content + (siw.showCredit ? ('<p class="siwCredit">Powered By: <a target="PhrawgBlog" href="http://chrisholland.blogspot.com/?from=smartinput&ref='+escape(location.href)+'">Chris Holland</a></p>') : '') +'</div>';
340
- siw.matchListDisplay = document.getElementById("smartInputResults");
341
  }//modifySmartInputBoxContent()
342
 
343
  function selectFromMouseOver(o) {
344
- currentIndex = getCurrentlySelectedSmartInputItem();
345
- if (currentIndex != null) deSelectSmartInputMatchItem(currentIndex);
346
- newIndex = getIndexFromElement(o);
347
- selectSmartInputMatchItem(newIndex);
348
- modifySmartInputBoxContent(getSmartInputBoxContent());
349
  }//selectFromMouseOver
350
 
351
  function selectFromMouseClick() {
352
- activateCurrentSmartInputMatch();
353
- siw.inputBox.focus();
354
- hideSmartInputFloater();
355
  }//selectFromMouseClick
356
 
357
  function getIndexFromElement(o) {
358
- index = 0;
359
- while(o = o.previousSibling) {
360
- index++;
361
- }//
362
- return index;
363
  }//getIndexFromElement
364
 
365
  function getCurrentlySelectedSmartInputItem() {
366
- answer = null;
367
- for (i = 0; ((i < siw.matchCollection.length) && !answer) ; i++) {
368
- if (siw.matchCollection[i].isSelected)
369
- answer = i;
370
- }//
371
- return answer;
372
  }//getCurrentlySelectedSmartInputItem
373
 
374
  function selectSmartInputMatchItem(index) {
@@ -380,31 +377,27 @@ function deSelectSmartInputMatchItem(index) {
380
  }//deSelectSmartInputMatchItem()
381
 
382
  function selectNextSmartInputMatchItem() {
383
- currentIndex = getCurrentlySelectedSmartInputItem();
384
- if (currentIndex != null) {
385
- deSelectSmartInputMatchItem(currentIndex);
386
- if ((currentIndex + 1) < siw.matchCollection.length)
387
- selectSmartInputMatchItem(currentIndex + 1);
388
- else
389
- selectSmartInputMatchItem(0);
390
- } else {
391
- selectSmartInputMatchItem(0);
392
- }
393
- modifySmartInputBoxContent(getSmartInputBoxContent());
394
  }//selectNextSmartInputMatchItem
395
 
396
  function selectPreviousSmartInputMatchItem() {
397
- currentIndex = getCurrentlySelectedSmartInputItem();
398
- if (currentIndex != null) {
399
- deSelectSmartInputMatchItem(currentIndex);
400
- if ((currentIndex - 1) >= 0)
401
- selectSmartInputMatchItem(currentIndex - 1);
402
- else
403
- selectSmartInputMatchItem(siw.matchCollection.length - 1);
404
- } else {
405
- selectSmartInputMatchItem(siw.matchCollection.length - 1);
406
- }
407
- modifySmartInputBoxContent(getSmartInputBoxContent());
408
  }//selectPreviousSmartInputMatchItem
409
 
410
  function activateCurrentSmartInputMatch() {
@@ -413,56 +406,56 @@ function activateCurrentSmartInputMatch() {
413
  addedValue = siw.matchCollection[selIndex].cleanValue;
414
  theString = (baseValue ? baseValue : "") + addedValue + ", ";
415
  siw.inputBox.value = theString;
416
- runMatchingLogic(addedValue, true);
417
  }
418
  }//activateCurrentSmartInputMatch
419
 
420
  function smartInputWindow () {
421
  this.customFloater = false;
422
- this.floater = document.getElementById("smartInputFloater");
423
- this.floaterContent = document.getElementById("smartInputFloaterContent");
424
  this.selectedSmartInputItem = null;
425
  this.MAX_MATCHES = 15;
426
- this.isGecko = (navigator.userAgent.indexOf("Gecko/200") != -1);
427
- this.isSafari = (navigator.userAgent.indexOf("Safari") != -1);
428
- this.isWinIE = ((navigator.userAgent.indexOf("Win") != -1 ) && (navigator.userAgent.indexOf("MSIE") != -1 ));
429
  this.showCredit = false;
430
  }//smartInputWindow Object
431
 
432
  function registerSmartInputListeners() {
433
- inputs = document.getElementsByTagName("input");
434
- texts = document.getElementsByTagName("textarea");
435
- allinputs = new Array();
436
- z = 0;
437
- y = 0;
438
- while(inputs[z]) {
439
- allinputs[z] = inputs[z];
440
- z++;
441
- }//
442
- while(texts[y]) {
443
- allinputs[z] = texts[y];
444
- z++;
445
- y++;
446
- }//
447
-
448
- for (i=0; i < allinputs.length;i++) {
449
- if ((c = allinputs[i].className) && (c == "wickEnabled")) {
450
- allinputs[i].setAttribute("autocomplete","OFF");
451
- allinputs[i].onfocus = handleFocus;
452
- allinputs[i].onblur = handleBlur;
453
- allinputs[i].onkeydown = handleKeyDown;
454
- allinputs[i].onkeyup = handleKeyPress;
455
- }
456
- }//loop thru inputs
457
  }//registerSmartInputListeners
458
 
459
  siw = null;
460
 
461
  if (document.addEventListener) {
462
- document.addEventListener("keydown", handleKeyDown, false);
463
- document.addEventListener("keyup", handleKeyPress, false);
464
- document.addEventListener("mouseup", handleClick, false);
465
- document.addEventListener("mouseover", handleMouseOver, false);
466
  } else {
467
  document.onkeydown = handleKeyDown;
468
  document.onkeyup = handleKeyPress;
@@ -472,21 +465,21 @@ if (document.addEventListener) {
472
 
473
  registerSmartInputListeners();
474
 
475
- document.write (
476
- '<table id="smartInputFloater" class="floater" cellpadding="0" cellspacing="0"><tr><td id="smartInputFloaterContent" nowrap="nowrap">'
477
- +'<\/td><\/tr><\/table>'
478
  );
479
 
480
- //note: instruct users to the fact that no commas should be present in entries.
481
- //it would make things insanely messy.
482
- //this is why i'm filtering commas here:
483
- for (x=0;x<collection.length;x++) {
484
- collection[x] = collection[x].replace(/\,/gi,'');
485
  }//
486
 
487
  collectionIndex = new Array();
488
 
489
  ds = "";
490
  function debug(s) {
491
- ds += ( s + "\n");
492
  }
14
  */
15
  /* start dhtml building blocks */
16
  function freezeEvent(e) {
17
+ if (e.preventDefault) { e.preventDefault(); }
18
+ e.returnValue = false;
19
+ e.cancelBubble = true;
20
+ if (e.stopPropagation) { e.stopPropagation(); }
21
+ return false;
22
  }//freezeEvent
23
 
24
  function isWithinNode(e,i,c,t,obj) {
25
+ answer = false;
26
+ te = e;
27
+ while (te && ! answer) {
28
+ if ((te.id && (te.id == i)) || (te.className && (te.className == i + "Class"))
29
+ || ( ! t && c && te.className && (te.className == c))
30
+ || ( ! t && c && te.className && (te.className.indexOf( c ) != -1))
31
  || (t && te.tagName && (te.tagName.toLowerCase() == t))
32
  || (obj && (te == obj))
33
  ) {
34
+ answer = te;
35
+ } else {
36
+ te = te.parentNode;
37
+ }
38
  }
39
+ return te;
 
40
  }//isWithinNode
41
 
42
  function getEvent(event) {
43
+ return (event ? event : window.event);
44
  }//getEvent()
45
 
46
  function getEventElement(e) {
47
+ return (e.srcElement ? e.srcElement: (e.target ? e.target : e.currentTarget));
48
  }//getEventElement()
49
 
50
  function findElementPosX(obj) {
54
  curleft += obj.offsetLeft;
55
  obj = obj.offsetParent;
56
  }
57
+ } //if offsetParent exists
58
+ else if (obj.x) {
59
  curleft += obj.x
60
+ return curleft; }
61
  }//findElementPosX
62
 
63
  function findElementPosY(obj) {
67
  curtop += obj.offsetTop;
68
  obj = obj.offsetParent;
69
  }
70
+ } //if offsetParent exists
71
+ else if (obj.y) {
72
  curtop += obj.y
73
+ return curtop; }
74
  }//findElementPosY
75
 
76
  /* end dhtml building blocks */
77
 
78
  function handleKeyPress(event) {
79
+ e = getEvent( event );
80
+ eL = getEventElement( e );
81
 
82
+ upEl = isWithinNode( eL,null,"wickEnabled",null,null );
83
 
84
+ kc = e["keyCode"];
85
 
86
+ if (siw && ((kc == 13) || (kc == 9))) {
87
+ siw.selectingSomething = true;
88
+ if (siw.isSafari) { siw.inputBox.blur(); // hack to "wake up" safari
89
+ } siw.inputBox.focus();
90
+ siw.inputBox.value = siw.inputBox.value.replace( /[ \r\n\t\f\s]+$/gi,' ' );
91
+ hideSmartInputFloater();
92
+ } else if (upEl && (kc != 38) && (kc != 40) && (kc != 37) && (kc != 39) && (kc != 13) && (kc != 27)) {
93
+ if ( ! siw || (siw && ! siw.selectingSomething)) {
94
+ processSmartInput( upEl );
95
+ }
96
+ } else if (siw && siw.inputBox) {
97
+ siw.inputBox.focus(); // kinda part of the hack.
98
  }
 
 
 
99
 
100
  }//handleKeyPress()
101
 
102
 
103
  function handleKeyDown(event) {
104
+ e = getEvent( event );
105
+ eL = getEventElement( e );
106
+
107
+ if (siw && (kc = e["keyCode"])) {
108
+ if (kc == 40) {
109
+ siw.selectingSomething = true;
110
+ freezeEvent( e );
111
+ if (siw.isGecko) { siw.inputBox.blur(); } /* Gecko hack */
112
+ selectNextSmartInputMatchItem();
113
+ } else if (kc == 38) {
114
+ siw.selectingSomething = true;
115
+ freezeEvent( e );
116
+ if (siw.isGecko) { siw.inputBox.blur(); }
117
+ selectPreviousSmartInputMatchItem();
118
+ } else if ((kc == 13) || (kc == 9)) {
119
+ siw.selectingSomething = true;
120
+ activateCurrentSmartInputMatch();
121
+ freezeEvent( e );
122
+ } else if (kc == 27) {
123
+ hideSmartInputFloater();
124
+ freezeEvent( e );
125
+ } else {
126
+ siw.selectingSomething = false;
127
+ }
128
  }
 
129
 
130
  }//handleKeyDown()
131
 
132
  function handleFocus(event) {
133
+ e = getEvent( event );
134
+ eL = getEventElement( e );
135
+ if (focEl = isWithinNode( eL,null,"wickEnabled",null,null )) {
136
+ if ( ! siw || (siw && ! siw.selectingSomething)) { processSmartInput( focEl ); }
137
  }
138
  }//handleFocus()
139
 
140
  function handleBlur(event) {
141
+ e = getEvent( event );
142
+ eL = getEventElement( e );
143
+ if (blurEl = isWithinNode( eL,null,"wickEnabled",null,null )) {
144
+ if (siw && ! siw.selectingSomething) { hideSmartInputFloater(); }
145
  }
146
  }//handleBlur()
147
 
148
  function handleClick(event) {
149
+ e2 = getEvent( event );
150
+ eL2 = getEventElement( e2 );
151
  if (siw && siw.selectingSomething) {
152
  selectFromMouseClick();
153
  }
154
  }//handleClick()
155
 
156
  function handleMouseOver(event) {
157
+ e = getEvent( event );
158
+ eL = getEventElement( e );
159
+ if (siw && (mEl = isWithinNode( eL,null,"matchedSmartInputItem",null,null ))) {
160
  siw.selectingSomething = true;
161
+ selectFromMouseOver( mEl );
162
+ } else if (isWithinNode( eL,null,"siwCredit",null,null )) {
163
  siw.selectingSomething = true;
164
+ } else if (siw) {
165
  siw.selectingSomething = false;
166
  }
167
  }//handleMouseOver
168
 
169
  function showSmartInputFloater() {
170
+ if ( ! siw.floater.style.display || (siw.floater.style.display == "none")) {
171
+ if ( ! siw.customFloater) {
172
+ x = findElementPosX( siw.inputBox );
173
+ y = findElementPosY( siw.inputBox ) + siw.inputBox.offsetHeight;
174
+ // hack: browser-specific adjustments.
175
+ if ( ! siw.isGecko && ! siw.isWinIE) { x += 8; }
176
+ if ( ! siw.isGecko && ! siw.isWinIE) { y += 10; }
177
+ siw.floater.style.left = x;
178
+ siw.floater.style.top = y;
179
+ } else {
180
+ // you may
181
+ // do additional things for your custom floater
182
+ // beyond setting display and visibility
183
+ }
184
+ siw.floater.style.display = "block";
185
+ siw.floater.style.visibility = "visible";
186
  }
 
 
 
187
  }//showSmartInputFloater()
188
 
189
  function hideSmartInputFloater() {
190
+ if (siw) {
191
+ siw.floater.style.display = "none";
192
+ siw.floater.style.visibility = "hidden";
193
+ siw = null;
194
+ }//siw exists
195
  }//hideSmartInputFloater
196
 
197
  function processSmartInput(inputBox) {
198
+ if ( ! siw) { siw = new smartInputWindow(); }
199
+ siw.inputBox = inputBox;
200
+
201
+ classData = inputBox.className.split( " " );
202
+ siwDirectives = null;
203
+ for (i = 0;( ! siwDirectives && classData[i]);i++) {
204
+ if (classData[i].indexOf( "wickEnabled" ) != -1) {
205
+ siwDirectives = classData[i]; }
206
+ }
 
 
 
 
 
 
 
207
 
208
+ if (siwDirectives && (siwDirectives.indexOf( ":" ) != -1)) {
209
+ siw.customFloater = true;
210
+ newFloaterId = siwDirectives.split( ":" )[1];
211
+ siw.floater = document.getElementById( newFloaterId );
212
+ siw.floaterContent = siw.floater.getElementsByTagName( "div" )[0];
213
+ }
214
 
215
+ setSmartInputData();
216
+ if (siw.matchCollection && (siw.matchCollection.length > 0)) { selectSmartInputMatchItem( 0 ); }
217
+ content = getSmartInputBoxContent();
218
+ if (content) {
219
+ modifySmartInputBoxContent( content );
220
+ showSmartInputFloater();
221
+ } else { hideSmartInputFloater(); }
222
  }//processSmartInput()
223
 
224
  function smartInputMatch(cleanValue, value) {
228
  }//smartInputMatch
229
 
230
  function simplify(s) {
231
+ return s.toLowerCase().replace( /^[ \s\f\t\n\r]+/,'' ).replace( /[ \s\f\t\n\r]+$/,'' );
232
+ // .replace(/[�,�,�,�,\u00E9,\u00E8,\u00EA,\u00EB]/gi,"e").replace(/[�,�,\u00E0,\u00E2]/gi,"a").
233
  }//simplify
234
 
235
  function getUserInputToMatch(s) {
236
+ a = s;
237
+ fields = s.split( "," );
238
+ if (fields.length > 0) { a = fields[fields.length - 1]; }
239
+ return a;
240
  }//getUserInputToMatch
241
 
242
  function getUserInputBase() {
243
+ s = siw.inputBox.value;
244
+ a = s;
245
+ if ((lastComma = s.lastIndexOf( "," )) != -1) {
246
+ a = a.replace( /^(.*\,[ \r\n\t\f\s]*).*$/i,'$1' );
247
+ } else { a = ""; }
248
+ return a;
 
 
249
  }//getUserInputBase()
250
 
251
  function runMatchingLogic(userInput, standalone) {
252
+ userInput = simplify( userInput );
253
+ uifc = userInput.charAt( 0 ).toLowerCase();
254
+ if (uifc == '"') { uifc = (n = userInput.charAt( 1 )) ? n.toLowerCase() : "z"; }
255
+ if (standalone) { userInput = uifc; }
256
+ if (siw) { siw.matchCollection = new Array(); }
257
  pointerToCollectionToUse = collection;
258
+ if (siw && siw.revisedCollection && (siw.revisedCollection.length > 0) && siw.lastUserInput && (userInput.indexOf( siw.lastUserInput ) == 0)) {
259
  pointerToCollectionToUse = siw.revisedCollection;
260
  } else if (collectionIndex[userInput] && (collectionIndex[userInput].length > 0)) {
261
  pointerToCollectionToUse = collectionIndex[userInput];
262
  } else if (collectionIndex[uifc] && (collectionIndex[uifc].length > 0)) {
263
  pointerToCollectionToUse = collectionIndex[uifc];
264
+ } else if (siw && (userInput.length == 1) && ( ! collectionIndex[uifc])) {
265
  siw.buildIndex = true;
266
  } else if (siw) {
267
  siw.buildIndex = false;
268
  }
269
+
270
  tempCollection = new Array();
271
 
272
+ re1m = new RegExp( "^([ \"\>\<\-]*)(" + userInput + ")","i" );
273
+ re2m = new RegExp( "([ \"\>\<\-]+)(" + userInput + ")","i" );
274
+ re1 = new RegExp( "^([ \"\}\{\-]*)(" + userInput + ")","gi" );
275
+ re2 = new RegExp( "([ \"\}\{\-]+)(" + userInput + ")","gi" );
276
+
277
+ for (i = 0,j = 0;(i < pointerToCollectionToUse.length);i++) {
278
+ displayMatches = (( ! standalone) && (j < siw.MAX_MATCHES));
279
  entry = pointerToCollectionToUse[i];
280
+ mEntry = simplify( entry );
281
+ if ( ! standalone && (mEntry.indexOf( userInput ) == 0)) {
282
+ userInput = userInput.replace( /\>/gi,'\\}' ).replace( /\< ?/gi,'\\{' );
283
+ re = new RegExp( "(" + userInput + ")","i" );
284
  if (displayMatches) {
285
+ siw.matchCollection[j] = new smartInputMatch( entry, mEntry.replace( /\>/gi,'}' ).replace( /\< ?/gi,'{' ).replace( re,"<b>$1</b>" ) );
286
  }
287
  tempCollection[j] = entry;
288
+ j++;
289
+ } else if (mEntry.match( re1m ) || mEntry.match( re2m )) {
290
+ if ( ! standalone && displayMatches) {
291
+ siw.matchCollection[j] = new smartInputMatch( entry, mEntry.replace( /\>/gi,'}' ).replace( /\</gi,'{' ).replace( re1,"$1<b>$2</b>" ).replace( re2,"$1<b>$2</b>" ) );
292
  }
293
  tempCollection[j] = entry;
294
  j++;
296
  }//loop thru collection
297
  if (siw) {
298
  siw.lastUserInput = userInput;
299
+ siw.revisedCollection = tempCollection.join( "," ).split( "," );
300
+ collectionIndex[userInput] = tempCollection.join( "," ).split( "," );
301
  }
302
  if (standalone || siw.buildIndex) {
303
+ collectionIndex[uifc] = tempCollection.join( "," ).split( "," );
304
+ if (siw) { siw.buildIndex = false; }
305
  }
306
  }//runMatchingLogic
307
 
308
  function setSmartInputData() {
309
+ if (siw) {
310
+ orgUserInput = siw.inputBox.value;
311
+ orgUserInput = getUserInputToMatch( orgUserInput );
312
+ userInput = orgUserInput.toLowerCase().replace( /[\r\n\t\f\s]+/gi,' ' ).replace( /^ +/gi,'' ).replace( / +$/gi,'' ).replace( / +/gi,' ' ).replace( /\\/gi,'' ).replace( /\[/gi,'' ).replace( /\(/gi,'' ).replace( /\./gi,'\.' ).replace( /\?/gi,'' );
313
+ if (userInput && (userInput != "") && (userInput != '"')) {
314
+ runMatchingLogic( userInput );
315
+ } //if userinput not blank and is meaningful
316
+ else {
317
+ siw.matchCollection = null;
318
+ }
319
+ }//siw exists ... uhmkaaayyyyy
320
  }//setSmartInputData
321
 
322
  function getSmartInputBoxContent() {
323
+ a = null;
324
+ if (siw && siw.matchCollection && (siw.matchCollection.length > 0)) {
325
+ a = '';
326
+ for (i = 0;i < siw.matchCollection.length; i++) {
327
+ selectedString = siw.matchCollection[i].isSelected ? ' selectedSmartInputItem' : '';
328
+ a += '<p class="matchedSmartInputItem' + selectedString + '">' + siw.matchCollection[i].value.replace( /\{ */gi,"&lt;" ).replace( /\} */gi,"&gt;" ) + '</p>';
329
+ }//
330
+ }//siw exists
331
+ return a;
332
  }//getSmartInputBoxContent
333
 
334
  function modifySmartInputBoxContent(content) {
335
+ // todo: remove credits 'cuz no one gives a shit ;] - done
336
+ siw.floaterContent.innerHTML = '<div id="smartInputResults">' + content + (siw.showCredit ? ('<p class="siwCredit">Powered By: <a target="PhrawgBlog" href="http://chrisholland.blogspot.com/?from=smartinput&ref=' + escape( location.href ) + '">Chris Holland</a></p>') : '') + '</div>';
337
+ siw.matchListDisplay = document.getElementById( "smartInputResults" );
338
  }//modifySmartInputBoxContent()
339
 
340
  function selectFromMouseOver(o) {
341
+ currentIndex = getCurrentlySelectedSmartInputItem();
342
+ if (currentIndex != null) { deSelectSmartInputMatchItem( currentIndex ); }
343
+ newIndex = getIndexFromElement( o );
344
+ selectSmartInputMatchItem( newIndex );
345
+ modifySmartInputBoxContent( getSmartInputBoxContent() );
346
  }//selectFromMouseOver
347
 
348
  function selectFromMouseClick() {
349
+ activateCurrentSmartInputMatch();
350
+ siw.inputBox.focus();
351
+ hideSmartInputFloater();
352
  }//selectFromMouseClick
353
 
354
  function getIndexFromElement(o) {
355
+ index = 0;
356
+ while (o = o.previousSibling) {
357
+ index++;
358
+ }//
359
+ return index;
360
  }//getIndexFromElement
361
 
362
  function getCurrentlySelectedSmartInputItem() {
363
+ answer = null;
364
+ for (i = 0; ((i < siw.matchCollection.length) && ! answer) ; i++) {
365
+ if (siw.matchCollection[i].isSelected) {
366
+ answer = i; }
367
+ }//
368
+ return answer;
369
  }//getCurrentlySelectedSmartInputItem
370
 
371
  function selectSmartInputMatchItem(index) {
377
  }//deSelectSmartInputMatchItem()
378
 
379
  function selectNextSmartInputMatchItem() {
380
+ currentIndex = getCurrentlySelectedSmartInputItem();
381
+ if (currentIndex != null) {
382
+ deSelectSmartInputMatchItem( currentIndex );
383
+ if ((currentIndex + 1) < siw.matchCollection.length) {
384
+ selectSmartInputMatchItem( currentIndex + 1 ); } else { selectSmartInputMatchItem( 0 ); }
385
+ } else {
386
+ selectSmartInputMatchItem( 0 );
387
+ }
388
+ modifySmartInputBoxContent( getSmartInputBoxContent() );
 
 
389
  }//selectNextSmartInputMatchItem
390
 
391
  function selectPreviousSmartInputMatchItem() {
392
+ currentIndex = getCurrentlySelectedSmartInputItem();
393
+ if (currentIndex != null) {
394
+ deSelectSmartInputMatchItem( currentIndex );
395
+ if ((currentIndex - 1) >= 0) {
396
+ selectSmartInputMatchItem( currentIndex - 1 ); } else { selectSmartInputMatchItem( siw.matchCollection.length - 1 ); }
397
+ } else {
398
+ selectSmartInputMatchItem( siw.matchCollection.length - 1 );
399
+ }
400
+ modifySmartInputBoxContent( getSmartInputBoxContent() );
 
 
401
  }//selectPreviousSmartInputMatchItem
402
 
403
  function activateCurrentSmartInputMatch() {
406
  addedValue = siw.matchCollection[selIndex].cleanValue;
407
  theString = (baseValue ? baseValue : "") + addedValue + ", ";
408
  siw.inputBox.value = theString;
409
+ runMatchingLogic( addedValue, true );
410
  }
411
  }//activateCurrentSmartInputMatch
412
 
413
  function smartInputWindow () {
414
  this.customFloater = false;
415
+ this.floater = document.getElementById( "smartInputFloater" );
416
+ this.floaterContent = document.getElementById( "smartInputFloaterContent" );
417
  this.selectedSmartInputItem = null;
418
  this.MAX_MATCHES = 15;
419
+ this.isGecko = (navigator.userAgent.indexOf( "Gecko/200" ) != -1);
420
+ this.isSafari = (navigator.userAgent.indexOf( "Safari" ) != -1);
421
+ this.isWinIE = ((navigator.userAgent.indexOf( "Win" ) != -1 ) && (navigator.userAgent.indexOf( "MSIE" ) != -1 ));
422
  this.showCredit = false;
423
  }//smartInputWindow Object
424
 
425
  function registerSmartInputListeners() {
426
+ inputs = document.getElementsByTagName( "input" );
427
+ texts = document.getElementsByTagName( "textarea" );
428
+ allinputs = new Array();
429
+ z = 0;
430
+ y = 0;
431
+ while (inputs[z]) {
432
+ allinputs[z] = inputs[z];
433
+ z++;
434
+ }//
435
+ while (texts[y]) {
436
+ allinputs[z] = texts[y];
437
+ z++;
438
+ y++;
439
+ }//
440
+
441
+ for (i = 0; i < allinputs.length;i++) {
442
+ if ((c = allinputs[i].className) && (c == "wickEnabled")) {
443
+ allinputs[i].setAttribute( "autocomplete","OFF" );
444
+ allinputs[i].onfocus = handleFocus;
445
+ allinputs[i].onblur = handleBlur;
446
+ allinputs[i].onkeydown = handleKeyDown;
447
+ allinputs[i].onkeyup = handleKeyPress;
448
+ }
449
+ }//loop thru inputs
450
  }//registerSmartInputListeners
451
 
452
  siw = null;
453
 
454
  if (document.addEventListener) {
455
+ document.addEventListener( "keydown", handleKeyDown, false );
456
+ document.addEventListener( "keyup", handleKeyPress, false );
457
+ document.addEventListener( "mouseup", handleClick, false );
458
+ document.addEventListener( "mouseover", handleMouseOver, false );
459
  } else {
460
  document.onkeydown = handleKeyDown;
461
  document.onkeyup = handleKeyPress;
465
 
466
  registerSmartInputListeners();
467
 
468
+ document.write(
469
+ '<table id="smartInputFloater" class="floater" cellpadding="0" cellspacing="0"><tr><td id="smartInputFloaterContent" nowrap="nowrap">'
470
+ + '<\/td><\/tr><\/table>'
471
  );
472
 
473
+ // note: instruct users to the fact that no commas should be present in entries.
474
+ // it would make things insanely messy.
475
+ // this is why i'm filtering commas here:
476
+ for (x = 0;x < collection.length;x++) {
477
+ collection[x] = collection[x].replace( /\,/gi,'' );
478
  }//
479
 
480
  collectionIndex = new Array();
481
 
482
  ds = "";
483
  function debug(s) {
484
+ ds += ( s + "\n");
485
  }
css/default-style.css CHANGED
@@ -60,4 +60,4 @@ img.tptn_thumb:after {
60
 
61
  .tptn_excerpt {
62
  display: block;
63
- }
60
 
61
  .tptn_excerpt {
62
  display: block;
63
+ }
css/index.php CHANGED
@@ -1 +1 @@
1
- <?php // Silence is golden
1
+ <?php // Silence is golden
includes/class-top-10-widget.php CHANGED
@@ -28,8 +28,8 @@ class Top_Ten_Widget extends WP_Widget {
28
  function __construct() {
29
  parent::__construct(
30
  'widget_tptn_pop', // Base ID
31
- __( 'Popular Posts [Top 10]', 'tptn' ), // Name
32
- array( 'description' => __( 'Display popular posts', 'tptn' ), ) // Args
33
  );
34
  }
35
 
@@ -68,76 +68,76 @@ class Top_Ten_Widget extends WP_Widget {
68
  ?>
69
  <p>
70
  <label for="<?php echo $this->get_field_id( 'title' ); ?>">
71
- <?php _e( 'Title', 'tptn' ); ?>: <input class="widefat" id="<?php echo $this->get_field_id( 'title' ); ?>" name="<?php echo $this->get_field_name( 'title' ); ?>" type="text" value="<?php echo esc_attr( $title ); ?>" />
72
  </label>
73
  </p>
74
  <p>
75
  <label for="<?php echo $this->get_field_id( 'limit' ); ?>">
76
- <?php _e( 'No. of posts', 'tptn' ); ?>: <input class="widefat" id="<?php echo $this->get_field_id( 'limit' ); ?>" name="<?php echo $this->get_field_name( 'limit' ); ?>" type="text" value="<?php echo esc_attr( $limit ); ?>" />
77
  </label>
78
  </p>
79
  <p>
80
  <select class="widefat" id="<?php echo $this->get_field_id( 'daily' ); ?>" name="<?php echo $this->get_field_name( 'daily' ); ?>">
81
- <option value="overall" <?php if ( 'overall' == $daily ) echo 'selected="selected"' ?>><?php _e( 'Overall', 'tptn' ); ?></option>
82
- <option value="daily" <?php if ( 'daily' == $daily ) echo 'selected="selected"' ?>><?php _e( 'Custom time period (Enter below)', 'tptn' ); ?></option>
83
  </select>
84
  </p>
85
  <p>
86
- <?php _e( 'In days and hours (applies only to custom option above)', 'tptn' ); ?>:
87
  <label for="<?php echo $this->get_field_id( 'daily_range' ); ?>">
88
- <input class="widefat" id="<?php echo $this->get_field_id( 'daily_range' ); ?>" name="<?php echo $this->get_field_name( 'daily_range' ); ?>" type="text" value="<?php echo esc_attr( $daily_range ); ?>" /> <?php _e( 'days', 'tptn' ); ?>
89
  </label>
90
  <label for="<?php echo $this->get_field_id( 'hour_range' ); ?>">
91
- <input class="widefat" id="<?php echo $this->get_field_id( 'hour_range' ); ?>" name="<?php echo $this->get_field_name( 'hour_range' ); ?>" type="text" value="<?php echo esc_attr( $hour_range ); ?>" /> <?php _e( 'hours', 'tptn' ); ?>
92
  </label>
93
  </p>
94
  <p>
95
  <label for="<?php echo $this->get_field_id( 'disp_list_count' ); ?>">
96
- <input id="<?php echo $this->get_field_id( 'disp_list_count' ); ?>" name="<?php echo $this->get_field_name( 'disp_list_count' ); ?>" type="checkbox" <?php if ( $disp_list_count ) echo 'checked="checked"' ?> /> <?php _e( 'Show count?', 'tptn' ); ?>
97
  </label>
98
  </p>
99
  <p>
100
  <label for="<?php echo $this->get_field_id( 'show_excerpt' ); ?>">
101
- <input id="<?php echo $this->get_field_id( 'show_excerpt' ); ?>" name="<?php echo $this->get_field_name( 'show_excerpt' ); ?>" type="checkbox" <?php if ( $show_excerpt ) echo 'checked="checked"' ?> /> <?php _e( 'Show excerpt?', 'tptn' ); ?>
102
  </label>
103
  </p>
104
  <p>
105
  <label for="<?php echo $this->get_field_id( 'show_author' ); ?>">
106
- <input id="<?php echo $this->get_field_id( 'show_author' ); ?>" name="<?php echo $this->get_field_name( 'show_author' ); ?>" type="checkbox" <?php if ( $show_author ) echo 'checked="checked"' ?> /> <?php _e( 'Show author?', 'tptn' ); ?>
107
  </label>
108
  </p>
109
  <p>
110
  <label for="<?php echo $this->get_field_id( 'show_date' ); ?>">
111
- <input id="<?php echo $this->get_field_id( 'show_date' ); ?>" name="<?php echo $this->get_field_name( 'show_date' ); ?>" type="checkbox" <?php if ( $show_date ) echo 'checked="checked"' ?> /> <?php _e( 'Show date?', 'tptn' ); ?>
112
  </label>
113
  </p>
114
  <p>
115
- <?php _e( 'Thumbnail options', 'tptn' ); ?>: <br />
116
  <select class="widefat" id="<?php echo $this->get_field_id( 'post_thumb_op' ); ?>" name="<?php echo $this->get_field_name( 'post_thumb_op' ); ?>">
117
- <option value="inline" <?php if ( 'inline' == $post_thumb_op ) echo 'selected="selected"' ?>><?php _e( 'Thumbnails inline, before title','tptn' ); ?></option>
118
- <option value="after" <?php if ( 'after' == $post_thumb_op ) echo 'selected="selected"' ?>><?php _e( 'Thumbnails inline, after title','tptn' ); ?></option>
119
- <option value="thumbs_only" <?php if ( 'thumbs_only' == $post_thumb_op ) echo 'selected="selected"' ?>><?php _e( 'Only thumbnails, no text','tptn' ); ?></option>
120
- <option value="text_only" <?php if ( 'text_only' == $post_thumb_op ) echo 'selected="selected"' ?>><?php _e( 'No thumbnails, only text.','tptn' ); ?></option>
121
  </select>
122
  </p>
123
  <p>
124
  <label for="<?php echo $this->get_field_id( 'thumb_height' ); ?>">
125
- <?php _e( 'Thumbnail height', 'tptn' ); ?>:
126
- <input class="widefat" id="<?php echo $this->get_field_id( 'thumb_height' ); ?>" name="<?php echo $this->get_field_name( 'thumb_height' ); ?>" type="text" value="<?php echo esc_attr($thumb_height); ?>" />
127
  </label>
128
  </p>
129
  <p>
130
  <label for="<?php echo $this->get_field_id( 'thumb_width' ); ?>">
131
- <?php _e( 'Thumbnail width', 'tptn' ); ?>:
132
  <input class="widefat" id="<?php echo $this->get_field_id( 'thumb_width' ); ?>" name="<?php echo $this->get_field_name( 'thumb_width' ); ?>" type="text" value="<?php echo esc_attr( $thumb_width ); ?>" />
133
  </label>
134
  </p>
135
- <p><?php _e( 'Post types to include:', 'tptn' ); ?><br />
136
 
137
  <?php foreach ( $wp_post_types as $wp_post_type ) { ?>
138
 
139
  <label>
140
- <input id="<?php echo $this->get_field_id( 'post_types' ); ?>" name="<?php echo $this->get_field_name( 'post_types' ); ?>[]" type="checkbox" value="<?php echo $wp_post_type; ?>" <?php if ( in_array( $wp_post_type, $posts_types_inc ) ) echo 'checked="checked"' ?> />
141
  <?php echo $wp_post_type; ?>
142
  </label>
143
  <br />
@@ -216,7 +216,7 @@ class Top_Ten_Widget extends WP_Widget {
216
  // Get the post meta
217
  $tptn_post_meta = get_post_meta( $post->ID, 'tptn_post_meta', true );
218
 
219
- if ( isset( $tptn_post_meta['disable_here'] ) && ( 1 == $tptn_post_meta['disable_here'] ) ) return;
220
 
221
  $title = apply_filters( 'widget_title', empty( $instance['title'] ) ? strip_tags( $tptn_settings['title'] ) : $instance['title'] );
222
 
@@ -228,7 +228,7 @@ class Top_Ten_Widget extends WP_Widget {
228
  $daily_range = ( empty( $instance['daily_range'] ) ) ? $tptn_settings['daily_range'] : $instance['daily_range'];
229
  $hour_range = ( empty( $instance['hour_range'] ) ) ? $tptn_settings['hour_range'] : $instance['hour_range'];
230
 
231
- $daily = ( isset( $instance['daily'] ) && ( "daily" == $instance['daily'] ) ) ? true : false;
232
 
233
  $output = $args['before_widget'];
234
  $output .= $args['before_title'] . $title . $args['after_title'];
@@ -282,7 +282,6 @@ class Top_Ten_Widget extends WP_Widget {
282
 
283
  /**
284
  * Initialise the widget.
285
- *
286
  */
287
  function tptn_register_widget() {
288
  register_widget( 'Top_Ten_Widget' );
28
  function __construct() {
29
  parent::__construct(
30
  'widget_tptn_pop', // Base ID
31
+ __( 'Popular Posts [Top 10]', 'top-10' ), // Name
32
+ array( 'description' => __( 'Display popular posts', 'top-10' ) ) // Args
33
  );
34
  }
35
 
68
  ?>
69
  <p>
70
  <label for="<?php echo $this->get_field_id( 'title' ); ?>">
71
+ <?php _e( 'Title', 'top-10' ); ?>: <input class="widefat" id="<?php echo $this->get_field_id( 'title' ); ?>" name="<?php echo $this->get_field_name( 'title' ); ?>" type="text" value="<?php echo esc_attr( $title ); ?>" />
72
  </label>
73
  </p>
74
  <p>
75
  <label for="<?php echo $this->get_field_id( 'limit' ); ?>">
76
+ <?php _e( 'No. of posts', 'top-10' ); ?>: <input class="widefat" id="<?php echo $this->get_field_id( 'limit' ); ?>" name="<?php echo $this->get_field_name( 'limit' ); ?>" type="text" value="<?php echo esc_attr( $limit ); ?>" />
77
  </label>
78
  </p>
79
  <p>
80
  <select class="widefat" id="<?php echo $this->get_field_id( 'daily' ); ?>" name="<?php echo $this->get_field_name( 'daily' ); ?>">
81
+ <option value="overall" <?php if ( 'overall' == $daily ) { echo 'selected="selected"'; } ?>><?php _e( 'Overall', 'top-10' ); ?></option>
82
+ <option value="daily" <?php if ( 'daily' == $daily ) { echo 'selected="selected"'; } ?>><?php _e( 'Custom time period (Enter below)', 'top-10' ); ?></option>
83
  </select>
84
  </p>
85
  <p>
86
+ <?php _e( 'In days and hours (applies only to custom option above)', 'top-10' ); ?>:
87
  <label for="<?php echo $this->get_field_id( 'daily_range' ); ?>">
88
+ <input class="widefat" id="<?php echo $this->get_field_id( 'daily_range' ); ?>" name="<?php echo $this->get_field_name( 'daily_range' ); ?>" type="text" value="<?php echo esc_attr( $daily_range ); ?>" /> <?php _e( 'days', 'top-10' ); ?>
89
  </label>
90
  <label for="<?php echo $this->get_field_id( 'hour_range' ); ?>">
91
+ <input class="widefat" id="<?php echo $this->get_field_id( 'hour_range' ); ?>" name="<?php echo $this->get_field_name( 'hour_range' ); ?>" type="text" value="<?php echo esc_attr( $hour_range ); ?>" /> <?php _e( 'hours', 'top-10' ); ?>
92
  </label>
93
  </p>
94
  <p>
95
  <label for="<?php echo $this->get_field_id( 'disp_list_count' ); ?>">
96
+ <input id="<?php echo $this->get_field_id( 'disp_list_count' ); ?>" name="<?php echo $this->get_field_name( 'disp_list_count' ); ?>" type="checkbox" <?php if ( $disp_list_count ) { echo 'checked="checked"'; } ?> /> <?php _e( 'Show count?', 'top-10' ); ?>
97
  </label>
98
  </p>
99
  <p>
100
  <label for="<?php echo $this->get_field_id( 'show_excerpt' ); ?>">
101
+ <input id="<?php echo $this->get_field_id( 'show_excerpt' ); ?>" name="<?php echo $this->get_field_name( 'show_excerpt' ); ?>" type="checkbox" <?php if ( $show_excerpt ) { echo 'checked="checked"'; } ?> /> <?php _e( 'Show excerpt?', 'top-10' ); ?>
102
  </label>
103
  </p>
104
  <p>
105
  <label for="<?php echo $this->get_field_id( 'show_author' ); ?>">
106
+ <input id="<?php echo $this->get_field_id( 'show_author' ); ?>" name="<?php echo $this->get_field_name( 'show_author' ); ?>" type="checkbox" <?php if ( $show_author ) { echo 'checked="checked"'; } ?> /> <?php _e( 'Show author?', 'top-10' ); ?>
107
  </label>
108
  </p>
109
  <p>
110
  <label for="<?php echo $this->get_field_id( 'show_date' ); ?>">
111
+ <input id="<?php echo $this->get_field_id( 'show_date' ); ?>" name="<?php echo $this->get_field_name( 'show_date' ); ?>" type="checkbox" <?php if ( $show_date ) { echo 'checked="checked"'; } ?> /> <?php _e( 'Show date?', 'top-10' ); ?>
112
  </label>
113
  </p>
114
  <p>
115
+ <?php _e( 'Thumbnail options', 'top-10' ); ?>: <br />
116
  <select class="widefat" id="<?php echo $this->get_field_id( 'post_thumb_op' ); ?>" name="<?php echo $this->get_field_name( 'post_thumb_op' ); ?>">
117
+ <option value="inline" <?php if ( 'inline' == $post_thumb_op ) { echo 'selected="selected"'; } ?>><?php _e( 'Thumbnails inline, before title','top-10' ); ?></option>
118
+ <option value="after" <?php if ( 'after' == $post_thumb_op ) { echo 'selected="selected"'; } ?>><?php _e( 'Thumbnails inline, after title','top-10' ); ?></option>
119
+ <option value="thumbs_only" <?php if ( 'thumbs_only' == $post_thumb_op ) { echo 'selected="selected"'; } ?>><?php _e( 'Only thumbnails, no text','top-10' ); ?></option>
120
+ <option value="text_only" <?php if ( 'text_only' == $post_thumb_op ) { echo 'selected="selected"'; } ?>><?php _e( 'No thumbnails, only text.','top-10' ); ?></option>
121
  </select>
122
  </p>
123
  <p>
124
  <label for="<?php echo $this->get_field_id( 'thumb_height' ); ?>">
125
+ <?php _e( 'Thumbnail height', 'top-10' ); ?>:
126
+ <input class="widefat" id="<?php echo $this->get_field_id( 'thumb_height' ); ?>" name="<?php echo $this->get_field_name( 'thumb_height' ); ?>" type="text" value="<?php echo esc_attr( $thumb_height ); ?>" />
127
  </label>
128
  </p>
129
  <p>
130
  <label for="<?php echo $this->get_field_id( 'thumb_width' ); ?>">
131
+ <?php _e( 'Thumbnail width', 'top-10' ); ?>:
132
  <input class="widefat" id="<?php echo $this->get_field_id( 'thumb_width' ); ?>" name="<?php echo $this->get_field_name( 'thumb_width' ); ?>" type="text" value="<?php echo esc_attr( $thumb_width ); ?>" />
133
  </label>
134
  </p>
135
+ <p><?php _e( 'Post types to include:', 'top-10' ); ?><br />
136
 
137
  <?php foreach ( $wp_post_types as $wp_post_type ) { ?>
138
 
139
  <label>
140
+ <input id="<?php echo $this->get_field_id( 'post_types' ); ?>" name="<?php echo $this->get_field_name( 'post_types' ); ?>[]" type="checkbox" value="<?php echo $wp_post_type; ?>" <?php if ( in_array( $wp_post_type, $posts_types_inc ) ) { echo 'checked="checked"'; } ?> />
141
  <?php echo $wp_post_type; ?>
142
  </label>
143
  <br />
216
  // Get the post meta
217
  $tptn_post_meta = get_post_meta( $post->ID, 'tptn_post_meta', true );
218
 
219
+ if ( isset( $tptn_post_meta['disable_here'] ) && ( 1 == $tptn_post_meta['disable_here'] ) ) { return; }
220
 
221
  $title = apply_filters( 'widget_title', empty( $instance['title'] ) ? strip_tags( $tptn_settings['title'] ) : $instance['title'] );
222
 
228
  $daily_range = ( empty( $instance['daily_range'] ) ) ? $tptn_settings['daily_range'] : $instance['daily_range'];
229
  $hour_range = ( empty( $instance['hour_range'] ) ) ? $tptn_settings['hour_range'] : $instance['hour_range'];
230
 
231
+ $daily = ( isset( $instance['daily'] ) && ( 'daily' == $instance['daily'] ) ) ? true : false;
232
 
233
  $output = $args['before_widget'];
234
  $output .= $args['before_title'] . $title . $args['after_title'];
282
 
283
  /**
284
  * Initialise the widget.
 
285
  */
286
  function tptn_register_widget() {
287
  register_widget( 'Top_Ten_Widget' );
includes/counter.php CHANGED
@@ -11,13 +11,13 @@
11
  *
12
  * @since 1.0
13
  *
14
- * @param string $content Post content
15
  * @return string Filtered content
16
  */
17
  function tptn_add_viewed_count( $content ) {
18
  global $post, $wpdb, $single, $tptn_url, $tptn_path, $tptn_settings;
19
 
20
- $table_name = $wpdb->base_prefix . "top_ten";
21
 
22
  $home_url = home_url( '/' );
23
 
@@ -62,7 +62,7 @@ function tptn_add_viewed_count( $content ) {
62
  if ( $tptn_settings['cache_fix'] ) {
63
  $output = '<script type="text/javascript">jQuery.ajax({url: "' . $home_url . '", data: {top_ten_id: ' . $id . ', top_ten_blog_id: ' . $blog_id . ', activate_counter: ' . $activate_counter . ', top10_rnd: (new Date()).getTime() + "-" + Math.floor(Math.random()*100000)}});</script>';
64
  } else {
65
- $output = '<script type="text/javascript" async src="' . $home_url . '?top_ten_id=' . $id . '&top_ten_blog_id=' . $blog_id . '&activate_counter=' . $activate_counter . '"></script>';
66
  }
67
  }
68
 
@@ -90,7 +90,6 @@ add_filter( 'the_content', 'tptn_add_viewed_count' );
90
  * Enqueue Scripts.
91
  *
92
  * @since 1.9.7
93
- *
94
  */
95
  function tptn_enqueue_scripts() {
96
  global $tptn_settings;
@@ -107,11 +106,11 @@ add_action( 'wp_enqueue_scripts', 'tptn_enqueue_scripts' ); // wp_enqueue_script
107
  *
108
  * @since 2.0.0
109
  *
110
- * @param array $vars Query variables array
111
  * @return array $Query variables array with Top 10 parameters appended
112
  */
113
  function tptn_query_vars( $vars ) {
114
- //add these to the list of queryvars that WP gathers
115
  $vars[] = 'top_ten_id';
116
  $vars[] = 'top_ten_blog_id';
117
  $vars[] = 'activate_counter';
@@ -126,7 +125,7 @@ add_filter( 'query_vars', 'tptn_query_vars' );
126
  *
127
  * @since 2.0.0
128
  *
129
- * @param object $wp WordPress object
130
  */
131
  function tptn_parse_request( $wp ) {
132
  global $wpdb, $tptn_settings;
@@ -139,8 +138,8 @@ function tptn_parse_request( $wp ) {
139
  return;
140
  }
141
 
142
- $table_name = $wpdb->base_prefix . "top_ten";
143
- $top_ten_daily = $wpdb->base_prefix . "top_ten_daily";
144
  $str = '';
145
 
146
  if ( array_key_exists( 'top_ten_id', $wp->query_vars ) && array_key_exists( 'activate_counter', $wp->query_vars ) && $wp->query_vars['top_ten_id'] != '' ) {
@@ -155,7 +154,7 @@ function tptn_parse_request( $wp ) {
155
 
156
  $tt = $wpdb->query( $wpdb->prepare( "INSERT INTO {$table_name} (postnumber, cntaccess, blog_id) VALUES('%d', '1', '%d') ON DUPLICATE KEY UPDATE cntaccess= cntaccess+1 ", $id, $blog_id ) );
157
 
158
- $str .= ( FALSE === $tt ) ? 'tte' : 'tt' . $tt;
159
  }
160
 
161
  if ( ( 10 == $activate_counter ) || ( 11 == $activate_counter ) ) {
@@ -164,13 +163,13 @@ function tptn_parse_request( $wp ) {
164
 
165
  $ttd = $wpdb->query( $wpdb->prepare( "INSERT INTO {$top_ten_daily} (postnumber, cntaccess, dp_date, blog_id) VALUES('%d', '1', '%s', '%d' ) ON DUPLICATE KEY UPDATE cntaccess= cntaccess+1 ", $id, $current_date, $blog_id ) );
166
 
167
- $str .= ( FALSE === $ttd ) ? ' ttde' : ' ttd' . $ttd;
168
  }
169
  }
170
- Header( "content-type: application/x-javascript" );
171
  echo '<!-- ' . $str . ' -->';
172
 
173
- //stop anything else from loading as it is not needed.
174
  exit;
175
 
176
  } elseif ( array_key_exists( 'top_ten_id', $wp->query_vars ) && array_key_exists( 'view_counter', $wp->query_vars ) && $wp->query_vars['top_ten_id'] != '' ) {
@@ -181,13 +180,12 @@ function tptn_parse_request( $wp ) {
181
 
182
  $output = get_tptn_post_count( $id );
183
 
184
- Header( "content-type: application/x-javascript" );
185
  echo 'document.write("' . $output . '")';
186
 
187
- //stop anything else from loading as it is not needed.
188
  exit;
189
  }
190
-
191
  } else {
192
  return;
193
  }
@@ -199,7 +197,7 @@ add_action( 'parse_request', 'tptn_parse_request' );
199
  * Function to add the viewed count to the post content. Filters `the_content`.
200
  *
201
  * @since 1.0
202
- * @param string $content Post content
203
  * @return string Filtered post content
204
  */
205
  function tptn_pc_content( $content ) {
@@ -215,13 +213,13 @@ function tptn_pc_content( $content ) {
215
  return $content . echo_tptn_post_count( 0 );
216
  } elseif ( ( is_page() ) && ( $tptn_settings['count_on_pages'] ) ) {
217
  return $content . echo_tptn_post_count( 0 );
218
- } elseif ( ( is_home() ) && ( $tptn_settings['add_to_home'] ) ) {
219
  return $content . echo_tptn_post_count( 0 );
220
- } elseif ( ( is_category() ) && ( $tptn_settings['add_to_category_archives'] ) ) {
221
  return $content . echo_tptn_post_count( 0 );
222
- } elseif ( ( is_tag() ) && ( $tptn_settings['add_to_tag_archives'] ) ) {
223
  return $content . echo_tptn_post_count( 0 );
224
- } elseif ( ( ( is_tax() ) || ( is_author() ) || ( is_date() ) ) && ( $tptn_settings['add_to_archives'] ) ) {
225
  return $content . echo_tptn_post_count( 0 );
226
  } else {
227
  return $content;
@@ -235,7 +233,7 @@ add_filter( 'the_content', 'tptn_pc_content' );
235
  *
236
  * @since 1.9.8
237
  *
238
- * @param string $content Post content
239
  * @return string Filtered post content
240
  */
241
  function tptn_rss_filter( $content ) {
@@ -244,10 +242,10 @@ function tptn_rss_filter( $content ) {
244
  $id = intval( $post->ID );
245
 
246
  if ( $tptn_settings['add_to_feed'] ) {
247
- return $content . '<div class="tptn_counter" id="tptn_counter_' . $id . '">' . get_tptn_post_count( $id ) . '</div>';
248
- } else {
249
- return $content;
250
- }
251
  }
252
  add_filter( 'the_excerpt_rss', 'tptn_rss_filter' );
253
  add_filter( 'the_content_feed', 'tptn_rss_filter' );
@@ -279,10 +277,10 @@ function echo_tptn_post_count( $echo = 1 ) {
279
  $id = intval( $post->ID );
280
 
281
  $nonce_action = 'tptn-nonce-' . $id ;
282
- $nonce = wp_create_nonce( $nonce_action );
283
 
284
  if ( $tptn_settings['dynamic_post_count'] ) {
285
- $output = '<div class="tptn_counter" id="tptn_counter_' . $id . '"><script type="text/javascript" data-cfasync="false" src="' . $home_url . '?top_ten_id='.$id.'&view_counter=1&_wpnonce=' . $nonce . '"></script></div>';
286
  } else {
287
  $output = '<div class="tptn_counter" id="tptn_counter_' . $id . '">' . get_tptn_post_count( $id ) . '</div>';
288
  }
@@ -308,15 +306,15 @@ function echo_tptn_post_count( $echo = 1 ) {
308
  * Return the formatted post count for the supplied ID.
309
  *
310
  * @since 1.9.2
311
- * @param int|string $id Post ID
312
- * @param int|string $blog_id Blog ID
313
  * @return int|string Formatted post count
314
  */
315
- function get_tptn_post_count( $id = FALSE, $blog_id = FALSE ) {
316
  global $wpdb, $tptn_settings;
317
 
318
- $table_name = $wpdb->base_prefix . "top_ten";
319
- $table_name_daily = $wpdb->base_prefix . "top_ten_daily";
320
 
321
  $count_disp_form = stripslashes( $tptn_settings['count_disp_form'] );
322
  $count_disp_form_zero = stripslashes( $tptn_settings['count_disp_form_zero'] );
@@ -325,31 +323,31 @@ function get_tptn_post_count( $id = FALSE, $blog_id = FALSE ) {
325
  if ( $id > 0 ) {
326
 
327
  // Total count per post
328
- if ( ( false !== strpos( $count_disp_form, "%totalcount%" ) ) || ( false !== strpos( $count_disp_form_zero, "%totalcount%" ) ) ) {
329
  if ( ( 0 == $totalcntaccess ) && ( ! is_singular() ) ) {
330
- $count_disp_form_zero = str_replace( "%totalcount%", $totalcntaccess, $count_disp_form_zero );
331
  } else {
332
- $count_disp_form = str_replace( "%totalcount%", ( 0 == $totalcntaccess ? $totalcntaccess + 1 : $totalcntaccess ), $count_disp_form );
333
  }
334
  }
335
 
336
  // Now process daily count
337
- if ( ( false !== strpos( $count_disp_form, "%dailycount%" ) ) || ( false !== strpos( $count_disp_form_zero, "%dailycount%" ) ) ) {
338
  $cntaccess = get_tptn_post_count_only( $id, 'daily' );
339
  if ( ( 0 == $totalcntaccess ) && ( ! is_singular() ) ) {
340
- $count_disp_form_zero = str_replace( "%dailycount%", $cntaccess, $count_disp_form_zero );
341
  } else {
342
- $count_disp_form = str_replace( "%dailycount%", ( 0 == $cntaccess ? $cntaccess + 1 : $cntaccess ), $count_disp_form );
343
  }
344
  }
345
 
346
  // Now process overall count
347
- if ( ( false !== strpos( $count_disp_form, "%overallcount%" ) ) || ( false !== strpos( $count_disp_form_zero, "%overallcount%" ) ) ) {
348
  $cntaccess = get_tptn_post_count_only( $id, 'overall' );
349
  if ( ( 0 == $cntaccess ) && ( ! is_singular() ) ) {
350
- $count_disp_form_zero = str_replace( "%overallcount%", $cntaccess, $count_disp_form_zero );
351
  } else {
352
- $count_disp_form = str_replace( "%overallcount%", ( 0 == $cntaccess ? $cntaccess + 1 : $cntaccess ), $count_disp_form );
353
  }
354
  }
355
 
@@ -369,15 +367,15 @@ function get_tptn_post_count( $id = FALSE, $blog_id = FALSE ) {
369
  *
370
  * @since 1.9.8.5
371
  *
372
- * @param mixed $id Post ID
373
- * @param string $count Which count to return? total, daily or overall
374
  * @return int Post count
375
  */
376
- function get_tptn_post_count_only( $id = FALSE, $count = 'total', $blog_id = FALSE ) {
377
  global $wpdb, $tptn_settings;
378
 
379
- $table_name = $wpdb->base_prefix . "top_ten";
380
- $table_name_daily = $wpdb->base_prefix . "top_ten_daily";
381
 
382
  if ( empty( $blog_id ) ) {
383
  $blog_id = get_current_blog_id();
@@ -407,7 +405,7 @@ function get_tptn_post_count_only( $id = FALSE, $count = 'total', $blog_id = FAL
407
  $cntaccess = number_format_i18n( ( ( $resultscount ) ? $resultscount->sumCount : 0 ) );
408
  break;
409
  case 'overall':
410
- $resultscount = $wpdb->get_row( "SELECT SUM(cntaccess) as sumCount FROM " . $table_name );
411
  $cntaccess = number_format_i18n( ( ( $resultscount ) ? $resultscount->sumCount : 0 ) );
412
  break;
413
  }
@@ -416,5 +414,3 @@ function get_tptn_post_count_only( $id = FALSE, $count = 'total', $blog_id = FAL
416
  return 0;
417
  }
418
  }
419
-
420
-
11
  *
12
  * @since 1.0
13
  *
14
+ * @param string $content Post content
15
  * @return string Filtered content
16
  */
17
  function tptn_add_viewed_count( $content ) {
18
  global $post, $wpdb, $single, $tptn_url, $tptn_path, $tptn_settings;
19
 
20
+ $table_name = $wpdb->base_prefix . 'top_ten';
21
 
22
  $home_url = home_url( '/' );
23
 
62
  if ( $tptn_settings['cache_fix'] ) {
63
  $output = '<script type="text/javascript">jQuery.ajax({url: "' . $home_url . '", data: {top_ten_id: ' . $id . ', top_ten_blog_id: ' . $blog_id . ', activate_counter: ' . $activate_counter . ', top10_rnd: (new Date()).getTime() + "-" + Math.floor(Math.random()*100000)}});</script>';
64
  } else {
65
+ $output = '<script type="text/javascript" async src="' . $home_url . '?top_ten_id=' . $id . '&amp;top_ten_blog_id=' . $blog_id . '&amp;activate_counter=' . $activate_counter . '"></script>';
66
  }
67
  }
68
 
90
  * Enqueue Scripts.
91
  *
92
  * @since 1.9.7
 
93
  */
94
  function tptn_enqueue_scripts() {
95
  global $tptn_settings;
106
  *
107
  * @since 2.0.0
108
  *
109
+ * @param array $vars Query variables array
110
  * @return array $Query variables array with Top 10 parameters appended
111
  */
112
  function tptn_query_vars( $vars ) {
113
+ // add these to the list of queryvars that WP gathers
114
  $vars[] = 'top_ten_id';
115
  $vars[] = 'top_ten_blog_id';
116
  $vars[] = 'activate_counter';
125
  *
126
  * @since 2.0.0
127
  *
128
+ * @param object $wp WordPress object
129
  */
130
  function tptn_parse_request( $wp ) {
131
  global $wpdb, $tptn_settings;
138
  return;
139
  }
140
 
141
+ $table_name = $wpdb->base_prefix . 'top_ten';
142
+ $top_ten_daily = $wpdb->base_prefix . 'top_ten_daily';
143
  $str = '';
144
 
145
  if ( array_key_exists( 'top_ten_id', $wp->query_vars ) && array_key_exists( 'activate_counter', $wp->query_vars ) && $wp->query_vars['top_ten_id'] != '' ) {
154
 
155
  $tt = $wpdb->query( $wpdb->prepare( "INSERT INTO {$table_name} (postnumber, cntaccess, blog_id) VALUES('%d', '1', '%d') ON DUPLICATE KEY UPDATE cntaccess= cntaccess+1 ", $id, $blog_id ) );
156
 
157
+ $str .= ( false === $tt ) ? 'tte' : 'tt' . $tt;
158
  }
159
 
160
  if ( ( 10 == $activate_counter ) || ( 11 == $activate_counter ) ) {
163
 
164
  $ttd = $wpdb->query( $wpdb->prepare( "INSERT INTO {$top_ten_daily} (postnumber, cntaccess, dp_date, blog_id) VALUES('%d', '1', '%s', '%d' ) ON DUPLICATE KEY UPDATE cntaccess= cntaccess+1 ", $id, $current_date, $blog_id ) );
165
 
166
+ $str .= ( false === $ttd ) ? ' ttde' : ' ttd' . $ttd;
167
  }
168
  }
169
+ Header( 'content-type: application/x-javascript' );
170
  echo '<!-- ' . $str . ' -->';
171
 
172
+ // stop anything else from loading as it is not needed.
173
  exit;
174
 
175
  } elseif ( array_key_exists( 'top_ten_id', $wp->query_vars ) && array_key_exists( 'view_counter', $wp->query_vars ) && $wp->query_vars['top_ten_id'] != '' ) {
180
 
181
  $output = get_tptn_post_count( $id );
182
 
183
+ Header( 'content-type: application/x-javascript' );
184
  echo 'document.write("' . $output . '")';
185
 
186
+ // stop anything else from loading as it is not needed.
187
  exit;
188
  }
 
189
  } else {
190
  return;
191
  }
197
  * Function to add the viewed count to the post content. Filters `the_content`.
198
  *
199
  * @since 1.0
200
+ * @param string $content Post content
201
  * @return string Filtered post content
202
  */
203
  function tptn_pc_content( $content ) {
213
  return $content . echo_tptn_post_count( 0 );
214
  } elseif ( ( is_page() ) && ( $tptn_settings['count_on_pages'] ) ) {
215
  return $content . echo_tptn_post_count( 0 );
216
+ } elseif ( ( is_home() ) && ( $tptn_settings['add_to_home'] ) ) {
217
  return $content . echo_tptn_post_count( 0 );
218
+ } elseif ( ( is_category() ) && ( $tptn_settings['add_to_category_archives'] ) ) {
219
  return $content . echo_tptn_post_count( 0 );
220
+ } elseif ( ( is_tag() ) && ( $tptn_settings['add_to_tag_archives'] ) ) {
221
  return $content . echo_tptn_post_count( 0 );
222
+ } elseif ( ( ( is_tax() ) || ( is_author() ) || ( is_date() ) ) && ( $tptn_settings['add_to_archives'] ) ) {
223
  return $content . echo_tptn_post_count( 0 );
224
  } else {
225
  return $content;
233
  *
234
  * @since 1.9.8
235
  *
236
+ * @param string $content Post content
237
  * @return string Filtered post content
238
  */
239
  function tptn_rss_filter( $content ) {
242
  $id = intval( $post->ID );
243
 
244
  if ( $tptn_settings['add_to_feed'] ) {
245
+ return $content . '<div class="tptn_counter" id="tptn_counter_' . $id . '">' . get_tptn_post_count( $id ) . '</div>';
246
+ } else {
247
+ return $content;
248
+ }
249
  }
250
  add_filter( 'the_excerpt_rss', 'tptn_rss_filter' );
251
  add_filter( 'the_content_feed', 'tptn_rss_filter' );
277
  $id = intval( $post->ID );
278
 
279
  $nonce_action = 'tptn-nonce-' . $id ;
280
+ $nonce = wp_create_nonce( $nonce_action );
281
 
282
  if ( $tptn_settings['dynamic_post_count'] ) {
283
+ $output = '<div class="tptn_counter" id="tptn_counter_' . $id . '"><script type="text/javascript" data-cfasync="false" src="' . $home_url . '?top_ten_id='.$id.'&amp;view_counter=1&amp;_wpnonce=' . $nonce . '"></script></div>';
284
  } else {
285
  $output = '<div class="tptn_counter" id="tptn_counter_' . $id . '">' . get_tptn_post_count( $id ) . '</div>';
286
  }
306
  * Return the formatted post count for the supplied ID.
307
  *
308
  * @since 1.9.2
309
+ * @param int|string $id Post ID
310
+ * @param int|string $blog_id Blog ID
311
  * @return int|string Formatted post count
312
  */
313
+ function get_tptn_post_count( $id = false, $blog_id = false ) {
314
  global $wpdb, $tptn_settings;
315
 
316
+ $table_name = $wpdb->base_prefix . 'top_ten';
317
+ $table_name_daily = $wpdb->base_prefix . 'top_ten_daily';
318
 
319
  $count_disp_form = stripslashes( $tptn_settings['count_disp_form'] );
320
  $count_disp_form_zero = stripslashes( $tptn_settings['count_disp_form_zero'] );
323
  if ( $id > 0 ) {
324
 
325
  // Total count per post
326
+ if ( ( false !== strpos( $count_disp_form, '%totalcount%' ) ) || ( false !== strpos( $count_disp_form_zero, '%totalcount%' ) ) ) {
327
  if ( ( 0 == $totalcntaccess ) && ( ! is_singular() ) ) {
328
+ $count_disp_form_zero = str_replace( '%totalcount%', $totalcntaccess, $count_disp_form_zero );
329
  } else {
330
+ $count_disp_form = str_replace( '%totalcount%', ( 0 == $totalcntaccess ? $totalcntaccess + 1 : $totalcntaccess ), $count_disp_form );
331
  }
332
  }
333
 
334
  // Now process daily count
335
+ if ( ( false !== strpos( $count_disp_form, '%dailycount%' ) ) || ( false !== strpos( $count_disp_form_zero, '%dailycount%' ) ) ) {
336
  $cntaccess = get_tptn_post_count_only( $id, 'daily' );
337
  if ( ( 0 == $totalcntaccess ) && ( ! is_singular() ) ) {
338
+ $count_disp_form_zero = str_replace( '%dailycount%', $cntaccess, $count_disp_form_zero );
339
  } else {
340
+ $count_disp_form = str_replace( '%dailycount%', ( 0 == $cntaccess ? $cntaccess + 1 : $cntaccess ), $count_disp_form );
341
  }
342
  }
343
 
344
  // Now process overall count
345
+ if ( ( false !== strpos( $count_disp_form, '%overallcount%' ) ) || ( false !== strpos( $count_disp_form_zero, '%overallcount%' ) ) ) {
346
  $cntaccess = get_tptn_post_count_only( $id, 'overall' );
347
  if ( ( 0 == $cntaccess ) && ( ! is_singular() ) ) {
348
+ $count_disp_form_zero = str_replace( '%overallcount%', $cntaccess, $count_disp_form_zero );
349
  } else {
350
+ $count_disp_form = str_replace( '%overallcount%', ( 0 == $cntaccess ? $cntaccess + 1 : $cntaccess ), $count_disp_form );
351
  }
352
  }
353
 
367
  *
368
  * @since 1.9.8.5
369
  *
370
+ * @param mixed $id Post ID
371
+ * @param string $count Which count to return? total, daily or overall
372
  * @return int Post count
373
  */
374
+ function get_tptn_post_count_only( $id = false, $count = 'total', $blog_id = false ) {
375
  global $wpdb, $tptn_settings;
376
 
377
+ $table_name = $wpdb->base_prefix . 'top_ten';
378
+ $table_name_daily = $wpdb->base_prefix . 'top_ten_daily';
379
 
380
  if ( empty( $blog_id ) ) {
381
  $blog_id = get_current_blog_id();
405
  $cntaccess = number_format_i18n( ( ( $resultscount ) ? $resultscount->sumCount : 0 ) );
406
  break;
407
  case 'overall':
408
+ $resultscount = $wpdb->get_row( 'SELECT SUM(cntaccess) as sumCount FROM ' . $table_name );
409
  $cntaccess = number_format_i18n( ( ( $resultscount ) ? $resultscount->sumCount : 0 ) );
410
  break;
411
  }
414
  return 0;
415
  }
416
  }
 
 
includes/deprecated.php CHANGED
@@ -14,7 +14,7 @@
14
  * @since 1.9.8
15
  * @deprecated 2.2.0
16
  *
17
- * @param string $content Post content
18
  * @return string Filtered post content
19
  */
20
  function ald_tptn_rss( $content ) {
14
  * @since 1.9.8
15
  * @deprecated 2.2.0
16
  *
17
+ * @param string $content Post content
18
  * @return string Filtered post content
19
  */
20
  function ald_tptn_rss( $content ) {
includes/index.php CHANGED
@@ -1 +1 @@
1
- <?php // Silence is golden
1
+ <?php // Silence is golden
includes/media.php CHANGED
@@ -10,7 +10,6 @@
10
  * Add custom image size of thumbnail. Filters `init`.
11
  *
12
  * @since 2.0.0
13
- *
14
  */
15
  function tptn_add_image_sizes() {
16
  global $tptn_settings;
@@ -36,7 +35,7 @@ add_action( 'init', 'tptn_add_image_sizes' );
36
  * Function to get the post thumbnail.
37
  *
38
  * @since 1.8
39
- * @param array $args Query string of options related to thumbnails
40
  * @return string Image tag
41
  */
42
  function tptn_get_the_post_thumbnail( $args = array() ) {
@@ -60,15 +59,15 @@ function tptn_get_the_post_thumbnail( $args = array() ) {
60
 
61
  // Issue notice for deprecated arguments
62
  if ( isset( $args['thumb_timthumb'] ) ) {
63
- _deprecated_argument( __FUNCTION__, '2.1', __( 'thumb_timthumb argument has been deprecated', 'tptn' ) );
64
  }
65
 
66
  if ( isset( $args['thumb_timthumb_q'] ) ) {
67
- _deprecated_argument( __FUNCTION__, '2.1', __( 'thumb_timthumb_q argument has been deprecated', 'tptn' ) );
68
  }
69
 
70
  if ( isset( $args['filter'] ) ) {
71
- _deprecated_argument( __FUNCTION__, '2.1', __( 'filter argument has been deprecated', 'tptn' ) );
72
  }
73
 
74
  if ( is_int( $args['postid'] ) ) {
@@ -102,7 +101,7 @@ function tptn_get_the_post_thumbnail( $args = array() ) {
102
 
103
  // If there is no thumbnail found, check the post thumbnail
104
  if ( ! $postimage ) {
105
- if ( false != get_post_thumbnail_id( $result->ID ) ) {
106
  $postthumb = wp_get_attachment_image_src( get_post_thumbnail_id( $result->ID ), $tptn_settings['thumb_size'] );
107
  $postimage = $postthumb[0];
108
  }
@@ -139,7 +138,7 @@ function tptn_get_the_post_thumbnail( $args = array() ) {
139
  }
140
 
141
  // If no thumb found and settings permit, use default thumb
142
- if ( ! $postimage && $args['thumb_default_show'] ) {
143
  $postimage = $args['thumb_default'];
144
  }
145
 
@@ -231,7 +230,7 @@ function tptn_get_the_post_thumbnail( $args = array() ) {
231
  * Get the first child image in the post.
232
  *
233
  * @since 1.9.8
234
- * @param mixed $postID Post ID
235
  * @return string Location of thumbnail
236
  */
237
  function tptn_get_first_image( $postID ) {
@@ -271,7 +270,7 @@ function tptn_get_first_image( $postID ) {
271
  *
272
  * @since 2.1
273
  *
274
- * @param string $attachment_url Attachment URL
275
  * @return int Attachment ID
276
  */
277
  function tptn_get_attachment_id_from_url( $attachment_url = '' ) {
10
  * Add custom image size of thumbnail. Filters `init`.
11
  *
12
  * @since 2.0.0
 
13
  */
14
  function tptn_add_image_sizes() {
15
  global $tptn_settings;
35
  * Function to get the post thumbnail.
36
  *
37
  * @since 1.8
38
+ * @param array $args Query string of options related to thumbnails
39
  * @return string Image tag
40
  */
41
  function tptn_get_the_post_thumbnail( $args = array() ) {
59
 
60
  // Issue notice for deprecated arguments
61
  if ( isset( $args['thumb_timthumb'] ) ) {
62
+ _deprecated_argument( __FUNCTION__, '2.1', __( 'thumb_timthumb argument has been deprecated', 'top-10' ) );
63
  }
64
 
65
  if ( isset( $args['thumb_timthumb_q'] ) ) {
66
+ _deprecated_argument( __FUNCTION__, '2.1', __( 'thumb_timthumb_q argument has been deprecated', 'top-10' ) );
67
  }
68
 
69
  if ( isset( $args['filter'] ) ) {
70
+ _deprecated_argument( __FUNCTION__, '2.1', __( 'filter argument has been deprecated', 'top-10' ) );
71
  }
72
 
73
  if ( is_int( $args['postid'] ) ) {
101
 
102
  // If there is no thumbnail found, check the post thumbnail
103
  if ( ! $postimage ) {
104
+ if ( false != get_post_thumbnail_id( $result->ID ) ) {
105
  $postthumb = wp_get_attachment_image_src( get_post_thumbnail_id( $result->ID ), $tptn_settings['thumb_size'] );
106
  $postimage = $postthumb[0];
107
  }
138
  }
139
 
140
  // If no thumb found and settings permit, use default thumb
141
+ if ( ! $postimage && $args['thumb_default_show'] ) {
142
  $postimage = $args['thumb_default'];
143
  }
144
 
230
  * Get the first child image in the post.
231
  *
232
  * @since 1.9.8
233
+ * @param mixed $postID Post ID
234
  * @return string Location of thumbnail
235
  */
236
  function tptn_get_first_image( $postID ) {
270
  *
271
  * @since 2.1
272
  *
273
+ * @param string $attachment_url Attachment URL
274
  * @return int Attachment ID
275
  */
276
  function tptn_get_attachment_id_from_url( $attachment_url = '' ) {
includes/modules/exclusions.php CHANGED
@@ -11,7 +11,7 @@
11
  *
12
  * @since 2.2.0
13
  *
14
- * @param array $exclude_post_ids Original excluded post IDs
15
  * @return array Updated excluded post ID
16
  */
17
  function tptn_exclude_post_ids( $exclude_post_ids ) {
11
  *
12
  * @since 2.2.0
13
  *
14
+ * @param array $exclude_post_ids Original excluded post IDs
15
  * @return array Updated excluded post ID
16
  */
17
  function tptn_exclude_post_ids( $exclude_post_ids ) {
includes/modules/index.php ADDED
@@ -0,0 +1 @@
 
1
+ <?php // Silence is golden
includes/modules/shortcode.php CHANGED
@@ -9,8 +9,8 @@
9
  * Creates a shortcode [tptn_list limit="5" heading="1" daily="0"].
10
  *
11
  * @since 1.9.9
12
- * @param array $atts Shortcode attributes
13
- * @param string $content Content
14
  * @return string Formatted list of posts generated by tptn_pop_posts
15
  */
16
  function tptn_shortcode( $atts, $content = null ) {
@@ -23,7 +23,7 @@ function tptn_shortcode( $atts, $content = null ) {
23
  'daily' => 0,
24
  'is_shortcode' => 1,
25
  )
26
- ), $atts, 'tptn' );
27
 
28
  return tptn_pop_posts( $atts );
29
  }
@@ -34,13 +34,13 @@ add_shortcode( 'tptn_list', 'tptn_shortcode' );
34
  * Creates a shortcode [tptn_views daily="0"].
35
  *
36
  * @since 1.9.9
37
- * @param array $atts Shortcode attributes
38
- * @param string $content Content
39
  * @return string Views of the post
40
  */
41
- function tptn_shortcode_views( $atts , $content=null ) {
42
  $a = shortcode_atts( array(
43
- 'daily' => '0',
44
  ), $atts );
45
 
46
  return get_tptn_post_count_only( get_the_ID(), ( $a['daily'] ? 'daily' : 'total' ) );
9
  * Creates a shortcode [tptn_list limit="5" heading="1" daily="0"].
10
  *
11
  * @since 1.9.9
12
+ * @param array $atts Shortcode attributes
13
+ * @param string $content Content
14
  * @return string Formatted list of posts generated by tptn_pop_posts
15
  */
16
  function tptn_shortcode( $atts, $content = null ) {
23
  'daily' => 0,
24
  'is_shortcode' => 1,
25
  )
26
+ ), $atts, 'top-10' );
27
 
28
  return tptn_pop_posts( $atts );
29
  }
34
  * Creates a shortcode [tptn_views daily="0"].
35
  *
36
  * @since 1.9.9
37
+ * @param array $atts Shortcode attributes
38
+ * @param string $content Content
39
  * @return string Views of the post
40
  */
41
+ function tptn_shortcode_views( $atts, $content = null ) {
42
  $a = shortcode_atts( array(
43
+ 'daily' => '0',
44
  ), $atts );
45
 
46
  return get_tptn_post_count_only( get_the_ID(), ( $a['daily'] ? 'daily' : 'total' ) );
includes/modules/taxonomies.php CHANGED
@@ -15,7 +15,7 @@ if ( ! defined( 'WPINC' ) ) {
15
  *
16
  * @since 1.0.0
17
  *
18
- * @param mixed $join
19
  * @return string Filtered tptn JOIN clause
20
  */
21
  function tptn_exclude_categories_join( $join ) {
@@ -39,7 +39,7 @@ add_filter( 'tptn_posts_join', 'tptn_exclude_categories_join' );
39
  *
40
  * @since 1.0.0
41
  *
42
- * @param mixed $where
43
  * @return string Filtered tptn WHERE clause
44
  */
45
  function tptn_exclude_categories_where( $where ) {
@@ -55,7 +55,7 @@ function tptn_exclude_categories_where( $where ) {
55
 
56
  $sql = $where;
57
 
58
- $sql .= " AND $wpdb->posts.ID NOT IN (
59
  SELECT object_id
60
  FROM $wpdb->term_relationships
61
  WHERE term_taxonomy_id IN ($terms)
15
  *
16
  * @since 1.0.0
17
  *
18
+ * @param mixed $join
19
  * @return string Filtered tptn JOIN clause
20
  */
21
  function tptn_exclude_categories_join( $join ) {
39
  *
40
  * @since 1.0.0
41
  *
42
+ * @param mixed $where
43
  * @return string Filtered tptn WHERE clause
44
  */
45
  function tptn_exclude_categories_where( $where ) {
55
 
56
  $sql = $where;
57
 
58
+ $sql .= " AND $wpdb->posts.ID NOT IN (
59
  SELECT object_id
60
  FROM $wpdb->term_relationships
61
  WHERE term_taxonomy_id IN ($terms)
includes/output-generator.php CHANGED
@@ -19,7 +19,7 @@ if ( ! defined( 'WPINC' ) ) {
19
  *
20
  * @since 2.2.0
21
  *
22
- * @param array $args Array of arguments
23
  * @return string Space separated list of link attributes
24
  */
25
  function tptn_link_attributes( $args ) {
@@ -56,7 +56,7 @@ function tptn_link_attributes( $args ) {
56
  *
57
  * @since 2.2.0
58
  *
59
- * @param array $args Array of arguments
60
  * @return string Space separated list of link attributes
61
  */
62
  function tptn_heading_title( $args ) {
@@ -85,7 +85,7 @@ function tptn_heading_title( $args ) {
85
  *
86
  * @since 2.2.0
87
  *
88
- * @param array $args Array of arguments
89
  * @return string Space separated list of link attributes
90
  */
91
  function tptn_before_list( $args ) {
@@ -110,7 +110,7 @@ function tptn_before_list( $args ) {
110
  *
111
  * @since 2.2.0
112
  *
113
- * @param array $args Array of arguments
114
  * @return string Space separated list of link attributes
115
  */
116
  function tptn_after_list( $args ) {
@@ -135,8 +135,8 @@ function tptn_after_list( $args ) {
135
  *
136
  * @since 2.2.0
137
  *
138
- * @param array $args Array of arguments
139
- * @param object $result Object of the current post result
140
  * @return string Space separated list of link attributes
141
  */
142
  function tptn_before_list_item( $args, $result ) {
@@ -162,8 +162,8 @@ function tptn_before_list_item( $args, $result ) {
162
  *
163
  * @since 2.2.0
164
  *
165
- * @param array $args Array of arguments
166
- * @param object $result Object of the current post result
167
  * @return string Space separated list of link attributes
168
  */
169
  function tptn_after_list_item( $args, $result ) {
@@ -189,8 +189,8 @@ function tptn_after_list_item( $args, $result ) {
189
  *
190
  * @since 2.2.0
191
  *
192
- * @param array $args Array of arguments
193
- * @param object $result Object of the current post result
194
  * @return string Space separated list of link attributes
195
  */
196
  function tptn_post_title( $args, $result ) {
@@ -216,8 +216,8 @@ function tptn_post_title( $args, $result ) {
216
  *
217
  * @since 2.2.0
218
  *
219
- * @param array $args Array of arguments
220
- * @param object $result Object of the current post result
221
  * @return string Space separated list of link attributes
222
  */
223
  function tptn_author( $args, $result ) {
@@ -236,7 +236,7 @@ function tptn_author( $args, $result ) {
236
  */
237
  $author_name = apply_filters( 'tptn_author_name', $author_name, $author_info );
238
 
239
- $tptn_author = '<span class="tptn_author"> ' . __( ' by ', 'tptn' ) . '<a href="' . $author_link . '">' . $author_name . '</a></span> ';
240
 
241
  /**
242
  * Filter the text with the author details.
@@ -258,8 +258,8 @@ function tptn_author( $args, $result ) {
258
  *
259
  * @since 2.2.0
260
  *
261
- * @param array $args Array of arguments
262
- * @param object $result Object of the current post result
263
  * @return string Space separated list of link attributes
264
  */
265
  function tptn_list_link( $args, $result ) {
@@ -286,7 +286,7 @@ function tptn_list_link( $args, $result ) {
286
  'thumb_default' => $args['thumb_default'],
287
  'thumb_default_show' => $args['thumb_default_show'],
288
  'scan_images' => $args['scan_images'],
289
- 'class' => "tptn_thumb",
290
  ) );
291
 
292
  $output .= '</a>'; // Close the link
19
  *
20
  * @since 2.2.0
21
  *
22
+ * @param array $args Array of arguments
23
  * @return string Space separated list of link attributes
24
  */
25
  function tptn_link_attributes( $args ) {
56
  *
57
  * @since 2.2.0
58
  *
59
+ * @param array $args Array of arguments
60
  * @return string Space separated list of link attributes
61
  */
62
  function tptn_heading_title( $args ) {
85
  *
86
  * @since 2.2.0
87
  *
88
+ * @param array $args Array of arguments
89
  * @return string Space separated list of link attributes
90
  */
91
  function tptn_before_list( $args ) {
110
  *
111
  * @since 2.2.0
112
  *
113
+ * @param array $args Array of arguments
114
  * @return string Space separated list of link attributes
115
  */
116
  function tptn_after_list( $args ) {
135
  *
136
  * @since 2.2.0
137
  *
138
+ * @param array $args Array of arguments
139
+ * @param object $result Object of the current post result
140
  * @return string Space separated list of link attributes
141
  */
142
  function tptn_before_list_item( $args, $result ) {
162
  *
163
  * @since 2.2.0
164
  *
165
+ * @param array $args Array of arguments
166
+ * @param object $result Object of the current post result
167
  * @return string Space separated list of link attributes
168
  */
169
  function tptn_after_list_item( $args, $result ) {
189
  *
190
  * @since 2.2.0
191
  *
192
+ * @param array $args Array of arguments
193
+ * @param object $result Object of the current post result
194
  * @return string Space separated list of link attributes
195
  */
196
  function tptn_post_title( $args, $result ) {
216
  *
217
  * @since 2.2.0
218
  *
219
+ * @param array $args Array of arguments
220
+ * @param object $result Object of the current post result
221
  * @return string Space separated list of link attributes
222
  */
223
  function tptn_author( $args, $result ) {
236
  */
237
  $author_name = apply_filters( 'tptn_author_name', $author_name, $author_info );
238
 
239
+ $tptn_author = '<span class="tptn_author"> ' . __( ' by ', 'top-10' ) . '<a href="' . $author_link . '">' . $author_name . '</a></span> ';
240
 
241
  /**
242
  * Filter the text with the author details.
258
  *
259
  * @since 2.2.0
260
  *
261
+ * @param array $args Array of arguments
262
+ * @param object $result Object of the current post result
263
  * @return string Space separated list of link attributes
264
  */
265
  function tptn_list_link( $args, $result ) {
286
  'thumb_default' => $args['thumb_default'],
287
  'thumb_default_show' => $args['thumb_default_show'],
288
  'scan_images' => $args['scan_images'],
289
+ 'class' => 'tptn_thumb',
290
  ) );
291
 
292
  $output .= '</a>'; // Close the link
includes/top-10-addcount.js.php CHANGED
@@ -1,57 +1,57 @@
1
- <?php
2
- /**
3
- * Update counts to database.
4
- *
5
- * @package Top_Ten
6
- * @author Ajay D'Souza <me@ajaydsouza.com>
7
- * @license GPL-2.0+
8
- * @link https://webberzone.com
9
- * @copyright 2008-2015 Ajay D'Souza
10
- */
11
- Header( "content-type: application/x-javascript" );
12
-
13
- // Force a short-init since we just need core WP, not the entire framework stack
14
- define( 'SHORTINIT', true );
15
-
16
- // Build the wp-config.php path from a plugin/theme
17
- $wp_config_path = dirname( dirname( dirname( dirname( __FILE__ ) ) ) );
18
- $wp_config_filename = '/wp-load.php';
19
-
20
- // Check if the file exists in the root or one level up
21
- if ( ! file_exists( $wp_config_path . $wp_config_filename ) ) {
22
- // Just in case the user may have placed wp-config.php one more level up from the root
23
- $wp_config_filename = dirname( $wp_config_path ) . $wp_config_filename;
24
- }
25
- // Require the wp-config.php file
26
- require( $wp_config_filename );
27
-
28
- // Include the now instantiated global $wpdb Class for use
29
- global $wpdb;
30
-
31
-
32
- // Ajax Increment Counter
33
- tptn_inc_count();
34
- function tptn_inc_count() {
35
- global $wpdb;
36
- $table_name = $wpdb->base_prefix . "top_ten";
37
- $top_ten_daily = $wpdb->base_prefix . "top_ten_daily";
38
- $str = '';
39
-
40
- $id = intval( $_GET['top_ten_id'] );
41
- $blog_id = intval( $_GET['top_ten_blog_id'] );
42
- $activate_counter = intval( $_GET['activate_counter'] );
43
-
44
- if ( $id > 0 ) {
45
- if ( ( 1 == $activate_counter ) || ( 11 == $activate_counter ) ) {
46
- $tt = $wpdb->query( $wpdb->prepare( "INSERT INTO {$table_name} (postnumber, cntaccess, blog_id) VALUES('%d', '1', '%d') ON DUPLICATE KEY UPDATE cntaccess= cntaccess+1 ", $id, $blog_id ) );
47
- $str .= ( FALSE === $tt ) ? 'tte' : 'tt' . $tt;
48
- }
49
- if ( ( 10 == $activate_counter ) || ( 11 == $activate_counter ) ) {
50
- $current_date = gmdate( 'Y-m-d H', current_time( 'timestamp', 1 ) );
51
- $ttd = $wpdb->query( $wpdb->prepare("INSERT INTO {$top_ten_daily} (postnumber, cntaccess, dp_date, blog_id) VALUES('%d', '1', '%s', '%d' ) ON DUPLICATE KEY UPDATE cntaccess= cntaccess+1 ", $id, $current_date, $blog_id ) );
52
- $str .= ( FALSE === $ttd ) ? ' ttde' : ' ttd' . $ttd;
53
- }
54
- }
55
- echo '<!-- ' . $str . ' -->';
56
- }
57
-
1
+ <?php
2
+ /**
3
+ * Update counts to database.
4
+ *
5
+ * @package Top_Ten
6
+ * @author Ajay D'Souza <me@ajaydsouza.com>
7
+ * @license GPL-2.0+
8
+ * @link https://webberzone.com
9
+ * @copyright 2008-2015 Ajay D'Souza
10
+ */
11
+ Header( 'content-type: application/x-javascript' );
12
+
13
+ // Force a short-init since we just need core WP, not the entire framework stack
14
+ define( 'SHORTINIT', true );
15
+
16
+ // Build the wp-config.php path from a plugin/theme
17
+ $wp_config_path = dirname( dirname( dirname( dirname( __FILE__ ) ) ) );
18
+ $wp_config_filename = '/wp-load.php';
19
+
20
+ // Check if the file exists in the root or one level up
21
+ if ( ! file_exists( $wp_config_path . $wp_config_filename ) ) {
22
+ // Just in case the user may have placed wp-config.php one more level up from the root
23
+ $wp_config_filename = dirname( $wp_config_path ) . $wp_config_filename;
24
+ }
25
+ // Require the wp-config.php file
26
+ require( $wp_config_filename );
27
+
28
+ // Include the now instantiated global $wpdb Class for use
29
+ global $wpdb;
30
+
31
+
32
+ // Ajax Increment Counter
33
+ tptn_inc_count();
34
+ function tptn_inc_count() {
35
+ global $wpdb;
36
+ $table_name = $wpdb->base_prefix . 'top_ten';
37
+ $top_ten_daily = $wpdb->base_prefix . 'top_ten_daily';
38
+ $str = '';
39
+
40
+ $id = intval( $_GET['top_ten_id'] );
41
+ $blog_id = intval( $_GET['top_ten_blog_id'] );
42
+ $activate_counter = intval( $_GET['activate_counter'] );
43
+
44
+ if ( $id > 0 ) {
45
+ if ( ( 1 == $activate_counter ) || ( 11 == $activate_counter ) ) {
46
+ $tt = $wpdb->query( $wpdb->prepare( "INSERT INTO {$table_name} (postnumber, cntaccess, blog_id) VALUES('%d', '1', '%d') ON DUPLICATE KEY UPDATE cntaccess= cntaccess+1 ", $id, $blog_id ) );
47
+ $str .= ( false === $tt ) ? 'tte' : 'tt' . $tt;
48
+ }
49
+ if ( ( 10 == $activate_counter ) || ( 11 == $activate_counter ) ) {
50
+ $current_date = gmdate( 'Y-m-d H', current_time( 'timestamp', 1 ) );
51
+ $ttd = $wpdb->query( $wpdb->prepare( "INSERT INTO {$top_ten_daily} (postnumber, cntaccess, dp_date, blog_id) VALUES('%d', '1', '%s', '%d' ) ON DUPLICATE KEY UPDATE cntaccess= cntaccess+1 ", $id, $current_date, $blog_id ) );
52
+ $str .= ( false === $ttd ) ? ' ttde' : ' ttd' . $ttd;
53
+ }
54
+ }
55
+ echo '<!-- ' . $str . ' -->';
56
+ }
57
+
includes/top-10-counter.js.php CHANGED
@@ -1,43 +1,43 @@
1
- <?php
2
- /**
3
- * Display number of page views.
4
- *
5
- * @package Top_Ten
6
- * @author Ajay D'Souza <me@ajaydsouza.com>
7
- * @license GPL-2.0+
8
- * @link https://webberzone.com
9
- * @copyright 2008-2015 Ajay D'Souza
10
- */
11
- Header( "content-type: application/x-javascript" );
12
-
13
- // Build the wp-config.php path from a plugin/theme
14
- $wp_config_path = dirname( dirname( dirname( dirname( __FILE__ ) ) ) );
15
- $wp_config_filename = '/wp-load.php';
16
-
17
- // Check if the file exists in the root or one level up
18
- if ( ! file_exists( $wp_config_path . $wp_config_filename ) ) {
19
- // Just in case the user may have placed wp-config.php one more level up from the root
20
- $wp_config_filename = dirname( $wp_config_path ) . $wp_config_filename;
21
- }
22
- // Require the wp-config.php file
23
- require( $wp_config_filename );
24
-
25
- // Include the now instantiated global $wpdb Class for use
26
- global $wpdb;
27
-
28
- $id = intval( $_GET['top_ten_id'] );
29
-
30
- // Display counter using Ajax
31
- function tptn_disp_count() {
32
- global $wpdb;
33
-
34
- $id = intval( $_GET['top_ten_id'] );
35
- if ( $id > 0 ) {
36
-
37
- $output = get_tptn_post_count( $id );
38
-
39
- echo 'document.write("' . $output . '")';
40
- }
41
- }
42
- tptn_disp_count();
43
-
1
+ <?php
2
+ /**
3
+ * Display number of page views.
4
+ *
5
+ * @package Top_Ten
6
+ * @author Ajay D'Souza <me@ajaydsouza.com>
7
+ * @license GPL-2.0+
8
+ * @link https://webberzone.com
9
+ * @copyright 2008-2015 Ajay D'Souza
10
+ */
11
+ Header( 'content-type: application/x-javascript' );
12
+
13
+ // Build the wp-config.php path from a plugin/theme
14
+ $wp_config_path = dirname( dirname( dirname( dirname( __FILE__ ) ) ) );
15
+ $wp_config_filename = '/wp-load.php';
16
+
17
+ // Check if the file exists in the root or one level up
18
+ if ( ! file_exists( $wp_config_path . $wp_config_filename ) ) {
19
+ // Just in case the user may have placed wp-config.php one more level up from the root
20
+ $wp_config_filename = dirname( $wp_config_path ) . $wp_config_filename;
21
+ }
22
+ // Require the wp-config.php file
23
+ require( $wp_config_filename );
24
+
25
+ // Include the now instantiated global $wpdb Class for use
26
+ global $wpdb;
27
+
28
+ $id = intval( $_GET['top_ten_id'] );
29
+
30
+ // Display counter using Ajax
31
+ function tptn_disp_count() {
32
+ global $wpdb;
33
+
34
+ $id = intval( $_GET['top_ten_id'] );
35
+ if ( $id > 0 ) {
36
+
37
+ $output = get_tptn_post_count( $id );
38
+
39
+ echo 'document.write("' . $output . '")';
40
+ }
41
+ }
42
+ tptn_disp_count();
43
+
index.php CHANGED
@@ -1 +1 @@
1
- <?php // Silence is golden
1
+ <?php // Silence is golden
languages/index.php CHANGED
@@ -1 +1 @@
1
- <?php // Silence is golden
1
+ <?php // Silence is golden
languages/{tptn-az_AZ.mo → top-10-az_AZ.mo} RENAMED
Binary file
languages/{tptn-az_AZ.po → top-10-az_AZ.po} RENAMED
@@ -2,7 +2,7 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Топ 10\n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2015-09-13 22:08+0100\n"
6
  "PO-Revision-Date: \n"
7
  "Last-Translator: Ajay D'Souza <me@ajaydsouza.com>\n"
8
  "Language-Team: Bohdan Zograf <bozograf@gmail.com>\n"
@@ -44,7 +44,7 @@ msgstr ""
44
  msgid "Popular posts by <a href=\"%s\" target=\"_blank\">Top 10 plugin</a>"
45
  msgstr ""
46
 
47
- #: admin/admin-dashboard.php:109 admin/class-stats.php:440
48
  #: admin/deprecated.php:41
49
  msgid "Popular Posts"
50
  msgstr "Populyar yazılar"
@@ -153,169 +153,169 @@ msgstr ""
153
  msgid "Scheduled maintenance disabled"
154
  msgstr ""
155
 
156
- #: admin/admin.php:300
157
  msgid "Counts from selected sites have been imported."
158
  msgstr ""
159
 
160
- #: admin/admin.php:325
161
  msgid ""
162
  "Selected tables have been deleted. Note that only imported tables have been "
163
  "deleted."
164
  msgstr ""
165
 
166
- #: admin/admin.php:342 admin/admin.php:362 admin/admin.php:372
167
  #: admin/main-view.php:55 admin/main-view.php:174 admin/main-view.php:279
168
- #: admin/main-view.php:477 admin/main-view.php:638 admin/main-view.php:734
169
- #: admin/main-view.php:798 admin/main-view.php:834
170
  msgid "Click to toggle"
171
  msgstr ""
172
 
173
- #: admin/admin.php:343
174
  msgid "Support the development"
175
  msgstr "İnkişafı dəstək vermək"
176
 
177
- #: admin/admin.php:350
178
  msgid "Donation for Top 10"
179
  msgstr ""
180
 
181
- #: admin/admin.php:352
182
  msgid "Enter amount in USD:"
183
  msgstr ""
184
 
185
- #: admin/admin.php:356
186
  #, fuzzy
187
  msgid "Send your donation to the author of Top 10"
188
  msgstr "Müəlifə ianə göndərin "
189
 
190
- #: admin/admin.php:363
191
  msgid "Follow me"
192
  msgstr ""
193
 
194
- #: admin/admin.php:373
195
  #, fuzzy
196
  msgid "Quick links"
197
  msgstr "Faydalı istenadlar"
198
 
199
- #: admin/admin.php:377
200
  #, fuzzy
201
  msgid "Top 10 plugin page"
202
  msgstr "plaginin səhifəsi"
203
 
204
- #: admin/admin.php:378
205
  msgid "Top 10 Github page"
206
  msgstr ""
207
 
208
- #: admin/admin.php:379
209
  msgid "Other plugins"
210
  msgstr "Digər plaginlər"
211
 
212
- #: admin/admin.php:380
213
  msgid "FAQ"
214
  msgstr ""
215
 
216
- #: admin/admin.php:381 admin/admin.php:551
217
  msgid "Support"
218
  msgstr "Dəstək"
219
 
220
- #: admin/admin.php:382
221
  msgid "Reviews"
222
  msgstr ""
223
 
224
- #: admin/admin.php:383
225
  msgid "Ajay's blog"
226
  msgstr "Ajay-in blogu"
227
 
228
- #: admin/admin.php:400 admin/admin.php:403 admin/main-view.php:22
229
  #, fuzzy
230
  msgid "Top 10 Settings"
231
  msgstr "Kökləmələr"
232
 
233
- #: admin/admin.php:400
234
  msgid "Top 10"
235
  msgstr "Top 10 yazılar"
236
 
237
- #: admin/admin.php:408
238
  msgid "View Popular Posts"
239
  msgstr ""
240
 
241
- #: admin/admin.php:528
242
  msgid "Settings"
243
  msgstr "Kökləmələr"
244
 
245
- #: admin/admin.php:552
246
  msgid "Donate"
247
  msgstr "İanə etmək"
248
 
249
- #: admin/cache.php:20
250
  msgid "Top 10 cache has been cleared"
251
  msgstr ""
252
 
253
- #: admin/class-stats.php:37
254
  msgid "popular_post"
255
  msgstr ""
256
 
257
- #: admin/class-stats.php:38
258
  msgid "popular_posts"
259
  msgstr ""
260
 
261
- #: admin/class-stats.php:162
262
  msgid "No popular posts available."
263
  msgstr ""
264
 
265
- #: admin/class-stats.php:211
266
  msgid "View"
267
  msgstr ""
268
 
269
- #: admin/class-stats.php:212
270
  msgid "Edit"
271
  msgstr ""
272
 
273
- #: admin/class-stats.php:213
274
  msgid "Delete"
275
  msgstr ""
276
 
277
- #: admin/class-stats.php:235
278
  msgid "Y/m/d g:i:s a"
279
  msgstr ""
280
 
281
- #: admin/class-stats.php:242
282
  #, php-format
283
  msgid "%s ago"
284
  msgstr ""
285
 
286
- #: admin/class-stats.php:244
287
  msgid "Y/m/d"
288
  msgstr ""
289
 
290
- #: admin/class-stats.php:278 includes/class-top-10-widget.php:71
291
  msgid "Title"
292
  msgstr ""
293
 
294
- #: admin/class-stats.php:279
295
  msgid "Total visits"
296
  msgstr ""
297
 
298
- #: admin/class-stats.php:280
299
  msgid "Daily visits"
300
  msgstr ""
301
 
302
- #: admin/class-stats.php:281
303
  msgid "Post type"
304
  msgstr ""
305
 
306
- #: admin/class-stats.php:282
307
  msgid "Author"
308
  msgstr ""
309
 
310
- #: admin/class-stats.php:283
311
  msgid "Date"
312
  msgstr ""
313
 
314
- #: admin/class-stats.php:317
315
  msgid "Delete Count"
316
  msgstr ""
317
 
318
- #: admin/class-stats.php:357
319
  msgid "Are you sure you want to do this"
320
  msgstr ""
321
 
@@ -331,17 +331,17 @@ msgstr ""
331
  msgid "Popular post list options"
332
  msgstr ""
333
 
334
- #: admin/main-view.php:37 admin/main-view.php:478
335
  #: includes/class-top-10-widget.php:115
336
  #, fuzzy
337
  msgid "Thumbnail options"
338
  msgstr "Yazılışlara əvvəlcədən baxma kökləmələri:"
339
 
340
- #: admin/main-view.php:38 admin/main-view.php:639
341
  msgid "Styles"
342
  msgstr ""
343
 
344
- #: admin/main-view.php:39 admin/main-view.php:735
345
  msgid "Maintenance"
346
  msgstr ""
347
 
@@ -353,7 +353,7 @@ msgstr ""
353
  msgid "Overall"
354
  msgstr ""
355
 
356
- #: admin/main-view.php:83 admin/main-view.php:754
357
  msgid "Daily"
358
  msgstr ""
359
 
@@ -473,8 +473,8 @@ msgstr ""
473
  "Popyulyar siyahının altnda ssılkanı qoymaq lazımdır? Plaginin müəllifi Siz "
474
  "onu qoyduğunuz halda Sizə çox minnətdar olardı!"
475
 
476
- #: admin/main-view.php:156 admin/main-view.php:261 admin/main-view.php:459
477
- #: admin/main-view.php:620 admin/main-view.php:714
478
  #, fuzzy
479
  msgid "Save Options"
480
  msgstr "Opsiyalar:"
@@ -642,7 +642,7 @@ msgstr ""
642
  msgid "List of post or page IDs to exclude from the results:"
643
  msgstr ""
644
 
645
- #: admin/main-view.php:327 admin/main-view.php:427
646
  msgid "Enter comma separated list of IDs. e.g. 188,320,500"
647
  msgstr ""
648
 
@@ -657,137 +657,148 @@ msgid ""
657
  "options"
658
  msgstr ""
659
 
660
- #: admin/main-view.php:351
 
 
 
 
 
 
 
 
 
 
 
661
  msgid "Title of popular posts:"
662
  msgstr ""
663
 
664
- #: admin/main-view.php:357
665
  msgid "Title of daily popular posts:"
666
  msgstr ""
667
 
668
- #: admin/main-view.php:363
669
  msgid "When there are no posts, what should be shown?"
670
  msgstr ""
671
 
672
- #: admin/main-view.php:367
673
  msgid "Blank Output"
674
  msgstr ""
675
 
676
- #: admin/main-view.php:371
677
  msgid "Display:"
678
  msgstr ""
679
 
680
- #: admin/main-view.php:376
681
  msgid "Show post excerpt in list?"
682
  msgstr "Yazılış mətnini siyahıda göstərmək lazımdır?"
683
 
684
- #: admin/main-view.php:382
685
  msgid "Length of excerpt (in words):"
686
  msgstr ""
687
 
688
- #: admin/main-view.php:388
689
  #, fuzzy
690
  msgid "Show post author in list?"
691
  msgstr "Yazılış mətnini siyahıda göstərmək lazımdır?"
692
 
693
- #: admin/main-view.php:394
694
  #, fuzzy
695
  msgid "Show post date in list?"
696
  msgstr "Yazılış mətnini siyahıda göstərmək lazımdır?"
697
 
698
- #: admin/main-view.php:400
699
  msgid "Limit post title length (in characters)"
700
  msgstr ""
701
 
702
- #: admin/main-view.php:406
703
  #, fuzzy
704
  msgid "Show view count in list?"
705
  msgstr "Yazılış mətnini siyahıda göstərmək lazımdır?"
706
 
707
- #: admin/main-view.php:412
708
  msgid "Open links in new window"
709
  msgstr ""
710
 
711
- #: admin/main-view.php:418
712
  msgid "Add nofollow attribute to links in the list"
713
  msgstr ""
714
 
715
- #: admin/main-view.php:424
716
  msgid "Exclude display of related posts on these posts / pages"
717
  msgstr ""
718
 
719
- #: admin/main-view.php:431
720
  #, fuzzy
721
  msgid "Customise the list HTML"
722
  msgstr "Suiyahı formasının kökləmələri:"
723
 
724
- #: admin/main-view.php:434
725
  msgid "HTML to display before the list of posts:"
726
  msgstr ""
727
 
728
- #: admin/main-view.php:440
729
  msgid "HTML to display before each list item:"
730
  msgstr ""
731
 
732
- #: admin/main-view.php:446
733
  msgid "HTML to display after each list item:"
734
  msgstr ""
735
 
736
- #: admin/main-view.php:452
737
  msgid "HTML to display after the list of posts:"
738
  msgstr ""
739
 
740
- #: admin/main-view.php:493
741
  msgid "Location of post thumbnail:"
742
  msgstr ""
743
 
744
- #: admin/main-view.php:497
745
  #, fuzzy
746
  msgid "Display thumbnails inline with posts, before title"
747
  msgstr "Mətni və əvvəlcədən baxışı göstərmək"
748
 
749
- #: admin/main-view.php:502
750
  #, fuzzy
751
  msgid "Display thumbnails inline with posts, after title"
752
  msgstr "Mətni və əvvəlcədən baxışı göstərmək"
753
 
754
- #: admin/main-view.php:507
755
  msgid "Display only thumbnails, no text"
756
  msgstr "Yalnız əvvəlcədən baxışı göstərmək, mətnsiz"
757
 
758
- #: admin/main-view.php:512
759
  msgid "Do not display thumbnails, only text."
760
  msgstr "Yalnız mətini göstərmək, əvəlcədən baxışsız"
761
 
762
- #: admin/main-view.php:516
763
  msgid ""
764
  "This setting cannot be changed because an inbuilt style has been selected "
765
  "under the Styles section. If you would like to change this option, please "
766
  "select No styles under the Styles section."
767
  msgstr ""
768
 
769
- #: admin/main-view.php:520
770
  msgid "Thumbnail size:"
771
  msgstr ""
772
 
773
- #: admin/main-view.php:544
774
  msgid "Custom size"
775
  msgstr ""
776
 
777
- #: admin/main-view.php:547
778
  msgid ""
779
  "You can choose from existing image sizes above or create a custom size. If "
780
  "you have chosen Custom size above, then enter the width, height and crop "
781
  "settings below. For best results, use a cropped image."
782
  msgstr ""
783
 
784
- #: admin/main-view.php:548
785
  msgid ""
786
  "If you change the width and/or height below, existing images will not be "
787
  "automatically resized."
788
  msgstr ""
789
 
790
- #: admin/main-view.php:549
791
  #, php-format
792
  msgid ""
793
  "I recommend using <a href='%s' class='thickbox'>OTF Regenerate Thumbnails</"
@@ -795,7 +806,7 @@ msgid ""
795
  "all image sizes."
796
  msgstr ""
797
 
798
- #: admin/main-view.php:552
799
  msgid ""
800
  "If you're using the Left Thumbs style below then the thumbnail width and "
801
  "height that you set here will supersede the widget. Alternatively, choose "
@@ -803,56 +814,56 @@ msgid ""
803
  "strong> option below"
804
  msgstr ""
805
 
806
- #: admin/main-view.php:555
807
  msgid "Width of custom thumbnail:"
808
  msgstr ""
809
 
810
- #: admin/main-view.php:560
811
  msgid "Height of custom thumbnail"
812
  msgstr ""
813
 
814
- #: admin/main-view.php:565
815
  msgid "Crop mode:"
816
  msgstr ""
817
 
818
- #: admin/main-view.php:569
819
  msgid ""
820
  "By default, thumbnails will be proportionately cropped. Check this box to "
821
  "hard crop the thumbnails."
822
  msgstr ""
823
 
824
- #: admin/main-view.php:570
825
  #, php-format
826
  msgid "<a href='%s' target='_blank'>Difference between soft and hard crop</a>"
827
  msgstr ""
828
 
829
- #: admin/main-view.php:574
830
  msgid "Image size attributes:"
831
  msgstr ""
832
 
833
- #: admin/main-view.php:578
834
  msgid "Style attributes are used for width and height."
835
  msgstr ""
836
 
837
- #: admin/main-view.php:583
838
  msgid "HTML width and height attributes are used for width and height."
839
  msgstr ""
840
 
841
- #: admin/main-view.php:588
842
  msgid "No HTML or Style attributes set for width and height"
843
  msgstr ""
844
 
845
- #: admin/main-view.php:593
846
  msgid "Post thumbnail meta field name:"
847
  msgstr ""
848
 
849
- #: admin/main-view.php:596
850
  msgid ""
851
  "The value of this field should contain the image source and is set in the "
852
  "<em>Add New Post</em> screen"
853
  msgstr ""
854
 
855
- #: admin/main-view.php:599
856
  #, fuzzy
857
  msgid ""
858
  "If the postmeta is not set, then should the plugin extract the first image "
@@ -862,7 +873,7 @@ msgstr ""
862
  "şəkilil çıxardacaq. Balaca kopyasını yaradılması ilə əlaqədar olaraq bu "
863
  "birinci dəfə şəkilin yükləməsini bir az uzada bilər. "
864
 
865
- #: admin/main-view.php:602
866
  #, fuzzy
867
  msgid ""
868
  "This could slow down the loading of your page if the first image in the "
@@ -872,21 +883,21 @@ msgstr ""
872
  "şəkilil çıxardacaq. Balaca kopyasını yaradılması ilə əlaqədar olaraq bu "
873
  "birinci dəfə şəkilin yükləməsini bir az uzada bilər. "
874
 
875
- #: admin/main-view.php:605
876
  msgid "Use default thumbnail?"
877
  msgstr ""
878
 
879
- #: admin/main-view.php:608
880
  msgid ""
881
  "If checked, when no thumbnail is found, show a default one from the URL "
882
  "below. If not checked and no thumbnail is found, no image will be shown."
883
  msgstr ""
884
 
885
- #: admin/main-view.php:611
886
  msgid "Default thumbnail:"
887
  msgstr ""
888
 
889
- #: admin/main-view.php:615
890
  #, fuzzy
891
  msgid ""
892
  "The plugin will first check if the post contains a thumbnail. If it doesn't "
@@ -897,65 +908,65 @@ msgstr ""
897
  "əvvəlcədən verilmiş sərbəst meta-sahə üzrə). Agər əvvəlcədən baxış yoxdursan "
898
  "onda standard şəkil çıxarılacaq:"
899
 
900
- #: admin/main-view.php:654
901
  msgid "Style of the related posts:"
902
  msgstr ""
903
 
904
- #: admin/main-view.php:657
905
  msgid "No styles"
906
  msgstr ""
907
 
908
- #: admin/main-view.php:659
909
  msgid "Select this option if you plan to add your own styles"
910
  msgstr ""
911
 
912
- #: admin/main-view.php:664
913
  msgid "Left Thumbnails"
914
  msgstr ""
915
 
916
- #: admin/main-view.php:667
917
  msgid ""
918
  "Enabling this option will set the post thumbnail to be before text. "
919
  "Disabling this option will not revert any settings."
920
  msgstr ""
921
 
922
- #: admin/main-view.php:668
923
  #, php-format
924
  msgid ""
925
  "You can view the default style at <a href=\"%1$s\" target=\"_blank\">%1$s</a>"
926
  msgstr ""
927
 
928
- #: admin/main-view.php:672
929
  msgid "Text only"
930
  msgstr ""
931
 
932
- #: admin/main-view.php:674
933
  msgid ""
934
  "Enabling this option will disable thumbnails and no longer include the "
935
  "default style sheet included in the plugin."
936
  msgstr ""
937
 
938
- #: admin/main-view.php:690
939
  msgid "Custom CSS to add to header:"
940
  msgstr ""
941
 
942
- #: admin/main-view.php:695
943
  msgid ""
944
  "Do not include <code>style</code> tags. Check out the <a href=\"http://"
945
  "wordpress.org/extend/plugins/top-10/faq/\" target=\"_blank\">FAQ</a> for "
946
  "available CSS classes to style."
947
  msgstr ""
948
 
949
- #: admin/main-view.php:715
950
  #, fuzzy
951
  msgid "Default Options"
952
  msgstr "Plaginin kökləmələri:"
953
 
954
- #: admin/main-view.php:715
955
  msgid "Do you want to set options to Default?"
956
  msgstr "Siz plaginin kökləmələrin standard etmək lazımdır?"
957
 
958
- #: admin/main-view.php:739
959
  msgid ""
960
  "Over time the Daily Top 10 database grows in size, which reduces the "
961
  "performance of the plugin. Cleaning the database at regular intervals could "
@@ -963,65 +974,65 @@ msgid ""
963
  "will automatically delete entries older than 90 days."
964
  msgstr ""
965
 
966
- #: admin/main-view.php:740
967
  msgid ""
968
  "Note: When scheduled maintenance is enabled, WordPress will run the cron job "
969
  "everytime the job is rescheduled (i.e. you change the settings below)."
970
  msgstr ""
971
 
972
- #: admin/main-view.php:743
973
  msgid "Enable scheduled maintenance of daily tables:"
974
  msgstr ""
975
 
976
- #: admin/main-view.php:747
977
  msgid "Time to run maintenance"
978
  msgstr ""
979
 
980
- #: admin/main-view.php:748
981
  msgid "hrs"
982
  msgstr ""
983
 
984
- #: admin/main-view.php:748
985
  msgid "min"
986
  msgstr ""
987
 
988
- #: admin/main-view.php:750
989
  msgid "How often should the maintenance be run:"
990
  msgstr ""
991
 
992
- #: admin/main-view.php:758
993
  msgid "Weekly"
994
  msgstr ""
995
 
996
- #: admin/main-view.php:762
997
  msgid "Fortnightly"
998
  msgstr ""
999
 
1000
- #: admin/main-view.php:766
1001
  msgid "Monthly"
1002
  msgstr ""
1003
 
1004
- #: admin/main-view.php:775
1005
  msgid "The cron job has been scheduled. Maintenance will run"
1006
  msgstr ""
1007
 
1008
- #: admin/main-view.php:780
1009
  msgid "The cron job is missing. Please resave this page to add the job"
1010
  msgstr ""
1011
 
1012
- #: admin/main-view.php:785
1013
  msgid "Maintenance is turned off"
1014
  msgstr ""
1015
 
1016
- #: admin/main-view.php:791
1017
  msgid "Save Maintenance Options"
1018
  msgstr ""
1019
 
1020
- #: admin/main-view.php:799
1021
  msgid "Reset count and other tools"
1022
  msgstr ""
1023
 
1024
- #: admin/main-view.php:802
1025
  msgid ""
1026
  "This cannot be reversed. Make sure that your database has been backed up "
1027
  "before proceeding"
@@ -1029,116 +1040,116 @@ msgstr ""
1029
  "Statistikanın sbrosu geriya qaytarmaq olmaz. Sbros etməkdən qabaq əmin olun "
1030
  "ki, Sizin məlumat bazasının kopiyası var!"
1031
 
1032
- #: admin/main-view.php:805
1033
  #, fuzzy
1034
  msgid "Reset Popular Posts"
1035
  msgstr "Populyar yazılar"
1036
 
1037
- #: admin/main-view.php:805
1038
  msgid "Are you sure you want to reset the popular posts?"
1039
  msgstr ""
1040
  "Siz əminsiniz ki, Populyar yazıları statistikanı sbros etmək istəyirsiniz?"
1041
 
1042
- #: admin/main-view.php:806
1043
  #, fuzzy
1044
  msgid "Reset Daily Popular Posts"
1045
  msgstr "Gündəlik Populyar Yazılar"
1046
 
1047
- #: admin/main-view.php:806
1048
  msgid "Are you sure you want to reset the daily popular posts?"
1049
  msgstr ""
1050
  "Siz əminsiniz ki, gündəlik populyar yazıları statistikanı sbros etmək "
1051
  "istəyirsiniz?"
1052
 
1053
- #: admin/main-view.php:809
1054
  msgid "This will merge post counts for posts with table entries of 0 and 1"
1055
  msgstr ""
1056
 
1057
- #: admin/main-view.php:812
1058
  msgid "Merge blog ID 0 and 1 post counts"
1059
  msgstr ""
1060
 
1061
- #: admin/main-view.php:812
1062
  msgid "This will merge post counts for blog IDs 0 and 1. Proceed?"
1063
  msgstr ""
1064
 
1065
- #: admin/main-view.php:815
1066
  msgid ""
1067
  "In older versions, the plugin created entries with duplicate post IDs. "
1068
  "Clicking the button below will merge these duplicate IDs"
1069
  msgstr ""
1070
 
1071
- #: admin/main-view.php:818
1072
  msgid "Merge duplicates across blog IDs"
1073
  msgstr ""
1074
 
1075
- #: admin/main-view.php:818
1076
  msgid "This will delete the duplicate entries in the tables. Proceed?"
1077
  msgstr "Cədvəldəki dublikat yazılar silinəcəklər. Davam edək?"
1078
 
1079
- #: admin/main-view.php:835
1080
  msgid "WordPress Multisite: Migrate Top 10 v1.x counts to 2.x"
1081
  msgstr ""
1082
 
1083
- #: admin/main-view.php:838
1084
  msgid ""
1085
  "If you've been using Top 10 v1.x on multisite, you would have needed to "
1086
  "activate the plugin independently for each site. This would have resulted in "
1087
  "two tables being created for each site in the network."
1088
  msgstr ""
1089
 
1090
- #: admin/main-view.php:839
1091
  msgid ""
1092
  "Top 10 v2.x onwards uses only a single table to record the count, keeping "
1093
  "your database clean. You can use this tool to import the recorded counts "
1094
  "from v1.x tables to the new v2.x table format."
1095
  msgstr ""
1096
 
1097
- #: admin/main-view.php:842
1098
  msgid ""
1099
  "If you do not see any tables below, then it means that either all data has "
1100
  "already been imported or no relevant information has been found."
1101
  msgstr ""
1102
 
1103
- #: admin/main-view.php:845
1104
  msgid ""
1105
  "After running the importer, please verify that all the counts have been "
1106
  "successfully imported. Only then should you delete any old tables!"
1107
  msgstr ""
1108
 
1109
- #: admin/main-view.php:879
1110
  msgid "Blog ID"
1111
  msgstr ""
1112
 
1113
- #: admin/main-view.php:882
1114
  msgid "Status"
1115
  msgstr ""
1116
 
1117
- #: admin/main-view.php:885
1118
  msgid "Select to import"
1119
  msgstr ""
1120
 
1121
- #: admin/main-view.php:895
1122
  msgid "Blog #"
1123
  msgstr ""
1124
 
1125
- #: admin/main-view.php:905
1126
  msgid "Not imported"
1127
  msgstr ""
1128
 
1129
- #: admin/main-view.php:909
1130
  msgid "Imported"
1131
  msgstr ""
1132
 
1133
- #: admin/main-view.php:930
1134
  msgid "Begin import"
1135
  msgstr ""
1136
 
1137
- #: admin/main-view.php:931
1138
  msgid "Delete selected tables"
1139
  msgstr ""
1140
 
1141
- #: admin/main-view.php:932
1142
  msgid "Delete all imported tables"
1143
  msgstr ""
1144
 
@@ -1222,15 +1233,15 @@ msgstr "Yazılışlara əvvəlcədən baxma kökləmələri:"
1222
  msgid "Post types to include:"
1223
  msgstr ""
1224
 
1225
- #: includes/media.php:63
1226
  msgid "thumb_timthumb argument has been deprecated"
1227
  msgstr ""
1228
 
1229
- #: includes/media.php:67
1230
  msgid "thumb_timthumb_q argument has been deprecated"
1231
  msgstr ""
1232
 
1233
- #: includes/media.php:71
1234
  msgid "filter argument has been deprecated"
1235
  msgstr ""
1236
 
@@ -1238,43 +1249,43 @@ msgstr ""
1238
  msgid " by "
1239
  msgstr ""
1240
 
1241
- #: top-10.php:157
1242
  msgid ""
1243
  "posts_only argument has been deprecated. Use get_tptn_pop_posts() to get the "
1244
  "posts only."
1245
  msgstr ""
1246
 
1247
- #: top-10.php:264
1248
  #, php-format
1249
  msgid "Popular posts by <a href=\"%s\" rel=\"nofollow\" %s>Top 10 plugin</a>"
1250
  msgstr ""
1251
 
1252
- #: top-10.php:610
1253
  msgid "<h3>Popular Posts</h3>"
1254
  msgstr "<h3>Populyar yazılar</h3>"
1255
 
1256
- #: top-10.php:611
1257
  msgid "<h3>Daily Popular</h3>"
1258
  msgstr "<h3>Gündəlik Populyar</h3>"
1259
 
1260
- #: top-10.php:612
1261
  #, fuzzy
1262
  msgid "No top posts yet"
1263
  msgstr "10 populyar yazı statisticasını pozmaq"
1264
 
1265
- #: top-10.php:1093
1266
  msgid "Once Weekly"
1267
  msgstr ""
1268
 
1269
- #: top-10.php:1097
1270
  msgid "Once Fortnightly"
1271
  msgstr ""
1272
 
1273
- #: top-10.php:1101
1274
  msgid "Once Monthly"
1275
  msgstr ""
1276
 
1277
- #: top-10.php:1105
1278
  msgid "Once quarterly"
1279
  msgstr ""
1280
 
2
  msgstr ""
3
  "Project-Id-Version: Топ 10\n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2015-09-27 13:35+0100\n"
6
  "PO-Revision-Date: \n"
7
  "Last-Translator: Ajay D'Souza <me@ajaydsouza.com>\n"
8
  "Language-Team: Bohdan Zograf <bozograf@gmail.com>\n"
44
  msgid "Popular posts by <a href=\"%s\" target=\"_blank\">Top 10 plugin</a>"
45
  msgstr ""
46
 
47
+ #: admin/admin-dashboard.php:109 admin/class-stats.php:438
48
  #: admin/deprecated.php:41
49
  msgid "Popular Posts"
50
  msgstr "Populyar yazılar"
153
  msgid "Scheduled maintenance disabled"
154
  msgstr ""
155
 
156
+ #: admin/admin.php:299
157
  msgid "Counts from selected sites have been imported."
158
  msgstr ""
159
 
160
+ #: admin/admin.php:324
161
  msgid ""
162
  "Selected tables have been deleted. Note that only imported tables have been "
163
  "deleted."
164
  msgstr ""
165
 
166
+ #: admin/admin.php:341 admin/admin.php:361 admin/admin.php:385
167
  #: admin/main-view.php:55 admin/main-view.php:174 admin/main-view.php:279
168
+ #: admin/main-view.php:488 admin/main-view.php:651 admin/main-view.php:747
169
+ #: admin/main-view.php:811 admin/main-view.php:846
170
  msgid "Click to toggle"
171
  msgstr ""
172
 
173
+ #: admin/admin.php:342
174
  msgid "Support the development"
175
  msgstr "İnkişafı dəstək vermək"
176
 
177
+ #: admin/admin.php:349
178
  msgid "Donation for Top 10"
179
  msgstr ""
180
 
181
+ #: admin/admin.php:351
182
  msgid "Enter amount in USD:"
183
  msgstr ""
184
 
185
+ #: admin/admin.php:355
186
  #, fuzzy
187
  msgid "Send your donation to the author of Top 10"
188
  msgstr "Müəlifə ianə göndərin "
189
 
190
+ #: admin/admin.php:362
191
  msgid "Follow me"
192
  msgstr ""
193
 
194
+ #: admin/admin.php:386
195
  #, fuzzy
196
  msgid "Quick links"
197
  msgstr "Faydalı istenadlar"
198
 
199
+ #: admin/admin.php:390
200
  #, fuzzy
201
  msgid "Top 10 plugin page"
202
  msgstr "plaginin səhifəsi"
203
 
204
+ #: admin/admin.php:391
205
  msgid "Top 10 Github page"
206
  msgstr ""
207
 
208
+ #: admin/admin.php:392
209
  msgid "Other plugins"
210
  msgstr "Digər plaginlər"
211
 
212
+ #: admin/admin.php:393
213
  msgid "FAQ"
214
  msgstr ""
215
 
216
+ #: admin/admin.php:394 admin/admin.php:564
217
  msgid "Support"
218
  msgstr "Dəstək"
219
 
220
+ #: admin/admin.php:395
221
  msgid "Reviews"
222
  msgstr ""
223
 
224
+ #: admin/admin.php:396
225
  msgid "Ajay's blog"
226
  msgstr "Ajay-in blogu"
227
 
228
+ #: admin/admin.php:413 admin/admin.php:416 admin/main-view.php:22
229
  #, fuzzy
230
  msgid "Top 10 Settings"
231
  msgstr "Kökləmələr"
232
 
233
+ #: admin/admin.php:413
234
  msgid "Top 10"
235
  msgstr "Top 10 yazılar"
236
 
237
+ #: admin/admin.php:421
238
  msgid "View Popular Posts"
239
  msgstr ""
240
 
241
+ #: admin/admin.php:541
242
  msgid "Settings"
243
  msgstr "Kökləmələr"
244
 
245
+ #: admin/admin.php:565
246
  msgid "Donate"
247
  msgstr "İanə etmək"
248
 
249
+ #: admin/cache.php:19
250
  msgid "Top 10 cache has been cleared"
251
  msgstr ""
252
 
253
+ #: admin/class-stats.php:36
254
  msgid "popular_post"
255
  msgstr ""
256
 
257
+ #: admin/class-stats.php:37
258
  msgid "popular_posts"
259
  msgstr ""
260
 
261
+ #: admin/class-stats.php:160
262
  msgid "No popular posts available."
263
  msgstr ""
264
 
265
+ #: admin/class-stats.php:209
266
  msgid "View"
267
  msgstr ""
268
 
269
+ #: admin/class-stats.php:210
270
  msgid "Edit"
271
  msgstr ""
272
 
273
+ #: admin/class-stats.php:211
274
  msgid "Delete"
275
  msgstr ""
276
 
277
+ #: admin/class-stats.php:233
278
  msgid "Y/m/d g:i:s a"
279
  msgstr ""
280
 
281
+ #: admin/class-stats.php:240
282
  #, php-format
283
  msgid "%s ago"
284
  msgstr ""
285
 
286
+ #: admin/class-stats.php:242
287
  msgid "Y/m/d"
288
  msgstr ""
289
 
290
+ #: admin/class-stats.php:276 includes/class-top-10-widget.php:71
291
  msgid "Title"
292
  msgstr ""
293
 
294
+ #: admin/class-stats.php:277
295
  msgid "Total visits"
296
  msgstr ""
297
 
298
+ #: admin/class-stats.php:278
299
  msgid "Daily visits"
300
  msgstr ""
301
 
302
+ #: admin/class-stats.php:279
303
  msgid "Post type"
304
  msgstr ""
305
 
306
+ #: admin/class-stats.php:280
307
  msgid "Author"
308
  msgstr ""
309
 
310
+ #: admin/class-stats.php:281
311
  msgid "Date"
312
  msgstr ""
313
 
314
+ #: admin/class-stats.php:315
315
  msgid "Delete Count"
316
  msgstr ""
317
 
318
+ #: admin/class-stats.php:355
319
  msgid "Are you sure you want to do this"
320
  msgstr ""
321
 
331
  msgid "Popular post list options"
332
  msgstr ""
333
 
334
+ #: admin/main-view.php:37 admin/main-view.php:489
335
  #: includes/class-top-10-widget.php:115
336
  #, fuzzy
337
  msgid "Thumbnail options"
338
  msgstr "Yazılışlara əvvəlcədən baxma kökləmələri:"
339
 
340
+ #: admin/main-view.php:38 admin/main-view.php:652
341
  msgid "Styles"
342
  msgstr ""
343
 
344
+ #: admin/main-view.php:39 admin/main-view.php:748
345
  msgid "Maintenance"
346
  msgstr ""
347
 
353
  msgid "Overall"
354
  msgstr ""
355
 
356
+ #: admin/main-view.php:83 admin/main-view.php:767
357
  msgid "Daily"
358
  msgstr ""
359
 
473
  "Popyulyar siyahının altnda ssılkanı qoymaq lazımdır? Plaginin müəllifi Siz "
474
  "onu qoyduğunuz halda Sizə çox minnətdar olardı!"
475
 
476
+ #: admin/main-view.php:156 admin/main-view.php:261 admin/main-view.php:470
477
+ #: admin/main-view.php:633 admin/main-view.php:727
478
  #, fuzzy
479
  msgid "Save Options"
480
  msgstr "Opsiyalar:"
642
  msgid "List of post or page IDs to exclude from the results:"
643
  msgstr ""
644
 
645
+ #: admin/main-view.php:327 admin/main-view.php:438
646
  msgid "Enter comma separated list of IDs. e.g. 188,320,500"
647
  msgstr ""
648
 
657
  "options"
658
  msgstr ""
659
 
660
+ #: admin/main-view.php:350
661
+ msgid "Excluded category IDs are:"
662
+ msgstr ""
663
+
664
+ #: admin/main-view.php:356
665
+ msgid ""
666
+ "These might differ from the IDs visible in the Categories page which use the "
667
+ "<code>term_id</code>. Top 10 uses the <code>term_taxonomy_id</code> which is "
668
+ "unique to this taxonomy."
669
+ msgstr ""
670
+
671
+ #: admin/main-view.php:362
672
  msgid "Title of popular posts:"
673
  msgstr ""
674
 
675
+ #: admin/main-view.php:368
676
  msgid "Title of daily popular posts:"
677
  msgstr ""
678
 
679
+ #: admin/main-view.php:374
680
  msgid "When there are no posts, what should be shown?"
681
  msgstr ""
682
 
683
+ #: admin/main-view.php:378
684
  msgid "Blank Output"
685
  msgstr ""
686
 
687
+ #: admin/main-view.php:382
688
  msgid "Display:"
689
  msgstr ""
690
 
691
+ #: admin/main-view.php:387
692
  msgid "Show post excerpt in list?"
693
  msgstr "Yazılış mətnini siyahıda göstərmək lazımdır?"
694
 
695
+ #: admin/main-view.php:393
696
  msgid "Length of excerpt (in words):"
697
  msgstr ""
698
 
699
+ #: admin/main-view.php:399
700
  #, fuzzy
701
  msgid "Show post author in list?"
702
  msgstr "Yazılış mətnini siyahıda göstərmək lazımdır?"
703
 
704
+ #: admin/main-view.php:405
705
  #, fuzzy
706
  msgid "Show post date in list?"
707
  msgstr "Yazılış mətnini siyahıda göstərmək lazımdır?"
708
 
709
+ #: admin/main-view.php:411
710
  msgid "Limit post title length (in characters)"
711
  msgstr ""
712
 
713
+ #: admin/main-view.php:417
714
  #, fuzzy
715
  msgid "Show view count in list?"
716
  msgstr "Yazılış mətnini siyahıda göstərmək lazımdır?"
717
 
718
+ #: admin/main-view.php:423
719
  msgid "Open links in new window"
720
  msgstr ""
721
 
722
+ #: admin/main-view.php:429
723
  msgid "Add nofollow attribute to links in the list"
724
  msgstr ""
725
 
726
+ #: admin/main-view.php:435
727
  msgid "Exclude display of related posts on these posts / pages"
728
  msgstr ""
729
 
730
+ #: admin/main-view.php:442
731
  #, fuzzy
732
  msgid "Customise the list HTML"
733
  msgstr "Suiyahı formasının kökləmələri:"
734
 
735
+ #: admin/main-view.php:445
736
  msgid "HTML to display before the list of posts:"
737
  msgstr ""
738
 
739
+ #: admin/main-view.php:451
740
  msgid "HTML to display before each list item:"
741
  msgstr ""
742
 
743
+ #: admin/main-view.php:457
744
  msgid "HTML to display after each list item:"
745
  msgstr ""
746
 
747
+ #: admin/main-view.php:463
748
  msgid "HTML to display after the list of posts:"
749
  msgstr ""
750
 
751
+ #: admin/main-view.php:504
752
  msgid "Location of post thumbnail:"
753
  msgstr ""
754
 
755
+ #: admin/main-view.php:508
756
  #, fuzzy
757
  msgid "Display thumbnails inline with posts, before title"
758
  msgstr "Mətni və əvvəlcədən baxışı göstərmək"
759
 
760
+ #: admin/main-view.php:513
761
  #, fuzzy
762
  msgid "Display thumbnails inline with posts, after title"
763
  msgstr "Mətni və əvvəlcədən baxışı göstərmək"
764
 
765
+ #: admin/main-view.php:518
766
  msgid "Display only thumbnails, no text"
767
  msgstr "Yalnız əvvəlcədən baxışı göstərmək, mətnsiz"
768
 
769
+ #: admin/main-view.php:523
770
  msgid "Do not display thumbnails, only text."
771
  msgstr "Yalnız mətini göstərmək, əvəlcədən baxışsız"
772
 
773
+ #: admin/main-view.php:527
774
  msgid ""
775
  "This setting cannot be changed because an inbuilt style has been selected "
776
  "under the Styles section. If you would like to change this option, please "
777
  "select No styles under the Styles section."
778
  msgstr ""
779
 
780
+ #: admin/main-view.php:531
781
  msgid "Thumbnail size:"
782
  msgstr ""
783
 
784
+ #: admin/main-view.php:555
785
  msgid "Custom size"
786
  msgstr ""
787
 
788
+ #: admin/main-view.php:558
789
  msgid ""
790
  "You can choose from existing image sizes above or create a custom size. If "
791
  "you have chosen Custom size above, then enter the width, height and crop "
792
  "settings below. For best results, use a cropped image."
793
  msgstr ""
794
 
795
+ #: admin/main-view.php:559
796
  msgid ""
797
  "If you change the width and/or height below, existing images will not be "
798
  "automatically resized."
799
  msgstr ""
800
 
801
+ #: admin/main-view.php:560
802
  #, php-format
803
  msgid ""
804
  "I recommend using <a href='%s' class='thickbox'>OTF Regenerate Thumbnails</"
806
  "all image sizes."
807
  msgstr ""
808
 
809
+ #: admin/main-view.php:563
810
  msgid ""
811
  "If you're using the Left Thumbs style below then the thumbnail width and "
812
  "height that you set here will supersede the widget. Alternatively, choose "
814
  "strong> option below"
815
  msgstr ""
816
 
817
+ #: admin/main-view.php:566
818
  msgid "Width of custom thumbnail:"
819
  msgstr ""
820
 
821
+ #: admin/main-view.php:571
822
  msgid "Height of custom thumbnail"
823
  msgstr ""
824
 
825
+ #: admin/main-view.php:576
826
  msgid "Crop mode:"
827
  msgstr ""
828
 
829
+ #: admin/main-view.php:580
830
  msgid ""
831
  "By default, thumbnails will be proportionately cropped. Check this box to "
832
  "hard crop the thumbnails."
833
  msgstr ""
834
 
835
+ #: admin/main-view.php:581
836
  #, php-format
837
  msgid "<a href='%s' target='_blank'>Difference between soft and hard crop</a>"
838
  msgstr ""
839
 
840
+ #: admin/main-view.php:585
841
  msgid "Image size attributes:"
842
  msgstr ""
843
 
844
+ #: admin/main-view.php:589
845
  msgid "Style attributes are used for width and height."
846
  msgstr ""
847
 
848
+ #: admin/main-view.php:595
849
  msgid "HTML width and height attributes are used for width and height."
850
  msgstr ""
851
 
852
+ #: admin/main-view.php:601
853
  msgid "No HTML or Style attributes set for width and height"
854
  msgstr ""
855
 
856
+ #: admin/main-view.php:606
857
  msgid "Post thumbnail meta field name:"
858
  msgstr ""
859
 
860
+ #: admin/main-view.php:609
861
  msgid ""
862
  "The value of this field should contain the image source and is set in the "
863
  "<em>Add New Post</em> screen"
864
  msgstr ""
865
 
866
+ #: admin/main-view.php:612
867
  #, fuzzy
868
  msgid ""
869
  "If the postmeta is not set, then should the plugin extract the first image "
873
  "şəkilil çıxardacaq. Balaca kopyasını yaradılması ilə əlaqədar olaraq bu "
874
  "birinci dəfə şəkilin yükləməsini bir az uzada bilər. "
875
 
876
+ #: admin/main-view.php:615
877
  #, fuzzy
878
  msgid ""
879
  "This could slow down the loading of your page if the first image in the "
883
  "şəkilil çıxardacaq. Balaca kopyasını yaradılması ilə əlaqədar olaraq bu "
884
  "birinci dəfə şəkilin yükləməsini bir az uzada bilər. "
885
 
886
+ #: admin/main-view.php:618
887
  msgid "Use default thumbnail?"
888
  msgstr ""
889
 
890
+ #: admin/main-view.php:621
891
  msgid ""
892
  "If checked, when no thumbnail is found, show a default one from the URL "
893
  "below. If not checked and no thumbnail is found, no image will be shown."
894
  msgstr ""
895
 
896
+ #: admin/main-view.php:624
897
  msgid "Default thumbnail:"
898
  msgstr ""
899
 
900
+ #: admin/main-view.php:628
901
  #, fuzzy
902
  msgid ""
903
  "The plugin will first check if the post contains a thumbnail. If it doesn't "
908
  "əvvəlcədən verilmiş sərbəst meta-sahə üzrə). Agər əvvəlcədən baxış yoxdursan "
909
  "onda standard şəkil çıxarılacaq:"
910
 
911
+ #: admin/main-view.php:667
912
  msgid "Style of the related posts:"
913
  msgstr ""
914
 
915
+ #: admin/main-view.php:670
916
  msgid "No styles"
917
  msgstr ""
918
 
919
+ #: admin/main-view.php:672
920
  msgid "Select this option if you plan to add your own styles"
921
  msgstr ""
922
 
923
+ #: admin/main-view.php:677
924
  msgid "Left Thumbnails"
925
  msgstr ""
926
 
927
+ #: admin/main-view.php:680
928
  msgid ""
929
  "Enabling this option will set the post thumbnail to be before text. "
930
  "Disabling this option will not revert any settings."
931
  msgstr ""
932
 
933
+ #: admin/main-view.php:681
934
  #, php-format
935
  msgid ""
936
  "You can view the default style at <a href=\"%1$s\" target=\"_blank\">%1$s</a>"
937
  msgstr ""
938
 
939
+ #: admin/main-view.php:685
940
  msgid "Text only"
941
  msgstr ""
942
 
943
+ #: admin/main-view.php:687
944
  msgid ""
945
  "Enabling this option will disable thumbnails and no longer include the "
946
  "default style sheet included in the plugin."
947
  msgstr ""
948
 
949
+ #: admin/main-view.php:703
950
  msgid "Custom CSS to add to header:"
951
  msgstr ""
952
 
953
+ #: admin/main-view.php:708
954
  msgid ""
955
  "Do not include <code>style</code> tags. Check out the <a href=\"http://"
956
  "wordpress.org/extend/plugins/top-10/faq/\" target=\"_blank\">FAQ</a> for "
957
  "available CSS classes to style."
958
  msgstr ""
959
 
960
+ #: admin/main-view.php:728
961
  #, fuzzy
962
  msgid "Default Options"
963
  msgstr "Plaginin kökləmələri:"
964
 
965
+ #: admin/main-view.php:728
966
  msgid "Do you want to set options to Default?"
967
  msgstr "Siz plaginin kökləmələrin standard etmək lazımdır?"
968
 
969
+ #: admin/main-view.php:752
970
  msgid ""
971
  "Over time the Daily Top 10 database grows in size, which reduces the "
972
  "performance of the plugin. Cleaning the database at regular intervals could "
974
  "will automatically delete entries older than 90 days."
975
  msgstr ""
976
 
977
+ #: admin/main-view.php:753
978
  msgid ""
979
  "Note: When scheduled maintenance is enabled, WordPress will run the cron job "
980
  "everytime the job is rescheduled (i.e. you change the settings below)."
981
  msgstr ""
982
 
983
+ #: admin/main-view.php:756
984
  msgid "Enable scheduled maintenance of daily tables:"
985
  msgstr ""
986
 
987
+ #: admin/main-view.php:760
988
  msgid "Time to run maintenance"
989
  msgstr ""
990
 
991
+ #: admin/main-view.php:761
992
  msgid "hrs"
993
  msgstr ""
994
 
995
+ #: admin/main-view.php:761
996
  msgid "min"
997
  msgstr ""
998
 
999
+ #: admin/main-view.php:763
1000
  msgid "How often should the maintenance be run:"
1001
  msgstr ""
1002
 
1003
+ #: admin/main-view.php:771
1004
  msgid "Weekly"
1005
  msgstr ""
1006
 
1007
+ #: admin/main-view.php:775
1008
  msgid "Fortnightly"
1009
  msgstr ""
1010
 
1011
+ #: admin/main-view.php:779
1012
  msgid "Monthly"
1013
  msgstr ""
1014
 
1015
+ #: admin/main-view.php:788
1016
  msgid "The cron job has been scheduled. Maintenance will run"
1017
  msgstr ""
1018
 
1019
+ #: admin/main-view.php:793
1020
  msgid "The cron job is missing. Please resave this page to add the job"
1021
  msgstr ""
1022
 
1023
+ #: admin/main-view.php:798
1024
  msgid "Maintenance is turned off"
1025
  msgstr ""
1026
 
1027
+ #: admin/main-view.php:804
1028
  msgid "Save Maintenance Options"
1029
  msgstr ""
1030
 
1031
+ #: admin/main-view.php:812
1032
  msgid "Reset count and other tools"
1033
  msgstr ""
1034
 
1035
+ #: admin/main-view.php:815
1036
  msgid ""
1037
  "This cannot be reversed. Make sure that your database has been backed up "
1038
  "before proceeding"
1040
  "Statistikanın sbrosu geriya qaytarmaq olmaz. Sbros etməkdən qabaq əmin olun "
1041
  "ki, Sizin məlumat bazasının kopiyası var!"
1042
 
1043
+ #: admin/main-view.php:818
1044
  #, fuzzy
1045
  msgid "Reset Popular Posts"
1046
  msgstr "Populyar yazılar"
1047
 
1048
+ #: admin/main-view.php:818
1049
  msgid "Are you sure you want to reset the popular posts?"
1050
  msgstr ""
1051
  "Siz əminsiniz ki, Populyar yazıları statistikanı sbros etmək istəyirsiniz?"
1052
 
1053
+ #: admin/main-view.php:819
1054
  #, fuzzy
1055
  msgid "Reset Daily Popular Posts"
1056
  msgstr "Gündəlik Populyar Yazılar"
1057
 
1058
+ #: admin/main-view.php:819
1059
  msgid "Are you sure you want to reset the daily popular posts?"
1060
  msgstr ""
1061
  "Siz əminsiniz ki, gündəlik populyar yazıları statistikanı sbros etmək "
1062
  "istəyirsiniz?"
1063
 
1064
+ #: admin/main-view.php:822
1065
  msgid "This will merge post counts for posts with table entries of 0 and 1"
1066
  msgstr ""
1067
 
1068
+ #: admin/main-view.php:825
1069
  msgid "Merge blog ID 0 and 1 post counts"
1070
  msgstr ""
1071
 
1072
+ #: admin/main-view.php:825
1073
  msgid "This will merge post counts for blog IDs 0 and 1. Proceed?"
1074
  msgstr ""
1075
 
1076
+ #: admin/main-view.php:828
1077
  msgid ""
1078
  "In older versions, the plugin created entries with duplicate post IDs. "
1079
  "Clicking the button below will merge these duplicate IDs"
1080
  msgstr ""
1081
 
1082
+ #: admin/main-view.php:831
1083
  msgid "Merge duplicates across blog IDs"
1084
  msgstr ""
1085
 
1086
+ #: admin/main-view.php:831
1087
  msgid "This will delete the duplicate entries in the tables. Proceed?"
1088
  msgstr "Cədvəldəki dublikat yazılar silinəcəklər. Davam edək?"
1089
 
1090
+ #: admin/main-view.php:847
1091
  msgid "WordPress Multisite: Migrate Top 10 v1.x counts to 2.x"
1092
  msgstr ""
1093
 
1094
+ #: admin/main-view.php:850
1095
  msgid ""
1096
  "If you've been using Top 10 v1.x on multisite, you would have needed to "
1097
  "activate the plugin independently for each site. This would have resulted in "
1098
  "two tables being created for each site in the network."
1099
  msgstr ""
1100
 
1101
+ #: admin/main-view.php:851
1102
  msgid ""
1103
  "Top 10 v2.x onwards uses only a single table to record the count, keeping "
1104
  "your database clean. You can use this tool to import the recorded counts "
1105
  "from v1.x tables to the new v2.x table format."
1106
  msgstr ""
1107
 
1108
+ #: admin/main-view.php:854
1109
  msgid ""
1110
  "If you do not see any tables below, then it means that either all data has "
1111
  "already been imported or no relevant information has been found."
1112
  msgstr ""
1113
 
1114
+ #: admin/main-view.php:857
1115
  msgid ""
1116
  "After running the importer, please verify that all the counts have been "
1117
  "successfully imported. Only then should you delete any old tables!"
1118
  msgstr ""
1119
 
1120
+ #: admin/main-view.php:891
1121
  msgid "Blog ID"
1122
  msgstr ""
1123
 
1124
+ #: admin/main-view.php:894
1125
  msgid "Status"
1126
  msgstr ""
1127
 
1128
+ #: admin/main-view.php:897
1129
  msgid "Select to import"
1130
  msgstr ""
1131
 
1132
+ #: admin/main-view.php:907
1133
  msgid "Blog #"
1134
  msgstr ""
1135
 
1136
+ #: admin/main-view.php:917
1137
  msgid "Not imported"
1138
  msgstr ""
1139
 
1140
+ #: admin/main-view.php:921
1141
  msgid "Imported"
1142
  msgstr ""
1143
 
1144
+ #: admin/main-view.php:942
1145
  msgid "Begin import"
1146
  msgstr ""
1147
 
1148
+ #: admin/main-view.php:943
1149
  msgid "Delete selected tables"
1150
  msgstr ""
1151
 
1152
+ #: admin/main-view.php:944
1153
  msgid "Delete all imported tables"
1154
  msgstr ""
1155
 
1233
  msgid "Post types to include:"
1234
  msgstr ""
1235
 
1236
+ #: includes/media.php:62
1237
  msgid "thumb_timthumb argument has been deprecated"
1238
  msgstr ""
1239
 
1240
+ #: includes/media.php:66
1241
  msgid "thumb_timthumb_q argument has been deprecated"
1242
  msgstr ""
1243
 
1244
+ #: includes/media.php:70
1245
  msgid "filter argument has been deprecated"
1246
  msgstr ""
1247
 
1249
  msgid " by "
1250
  msgstr ""
1251
 
1252
+ #: top-10.php:163
1253
  msgid ""
1254
  "posts_only argument has been deprecated. Use get_tptn_pop_posts() to get the "
1255
  "posts only."
1256
  msgstr ""
1257
 
1258
+ #: top-10.php:300
1259
  #, php-format
1260
  msgid "Popular posts by <a href=\"%s\" rel=\"nofollow\" %s>Top 10 plugin</a>"
1261
  msgstr ""
1262
 
1263
+ #: top-10.php:641
1264
  msgid "<h3>Popular Posts</h3>"
1265
  msgstr "<h3>Populyar yazılar</h3>"
1266
 
1267
+ #: top-10.php:642
1268
  msgid "<h3>Daily Popular</h3>"
1269
  msgstr "<h3>Gündəlik Populyar</h3>"
1270
 
1271
+ #: top-10.php:643
1272
  #, fuzzy
1273
  msgid "No top posts yet"
1274
  msgstr "10 populyar yazı statisticasını pozmaq"
1275
 
1276
+ #: top-10.php:1124
1277
  msgid "Once Weekly"
1278
  msgstr ""
1279
 
1280
+ #: top-10.php:1128
1281
  msgid "Once Fortnightly"
1282
  msgstr ""
1283
 
1284
+ #: top-10.php:1132
1285
  msgid "Once Monthly"
1286
  msgstr ""
1287
 
1288
+ #: top-10.php:1136
1289
  msgid "Once quarterly"
1290
  msgstr ""
1291
 
languages/{tptn-be_BY.mo → top-10-be_BY.mo} RENAMED
Binary file
languages/{tptn-be_BY.po → top-10-be_BY.po} RENAMED
@@ -2,7 +2,7 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Топ 10\n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2015-09-13 22:08+0100\n"
6
  "PO-Revision-Date: \n"
7
  "Last-Translator: Ajay D'Souza <me@ajaydsouza.com>\n"
8
  "Language-Team: FatCow <zhr@tut.by>\n"
@@ -44,7 +44,7 @@ msgstr ""
44
  msgid "Popular posts by <a href=\"%s\" target=\"_blank\">Top 10 plugin</a>"
45
  msgstr ""
46
 
47
- #: admin/admin-dashboard.php:109 admin/class-stats.php:440
48
  #: admin/deprecated.php:41
49
  msgid "Popular Posts"
50
  msgstr "Папулярныя запісы"
@@ -154,167 +154,167 @@ msgstr ""
154
  msgid "Scheduled maintenance disabled"
155
  msgstr ""
156
 
157
- #: admin/admin.php:300
158
  msgid "Counts from selected sites have been imported."
159
  msgstr ""
160
 
161
- #: admin/admin.php:325
162
  msgid ""
163
  "Selected tables have been deleted. Note that only imported tables have been "
164
  "deleted."
165
  msgstr ""
166
 
167
- #: admin/admin.php:342 admin/admin.php:362 admin/admin.php:372
168
  #: admin/main-view.php:55 admin/main-view.php:174 admin/main-view.php:279
169
- #: admin/main-view.php:477 admin/main-view.php:638 admin/main-view.php:734
170
- #: admin/main-view.php:798 admin/main-view.php:834
171
  msgid "Click to toggle"
172
  msgstr ""
173
 
174
- #: admin/admin.php:343
175
  #, fuzzy
176
  msgid "Support the development"
177
  msgstr "Падтрымаеце стваральніка ўбудовы"
178
 
179
- #: admin/admin.php:350
180
  msgid "Donation for Top 10"
181
  msgstr ""
182
 
183
- #: admin/admin.php:352
184
  msgid "Enter amount in USD:"
185
  msgstr ""
186
 
187
- #: admin/admin.php:356
188
  msgid "Send your donation to the author of Top 10"
189
  msgstr ""
190
 
191
- #: admin/admin.php:363
192
  msgid "Follow me"
193
  msgstr ""
194
 
195
- #: admin/admin.php:373
196
  msgid "Quick links"
197
  msgstr ""
198
 
199
- #: admin/admin.php:377
200
  msgid "Top 10 plugin page"
201
  msgstr ""
202
 
203
- #: admin/admin.php:378
204
  msgid "Top 10 Github page"
205
  msgstr ""
206
 
207
- #: admin/admin.php:379
208
  msgid "Other plugins"
209
  msgstr ""
210
 
211
- #: admin/admin.php:380
212
  msgid "FAQ"
213
  msgstr ""
214
 
215
- #: admin/admin.php:381 admin/admin.php:551
216
  msgid "Support"
217
  msgstr ""
218
 
219
- #: admin/admin.php:382
220
  msgid "Reviews"
221
  msgstr ""
222
 
223
- #: admin/admin.php:383
224
  msgid "Ajay's blog"
225
  msgstr ""
226
 
227
- #: admin/admin.php:400 admin/admin.php:403 admin/main-view.php:22
228
  #, fuzzy
229
  msgid "Top 10 Settings"
230
  msgstr "Топ 10 запісаў"
231
 
232
- #: admin/admin.php:400
233
  msgid "Top 10"
234
  msgstr "Топ 10 запісаў"
235
 
236
- #: admin/admin.php:408
237
  msgid "View Popular Posts"
238
  msgstr ""
239
 
240
- #: admin/admin.php:528
241
  msgid "Settings"
242
  msgstr ""
243
 
244
- #: admin/admin.php:552
245
  msgid "Donate"
246
  msgstr ""
247
 
248
- #: admin/cache.php:20
249
  msgid "Top 10 cache has been cleared"
250
  msgstr ""
251
 
252
- #: admin/class-stats.php:37
253
  msgid "popular_post"
254
  msgstr ""
255
 
256
- #: admin/class-stats.php:38
257
  msgid "popular_posts"
258
  msgstr ""
259
 
260
- #: admin/class-stats.php:162
261
  msgid "No popular posts available."
262
  msgstr ""
263
 
264
- #: admin/class-stats.php:211
265
  msgid "View"
266
  msgstr ""
267
 
268
- #: admin/class-stats.php:212
269
  msgid "Edit"
270
  msgstr ""
271
 
272
- #: admin/class-stats.php:213
273
  msgid "Delete"
274
  msgstr ""
275
 
276
- #: admin/class-stats.php:235
277
  msgid "Y/m/d g:i:s a"
278
  msgstr ""
279
 
280
- #: admin/class-stats.php:242
281
  #, php-format
282
  msgid "%s ago"
283
  msgstr ""
284
 
285
- #: admin/class-stats.php:244
286
  msgid "Y/m/d"
287
  msgstr ""
288
 
289
- #: admin/class-stats.php:278 includes/class-top-10-widget.php:71
290
  msgid "Title"
291
  msgstr ""
292
 
293
- #: admin/class-stats.php:279
294
  msgid "Total visits"
295
  msgstr ""
296
 
297
- #: admin/class-stats.php:280
298
  msgid "Daily visits"
299
  msgstr ""
300
 
301
- #: admin/class-stats.php:281
302
  msgid "Post type"
303
  msgstr ""
304
 
305
- #: admin/class-stats.php:282
306
  msgid "Author"
307
  msgstr ""
308
 
309
- #: admin/class-stats.php:283
310
  msgid "Date"
311
  msgstr ""
312
 
313
- #: admin/class-stats.php:317
314
  msgid "Delete Count"
315
  msgstr ""
316
 
317
- #: admin/class-stats.php:357
318
  msgid "Are you sure you want to do this"
319
  msgstr ""
320
 
@@ -330,16 +330,16 @@ msgstr ""
330
  msgid "Popular post list options"
331
  msgstr ""
332
 
333
- #: admin/main-view.php:37 admin/main-view.php:478
334
  #: includes/class-top-10-widget.php:115
335
  msgid "Thumbnail options"
336
  msgstr ""
337
 
338
- #: admin/main-view.php:38 admin/main-view.php:639
339
  msgid "Styles"
340
  msgstr ""
341
 
342
- #: admin/main-view.php:39 admin/main-view.php:735
343
  msgid "Maintenance"
344
  msgstr ""
345
 
@@ -351,7 +351,7 @@ msgstr ""
351
  msgid "Overall"
352
  msgstr ""
353
 
354
- #: admin/main-view.php:83 admin/main-view.php:754
355
  msgid "Daily"
356
  msgstr ""
357
 
@@ -471,8 +471,8 @@ msgstr ""
471
  "Спасылка на ўбудову будзе дададзена да спісаў Папулярных запісаў. Мы будзем "
472
  "удзячныя Вам, калі Вы яе ўсё ж пакінеце!"
473
 
474
- #: admin/main-view.php:156 admin/main-view.php:261 admin/main-view.php:459
475
- #: admin/main-view.php:620 admin/main-view.php:714
476
  #, fuzzy
477
  msgid "Save Options"
478
  msgstr "Налады ўбудовы:"
@@ -640,7 +640,7 @@ msgstr ""
640
  msgid "List of post or page IDs to exclude from the results:"
641
  msgstr ""
642
 
643
- #: admin/main-view.php:327 admin/main-view.php:427
644
  msgid "Enter comma separated list of IDs. e.g. 188,320,500"
645
  msgstr ""
646
 
@@ -655,133 +655,144 @@ msgid ""
655
  "options"
656
  msgstr ""
657
 
658
- #: admin/main-view.php:351
 
 
 
 
 
 
 
 
 
 
 
659
  msgid "Title of popular posts:"
660
  msgstr ""
661
 
662
- #: admin/main-view.php:357
663
  msgid "Title of daily popular posts:"
664
  msgstr ""
665
 
666
- #: admin/main-view.php:363
667
  msgid "When there are no posts, what should be shown?"
668
  msgstr ""
669
 
670
- #: admin/main-view.php:367
671
  msgid "Blank Output"
672
  msgstr ""
673
 
674
- #: admin/main-view.php:371
675
  msgid "Display:"
676
  msgstr ""
677
 
678
- #: admin/main-view.php:376
679
  msgid "Show post excerpt in list?"
680
  msgstr ""
681
 
682
- #: admin/main-view.php:382
683
  msgid "Length of excerpt (in words):"
684
  msgstr ""
685
 
686
- #: admin/main-view.php:388
687
  msgid "Show post author in list?"
688
  msgstr ""
689
 
690
- #: admin/main-view.php:394
691
  msgid "Show post date in list?"
692
  msgstr ""
693
 
694
- #: admin/main-view.php:400
695
  msgid "Limit post title length (in characters)"
696
  msgstr ""
697
 
698
- #: admin/main-view.php:406
699
  msgid "Show view count in list?"
700
  msgstr ""
701
 
702
- #: admin/main-view.php:412
703
  msgid "Open links in new window"
704
  msgstr ""
705
 
706
- #: admin/main-view.php:418
707
  msgid "Add nofollow attribute to links in the list"
708
  msgstr ""
709
 
710
- #: admin/main-view.php:424
711
  msgid "Exclude display of related posts on these posts / pages"
712
  msgstr ""
713
 
714
- #: admin/main-view.php:431
715
  msgid "Customise the list HTML"
716
  msgstr ""
717
 
718
- #: admin/main-view.php:434
719
  msgid "HTML to display before the list of posts:"
720
  msgstr ""
721
 
722
- #: admin/main-view.php:440
723
  msgid "HTML to display before each list item:"
724
  msgstr ""
725
 
726
- #: admin/main-view.php:446
727
  msgid "HTML to display after each list item:"
728
  msgstr ""
729
 
730
- #: admin/main-view.php:452
731
  msgid "HTML to display after the list of posts:"
732
  msgstr ""
733
 
734
- #: admin/main-view.php:493
735
  msgid "Location of post thumbnail:"
736
  msgstr ""
737
 
738
- #: admin/main-view.php:497
739
  #, fuzzy
740
  msgid "Display thumbnails inline with posts, before title"
741
  msgstr "Паказваць колькасць праглядаў запісу ў яе \"целе\"?"
742
 
743
- #: admin/main-view.php:502
744
  #, fuzzy
745
  msgid "Display thumbnails inline with posts, after title"
746
  msgstr "Паказваць колькасць праглядаў запісу ў яе \"целе\"?"
747
 
748
- #: admin/main-view.php:507
749
  msgid "Display only thumbnails, no text"
750
  msgstr ""
751
 
752
- #: admin/main-view.php:512
753
  msgid "Do not display thumbnails, only text."
754
  msgstr ""
755
 
756
- #: admin/main-view.php:516
757
  msgid ""
758
  "This setting cannot be changed because an inbuilt style has been selected "
759
  "under the Styles section. If you would like to change this option, please "
760
  "select No styles under the Styles section."
761
  msgstr ""
762
 
763
- #: admin/main-view.php:520
764
  msgid "Thumbnail size:"
765
  msgstr ""
766
 
767
- #: admin/main-view.php:544
768
  msgid "Custom size"
769
  msgstr ""
770
 
771
- #: admin/main-view.php:547
772
  msgid ""
773
  "You can choose from existing image sizes above or create a custom size. If "
774
  "you have chosen Custom size above, then enter the width, height and crop "
775
  "settings below. For best results, use a cropped image."
776
  msgstr ""
777
 
778
- #: admin/main-view.php:548
779
  msgid ""
780
  "If you change the width and/or height below, existing images will not be "
781
  "automatically resized."
782
  msgstr ""
783
 
784
- #: admin/main-view.php:549
785
  #, php-format
786
  msgid ""
787
  "I recommend using <a href='%s' class='thickbox'>OTF Regenerate Thumbnails</"
@@ -789,7 +800,7 @@ msgid ""
789
  "all image sizes."
790
  msgstr ""
791
 
792
- #: admin/main-view.php:552
793
  msgid ""
794
  "If you're using the Left Thumbs style below then the thumbnail width and "
795
  "height that you set here will supersede the widget. Alternatively, choose "
@@ -797,147 +808,147 @@ msgid ""
797
  "strong> option below"
798
  msgstr ""
799
 
800
- #: admin/main-view.php:555
801
  msgid "Width of custom thumbnail:"
802
  msgstr ""
803
 
804
- #: admin/main-view.php:560
805
  msgid "Height of custom thumbnail"
806
  msgstr ""
807
 
808
- #: admin/main-view.php:565
809
  msgid "Crop mode:"
810
  msgstr ""
811
 
812
- #: admin/main-view.php:569
813
  msgid ""
814
  "By default, thumbnails will be proportionately cropped. Check this box to "
815
  "hard crop the thumbnails."
816
  msgstr ""
817
 
818
- #: admin/main-view.php:570
819
  #, php-format
820
  msgid "<a href='%s' target='_blank'>Difference between soft and hard crop</a>"
821
  msgstr ""
822
 
823
- #: admin/main-view.php:574
824
  msgid "Image size attributes:"
825
  msgstr ""
826
 
827
- #: admin/main-view.php:578
828
  msgid "Style attributes are used for width and height."
829
  msgstr ""
830
 
831
- #: admin/main-view.php:583
832
  msgid "HTML width and height attributes are used for width and height."
833
  msgstr ""
834
 
835
- #: admin/main-view.php:588
836
  msgid "No HTML or Style attributes set for width and height"
837
  msgstr ""
838
 
839
- #: admin/main-view.php:593
840
  msgid "Post thumbnail meta field name:"
841
  msgstr ""
842
 
843
- #: admin/main-view.php:596
844
  msgid ""
845
  "The value of this field should contain the image source and is set in the "
846
  "<em>Add New Post</em> screen"
847
  msgstr ""
848
 
849
- #: admin/main-view.php:599
850
  msgid ""
851
  "If the postmeta is not set, then should the plugin extract the first image "
852
  "from the post?"
853
  msgstr ""
854
 
855
- #: admin/main-view.php:602
856
  msgid ""
857
  "This could slow down the loading of your page if the first image in the "
858
  "related posts is large in file-size"
859
  msgstr ""
860
 
861
- #: admin/main-view.php:605
862
  msgid "Use default thumbnail?"
863
  msgstr ""
864
 
865
- #: admin/main-view.php:608
866
  msgid ""
867
  "If checked, when no thumbnail is found, show a default one from the URL "
868
  "below. If not checked and no thumbnail is found, no image will be shown."
869
  msgstr ""
870
 
871
- #: admin/main-view.php:611
872
  msgid "Default thumbnail:"
873
  msgstr ""
874
 
875
- #: admin/main-view.php:615
876
  msgid ""
877
  "The plugin will first check if the post contains a thumbnail. If it doesn't "
878
  "then it will check the meta field. If this is not available, then it will "
879
  "show the default image as specified above"
880
  msgstr ""
881
 
882
- #: admin/main-view.php:654
883
  msgid "Style of the related posts:"
884
  msgstr ""
885
 
886
- #: admin/main-view.php:657
887
  msgid "No styles"
888
  msgstr ""
889
 
890
- #: admin/main-view.php:659
891
  msgid "Select this option if you plan to add your own styles"
892
  msgstr ""
893
 
894
- #: admin/main-view.php:664
895
  msgid "Left Thumbnails"
896
  msgstr ""
897
 
898
- #: admin/main-view.php:667
899
  msgid ""
900
  "Enabling this option will set the post thumbnail to be before text. "
901
  "Disabling this option will not revert any settings."
902
  msgstr ""
903
 
904
- #: admin/main-view.php:668
905
  #, php-format
906
  msgid ""
907
  "You can view the default style at <a href=\"%1$s\" target=\"_blank\">%1$s</a>"
908
  msgstr ""
909
 
910
- #: admin/main-view.php:672
911
  msgid "Text only"
912
  msgstr ""
913
 
914
- #: admin/main-view.php:674
915
  msgid ""
916
  "Enabling this option will disable thumbnails and no longer include the "
917
  "default style sheet included in the plugin."
918
  msgstr ""
919
 
920
- #: admin/main-view.php:690
921
  msgid "Custom CSS to add to header:"
922
  msgstr ""
923
 
924
- #: admin/main-view.php:695
925
  msgid ""
926
  "Do not include <code>style</code> tags. Check out the <a href=\"http://"
927
  "wordpress.org/extend/plugins/top-10/faq/\" target=\"_blank\">FAQ</a> for "
928
  "available CSS classes to style."
929
  msgstr ""
930
 
931
- #: admin/main-view.php:715
932
  #, fuzzy
933
  msgid "Default Options"
934
  msgstr "Налады ўбудовы:"
935
 
936
- #: admin/main-view.php:715
937
  msgid "Do you want to set options to Default?"
938
  msgstr "Скінуць налады ўбудовы?"
939
 
940
- #: admin/main-view.php:739
941
  msgid ""
942
  "Over time the Daily Top 10 database grows in size, which reduces the "
943
  "performance of the plugin. Cleaning the database at regular intervals could "
@@ -945,177 +956,177 @@ msgid ""
945
  "will automatically delete entries older than 90 days."
946
  msgstr ""
947
 
948
- #: admin/main-view.php:740
949
  msgid ""
950
  "Note: When scheduled maintenance is enabled, WordPress will run the cron job "
951
  "everytime the job is rescheduled (i.e. you change the settings below)."
952
  msgstr ""
953
 
954
- #: admin/main-view.php:743
955
  msgid "Enable scheduled maintenance of daily tables:"
956
  msgstr ""
957
 
958
- #: admin/main-view.php:747
959
  msgid "Time to run maintenance"
960
  msgstr ""
961
 
962
- #: admin/main-view.php:748
963
  msgid "hrs"
964
  msgstr ""
965
 
966
- #: admin/main-view.php:748
967
  msgid "min"
968
  msgstr ""
969
 
970
- #: admin/main-view.php:750
971
  msgid "How often should the maintenance be run:"
972
  msgstr ""
973
 
974
- #: admin/main-view.php:758
975
  msgid "Weekly"
976
  msgstr ""
977
 
978
- #: admin/main-view.php:762
979
  msgid "Fortnightly"
980
  msgstr ""
981
 
982
- #: admin/main-view.php:766
983
  msgid "Monthly"
984
  msgstr ""
985
 
986
- #: admin/main-view.php:775
987
  msgid "The cron job has been scheduled. Maintenance will run"
988
  msgstr ""
989
 
990
- #: admin/main-view.php:780
991
  msgid "The cron job is missing. Please resave this page to add the job"
992
  msgstr ""
993
 
994
- #: admin/main-view.php:785
995
  msgid "Maintenance is turned off"
996
  msgstr ""
997
 
998
- #: admin/main-view.php:791
999
  msgid "Save Maintenance Options"
1000
  msgstr ""
1001
 
1002
- #: admin/main-view.php:799
1003
  msgid "Reset count and other tools"
1004
  msgstr ""
1005
 
1006
- #: admin/main-view.php:802
1007
  msgid ""
1008
  "This cannot be reversed. Make sure that your database has been backed up "
1009
  "before proceeding"
1010
  msgstr ""
1011
 
1012
- #: admin/main-view.php:805
1013
  #, fuzzy
1014
  msgid "Reset Popular Posts"
1015
  msgstr "Папулярныя запісы"
1016
 
1017
- #: admin/main-view.php:805
1018
  msgid "Are you sure you want to reset the popular posts?"
1019
  msgstr ""
1020
 
1021
- #: admin/main-view.php:806
1022
  #, fuzzy
1023
  msgid "Reset Daily Popular Posts"
1024
  msgstr "Папулярныя сёння запісы"
1025
 
1026
- #: admin/main-view.php:806
1027
  msgid "Are you sure you want to reset the daily popular posts?"
1028
  msgstr ""
1029
 
1030
- #: admin/main-view.php:809
1031
  msgid "This will merge post counts for posts with table entries of 0 and 1"
1032
  msgstr ""
1033
 
1034
- #: admin/main-view.php:812
1035
  msgid "Merge blog ID 0 and 1 post counts"
1036
  msgstr ""
1037
 
1038
- #: admin/main-view.php:812
1039
  msgid "This will merge post counts for blog IDs 0 and 1. Proceed?"
1040
  msgstr ""
1041
 
1042
- #: admin/main-view.php:815
1043
  msgid ""
1044
  "In older versions, the plugin created entries with duplicate post IDs. "
1045
  "Clicking the button below will merge these duplicate IDs"
1046
  msgstr ""
1047
 
1048
- #: admin/main-view.php:818
1049
  msgid "Merge duplicates across blog IDs"
1050
  msgstr ""
1051
 
1052
- #: admin/main-view.php:818
1053
  msgid "This will delete the duplicate entries in the tables. Proceed?"
1054
  msgstr ""
1055
 
1056
- #: admin/main-view.php:835
1057
  msgid "WordPress Multisite: Migrate Top 10 v1.x counts to 2.x"
1058
  msgstr ""
1059
 
1060
- #: admin/main-view.php:838
1061
  msgid ""
1062
  "If you've been using Top 10 v1.x on multisite, you would have needed to "
1063
  "activate the plugin independently for each site. This would have resulted in "
1064
  "two tables being created for each site in the network."
1065
  msgstr ""
1066
 
1067
- #: admin/main-view.php:839
1068
  msgid ""
1069
  "Top 10 v2.x onwards uses only a single table to record the count, keeping "
1070
  "your database clean. You can use this tool to import the recorded counts "
1071
  "from v1.x tables to the new v2.x table format."
1072
  msgstr ""
1073
 
1074
- #: admin/main-view.php:842
1075
  msgid ""
1076
  "If you do not see any tables below, then it means that either all data has "
1077
  "already been imported or no relevant information has been found."
1078
  msgstr ""
1079
 
1080
- #: admin/main-view.php:845
1081
  msgid ""
1082
  "After running the importer, please verify that all the counts have been "
1083
  "successfully imported. Only then should you delete any old tables!"
1084
  msgstr ""
1085
 
1086
- #: admin/main-view.php:879
1087
  msgid "Blog ID"
1088
  msgstr ""
1089
 
1090
- #: admin/main-view.php:882
1091
  msgid "Status"
1092
  msgstr ""
1093
 
1094
- #: admin/main-view.php:885
1095
  msgid "Select to import"
1096
  msgstr ""
1097
 
1098
- #: admin/main-view.php:895
1099
  msgid "Blog #"
1100
  msgstr ""
1101
 
1102
- #: admin/main-view.php:905
1103
  msgid "Not imported"
1104
  msgstr ""
1105
 
1106
- #: admin/main-view.php:909
1107
  msgid "Imported"
1108
  msgstr ""
1109
 
1110
- #: admin/main-view.php:930
1111
  msgid "Begin import"
1112
  msgstr ""
1113
 
1114
- #: admin/main-view.php:931
1115
  msgid "Delete selected tables"
1116
  msgstr ""
1117
 
1118
- #: admin/main-view.php:932
1119
  msgid "Delete all imported tables"
1120
  msgstr ""
1121
 
@@ -1191,15 +1202,15 @@ msgstr ""
1191
  msgid "Post types to include:"
1192
  msgstr ""
1193
 
1194
- #: includes/media.php:63
1195
  msgid "thumb_timthumb argument has been deprecated"
1196
  msgstr ""
1197
 
1198
- #: includes/media.php:67
1199
  msgid "thumb_timthumb_q argument has been deprecated"
1200
  msgstr ""
1201
 
1202
- #: includes/media.php:71
1203
  msgid "filter argument has been deprecated"
1204
  msgstr ""
1205
 
@@ -1207,43 +1218,43 @@ msgstr ""
1207
  msgid " by "
1208
  msgstr ""
1209
 
1210
- #: top-10.php:157
1211
  msgid ""
1212
  "posts_only argument has been deprecated. Use get_tptn_pop_posts() to get the "
1213
  "posts only."
1214
  msgstr ""
1215
 
1216
- #: top-10.php:264
1217
  #, php-format
1218
  msgid "Popular posts by <a href=\"%s\" rel=\"nofollow\" %s>Top 10 plugin</a>"
1219
  msgstr ""
1220
 
1221
- #: top-10.php:610
1222
  msgid "<h3>Popular Posts</h3>"
1223
  msgstr "<h3>Папулярныя запісы</h3>"
1224
 
1225
- #: top-10.php:611
1226
  msgid "<h3>Daily Popular</h3>"
1227
  msgstr "<h3>Папулярныя сёння запісы</h3>"
1228
 
1229
- #: top-10.php:612
1230
  #, fuzzy
1231
  msgid "No top posts yet"
1232
  msgstr "Загаловак блока Папулярных запісаў:"
1233
 
1234
- #: top-10.php:1093
1235
  msgid "Once Weekly"
1236
  msgstr ""
1237
 
1238
- #: top-10.php:1097
1239
  msgid "Once Fortnightly"
1240
  msgstr ""
1241
 
1242
- #: top-10.php:1101
1243
  msgid "Once Monthly"
1244
  msgstr ""
1245
 
1246
- #: top-10.php:1105
1247
  msgid "Once quarterly"
1248
  msgstr ""
1249
 
2
  msgstr ""
3
  "Project-Id-Version: Топ 10\n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2015-09-27 13:35+0100\n"
6
  "PO-Revision-Date: \n"
7
  "Last-Translator: Ajay D'Souza <me@ajaydsouza.com>\n"
8
  "Language-Team: FatCow <zhr@tut.by>\n"
44
  msgid "Popular posts by <a href=\"%s\" target=\"_blank\">Top 10 plugin</a>"
45
  msgstr ""
46
 
47
+ #: admin/admin-dashboard.php:109 admin/class-stats.php:438
48
  #: admin/deprecated.php:41
49
  msgid "Popular Posts"
50
  msgstr "Папулярныя запісы"
154
  msgid "Scheduled maintenance disabled"
155
  msgstr ""
156
 
157
+ #: admin/admin.php:299
158
  msgid "Counts from selected sites have been imported."
159
  msgstr ""
160
 
161
+ #: admin/admin.php:324
162
  msgid ""
163
  "Selected tables have been deleted. Note that only imported tables have been "
164
  "deleted."
165
  msgstr ""
166
 
167
+ #: admin/admin.php:341 admin/admin.php:361 admin/admin.php:385
168
  #: admin/main-view.php:55 admin/main-view.php:174 admin/main-view.php:279
169
+ #: admin/main-view.php:488 admin/main-view.php:651 admin/main-view.php:747
170
+ #: admin/main-view.php:811 admin/main-view.php:846
171
  msgid "Click to toggle"
172
  msgstr ""
173
 
174
+ #: admin/admin.php:342
175
  #, fuzzy
176
  msgid "Support the development"
177
  msgstr "Падтрымаеце стваральніка ўбудовы"
178
 
179
+ #: admin/admin.php:349
180
  msgid "Donation for Top 10"
181
  msgstr ""
182
 
183
+ #: admin/admin.php:351
184
  msgid "Enter amount in USD:"
185
  msgstr ""
186
 
187
+ #: admin/admin.php:355
188
  msgid "Send your donation to the author of Top 10"
189
  msgstr ""
190
 
191
+ #: admin/admin.php:362
192
  msgid "Follow me"
193
  msgstr ""
194
 
195
+ #: admin/admin.php:386
196
  msgid "Quick links"
197
  msgstr ""
198
 
199
+ #: admin/admin.php:390
200
  msgid "Top 10 plugin page"
201
  msgstr ""
202
 
203
+ #: admin/admin.php:391
204
  msgid "Top 10 Github page"
205
  msgstr ""
206
 
207
+ #: admin/admin.php:392
208
  msgid "Other plugins"
209
  msgstr ""
210
 
211
+ #: admin/admin.php:393
212
  msgid "FAQ"
213
  msgstr ""
214
 
215
+ #: admin/admin.php:394 admin/admin.php:564
216
  msgid "Support"
217
  msgstr ""
218
 
219
+ #: admin/admin.php:395
220
  msgid "Reviews"
221
  msgstr ""
222
 
223
+ #: admin/admin.php:396
224
  msgid "Ajay's blog"
225
  msgstr ""
226
 
227
+ #: admin/admin.php:413 admin/admin.php:416 admin/main-view.php:22
228
  #, fuzzy
229
  msgid "Top 10 Settings"
230
  msgstr "Топ 10 запісаў"
231
 
232
+ #: admin/admin.php:413
233
  msgid "Top 10"
234
  msgstr "Топ 10 запісаў"
235
 
236
+ #: admin/admin.php:421
237
  msgid "View Popular Posts"
238
  msgstr ""
239
 
240
+ #: admin/admin.php:541
241
  msgid "Settings"
242
  msgstr ""
243
 
244
+ #: admin/admin.php:565
245
  msgid "Donate"
246
  msgstr ""
247
 
248
+ #: admin/cache.php:19
249
  msgid "Top 10 cache has been cleared"
250
  msgstr ""
251
 
252
+ #: admin/class-stats.php:36
253
  msgid "popular_post"
254
  msgstr ""
255
 
256
+ #: admin/class-stats.php:37
257
  msgid "popular_posts"
258
  msgstr ""
259
 
260
+ #: admin/class-stats.php:160
261
  msgid "No popular posts available."
262
  msgstr ""
263
 
264
+ #: admin/class-stats.php:209
265
  msgid "View"
266
  msgstr ""
267
 
268
+ #: admin/class-stats.php:210
269
  msgid "Edit"
270
  msgstr ""
271
 
272
+ #: admin/class-stats.php:211
273
  msgid "Delete"
274
  msgstr ""
275
 
276
+ #: admin/class-stats.php:233
277
  msgid "Y/m/d g:i:s a"
278
  msgstr ""
279
 
280
+ #: admin/class-stats.php:240
281
  #, php-format
282
  msgid "%s ago"
283
  msgstr ""
284
 
285
+ #: admin/class-stats.php:242
286
  msgid "Y/m/d"
287
  msgstr ""
288
 
289
+ #: admin/class-stats.php:276 includes/class-top-10-widget.php:71
290
  msgid "Title"
291
  msgstr ""
292
 
293
+ #: admin/class-stats.php:277
294
  msgid "Total visits"
295
  msgstr ""
296
 
297
+ #: admin/class-stats.php:278
298
  msgid "Daily visits"
299
  msgstr ""
300
 
301
+ #: admin/class-stats.php:279
302
  msgid "Post type"
303
  msgstr ""
304
 
305
+ #: admin/class-stats.php:280
306
  msgid "Author"
307
  msgstr ""
308
 
309
+ #: admin/class-stats.php:281
310
  msgid "Date"
311
  msgstr ""
312
 
313
+ #: admin/class-stats.php:315
314
  msgid "Delete Count"
315
  msgstr ""
316
 
317
+ #: admin/class-stats.php:355
318
  msgid "Are you sure you want to do this"
319
  msgstr ""
320
 
330
  msgid "Popular post list options"
331
  msgstr ""
332
 
333
+ #: admin/main-view.php:37 admin/main-view.php:489
334
  #: includes/class-top-10-widget.php:115
335
  msgid "Thumbnail options"
336
  msgstr ""
337
 
338
+ #: admin/main-view.php:38 admin/main-view.php:652
339
  msgid "Styles"
340
  msgstr ""
341
 
342
+ #: admin/main-view.php:39 admin/main-view.php:748
343
  msgid "Maintenance"
344
  msgstr ""
345
 
351
  msgid "Overall"
352
  msgstr ""
353
 
354
+ #: admin/main-view.php:83 admin/main-view.php:767
355
  msgid "Daily"
356
  msgstr ""
357
 
471
  "Спасылка на ўбудову будзе дададзена да спісаў Папулярных запісаў. Мы будзем "
472
  "удзячныя Вам, калі Вы яе ўсё ж пакінеце!"
473
 
474
+ #: admin/main-view.php:156 admin/main-view.php:261 admin/main-view.php:470
475
+ #: admin/main-view.php:633 admin/main-view.php:727
476
  #, fuzzy
477
  msgid "Save Options"
478
  msgstr "Налады ўбудовы:"
640
  msgid "List of post or page IDs to exclude from the results:"
641
  msgstr ""
642
 
643
+ #: admin/main-view.php:327 admin/main-view.php:438
644
  msgid "Enter comma separated list of IDs. e.g. 188,320,500"
645
  msgstr ""
646
 
655
  "options"
656
  msgstr ""
657
 
658
+ #: admin/main-view.php:350
659
+ msgid "Excluded category IDs are:"
660
+ msgstr ""
661
+
662
+ #: admin/main-view.php:356
663
+ msgid ""
664
+ "These might differ from the IDs visible in the Categories page which use the "
665
+ "<code>term_id</code>. Top 10 uses the <code>term_taxonomy_id</code> which is "
666
+ "unique to this taxonomy."
667
+ msgstr ""
668
+
669
+ #: admin/main-view.php:362
670
  msgid "Title of popular posts:"
671
  msgstr ""
672
 
673
+ #: admin/main-view.php:368
674
  msgid "Title of daily popular posts:"
675
  msgstr ""
676
 
677
+ #: admin/main-view.php:374
678
  msgid "When there are no posts, what should be shown?"
679
  msgstr ""
680
 
681
+ #: admin/main-view.php:378
682
  msgid "Blank Output"
683
  msgstr ""
684
 
685
+ #: admin/main-view.php:382
686
  msgid "Display:"
687
  msgstr ""
688
 
689
+ #: admin/main-view.php:387
690
  msgid "Show post excerpt in list?"
691
  msgstr ""
692
 
693
+ #: admin/main-view.php:393
694
  msgid "Length of excerpt (in words):"
695
  msgstr ""
696
 
697
+ #: admin/main-view.php:399
698
  msgid "Show post author in list?"
699
  msgstr ""
700
 
701
+ #: admin/main-view.php:405
702
  msgid "Show post date in list?"
703
  msgstr ""
704
 
705
+ #: admin/main-view.php:411
706
  msgid "Limit post title length (in characters)"
707
  msgstr ""
708
 
709
+ #: admin/main-view.php:417
710
  msgid "Show view count in list?"
711
  msgstr ""
712
 
713
+ #: admin/main-view.php:423
714
  msgid "Open links in new window"
715
  msgstr ""
716
 
717
+ #: admin/main-view.php:429
718
  msgid "Add nofollow attribute to links in the list"
719
  msgstr ""
720
 
721
+ #: admin/main-view.php:435
722
  msgid "Exclude display of related posts on these posts / pages"
723
  msgstr ""
724
 
725
+ #: admin/main-view.php:442
726
  msgid "Customise the list HTML"
727
  msgstr ""
728
 
729
+ #: admin/main-view.php:445
730
  msgid "HTML to display before the list of posts:"
731
  msgstr ""
732
 
733
+ #: admin/main-view.php:451
734
  msgid "HTML to display before each list item:"
735
  msgstr ""
736
 
737
+ #: admin/main-view.php:457
738
  msgid "HTML to display after each list item:"
739
  msgstr ""
740
 
741
+ #: admin/main-view.php:463
742
  msgid "HTML to display after the list of posts:"
743
  msgstr ""
744
 
745
+ #: admin/main-view.php:504
746
  msgid "Location of post thumbnail:"
747
  msgstr ""
748
 
749
+ #: admin/main-view.php:508
750
  #, fuzzy
751
  msgid "Display thumbnails inline with posts, before title"
752
  msgstr "Паказваць колькасць праглядаў запісу ў яе \"целе\"?"
753
 
754
+ #: admin/main-view.php:513
755
  #, fuzzy
756
  msgid "Display thumbnails inline with posts, after title"
757
  msgstr "Паказваць колькасць праглядаў запісу ў яе \"целе\"?"
758
 
759
+ #: admin/main-view.php:518
760
  msgid "Display only thumbnails, no text"
761
  msgstr ""
762
 
763
+ #: admin/main-view.php:523
764
  msgid "Do not display thumbnails, only text."
765
  msgstr ""
766
 
767
+ #: admin/main-view.php:527
768
  msgid ""
769
  "This setting cannot be changed because an inbuilt style has been selected "
770
  "under the Styles section. If you would like to change this option, please "
771
  "select No styles under the Styles section."
772
  msgstr ""
773
 
774
+ #: admin/main-view.php:531
775
  msgid "Thumbnail size:"
776
  msgstr ""
777
 
778
+ #: admin/main-view.php:555
779
  msgid "Custom size"
780
  msgstr ""
781
 
782
+ #: admin/main-view.php:558
783
  msgid ""
784
  "You can choose from existing image sizes above or create a custom size. If "
785
  "you have chosen Custom size above, then enter the width, height and crop "
786
  "settings below. For best results, use a cropped image."
787
  msgstr ""
788
 
789
+ #: admin/main-view.php:559
790
  msgid ""
791
  "If you change the width and/or height below, existing images will not be "
792
  "automatically resized."
793
  msgstr ""
794
 
795
+ #: admin/main-view.php:560
796
  #, php-format
797
  msgid ""
798
  "I recommend using <a href='%s' class='thickbox'>OTF Regenerate Thumbnails</"
800
  "all image sizes."
801
  msgstr ""
802
 
803
+ #: admin/main-view.php:563
804
  msgid ""
805
  "If you're using the Left Thumbs style below then the thumbnail width and "
806
  "height that you set here will supersede the widget. Alternatively, choose "
808
  "strong> option below"
809
  msgstr ""
810
 
811
+ #: admin/main-view.php:566
812
  msgid "Width of custom thumbnail:"
813
  msgstr ""
814
 
815
+ #: admin/main-view.php:571
816
  msgid "Height of custom thumbnail"
817
  msgstr ""
818
 
819
+ #: admin/main-view.php:576
820
  msgid "Crop mode:"
821
  msgstr ""
822
 
823
+ #: admin/main-view.php:580
824
  msgid ""
825
  "By default, thumbnails will be proportionately cropped. Check this box to "
826
  "hard crop the thumbnails."
827
  msgstr ""
828
 
829
+ #: admin/main-view.php:581
830
  #, php-format
831
  msgid "<a href='%s' target='_blank'>Difference between soft and hard crop</a>"
832
  msgstr ""
833
 
834
+ #: admin/main-view.php:585
835
  msgid "Image size attributes:"
836
  msgstr ""
837
 
838
+ #: admin/main-view.php:589
839
  msgid "Style attributes are used for width and height."
840
  msgstr ""
841
 
842
+ #: admin/main-view.php:595
843
  msgid "HTML width and height attributes are used for width and height."
844
  msgstr ""
845
 
846
+ #: admin/main-view.php:601
847
  msgid "No HTML or Style attributes set for width and height"
848
  msgstr ""
849
 
850
+ #: admin/main-view.php:606
851
  msgid "Post thumbnail meta field name:"
852
  msgstr ""
853
 
854
+ #: admin/main-view.php:609
855
  msgid ""
856
  "The value of this field should contain the image source and is set in the "
857
  "<em>Add New Post</em> screen"
858
  msgstr ""
859
 
860
+ #: admin/main-view.php:612
861
  msgid ""
862
  "If the postmeta is not set, then should the plugin extract the first image "
863
  "from the post?"
864
  msgstr ""
865
 
866
+ #: admin/main-view.php:615
867
  msgid ""
868
  "This could slow down the loading of your page if the first image in the "
869
  "related posts is large in file-size"
870
  msgstr ""
871
 
872
+ #: admin/main-view.php:618
873
  msgid "Use default thumbnail?"
874
  msgstr ""
875
 
876
+ #: admin/main-view.php:621
877
  msgid ""
878
  "If checked, when no thumbnail is found, show a default one from the URL "
879
  "below. If not checked and no thumbnail is found, no image will be shown."
880
  msgstr ""
881
 
882
+ #: admin/main-view.php:624
883
  msgid "Default thumbnail:"
884
  msgstr ""
885
 
886
+ #: admin/main-view.php:628
887
  msgid ""
888
  "The plugin will first check if the post contains a thumbnail. If it doesn't "
889
  "then it will check the meta field. If this is not available, then it will "
890
  "show the default image as specified above"
891
  msgstr ""
892
 
893
+ #: admin/main-view.php:667
894
  msgid "Style of the related posts:"
895
  msgstr ""
896
 
897
+ #: admin/main-view.php:670
898
  msgid "No styles"
899
  msgstr ""
900
 
901
+ #: admin/main-view.php:672
902
  msgid "Select this option if you plan to add your own styles"
903
  msgstr ""
904
 
905
+ #: admin/main-view.php:677
906
  msgid "Left Thumbnails"
907
  msgstr ""
908
 
909
+ #: admin/main-view.php:680
910
  msgid ""
911
  "Enabling this option will set the post thumbnail to be before text. "
912
  "Disabling this option will not revert any settings."
913
  msgstr ""
914
 
915
+ #: admin/main-view.php:681
916
  #, php-format
917
  msgid ""
918
  "You can view the default style at <a href=\"%1$s\" target=\"_blank\">%1$s</a>"
919
  msgstr ""
920
 
921
+ #: admin/main-view.php:685
922
  msgid "Text only"
923
  msgstr ""
924
 
925
+ #: admin/main-view.php:687
926
  msgid ""
927
  "Enabling this option will disable thumbnails and no longer include the "
928
  "default style sheet included in the plugin."
929
  msgstr ""
930
 
931
+ #: admin/main-view.php:703
932
  msgid "Custom CSS to add to header:"
933
  msgstr ""
934
 
935
+ #: admin/main-view.php:708
936
  msgid ""
937
  "Do not include <code>style</code> tags. Check out the <a href=\"http://"
938
  "wordpress.org/extend/plugins/top-10/faq/\" target=\"_blank\">FAQ</a> for "
939
  "available CSS classes to style."
940
  msgstr ""
941
 
942
+ #: admin/main-view.php:728
943
  #, fuzzy
944
  msgid "Default Options"
945
  msgstr "Налады ўбудовы:"
946
 
947
+ #: admin/main-view.php:728
948
  msgid "Do you want to set options to Default?"
949
  msgstr "Скінуць налады ўбудовы?"
950
 
951
+ #: admin/main-view.php:752
952
  msgid ""
953
  "Over time the Daily Top 10 database grows in size, which reduces the "
954
  "performance of the plugin. Cleaning the database at regular intervals could "
956
  "will automatically delete entries older than 90 days."
957
  msgstr ""
958
 
959
+ #: admin/main-view.php:753
960
  msgid ""
961
  "Note: When scheduled maintenance is enabled, WordPress will run the cron job "
962
  "everytime the job is rescheduled (i.e. you change the settings below)."
963
  msgstr ""
964
 
965
+ #: admin/main-view.php:756
966
  msgid "Enable scheduled maintenance of daily tables:"
967
  msgstr ""
968
 
969
+ #: admin/main-view.php:760
970
  msgid "Time to run maintenance"
971
  msgstr ""
972
 
973
+ #: admin/main-view.php:761
974
  msgid "hrs"
975
  msgstr ""
976
 
977
+ #: admin/main-view.php:761
978
  msgid "min"
979
  msgstr ""
980
 
981
+ #: admin/main-view.php:763
982
  msgid "How often should the maintenance be run:"
983
  msgstr ""
984
 
985
+ #: admin/main-view.php:771
986
  msgid "Weekly"
987
  msgstr ""
988
 
989
+ #: admin/main-view.php:775
990
  msgid "Fortnightly"
991
  msgstr ""
992
 
993
+ #: admin/main-view.php:779
994
  msgid "Monthly"
995
  msgstr ""
996
 
997
+ #: admin/main-view.php:788
998
  msgid "The cron job has been scheduled. Maintenance will run"
999
  msgstr ""
1000
 
1001
+ #: admin/main-view.php:793
1002
  msgid "The cron job is missing. Please resave this page to add the job"
1003
  msgstr ""
1004
 
1005
+ #: admin/main-view.php:798
1006
  msgid "Maintenance is turned off"
1007
  msgstr ""
1008
 
1009
+ #: admin/main-view.php:804
1010
  msgid "Save Maintenance Options"
1011
  msgstr ""
1012
 
1013
+ #: admin/main-view.php:812
1014
  msgid "Reset count and other tools"
1015
  msgstr ""
1016
 
1017
+ #: admin/main-view.php:815
1018
  msgid ""
1019
  "This cannot be reversed. Make sure that your database has been backed up "
1020
  "before proceeding"
1021
  msgstr ""
1022
 
1023
+ #: admin/main-view.php:818
1024
  #, fuzzy
1025
  msgid "Reset Popular Posts"
1026
  msgstr "Папулярныя запісы"
1027
 
1028
+ #: admin/main-view.php:818
1029
  msgid "Are you sure you want to reset the popular posts?"
1030
  msgstr ""
1031
 
1032
+ #: admin/main-view.php:819
1033
  #, fuzzy
1034
  msgid "Reset Daily Popular Posts"
1035
  msgstr "Папулярныя сёння запісы"
1036
 
1037
+ #: admin/main-view.php:819
1038
  msgid "Are you sure you want to reset the daily popular posts?"
1039
  msgstr ""
1040
 
1041
+ #: admin/main-view.php:822
1042
  msgid "This will merge post counts for posts with table entries of 0 and 1"
1043
  msgstr ""
1044
 
1045
+ #: admin/main-view.php:825
1046
  msgid "Merge blog ID 0 and 1 post counts"
1047
  msgstr ""
1048
 
1049
+ #: admin/main-view.php:825
1050
  msgid "This will merge post counts for blog IDs 0 and 1. Proceed?"
1051
  msgstr ""
1052
 
1053
+ #: admin/main-view.php:828
1054
  msgid ""
1055
  "In older versions, the plugin created entries with duplicate post IDs. "
1056
  "Clicking the button below will merge these duplicate IDs"
1057
  msgstr ""
1058
 
1059
+ #: admin/main-view.php:831
1060
  msgid "Merge duplicates across blog IDs"
1061
  msgstr ""
1062
 
1063
+ #: admin/main-view.php:831
1064
  msgid "This will delete the duplicate entries in the tables. Proceed?"
1065
  msgstr ""
1066
 
1067
+ #: admin/main-view.php:847
1068
  msgid "WordPress Multisite: Migrate Top 10 v1.x counts to 2.x"
1069
  msgstr ""
1070
 
1071
+ #: admin/main-view.php:850
1072
  msgid ""
1073
  "If you've been using Top 10 v1.x on multisite, you would have needed to "
1074
  "activate the plugin independently for each site. This would have resulted in "
1075
  "two tables being created for each site in the network."
1076
  msgstr ""
1077
 
1078
+ #: admin/main-view.php:851
1079
  msgid ""
1080
  "Top 10 v2.x onwards uses only a single table to record the count, keeping "
1081
  "your database clean. You can use this tool to import the recorded counts "
1082
  "from v1.x tables to the new v2.x table format."
1083
  msgstr ""
1084
 
1085
+ #: admin/main-view.php:854
1086
  msgid ""
1087
  "If you do not see any tables below, then it means that either all data has "
1088
  "already been imported or no relevant information has been found."
1089
  msgstr ""
1090
 
1091
+ #: admin/main-view.php:857
1092
  msgid ""
1093
  "After running the importer, please verify that all the counts have been "
1094
  "successfully imported. Only then should you delete any old tables!"
1095
  msgstr ""
1096
 
1097
+ #: admin/main-view.php:891
1098
  msgid "Blog ID"
1099
  msgstr ""
1100
 
1101
+ #: admin/main-view.php:894
1102
  msgid "Status"
1103
  msgstr ""
1104
 
1105
+ #: admin/main-view.php:897
1106
  msgid "Select to import"
1107
  msgstr ""
1108
 
1109
+ #: admin/main-view.php:907
1110
  msgid "Blog #"
1111
  msgstr ""
1112
 
1113
+ #: admin/main-view.php:917
1114
  msgid "Not imported"
1115
  msgstr ""
1116
 
1117
+ #: admin/main-view.php:921
1118
  msgid "Imported"
1119
  msgstr ""
1120
 
1121
+ #: admin/main-view.php:942
1122
  msgid "Begin import"
1123
  msgstr ""
1124
 
1125
+ #: admin/main-view.php:943
1126
  msgid "Delete selected tables"
1127
  msgstr ""
1128
 
1129
+ #: admin/main-view.php:944
1130
  msgid "Delete all imported tables"
1131
  msgstr ""
1132
 
1202
  msgid "Post types to include:"
1203
  msgstr ""
1204
 
1205
+ #: includes/media.php:62
1206
  msgid "thumb_timthumb argument has been deprecated"
1207
  msgstr ""
1208
 
1209
+ #: includes/media.php:66
1210
  msgid "thumb_timthumb_q argument has been deprecated"
1211
  msgstr ""
1212
 
1213
+ #: includes/media.php:70
1214
  msgid "filter argument has been deprecated"
1215
  msgstr ""
1216
 
1218
  msgid " by "
1219
  msgstr ""
1220
 
1221
+ #: top-10.php:163
1222
  msgid ""
1223
  "posts_only argument has been deprecated. Use get_tptn_pop_posts() to get the "
1224
  "posts only."
1225
  msgstr ""
1226
 
1227
+ #: top-10.php:300
1228
  #, php-format
1229
  msgid "Popular posts by <a href=\"%s\" rel=\"nofollow\" %s>Top 10 plugin</a>"
1230
  msgstr ""
1231
 
1232
+ #: top-10.php:641
1233
  msgid "<h3>Popular Posts</h3>"
1234
  msgstr "<h3>Папулярныя запісы</h3>"
1235
 
1236
+ #: top-10.php:642
1237
  msgid "<h3>Daily Popular</h3>"
1238
  msgstr "<h3>Папулярныя сёння запісы</h3>"
1239
 
1240
+ #: top-10.php:643
1241
  #, fuzzy
1242
  msgid "No top posts yet"
1243
  msgstr "Загаловак блока Папулярных запісаў:"
1244
 
1245
+ #: top-10.php:1124
1246
  msgid "Once Weekly"
1247
  msgstr ""
1248
 
1249
+ #: top-10.php:1128
1250
  msgid "Once Fortnightly"
1251
  msgstr ""
1252
 
1253
+ #: top-10.php:1132
1254
  msgid "Once Monthly"
1255
  msgstr ""
1256
 
1257
+ #: top-10.php:1136
1258
  msgid "Once quarterly"
1259
  msgstr ""
1260
 
languages/{tptn-en_US.mo → top-10-en_US.mo} RENAMED
Binary file
languages/{tptn-en_US.po → top-10-en_US.po} RENAMED
@@ -2,7 +2,7 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Top 10\n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2015-09-13 22:08+0100\n"
6
  "PO-Revision-Date: \n"
7
  "Last-Translator: Ajay D'Souza <me@ajaydsouza.com>\n"
8
  "Language-Team: Ajay DSouza <me@ajaydsouza.com>\n"
@@ -43,7 +43,7 @@ msgstr ""
43
  msgid "Popular posts by <a href=\"%s\" target=\"_blank\">Top 10 plugin</a>"
44
  msgstr ""
45
 
46
- #: admin/admin-dashboard.php:109 admin/class-stats.php:440
47
  #: admin/deprecated.php:41
48
  msgid "Popular Posts"
49
  msgstr ""
@@ -151,165 +151,165 @@ msgstr ""
151
  msgid "Scheduled maintenance disabled"
152
  msgstr ""
153
 
154
- #: admin/admin.php:300
155
  msgid "Counts from selected sites have been imported."
156
  msgstr ""
157
 
158
- #: admin/admin.php:325
159
  msgid ""
160
  "Selected tables have been deleted. Note that only imported tables have been "
161
  "deleted."
162
  msgstr ""
163
 
164
- #: admin/admin.php:342 admin/admin.php:362 admin/admin.php:372
165
  #: admin/main-view.php:55 admin/main-view.php:174 admin/main-view.php:279
166
- #: admin/main-view.php:477 admin/main-view.php:638 admin/main-view.php:734
167
- #: admin/main-view.php:798 admin/main-view.php:834
168
  msgid "Click to toggle"
169
  msgstr ""
170
 
171
- #: admin/admin.php:343
172
  msgid "Support the development"
173
  msgstr ""
174
 
175
- #: admin/admin.php:350
176
  msgid "Donation for Top 10"
177
  msgstr ""
178
 
179
- #: admin/admin.php:352
180
  msgid "Enter amount in USD:"
181
  msgstr ""
182
 
183
- #: admin/admin.php:356
184
  msgid "Send your donation to the author of Top 10"
185
  msgstr ""
186
 
187
- #: admin/admin.php:363
188
  msgid "Follow me"
189
  msgstr ""
190
 
191
- #: admin/admin.php:373
192
  msgid "Quick links"
193
  msgstr ""
194
 
195
- #: admin/admin.php:377
196
  msgid "Top 10 plugin page"
197
  msgstr ""
198
 
199
- #: admin/admin.php:378
200
  msgid "Top 10 Github page"
201
  msgstr ""
202
 
203
- #: admin/admin.php:379
204
  msgid "Other plugins"
205
  msgstr ""
206
 
207
- #: admin/admin.php:380
208
  msgid "FAQ"
209
  msgstr ""
210
 
211
- #: admin/admin.php:381 admin/admin.php:551
212
  msgid "Support"
213
  msgstr ""
214
 
215
- #: admin/admin.php:382
216
  msgid "Reviews"
217
  msgstr ""
218
 
219
- #: admin/admin.php:383
220
  msgid "Ajay's blog"
221
  msgstr ""
222
 
223
- #: admin/admin.php:400 admin/admin.php:403 admin/main-view.php:22
224
  msgid "Top 10 Settings"
225
  msgstr ""
226
 
227
- #: admin/admin.php:400
228
  msgid "Top 10"
229
  msgstr ""
230
 
231
- #: admin/admin.php:408
232
  msgid "View Popular Posts"
233
  msgstr ""
234
 
235
- #: admin/admin.php:528
236
  msgid "Settings"
237
  msgstr ""
238
 
239
- #: admin/admin.php:552
240
  msgid "Donate"
241
  msgstr ""
242
 
243
- #: admin/cache.php:20
244
  msgid "Top 10 cache has been cleared"
245
  msgstr ""
246
 
247
- #: admin/class-stats.php:37
248
  msgid "popular_post"
249
  msgstr ""
250
 
251
- #: admin/class-stats.php:38
252
  msgid "popular_posts"
253
  msgstr ""
254
 
255
- #: admin/class-stats.php:162
256
  msgid "No popular posts available."
257
  msgstr ""
258
 
259
- #: admin/class-stats.php:211
260
  msgid "View"
261
  msgstr ""
262
 
263
- #: admin/class-stats.php:212
264
  msgid "Edit"
265
  msgstr ""
266
 
267
- #: admin/class-stats.php:213
268
  msgid "Delete"
269
  msgstr ""
270
 
271
- #: admin/class-stats.php:235
272
  msgid "Y/m/d g:i:s a"
273
  msgstr ""
274
 
275
- #: admin/class-stats.php:242
276
  #, php-format
277
  msgid "%s ago"
278
  msgstr ""
279
 
280
- #: admin/class-stats.php:244
281
  msgid "Y/m/d"
282
  msgstr ""
283
 
284
- #: admin/class-stats.php:278 includes/class-top-10-widget.php:71
285
  msgid "Title"
286
  msgstr ""
287
 
288
- #: admin/class-stats.php:279
289
  msgid "Total visits"
290
  msgstr ""
291
 
292
- #: admin/class-stats.php:280
293
  msgid "Daily visits"
294
  msgstr ""
295
 
296
- #: admin/class-stats.php:281
297
  msgid "Post type"
298
  msgstr ""
299
 
300
- #: admin/class-stats.php:282
301
  msgid "Author"
302
  msgstr ""
303
 
304
- #: admin/class-stats.php:283
305
  msgid "Date"
306
  msgstr ""
307
 
308
- #: admin/class-stats.php:317
309
  msgid "Delete Count"
310
  msgstr ""
311
 
312
- #: admin/class-stats.php:357
313
  msgid "Are you sure you want to do this"
314
  msgstr ""
315
 
@@ -325,16 +325,16 @@ msgstr ""
325
  msgid "Popular post list options"
326
  msgstr ""
327
 
328
- #: admin/main-view.php:37 admin/main-view.php:478
329
  #: includes/class-top-10-widget.php:115
330
  msgid "Thumbnail options"
331
  msgstr ""
332
 
333
- #: admin/main-view.php:38 admin/main-view.php:639
334
  msgid "Styles"
335
  msgstr ""
336
 
337
- #: admin/main-view.php:39 admin/main-view.php:735
338
  msgid "Maintenance"
339
  msgstr ""
340
 
@@ -346,7 +346,7 @@ msgstr ""
346
  msgid "Overall"
347
  msgstr ""
348
 
349
- #: admin/main-view.php:83 admin/main-view.php:754
350
  msgid "Daily"
351
  msgstr ""
352
 
@@ -463,8 +463,8 @@ msgid ""
463
  "posts"
464
  msgstr ""
465
 
466
- #: admin/main-view.php:156 admin/main-view.php:261 admin/main-view.php:459
467
- #: admin/main-view.php:620 admin/main-view.php:714
468
  msgid "Save Options"
469
  msgstr ""
470
 
@@ -625,7 +625,7 @@ msgstr ""
625
  msgid "List of post or page IDs to exclude from the results:"
626
  msgstr ""
627
 
628
- #: admin/main-view.php:327 admin/main-view.php:427
629
  msgid "Enter comma separated list of IDs. e.g. 188,320,500"
630
  msgstr ""
631
 
@@ -640,131 +640,142 @@ msgid ""
640
  "options"
641
  msgstr ""
642
 
643
- #: admin/main-view.php:351
 
 
 
 
 
 
 
 
 
 
 
644
  msgid "Title of popular posts:"
645
  msgstr ""
646
 
647
- #: admin/main-view.php:357
648
  msgid "Title of daily popular posts:"
649
  msgstr ""
650
 
651
- #: admin/main-view.php:363
652
  msgid "When there are no posts, what should be shown?"
653
  msgstr ""
654
 
655
- #: admin/main-view.php:367
656
  msgid "Blank Output"
657
  msgstr ""
658
 
659
- #: admin/main-view.php:371
660
  msgid "Display:"
661
  msgstr ""
662
 
663
- #: admin/main-view.php:376
664
  msgid "Show post excerpt in list?"
665
  msgstr ""
666
 
667
- #: admin/main-view.php:382
668
  msgid "Length of excerpt (in words):"
669
  msgstr ""
670
 
671
- #: admin/main-view.php:388
672
  msgid "Show post author in list?"
673
  msgstr ""
674
 
675
- #: admin/main-view.php:394
676
  msgid "Show post date in list?"
677
  msgstr ""
678
 
679
- #: admin/main-view.php:400
680
  msgid "Limit post title length (in characters)"
681
  msgstr ""
682
 
683
- #: admin/main-view.php:406
684
  msgid "Show view count in list?"
685
  msgstr ""
686
 
687
- #: admin/main-view.php:412
688
  msgid "Open links in new window"
689
  msgstr ""
690
 
691
- #: admin/main-view.php:418
692
  msgid "Add nofollow attribute to links in the list"
693
  msgstr ""
694
 
695
- #: admin/main-view.php:424
696
  msgid "Exclude display of related posts on these posts / pages"
697
  msgstr ""
698
 
699
- #: admin/main-view.php:431
700
  msgid "Customise the list HTML"
701
  msgstr ""
702
 
703
- #: admin/main-view.php:434
704
  msgid "HTML to display before the list of posts:"
705
  msgstr ""
706
 
707
- #: admin/main-view.php:440
708
  msgid "HTML to display before each list item:"
709
  msgstr ""
710
 
711
- #: admin/main-view.php:446
712
  msgid "HTML to display after each list item:"
713
  msgstr ""
714
 
715
- #: admin/main-view.php:452
716
  msgid "HTML to display after the list of posts:"
717
  msgstr ""
718
 
719
- #: admin/main-view.php:493
720
  msgid "Location of post thumbnail:"
721
  msgstr ""
722
 
723
- #: admin/main-view.php:497
724
  msgid "Display thumbnails inline with posts, before title"
725
  msgstr ""
726
 
727
- #: admin/main-view.php:502
728
  msgid "Display thumbnails inline with posts, after title"
729
  msgstr ""
730
 
731
- #: admin/main-view.php:507
732
  msgid "Display only thumbnails, no text"
733
  msgstr ""
734
 
735
- #: admin/main-view.php:512
736
  msgid "Do not display thumbnails, only text."
737
  msgstr ""
738
 
739
- #: admin/main-view.php:516
740
  msgid ""
741
  "This setting cannot be changed because an inbuilt style has been selected "
742
  "under the Styles section. If you would like to change this option, please "
743
  "select No styles under the Styles section."
744
  msgstr ""
745
 
746
- #: admin/main-view.php:520
747
  msgid "Thumbnail size:"
748
  msgstr ""
749
 
750
- #: admin/main-view.php:544
751
  msgid "Custom size"
752
  msgstr ""
753
 
754
- #: admin/main-view.php:547
755
  msgid ""
756
  "You can choose from existing image sizes above or create a custom size. If "
757
  "you have chosen Custom size above, then enter the width, height and crop "
758
  "settings below. For best results, use a cropped image."
759
  msgstr ""
760
 
761
- #: admin/main-view.php:548
762
  msgid ""
763
  "If you change the width and/or height below, existing images will not be "
764
  "automatically resized."
765
  msgstr ""
766
 
767
- #: admin/main-view.php:549
768
  #, php-format
769
  msgid ""
770
  "I recommend using <a href='%s' class='thickbox'>OTF Regenerate Thumbnails</"
@@ -772,7 +783,7 @@ msgid ""
772
  "all image sizes."
773
  msgstr ""
774
 
775
- #: admin/main-view.php:552
776
  msgid ""
777
  "If you're using the Left Thumbs style below then the thumbnail width and "
778
  "height that you set here will supersede the widget. Alternatively, choose "
@@ -780,146 +791,146 @@ msgid ""
780
  "strong> option below"
781
  msgstr ""
782
 
783
- #: admin/main-view.php:555
784
  msgid "Width of custom thumbnail:"
785
  msgstr ""
786
 
787
- #: admin/main-view.php:560
788
  msgid "Height of custom thumbnail"
789
  msgstr ""
790
 
791
- #: admin/main-view.php:565
792
  msgid "Crop mode:"
793
  msgstr ""
794
 
795
- #: admin/main-view.php:569
796
  msgid ""
797
  "By default, thumbnails will be proportionately cropped. Check this box to "
798
  "hard crop the thumbnails."
799
  msgstr ""
800
 
801
- #: admin/main-view.php:570
802
  #, php-format
803
  msgid "<a href='%s' target='_blank'>Difference between soft and hard crop</a>"
804
  msgstr ""
805
 
806
- #: admin/main-view.php:574
807
  msgid "Image size attributes:"
808
  msgstr ""
809
 
810
- #: admin/main-view.php:578
811
  msgid "Style attributes are used for width and height."
812
  msgstr ""
813
 
814
- #: admin/main-view.php:583
815
  msgid "HTML width and height attributes are used for width and height."
816
  msgstr ""
817
 
818
- #: admin/main-view.php:588
819
  msgid "No HTML or Style attributes set for width and height"
820
  msgstr ""
821
 
822
- #: admin/main-view.php:593
823
  msgid "Post thumbnail meta field name:"
824
  msgstr ""
825
 
826
- #: admin/main-view.php:596
827
  msgid ""
828
  "The value of this field should contain the image source and is set in the "
829
  "<em>Add New Post</em> screen"
830
  msgstr ""
831
 
832
- #: admin/main-view.php:599
833
  msgid ""
834
  "If the postmeta is not set, then should the plugin extract the first image "
835
  "from the post?"
836
  msgstr ""
837
 
838
- #: admin/main-view.php:602
839
  msgid ""
840
  "This could slow down the loading of your page if the first image in the "
841
  "related posts is large in file-size"
842
  msgstr ""
843
 
844
- #: admin/main-view.php:605
845
  msgid "Use default thumbnail?"
846
  msgstr ""
847
 
848
- #: admin/main-view.php:608
849
  msgid ""
850
  "If checked, when no thumbnail is found, show a default one from the URL "
851
  "below. If not checked and no thumbnail is found, no image will be shown."
852
  msgstr ""
853
 
854
- #: admin/main-view.php:611
855
  msgid "Default thumbnail:"
856
  msgstr ""
857
 
858
- #: admin/main-view.php:615
859
  msgid ""
860
  "The plugin will first check if the post contains a thumbnail. If it doesn't "
861
  "then it will check the meta field. If this is not available, then it will "
862
  "show the default image as specified above"
863
  msgstr ""
864
 
865
- #: admin/main-view.php:654
866
  msgid "Style of the related posts:"
867
  msgstr ""
868
 
869
- #: admin/main-view.php:657
870
  msgid "No styles"
871
  msgstr ""
872
 
873
- #: admin/main-view.php:659
874
  msgid "Select this option if you plan to add your own styles"
875
  msgstr ""
876
 
877
- #: admin/main-view.php:664
878
  msgid "Left Thumbnails"
879
  msgstr ""
880
 
881
- #: admin/main-view.php:667
882
  msgid ""
883
  "Enabling this option will set the post thumbnail to be before text. "
884
  "Disabling this option will not revert any settings."
885
  msgstr ""
886
 
887
- #: admin/main-view.php:668
888
  #, php-format
889
  msgid ""
890
  "You can view the default style at <a href=\"%1$s\" target=\"_blank\">%1$s</a>"
891
  msgstr ""
892
 
893
- #: admin/main-view.php:672
894
  msgid "Text only"
895
  msgstr ""
896
 
897
- #: admin/main-view.php:674
898
  msgid ""
899
  "Enabling this option will disable thumbnails and no longer include the "
900
  "default style sheet included in the plugin."
901
  msgstr ""
902
 
903
- #: admin/main-view.php:690
904
  msgid "Custom CSS to add to header:"
905
  msgstr ""
906
 
907
- #: admin/main-view.php:695
908
  msgid ""
909
  "Do not include <code>style</code> tags. Check out the <a href=\"http://"
910
  "wordpress.org/extend/plugins/top-10/faq/\" target=\"_blank\">FAQ</a> for "
911
  "available CSS classes to style."
912
  msgstr ""
913
 
914
- #: admin/main-view.php:715
915
  msgid "Default Options"
916
  msgstr ""
917
 
918
- #: admin/main-view.php:715
919
  msgid "Do you want to set options to Default?"
920
  msgstr ""
921
 
922
- #: admin/main-view.php:739
923
  msgid ""
924
  "Over time the Daily Top 10 database grows in size, which reduces the "
925
  "performance of the plugin. Cleaning the database at regular intervals could "
@@ -927,175 +938,175 @@ msgid ""
927
  "will automatically delete entries older than 90 days."
928
  msgstr ""
929
 
930
- #: admin/main-view.php:740
931
  msgid ""
932
  "Note: When scheduled maintenance is enabled, WordPress will run the cron job "
933
  "everytime the job is rescheduled (i.e. you change the settings below)."
934
  msgstr ""
935
 
936
- #: admin/main-view.php:743
937
  msgid "Enable scheduled maintenance of daily tables:"
938
  msgstr ""
939
 
940
- #: admin/main-view.php:747
941
  msgid "Time to run maintenance"
942
  msgstr ""
943
 
944
- #: admin/main-view.php:748
945
  msgid "hrs"
946
  msgstr ""
947
 
948
- #: admin/main-view.php:748
949
  msgid "min"
950
  msgstr ""
951
 
952
- #: admin/main-view.php:750
953
  msgid "How often should the maintenance be run:"
954
  msgstr ""
955
 
956
- #: admin/main-view.php:758
957
  msgid "Weekly"
958
  msgstr ""
959
 
960
- #: admin/main-view.php:762
961
  msgid "Fortnightly"
962
  msgstr ""
963
 
964
- #: admin/main-view.php:766
965
  msgid "Monthly"
966
  msgstr ""
967
 
968
- #: admin/main-view.php:775
969
  msgid "The cron job has been scheduled. Maintenance will run"
970
  msgstr ""
971
 
972
- #: admin/main-view.php:780
973
  msgid "The cron job is missing. Please resave this page to add the job"
974
  msgstr ""
975
 
976
- #: admin/main-view.php:785
977
  msgid "Maintenance is turned off"
978
  msgstr ""
979
 
980
- #: admin/main-view.php:791
981
  msgid "Save Maintenance Options"
982
  msgstr ""
983
 
984
- #: admin/main-view.php:799
985
  msgid "Reset count and other tools"
986
  msgstr ""
987
 
988
- #: admin/main-view.php:802
989
  msgid ""
990
  "This cannot be reversed. Make sure that your database has been backed up "
991
  "before proceeding"
992
  msgstr ""
993
 
994
- #: admin/main-view.php:805
995
  msgid "Reset Popular Posts"
996
  msgstr ""
997
 
998
- #: admin/main-view.php:805
999
  msgid "Are you sure you want to reset the popular posts?"
1000
  msgstr ""
1001
 
1002
- #: admin/main-view.php:806
1003
  msgid "Reset Daily Popular Posts"
1004
  msgstr ""
1005
 
1006
- #: admin/main-view.php:806
1007
  msgid "Are you sure you want to reset the daily popular posts?"
1008
  msgstr ""
1009
 
1010
- #: admin/main-view.php:809
1011
  msgid "This will merge post counts for posts with table entries of 0 and 1"
1012
  msgstr ""
1013
 
1014
- #: admin/main-view.php:812
1015
  msgid "Merge blog ID 0 and 1 post counts"
1016
  msgstr ""
1017
 
1018
- #: admin/main-view.php:812
1019
  msgid "This will merge post counts for blog IDs 0 and 1. Proceed?"
1020
  msgstr ""
1021
 
1022
- #: admin/main-view.php:815
1023
  msgid ""
1024
  "In older versions, the plugin created entries with duplicate post IDs. "
1025
  "Clicking the button below will merge these duplicate IDs"
1026
  msgstr ""
1027
 
1028
- #: admin/main-view.php:818
1029
  msgid "Merge duplicates across blog IDs"
1030
  msgstr ""
1031
 
1032
- #: admin/main-view.php:818
1033
  msgid "This will delete the duplicate entries in the tables. Proceed?"
1034
  msgstr ""
1035
 
1036
- #: admin/main-view.php:835
1037
  msgid "WordPress Multisite: Migrate Top 10 v1.x counts to 2.x"
1038
  msgstr ""
1039
 
1040
- #: admin/main-view.php:838
1041
  msgid ""
1042
  "If you've been using Top 10 v1.x on multisite, you would have needed to "
1043
  "activate the plugin independently for each site. This would have resulted in "
1044
  "two tables being created for each site in the network."
1045
  msgstr ""
1046
 
1047
- #: admin/main-view.php:839
1048
  msgid ""
1049
  "Top 10 v2.x onwards uses only a single table to record the count, keeping "
1050
  "your database clean. You can use this tool to import the recorded counts "
1051
  "from v1.x tables to the new v2.x table format."
1052
  msgstr ""
1053
 
1054
- #: admin/main-view.php:842
1055
  msgid ""
1056
  "If you do not see any tables below, then it means that either all data has "
1057
  "already been imported or no relevant information has been found."
1058
  msgstr ""
1059
 
1060
- #: admin/main-view.php:845
1061
  msgid ""
1062
  "After running the importer, please verify that all the counts have been "
1063
  "successfully imported. Only then should you delete any old tables!"
1064
  msgstr ""
1065
 
1066
- #: admin/main-view.php:879
1067
  msgid "Blog ID"
1068
  msgstr ""
1069
 
1070
- #: admin/main-view.php:882
1071
  msgid "Status"
1072
  msgstr ""
1073
 
1074
- #: admin/main-view.php:885
1075
  msgid "Select to import"
1076
  msgstr ""
1077
 
1078
- #: admin/main-view.php:895
1079
  msgid "Blog #"
1080
  msgstr ""
1081
 
1082
- #: admin/main-view.php:905
1083
  msgid "Not imported"
1084
  msgstr ""
1085
 
1086
- #: admin/main-view.php:909
1087
  msgid "Imported"
1088
  msgstr ""
1089
 
1090
- #: admin/main-view.php:930
1091
  msgid "Begin import"
1092
  msgstr ""
1093
 
1094
- #: admin/main-view.php:931
1095
  msgid "Delete selected tables"
1096
  msgstr ""
1097
 
1098
- #: admin/main-view.php:932
1099
  msgid "Delete all imported tables"
1100
  msgstr ""
1101
 
@@ -1167,15 +1178,15 @@ msgstr ""
1167
  msgid "Post types to include:"
1168
  msgstr ""
1169
 
1170
- #: includes/media.php:63
1171
  msgid "thumb_timthumb argument has been deprecated"
1172
  msgstr ""
1173
 
1174
- #: includes/media.php:67
1175
  msgid "thumb_timthumb_q argument has been deprecated"
1176
  msgstr ""
1177
 
1178
- #: includes/media.php:71
1179
  msgid "filter argument has been deprecated"
1180
  msgstr ""
1181
 
@@ -1183,41 +1194,41 @@ msgstr ""
1183
  msgid " by "
1184
  msgstr ""
1185
 
1186
- #: top-10.php:157
1187
  msgid ""
1188
  "posts_only argument has been deprecated. Use get_tptn_pop_posts() to get the "
1189
  "posts only."
1190
  msgstr ""
1191
 
1192
- #: top-10.php:264
1193
  #, php-format
1194
  msgid "Popular posts by <a href=\"%s\" rel=\"nofollow\" %s>Top 10 plugin</a>"
1195
  msgstr ""
1196
 
1197
- #: top-10.php:610
1198
  msgid "<h3>Popular Posts</h3>"
1199
  msgstr ""
1200
 
1201
- #: top-10.php:611
1202
  msgid "<h3>Daily Popular</h3>"
1203
  msgstr ""
1204
 
1205
- #: top-10.php:612
1206
  msgid "No top posts yet"
1207
  msgstr ""
1208
 
1209
- #: top-10.php:1093
1210
  msgid "Once Weekly"
1211
  msgstr ""
1212
 
1213
- #: top-10.php:1097
1214
  msgid "Once Fortnightly"
1215
  msgstr ""
1216
 
1217
- #: top-10.php:1101
1218
  msgid "Once Monthly"
1219
  msgstr ""
1220
 
1221
- #: top-10.php:1105
1222
  msgid "Once quarterly"
1223
  msgstr ""
2
  msgstr ""
3
  "Project-Id-Version: Top 10\n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2015-09-27 13:35+0100\n"
6
  "PO-Revision-Date: \n"
7
  "Last-Translator: Ajay D'Souza <me@ajaydsouza.com>\n"
8
  "Language-Team: Ajay DSouza <me@ajaydsouza.com>\n"
43
  msgid "Popular posts by <a href=\"%s\" target=\"_blank\">Top 10 plugin</a>"
44
  msgstr ""
45
 
46
+ #: admin/admin-dashboard.php:109 admin/class-stats.php:438
47
  #: admin/deprecated.php:41
48
  msgid "Popular Posts"
49
  msgstr ""
151
  msgid "Scheduled maintenance disabled"
152
  msgstr ""
153
 
154
+ #: admin/admin.php:299
155
  msgid "Counts from selected sites have been imported."
156
  msgstr ""
157
 
158
+ #: admin/admin.php:324
159
  msgid ""
160
  "Selected tables have been deleted. Note that only imported tables have been "
161
  "deleted."
162
  msgstr ""
163
 
164
+ #: admin/admin.php:341 admin/admin.php:361 admin/admin.php:385
165
  #: admin/main-view.php:55 admin/main-view.php:174 admin/main-view.php:279
166
+ #: admin/main-view.php:488 admin/main-view.php:651 admin/main-view.php:747
167
+ #: admin/main-view.php:811 admin/main-view.php:846
168
  msgid "Click to toggle"
169
  msgstr ""
170
 
171
+ #: admin/admin.php:342
172
  msgid "Support the development"
173
  msgstr ""
174
 
175
+ #: admin/admin.php:349
176
  msgid "Donation for Top 10"
177
  msgstr ""
178
 
179
+ #: admin/admin.php:351
180
  msgid "Enter amount in USD:"
181
  msgstr ""
182
 
183
+ #: admin/admin.php:355
184
  msgid "Send your donation to the author of Top 10"
185
  msgstr ""
186
 
187
+ #: admin/admin.php:362
188
  msgid "Follow me"
189
  msgstr ""
190
 
191
+ #: admin/admin.php:386
192
  msgid "Quick links"
193
  msgstr ""
194
 
195
+ #: admin/admin.php:390
196
  msgid "Top 10 plugin page"
197
  msgstr ""
198
 
199
+ #: admin/admin.php:391
200
  msgid "Top 10 Github page"
201
  msgstr ""
202
 
203
+ #: admin/admin.php:392
204
  msgid "Other plugins"
205
  msgstr ""
206
 
207
+ #: admin/admin.php:393
208
  msgid "FAQ"
209
  msgstr ""
210
 
211
+ #: admin/admin.php:394 admin/admin.php:564
212
  msgid "Support"
213
  msgstr ""
214
 
215
+ #: admin/admin.php:395
216
  msgid "Reviews"
217
  msgstr ""
218
 
219
+ #: admin/admin.php:396
220
  msgid "Ajay's blog"
221
  msgstr ""
222
 
223
+ #: admin/admin.php:413 admin/admin.php:416 admin/main-view.php:22
224
  msgid "Top 10 Settings"
225
  msgstr ""
226
 
227
+ #: admin/admin.php:413
228
  msgid "Top 10"
229
  msgstr ""
230
 
231
+ #: admin/admin.php:421
232
  msgid "View Popular Posts"
233
  msgstr ""
234
 
235
+ #: admin/admin.php:541
236
  msgid "Settings"
237
  msgstr ""
238
 
239
+ #: admin/admin.php:565
240
  msgid "Donate"
241
  msgstr ""
242
 
243
+ #: admin/cache.php:19
244
  msgid "Top 10 cache has been cleared"
245
  msgstr ""
246
 
247
+ #: admin/class-stats.php:36
248
  msgid "popular_post"
249
  msgstr ""
250
 
251
+ #: admin/class-stats.php:37
252
  msgid "popular_posts"
253
  msgstr ""
254
 
255
+ #: admin/class-stats.php:160
256
  msgid "No popular posts available."
257
  msgstr ""
258
 
259
+ #: admin/class-stats.php:209
260
  msgid "View"
261
  msgstr ""
262
 
263
+ #: admin/class-stats.php:210
264
  msgid "Edit"
265
  msgstr ""
266
 
267
+ #: admin/class-stats.php:211
268
  msgid "Delete"
269
  msgstr ""
270
 
271
+ #: admin/class-stats.php:233
272
  msgid "Y/m/d g:i:s a"
273
  msgstr ""
274
 
275
+ #: admin/class-stats.php:240
276
  #, php-format
277
  msgid "%s ago"
278
  msgstr ""
279
 
280
+ #: admin/class-stats.php:242
281
  msgid "Y/m/d"
282
  msgstr ""
283
 
284
+ #: admin/class-stats.php:276 includes/class-top-10-widget.php:71
285
  msgid "Title"
286
  msgstr ""
287
 
288
+ #: admin/class-stats.php:277
289
  msgid "Total visits"
290
  msgstr ""
291
 
292
+ #: admin/class-stats.php:278
293
  msgid "Daily visits"
294
  msgstr ""
295
 
296
+ #: admin/class-stats.php:279
297
  msgid "Post type"
298
  msgstr ""
299
 
300
+ #: admin/class-stats.php:280
301
  msgid "Author"
302
  msgstr ""
303
 
304
+ #: admin/class-stats.php:281
305
  msgid "Date"
306
  msgstr ""
307
 
308
+ #: admin/class-stats.php:315
309
  msgid "Delete Count"
310
  msgstr ""
311
 
312
+ #: admin/class-stats.php:355
313
  msgid "Are you sure you want to do this"
314
  msgstr ""
315
 
325
  msgid "Popular post list options"
326
  msgstr ""
327
 
328
+ #: admin/main-view.php:37 admin/main-view.php:489
329
  #: includes/class-top-10-widget.php:115
330
  msgid "Thumbnail options"
331
  msgstr ""
332
 
333
+ #: admin/main-view.php:38 admin/main-view.php:652
334
  msgid "Styles"
335
  msgstr ""
336
 
337
+ #: admin/main-view.php:39 admin/main-view.php:748
338
  msgid "Maintenance"
339
  msgstr ""
340
 
346
  msgid "Overall"
347
  msgstr ""
348
 
349
+ #: admin/main-view.php:83 admin/main-view.php:767
350
  msgid "Daily"
351
  msgstr ""
352
 
463
  "posts"
464
  msgstr ""
465
 
466
+ #: admin/main-view.php:156 admin/main-view.php:261 admin/main-view.php:470
467
+ #: admin/main-view.php:633 admin/main-view.php:727
468
  msgid "Save Options"
469
  msgstr ""
470
 
625
  msgid "List of post or page IDs to exclude from the results:"
626
  msgstr ""
627
 
628
+ #: admin/main-view.php:327 admin/main-view.php:438
629
  msgid "Enter comma separated list of IDs. e.g. 188,320,500"
630
  msgstr ""
631
 
640
  "options"
641
  msgstr ""
642
 
643
+ #: admin/main-view.php:350
644
+ msgid "Excluded category IDs are:"
645
+ msgstr ""
646
+
647
+ #: admin/main-view.php:356
648
+ msgid ""
649
+ "These might differ from the IDs visible in the Categories page which use the "
650
+ "<code>term_id</code>. Top 10 uses the <code>term_taxonomy_id</code> which is "
651
+ "unique to this taxonomy."
652
+ msgstr ""
653
+
654
+ #: admin/main-view.php:362
655
  msgid "Title of popular posts:"
656
  msgstr ""
657
 
658
+ #: admin/main-view.php:368
659
  msgid "Title of daily popular posts:"
660
  msgstr ""
661
 
662
+ #: admin/main-view.php:374
663
  msgid "When there are no posts, what should be shown?"
664
  msgstr ""
665
 
666
+ #: admin/main-view.php:378
667
  msgid "Blank Output"
668
  msgstr ""
669
 
670
+ #: admin/main-view.php:382
671
  msgid "Display:"
672
  msgstr ""
673
 
674
+ #: admin/main-view.php:387
675
  msgid "Show post excerpt in list?"
676
  msgstr ""
677
 
678
+ #: admin/main-view.php:393
679
  msgid "Length of excerpt (in words):"
680
  msgstr ""
681
 
682
+ #: admin/main-view.php:399
683
  msgid "Show post author in list?"
684
  msgstr ""
685
 
686
+ #: admin/main-view.php:405
687
  msgid "Show post date in list?"
688
  msgstr ""
689
 
690
+ #: admin/main-view.php:411
691
  msgid "Limit post title length (in characters)"
692
  msgstr ""
693
 
694
+ #: admin/main-view.php:417
695
  msgid "Show view count in list?"
696
  msgstr ""
697
 
698
+ #: admin/main-view.php:423
699
  msgid "Open links in new window"
700
  msgstr ""
701
 
702
+ #: admin/main-view.php:429
703
  msgid "Add nofollow attribute to links in the list"
704
  msgstr ""
705
 
706
+ #: admin/main-view.php:435
707
  msgid "Exclude display of related posts on these posts / pages"
708
  msgstr ""
709
 
710
+ #: admin/main-view.php:442
711
  msgid "Customise the list HTML"
712
  msgstr ""
713
 
714
+ #: admin/main-view.php:445
715
  msgid "HTML to display before the list of posts:"
716
  msgstr ""
717
 
718
+ #: admin/main-view.php:451
719
  msgid "HTML to display before each list item:"
720
  msgstr ""
721
 
722
+ #: admin/main-view.php:457
723
  msgid "HTML to display after each list item:"
724
  msgstr ""
725
 
726
+ #: admin/main-view.php:463
727
  msgid "HTML to display after the list of posts:"
728
  msgstr ""
729
 
730
+ #: admin/main-view.php:504
731
  msgid "Location of post thumbnail:"
732
  msgstr ""
733
 
734
+ #: admin/main-view.php:508
735
  msgid "Display thumbnails inline with posts, before title"
736
  msgstr ""
737
 
738
+ #: admin/main-view.php:513
739
  msgid "Display thumbnails inline with posts, after title"
740
  msgstr ""
741
 
742
+ #: admin/main-view.php:518
743
  msgid "Display only thumbnails, no text"
744
  msgstr ""
745
 
746
+ #: admin/main-view.php:523
747
  msgid "Do not display thumbnails, only text."
748
  msgstr ""
749
 
750
+ #: admin/main-view.php:527
751
  msgid ""
752
  "This setting cannot be changed because an inbuilt style has been selected "
753
  "under the Styles section. If you would like to change this option, please "
754
  "select No styles under the Styles section."
755
  msgstr ""
756
 
757
+ #: admin/main-view.php:531
758
  msgid "Thumbnail size:"
759
  msgstr ""
760
 
761
+ #: admin/main-view.php:555
762
  msgid "Custom size"
763
  msgstr ""
764
 
765
+ #: admin/main-view.php:558
766
  msgid ""
767
  "You can choose from existing image sizes above or create a custom size. If "
768
  "you have chosen Custom size above, then enter the width, height and crop "
769
  "settings below. For best results, use a cropped image."
770
  msgstr ""
771
 
772
+ #: admin/main-view.php:559
773
  msgid ""
774
  "If you change the width and/or height below, existing images will not be "
775
  "automatically resized."
776
  msgstr ""
777
 
778
+ #: admin/main-view.php:560
779
  #, php-format
780
  msgid ""
781
  "I recommend using <a href='%s' class='thickbox'>OTF Regenerate Thumbnails</"
783
  "all image sizes."
784
  msgstr ""
785
 
786
+ #: admin/main-view.php:563
787
  msgid ""
788
  "If you're using the Left Thumbs style below then the thumbnail width and "
789
  "height that you set here will supersede the widget. Alternatively, choose "
791
  "strong> option below"
792
  msgstr ""
793
 
794
+ #: admin/main-view.php:566
795
  msgid "Width of custom thumbnail:"
796
  msgstr ""
797
 
798
+ #: admin/main-view.php:571
799
  msgid "Height of custom thumbnail"
800
  msgstr ""
801
 
802
+ #: admin/main-view.php:576
803
  msgid "Crop mode:"
804
  msgstr ""
805
 
806
+ #: admin/main-view.php:580
807
  msgid ""
808
  "By default, thumbnails will be proportionately cropped. Check this box to "
809
  "hard crop the thumbnails."
810
  msgstr ""
811
 
812
+ #: admin/main-view.php:581
813
  #, php-format
814
  msgid "<a href='%s' target='_blank'>Difference between soft and hard crop</a>"
815
  msgstr ""
816
 
817
+ #: admin/main-view.php:585
818
  msgid "Image size attributes:"
819
  msgstr ""
820
 
821
+ #: admin/main-view.php:589
822
  msgid "Style attributes are used for width and height."
823
  msgstr ""
824
 
825
+ #: admin/main-view.php:595
826
  msgid "HTML width and height attributes are used for width and height."
827
  msgstr ""
828
 
829
+ #: admin/main-view.php:601
830
  msgid "No HTML or Style attributes set for width and height"
831
  msgstr ""
832
 
833
+ #: admin/main-view.php:606
834
  msgid "Post thumbnail meta field name:"
835
  msgstr ""
836
 
837
+ #: admin/main-view.php:609
838
  msgid ""
839
  "The value of this field should contain the image source and is set in the "
840
  "<em>Add New Post</em> screen"
841
  msgstr ""
842
 
843
+ #: admin/main-view.php:612
844
  msgid ""
845
  "If the postmeta is not set, then should the plugin extract the first image "
846
  "from the post?"
847
  msgstr ""
848
 
849
+ #: admin/main-view.php:615
850
  msgid ""
851
  "This could slow down the loading of your page if the first image in the "
852
  "related posts is large in file-size"
853
  msgstr ""
854
 
855
+ #: admin/main-view.php:618
856
  msgid "Use default thumbnail?"
857
  msgstr ""
858
 
859
+ #: admin/main-view.php:621
860
  msgid ""
861
  "If checked, when no thumbnail is found, show a default one from the URL "
862
  "below. If not checked and no thumbnail is found, no image will be shown."
863
  msgstr ""
864
 
865
+ #: admin/main-view.php:624
866
  msgid "Default thumbnail:"
867
  msgstr ""
868
 
869
+ #: admin/main-view.php:628
870
  msgid ""
871
  "The plugin will first check if the post contains a thumbnail. If it doesn't "
872
  "then it will check the meta field. If this is not available, then it will "
873
  "show the default image as specified above"
874
  msgstr ""
875
 
876
+ #: admin/main-view.php:667
877
  msgid "Style of the related posts:"
878
  msgstr ""
879
 
880
+ #: admin/main-view.php:670
881
  msgid "No styles"
882
  msgstr ""
883
 
884
+ #: admin/main-view.php:672
885
  msgid "Select this option if you plan to add your own styles"
886
  msgstr ""
887
 
888
+ #: admin/main-view.php:677
889
  msgid "Left Thumbnails"
890
  msgstr ""
891
 
892
+ #: admin/main-view.php:680
893
  msgid ""
894
  "Enabling this option will set the post thumbnail to be before text. "
895
  "Disabling this option will not revert any settings."
896
  msgstr ""
897
 
898
+ #: admin/main-view.php:681
899
  #, php-format
900
  msgid ""
901
  "You can view the default style at <a href=\"%1$s\" target=\"_blank\">%1$s</a>"
902
  msgstr ""
903
 
904
+ #: admin/main-view.php:685
905
  msgid "Text only"
906
  msgstr ""
907
 
908
+ #: admin/main-view.php:687
909
  msgid ""
910
  "Enabling this option will disable thumbnails and no longer include the "
911
  "default style sheet included in the plugin."
912
  msgstr ""
913
 
914
+ #: admin/main-view.php:703
915
  msgid "Custom CSS to add to header:"
916
  msgstr ""
917
 
918
+ #: admin/main-view.php:708
919
  msgid ""
920
  "Do not include <code>style</code> tags. Check out the <a href=\"http://"
921
  "wordpress.org/extend/plugins/top-10/faq/\" target=\"_blank\">FAQ</a> for "
922
  "available CSS classes to style."
923
  msgstr ""
924
 
925
+ #: admin/main-view.php:728
926
  msgid "Default Options"
927
  msgstr ""
928
 
929
+ #: admin/main-view.php:728
930
  msgid "Do you want to set options to Default?"
931
  msgstr ""
932
 
933
+ #: admin/main-view.php:752
934
  msgid ""
935
  "Over time the Daily Top 10 database grows in size, which reduces the "
936
  "performance of the plugin. Cleaning the database at regular intervals could "
938
  "will automatically delete entries older than 90 days."
939
  msgstr ""
940
 
941
+ #: admin/main-view.php:753
942
  msgid ""
943
  "Note: When scheduled maintenance is enabled, WordPress will run the cron job "
944
  "everytime the job is rescheduled (i.e. you change the settings below)."
945
  msgstr ""
946
 
947
+ #: admin/main-view.php:756
948
  msgid "Enable scheduled maintenance of daily tables:"
949
  msgstr ""
950
 
951
+ #: admin/main-view.php:760
952
  msgid "Time to run maintenance"
953
  msgstr ""
954
 
955
+ #: admin/main-view.php:761
956
  msgid "hrs"
957
  msgstr ""
958
 
959
+ #: admin/main-view.php:761
960
  msgid "min"
961
  msgstr ""
962
 
963
+ #: admin/main-view.php:763
964
  msgid "How often should the maintenance be run:"
965
  msgstr ""
966
 
967
+ #: admin/main-view.php:771
968
  msgid "Weekly"
969
  msgstr ""
970
 
971
+ #: admin/main-view.php:775
972
  msgid "Fortnightly"
973
  msgstr ""
974
 
975
+ #: admin/main-view.php:779
976
  msgid "Monthly"
977
  msgstr ""
978
 
979
+ #: admin/main-view.php:788
980
  msgid "The cron job has been scheduled. Maintenance will run"
981
  msgstr ""
982
 
983
+ #: admin/main-view.php:793
984
  msgid "The cron job is missing. Please resave this page to add the job"
985
  msgstr ""
986
 
987
+ #: admin/main-view.php:798
988
  msgid "Maintenance is turned off"
989
  msgstr ""
990
 
991
+ #: admin/main-view.php:804
992
  msgid "Save Maintenance Options"
993
  msgstr ""
994
 
995
+ #: admin/main-view.php:812
996
  msgid "Reset count and other tools"
997
  msgstr ""
998
 
999
+ #: admin/main-view.php:815
1000
  msgid ""
1001
  "This cannot be reversed. Make sure that your database has been backed up "
1002
  "before proceeding"
1003
  msgstr ""
1004
 
1005
+ #: admin/main-view.php:818
1006
  msgid "Reset Popular Posts"
1007
  msgstr ""
1008
 
1009
+ #: admin/main-view.php:818
1010
  msgid "Are you sure you want to reset the popular posts?"
1011
  msgstr ""
1012
 
1013
+ #: admin/main-view.php:819
1014
  msgid "Reset Daily Popular Posts"
1015
  msgstr ""
1016
 
1017
+ #: admin/main-view.php:819
1018
  msgid "Are you sure you want to reset the daily popular posts?"
1019
  msgstr ""
1020
 
1021
+ #: admin/main-view.php:822
1022
  msgid "This will merge post counts for posts with table entries of 0 and 1"
1023
  msgstr ""
1024
 
1025
+ #: admin/main-view.php:825
1026
  msgid "Merge blog ID 0 and 1 post counts"
1027
  msgstr ""
1028
 
1029
+ #: admin/main-view.php:825
1030
  msgid "This will merge post counts for blog IDs 0 and 1. Proceed?"
1031
  msgstr ""
1032
 
1033
+ #: admin/main-view.php:828
1034
  msgid ""
1035
  "In older versions, the plugin created entries with duplicate post IDs. "
1036
  "Clicking the button below will merge these duplicate IDs"
1037
  msgstr ""
1038
 
1039
+ #: admin/main-view.php:831
1040
  msgid "Merge duplicates across blog IDs"
1041
  msgstr ""
1042
 
1043
+ #: admin/main-view.php:831
1044
  msgid "This will delete the duplicate entries in the tables. Proceed?"
1045
  msgstr ""
1046
 
1047
+ #: admin/main-view.php:847
1048
  msgid "WordPress Multisite: Migrate Top 10 v1.x counts to 2.x"
1049
  msgstr ""
1050
 
1051
+ #: admin/main-view.php:850
1052
  msgid ""
1053
  "If you've been using Top 10 v1.x on multisite, you would have needed to "
1054
  "activate the plugin independently for each site. This would have resulted in "
1055
  "two tables being created for each site in the network."
1056
  msgstr ""
1057
 
1058
+ #: admin/main-view.php:851
1059
  msgid ""
1060
  "Top 10 v2.x onwards uses only a single table to record the count, keeping "
1061
  "your database clean. You can use this tool to import the recorded counts "
1062
  "from v1.x tables to the new v2.x table format."
1063
  msgstr ""
1064
 
1065
+ #: admin/main-view.php:854
1066
  msgid ""
1067
  "If you do not see any tables below, then it means that either all data has "
1068
  "already been imported or no relevant information has been found."
1069
  msgstr ""
1070
 
1071
+ #: admin/main-view.php:857
1072
  msgid ""
1073
  "After running the importer, please verify that all the counts have been "
1074
  "successfully imported. Only then should you delete any old tables!"
1075
  msgstr ""
1076
 
1077
+ #: admin/main-view.php:891
1078
  msgid "Blog ID"
1079
  msgstr ""
1080
 
1081
+ #: admin/main-view.php:894
1082
  msgid "Status"
1083
  msgstr ""
1084
 
1085
+ #: admin/main-view.php:897
1086
  msgid "Select to import"
1087
  msgstr ""
1088
 
1089
+ #: admin/main-view.php:907
1090
  msgid "Blog #"
1091
  msgstr ""
1092
 
1093
+ #: admin/main-view.php:917
1094
  msgid "Not imported"
1095
  msgstr ""
1096
 
1097
+ #: admin/main-view.php:921
1098
  msgid "Imported"
1099
  msgstr ""
1100
 
1101
+ #: admin/main-view.php:942
1102
  msgid "Begin import"
1103
  msgstr ""
1104
 
1105
+ #: admin/main-view.php:943
1106
  msgid "Delete selected tables"
1107
  msgstr ""
1108
 
1109
+ #: admin/main-view.php:944
1110
  msgid "Delete all imported tables"
1111
  msgstr ""
1112
 
1178
  msgid "Post types to include:"
1179
  msgstr ""
1180
 
1181
+ #: includes/media.php:62
1182
  msgid "thumb_timthumb argument has been deprecated"
1183
  msgstr ""
1184
 
1185
+ #: includes/media.php:66
1186
  msgid "thumb_timthumb_q argument has been deprecated"
1187
  msgstr ""
1188
 
1189
+ #: includes/media.php:70
1190
  msgid "filter argument has been deprecated"
1191
  msgstr ""
1192
 
1194
  msgid " by "
1195
  msgstr ""
1196
 
1197
+ #: top-10.php:163
1198
  msgid ""
1199
  "posts_only argument has been deprecated. Use get_tptn_pop_posts() to get the "
1200
  "posts only."
1201
  msgstr ""
1202
 
1203
+ #: top-10.php:300
1204
  #, php-format
1205
  msgid "Popular posts by <a href=\"%s\" rel=\"nofollow\" %s>Top 10 plugin</a>"
1206
  msgstr ""
1207
 
1208
+ #: top-10.php:641
1209
  msgid "<h3>Popular Posts</h3>"
1210
  msgstr ""
1211
 
1212
+ #: top-10.php:642
1213
  msgid "<h3>Daily Popular</h3>"
1214
  msgstr ""
1215
 
1216
+ #: top-10.php:643
1217
  msgid "No top posts yet"
1218
  msgstr ""
1219
 
1220
+ #: top-10.php:1124
1221
  msgid "Once Weekly"
1222
  msgstr ""
1223
 
1224
+ #: top-10.php:1128
1225
  msgid "Once Fortnightly"
1226
  msgstr ""
1227
 
1228
+ #: top-10.php:1132
1229
  msgid "Once Monthly"
1230
  msgstr ""
1231
 
1232
+ #: top-10.php:1136
1233
  msgid "Once quarterly"
1234
  msgstr ""
languages/{tptn-en_US.pot → top-10-en_US.pot} RENAMED
@@ -3,7 +3,7 @@ msgid ""
3
  msgstr ""
4
  "Project-Id-Version: Top 10\n"
5
  "Report-Msgid-Bugs-To: \n"
6
- "POT-Creation-Date: 2015-09-13 22:09+0100\n"
7
  "PO-Revision-Date: \n"
8
  "Last-Translator: Ajay D'Souza <me@ajaydsouza.com>\n"
9
  "Language-Team: Ajay DSouza <me@ajaydsouza.com>\n"
@@ -43,7 +43,7 @@ msgstr ""
43
  msgid "Popular posts by <a href=\"%s\" target=\"_blank\">Top 10 plugin</a>"
44
  msgstr ""
45
 
46
- #: admin/admin-dashboard.php:109 admin/class-stats.php:440
47
  #: admin/deprecated.php:41
48
  msgid "Popular Posts"
49
  msgstr ""
@@ -151,165 +151,165 @@ msgstr ""
151
  msgid "Scheduled maintenance disabled"
152
  msgstr ""
153
 
154
- #: admin/admin.php:300
155
  msgid "Counts from selected sites have been imported."
156
  msgstr ""
157
 
158
- #: admin/admin.php:325
159
  msgid ""
160
  "Selected tables have been deleted. Note that only imported tables have been "
161
  "deleted."
162
  msgstr ""
163
 
164
- #: admin/admin.php:342 admin/admin.php:362 admin/admin.php:372
165
  #: admin/main-view.php:55 admin/main-view.php:174 admin/main-view.php:279
166
- #: admin/main-view.php:477 admin/main-view.php:638 admin/main-view.php:734
167
- #: admin/main-view.php:798 admin/main-view.php:834
168
  msgid "Click to toggle"
169
  msgstr ""
170
 
171
- #: admin/admin.php:343
172
  msgid "Support the development"
173
  msgstr ""
174
 
175
- #: admin/admin.php:350
176
  msgid "Donation for Top 10"
177
  msgstr ""
178
 
179
- #: admin/admin.php:352
180
  msgid "Enter amount in USD:"
181
  msgstr ""
182
 
183
- #: admin/admin.php:356
184
  msgid "Send your donation to the author of Top 10"
185
  msgstr ""
186
 
187
- #: admin/admin.php:363
188
  msgid "Follow me"
189
  msgstr ""
190
 
191
- #: admin/admin.php:373
192
  msgid "Quick links"
193
  msgstr ""
194
 
195
- #: admin/admin.php:377
196
  msgid "Top 10 plugin page"
197
  msgstr ""
198
 
199
- #: admin/admin.php:378
200
  msgid "Top 10 Github page"
201
  msgstr ""
202
 
203
- #: admin/admin.php:379
204
  msgid "Other plugins"
205
  msgstr ""
206
 
207
- #: admin/admin.php:380
208
  msgid "FAQ"
209
  msgstr ""
210
 
211
- #: admin/admin.php:381 admin/admin.php:551
212
  msgid "Support"
213
  msgstr ""
214
 
215
- #: admin/admin.php:382
216
  msgid "Reviews"
217
  msgstr ""
218
 
219
- #: admin/admin.php:383
220
  msgid "Ajay's blog"
221
  msgstr ""
222
 
223
- #: admin/admin.php:400 admin/admin.php:403 admin/main-view.php:22
224
  msgid "Top 10 Settings"
225
  msgstr ""
226
 
227
- #: admin/admin.php:400
228
  msgid "Top 10"
229
  msgstr ""
230
 
231
- #: admin/admin.php:408
232
  msgid "View Popular Posts"
233
  msgstr ""
234
 
235
- #: admin/admin.php:528
236
  msgid "Settings"
237
  msgstr ""
238
 
239
- #: admin/admin.php:552
240
  msgid "Donate"
241
  msgstr ""
242
 
243
- #: admin/cache.php:20
244
  msgid "Top 10 cache has been cleared"
245
  msgstr ""
246
 
247
- #: admin/class-stats.php:37
248
  msgid "popular_post"
249
  msgstr ""
250
 
251
- #: admin/class-stats.php:38
252
  msgid "popular_posts"
253
  msgstr ""
254
 
255
- #: admin/class-stats.php:162
256
  msgid "No popular posts available."
257
  msgstr ""
258
 
259
- #: admin/class-stats.php:211
260
  msgid "View"
261
  msgstr ""
262
 
263
- #: admin/class-stats.php:212
264
  msgid "Edit"
265
  msgstr ""
266
 
267
- #: admin/class-stats.php:213
268
  msgid "Delete"
269
  msgstr ""
270
 
271
- #: admin/class-stats.php:235
272
  msgid "Y/m/d g:i:s a"
273
  msgstr ""
274
 
275
- #: admin/class-stats.php:242
276
  #, php-format
277
  msgid "%s ago"
278
  msgstr ""
279
 
280
- #: admin/class-stats.php:244
281
  msgid "Y/m/d"
282
  msgstr ""
283
 
284
- #: admin/class-stats.php:278 includes/class-top-10-widget.php:71
285
  msgid "Title"
286
  msgstr ""
287
 
288
- #: admin/class-stats.php:279
289
  msgid "Total visits"
290
  msgstr ""
291
 
292
- #: admin/class-stats.php:280
293
  msgid "Daily visits"
294
  msgstr ""
295
 
296
- #: admin/class-stats.php:281
297
  msgid "Post type"
298
  msgstr ""
299
 
300
- #: admin/class-stats.php:282
301
  msgid "Author"
302
  msgstr ""
303
 
304
- #: admin/class-stats.php:283
305
  msgid "Date"
306
  msgstr ""
307
 
308
- #: admin/class-stats.php:317
309
  msgid "Delete Count"
310
  msgstr ""
311
 
312
- #: admin/class-stats.php:357
313
  msgid "Are you sure you want to do this"
314
  msgstr ""
315
 
@@ -325,16 +325,16 @@ msgstr ""
325
  msgid "Popular post list options"
326
  msgstr ""
327
 
328
- #: admin/main-view.php:37 admin/main-view.php:478
329
  #: includes/class-top-10-widget.php:115
330
  msgid "Thumbnail options"
331
  msgstr ""
332
 
333
- #: admin/main-view.php:38 admin/main-view.php:639
334
  msgid "Styles"
335
  msgstr ""
336
 
337
- #: admin/main-view.php:39 admin/main-view.php:735
338
  msgid "Maintenance"
339
  msgstr ""
340
 
@@ -346,7 +346,7 @@ msgstr ""
346
  msgid "Overall"
347
  msgstr ""
348
 
349
- #: admin/main-view.php:83 admin/main-view.php:754
350
  msgid "Daily"
351
  msgstr ""
352
 
@@ -463,8 +463,8 @@ msgid ""
463
  "posts"
464
  msgstr ""
465
 
466
- #: admin/main-view.php:156 admin/main-view.php:261 admin/main-view.php:459
467
- #: admin/main-view.php:620 admin/main-view.php:714
468
  msgid "Save Options"
469
  msgstr ""
470
 
@@ -625,7 +625,7 @@ msgstr ""
625
  msgid "List of post or page IDs to exclude from the results:"
626
  msgstr ""
627
 
628
- #: admin/main-view.php:327 admin/main-view.php:427
629
  msgid "Enter comma separated list of IDs. e.g. 188,320,500"
630
  msgstr ""
631
 
@@ -640,131 +640,142 @@ msgid ""
640
  "options"
641
  msgstr ""
642
 
643
- #: admin/main-view.php:351
 
 
 
 
 
 
 
 
 
 
 
644
  msgid "Title of popular posts:"
645
  msgstr ""
646
 
647
- #: admin/main-view.php:357
648
  msgid "Title of daily popular posts:"
649
  msgstr ""
650
 
651
- #: admin/main-view.php:363
652
  msgid "When there are no posts, what should be shown?"
653
  msgstr ""
654
 
655
- #: admin/main-view.php:367
656
  msgid "Blank Output"
657
  msgstr ""
658
 
659
- #: admin/main-view.php:371
660
  msgid "Display:"
661
  msgstr ""
662
 
663
- #: admin/main-view.php:376
664
  msgid "Show post excerpt in list?"
665
  msgstr ""
666
 
667
- #: admin/main-view.php:382
668
  msgid "Length of excerpt (in words):"
669
  msgstr ""
670
 
671
- #: admin/main-view.php:388
672
  msgid "Show post author in list?"
673
  msgstr ""
674
 
675
- #: admin/main-view.php:394
676
  msgid "Show post date in list?"
677
  msgstr ""
678
 
679
- #: admin/main-view.php:400
680
  msgid "Limit post title length (in characters)"
681
  msgstr ""
682
 
683
- #: admin/main-view.php:406
684
  msgid "Show view count in list?"
685
  msgstr ""
686
 
687
- #: admin/main-view.php:412
688
  msgid "Open links in new window"
689
  msgstr ""
690
 
691
- #: admin/main-view.php:418
692
  msgid "Add nofollow attribute to links in the list"
693
  msgstr ""
694
 
695
- #: admin/main-view.php:424
696
  msgid "Exclude display of related posts on these posts / pages"
697
  msgstr ""
698
 
699
- #: admin/main-view.php:431
700
  msgid "Customise the list HTML"
701
  msgstr ""
702
 
703
- #: admin/main-view.php:434
704
  msgid "HTML to display before the list of posts:"
705
  msgstr ""
706
 
707
- #: admin/main-view.php:440
708
  msgid "HTML to display before each list item:"
709
  msgstr ""
710
 
711
- #: admin/main-view.php:446
712
  msgid "HTML to display after each list item:"
713
  msgstr ""
714
 
715
- #: admin/main-view.php:452
716
  msgid "HTML to display after the list of posts:"
717
  msgstr ""
718
 
719
- #: admin/main-view.php:493
720
  msgid "Location of post thumbnail:"
721
  msgstr ""
722
 
723
- #: admin/main-view.php:497
724
  msgid "Display thumbnails inline with posts, before title"
725
  msgstr ""
726
 
727
- #: admin/main-view.php:502
728
  msgid "Display thumbnails inline with posts, after title"
729
  msgstr ""
730
 
731
- #: admin/main-view.php:507
732
  msgid "Display only thumbnails, no text"
733
  msgstr ""
734
 
735
- #: admin/main-view.php:512
736
  msgid "Do not display thumbnails, only text."
737
  msgstr ""
738
 
739
- #: admin/main-view.php:516
740
  msgid ""
741
  "This setting cannot be changed because an inbuilt style has been selected "
742
  "under the Styles section. If you would like to change this option, please "
743
  "select No styles under the Styles section."
744
  msgstr ""
745
 
746
- #: admin/main-view.php:520
747
  msgid "Thumbnail size:"
748
  msgstr ""
749
 
750
- #: admin/main-view.php:544
751
  msgid "Custom size"
752
  msgstr ""
753
 
754
- #: admin/main-view.php:547
755
  msgid ""
756
  "You can choose from existing image sizes above or create a custom size. If "
757
  "you have chosen Custom size above, then enter the width, height and crop "
758
  "settings below. For best results, use a cropped image."
759
  msgstr ""
760
 
761
- #: admin/main-view.php:548
762
  msgid ""
763
  "If you change the width and/or height below, existing images will not be "
764
  "automatically resized."
765
  msgstr ""
766
 
767
- #: admin/main-view.php:549
768
  #, php-format
769
  msgid ""
770
  "I recommend using <a href='%s' class='thickbox'>OTF Regenerate Thumbnails</"
@@ -772,7 +783,7 @@ msgid ""
772
  "all image sizes."
773
  msgstr ""
774
 
775
- #: admin/main-view.php:552
776
  msgid ""
777
  "If you're using the Left Thumbs style below then the thumbnail width and "
778
  "height that you set here will supersede the widget. Alternatively, choose "
@@ -780,146 +791,146 @@ msgid ""
780
  "strong> option below"
781
  msgstr ""
782
 
783
- #: admin/main-view.php:555
784
  msgid "Width of custom thumbnail:"
785
  msgstr ""
786
 
787
- #: admin/main-view.php:560
788
  msgid "Height of custom thumbnail"
789
  msgstr ""
790
 
791
- #: admin/main-view.php:565
792
  msgid "Crop mode:"
793
  msgstr ""
794
 
795
- #: admin/main-view.php:569
796
  msgid ""
797
  "By default, thumbnails will be proportionately cropped. Check this box to "
798
  "hard crop the thumbnails."
799
  msgstr ""
800
 
801
- #: admin/main-view.php:570
802
  #, php-format
803
  msgid "<a href='%s' target='_blank'>Difference between soft and hard crop</a>"
804
  msgstr ""
805
 
806
- #: admin/main-view.php:574
807
  msgid "Image size attributes:"
808
  msgstr ""
809
 
810
- #: admin/main-view.php:578
811
  msgid "Style attributes are used for width and height."
812
  msgstr ""
813
 
814
- #: admin/main-view.php:583
815
  msgid "HTML width and height attributes are used for width and height."
816
  msgstr ""
817
 
818
- #: admin/main-view.php:588
819
  msgid "No HTML or Style attributes set for width and height"
820
  msgstr ""
821
 
822
- #: admin/main-view.php:593
823
  msgid "Post thumbnail meta field name:"
824
  msgstr ""
825
 
826
- #: admin/main-view.php:596
827
  msgid ""
828
  "The value of this field should contain the image source and is set in the "
829
  "<em>Add New Post</em> screen"
830
  msgstr ""
831
 
832
- #: admin/main-view.php:599
833
  msgid ""
834
  "If the postmeta is not set, then should the plugin extract the first image "
835
  "from the post?"
836
  msgstr ""
837
 
838
- #: admin/main-view.php:602
839
  msgid ""
840
  "This could slow down the loading of your page if the first image in the "
841
  "related posts is large in file-size"
842
  msgstr ""
843
 
844
- #: admin/main-view.php:605
845
  msgid "Use default thumbnail?"
846
  msgstr ""
847
 
848
- #: admin/main-view.php:608
849
  msgid ""
850
  "If checked, when no thumbnail is found, show a default one from the URL "
851
  "below. If not checked and no thumbnail is found, no image will be shown."
852
  msgstr ""
853
 
854
- #: admin/main-view.php:611
855
  msgid "Default thumbnail:"
856
  msgstr ""
857
 
858
- #: admin/main-view.php:615
859
  msgid ""
860
  "The plugin will first check if the post contains a thumbnail. If it doesn't "
861
  "then it will check the meta field. If this is not available, then it will "
862
  "show the default image as specified above"
863
  msgstr ""
864
 
865
- #: admin/main-view.php:654
866
  msgid "Style of the related posts:"
867
  msgstr ""
868
 
869
- #: admin/main-view.php:657
870
  msgid "No styles"
871
  msgstr ""
872
 
873
- #: admin/main-view.php:659
874
  msgid "Select this option if you plan to add your own styles"
875
  msgstr ""
876
 
877
- #: admin/main-view.php:664
878
  msgid "Left Thumbnails"
879
  msgstr ""
880
 
881
- #: admin/main-view.php:667
882
  msgid ""
883
  "Enabling this option will set the post thumbnail to be before text. "
884
  "Disabling this option will not revert any settings."
885
  msgstr ""
886
 
887
- #: admin/main-view.php:668
888
  #, php-format
889
  msgid ""
890
  "You can view the default style at <a href=\"%1$s\" target=\"_blank\">%1$s</a>"
891
  msgstr ""
892
 
893
- #: admin/main-view.php:672
894
  msgid "Text only"
895
  msgstr ""
896
 
897
- #: admin/main-view.php:674
898
  msgid ""
899
  "Enabling this option will disable thumbnails and no longer include the "
900
  "default style sheet included in the plugin."
901
  msgstr ""
902
 
903
- #: admin/main-view.php:690
904
  msgid "Custom CSS to add to header:"
905
  msgstr ""
906
 
907
- #: admin/main-view.php:695
908
  msgid ""
909
  "Do not include <code>style</code> tags. Check out the <a href=\"http://"
910
  "wordpress.org/extend/plugins/top-10/faq/\" target=\"_blank\">FAQ</a> for "
911
  "available CSS classes to style."
912
  msgstr ""
913
 
914
- #: admin/main-view.php:715
915
  msgid "Default Options"
916
  msgstr ""
917
 
918
- #: admin/main-view.php:715
919
  msgid "Do you want to set options to Default?"
920
  msgstr ""
921
 
922
- #: admin/main-view.php:739
923
  msgid ""
924
  "Over time the Daily Top 10 database grows in size, which reduces the "
925
  "performance of the plugin. Cleaning the database at regular intervals could "
@@ -927,175 +938,175 @@ msgid ""
927
  "will automatically delete entries older than 90 days."
928
  msgstr ""
929
 
930
- #: admin/main-view.php:740
931
  msgid ""
932
  "Note: When scheduled maintenance is enabled, WordPress will run the cron job "
933
  "everytime the job is rescheduled (i.e. you change the settings below)."
934
  msgstr ""
935
 
936
- #: admin/main-view.php:743
937
  msgid "Enable scheduled maintenance of daily tables:"
938
  msgstr ""
939
 
940
- #: admin/main-view.php:747
941
  msgid "Time to run maintenance"
942
  msgstr ""
943
 
944
- #: admin/main-view.php:748
945
  msgid "hrs"
946
  msgstr ""
947
 
948
- #: admin/main-view.php:748
949
  msgid "min"
950
  msgstr ""
951
 
952
- #: admin/main-view.php:750
953
  msgid "How often should the maintenance be run:"
954
  msgstr ""
955
 
956
- #: admin/main-view.php:758
957
  msgid "Weekly"
958
  msgstr ""
959
 
960
- #: admin/main-view.php:762
961
  msgid "Fortnightly"
962
  msgstr ""
963
 
964
- #: admin/main-view.php:766
965
  msgid "Monthly"
966
  msgstr ""
967
 
968
- #: admin/main-view.php:775
969
  msgid "The cron job has been scheduled. Maintenance will run"
970
  msgstr ""
971
 
972
- #: admin/main-view.php:780
973
  msgid "The cron job is missing. Please resave this page to add the job"
974
  msgstr ""
975
 
976
- #: admin/main-view.php:785
977
  msgid "Maintenance is turned off"
978
  msgstr ""
979
 
980
- #: admin/main-view.php:791
981
  msgid "Save Maintenance Options"
982
  msgstr ""
983
 
984
- #: admin/main-view.php:799
985
  msgid "Reset count and other tools"
986
  msgstr ""
987
 
988
- #: admin/main-view.php:802
989
  msgid ""
990
  "This cannot be reversed. Make sure that your database has been backed up "
991
  "before proceeding"
992
  msgstr ""
993
 
994
- #: admin/main-view.php:805
995
  msgid "Reset Popular Posts"
996
  msgstr ""
997
 
998
- #: admin/main-view.php:805
999
  msgid "Are you sure you want to reset the popular posts?"
1000
  msgstr ""
1001
 
1002
- #: admin/main-view.php:806
1003
  msgid "Reset Daily Popular Posts"
1004
  msgstr ""
1005
 
1006
- #: admin/main-view.php:806
1007
  msgid "Are you sure you want to reset the daily popular posts?"
1008
  msgstr ""
1009
 
1010
- #: admin/main-view.php:809
1011
  msgid "This will merge post counts for posts with table entries of 0 and 1"
1012
  msgstr ""
1013
 
1014
- #: admin/main-view.php:812
1015
  msgid "Merge blog ID 0 and 1 post counts"
1016
  msgstr ""
1017
 
1018
- #: admin/main-view.php:812
1019
  msgid "This will merge post counts for blog IDs 0 and 1. Proceed?"
1020
  msgstr ""
1021
 
1022
- #: admin/main-view.php:815
1023
  msgid ""
1024
  "In older versions, the plugin created entries with duplicate post IDs. "
1025
  "Clicking the button below will merge these duplicate IDs"
1026
  msgstr ""
1027
 
1028
- #: admin/main-view.php:818
1029
  msgid "Merge duplicates across blog IDs"
1030
  msgstr ""
1031
 
1032
- #: admin/main-view.php:818
1033
  msgid "This will delete the duplicate entries in the tables. Proceed?"
1034
  msgstr ""
1035
 
1036
- #: admin/main-view.php:835
1037
  msgid "WordPress Multisite: Migrate Top 10 v1.x counts to 2.x"
1038
  msgstr ""
1039
 
1040
- #: admin/main-view.php:838
1041
  msgid ""
1042
  "If you've been using Top 10 v1.x on multisite, you would have needed to "
1043
  "activate the plugin independently for each site. This would have resulted in "
1044
  "two tables being created for each site in the network."
1045
  msgstr ""
1046
 
1047
- #: admin/main-view.php:839
1048
  msgid ""
1049
  "Top 10 v2.x onwards uses only a single table to record the count, keeping "
1050
  "your database clean. You can use this tool to import the recorded counts "
1051
  "from v1.x tables to the new v2.x table format."
1052
  msgstr ""
1053
 
1054
- #: admin/main-view.php:842
1055
  msgid ""
1056
  "If you do not see any tables below, then it means that either all data has "
1057
  "already been imported or no relevant information has been found."
1058
  msgstr ""
1059
 
1060
- #: admin/main-view.php:845
1061
  msgid ""
1062
  "After running the importer, please verify that all the counts have been "
1063
  "successfully imported. Only then should you delete any old tables!"
1064
  msgstr ""
1065
 
1066
- #: admin/main-view.php:879
1067
  msgid "Blog ID"
1068
  msgstr ""
1069
 
1070
- #: admin/main-view.php:882
1071
  msgid "Status"
1072
  msgstr ""
1073
 
1074
- #: admin/main-view.php:885
1075
  msgid "Select to import"
1076
  msgstr ""
1077
 
1078
- #: admin/main-view.php:895
1079
  msgid "Blog #"
1080
  msgstr ""
1081
 
1082
- #: admin/main-view.php:905
1083
  msgid "Not imported"
1084
  msgstr ""
1085
 
1086
- #: admin/main-view.php:909
1087
  msgid "Imported"
1088
  msgstr ""
1089
 
1090
- #: admin/main-view.php:930
1091
  msgid "Begin import"
1092
  msgstr ""
1093
 
1094
- #: admin/main-view.php:931
1095
  msgid "Delete selected tables"
1096
  msgstr ""
1097
 
1098
- #: admin/main-view.php:932
1099
  msgid "Delete all imported tables"
1100
  msgstr ""
1101
 
@@ -1167,15 +1178,15 @@ msgstr ""
1167
  msgid "Post types to include:"
1168
  msgstr ""
1169
 
1170
- #: includes/media.php:63
1171
  msgid "thumb_timthumb argument has been deprecated"
1172
  msgstr ""
1173
 
1174
- #: includes/media.php:67
1175
  msgid "thumb_timthumb_q argument has been deprecated"
1176
  msgstr ""
1177
 
1178
- #: includes/media.php:71
1179
  msgid "filter argument has been deprecated"
1180
  msgstr ""
1181
 
@@ -1183,41 +1194,41 @@ msgstr ""
1183
  msgid " by "
1184
  msgstr ""
1185
 
1186
- #: top-10.php:157
1187
  msgid ""
1188
  "posts_only argument has been deprecated. Use get_tptn_pop_posts() to get the "
1189
  "posts only."
1190
  msgstr ""
1191
 
1192
- #: top-10.php:264
1193
  #, php-format
1194
  msgid "Popular posts by <a href=\"%s\" rel=\"nofollow\" %s>Top 10 plugin</a>"
1195
  msgstr ""
1196
 
1197
- #: top-10.php:610
1198
  msgid "<h3>Popular Posts</h3>"
1199
  msgstr ""
1200
 
1201
- #: top-10.php:611
1202
  msgid "<h3>Daily Popular</h3>"
1203
  msgstr ""
1204
 
1205
- #: top-10.php:612
1206
  msgid "No top posts yet"
1207
  msgstr ""
1208
 
1209
- #: top-10.php:1093
1210
  msgid "Once Weekly"
1211
  msgstr ""
1212
 
1213
- #: top-10.php:1097
1214
  msgid "Once Fortnightly"
1215
  msgstr ""
1216
 
1217
- #: top-10.php:1101
1218
  msgid "Once Monthly"
1219
  msgstr ""
1220
 
1221
- #: top-10.php:1105
1222
  msgid "Once quarterly"
1223
  msgstr ""
3
  msgstr ""
4
  "Project-Id-Version: Top 10\n"
5
  "Report-Msgid-Bugs-To: \n"
6
+ "POT-Creation-Date: 2015-09-27 13:35+0100\n"
7
  "PO-Revision-Date: \n"
8
  "Last-Translator: Ajay D'Souza <me@ajaydsouza.com>\n"
9
  "Language-Team: Ajay DSouza <me@ajaydsouza.com>\n"
43
  msgid "Popular posts by <a href=\"%s\" target=\"_blank\">Top 10 plugin</a>"
44
  msgstr ""
45
 
46
+ #: admin/admin-dashboard.php:109 admin/class-stats.php:438
47
  #: admin/deprecated.php:41
48
  msgid "Popular Posts"
49
  msgstr ""
151
  msgid "Scheduled maintenance disabled"
152
  msgstr ""
153
 
154
+ #: admin/admin.php:299
155
  msgid "Counts from selected sites have been imported."
156
  msgstr ""
157
 
158
+ #: admin/admin.php:324
159
  msgid ""
160
  "Selected tables have been deleted. Note that only imported tables have been "
161
  "deleted."
162
  msgstr ""
163
 
164
+ #: admin/admin.php:341 admin/admin.php:361 admin/admin.php:385
165
  #: admin/main-view.php:55 admin/main-view.php:174 admin/main-view.php:279
166
+ #: admin/main-view.php:488 admin/main-view.php:651 admin/main-view.php:747
167
+ #: admin/main-view.php:811 admin/main-view.php:846
168
  msgid "Click to toggle"
169
  msgstr ""
170
 
171
+ #: admin/admin.php:342
172
  msgid "Support the development"
173
  msgstr ""
174
 
175
+ #: admin/admin.php:349
176
  msgid "Donation for Top 10"
177
  msgstr ""
178
 
179
+ #: admin/admin.php:351
180
  msgid "Enter amount in USD:"
181
  msgstr ""
182
 
183
+ #: admin/admin.php:355
184
  msgid "Send your donation to the author of Top 10"
185
  msgstr ""
186
 
187
+ #: admin/admin.php:362
188
  msgid "Follow me"
189
  msgstr ""
190
 
191
+ #: admin/admin.php:386
192
  msgid "Quick links"
193
  msgstr ""
194
 
195
+ #: admin/admin.php:390
196
  msgid "Top 10 plugin page"
197
  msgstr ""
198
 
199
+ #: admin/admin.php:391
200
  msgid "Top 10 Github page"
201
  msgstr ""
202
 
203
+ #: admin/admin.php:392
204
  msgid "Other plugins"
205
  msgstr ""
206
 
207
+ #: admin/admin.php:393
208
  msgid "FAQ"
209
  msgstr ""
210
 
211
+ #: admin/admin.php:394 admin/admin.php:564
212
  msgid "Support"
213
  msgstr ""
214
 
215
+ #: admin/admin.php:395
216
  msgid "Reviews"
217
  msgstr ""
218
 
219
+ #: admin/admin.php:396
220
  msgid "Ajay's blog"
221
  msgstr ""
222
 
223
+ #: admin/admin.php:413 admin/admin.php:416 admin/main-view.php:22
224
  msgid "Top 10 Settings"
225
  msgstr ""
226
 
227
+ #: admin/admin.php:413
228
  msgid "Top 10"
229
  msgstr ""
230
 
231
+ #: admin/admin.php:421
232
  msgid "View Popular Posts"
233
  msgstr ""
234
 
235
+ #: admin/admin.php:541
236
  msgid "Settings"
237
  msgstr ""
238
 
239
+ #: admin/admin.php:565
240
  msgid "Donate"
241
  msgstr ""
242
 
243
+ #: admin/cache.php:19
244
  msgid "Top 10 cache has been cleared"
245
  msgstr ""
246
 
247
+ #: admin/class-stats.php:36
248
  msgid "popular_post"
249
  msgstr ""
250
 
251
+ #: admin/class-stats.php:37
252
  msgid "popular_posts"
253
  msgstr ""
254
 
255
+ #: admin/class-stats.php:160
256
  msgid "No popular posts available."
257
  msgstr ""
258
 
259
+ #: admin/class-stats.php:209
260
  msgid "View"
261
  msgstr ""
262
 
263
+ #: admin/class-stats.php:210
264
  msgid "Edit"
265
  msgstr ""
266
 
267
+ #: admin/class-stats.php:211
268
  msgid "Delete"
269
  msgstr ""
270
 
271
+ #: admin/class-stats.php:233
272
  msgid "Y/m/d g:i:s a"
273
  msgstr ""
274
 
275
+ #: admin/class-stats.php:240
276
  #, php-format
277
  msgid "%s ago"
278
  msgstr ""
279
 
280
+ #: admin/class-stats.php:242
281
  msgid "Y/m/d"
282
  msgstr ""
283
 
284
+ #: admin/class-stats.php:276 includes/class-top-10-widget.php:71
285
  msgid "Title"
286
  msgstr ""
287
 
288
+ #: admin/class-stats.php:277
289
  msgid "Total visits"
290
  msgstr ""
291
 
292
+ #: admin/class-stats.php:278
293
  msgid "Daily visits"
294
  msgstr ""
295
 
296
+ #: admin/class-stats.php:279
297
  msgid "Post type"
298
  msgstr ""
299
 
300
+ #: admin/class-stats.php:280
301
  msgid "Author"
302
  msgstr ""
303
 
304
+ #: admin/class-stats.php:281
305
  msgid "Date"
306
  msgstr ""
307
 
308
+ #: admin/class-stats.php:315
309
  msgid "Delete Count"
310
  msgstr ""
311
 
312
+ #: admin/class-stats.php:355
313
  msgid "Are you sure you want to do this"
314
  msgstr ""
315
 
325
  msgid "Popular post list options"
326
  msgstr ""
327
 
328
+ #: admin/main-view.php:37 admin/main-view.php:489
329
  #: includes/class-top-10-widget.php:115
330
  msgid "Thumbnail options"
331
  msgstr ""
332
 
333
+ #: admin/main-view.php:38 admin/main-view.php:652
334
  msgid "Styles"
335
  msgstr ""
336
 
337
+ #: admin/main-view.php:39 admin/main-view.php:748
338
  msgid "Maintenance"
339
  msgstr ""
340
 
346
  msgid "Overall"
347
  msgstr ""
348
 
349
+ #: admin/main-view.php:83 admin/main-view.php:767
350
  msgid "Daily"
351
  msgstr ""
352
 
463
  "posts"
464
  msgstr ""
465
 
466
+ #: admin/main-view.php:156 admin/main-view.php:261 admin/main-view.php:470
467
+ #: admin/main-view.php:633 admin/main-view.php:727
468
  msgid "Save Options"
469
  msgstr ""
470
 
625
  msgid "List of post or page IDs to exclude from the results:"
626
  msgstr ""
627
 
628
+ #: admin/main-view.php:327 admin/main-view.php:438
629
  msgid "Enter comma separated list of IDs. e.g. 188,320,500"
630
  msgstr ""
631
 
640
  "options"
641
  msgstr ""
642
 
643
+ #: admin/main-view.php:350
644
+ msgid "Excluded category IDs are:"
645
+ msgstr ""
646
+
647
+ #: admin/main-view.php:356
648
+ msgid ""
649
+ "These might differ from the IDs visible in the Categories page which use the "
650
+ "<code>term_id</code>. Top 10 uses the <code>term_taxonomy_id</code> which is "
651
+ "unique to this taxonomy."
652
+ msgstr ""
653
+
654
+ #: admin/main-view.php:362
655
  msgid "Title of popular posts:"
656
  msgstr ""
657
 
658
+ #: admin/main-view.php:368
659
  msgid "Title of daily popular posts:"
660
  msgstr ""
661
 
662
+ #: admin/main-view.php:374
663
  msgid "When there are no posts, what should be shown?"
664
  msgstr ""
665
 
666
+ #: admin/main-view.php:378
667
  msgid "Blank Output"
668
  msgstr ""
669
 
670
+ #: admin/main-view.php:382
671
  msgid "Display:"
672
  msgstr ""
673
 
674
+ #: admin/main-view.php:387
675
  msgid "Show post excerpt in list?"
676
  msgstr ""
677
 
678
+ #: admin/main-view.php:393
679
  msgid "Length of excerpt (in words):"
680
  msgstr ""
681
 
682
+ #: admin/main-view.php:399
683
  msgid "Show post author in list?"
684
  msgstr ""
685
 
686
+ #: admin/main-view.php:405
687
  msgid "Show post date in list?"
688
  msgstr ""
689
 
690
+ #: admin/main-view.php:411
691
  msgid "Limit post title length (in characters)"
692
  msgstr ""
693
 
694
+ #: admin/main-view.php:417
695
  msgid "Show view count in list?"
696
  msgstr ""
697
 
698
+ #: admin/main-view.php:423
699
  msgid "Open links in new window"
700
  msgstr ""
701
 
702
+ #: admin/main-view.php:429
703
  msgid "Add nofollow attribute to links in the list"
704
  msgstr ""
705
 
706
+ #: admin/main-view.php:435
707
  msgid "Exclude display of related posts on these posts / pages"
708
  msgstr ""
709
 
710
+ #: admin/main-view.php:442
711
  msgid "Customise the list HTML"
712
  msgstr ""
713
 
714
+ #: admin/main-view.php:445
715
  msgid "HTML to display before the list of posts:"
716
  msgstr ""
717
 
718
+ #: admin/main-view.php:451
719
  msgid "HTML to display before each list item:"
720
  msgstr ""
721
 
722
+ #: admin/main-view.php:457
723
  msgid "HTML to display after each list item:"
724
  msgstr ""
725
 
726
+ #: admin/main-view.php:463
727
  msgid "HTML to display after the list of posts:"
728
  msgstr ""
729
 
730
+ #: admin/main-view.php:504
731
  msgid "Location of post thumbnail:"
732
  msgstr ""
733
 
734
+ #: admin/main-view.php:508
735
  msgid "Display thumbnails inline with posts, before title"
736
  msgstr ""
737
 
738
+ #: admin/main-view.php:513
739
  msgid "Display thumbnails inline with posts, after title"
740
  msgstr ""
741
 
742
+ #: admin/main-view.php:518
743
  msgid "Display only thumbnails, no text"
744
  msgstr ""
745
 
746
+ #: admin/main-view.php:523
747
  msgid "Do not display thumbnails, only text."
748
  msgstr ""
749
 
750
+ #: admin/main-view.php:527
751
  msgid ""
752
  "This setting cannot be changed because an inbuilt style has been selected "
753
  "under the Styles section. If you would like to change this option, please "
754
  "select No styles under the Styles section."
755
  msgstr ""
756
 
757
+ #: admin/main-view.php:531
758
  msgid "Thumbnail size:"
759
  msgstr ""
760
 
761
+ #: admin/main-view.php:555
762
  msgid "Custom size"
763
  msgstr ""
764
 
765
+ #: admin/main-view.php:558
766
  msgid ""
767
  "You can choose from existing image sizes above or create a custom size. If "
768
  "you have chosen Custom size above, then enter the width, height and crop "
769
  "settings below. For best results, use a cropped image."
770
  msgstr ""
771
 
772
+ #: admin/main-view.php:559
773
  msgid ""
774
  "If you change the width and/or height below, existing images will not be "
775
  "automatically resized."
776
  msgstr ""
777
 
778
+ #: admin/main-view.php:560
779
  #, php-format
780
  msgid ""
781
  "I recommend using <a href='%s' class='thickbox'>OTF Regenerate Thumbnails</"
783
  "all image sizes."
784
  msgstr ""
785
 
786
+ #: admin/main-view.php:563
787
  msgid ""
788
  "If you're using the Left Thumbs style below then the thumbnail width and "
789
  "height that you set here will supersede the widget. Alternatively, choose "
791
  "strong> option below"
792
  msgstr ""
793
 
794
+ #: admin/main-view.php:566
795
  msgid "Width of custom thumbnail:"
796
  msgstr ""
797
 
798
+ #: admin/main-view.php:571
799
  msgid "Height of custom thumbnail"
800
  msgstr ""
801
 
802
+ #: admin/main-view.php:576
803
  msgid "Crop mode:"
804
  msgstr ""
805
 
806
+ #: admin/main-view.php:580
807
  msgid ""
808
  "By default, thumbnails will be proportionately cropped. Check this box to "
809
  "hard crop the thumbnails."
810
  msgstr ""
811
 
812
+ #: admin/main-view.php:581
813
  #, php-format
814
  msgid "<a href='%s' target='_blank'>Difference between soft and hard crop</a>"
815
  msgstr ""
816
 
817
+ #: admin/main-view.php:585
818
  msgid "Image size attributes:"
819
  msgstr ""
820
 
821
+ #: admin/main-view.php:589
822
  msgid "Style attributes are used for width and height."
823
  msgstr ""
824
 
825
+ #: admin/main-view.php:595
826
  msgid "HTML width and height attributes are used for width and height."
827
  msgstr ""
828
 
829
+ #: admin/main-view.php:601
830
  msgid "No HTML or Style attributes set for width and height"
831
  msgstr ""
832
 
833
+ #: admin/main-view.php:606
834
  msgid "Post thumbnail meta field name:"
835
  msgstr ""
836
 
837
+ #: admin/main-view.php:609
838
  msgid ""
839
  "The value of this field should contain the image source and is set in the "
840
  "<em>Add New Post</em> screen"
841
  msgstr ""
842
 
843
+ #: admin/main-view.php:612
844
  msgid ""
845
  "If the postmeta is not set, then should the plugin extract the first image "
846
  "from the post?"
847
  msgstr ""
848
 
849
+ #: admin/main-view.php:615
850
  msgid ""
851
  "This could slow down the loading of your page if the first image in the "
852
  "related posts is large in file-size"
853
  msgstr ""
854
 
855
+ #: admin/main-view.php:618
856
  msgid "Use default thumbnail?"
857
  msgstr ""
858
 
859
+ #: admin/main-view.php:621
860
  msgid ""
861
  "If checked, when no thumbnail is found, show a default one from the URL "
862
  "below. If not checked and no thumbnail is found, no image will be shown."
863
  msgstr ""
864
 
865
+ #: admin/main-view.php:624
866
  msgid "Default thumbnail:"
867
  msgstr ""
868
 
869
+ #: admin/main-view.php:628
870
  msgid ""
871
  "The plugin will first check if the post contains a thumbnail. If it doesn't "
872
  "then it will check the meta field. If this is not available, then it will "
873
  "show the default image as specified above"
874
  msgstr ""
875
 
876
+ #: admin/main-view.php:667
877
  msgid "Style of the related posts:"
878
  msgstr ""
879
 
880
+ #: admin/main-view.php:670
881
  msgid "No styles"
882
  msgstr ""
883
 
884
+ #: admin/main-view.php:672
885
  msgid "Select this option if you plan to add your own styles"
886
  msgstr ""
887
 
888
+ #: admin/main-view.php:677
889
  msgid "Left Thumbnails"
890
  msgstr ""
891
 
892
+ #: admin/main-view.php:680
893
  msgid ""
894
  "Enabling this option will set the post thumbnail to be before text. "
895
  "Disabling this option will not revert any settings."
896
  msgstr ""
897
 
898
+ #: admin/main-view.php:681
899
  #, php-format
900
  msgid ""
901
  "You can view the default style at <a href=\"%1$s\" target=\"_blank\">%1$s</a>"
902
  msgstr ""
903
 
904
+ #: admin/main-view.php:685
905
  msgid "Text only"
906
  msgstr ""
907
 
908
+ #: admin/main-view.php:687
909
  msgid ""
910
  "Enabling this option will disable thumbnails and no longer include the "
911
  "default style sheet included in the plugin."
912
  msgstr ""
913
 
914
+ #: admin/main-view.php:703
915
  msgid "Custom CSS to add to header:"
916
  msgstr ""
917
 
918
+ #: admin/main-view.php:708
919
  msgid ""
920
  "Do not include <code>style</code> tags. Check out the <a href=\"http://"
921
  "wordpress.org/extend/plugins/top-10/faq/\" target=\"_blank\">FAQ</a> for "
922
  "available CSS classes to style."
923
  msgstr ""
924
 
925
+ #: admin/main-view.php:728
926
  msgid "Default Options"
927
  msgstr ""
928
 
929
+ #: admin/main-view.php:728
930
  msgid "Do you want to set options to Default?"
931
  msgstr ""
932
 
933
+ #: admin/main-view.php:752
934
  msgid ""
935
  "Over time the Daily Top 10 database grows in size, which reduces the "
936
  "performance of the plugin. Cleaning the database at regular intervals could "
938
  "will automatically delete entries older than 90 days."
939
  msgstr ""
940
 
941
+ #: admin/main-view.php:753
942
  msgid ""
943
  "Note: When scheduled maintenance is enabled, WordPress will run the cron job "
944
  "everytime the job is rescheduled (i.e. you change the settings below)."
945
  msgstr ""
946
 
947
+ #: admin/main-view.php:756
948
  msgid "Enable scheduled maintenance of daily tables:"
949
  msgstr ""
950
 
951
+ #: admin/main-view.php:760
952
  msgid "Time to run maintenance"
953
  msgstr ""
954
 
955
+ #: admin/main-view.php:761
956
  msgid "hrs"
957
  msgstr ""
958
 
959
+ #: admin/main-view.php:761
960
  msgid "min"
961
  msgstr ""
962
 
963
+ #: admin/main-view.php:763
964
  msgid "How often should the maintenance be run:"
965
  msgstr ""
966
 
967
+ #: admin/main-view.php:771
968
  msgid "Weekly"
969
  msgstr ""
970
 
971
+ #: admin/main-view.php:775
972
  msgid "Fortnightly"
973
  msgstr ""
974
 
975
+ #: admin/main-view.php:779
976
  msgid "Monthly"
977
  msgstr ""
978
 
979
+ #: admin/main-view.php:788
980
  msgid "The cron job has been scheduled. Maintenance will run"
981
  msgstr ""
982
 
983
+ #: admin/main-view.php:793
984
  msgid "The cron job is missing. Please resave this page to add the job"
985
  msgstr ""
986
 
987
+ #: admin/main-view.php:798
988
  msgid "Maintenance is turned off"
989
  msgstr ""
990
 
991
+ #: admin/main-view.php:804
992
  msgid "Save Maintenance Options"
993
  msgstr ""
994
 
995
+ #: admin/main-view.php:812
996
  msgid "Reset count and other tools"
997
  msgstr ""
998
 
999
+ #: admin/main-view.php:815
1000
  msgid ""
1001
  "This cannot be reversed. Make sure that your database has been backed up "
1002
  "before proceeding"
1003
  msgstr ""
1004
 
1005
+ #: admin/main-view.php:818
1006
  msgid "Reset Popular Posts"
1007
  msgstr ""
1008
 
1009
+ #: admin/main-view.php:818
1010
  msgid "Are you sure you want to reset the popular posts?"
1011
  msgstr ""
1012
 
1013
+ #: admin/main-view.php:819
1014
  msgid "Reset Daily Popular Posts"
1015
  msgstr ""
1016
 
1017
+ #: admin/main-view.php:819
1018
  msgid "Are you sure you want to reset the daily popular posts?"
1019
  msgstr ""
1020
 
1021
+ #: admin/main-view.php:822
1022
  msgid "This will merge post counts for posts with table entries of 0 and 1"
1023
  msgstr ""
1024
 
1025
+ #: admin/main-view.php:825
1026
  msgid "Merge blog ID 0 and 1 post counts"
1027
  msgstr ""
1028
 
1029
+ #: admin/main-view.php:825
1030
  msgid "This will merge post counts for blog IDs 0 and 1. Proceed?"
1031
  msgstr ""
1032
 
1033
+ #: admin/main-view.php:828
1034
  msgid ""
1035
  "In older versions, the plugin created entries with duplicate post IDs. "
1036
  "Clicking the button below will merge these duplicate IDs"
1037
  msgstr ""
1038
 
1039
+ #: admin/main-view.php:831
1040
  msgid "Merge duplicates across blog IDs"
1041
  msgstr ""
1042
 
1043
+ #: admin/main-view.php:831
1044
  msgid "This will delete the duplicate entries in the tables. Proceed?"
1045
  msgstr ""
1046
 
1047
+ #: admin/main-view.php:847
1048
  msgid "WordPress Multisite: Migrate Top 10 v1.x counts to 2.x"
1049
  msgstr ""
1050
 
1051
+ #: admin/main-view.php:850
1052
  msgid ""
1053
  "If you've been using Top 10 v1.x on multisite, you would have needed to "
1054
  "activate the plugin independently for each site. This would have resulted in "
1055
  "two tables being created for each site in the network."
1056
  msgstr ""
1057
 
1058
+ #: admin/main-view.php:851
1059
  msgid ""
1060
  "Top 10 v2.x onwards uses only a single table to record the count, keeping "
1061
  "your database clean. You can use this tool to import the recorded counts "
1062
  "from v1.x tables to the new v2.x table format."
1063
  msgstr ""
1064
 
1065
+ #: admin/main-view.php:854
1066
  msgid ""
1067
  "If you do not see any tables below, then it means that either all data has "
1068
  "already been imported or no relevant information has been found."
1069
  msgstr ""
1070
 
1071
+ #: admin/main-view.php:857
1072
  msgid ""
1073
  "After running the importer, please verify that all the counts have been "
1074
  "successfully imported. Only then should you delete any old tables!"
1075
  msgstr ""
1076
 
1077
+ #: admin/main-view.php:891
1078
  msgid "Blog ID"
1079
  msgstr ""
1080
 
1081
+ #: admin/main-view.php:894
1082
  msgid "Status"
1083
  msgstr ""
1084
 
1085
+ #: admin/main-view.php:897
1086
  msgid "Select to import"
1087
  msgstr ""
1088
 
1089
+ #: admin/main-view.php:907
1090
  msgid "Blog #"
1091
  msgstr ""
1092
 
1093
+ #: admin/main-view.php:917
1094
  msgid "Not imported"
1095
  msgstr ""
1096
 
1097
+ #: admin/main-view.php:921
1098
  msgid "Imported"
1099
  msgstr ""
1100
 
1101
+ #: admin/main-view.php:942
1102
  msgid "Begin import"
1103
  msgstr ""
1104
 
1105
+ #: admin/main-view.php:943
1106
  msgid "Delete selected tables"
1107
  msgstr ""
1108
 
1109
+ #: admin/main-view.php:944
1110
  msgid "Delete all imported tables"
1111
  msgstr ""
1112
 
1178
  msgid "Post types to include:"
1179
  msgstr ""
1180
 
1181
+ #: includes/media.php:62
1182
  msgid "thumb_timthumb argument has been deprecated"
1183
  msgstr ""
1184
 
1185
+ #: includes/media.php:66
1186
  msgid "thumb_timthumb_q argument has been deprecated"
1187
  msgstr ""
1188
 
1189
+ #: includes/media.php:70
1190
  msgid "filter argument has been deprecated"
1191
  msgstr ""
1192
 
1194
  msgid " by "
1195
  msgstr ""
1196
 
1197
+ #: top-10.php:163
1198
  msgid ""
1199
  "posts_only argument has been deprecated. Use get_tptn_pop_posts() to get the "
1200
  "posts only."
1201
  msgstr ""
1202
 
1203
+ #: top-10.php:300
1204
  #, php-format
1205
  msgid "Popular posts by <a href=\"%s\" rel=\"nofollow\" %s>Top 10 plugin</a>"
1206
  msgstr ""
1207
 
1208
+ #: top-10.php:641
1209
  msgid "<h3>Popular Posts</h3>"
1210
  msgstr ""
1211
 
1212
+ #: top-10.php:642
1213
  msgid "<h3>Daily Popular</h3>"
1214
  msgstr ""
1215
 
1216
+ #: top-10.php:643
1217
  msgid "No top posts yet"
1218
  msgstr ""
1219
 
1220
+ #: top-10.php:1124
1221
  msgid "Once Weekly"
1222
  msgstr ""
1223
 
1224
+ #: top-10.php:1128
1225
  msgid "Once Fortnightly"
1226
  msgstr ""
1227
 
1228
+ #: top-10.php:1132
1229
  msgid "Once Monthly"
1230
  msgstr ""
1231
 
1232
+ #: top-10.php:1136
1233
  msgid "Once quarterly"
1234
  msgstr ""
languages/{tptn-es_ES.mo → top-10-es_ES.mo} RENAMED
Binary file
languages/{tptn-es_ES.po → top-10-es_ES.po} RENAMED
@@ -2,7 +2,7 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Top 10\n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2015-09-13 22:08+0100\n"
6
  "PO-Revision-Date: \n"
7
  "Last-Translator: Ajay D'Souza <me@ajaydsouza.com>\n"
8
  "Language-Team: Ajay D'Souza <me@ajaydsouza.com>\n"
@@ -45,7 +45,7 @@ msgstr ""
45
  msgid "Popular posts by <a href=\"%s\" target=\"_blank\">Top 10 plugin</a>"
46
  msgstr ""
47
 
48
- #: admin/admin-dashboard.php:109 admin/class-stats.php:440
49
  #: admin/deprecated.php:41
50
  msgid "Popular Posts"
51
  msgstr "Los posts más populares"
@@ -154,169 +154,169 @@ msgstr ""
154
  msgid "Scheduled maintenance disabled"
155
  msgstr ""
156
 
157
- #: admin/admin.php:300
158
  msgid "Counts from selected sites have been imported."
159
  msgstr ""
160
 
161
- #: admin/admin.php:325
162
  msgid ""
163
  "Selected tables have been deleted. Note that only imported tables have been "
164
  "deleted."
165
  msgstr ""
166
 
167
- #: admin/admin.php:342 admin/admin.php:362 admin/admin.php:372
168
  #: admin/main-view.php:55 admin/main-view.php:174 admin/main-view.php:279
169
- #: admin/main-view.php:477 admin/main-view.php:638 admin/main-view.php:734
170
- #: admin/main-view.php:798 admin/main-view.php:834
171
  msgid "Click to toggle"
172
  msgstr ""
173
 
174
- #: admin/admin.php:343
175
  msgid "Support the development"
176
  msgstr "Apoyar al elaborador"
177
 
178
- #: admin/admin.php:350
179
  msgid "Donation for Top 10"
180
  msgstr ""
181
 
182
- #: admin/admin.php:352
183
  msgid "Enter amount in USD:"
184
  msgstr ""
185
 
186
- #: admin/admin.php:356
187
  #, fuzzy
188
  msgid "Send your donation to the author of Top 10"
189
  msgstr "Enviar su subvención al autor"
190
 
191
- #: admin/admin.php:363
192
  msgid "Follow me"
193
  msgstr ""
194
 
195
- #: admin/admin.php:373
196
  #, fuzzy
197
  msgid "Quick links"
198
  msgstr "Enlaces rápidos"
199
 
200
- #: admin/admin.php:377
201
  #, fuzzy
202
  msgid "Top 10 plugin page"
203
  msgstr "página plugin"
204
 
205
- #: admin/admin.php:378
206
  msgid "Top 10 Github page"
207
  msgstr ""
208
 
209
- #: admin/admin.php:379
210
  msgid "Other plugins"
211
  msgstr "Otros plugins"
212
 
213
- #: admin/admin.php:380
214
  msgid "FAQ"
215
  msgstr ""
216
 
217
- #: admin/admin.php:381 admin/admin.php:551
218
  msgid "Support"
219
  msgstr "Apoyo"
220
 
221
- #: admin/admin.php:382
222
  msgid "Reviews"
223
  msgstr ""
224
 
225
- #: admin/admin.php:383
226
  msgid "Ajay's blog"
227
  msgstr "Blog de Ajay"
228
 
229
- #: admin/admin.php:400 admin/admin.php:403 admin/main-view.php:22
230
  #, fuzzy
231
  msgid "Top 10 Settings"
232
  msgstr "Los ajustes"
233
 
234
- #: admin/admin.php:400
235
  msgid "Top 10"
236
  msgstr "Тоp 10"
237
 
238
- #: admin/admin.php:408
239
  msgid "View Popular Posts"
240
  msgstr ""
241
 
242
- #: admin/admin.php:528
243
  msgid "Settings"
244
  msgstr "Los ajustes"
245
 
246
- #: admin/admin.php:552
247
  msgid "Donate"
248
  msgstr "Subvencionar"
249
 
250
- #: admin/cache.php:20
251
  msgid "Top 10 cache has been cleared"
252
  msgstr ""
253
 
254
- #: admin/class-stats.php:37
255
  msgid "popular_post"
256
  msgstr ""
257
 
258
- #: admin/class-stats.php:38
259
  msgid "popular_posts"
260
  msgstr ""
261
 
262
- #: admin/class-stats.php:162
263
  msgid "No popular posts available."
264
  msgstr ""
265
 
266
- #: admin/class-stats.php:211
267
  msgid "View"
268
  msgstr ""
269
 
270
- #: admin/class-stats.php:212
271
  msgid "Edit"
272
  msgstr ""
273
 
274
- #: admin/class-stats.php:213
275
  msgid "Delete"
276
  msgstr ""
277
 
278
- #: admin/class-stats.php:235
279
  msgid "Y/m/d g:i:s a"
280
  msgstr ""
281
 
282
- #: admin/class-stats.php:242
283
  #, php-format
284
  msgid "%s ago"
285
  msgstr ""
286
 
287
- #: admin/class-stats.php:244
288
  msgid "Y/m/d"
289
  msgstr ""
290
 
291
- #: admin/class-stats.php:278 includes/class-top-10-widget.php:71
292
  msgid "Title"
293
  msgstr ""
294
 
295
- #: admin/class-stats.php:279
296
  msgid "Total visits"
297
  msgstr ""
298
 
299
- #: admin/class-stats.php:280
300
  msgid "Daily visits"
301
  msgstr ""
302
 
303
- #: admin/class-stats.php:281
304
  msgid "Post type"
305
  msgstr ""
306
 
307
- #: admin/class-stats.php:282
308
  msgid "Author"
309
  msgstr ""
310
 
311
- #: admin/class-stats.php:283
312
  msgid "Date"
313
  msgstr ""
314
 
315
- #: admin/class-stats.php:317
316
  msgid "Delete Count"
317
  msgstr ""
318
 
319
- #: admin/class-stats.php:357
320
  msgid "Are you sure you want to do this"
321
  msgstr ""
322
 
@@ -332,17 +332,17 @@ msgstr ""
332
  msgid "Popular post list options"
333
  msgstr ""
334
 
335
- #: admin/main-view.php:37 admin/main-view.php:478
336
  #: includes/class-top-10-widget.php:115
337
  #, fuzzy
338
  msgid "Thumbnail options"
339
  msgstr "Los parámetros del thumbnail:"
340
 
341
- #: admin/main-view.php:38 admin/main-view.php:639
342
  msgid "Styles"
343
  msgstr ""
344
 
345
- #: admin/main-view.php:39 admin/main-view.php:735
346
  msgid "Maintenance"
347
  msgstr ""
348
 
@@ -354,7 +354,7 @@ msgstr ""
354
  msgid "Overall"
355
  msgstr ""
356
 
357
- #: admin/main-view.php:83 admin/main-view.php:754
358
  msgid "Daily"
359
  msgstr ""
360
 
@@ -475,8 +475,8 @@ msgstr ""
475
  "elemento de una lista adicional. Esto no es obligatorio, pero le "
476
  "agradeceríamos al hacerlo!"
477
 
478
- #: admin/main-view.php:156 admin/main-view.php:261 admin/main-view.php:459
479
- #: admin/main-view.php:620 admin/main-view.php:714
480
  #, fuzzy
481
  msgid "Save Options"
482
  msgstr "Los parametros"
@@ -644,7 +644,7 @@ msgstr ""
644
  msgid "List of post or page IDs to exclude from the results:"
645
  msgstr ""
646
 
647
- #: admin/main-view.php:327 admin/main-view.php:427
648
  msgid "Enter comma separated list of IDs. e.g. 188,320,500"
649
  msgstr ""
650
 
@@ -659,135 +659,146 @@ msgid ""
659
  "options"
660
  msgstr ""
661
 
662
- #: admin/main-view.php:351
 
 
 
 
 
 
 
 
 
 
 
663
  msgid "Title of popular posts:"
664
  msgstr ""
665
 
666
- #: admin/main-view.php:357
667
  msgid "Title of daily popular posts:"
668
  msgstr ""
669
 
670
- #: admin/main-view.php:363
671
  msgid "When there are no posts, what should be shown?"
672
  msgstr ""
673
 
674
- #: admin/main-view.php:367
675
  msgid "Blank Output"
676
  msgstr ""
677
 
678
- #: admin/main-view.php:371
679
  msgid "Display:"
680
  msgstr ""
681
 
682
- #: admin/main-view.php:376
683
  msgid "Show post excerpt in list?"
684
  msgstr "¿Mostrar un fragmento del post en la lista?"
685
 
686
- #: admin/main-view.php:382
687
  msgid "Length of excerpt (in words):"
688
  msgstr ""
689
 
690
- #: admin/main-view.php:388
691
  #, fuzzy
692
  msgid "Show post author in list?"
693
  msgstr "¿Mostrar un fragmento del post en la lista?"
694
 
695
- #: admin/main-view.php:394
696
  #, fuzzy
697
  msgid "Show post date in list?"
698
  msgstr "¿Mostrar un fragmento del post en la lista?"
699
 
700
- #: admin/main-view.php:400
701
  msgid "Limit post title length (in characters)"
702
  msgstr ""
703
 
704
- #: admin/main-view.php:406
705
  #, fuzzy
706
  msgid "Show view count in list?"
707
  msgstr "¿Mostrar un fragmento del post en la lista?"
708
 
709
- #: admin/main-view.php:412
710
  msgid "Open links in new window"
711
  msgstr ""
712
 
713
- #: admin/main-view.php:418
714
  msgid "Add nofollow attribute to links in the list"
715
  msgstr ""
716
 
717
- #: admin/main-view.php:424
718
  msgid "Exclude display of related posts on these posts / pages"
719
  msgstr ""
720
 
721
- #: admin/main-view.php:431
722
  #, fuzzy
723
  msgid "Customise the list HTML"
724
  msgstr "Personalizar el resultado:"
725
 
726
- #: admin/main-view.php:434
727
  msgid "HTML to display before the list of posts:"
728
  msgstr ""
729
 
730
- #: admin/main-view.php:440
731
  msgid "HTML to display before each list item:"
732
  msgstr ""
733
 
734
- #: admin/main-view.php:446
735
  msgid "HTML to display after each list item:"
736
  msgstr ""
737
 
738
- #: admin/main-view.php:452
739
  msgid "HTML to display after the list of posts:"
740
  msgstr ""
741
 
742
- #: admin/main-view.php:493
743
  msgid "Location of post thumbnail:"
744
  msgstr ""
745
 
746
- #: admin/main-view.php:497
747
  msgid "Display thumbnails inline with posts, before title"
748
  msgstr "Mostrar el thumbnails en línea con los posts, antes del título"
749
 
750
- #: admin/main-view.php:502
751
  msgid "Display thumbnails inline with posts, after title"
752
  msgstr "Mostrar el thumbnails en línea con los posts, después del título"
753
 
754
- #: admin/main-view.php:507
755
  msgid "Display only thumbnails, no text"
756
  msgstr "Mostrar solamente thumbnails, no el texto"
757
 
758
- #: admin/main-view.php:512
759
  msgid "Do not display thumbnails, only text."
760
  msgstr "No mostrar thumbnails, sólo el texto"
761
 
762
- #: admin/main-view.php:516
763
  msgid ""
764
  "This setting cannot be changed because an inbuilt style has been selected "
765
  "under the Styles section. If you would like to change this option, please "
766
  "select No styles under the Styles section."
767
  msgstr ""
768
 
769
- #: admin/main-view.php:520
770
  msgid "Thumbnail size:"
771
  msgstr ""
772
 
773
- #: admin/main-view.php:544
774
  msgid "Custom size"
775
  msgstr ""
776
 
777
- #: admin/main-view.php:547
778
  msgid ""
779
  "You can choose from existing image sizes above or create a custom size. If "
780
  "you have chosen Custom size above, then enter the width, height and crop "
781
  "settings below. For best results, use a cropped image."
782
  msgstr ""
783
 
784
- #: admin/main-view.php:548
785
  msgid ""
786
  "If you change the width and/or height below, existing images will not be "
787
  "automatically resized."
788
  msgstr ""
789
 
790
- #: admin/main-view.php:549
791
  #, php-format
792
  msgid ""
793
  "I recommend using <a href='%s' class='thickbox'>OTF Regenerate Thumbnails</"
@@ -795,7 +806,7 @@ msgid ""
795
  "all image sizes."
796
  msgstr ""
797
 
798
- #: admin/main-view.php:552
799
  msgid ""
800
  "If you're using the Left Thumbs style below then the thumbnail width and "
801
  "height that you set here will supersede the widget. Alternatively, choose "
@@ -803,56 +814,56 @@ msgid ""
803
  "strong> option below"
804
  msgstr ""
805
 
806
- #: admin/main-view.php:555
807
  msgid "Width of custom thumbnail:"
808
  msgstr ""
809
 
810
- #: admin/main-view.php:560
811
  msgid "Height of custom thumbnail"
812
  msgstr ""
813
 
814
- #: admin/main-view.php:565
815
  msgid "Crop mode:"
816
  msgstr ""
817
 
818
- #: admin/main-view.php:569
819
  msgid ""
820
  "By default, thumbnails will be proportionately cropped. Check this box to "
821
  "hard crop the thumbnails."
822
  msgstr ""
823
 
824
- #: admin/main-view.php:570
825
  #, php-format
826
  msgid "<a href='%s' target='_blank'>Difference between soft and hard crop</a>"
827
  msgstr ""
828
 
829
- #: admin/main-view.php:574
830
  msgid "Image size attributes:"
831
  msgstr ""
832
 
833
- #: admin/main-view.php:578
834
  msgid "Style attributes are used for width and height."
835
  msgstr ""
836
 
837
- #: admin/main-view.php:583
838
  msgid "HTML width and height attributes are used for width and height."
839
  msgstr ""
840
 
841
- #: admin/main-view.php:588
842
  msgid "No HTML or Style attributes set for width and height"
843
  msgstr ""
844
 
845
- #: admin/main-view.php:593
846
  msgid "Post thumbnail meta field name:"
847
  msgstr ""
848
 
849
- #: admin/main-view.php:596
850
  msgid ""
851
  "The value of this field should contain the image source and is set in the "
852
  "<em>Add New Post</em> screen"
853
  msgstr ""
854
 
855
- #: admin/main-view.php:599
856
  #, fuzzy
857
  msgid ""
858
  "If the postmeta is not set, then should the plugin extract the first image "
@@ -863,7 +874,7 @@ msgstr ""
863
  "en caso que la primera imagen de los posts correspondientes es muy grande en "
864
  "tamaño de archivo "
865
 
866
- #: admin/main-view.php:602
867
  #, fuzzy
868
  msgid ""
869
  "This could slow down the loading of your page if the first image in the "
@@ -874,11 +885,11 @@ msgstr ""
874
  "en caso que la primera imagen de los posts correspondientes es muy grande en "
875
  "tamaño de archivo "
876
 
877
- #: admin/main-view.php:605
878
  msgid "Use default thumbnail?"
879
  msgstr ""
880
 
881
- #: admin/main-view.php:608
882
  msgid ""
883
  "If checked, when no thumbnail is found, show a default one from the URL "
884
  "below. If not checked and no thumbnail is found, no image will be shown."
@@ -888,76 +899,76 @@ msgstr ""
888
  "verificado el post y tampoco está encontrada la imagen reducida, entonces no "
889
  "hay que mostrarla."
890
 
891
- #: admin/main-view.php:611
892
  msgid "Default thumbnail:"
893
  msgstr ""
894
 
895
- #: admin/main-view.php:615
896
  msgid ""
897
  "The plugin will first check if the post contains a thumbnail. If it doesn't "
898
  "then it will check the meta field. If this is not available, then it will "
899
  "show the default image as specified above"
900
  msgstr ""
901
 
902
- #: admin/main-view.php:654
903
  msgid "Style of the related posts:"
904
  msgstr ""
905
 
906
- #: admin/main-view.php:657
907
  msgid "No styles"
908
  msgstr ""
909
 
910
- #: admin/main-view.php:659
911
  msgid "Select this option if you plan to add your own styles"
912
  msgstr ""
913
 
914
- #: admin/main-view.php:664
915
  msgid "Left Thumbnails"
916
  msgstr ""
917
 
918
- #: admin/main-view.php:667
919
  msgid ""
920
  "Enabling this option will set the post thumbnail to be before text. "
921
  "Disabling this option will not revert any settings."
922
  msgstr ""
923
 
924
- #: admin/main-view.php:668
925
  #, php-format
926
  msgid ""
927
  "You can view the default style at <a href=\"%1$s\" target=\"_blank\">%1$s</a>"
928
  msgstr ""
929
 
930
- #: admin/main-view.php:672
931
  msgid "Text only"
932
  msgstr ""
933
 
934
- #: admin/main-view.php:674
935
  msgid ""
936
  "Enabling this option will disable thumbnails and no longer include the "
937
  "default style sheet included in the plugin."
938
  msgstr ""
939
 
940
- #: admin/main-view.php:690
941
  msgid "Custom CSS to add to header:"
942
  msgstr ""
943
 
944
- #: admin/main-view.php:695
945
  msgid ""
946
  "Do not include <code>style</code> tags. Check out the <a href=\"http://"
947
  "wordpress.org/extend/plugins/top-10/faq/\" target=\"_blank\">FAQ</a> for "
948
  "available CSS classes to style."
949
  msgstr ""
950
 
951
- #: admin/main-view.php:715
952
  #, fuzzy
953
  msgid "Default Options"
954
  msgstr "Los Parámetros Resultantes"
955
 
956
- #: admin/main-view.php:715
957
  msgid "Do you want to set options to Default?"
958
  msgstr "¿Quiere configurar las opciones de forma predeterminada?"
959
 
960
- #: admin/main-view.php:739
961
  msgid ""
962
  "Over time the Daily Top 10 database grows in size, which reduces the "
963
  "performance of the plugin. Cleaning the database at regular intervals could "
@@ -965,65 +976,65 @@ msgid ""
965
  "will automatically delete entries older than 90 days."
966
  msgstr ""
967
 
968
- #: admin/main-view.php:740
969
  msgid ""
970
  "Note: When scheduled maintenance is enabled, WordPress will run the cron job "
971
  "everytime the job is rescheduled (i.e. you change the settings below)."
972
  msgstr ""
973
 
974
- #: admin/main-view.php:743
975
  msgid "Enable scheduled maintenance of daily tables:"
976
  msgstr ""
977
 
978
- #: admin/main-view.php:747
979
  msgid "Time to run maintenance"
980
  msgstr ""
981
 
982
- #: admin/main-view.php:748
983
  msgid "hrs"
984
  msgstr ""
985
 
986
- #: admin/main-view.php:748
987
  msgid "min"
988
  msgstr ""
989
 
990
- #: admin/main-view.php:750
991
  msgid "How often should the maintenance be run:"
992
  msgstr ""
993
 
994
- #: admin/main-view.php:758
995
  msgid "Weekly"
996
  msgstr ""
997
 
998
- #: admin/main-view.php:762
999
  msgid "Fortnightly"
1000
  msgstr ""
1001
 
1002
- #: admin/main-view.php:766
1003
  msgid "Monthly"
1004
  msgstr ""
1005
 
1006
- #: admin/main-view.php:775
1007
  msgid "The cron job has been scheduled. Maintenance will run"
1008
  msgstr ""
1009
 
1010
- #: admin/main-view.php:780
1011
  msgid "The cron job is missing. Please resave this page to add the job"
1012
  msgstr ""
1013
 
1014
- #: admin/main-view.php:785
1015
  msgid "Maintenance is turned off"
1016
  msgstr ""
1017
 
1018
- #: admin/main-view.php:791
1019
  msgid "Save Maintenance Options"
1020
  msgstr ""
1021
 
1022
- #: admin/main-view.php:799
1023
  msgid "Reset count and other tools"
1024
  msgstr ""
1025
 
1026
- #: admin/main-view.php:802
1027
  msgid ""
1028
  "This cannot be reversed. Make sure that your database has been backed up "
1029
  "before proceeding"
@@ -1031,114 +1042,114 @@ msgstr ""
1031
  "Esta operación no puede ser anulada. Antes de anular, asegúrese de que si ha "
1032
  "sido creada una copia de seguridad para su base de datos."
1033
 
1034
- #: admin/main-view.php:805
1035
  #, fuzzy
1036
  msgid "Reset Popular Posts"
1037
  msgstr "Los posts más populares"
1038
 
1039
- #: admin/main-view.php:805
1040
  msgid "Are you sure you want to reset the popular posts?"
1041
  msgstr "¿Está seguro de que desea reiniciar los posts más populares?"
1042
 
1043
- #: admin/main-view.php:806
1044
  #, fuzzy
1045
  msgid "Reset Daily Popular Posts"
1046
  msgstr "Los posts diarios más populares"
1047
 
1048
- #: admin/main-view.php:806
1049
  msgid "Are you sure you want to reset the daily popular posts?"
1050
  msgstr "¿Está seguro de que desea reiniciar los posts diarios más populares?"
1051
 
1052
- #: admin/main-view.php:809
1053
  msgid "This will merge post counts for posts with table entries of 0 and 1"
1054
  msgstr ""
1055
 
1056
- #: admin/main-view.php:812
1057
  msgid "Merge blog ID 0 and 1 post counts"
1058
  msgstr ""
1059
 
1060
- #: admin/main-view.php:812
1061
  msgid "This will merge post counts for blog IDs 0 and 1. Proceed?"
1062
  msgstr ""
1063
 
1064
- #: admin/main-view.php:815
1065
  msgid ""
1066
  "In older versions, the plugin created entries with duplicate post IDs. "
1067
  "Clicking the button below will merge these duplicate IDs"
1068
  msgstr ""
1069
 
1070
- #: admin/main-view.php:818
1071
  msgid "Merge duplicates across blog IDs"
1072
  msgstr ""
1073
 
1074
- #: admin/main-view.php:818
1075
  msgid "This will delete the duplicate entries in the tables. Proceed?"
1076
  msgstr ""
1077
  "Esta acción eliminará las entradas duplicadas en las tablas. ¿Continuar?"
1078
 
1079
- #: admin/main-view.php:835
1080
  msgid "WordPress Multisite: Migrate Top 10 v1.x counts to 2.x"
1081
  msgstr ""
1082
 
1083
- #: admin/main-view.php:838
1084
  msgid ""
1085
  "If you've been using Top 10 v1.x on multisite, you would have needed to "
1086
  "activate the plugin independently for each site. This would have resulted in "
1087
  "two tables being created for each site in the network."
1088
  msgstr ""
1089
 
1090
- #: admin/main-view.php:839
1091
  msgid ""
1092
  "Top 10 v2.x onwards uses only a single table to record the count, keeping "
1093
  "your database clean. You can use this tool to import the recorded counts "
1094
  "from v1.x tables to the new v2.x table format."
1095
  msgstr ""
1096
 
1097
- #: admin/main-view.php:842
1098
  msgid ""
1099
  "If you do not see any tables below, then it means that either all data has "
1100
  "already been imported or no relevant information has been found."
1101
  msgstr ""
1102
 
1103
- #: admin/main-view.php:845
1104
  msgid ""
1105
  "After running the importer, please verify that all the counts have been "
1106
  "successfully imported. Only then should you delete any old tables!"
1107
  msgstr ""
1108
 
1109
- #: admin/main-view.php:879
1110
  msgid "Blog ID"
1111
  msgstr ""
1112
 
1113
- #: admin/main-view.php:882
1114
  msgid "Status"
1115
  msgstr ""
1116
 
1117
- #: admin/main-view.php:885
1118
  msgid "Select to import"
1119
  msgstr ""
1120
 
1121
- #: admin/main-view.php:895
1122
  msgid "Blog #"
1123
  msgstr ""
1124
 
1125
- #: admin/main-view.php:905
1126
  msgid "Not imported"
1127
  msgstr ""
1128
 
1129
- #: admin/main-view.php:909
1130
  msgid "Imported"
1131
  msgstr ""
1132
 
1133
- #: admin/main-view.php:930
1134
  msgid "Begin import"
1135
  msgstr ""
1136
 
1137
- #: admin/main-view.php:931
1138
  msgid "Delete selected tables"
1139
  msgstr ""
1140
 
1141
- #: admin/main-view.php:932
1142
  msgid "Delete all imported tables"
1143
  msgstr ""
1144
 
@@ -1222,15 +1233,15 @@ msgstr "Los parámetros del thumbnail:"
1222
  msgid "Post types to include:"
1223
  msgstr ""
1224
 
1225
- #: includes/media.php:63
1226
  msgid "thumb_timthumb argument has been deprecated"
1227
  msgstr ""
1228
 
1229
- #: includes/media.php:67
1230
  msgid "thumb_timthumb_q argument has been deprecated"
1231
  msgstr ""
1232
 
1233
- #: includes/media.php:71
1234
  msgid "filter argument has been deprecated"
1235
  msgstr ""
1236
 
@@ -1238,43 +1249,43 @@ msgstr ""
1238
  msgid " by "
1239
  msgstr ""
1240
 
1241
- #: top-10.php:157
1242
  msgid ""
1243
  "posts_only argument has been deprecated. Use get_tptn_pop_posts() to get the "
1244
  "posts only."
1245
  msgstr ""
1246
 
1247
- #: top-10.php:264
1248
  #, php-format
1249
  msgid "Popular posts by <a href=\"%s\" rel=\"nofollow\" %s>Top 10 plugin</a>"
1250
  msgstr ""
1251
 
1252
- #: top-10.php:610
1253
  msgid "<h3>Popular Posts</h3>"
1254
  msgstr "Los posts populares"
1255
 
1256
- #: top-10.php:611
1257
  msgid "<h3>Daily Popular</h3>"
1258
  msgstr "Diario Populares"
1259
 
1260
- #: top-10.php:612
1261
  #, fuzzy
1262
  msgid "No top posts yet"
1263
  msgstr "Reiniciar el Top de los 10 posts más populares"
1264
 
1265
- #: top-10.php:1093
1266
  msgid "Once Weekly"
1267
  msgstr ""
1268
 
1269
- #: top-10.php:1097
1270
  msgid "Once Fortnightly"
1271
  msgstr ""
1272
 
1273
- #: top-10.php:1101
1274
  msgid "Once Monthly"
1275
  msgstr ""
1276
 
1277
- #: top-10.php:1105
1278
  msgid "Once quarterly"
1279
  msgstr ""
1280
 
2
  msgstr ""
3
  "Project-Id-Version: Top 10\n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2015-09-27 13:35+0100\n"
6
  "PO-Revision-Date: \n"
7
  "Last-Translator: Ajay D'Souza <me@ajaydsouza.com>\n"
8
  "Language-Team: Ajay D'Souza <me@ajaydsouza.com>\n"
45
  msgid "Popular posts by <a href=\"%s\" target=\"_blank\">Top 10 plugin</a>"
46
  msgstr ""
47
 
48
+ #: admin/admin-dashboard.php:109 admin/class-stats.php:438
49
  #: admin/deprecated.php:41
50
  msgid "Popular Posts"
51
  msgstr "Los posts más populares"
154
  msgid "Scheduled maintenance disabled"
155
  msgstr ""
156
 
157
+ #: admin/admin.php:299
158
  msgid "Counts from selected sites have been imported."
159
  msgstr ""
160
 
161
+ #: admin/admin.php:324
162
  msgid ""
163
  "Selected tables have been deleted. Note that only imported tables have been "
164
  "deleted."
165
  msgstr ""
166
 
167
+ #: admin/admin.php:341 admin/admin.php:361 admin/admin.php:385
168
  #: admin/main-view.php:55 admin/main-view.php:174 admin/main-view.php:279
169
+ #: admin/main-view.php:488 admin/main-view.php:651 admin/main-view.php:747
170
+ #: admin/main-view.php:811 admin/main-view.php:846
171
  msgid "Click to toggle"
172
  msgstr ""
173
 
174
+ #: admin/admin.php:342
175
  msgid "Support the development"
176
  msgstr "Apoyar al elaborador"
177
 
178
+ #: admin/admin.php:349
179
  msgid "Donation for Top 10"
180
  msgstr ""
181
 
182
+ #: admin/admin.php:351
183
  msgid "Enter amount in USD:"
184
  msgstr ""
185
 
186
+ #: admin/admin.php:355
187
  #, fuzzy
188
  msgid "Send your donation to the author of Top 10"
189
  msgstr "Enviar su subvención al autor"
190
 
191
+ #: admin/admin.php:362
192
  msgid "Follow me"
193
  msgstr ""
194
 
195
+ #: admin/admin.php:386
196
  #, fuzzy
197
  msgid "Quick links"
198
  msgstr "Enlaces rápidos"
199
 
200
+ #: admin/admin.php:390
201
  #, fuzzy
202
  msgid "Top 10 plugin page"
203
  msgstr "página plugin"
204
 
205
+ #: admin/admin.php:391
206
  msgid "Top 10 Github page"
207
  msgstr ""
208
 
209
+ #: admin/admin.php:392
210
  msgid "Other plugins"
211
  msgstr "Otros plugins"
212
 
213
+ #: admin/admin.php:393
214
  msgid "FAQ"
215
  msgstr ""
216
 
217
+ #: admin/admin.php:394 admin/admin.php:564
218
  msgid "Support"
219
  msgstr "Apoyo"
220
 
221
+ #: admin/admin.php:395
222
  msgid "Reviews"
223
  msgstr ""
224
 
225
+ #: admin/admin.php:396
226
  msgid "Ajay's blog"
227
  msgstr "Blog de Ajay"
228
 
229
+ #: admin/admin.php:413 admin/admin.php:416 admin/main-view.php:22
230
  #, fuzzy
231
  msgid "Top 10 Settings"
232
  msgstr "Los ajustes"
233
 
234
+ #: admin/admin.php:413
235
  msgid "Top 10"
236
  msgstr "Тоp 10"
237
 
238
+ #: admin/admin.php:421
239
  msgid "View Popular Posts"
240
  msgstr ""
241
 
242
+ #: admin/admin.php:541
243
  msgid "Settings"
244
  msgstr "Los ajustes"
245
 
246
+ #: admin/admin.php:565
247
  msgid "Donate"
248
  msgstr "Subvencionar"
249
 
250
+ #: admin/cache.php:19
251
  msgid "Top 10 cache has been cleared"
252
  msgstr ""
253
 
254
+ #: admin/class-stats.php:36
255
  msgid "popular_post"
256
  msgstr ""
257
 
258
+ #: admin/class-stats.php:37
259
  msgid "popular_posts"
260
  msgstr ""
261
 
262
+ #: admin/class-stats.php:160
263
  msgid "No popular posts available."
264
  msgstr ""
265
 
266
+ #: admin/class-stats.php:209
267
  msgid "View"
268
  msgstr ""
269
 
270
+ #: admin/class-stats.php:210
271
  msgid "Edit"
272
  msgstr ""
273
 
274
+ #: admin/class-stats.php:211
275
  msgid "Delete"
276
  msgstr ""
277
 
278
+ #: admin/class-stats.php:233
279
  msgid "Y/m/d g:i:s a"
280
  msgstr ""
281
 
282
+ #: admin/class-stats.php:240
283
  #, php-format
284
  msgid "%s ago"
285
  msgstr ""
286
 
287
+ #: admin/class-stats.php:242
288
  msgid "Y/m/d"
289
  msgstr ""
290
 
291
+ #: admin/class-stats.php:276 includes/class-top-10-widget.php:71
292
  msgid "Title"
293
  msgstr ""
294
 
295
+ #: admin/class-stats.php:277
296
  msgid "Total visits"
297
  msgstr ""
298
 
299
+ #: admin/class-stats.php:278
300
  msgid "Daily visits"
301
  msgstr ""
302
 
303
+ #: admin/class-stats.php:279
304
  msgid "Post type"
305
  msgstr ""
306
 
307
+ #: admin/class-stats.php:280
308
  msgid "Author"
309
  msgstr ""
310
 
311
+ #: admin/class-stats.php:281
312
  msgid "Date"
313
  msgstr ""
314
 
315
+ #: admin/class-stats.php:315
316
  msgid "Delete Count"
317
  msgstr ""
318
 
319
+ #: admin/class-stats.php:355
320
  msgid "Are you sure you want to do this"
321
  msgstr ""
322
 
332
  msgid "Popular post list options"
333
  msgstr ""
334
 
335
+ #: admin/main-view.php:37 admin/main-view.php:489
336
  #: includes/class-top-10-widget.php:115
337
  #, fuzzy
338
  msgid "Thumbnail options"
339
  msgstr "Los parámetros del thumbnail:"
340
 
341
+ #: admin/main-view.php:38 admin/main-view.php:652
342
  msgid "Styles"
343
  msgstr ""
344
 
345
+ #: admin/main-view.php:39 admin/main-view.php:748
346
  msgid "Maintenance"
347
  msgstr ""
348
 
354
  msgid "Overall"
355
  msgstr ""
356
 
357
+ #: admin/main-view.php:83 admin/main-view.php:767
358
  msgid "Daily"
359
  msgstr ""
360
 
475
  "elemento de una lista adicional. Esto no es obligatorio, pero le "
476
  "agradeceríamos al hacerlo!"
477
 
478
+ #: admin/main-view.php:156 admin/main-view.php:261 admin/main-view.php:470
479
+ #: admin/main-view.php:633 admin/main-view.php:727
480
  #, fuzzy
481
  msgid "Save Options"
482
  msgstr "Los parametros"
644
  msgid "List of post or page IDs to exclude from the results:"
645
  msgstr ""
646
 
647
+ #: admin/main-view.php:327 admin/main-view.php:438
648
  msgid "Enter comma separated list of IDs. e.g. 188,320,500"
649
  msgstr ""
650
 
659
  "options"
660
  msgstr ""
661
 
662
+ #: admin/main-view.php:350
663
+ msgid "Excluded category IDs are:"
664
+ msgstr ""
665
+
666
+ #: admin/main-view.php:356
667
+ msgid ""
668
+ "These might differ from the IDs visible in the Categories page which use the "
669
+ "<code>term_id</code>. Top 10 uses the <code>term_taxonomy_id</code> which is "
670
+ "unique to this taxonomy."
671
+ msgstr ""
672
+
673
+ #: admin/main-view.php:362
674
  msgid "Title of popular posts:"
675
  msgstr ""
676
 
677
+ #: admin/main-view.php:368
678
  msgid "Title of daily popular posts:"
679
  msgstr ""
680
 
681
+ #: admin/main-view.php:374
682
  msgid "When there are no posts, what should be shown?"
683
  msgstr ""
684
 
685
+ #: admin/main-view.php:378
686
  msgid "Blank Output"
687
  msgstr ""
688
 
689
+ #: admin/main-view.php:382
690
  msgid "Display:"
691
  msgstr ""
692
 
693
+ #: admin/main-view.php:387
694
  msgid "Show post excerpt in list?"
695
  msgstr "¿Mostrar un fragmento del post en la lista?"
696
 
697
+ #: admin/main-view.php:393
698
  msgid "Length of excerpt (in words):"
699
  msgstr ""
700
 
701
+ #: admin/main-view.php:399
702
  #, fuzzy
703
  msgid "Show post author in list?"
704
  msgstr "¿Mostrar un fragmento del post en la lista?"
705
 
706
+ #: admin/main-view.php:405
707
  #, fuzzy
708
  msgid "Show post date in list?"
709
  msgstr "¿Mostrar un fragmento del post en la lista?"
710
 
711
+ #: admin/main-view.php:411
712
  msgid "Limit post title length (in characters)"
713
  msgstr ""
714
 
715
+ #: admin/main-view.php:417
716
  #, fuzzy
717
  msgid "Show view count in list?"
718
  msgstr "¿Mostrar un fragmento del post en la lista?"
719
 
720
+ #: admin/main-view.php:423
721
  msgid "Open links in new window"
722
  msgstr ""
723
 
724
+ #: admin/main-view.php:429
725
  msgid "Add nofollow attribute to links in the list"
726
  msgstr ""
727
 
728
+ #: admin/main-view.php:435
729
  msgid "Exclude display of related posts on these posts / pages"
730
  msgstr ""
731
 
732
+ #: admin/main-view.php:442
733
  #, fuzzy
734
  msgid "Customise the list HTML"
735
  msgstr "Personalizar el resultado:"
736
 
737
+ #: admin/main-view.php:445
738
  msgid "HTML to display before the list of posts:"
739
  msgstr ""
740
 
741
+ #: admin/main-view.php:451
742
  msgid "HTML to display before each list item:"
743
  msgstr ""
744
 
745
+ #: admin/main-view.php:457
746
  msgid "HTML to display after each list item:"
747
  msgstr ""
748
 
749
+ #: admin/main-view.php:463
750
  msgid "HTML to display after the list of posts:"
751
  msgstr ""
752
 
753
+ #: admin/main-view.php:504
754
  msgid "Location of post thumbnail:"
755
  msgstr ""
756
 
757
+ #: admin/main-view.php:508
758
  msgid "Display thumbnails inline with posts, before title"
759
  msgstr "Mostrar el thumbnails en línea con los posts, antes del título"
760
 
761
+ #: admin/main-view.php:513
762
  msgid "Display thumbnails inline with posts, after title"
763
  msgstr "Mostrar el thumbnails en línea con los posts, después del título"
764
 
765
+ #: admin/main-view.php:518
766
  msgid "Display only thumbnails, no text"
767
  msgstr "Mostrar solamente thumbnails, no el texto"
768
 
769
+ #: admin/main-view.php:523
770
  msgid "Do not display thumbnails, only text."
771
  msgstr "No mostrar thumbnails, sólo el texto"
772
 
773
+ #: admin/main-view.php:527
774
  msgid ""
775
  "This setting cannot be changed because an inbuilt style has been selected "
776
  "under the Styles section. If you would like to change this option, please "
777
  "select No styles under the Styles section."
778
  msgstr ""
779
 
780
+ #: admin/main-view.php:531
781
  msgid "Thumbnail size:"
782
  msgstr ""
783
 
784
+ #: admin/main-view.php:555
785
  msgid "Custom size"
786
  msgstr ""
787
 
788
+ #: admin/main-view.php:558
789
  msgid ""
790
  "You can choose from existing image sizes above or create a custom size. If "
791
  "you have chosen Custom size above, then enter the width, height and crop "
792
  "settings below. For best results, use a cropped image."
793
  msgstr ""
794
 
795
+ #: admin/main-view.php:559
796
  msgid ""
797
  "If you change the width and/or height below, existing images will not be "
798
  "automatically resized."
799
  msgstr ""
800
 
801
+ #: admin/main-view.php:560
802
  #, php-format
803
  msgid ""
804
  "I recommend using <a href='%s' class='thickbox'>OTF Regenerate Thumbnails</"
806
  "all image sizes."
807
  msgstr ""
808
 
809
+ #: admin/main-view.php:563
810
  msgid ""
811
  "If you're using the Left Thumbs style below then the thumbnail width and "
812
  "height that you set here will supersede the widget. Alternatively, choose "
814
  "strong> option below"
815
  msgstr ""
816
 
817
+ #: admin/main-view.php:566
818
  msgid "Width of custom thumbnail:"
819
  msgstr ""
820
 
821
+ #: admin/main-view.php:571
822
  msgid "Height of custom thumbnail"
823
  msgstr ""
824
 
825
+ #: admin/main-view.php:576
826
  msgid "Crop mode:"
827
  msgstr ""
828
 
829
+ #: admin/main-view.php:580
830
  msgid ""
831
  "By default, thumbnails will be proportionately cropped. Check this box to "
832
  "hard crop the thumbnails."
833
  msgstr ""
834
 
835
+ #: admin/main-view.php:581
836
  #, php-format
837
  msgid "<a href='%s' target='_blank'>Difference between soft and hard crop</a>"
838
  msgstr ""
839
 
840
+ #: admin/main-view.php:585
841
  msgid "Image size attributes:"
842
  msgstr ""
843
 
844
+ #: admin/main-view.php:589
845
  msgid "Style attributes are used for width and height."
846
  msgstr ""
847
 
848
+ #: admin/main-view.php:595
849
  msgid "HTML width and height attributes are used for width and height."
850
  msgstr ""
851
 
852
+ #: admin/main-view.php:601
853
  msgid "No HTML or Style attributes set for width and height"
854
  msgstr ""
855
 
856
+ #: admin/main-view.php:606
857
  msgid "Post thumbnail meta field name:"
858
  msgstr ""
859
 
860
+ #: admin/main-view.php:609
861
  msgid ""
862
  "The value of this field should contain the image source and is set in the "
863
  "<em>Add New Post</em> screen"
864
  msgstr ""
865
 
866
+ #: admin/main-view.php:612
867
  #, fuzzy
868
  msgid ""
869
  "If the postmeta is not set, then should the plugin extract the first image "
874
  "en caso que la primera imagen de los posts correspondientes es muy grande en "
875
  "tamaño de archivo "
876
 
877
+ #: admin/main-view.php:615
878
  #, fuzzy
879
  msgid ""
880
  "This could slow down the loading of your page if the first image in the "
885
  "en caso que la primera imagen de los posts correspondientes es muy grande en "
886
  "tamaño de archivo "
887
 
888
+ #: admin/main-view.php:618
889
  msgid "Use default thumbnail?"
890
  msgstr ""
891
 
892
+ #: admin/main-view.php:621
893
  msgid ""
894
  "If checked, when no thumbnail is found, show a default one from the URL "
895
  "below. If not checked and no thumbnail is found, no image will be shown."
899
  "verificado el post y tampoco está encontrada la imagen reducida, entonces no "
900
  "hay que mostrarla."
901
 
902
+ #: admin/main-view.php:624
903
  msgid "Default thumbnail:"
904
  msgstr ""
905
 
906
+ #: admin/main-view.php:628
907
  msgid ""
908
  "The plugin will first check if the post contains a thumbnail. If it doesn't "
909
  "then it will check the meta field. If this is not available, then it will "
910
  "show the default image as specified above"
911
  msgstr ""
912
 
913
+ #: admin/main-view.php:667
914
  msgid "Style of the related posts:"
915
  msgstr ""
916
 
917
+ #: admin/main-view.php:670
918
  msgid "No styles"
919
  msgstr ""
920
 
921
+ #: admin/main-view.php:672
922
  msgid "Select this option if you plan to add your own styles"
923
  msgstr ""
924
 
925
+ #: admin/main-view.php:677
926
  msgid "Left Thumbnails"
927
  msgstr ""
928
 
929
+ #: admin/main-view.php:680
930
  msgid ""
931
  "Enabling this option will set the post thumbnail to be before text. "
932
  "Disabling this option will not revert any settings."
933
  msgstr ""
934
 
935
+ #: admin/main-view.php:681
936
  #, php-format
937
  msgid ""
938
  "You can view the default style at <a href=\"%1$s\" target=\"_blank\">%1$s</a>"
939
  msgstr ""
940
 
941
+ #: admin/main-view.php:685
942
  msgid "Text only"
943
  msgstr ""
944
 
945
+ #: admin/main-view.php:687
946
  msgid ""
947
  "Enabling this option will disable thumbnails and no longer include the "
948
  "default style sheet included in the plugin."
949
  msgstr ""
950
 
951
+ #: admin/main-view.php:703
952
  msgid "Custom CSS to add to header:"
953
  msgstr ""
954
 
955
+ #: admin/main-view.php:708
956
  msgid ""
957
  "Do not include <code>style</code> tags. Check out the <a href=\"http://"
958
  "wordpress.org/extend/plugins/top-10/faq/\" target=\"_blank\">FAQ</a> for "
959
  "available CSS classes to style."
960
  msgstr ""
961
 
962
+ #: admin/main-view.php:728
963
  #, fuzzy
964
  msgid "Default Options"
965
  msgstr "Los Parámetros Resultantes"
966
 
967
+ #: admin/main-view.php:728
968
  msgid "Do you want to set options to Default?"
969
  msgstr "¿Quiere configurar las opciones de forma predeterminada?"
970
 
971
+ #: admin/main-view.php:752
972
  msgid ""
973
  "Over time the Daily Top 10 database grows in size, which reduces the "
974
  "performance of the plugin. Cleaning the database at regular intervals could "
976
  "will automatically delete entries older than 90 days."
977
  msgstr ""
978
 
979
+ #: admin/main-view.php:753
980
  msgid ""
981
  "Note: When scheduled maintenance is enabled, WordPress will run the cron job "
982
  "everytime the job is rescheduled (i.e. you change the settings below)."
983
  msgstr ""
984
 
985
+ #: admin/main-view.php:756
986
  msgid "Enable scheduled maintenance of daily tables:"
987
  msgstr ""
988
 
989
+ #: admin/main-view.php:760
990
  msgid "Time to run maintenance"
991
  msgstr ""
992
 
993
+ #: admin/main-view.php:761
994
  msgid "hrs"
995
  msgstr ""
996
 
997
+ #: admin/main-view.php:761
998
  msgid "min"
999
  msgstr ""
1000
 
1001
+ #: admin/main-view.php:763
1002
  msgid "How often should the maintenance be run:"
1003
  msgstr ""
1004
 
1005
+ #: admin/main-view.php:771
1006
  msgid "Weekly"
1007
  msgstr ""
1008
 
1009
+ #: admin/main-view.php:775
1010
  msgid "Fortnightly"
1011
  msgstr ""
1012
 
1013
+ #: admin/main-view.php:779
1014
  msgid "Monthly"
1015
  msgstr ""
1016
 
1017
+ #: admin/main-view.php:788
1018
  msgid "The cron job has been scheduled. Maintenance will run"
1019
  msgstr ""
1020
 
1021
+ #: admin/main-view.php:793
1022
  msgid "The cron job is missing. Please resave this page to add the job"
1023
  msgstr ""
1024
 
1025
+ #: admin/main-view.php:798
1026
  msgid "Maintenance is turned off"
1027
  msgstr ""
1028
 
1029
+ #: admin/main-view.php:804
1030
  msgid "Save Maintenance Options"
1031
  msgstr ""
1032
 
1033
+ #: admin/main-view.php:812
1034
  msgid "Reset count and other tools"
1035
  msgstr ""
1036
 
1037
+ #: admin/main-view.php:815
1038
  msgid ""
1039
  "This cannot be reversed. Make sure that your database has been backed up "
1040
  "before proceeding"
1042
  "Esta operación no puede ser anulada. Antes de anular, asegúrese de que si ha "
1043
  "sido creada una copia de seguridad para su base de datos."
1044
 
1045
+ #: admin/main-view.php:818
1046
  #, fuzzy
1047
  msgid "Reset Popular Posts"
1048
  msgstr "Los posts más populares"
1049
 
1050
+ #: admin/main-view.php:818
1051
  msgid "Are you sure you want to reset the popular posts?"
1052
  msgstr "¿Está seguro de que desea reiniciar los posts más populares?"
1053
 
1054
+ #: admin/main-view.php:819
1055
  #, fuzzy
1056
  msgid "Reset Daily Popular Posts"
1057
  msgstr "Los posts diarios más populares"
1058
 
1059
+ #: admin/main-view.php:819
1060
  msgid "Are you sure you want to reset the daily popular posts?"
1061
  msgstr "¿Está seguro de que desea reiniciar los posts diarios más populares?"
1062
 
1063
+ #: admin/main-view.php:822
1064
  msgid "This will merge post counts for posts with table entries of 0 and 1"
1065
  msgstr ""
1066
 
1067
+ #: admin/main-view.php:825
1068
  msgid "Merge blog ID 0 and 1 post counts"
1069
  msgstr ""
1070
 
1071
+ #: admin/main-view.php:825
1072
  msgid "This will merge post counts for blog IDs 0 and 1. Proceed?"
1073
  msgstr ""
1074
 
1075
+ #: admin/main-view.php:828
1076
  msgid ""
1077
  "In older versions, the plugin created entries with duplicate post IDs. "
1078
  "Clicking the button below will merge these duplicate IDs"
1079
  msgstr ""
1080
 
1081
+ #: admin/main-view.php:831
1082
  msgid "Merge duplicates across blog IDs"
1083
  msgstr ""
1084
 
1085
+ #: admin/main-view.php:831
1086
  msgid "This will delete the duplicate entries in the tables. Proceed?"
1087
  msgstr ""
1088
  "Esta acción eliminará las entradas duplicadas en las tablas. ¿Continuar?"
1089
 
1090
+ #: admin/main-view.php:847
1091
  msgid "WordPress Multisite: Migrate Top 10 v1.x counts to 2.x"
1092
  msgstr ""
1093
 
1094
+ #: admin/main-view.php:850
1095
  msgid ""
1096
  "If you've been using Top 10 v1.x on multisite, you would have needed to "
1097
  "activate the plugin independently for each site. This would have resulted in "
1098
  "two tables being created for each site in the network."
1099
  msgstr ""
1100
 
1101
+ #: admin/main-view.php:851
1102
  msgid ""
1103
  "Top 10 v2.x onwards uses only a single table to record the count, keeping "
1104
  "your database clean. You can use this tool to import the recorded counts "
1105
  "from v1.x tables to the new v2.x table format."
1106
  msgstr ""
1107
 
1108
+ #: admin/main-view.php:854
1109
  msgid ""
1110
  "If you do not see any tables below, then it means that either all data has "
1111
  "already been imported or no relevant information has been found."
1112
  msgstr ""
1113
 
1114
+ #: admin/main-view.php:857
1115
  msgid ""
1116
  "After running the importer, please verify that all the counts have been "
1117
  "successfully imported. Only then should you delete any old tables!"
1118
  msgstr ""
1119
 
1120
+ #: admin/main-view.php:891
1121
  msgid "Blog ID"
1122
  msgstr ""
1123
 
1124
+ #: admin/main-view.php:894
1125
  msgid "Status"
1126
  msgstr ""
1127
 
1128
+ #: admin/main-view.php:897
1129
  msgid "Select to import"
1130
  msgstr ""
1131
 
1132
+ #: admin/main-view.php:907
1133
  msgid "Blog #"
1134
  msgstr ""
1135
 
1136
+ #: admin/main-view.php:917
1137
  msgid "Not imported"
1138
  msgstr ""
1139
 
1140
+ #: admin/main-view.php:921
1141
  msgid "Imported"
1142
  msgstr ""
1143
 
1144
+ #: admin/main-view.php:942
1145
  msgid "Begin import"
1146
  msgstr ""
1147
 
1148
+ #: admin/main-view.php:943
1149
  msgid "Delete selected tables"
1150
  msgstr ""
1151
 
1152
+ #: admin/main-view.php:944
1153
  msgid "Delete all imported tables"
1154
  msgstr ""
1155
 
1233
  msgid "Post types to include:"
1234
  msgstr ""
1235
 
1236
+ #: includes/media.php:62
1237
  msgid "thumb_timthumb argument has been deprecated"
1238
  msgstr ""
1239
 
1240
+ #: includes/media.php:66
1241
  msgid "thumb_timthumb_q argument has been deprecated"
1242
  msgstr ""
1243
 
1244
+ #: includes/media.php:70
1245
  msgid "filter argument has been deprecated"
1246
  msgstr ""
1247
 
1249
  msgid " by "
1250
  msgstr ""
1251
 
1252
+ #: top-10.php:163
1253
  msgid ""
1254
  "posts_only argument has been deprecated. Use get_tptn_pop_posts() to get the "
1255
  "posts only."
1256
  msgstr ""
1257
 
1258
+ #: top-10.php:300
1259
  #, php-format
1260
  msgid "Popular posts by <a href=\"%s\" rel=\"nofollow\" %s>Top 10 plugin</a>"
1261
  msgstr ""
1262
 
1263
+ #: top-10.php:641
1264
  msgid "<h3>Popular Posts</h3>"
1265
  msgstr "Los posts populares"
1266
 
1267
+ #: top-10.php:642
1268
  msgid "<h3>Daily Popular</h3>"
1269
  msgstr "Diario Populares"
1270
 
1271
+ #: top-10.php:643
1272
  #, fuzzy
1273
  msgid "No top posts yet"
1274
  msgstr "Reiniciar el Top de los 10 posts más populares"
1275
 
1276
+ #: top-10.php:1124
1277
  msgid "Once Weekly"
1278
  msgstr ""
1279
 
1280
+ #: top-10.php:1128
1281
  msgid "Once Fortnightly"
1282
  msgstr ""
1283
 
1284
+ #: top-10.php:1132
1285
  msgid "Once Monthly"
1286
  msgstr ""
1287
 
1288
+ #: top-10.php:1136
1289
  msgid "Once quarterly"
1290
  msgstr ""
1291
 
languages/top-10-fr_FR.mo ADDED
Binary file
languages/top-10-fr_FR.po ADDED
@@ -0,0 +1,1413 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #
2
+ # Translators:
3
+ # Aurelie <perrin.aurelie@yahoo.com>, 2015
4
+ # Bruno TRITSCH <bruno@btweb.fr>, 2015
5
+ # Franck, 2015
6
+ # FX Bénard <fxb@wp-translations.org>, 2015
7
+ # FX Bénard <fxb@wp-translations.org>, 2015
8
+ msgid ""
9
+ msgstr ""
10
+ "Project-Id-Version: Top 10\n"
11
+ "Report-Msgid-Bugs-To: \n"
12
+ "POT-Creation-Date: 2015-09-27 13:34+0100\n"
13
+ "PO-Revision-Date: 2015-09-27 13:34+0100\n"
14
+ "Last-Translator: Ajay D'Souza <me@ajaydsouza.com>\n"
15
+ "Language-Team: French (France) (http://www.transifex.com/wp-translations/"
16
+ "top-10/language/fr_FR/)\n"
17
+ "Language: fr_FR\n"
18
+ "MIME-Version: 1.0\n"
19
+ "Content-Type: text/plain; charset=UTF-8\n"
20
+ "Content-Transfer-Encoding: 8bit\n"
21
+ "Plural-Forms: nplurals=2; plural=(n > 1);\n"
22
+ "X-Generator: Poedit 1.8.4\n"
23
+ "X-Poedit-Basepath: ..\n"
24
+ "X-Poedit-KeywordsList: __;_e;_c;__ngettext\n"
25
+ "X-Poedit-SourceCharset: UTF-8\n"
26
+ "X-Poedit-SearchPath-0: .\n"
27
+ "X-Poedit-SearchPathExcluded-0: ../admin/wick\n"
28
+
29
+ #: admin/admin-columns.php:30
30
+ msgid "Total Views"
31
+ msgstr "Total des vues"
32
+
33
+ #: admin/admin-columns.php:33
34
+ msgid "Today's Views"
35
+ msgstr "Vues du jour"
36
+
37
+ #: admin/admin-columns.php:36
38
+ msgid "Views"
39
+ msgstr "Vues"
40
+
41
+ #: admin/admin-dashboard.php:62
42
+ msgid "View all daily popular posts"
43
+ msgstr "Voir tous les articles populaires quotidiens"
44
+
45
+ #: admin/admin-dashboard.php:64
46
+ msgid "View all popular posts"
47
+ msgstr "Voir tous les articles populaires"
48
+
49
+ #: admin/admin-dashboard.php:70
50
+ #, php-format
51
+ msgid "Popular posts by <a href=\"%s\" target=\"_blank\">Top 10 plugin</a>"
52
+ msgstr ""
53
+ "Articles populaires par l'<a href=\"%s\" target=\"_blank\">extension Top 10</"
54
+ "a>"
55
+
56
+ #: admin/admin-dashboard.php:109 admin/class-stats.php:438
57
+ #: admin/deprecated.php:41
58
+ msgid "Popular Posts"
59
+ msgstr "Articles populaires"
60
+
61
+ #: admin/admin-dashboard.php:114 admin/deprecated.php:43
62
+ msgid "Daily Popular Posts"
63
+ msgstr "Articles populaires quotidiens"
64
+
65
+ #: admin/admin-metabox.php:104
66
+ msgid "Visit count:"
67
+ msgstr "Nombre de visite :"
68
+
69
+ #: admin/admin-metabox.php:106
70
+ msgid ""
71
+ "Enter a number above to update the visit count. Leaving the above box blank "
72
+ "will set the count to zero"
73
+ msgstr ""
74
+ "Entrez un chiffre ci-dessus pour mettre à jour le nombre de visite. En "
75
+ "laissant la case ci-dessus vide vous réglerez le compteur à zéro"
76
+
77
+ #: admin/admin-metabox.php:115
78
+ msgid "Disable Popular Posts display:"
79
+ msgstr "Désactiver l'affichage des articles populaires :"
80
+
81
+ #: admin/admin-metabox.php:118
82
+ msgid ""
83
+ "If this is checked, then Top 10 will not display the popular posts widgets "
84
+ "when viewing this post."
85
+ msgstr ""
86
+ "Si coché, Top 10 n'affichera pas le widget des articles populaires lors de "
87
+ "l'affichage de cet article."
88
+
89
+ #: admin/admin-metabox.php:122
90
+ msgid "Exclude this post from the popular posts list:"
91
+ msgstr "Exclure cet article de la liste des articles populaires :"
92
+
93
+ #: admin/admin-metabox.php:125
94
+ msgid ""
95
+ "If this is checked, then this post will be excluded from the popular posts "
96
+ "list."
97
+ msgstr "Si coché, cet article sera exclu de la liste des articles populaires."
98
+
99
+ #: admin/admin-metabox.php:129
100
+ msgid "Location of thumbnail:"
101
+ msgstr "Emplacement de la miniature :"
102
+
103
+ #: admin/admin-metabox.php:131
104
+ msgid ""
105
+ "Enter the full URL to the image (JPG, PNG or GIF) you'd like to use. This "
106
+ "image will be used for the post. It will be resized to the thumbnail size "
107
+ "set under Top 10 Settings &raquo; Thumbnail options."
108
+ msgstr ""
109
+ "Entrez l'URL complète de l'image (JPG, PNG ou GIF) que vous souhaitez "
110
+ "utiliser. Cette image sera utilisée pour l'article. Elle sera redimensionnée "
111
+ "sous forme de miniature dont la taille est définie dans les Réglages Top 10 "
112
+ "&raquo; Options des miniatures."
113
+
114
+ #: admin/admin-metabox.php:132
115
+ msgid "The URL above is saved in the meta field:"
116
+ msgstr "L'URL ci-dessus est sauvegardée dans les champs méta :"
117
+
118
+ #: admin/admin-metabox.php:137
119
+ #, php-format
120
+ msgid ""
121
+ "You have %1$s installed. If you are trying to modify the thumbnail, then you "
122
+ "will need to make the same change in the %1$s meta box on this page."
123
+ msgstr ""
124
+ "Vous avez installé %1$s. Si vous essayé de modifier la miniature, vous "
125
+ "devrez en faire de même dans la boîte méta %1$s de cette page."
126
+
127
+ #: admin/admin.php:190
128
+ msgid "Options saved successfully. If enabled, the cache has been cleared."
129
+ msgstr ""
130
+ "Les options ont bien été sauvegardées. Si actif, le cache a été nettoyé."
131
+
132
+ #: admin/admin.php:193
133
+ msgid ""
134
+ "Left Thumbnails style selected. Post thumbnail location set to Inline before "
135
+ "text."
136
+ msgstr ""
137
+ "Le style de miniatures à gauche est sélectionné. L'emplacement des "
138
+ "miniatures d'article est défini à Inline avant le texte."
139
+
140
+ #: admin/admin.php:196
141
+ msgid "Text Only style selected. Thumbnails will not be displayed."
142
+ msgstr ""
143
+ "Le style \"Texte uniquement\" est sélectionné. Les miniatures ne seront pas "
144
+ "affichées."
145
+
146
+ #: admin/admin.php:199
147
+ #, php-format
148
+ msgid "Pre-built thumbnail size selected. Thumbnail set to %d x %d."
149
+ msgstr ""
150
+ "La miniature intégrée est sélectionnée. Sa taille est définie à %d x %d."
151
+
152
+ #: admin/admin.php:214
153
+ msgid "Options set to Default."
154
+ msgstr "Options remises à la valeur par défaut."
155
+
156
+ #: admin/admin.php:221
157
+ msgid "Top 10 popular posts reset"
158
+ msgstr "Réinitialisation du top 10 des articles populaires"
159
+
160
+ #: admin/admin.php:228
161
+ msgid "Top 10 daily popular posts reset"
162
+ msgstr "Réinitialisation du top 10 des articles populaires quotidiens"
163
+
164
+ #: admin/admin.php:236
165
+ msgid "Duplicate rows cleaned from tables"
166
+ msgstr "Les lignes en double ont été nettoyées des tables"
167
+
168
+ #: admin/admin.php:244
169
+ msgid "Post counts across blog IDs 0 and 1 have been merged"
170
+ msgstr "Le nombre d'articles pour les blog IDs 0 et 1 ont été fusionnés"
171
+
172
+ #: admin/admin.php:257
173
+ msgid "Scheduled maintenance enabled / modified"
174
+ msgstr "Maintenance planifiée activée / modifiée"
175
+
176
+ #: admin/admin.php:261
177
+ msgid "Scheduled maintenance disabled"
178
+ msgstr "Maintenance planifiée désactivée"
179
+
180
+ #: admin/admin.php:299
181
+ msgid "Counts from selected sites have been imported."
182
+ msgstr "Les compteurs de sites sélectionnés ont été importés."
183
+
184
+ #: admin/admin.php:324
185
+ msgid ""
186
+ "Selected tables have been deleted. Note that only imported tables have been "
187
+ "deleted."
188
+ msgstr ""
189
+ "Les tables sélectionnées ont été supprimées. Remarquez que seules les tables "
190
+ "importées ont été détruites."
191
+
192
+ #: admin/admin.php:341 admin/admin.php:361 admin/admin.php:385
193
+ #: admin/main-view.php:55 admin/main-view.php:174 admin/main-view.php:279
194
+ #: admin/main-view.php:488 admin/main-view.php:651 admin/main-view.php:747
195
+ #: admin/main-view.php:811 admin/main-view.php:846
196
+ msgid "Click to toggle"
197
+ msgstr "Cliquer pour inverser."
198
+
199
+ #: admin/admin.php:342
200
+ msgid "Support the development"
201
+ msgstr "Aidez le développement"
202
+
203
+ #: admin/admin.php:349
204
+ msgid "Donation for Top 10"
205
+ msgstr "Don pour Top 10"
206
+
207
+ #: admin/admin.php:351
208
+ msgid "Enter amount in USD:"
209
+ msgstr "Entrez le montant en USD :"
210
+
211
+ #: admin/admin.php:355
212
+ msgid "Send your donation to the author of Top 10"
213
+ msgstr "Envoyer votre don à l'auteur de Top 10"
214
+
215
+ #: admin/admin.php:362
216
+ msgid "Follow me"
217
+ msgstr "Suivez-moi"
218
+
219
+ #: admin/admin.php:386
220
+ msgid "Quick links"
221
+ msgstr "Liens rapides"
222
+
223
+ #: admin/admin.php:390
224
+ msgid "Top 10 plugin page"
225
+ msgstr "Page de l'extension Top 10"
226
+
227
+ #: admin/admin.php:391
228
+ msgid "Top 10 Github page"
229
+ msgstr "Page Github Top 10"
230
+
231
+ #: admin/admin.php:392
232
+ msgid "Other plugins"
233
+ msgstr "Autres extensions"
234
+
235
+ #: admin/admin.php:393
236
+ msgid "FAQ"
237
+ msgstr "FAQ"
238
+
239
+ #: admin/admin.php:394 admin/admin.php:564
240
+ msgid "Support"
241
+ msgstr "Aide"
242
+
243
+ #: admin/admin.php:395
244
+ msgid "Reviews"
245
+ msgstr "Avis"
246
+
247
+ #: admin/admin.php:396
248
+ msgid "Ajay's blog"
249
+ msgstr "Blog de Ajay"
250
+
251
+ #: admin/admin.php:413 admin/admin.php:416 admin/main-view.php:22
252
+ msgid "Top 10 Settings"
253
+ msgstr "Réglages de Top 10"
254
+
255
+ #: admin/admin.php:413
256
+ msgid "Top 10"
257
+ msgstr "Top 10"
258
+
259
+ #: admin/admin.php:421
260
+ msgid "View Popular Posts"
261
+ msgstr "Voir les articles populaires"
262
+
263
+ #: admin/admin.php:541
264
+ msgid "Settings"
265
+ msgstr "Réglages"
266
+
267
+ #: admin/admin.php:565
268
+ msgid "Donate"
269
+ msgstr "Faire un don"
270
+
271
+ #: admin/cache.php:19
272
+ msgid "Top 10 cache has been cleared"
273
+ msgstr "Le cache de Top 10 a été vidé."
274
+
275
+ #: admin/class-stats.php:36
276
+ msgid "popular_post"
277
+ msgstr "popular_post"
278
+
279
+ #: admin/class-stats.php:37
280
+ msgid "popular_posts"
281
+ msgstr "popular_posts"
282
+
283
+ #: admin/class-stats.php:160
284
+ msgid "No popular posts available."
285
+ msgstr "Aucun article populaire disponible."
286
+
287
+ #: admin/class-stats.php:209
288
+ msgid "View"
289
+ msgstr "Afficher"
290
+
291
+ #: admin/class-stats.php:210
292
+ msgid "Edit"
293
+ msgstr "Modifier"
294
+
295
+ #: admin/class-stats.php:211
296
+ msgid "Delete"
297
+ msgstr "Supprimer"
298
+
299
+ #: admin/class-stats.php:233
300
+ msgid "Y/m/d g:i:s a"
301
+ msgstr "d/m/Y \\à G \\h i \\m\\i\\n s \\s"
302
+
303
+ #: admin/class-stats.php:240
304
+ #, php-format
305
+ msgid "%s ago"
306
+ msgstr "il y a %s"
307
+
308
+ #: admin/class-stats.php:242
309
+ msgid "Y/m/d"
310
+ msgstr "d/m/Y"
311
+
312
+ #: admin/class-stats.php:276 includes/class-top-10-widget.php:71
313
+ msgid "Title"
314
+ msgstr "Titre"
315
+
316
+ #: admin/class-stats.php:277
317
+ msgid "Total visits"
318
+ msgstr "Total des visites"
319
+
320
+ #: admin/class-stats.php:278
321
+ msgid "Daily visits"
322
+ msgstr "Visites quotidiennes"
323
+
324
+ #: admin/class-stats.php:279
325
+ msgid "Post type"
326
+ msgstr "Type d'article"
327
+
328
+ #: admin/class-stats.php:280
329
+ msgid "Author"
330
+ msgstr "Auteur"
331
+
332
+ #: admin/class-stats.php:281
333
+ msgid "Date"
334
+ msgstr "Date"
335
+
336
+ #: admin/class-stats.php:315
337
+ msgid "Delete Count"
338
+ msgstr "Supprimer le décompte"
339
+
340
+ #: admin/class-stats.php:355
341
+ msgid "Are you sure you want to do this"
342
+ msgstr "Voulez-vous vraiment faire cela&nbsp;?"
343
+
344
+ #: admin/main-view.php:34 admin/main-view.php:56
345
+ msgid "General options"
346
+ msgstr "Options générales"
347
+
348
+ #: admin/main-view.php:35 admin/main-view.php:175
349
+ msgid "Counter and tracker options"
350
+ msgstr "Options de compteur et de traqueur"
351
+
352
+ #: admin/main-view.php:36 admin/main-view.php:280
353
+ msgid "Popular post list options"
354
+ msgstr "Options de la liste d'articles populaires"
355
+
356
+ #: admin/main-view.php:37 admin/main-view.php:489
357
+ #: includes/class-top-10-widget.php:115
358
+ msgid "Thumbnail options"
359
+ msgstr "Options de la miniature"
360
+
361
+ #: admin/main-view.php:38 admin/main-view.php:652
362
+ msgid "Styles"
363
+ msgstr "Styles"
364
+
365
+ #: admin/main-view.php:39 admin/main-view.php:748
366
+ msgid "Maintenance"
367
+ msgstr "Maintenance"
368
+
369
+ #: admin/main-view.php:72
370
+ msgid "Enable trackers:"
371
+ msgstr "Activer les trackers&nbsp;:"
372
+
373
+ #: admin/main-view.php:77 includes/class-top-10-widget.php:81
374
+ msgid "Overall"
375
+ msgstr "Général"
376
+
377
+ #: admin/main-view.php:83 admin/main-view.php:767
378
+ msgid "Daily"
379
+ msgstr "Quotidien"
380
+
381
+ #: admin/main-view.php:89
382
+ msgid "Enable cache:"
383
+ msgstr "Activer le cache&nbsp;:"
384
+
385
+ #: admin/main-view.php:92
386
+ msgid ""
387
+ "If activated, Top 10 will use the Transients API to cache the popular posts "
388
+ "output for 1 hour."
389
+ msgstr ""
390
+ "Si activé, Top 10 utilisera l'API des transients pour cacher les articles "
391
+ "populaires pour 1 heure."
392
+
393
+ #: admin/main-view.php:93
394
+ msgid "Clear cache"
395
+ msgstr "Vider le cache"
396
+
397
+ #: admin/main-view.php:97
398
+ msgid "Use Ajax for tracking:"
399
+ msgstr "Utiliser Ajax pour le suivi&nbsp;:"
400
+
401
+ #: admin/main-view.php:100
402
+ msgid ""
403
+ "This will try to prevent W3 Total Cache and other caching plugins from "
404
+ "caching the tracker script of the plugin. Try toggling this option in case "
405
+ "you find that your posts are not tracked."
406
+ msgstr ""
407
+ "Ceci essayera d'empêcher W3 Total Cache et d'autres extensions de cache de "
408
+ "mettre en cache le script de suivi de l'extension. Essayez d'inverser cette "
409
+ "option au cas où vous remarqueriez que vos articles ne sont pas suivis."
410
+
411
+ #: admin/main-view.php:104
412
+ msgid "Start daily counts from midnight:"
413
+ msgstr "Démarrer les comptages quotidiens à partir de minuit&nbsp;:"
414
+
415
+ #: admin/main-view.php:107
416
+ msgid ""
417
+ "Daily counter will display number of visits from midnight. This option is "
418
+ "checked by default and mimics the way most normal counters work. Turning "
419
+ "this off will allow you to use the hourly setting in the next option."
420
+ msgstr ""
421
+ "Le comptage quotidien affichera le nombre de visites depuis minuit. Cette "
422
+ "option est cochée par défaut et imite la façon dont la plupart des compteurs "
423
+ "normaux fonctionnent. Désactiver cette option vous permettra d'utiliser le "
424
+ "réglage horaire dans l'option suivante."
425
+
426
+ #: admin/main-view.php:111
427
+ msgid "Daily popular contains top posts over:"
428
+ msgstr "Quotidien populaire contient le top des articles au dessus&nbsp;:"
429
+
430
+ #: admin/main-view.php:113
431
+ msgid "day(s)"
432
+ msgstr "jour(s)"
433
+
434
+ #: admin/main-view.php:114
435
+ msgid "hour(s)"
436
+ msgstr "heure(s)"
437
+
438
+ #: admin/main-view.php:115
439
+ msgid ""
440
+ "Think of Daily Popular has a custom date range applied as a global setting. "
441
+ "Instead of displaying popular posts from the past day, this setting lets you "
442
+ "display posts for as many days or as few hours as you want. This can be "
443
+ "overridden in the widget."
444
+ msgstr ""
445
+ "Considérez que Quotidien populaire dispose d'une gamme de date personnalisée "
446
+ "appliquée comme un paramètre global. Au lieu d'afficher les messages "
447
+ "populaires du jour précédent, ce paramètre vous permet d'afficher les "
448
+ "messages du nombre de jours ou des quelques heures que vous souhaitez. Ceci "
449
+ "peut être surchargé dans le widget."
450
+
451
+ #: admin/main-view.php:119
452
+ msgid "Delete options on uninstall"
453
+ msgstr "Supprimer les options lors de la désinstallation"
454
+
455
+ #: admin/main-view.php:122
456
+ msgid ""
457
+ "If this is checked, all settings related to Top 10 are removed from the "
458
+ "database if you choose to uninstall/delete the plugin."
459
+ msgstr ""
460
+ "Si cette case est cochée, tous les paramètres liés à Top 10 sont supprimés "
461
+ "de la base de données si vous choisissez de désinstaller / supprimer "
462
+ "l'extension."
463
+
464
+ #: admin/main-view.php:126
465
+ msgid "Delete counter data on uninstall"
466
+ msgstr "Supprimer les données de compteur lors de la désinstallation"
467
+
468
+ #: admin/main-view.php:129
469
+ msgid ""
470
+ "If this is checked, the tables containing the counter statistics are removed "
471
+ "from the database if you choose to uninstall/delete the plugin."
472
+ msgstr ""
473
+ "Si cette case est cochée, les tables contenant le compteur de statistiques "
474
+ "sont retirées de la base de données si vous choisissez de désinstaller / "
475
+ "supprimer l'extension."
476
+
477
+ #: admin/main-view.php:130
478
+ msgid ""
479
+ "Keep this unchecked if you choose to reinstall the plugin and don't want to "
480
+ "lose your counter data."
481
+ msgstr ""
482
+ "Conservez cette case décochée si vous choisissez de réinstaller l'extension "
483
+ "et vous ne voulez pas perdre vos données du compteur."
484
+
485
+ #: admin/main-view.php:133
486
+ msgid "Show metabox:"
487
+ msgstr "Afficher la boîte méta&nbsp;:"
488
+
489
+ #: admin/main-view.php:136
490
+ msgid ""
491
+ "This will add the Top 10 metabox on Edit Posts or Add New Posts screens. "
492
+ "Also applies to Pages and Custom Post Types."
493
+ msgstr ""
494
+ "Ceci ajoutera la boîte méta Top 10 sur les écrans Modifier des articles ou "
495
+ "Ajouter un nouvel article. Cela s'applique aussi aux pages et aux types "
496
+ "d'articles personnalisés."
497
+
498
+ #: admin/main-view.php:140
499
+ msgid "Limit metabox to Admins only:"
500
+ msgstr "Limiter la boîte méta uniquement aux admins&nbsp;;"
501
+
502
+ #: admin/main-view.php:143
503
+ msgid ""
504
+ "If this is selected, the metabox will be hidden from anyone who is not an "
505
+ "Admin. Otherwise, by default, Contributors and above will be able to see the "
506
+ "metabox. This applies only if the above option is selected."
507
+ msgstr ""
508
+ "Si cette option est sélectionnée, la boîte méta sera cachée de toute "
509
+ "personne qui est pas un administrateur. Sinon, par défaut, contributeurs et "
510
+ "supérieur seront en mesure de voir la boîte méta. Cela ne s'applique "
511
+ "uniquement que si l'option ci-dessus est sélectionnée."
512
+
513
+ #: admin/main-view.php:148
514
+ msgid "Link to Top 10 plugin page"
515
+ msgstr "Lien vers la page de l'extension Top 10"
516
+
517
+ #: admin/main-view.php:151
518
+ msgid ""
519
+ "A link to the plugin is added as an extra list item to the list of popular "
520
+ "posts"
521
+ msgstr ""
522
+ "Un lien vers l'extension est ajouté comme un élément supplémentaire de la "
523
+ "liste à la liste des articles populaires"
524
+
525
+ #: admin/main-view.php:156 admin/main-view.php:261 admin/main-view.php:470
526
+ #: admin/main-view.php:633 admin/main-view.php:727
527
+ msgid "Save Options"
528
+ msgstr "Sauvegarder les options"
529
+
530
+ #: admin/main-view.php:191
531
+ msgid "Display number of views on:"
532
+ msgstr "Afficher le nombre de vues sur&nbsp;:"
533
+
534
+ #: admin/main-view.php:193
535
+ msgid "Posts"
536
+ msgstr "Articles"
537
+
538
+ #: admin/main-view.php:194
539
+ msgid "Pages"
540
+ msgstr "Pages"
541
+
542
+ #: admin/main-view.php:195
543
+ msgid "Home page"
544
+ msgstr "Page d'accueil"
545
+
546
+ #: admin/main-view.php:196
547
+ msgid "Feeds"
548
+ msgstr "Flux"
549
+
550
+ #: admin/main-view.php:197
551
+ msgid "Category archives"
552
+ msgstr "Archives de catégorie"
553
+
554
+ #: admin/main-view.php:198
555
+ msgid "Tag archives"
556
+ msgstr "Archives de mot-clef"
557
+
558
+ #: admin/main-view.php:199
559
+ msgid "Other archives"
560
+ msgstr "Autres archives"
561
+
562
+ #: admin/main-view.php:200
563
+ msgid ""
564
+ "If you choose to disable this, please add <code>&lt;?php if "
565
+ "( function_exists ( 'echo_tptn_post_count' ) ) echo_tptn_post_count(); ?&gt;"
566
+ "</code> to your template file where you want it displayed"
567
+ msgstr ""
568
+ "Si vous décidez de le désactiver, merci d'ajouter <code>&lt;?php if "
569
+ "( function_exists ( 'echo_tptn_post_count' ) ) echo_tptn_post_count(); ?&gt;"
570
+ "</code> dans votre modèle où vous voulez qu'il s'affiche."
571
+
572
+ #: admin/main-view.php:204
573
+ msgid "Format to display the post views:"
574
+ msgstr "Format d'affichage des vues d'article:"
575
+
576
+ #: admin/main-view.php:207
577
+ msgid ""
578
+ "Use <code>%totalcount%</code> to display the total count, <code>%dailycount"
579
+ "%</code> to display the daily count and <code>%overallcount%</code> to "
580
+ "display the overall count across all posts on the blog. e.g. the default "
581
+ "options displays <code>[Visited 123 times, 23 visits today]</code>"
582
+ msgstr ""
583
+ "Utilisez <code>%totalcount%</code> pour afficher le nombre total, <code>"
584
+ "%dailycount%</code> pour afficher le nombre quotidien et <code>%overallcount"
585
+ "%</code> pour afficher le nombre global sur l'ensemble des messages sur le "
586
+ "blog. Les options par défaut affichent par exemple <code>[Visited 123 times, "
587
+ "23 visits today]</code>"
588
+
589
+ #: admin/main-view.php:211
590
+ msgid "What do display when there are no visits?"
591
+ msgstr "Que doit-il s'afficher quand il n'y a pas de visite?"
592
+
593
+ #: admin/main-view.php:214
594
+ msgid ""
595
+ "This text applies only when there are 0 hits for the post and it isn't a "
596
+ "single page. e.g. if you display post views on the homepage or archives then "
597
+ "this text will be used. To override this, just enter the same text as above "
598
+ "option."
599
+ msgstr ""
600
+ "Ce texte s'applique uniquement quand il y a 0 résultats pour l'article et "
601
+ "que ce n'est pas une page seule. Par exemple, si vous affichez des vues "
602
+ "d'articles sur la page d'accueil ou d'archives alors ce texte sera utilisé. "
603
+ "Pour passer outre, il suffit d'entrer le même texte que l'option ci-dessus."
604
+
605
+ #: admin/main-view.php:218
606
+ msgid "Always display latest post count"
607
+ msgstr "Toujours afficher le dernier décompte d'article"
608
+
609
+ #: admin/main-view.php:221
610
+ msgid ""
611
+ "This option uses JavaScript and will increase your page load time. Turn this "
612
+ "off if you are not using caching plugins or are OK with displaying older "
613
+ "cached counts."
614
+ msgstr ""
615
+ "Cette option utilise JavaScript et augmentera le temps de chargement de "
616
+ "votre page. Désactivez cette option si vous n'utilisez pas d'extension de "
617
+ "mise en cache ou que vous êtes OK avec l'affichage d'anciens totaux mis en "
618
+ "cache."
619
+
620
+ #: admin/main-view.php:225
621
+ msgid "Track visits of authors on their own posts?"
622
+ msgstr "Traquer les visites des auteurs sur leurs propres articles&nbsp;?"
623
+
624
+ #: admin/main-view.php:228
625
+ msgid ""
626
+ "Disabling this option will stop authors visits tracked on their own posts"
627
+ msgstr ""
628
+ "Désactiver cette option empêchera le suivi visites des auteurs sur leurs "
629
+ "propres articles"
630
+
631
+ #: admin/main-view.php:232
632
+ msgid "Track visits of admins?"
633
+ msgstr "Traquer les visites des admins&nbsp;?"
634
+
635
+ #: admin/main-view.php:235
636
+ msgid "Disabling this option will stop admin visits being tracked."
637
+ msgstr "Désactiver cette option empêchera le suivi des visites des admins."
638
+
639
+ #: admin/main-view.php:239
640
+ msgid "Track visits of Editors?"
641
+ msgstr "Traquer les visites des éditeurs&nbsp;?"
642
+
643
+ #: admin/main-view.php:242
644
+ msgid "Disabling this option will stop editor visits being tracked."
645
+ msgstr "Désactiver cette option empêchera le suivi des visites des éditeurs."
646
+
647
+ #: admin/main-view.php:246
648
+ msgid "Display page views on Posts and Pages in Admin"
649
+ msgstr ""
650
+ "Afficher les vues de pages sur les articles et les pages dans "
651
+ "l'Administration"
652
+
653
+ #: admin/main-view.php:249
654
+ msgid ""
655
+ "Adds three columns called Total Views, Today's Views and Views to All Posts "
656
+ "and All Pages"
657
+ msgstr ""
658
+ "Ajoute trois colonnes appelées Vues totales, Vues du jour et Vues pour tous "
659
+ "les articles et pages"
660
+
661
+ #: admin/main-view.php:253
662
+ msgid "Show number of views to non-admins"
663
+ msgstr "Afficher le nombre de vues aux non-admins"
664
+
665
+ #: admin/main-view.php:256
666
+ msgid ""
667
+ "If you disable this then non-admins won't see the above columns or view the "
668
+ "independent pages with the top posts"
669
+ msgstr ""
670
+ "Si vous désactivez ceci alors les non-admins ne peuvent pas voir les "
671
+ "colonnes ci-dessus ou voir les pages indépendantes avec les meilleurs "
672
+ "articles"
673
+
674
+ #: admin/main-view.php:296
675
+ msgid "Number of popular posts to display:"
676
+ msgstr "Nombre d'articles populaires à afficher :"
677
+
678
+ #: admin/main-view.php:299
679
+ msgid ""
680
+ "Maximum number of posts that will be displayed in the list. This option is "
681
+ "used if you don't specify the number of posts in the widget or shortcodes"
682
+ msgstr ""
683
+ "Nombre maximum d'articles qui seront affichés dans la liste. Cette option "
684
+ "est utilisée si vous ne spécifiez pas le nombre d'articles dans le widget ou "
685
+ "les shortcodes"
686
+
687
+ #: admin/main-view.php:303
688
+ msgid "Published age of posts:"
689
+ msgstr "Ancienneté des articles publiés :"
690
+
691
+ #: admin/main-view.php:305 includes/class-top-10-widget.php:88
692
+ msgid "days"
693
+ msgstr "jours"
694
+
695
+ #: admin/main-view.php:306
696
+ msgid ""
697
+ "This options allows you to only show posts that have been published within "
698
+ "the above day range. Applies to both overall posts and daily posts lists."
699
+ msgstr ""
700
+ "Cette option vous permet d'afficher uniquement les articles publiés durant "
701
+ "la période indiquée ci-dessus. Cela s'applique aux listes de l'ensemble des "
702
+ "articles et des articles quotidiens."
703
+
704
+ #: admin/main-view.php:307
705
+ msgid ""
706
+ "e.g. 365 days will only show posts published in the last year in the popular "
707
+ "posts lists. Enter 0 for no restriction."
708
+ msgstr ""
709
+ "Par exemple, 365 jours vous permettra d'afficher uniquement les articles "
710
+ "publiés au cours de l'année passée parmi la liste des articles populaires. "
711
+ "Saisissez 0 pour ne pas définir de limite."
712
+
713
+ #: admin/main-view.php:311
714
+ msgid "Post types to include in results (including custom post types)"
715
+ msgstr ""
716
+ "Types d'articles à inclure dans les résultats (y compris les types de "
717
+ "contenu personnalisé)"
718
+
719
+ #: admin/main-view.php:325
720
+ msgid "List of post or page IDs to exclude from the results:"
721
+ msgstr "La liste des IDs d'articles ou de pages à exclure des résultats :"
722
+
723
+ #: admin/main-view.php:327 admin/main-view.php:438
724
+ msgid "Enter comma separated list of IDs. e.g. 188,320,500"
725
+ msgstr "Entrez une liste d'IDs séparés par une virgule. Exple. 188,320,500"
726
+
727
+ #: admin/main-view.php:331
728
+ msgid "Exclude Categories:"
729
+ msgstr "Exclure les catégories :"
730
+
731
+ #: admin/main-view.php:346
732
+ msgid ""
733
+ "Comma separated list of category slugs. The field above has an autocomplete "
734
+ "so simply start typing in the starting letters and it will prompt you with "
735
+ "options"
736
+ msgstr ""
737
+ "Liste des identifiants de catégorie séparés par une virgule. Le champ ci-"
738
+ "dessus a une saisie semi-automatique commencez donc à taper les premières "
739
+ "lettres et il vous proposera des options"
740
+
741
+ #: admin/main-view.php:350
742
+ msgid "Excluded category IDs are:"
743
+ msgstr ""
744
+
745
+ #: admin/main-view.php:356
746
+ msgid ""
747
+ "These might differ from the IDs visible in the Categories page which use the "
748
+ "<code>term_id</code>. Top 10 uses the <code>term_taxonomy_id</code> which is "
749
+ "unique to this taxonomy."
750
+ msgstr ""
751
+
752
+ #: admin/main-view.php:362
753
+ msgid "Title of popular posts:"
754
+ msgstr "Titre des articles populaires :"
755
+
756
+ #: admin/main-view.php:368
757
+ msgid "Title of daily popular posts:"
758
+ msgstr "Titre des articles populaires quotidiens :"
759
+
760
+ #: admin/main-view.php:374
761
+ msgid "When there are no posts, what should be shown?"
762
+ msgstr "Quand il n'y a aucun article, qu'est-ce qui doit être affiché ?"
763
+
764
+ #: admin/main-view.php:378
765
+ msgid "Blank Output"
766
+ msgstr "Sortie vide"
767
+
768
+ #: admin/main-view.php:382
769
+ msgid "Display:"
770
+ msgstr "Affichage :"
771
+
772
+ #: admin/main-view.php:387
773
+ msgid "Show post excerpt in list?"
774
+ msgstr "Afficher l'extrait de l'article en liste ?"
775
+
776
+ #: admin/main-view.php:393
777
+ msgid "Length of excerpt (in words):"
778
+ msgstr "Longueur de l'extrait (en mots) :"
779
+
780
+ #: admin/main-view.php:399
781
+ msgid "Show post author in list?"
782
+ msgstr "Afficher l'auteur de l'article en liste ?"
783
+
784
+ #: admin/main-view.php:405
785
+ msgid "Show post date in list?"
786
+ msgstr "Afficher la date de l'article en liste ?"
787
+
788
+ #: admin/main-view.php:411
789
+ msgid "Limit post title length (in characters)"
790
+ msgstr "Limiter la longueur du titre de l'article (en caractères)"
791
+
792
+ #: admin/main-view.php:417
793
+ msgid "Show view count in list?"
794
+ msgstr "Afficher nombre de vues dans la liste&nbsp;?"
795
+
796
+ #: admin/main-view.php:423
797
+ msgid "Open links in new window"
798
+ msgstr "Ouvrir les liens dans une nouvelle fenêtre"
799
+
800
+ #: admin/main-view.php:429
801
+ msgid "Add nofollow attribute to links in the list"
802
+ msgstr "Ajouter un attribut de nofollow aux liens de la liste"
803
+
804
+ #: admin/main-view.php:435
805
+ msgid "Exclude display of related posts on these posts / pages"
806
+ msgstr "Exclure l'affichage des articles relatifs sur ces articles / pages"
807
+
808
+ #: admin/main-view.php:442
809
+ msgid "Customise the list HTML"
810
+ msgstr "Personnaliser la liste HTML"
811
+
812
+ #: admin/main-view.php:445
813
+ msgid "HTML to display before the list of posts:"
814
+ msgstr "HTML à afficher avant la liste des articles :"
815
+
816
+ #: admin/main-view.php:451
817
+ msgid "HTML to display before each list item:"
818
+ msgstr "HTML à afficher avant chaque élément de la liste :"
819
+
820
+ #: admin/main-view.php:457
821
+ msgid "HTML to display after each list item:"
822
+ msgstr "HTML à afficher après chaque élément de la liste :"
823
+
824
+ #: admin/main-view.php:463
825
+ msgid "HTML to display after the list of posts:"
826
+ msgstr "HTML à afficher après la liste d'articles :"
827
+
828
+ #: admin/main-view.php:504
829
+ msgid "Location of post thumbnail:"
830
+ msgstr "Emplacement de la miniature de l'article :"
831
+
832
+ #: admin/main-view.php:508
833
+ msgid "Display thumbnails inline with posts, before title"
834
+ msgstr "Afficher les miniatures avec l'article, avant le titre"
835
+
836
+ #: admin/main-view.php:513
837
+ msgid "Display thumbnails inline with posts, after title"
838
+ msgstr "Afficher les miniatures avec l'article, après le titre"
839
+
840
+ #: admin/main-view.php:518
841
+ msgid "Display only thumbnails, no text"
842
+ msgstr "Que les miniatures, pas de texte"
843
+
844
+ #: admin/main-view.php:523
845
+ msgid "Do not display thumbnails, only text."
846
+ msgstr "Pas de miniature, que le texte"
847
+
848
+ #: admin/main-view.php:527
849
+ msgid ""
850
+ "This setting cannot be changed because an inbuilt style has been selected "
851
+ "under the Styles section. If you would like to change this option, please "
852
+ "select No styles under the Styles section."
853
+ msgstr ""
854
+ "Ce paramètre ne peut être modifié en raison d'un style intégré sélectionné "
855
+ "dans la section Styles. Si vous souhaitez modifier cette option, veuillez "
856
+ "sélectionner Aucun styles dans la section Styles."
857
+
858
+ #: admin/main-view.php:531
859
+ msgid "Thumbnail size:"
860
+ msgstr "Taille des miniatures&nbsp;:"
861
+
862
+ #: admin/main-view.php:555
863
+ msgid "Custom size"
864
+ msgstr "Taille personnalisée"
865
+
866
+ #: admin/main-view.php:558
867
+ msgid ""
868
+ "You can choose from existing image sizes above or create a custom size. If "
869
+ "you have chosen Custom size above, then enter the width, height and crop "
870
+ "settings below. For best results, use a cropped image."
871
+ msgstr ""
872
+ "Vous pouvez choisir parmi les tailles d'images existantes ci-dessus ou créer "
873
+ "une taille personnalisée. Si vous avez choisi la taille personnalisée ci-"
874
+ "dessus, alors entrez la largeur, puis la hauteur et les réglages de "
875
+ "recadrage ci-dessous. Pour de meilleurs résultats, utilisez une image "
876
+ "recadrée."
877
+
878
+ #: admin/main-view.php:559
879
+ msgid ""
880
+ "If you change the width and/or height below, existing images will not be "
881
+ "automatically resized."
882
+ msgstr ""
883
+ "Si vous modifiez la hauteur/largeur ci-dessus, les images existantes seront "
884
+ "automatiquement redimensionnées."
885
+
886
+ #: admin/main-view.php:560
887
+ #, php-format
888
+ msgid ""
889
+ "I recommend using <a href='%s' class='thickbox'>OTF Regenerate Thumbnails</"
890
+ "a> or <a href='%s' class='thickbox'>Regenerate Thumbnails</a> to regenerate "
891
+ "all image sizes."
892
+ msgstr ""
893
+ "Je recommande d'utiliser les extensions <a href='%s' class='thickbox'>OTF "
894
+ "Regenerate Thumbnails</a> ou <a href='%s' class='thickbox'>Regenerate "
895
+ "Thumbnails</a> pour régénérer toutes les tailles d'image."
896
+
897
+ #: admin/main-view.php:563
898
+ msgid ""
899
+ "If you're using the Left Thumbs style below then the thumbnail width and "
900
+ "height that you set here will supersede the widget. Alternatively, choose "
901
+ "<strong>Style attributes</strong> under <strong>Image size attributes</"
902
+ "strong> option below"
903
+ msgstr ""
904
+ "Si vous utilisez le style Miniatures à gauche ci-dessous, la largeur et la "
905
+ "hauteur de la miniature que vous définissez ici remplaceront le widget. "
906
+ "Sinon, choisissez <strong>Attributs de style</strong> dans l'option "
907
+ "<strong>Attributs de taille de l'image</strong> ci-dessous."
908
+
909
+ #: admin/main-view.php:566
910
+ msgid "Width of custom thumbnail:"
911
+ msgstr "Largeur de la miniature personnalisée&nbsp;:"
912
+
913
+ #: admin/main-view.php:571
914
+ msgid "Height of custom thumbnail"
915
+ msgstr "Hauteur de la miniature personnalisée"
916
+
917
+ #: admin/main-view.php:576
918
+ msgid "Crop mode:"
919
+ msgstr "Mode de recadrage:"
920
+
921
+ #: admin/main-view.php:580
922
+ msgid ""
923
+ "By default, thumbnails will be proportionately cropped. Check this box to "
924
+ "hard crop the thumbnails."
925
+ msgstr ""
926
+ "Par défaut, les miniatures seront recadrées proportionnellement. Cocher "
927
+ "cette case pour recadrer (hard crop) les miniatures. "
928
+
929
+ #: admin/main-view.php:581
930
+ #, php-format
931
+ msgid "<a href='%s' target='_blank'>Difference between soft and hard crop</a>"
932
+ msgstr ""
933
+ "<a href='%s' target='_blank'>La différence entre le soft le hard crop</a>"
934
+
935
+ #: admin/main-view.php:585
936
+ msgid "Image size attributes:"
937
+ msgstr "Attributs de taille de l'image :"
938
+
939
+ #: admin/main-view.php:589
940
+ msgid "Style attributes are used for width and height."
941
+ msgstr "Les attributs de style sont utilisés pour la hauteur et la largeur."
942
+
943
+ #: admin/main-view.php:595
944
+ msgid "HTML width and height attributes are used for width and height."
945
+ msgstr ""
946
+ "Les attributs HTML de hauteur et largeur sont utilisés pour la hauteur et la "
947
+ "largeur."
948
+
949
+ #: admin/main-view.php:601
950
+ msgid "No HTML or Style attributes set for width and height"
951
+ msgstr "Aucun attribut HTML ou de style utilisé pour la hauteur et la largeur"
952
+
953
+ #: admin/main-view.php:606
954
+ msgid "Post thumbnail meta field name:"
955
+ msgstr "Nom du champ méta de la miniature de l'article :"
956
+
957
+ #: admin/main-view.php:609
958
+ msgid ""
959
+ "The value of this field should contain the image source and is set in the "
960
+ "<em>Add New Post</em> screen"
961
+ msgstr ""
962
+ "La valeur de ce champ doit contenir la source de l'image et se trouve dans "
963
+ "l'écran <em>Ajouter un nouvel article</em>"
964
+
965
+ #: admin/main-view.php:612
966
+ msgid ""
967
+ "If the postmeta is not set, then should the plugin extract the first image "
968
+ "from the post?"
969
+ msgstr ""
970
+ "Si le postmeta n'est pas défini, est-ce que l'extension doit alors extraire "
971
+ "la première image de l'article&nbsp;?"
972
+
973
+ #: admin/main-view.php:615
974
+ msgid ""
975
+ "This could slow down the loading of your page if the first image in the "
976
+ "related posts is large in file-size"
977
+ msgstr ""
978
+ "Cela pourrait ralentir le chargement de votre page si la première image dans "
979
+ "les articles concernés est un fichier grande taille."
980
+
981
+ #: admin/main-view.php:618
982
+ msgid "Use default thumbnail?"
983
+ msgstr "Utiliser la miniature par défaut ?"
984
+
985
+ #: admin/main-view.php:621
986
+ msgid ""
987
+ "If checked, when no thumbnail is found, show a default one from the URL "
988
+ "below. If not checked and no thumbnail is found, no image will be shown."
989
+ msgstr ""
990
+ "Si coché, quand aucune miniature n'est trouvée, celle par défaut à l'URL ci-"
991
+ "dessous est utilisée. Si décoché et qu'aucune miniature n'est trouvée, "
992
+ "aucune image ne sera affichée."
993
+
994
+ #: admin/main-view.php:624
995
+ msgid "Default thumbnail:"
996
+ msgstr "Miniature par défaut :"
997
+
998
+ #: admin/main-view.php:628
999
+ msgid ""
1000
+ "The plugin will first check if the post contains a thumbnail. If it doesn't "
1001
+ "then it will check the meta field. If this is not available, then it will "
1002
+ "show the default image as specified above"
1003
+ msgstr ""
1004
+ "L'extension va d'abord vérifier si l'article contient une miniature. Si ce "
1005
+ "n'est pas le cas alors elle vérifie les métadonnées. Si aucune n'est "
1006
+ "toujours pas disponible, alors elle affichera l'image par défaut comme "
1007
+ "indiquée ci-dessus."
1008
+
1009
+ #: admin/main-view.php:667
1010
+ msgid "Style of the related posts:"
1011
+ msgstr "Style des articles relatifs :"
1012
+
1013
+ #: admin/main-view.php:670
1014
+ msgid "No styles"
1015
+ msgstr "Aucun style"
1016
+
1017
+ #: admin/main-view.php:672
1018
+ msgid "Select this option if you plan to add your own styles"
1019
+ msgstr "Sélectionnez cette option si vous voulez ajouter vos propres styles"
1020
+
1021
+ #: admin/main-view.php:677
1022
+ msgid "Left Thumbnails"
1023
+ msgstr "Miniatures à gauche"
1024
+
1025
+ #: admin/main-view.php:680
1026
+ msgid ""
1027
+ "Enabling this option will set the post thumbnail to be before text. "
1028
+ "Disabling this option will not revert any settings."
1029
+ msgstr ""
1030
+ "L'activation de cette option permettre l'affichage des miniatures avant le "
1031
+ "texte. La désactivation de cette option ne réinitialisera aucun réglage."
1032
+
1033
+ #: admin/main-view.php:681
1034
+ #, php-format
1035
+ msgid ""
1036
+ "You can view the default style at <a href=\"%1$s\" target=\"_blank\">%1$s</a>"
1037
+ msgstr ""
1038
+ "Vous pouvez voir le style par défaut sur <a href=\"%1$s\" target=\"_blank\">"
1039
+ "%1$s</a>"
1040
+
1041
+ #: admin/main-view.php:685
1042
+ msgid "Text only"
1043
+ msgstr "Texte uniquement"
1044
+
1045
+ #: admin/main-view.php:687
1046
+ msgid ""
1047
+ "Enabling this option will disable thumbnails and no longer include the "
1048
+ "default style sheet included in the plugin."
1049
+ msgstr ""
1050
+ "L'activation de cette option désactivera les miniatures et le style par "
1051
+ "défaut de l'extension. "
1052
+
1053
+ #: admin/main-view.php:703
1054
+ msgid "Custom CSS to add to header:"
1055
+ msgstr "CSS personnalisé a ajouter dans l'en-tête :"
1056
+
1057
+ #: admin/main-view.php:708
1058
+ msgid ""
1059
+ "Do not include <code>style</code> tags. Check out the <a href=\"http://"
1060
+ "wordpress.org/extend/plugins/top-10/faq/\" target=\"_blank\">FAQ</a> for "
1061
+ "available CSS classes to style."
1062
+ msgstr ""
1063
+ "Ne pas inclure les balises de <code>style</code>. Découvrez la <a href="
1064
+ "\"http://wordpress.org/extend/plugins/top-10/faq/\" target=\"_blank\">FAQ</"
1065
+ "a> pour les classes CSS disponibles pour le style."
1066
+
1067
+ #: admin/main-view.php:728
1068
+ msgid "Default Options"
1069
+ msgstr "options par défaut"
1070
+
1071
+ #: admin/main-view.php:728
1072
+ msgid "Do you want to set options to Default?"
1073
+ msgstr "Voulez-vous réinitialiser les options à leurs valeurs par défaut ?"
1074
+
1075
+ #: admin/main-view.php:752
1076
+ msgid ""
1077
+ "Over time the Daily Top 10 database grows in size, which reduces the "
1078
+ "performance of the plugin. Cleaning the database at regular intervals could "
1079
+ "improve performance, especially on high traffic blogs. Enabling maintenance "
1080
+ "will automatically delete entries older than 90 days."
1081
+ msgstr ""
1082
+ "Au fil du temps la base de données journalière de Top 10 grandit en taille, "
1083
+ "ce qui réduit la performance de l'extension. Un nettoyage de la base de "
1084
+ "données à intervalles réguliers pourrait améliorer les performances, en "
1085
+ "particulier sur les blogs à fort trafic. Activer la maintenance supprimera "
1086
+ "automatiquement les entrées de plus de 90 jours."
1087
+
1088
+ #: admin/main-view.php:753
1089
+ msgid ""
1090
+ "Note: When scheduled maintenance is enabled, WordPress will run the cron job "
1091
+ "everytime the job is rescheduled (i.e. you change the settings below)."
1092
+ msgstr ""
1093
+ "Remarque&nbsp;: Lorsque de la maintenance programmée est activée, WordPress "
1094
+ "va exécuter la tâche cron chaque fois que la tâche est re-planifée (càd "
1095
+ "quand vous changez les paramètres ci-dessous)."
1096
+
1097
+ #: admin/main-view.php:756
1098
+ msgid "Enable scheduled maintenance of daily tables:"
1099
+ msgstr "Activer la maintenance planifiée des tables quotidiennes&nbsp;:"
1100
+
1101
+ #: admin/main-view.php:760
1102
+ msgid "Time to run maintenance"
1103
+ msgstr "Heure de lancement de la maintenance"
1104
+
1105
+ #: admin/main-view.php:761
1106
+ msgid "hrs"
1107
+ msgstr "hrs"
1108
+
1109
+ #: admin/main-view.php:761
1110
+ msgid "min"
1111
+ msgstr "min"
1112
+
1113
+ #: admin/main-view.php:763
1114
+ msgid "How often should the maintenance be run:"
1115
+ msgstr "À quelle fréquence la maintenance doit être exécutée&nbsp;:"
1116
+
1117
+ #: admin/main-view.php:771
1118
+ msgid "Weekly"
1119
+ msgstr "Hebdomadaire"
1120
+
1121
+ #: admin/main-view.php:775
1122
+ msgid "Fortnightly"
1123
+ msgstr "Bimensuellement"
1124
+
1125
+ #: admin/main-view.php:779
1126
+ msgid "Monthly"
1127
+ msgstr "Mensuel"
1128
+
1129
+ #: admin/main-view.php:788
1130
+ msgid "The cron job has been scheduled. Maintenance will run"
1131
+ msgstr "La tâche cron a été planifiée. La maintenance s'exécutera."
1132
+
1133
+ #: admin/main-view.php:793
1134
+ msgid "The cron job is missing. Please resave this page to add the job"
1135
+ msgstr ""
1136
+ "La tâche cron est absente. Merci de sauvegarder à nouveau cette page pour "
1137
+ "ajouter la tâche."
1138
+
1139
+ #: admin/main-view.php:798
1140
+ msgid "Maintenance is turned off"
1141
+ msgstr "La maintenance est désactivée"
1142
+
1143
+ #: admin/main-view.php:804
1144
+ msgid "Save Maintenance Options"
1145
+ msgstr "Sauvegarder les options de maintenance"
1146
+
1147
+ #: admin/main-view.php:812
1148
+ msgid "Reset count and other tools"
1149
+ msgstr "Réinitialiser le compteur et d'autres outils"
1150
+
1151
+ #: admin/main-view.php:815
1152
+ msgid ""
1153
+ "This cannot be reversed. Make sure that your database has been backed up "
1154
+ "before proceeding"
1155
+ msgstr ""
1156
+ "Ceci ne peut pas être inversé. Assurez-vous que votre base de données a bien "
1157
+ "été sauvegardée avant de continuer"
1158
+
1159
+ #: admin/main-view.php:818
1160
+ msgid "Reset Popular Posts"
1161
+ msgstr "Réinitialiser les articles populaires"
1162
+
1163
+ #: admin/main-view.php:818
1164
+ msgid "Are you sure you want to reset the popular posts?"
1165
+ msgstr "Etes-vous sur de vouloir réinitialiser les articles populaires?"
1166
+
1167
+ #: admin/main-view.php:819
1168
+ msgid "Reset Daily Popular Posts"
1169
+ msgstr "Réinitialiser les articles populaires quotidiens"
1170
+
1171
+ #: admin/main-view.php:819
1172
+ msgid "Are you sure you want to reset the daily popular posts?"
1173
+ msgstr ""
1174
+ "Etes-vous sur de vouloir réinitialiser les articles populaires quotidiens?"
1175
+
1176
+ #: admin/main-view.php:822
1177
+ msgid "This will merge post counts for posts with table entries of 0 and 1"
1178
+ msgstr ""
1179
+ "Cela fusionnera le nombre d'articles pour les articles avec des entrées de "
1180
+ "table de 0 et 1"
1181
+
1182
+ #: admin/main-view.php:825
1183
+ msgid "Merge blog ID 0 and 1 post counts"
1184
+ msgstr "Fusionner le compte d'articles de blog ID 0 et 1"
1185
+
1186
+ #: admin/main-view.php:825
1187
+ msgid "This will merge post counts for blog IDs 0 and 1. Proceed?"
1188
+ msgstr ""
1189
+ "Ceci va fusionnera le nombre d'articles des blog IDs 0 et 1. Procéder&nbsp;?"
1190
+
1191
+ #: admin/main-view.php:828
1192
+ msgid ""
1193
+ "In older versions, the plugin created entries with duplicate post IDs. "
1194
+ "Clicking the button below will merge these duplicate IDs"
1195
+ msgstr ""
1196
+ "Dans les anciennes versions, l'extension créait des entrées avec des IDs "
1197
+ "d'articles en double. Cliquer sur le bouton ci-dessous va fusionner ces IDs "
1198
+ "en double."
1199
+
1200
+ #: admin/main-view.php:831
1201
+ msgid "Merge duplicates across blog IDs"
1202
+ msgstr "Fusionner les doublons à travers les IDs de blog"
1203
+
1204
+ #: admin/main-view.php:831
1205
+ msgid "This will delete the duplicate entries in the tables. Proceed?"
1206
+ msgstr "Ceci va supprimer les entrées dupliquées dans les tables. Procéder?"
1207
+
1208
+ #: admin/main-view.php:847
1209
+ msgid "WordPress Multisite: Migrate Top 10 v1.x counts to 2.x"
1210
+ msgstr "WordPress Multisite: Migrer Top 10 de la version v1.x à la 2.x"
1211
+
1212
+ #: admin/main-view.php:850
1213
+ msgid ""
1214
+ "If you've been using Top 10 v1.x on multisite, you would have needed to "
1215
+ "activate the plugin independently for each site. This would have resulted in "
1216
+ "two tables being created for each site in the network."
1217
+ msgstr ""
1218
+ "Si vous avez utilisé Top 10 v1.x sur un multisite, vous avez eu besoin "
1219
+ "d'activer l'extension indépendamment pour chaque site. Il en a résulté la "
1220
+ "création de deux tables pour chaque site du réseau."
1221
+
1222
+ #: admin/main-view.php:851
1223
+ msgid ""
1224
+ "Top 10 v2.x onwards uses only a single table to record the count, keeping "
1225
+ "your database clean. You can use this tool to import the recorded counts "
1226
+ "from v1.x tables to the new v2.x table format."
1227
+ msgstr ""
1228
+ "Top 10 v2.x et plus récent utilise uniquement une seule table pour "
1229
+ "enregistrer le compte en gardant votre base de données propre. Vous pouvez "
1230
+ "utiliser cet outil pour importer les comptes enregistrés depuis des tables "
1231
+ "v1.x vers le nouveau format de table v2.x."
1232
+
1233
+ #: admin/main-view.php:854
1234
+ msgid ""
1235
+ "If you do not see any tables below, then it means that either all data has "
1236
+ "already been imported or no relevant information has been found."
1237
+ msgstr ""
1238
+ "Si vous ne voyez pas de tables ci-dessous, cela signifie que soit toutes les "
1239
+ "données ont déjà été importées ou qu'aucune information pertinente n'a été "
1240
+ "trouvée."
1241
+
1242
+ #: admin/main-view.php:857
1243
+ msgid ""
1244
+ "After running the importer, please verify that all the counts have been "
1245
+ "successfully imported. Only then should you delete any old tables!"
1246
+ msgstr ""
1247
+ "Après l'exécution de l'outil d'import, merci de vérifier que tous les "
1248
+ "comptes ont été correctement importés. Ensuite seulement, vous devrez "
1249
+ "supprimer toutes les anciennes tables&nbsp;!"
1250
+
1251
+ #: admin/main-view.php:891
1252
+ msgid "Blog ID"
1253
+ msgstr "Blog ID"
1254
+
1255
+ #: admin/main-view.php:894
1256
+ msgid "Status"
1257
+ msgstr "Statut"
1258
+
1259
+ #: admin/main-view.php:897
1260
+ msgid "Select to import"
1261
+ msgstr "Sélectionner pour importer"
1262
+
1263
+ #: admin/main-view.php:907
1264
+ msgid "Blog #"
1265
+ msgstr "Blog No"
1266
+
1267
+ #: admin/main-view.php:917
1268
+ msgid "Not imported"
1269
+ msgstr "Non importé"
1270
+
1271
+ #: admin/main-view.php:921
1272
+ msgid "Imported"
1273
+ msgstr "Importé"
1274
+
1275
+ #: admin/main-view.php:942
1276
+ msgid "Begin import"
1277
+ msgstr "Démarrer l'import"
1278
+
1279
+ #: admin/main-view.php:943
1280
+ msgid "Delete selected tables"
1281
+ msgstr "Supprimer les tables sélectionnées"
1282
+
1283
+ #: admin/main-view.php:944
1284
+ msgid "Delete all imported tables"
1285
+ msgstr "Supprimer toutes les tables importées"
1286
+
1287
+ #: includes/class-top-10-widget.php:31
1288
+ msgid "Popular Posts [Top 10]"
1289
+ msgstr "Articles populaires [Top 10]"
1290
+
1291
+ #: includes/class-top-10-widget.php:32
1292
+ msgid "Display popular posts"
1293
+ msgstr "Afficher les articles populaires"
1294
+
1295
+ #: includes/class-top-10-widget.php:76
1296
+ msgid "No. of posts"
1297
+ msgstr "No. de l'articles"
1298
+
1299
+ #: includes/class-top-10-widget.php:82
1300
+ msgid "Custom time period (Enter below)"
1301
+ msgstr "Personnaliser l'intervalle de temps (Entrez ci-dessous)"
1302
+
1303
+ #: includes/class-top-10-widget.php:86
1304
+ msgid "In days and hours (applies only to custom option above)"
1305
+ msgstr ""
1306
+ "En jours et heures (s'applique uniquement à l'option personnalisée ci-dessus)"
1307
+
1308
+ #: includes/class-top-10-widget.php:91
1309
+ msgid "hours"
1310
+ msgstr "heures"
1311
+
1312
+ #: includes/class-top-10-widget.php:96
1313
+ msgid "Show count?"
1314
+ msgstr "Afficher le compte ?"
1315
+
1316
+ #: includes/class-top-10-widget.php:101
1317
+ msgid "Show excerpt?"
1318
+ msgstr "Afficher l'extrait&nbsp;?"
1319
+
1320
+ #: includes/class-top-10-widget.php:106
1321
+ msgid "Show author?"
1322
+ msgstr "Afficher l'auteur&nbsp;?"
1323
+
1324
+ #: includes/class-top-10-widget.php:111
1325
+ msgid "Show date?"
1326
+ msgstr "Afficher la date&nbsp;?"
1327
+
1328
+ #: includes/class-top-10-widget.php:117
1329
+ msgid "Thumbnails inline, before title"
1330
+ msgstr "Miniature avant le titre"
1331
+
1332
+ #: includes/class-top-10-widget.php:118
1333
+ msgid "Thumbnails inline, after title"
1334
+ msgstr "Miniatures après le titre"
1335
+
1336
+ #: includes/class-top-10-widget.php:119
1337
+ msgid "Only thumbnails, no text"
1338
+ msgstr "Que les miniatures, pas de texte"
1339
+
1340
+ #: includes/class-top-10-widget.php:120
1341
+ msgid "No thumbnails, only text."
1342
+ msgstr "Pas de miniature, que le texte"
1343
+
1344
+ #: includes/class-top-10-widget.php:125
1345
+ msgid "Thumbnail height"
1346
+ msgstr "Hauteur de la vignette"
1347
+
1348
+ #: includes/class-top-10-widget.php:131
1349
+ msgid "Thumbnail width"
1350
+ msgstr "Largeur des vignettes"
1351
+
1352
+ #: includes/class-top-10-widget.php:135
1353
+ msgid "Post types to include:"
1354
+ msgstr "Types d'articles à inclure&nbsp;:"
1355
+
1356
+ #: includes/media.php:62
1357
+ msgid "thumb_timthumb argument has been deprecated"
1358
+ msgstr "L'argument thumb_timthumb est devenu obsolète"
1359
+
1360
+ #: includes/media.php:66
1361
+ msgid "thumb_timthumb_q argument has been deprecated"
1362
+ msgstr "L'argument thumb_timthumb_q est devenu obsolète"
1363
+
1364
+ #: includes/media.php:70
1365
+ msgid "filter argument has been deprecated"
1366
+ msgstr "L'argument filter est devenu obsolète"
1367
+
1368
+ #: includes/output-generator.php:239
1369
+ msgid " by "
1370
+ msgstr " par"
1371
+
1372
+ #: top-10.php:163
1373
+ msgid ""
1374
+ "posts_only argument has been deprecated. Use get_tptn_pop_posts() to get the "
1375
+ "posts only."
1376
+ msgstr ""
1377
+ "L'argument post_only est déprécié. Utiliser get_tptn_pop_posts() pour "
1378
+ "récupérer uniquement les articles."
1379
+
1380
+ #: top-10.php:300
1381
+ #, php-format
1382
+ msgid "Popular posts by <a href=\"%s\" rel=\"nofollow\" %s>Top 10 plugin</a>"
1383
+ msgstr ""
1384
+ "Articles populaires par l'<a href=\"%s\" rel=\"nofollow\" %s>extension Top "
1385
+ "10</a>"
1386
+
1387
+ #: top-10.php:641
1388
+ msgid "<h3>Popular Posts</h3>"
1389
+ msgstr "<h3>Articles populaires</h3>"
1390
+
1391
+ #: top-10.php:642
1392
+ msgid "<h3>Daily Popular</h3>"
1393
+ msgstr "<h3>Populaire Quotidien</h3>"
1394
+
1395
+ #: top-10.php:643
1396
+ msgid "No top posts yet"
1397
+ msgstr "Pas encore d'articles dans le classement "
1398
+
1399
+ #: top-10.php:1124
1400
+ msgid "Once Weekly"
1401
+ msgstr "Une fois par semaine"
1402
+
1403
+ #: top-10.php:1128
1404
+ msgid "Once Fortnightly"
1405
+ msgstr "Une fois tous les quinze jours"
1406
+
1407
+ #: top-10.php:1132
1408
+ msgid "Once Monthly"
1409
+ msgstr "Une fois par mois"
1410
+
1411
+ #: top-10.php:1136
1412
+ msgid "Once quarterly"
1413
+ msgstr "Une fois par trimestre"
languages/{tptn-ga_IR.mo → top-10-ga_IR.mo} RENAMED
Binary file
languages/{tptn-ga_IR.po → top-10-ga_IR.po} RENAMED
@@ -2,7 +2,7 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Тоp 10\n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2015-09-13 22:08+0100\n"
6
  "PO-Revision-Date: \n"
7
  "Last-Translator: Ajay D'Souza <me@ajaydsouza.com>\n"
8
  "Language-Team: Lets Be Famous <ray.s@letsbefamous.com>\n"
@@ -44,7 +44,7 @@ msgstr ""
44
  msgid "Popular posts by <a href=\"%s\" target=\"_blank\">Top 10 plugin</a>"
45
  msgstr ""
46
 
47
- #: admin/admin-dashboard.php:109 admin/class-stats.php:440
48
  #: admin/deprecated.php:41
49
  msgid "Popular Posts"
50
  msgstr "Poist Coitianta"
@@ -154,167 +154,167 @@ msgstr ""
154
  msgid "Scheduled maintenance disabled"
155
  msgstr ""
156
 
157
- #: admin/admin.php:300
158
  msgid "Counts from selected sites have been imported."
159
  msgstr ""
160
 
161
- #: admin/admin.php:325
162
  msgid ""
163
  "Selected tables have been deleted. Note that only imported tables have been "
164
  "deleted."
165
  msgstr ""
166
 
167
- #: admin/admin.php:342 admin/admin.php:362 admin/admin.php:372
168
  #: admin/main-view.php:55 admin/main-view.php:174 admin/main-view.php:279
169
- #: admin/main-view.php:477 admin/main-view.php:638 admin/main-view.php:734
170
- #: admin/main-view.php:798 admin/main-view.php:834
171
  msgid "Click to toggle"
172
  msgstr ""
173
 
174
- #: admin/admin.php:343
175
  #, fuzzy
176
  msgid "Support the development"
177
  msgstr "Tacú le Forbairt"
178
 
179
- #: admin/admin.php:350
180
  msgid "Donation for Top 10"
181
  msgstr ""
182
 
183
- #: admin/admin.php:352
184
  msgid "Enter amount in USD:"
185
  msgstr ""
186
 
187
- #: admin/admin.php:356
188
  msgid "Send your donation to the author of Top 10"
189
  msgstr ""
190
 
191
- #: admin/admin.php:363
192
  msgid "Follow me"
193
  msgstr ""
194
 
195
- #: admin/admin.php:373
196
  msgid "Quick links"
197
  msgstr ""
198
 
199
- #: admin/admin.php:377
200
  msgid "Top 10 plugin page"
201
  msgstr ""
202
 
203
- #: admin/admin.php:378
204
  msgid "Top 10 Github page"
205
  msgstr ""
206
 
207
- #: admin/admin.php:379
208
  msgid "Other plugins"
209
  msgstr ""
210
 
211
- #: admin/admin.php:380
212
  msgid "FAQ"
213
  msgstr ""
214
 
215
- #: admin/admin.php:381 admin/admin.php:551
216
  msgid "Support"
217
  msgstr ""
218
 
219
- #: admin/admin.php:382
220
  msgid "Reviews"
221
  msgstr ""
222
 
223
- #: admin/admin.php:383
224
  msgid "Ajay's blog"
225
  msgstr ""
226
 
227
- #: admin/admin.php:400 admin/admin.php:403 admin/main-view.php:22
228
  #, fuzzy
229
  msgid "Top 10 Settings"
230
  msgstr "Top 10"
231
 
232
- #: admin/admin.php:400
233
  msgid "Top 10"
234
  msgstr "Top 10"
235
 
236
- #: admin/admin.php:408
237
  msgid "View Popular Posts"
238
  msgstr ""
239
 
240
- #: admin/admin.php:528
241
  msgid "Settings"
242
  msgstr ""
243
 
244
- #: admin/admin.php:552
245
  msgid "Donate"
246
  msgstr ""
247
 
248
- #: admin/cache.php:20
249
  msgid "Top 10 cache has been cleared"
250
  msgstr ""
251
 
252
- #: admin/class-stats.php:37
253
  msgid "popular_post"
254
  msgstr ""
255
 
256
- #: admin/class-stats.php:38
257
  msgid "popular_posts"
258
  msgstr ""
259
 
260
- #: admin/class-stats.php:162
261
  msgid "No popular posts available."
262
  msgstr ""
263
 
264
- #: admin/class-stats.php:211
265
  msgid "View"
266
  msgstr ""
267
 
268
- #: admin/class-stats.php:212
269
  msgid "Edit"
270
  msgstr ""
271
 
272
- #: admin/class-stats.php:213
273
  msgid "Delete"
274
  msgstr ""
275
 
276
- #: admin/class-stats.php:235
277
  msgid "Y/m/d g:i:s a"
278
  msgstr ""
279
 
280
- #: admin/class-stats.php:242
281
  #, php-format
282
  msgid "%s ago"
283
  msgstr ""
284
 
285
- #: admin/class-stats.php:244
286
  msgid "Y/m/d"
287
  msgstr ""
288
 
289
- #: admin/class-stats.php:278 includes/class-top-10-widget.php:71
290
  msgid "Title"
291
  msgstr ""
292
 
293
- #: admin/class-stats.php:279
294
  msgid "Total visits"
295
  msgstr ""
296
 
297
- #: admin/class-stats.php:280
298
  msgid "Daily visits"
299
  msgstr ""
300
 
301
- #: admin/class-stats.php:281
302
  msgid "Post type"
303
  msgstr ""
304
 
305
- #: admin/class-stats.php:282
306
  msgid "Author"
307
  msgstr ""
308
 
309
- #: admin/class-stats.php:283
310
  msgid "Date"
311
  msgstr ""
312
 
313
- #: admin/class-stats.php:317
314
  msgid "Delete Count"
315
  msgstr ""
316
 
317
- #: admin/class-stats.php:357
318
  msgid "Are you sure you want to do this"
319
  msgstr ""
320
 
@@ -330,16 +330,16 @@ msgstr ""
330
  msgid "Popular post list options"
331
  msgstr ""
332
 
333
- #: admin/main-view.php:37 admin/main-view.php:478
334
  #: includes/class-top-10-widget.php:115
335
  msgid "Thumbnail options"
336
  msgstr ""
337
 
338
- #: admin/main-view.php:38 admin/main-view.php:639
339
  msgid "Styles"
340
  msgstr ""
341
 
342
- #: admin/main-view.php:39 admin/main-view.php:735
343
  msgid "Maintenance"
344
  msgstr ""
345
 
@@ -351,7 +351,7 @@ msgstr ""
351
  msgid "Overall"
352
  msgstr ""
353
 
354
- #: admin/main-view.php:83 admin/main-view.php:754
355
  msgid "Daily"
356
  msgstr ""
357
 
@@ -471,8 +471,8 @@ msgstr ""
471
  "Tá nasc chuig an breiseán seo a leanas mar mhír liosta breise le liosta "
472
  "de phoist tóir. Gan éigeantach, ach a bhuíochas má dhéanann tú é!"
473
 
474
- #: admin/main-view.php:156 admin/main-view.php:261 admin/main-view.php:459
475
- #: admin/main-view.php:620 admin/main-view.php:714
476
  #, fuzzy
477
  msgid "Save Options"
478
  msgstr "roghanna"
@@ -640,7 +640,7 @@ msgstr ""
640
  msgid "List of post or page IDs to exclude from the results:"
641
  msgstr ""
642
 
643
- #: admin/main-view.php:327 admin/main-view.php:427
644
  msgid "Enter comma separated list of IDs. e.g. 188,320,500"
645
  msgstr ""
646
 
@@ -655,135 +655,146 @@ msgid ""
655
  "options"
656
  msgstr ""
657
 
658
- #: admin/main-view.php:351
 
 
 
 
 
 
 
 
 
 
 
659
  msgid "Title of popular posts:"
660
  msgstr ""
661
 
662
- #: admin/main-view.php:357
663
  msgid "Title of daily popular posts:"
664
  msgstr ""
665
 
666
- #: admin/main-view.php:363
667
  msgid "When there are no posts, what should be shown?"
668
  msgstr ""
669
 
670
- #: admin/main-view.php:367
671
  msgid "Blank Output"
672
  msgstr ""
673
 
674
- #: admin/main-view.php:371
675
  msgid "Display:"
676
  msgstr ""
677
 
678
- #: admin/main-view.php:376
679
  msgid "Show post excerpt in list?"
680
  msgstr ""
681
 
682
- #: admin/main-view.php:382
683
  msgid "Length of excerpt (in words):"
684
  msgstr ""
685
 
686
- #: admin/main-view.php:388
687
  msgid "Show post author in list?"
688
  msgstr ""
689
 
690
- #: admin/main-view.php:394
691
  msgid "Show post date in list?"
692
  msgstr ""
693
 
694
- #: admin/main-view.php:400
695
  msgid "Limit post title length (in characters)"
696
  msgstr ""
697
 
698
- #: admin/main-view.php:406
699
  msgid "Show view count in list?"
700
  msgstr ""
701
 
702
- #: admin/main-view.php:412
703
  msgid "Open links in new window"
704
  msgstr ""
705
 
706
- #: admin/main-view.php:418
707
  msgid "Add nofollow attribute to links in the list"
708
  msgstr ""
709
 
710
- #: admin/main-view.php:424
711
  msgid "Exclude display of related posts on these posts / pages"
712
  msgstr ""
713
 
714
- #: admin/main-view.php:431
715
  msgid "Customise the list HTML"
716
  msgstr ""
717
 
718
- #: admin/main-view.php:434
719
  msgid "HTML to display before the list of posts:"
720
  msgstr ""
721
 
722
- #: admin/main-view.php:440
723
  msgid "HTML to display before each list item:"
724
  msgstr ""
725
 
726
- #: admin/main-view.php:446
727
  msgid "HTML to display after each list item:"
728
  msgstr ""
729
 
730
- #: admin/main-view.php:452
731
  msgid "HTML to display after the list of posts:"
732
  msgstr ""
733
 
734
- #: admin/main-view.php:493
735
  msgid "Location of post thumbnail:"
736
  msgstr ""
737
 
738
- #: admin/main-view.php:497
739
  #, fuzzy
740
  msgid "Display thumbnails inline with posts, before title"
741
  msgstr "Taispeáin líon na dtuairimí ar phoist?"
742
 
743
- #: admin/main-view.php:502
744
  #, fuzzy
745
  msgid "Display thumbnails inline with posts, after title"
746
  msgstr "Taispeáin líon na dtuairimí ar phoist?"
747
 
748
- #: admin/main-view.php:507
749
  #, fuzzy
750
  msgid "Display only thumbnails, no text"
751
  msgstr "Taispeáin líon na dtuairimí ar phoist?"
752
 
753
- #: admin/main-view.php:512
754
  #, fuzzy
755
  msgid "Do not display thumbnails, only text."
756
  msgstr "Taispeáin líon na dtuairimí ar phoist?"
757
 
758
- #: admin/main-view.php:516
759
  msgid ""
760
  "This setting cannot be changed because an inbuilt style has been selected "
761
  "under the Styles section. If you would like to change this option, please "
762
  "select No styles under the Styles section."
763
  msgstr ""
764
 
765
- #: admin/main-view.php:520
766
  msgid "Thumbnail size:"
767
  msgstr ""
768
 
769
- #: admin/main-view.php:544
770
  msgid "Custom size"
771
  msgstr ""
772
 
773
- #: admin/main-view.php:547
774
  msgid ""
775
  "You can choose from existing image sizes above or create a custom size. If "
776
  "you have chosen Custom size above, then enter the width, height and crop "
777
  "settings below. For best results, use a cropped image."
778
  msgstr ""
779
 
780
- #: admin/main-view.php:548
781
  msgid ""
782
  "If you change the width and/or height below, existing images will not be "
783
  "automatically resized."
784
  msgstr ""
785
 
786
- #: admin/main-view.php:549
787
  #, php-format
788
  msgid ""
789
  "I recommend using <a href='%s' class='thickbox'>OTF Regenerate Thumbnails</"
@@ -791,7 +802,7 @@ msgid ""
791
  "all image sizes."
792
  msgstr ""
793
 
794
- #: admin/main-view.php:552
795
  msgid ""
796
  "If you're using the Left Thumbs style below then the thumbnail width and "
797
  "height that you set here will supersede the widget. Alternatively, choose "
@@ -799,147 +810,147 @@ msgid ""
799
  "strong> option below"
800
  msgstr ""
801
 
802
- #: admin/main-view.php:555
803
  msgid "Width of custom thumbnail:"
804
  msgstr ""
805
 
806
- #: admin/main-view.php:560
807
  msgid "Height of custom thumbnail"
808
  msgstr ""
809
 
810
- #: admin/main-view.php:565
811
  msgid "Crop mode:"
812
  msgstr ""
813
 
814
- #: admin/main-view.php:569
815
  msgid ""
816
  "By default, thumbnails will be proportionately cropped. Check this box to "
817
  "hard crop the thumbnails."
818
  msgstr ""
819
 
820
- #: admin/main-view.php:570
821
  #, php-format
822
  msgid "<a href='%s' target='_blank'>Difference between soft and hard crop</a>"
823
  msgstr ""
824
 
825
- #: admin/main-view.php:574
826
  msgid "Image size attributes:"
827
  msgstr ""
828
 
829
- #: admin/main-view.php:578
830
  msgid "Style attributes are used for width and height."
831
  msgstr ""
832
 
833
- #: admin/main-view.php:583
834
  msgid "HTML width and height attributes are used for width and height."
835
  msgstr ""
836
 
837
- #: admin/main-view.php:588
838
  msgid "No HTML or Style attributes set for width and height"
839
  msgstr ""
840
 
841
- #: admin/main-view.php:593
842
  msgid "Post thumbnail meta field name:"
843
  msgstr ""
844
 
845
- #: admin/main-view.php:596
846
  msgid ""
847
  "The value of this field should contain the image source and is set in the "
848
  "<em>Add New Post</em> screen"
849
  msgstr ""
850
 
851
- #: admin/main-view.php:599
852
  msgid ""
853
  "If the postmeta is not set, then should the plugin extract the first image "
854
  "from the post?"
855
  msgstr ""
856
 
857
- #: admin/main-view.php:602
858
  msgid ""
859
  "This could slow down the loading of your page if the first image in the "
860
  "related posts is large in file-size"
861
  msgstr ""
862
 
863
- #: admin/main-view.php:605
864
  msgid "Use default thumbnail?"
865
  msgstr ""
866
 
867
- #: admin/main-view.php:608
868
  msgid ""
869
  "If checked, when no thumbnail is found, show a default one from the URL "
870
  "below. If not checked and no thumbnail is found, no image will be shown."
871
  msgstr ""
872
 
873
- #: admin/main-view.php:611
874
  msgid "Default thumbnail:"
875
  msgstr ""
876
 
877
- #: admin/main-view.php:615
878
  msgid ""
879
  "The plugin will first check if the post contains a thumbnail. If it doesn't "
880
  "then it will check the meta field. If this is not available, then it will "
881
  "show the default image as specified above"
882
  msgstr ""
883
 
884
- #: admin/main-view.php:654
885
  msgid "Style of the related posts:"
886
  msgstr ""
887
 
888
- #: admin/main-view.php:657
889
  msgid "No styles"
890
  msgstr ""
891
 
892
- #: admin/main-view.php:659
893
  msgid "Select this option if you plan to add your own styles"
894
  msgstr ""
895
 
896
- #: admin/main-view.php:664
897
  msgid "Left Thumbnails"
898
  msgstr ""
899
 
900
- #: admin/main-view.php:667
901
  msgid ""
902
  "Enabling this option will set the post thumbnail to be before text. "
903
  "Disabling this option will not revert any settings."
904
  msgstr ""
905
 
906
- #: admin/main-view.php:668
907
  #, php-format
908
  msgid ""
909
  "You can view the default style at <a href=\"%1$s\" target=\"_blank\">%1$s</a>"
910
  msgstr ""
911
 
912
- #: admin/main-view.php:672
913
  msgid "Text only"
914
  msgstr ""
915
 
916
- #: admin/main-view.php:674
917
  msgid ""
918
  "Enabling this option will disable thumbnails and no longer include the "
919
  "default style sheet included in the plugin."
920
  msgstr ""
921
 
922
- #: admin/main-view.php:690
923
  msgid "Custom CSS to add to header:"
924
  msgstr ""
925
 
926
- #: admin/main-view.php:695
927
  msgid ""
928
  "Do not include <code>style</code> tags. Check out the <a href=\"http://"
929
  "wordpress.org/extend/plugins/top-10/faq/\" target=\"_blank\">FAQ</a> for "
930
  "available CSS classes to style."
931
  msgstr ""
932
 
933
- #: admin/main-view.php:715
934
  #, fuzzy
935
  msgid "Default Options"
936
  msgstr "roghanna"
937
 
938
- #: admin/main-view.php:715
939
  msgid "Do you want to set options to Default?"
940
  msgstr "Ar mhaith leat roghanna atá leagtha chun Réamhshocrú?"
941
 
942
- #: admin/main-view.php:739
943
  msgid ""
944
  "Over time the Daily Top 10 database grows in size, which reduces the "
945
  "performance of the plugin. Cleaning the database at regular intervals could "
@@ -947,177 +958,177 @@ msgid ""
947
  "will automatically delete entries older than 90 days."
948
  msgstr ""
949
 
950
- #: admin/main-view.php:740
951
  msgid ""
952
  "Note: When scheduled maintenance is enabled, WordPress will run the cron job "
953
  "everytime the job is rescheduled (i.e. you change the settings below)."
954
  msgstr ""
955
 
956
- #: admin/main-view.php:743
957
  msgid "Enable scheduled maintenance of daily tables:"
958
  msgstr ""
959
 
960
- #: admin/main-view.php:747
961
  msgid "Time to run maintenance"
962
  msgstr ""
963
 
964
- #: admin/main-view.php:748
965
  msgid "hrs"
966
  msgstr ""
967
 
968
- #: admin/main-view.php:748
969
  msgid "min"
970
  msgstr ""
971
 
972
- #: admin/main-view.php:750
973
  msgid "How often should the maintenance be run:"
974
  msgstr ""
975
 
976
- #: admin/main-view.php:758
977
  msgid "Weekly"
978
  msgstr ""
979
 
980
- #: admin/main-view.php:762
981
  msgid "Fortnightly"
982
  msgstr ""
983
 
984
- #: admin/main-view.php:766
985
  msgid "Monthly"
986
  msgstr ""
987
 
988
- #: admin/main-view.php:775
989
  msgid "The cron job has been scheduled. Maintenance will run"
990
  msgstr ""
991
 
992
- #: admin/main-view.php:780
993
  msgid "The cron job is missing. Please resave this page to add the job"
994
  msgstr ""
995
 
996
- #: admin/main-view.php:785
997
  msgid "Maintenance is turned off"
998
  msgstr ""
999
 
1000
- #: admin/main-view.php:791
1001
  msgid "Save Maintenance Options"
1002
  msgstr ""
1003
 
1004
- #: admin/main-view.php:799
1005
  msgid "Reset count and other tools"
1006
  msgstr ""
1007
 
1008
- #: admin/main-view.php:802
1009
  msgid ""
1010
  "This cannot be reversed. Make sure that your database has been backed up "
1011
  "before proceeding"
1012
  msgstr ""
1013
 
1014
- #: admin/main-view.php:805
1015
  #, fuzzy
1016
  msgid "Reset Popular Posts"
1017
  msgstr "Poist Coitianta"
1018
 
1019
- #: admin/main-view.php:805
1020
  msgid "Are you sure you want to reset the popular posts?"
1021
  msgstr ""
1022
 
1023
- #: admin/main-view.php:806
1024
  #, fuzzy
1025
  msgid "Reset Daily Popular Posts"
1026
  msgstr "Poist Coitianta Laethúil"
1027
 
1028
- #: admin/main-view.php:806
1029
  msgid "Are you sure you want to reset the daily popular posts?"
1030
  msgstr ""
1031
 
1032
- #: admin/main-view.php:809
1033
  msgid "This will merge post counts for posts with table entries of 0 and 1"
1034
  msgstr ""
1035
 
1036
- #: admin/main-view.php:812
1037
  msgid "Merge blog ID 0 and 1 post counts"
1038
  msgstr ""
1039
 
1040
- #: admin/main-view.php:812
1041
  msgid "This will merge post counts for blog IDs 0 and 1. Proceed?"
1042
  msgstr ""
1043
 
1044
- #: admin/main-view.php:815
1045
  msgid ""
1046
  "In older versions, the plugin created entries with duplicate post IDs. "
1047
  "Clicking the button below will merge these duplicate IDs"
1048
  msgstr ""
1049
 
1050
- #: admin/main-view.php:818
1051
  msgid "Merge duplicates across blog IDs"
1052
  msgstr ""
1053
 
1054
- #: admin/main-view.php:818
1055
  msgid "This will delete the duplicate entries in the tables. Proceed?"
1056
  msgstr ""
1057
 
1058
- #: admin/main-view.php:835
1059
  msgid "WordPress Multisite: Migrate Top 10 v1.x counts to 2.x"
1060
  msgstr ""
1061
 
1062
- #: admin/main-view.php:838
1063
  msgid ""
1064
  "If you've been using Top 10 v1.x on multisite, you would have needed to "
1065
  "activate the plugin independently for each site. This would have resulted in "
1066
  "two tables being created for each site in the network."
1067
  msgstr ""
1068
 
1069
- #: admin/main-view.php:839
1070
  msgid ""
1071
  "Top 10 v2.x onwards uses only a single table to record the count, keeping "
1072
  "your database clean. You can use this tool to import the recorded counts "
1073
  "from v1.x tables to the new v2.x table format."
1074
  msgstr ""
1075
 
1076
- #: admin/main-view.php:842
1077
  msgid ""
1078
  "If you do not see any tables below, then it means that either all data has "
1079
  "already been imported or no relevant information has been found."
1080
  msgstr ""
1081
 
1082
- #: admin/main-view.php:845
1083
  msgid ""
1084
  "After running the importer, please verify that all the counts have been "
1085
  "successfully imported. Only then should you delete any old tables!"
1086
  msgstr ""
1087
 
1088
- #: admin/main-view.php:879
1089
  msgid "Blog ID"
1090
  msgstr ""
1091
 
1092
- #: admin/main-view.php:882
1093
  msgid "Status"
1094
  msgstr ""
1095
 
1096
- #: admin/main-view.php:885
1097
  msgid "Select to import"
1098
  msgstr ""
1099
 
1100
- #: admin/main-view.php:895
1101
  msgid "Blog #"
1102
  msgstr ""
1103
 
1104
- #: admin/main-view.php:905
1105
  msgid "Not imported"
1106
  msgstr ""
1107
 
1108
- #: admin/main-view.php:909
1109
  msgid "Imported"
1110
  msgstr ""
1111
 
1112
- #: admin/main-view.php:930
1113
  msgid "Begin import"
1114
  msgstr ""
1115
 
1116
- #: admin/main-view.php:931
1117
  msgid "Delete selected tables"
1118
  msgstr ""
1119
 
1120
- #: admin/main-view.php:932
1121
  msgid "Delete all imported tables"
1122
  msgstr ""
1123
 
@@ -1195,15 +1206,15 @@ msgstr ""
1195
  msgid "Post types to include:"
1196
  msgstr ""
1197
 
1198
- #: includes/media.php:63
1199
  msgid "thumb_timthumb argument has been deprecated"
1200
  msgstr ""
1201
 
1202
- #: includes/media.php:67
1203
  msgid "thumb_timthumb_q argument has been deprecated"
1204
  msgstr ""
1205
 
1206
- #: includes/media.php:71
1207
  msgid "filter argument has been deprecated"
1208
  msgstr ""
1209
 
@@ -1211,43 +1222,43 @@ msgstr ""
1211
  msgid " by "
1212
  msgstr ""
1213
 
1214
- #: top-10.php:157
1215
  msgid ""
1216
  "posts_only argument has been deprecated. Use get_tptn_pop_posts() to get the "
1217
  "posts only."
1218
  msgstr ""
1219
 
1220
- #: top-10.php:264
1221
  #, php-format
1222
  msgid "Popular posts by <a href=\"%s\" rel=\"nofollow\" %s>Top 10 plugin</a>"
1223
  msgstr ""
1224
 
1225
- #: top-10.php:610
1226
  msgid "<h3>Popular Posts</h3>"
1227
  msgstr "<h3>Poist Coitianta </ h3>"
1228
 
1229
- #: top-10.php:611
1230
  msgid "<h3>Daily Popular</h3>"
1231
  msgstr "<h3> laethúil Coitianta </ h3>"
1232
 
1233
- #: top-10.php:612
1234
  #, fuzzy
1235
  msgid "No top posts yet"
1236
  msgstr "Teideal an post tóir:"
1237
 
1238
- #: top-10.php:1093
1239
  msgid "Once Weekly"
1240
  msgstr ""
1241
 
1242
- #: top-10.php:1097
1243
  msgid "Once Fortnightly"
1244
  msgstr ""
1245
 
1246
- #: top-10.php:1101
1247
  msgid "Once Monthly"
1248
  msgstr ""
1249
 
1250
- #: top-10.php:1105
1251
  msgid "Once quarterly"
1252
  msgstr ""
1253
 
2
  msgstr ""
3
  "Project-Id-Version: Тоp 10\n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2015-09-27 13:35+0100\n"
6
  "PO-Revision-Date: \n"
7
  "Last-Translator: Ajay D'Souza <me@ajaydsouza.com>\n"
8
  "Language-Team: Lets Be Famous <ray.s@letsbefamous.com>\n"
44
  msgid "Popular posts by <a href=\"%s\" target=\"_blank\">Top 10 plugin</a>"
45
  msgstr ""
46
 
47
+ #: admin/admin-dashboard.php:109 admin/class-stats.php:438
48
  #: admin/deprecated.php:41
49
  msgid "Popular Posts"
50
  msgstr "Poist Coitianta"
154
  msgid "Scheduled maintenance disabled"
155
  msgstr ""
156
 
157
+ #: admin/admin.php:299
158
  msgid "Counts from selected sites have been imported."
159
  msgstr ""
160
 
161
+ #: admin/admin.php:324
162
  msgid ""
163
  "Selected tables have been deleted. Note that only imported tables have been "
164
  "deleted."
165
  msgstr ""
166
 
167
+ #: admin/admin.php:341 admin/admin.php:361 admin/admin.php:385
168
  #: admin/main-view.php:55 admin/main-view.php:174 admin/main-view.php:279
169
+ #: admin/main-view.php:488 admin/main-view.php:651 admin/main-view.php:747
170
+ #: admin/main-view.php:811 admin/main-view.php:846
171
  msgid "Click to toggle"
172
  msgstr ""
173
 
174
+ #: admin/admin.php:342
175
  #, fuzzy
176
  msgid "Support the development"
177
  msgstr "Tacú le Forbairt"
178
 
179
+ #: admin/admin.php:349
180
  msgid "Donation for Top 10"
181
  msgstr ""
182
 
183
+ #: admin/admin.php:351
184
  msgid "Enter amount in USD:"
185
  msgstr ""
186
 
187
+ #: admin/admin.php:355
188
  msgid "Send your donation to the author of Top 10"
189
  msgstr ""
190
 
191
+ #: admin/admin.php:362
192
  msgid "Follow me"
193
  msgstr ""
194
 
195
+ #: admin/admin.php:386
196
  msgid "Quick links"
197
  msgstr ""
198
 
199
+ #: admin/admin.php:390
200
  msgid "Top 10 plugin page"
201
  msgstr ""
202
 
203
+ #: admin/admin.php:391
204
  msgid "Top 10 Github page"
205
  msgstr ""
206
 
207
+ #: admin/admin.php:392
208
  msgid "Other plugins"
209
  msgstr ""
210
 
211
+ #: admin/admin.php:393
212
  msgid "FAQ"
213
  msgstr ""
214
 
215
+ #: admin/admin.php:394 admin/admin.php:564
216
  msgid "Support"
217
  msgstr ""
218
 
219
+ #: admin/admin.php:395
220
  msgid "Reviews"
221
  msgstr ""
222
 
223
+ #: admin/admin.php:396
224
  msgid "Ajay's blog"
225
  msgstr ""
226
 
227
+ #: admin/admin.php:413 admin/admin.php:416 admin/main-view.php:22
228
  #, fuzzy
229
  msgid "Top 10 Settings"
230
  msgstr "Top 10"
231
 
232
+ #: admin/admin.php:413
233
  msgid "Top 10"
234
  msgstr "Top 10"
235
 
236
+ #: admin/admin.php:421
237
  msgid "View Popular Posts"
238
  msgstr ""
239
 
240
+ #: admin/admin.php:541
241
  msgid "Settings"
242
  msgstr ""
243
 
244
+ #: admin/admin.php:565
245
  msgid "Donate"
246
  msgstr ""
247
 
248
+ #: admin/cache.php:19
249
  msgid "Top 10 cache has been cleared"
250
  msgstr ""
251
 
252
+ #: admin/class-stats.php:36
253
  msgid "popular_post"
254
  msgstr ""
255
 
256
+ #: admin/class-stats.php:37
257
  msgid "popular_posts"
258
  msgstr ""
259
 
260
+ #: admin/class-stats.php:160
261
  msgid "No popular posts available."
262
  msgstr ""
263
 
264
+ #: admin/class-stats.php:209
265
  msgid "View"
266
  msgstr ""
267
 
268
+ #: admin/class-stats.php:210
269
  msgid "Edit"
270
  msgstr ""
271
 
272
+ #: admin/class-stats.php:211
273
  msgid "Delete"
274
  msgstr ""
275
 
276
+ #: admin/class-stats.php:233
277
  msgid "Y/m/d g:i:s a"
278
  msgstr ""
279
 
280
+ #: admin/class-stats.php:240
281
  #, php-format
282
  msgid "%s ago"
283
  msgstr ""
284
 
285
+ #: admin/class-stats.php:242
286
  msgid "Y/m/d"
287
  msgstr ""
288
 
289
+ #: admin/class-stats.php:276 includes/class-top-10-widget.php:71
290
  msgid "Title"
291
  msgstr ""
292
 
293
+ #: admin/class-stats.php:277
294
  msgid "Total visits"
295
  msgstr ""
296
 
297
+ #: admin/class-stats.php:278
298
  msgid "Daily visits"
299
  msgstr ""
300
 
301
+ #: admin/class-stats.php:279
302
  msgid "Post type"
303
  msgstr ""
304
 
305
+ #: admin/class-stats.php:280
306
  msgid "Author"
307
  msgstr ""
308
 
309
+ #: admin/class-stats.php:281
310
  msgid "Date"
311
  msgstr ""
312
 
313
+ #: admin/class-stats.php:315
314
  msgid "Delete Count"
315
  msgstr ""
316
 
317
+ #: admin/class-stats.php:355
318
  msgid "Are you sure you want to do this"
319
  msgstr ""
320
 
330
  msgid "Popular post list options"
331
  msgstr ""
332
 
333
+ #: admin/main-view.php:37 admin/main-view.php:489
334
  #: includes/class-top-10-widget.php:115
335
  msgid "Thumbnail options"
336
  msgstr ""
337
 
338
+ #: admin/main-view.php:38 admin/main-view.php:652
339
  msgid "Styles"
340
  msgstr ""
341
 
342
+ #: admin/main-view.php:39 admin/main-view.php:748
343
  msgid "Maintenance"
344
  msgstr ""
345
 
351
  msgid "Overall"
352
  msgstr ""
353
 
354
+ #: admin/main-view.php:83 admin/main-view.php:767
355
  msgid "Daily"
356
  msgstr ""
357
 
471
  "Tá nasc chuig an breiseán seo a leanas mar mhír liosta breise le liosta "
472
  "de phoist tóir. Gan éigeantach, ach a bhuíochas má dhéanann tú é!"
473
 
474
+ #: admin/main-view.php:156 admin/main-view.php:261 admin/main-view.php:470
475
+ #: admin/main-view.php:633 admin/main-view.php:727
476
  #, fuzzy
477
  msgid "Save Options"
478
  msgstr "roghanna"
640
  msgid "List of post or page IDs to exclude from the results:"
641
  msgstr ""
642
 
643
+ #: admin/main-view.php:327 admin/main-view.php:438
644
  msgid "Enter comma separated list of IDs. e.g. 188,320,500"
645
  msgstr ""
646
 
655
  "options"
656
  msgstr ""
657
 
658
+ #: admin/main-view.php:350
659
+ msgid "Excluded category IDs are:"
660
+ msgstr ""
661
+
662
+ #: admin/main-view.php:356
663
+ msgid ""
664
+ "These might differ from the IDs visible in the Categories page which use the "
665
+ "<code>term_id</code>. Top 10 uses the <code>term_taxonomy_id</code> which is "
666
+ "unique to this taxonomy."
667
+ msgstr ""
668
+
669
+ #: admin/main-view.php:362
670
  msgid "Title of popular posts:"
671
  msgstr ""
672
 
673
+ #: admin/main-view.php:368
674
  msgid "Title of daily popular posts:"
675
  msgstr ""
676
 
677
+ #: admin/main-view.php:374
678
  msgid "When there are no posts, what should be shown?"
679
  msgstr ""
680
 
681
+ #: admin/main-view.php:378
682
  msgid "Blank Output"
683
  msgstr ""
684
 
685
+ #: admin/main-view.php:382
686
  msgid "Display:"
687
  msgstr ""
688
 
689
+ #: admin/main-view.php:387
690
  msgid "Show post excerpt in list?"
691
  msgstr ""
692
 
693
+ #: admin/main-view.php:393
694
  msgid "Length of excerpt (in words):"
695
  msgstr ""
696
 
697
+ #: admin/main-view.php:399
698
  msgid "Show post author in list?"
699
  msgstr ""
700
 
701
+ #: admin/main-view.php:405
702
  msgid "Show post date in list?"
703
  msgstr ""
704
 
705
+ #: admin/main-view.php:411
706
  msgid "Limit post title length (in characters)"
707
  msgstr ""
708
 
709
+ #: admin/main-view.php:417
710
  msgid "Show view count in list?"
711
  msgstr ""
712
 
713
+ #: admin/main-view.php:423
714
  msgid "Open links in new window"
715
  msgstr ""
716
 
717
+ #: admin/main-view.php:429
718
  msgid "Add nofollow attribute to links in the list"
719
  msgstr ""
720
 
721
+ #: admin/main-view.php:435
722
  msgid "Exclude display of related posts on these posts / pages"
723
  msgstr ""
724
 
725
+ #: admin/main-view.php:442
726
  msgid "Customise the list HTML"
727
  msgstr ""
728
 
729
+ #: admin/main-view.php:445
730
  msgid "HTML to display before the list of posts:"
731
  msgstr ""
732
 
733
+ #: admin/main-view.php:451
734
  msgid "HTML to display before each list item:"
735
  msgstr ""
736
 
737
+ #: admin/main-view.php:457
738
  msgid "HTML to display after each list item:"
739
  msgstr ""
740
 
741
+ #: admin/main-view.php:463
742
  msgid "HTML to display after the list of posts:"
743
  msgstr ""
744
 
745
+ #: admin/main-view.php:504
746
  msgid "Location of post thumbnail:"
747
  msgstr ""
748
 
749
+ #: admin/main-view.php:508
750
  #, fuzzy
751
  msgid "Display thumbnails inline with posts, before title"
752
  msgstr "Taispeáin líon na dtuairimí ar phoist?"
753
 
754
+ #: admin/main-view.php:513
755
  #, fuzzy
756
  msgid "Display thumbnails inline with posts, after title"
757
  msgstr "Taispeáin líon na dtuairimí ar phoist?"
758
 
759
+ #: admin/main-view.php:518
760
  #, fuzzy
761
  msgid "Display only thumbnails, no text"
762
  msgstr "Taispeáin líon na dtuairimí ar phoist?"
763
 
764
+ #: admin/main-view.php:523
765
  #, fuzzy
766
  msgid "Do not display thumbnails, only text."
767
  msgstr "Taispeáin líon na dtuairimí ar phoist?"
768
 
769
+ #: admin/main-view.php:527
770
  msgid ""
771
  "This setting cannot be changed because an inbuilt style has been selected "
772
  "under the Styles section. If you would like to change this option, please "
773
  "select No styles under the Styles section."
774
  msgstr ""
775
 
776
+ #: admin/main-view.php:531
777
  msgid "Thumbnail size:"
778
  msgstr ""
779
 
780
+ #: admin/main-view.php:555
781
  msgid "Custom size"
782
  msgstr ""
783
 
784
+ #: admin/main-view.php:558
785
  msgid ""
786
  "You can choose from existing image sizes above or create a custom size. If "
787
  "you have chosen Custom size above, then enter the width, height and crop "
788
  "settings below. For best results, use a cropped image."
789
  msgstr ""
790
 
791
+ #: admin/main-view.php:559
792
  msgid ""
793
  "If you change the width and/or height below, existing images will not be "
794
  "automatically resized."
795
  msgstr ""
796
 
797
+ #: admin/main-view.php:560
798
  #, php-format
799
  msgid ""
800
  "I recommend using <a href='%s' class='thickbox'>OTF Regenerate Thumbnails</"
802
  "all image sizes."
803
  msgstr ""
804
 
805
+ #: admin/main-view.php:563
806
  msgid ""
807
  "If you're using the Left Thumbs style below then the thumbnail width and "
808
  "height that you set here will supersede the widget. Alternatively, choose "
810
  "strong> option below"
811
  msgstr ""
812
 
813
+ #: admin/main-view.php:566
814
  msgid "Width of custom thumbnail:"
815
  msgstr ""
816
 
817
+ #: admin/main-view.php:571
818
  msgid "Height of custom thumbnail"
819
  msgstr ""
820
 
821
+ #: admin/main-view.php:576
822
  msgid "Crop mode:"
823
  msgstr ""
824
 
825
+ #: admin/main-view.php:580
826
  msgid ""
827
  "By default, thumbnails will be proportionately cropped. Check this box to "
828
  "hard crop the thumbnails."
829
  msgstr ""
830
 
831
+ #: admin/main-view.php:581
832
  #, php-format
833
  msgid "<a href='%s' target='_blank'>Difference between soft and hard crop</a>"
834
  msgstr ""
835
 
836
+ #: admin/main-view.php:585
837
  msgid "Image size attributes:"
838
  msgstr ""
839
 
840
+ #: admin/main-view.php:589
841
  msgid "Style attributes are used for width and height."
842
  msgstr ""
843
 
844
+ #: admin/main-view.php:595
845
  msgid "HTML width and height attributes are used for width and height."
846
  msgstr ""
847
 
848
+ #: admin/main-view.php:601
849
  msgid "No HTML or Style attributes set for width and height"
850
  msgstr ""
851
 
852
+ #: admin/main-view.php:606
853
  msgid "Post thumbnail meta field name:"
854
  msgstr ""
855
 
856
+ #: admin/main-view.php:609
857
  msgid ""
858
  "The value of this field should contain the image source and is set in the "
859
  "<em>Add New Post</em> screen"
860
  msgstr ""
861
 
862
+ #: admin/main-view.php:612
863
  msgid ""
864
  "If the postmeta is not set, then should the plugin extract the first image "
865
  "from the post?"
866
  msgstr ""
867
 
868
+ #: admin/main-view.php:615
869
  msgid ""
870
  "This could slow down the loading of your page if the first image in the "
871
  "related posts is large in file-size"
872
  msgstr ""
873
 
874
+ #: admin/main-view.php:618
875
  msgid "Use default thumbnail?"
876
  msgstr ""
877
 
878
+ #: admin/main-view.php:621
879
  msgid ""
880
  "If checked, when no thumbnail is found, show a default one from the URL "
881
  "below. If not checked and no thumbnail is found, no image will be shown."
882
  msgstr ""
883
 
884
+ #: admin/main-view.php:624
885
  msgid "Default thumbnail:"
886
  msgstr ""
887
 
888
+ #: admin/main-view.php:628
889
  msgid ""
890
  "The plugin will first check if the post contains a thumbnail. If it doesn't "
891
  "then it will check the meta field. If this is not available, then it will "
892
  "show the default image as specified above"
893
  msgstr ""
894
 
895
+ #: admin/main-view.php:667
896
  msgid "Style of the related posts:"
897
  msgstr ""
898
 
899
+ #: admin/main-view.php:670
900
  msgid "No styles"
901
  msgstr ""
902
 
903
+ #: admin/main-view.php:672
904
  msgid "Select this option if you plan to add your own styles"
905
  msgstr ""
906
 
907
+ #: admin/main-view.php:677
908
  msgid "Left Thumbnails"
909
  msgstr ""
910
 
911
+ #: admin/main-view.php:680
912
  msgid ""
913
  "Enabling this option will set the post thumbnail to be before text. "
914
  "Disabling this option will not revert any settings."
915
  msgstr ""
916
 
917
+ #: admin/main-view.php:681
918
  #, php-format
919
  msgid ""
920
  "You can view the default style at <a href=\"%1$s\" target=\"_blank\">%1$s</a>"
921
  msgstr ""
922
 
923
+ #: admin/main-view.php:685
924
  msgid "Text only"
925
  msgstr ""
926
 
927
+ #: admin/main-view.php:687
928
  msgid ""
929
  "Enabling this option will disable thumbnails and no longer include the "
930
  "default style sheet included in the plugin."
931
  msgstr ""
932
 
933
+ #: admin/main-view.php:703
934
  msgid "Custom CSS to add to header:"
935
  msgstr ""
936
 
937
+ #: admin/main-view.php:708
938
  msgid ""
939
  "Do not include <code>style</code> tags. Check out the <a href=\"http://"
940
  "wordpress.org/extend/plugins/top-10/faq/\" target=\"_blank\">FAQ</a> for "
941
  "available CSS classes to style."
942
  msgstr ""
943
 
944
+ #: admin/main-view.php:728
945
  #, fuzzy
946
  msgid "Default Options"
947
  msgstr "roghanna"
948
 
949
+ #: admin/main-view.php:728
950
  msgid "Do you want to set options to Default?"
951
  msgstr "Ar mhaith leat roghanna atá leagtha chun Réamhshocrú?"
952
 
953
+ #: admin/main-view.php:752
954
  msgid ""
955
  "Over time the Daily Top 10 database grows in size, which reduces the "
956
  "performance of the plugin. Cleaning the database at regular intervals could "
958
  "will automatically delete entries older than 90 days."
959
  msgstr ""
960
 
961
+ #: admin/main-view.php:753
962
  msgid ""
963
  "Note: When scheduled maintenance is enabled, WordPress will run the cron job "
964
  "everytime the job is rescheduled (i.e. you change the settings below)."
965
  msgstr ""
966
 
967
+ #: admin/main-view.php:756
968
  msgid "Enable scheduled maintenance of daily tables:"
969
  msgstr ""
970
 
971
+ #: admin/main-view.php:760
972
  msgid "Time to run maintenance"
973
  msgstr ""
974
 
975
+ #: admin/main-view.php:761
976
  msgid "hrs"
977
  msgstr ""
978
 
979
+ #: admin/main-view.php:761
980
  msgid "min"
981
  msgstr ""
982
 
983
+ #: admin/main-view.php:763
984
  msgid "How often should the maintenance be run:"
985
  msgstr ""
986
 
987
+ #: admin/main-view.php:771
988
  msgid "Weekly"
989
  msgstr ""
990
 
991
+ #: admin/main-view.php:775
992
  msgid "Fortnightly"
993
  msgstr ""
994
 
995
+ #: admin/main-view.php:779
996
  msgid "Monthly"
997
  msgstr ""
998
 
999
+ #: admin/main-view.php:788
1000
  msgid "The cron job has been scheduled. Maintenance will run"
1001
  msgstr ""
1002
 
1003
+ #: admin/main-view.php:793
1004
  msgid "The cron job is missing. Please resave this page to add the job"
1005
  msgstr ""
1006
 
1007
+ #: admin/main-view.php:798
1008
  msgid "Maintenance is turned off"
1009
  msgstr ""
1010
 
1011
+ #: admin/main-view.php:804
1012
  msgid "Save Maintenance Options"
1013
  msgstr ""
1014
 
1015
+ #: admin/main-view.php:812
1016
  msgid "Reset count and other tools"
1017
  msgstr ""
1018
 
1019
+ #: admin/main-view.php:815
1020
  msgid ""
1021
  "This cannot be reversed. Make sure that your database has been backed up "
1022
  "before proceeding"
1023
  msgstr ""
1024
 
1025
+ #: admin/main-view.php:818
1026
  #, fuzzy
1027
  msgid "Reset Popular Posts"
1028
  msgstr "Poist Coitianta"
1029
 
1030
+ #: admin/main-view.php:818
1031
  msgid "Are you sure you want to reset the popular posts?"
1032
  msgstr ""
1033
 
1034
+ #: admin/main-view.php:819
1035
  #, fuzzy
1036
  msgid "Reset Daily Popular Posts"
1037
  msgstr "Poist Coitianta Laethúil"
1038
 
1039
+ #: admin/main-view.php:819
1040
  msgid "Are you sure you want to reset the daily popular posts?"
1041
  msgstr ""
1042
 
1043
+ #: admin/main-view.php:822
1044
  msgid "This will merge post counts for posts with table entries of 0 and 1"
1045
  msgstr ""
1046
 
1047
+ #: admin/main-view.php:825
1048
  msgid "Merge blog ID 0 and 1 post counts"
1049
  msgstr ""
1050
 
1051
+ #: admin/main-view.php:825
1052
  msgid "This will merge post counts for blog IDs 0 and 1. Proceed?"
1053
  msgstr ""
1054
 
1055
+ #: admin/main-view.php:828
1056
  msgid ""
1057
  "In older versions, the plugin created entries with duplicate post IDs. "
1058
  "Clicking the button below will merge these duplicate IDs"
1059
  msgstr ""
1060
 
1061
+ #: admin/main-view.php:831
1062
  msgid "Merge duplicates across blog IDs"
1063
  msgstr ""
1064
 
1065
+ #: admin/main-view.php:831
1066
  msgid "This will delete the duplicate entries in the tables. Proceed?"
1067
  msgstr ""
1068
 
1069
+ #: admin/main-view.php:847
1070
  msgid "WordPress Multisite: Migrate Top 10 v1.x counts to 2.x"
1071
  msgstr ""
1072
 
1073
+ #: admin/main-view.php:850
1074
  msgid ""
1075
  "If you've been using Top 10 v1.x on multisite, you would have needed to "
1076
  "activate the plugin independently for each site. This would have resulted in "
1077
  "two tables being created for each site in the network."
1078
  msgstr ""
1079
 
1080
+ #: admin/main-view.php:851
1081
  msgid ""
1082
  "Top 10 v2.x onwards uses only a single table to record the count, keeping "
1083
  "your database clean. You can use this tool to import the recorded counts "
1084
  "from v1.x tables to the new v2.x table format."
1085
  msgstr ""
1086
 
1087
+ #: admin/main-view.php:854
1088
  msgid ""
1089
  "If you do not see any tables below, then it means that either all data has "
1090
  "already been imported or no relevant information has been found."
1091
  msgstr ""
1092
 
1093
+ #: admin/main-view.php:857
1094
  msgid ""
1095
  "After running the importer, please verify that all the counts have been "
1096
  "successfully imported. Only then should you delete any old tables!"
1097
  msgstr ""
1098
 
1099
+ #: admin/main-view.php:891
1100
  msgid "Blog ID"
1101
  msgstr ""
1102
 
1103
+ #: admin/main-view.php:894
1104
  msgid "Status"
1105
  msgstr ""
1106
 
1107
+ #: admin/main-view.php:897
1108
  msgid "Select to import"
1109
  msgstr ""
1110
 
1111
+ #: admin/main-view.php:907
1112
  msgid "Blog #"
1113
  msgstr ""
1114
 
1115
+ #: admin/main-view.php:917
1116
  msgid "Not imported"
1117
  msgstr ""
1118
 
1119
+ #: admin/main-view.php:921
1120
  msgid "Imported"
1121
  msgstr ""
1122
 
1123
+ #: admin/main-view.php:942
1124
  msgid "Begin import"
1125
  msgstr ""
1126
 
1127
+ #: admin/main-view.php:943
1128
  msgid "Delete selected tables"
1129
  msgstr ""
1130
 
1131
+ #: admin/main-view.php:944
1132
  msgid "Delete all imported tables"
1133
  msgstr ""
1134
 
1206
  msgid "Post types to include:"
1207
  msgstr ""
1208
 
1209
+ #: includes/media.php:62
1210
  msgid "thumb_timthumb argument has been deprecated"
1211
  msgstr ""
1212
 
1213
+ #: includes/media.php:66
1214
  msgid "thumb_timthumb_q argument has been deprecated"
1215
  msgstr ""
1216
 
1217
+ #: includes/media.php:70
1218
  msgid "filter argument has been deprecated"
1219
  msgstr ""
1220
 
1222
  msgid " by "
1223
  msgstr ""
1224
 
1225
+ #: top-10.php:163
1226
  msgid ""
1227
  "posts_only argument has been deprecated. Use get_tptn_pop_posts() to get the "
1228
  "posts only."
1229
  msgstr ""
1230
 
1231
+ #: top-10.php:300
1232
  #, php-format
1233
  msgid "Popular posts by <a href=\"%s\" rel=\"nofollow\" %s>Top 10 plugin</a>"
1234
  msgstr ""
1235
 
1236
+ #: top-10.php:641
1237
  msgid "<h3>Popular Posts</h3>"
1238
  msgstr "<h3>Poist Coitianta </ h3>"
1239
 
1240
+ #: top-10.php:642
1241
  msgid "<h3>Daily Popular</h3>"
1242
  msgstr "<h3> laethúil Coitianta </ h3>"
1243
 
1244
+ #: top-10.php:643
1245
  #, fuzzy
1246
  msgid "No top posts yet"
1247
  msgstr "Teideal an post tóir:"
1248
 
1249
+ #: top-10.php:1124
1250
  msgid "Once Weekly"
1251
  msgstr ""
1252
 
1253
+ #: top-10.php:1128
1254
  msgid "Once Fortnightly"
1255
  msgstr ""
1256
 
1257
+ #: top-10.php:1132
1258
  msgid "Once Monthly"
1259
  msgstr ""
1260
 
1261
+ #: top-10.php:1136
1262
  msgid "Once quarterly"
1263
  msgstr ""
1264
 
languages/{tptn-hi_IN.mo → top-10-hi_IN.mo} RENAMED
Binary file
languages/{tptn-hi_IN.po → top-10-hi_IN.po} RENAMED
@@ -2,7 +2,7 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Тоp 10\n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2015-09-13 22:08+0100\n"
6
  "PO-Revision-Date: \n"
7
  "Last-Translator: Ajay D'Souza <me@ajaydsouza.com>\n"
8
  "Language-Team: Outshine Solutions <ashish@outshinesolutions.com>\n"
@@ -44,7 +44,7 @@ msgstr ""
44
  msgid "Popular posts by <a href=\"%s\" target=\"_blank\">Top 10 plugin</a>"
45
  msgstr ""
46
 
47
- #: admin/admin-dashboard.php:109 admin/class-stats.php:440 admin/deprecated.php:41
48
  msgid "Popular Posts"
49
  msgstr "लोकप्रिय पोस्ट्स "
50
 
@@ -149,165 +149,165 @@ msgstr ""
149
  msgid "Scheduled maintenance disabled"
150
  msgstr ""
151
 
152
- #: admin/admin.php:300
153
  msgid "Counts from selected sites have been imported."
154
  msgstr ""
155
 
156
- #: admin/admin.php:325
157
  msgid "Selected tables have been deleted. Note that only imported tables have been deleted."
158
  msgstr ""
159
 
160
- #: admin/admin.php:342 admin/admin.php:362 admin/admin.php:372 admin/main-view.php:55
161
- #: admin/main-view.php:174 admin/main-view.php:279 admin/main-view.php:477
162
- #: admin/main-view.php:638 admin/main-view.php:734 admin/main-view.php:798
163
- #: admin/main-view.php:834
164
  msgid "Click to toggle"
165
  msgstr ""
166
 
167
- #: admin/admin.php:343
168
  #, fuzzy
169
  msgid "Support the development"
170
  msgstr "समर्थन विकास"
171
 
172
- #: admin/admin.php:350
173
  msgid "Donation for Top 10"
174
  msgstr ""
175
 
176
- #: admin/admin.php:352
177
  msgid "Enter amount in USD:"
178
  msgstr ""
179
 
180
- #: admin/admin.php:356
181
  msgid "Send your donation to the author of Top 10"
182
  msgstr ""
183
 
184
- #: admin/admin.php:363
185
  msgid "Follow me"
186
  msgstr ""
187
 
188
- #: admin/admin.php:373
189
  msgid "Quick links"
190
  msgstr ""
191
 
192
- #: admin/admin.php:377
193
  msgid "Top 10 plugin page"
194
  msgstr ""
195
 
196
- #: admin/admin.php:378
197
  msgid "Top 10 Github page"
198
  msgstr ""
199
 
200
- #: admin/admin.php:379
201
  msgid "Other plugins"
202
  msgstr ""
203
 
204
- #: admin/admin.php:380
205
  msgid "FAQ"
206
  msgstr ""
207
 
208
- #: admin/admin.php:381 admin/admin.php:551
209
  msgid "Support"
210
  msgstr ""
211
 
212
- #: admin/admin.php:382
213
  msgid "Reviews"
214
  msgstr ""
215
 
216
- #: admin/admin.php:383
217
  msgid "Ajay's blog"
218
  msgstr ""
219
 
220
- #: admin/admin.php:400 admin/admin.php:403 admin/main-view.php:22
221
  #, fuzzy
222
  msgid "Top 10 Settings"
223
  msgstr "शीर्ष 10"
224
 
225
- #: admin/admin.php:400
226
  msgid "Top 10"
227
  msgstr "शीर्ष 10"
228
 
229
- #: admin/admin.php:408
230
  msgid "View Popular Posts"
231
  msgstr ""
232
 
233
- #: admin/admin.php:528
234
  msgid "Settings"
235
  msgstr ""
236
 
237
- #: admin/admin.php:552
238
  msgid "Donate"
239
  msgstr ""
240
 
241
- #: admin/cache.php:20
242
  msgid "Top 10 cache has been cleared"
243
  msgstr ""
244
 
245
- #: admin/class-stats.php:37
246
  msgid "popular_post"
247
  msgstr ""
248
 
249
- #: admin/class-stats.php:38
250
  msgid "popular_posts"
251
  msgstr ""
252
 
253
- #: admin/class-stats.php:162
254
  msgid "No popular posts available."
255
  msgstr ""
256
 
257
- #: admin/class-stats.php:211
258
  msgid "View"
259
  msgstr ""
260
 
261
- #: admin/class-stats.php:212
262
  msgid "Edit"
263
  msgstr ""
264
 
265
- #: admin/class-stats.php:213
266
  msgid "Delete"
267
  msgstr ""
268
 
269
- #: admin/class-stats.php:235
270
  msgid "Y/m/d g:i:s a"
271
  msgstr ""
272
 
273
- #: admin/class-stats.php:242
274
  #, php-format
275
  msgid "%s ago"
276
  msgstr ""
277
 
278
- #: admin/class-stats.php:244
279
  msgid "Y/m/d"
280
  msgstr ""
281
 
282
- #: admin/class-stats.php:278 includes/class-top-10-widget.php:71
283
  msgid "Title"
284
  msgstr ""
285
 
286
- #: admin/class-stats.php:279
287
  msgid "Total visits"
288
  msgstr ""
289
 
290
- #: admin/class-stats.php:280
291
  msgid "Daily visits"
292
  msgstr ""
293
 
294
- #: admin/class-stats.php:281
295
  msgid "Post type"
296
  msgstr ""
297
 
298
- #: admin/class-stats.php:282
299
  msgid "Author"
300
  msgstr ""
301
 
302
- #: admin/class-stats.php:283
303
  msgid "Date"
304
  msgstr ""
305
 
306
- #: admin/class-stats.php:317
307
  msgid "Delete Count"
308
  msgstr ""
309
 
310
- #: admin/class-stats.php:357
311
  msgid "Are you sure you want to do this"
312
  msgstr ""
313
 
@@ -323,15 +323,15 @@ msgstr ""
323
  msgid "Popular post list options"
324
  msgstr ""
325
 
326
- #: admin/main-view.php:37 admin/main-view.php:478 includes/class-top-10-widget.php:115
327
  msgid "Thumbnail options"
328
  msgstr ""
329
 
330
- #: admin/main-view.php:38 admin/main-view.php:639
331
  msgid "Styles"
332
  msgstr ""
333
 
334
- #: admin/main-view.php:39 admin/main-view.php:735
335
  msgid "Maintenance"
336
  msgstr ""
337
 
@@ -343,7 +343,7 @@ msgstr ""
343
  msgid "Overall"
344
  msgstr ""
345
 
346
- #: admin/main-view.php:83 admin/main-view.php:754
347
  msgid "Daily"
348
  msgstr ""
349
 
@@ -460,8 +460,8 @@ msgstr ""
460
  "प्लगइन के लिए एक कड़ी लोकप्रिय पदों की सूची के लिए एक अतिरिक्त सूची आइटम के रूप में जोड़ा है. नहीं अनिवार्य "
461
  "है, लेकिन धन्यवाद यदि तुम इसे करो!"
462
 
463
- #: admin/main-view.php:156 admin/main-view.php:261 admin/main-view.php:459
464
- #: admin/main-view.php:620 admin/main-view.php:714
465
  #, fuzzy
466
  msgid "Save Options"
467
  msgstr "विकल्प हैं:"
@@ -625,7 +625,7 @@ msgstr ""
625
  msgid "List of post or page IDs to exclude from the results:"
626
  msgstr ""
627
 
628
- #: admin/main-view.php:327 admin/main-view.php:427
629
  msgid "Enter comma separated list of IDs. e.g. 188,320,500"
630
  msgstr ""
631
 
@@ -639,284 +639,295 @@ msgid ""
639
  "start typing in the starting letters and it will prompt you with options"
640
  msgstr ""
641
 
642
- #: admin/main-view.php:351
 
 
 
 
 
 
 
 
 
 
 
643
  msgid "Title of popular posts:"
644
  msgstr ""
645
 
646
- #: admin/main-view.php:357
647
  msgid "Title of daily popular posts:"
648
  msgstr ""
649
 
650
- #: admin/main-view.php:363
651
  msgid "When there are no posts, what should be shown?"
652
  msgstr ""
653
 
654
- #: admin/main-view.php:367
655
  msgid "Blank Output"
656
  msgstr ""
657
 
658
- #: admin/main-view.php:371
659
  msgid "Display:"
660
  msgstr ""
661
 
662
- #: admin/main-view.php:376
663
  msgid "Show post excerpt in list?"
664
  msgstr ""
665
 
666
- #: admin/main-view.php:382
667
  msgid "Length of excerpt (in words):"
668
  msgstr ""
669
 
670
- #: admin/main-view.php:388
671
  msgid "Show post author in list?"
672
  msgstr ""
673
 
674
- #: admin/main-view.php:394
675
  msgid "Show post date in list?"
676
  msgstr ""
677
 
678
- #: admin/main-view.php:400
679
  msgid "Limit post title length (in characters)"
680
  msgstr ""
681
 
682
- #: admin/main-view.php:406
683
  msgid "Show view count in list?"
684
  msgstr ""
685
 
686
- #: admin/main-view.php:412
687
  msgid "Open links in new window"
688
  msgstr ""
689
 
690
- #: admin/main-view.php:418
691
  msgid "Add nofollow attribute to links in the list"
692
  msgstr ""
693
 
694
- #: admin/main-view.php:424
695
  msgid "Exclude display of related posts on these posts / pages"
696
  msgstr ""
697
 
698
- #: admin/main-view.php:431
699
  msgid "Customise the list HTML"
700
  msgstr ""
701
 
702
- #: admin/main-view.php:434
703
  msgid "HTML to display before the list of posts:"
704
  msgstr ""
705
 
706
- #: admin/main-view.php:440
707
  msgid "HTML to display before each list item:"
708
  msgstr ""
709
 
710
- #: admin/main-view.php:446
711
  msgid "HTML to display after each list item:"
712
  msgstr ""
713
 
714
- #: admin/main-view.php:452
715
  msgid "HTML to display after the list of posts:"
716
  msgstr ""
717
 
718
- #: admin/main-view.php:493
719
  msgid "Location of post thumbnail:"
720
  msgstr ""
721
 
722
- #: admin/main-view.php:497
723
  #, fuzzy
724
  msgid "Display thumbnails inline with posts, before title"
725
  msgstr "पदों पर विचारों के प्रदर्शन की संख्या?"
726
 
727
- #: admin/main-view.php:502
728
  #, fuzzy
729
  msgid "Display thumbnails inline with posts, after title"
730
  msgstr "पदों पर विचारों के प्रदर्शन की संख्या?"
731
 
732
- #: admin/main-view.php:507
733
  msgid "Display only thumbnails, no text"
734
  msgstr ""
735
 
736
- #: admin/main-view.php:512
737
  msgid "Do not display thumbnails, only text."
738
  msgstr ""
739
 
740
- #: admin/main-view.php:516
741
  msgid ""
742
  "This setting cannot be changed because an inbuilt style has been selected under the Styles "
743
  "section. If you would like to change this option, please select No styles under the Styles "
744
  "section."
745
  msgstr ""
746
 
747
- #: admin/main-view.php:520
748
  msgid "Thumbnail size:"
749
  msgstr ""
750
 
751
- #: admin/main-view.php:544
752
  msgid "Custom size"
753
  msgstr ""
754
 
755
- #: admin/main-view.php:547
756
  msgid ""
757
  "You can choose from existing image sizes above or create a custom size. If you have chosen "
758
  "Custom size above, then enter the width, height and crop settings below. For best results, "
759
  "use a cropped image."
760
  msgstr ""
761
 
762
- #: admin/main-view.php:548
763
  msgid ""
764
  "If you change the width and/or height below, existing images will not be automatically "
765
  "resized."
766
  msgstr ""
767
 
768
- #: admin/main-view.php:549
769
  #, php-format
770
  msgid ""
771
  "I recommend using <a href='%s' class='thickbox'>OTF Regenerate Thumbnails</a> or <a "
772
  "href='%s' class='thickbox'>Regenerate Thumbnails</a> to regenerate all image sizes."
773
  msgstr ""
774
 
775
- #: admin/main-view.php:552
776
  msgid ""
777
  "If you're using the Left Thumbs style below then the thumbnail width and height that you "
778
  "set here will supersede the widget. Alternatively, choose <strong>Style attributes</"
779
  "strong> under <strong>Image size attributes</strong> option below"
780
  msgstr ""
781
 
782
- #: admin/main-view.php:555
783
  msgid "Width of custom thumbnail:"
784
  msgstr ""
785
 
786
- #: admin/main-view.php:560
787
  msgid "Height of custom thumbnail"
788
  msgstr ""
789
 
790
- #: admin/main-view.php:565
791
  msgid "Crop mode:"
792
  msgstr ""
793
 
794
- #: admin/main-view.php:569
795
  msgid ""
796
  "By default, thumbnails will be proportionately cropped. Check this box to hard crop the "
797
  "thumbnails."
798
  msgstr ""
799
 
800
- #: admin/main-view.php:570
801
  #, php-format
802
  msgid "<a href='%s' target='_blank'>Difference between soft and hard crop</a>"
803
  msgstr ""
804
 
805
- #: admin/main-view.php:574
806
  msgid "Image size attributes:"
807
  msgstr ""
808
 
809
- #: admin/main-view.php:578
810
  msgid "Style attributes are used for width and height."
811
  msgstr ""
812
 
813
- #: admin/main-view.php:583
814
  msgid "HTML width and height attributes are used for width and height."
815
  msgstr ""
816
 
817
- #: admin/main-view.php:588
818
  msgid "No HTML or Style attributes set for width and height"
819
  msgstr ""
820
 
821
- #: admin/main-view.php:593
822
  msgid "Post thumbnail meta field name:"
823
  msgstr ""
824
 
825
- #: admin/main-view.php:596
826
  msgid ""
827
  "The value of this field should contain the image source and is set in the <em>Add New "
828
  "Post</em> screen"
829
  msgstr ""
830
 
831
- #: admin/main-view.php:599
832
  msgid ""
833
  "If the postmeta is not set, then should the plugin extract the first image from the post?"
834
  msgstr ""
835
 
836
- #: admin/main-view.php:602
837
  msgid ""
838
  "This could slow down the loading of your page if the first image in the related posts is "
839
  "large in file-size"
840
  msgstr ""
841
 
842
- #: admin/main-view.php:605
843
  msgid "Use default thumbnail?"
844
  msgstr ""
845
 
846
- #: admin/main-view.php:608
847
  msgid ""
848
  "If checked, when no thumbnail is found, show a default one from the URL below. If not "
849
  "checked and no thumbnail is found, no image will be shown."
850
  msgstr ""
851
 
852
- #: admin/main-view.php:611
853
  msgid "Default thumbnail:"
854
  msgstr ""
855
 
856
- #: admin/main-view.php:615
857
  msgid ""
858
  "The plugin will first check if the post contains a thumbnail. If it doesn't then it will "
859
  "check the meta field. If this is not available, then it will show the default image as "
860
  "specified above"
861
  msgstr ""
862
 
863
- #: admin/main-view.php:654
864
  msgid "Style of the related posts:"
865
  msgstr ""
866
 
867
- #: admin/main-view.php:657
868
  msgid "No styles"
869
  msgstr ""
870
 
871
- #: admin/main-view.php:659
872
  msgid "Select this option if you plan to add your own styles"
873
  msgstr ""
874
 
875
- #: admin/main-view.php:664
876
  msgid "Left Thumbnails"
877
  msgstr ""
878
 
879
- #: admin/main-view.php:667
880
  msgid ""
881
  "Enabling this option will set the post thumbnail to be before text. Disabling this option "
882
  "will not revert any settings."
883
  msgstr ""
884
 
885
- #: admin/main-view.php:668
886
  #, php-format
887
  msgid "You can view the default style at <a href=\"%1$s\" target=\"_blank\">%1$s</a>"
888
  msgstr ""
889
 
890
- #: admin/main-view.php:672
891
  msgid "Text only"
892
  msgstr ""
893
 
894
- #: admin/main-view.php:674
895
  msgid ""
896
  "Enabling this option will disable thumbnails and no longer include the default style sheet "
897
  "included in the plugin."
898
  msgstr ""
899
 
900
- #: admin/main-view.php:690
901
  msgid "Custom CSS to add to header:"
902
  msgstr ""
903
 
904
- #: admin/main-view.php:695
905
  msgid ""
906
  "Do not include <code>style</code> tags. Check out the <a href=\"http://wordpress.org/"
907
  "extend/plugins/top-10/faq/\" target=\"_blank\">FAQ</a> for available CSS classes to style."
908
  msgstr ""
909
 
910
- #: admin/main-view.php:715
911
  #, fuzzy
912
  msgid "Default Options"
913
  msgstr "विकल्प हैं:"
914
 
915
- #: admin/main-view.php:715
916
  msgid "Do you want to set options to Default?"
917
  msgstr "क्या आप डिफ़ॉल्ट विकल्प सेट करना चाहते हैं?"
918
 
919
- #: admin/main-view.php:739
920
  msgid ""
921
  "Over time the Daily Top 10 database grows in size, which reduces the performance of the "
922
  "plugin. Cleaning the database at regular intervals could improve performance, especially "
@@ -924,176 +935,176 @@ msgid ""
924
  "90 days."
925
  msgstr ""
926
 
927
- #: admin/main-view.php:740
928
  msgid ""
929
  "Note: When scheduled maintenance is enabled, WordPress will run the cron job everytime the "
930
  "job is rescheduled (i.e. you change the settings below)."
931
  msgstr ""
932
 
933
- #: admin/main-view.php:743
934
  msgid "Enable scheduled maintenance of daily tables:"
935
  msgstr ""
936
 
937
- #: admin/main-view.php:747
938
  msgid "Time to run maintenance"
939
  msgstr ""
940
 
941
- #: admin/main-view.php:748
942
  msgid "hrs"
943
  msgstr ""
944
 
945
- #: admin/main-view.php:748
946
  msgid "min"
947
  msgstr ""
948
 
949
- #: admin/main-view.php:750
950
  msgid "How often should the maintenance be run:"
951
  msgstr ""
952
 
953
- #: admin/main-view.php:758
954
  msgid "Weekly"
955
  msgstr ""
956
 
957
- #: admin/main-view.php:762
958
  msgid "Fortnightly"
959
  msgstr ""
960
 
961
- #: admin/main-view.php:766
962
  msgid "Monthly"
963
  msgstr ""
964
 
965
- #: admin/main-view.php:775
966
  msgid "The cron job has been scheduled. Maintenance will run"
967
  msgstr ""
968
 
969
- #: admin/main-view.php:780
970
  msgid "The cron job is missing. Please resave this page to add the job"
971
  msgstr ""
972
 
973
- #: admin/main-view.php:785
974
  msgid "Maintenance is turned off"
975
  msgstr ""
976
 
977
- #: admin/main-view.php:791
978
  msgid "Save Maintenance Options"
979
  msgstr ""
980
 
981
- #: admin/main-view.php:799
982
  msgid "Reset count and other tools"
983
  msgstr ""
984
 
985
- #: admin/main-view.php:802
986
  msgid ""
987
  "This cannot be reversed. Make sure that your database has been backed up before proceeding"
988
  msgstr ""
989
 
990
- #: admin/main-view.php:805
991
  #, fuzzy
992
  msgid "Reset Popular Posts"
993
  msgstr "लोकप्रिय पोस्ट्स "
994
 
995
- #: admin/main-view.php:805
996
  msgid "Are you sure you want to reset the popular posts?"
997
  msgstr ""
998
 
999
- #: admin/main-view.php:806
1000
  #, fuzzy
1001
  msgid "Reset Daily Popular Posts"
1002
  msgstr "दैनिक लोकप्रिय पोस्ट्स "
1003
 
1004
- #: admin/main-view.php:806
1005
  msgid "Are you sure you want to reset the daily popular posts?"
1006
  msgstr ""
1007
 
1008
- #: admin/main-view.php:809
1009
  msgid "This will merge post counts for posts with table entries of 0 and 1"
1010
  msgstr ""
1011
 
1012
- #: admin/main-view.php:812
1013
  msgid "Merge blog ID 0 and 1 post counts"
1014
  msgstr ""
1015
 
1016
- #: admin/main-view.php:812
1017
  msgid "This will merge post counts for blog IDs 0 and 1. Proceed?"
1018
  msgstr ""
1019
 
1020
- #: admin/main-view.php:815
1021
  msgid ""
1022
  "In older versions, the plugin created entries with duplicate post IDs. Clicking the button "
1023
  "below will merge these duplicate IDs"
1024
  msgstr ""
1025
 
1026
- #: admin/main-view.php:818
1027
  msgid "Merge duplicates across blog IDs"
1028
  msgstr ""
1029
 
1030
- #: admin/main-view.php:818
1031
  msgid "This will delete the duplicate entries in the tables. Proceed?"
1032
  msgstr ""
1033
 
1034
- #: admin/main-view.php:835
1035
  msgid "WordPress Multisite: Migrate Top 10 v1.x counts to 2.x"
1036
  msgstr ""
1037
 
1038
- #: admin/main-view.php:838
1039
  msgid ""
1040
  "If you've been using Top 10 v1.x on multisite, you would have needed to activate the "
1041
  "plugin independently for each site. This would have resulted in two tables being created "
1042
  "for each site in the network."
1043
  msgstr ""
1044
 
1045
- #: admin/main-view.php:839
1046
  msgid ""
1047
  "Top 10 v2.x onwards uses only a single table to record the count, keeping your database "
1048
  "clean. You can use this tool to import the recorded counts from v1.x tables to the new v2."
1049
  "x table format."
1050
  msgstr ""
1051
 
1052
- #: admin/main-view.php:842
1053
  msgid ""
1054
  "If you do not see any tables below, then it means that either all data has already been "
1055
  "imported or no relevant information has been found."
1056
  msgstr ""
1057
 
1058
- #: admin/main-view.php:845
1059
  msgid ""
1060
  "After running the importer, please verify that all the counts have been successfully "
1061
  "imported. Only then should you delete any old tables!"
1062
  msgstr ""
1063
 
1064
- #: admin/main-view.php:879
1065
  msgid "Blog ID"
1066
  msgstr ""
1067
 
1068
- #: admin/main-view.php:882
1069
  msgid "Status"
1070
  msgstr ""
1071
 
1072
- #: admin/main-view.php:885
1073
  msgid "Select to import"
1074
  msgstr ""
1075
 
1076
- #: admin/main-view.php:895
1077
  msgid "Blog #"
1078
  msgstr ""
1079
 
1080
- #: admin/main-view.php:905
1081
  msgid "Not imported"
1082
  msgstr ""
1083
 
1084
- #: admin/main-view.php:909
1085
  msgid "Imported"
1086
  msgstr ""
1087
 
1088
- #: admin/main-view.php:930
1089
  msgid "Begin import"
1090
  msgstr ""
1091
 
1092
- #: admin/main-view.php:931
1093
  msgid "Delete selected tables"
1094
  msgstr ""
1095
 
1096
- #: admin/main-view.php:932
1097
  msgid "Delete all imported tables"
1098
  msgstr ""
1099
 
@@ -1169,15 +1180,15 @@ msgstr ""
1169
  msgid "Post types to include:"
1170
  msgstr ""
1171
 
1172
- #: includes/media.php:63
1173
  msgid "thumb_timthumb argument has been deprecated"
1174
  msgstr ""
1175
 
1176
- #: includes/media.php:67
1177
  msgid "thumb_timthumb_q argument has been deprecated"
1178
  msgstr ""
1179
 
1180
- #: includes/media.php:71
1181
  msgid "filter argument has been deprecated"
1182
  msgstr ""
1183
 
@@ -1185,42 +1196,42 @@ msgstr ""
1185
  msgid " by "
1186
  msgstr ""
1187
 
1188
- #: top-10.php:157
1189
  msgid ""
1190
  "posts_only argument has been deprecated. Use get_tptn_pop_posts() to get the posts only."
1191
  msgstr ""
1192
 
1193
- #: top-10.php:264
1194
  #, php-format
1195
  msgid "Popular posts by <a href=\"%s\" rel=\"nofollow\" %s>Top 10 plugin</a>"
1196
  msgstr ""
1197
 
1198
- #: top-10.php:610
1199
  msgid "<h3>Popular Posts</h3>"
1200
  msgstr "<h3> लोकप्रिय पोस्ट्स </ h3>"
1201
 
1202
- #: top-10.php:611
1203
  msgid "<h3>Daily Popular</h3>"
1204
  msgstr "<h3> दैनिक लोकप्रिय </ h3>"
1205
 
1206
- #: top-10.php:612
1207
  #, fuzzy
1208
  msgid "No top posts yet"
1209
  msgstr "लोकप्रिय पदों का शीर्षक:"
1210
 
1211
- #: top-10.php:1093
1212
  msgid "Once Weekly"
1213
  msgstr ""
1214
 
1215
- #: top-10.php:1097
1216
  msgid "Once Fortnightly"
1217
  msgstr ""
1218
 
1219
- #: top-10.php:1101
1220
  msgid "Once Monthly"
1221
  msgstr ""
1222
 
1223
- #: top-10.php:1105
1224
  msgid "Once quarterly"
1225
  msgstr ""
1226
 
2
  msgstr ""
3
  "Project-Id-Version: Тоp 10\n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2015-09-27 13:35+0100\n"
6
  "PO-Revision-Date: \n"
7
  "Last-Translator: Ajay D'Souza <me@ajaydsouza.com>\n"
8
  "Language-Team: Outshine Solutions <ashish@outshinesolutions.com>\n"
44
  msgid "Popular posts by <a href=\"%s\" target=\"_blank\">Top 10 plugin</a>"
45
  msgstr ""
46
 
47
+ #: admin/admin-dashboard.php:109 admin/class-stats.php:438 admin/deprecated.php:41
48
  msgid "Popular Posts"
49
  msgstr "लोकप्रिय पोस्ट्स "
50
 
149
  msgid "Scheduled maintenance disabled"
150
  msgstr ""
151
 
152
+ #: admin/admin.php:299
153
  msgid "Counts from selected sites have been imported."
154
  msgstr ""
155
 
156
+ #: admin/admin.php:324
157
  msgid "Selected tables have been deleted. Note that only imported tables have been deleted."
158
  msgstr ""
159
 
160
+ #: admin/admin.php:341 admin/admin.php:361 admin/admin.php:385 admin/main-view.php:55
161
+ #: admin/main-view.php:174 admin/main-view.php:279 admin/main-view.php:488
162
+ #: admin/main-view.php:651 admin/main-view.php:747 admin/main-view.php:811
163
+ #: admin/main-view.php:846
164
  msgid "Click to toggle"
165
  msgstr ""
166
 
167
+ #: admin/admin.php:342
168
  #, fuzzy
169
  msgid "Support the development"
170
  msgstr "समर्थन विकास"
171
 
172
+ #: admin/admin.php:349
173
  msgid "Donation for Top 10"
174
  msgstr ""
175
 
176
+ #: admin/admin.php:351
177
  msgid "Enter amount in USD:"
178
  msgstr ""
179
 
180
+ #: admin/admin.php:355
181
  msgid "Send your donation to the author of Top 10"
182
  msgstr ""
183
 
184
+ #: admin/admin.php:362
185
  msgid "Follow me"
186
  msgstr ""
187
 
188
+ #: admin/admin.php:386
189
  msgid "Quick links"
190
  msgstr ""
191
 
192
+ #: admin/admin.php:390
193
  msgid "Top 10 plugin page"
194
  msgstr ""
195
 
196
+ #: admin/admin.php:391
197
  msgid "Top 10 Github page"
198
  msgstr ""
199
 
200
+ #: admin/admin.php:392
201
  msgid "Other plugins"
202
  msgstr ""
203
 
204
+ #: admin/admin.php:393
205
  msgid "FAQ"
206
  msgstr ""
207
 
208
+ #: admin/admin.php:394 admin/admin.php:564
209
  msgid "Support"
210
  msgstr ""
211
 
212
+ #: admin/admin.php:395
213
  msgid "Reviews"
214
  msgstr ""
215
 
216
+ #: admin/admin.php:396
217
  msgid "Ajay's blog"
218
  msgstr ""
219
 
220
+ #: admin/admin.php:413 admin/admin.php:416 admin/main-view.php:22
221
  #, fuzzy
222
  msgid "Top 10 Settings"
223
  msgstr "शीर्ष 10"
224
 
225
+ #: admin/admin.php:413
226
  msgid "Top 10"
227
  msgstr "शीर्ष 10"
228
 
229
+ #: admin/admin.php:421
230
  msgid "View Popular Posts"
231
  msgstr ""
232
 
233
+ #: admin/admin.php:541
234
  msgid "Settings"
235
  msgstr ""
236
 
237
+ #: admin/admin.php:565
238
  msgid "Donate"
239
  msgstr ""
240
 
241
+ #: admin/cache.php:19
242
  msgid "Top 10 cache has been cleared"
243
  msgstr ""
244
 
245
+ #: admin/class-stats.php:36
246
  msgid "popular_post"
247
  msgstr ""
248
 
249
+ #: admin/class-stats.php:37
250
  msgid "popular_posts"
251
  msgstr ""
252
 
253
+ #: admin/class-stats.php:160
254
  msgid "No popular posts available."
255
  msgstr ""
256
 
257
+ #: admin/class-stats.php:209
258
  msgid "View"
259
  msgstr ""
260
 
261
+ #: admin/class-stats.php:210
262
  msgid "Edit"
263
  msgstr ""
264
 
265
+ #: admin/class-stats.php:211
266
  msgid "Delete"
267
  msgstr ""
268
 
269
+ #: admin/class-stats.php:233
270
  msgid "Y/m/d g:i:s a"
271
  msgstr ""
272
 
273
+ #: admin/class-stats.php:240
274
  #, php-format
275
  msgid "%s ago"
276
  msgstr ""
277
 
278
+ #: admin/class-stats.php:242
279
  msgid "Y/m/d"
280
  msgstr ""
281
 
282
+ #: admin/class-stats.php:276 includes/class-top-10-widget.php:71
283
  msgid "Title"
284
  msgstr ""
285
 
286
+ #: admin/class-stats.php:277
287
  msgid "Total visits"
288
  msgstr ""
289
 
290
+ #: admin/class-stats.php:278
291
  msgid "Daily visits"
292
  msgstr ""
293
 
294
+ #: admin/class-stats.php:279
295
  msgid "Post type"
296
  msgstr ""
297
 
298
+ #: admin/class-stats.php:280
299
  msgid "Author"
300
  msgstr ""
301
 
302
+ #: admin/class-stats.php:281
303
  msgid "Date"
304
  msgstr ""
305
 
306
+ #: admin/class-stats.php:315
307
  msgid "Delete Count"
308
  msgstr ""
309
 
310
+ #: admin/class-stats.php:355
311
  msgid "Are you sure you want to do this"
312
  msgstr ""
313
 
323
  msgid "Popular post list options"
324
  msgstr ""
325
 
326
+ #: admin/main-view.php:37 admin/main-view.php:489 includes/class-top-10-widget.php:115
327
  msgid "Thumbnail options"
328
  msgstr ""
329
 
330
+ #: admin/main-view.php:38 admin/main-view.php:652
331
  msgid "Styles"
332
  msgstr ""
333
 
334
+ #: admin/main-view.php:39 admin/main-view.php:748
335
  msgid "Maintenance"
336
  msgstr ""
337
 
343
  msgid "Overall"
344
  msgstr ""
345
 
346
+ #: admin/main-view.php:83 admin/main-view.php:767
347
  msgid "Daily"
348
  msgstr ""
349
 
460
  "प्लगइन के लिए एक कड़ी लोकप्रिय पदों की सूची के लिए एक अतिरिक्त सूची आइटम के रूप में जोड़ा है. नहीं अनिवार्य "
461
  "है, लेकिन धन्यवाद यदि तुम इसे करो!"
462
 
463
+ #: admin/main-view.php:156 admin/main-view.php:261 admin/main-view.php:470
464
+ #: admin/main-view.php:633 admin/main-view.php:727
465
  #, fuzzy
466
  msgid "Save Options"
467
  msgstr "विकल्प हैं:"
625
  msgid "List of post or page IDs to exclude from the results:"
626
  msgstr ""
627
 
628
+ #: admin/main-view.php:327 admin/main-view.php:438
629
  msgid "Enter comma separated list of IDs. e.g. 188,320,500"
630
  msgstr ""
631
 
639
  "start typing in the starting letters and it will prompt you with options"
640
  msgstr ""
641
 
642
+ #: admin/main-view.php:350
643
+ msgid "Excluded category IDs are:"
644
+ msgstr ""
645
+
646
+ #: admin/main-view.php:356
647
+ msgid ""
648
+ "These might differ from the IDs visible in the Categories page which use the "
649
+ "<code>term_id</code>. Top 10 uses the <code>term_taxonomy_id</code> which is unique to "
650
+ "this taxonomy."
651
+ msgstr ""
652
+
653
+ #: admin/main-view.php:362
654
  msgid "Title of popular posts:"
655
  msgstr ""
656
 
657
+ #: admin/main-view.php:368
658
  msgid "Title of daily popular posts:"
659
  msgstr ""
660
 
661
+ #: admin/main-view.php:374
662
  msgid "When there are no posts, what should be shown?"
663
  msgstr ""
664
 
665
+ #: admin/main-view.php:378
666
  msgid "Blank Output"
667
  msgstr ""
668
 
669
+ #: admin/main-view.php:382
670
  msgid "Display:"
671
  msgstr ""
672
 
673
+ #: admin/main-view.php:387
674
  msgid "Show post excerpt in list?"
675
  msgstr ""
676
 
677
+ #: admin/main-view.php:393
678
  msgid "Length of excerpt (in words):"
679
  msgstr ""
680
 
681
+ #: admin/main-view.php:399
682
  msgid "Show post author in list?"
683
  msgstr ""
684
 
685
+ #: admin/main-view.php:405
686
  msgid "Show post date in list?"
687
  msgstr ""
688
 
689
+ #: admin/main-view.php:411
690
  msgid "Limit post title length (in characters)"
691
  msgstr ""
692
 
693
+ #: admin/main-view.php:417
694
  msgid "Show view count in list?"
695
  msgstr ""
696
 
697
+ #: admin/main-view.php:423
698
  msgid "Open links in new window"
699
  msgstr ""
700
 
701
+ #: admin/main-view.php:429
702
  msgid "Add nofollow attribute to links in the list"
703
  msgstr ""
704
 
705
+ #: admin/main-view.php:435
706
  msgid "Exclude display of related posts on these posts / pages"
707
  msgstr ""
708
 
709
+ #: admin/main-view.php:442
710
  msgid "Customise the list HTML"
711
  msgstr ""
712
 
713
+ #: admin/main-view.php:445
714
  msgid "HTML to display before the list of posts:"
715
  msgstr ""
716
 
717
+ #: admin/main-view.php:451
718
  msgid "HTML to display before each list item:"
719
  msgstr ""
720
 
721
+ #: admin/main-view.php:457
722
  msgid "HTML to display after each list item:"
723
  msgstr ""
724
 
725
+ #: admin/main-view.php:463
726
  msgid "HTML to display after the list of posts:"
727
  msgstr ""
728
 
729
+ #: admin/main-view.php:504
730
  msgid "Location of post thumbnail:"
731
  msgstr ""
732
 
733
+ #: admin/main-view.php:508
734
  #, fuzzy
735
  msgid "Display thumbnails inline with posts, before title"
736
  msgstr "पदों पर विचारों के प्रदर्शन की संख्या?"
737
 
738
+ #: admin/main-view.php:513
739
  #, fuzzy
740
  msgid "Display thumbnails inline with posts, after title"
741
  msgstr "पदों पर विचारों के प्रदर्शन की संख्या?"
742
 
743
+ #: admin/main-view.php:518
744
  msgid "Display only thumbnails, no text"
745
  msgstr ""
746
 
747
+ #: admin/main-view.php:523
748
  msgid "Do not display thumbnails, only text."
749
  msgstr ""
750
 
751
+ #: admin/main-view.php:527
752
  msgid ""
753
  "This setting cannot be changed because an inbuilt style has been selected under the Styles "
754
  "section. If you would like to change this option, please select No styles under the Styles "
755
  "section."
756
  msgstr ""
757
 
758
+ #: admin/main-view.php:531
759
  msgid "Thumbnail size:"
760
  msgstr ""
761
 
762
+ #: admin/main-view.php:555
763
  msgid "Custom size"
764
  msgstr ""
765
 
766
+ #: admin/main-view.php:558
767
  msgid ""
768
  "You can choose from existing image sizes above or create a custom size. If you have chosen "
769
  "Custom size above, then enter the width, height and crop settings below. For best results, "
770
  "use a cropped image."
771
  msgstr ""
772
 
773
+ #: admin/main-view.php:559
774
  msgid ""
775
  "If you change the width and/or height below, existing images will not be automatically "
776
  "resized."
777
  msgstr ""
778
 
779
+ #: admin/main-view.php:560
780
  #, php-format
781
  msgid ""
782
  "I recommend using <a href='%s' class='thickbox'>OTF Regenerate Thumbnails</a> or <a "
783
  "href='%s' class='thickbox'>Regenerate Thumbnails</a> to regenerate all image sizes."
784
  msgstr ""
785
 
786
+ #: admin/main-view.php:563
787
  msgid ""
788
  "If you're using the Left Thumbs style below then the thumbnail width and height that you "
789
  "set here will supersede the widget. Alternatively, choose <strong>Style attributes</"
790
  "strong> under <strong>Image size attributes</strong> option below"
791
  msgstr ""
792
 
793
+ #: admin/main-view.php:566
794
  msgid "Width of custom thumbnail:"
795
  msgstr ""
796
 
797
+ #: admin/main-view.php:571
798
  msgid "Height of custom thumbnail"
799
  msgstr ""
800
 
801
+ #: admin/main-view.php:576
802
  msgid "Crop mode:"
803
  msgstr ""
804
 
805
+ #: admin/main-view.php:580
806
  msgid ""
807
  "By default, thumbnails will be proportionately cropped. Check this box to hard crop the "
808
  "thumbnails."
809
  msgstr ""
810
 
811
+ #: admin/main-view.php:581
812
  #, php-format
813
  msgid "<a href='%s' target='_blank'>Difference between soft and hard crop</a>"
814
  msgstr ""
815
 
816
+ #: admin/main-view.php:585
817
  msgid "Image size attributes:"
818
  msgstr ""
819
 
820
+ #: admin/main-view.php:589
821
  msgid "Style attributes are used for width and height."
822
  msgstr ""
823
 
824
+ #: admin/main-view.php:595
825
  msgid "HTML width and height attributes are used for width and height."
826
  msgstr ""
827
 
828
+ #: admin/main-view.php:601
829
  msgid "No HTML or Style attributes set for width and height"
830
  msgstr ""
831
 
832
+ #: admin/main-view.php:606
833
  msgid "Post thumbnail meta field name:"
834
  msgstr ""
835
 
836
+ #: admin/main-view.php:609
837
  msgid ""
838
  "The value of this field should contain the image source and is set in the <em>Add New "
839
  "Post</em> screen"
840
  msgstr ""
841
 
842
+ #: admin/main-view.php:612
843
  msgid ""
844
  "If the postmeta is not set, then should the plugin extract the first image from the post?"
845
  msgstr ""
846
 
847
+ #: admin/main-view.php:615
848
  msgid ""
849
  "This could slow down the loading of your page if the first image in the related posts is "
850
  "large in file-size"
851
  msgstr ""
852
 
853
+ #: admin/main-view.php:618
854
  msgid "Use default thumbnail?"
855
  msgstr ""
856
 
857
+ #: admin/main-view.php:621
858
  msgid ""
859
  "If checked, when no thumbnail is found, show a default one from the URL below. If not "
860
  "checked and no thumbnail is found, no image will be shown."
861
  msgstr ""
862
 
863
+ #: admin/main-view.php:624
864
  msgid "Default thumbnail:"
865
  msgstr ""
866
 
867
+ #: admin/main-view.php:628
868
  msgid ""
869
  "The plugin will first check if the post contains a thumbnail. If it doesn't then it will "
870
  "check the meta field. If this is not available, then it will show the default image as "
871
  "specified above"
872
  msgstr ""
873
 
874
+ #: admin/main-view.php:667
875
  msgid "Style of the related posts:"
876
  msgstr ""
877
 
878
+ #: admin/main-view.php:670
879
  msgid "No styles"
880
  msgstr ""
881
 
882
+ #: admin/main-view.php:672
883
  msgid "Select this option if you plan to add your own styles"
884
  msgstr ""
885
 
886
+ #: admin/main-view.php:677
887
  msgid "Left Thumbnails"
888
  msgstr ""
889
 
890
+ #: admin/main-view.php:680
891
  msgid ""
892
  "Enabling this option will set the post thumbnail to be before text. Disabling this option "
893
  "will not revert any settings."
894
  msgstr ""
895
 
896
+ #: admin/main-view.php:681
897
  #, php-format
898
  msgid "You can view the default style at <a href=\"%1$s\" target=\"_blank\">%1$s</a>"
899
  msgstr ""
900
 
901
+ #: admin/main-view.php:685
902
  msgid "Text only"
903
  msgstr ""
904
 
905
+ #: admin/main-view.php:687
906
  msgid ""
907
  "Enabling this option will disable thumbnails and no longer include the default style sheet "
908
  "included in the plugin."
909
  msgstr ""
910
 
911
+ #: admin/main-view.php:703
912
  msgid "Custom CSS to add to header:"
913
  msgstr ""
914
 
915
+ #: admin/main-view.php:708
916
  msgid ""
917
  "Do not include <code>style</code> tags. Check out the <a href=\"http://wordpress.org/"
918
  "extend/plugins/top-10/faq/\" target=\"_blank\">FAQ</a> for available CSS classes to style."
919
  msgstr ""
920
 
921
+ #: admin/main-view.php:728
922
  #, fuzzy
923
  msgid "Default Options"
924
  msgstr "विकल्प हैं:"
925
 
926
+ #: admin/main-view.php:728
927
  msgid "Do you want to set options to Default?"
928
  msgstr "क्या आप डिफ़ॉल्ट विकल्प सेट करना चाहते हैं?"
929
 
930
+ #: admin/main-view.php:752
931
  msgid ""
932
  "Over time the Daily Top 10 database grows in size, which reduces the performance of the "
933
  "plugin. Cleaning the database at regular intervals could improve performance, especially "
935
  "90 days."
936
  msgstr ""
937
 
938
+ #: admin/main-view.php:753
939
  msgid ""
940
  "Note: When scheduled maintenance is enabled, WordPress will run the cron job everytime the "
941
  "job is rescheduled (i.e. you change the settings below)."
942
  msgstr ""
943
 
944
+ #: admin/main-view.php:756
945
  msgid "Enable scheduled maintenance of daily tables:"
946
  msgstr ""
947
 
948
+ #: admin/main-view.php:760
949
  msgid "Time to run maintenance"
950
  msgstr ""
951
 
952
+ #: admin/main-view.php:761
953
  msgid "hrs"
954
  msgstr ""
955
 
956
+ #: admin/main-view.php:761
957
  msgid "min"
958
  msgstr ""
959
 
960
+ #: admin/main-view.php:763
961
  msgid "How often should the maintenance be run:"
962
  msgstr ""
963
 
964
+ #: admin/main-view.php:771
965
  msgid "Weekly"
966
  msgstr ""
967
 
968
+ #: admin/main-view.php:775
969
  msgid "Fortnightly"
970
  msgstr ""
971
 
972
+ #: admin/main-view.php:779
973
  msgid "Monthly"
974
  msgstr ""
975
 
976
+ #: admin/main-view.php:788
977
  msgid "The cron job has been scheduled. Maintenance will run"
978
  msgstr ""
979
 
980
+ #: admin/main-view.php:793
981
  msgid "The cron job is missing. Please resave this page to add the job"
982
  msgstr ""
983
 
984
+ #: admin/main-view.php:798
985
  msgid "Maintenance is turned off"
986
  msgstr ""
987
 
988
+ #: admin/main-view.php:804
989
  msgid "Save Maintenance Options"
990
  msgstr ""
991
 
992
+ #: admin/main-view.php:812
993
  msgid "Reset count and other tools"
994
  msgstr ""
995
 
996
+ #: admin/main-view.php:815
997
  msgid ""
998
  "This cannot be reversed. Make sure that your database has been backed up before proceeding"
999
  msgstr ""
1000
 
1001
+ #: admin/main-view.php:818
1002
  #, fuzzy
1003
  msgid "Reset Popular Posts"
1004
  msgstr "लोकप्रिय पोस्ट्स "
1005
 
1006
+ #: admin/main-view.php:818
1007
  msgid "Are you sure you want to reset the popular posts?"
1008
  msgstr ""
1009
 
1010
+ #: admin/main-view.php:819
1011
  #, fuzzy
1012
  msgid "Reset Daily Popular Posts"
1013
  msgstr "दैनिक लोकप्रिय पोस्ट्स "
1014
 
1015
+ #: admin/main-view.php:819
1016
  msgid "Are you sure you want to reset the daily popular posts?"
1017
  msgstr ""
1018
 
1019
+ #: admin/main-view.php:822
1020
  msgid "This will merge post counts for posts with table entries of 0 and 1"
1021
  msgstr ""
1022
 
1023
+ #: admin/main-view.php:825
1024
  msgid "Merge blog ID 0 and 1 post counts"
1025
  msgstr ""
1026
 
1027
+ #: admin/main-view.php:825
1028
  msgid "This will merge post counts for blog IDs 0 and 1. Proceed?"
1029
  msgstr ""
1030
 
1031
+ #: admin/main-view.php:828
1032
  msgid ""
1033
  "In older versions, the plugin created entries with duplicate post IDs. Clicking the button "
1034
  "below will merge these duplicate IDs"
1035
  msgstr ""
1036
 
1037
+ #: admin/main-view.php:831
1038
  msgid "Merge duplicates across blog IDs"
1039
  msgstr ""
1040
 
1041
+ #: admin/main-view.php:831
1042
  msgid "This will delete the duplicate entries in the tables. Proceed?"
1043
  msgstr ""
1044
 
1045
+ #: admin/main-view.php:847
1046
  msgid "WordPress Multisite: Migrate Top 10 v1.x counts to 2.x"
1047
  msgstr ""
1048
 
1049
+ #: admin/main-view.php:850
1050
  msgid ""
1051
  "If you've been using Top 10 v1.x on multisite, you would have needed to activate the "
1052
  "plugin independently for each site. This would have resulted in two tables being created "
1053
  "for each site in the network."
1054
  msgstr ""
1055
 
1056
+ #: admin/main-view.php:851
1057
  msgid ""
1058
  "Top 10 v2.x onwards uses only a single table to record the count, keeping your database "
1059
  "clean. You can use this tool to import the recorded counts from v1.x tables to the new v2."
1060
  "x table format."
1061
  msgstr ""
1062
 
1063
+ #: admin/main-view.php:854
1064
  msgid ""
1065
  "If you do not see any tables below, then it means that either all data has already been "
1066
  "imported or no relevant information has been found."
1067
  msgstr ""
1068
 
1069
+ #: admin/main-view.php:857
1070
  msgid ""
1071
  "After running the importer, please verify that all the counts have been successfully "
1072
  "imported. Only then should you delete any old tables!"
1073
  msgstr ""
1074
 
1075
+ #: admin/main-view.php:891
1076
  msgid "Blog ID"
1077
  msgstr ""
1078
 
1079
+ #: admin/main-view.php:894
1080
  msgid "Status"
1081
  msgstr ""
1082
 
1083
+ #: admin/main-view.php:897
1084
  msgid "Select to import"
1085
  msgstr ""
1086
 
1087
+ #: admin/main-view.php:907
1088
  msgid "Blog #"
1089
  msgstr ""
1090
 
1091
+ #: admin/main-view.php:917
1092
  msgid "Not imported"
1093
  msgstr ""
1094
 
1095
+ #: admin/main-view.php:921
1096
  msgid "Imported"
1097
  msgstr ""
1098
 
1099
+ #: admin/main-view.php:942
1100
  msgid "Begin import"
1101
  msgstr ""
1102
 
1103
+ #: admin/main-view.php:943
1104
  msgid "Delete selected tables"
1105
  msgstr ""
1106
 
1107
+ #: admin/main-view.php:944
1108
  msgid "Delete all imported tables"
1109
  msgstr ""
1110
 
1180
  msgid "Post types to include:"
1181
  msgstr ""
1182
 
1183
+ #: includes/media.php:62
1184
  msgid "thumb_timthumb argument has been deprecated"
1185
  msgstr ""
1186
 
1187
+ #: includes/media.php:66
1188
  msgid "thumb_timthumb_q argument has been deprecated"
1189
  msgstr ""
1190
 
1191
+ #: includes/media.php:70
1192
  msgid "filter argument has been deprecated"
1193
  msgstr ""
1194
 
1196
  msgid " by "
1197
  msgstr ""
1198
 
1199
+ #: top-10.php:163
1200
  msgid ""
1201
  "posts_only argument has been deprecated. Use get_tptn_pop_posts() to get the posts only."
1202
  msgstr ""
1203
 
1204
+ #: top-10.php:300
1205
  #, php-format
1206
  msgid "Popular posts by <a href=\"%s\" rel=\"nofollow\" %s>Top 10 plugin</a>"
1207
  msgstr ""
1208
 
1209
+ #: top-10.php:641
1210
  msgid "<h3>Popular Posts</h3>"
1211
  msgstr "<h3> लोकप्रिय पोस्ट्स </ h3>"
1212
 
1213
+ #: top-10.php:642
1214
  msgid "<h3>Daily Popular</h3>"
1215
  msgstr "<h3> दैनिक लोकप्रिय </ h3>"
1216
 
1217
+ #: top-10.php:643
1218
  #, fuzzy
1219
  msgid "No top posts yet"
1220
  msgstr "लोकप्रिय पदों का शीर्षक:"
1221
 
1222
+ #: top-10.php:1124
1223
  msgid "Once Weekly"
1224
  msgstr ""
1225
 
1226
+ #: top-10.php:1128
1227
  msgid "Once Fortnightly"
1228
  msgstr ""
1229
 
1230
+ #: top-10.php:1132
1231
  msgid "Once Monthly"
1232
  msgstr ""
1233
 
1234
+ #: top-10.php:1136
1235
  msgid "Once quarterly"
1236
  msgstr ""
1237
 
languages/{tptn-it_IT.mo → top-10-it_IT.mo} RENAMED
Binary file
languages/{tptn-it_IT.po → top-10-it_IT.po} RENAMED
@@ -2,7 +2,7 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Top 10 in italiano\n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2015-09-13 22:08+0100\n"
6
  "PO-Revision-Date: \n"
7
  "Last-Translator: Ajay D'Souza <me@ajaydsouza.com>\n"
8
  "Language-Team: Gianni Diurno |gidibao.net & charmingpress.com\n"
@@ -44,7 +44,7 @@ msgstr ""
44
  msgid "Popular posts by <a href=\"%s\" target=\"_blank\">Top 10 plugin</a>"
45
  msgstr ""
46
 
47
- #: admin/admin-dashboard.php:109 admin/class-stats.php:440
48
  #: admin/deprecated.php:41
49
  msgid "Popular Posts"
50
  msgstr "Gli articoli più popolari"
@@ -153,169 +153,169 @@ msgstr ""
153
  msgid "Scheduled maintenance disabled"
154
  msgstr ""
155
 
156
- #: admin/admin.php:300
157
  msgid "Counts from selected sites have been imported."
158
  msgstr ""
159
 
160
- #: admin/admin.php:325
161
  msgid ""
162
  "Selected tables have been deleted. Note that only imported tables have been "
163
  "deleted."
164
  msgstr ""
165
 
166
- #: admin/admin.php:342 admin/admin.php:362 admin/admin.php:372
167
  #: admin/main-view.php:55 admin/main-view.php:174 admin/main-view.php:279
168
- #: admin/main-view.php:477 admin/main-view.php:638 admin/main-view.php:734
169
- #: admin/main-view.php:798 admin/main-view.php:834
170
  msgid "Click to toggle"
171
  msgstr ""
172
 
173
- #: admin/admin.php:343
174
  msgid "Support the development"
175
  msgstr "Sostieni lo sviluppo"
176
 
177
- #: admin/admin.php:350
178
  msgid "Donation for Top 10"
179
  msgstr ""
180
 
181
- #: admin/admin.php:352
182
  msgid "Enter amount in USD:"
183
  msgstr ""
184
 
185
- #: admin/admin.php:356
186
  #, fuzzy
187
  msgid "Send your donation to the author of Top 10"
188
  msgstr "Invia la tua donazione all'autore di"
189
 
190
- #: admin/admin.php:363
191
  msgid "Follow me"
192
  msgstr ""
193
 
194
- #: admin/admin.php:373
195
  #, fuzzy
196
  msgid "Quick links"
197
  msgstr "Collegamenti veloci"
198
 
199
- #: admin/admin.php:377
200
  #, fuzzy
201
  msgid "Top 10 plugin page"
202
  msgstr "pagina plugin"
203
 
204
- #: admin/admin.php:378
205
  msgid "Top 10 Github page"
206
  msgstr ""
207
 
208
- #: admin/admin.php:379
209
  msgid "Other plugins"
210
  msgstr "Altri plugin"
211
 
212
- #: admin/admin.php:380
213
  msgid "FAQ"
214
  msgstr ""
215
 
216
- #: admin/admin.php:381 admin/admin.php:551
217
  msgid "Support"
218
  msgstr "Supporto"
219
 
220
- #: admin/admin.php:382
221
  msgid "Reviews"
222
  msgstr ""
223
 
224
- #: admin/admin.php:383
225
  msgid "Ajay's blog"
226
  msgstr "Il blog di Ajay"
227
 
228
- #: admin/admin.php:400 admin/admin.php:403 admin/main-view.php:22
229
  #, fuzzy
230
  msgid "Top 10 Settings"
231
  msgstr "Impostazioni"
232
 
233
- #: admin/admin.php:400
234
  msgid "Top 10"
235
  msgstr "Top 10"
236
 
237
- #: admin/admin.php:408
238
  msgid "View Popular Posts"
239
  msgstr ""
240
 
241
- #: admin/admin.php:528
242
  msgid "Settings"
243
  msgstr "Impostazioni"
244
 
245
- #: admin/admin.php:552
246
  msgid "Donate"
247
  msgstr "Donazione"
248
 
249
- #: admin/cache.php:20
250
  msgid "Top 10 cache has been cleared"
251
  msgstr ""
252
 
253
- #: admin/class-stats.php:37
254
  msgid "popular_post"
255
  msgstr ""
256
 
257
- #: admin/class-stats.php:38
258
  msgid "popular_posts"
259
  msgstr ""
260
 
261
- #: admin/class-stats.php:162
262
  msgid "No popular posts available."
263
  msgstr ""
264
 
265
- #: admin/class-stats.php:211
266
  msgid "View"
267
  msgstr ""
268
 
269
- #: admin/class-stats.php:212
270
  msgid "Edit"
271
  msgstr ""
272
 
273
- #: admin/class-stats.php:213
274
  msgid "Delete"
275
  msgstr ""
276
 
277
- #: admin/class-stats.php:235
278
  msgid "Y/m/d g:i:s a"
279
  msgstr ""
280
 
281
- #: admin/class-stats.php:242
282
  #, php-format
283
  msgid "%s ago"
284
  msgstr ""
285
 
286
- #: admin/class-stats.php:244
287
  msgid "Y/m/d"
288
  msgstr ""
289
 
290
- #: admin/class-stats.php:278 includes/class-top-10-widget.php:71
291
  msgid "Title"
292
  msgstr ""
293
 
294
- #: admin/class-stats.php:279
295
  msgid "Total visits"
296
  msgstr ""
297
 
298
- #: admin/class-stats.php:280
299
  msgid "Daily visits"
300
  msgstr ""
301
 
302
- #: admin/class-stats.php:281
303
  msgid "Post type"
304
  msgstr ""
305
 
306
- #: admin/class-stats.php:282
307
  msgid "Author"
308
  msgstr ""
309
 
310
- #: admin/class-stats.php:283
311
  msgid "Date"
312
  msgstr ""
313
 
314
- #: admin/class-stats.php:317
315
  msgid "Delete Count"
316
  msgstr ""
317
 
318
- #: admin/class-stats.php:357
319
  msgid "Are you sure you want to do this"
320
  msgstr ""
321
 
@@ -331,17 +331,17 @@ msgstr ""
331
  msgid "Popular post list options"
332
  msgstr ""
333
 
334
- #: admin/main-view.php:37 admin/main-view.php:478
335
  #: includes/class-top-10-widget.php:115
336
  #, fuzzy
337
  msgid "Thumbnail options"
338
  msgstr "Opzioni miniature articolo:"
339
 
340
- #: admin/main-view.php:38 admin/main-view.php:639
341
  msgid "Styles"
342
  msgstr ""
343
 
344
- #: admin/main-view.php:39 admin/main-view.php:735
345
  msgid "Maintenance"
346
  msgstr ""
347
 
@@ -353,7 +353,7 @@ msgstr ""
353
  msgid "Overall"
354
  msgstr ""
355
 
356
- #: admin/main-view.php:83 admin/main-view.php:754
357
  msgid "Daily"
358
  msgstr ""
359
 
@@ -474,8 +474,8 @@ msgstr ""
474
  "pagina del plugin. Ti sarei molto grato qualora non disattivassi questa "
475
  "opzione!"
476
 
477
- #: admin/main-view.php:156 admin/main-view.php:261 admin/main-view.php:459
478
- #: admin/main-view.php:620 admin/main-view.php:714
479
  #, fuzzy
480
  msgid "Save Options"
481
  msgstr "Opzioni:"
@@ -649,7 +649,7 @@ msgstr ""
649
  msgid "List of post or page IDs to exclude from the results:"
650
  msgstr ""
651
 
652
- #: admin/main-view.php:327 admin/main-view.php:427
653
  msgid "Enter comma separated list of IDs. e.g. 188,320,500"
654
  msgstr ""
655
 
@@ -664,135 +664,146 @@ msgid ""
664
  "options"
665
  msgstr ""
666
 
667
- #: admin/main-view.php:351
 
 
 
 
 
 
 
 
 
 
 
668
  msgid "Title of popular posts:"
669
  msgstr ""
670
 
671
- #: admin/main-view.php:357
672
  msgid "Title of daily popular posts:"
673
  msgstr ""
674
 
675
- #: admin/main-view.php:363
676
  msgid "When there are no posts, what should be shown?"
677
  msgstr ""
678
 
679
- #: admin/main-view.php:367
680
  msgid "Blank Output"
681
  msgstr ""
682
 
683
- #: admin/main-view.php:371
684
  msgid "Display:"
685
  msgstr ""
686
 
687
- #: admin/main-view.php:376
688
  msgid "Show post excerpt in list?"
689
  msgstr "Desideri mostrare gli estratti?"
690
 
691
- #: admin/main-view.php:382
692
  msgid "Length of excerpt (in words):"
693
  msgstr ""
694
 
695
- #: admin/main-view.php:388
696
  #, fuzzy
697
  msgid "Show post author in list?"
698
  msgstr "Desideri mostrare gli estratti?"
699
 
700
- #: admin/main-view.php:394
701
  #, fuzzy
702
  msgid "Show post date in list?"
703
  msgstr "Desideri mostrare gli estratti?"
704
 
705
- #: admin/main-view.php:400
706
  msgid "Limit post title length (in characters)"
707
  msgstr ""
708
 
709
- #: admin/main-view.php:406
710
  #, fuzzy
711
  msgid "Show view count in list?"
712
  msgstr "Desideri mostrare gli estratti?"
713
 
714
- #: admin/main-view.php:412
715
  msgid "Open links in new window"
716
  msgstr ""
717
 
718
- #: admin/main-view.php:418
719
  msgid "Add nofollow attribute to links in the list"
720
  msgstr ""
721
 
722
- #: admin/main-view.php:424
723
  msgid "Exclude display of related posts on these posts / pages"
724
  msgstr ""
725
 
726
- #: admin/main-view.php:431
727
  #, fuzzy
728
  msgid "Customise the list HTML"
729
  msgstr "Personalizzazione output:"
730
 
731
- #: admin/main-view.php:434
732
  msgid "HTML to display before the list of posts:"
733
  msgstr ""
734
 
735
- #: admin/main-view.php:440
736
  msgid "HTML to display before each list item:"
737
  msgstr ""
738
 
739
- #: admin/main-view.php:446
740
  msgid "HTML to display after each list item:"
741
  msgstr ""
742
 
743
- #: admin/main-view.php:452
744
  msgid "HTML to display after the list of posts:"
745
  msgstr ""
746
 
747
- #: admin/main-view.php:493
748
  msgid "Location of post thumbnail:"
749
  msgstr ""
750
 
751
- #: admin/main-view.php:497
752
  msgid "Display thumbnails inline with posts, before title"
753
  msgstr "Mostra gli articoli con le miniature inline prima del titolo"
754
 
755
- #: admin/main-view.php:502
756
  msgid "Display thumbnails inline with posts, after title"
757
  msgstr "Mostra gli articoli con le miniature inline dopo il titolo"
758
 
759
- #: admin/main-view.php:507
760
  msgid "Display only thumbnails, no text"
761
  msgstr "Mostra le sole miniature, nessun testo"
762
 
763
- #: admin/main-view.php:512
764
  msgid "Do not display thumbnails, only text."
765
  msgstr "Non mostrare le miniature, solo testo."
766
 
767
- #: admin/main-view.php:516
768
  msgid ""
769
  "This setting cannot be changed because an inbuilt style has been selected "
770
  "under the Styles section. If you would like to change this option, please "
771
  "select No styles under the Styles section."
772
  msgstr ""
773
 
774
- #: admin/main-view.php:520
775
  msgid "Thumbnail size:"
776
  msgstr ""
777
 
778
- #: admin/main-view.php:544
779
  msgid "Custom size"
780
  msgstr ""
781
 
782
- #: admin/main-view.php:547
783
  msgid ""
784
  "You can choose from existing image sizes above or create a custom size. If "
785
  "you have chosen Custom size above, then enter the width, height and crop "
786
  "settings below. For best results, use a cropped image."
787
  msgstr ""
788
 
789
- #: admin/main-view.php:548
790
  msgid ""
791
  "If you change the width and/or height below, existing images will not be "
792
  "automatically resized."
793
  msgstr ""
794
 
795
- #: admin/main-view.php:549
796
  #, php-format
797
  msgid ""
798
  "I recommend using <a href='%s' class='thickbox'>OTF Regenerate Thumbnails</"
@@ -800,7 +811,7 @@ msgid ""
800
  "all image sizes."
801
  msgstr ""
802
 
803
- #: admin/main-view.php:552
804
  msgid ""
805
  "If you're using the Left Thumbs style below then the thumbnail width and "
806
  "height that you set here will supersede the widget. Alternatively, choose "
@@ -808,56 +819,56 @@ msgid ""
808
  "strong> option below"
809
  msgstr ""
810
 
811
- #: admin/main-view.php:555
812
  msgid "Width of custom thumbnail:"
813
  msgstr ""
814
 
815
- #: admin/main-view.php:560
816
  msgid "Height of custom thumbnail"
817
  msgstr ""
818
 
819
- #: admin/main-view.php:565
820
  msgid "Crop mode:"
821
  msgstr ""
822
 
823
- #: admin/main-view.php:569
824
  msgid ""
825
  "By default, thumbnails will be proportionately cropped. Check this box to "
826
  "hard crop the thumbnails."
827
  msgstr ""
828
 
829
- #: admin/main-view.php:570
830
  #, php-format
831
  msgid "<a href='%s' target='_blank'>Difference between soft and hard crop</a>"
832
  msgstr ""
833
 
834
- #: admin/main-view.php:574
835
  msgid "Image size attributes:"
836
  msgstr ""
837
 
838
- #: admin/main-view.php:578
839
  msgid "Style attributes are used for width and height."
840
  msgstr ""
841
 
842
- #: admin/main-view.php:583
843
  msgid "HTML width and height attributes are used for width and height."
844
  msgstr ""
845
 
846
- #: admin/main-view.php:588
847
  msgid "No HTML or Style attributes set for width and height"
848
  msgstr ""
849
 
850
- #: admin/main-view.php:593
851
  msgid "Post thumbnail meta field name:"
852
  msgstr ""
853
 
854
- #: admin/main-view.php:596
855
  msgid ""
856
  "The value of this field should contain the image source and is set in the "
857
  "<em>Add New Post</em> screen"
858
  msgstr ""
859
 
860
- #: admin/main-view.php:599
861
  #, fuzzy
862
  msgid ""
863
  "If the postmeta is not set, then should the plugin extract the first image "
@@ -868,7 +879,7 @@ msgstr ""
868
  "tuo articolo nel caso in cui la prima immagine corelata fosse di grandi "
869
  "dimensioni"
870
 
871
- #: admin/main-view.php:602
872
  #, fuzzy
873
  msgid ""
874
  "This could slow down the loading of your page if the first image in the "
@@ -879,11 +890,11 @@ msgstr ""
879
  "tuo articolo nel caso in cui la prima immagine corelata fosse di grandi "
880
  "dimensioni"
881
 
882
- #: admin/main-view.php:605
883
  msgid "Use default thumbnail?"
884
  msgstr ""
885
 
886
- #: admin/main-view.php:608
887
  msgid ""
888
  "If checked, when no thumbnail is found, show a default one from the URL "
889
  "below. If not checked and no thumbnail is found, no image will be shown."
@@ -891,11 +902,11 @@ msgstr ""
891
  "Se attiva, in assenza di miniatura ne mostrerà una predefinita da URL qui "
892
  "sotto. Se inattiva e senza miniatura, non verrà mostrata nessuna immagine."
893
 
894
- #: admin/main-view.php:611
895
  msgid "Default thumbnail:"
896
  msgstr ""
897
 
898
- #: admin/main-view.php:615
899
  #, fuzzy
900
  msgid ""
901
  "The plugin will first check if the post contains a thumbnail. If it doesn't "
@@ -907,65 +918,65 @@ msgstr ""
907
  "meta. Qualora non fosse disponibile, mostrerà l'immagine predefinita come "
908
  "specificato qui sotto:"
909
 
910
- #: admin/main-view.php:654
911
  msgid "Style of the related posts:"
912
  msgstr ""
913
 
914
- #: admin/main-view.php:657
915
  msgid "No styles"
916
  msgstr ""
917
 
918
- #: admin/main-view.php:659
919
  msgid "Select this option if you plan to add your own styles"
920
  msgstr ""
921
 
922
- #: admin/main-view.php:664
923
  msgid "Left Thumbnails"
924
  msgstr ""
925
 
926
- #: admin/main-view.php:667
927
  msgid ""
928
  "Enabling this option will set the post thumbnail to be before text. "
929
  "Disabling this option will not revert any settings."
930
  msgstr ""
931
 
932
- #: admin/main-view.php:668
933
  #, php-format
934
  msgid ""
935
  "You can view the default style at <a href=\"%1$s\" target=\"_blank\">%1$s</a>"
936
  msgstr ""
937
 
938
- #: admin/main-view.php:672
939
  msgid "Text only"
940
  msgstr ""
941
 
942
- #: admin/main-view.php:674
943
  msgid ""
944
  "Enabling this option will disable thumbnails and no longer include the "
945
  "default style sheet included in the plugin."
946
  msgstr ""
947
 
948
- #: admin/main-view.php:690
949
  msgid "Custom CSS to add to header:"
950
  msgstr ""
951
 
952
- #: admin/main-view.php:695
953
  msgid ""
954
  "Do not include <code>style</code> tags. Check out the <a href=\"http://"
955
  "wordpress.org/extend/plugins/top-10/faq/\" target=\"_blank\">FAQ</a> for "
956
  "available CSS classes to style."
957
  msgstr ""
958
 
959
- #: admin/main-view.php:715
960
  #, fuzzy
961
  msgid "Default Options"
962
  msgstr "Opzioni output:"
963
 
964
- #: admin/main-view.php:715
965
  msgid "Do you want to set options to Default?"
966
  msgstr "Desideri ripristinare alle predefinite?"
967
 
968
- #: admin/main-view.php:739
969
  msgid ""
970
  "Over time the Daily Top 10 database grows in size, which reduces the "
971
  "performance of the plugin. Cleaning the database at regular intervals could "
@@ -973,65 +984,65 @@ msgid ""
973
  "will automatically delete entries older than 90 days."
974
  msgstr ""
975
 
976
- #: admin/main-view.php:740
977
  msgid ""
978
  "Note: When scheduled maintenance is enabled, WordPress will run the cron job "
979
  "everytime the job is rescheduled (i.e. you change the settings below)."
980
  msgstr ""
981
 
982
- #: admin/main-view.php:743
983
  msgid "Enable scheduled maintenance of daily tables:"
984
  msgstr ""
985
 
986
- #: admin/main-view.php:747
987
  msgid "Time to run maintenance"
988
  msgstr ""
989
 
990
- #: admin/main-view.php:748
991
  msgid "hrs"
992
  msgstr ""
993
 
994
- #: admin/main-view.php:748
995
  msgid "min"
996
  msgstr ""
997
 
998
- #: admin/main-view.php:750
999
  msgid "How often should the maintenance be run:"
1000
  msgstr ""
1001
 
1002
- #: admin/main-view.php:758
1003
  msgid "Weekly"
1004
  msgstr ""
1005
 
1006
- #: admin/main-view.php:762
1007
  msgid "Fortnightly"
1008
  msgstr ""
1009
 
1010
- #: admin/main-view.php:766
1011
  msgid "Monthly"
1012
  msgstr ""
1013
 
1014
- #: admin/main-view.php:775
1015
  msgid "The cron job has been scheduled. Maintenance will run"
1016
  msgstr ""
1017
 
1018
- #: admin/main-view.php:780
1019
  msgid "The cron job is missing. Please resave this page to add the job"
1020
  msgstr ""
1021
 
1022
- #: admin/main-view.php:785
1023
  msgid "Maintenance is turned off"
1024
  msgstr ""
1025
 
1026
- #: admin/main-view.php:791
1027
  msgid "Save Maintenance Options"
1028
  msgstr ""
1029
 
1030
- #: admin/main-view.php:799
1031
  msgid "Reset count and other tools"
1032
  msgstr ""
1033
 
1034
- #: admin/main-view.php:802
1035
  msgid ""
1036
  "This cannot be reversed. Make sure that your database has been backed up "
1037
  "before proceeding"
@@ -1039,113 +1050,113 @@ msgstr ""
1039
  "Questa operazione non é reversibile. Effettua il backup del database prima "
1040
  "di procedere"
1041
 
1042
- #: admin/main-view.php:805
1043
  #, fuzzy
1044
  msgid "Reset Popular Posts"
1045
  msgstr "Gli articoli più popolari"
1046
 
1047
- #: admin/main-view.php:805
1048
  msgid "Are you sure you want to reset the popular posts?"
1049
  msgstr "Sei certo di volere ripristinare gli articoli più popolari?"
1050
 
1051
- #: admin/main-view.php:806
1052
  #, fuzzy
1053
  msgid "Reset Daily Popular Posts"
1054
  msgstr "Gli articoli più popolari di oggi"
1055
 
1056
- #: admin/main-view.php:806
1057
  msgid "Are you sure you want to reset the daily popular posts?"
1058
  msgstr "Sei certo di volere ripristinare gli articoli più popolari del giorno?"
1059
 
1060
- #: admin/main-view.php:809
1061
  msgid "This will merge post counts for posts with table entries of 0 and 1"
1062
  msgstr ""
1063
 
1064
- #: admin/main-view.php:812
1065
  msgid "Merge blog ID 0 and 1 post counts"
1066
  msgstr ""
1067
 
1068
- #: admin/main-view.php:812
1069
  msgid "This will merge post counts for blog IDs 0 and 1. Proceed?"
1070
  msgstr ""
1071
 
1072
- #: admin/main-view.php:815
1073
  msgid ""
1074
  "In older versions, the plugin created entries with duplicate post IDs. "
1075
  "Clicking the button below will merge these duplicate IDs"
1076
  msgstr ""
1077
 
1078
- #: admin/main-view.php:818
1079
  msgid "Merge duplicates across blog IDs"
1080
  msgstr ""
1081
 
1082
- #: admin/main-view.php:818
1083
  msgid "This will delete the duplicate entries in the tables. Proceed?"
1084
  msgstr "Questa operazione cancelerà i duplicati dalle tabelle. Procedi?"
1085
 
1086
- #: admin/main-view.php:835
1087
  msgid "WordPress Multisite: Migrate Top 10 v1.x counts to 2.x"
1088
  msgstr ""
1089
 
1090
- #: admin/main-view.php:838
1091
  msgid ""
1092
  "If you've been using Top 10 v1.x on multisite, you would have needed to "
1093
  "activate the plugin independently for each site. This would have resulted in "
1094
  "two tables being created for each site in the network."
1095
  msgstr ""
1096
 
1097
- #: admin/main-view.php:839
1098
  msgid ""
1099
  "Top 10 v2.x onwards uses only a single table to record the count, keeping "
1100
  "your database clean. You can use this tool to import the recorded counts "
1101
  "from v1.x tables to the new v2.x table format."
1102
  msgstr ""
1103
 
1104
- #: admin/main-view.php:842
1105
  msgid ""
1106
  "If you do not see any tables below, then it means that either all data has "
1107
  "already been imported or no relevant information has been found."
1108
  msgstr ""
1109
 
1110
- #: admin/main-view.php:845
1111
  msgid ""
1112
  "After running the importer, please verify that all the counts have been "
1113
  "successfully imported. Only then should you delete any old tables!"
1114
  msgstr ""
1115
 
1116
- #: admin/main-view.php:879
1117
  msgid "Blog ID"
1118
  msgstr ""
1119
 
1120
- #: admin/main-view.php:882
1121
  msgid "Status"
1122
  msgstr ""
1123
 
1124
- #: admin/main-view.php:885
1125
  msgid "Select to import"
1126
  msgstr ""
1127
 
1128
- #: admin/main-view.php:895
1129
  msgid "Blog #"
1130
  msgstr ""
1131
 
1132
- #: admin/main-view.php:905
1133
  msgid "Not imported"
1134
  msgstr ""
1135
 
1136
- #: admin/main-view.php:909
1137
  msgid "Imported"
1138
  msgstr ""
1139
 
1140
- #: admin/main-view.php:930
1141
  msgid "Begin import"
1142
  msgstr ""
1143
 
1144
- #: admin/main-view.php:931
1145
  msgid "Delete selected tables"
1146
  msgstr ""
1147
 
1148
- #: admin/main-view.php:932
1149
  msgid "Delete all imported tables"
1150
  msgstr ""
1151
 
@@ -1229,15 +1240,15 @@ msgstr "Opzioni miniature articolo:"
1229
  msgid "Post types to include:"
1230
  msgstr ""
1231
 
1232
- #: includes/media.php:63
1233
  msgid "thumb_timthumb argument has been deprecated"
1234
  msgstr ""
1235
 
1236
- #: includes/media.php:67
1237
  msgid "thumb_timthumb_q argument has been deprecated"
1238
  msgstr ""
1239
 
1240
- #: includes/media.php:71
1241
  msgid "filter argument has been deprecated"
1242
  msgstr ""
1243
 
@@ -1245,43 +1256,43 @@ msgstr ""
1245
  msgid " by "
1246
  msgstr ""
1247
 
1248
- #: top-10.php:157
1249
  msgid ""
1250
  "posts_only argument has been deprecated. Use get_tptn_pop_posts() to get the "
1251
  "posts only."
1252
  msgstr ""
1253
 
1254
- #: top-10.php:264
1255
  #, php-format
1256
  msgid "Popular posts by <a href=\"%s\" rel=\"nofollow\" %s>Top 10 plugin</a>"
1257
  msgstr ""
1258
 
1259
- #: top-10.php:610
1260
  msgid "<h3>Popular Posts</h3>"
1261
  msgstr "<h3>Articoli più letti</h3>"
1262
 
1263
- #: top-10.php:611
1264
  msgid "<h3>Daily Popular</h3>"
1265
  msgstr "<h3>I più letti di oggi</h3>"
1266
 
1267
- #: top-10.php:612
1268
  #, fuzzy
1269
  msgid "No top posts yet"
1270
  msgstr "Ripristino 10 articoli più popolari"
1271
 
1272
- #: top-10.php:1093
1273
  msgid "Once Weekly"
1274
  msgstr ""
1275
 
1276
- #: top-10.php:1097
1277
  msgid "Once Fortnightly"
1278
  msgstr ""
1279
 
1280
- #: top-10.php:1101
1281
  msgid "Once Monthly"
1282
  msgstr ""
1283
 
1284
- #: top-10.php:1105
1285
  msgid "Once quarterly"
1286
  msgstr ""
1287
 
2
  msgstr ""
3
  "Project-Id-Version: Top 10 in italiano\n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2015-09-27 13:35+0100\n"
6
  "PO-Revision-Date: \n"
7
  "Last-Translator: Ajay D'Souza <me@ajaydsouza.com>\n"
8
  "Language-Team: Gianni Diurno |gidibao.net & charmingpress.com\n"
44
  msgid "Popular posts by <a href=\"%s\" target=\"_blank\">Top 10 plugin</a>"
45
  msgstr ""
46
 
47
+ #: admin/admin-dashboard.php:109 admin/class-stats.php:438
48
  #: admin/deprecated.php:41
49
  msgid "Popular Posts"
50
  msgstr "Gli articoli più popolari"
153
  msgid "Scheduled maintenance disabled"
154
  msgstr ""
155
 
156
+ #: admin/admin.php:299
157
  msgid "Counts from selected sites have been imported."
158
  msgstr ""
159
 
160
+ #: admin/admin.php:324
161
  msgid ""
162
  "Selected tables have been deleted. Note that only imported tables have been "
163
  "deleted."
164
  msgstr ""
165
 
166
+ #: admin/admin.php:341 admin/admin.php:361 admin/admin.php:385
167
  #: admin/main-view.php:55 admin/main-view.php:174 admin/main-view.php:279
168
+ #: admin/main-view.php:488 admin/main-view.php:651 admin/main-view.php:747
169
+ #: admin/main-view.php:811 admin/main-view.php:846
170
  msgid "Click to toggle"
171
  msgstr ""
172
 
173
+ #: admin/admin.php:342
174
  msgid "Support the development"
175
  msgstr "Sostieni lo sviluppo"
176
 
177
+ #: admin/admin.php:349
178
  msgid "Donation for Top 10"
179
  msgstr ""
180
 
181
+ #: admin/admin.php:351
182
  msgid "Enter amount in USD:"
183
  msgstr ""
184
 
185
+ #: admin/admin.php:355
186
  #, fuzzy
187
  msgid "Send your donation to the author of Top 10"
188
  msgstr "Invia la tua donazione all'autore di"
189
 
190
+ #: admin/admin.php:362
191
  msgid "Follow me"
192
  msgstr ""
193
 
194
+ #: admin/admin.php:386
195
  #, fuzzy
196
  msgid "Quick links"
197
  msgstr "Collegamenti veloci"
198
 
199
+ #: admin/admin.php:390
200
  #, fuzzy
201
  msgid "Top 10 plugin page"
202
  msgstr "pagina plugin"
203
 
204
+ #: admin/admin.php:391
205
  msgid "Top 10 Github page"
206
  msgstr ""
207
 
208
+ #: admin/admin.php:392
209
  msgid "Other plugins"
210
  msgstr "Altri plugin"
211
 
212
+ #: admin/admin.php:393
213
  msgid "FAQ"
214
  msgstr ""
215
 
216
+ #: admin/admin.php:394 admin/admin.php:564
217
  msgid "Support"
218
  msgstr "Supporto"
219
 
220
+ #: admin/admin.php:395
221
  msgid "Reviews"
222
  msgstr ""
223
 
224
+ #: admin/admin.php:396
225
  msgid "Ajay's blog"
226
  msgstr "Il blog di Ajay"
227
 
228
+ #: admin/admin.php:413 admin/admin.php:416 admin/main-view.php:22
229
  #, fuzzy
230
  msgid "Top 10 Settings"
231
  msgstr "Impostazioni"
232
 
233
+ #: admin/admin.php:413
234
  msgid "Top 10"
235
  msgstr "Top 10"
236
 
237
+ #: admin/admin.php:421
238
  msgid "View Popular Posts"
239
  msgstr ""
240
 
241
+ #: admin/admin.php:541
242
  msgid "Settings"
243
  msgstr "Impostazioni"
244
 
245
+ #: admin/admin.php:565
246
  msgid "Donate"
247
  msgstr "Donazione"
248
 
249
+ #: admin/cache.php:19
250
  msgid "Top 10 cache has been cleared"
251
  msgstr ""
252
 
253
+ #: admin/class-stats.php:36
254
  msgid "popular_post"
255
  msgstr ""
256
 
257
+ #: admin/class-stats.php:37
258
  msgid "popular_posts"
259
  msgstr ""
260
 
261
+ #: admin/class-stats.php:160
262
  msgid "No popular posts available."
263
  msgstr ""
264
 
265
+ #: admin/class-stats.php:209
266
  msgid "View"
267
  msgstr ""
268
 
269
+ #: admin/class-stats.php:210
270
  msgid "Edit"
271
  msgstr ""
272
 
273
+ #: admin/class-stats.php:211
274
  msgid "Delete"
275
  msgstr ""
276
 
277
+ #: admin/class-stats.php:233
278
  msgid "Y/m/d g:i:s a"
279
  msgstr ""
280
 
281
+ #: admin/class-stats.php:240
282
  #, php-format
283
  msgid "%s ago"
284
  msgstr ""
285
 
286
+ #: admin/class-stats.php:242
287
  msgid "Y/m/d"
288
  msgstr ""
289
 
290
+ #: admin/class-stats.php:276 includes/class-top-10-widget.php:71
291
  msgid "Title"
292
  msgstr ""
293
 
294
+ #: admin/class-stats.php:277
295
  msgid "Total visits"
296
  msgstr ""
297
 
298
+ #: admin/class-stats.php:278
299
  msgid "Daily visits"
300
  msgstr ""
301
 
302
+ #: admin/class-stats.php:279
303
  msgid "Post type"
304
  msgstr ""
305
 
306
+ #: admin/class-stats.php:280
307
  msgid "Author"
308
  msgstr ""
309
 
310
+ #: admin/class-stats.php:281
311
  msgid "Date"
312
  msgstr ""
313
 
314
+ #: admin/class-stats.php:315
315
  msgid "Delete Count"
316
  msgstr ""
317
 
318
+ #: admin/class-stats.php:355
319
  msgid "Are you sure you want to do this"
320
  msgstr ""
321
 
331
  msgid "Popular post list options"
332
  msgstr ""
333
 
334
+ #: admin/main-view.php:37 admin/main-view.php:489
335
  #: includes/class-top-10-widget.php:115
336
  #, fuzzy
337
  msgid "Thumbnail options"
338
  msgstr "Opzioni miniature articolo:"
339
 
340
+ #: admin/main-view.php:38 admin/main-view.php:652
341
  msgid "Styles"
342
  msgstr ""
343
 
344
+ #: admin/main-view.php:39 admin/main-view.php:748
345
  msgid "Maintenance"
346
  msgstr ""
347
 
353
  msgid "Overall"
354
  msgstr ""
355
 
356
+ #: admin/main-view.php:83 admin/main-view.php:767
357
  msgid "Daily"
358
  msgstr ""
359
 
474
  "pagina del plugin. Ti sarei molto grato qualora non disattivassi questa "
475
  "opzione!"
476
 
477
+ #: admin/main-view.php:156 admin/main-view.php:261 admin/main-view.php:470
478
+ #: admin/main-view.php:633 admin/main-view.php:727
479
  #, fuzzy
480
  msgid "Save Options"
481
  msgstr "Opzioni:"
649
  msgid "List of post or page IDs to exclude from the results:"
650
  msgstr ""
651
 
652
+ #: admin/main-view.php:327 admin/main-view.php:438
653
  msgid "Enter comma separated list of IDs. e.g. 188,320,500"
654
  msgstr ""
655
 
664
  "options"
665
  msgstr ""
666
 
667
+ #: admin/main-view.php:350
668
+ msgid "Excluded category IDs are:"
669
+ msgstr ""
670
+
671
+ #: admin/main-view.php:356
672
+ msgid ""
673
+ "These might differ from the IDs visible in the Categories page which use the "
674
+ "<code>term_id</code>. Top 10 uses the <code>term_taxonomy_id</code> which is "
675
+ "unique to this taxonomy."
676
+ msgstr ""
677
+
678
+ #: admin/main-view.php:362
679
  msgid "Title of popular posts:"
680
  msgstr ""
681
 
682
+ #: admin/main-view.php:368
683
  msgid "Title of daily popular posts:"
684
  msgstr ""
685
 
686
+ #: admin/main-view.php:374
687
  msgid "When there are no posts, what should be shown?"
688
  msgstr ""
689
 
690
+ #: admin/main-view.php:378
691
  msgid "Blank Output"
692
  msgstr ""
693
 
694
+ #: admin/main-view.php:382
695
  msgid "Display:"
696
  msgstr ""
697
 
698
+ #: admin/main-view.php:387
699
  msgid "Show post excerpt in list?"
700
  msgstr "Desideri mostrare gli estratti?"
701
 
702
+ #: admin/main-view.php:393
703
  msgid "Length of excerpt (in words):"
704
  msgstr ""
705
 
706
+ #: admin/main-view.php:399
707
  #, fuzzy
708
  msgid "Show post author in list?"
709
  msgstr "Desideri mostrare gli estratti?"
710
 
711
+ #: admin/main-view.php:405
712
  #, fuzzy
713
  msgid "Show post date in list?"
714
  msgstr "Desideri mostrare gli estratti?"
715
 
716
+ #: admin/main-view.php:411
717
  msgid "Limit post title length (in characters)"
718
  msgstr ""
719
 
720
+ #: admin/main-view.php:417
721
  #, fuzzy
722
  msgid "Show view count in list?"
723
  msgstr "Desideri mostrare gli estratti?"
724
 
725
+ #: admin/main-view.php:423
726
  msgid "Open links in new window"
727
  msgstr ""
728
 
729
+ #: admin/main-view.php:429
730
  msgid "Add nofollow attribute to links in the list"
731
  msgstr ""
732
 
733
+ #: admin/main-view.php:435
734
  msgid "Exclude display of related posts on these posts / pages"
735
  msgstr ""
736
 
737
+ #: admin/main-view.php:442
738
  #, fuzzy
739
  msgid "Customise the list HTML"
740
  msgstr "Personalizzazione output:"
741
 
742
+ #: admin/main-view.php:445
743
  msgid "HTML to display before the list of posts:"
744
  msgstr ""
745
 
746
+ #: admin/main-view.php:451
747
  msgid "HTML to display before each list item:"
748
  msgstr ""
749
 
750
+ #: admin/main-view.php:457
751
  msgid "HTML to display after each list item:"
752
  msgstr ""
753
 
754
+ #: admin/main-view.php:463
755
  msgid "HTML to display after the list of posts:"
756
  msgstr ""
757
 
758
+ #: admin/main-view.php:504
759
  msgid "Location of post thumbnail:"
760
  msgstr ""
761
 
762
+ #: admin/main-view.php:508
763
  msgid "Display thumbnails inline with posts, before title"
764
  msgstr "Mostra gli articoli con le miniature inline prima del titolo"
765
 
766
+ #: admin/main-view.php:513
767
  msgid "Display thumbnails inline with posts, after title"
768
  msgstr "Mostra gli articoli con le miniature inline dopo il titolo"
769
 
770
+ #: admin/main-view.php:518
771
  msgid "Display only thumbnails, no text"
772
  msgstr "Mostra le sole miniature, nessun testo"
773
 
774
+ #: admin/main-view.php:523
775
  msgid "Do not display thumbnails, only text."
776
  msgstr "Non mostrare le miniature, solo testo."
777
 
778
+ #: admin/main-view.php:527
779
  msgid ""
780
  "This setting cannot be changed because an inbuilt style has been selected "
781
  "under the Styles section. If you would like to change this option, please "
782
  "select No styles under the Styles section."
783
  msgstr ""
784
 
785
+ #: admin/main-view.php:531
786
  msgid "Thumbnail size:"
787
  msgstr ""
788
 
789
+ #: admin/main-view.php:555
790
  msgid "Custom size"
791
  msgstr ""
792
 
793
+ #: admin/main-view.php:558
794
  msgid ""
795
  "You can choose from existing image sizes above or create a custom size. If "
796
  "you have chosen Custom size above, then enter the width, height and crop "
797
  "settings below. For best results, use a cropped image."
798
  msgstr ""
799
 
800
+ #: admin/main-view.php:559
801
  msgid ""
802
  "If you change the width and/or height below, existing images will not be "
803
  "automatically resized."
804
  msgstr ""
805
 
806
+ #: admin/main-view.php:560
807
  #, php-format
808
  msgid ""
809
  "I recommend using <a href='%s' class='thickbox'>OTF Regenerate Thumbnails</"
811
  "all image sizes."
812
  msgstr ""
813
 
814
+ #: admin/main-view.php:563
815
  msgid ""
816
  "If you're using the Left Thumbs style below then the thumbnail width and "
817
  "height that you set here will supersede the widget. Alternatively, choose "
819
  "strong> option below"
820
  msgstr ""
821
 
822
+ #: admin/main-view.php:566
823
  msgid "Width of custom thumbnail:"
824
  msgstr ""
825
 
826
+ #: admin/main-view.php:571
827
  msgid "Height of custom thumbnail"
828
  msgstr ""
829
 
830
+ #: admin/main-view.php:576
831
  msgid "Crop mode:"
832
  msgstr ""
833
 
834
+ #: admin/main-view.php:580
835
  msgid ""
836
  "By default, thumbnails will be proportionately cropped. Check this box to "
837
  "hard crop the thumbnails."
838
  msgstr ""
839
 
840
+ #: admin/main-view.php:581
841
  #, php-format
842
  msgid "<a href='%s' target='_blank'>Difference between soft and hard crop</a>"
843
  msgstr ""
844
 
845
+ #: admin/main-view.php:585
846
  msgid "Image size attributes:"
847
  msgstr ""
848
 
849
+ #: admin/main-view.php:589
850
  msgid "Style attributes are used for width and height."
851
  msgstr ""
852
 
853
+ #: admin/main-view.php:595
854
  msgid "HTML width and height attributes are used for width and height."
855
  msgstr ""
856
 
857
+ #: admin/main-view.php:601
858
  msgid "No HTML or Style attributes set for width and height"
859
  msgstr ""
860
 
861
+ #: admin/main-view.php:606
862
  msgid "Post thumbnail meta field name:"
863
  msgstr ""
864
 
865
+ #: admin/main-view.php:609
866
  msgid ""
867
  "The value of this field should contain the image source and is set in the "
868
  "<em>Add New Post</em> screen"
869
  msgstr ""
870
 
871
+ #: admin/main-view.php:612
872
  #, fuzzy
873
  msgid ""
874
  "If the postmeta is not set, then should the plugin extract the first image "
879
  "tuo articolo nel caso in cui la prima immagine corelata fosse di grandi "
880
  "dimensioni"
881
 
882
+ #: admin/main-view.php:615
883
  #, fuzzy
884
  msgid ""
885
  "This could slow down the loading of your page if the first image in the "
890
  "tuo articolo nel caso in cui la prima immagine corelata fosse di grandi "
891
  "dimensioni"
892
 
893
+ #: admin/main-view.php:618
894
  msgid "Use default thumbnail?"
895
  msgstr ""
896
 
897
+ #: admin/main-view.php:621
898
  msgid ""
899
  "If checked, when no thumbnail is found, show a default one from the URL "
900
  "below. If not checked and no thumbnail is found, no image will be shown."
902
  "Se attiva, in assenza di miniatura ne mostrerà una predefinita da URL qui "
903
  "sotto. Se inattiva e senza miniatura, non verrà mostrata nessuna immagine."
904
 
905
+ #: admin/main-view.php:624
906
  msgid "Default thumbnail:"
907
  msgstr ""
908
 
909
+ #: admin/main-view.php:628
910
  #, fuzzy
911
  msgid ""
912
  "The plugin will first check if the post contains a thumbnail. If it doesn't "
918
  "meta. Qualora non fosse disponibile, mostrerà l'immagine predefinita come "
919
  "specificato qui sotto:"
920
 
921
+ #: admin/main-view.php:667
922
  msgid "Style of the related posts:"
923
  msgstr ""
924
 
925
+ #: admin/main-view.php:670
926
  msgid "No styles"
927
  msgstr ""
928
 
929
+ #: admin/main-view.php:672
930
  msgid "Select this option if you plan to add your own styles"
931
  msgstr ""
932
 
933
+ #: admin/main-view.php:677
934
  msgid "Left Thumbnails"
935
  msgstr ""
936
 
937
+ #: admin/main-view.php:680
938
  msgid ""
939
  "Enabling this option will set the post thumbnail to be before text. "
940
  "Disabling this option will not revert any settings."
941
  msgstr ""
942
 
943
+ #: admin/main-view.php:681
944
  #, php-format
945
  msgid ""
946
  "You can view the default style at <a href=\"%1$s\" target=\"_blank\">%1$s</a>"
947
  msgstr ""
948
 
949
+ #: admin/main-view.php:685
950
  msgid "Text only"
951
  msgstr ""
952
 
953
+ #: admin/main-view.php:687
954
  msgid ""
955
  "Enabling this option will disable thumbnails and no longer include the "
956
  "default style sheet included in the plugin."
957
  msgstr ""
958
 
959
+ #: admin/main-view.php:703
960
  msgid "Custom CSS to add to header:"
961
  msgstr ""
962
 
963
+ #: admin/main-view.php:708
964
  msgid ""
965
  "Do not include <code>style</code> tags. Check out the <a href=\"http://"
966
  "wordpress.org/extend/plugins/top-10/faq/\" target=\"_blank\">FAQ</a> for "
967
  "available CSS classes to style."
968
  msgstr ""
969
 
970
+ #: admin/main-view.php:728
971
  #, fuzzy
972
  msgid "Default Options"
973
  msgstr "Opzioni output:"
974
 
975
+ #: admin/main-view.php:728
976
  msgid "Do you want to set options to Default?"
977
  msgstr "Desideri ripristinare alle predefinite?"
978
 
979
+ #: admin/main-view.php:752
980
  msgid ""
981
  "Over time the Daily Top 10 database grows in size, which reduces the "
982
  "performance of the plugin. Cleaning the database at regular intervals could "
984
  "will automatically delete entries older than 90 days."
985
  msgstr ""
986
 
987
+ #: admin/main-view.php:753
988
  msgid ""
989
  "Note: When scheduled maintenance is enabled, WordPress will run the cron job "
990
  "everytime the job is rescheduled (i.e. you change the settings below)."
991
  msgstr ""
992
 
993
+ #: admin/main-view.php:756
994
  msgid "Enable scheduled maintenance of daily tables:"
995
  msgstr ""
996
 
997
+ #: admin/main-view.php:760
998
  msgid "Time to run maintenance"
999
  msgstr ""
1000
 
1001
+ #: admin/main-view.php:761
1002
  msgid "hrs"
1003
  msgstr ""
1004
 
1005
+ #: admin/main-view.php:761
1006
  msgid "min"
1007
  msgstr ""
1008
 
1009
+ #: admin/main-view.php:763
1010
  msgid "How often should the maintenance be run:"
1011
  msgstr ""
1012
 
1013
+ #: admin/main-view.php:771
1014
  msgid "Weekly"
1015
  msgstr ""
1016
 
1017
+ #: admin/main-view.php:775
1018
  msgid "Fortnightly"
1019
  msgstr ""
1020
 
1021
+ #: admin/main-view.php:779
1022
  msgid "Monthly"
1023
  msgstr ""
1024
 
1025
+ #: admin/main-view.php:788
1026
  msgid "The cron job has been scheduled. Maintenance will run"
1027
  msgstr ""
1028
 
1029
+ #: admin/main-view.php:793
1030
  msgid "The cron job is missing. Please resave this page to add the job"
1031
  msgstr ""
1032
 
1033
+ #: admin/main-view.php:798
1034
  msgid "Maintenance is turned off"
1035
  msgstr ""
1036
 
1037
+ #: admin/main-view.php:804
1038
  msgid "Save Maintenance Options"
1039
  msgstr ""
1040
 
1041
+ #: admin/main-view.php:812
1042
  msgid "Reset count and other tools"
1043
  msgstr ""
1044
 
1045
+ #: admin/main-view.php:815
1046
  msgid ""
1047
  "This cannot be reversed. Make sure that your database has been backed up "
1048
  "before proceeding"
1050
  "Questa operazione non é reversibile. Effettua il backup del database prima "
1051
  "di procedere"
1052
 
1053
+ #: admin/main-view.php:818
1054
  #, fuzzy
1055
  msgid "Reset Popular Posts"
1056
  msgstr "Gli articoli più popolari"
1057
 
1058
+ #: admin/main-view.php:818
1059
  msgid "Are you sure you want to reset the popular posts?"
1060
  msgstr "Sei certo di volere ripristinare gli articoli più popolari?"
1061
 
1062
+ #: admin/main-view.php:819
1063
  #, fuzzy
1064
  msgid "Reset Daily Popular Posts"
1065
  msgstr "Gli articoli più popolari di oggi"
1066
 
1067
+ #: admin/main-view.php:819
1068
  msgid "Are you sure you want to reset the daily popular posts?"
1069
  msgstr "Sei certo di volere ripristinare gli articoli più popolari del giorno?"
1070
 
1071
+ #: admin/main-view.php:822
1072
  msgid "This will merge post counts for posts with table entries of 0 and 1"
1073
  msgstr ""
1074
 
1075
+ #: admin/main-view.php:825
1076
  msgid "Merge blog ID 0 and 1 post counts"
1077
  msgstr ""
1078
 
1079
+ #: admin/main-view.php:825
1080
  msgid "This will merge post counts for blog IDs 0 and 1. Proceed?"
1081
  msgstr ""
1082
 
1083
+ #: admin/main-view.php:828
1084
  msgid ""
1085
  "In older versions, the plugin created entries with duplicate post IDs. "
1086
  "Clicking the button below will merge these duplicate IDs"
1087
  msgstr ""
1088
 
1089
+ #: admin/main-view.php:831
1090
  msgid "Merge duplicates across blog IDs"
1091
  msgstr ""
1092
 
1093
+ #: admin/main-view.php:831
1094
  msgid "This will delete the duplicate entries in the tables. Proceed?"
1095
  msgstr "Questa operazione cancelerà i duplicati dalle tabelle. Procedi?"
1096
 
1097
+ #: admin/main-view.php:847
1098
  msgid "WordPress Multisite: Migrate Top 10 v1.x counts to 2.x"
1099
  msgstr ""
1100
 
1101
+ #: admin/main-view.php:850
1102
  msgid ""
1103
  "If you've been using Top 10 v1.x on multisite, you would have needed to "
1104
  "activate the plugin independently for each site. This would have resulted in "
1105
  "two tables being created for each site in the network."
1106
  msgstr ""
1107
 
1108
+ #: admin/main-view.php:851
1109
  msgid ""
1110
  "Top 10 v2.x onwards uses only a single table to record the count, keeping "
1111
  "your database clean. You can use this tool to import the recorded counts "
1112
  "from v1.x tables to the new v2.x table format."
1113
  msgstr ""
1114
 
1115
+ #: admin/main-view.php:854
1116
  msgid ""
1117
  "If you do not see any tables below, then it means that either all data has "
1118
  "already been imported or no relevant information has been found."
1119
  msgstr ""
1120
 
1121
+ #: admin/main-view.php:857
1122
  msgid ""
1123
  "After running the importer, please verify that all the counts have been "
1124
  "successfully imported. Only then should you delete any old tables!"
1125
  msgstr ""
1126
 
1127
+ #: admin/main-view.php:891
1128
  msgid "Blog ID"
1129
  msgstr ""
1130
 
1131
+ #: admin/main-view.php:894
1132
  msgid "Status"
1133
  msgstr ""
1134
 
1135
+ #: admin/main-view.php:897
1136
  msgid "Select to import"
1137
  msgstr ""
1138
 
1139
+ #: admin/main-view.php:907
1140
  msgid "Blog #"
1141
  msgstr ""
1142
 
1143
+ #: admin/main-view.php:917
1144
  msgid "Not imported"
1145
  msgstr ""
1146
 
1147
+ #: admin/main-view.php:921
1148
  msgid "Imported"
1149
  msgstr ""
1150
 
1151
+ #: admin/main-view.php:942
1152
  msgid "Begin import"
1153
  msgstr ""
1154
 
1155
+ #: admin/main-view.php:943
1156
  msgid "Delete selected tables"
1157
  msgstr ""
1158
 
1159
+ #: admin/main-view.php:944
1160
  msgid "Delete all imported tables"
1161
  msgstr ""
1162
 
1240
  msgid "Post types to include:"
1241
  msgstr ""
1242
 
1243
+ #: includes/media.php:62
1244
  msgid "thumb_timthumb argument has been deprecated"
1245
  msgstr ""
1246
 
1247
+ #: includes/media.php:66
1248
  msgid "thumb_timthumb_q argument has been deprecated"
1249
  msgstr ""
1250
 
1251
+ #: includes/media.php:70
1252
  msgid "filter argument has been deprecated"
1253
  msgstr ""
1254
 
1256
  msgid " by "
1257
  msgstr ""
1258
 
1259
+ #: top-10.php:163
1260
  msgid ""
1261
  "posts_only argument has been deprecated. Use get_tptn_pop_posts() to get the "
1262
  "posts only."
1263
  msgstr ""
1264
 
1265
+ #: top-10.php:300
1266
  #, php-format
1267
  msgid "Popular posts by <a href=\"%s\" rel=\"nofollow\" %s>Top 10 plugin</a>"
1268
  msgstr ""
1269
 
1270
+ #: top-10.php:641
1271
  msgid "<h3>Popular Posts</h3>"
1272
  msgstr "<h3>Articoli più letti</h3>"
1273
 
1274
+ #: top-10.php:642
1275
  msgid "<h3>Daily Popular</h3>"
1276
  msgstr "<h3>I più letti di oggi</h3>"
1277
 
1278
+ #: top-10.php:643
1279
  #, fuzzy
1280
  msgid "No top posts yet"
1281
  msgstr "Ripristino 10 articoli più popolari"
1282
 
1283
+ #: top-10.php:1124
1284
  msgid "Once Weekly"
1285
  msgstr ""
1286
 
1287
+ #: top-10.php:1128
1288
  msgid "Once Fortnightly"
1289
  msgstr ""
1290
 
1291
+ #: top-10.php:1132
1292
  msgid "Once Monthly"
1293
  msgstr ""
1294
 
1295
+ #: top-10.php:1136
1296
  msgid "Once quarterly"
1297
  msgstr ""
1298
 
languages/{tptn-nl_NL.mo → top-10-nl_NL.mo} RENAMED
Binary file
languages/{tptn-nl_NL.po → top-10-nl_NL.po} RENAMED
@@ -2,7 +2,7 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Top 10 v1.6.2\n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2015-09-13 22:08+0100\n"
6
  "PO-Revision-Date: \n"
7
  "Last-Translator: Ajay D'Souza <me@ajaydsouza.com>\n"
8
  "Language-Team: WPPG.me <info@wppg.me>\n"
@@ -45,7 +45,7 @@ msgstr ""
45
  msgid "Popular posts by <a href=\"%s\" target=\"_blank\">Top 10 plugin</a>"
46
  msgstr ""
47
 
48
- #: admin/admin-dashboard.php:109 admin/class-stats.php:440
49
  #: admin/deprecated.php:41
50
  msgid "Popular Posts"
51
  msgstr "Populaire Berichten"
@@ -154,169 +154,169 @@ msgstr ""
154
  msgid "Scheduled maintenance disabled"
155
  msgstr ""
156
 
157
- #: admin/admin.php:300
158
  msgid "Counts from selected sites have been imported."
159
  msgstr ""
160
 
161
- #: admin/admin.php:325
162
  msgid ""
163
  "Selected tables have been deleted. Note that only imported tables have been "
164
  "deleted."
165
  msgstr ""
166
 
167
- #: admin/admin.php:342 admin/admin.php:362 admin/admin.php:372
168
  #: admin/main-view.php:55 admin/main-view.php:174 admin/main-view.php:279
169
- #: admin/main-view.php:477 admin/main-view.php:638 admin/main-view.php:734
170
- #: admin/main-view.php:798 admin/main-view.php:834
171
  msgid "Click to toggle"
172
  msgstr ""
173
 
174
- #: admin/admin.php:343
175
  msgid "Support the development"
176
  msgstr "Ondersteun de ontwikkeling"
177
 
178
- #: admin/admin.php:350
179
  msgid "Donation for Top 10"
180
  msgstr ""
181
 
182
- #: admin/admin.php:352
183
  msgid "Enter amount in USD:"
184
  msgstr ""
185
 
186
- #: admin/admin.php:356
187
  #, fuzzy
188
  msgid "Send your donation to the author of Top 10"
189
  msgstr "Zend je donatie naar de auteur van "
190
 
191
- #: admin/admin.php:363
192
  msgid "Follow me"
193
  msgstr ""
194
 
195
- #: admin/admin.php:373
196
  #, fuzzy
197
  msgid "Quick links"
198
  msgstr "Quick links"
199
 
200
- #: admin/admin.php:377
201
  #, fuzzy
202
  msgid "Top 10 plugin page"
203
  msgstr "plugin pagina"
204
 
205
- #: admin/admin.php:378
206
  msgid "Top 10 Github page"
207
  msgstr ""
208
 
209
- #: admin/admin.php:379
210
  msgid "Other plugins"
211
  msgstr "Andere plugins"
212
 
213
- #: admin/admin.php:380
214
  msgid "FAQ"
215
  msgstr ""
216
 
217
- #: admin/admin.php:381 admin/admin.php:551
218
  msgid "Support"
219
  msgstr "Ondersteuning"
220
 
221
- #: admin/admin.php:382
222
  msgid "Reviews"
223
  msgstr ""
224
 
225
- #: admin/admin.php:383
226
  msgid "Ajay's blog"
227
  msgstr "De blog van Ajay"
228
 
229
- #: admin/admin.php:400 admin/admin.php:403 admin/main-view.php:22
230
  #, fuzzy
231
  msgid "Top 10 Settings"
232
  msgstr "Instellingen"
233
 
234
- #: admin/admin.php:400
235
  msgid "Top 10"
236
  msgstr "Top 10"
237
 
238
- #: admin/admin.php:408
239
  msgid "View Popular Posts"
240
  msgstr ""
241
 
242
- #: admin/admin.php:528
243
  msgid "Settings"
244
  msgstr "Instellingen"
245
 
246
- #: admin/admin.php:552
247
  msgid "Donate"
248
  msgstr "Doneer"
249
 
250
- #: admin/cache.php:20
251
  msgid "Top 10 cache has been cleared"
252
  msgstr ""
253
 
254
- #: admin/class-stats.php:37
255
  msgid "popular_post"
256
  msgstr ""
257
 
258
- #: admin/class-stats.php:38
259
  msgid "popular_posts"
260
  msgstr ""
261
 
262
- #: admin/class-stats.php:162
263
  msgid "No popular posts available."
264
  msgstr ""
265
 
266
- #: admin/class-stats.php:211
267
  msgid "View"
268
  msgstr ""
269
 
270
- #: admin/class-stats.php:212
271
  msgid "Edit"
272
  msgstr ""
273
 
274
- #: admin/class-stats.php:213
275
  msgid "Delete"
276
  msgstr ""
277
 
278
- #: admin/class-stats.php:235
279
  msgid "Y/m/d g:i:s a"
280
  msgstr ""
281
 
282
- #: admin/class-stats.php:242
283
  #, php-format
284
  msgid "%s ago"
285
  msgstr ""
286
 
287
- #: admin/class-stats.php:244
288
  msgid "Y/m/d"
289
  msgstr ""
290
 
291
- #: admin/class-stats.php:278 includes/class-top-10-widget.php:71
292
  msgid "Title"
293
  msgstr ""
294
 
295
- #: admin/class-stats.php:279
296
  msgid "Total visits"
297
  msgstr ""
298
 
299
- #: admin/class-stats.php:280
300
  msgid "Daily visits"
301
  msgstr ""
302
 
303
- #: admin/class-stats.php:281
304
  msgid "Post type"
305
  msgstr ""
306
 
307
- #: admin/class-stats.php:282
308
  msgid "Author"
309
  msgstr ""
310
 
311
- #: admin/class-stats.php:283
312
  msgid "Date"
313
  msgstr ""
314
 
315
- #: admin/class-stats.php:317
316
  msgid "Delete Count"
317
  msgstr ""
318
 
319
- #: admin/class-stats.php:357
320
  msgid "Are you sure you want to do this"
321
  msgstr ""
322
 
@@ -332,17 +332,17 @@ msgstr ""
332
  msgid "Popular post list options"
333
  msgstr ""
334
 
335
- #: admin/main-view.php:37 admin/main-view.php:478
336
  #: includes/class-top-10-widget.php:115
337
  #, fuzzy
338
  msgid "Thumbnail options"
339
  msgstr "Bericht miniatuurafbeelding opties:"
340
 
341
- #: admin/main-view.php:38 admin/main-view.php:639
342
  msgid "Styles"
343
  msgstr ""
344
 
345
- #: admin/main-view.php:39 admin/main-view.php:735
346
  msgid "Maintenance"
347
  msgstr ""
348
 
@@ -354,7 +354,7 @@ msgstr ""
354
  msgid "Overall"
355
  msgstr ""
356
 
357
- #: admin/main-view.php:83 admin/main-view.php:754
358
  msgid "Daily"
359
  msgstr ""
360
 
@@ -475,8 +475,8 @@ msgstr ""
475
  "populaire berichten. Het is niet verplicht, maar wordt ten zeerste "
476
  "gewaardeerd!"
477
 
478
- #: admin/main-view.php:156 admin/main-view.php:261 admin/main-view.php:459
479
- #: admin/main-view.php:620 admin/main-view.php:714
480
  #, fuzzy
481
  msgid "Save Options"
482
  msgstr "Opties:"
@@ -644,7 +644,7 @@ msgstr ""
644
  msgid "List of post or page IDs to exclude from the results:"
645
  msgstr ""
646
 
647
- #: admin/main-view.php:327 admin/main-view.php:427
648
  msgid "Enter comma separated list of IDs. e.g. 188,320,500"
649
  msgstr ""
650
 
@@ -659,137 +659,148 @@ msgid ""
659
  "options"
660
  msgstr ""
661
 
662
- #: admin/main-view.php:351
 
 
 
 
 
 
 
 
 
 
 
663
  msgid "Title of popular posts:"
664
  msgstr ""
665
 
666
- #: admin/main-view.php:357
667
  msgid "Title of daily popular posts:"
668
  msgstr ""
669
 
670
- #: admin/main-view.php:363
671
  msgid "When there are no posts, what should be shown?"
672
  msgstr ""
673
 
674
- #: admin/main-view.php:367
675
  msgid "Blank Output"
676
  msgstr ""
677
 
678
- #: admin/main-view.php:371
679
  msgid "Display:"
680
  msgstr ""
681
 
682
- #: admin/main-view.php:376
683
  msgid "Show post excerpt in list?"
684
  msgstr "Laat bericht samenvatting zien in lijst?"
685
 
686
- #: admin/main-view.php:382
687
  msgid "Length of excerpt (in words):"
688
  msgstr ""
689
 
690
- #: admin/main-view.php:388
691
  #, fuzzy
692
  msgid "Show post author in list?"
693
  msgstr "Laat bericht samenvatting zien in lijst?"
694
 
695
- #: admin/main-view.php:394
696
  #, fuzzy
697
  msgid "Show post date in list?"
698
  msgstr "Laat bericht samenvatting zien in lijst?"
699
 
700
- #: admin/main-view.php:400
701
  msgid "Limit post title length (in characters)"
702
  msgstr ""
703
 
704
- #: admin/main-view.php:406
705
  #, fuzzy
706
  msgid "Show view count in list?"
707
  msgstr "Laat bericht samenvatting zien in lijst?"
708
 
709
- #: admin/main-view.php:412
710
  msgid "Open links in new window"
711
  msgstr ""
712
 
713
- #: admin/main-view.php:418
714
  msgid "Add nofollow attribute to links in the list"
715
  msgstr ""
716
 
717
- #: admin/main-view.php:424
718
  msgid "Exclude display of related posts on these posts / pages"
719
  msgstr ""
720
 
721
- #: admin/main-view.php:431
722
  #, fuzzy
723
  msgid "Customise the list HTML"
724
  msgstr "Aanpassen van de output:"
725
 
726
- #: admin/main-view.php:434
727
  msgid "HTML to display before the list of posts:"
728
  msgstr ""
729
 
730
- #: admin/main-view.php:440
731
  msgid "HTML to display before each list item:"
732
  msgstr ""
733
 
734
- #: admin/main-view.php:446
735
  msgid "HTML to display after each list item:"
736
  msgstr ""
737
 
738
- #: admin/main-view.php:452
739
  msgid "HTML to display after the list of posts:"
740
  msgstr ""
741
 
742
- #: admin/main-view.php:493
743
  msgid "Location of post thumbnail:"
744
  msgstr ""
745
 
746
- #: admin/main-view.php:497
747
  #, fuzzy
748
  msgid "Display thumbnails inline with posts, before title"
749
  msgstr "Laat miniatuurafbeeldingen in lijn zien met berichten"
750
 
751
- #: admin/main-view.php:502
752
  #, fuzzy
753
  msgid "Display thumbnails inline with posts, after title"
754
  msgstr "Laat miniatuurafbeeldingen in lijn zien met berichten"
755
 
756
- #: admin/main-view.php:507
757
  msgid "Display only thumbnails, no text"
758
  msgstr "Geef alleen miniatuurafbeeldingen weer, geen text"
759
 
760
- #: admin/main-view.php:512
761
  msgid "Do not display thumbnails, only text."
762
  msgstr "Geef geen miniatuurafbeeldingen weer, alleen text"
763
 
764
- #: admin/main-view.php:516
765
  msgid ""
766
  "This setting cannot be changed because an inbuilt style has been selected "
767
  "under the Styles section. If you would like to change this option, please "
768
  "select No styles under the Styles section."
769
  msgstr ""
770
 
771
- #: admin/main-view.php:520
772
  msgid "Thumbnail size:"
773
  msgstr ""
774
 
775
- #: admin/main-view.php:544
776
  msgid "Custom size"
777
  msgstr ""
778
 
779
- #: admin/main-view.php:547
780
  msgid ""
781
  "You can choose from existing image sizes above or create a custom size. If "
782
  "you have chosen Custom size above, then enter the width, height and crop "
783
  "settings below. For best results, use a cropped image."
784
  msgstr ""
785
 
786
- #: admin/main-view.php:548
787
  msgid ""
788
  "If you change the width and/or height below, existing images will not be "
789
  "automatically resized."
790
  msgstr ""
791
 
792
- #: admin/main-view.php:549
793
  #, php-format
794
  msgid ""
795
  "I recommend using <a href='%s' class='thickbox'>OTF Regenerate Thumbnails</"
@@ -797,7 +808,7 @@ msgid ""
797
  "all image sizes."
798
  msgstr ""
799
 
800
- #: admin/main-view.php:552
801
  msgid ""
802
  "If you're using the Left Thumbs style below then the thumbnail width and "
803
  "height that you set here will supersede the widget. Alternatively, choose "
@@ -805,56 +816,56 @@ msgid ""
805
  "strong> option below"
806
  msgstr ""
807
 
808
- #: admin/main-view.php:555
809
  msgid "Width of custom thumbnail:"
810
  msgstr ""
811
 
812
- #: admin/main-view.php:560
813
  msgid "Height of custom thumbnail"
814
  msgstr ""
815
 
816
- #: admin/main-view.php:565
817
  msgid "Crop mode:"
818
  msgstr ""
819
 
820
- #: admin/main-view.php:569
821
  msgid ""
822
  "By default, thumbnails will be proportionately cropped. Check this box to "
823
  "hard crop the thumbnails."
824
  msgstr ""
825
 
826
- #: admin/main-view.php:570
827
  #, php-format
828
  msgid "<a href='%s' target='_blank'>Difference between soft and hard crop</a>"
829
  msgstr ""
830
 
831
- #: admin/main-view.php:574
832
  msgid "Image size attributes:"
833
  msgstr ""
834
 
835
- #: admin/main-view.php:578
836
  msgid "Style attributes are used for width and height."
837
  msgstr ""
838
 
839
- #: admin/main-view.php:583
840
  msgid "HTML width and height attributes are used for width and height."
841
  msgstr ""
842
 
843
- #: admin/main-view.php:588
844
  msgid "No HTML or Style attributes set for width and height"
845
  msgstr ""
846
 
847
- #: admin/main-view.php:593
848
  msgid "Post thumbnail meta field name:"
849
  msgstr ""
850
 
851
- #: admin/main-view.php:596
852
  msgid ""
853
  "The value of this field should contain the image source and is set in the "
854
  "<em>Add New Post</em> screen"
855
  msgstr ""
856
 
857
- #: admin/main-view.php:599
858
  #, fuzzy
859
  msgid ""
860
  "If the postmeta is not set, then should the plugin extract the first image "
@@ -865,7 +876,7 @@ msgstr ""
865
  "vertragen wanneer de eerste afbeelding in de gerelateerde berichten groot is "
866
  "qua bestandsgrootte"
867
 
868
- #: admin/main-view.php:602
869
  #, fuzzy
870
  msgid ""
871
  "This could slow down the loading of your page if the first image in the "
@@ -876,21 +887,21 @@ msgstr ""
876
  "vertragen wanneer de eerste afbeelding in de gerelateerde berichten groot is "
877
  "qua bestandsgrootte"
878
 
879
- #: admin/main-view.php:605
880
  msgid "Use default thumbnail?"
881
  msgstr ""
882
 
883
- #: admin/main-view.php:608
884
  msgid ""
885
  "If checked, when no thumbnail is found, show a default one from the URL "
886
  "below. If not checked and no thumbnail is found, no image will be shown."
887
  msgstr ""
888
 
889
- #: admin/main-view.php:611
890
  msgid "Default thumbnail:"
891
  msgstr ""
892
 
893
- #: admin/main-view.php:615
894
  #, fuzzy
895
  msgid ""
896
  "The plugin will first check if the post contains a thumbnail. If it doesn't "
@@ -902,65 +913,65 @@ msgstr ""
902
  "veld controleren. Als dit veld niet beschikbaar is toont de plugin de "
903
  "standaard afbeelding zoals hieronder aangegeven:"
904
 
905
- #: admin/main-view.php:654
906
  msgid "Style of the related posts:"
907
  msgstr ""
908
 
909
- #: admin/main-view.php:657
910
  msgid "No styles"
911
  msgstr ""
912
 
913
- #: admin/main-view.php:659
914
  msgid "Select this option if you plan to add your own styles"
915
  msgstr ""
916
 
917
- #: admin/main-view.php:664
918
  msgid "Left Thumbnails"
919
  msgstr ""
920
 
921
- #: admin/main-view.php:667
922
  msgid ""
923
  "Enabling this option will set the post thumbnail to be before text. "
924
  "Disabling this option will not revert any settings."
925
  msgstr ""
926
 
927
- #: admin/main-view.php:668
928
  #, php-format
929
  msgid ""
930
  "You can view the default style at <a href=\"%1$s\" target=\"_blank\">%1$s</a>"
931
  msgstr ""
932
 
933
- #: admin/main-view.php:672
934
  msgid "Text only"
935
  msgstr ""
936
 
937
- #: admin/main-view.php:674
938
  msgid ""
939
  "Enabling this option will disable thumbnails and no longer include the "
940
  "default style sheet included in the plugin."
941
  msgstr ""
942
 
943
- #: admin/main-view.php:690
944
  msgid "Custom CSS to add to header:"
945
  msgstr ""
946
 
947
- #: admin/main-view.php:695
948
  msgid ""
949
  "Do not include <code>style</code> tags. Check out the <a href=\"http://"
950
  "wordpress.org/extend/plugins/top-10/faq/\" target=\"_blank\">FAQ</a> for "
951
  "available CSS classes to style."
952
  msgstr ""
953
 
954
- #: admin/main-view.php:715
955
  #, fuzzy
956
  msgid "Default Options"
957
  msgstr "Output Opties:"
958
 
959
- #: admin/main-view.php:715
960
  msgid "Do you want to set options to Default?"
961
  msgstr "Wil je de opties terugzetten naar standaard?"
962
 
963
- #: admin/main-view.php:739
964
  msgid ""
965
  "Over time the Daily Top 10 database grows in size, which reduces the "
966
  "performance of the plugin. Cleaning the database at regular intervals could "
@@ -968,65 +979,65 @@ msgid ""
968
  "will automatically delete entries older than 90 days."
969
  msgstr ""
970
 
971
- #: admin/main-view.php:740
972
  msgid ""
973
  "Note: When scheduled maintenance is enabled, WordPress will run the cron job "
974
  "everytime the job is rescheduled (i.e. you change the settings below)."
975
  msgstr ""
976
 
977
- #: admin/main-view.php:743
978
  msgid "Enable scheduled maintenance of daily tables:"
979
  msgstr ""
980
 
981
- #: admin/main-view.php:747
982
  msgid "Time to run maintenance"
983
  msgstr ""
984
 
985
- #: admin/main-view.php:748
986
  msgid "hrs"
987
  msgstr ""
988
 
989
- #: admin/main-view.php:748
990
  msgid "min"
991
  msgstr ""
992
 
993
- #: admin/main-view.php:750
994
  msgid "How often should the maintenance be run:"
995
  msgstr ""
996
 
997
- #: admin/main-view.php:758
998
  msgid "Weekly"
999
  msgstr ""
1000
 
1001
- #: admin/main-view.php:762
1002
  msgid "Fortnightly"
1003
  msgstr ""
1004
 
1005
- #: admin/main-view.php:766
1006
  msgid "Monthly"
1007
  msgstr ""
1008
 
1009
- #: admin/main-view.php:775
1010
  msgid "The cron job has been scheduled. Maintenance will run"
1011
  msgstr ""
1012
 
1013
- #: admin/main-view.php:780
1014
  msgid "The cron job is missing. Please resave this page to add the job"
1015
  msgstr ""
1016
 
1017
- #: admin/main-view.php:785
1018
  msgid "Maintenance is turned off"
1019
  msgstr ""
1020
 
1021
- #: admin/main-view.php:791
1022
  msgid "Save Maintenance Options"
1023
  msgstr ""
1024
 
1025
- #: admin/main-view.php:799
1026
  msgid "Reset count and other tools"
1027
  msgstr ""
1028
 
1029
- #: admin/main-view.php:802
1030
  msgid ""
1031
  "This cannot be reversed. Make sure that your database has been backed up "
1032
  "before proceeding"
@@ -1034,114 +1045,114 @@ msgstr ""
1034
  "Dit kan niet ongedaan worden gemaakt. Zorg ervoor dat je een backup van je "
1035
  "database gemaakt hebt voordat je verder gaat"
1036
 
1037
- #: admin/main-view.php:805
1038
  #, fuzzy
1039
  msgid "Reset Popular Posts"
1040
  msgstr "Populaire Berichten"
1041
 
1042
- #: admin/main-view.php:805
1043
  msgid "Are you sure you want to reset the popular posts?"
1044
  msgstr "Ben je er zeker van dat je de populaire berichten wilt resetten?"
1045
 
1046
- #: admin/main-view.php:806
1047
  #, fuzzy
1048
  msgid "Reset Daily Popular Posts"
1049
  msgstr "Dagelijkse Populaire Berichten"
1050
 
1051
- #: admin/main-view.php:806
1052
  msgid "Are you sure you want to reset the daily popular posts?"
1053
  msgstr ""
1054
  "Ben je er zeker van dat je de dagelijkse populaire berichten wilt resetten?"
1055
 
1056
- #: admin/main-view.php:809
1057
  msgid "This will merge post counts for posts with table entries of 0 and 1"
1058
  msgstr ""
1059
 
1060
- #: admin/main-view.php:812
1061
  msgid "Merge blog ID 0 and 1 post counts"
1062
  msgstr ""
1063
 
1064
- #: admin/main-view.php:812
1065
  msgid "This will merge post counts for blog IDs 0 and 1. Proceed?"
1066
  msgstr ""
1067
 
1068
- #: admin/main-view.php:815
1069
  msgid ""
1070
  "In older versions, the plugin created entries with duplicate post IDs. "
1071
  "Clicking the button below will merge these duplicate IDs"
1072
  msgstr ""
1073
 
1074
- #: admin/main-view.php:818
1075
  msgid "Merge duplicates across blog IDs"
1076
  msgstr ""
1077
 
1078
- #: admin/main-view.php:818
1079
  msgid "This will delete the duplicate entries in the tables. Proceed?"
1080
  msgstr "Hiermee verwijdert u de dubbele vermeldingen in de tabellen. Doorgaan?"
1081
 
1082
- #: admin/main-view.php:835
1083
  msgid "WordPress Multisite: Migrate Top 10 v1.x counts to 2.x"
1084
  msgstr ""
1085
 
1086
- #: admin/main-view.php:838
1087
  msgid ""
1088
  "If you've been using Top 10 v1.x on multisite, you would have needed to "
1089
  "activate the plugin independently for each site. This would have resulted in "
1090
  "two tables being created for each site in the network."
1091
  msgstr ""
1092
 
1093
- #: admin/main-view.php:839
1094
  msgid ""
1095
  "Top 10 v2.x onwards uses only a single table to record the count, keeping "
1096
  "your database clean. You can use this tool to import the recorded counts "
1097
  "from v1.x tables to the new v2.x table format."
1098
  msgstr ""
1099
 
1100
- #: admin/main-view.php:842
1101
  msgid ""
1102
  "If you do not see any tables below, then it means that either all data has "
1103
  "already been imported or no relevant information has been found."
1104
  msgstr ""
1105
 
1106
- #: admin/main-view.php:845
1107
  msgid ""
1108
  "After running the importer, please verify that all the counts have been "
1109
  "successfully imported. Only then should you delete any old tables!"
1110
  msgstr ""
1111
 
1112
- #: admin/main-view.php:879
1113
  msgid "Blog ID"
1114
  msgstr ""
1115
 
1116
- #: admin/main-view.php:882
1117
  msgid "Status"
1118
  msgstr ""
1119
 
1120
- #: admin/main-view.php:885
1121
  msgid "Select to import"
1122
  msgstr ""
1123
 
1124
- #: admin/main-view.php:895
1125
  msgid "Blog #"
1126
  msgstr ""
1127
 
1128
- #: admin/main-view.php:905
1129
  msgid "Not imported"
1130
  msgstr ""
1131
 
1132
- #: admin/main-view.php:909
1133
  msgid "Imported"
1134
  msgstr ""
1135
 
1136
- #: admin/main-view.php:930
1137
  msgid "Begin import"
1138
  msgstr ""
1139
 
1140
- #: admin/main-view.php:931
1141
  msgid "Delete selected tables"
1142
  msgstr ""
1143
 
1144
- #: admin/main-view.php:932
1145
  msgid "Delete all imported tables"
1146
  msgstr ""
1147
 
@@ -1225,15 +1236,15 @@ msgstr "Bericht miniatuurafbeelding opties:"
1225
  msgid "Post types to include:"
1226
  msgstr ""
1227
 
1228
- #: includes/media.php:63
1229
  msgid "thumb_timthumb argument has been deprecated"
1230
  msgstr ""
1231
 
1232
- #: includes/media.php:67
1233
  msgid "thumb_timthumb_q argument has been deprecated"
1234
  msgstr ""
1235
 
1236
- #: includes/media.php:71
1237
  msgid "filter argument has been deprecated"
1238
  msgstr ""
1239
 
@@ -1241,43 +1252,43 @@ msgstr ""
1241
  msgid " by "
1242
  msgstr ""
1243
 
1244
- #: top-10.php:157
1245
  msgid ""
1246
  "posts_only argument has been deprecated. Use get_tptn_pop_posts() to get the "
1247
  "posts only."
1248
  msgstr ""
1249
 
1250
- #: top-10.php:264
1251
  #, php-format
1252
  msgid "Popular posts by <a href=\"%s\" rel=\"nofollow\" %s>Top 10 plugin</a>"
1253
  msgstr ""
1254
 
1255
- #: top-10.php:610
1256
  msgid "<h3>Popular Posts</h3>"
1257
  msgstr "<h3>Populaire Berichten</h3>"
1258
 
1259
- #: top-10.php:611
1260
  msgid "<h3>Daily Popular</h3>"
1261
  msgstr "<h3>Dagelijks Populair</h3>"
1262
 
1263
- #: top-10.php:612
1264
  #, fuzzy
1265
  msgid "No top posts yet"
1266
  msgstr "Reset Top 10 populaire berichten"
1267
 
1268
- #: top-10.php:1093
1269
  msgid "Once Weekly"
1270
  msgstr ""
1271
 
1272
- #: top-10.php:1097
1273
  msgid "Once Fortnightly"
1274
  msgstr ""
1275
 
1276
- #: top-10.php:1101
1277
  msgid "Once Monthly"
1278
  msgstr ""
1279
 
1280
- #: top-10.php:1105
1281
  msgid "Once quarterly"
1282
  msgstr ""
1283
 
2
  msgstr ""
3
  "Project-Id-Version: Top 10 v1.6.2\n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2015-09-27 13:34+0100\n"
6
  "PO-Revision-Date: \n"
7
  "Last-Translator: Ajay D'Souza <me@ajaydsouza.com>\n"
8
  "Language-Team: WPPG.me <info@wppg.me>\n"
45
  msgid "Popular posts by <a href=\"%s\" target=\"_blank\">Top 10 plugin</a>"
46
  msgstr ""
47
 
48
+ #: admin/admin-dashboard.php:109 admin/class-stats.php:438
49
  #: admin/deprecated.php:41
50
  msgid "Popular Posts"
51
  msgstr "Populaire Berichten"
154
  msgid "Scheduled maintenance disabled"
155
  msgstr ""
156
 
157
+ #: admin/admin.php:299
158
  msgid "Counts from selected sites have been imported."
159
  msgstr ""
160
 
161
+ #: admin/admin.php:324
162
  msgid ""
163
  "Selected tables have been deleted. Note that only imported tables have been "
164
  "deleted."
165
  msgstr ""
166
 
167
+ #: admin/admin.php:341 admin/admin.php:361 admin/admin.php:385
168
  #: admin/main-view.php:55 admin/main-view.php:174 admin/main-view.php:279
169
+ #: admin/main-view.php:488 admin/main-view.php:651 admin/main-view.php:747
170
+ #: admin/main-view.php:811 admin/main-view.php:846
171
  msgid "Click to toggle"
172
  msgstr ""
173
 
174
+ #: admin/admin.php:342
175
  msgid "Support the development"
176
  msgstr "Ondersteun de ontwikkeling"
177
 
178
+ #: admin/admin.php:349
179
  msgid "Donation for Top 10"
180
  msgstr ""
181
 
182
+ #: admin/admin.php:351
183
  msgid "Enter amount in USD:"
184
  msgstr ""
185
 
186
+ #: admin/admin.php:355
187
  #, fuzzy
188
  msgid "Send your donation to the author of Top 10"
189
  msgstr "Zend je donatie naar de auteur van "
190
 
191
+ #: admin/admin.php:362
192
  msgid "Follow me"
193
  msgstr ""
194
 
195
+ #: admin/admin.php:386
196
  #, fuzzy
197
  msgid "Quick links"
198
  msgstr "Quick links"
199
 
200
+ #: admin/admin.php:390
201
  #, fuzzy
202
  msgid "Top 10 plugin page"
203
  msgstr "plugin pagina"
204
 
205
+ #: admin/admin.php:391
206
  msgid "Top 10 Github page"
207
  msgstr ""
208
 
209
+ #: admin/admin.php:392
210
  msgid "Other plugins"
211
  msgstr "Andere plugins"
212
 
213
+ #: admin/admin.php:393
214
  msgid "FAQ"
215
  msgstr ""
216
 
217
+ #: admin/admin.php:394 admin/admin.php:564
218
  msgid "Support"
219
  msgstr "Ondersteuning"
220
 
221
+ #: admin/admin.php:395
222
  msgid "Reviews"
223
  msgstr ""
224
 
225
+ #: admin/admin.php:396
226
  msgid "Ajay's blog"
227
  msgstr "De blog van Ajay"
228
 
229
+ #: admin/admin.php:413 admin/admin.php:416 admin/main-view.php:22
230
  #, fuzzy
231
  msgid "Top 10 Settings"
232
  msgstr "Instellingen"
233
 
234
+ #: admin/admin.php:413
235
  msgid "Top 10"
236
  msgstr "Top 10"
237
 
238
+ #: admin/admin.php:421
239
  msgid "View Popular Posts"
240
  msgstr ""
241
 
242
+ #: admin/admin.php:541
243
  msgid "Settings"
244
  msgstr "Instellingen"
245
 
246
+ #: admin/admin.php:565
247
  msgid "Donate"
248
  msgstr "Doneer"
249
 
250
+ #: admin/cache.php:19
251
  msgid "Top 10 cache has been cleared"
252
  msgstr ""
253
 
254
+ #: admin/class-stats.php:36
255
  msgid "popular_post"
256
  msgstr ""
257
 
258
+ #: admin/class-stats.php:37
259
  msgid "popular_posts"
260
  msgstr ""
261
 
262
+ #: admin/class-stats.php:160
263
  msgid "No popular posts available."
264
  msgstr ""
265
 
266
+ #: admin/class-stats.php:209
267
  msgid "View"
268
  msgstr ""
269
 
270
+ #: admin/class-stats.php:210
271
  msgid "Edit"
272
  msgstr ""
273
 
274
+ #: admin/class-stats.php:211
275
  msgid "Delete"
276
  msgstr ""
277
 
278
+ #: admin/class-stats.php:233
279
  msgid "Y/m/d g:i:s a"
280
  msgstr ""
281
 
282
+ #: admin/class-stats.php:240
283
  #, php-format
284
  msgid "%s ago"
285
  msgstr ""
286
 
287
+ #: admin/class-stats.php:242
288
  msgid "Y/m/d"
289
  msgstr ""
290
 
291
+ #: admin/class-stats.php:276 includes/class-top-10-widget.php:71
292
  msgid "Title"
293
  msgstr ""
294
 
295
+ #: admin/class-stats.php:277
296
  msgid "Total visits"
297
  msgstr ""
298
 
299
+ #: admin/class-stats.php:278
300
  msgid "Daily visits"
301
  msgstr ""
302
 
303
+ #: admin/class-stats.php:279
304
  msgid "Post type"
305
  msgstr ""
306
 
307
+ #: admin/class-stats.php:280
308
  msgid "Author"
309
  msgstr ""
310
 
311
+ #: admin/class-stats.php:281
312
  msgid "Date"
313
  msgstr ""
314
 
315
+ #: admin/class-stats.php:315
316
  msgid "Delete Count"
317
  msgstr ""
318
 
319
+ #: admin/class-stats.php:355
320
  msgid "Are you sure you want to do this"
321
  msgstr ""
322
 
332
  msgid "Popular post list options"
333
  msgstr ""
334
 
335
+ #: admin/main-view.php:37 admin/main-view.php:489
336
  #: includes/class-top-10-widget.php:115
337
  #, fuzzy
338
  msgid "Thumbnail options"
339
  msgstr "Bericht miniatuurafbeelding opties:"
340
 
341
+ #: admin/main-view.php:38 admin/main-view.php:652
342
  msgid "Styles"
343
  msgstr ""
344
 
345
+ #: admin/main-view.php:39 admin/main-view.php:748
346
  msgid "Maintenance"
347
  msgstr ""
348
 
354
  msgid "Overall"
355
  msgstr ""
356
 
357
+ #: admin/main-view.php:83 admin/main-view.php:767
358
  msgid "Daily"
359
  msgstr ""
360
 
475
  "populaire berichten. Het is niet verplicht, maar wordt ten zeerste "
476
  "gewaardeerd!"
477
 
478
+ #: admin/main-view.php:156 admin/main-view.php:261 admin/main-view.php:470
479
+ #: admin/main-view.php:633 admin/main-view.php:727
480
  #, fuzzy
481
  msgid "Save Options"
482
  msgstr "Opties:"
644
  msgid "List of post or page IDs to exclude from the results:"
645
  msgstr ""
646
 
647
+ #: admin/main-view.php:327 admin/main-view.php:438
648
  msgid "Enter comma separated list of IDs. e.g. 188,320,500"
649
  msgstr ""
650
 
659
  "options"
660
  msgstr ""
661
 
662
+ #: admin/main-view.php:350
663
+ msgid "Excluded category IDs are:"
664
+ msgstr ""
665
+
666
+ #: admin/main-view.php:356
667
+ msgid ""
668
+ "These might differ from the IDs visible in the Categories page which use the "
669
+ "<code>term_id</code>. Top 10 uses the <code>term_taxonomy_id</code> which is "
670
+ "unique to this taxonomy."
671
+ msgstr ""
672
+
673
+ #: admin/main-view.php:362
674
  msgid "Title of popular posts:"
675
  msgstr ""
676
 
677
+ #: admin/main-view.php:368
678
  msgid "Title of daily popular posts:"
679
  msgstr ""
680
 
681
+ #: admin/main-view.php:374
682
  msgid "When there are no posts, what should be shown?"
683
  msgstr ""
684
 
685
+ #: admin/main-view.php:378
686
  msgid "Blank Output"
687
  msgstr ""
688
 
689
+ #: admin/main-view.php:382
690
  msgid "Display:"
691
  msgstr ""
692
 
693
+ #: admin/main-view.php:387
694
  msgid "Show post excerpt in list?"
695
  msgstr "Laat bericht samenvatting zien in lijst?"
696
 
697
+ #: admin/main-view.php:393
698
  msgid "Length of excerpt (in words):"
699
  msgstr ""
700
 
701
+ #: admin/main-view.php:399
702
  #, fuzzy
703
  msgid "Show post author in list?"
704
  msgstr "Laat bericht samenvatting zien in lijst?"
705
 
706
+ #: admin/main-view.php:405
707
  #, fuzzy
708
  msgid "Show post date in list?"
709
  msgstr "Laat bericht samenvatting zien in lijst?"
710
 
711
+ #: admin/main-view.php:411
712
  msgid "Limit post title length (in characters)"
713
  msgstr ""
714
 
715
+ #: admin/main-view.php:417
716
  #, fuzzy
717
  msgid "Show view count in list?"
718
  msgstr "Laat bericht samenvatting zien in lijst?"
719
 
720
+ #: admin/main-view.php:423
721
  msgid "Open links in new window"
722
  msgstr ""
723
 
724
+ #: admin/main-view.php:429
725
  msgid "Add nofollow attribute to links in the list"
726
  msgstr ""
727
 
728
+ #: admin/main-view.php:435
729
  msgid "Exclude display of related posts on these posts / pages"
730
  msgstr ""
731
 
732
+ #: admin/main-view.php:442
733
  #, fuzzy
734
  msgid "Customise the list HTML"
735
  msgstr "Aanpassen van de output:"
736
 
737
+ #: admin/main-view.php:445
738
  msgid "HTML to display before the list of posts:"
739
  msgstr ""
740
 
741
+ #: admin/main-view.php:451
742
  msgid "HTML to display before each list item:"
743
  msgstr ""
744
 
745
+ #: admin/main-view.php:457
746
  msgid "HTML to display after each list item:"
747
  msgstr ""
748
 
749
+ #: admin/main-view.php:463
750
  msgid "HTML to display after the list of posts:"
751
  msgstr ""
752
 
753
+ #: admin/main-view.php:504
754
  msgid "Location of post thumbnail:"
755
  msgstr ""
756
 
757
+ #: admin/main-view.php:508
758
  #, fuzzy
759
  msgid "Display thumbnails inline with posts, before title"
760
  msgstr "Laat miniatuurafbeeldingen in lijn zien met berichten"
761
 
762
+ #: admin/main-view.php:513
763
  #, fuzzy
764
  msgid "Display thumbnails inline with posts, after title"
765
  msgstr "Laat miniatuurafbeeldingen in lijn zien met berichten"
766
 
767
+ #: admin/main-view.php:518
768
  msgid "Display only thumbnails, no text"
769
  msgstr "Geef alleen miniatuurafbeeldingen weer, geen text"
770
 
771
+ #: admin/main-view.php:523
772
  msgid "Do not display thumbnails, only text."
773
  msgstr "Geef geen miniatuurafbeeldingen weer, alleen text"
774
 
775
+ #: admin/main-view.php:527
776
  msgid ""
777
  "This setting cannot be changed because an inbuilt style has been selected "
778
  "under the Styles section. If you would like to change this option, please "
779
  "select No styles under the Styles section."
780
  msgstr ""
781
 
782
+ #: admin/main-view.php:531
783
  msgid "Thumbnail size:"
784
  msgstr ""
785
 
786
+ #: admin/main-view.php:555
787
  msgid "Custom size"
788
  msgstr ""
789
 
790
+ #: admin/main-view.php:558
791
  msgid ""
792
  "You can choose from existing image sizes above or create a custom size. If "
793
  "you have chosen Custom size above, then enter the width, height and crop "
794
  "settings below. For best results, use a cropped image."
795
  msgstr ""
796
 
797
+ #: admin/main-view.php:559
798
  msgid ""
799
  "If you change the width and/or height below, existing images will not be "
800
  "automatically resized."
801
  msgstr ""
802
 
803
+ #: admin/main-view.php:560
804
  #, php-format
805
  msgid ""
806
  "I recommend using <a href='%s' class='thickbox'>OTF Regenerate Thumbnails</"
808
  "all image sizes."
809
  msgstr ""
810
 
811
+ #: admin/main-view.php:563
812
  msgid ""
813
  "If you're using the Left Thumbs style below then the thumbnail width and "
814
  "height that you set here will supersede the widget. Alternatively, choose "
816
  "strong> option below"
817
  msgstr ""
818
 
819
+ #: admin/main-view.php:566
820
  msgid "Width of custom thumbnail:"
821
  msgstr ""
822
 
823
+ #: admin/main-view.php:571
824
  msgid "Height of custom thumbnail"
825
  msgstr ""
826
 
827
+ #: admin/main-view.php:576
828
  msgid "Crop mode:"
829
  msgstr ""
830
 
831
+ #: admin/main-view.php:580
832
  msgid ""
833
  "By default, thumbnails will be proportionately cropped. Check this box to "
834
  "hard crop the thumbnails."
835
  msgstr ""
836
 
837
+ #: admin/main-view.php:581
838
  #, php-format
839
  msgid "<a href='%s' target='_blank'>Difference between soft and hard crop</a>"
840
  msgstr ""
841
 
842
+ #: admin/main-view.php:585
843
  msgid "Image size attributes:"
844
  msgstr ""
845
 
846
+ #: admin/main-view.php:589
847
  msgid "Style attributes are used for width and height."
848
  msgstr ""
849
 
850
+ #: admin/main-view.php:595
851
  msgid "HTML width and height attributes are used for width and height."
852
  msgstr ""
853
 
854
+ #: admin/main-view.php:601
855
  msgid "No HTML or Style attributes set for width and height"
856
  msgstr ""
857
 
858
+ #: admin/main-view.php:606
859
  msgid "Post thumbnail meta field name:"
860
  msgstr ""
861
 
862
+ #: admin/main-view.php:609
863
  msgid ""
864
  "The value of this field should contain the image source and is set in the "
865
  "<em>Add New Post</em> screen"
866
  msgstr ""
867
 
868
+ #: admin/main-view.php:612
869
  #, fuzzy
870
  msgid ""
871
  "If the postmeta is not set, then should the plugin extract the first image "
876
  "vertragen wanneer de eerste afbeelding in de gerelateerde berichten groot is "
877
  "qua bestandsgrootte"
878
 
879
+ #: admin/main-view.php:615
880
  #, fuzzy
881
  msgid ""
882
  "This could slow down the loading of your page if the first image in the "
887
  "vertragen wanneer de eerste afbeelding in de gerelateerde berichten groot is "
888
  "qua bestandsgrootte"
889
 
890
+ #: admin/main-view.php:618
891
  msgid "Use default thumbnail?"
892
  msgstr ""
893
 
894
+ #: admin/main-view.php:621
895
  msgid ""
896
  "If checked, when no thumbnail is found, show a default one from the URL "
897
  "below. If not checked and no thumbnail is found, no image will be shown."
898
  msgstr ""
899
 
900
+ #: admin/main-view.php:624
901
  msgid "Default thumbnail:"
902
  msgstr ""
903
 
904
+ #: admin/main-view.php:628
905
  #, fuzzy
906
  msgid ""
907
  "The plugin will first check if the post contains a thumbnail. If it doesn't "
913
  "veld controleren. Als dit veld niet beschikbaar is toont de plugin de "
914
  "standaard afbeelding zoals hieronder aangegeven:"
915
 
916
+ #: admin/main-view.php:667
917
  msgid "Style of the related posts:"
918
  msgstr ""
919
 
920
+ #: admin/main-view.php:670
921
  msgid "No styles"
922
  msgstr ""
923
 
924
+ #: admin/main-view.php:672
925
  msgid "Select this option if you plan to add your own styles"
926
  msgstr ""
927
 
928
+ #: admin/main-view.php:677
929
  msgid "Left Thumbnails"
930
  msgstr ""
931
 
932
+ #: admin/main-view.php:680
933
  msgid ""
934
  "Enabling this option will set the post thumbnail to be before text. "
935
  "Disabling this option will not revert any settings."
936
  msgstr ""
937
 
938
+ #: admin/main-view.php:681
939
  #, php-format
940
  msgid ""
941
  "You can view the default style at <a href=\"%1$s\" target=\"_blank\">%1$s</a>"
942
  msgstr ""
943
 
944
+ #: admin/main-view.php:685
945
  msgid "Text only"
946
  msgstr ""
947
 
948
+ #: admin/main-view.php:687
949
  msgid ""
950
  "Enabling this option will disable thumbnails and no longer include the "
951
  "default style sheet included in the plugin."
952
  msgstr ""
953
 
954
+ #: admin/main-view.php:703
955
  msgid "Custom CSS to add to header:"
956
  msgstr ""
957
 
958
+ #: admin/main-view.php:708
959
  msgid ""
960
  "Do not include <code>style</code> tags. Check out the <a href=\"http://"
961
  "wordpress.org/extend/plugins/top-10/faq/\" target=\"_blank\">FAQ</a> for "
962
  "available CSS classes to style."
963
  msgstr ""
964
 
965
+ #: admin/main-view.php:728
966
  #, fuzzy
967
  msgid "Default Options"
968
  msgstr "Output Opties:"
969
 
970
+ #: admin/main-view.php:728
971
  msgid "Do you want to set options to Default?"
972
  msgstr "Wil je de opties terugzetten naar standaard?"
973
 
974
+ #: admin/main-view.php:752
975
  msgid ""
976
  "Over time the Daily Top 10 database grows in size, which reduces the "
977
  "performance of the plugin. Cleaning the database at regular intervals could "
979
  "will automatically delete entries older than 90 days."
980
  msgstr ""
981
 
982
+ #: admin/main-view.php:753
983
  msgid ""
984
  "Note: When scheduled maintenance is enabled, WordPress will run the cron job "
985
  "everytime the job is rescheduled (i.e. you change the settings below)."
986
  msgstr ""
987
 
988
+ #: admin/main-view.php:756
989
  msgid "Enable scheduled maintenance of daily tables:"
990
  msgstr ""
991
 
992
+ #: admin/main-view.php:760
993
  msgid "Time to run maintenance"
994
  msgstr ""
995
 
996
+ #: admin/main-view.php:761
997
  msgid "hrs"
998
  msgstr ""
999
 
1000
+ #: admin/main-view.php:761
1001
  msgid "min"
1002
  msgstr ""
1003
 
1004
+ #: admin/main-view.php:763
1005
  msgid "How often should the maintenance be run:"
1006
  msgstr ""
1007
 
1008
+ #: admin/main-view.php:771
1009
  msgid "Weekly"
1010
  msgstr ""
1011
 
1012
+ #: admin/main-view.php:775
1013
  msgid "Fortnightly"
1014
  msgstr ""
1015
 
1016
+ #: admin/main-view.php:779
1017
  msgid "Monthly"
1018
  msgstr ""
1019
 
1020
+ #: admin/main-view.php:788
1021
  msgid "The cron job has been scheduled. Maintenance will run"
1022
  msgstr ""
1023
 
1024
+ #: admin/main-view.php:793
1025
  msgid "The cron job is missing. Please resave this page to add the job"
1026
  msgstr ""
1027
 
1028
+ #: admin/main-view.php:798
1029
  msgid "Maintenance is turned off"
1030
  msgstr ""
1031
 
1032
+ #: admin/main-view.php:804
1033
  msgid "Save Maintenance Options"
1034
  msgstr ""
1035
 
1036
+ #: admin/main-view.php:812
1037
  msgid "Reset count and other tools"
1038
  msgstr ""
1039
 
1040
+ #: admin/main-view.php:815
1041
  msgid ""
1042
  "This cannot be reversed. Make sure that your database has been backed up "
1043
  "before proceeding"
1045
  "Dit kan niet ongedaan worden gemaakt. Zorg ervoor dat je een backup van je "
1046
  "database gemaakt hebt voordat je verder gaat"
1047
 
1048
+ #: admin/main-view.php:818
1049
  #, fuzzy
1050
  msgid "Reset Popular Posts"
1051
  msgstr "Populaire Berichten"
1052
 
1053
+ #: admin/main-view.php:818
1054
  msgid "Are you sure you want to reset the popular posts?"
1055
  msgstr "Ben je er zeker van dat je de populaire berichten wilt resetten?"
1056
 
1057
+ #: admin/main-view.php:819
1058
  #, fuzzy
1059
  msgid "Reset Daily Popular Posts"
1060
  msgstr "Dagelijkse Populaire Berichten"
1061
 
1062
+ #: admin/main-view.php:819
1063
  msgid "Are you sure you want to reset the daily popular posts?"
1064
  msgstr ""
1065
  "Ben je er zeker van dat je de dagelijkse populaire berichten wilt resetten?"
1066
 
1067
+ #: admin/main-view.php:822
1068
  msgid "This will merge post counts for posts with table entries of 0 and 1"
1069
  msgstr ""
1070
 
1071
+ #: admin/main-view.php:825
1072
  msgid "Merge blog ID 0 and 1 post counts"
1073
  msgstr ""
1074
 
1075
+ #: admin/main-view.php:825
1076
  msgid "This will merge post counts for blog IDs 0 and 1. Proceed?"
1077
  msgstr ""
1078
 
1079
+ #: admin/main-view.php:828
1080
  msgid ""
1081
  "In older versions, the plugin created entries with duplicate post IDs. "
1082
  "Clicking the button below will merge these duplicate IDs"
1083
  msgstr ""
1084
 
1085
+ #: admin/main-view.php:831
1086
  msgid "Merge duplicates across blog IDs"
1087
  msgstr ""
1088
 
1089
+ #: admin/main-view.php:831
1090
  msgid "This will delete the duplicate entries in the tables. Proceed?"
1091
  msgstr "Hiermee verwijdert u de dubbele vermeldingen in de tabellen. Doorgaan?"
1092
 
1093
+ #: admin/main-view.php:847
1094
  msgid "WordPress Multisite: Migrate Top 10 v1.x counts to 2.x"
1095
  msgstr ""
1096
 
1097
+ #: admin/main-view.php:850
1098
  msgid ""
1099
  "If you've been using Top 10 v1.x on multisite, you would have needed to "
1100
  "activate the plugin independently for each site. This would have resulted in "
1101
  "two tables being created for each site in the network."
1102
  msgstr ""
1103
 
1104
+ #: admin/main-view.php:851
1105
  msgid ""
1106
  "Top 10 v2.x onwards uses only a single table to record the count, keeping "
1107
  "your database clean. You can use this tool to import the recorded counts "
1108
  "from v1.x tables to the new v2.x table format."
1109
  msgstr ""
1110
 
1111
+ #: admin/main-view.php:854
1112
  msgid ""
1113
  "If you do not see any tables below, then it means that either all data has "
1114
  "already been imported or no relevant information has been found."
1115
  msgstr ""
1116
 
1117
+ #: admin/main-view.php:857
1118
  msgid ""
1119
  "After running the importer, please verify that all the counts have been "
1120
  "successfully imported. Only then should you delete any old tables!"
1121
  msgstr ""
1122
 
1123
+ #: admin/main-view.php:891
1124
  msgid "Blog ID"
1125
  msgstr ""
1126
 
1127
+ #: admin/main-view.php:894
1128
  msgid "Status"
1129
  msgstr ""
1130
 
1131
+ #: admin/main-view.php:897
1132
  msgid "Select to import"
1133
  msgstr ""
1134
 
1135
+ #: admin/main-view.php:907
1136
  msgid "Blog #"
1137
  msgstr ""
1138
 
1139
+ #: admin/main-view.php:917
1140
  msgid "Not imported"
1141
  msgstr ""
1142
 
1143
+ #: admin/main-view.php:921
1144
  msgid "Imported"
1145
  msgstr ""
1146
 
1147
+ #: admin/main-view.php:942
1148
  msgid "Begin import"
1149
  msgstr ""
1150
 
1151
+ #: admin/main-view.php:943
1152
  msgid "Delete selected tables"
1153
  msgstr ""
1154
 
1155
+ #: admin/main-view.php:944
1156
  msgid "Delete all imported tables"
1157
  msgstr ""
1158
 
1236
  msgid "Post types to include:"
1237
  msgstr ""
1238
 
1239
+ #: includes/media.php:62
1240
  msgid "thumb_timthumb argument has been deprecated"
1241
  msgstr ""
1242
 
1243
+ #: includes/media.php:66
1244
  msgid "thumb_timthumb_q argument has been deprecated"
1245
  msgstr ""
1246
 
1247
+ #: includes/media.php:70
1248
  msgid "filter argument has been deprecated"
1249
  msgstr ""
1250
 
1252
  msgid " by "
1253
  msgstr ""
1254
 
1255
+ #: top-10.php:163
1256
  msgid ""
1257
  "posts_only argument has been deprecated. Use get_tptn_pop_posts() to get the "
1258
  "posts only."
1259
  msgstr ""
1260
 
1261
+ #: top-10.php:300
1262
  #, php-format
1263
  msgid "Popular posts by <a href=\"%s\" rel=\"nofollow\" %s>Top 10 plugin</a>"
1264
  msgstr ""
1265
 
1266
+ #: top-10.php:641
1267
  msgid "<h3>Popular Posts</h3>"
1268
  msgstr "<h3>Populaire Berichten</h3>"
1269
 
1270
+ #: top-10.php:642
1271
  msgid "<h3>Daily Popular</h3>"
1272
  msgstr "<h3>Dagelijks Populair</h3>"
1273
 
1274
+ #: top-10.php:643
1275
  #, fuzzy
1276
  msgid "No top posts yet"
1277
  msgstr "Reset Top 10 populaire berichten"
1278
 
1279
+ #: top-10.php:1124
1280
  msgid "Once Weekly"
1281
  msgstr ""
1282
 
1283
+ #: top-10.php:1128
1284
  msgid "Once Fortnightly"
1285
  msgstr ""
1286
 
1287
+ #: top-10.php:1132
1288
  msgid "Once Monthly"
1289
  msgstr ""
1290
 
1291
+ #: top-10.php:1136
1292
  msgid "Once quarterly"
1293
  msgstr ""
1294
 
languages/top-10-pt_BR.mo ADDED
Binary file
languages/top-10-pt_BR.po ADDED
@@ -0,0 +1,1242 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #
2
+ # Translators:
3
+ msgid ""
4
+ msgstr ""
5
+ "Project-Id-Version: Top 10\n"
6
+ "Report-Msgid-Bugs-To: \n"
7
+ "POT-Creation-Date: 2015-09-27 13:34+0100\n"
8
+ "PO-Revision-Date: 2015-09-27 13:34+0100\n"
9
+ "Last-Translator: Ajay D'Souza <me@ajaydsouza.com>\n"
10
+ "Language-Team: Portuguese (Brazil) (http://www.transifex.com/wp-translations/"
11
+ "top-10/language/pt_BR/)\n"
12
+ "Language: pt_BR\n"
13
+ "MIME-Version: 1.0\n"
14
+ "Content-Type: text/plain; charset=UTF-8\n"
15
+ "Content-Transfer-Encoding: 8bit\n"
16
+ "Plural-Forms: nplurals=2; plural=(n > 1);\n"
17
+ "X-Generator: Poedit 1.8.4\n"
18
+ "X-Poedit-Basepath: ..\n"
19
+ "X-Poedit-KeywordsList: __;_e;_c;__ngettext\n"
20
+ "X-Poedit-SourceCharset: UTF-8\n"
21
+ "X-Poedit-SearchPath-0: .\n"
22
+ "X-Poedit-SearchPathExcluded-0: ../admin/wick\n"
23
+
24
+ #: admin/admin-columns.php:30
25
+ msgid "Total Views"
26
+ msgstr ""
27
+
28
+ #: admin/admin-columns.php:33
29
+ msgid "Today's Views"
30
+ msgstr ""
31
+
32
+ #: admin/admin-columns.php:36
33
+ msgid "Views"
34
+ msgstr "Visualizações"
35
+
36
+ #: admin/admin-dashboard.php:62
37
+ msgid "View all daily popular posts"
38
+ msgstr ""
39
+
40
+ #: admin/admin-dashboard.php:64
41
+ msgid "View all popular posts"
42
+ msgstr ""
43
+
44
+ #: admin/admin-dashboard.php:70
45
+ #, php-format
46
+ msgid "Popular posts by <a href=\"%s\" target=\"_blank\">Top 10 plugin</a>"
47
+ msgstr ""
48
+
49
+ #: admin/admin-dashboard.php:109 admin/class-stats.php:438
50
+ #: admin/deprecated.php:41
51
+ msgid "Popular Posts"
52
+ msgstr ""
53
+
54
+ #: admin/admin-dashboard.php:114 admin/deprecated.php:43
55
+ msgid "Daily Popular Posts"
56
+ msgstr ""
57
+
58
+ #: admin/admin-metabox.php:104
59
+ msgid "Visit count:"
60
+ msgstr ""
61
+
62
+ #: admin/admin-metabox.php:106
63
+ msgid ""
64
+ "Enter a number above to update the visit count. Leaving the above box blank "
65
+ "will set the count to zero"
66
+ msgstr ""
67
+
68
+ #: admin/admin-metabox.php:115
69
+ msgid "Disable Popular Posts display:"
70
+ msgstr ""
71
+
72
+ #: admin/admin-metabox.php:118
73
+ msgid ""
74
+ "If this is checked, then Top 10 will not display the popular posts widgets "
75
+ "when viewing this post."
76
+ msgstr ""
77
+
78
+ #: admin/admin-metabox.php:122
79
+ msgid "Exclude this post from the popular posts list:"
80
+ msgstr ""
81
+
82
+ #: admin/admin-metabox.php:125
83
+ msgid ""
84
+ "If this is checked, then this post will be excluded from the popular posts "
85
+ "list."
86
+ msgstr ""
87
+
88
+ #: admin/admin-metabox.php:129
89
+ msgid "Location of thumbnail:"
90
+ msgstr "Localização da miniatura:"
91
+
92
+ #: admin/admin-metabox.php:131
93
+ msgid ""
94
+ "Enter the full URL to the image (JPG, PNG or GIF) you'd like to use. This "
95
+ "image will be used for the post. It will be resized to the thumbnail size "
96
+ "set under Top 10 Settings &raquo; Thumbnail options."
97
+ msgstr ""
98
+
99
+ #: admin/admin-metabox.php:132
100
+ msgid "The URL above is saved in the meta field:"
101
+ msgstr ""
102
+
103
+ #: admin/admin-metabox.php:137
104
+ #, php-format
105
+ msgid ""
106
+ "You have %1$s installed. If you are trying to modify the thumbnail, then you "
107
+ "will need to make the same change in the %1$s meta box on this page."
108
+ msgstr ""
109
+
110
+ #: admin/admin.php:190
111
+ msgid "Options saved successfully. If enabled, the cache has been cleared."
112
+ msgstr ""
113
+
114
+ #: admin/admin.php:193
115
+ msgid ""
116
+ "Left Thumbnails style selected. Post thumbnail location set to Inline before "
117
+ "text."
118
+ msgstr ""
119
+
120
+ #: admin/admin.php:196
121
+ msgid "Text Only style selected. Thumbnails will not be displayed."
122
+ msgstr ""
123
+
124
+ #: admin/admin.php:199
125
+ #, php-format
126
+ msgid "Pre-built thumbnail size selected. Thumbnail set to %d x %d."
127
+ msgstr ""
128
+
129
+ #: admin/admin.php:214
130
+ msgid "Options set to Default."
131
+ msgstr "Opções redefinidas ao padrão."
132
+
133
+ #: admin/admin.php:221
134
+ msgid "Top 10 popular posts reset"
135
+ msgstr ""
136
+
137
+ #: admin/admin.php:228
138
+ msgid "Top 10 daily popular posts reset"
139
+ msgstr ""
140
+
141
+ #: admin/admin.php:236
142
+ msgid "Duplicate rows cleaned from tables"
143
+ msgstr ""
144
+
145
+ #: admin/admin.php:244
146
+ msgid "Post counts across blog IDs 0 and 1 have been merged"
147
+ msgstr ""
148
+
149
+ #: admin/admin.php:257
150
+ msgid "Scheduled maintenance enabled / modified"
151
+ msgstr ""
152
+
153
+ #: admin/admin.php:261
154
+ msgid "Scheduled maintenance disabled"
155
+ msgstr ""
156
+
157
+ #: admin/admin.php:299
158
+ msgid "Counts from selected sites have been imported."
159
+ msgstr ""
160
+
161
+ #: admin/admin.php:324
162
+ msgid ""
163
+ "Selected tables have been deleted. Note that only imported tables have been "
164
+ "deleted."
165
+ msgstr ""
166
+
167
+ #: admin/admin.php:341 admin/admin.php:361 admin/admin.php:385
168
+ #: admin/main-view.php:55 admin/main-view.php:174 admin/main-view.php:279
169
+ #: admin/main-view.php:488 admin/main-view.php:651 admin/main-view.php:747
170
+ #: admin/main-view.php:811 admin/main-view.php:846
171
+ msgid "Click to toggle"
172
+ msgstr "Clique para expandir ou recolher."
173
+
174
+ #: admin/admin.php:342
175
+ msgid "Support the development"
176
+ msgstr "Apoie o desenvolvimento"
177
+
178
+ #: admin/admin.php:349
179
+ msgid "Donation for Top 10"
180
+ msgstr ""
181
+
182
+ #: admin/admin.php:351
183
+ msgid "Enter amount in USD:"
184
+ msgstr ""
185
+
186
+ #: admin/admin.php:355
187
+ msgid "Send your donation to the author of Top 10"
188
+ msgstr ""
189
+
190
+ #: admin/admin.php:362
191
+ msgid "Follow me"
192
+ msgstr "Siga-me"
193
+
194
+ #: admin/admin.php:386
195
+ msgid "Quick links"
196
+ msgstr "Links Rápidos"
197
+
198
+ #: admin/admin.php:390
199
+ msgid "Top 10 plugin page"
200
+ msgstr ""
201
+
202
+ #: admin/admin.php:391
203
+ msgid "Top 10 Github page"
204
+ msgstr ""
205
+
206
+ #: admin/admin.php:392
207
+ msgid "Other plugins"
208
+ msgstr "Outros plugins"
209
+
210
+ #: admin/admin.php:393
211
+ msgid "FAQ"
212
+ msgstr "FAQ"
213
+
214
+ #: admin/admin.php:394 admin/admin.php:564
215
+ msgid "Support"
216
+ msgstr "Suporte"
217
+
218
+ #: admin/admin.php:395
219
+ msgid "Reviews"
220
+ msgstr "Comentários"
221
+
222
+ #: admin/admin.php:396
223
+ msgid "Ajay's blog"
224
+ msgstr "Blog do Ajay"
225
+
226
+ #: admin/admin.php:413 admin/admin.php:416 admin/main-view.php:22
227
+ msgid "Top 10 Settings"
228
+ msgstr ""
229
+
230
+ #: admin/admin.php:413
231
+ msgid "Top 10"
232
+ msgstr ""
233
+
234
+ #: admin/admin.php:421
235
+ msgid "View Popular Posts"
236
+ msgstr ""
237
+
238
+ #: admin/admin.php:541
239
+ msgid "Settings"
240
+ msgstr "Configurações"
241
+
242
+ #: admin/admin.php:565
243
+ msgid "Donate"
244
+ msgstr "Doar"
245
+
246
+ #: admin/cache.php:19
247
+ msgid "Top 10 cache has been cleared"
248
+ msgstr ""
249
+
250
+ #: admin/class-stats.php:36
251
+ msgid "popular_post"
252
+ msgstr ""
253
+
254
+ #: admin/class-stats.php:37
255
+ msgid "popular_posts"
256
+ msgstr ""
257
+
258
+ #: admin/class-stats.php:160
259
+ msgid "No popular posts available."
260
+ msgstr ""
261
+
262
+ #: admin/class-stats.php:209
263
+ msgid "View"
264
+ msgstr ""
265
+
266
+ #: admin/class-stats.php:210
267
+ msgid "Edit"
268
+ msgstr ""
269
+
270
+ #: admin/class-stats.php:211
271
+ msgid "Delete"
272
+ msgstr ""
273
+
274
+ #: admin/class-stats.php:233
275
+ msgid "Y/m/d g:i:s a"
276
+ msgstr ""
277
+
278
+ #: admin/class-stats.php:240
279
+ #, php-format
280
+ msgid "%s ago"
281
+ msgstr ""
282
+
283
+ #: admin/class-stats.php:242
284
+ msgid "Y/m/d"
285
+ msgstr ""
286
+
287
+ #: admin/class-stats.php:276 includes/class-top-10-widget.php:71
288
+ msgid "Title"
289
+ msgstr "Título"
290
+
291
+ #: admin/class-stats.php:277
292
+ msgid "Total visits"
293
+ msgstr ""
294
+
295
+ #: admin/class-stats.php:278
296
+ msgid "Daily visits"
297
+ msgstr ""
298
+
299
+ #: admin/class-stats.php:279
300
+ msgid "Post type"
301
+ msgstr ""
302
+
303
+ #: admin/class-stats.php:280
304
+ msgid "Author"
305
+ msgstr ""
306
+
307
+ #: admin/class-stats.php:281
308
+ msgid "Date"
309
+ msgstr ""
310
+
311
+ #: admin/class-stats.php:315
312
+ msgid "Delete Count"
313
+ msgstr ""
314
+
315
+ #: admin/class-stats.php:355
316
+ msgid "Are you sure you want to do this"
317
+ msgstr ""
318
+
319
+ #: admin/main-view.php:34 admin/main-view.php:56
320
+ msgid "General options"
321
+ msgstr "Opções gerais"
322
+
323
+ #: admin/main-view.php:35 admin/main-view.php:175
324
+ msgid "Counter and tracker options"
325
+ msgstr ""
326
+
327
+ #: admin/main-view.php:36 admin/main-view.php:280
328
+ msgid "Popular post list options"
329
+ msgstr ""
330
+
331
+ #: admin/main-view.php:37 admin/main-view.php:489
332
+ #: includes/class-top-10-widget.php:115
333
+ msgid "Thumbnail options"
334
+ msgstr "Opções de miniatura"
335
+
336
+ #: admin/main-view.php:38 admin/main-view.php:652
337
+ msgid "Styles"
338
+ msgstr ""
339
+
340
+ #: admin/main-view.php:39 admin/main-view.php:748
341
+ msgid "Maintenance"
342
+ msgstr "Manutenção"
343
+
344
+ #: admin/main-view.php:72
345
+ msgid "Enable trackers:"
346
+ msgstr ""
347
+
348
+ #: admin/main-view.php:77 includes/class-top-10-widget.php:81
349
+ msgid "Overall"
350
+ msgstr ""
351
+
352
+ #: admin/main-view.php:83 admin/main-view.php:767
353
+ msgid "Daily"
354
+ msgstr "Diário"
355
+
356
+ #: admin/main-view.php:89
357
+ msgid "Enable cache:"
358
+ msgstr ""
359
+
360
+ #: admin/main-view.php:92
361
+ msgid ""
362
+ "If activated, Top 10 will use the Transients API to cache the popular posts "
363
+ "output for 1 hour."
364
+ msgstr ""
365
+
366
+ #: admin/main-view.php:93
367
+ msgid "Clear cache"
368
+ msgstr ""
369
+
370
+ #: admin/main-view.php:97
371
+ msgid "Use Ajax for tracking:"
372
+ msgstr ""
373
+
374
+ #: admin/main-view.php:100
375
+ msgid ""
376
+ "This will try to prevent W3 Total Cache and other caching plugins from "
377
+ "caching the tracker script of the plugin. Try toggling this option in case "
378
+ "you find that your posts are not tracked."
379
+ msgstr ""
380
+
381
+ #: admin/main-view.php:104
382
+ msgid "Start daily counts from midnight:"
383
+ msgstr ""
384
+
385
+ #: admin/main-view.php:107
386
+ msgid ""
387
+ "Daily counter will display number of visits from midnight. This option is "
388
+ "checked by default and mimics the way most normal counters work. Turning "
389
+ "this off will allow you to use the hourly setting in the next option."
390
+ msgstr ""
391
+
392
+ #: admin/main-view.php:111
393
+ msgid "Daily popular contains top posts over:"
394
+ msgstr ""
395
+
396
+ #: admin/main-view.php:113
397
+ msgid "day(s)"
398
+ msgstr ""
399
+
400
+ #: admin/main-view.php:114
401
+ msgid "hour(s)"
402
+ msgstr ""
403
+
404
+ #: admin/main-view.php:115
405
+ msgid ""
406
+ "Think of Daily Popular has a custom date range applied as a global setting. "
407
+ "Instead of displaying popular posts from the past day, this setting lets you "
408
+ "display posts for as many days or as few hours as you want. This can be "
409
+ "overridden in the widget."
410
+ msgstr ""
411
+
412
+ #: admin/main-view.php:119
413
+ msgid "Delete options on uninstall"
414
+ msgstr ""
415
+
416
+ #: admin/main-view.php:122
417
+ msgid ""
418
+ "If this is checked, all settings related to Top 10 are removed from the "
419
+ "database if you choose to uninstall/delete the plugin."
420
+ msgstr ""
421
+
422
+ #: admin/main-view.php:126
423
+ msgid "Delete counter data on uninstall"
424
+ msgstr ""
425
+
426
+ #: admin/main-view.php:129
427
+ msgid ""
428
+ "If this is checked, the tables containing the counter statistics are removed "
429
+ "from the database if you choose to uninstall/delete the plugin."
430
+ msgstr ""
431
+
432
+ #: admin/main-view.php:130
433
+ msgid ""
434
+ "Keep this unchecked if you choose to reinstall the plugin and don't want to "
435
+ "lose your counter data."
436
+ msgstr ""
437
+
438
+ #: admin/main-view.php:133
439
+ msgid "Show metabox:"
440
+ msgstr ""
441
+
442
+ #: admin/main-view.php:136
443
+ msgid ""
444
+ "This will add the Top 10 metabox on Edit Posts or Add New Posts screens. "
445
+ "Also applies to Pages and Custom Post Types."
446
+ msgstr ""
447
+
448
+ #: admin/main-view.php:140
449
+ msgid "Limit metabox to Admins only:"
450
+ msgstr ""
451
+
452
+ #: admin/main-view.php:143
453
+ msgid ""
454
+ "If this is selected, the metabox will be hidden from anyone who is not an "
455
+ "Admin. Otherwise, by default, Contributors and above will be able to see the "
456
+ "metabox. This applies only if the above option is selected."
457
+ msgstr ""
458
+
459
+ #: admin/main-view.php:148
460
+ msgid "Link to Top 10 plugin page"
461
+ msgstr ""
462
+
463
+ #: admin/main-view.php:151
464
+ msgid ""
465
+ "A link to the plugin is added as an extra list item to the list of popular "
466
+ "posts"
467
+ msgstr ""
468
+
469
+ #: admin/main-view.php:156 admin/main-view.php:261 admin/main-view.php:470
470
+ #: admin/main-view.php:633 admin/main-view.php:727
471
+ msgid "Save Options"
472
+ msgstr "Salvar Opções"
473
+
474
+ #: admin/main-view.php:191
475
+ msgid "Display number of views on:"
476
+ msgstr ""
477
+
478
+ #: admin/main-view.php:193
479
+ msgid "Posts"
480
+ msgstr "Posts"
481
+
482
+ #: admin/main-view.php:194
483
+ msgid "Pages"
484
+ msgstr "Páginas"
485
+
486
+ #: admin/main-view.php:195
487
+ msgid "Home page"
488
+ msgstr "Página inicial"
489
+
490
+ #: admin/main-view.php:196
491
+ msgid "Feeds"
492
+ msgstr "Feeds"
493
+
494
+ #: admin/main-view.php:197
495
+ msgid "Category archives"
496
+ msgstr "Arquivos de categoria"
497
+
498
+ #: admin/main-view.php:198
499
+ msgid "Tag archives"
500
+ msgstr "Arquivos de tag"
501
+
502
+ #: admin/main-view.php:199
503
+ msgid "Other archives"
504
+ msgstr "Outros arquivos"
505
+
506
+ #: admin/main-view.php:200
507
+ msgid ""
508
+ "If you choose to disable this, please add <code>&lt;?php if "
509
+ "( function_exists ( 'echo_tptn_post_count' ) ) echo_tptn_post_count(); ?&gt;"
510
+ "</code> to your template file where you want it displayed"
511
+ msgstr ""
512
+
513
+ #: admin/main-view.php:204
514
+ msgid "Format to display the post views:"
515
+ msgstr ""
516
+
517
+ #: admin/main-view.php:207
518
+ msgid ""
519
+ "Use <code>%totalcount%</code> to display the total count, <code>%dailycount"
520
+ "%</code> to display the daily count and <code>%overallcount%</code> to "
521
+ "display the overall count across all posts on the blog. e.g. the default "
522
+ "options displays <code>[Visited 123 times, 23 visits today]</code>"
523
+ msgstr ""
524
+
525
+ #: admin/main-view.php:211
526
+ msgid "What do display when there are no visits?"
527
+ msgstr ""
528
+
529
+ #: admin/main-view.php:214
530
+ msgid ""
531
+ "This text applies only when there are 0 hits for the post and it isn't a "
532
+ "single page. e.g. if you display post views on the homepage or archives then "
533
+ "this text will be used. To override this, just enter the same text as above "
534
+ "option."
535
+ msgstr ""
536
+
537
+ #: admin/main-view.php:218
538
+ msgid "Always display latest post count"
539
+ msgstr ""
540
+
541
+ #: admin/main-view.php:221
542
+ msgid ""
543
+ "This option uses JavaScript and will increase your page load time. Turn this "
544
+ "off if you are not using caching plugins or are OK with displaying older "
545
+ "cached counts."
546
+ msgstr ""
547
+
548
+ #: admin/main-view.php:225
549
+ msgid "Track visits of authors on their own posts?"
550
+ msgstr ""
551
+
552
+ #: admin/main-view.php:228
553
+ msgid ""
554
+ "Disabling this option will stop authors visits tracked on their own posts"
555
+ msgstr ""
556
+
557
+ #: admin/main-view.php:232
558
+ msgid "Track visits of admins?"
559
+ msgstr ""
560
+
561
+ #: admin/main-view.php:235
562
+ msgid "Disabling this option will stop admin visits being tracked."
563
+ msgstr ""
564
+
565
+ #: admin/main-view.php:239
566
+ msgid "Track visits of Editors?"
567
+ msgstr ""
568
+
569
+ #: admin/main-view.php:242
570
+ msgid "Disabling this option will stop editor visits being tracked."
571
+ msgstr ""
572
+
573
+ #: admin/main-view.php:246
574
+ msgid "Display page views on Posts and Pages in Admin"
575
+ msgstr ""
576
+
577
+ #: admin/main-view.php:249
578
+ msgid ""
579
+ "Adds three columns called Total Views, Today's Views and Views to All Posts "
580
+ "and All Pages"
581
+ msgstr ""
582
+
583
+ #: admin/main-view.php:253
584
+ msgid "Show number of views to non-admins"
585
+ msgstr ""
586
+
587
+ #: admin/main-view.php:256
588
+ msgid ""
589
+ "If you disable this then non-admins won't see the above columns or view the "
590
+ "independent pages with the top posts"
591
+ msgstr ""
592
+
593
+ #: admin/main-view.php:296
594
+ msgid "Number of popular posts to display:"
595
+ msgstr ""
596
+
597
+ #: admin/main-view.php:299
598
+ msgid ""
599
+ "Maximum number of posts that will be displayed in the list. This option is "
600
+ "used if you don't specify the number of posts in the widget or shortcodes"
601
+ msgstr ""
602
+
603
+ #: admin/main-view.php:303
604
+ msgid "Published age of posts:"
605
+ msgstr ""
606
+
607
+ #: admin/main-view.php:305 includes/class-top-10-widget.php:88
608
+ msgid "days"
609
+ msgstr "dias"
610
+
611
+ #: admin/main-view.php:306
612
+ msgid ""
613
+ "This options allows you to only show posts that have been published within "
614
+ "the above day range. Applies to both overall posts and daily posts lists."
615
+ msgstr ""
616
+
617
+ #: admin/main-view.php:307
618
+ msgid ""
619
+ "e.g. 365 days will only show posts published in the last year in the popular "
620
+ "posts lists. Enter 0 for no restriction."
621
+ msgstr ""
622
+
623
+ #: admin/main-view.php:311
624
+ msgid "Post types to include in results (including custom post types)"
625
+ msgstr ""
626
+
627
+ #: admin/main-view.php:325
628
+ msgid "List of post or page IDs to exclude from the results:"
629
+ msgstr ""
630
+
631
+ #: admin/main-view.php:327 admin/main-view.php:438
632
+ msgid "Enter comma separated list of IDs. e.g. 188,320,500"
633
+ msgstr ""
634
+
635
+ #: admin/main-view.php:331
636
+ msgid "Exclude Categories:"
637
+ msgstr ""
638
+
639
+ #: admin/main-view.php:346
640
+ msgid ""
641
+ "Comma separated list of category slugs. The field above has an autocomplete "
642
+ "so simply start typing in the starting letters and it will prompt you with "
643
+ "options"
644
+ msgstr ""
645
+
646
+ #: admin/main-view.php:350
647
+ msgid "Excluded category IDs are:"
648
+ msgstr ""
649
+
650
+ #: admin/main-view.php:356
651
+ msgid ""
652
+ "These might differ from the IDs visible in the Categories page which use the "
653
+ "<code>term_id</code>. Top 10 uses the <code>term_taxonomy_id</code> which is "
654
+ "unique to this taxonomy."
655
+ msgstr ""
656
+
657
+ #: admin/main-view.php:362
658
+ msgid "Title of popular posts:"
659
+ msgstr ""
660
+
661
+ #: admin/main-view.php:368
662
+ msgid "Title of daily popular posts:"
663
+ msgstr ""
664
+
665
+ #: admin/main-view.php:374
666
+ msgid "When there are no posts, what should be shown?"
667
+ msgstr "O que mostrar quando não houver nenhum post relacionado?"
668
+
669
+ #: admin/main-view.php:378
670
+ msgid "Blank Output"
671
+ msgstr "Resultado em Branco"
672
+
673
+ #: admin/main-view.php:382
674
+ msgid "Display:"
675
+ msgstr "Mostrar:"
676
+
677
+ #: admin/main-view.php:387
678
+ msgid "Show post excerpt in list?"
679
+ msgstr "Lista de resumos dos posts?"
680
+
681
+ #: admin/main-view.php:393
682
+ msgid "Length of excerpt (in words):"
683
+ msgstr ""
684
+
685
+ #: admin/main-view.php:399
686
+ msgid "Show post author in list?"
687
+ msgstr "Mostra o autor do post na lista?"
688
+
689
+ #: admin/main-view.php:405
690
+ msgid "Show post date in list?"
691
+ msgstr "Mostrar data do post na lista?"
692
+
693
+ #: admin/main-view.php:411
694
+ msgid "Limit post title length (in characters)"
695
+ msgstr "Limite do título do post (em caracteres)"
696
+
697
+ #: admin/main-view.php:417
698
+ msgid "Show view count in list?"
699
+ msgstr ""
700
+
701
+ #: admin/main-view.php:423
702
+ msgid "Open links in new window"
703
+ msgstr "Abrir links numa nova janela"
704
+
705
+ #: admin/main-view.php:429
706
+ msgid "Add nofollow attribute to links in the list"
707
+ msgstr "Adicionar atributo nofollow aos links na lista"
708
+
709
+ #: admin/main-view.php:435
710
+ msgid "Exclude display of related posts on these posts / pages"
711
+ msgstr "Não exibir posts relacionados nestes posts/páginas?"
712
+
713
+ #: admin/main-view.php:442
714
+ msgid "Customise the list HTML"
715
+ msgstr ""
716
+
717
+ #: admin/main-view.php:445
718
+ msgid "HTML to display before the list of posts:"
719
+ msgstr ""
720
+
721
+ #: admin/main-view.php:451
722
+ msgid "HTML to display before each list item:"
723
+ msgstr ""
724
+
725
+ #: admin/main-view.php:457
726
+ msgid "HTML to display after each list item:"
727
+ msgstr ""
728
+
729
+ #: admin/main-view.php:463
730
+ msgid "HTML to display after the list of posts:"
731
+ msgstr ""
732
+
733
+ #: admin/main-view.php:504
734
+ msgid "Location of post thumbnail:"
735
+ msgstr "Localização da miniatura do post:"
736
+
737
+ #: admin/main-view.php:508
738
+ msgid "Display thumbnails inline with posts, before title"
739
+ msgstr ""
740
+
741
+ #: admin/main-view.php:513
742
+ msgid "Display thumbnails inline with posts, after title"
743
+ msgstr ""
744
+
745
+ #: admin/main-view.php:518
746
+ msgid "Display only thumbnails, no text"
747
+ msgstr "Mostrar somente miniaturas, sem texto"
748
+
749
+ #: admin/main-view.php:523
750
+ msgid "Do not display thumbnails, only text."
751
+ msgstr "Não mostrar miniaturas, somente texto"
752
+
753
+ #: admin/main-view.php:527
754
+ msgid ""
755
+ "This setting cannot be changed because an inbuilt style has been selected "
756
+ "under the Styles section. If you would like to change this option, please "
757
+ "select No styles under the Styles section."
758
+ msgstr ""
759
+
760
+ #: admin/main-view.php:531
761
+ msgid "Thumbnail size:"
762
+ msgstr ""
763
+
764
+ #: admin/main-view.php:555
765
+ msgid "Custom size"
766
+ msgstr ""
767
+
768
+ #: admin/main-view.php:558
769
+ msgid ""
770
+ "You can choose from existing image sizes above or create a custom size. If "
771
+ "you have chosen Custom size above, then enter the width, height and crop "
772
+ "settings below. For best results, use a cropped image."
773
+ msgstr ""
774
+
775
+ #: admin/main-view.php:559
776
+ msgid ""
777
+ "If you change the width and/or height below, existing images will not be "
778
+ "automatically resized."
779
+ msgstr ""
780
+
781
+ #: admin/main-view.php:560
782
+ #, php-format
783
+ msgid ""
784
+ "I recommend using <a href='%s' class='thickbox'>OTF Regenerate Thumbnails</"
785
+ "a> or <a href='%s' class='thickbox'>Regenerate Thumbnails</a> to regenerate "
786
+ "all image sizes."
787
+ msgstr ""
788
+
789
+ #: admin/main-view.php:563
790
+ msgid ""
791
+ "If you're using the Left Thumbs style below then the thumbnail width and "
792
+ "height that you set here will supersede the widget. Alternatively, choose "
793
+ "<strong>Style attributes</strong> under <strong>Image size attributes</"
794
+ "strong> option below"
795
+ msgstr ""
796
+
797
+ #: admin/main-view.php:566
798
+ msgid "Width of custom thumbnail:"
799
+ msgstr ""
800
+
801
+ #: admin/main-view.php:571
802
+ msgid "Height of custom thumbnail"
803
+ msgstr ""
804
+
805
+ #: admin/main-view.php:576
806
+ msgid "Crop mode:"
807
+ msgstr "Modo de recorte:"
808
+
809
+ #: admin/main-view.php:580
810
+ msgid ""
811
+ "By default, thumbnails will be proportionately cropped. Check this box to "
812
+ "hard crop the thumbnails."
813
+ msgstr ""
814
+
815
+ #: admin/main-view.php:581
816
+ #, php-format
817
+ msgid "<a href='%s' target='_blank'>Difference between soft and hard crop</a>"
818
+ msgstr ""
819
+
820
+ #: admin/main-view.php:585
821
+ msgid "Image size attributes:"
822
+ msgstr ""
823
+
824
+ #: admin/main-view.php:589
825
+ msgid "Style attributes are used for width and height."
826
+ msgstr ""
827
+
828
+ #: admin/main-view.php:595
829
+ msgid "HTML width and height attributes are used for width and height."
830
+ msgstr ""
831
+
832
+ #: admin/main-view.php:601
833
+ msgid "No HTML or Style attributes set for width and height"
834
+ msgstr ""
835
+
836
+ #: admin/main-view.php:606
837
+ msgid "Post thumbnail meta field name:"
838
+ msgstr ""
839
+
840
+ #: admin/main-view.php:609
841
+ msgid ""
842
+ "The value of this field should contain the image source and is set in the "
843
+ "<em>Add New Post</em> screen"
844
+ msgstr ""
845
+ "O valor deste campo deve conter a fonte de imagem e está definida na tela "
846
+ "<em>Adicionar Novo Post</em>"
847
+
848
+ #: admin/main-view.php:612
849
+ msgid ""
850
+ "If the postmeta is not set, then should the plugin extract the first image "
851
+ "from the post?"
852
+ msgstr ""
853
+
854
+ #: admin/main-view.php:615
855
+ msgid ""
856
+ "This could slow down the loading of your page if the first image in the "
857
+ "related posts is large in file-size"
858
+ msgstr ""
859
+
860
+ #: admin/main-view.php:618
861
+ msgid "Use default thumbnail?"
862
+ msgstr ""
863
+
864
+ #: admin/main-view.php:621
865
+ msgid ""
866
+ "If checked, when no thumbnail is found, show a default one from the URL "
867
+ "below. If not checked and no thumbnail is found, no image will be shown."
868
+ msgstr ""
869
+ "Se marcada, quando não for encontrada nenhuma miniatura, mostra uma padrão "
870
+ "da URL abaixo. Se desmarcada e não encontrar nenhuma miniatura, a imagem não "
871
+ "será exibida."
872
+
873
+ #: admin/main-view.php:624
874
+ msgid "Default thumbnail:"
875
+ msgstr ""
876
+
877
+ #: admin/main-view.php:628
878
+ msgid ""
879
+ "The plugin will first check if the post contains a thumbnail. If it doesn't "
880
+ "then it will check the meta field. If this is not available, then it will "
881
+ "show the default image as specified above"
882
+ msgstr ""
883
+
884
+ #: admin/main-view.php:667
885
+ msgid "Style of the related posts:"
886
+ msgstr ""
887
+
888
+ #: admin/main-view.php:670
889
+ msgid "No styles"
890
+ msgstr ""
891
+
892
+ #: admin/main-view.php:672
893
+ msgid "Select this option if you plan to add your own styles"
894
+ msgstr ""
895
+
896
+ #: admin/main-view.php:677
897
+ msgid "Left Thumbnails"
898
+ msgstr ""
899
+
900
+ #: admin/main-view.php:680
901
+ msgid ""
902
+ "Enabling this option will set the post thumbnail to be before text. "
903
+ "Disabling this option will not revert any settings."
904
+ msgstr ""
905
+
906
+ #: admin/main-view.php:681
907
+ #, php-format
908
+ msgid ""
909
+ "You can view the default style at <a href=\"%1$s\" target=\"_blank\">%1$s</a>"
910
+ msgstr ""
911
+
912
+ #: admin/main-view.php:685
913
+ msgid "Text only"
914
+ msgstr ""
915
+
916
+ #: admin/main-view.php:687
917
+ msgid ""
918
+ "Enabling this option will disable thumbnails and no longer include the "
919
+ "default style sheet included in the plugin."
920
+ msgstr ""
921
+
922
+ #: admin/main-view.php:703
923
+ msgid "Custom CSS to add to header:"
924
+ msgstr "CSS personalizado para adicionar ao cabeçalho:"
925
+
926
+ #: admin/main-view.php:708
927
+ msgid ""
928
+ "Do not include <code>style</code> tags. Check out the <a href=\"http://"
929
+ "wordpress.org/extend/plugins/top-10/faq/\" target=\"_blank\">FAQ</a> for "
930
+ "available CSS classes to style."
931
+ msgstr ""
932
+
933
+ #: admin/main-view.php:728
934
+ msgid "Default Options"
935
+ msgstr "Opções Padrão"
936
+
937
+ #: admin/main-view.php:728
938
+ msgid "Do you want to set options to Default?"
939
+ msgstr "Você quer definir opções para o padrão?"
940
+
941
+ #: admin/main-view.php:752
942
+ msgid ""
943
+ "Over time the Daily Top 10 database grows in size, which reduces the "
944
+ "performance of the plugin. Cleaning the database at regular intervals could "
945
+ "improve performance, especially on high traffic blogs. Enabling maintenance "
946
+ "will automatically delete entries older than 90 days."
947
+ msgstr ""
948
+
949
+ #: admin/main-view.php:753
950
+ msgid ""
951
+ "Note: When scheduled maintenance is enabled, WordPress will run the cron job "
952
+ "everytime the job is rescheduled (i.e. you change the settings below)."
953
+ msgstr ""
954
+
955
+ #: admin/main-view.php:756
956
+ msgid "Enable scheduled maintenance of daily tables:"
957
+ msgstr ""
958
+
959
+ #: admin/main-view.php:760
960
+ msgid "Time to run maintenance"
961
+ msgstr ""
962
+
963
+ #: admin/main-view.php:761
964
+ msgid "hrs"
965
+ msgstr ""
966
+
967
+ #: admin/main-view.php:761
968
+ msgid "min"
969
+ msgstr ""
970
+
971
+ #: admin/main-view.php:763
972
+ msgid "How often should the maintenance be run:"
973
+ msgstr ""
974
+
975
+ #: admin/main-view.php:771
976
+ msgid "Weekly"
977
+ msgstr "Semanalmente"
978
+
979
+ #: admin/main-view.php:775
980
+ msgid "Fortnightly"
981
+ msgstr ""
982
+
983
+ #: admin/main-view.php:779
984
+ msgid "Monthly"
985
+ msgstr "Mensal"
986
+
987
+ #: admin/main-view.php:788
988
+ msgid "The cron job has been scheduled. Maintenance will run"
989
+ msgstr ""
990
+
991
+ #: admin/main-view.php:793
992
+ msgid "The cron job is missing. Please resave this page to add the job"
993
+ msgstr ""
994
+
995
+ #: admin/main-view.php:798
996
+ msgid "Maintenance is turned off"
997
+ msgstr ""
998
+
999
+ #: admin/main-view.php:804
1000
+ msgid "Save Maintenance Options"
1001
+ msgstr ""
1002
+
1003
+ #: admin/main-view.php:812
1004
+ msgid "Reset count and other tools"
1005
+ msgstr ""
1006
+
1007
+ #: admin/main-view.php:815
1008
+ msgid ""
1009
+ "This cannot be reversed. Make sure that your database has been backed up "
1010
+ "before proceeding"
1011
+ msgstr ""
1012
+
1013
+ #: admin/main-view.php:818
1014
+ msgid "Reset Popular Posts"
1015
+ msgstr ""
1016
+
1017
+ #: admin/main-view.php:818
1018
+ msgid "Are you sure you want to reset the popular posts?"
1019
+ msgstr ""
1020
+
1021
+ #: admin/main-view.php:819
1022
+ msgid "Reset Daily Popular Posts"
1023
+ msgstr ""
1024
+
1025
+ #: admin/main-view.php:819
1026
+ msgid "Are you sure you want to reset the daily popular posts?"
1027
+ msgstr ""
1028
+
1029
+ #: admin/main-view.php:822
1030
+ msgid "This will merge post counts for posts with table entries of 0 and 1"
1031
+ msgstr ""
1032
+
1033
+ #: admin/main-view.php:825
1034
+ msgid "Merge blog ID 0 and 1 post counts"
1035
+ msgstr ""
1036
+
1037
+ #: admin/main-view.php:825
1038
+ msgid "This will merge post counts for blog IDs 0 and 1. Proceed?"
1039
+ msgstr ""
1040
+
1041
+ #: admin/main-view.php:828
1042
+ msgid ""
1043
+ "In older versions, the plugin created entries with duplicate post IDs. "
1044
+ "Clicking the button below will merge these duplicate IDs"
1045
+ msgstr ""
1046
+
1047
+ #: admin/main-view.php:831
1048
+ msgid "Merge duplicates across blog IDs"
1049
+ msgstr ""
1050
+
1051
+ #: admin/main-view.php:831
1052
+ msgid "This will delete the duplicate entries in the tables. Proceed?"
1053
+ msgstr ""
1054
+
1055
+ #: admin/main-view.php:847
1056
+ msgid "WordPress Multisite: Migrate Top 10 v1.x counts to 2.x"
1057
+ msgstr ""
1058
+
1059
+ #: admin/main-view.php:850
1060
+ msgid ""
1061
+ "If you've been using Top 10 v1.x on multisite, you would have needed to "
1062
+ "activate the plugin independently for each site. This would have resulted in "
1063
+ "two tables being created for each site in the network."
1064
+ msgstr ""
1065
+
1066
+ #: admin/main-view.php:851
1067
+ msgid ""
1068
+ "Top 10 v2.x onwards uses only a single table to record the count, keeping "
1069
+ "your database clean. You can use this tool to import the recorded counts "
1070
+ "from v1.x tables to the new v2.x table format."
1071
+ msgstr ""
1072
+
1073
+ #: admin/main-view.php:854
1074
+ msgid ""
1075
+ "If you do not see any tables below, then it means that either all data has "
1076
+ "already been imported or no relevant information has been found."
1077
+ msgstr ""
1078
+
1079
+ #: admin/main-view.php:857
1080
+ msgid ""
1081
+ "After running the importer, please verify that all the counts have been "
1082
+ "successfully imported. Only then should you delete any old tables!"
1083
+ msgstr ""
1084
+
1085
+ #: admin/main-view.php:891
1086
+ msgid "Blog ID"
1087
+ msgstr ""
1088
+
1089
+ #: admin/main-view.php:894
1090
+ msgid "Status"
1091
+ msgstr "Estado"
1092
+
1093
+ #: admin/main-view.php:897
1094
+ msgid "Select to import"
1095
+ msgstr ""
1096
+
1097
+ #: admin/main-view.php:907
1098
+ msgid "Blog #"
1099
+ msgstr ""
1100
+
1101
+ #: admin/main-view.php:917
1102
+ msgid "Not imported"
1103
+ msgstr ""
1104
+
1105
+ #: admin/main-view.php:921
1106
+ msgid "Imported"
1107
+ msgstr ""
1108
+
1109
+ #: admin/main-view.php:942
1110
+ msgid "Begin import"
1111
+ msgstr ""
1112
+
1113
+ #: admin/main-view.php:943
1114
+ msgid "Delete selected tables"
1115
+ msgstr ""
1116
+
1117
+ #: admin/main-view.php:944
1118
+ msgid "Delete all imported tables"
1119
+ msgstr ""
1120
+
1121
+ #: includes/class-top-10-widget.php:31
1122
+ msgid "Popular Posts [Top 10]"
1123
+ msgstr ""
1124
+
1125
+ #: includes/class-top-10-widget.php:32
1126
+ msgid "Display popular posts"
1127
+ msgstr ""
1128
+
1129
+ #: includes/class-top-10-widget.php:76
1130
+ msgid "No. of posts"
1131
+ msgstr "Nº de posts"
1132
+
1133
+ #: includes/class-top-10-widget.php:82
1134
+ msgid "Custom time period (Enter below)"
1135
+ msgstr ""
1136
+
1137
+ #: includes/class-top-10-widget.php:86
1138
+ msgid "In days and hours (applies only to custom option above)"
1139
+ msgstr ""
1140
+
1141
+ #: includes/class-top-10-widget.php:91
1142
+ msgid "hours"
1143
+ msgstr "horas"
1144
+
1145
+ #: includes/class-top-10-widget.php:96
1146
+ msgid "Show count?"
1147
+ msgstr "Mostrar número?"
1148
+
1149
+ #: includes/class-top-10-widget.php:101
1150
+ msgid "Show excerpt?"
1151
+ msgstr ""
1152
+
1153
+ #: includes/class-top-10-widget.php:106
1154
+ msgid "Show author?"
1155
+ msgstr ""
1156
+
1157
+ #: includes/class-top-10-widget.php:111
1158
+ msgid "Show date?"
1159
+ msgstr ""
1160
+
1161
+ #: includes/class-top-10-widget.php:117
1162
+ msgid "Thumbnails inline, before title"
1163
+ msgstr "Miniaturas inline, antes do título"
1164
+
1165
+ #: includes/class-top-10-widget.php:118
1166
+ msgid "Thumbnails inline, after title"
1167
+ msgstr "Miniaturas inline, após o título"
1168
+
1169
+ #: includes/class-top-10-widget.php:119
1170
+ msgid "Only thumbnails, no text"
1171
+ msgstr "Apenas miniaturas, sem texto"
1172
+
1173
+ #: includes/class-top-10-widget.php:120
1174
+ msgid "No thumbnails, only text."
1175
+ msgstr "Sem miniaturas, apenas texto."
1176
+
1177
+ #: includes/class-top-10-widget.php:125
1178
+ msgid "Thumbnail height"
1179
+ msgstr "Altura da miniatura"
1180
+
1181
+ #: includes/class-top-10-widget.php:131
1182
+ msgid "Thumbnail width"
1183
+ msgstr "Largura da miniatura"
1184
+
1185
+ #: includes/class-top-10-widget.php:135
1186
+ msgid "Post types to include:"
1187
+ msgstr ""
1188
+
1189
+ #: includes/media.php:62
1190
+ msgid "thumb_timthumb argument has been deprecated"
1191
+ msgstr ""
1192
+
1193
+ #: includes/media.php:66
1194
+ msgid "thumb_timthumb_q argument has been deprecated"
1195
+ msgstr ""
1196
+
1197
+ #: includes/media.php:70
1198
+ msgid "filter argument has been deprecated"
1199
+ msgstr ""
1200
+
1201
+ #: includes/output-generator.php:239
1202
+ msgid " by "
1203
+ msgstr "por"
1204
+
1205
+ #: top-10.php:163
1206
+ msgid ""
1207
+ "posts_only argument has been deprecated. Use get_tptn_pop_posts() to get the "
1208
+ "posts only."
1209
+ msgstr ""
1210
+
1211
+ #: top-10.php:300
1212
+ #, php-format
1213
+ msgid "Popular posts by <a href=\"%s\" rel=\"nofollow\" %s>Top 10 plugin</a>"
1214
+ msgstr ""
1215
+
1216
+ #: top-10.php:641
1217
+ msgid "<h3>Popular Posts</h3>"
1218
+ msgstr ""
1219
+
1220
+ #: top-10.php:642
1221
+ msgid "<h3>Daily Popular</h3>"
1222
+ msgstr ""
1223
+
1224
+ #: top-10.php:643
1225
+ msgid "No top posts yet"
1226
+ msgstr ""
1227
+
1228
+ #: top-10.php:1124
1229
+ msgid "Once Weekly"
1230
+ msgstr "Semanalmente"
1231
+
1232
+ #: top-10.php:1128
1233
+ msgid "Once Fortnightly"
1234
+ msgstr ""
1235
+
1236
+ #: top-10.php:1132
1237
+ msgid "Once Monthly"
1238
+ msgstr ""
1239
+
1240
+ #: top-10.php:1136
1241
+ msgid "Once quarterly"
1242
+ msgstr ""
languages/{tptn-ro_RO.mo → top-10-ro_RO.mo} RENAMED
Binary file
languages/{tptn-ro_RO.po → top-10-ro_RO.po} RENAMED
@@ -2,7 +2,7 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Top 10\n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2015-09-13 22:08+0100\n"
6
  "PO-Revision-Date: \n"
7
  "Last-Translator: Ajay D'Souza <me@ajaydsouza.com>\n"
8
  "Language-Team: Web Geeks\n"
@@ -44,7 +44,7 @@ msgstr ""
44
  msgid "Popular posts by <a href=\"%s\" target=\"_blank\">Top 10 plugin</a>"
45
  msgstr ""
46
 
47
- #: admin/admin-dashboard.php:109 admin/class-stats.php:440
48
  #: admin/deprecated.php:41
49
  msgid "Popular Posts"
50
  msgstr "Posturi populare"
@@ -153,169 +153,169 @@ msgstr ""
153
  msgid "Scheduled maintenance disabled"
154
  msgstr ""
155
 
156
- #: admin/admin.php:300
157
  msgid "Counts from selected sites have been imported."
158
  msgstr ""
159
 
160
- #: admin/admin.php:325
161
  msgid ""
162
  "Selected tables have been deleted. Note that only imported tables have been "
163
  "deleted."
164
  msgstr ""
165
 
166
- #: admin/admin.php:342 admin/admin.php:362 admin/admin.php:372
167
  #: admin/main-view.php:55 admin/main-view.php:174 admin/main-view.php:279
168
- #: admin/main-view.php:477 admin/main-view.php:638 admin/main-view.php:734
169
- #: admin/main-view.php:798 admin/main-view.php:834
170
  msgid "Click to toggle"
171
  msgstr ""
172
 
173
- #: admin/admin.php:343
174
  msgid "Support the development"
175
  msgstr "Sprijinirea dezvoltării"
176
 
177
- #: admin/admin.php:350
178
  msgid "Donation for Top 10"
179
  msgstr ""
180
 
181
- #: admin/admin.php:352
182
  msgid "Enter amount in USD:"
183
  msgstr ""
184
 
185
- #: admin/admin.php:356
186
  #, fuzzy
187
  msgid "Send your donation to the author of Top 10"
188
  msgstr "Trimite donatie autorului"
189
 
190
- #: admin/admin.php:363
191
  msgid "Follow me"
192
  msgstr ""
193
 
194
- #: admin/admin.php:373
195
  #, fuzzy
196
  msgid "Quick links"
197
  msgstr "Legături rapide pentru"
198
 
199
- #: admin/admin.php:377
200
  #, fuzzy
201
  msgid "Top 10 plugin page"
202
  msgstr "plug-in pagina"
203
 
204
- #: admin/admin.php:378
205
  msgid "Top 10 Github page"
206
  msgstr ""
207
 
208
- #: admin/admin.php:379
209
  msgid "Other plugins"
210
  msgstr "Alte plugin-uri"
211
 
212
- #: admin/admin.php:380
213
  msgid "FAQ"
214
  msgstr ""
215
 
216
- #: admin/admin.php:381 admin/admin.php:551
217
  msgid "Support"
218
  msgstr "Suport"
219
 
220
- #: admin/admin.php:382
221
  msgid "Reviews"
222
  msgstr ""
223
 
224
- #: admin/admin.php:383
225
  msgid "Ajay's blog"
226
  msgstr "Ajay's blog"
227
 
228
- #: admin/admin.php:400 admin/admin.php:403 admin/main-view.php:22
229
  #, fuzzy
230
  msgid "Top 10 Settings"
231
  msgstr "Setări"
232
 
233
- #: admin/admin.php:400
234
  msgid "Top 10"
235
  msgstr "Top 10"
236
 
237
- #: admin/admin.php:408
238
  msgid "View Popular Posts"
239
  msgstr ""
240
 
241
- #: admin/admin.php:528
242
  msgid "Settings"
243
  msgstr "Setări"
244
 
245
- #: admin/admin.php:552
246
  msgid "Donate"
247
  msgstr "Dona"
248
 
249
- #: admin/cache.php:20
250
  msgid "Top 10 cache has been cleared"
251
  msgstr ""
252
 
253
- #: admin/class-stats.php:37
254
  msgid "popular_post"
255
  msgstr ""
256
 
257
- #: admin/class-stats.php:38
258
  msgid "popular_posts"
259
  msgstr ""
260
 
261
- #: admin/class-stats.php:162
262
  msgid "No popular posts available."
263
  msgstr ""
264
 
265
- #: admin/class-stats.php:211
266
  msgid "View"
267
  msgstr ""
268
 
269
- #: admin/class-stats.php:212
270
  msgid "Edit"
271
  msgstr ""
272
 
273
- #: admin/class-stats.php:213
274
  msgid "Delete"
275
  msgstr ""
276
 
277
- #: admin/class-stats.php:235
278
  msgid "Y/m/d g:i:s a"
279
  msgstr ""
280
 
281
- #: admin/class-stats.php:242
282
  #, php-format
283
  msgid "%s ago"
284
  msgstr ""
285
 
286
- #: admin/class-stats.php:244
287
  msgid "Y/m/d"
288
  msgstr ""
289
 
290
- #: admin/class-stats.php:278 includes/class-top-10-widget.php:71
291
  msgid "Title"
292
  msgstr ""
293
 
294
- #: admin/class-stats.php:279
295
  msgid "Total visits"
296
  msgstr ""
297
 
298
- #: admin/class-stats.php:280
299
  msgid "Daily visits"
300
  msgstr ""
301
 
302
- #: admin/class-stats.php:281
303
  msgid "Post type"
304
  msgstr ""
305
 
306
- #: admin/class-stats.php:282
307
  msgid "Author"
308
  msgstr ""
309
 
310
- #: admin/class-stats.php:283
311
  msgid "Date"
312
  msgstr ""
313
 
314
- #: admin/class-stats.php:317
315
  msgid "Delete Count"
316
  msgstr ""
317
 
318
- #: admin/class-stats.php:357
319
  msgid "Are you sure you want to do this"
320
  msgstr ""
321
 
@@ -331,17 +331,17 @@ msgstr ""
331
  msgid "Popular post list options"
332
  msgstr ""
333
 
334
- #: admin/main-view.php:37 admin/main-view.php:478
335
  #: includes/class-top-10-widget.php:115
336
  #, fuzzy
337
  msgid "Thumbnail options"
338
  msgstr "Post Opţiuni pictograme:"
339
 
340
- #: admin/main-view.php:38 admin/main-view.php:639
341
  msgid "Styles"
342
  msgstr ""
343
 
344
- #: admin/main-view.php:39 admin/main-view.php:735
345
  msgid "Maintenance"
346
  msgstr ""
347
 
@@ -353,7 +353,7 @@ msgstr ""
353
  msgid "Overall"
354
  msgstr ""
355
 
356
- #: admin/main-view.php:83 admin/main-view.php:754
357
  msgid "Daily"
358
  msgstr ""
359
 
@@ -473,8 +473,8 @@ msgstr ""
473
  "Un link pentru a plugin-ul se adaugă ca un element suplimentar lista la "
474
  "lista de posturi populare. Nu obligatoriu, dar Multumesc dacă tu a face it!"
475
 
476
- #: admin/main-view.php:156 admin/main-view.php:261 admin/main-view.php:459
477
- #: admin/main-view.php:620 admin/main-view.php:714
478
  #, fuzzy
479
  msgid "Save Options"
480
  msgstr "Opţiuni:"
@@ -642,7 +642,7 @@ msgstr ""
642
  msgid "List of post or page IDs to exclude from the results:"
643
  msgstr ""
644
 
645
- #: admin/main-view.php:327 admin/main-view.php:427
646
  msgid "Enter comma separated list of IDs. e.g. 188,320,500"
647
  msgstr ""
648
 
@@ -657,135 +657,146 @@ msgid ""
657
  "options"
658
  msgstr ""
659
 
660
- #: admin/main-view.php:351
 
 
 
 
 
 
 
 
 
 
 
661
  msgid "Title of popular posts:"
662
  msgstr ""
663
 
664
- #: admin/main-view.php:357
665
  msgid "Title of daily popular posts:"
666
  msgstr ""
667
 
668
- #: admin/main-view.php:363
669
  msgid "When there are no posts, what should be shown?"
670
  msgstr ""
671
 
672
- #: admin/main-view.php:367
673
  msgid "Blank Output"
674
  msgstr ""
675
 
676
- #: admin/main-view.php:371
677
  msgid "Display:"
678
  msgstr ""
679
 
680
- #: admin/main-view.php:376
681
  msgid "Show post excerpt in list?"
682
  msgstr "Afişează post extras din lista?"
683
 
684
- #: admin/main-view.php:382
685
  msgid "Length of excerpt (in words):"
686
  msgstr ""
687
 
688
- #: admin/main-view.php:388
689
  #, fuzzy
690
  msgid "Show post author in list?"
691
  msgstr "Afişează post extras din lista?"
692
 
693
- #: admin/main-view.php:394
694
  #, fuzzy
695
  msgid "Show post date in list?"
696
  msgstr "Afişează post extras din lista?"
697
 
698
- #: admin/main-view.php:400
699
  msgid "Limit post title length (in characters)"
700
  msgstr ""
701
 
702
- #: admin/main-view.php:406
703
  #, fuzzy
704
  msgid "Show view count in list?"
705
  msgstr "Afişează post extras din lista?"
706
 
707
- #: admin/main-view.php:412
708
  msgid "Open links in new window"
709
  msgstr ""
710
 
711
- #: admin/main-view.php:418
712
  msgid "Add nofollow attribute to links in the list"
713
  msgstr ""
714
 
715
- #: admin/main-view.php:424
716
  msgid "Exclude display of related posts on these posts / pages"
717
  msgstr ""
718
 
719
- #: admin/main-view.php:431
720
  #, fuzzy
721
  msgid "Customise the list HTML"
722
  msgstr "Personaliza ieşire:"
723
 
724
- #: admin/main-view.php:434
725
  msgid "HTML to display before the list of posts:"
726
  msgstr ""
727
 
728
- #: admin/main-view.php:440
729
  msgid "HTML to display before each list item:"
730
  msgstr ""
731
 
732
- #: admin/main-view.php:446
733
  msgid "HTML to display after each list item:"
734
  msgstr ""
735
 
736
- #: admin/main-view.php:452
737
  msgid "HTML to display after the list of posts:"
738
  msgstr ""
739
 
740
- #: admin/main-view.php:493
741
  msgid "Location of post thumbnail:"
742
  msgstr ""
743
 
744
- #: admin/main-view.php:497
745
  msgid "Display thumbnails inline with posts, before title"
746
  msgstr "Afişare miniaturi inline cu posturi, înainte de titlu"
747
 
748
- #: admin/main-view.php:502
749
  msgid "Display thumbnails inline with posts, after title"
750
  msgstr "Afişare miniaturi inline cu posturi, după titlul"
751
 
752
- #: admin/main-view.php:507
753
  msgid "Display only thumbnails, no text"
754
  msgstr "Afişa numai miniaturi, nici un text"
755
 
756
- #: admin/main-view.php:512
757
  msgid "Do not display thumbnails, only text."
758
  msgstr "Nu se afişează miniaturi, numai textul."
759
 
760
- #: admin/main-view.php:516
761
  msgid ""
762
  "This setting cannot be changed because an inbuilt style has been selected "
763
  "under the Styles section. If you would like to change this option, please "
764
  "select No styles under the Styles section."
765
  msgstr ""
766
 
767
- #: admin/main-view.php:520
768
  msgid "Thumbnail size:"
769
  msgstr ""
770
 
771
- #: admin/main-view.php:544
772
  msgid "Custom size"
773
  msgstr ""
774
 
775
- #: admin/main-view.php:547
776
  msgid ""
777
  "You can choose from existing image sizes above or create a custom size. If "
778
  "you have chosen Custom size above, then enter the width, height and crop "
779
  "settings below. For best results, use a cropped image."
780
  msgstr ""
781
 
782
- #: admin/main-view.php:548
783
  msgid ""
784
  "If you change the width and/or height below, existing images will not be "
785
  "automatically resized."
786
  msgstr ""
787
 
788
- #: admin/main-view.php:549
789
  #, php-format
790
  msgid ""
791
  "I recommend using <a href='%s' class='thickbox'>OTF Regenerate Thumbnails</"
@@ -793,7 +804,7 @@ msgid ""
793
  "all image sizes."
794
  msgstr ""
795
 
796
- #: admin/main-view.php:552
797
  msgid ""
798
  "If you're using the Left Thumbs style below then the thumbnail width and "
799
  "height that you set here will supersede the widget. Alternatively, choose "
@@ -801,56 +812,56 @@ msgid ""
801
  "strong> option below"
802
  msgstr ""
803
 
804
- #: admin/main-view.php:555
805
  msgid "Width of custom thumbnail:"
806
  msgstr ""
807
 
808
- #: admin/main-view.php:560
809
  msgid "Height of custom thumbnail"
810
  msgstr ""
811
 
812
- #: admin/main-view.php:565
813
  msgid "Crop mode:"
814
  msgstr ""
815
 
816
- #: admin/main-view.php:569
817
  msgid ""
818
  "By default, thumbnails will be proportionately cropped. Check this box to "
819
  "hard crop the thumbnails."
820
  msgstr ""
821
 
822
- #: admin/main-view.php:570
823
  #, php-format
824
  msgid "<a href='%s' target='_blank'>Difference between soft and hard crop</a>"
825
  msgstr ""
826
 
827
- #: admin/main-view.php:574
828
  msgid "Image size attributes:"
829
  msgstr ""
830
 
831
- #: admin/main-view.php:578
832
  msgid "Style attributes are used for width and height."
833
  msgstr ""
834
 
835
- #: admin/main-view.php:583
836
  msgid "HTML width and height attributes are used for width and height."
837
  msgstr ""
838
 
839
- #: admin/main-view.php:588
840
  msgid "No HTML or Style attributes set for width and height"
841
  msgstr ""
842
 
843
- #: admin/main-view.php:593
844
  msgid "Post thumbnail meta field name:"
845
  msgstr ""
846
 
847
- #: admin/main-view.php:596
848
  msgid ""
849
  "The value of this field should contain the image source and is set in the "
850
  "<em>Add New Post</em> screen"
851
  msgstr ""
852
 
853
- #: admin/main-view.php:599
854
  #, fuzzy
855
  msgid ""
856
  "If the postmeta is not set, then should the plugin extract the first image "
@@ -861,7 +872,7 @@ msgstr ""
861
  "dumneavoastră dacă prima imagine în legate de posturi este mare în mărime "
862
  "fişier"
863
 
864
- #: admin/main-view.php:602
865
  #, fuzzy
866
  msgid ""
867
  "This could slow down the loading of your page if the first image in the "
@@ -872,11 +883,11 @@ msgstr ""
872
  "dumneavoastră dacă prima imagine în legate de posturi este mare în mărime "
873
  "fişier"
874
 
875
- #: admin/main-view.php:605
876
  msgid "Use default thumbnail?"
877
  msgstr ""
878
 
879
- #: admin/main-view.php:608
880
  msgid ""
881
  "If checked, when no thumbnail is found, show a default one from the URL "
882
  "below. If not checked and no thumbnail is found, no image will be shown."
@@ -885,76 +896,76 @@ msgstr ""
885
  "la URL-ul de mai jos. În cazul în care nu a verificat şi este găsit nici un "
886
  "thumbnail, imaginea nu va fi indicat."
887
 
888
- #: admin/main-view.php:611
889
  msgid "Default thumbnail:"
890
  msgstr ""
891
 
892
- #: admin/main-view.php:615
893
  msgid ""
894
  "The plugin will first check if the post contains a thumbnail. If it doesn't "
895
  "then it will check the meta field. If this is not available, then it will "
896
  "show the default image as specified above"
897
  msgstr ""
898
 
899
- #: admin/main-view.php:654
900
  msgid "Style of the related posts:"
901
  msgstr ""
902
 
903
- #: admin/main-view.php:657
904
  msgid "No styles"
905
  msgstr ""
906
 
907
- #: admin/main-view.php:659
908
  msgid "Select this option if you plan to add your own styles"
909
  msgstr ""
910
 
911
- #: admin/main-view.php:664
912
  msgid "Left Thumbnails"
913
  msgstr ""
914
 
915
- #: admin/main-view.php:667
916
  msgid ""
917
  "Enabling this option will set the post thumbnail to be before text. "
918
  "Disabling this option will not revert any settings."
919
  msgstr ""
920
 
921
- #: admin/main-view.php:668
922
  #, php-format
923
  msgid ""
924
  "You can view the default style at <a href=\"%1$s\" target=\"_blank\">%1$s</a>"
925
  msgstr ""
926
 
927
- #: admin/main-view.php:672
928
  msgid "Text only"
929
  msgstr ""
930
 
931
- #: admin/main-view.php:674
932
  msgid ""
933
  "Enabling this option will disable thumbnails and no longer include the "
934
  "default style sheet included in the plugin."
935
  msgstr ""
936
 
937
- #: admin/main-view.php:690
938
  msgid "Custom CSS to add to header:"
939
  msgstr ""
940
 
941
- #: admin/main-view.php:695
942
  msgid ""
943
  "Do not include <code>style</code> tags. Check out the <a href=\"http://"
944
  "wordpress.org/extend/plugins/top-10/faq/\" target=\"_blank\">FAQ</a> for "
945
  "available CSS classes to style."
946
  msgstr ""
947
 
948
- #: admin/main-view.php:715
949
  #, fuzzy
950
  msgid "Default Options"
951
  msgstr "Opţiuni de ieşire:"
952
 
953
- #: admin/main-view.php:715
954
  msgid "Do you want to set options to Default?"
955
  msgstr "Doriţi să setaţi opţiunile la valorile implicite?"
956
 
957
- #: admin/main-view.php:739
958
  msgid ""
959
  "Over time the Daily Top 10 database grows in size, which reduces the "
960
  "performance of the plugin. Cleaning the database at regular intervals could "
@@ -962,65 +973,65 @@ msgid ""
962
  "will automatically delete entries older than 90 days."
963
  msgstr ""
964
 
965
- #: admin/main-view.php:740
966
  msgid ""
967
  "Note: When scheduled maintenance is enabled, WordPress will run the cron job "
968
  "everytime the job is rescheduled (i.e. you change the settings below)."
969
  msgstr ""
970
 
971
- #: admin/main-view.php:743
972
  msgid "Enable scheduled maintenance of daily tables:"
973
  msgstr ""
974
 
975
- #: admin/main-view.php:747
976
  msgid "Time to run maintenance"
977
  msgstr ""
978
 
979
- #: admin/main-view.php:748
980
  msgid "hrs"
981
  msgstr ""
982
 
983
- #: admin/main-view.php:748
984
  msgid "min"
985
  msgstr ""
986
 
987
- #: admin/main-view.php:750
988
  msgid "How often should the maintenance be run:"
989
  msgstr ""
990
 
991
- #: admin/main-view.php:758
992
  msgid "Weekly"
993
  msgstr ""
994
 
995
- #: admin/main-view.php:762
996
  msgid "Fortnightly"
997
  msgstr ""
998
 
999
- #: admin/main-view.php:766
1000
  msgid "Monthly"
1001
  msgstr ""
1002
 
1003
- #: admin/main-view.php:775
1004
  msgid "The cron job has been scheduled. Maintenance will run"
1005
  msgstr ""
1006
 
1007
- #: admin/main-view.php:780
1008
  msgid "The cron job is missing. Please resave this page to add the job"
1009
  msgstr ""
1010
 
1011
- #: admin/main-view.php:785
1012
  msgid "Maintenance is turned off"
1013
  msgstr ""
1014
 
1015
- #: admin/main-view.php:791
1016
  msgid "Save Maintenance Options"
1017
  msgstr ""
1018
 
1019
- #: admin/main-view.php:799
1020
  msgid "Reset count and other tools"
1021
  msgstr ""
1022
 
1023
- #: admin/main-view.php:802
1024
  msgid ""
1025
  "This cannot be reversed. Make sure that your database has been backed up "
1026
  "before proceeding"
@@ -1028,113 +1039,113 @@ msgstr ""
1028
  "Acest lucru poate fi inversat. Asiguraţi-vă că baza de date a fost sprijinit "
1029
  "înainte de a continua"
1030
 
1031
- #: admin/main-view.php:805
1032
  #, fuzzy
1033
  msgid "Reset Popular Posts"
1034
  msgstr "Posturi populare"
1035
 
1036
- #: admin/main-view.php:805
1037
  msgid "Are you sure you want to reset the popular posts?"
1038
  msgstr "Sigur reiniţializaţi posturi populare?"
1039
 
1040
- #: admin/main-view.php:806
1041
  #, fuzzy
1042
  msgid "Reset Daily Popular Posts"
1043
  msgstr "Posturi populare de zi cu zi"
1044
 
1045
- #: admin/main-view.php:806
1046
  msgid "Are you sure you want to reset the daily popular posts?"
1047
  msgstr "Sigur reiniţializaţi posturi populare zilnic?"
1048
 
1049
- #: admin/main-view.php:809
1050
  msgid "This will merge post counts for posts with table entries of 0 and 1"
1051
  msgstr ""
1052
 
1053
- #: admin/main-view.php:812
1054
  msgid "Merge blog ID 0 and 1 post counts"
1055
  msgstr ""
1056
 
1057
- #: admin/main-view.php:812
1058
  msgid "This will merge post counts for blog IDs 0 and 1. Proceed?"
1059
  msgstr ""
1060
 
1061
- #: admin/main-view.php:815
1062
  msgid ""
1063
  "In older versions, the plugin created entries with duplicate post IDs. "
1064
  "Clicking the button below will merge these duplicate IDs"
1065
  msgstr ""
1066
 
1067
- #: admin/main-view.php:818
1068
  msgid "Merge duplicates across blog IDs"
1069
  msgstr ""
1070
 
1071
- #: admin/main-view.php:818
1072
  msgid "This will delete the duplicate entries in the tables. Proceed?"
1073
  msgstr "Aceasta va şterge intrările dublate în tabele. Continuaţi?"
1074
 
1075
- #: admin/main-view.php:835
1076
  msgid "WordPress Multisite: Migrate Top 10 v1.x counts to 2.x"
1077
  msgstr ""
1078
 
1079
- #: admin/main-view.php:838
1080
  msgid ""
1081
  "If you've been using Top 10 v1.x on multisite, you would have needed to "
1082
  "activate the plugin independently for each site. This would have resulted in "
1083
  "two tables being created for each site in the network."
1084
  msgstr ""
1085
 
1086
- #: admin/main-view.php:839
1087
  msgid ""
1088
  "Top 10 v2.x onwards uses only a single table to record the count, keeping "
1089
  "your database clean. You can use this tool to import the recorded counts "
1090
  "from v1.x tables to the new v2.x table format."
1091
  msgstr ""
1092
 
1093
- #: admin/main-view.php:842
1094
  msgid ""
1095
  "If you do not see any tables below, then it means that either all data has "
1096
  "already been imported or no relevant information has been found."
1097
  msgstr ""
1098
 
1099
- #: admin/main-view.php:845
1100
  msgid ""
1101
  "After running the importer, please verify that all the counts have been "
1102
  "successfully imported. Only then should you delete any old tables!"
1103
  msgstr ""
1104
 
1105
- #: admin/main-view.php:879
1106
  msgid "Blog ID"
1107
  msgstr ""
1108
 
1109
- #: admin/main-view.php:882
1110
  msgid "Status"
1111
  msgstr ""
1112
 
1113
- #: admin/main-view.php:885
1114
  msgid "Select to import"
1115
  msgstr ""
1116
 
1117
- #: admin/main-view.php:895
1118
  msgid "Blog #"
1119
  msgstr ""
1120
 
1121
- #: admin/main-view.php:905
1122
  msgid "Not imported"
1123
  msgstr ""
1124
 
1125
- #: admin/main-view.php:909
1126
  msgid "Imported"
1127
  msgstr ""
1128
 
1129
- #: admin/main-view.php:930
1130
  msgid "Begin import"
1131
  msgstr ""
1132
 
1133
- #: admin/main-view.php:931
1134
  msgid "Delete selected tables"
1135
  msgstr ""
1136
 
1137
- #: admin/main-view.php:932
1138
  msgid "Delete all imported tables"
1139
  msgstr ""
1140
 
@@ -1218,15 +1229,15 @@ msgstr "Post Opţiuni pictograme:"
1218
  msgid "Post types to include:"
1219
  msgstr ""
1220
 
1221
- #: includes/media.php:63
1222
  msgid "thumb_timthumb argument has been deprecated"
1223
  msgstr ""
1224
 
1225
- #: includes/media.php:67
1226
  msgid "thumb_timthumb_q argument has been deprecated"
1227
  msgstr ""
1228
 
1229
- #: includes/media.php:71
1230
  msgid "filter argument has been deprecated"
1231
  msgstr ""
1232
 
@@ -1234,43 +1245,43 @@ msgstr ""
1234
  msgid " by "
1235
  msgstr ""
1236
 
1237
- #: top-10.php:157
1238
  msgid ""
1239
  "posts_only argument has been deprecated. Use get_tptn_pop_posts() to get the "
1240
  "posts only."
1241
  msgstr ""
1242
 
1243
- #: top-10.php:264
1244
  #, php-format
1245
  msgid "Popular posts by <a href=\"%s\" rel=\"nofollow\" %s>Top 10 plugin</a>"
1246
  msgstr ""
1247
 
1248
- #: top-10.php:610
1249
  msgid "<h3>Popular Posts</h3>"
1250
  msgstr "<h3>Posturi populare</h3>"
1251
 
1252
- #: top-10.php:611
1253
  msgid "<h3>Daily Popular</h3>"
1254
  msgstr "<h3>Daily populare</h3>"
1255
 
1256
- #: top-10.php:612
1257
  #, fuzzy
1258
  msgid "No top posts yet"
1259
  msgstr "Top 10 populare posturi Resetare"
1260
 
1261
- #: top-10.php:1093
1262
  msgid "Once Weekly"
1263
  msgstr ""
1264
 
1265
- #: top-10.php:1097
1266
  msgid "Once Fortnightly"
1267
  msgstr ""
1268
 
1269
- #: top-10.php:1101
1270
  msgid "Once Monthly"
1271
  msgstr ""
1272
 
1273
- #: top-10.php:1105
1274
  msgid "Once quarterly"
1275
  msgstr ""
1276
 
2
  msgstr ""
3
  "Project-Id-Version: Top 10\n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2015-09-27 13:34+0100\n"
6
  "PO-Revision-Date: \n"
7
  "Last-Translator: Ajay D'Souza <me@ajaydsouza.com>\n"
8
  "Language-Team: Web Geeks\n"
44
  msgid "Popular posts by <a href=\"%s\" target=\"_blank\">Top 10 plugin</a>"
45
  msgstr ""
46
 
47
+ #: admin/admin-dashboard.php:109 admin/class-stats.php:438
48
  #: admin/deprecated.php:41
49
  msgid "Popular Posts"
50
  msgstr "Posturi populare"
153
  msgid "Scheduled maintenance disabled"
154
  msgstr ""
155
 
156
+ #: admin/admin.php:299
157
  msgid "Counts from selected sites have been imported."
158
  msgstr ""
159
 
160
+ #: admin/admin.php:324
161
  msgid ""
162
  "Selected tables have been deleted. Note that only imported tables have been "
163
  "deleted."
164
  msgstr ""
165
 
166
+ #: admin/admin.php:341 admin/admin.php:361 admin/admin.php:385
167
  #: admin/main-view.php:55 admin/main-view.php:174 admin/main-view.php:279
168
+ #: admin/main-view.php:488 admin/main-view.php:651 admin/main-view.php:747
169
+ #: admin/main-view.php:811 admin/main-view.php:846
170
  msgid "Click to toggle"
171
  msgstr ""
172
 
173
+ #: admin/admin.php:342
174
  msgid "Support the development"
175
  msgstr "Sprijinirea dezvoltării"
176
 
177
+ #: admin/admin.php:349
178
  msgid "Donation for Top 10"
179
  msgstr ""
180
 
181
+ #: admin/admin.php:351
182
  msgid "Enter amount in USD:"
183
  msgstr ""
184
 
185
+ #: admin/admin.php:355
186
  #, fuzzy
187
  msgid "Send your donation to the author of Top 10"
188
  msgstr "Trimite donatie autorului"
189
 
190
+ #: admin/admin.php:362
191
  msgid "Follow me"
192
  msgstr ""
193
 
194
+ #: admin/admin.php:386
195
  #, fuzzy
196
  msgid "Quick links"
197
  msgstr "Legături rapide pentru"
198
 
199
+ #: admin/admin.php:390
200
  #, fuzzy
201
  msgid "Top 10 plugin page"
202
  msgstr "plug-in pagina"
203
 
204
+ #: admin/admin.php:391
205
  msgid "Top 10 Github page"
206
  msgstr ""
207
 
208
+ #: admin/admin.php:392
209
  msgid "Other plugins"
210
  msgstr "Alte plugin-uri"
211
 
212
+ #: admin/admin.php:393
213
  msgid "FAQ"
214
  msgstr ""
215
 
216
+ #: admin/admin.php:394 admin/admin.php:564
217
  msgid "Support"
218
  msgstr "Suport"
219
 
220
+ #: admin/admin.php:395
221
  msgid "Reviews"
222
  msgstr ""
223
 
224
+ #: admin/admin.php:396
225
  msgid "Ajay's blog"
226
  msgstr "Ajay's blog"
227
 
228
+ #: admin/admin.php:413 admin/admin.php:416 admin/main-view.php:22
229
  #, fuzzy
230
  msgid "Top 10 Settings"
231
  msgstr "Setări"
232
 
233
+ #: admin/admin.php:413
234
  msgid "Top 10"
235
  msgstr "Top 10"
236
 
237
+ #: admin/admin.php:421
238
  msgid "View Popular Posts"
239
  msgstr ""
240
 
241
+ #: admin/admin.php:541
242
  msgid "Settings"
243
  msgstr "Setări"
244
 
245
+ #: admin/admin.php:565
246
  msgid "Donate"
247
  msgstr "Dona"
248
 
249
+ #: admin/cache.php:19
250
  msgid "Top 10 cache has been cleared"
251
  msgstr ""
252
 
253
+ #: admin/class-stats.php:36
254
  msgid "popular_post"
255
  msgstr ""
256
 
257
+ #: admin/class-stats.php:37
258
  msgid "popular_posts"
259
  msgstr ""
260
 
261
+ #: admin/class-stats.php:160
262
  msgid "No popular posts available."
263
  msgstr ""
264
 
265
+ #: admin/class-stats.php:209
266
  msgid "View"
267
  msgstr ""
268
 
269
+ #: admin/class-stats.php:210
270
  msgid "Edit"
271
  msgstr ""
272
 
273
+ #: admin/class-stats.php:211
274
  msgid "Delete"
275
  msgstr ""
276
 
277
+ #: admin/class-stats.php:233
278
  msgid "Y/m/d g:i:s a"
279
  msgstr ""
280
 
281
+ #: admin/class-stats.php:240
282
  #, php-format
283
  msgid "%s ago"
284
  msgstr ""
285
 
286
+ #: admin/class-stats.php:242
287
  msgid "Y/m/d"
288
  msgstr ""
289
 
290
+ #: admin/class-stats.php:276 includes/class-top-10-widget.php:71
291
  msgid "Title"
292
  msgstr ""
293
 
294
+ #: admin/class-stats.php:277
295
  msgid "Total visits"
296
  msgstr ""
297
 
298
+ #: admin/class-stats.php:278
299
  msgid "Daily visits"
300
  msgstr ""
301
 
302
+ #: admin/class-stats.php:279
303
  msgid "Post type"
304
  msgstr ""
305
 
306
+ #: admin/class-stats.php:280
307
  msgid "Author"
308
  msgstr ""
309
 
310
+ #: admin/class-stats.php:281
311
  msgid "Date"
312
  msgstr ""
313
 
314
+ #: admin/class-stats.php:315
315
  msgid "Delete Count"
316
  msgstr ""
317
 
318
+ #: admin/class-stats.php:355
319
  msgid "Are you sure you want to do this"
320
  msgstr ""
321
 
331
  msgid "Popular post list options"
332
  msgstr ""
333
 
334
+ #: admin/main-view.php:37 admin/main-view.php:489
335
  #: includes/class-top-10-widget.php:115
336
  #, fuzzy
337
  msgid "Thumbnail options"
338
  msgstr "Post Opţiuni pictograme:"
339
 
340
+ #: admin/main-view.php:38 admin/main-view.php:652
341
  msgid "Styles"
342
  msgstr ""
343
 
344
+ #: admin/main-view.php:39 admin/main-view.php:748
345
  msgid "Maintenance"
346
  msgstr ""
347
 
353
  msgid "Overall"
354
  msgstr ""
355
 
356
+ #: admin/main-view.php:83 admin/main-view.php:767
357
  msgid "Daily"
358
  msgstr ""
359
 
473
  "Un link pentru a plugin-ul se adaugă ca un element suplimentar lista la "
474
  "lista de posturi populare. Nu obligatoriu, dar Multumesc dacă tu a face it!"
475
 
476
+ #: admin/main-view.php:156 admin/main-view.php:261 admin/main-view.php:470
477
+ #: admin/main-view.php:633 admin/main-view.php:727
478
  #, fuzzy
479
  msgid "Save Options"
480
  msgstr "Opţiuni:"
642
  msgid "List of post or page IDs to exclude from the results:"
643
  msgstr ""
644
 
645
+ #: admin/main-view.php:327 admin/main-view.php:438
646
  msgid "Enter comma separated list of IDs. e.g. 188,320,500"
647
  msgstr ""
648
 
657
  "options"
658
  msgstr ""
659
 
660
+ #: admin/main-view.php:350
661
+ msgid "Excluded category IDs are:"
662
+ msgstr ""
663
+
664
+ #: admin/main-view.php:356
665
+ msgid ""
666
+ "These might differ from the IDs visible in the Categories page which use the "
667
+ "<code>term_id</code>. Top 10 uses the <code>term_taxonomy_id</code> which is "
668
+ "unique to this taxonomy."
669
+ msgstr ""
670
+
671
+ #: admin/main-view.php:362
672
  msgid "Title of popular posts:"
673
  msgstr ""
674
 
675
+ #: admin/main-view.php:368
676
  msgid "Title of daily popular posts:"
677
  msgstr ""
678
 
679
+ #: admin/main-view.php:374
680
  msgid "When there are no posts, what should be shown?"
681
  msgstr ""
682
 
683
+ #: admin/main-view.php:378
684
  msgid "Blank Output"
685
  msgstr ""
686
 
687
+ #: admin/main-view.php:382
688
  msgid "Display:"
689
  msgstr ""
690
 
691
+ #: admin/main-view.php:387
692
  msgid "Show post excerpt in list?"
693
  msgstr "Afişează post extras din lista?"
694
 
695
+ #: admin/main-view.php:393
696
  msgid "Length of excerpt (in words):"
697
  msgstr ""
698
 
699
+ #: admin/main-view.php:399
700
  #, fuzzy
701
  msgid "Show post author in list?"
702
  msgstr "Afişează post extras din lista?"
703
 
704
+ #: admin/main-view.php:405
705
  #, fuzzy
706
  msgid "Show post date in list?"
707
  msgstr "Afişează post extras din lista?"
708
 
709
+ #: admin/main-view.php:411
710
  msgid "Limit post title length (in characters)"
711
  msgstr ""
712
 
713
+ #: admin/main-view.php:417
714
  #, fuzzy
715
  msgid "Show view count in list?"
716
  msgstr "Afişează post extras din lista?"
717
 
718
+ #: admin/main-view.php:423
719
  msgid "Open links in new window"
720
  msgstr ""
721
 
722
+ #: admin/main-view.php:429
723
  msgid "Add nofollow attribute to links in the list"
724
  msgstr ""
725
 
726
+ #: admin/main-view.php:435
727
  msgid "Exclude display of related posts on these posts / pages"
728
  msgstr ""
729
 
730
+ #: admin/main-view.php:442
731
  #, fuzzy
732
  msgid "Customise the list HTML"
733
  msgstr "Personaliza ieşire:"
734
 
735
+ #: admin/main-view.php:445
736
  msgid "HTML to display before the list of posts:"
737
  msgstr ""
738
 
739
+ #: admin/main-view.php:451
740
  msgid "HTML to display before each list item:"
741
  msgstr ""
742
 
743
+ #: admin/main-view.php:457
744
  msgid "HTML to display after each list item:"
745
  msgstr ""
746
 
747
+ #: admin/main-view.php:463
748
  msgid "HTML to display after the list of posts:"
749
  msgstr ""
750
 
751
+ #: admin/main-view.php:504
752
  msgid "Location of post thumbnail:"
753
  msgstr ""
754
 
755
+ #: admin/main-view.php:508
756
  msgid "Display thumbnails inline with posts, before title"
757
  msgstr "Afişare miniaturi inline cu posturi, înainte de titlu"
758
 
759
+ #: admin/main-view.php:513
760
  msgid "Display thumbnails inline with posts, after title"
761
  msgstr "Afişare miniaturi inline cu posturi, după titlul"
762
 
763
+ #: admin/main-view.php:518
764
  msgid "Display only thumbnails, no text"
765
  msgstr "Afişa numai miniaturi, nici un text"
766
 
767
+ #: admin/main-view.php:523
768
  msgid "Do not display thumbnails, only text."
769
  msgstr "Nu se afişează miniaturi, numai textul."
770
 
771
+ #: admin/main-view.php:527
772
  msgid ""
773
  "This setting cannot be changed because an inbuilt style has been selected "
774
  "under the Styles section. If you would like to change this option, please "
775
  "select No styles under the Styles section."
776
  msgstr ""
777
 
778
+ #: admin/main-view.php:531
779
  msgid "Thumbnail size:"
780
  msgstr ""
781
 
782
+ #: admin/main-view.php:555
783
  msgid "Custom size"
784
  msgstr ""
785
 
786
+ #: admin/main-view.php:558
787
  msgid ""
788
  "You can choose from existing image sizes above or create a custom size. If "
789
  "you have chosen Custom size above, then enter the width, height and crop "
790
  "settings below. For best results, use a cropped image."
791
  msgstr ""
792
 
793
+ #: admin/main-view.php:559
794
  msgid ""
795
  "If you change the width and/or height below, existing images will not be "
796
  "automatically resized."
797
  msgstr ""
798
 
799
+ #: admin/main-view.php:560
800
  #, php-format
801
  msgid ""
802
  "I recommend using <a href='%s' class='thickbox'>OTF Regenerate Thumbnails</"
804
  "all image sizes."
805
  msgstr ""
806
 
807
+ #: admin/main-view.php:563
808
  msgid ""
809
  "If you're using the Left Thumbs style below then the thumbnail width and "
810
  "height that you set here will supersede the widget. Alternatively, choose "
812
  "strong> option below"
813
  msgstr ""
814
 
815
+ #: admin/main-view.php:566
816
  msgid "Width of custom thumbnail:"
817
  msgstr ""
818
 
819
+ #: admin/main-view.php:571
820
  msgid "Height of custom thumbnail"
821
  msgstr ""
822
 
823
+ #: admin/main-view.php:576
824
  msgid "Crop mode:"
825
  msgstr ""
826
 
827
+ #: admin/main-view.php:580
828
  msgid ""
829
  "By default, thumbnails will be proportionately cropped. Check this box to "
830
  "hard crop the thumbnails."
831
  msgstr ""
832
 
833
+ #: admin/main-view.php:581
834
  #, php-format
835
  msgid "<a href='%s' target='_blank'>Difference between soft and hard crop</a>"
836
  msgstr ""
837
 
838
+ #: admin/main-view.php:585
839
  msgid "Image size attributes:"
840
  msgstr ""
841
 
842
+ #: admin/main-view.php:589
843
  msgid "Style attributes are used for width and height."
844
  msgstr ""
845
 
846
+ #: admin/main-view.php:595
847
  msgid "HTML width and height attributes are used for width and height."
848
  msgstr ""
849
 
850
+ #: admin/main-view.php:601
851
  msgid "No HTML or Style attributes set for width and height"
852
  msgstr ""
853
 
854
+ #: admin/main-view.php:606
855
  msgid "Post thumbnail meta field name:"
856
  msgstr ""
857
 
858
+ #: admin/main-view.php:609
859
  msgid ""
860
  "The value of this field should contain the image source and is set in the "
861
  "<em>Add New Post</em> screen"
862
  msgstr ""
863
 
864
+ #: admin/main-view.php:612
865
  #, fuzzy
866
  msgid ""
867
  "If the postmeta is not set, then should the plugin extract the first image "
872
  "dumneavoastră dacă prima imagine în legate de posturi este mare în mărime "
873
  "fişier"
874
 
875
+ #: admin/main-view.php:615
876
  #, fuzzy
877
  msgid ""
878
  "This could slow down the loading of your page if the first image in the "
883
  "dumneavoastră dacă prima imagine în legate de posturi este mare în mărime "
884
  "fişier"
885
 
886
+ #: admin/main-view.php:618
887
  msgid "Use default thumbnail?"
888
  msgstr ""
889
 
890
+ #: admin/main-view.php:621
891
  msgid ""
892
  "If checked, when no thumbnail is found, show a default one from the URL "
893
  "below. If not checked and no thumbnail is found, no image will be shown."
896
  "la URL-ul de mai jos. În cazul în care nu a verificat şi este găsit nici un "
897
  "thumbnail, imaginea nu va fi indicat."
898
 
899
+ #: admin/main-view.php:624
900
  msgid "Default thumbnail:"
901
  msgstr ""
902
 
903
+ #: admin/main-view.php:628
904
  msgid ""
905
  "The plugin will first check if the post contains a thumbnail. If it doesn't "
906
  "then it will check the meta field. If this is not available, then it will "
907
  "show the default image as specified above"
908
  msgstr ""
909
 
910
+ #: admin/main-view.php:667
911
  msgid "Style of the related posts:"
912
  msgstr ""
913
 
914
+ #: admin/main-view.php:670
915
  msgid "No styles"
916
  msgstr ""
917
 
918
+ #: admin/main-view.php:672
919
  msgid "Select this option if you plan to add your own styles"
920
  msgstr ""
921
 
922
+ #: admin/main-view.php:677
923
  msgid "Left Thumbnails"
924
  msgstr ""
925
 
926
+ #: admin/main-view.php:680
927
  msgid ""
928
  "Enabling this option will set the post thumbnail to be before text. "
929
  "Disabling this option will not revert any settings."
930
  msgstr ""
931
 
932
+ #: admin/main-view.php:681
933
  #, php-format
934
  msgid ""
935
  "You can view the default style at <a href=\"%1$s\" target=\"_blank\">%1$s</a>"
936
  msgstr ""
937
 
938
+ #: admin/main-view.php:685
939
  msgid "Text only"
940
  msgstr ""
941
 
942
+ #: admin/main-view.php:687
943
  msgid ""
944
  "Enabling this option will disable thumbnails and no longer include the "
945
  "default style sheet included in the plugin."
946
  msgstr ""
947
 
948
+ #: admin/main-view.php:703
949
  msgid "Custom CSS to add to header:"
950
  msgstr ""
951
 
952
+ #: admin/main-view.php:708
953
  msgid ""
954
  "Do not include <code>style</code> tags. Check out the <a href=\"http://"
955
  "wordpress.org/extend/plugins/top-10/faq/\" target=\"_blank\">FAQ</a> for "
956
  "available CSS classes to style."
957
  msgstr ""
958
 
959
+ #: admin/main-view.php:728
960
  #, fuzzy
961
  msgid "Default Options"
962
  msgstr "Opţiuni de ieşire:"
963
 
964
+ #: admin/main-view.php:728
965
  msgid "Do you want to set options to Default?"
966
  msgstr "Doriţi să setaţi opţiunile la valorile implicite?"
967
 
968
+ #: admin/main-view.php:752
969
  msgid ""
970
  "Over time the Daily Top 10 database grows in size, which reduces the "
971
  "performance of the plugin. Cleaning the database at regular intervals could "
973
  "will automatically delete entries older than 90 days."
974
  msgstr ""
975
 
976
+ #: admin/main-view.php:753
977
  msgid ""
978
  "Note: When scheduled maintenance is enabled, WordPress will run the cron job "
979
  "everytime the job is rescheduled (i.e. you change the settings below)."
980
  msgstr ""
981
 
982
+ #: admin/main-view.php:756
983
  msgid "Enable scheduled maintenance of daily tables:"
984
  msgstr ""
985
 
986
+ #: admin/main-view.php:760
987
  msgid "Time to run maintenance"
988
  msgstr ""
989
 
990
+ #: admin/main-view.php:761
991
  msgid "hrs"
992
  msgstr ""
993
 
994
+ #: admin/main-view.php:761
995
  msgid "min"
996
  msgstr ""
997
 
998
+ #: admin/main-view.php:763
999
  msgid "How often should the maintenance be run:"
1000
  msgstr ""
1001
 
1002
+ #: admin/main-view.php:771
1003
  msgid "Weekly"
1004
  msgstr ""
1005
 
1006
+ #: admin/main-view.php:775
1007
  msgid "Fortnightly"
1008
  msgstr ""
1009
 
1010
+ #: admin/main-view.php:779
1011
  msgid "Monthly"
1012
  msgstr ""
1013
 
1014
+ #: admin/main-view.php:788
1015
  msgid "The cron job has been scheduled. Maintenance will run"
1016
  msgstr ""
1017
 
1018
+ #: admin/main-view.php:793
1019
  msgid "The cron job is missing. Please resave this page to add the job"
1020
  msgstr ""
1021
 
1022
+ #: admin/main-view.php:798
1023
  msgid "Maintenance is turned off"
1024
  msgstr ""
1025
 
1026
+ #: admin/main-view.php:804
1027
  msgid "Save Maintenance Options"
1028
  msgstr ""
1029
 
1030
+ #: admin/main-view.php:812
1031
  msgid "Reset count and other tools"
1032
  msgstr ""
1033
 
1034
+ #: admin/main-view.php:815
1035
  msgid ""
1036
  "This cannot be reversed. Make sure that your database has been backed up "
1037
  "before proceeding"
1039
  "Acest lucru poate fi inversat. Asiguraţi-vă că baza de date a fost sprijinit "
1040
  "înainte de a continua"
1041
 
1042
+ #: admin/main-view.php:818
1043
  #, fuzzy
1044
  msgid "Reset Popular Posts"
1045
  msgstr "Posturi populare"
1046
 
1047
+ #: admin/main-view.php:818
1048
  msgid "Are you sure you want to reset the popular posts?"
1049
  msgstr "Sigur reiniţializaţi posturi populare?"
1050
 
1051
+ #: admin/main-view.php:819
1052
  #, fuzzy
1053
  msgid "Reset Daily Popular Posts"
1054
  msgstr "Posturi populare de zi cu zi"
1055
 
1056
+ #: admin/main-view.php:819
1057
  msgid "Are you sure you want to reset the daily popular posts?"
1058
  msgstr "Sigur reiniţializaţi posturi populare zilnic?"
1059
 
1060
+ #: admin/main-view.php:822
1061
  msgid "This will merge post counts for posts with table entries of 0 and 1"
1062
  msgstr ""
1063
 
1064
+ #: admin/main-view.php:825
1065
  msgid "Merge blog ID 0 and 1 post counts"
1066
  msgstr ""
1067
 
1068
+ #: admin/main-view.php:825
1069
  msgid "This will merge post counts for blog IDs 0 and 1. Proceed?"
1070
  msgstr ""
1071
 
1072
+ #: admin/main-view.php:828
1073
  msgid ""
1074
  "In older versions, the plugin created entries with duplicate post IDs. "
1075
  "Clicking the button below will merge these duplicate IDs"
1076
  msgstr ""
1077
 
1078
+ #: admin/main-view.php:831
1079
  msgid "Merge duplicates across blog IDs"
1080
  msgstr ""
1081
 
1082
+ #: admin/main-view.php:831
1083
  msgid "This will delete the duplicate entries in the tables. Proceed?"
1084
  msgstr "Aceasta va şterge intrările dublate în tabele. Continuaţi?"
1085
 
1086
+ #: admin/main-view.php:847
1087
  msgid "WordPress Multisite: Migrate Top 10 v1.x counts to 2.x"
1088
  msgstr ""
1089
 
1090
+ #: admin/main-view.php:850
1091
  msgid ""
1092
  "If you've been using Top 10 v1.x on multisite, you would have needed to "
1093
  "activate the plugin independently for each site. This would have resulted in "
1094
  "two tables being created for each site in the network."
1095
  msgstr ""
1096
 
1097
+ #: admin/main-view.php:851
1098
  msgid ""
1099
  "Top 10 v2.x onwards uses only a single table to record the count, keeping "
1100
  "your database clean. You can use this tool to import the recorded counts "
1101
  "from v1.x tables to the new v2.x table format."
1102
  msgstr ""
1103
 
1104
+ #: admin/main-view.php:854
1105
  msgid ""
1106
  "If you do not see any tables below, then it means that either all data has "
1107
  "already been imported or no relevant information has been found."
1108
  msgstr ""
1109
 
1110
+ #: admin/main-view.php:857
1111
  msgid ""
1112
  "After running the importer, please verify that all the counts have been "
1113
  "successfully imported. Only then should you delete any old tables!"
1114
  msgstr ""
1115
 
1116
+ #: admin/main-view.php:891
1117
  msgid "Blog ID"
1118
  msgstr ""
1119
 
1120
+ #: admin/main-view.php:894
1121
  msgid "Status"
1122
  msgstr ""
1123
 
1124
+ #: admin/main-view.php:897
1125
  msgid "Select to import"
1126
  msgstr ""
1127
 
1128
+ #: admin/main-view.php:907
1129
  msgid "Blog #"
1130
  msgstr ""
1131
 
1132
+ #: admin/main-view.php:917
1133
  msgid "Not imported"
1134
  msgstr ""
1135
 
1136
+ #: admin/main-view.php:921
1137
  msgid "Imported"
1138
  msgstr ""
1139
 
1140
+ #: admin/main-view.php:942
1141
  msgid "Begin import"
1142
  msgstr ""
1143
 
1144
+ #: admin/main-view.php:943
1145
  msgid "Delete selected tables"
1146
  msgstr ""
1147
 
1148
+ #: admin/main-view.php:944
1149
  msgid "Delete all imported tables"
1150
  msgstr ""
1151
 
1229
  msgid "Post types to include:"
1230
  msgstr ""
1231
 
1232
+ #: includes/media.php:62
1233
  msgid "thumb_timthumb argument has been deprecated"
1234
  msgstr ""
1235
 
1236
+ #: includes/media.php:66
1237
  msgid "thumb_timthumb_q argument has been deprecated"
1238
  msgstr ""
1239
 
1240
+ #: includes/media.php:70
1241
  msgid "filter argument has been deprecated"
1242
  msgstr ""
1243
 
1245
  msgid " by "
1246
  msgstr ""
1247
 
1248
+ #: top-10.php:163
1249
  msgid ""
1250
  "posts_only argument has been deprecated. Use get_tptn_pop_posts() to get the "
1251
  "posts only."
1252
  msgstr ""
1253
 
1254
+ #: top-10.php:300
1255
  #, php-format
1256
  msgid "Popular posts by <a href=\"%s\" rel=\"nofollow\" %s>Top 10 plugin</a>"
1257
  msgstr ""
1258
 
1259
+ #: top-10.php:641
1260
  msgid "<h3>Popular Posts</h3>"
1261
  msgstr "<h3>Posturi populare</h3>"
1262
 
1263
+ #: top-10.php:642
1264
  msgid "<h3>Daily Popular</h3>"
1265
  msgstr "<h3>Daily populare</h3>"
1266
 
1267
+ #: top-10.php:643
1268
  #, fuzzy
1269
  msgid "No top posts yet"
1270
  msgstr "Top 10 populare posturi Resetare"
1271
 
1272
+ #: top-10.php:1124
1273
  msgid "Once Weekly"
1274
  msgstr ""
1275
 
1276
+ #: top-10.php:1128
1277
  msgid "Once Fortnightly"
1278
  msgstr ""
1279
 
1280
+ #: top-10.php:1132
1281
  msgid "Once Monthly"
1282
  msgstr ""
1283
 
1284
+ #: top-10.php:1136
1285
  msgid "Once quarterly"
1286
  msgstr ""
1287
 
languages/{tptn-ru_RU.mo → top-10-ru_RU.mo} RENAMED
Binary file
languages/{tptn-ru_RU.po → top-10-ru_RU.po} RENAMED
@@ -2,7 +2,7 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Топ 10\n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2015-09-13 22:08+0100\n"
6
  "PO-Revision-Date: \n"
7
  "Last-Translator: Ajay D'Souza <me@ajaydsouza.com>\n"
8
  "Language-Team: Elvis (fweb.org.ru) <kopper@rkmail.ru>\n"
@@ -44,7 +44,7 @@ msgstr ""
44
  msgid "Popular posts by <a href=\"%s\" target=\"_blank\">Top 10 plugin</a>"
45
  msgstr ""
46
 
47
- #: admin/admin-dashboard.php:109 admin/class-stats.php:440
48
  #: admin/deprecated.php:41
49
  msgid "Popular Posts"
50
  msgstr "Популярные записи"
@@ -153,169 +153,169 @@ msgstr ""
153
  msgid "Scheduled maintenance disabled"
154
  msgstr ""
155
 
156
- #: admin/admin.php:300
157
  msgid "Counts from selected sites have been imported."
158
  msgstr ""
159
 
160
- #: admin/admin.php:325
161
  msgid ""
162
  "Selected tables have been deleted. Note that only imported tables have been "
163
  "deleted."
164
  msgstr ""
165
 
166
- #: admin/admin.php:342 admin/admin.php:362 admin/admin.php:372
167
  #: admin/main-view.php:55 admin/main-view.php:174 admin/main-view.php:279
168
- #: admin/main-view.php:477 admin/main-view.php:638 admin/main-view.php:734
169
- #: admin/main-view.php:798 admin/main-view.php:834
170
  msgid "Click to toggle"
171
  msgstr ""
172
 
173
- #: admin/admin.php:343
174
  msgid "Support the development"
175
  msgstr "Поддержать автора плагина"
176
 
177
- #: admin/admin.php:350
178
  msgid "Donation for Top 10"
179
  msgstr ""
180
 
181
- #: admin/admin.php:352
182
  msgid "Enter amount in USD:"
183
  msgstr ""
184
 
185
- #: admin/admin.php:356
186
  #, fuzzy
187
  msgid "Send your donation to the author of Top 10"
188
  msgstr "Отправьте пожертвование автору"
189
 
190
- #: admin/admin.php:363
191
  msgid "Follow me"
192
  msgstr ""
193
 
194
- #: admin/admin.php:373
195
  #, fuzzy
196
  msgid "Quick links"
197
  msgstr "Полезные ссылки"
198
 
199
- #: admin/admin.php:377
200
  #, fuzzy
201
  msgid "Top 10 plugin page"
202
  msgstr "страница плагина"
203
 
204
- #: admin/admin.php:378
205
  msgid "Top 10 Github page"
206
  msgstr ""
207
 
208
- #: admin/admin.php:379
209
  msgid "Other plugins"
210
  msgstr "Другие плагины автора"
211
 
212
- #: admin/admin.php:380
213
  msgid "FAQ"
214
  msgstr ""
215
 
216
- #: admin/admin.php:381 admin/admin.php:551
217
  msgid "Support"
218
  msgstr "Поддержка (англ.)"
219
 
220
- #: admin/admin.php:382
221
  msgid "Reviews"
222
  msgstr ""
223
 
224
- #: admin/admin.php:383
225
  msgid "Ajay's blog"
226
  msgstr "Блог Ajay"
227
 
228
- #: admin/admin.php:400 admin/admin.php:403 admin/main-view.php:22
229
  #, fuzzy
230
  msgid "Top 10 Settings"
231
  msgstr "Настроки плагина"
232
 
233
- #: admin/admin.php:400
234
  msgid "Top 10"
235
  msgstr "Топ 10 записей"
236
 
237
- #: admin/admin.php:408
238
  msgid "View Popular Posts"
239
  msgstr ""
240
 
241
- #: admin/admin.php:528
242
  msgid "Settings"
243
  msgstr "Настроки плагина"
244
 
245
- #: admin/admin.php:552
246
  msgid "Donate"
247
  msgstr "Сделать пожертвование"
248
 
249
- #: admin/cache.php:20
250
  msgid "Top 10 cache has been cleared"
251
  msgstr ""
252
 
253
- #: admin/class-stats.php:37
254
  msgid "popular_post"
255
  msgstr ""
256
 
257
- #: admin/class-stats.php:38
258
  msgid "popular_posts"
259
  msgstr ""
260
 
261
- #: admin/class-stats.php:162
262
  msgid "No popular posts available."
263
  msgstr ""
264
 
265
- #: admin/class-stats.php:211
266
  msgid "View"
267
  msgstr ""
268
 
269
- #: admin/class-stats.php:212
270
  msgid "Edit"
271
  msgstr ""
272
 
273
- #: admin/class-stats.php:213
274
  msgid "Delete"
275
  msgstr ""
276
 
277
- #: admin/class-stats.php:235
278
  msgid "Y/m/d g:i:s a"
279
  msgstr ""
280
 
281
- #: admin/class-stats.php:242
282
  #, php-format
283
  msgid "%s ago"
284
  msgstr ""
285
 
286
- #: admin/class-stats.php:244
287
  msgid "Y/m/d"
288
  msgstr ""
289
 
290
- #: admin/class-stats.php:278 includes/class-top-10-widget.php:71
291
  msgid "Title"
292
  msgstr ""
293
 
294
- #: admin/class-stats.php:279
295
  msgid "Total visits"
296
  msgstr ""
297
 
298
- #: admin/class-stats.php:280
299
  msgid "Daily visits"
300
  msgstr ""
301
 
302
- #: admin/class-stats.php:281
303
  msgid "Post type"
304
  msgstr ""
305
 
306
- #: admin/class-stats.php:282
307
  msgid "Author"
308
  msgstr ""
309
 
310
- #: admin/class-stats.php:283
311
  msgid "Date"
312
  msgstr ""
313
 
314
- #: admin/class-stats.php:317
315
  msgid "Delete Count"
316
  msgstr ""
317
 
318
- #: admin/class-stats.php:357
319
  msgid "Are you sure you want to do this"
320
  msgstr ""
321
 
@@ -331,17 +331,17 @@ msgstr ""
331
  msgid "Popular post list options"
332
  msgstr ""
333
 
334
- #: admin/main-view.php:37 admin/main-view.php:478
335
  #: includes/class-top-10-widget.php:115
336
  #, fuzzy
337
  msgid "Thumbnail options"
338
  msgstr "Настройки превью к записям:"
339
 
340
- #: admin/main-view.php:38 admin/main-view.php:639
341
  msgid "Styles"
342
  msgstr ""
343
 
344
- #: admin/main-view.php:39 admin/main-view.php:735
345
  msgid "Maintenance"
346
  msgstr ""
347
 
@@ -353,7 +353,7 @@ msgstr ""
353
  msgid "Overall"
354
  msgstr ""
355
 
356
- #: admin/main-view.php:83 admin/main-view.php:754
357
  msgid "Daily"
358
  msgstr ""
359
 
@@ -473,8 +473,8 @@ msgstr ""
473
  "Оставить ссылку на плагин под списками Популярных записей? Автор плагина был "
474
  "бы очень благодарен Вам, если Вы ее все же оставите!"
475
 
476
- #: admin/main-view.php:156 admin/main-view.php:261 admin/main-view.php:459
477
- #: admin/main-view.php:620 admin/main-view.php:714
478
  #, fuzzy
479
  msgid "Save Options"
480
  msgstr "Настройки плагина:"
@@ -644,7 +644,7 @@ msgstr ""
644
  msgid "List of post or page IDs to exclude from the results:"
645
  msgstr ""
646
 
647
- #: admin/main-view.php:327 admin/main-view.php:427
648
  msgid "Enter comma separated list of IDs. e.g. 188,320,500"
649
  msgstr ""
650
 
@@ -659,135 +659,146 @@ msgid ""
659
  "options"
660
  msgstr ""
661
 
662
- #: admin/main-view.php:351
 
 
 
 
 
 
 
 
 
 
 
663
  msgid "Title of popular posts:"
664
  msgstr ""
665
 
666
- #: admin/main-view.php:357
667
  msgid "Title of daily popular posts:"
668
  msgstr ""
669
 
670
- #: admin/main-view.php:363
671
  msgid "When there are no posts, what should be shown?"
672
  msgstr ""
673
 
674
- #: admin/main-view.php:367
675
  msgid "Blank Output"
676
  msgstr ""
677
 
678
- #: admin/main-view.php:371
679
  msgid "Display:"
680
  msgstr ""
681
 
682
- #: admin/main-view.php:376
683
  msgid "Show post excerpt in list?"
684
  msgstr "Показывать текст записи в списке?"
685
 
686
- #: admin/main-view.php:382
687
  msgid "Length of excerpt (in words):"
688
  msgstr ""
689
 
690
- #: admin/main-view.php:388
691
  #, fuzzy
692
  msgid "Show post author in list?"
693
  msgstr "Показывать текст записи в списке?"
694
 
695
- #: admin/main-view.php:394
696
  #, fuzzy
697
  msgid "Show post date in list?"
698
  msgstr "Показывать текст записи в списке?"
699
 
700
- #: admin/main-view.php:400
701
  msgid "Limit post title length (in characters)"
702
  msgstr ""
703
 
704
- #: admin/main-view.php:406
705
  #, fuzzy
706
  msgid "Show view count in list?"
707
  msgstr "Показывать текст записи в списке?"
708
 
709
- #: admin/main-view.php:412
710
  msgid "Open links in new window"
711
  msgstr ""
712
 
713
- #: admin/main-view.php:418
714
  msgid "Add nofollow attribute to links in the list"
715
  msgstr ""
716
 
717
- #: admin/main-view.php:424
718
  msgid "Exclude display of related posts on these posts / pages"
719
  msgstr ""
720
 
721
- #: admin/main-view.php:431
722
  #, fuzzy
723
  msgid "Customise the list HTML"
724
  msgstr "Настройки оформления списка:"
725
 
726
- #: admin/main-view.php:434
727
  msgid "HTML to display before the list of posts:"
728
  msgstr ""
729
 
730
- #: admin/main-view.php:440
731
  msgid "HTML to display before each list item:"
732
  msgstr ""
733
 
734
- #: admin/main-view.php:446
735
  msgid "HTML to display after each list item:"
736
  msgstr ""
737
 
738
- #: admin/main-view.php:452
739
  msgid "HTML to display after the list of posts:"
740
  msgstr ""
741
 
742
- #: admin/main-view.php:493
743
  msgid "Location of post thumbnail:"
744
  msgstr ""
745
 
746
- #: admin/main-view.php:497
747
  msgid "Display thumbnails inline with posts, before title"
748
  msgstr "Отображать превью к записи сразу перед заголовком"
749
 
750
- #: admin/main-view.php:502
751
  msgid "Display thumbnails inline with posts, after title"
752
  msgstr "Отображать превью к записи сразу после заголовка"
753
 
754
- #: admin/main-view.php:507
755
  msgid "Display only thumbnails, no text"
756
  msgstr "Отображать только превью, без текста"
757
 
758
- #: admin/main-view.php:512
759
  msgid "Do not display thumbnails, only text."
760
  msgstr "Отображать только текст, без превью"
761
 
762
- #: admin/main-view.php:516
763
  msgid ""
764
  "This setting cannot be changed because an inbuilt style has been selected "
765
  "under the Styles section. If you would like to change this option, please "
766
  "select No styles under the Styles section."
767
  msgstr ""
768
 
769
- #: admin/main-view.php:520
770
  msgid "Thumbnail size:"
771
  msgstr ""
772
 
773
- #: admin/main-view.php:544
774
  msgid "Custom size"
775
  msgstr ""
776
 
777
- #: admin/main-view.php:547
778
  msgid ""
779
  "You can choose from existing image sizes above or create a custom size. If "
780
  "you have chosen Custom size above, then enter the width, height and crop "
781
  "settings below. For best results, use a cropped image."
782
  msgstr ""
783
 
784
- #: admin/main-view.php:548
785
  msgid ""
786
  "If you change the width and/or height below, existing images will not be "
787
  "automatically resized."
788
  msgstr ""
789
 
790
- #: admin/main-view.php:549
791
  #, php-format
792
  msgid ""
793
  "I recommend using <a href='%s' class='thickbox'>OTF Regenerate Thumbnails</"
@@ -795,7 +806,7 @@ msgid ""
795
  "all image sizes."
796
  msgstr ""
797
 
798
- #: admin/main-view.php:552
799
  msgid ""
800
  "If you're using the Left Thumbs style below then the thumbnail width and "
801
  "height that you set here will supersede the widget. Alternatively, choose "
@@ -803,56 +814,56 @@ msgid ""
803
  "strong> option below"
804
  msgstr ""
805
 
806
- #: admin/main-view.php:555
807
  msgid "Width of custom thumbnail:"
808
  msgstr ""
809
 
810
- #: admin/main-view.php:560
811
  msgid "Height of custom thumbnail"
812
  msgstr ""
813
 
814
- #: admin/main-view.php:565
815
  msgid "Crop mode:"
816
  msgstr ""
817
 
818
- #: admin/main-view.php:569
819
  msgid ""
820
  "By default, thumbnails will be proportionately cropped. Check this box to "
821
  "hard crop the thumbnails."
822
  msgstr ""
823
 
824
- #: admin/main-view.php:570
825
  #, php-format
826
  msgid "<a href='%s' target='_blank'>Difference between soft and hard crop</a>"
827
  msgstr ""
828
 
829
- #: admin/main-view.php:574
830
  msgid "Image size attributes:"
831
  msgstr ""
832
 
833
- #: admin/main-view.php:578
834
  msgid "Style attributes are used for width and height."
835
  msgstr ""
836
 
837
- #: admin/main-view.php:583
838
  msgid "HTML width and height attributes are used for width and height."
839
  msgstr ""
840
 
841
- #: admin/main-view.php:588
842
  msgid "No HTML or Style attributes set for width and height"
843
  msgstr ""
844
 
845
- #: admin/main-view.php:593
846
  msgid "Post thumbnail meta field name:"
847
  msgstr ""
848
 
849
- #: admin/main-view.php:596
850
  msgid ""
851
  "The value of this field should contain the image source and is set in the "
852
  "<em>Add New Post</em> screen"
853
  msgstr ""
854
 
855
- #: admin/main-view.php:599
856
  #, fuzzy
857
  msgid ""
858
  "If the postmeta is not set, then should the plugin extract the first image "
@@ -862,7 +873,7 @@ msgstr ""
862
  "изображение из записи. Это может слегка увеличить загрузку в первый раз, так "
863
  "как будет создаваться уменьшенная копия изображения"
864
 
865
- #: admin/main-view.php:602
866
  #, fuzzy
867
  msgid ""
868
  "This could slow down the loading of your page if the first image in the "
@@ -872,11 +883,11 @@ msgstr ""
872
  "изображение из записи. Это может слегка увеличить загрузку в первый раз, так "
873
  "как будет создаваться уменьшенная копия изображения"
874
 
875
- #: admin/main-view.php:605
876
  msgid "Use default thumbnail?"
877
  msgstr ""
878
 
879
- #: admin/main-view.php:608
880
  msgid ""
881
  "If checked, when no thumbnail is found, show a default one from the URL "
882
  "below. If not checked and no thumbnail is found, no image will be shown."
@@ -885,11 +896,11 @@ msgstr ""
885
  "добавлено стандартное изображение. Если превью задано к записи - будет "
886
  "отображаться только оно."
887
 
888
- #: admin/main-view.php:611
889
  msgid "Default thumbnail:"
890
  msgstr ""
891
 
892
- #: admin/main-view.php:615
893
  #, fuzzy
894
  msgid ""
895
  "The plugin will first check if the post contains a thumbnail. If it doesn't "
@@ -900,65 +911,65 @@ msgstr ""
900
  "заданному ранее произвольному мета-полю). Если же превью нет - будет "
901
  "выводиться картинка по-умолчанию:"
902
 
903
- #: admin/main-view.php:654
904
  msgid "Style of the related posts:"
905
  msgstr ""
906
 
907
- #: admin/main-view.php:657
908
  msgid "No styles"
909
  msgstr ""
910
 
911
- #: admin/main-view.php:659
912
  msgid "Select this option if you plan to add your own styles"
913
  msgstr ""
914
 
915
- #: admin/main-view.php:664
916
  msgid "Left Thumbnails"
917
  msgstr ""
918
 
919
- #: admin/main-view.php:667
920
  msgid ""
921
  "Enabling this option will set the post thumbnail to be before text. "
922
  "Disabling this option will not revert any settings."
923
  msgstr ""
924
 
925
- #: admin/main-view.php:668
926
  #, php-format
927
  msgid ""
928
  "You can view the default style at <a href=\"%1$s\" target=\"_blank\">%1$s</a>"
929
  msgstr ""
930
 
931
- #: admin/main-view.php:672
932
  msgid "Text only"
933
  msgstr ""
934
 
935
- #: admin/main-view.php:674
936
  msgid ""
937
  "Enabling this option will disable thumbnails and no longer include the "
938
  "default style sheet included in the plugin."
939
  msgstr ""
940
 
941
- #: admin/main-view.php:690
942
  msgid "Custom CSS to add to header:"
943
  msgstr ""
944
 
945
- #: admin/main-view.php:695
946
  msgid ""
947
  "Do not include <code>style</code> tags. Check out the <a href=\"http://"
948
  "wordpress.org/extend/plugins/top-10/faq/\" target=\"_blank\">FAQ</a> for "
949
  "available CSS classes to style."
950
  msgstr ""
951
 
952
- #: admin/main-view.php:715
953
  #, fuzzy
954
  msgid "Default Options"
955
  msgstr "Настройки плагина:"
956
 
957
- #: admin/main-view.php:715
958
  msgid "Do you want to set options to Default?"
959
  msgstr "Сбросить настройки плагина?"
960
 
961
- #: admin/main-view.php:739
962
  msgid ""
963
  "Over time the Daily Top 10 database grows in size, which reduces the "
964
  "performance of the plugin. Cleaning the database at regular intervals could "
@@ -966,65 +977,65 @@ msgid ""
966
  "will automatically delete entries older than 90 days."
967
  msgstr ""
968
 
969
- #: admin/main-view.php:740
970
  msgid ""
971
  "Note: When scheduled maintenance is enabled, WordPress will run the cron job "
972
  "everytime the job is rescheduled (i.e. you change the settings below)."
973
  msgstr ""
974
 
975
- #: admin/main-view.php:743
976
  msgid "Enable scheduled maintenance of daily tables:"
977
  msgstr ""
978
 
979
- #: admin/main-view.php:747
980
  msgid "Time to run maintenance"
981
  msgstr ""
982
 
983
- #: admin/main-view.php:748
984
  msgid "hrs"
985
  msgstr ""
986
 
987
- #: admin/main-view.php:748
988
  msgid "min"
989
  msgstr ""
990
 
991
- #: admin/main-view.php:750
992
  msgid "How often should the maintenance be run:"
993
  msgstr ""
994
 
995
- #: admin/main-view.php:758
996
  msgid "Weekly"
997
  msgstr ""
998
 
999
- #: admin/main-view.php:762
1000
  msgid "Fortnightly"
1001
  msgstr ""
1002
 
1003
- #: admin/main-view.php:766
1004
  msgid "Monthly"
1005
  msgstr ""
1006
 
1007
- #: admin/main-view.php:775
1008
  msgid "The cron job has been scheduled. Maintenance will run"
1009
  msgstr ""
1010
 
1011
- #: admin/main-view.php:780
1012
  msgid "The cron job is missing. Please resave this page to add the job"
1013
  msgstr ""
1014
 
1015
- #: admin/main-view.php:785
1016
  msgid "Maintenance is turned off"
1017
  msgstr ""
1018
 
1019
- #: admin/main-view.php:791
1020
  msgid "Save Maintenance Options"
1021
  msgstr ""
1022
 
1023
- #: admin/main-view.php:799
1024
  msgid "Reset count and other tools"
1025
  msgstr ""
1026
 
1027
- #: admin/main-view.php:802
1028
  msgid ""
1029
  "This cannot be reversed. Make sure that your database has been backed up "
1030
  "before proceeding"
@@ -1032,115 +1043,115 @@ msgstr ""
1032
  "Сброс статистики не может быть обращен. Перед тем, как сбрасывать все, "
1033
  "убедитесь, что у вас есть копия вашей базы данных!"
1034
 
1035
- #: admin/main-view.php:805
1036
  #, fuzzy
1037
  msgid "Reset Popular Posts"
1038
  msgstr "Популярные записи"
1039
 
1040
- #: admin/main-view.php:805
1041
  msgid "Are you sure you want to reset the popular posts?"
1042
  msgstr "Вы уверены, что хотите сбросить статистику для Популярных записей?"
1043
 
1044
- #: admin/main-view.php:806
1045
  #, fuzzy
1046
  msgid "Reset Daily Popular Posts"
1047
  msgstr "Популярные сегодня записи"
1048
 
1049
- #: admin/main-view.php:806
1050
  msgid "Are you sure you want to reset the daily popular posts?"
1051
  msgstr ""
1052
  "Вы уверены, что хотите сбросить статистику для Популярных сегодня записей?"
1053
 
1054
- #: admin/main-view.php:809
1055
  msgid "This will merge post counts for posts with table entries of 0 and 1"
1056
  msgstr ""
1057
 
1058
- #: admin/main-view.php:812
1059
  msgid "Merge blog ID 0 and 1 post counts"
1060
  msgstr ""
1061
 
1062
- #: admin/main-view.php:812
1063
  msgid "This will merge post counts for blog IDs 0 and 1. Proceed?"
1064
  msgstr ""
1065
 
1066
- #: admin/main-view.php:815
1067
  msgid ""
1068
  "In older versions, the plugin created entries with duplicate post IDs. "
1069
  "Clicking the button below will merge these duplicate IDs"
1070
  msgstr ""
1071
 
1072
- #: admin/main-view.php:818
1073
  msgid "Merge duplicates across blog IDs"
1074
  msgstr ""
1075
 
1076
- #: admin/main-view.php:818
1077
  msgid "This will delete the duplicate entries in the tables. Proceed?"
1078
  msgstr ""
1079
  "Будет произведено удаление дублирующихся щаписей из статистики. Продолжить?"
1080
 
1081
- #: admin/main-view.php:835
1082
  msgid "WordPress Multisite: Migrate Top 10 v1.x counts to 2.x"
1083
  msgstr ""
1084
 
1085
- #: admin/main-view.php:838
1086
  msgid ""
1087
  "If you've been using Top 10 v1.x on multisite, you would have needed to "
1088
  "activate the plugin independently for each site. This would have resulted in "
1089
  "two tables being created for each site in the network."
1090
  msgstr ""
1091
 
1092
- #: admin/main-view.php:839
1093
  msgid ""
1094
  "Top 10 v2.x onwards uses only a single table to record the count, keeping "
1095
  "your database clean. You can use this tool to import the recorded counts "
1096
  "from v1.x tables to the new v2.x table format."
1097
  msgstr ""
1098
 
1099
- #: admin/main-view.php:842
1100
  msgid ""
1101
  "If you do not see any tables below, then it means that either all data has "
1102
  "already been imported or no relevant information has been found."
1103
  msgstr ""
1104
 
1105
- #: admin/main-view.php:845
1106
  msgid ""
1107
  "After running the importer, please verify that all the counts have been "
1108
  "successfully imported. Only then should you delete any old tables!"
1109
  msgstr ""
1110
 
1111
- #: admin/main-view.php:879
1112
  msgid "Blog ID"
1113
  msgstr ""
1114
 
1115
- #: admin/main-view.php:882
1116
  msgid "Status"
1117
  msgstr ""
1118
 
1119
- #: admin/main-view.php:885
1120
  msgid "Select to import"
1121
  msgstr ""
1122
 
1123
- #: admin/main-view.php:895
1124
  msgid "Blog #"
1125
  msgstr ""
1126
 
1127
- #: admin/main-view.php:905
1128
  msgid "Not imported"
1129
  msgstr ""
1130
 
1131
- #: admin/main-view.php:909
1132
  msgid "Imported"
1133
  msgstr ""
1134
 
1135
- #: admin/main-view.php:930
1136
  msgid "Begin import"
1137
  msgstr ""
1138
 
1139
- #: admin/main-view.php:931
1140
  msgid "Delete selected tables"
1141
  msgstr ""
1142
 
1143
- #: admin/main-view.php:932
1144
  msgid "Delete all imported tables"
1145
  msgstr ""
1146
 
@@ -1224,15 +1235,15 @@ msgstr "Настройки превью к записям:"
1224
  msgid "Post types to include:"
1225
  msgstr ""
1226
 
1227
- #: includes/media.php:63
1228
  msgid "thumb_timthumb argument has been deprecated"
1229
  msgstr ""
1230
 
1231
- #: includes/media.php:67
1232
  msgid "thumb_timthumb_q argument has been deprecated"
1233
  msgstr ""
1234
 
1235
- #: includes/media.php:71
1236
  msgid "filter argument has been deprecated"
1237
  msgstr ""
1238
 
@@ -1240,43 +1251,43 @@ msgstr ""
1240
  msgid " by "
1241
  msgstr ""
1242
 
1243
- #: top-10.php:157
1244
  msgid ""
1245
  "posts_only argument has been deprecated. Use get_tptn_pop_posts() to get the "
1246
  "posts only."
1247
  msgstr ""
1248
 
1249
- #: top-10.php:264
1250
  #, php-format
1251
  msgid "Popular posts by <a href=\"%s\" rel=\"nofollow\" %s>Top 10 plugin</a>"
1252
  msgstr ""
1253
 
1254
- #: top-10.php:610
1255
  msgid "<h3>Popular Posts</h3>"
1256
  msgstr "<h3>Популярные записи</h3>"
1257
 
1258
- #: top-10.php:611
1259
  msgid "<h3>Daily Popular</h3>"
1260
  msgstr "<h3>Популярные сегодня записи</h3>"
1261
 
1262
- #: top-10.php:612
1263
  #, fuzzy
1264
  msgid "No top posts yet"
1265
  msgstr "Сбросить статистику популярных записей"
1266
 
1267
- #: top-10.php:1093
1268
  msgid "Once Weekly"
1269
  msgstr ""
1270
 
1271
- #: top-10.php:1097
1272
  msgid "Once Fortnightly"
1273
  msgstr ""
1274
 
1275
- #: top-10.php:1101
1276
  msgid "Once Monthly"
1277
  msgstr ""
1278
 
1279
- #: top-10.php:1105
1280
  msgid "Once quarterly"
1281
  msgstr ""
1282
 
2
  msgstr ""
3
  "Project-Id-Version: Топ 10\n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2015-09-27 13:34+0100\n"
6
  "PO-Revision-Date: \n"
7
  "Last-Translator: Ajay D'Souza <me@ajaydsouza.com>\n"
8
  "Language-Team: Elvis (fweb.org.ru) <kopper@rkmail.ru>\n"
44
  msgid "Popular posts by <a href=\"%s\" target=\"_blank\">Top 10 plugin</a>"
45
  msgstr ""
46
 
47
+ #: admin/admin-dashboard.php:109 admin/class-stats.php:438
48
  #: admin/deprecated.php:41
49
  msgid "Popular Posts"
50
  msgstr "Популярные записи"
153
  msgid "Scheduled maintenance disabled"
154
  msgstr ""
155
 
156
+ #: admin/admin.php:299
157
  msgid "Counts from selected sites have been imported."
158
  msgstr ""
159
 
160
+ #: admin/admin.php:324
161
  msgid ""
162
  "Selected tables have been deleted. Note that only imported tables have been "
163
  "deleted."
164
  msgstr ""
165
 
166
+ #: admin/admin.php:341 admin/admin.php:361 admin/admin.php:385
167
  #: admin/main-view.php:55 admin/main-view.php:174 admin/main-view.php:279
168
+ #: admin/main-view.php:488 admin/main-view.php:651 admin/main-view.php:747
169
+ #: admin/main-view.php:811 admin/main-view.php:846
170
  msgid "Click to toggle"
171
  msgstr ""
172
 
173
+ #: admin/admin.php:342
174
  msgid "Support the development"
175
  msgstr "Поддержать автора плагина"
176
 
177
+ #: admin/admin.php:349
178
  msgid "Donation for Top 10"
179
  msgstr ""
180
 
181
+ #: admin/admin.php:351
182
  msgid "Enter amount in USD:"
183
  msgstr ""
184
 
185
+ #: admin/admin.php:355
186
  #, fuzzy
187
  msgid "Send your donation to the author of Top 10"
188
  msgstr "Отправьте пожертвование автору"
189
 
190
+ #: admin/admin.php:362
191
  msgid "Follow me"
192
  msgstr ""
193
 
194
+ #: admin/admin.php:386
195
  #, fuzzy
196
  msgid "Quick links"
197
  msgstr "Полезные ссылки"
198
 
199
+ #: admin/admin.php:390
200
  #, fuzzy
201
  msgid "Top 10 plugin page"
202
  msgstr "страница плагина"
203
 
204
+ #: admin/admin.php:391
205
  msgid "Top 10 Github page"
206
  msgstr ""
207
 
208
+ #: admin/admin.php:392
209
  msgid "Other plugins"
210
  msgstr "Другие плагины автора"
211
 
212
+ #: admin/admin.php:393
213
  msgid "FAQ"
214
  msgstr ""
215
 
216
+ #: admin/admin.php:394 admin/admin.php:564
217
  msgid "Support"
218
  msgstr "Поддержка (англ.)"
219
 
220
+ #: admin/admin.php:395
221
  msgid "Reviews"
222
  msgstr ""
223
 
224
+ #: admin/admin.php:396
225
  msgid "Ajay's blog"
226
  msgstr "Блог Ajay"
227
 
228
+ #: admin/admin.php:413 admin/admin.php:416 admin/main-view.php:22
229
  #, fuzzy
230
  msgid "Top 10 Settings"
231
  msgstr "Настроки плагина"
232
 
233
+ #: admin/admin.php:413
234
  msgid "Top 10"
235
  msgstr "Топ 10 записей"
236
 
237
+ #: admin/admin.php:421
238
  msgid "View Popular Posts"
239
  msgstr ""
240
 
241
+ #: admin/admin.php:541
242
  msgid "Settings"
243
  msgstr "Настроки плагина"
244
 
245
+ #: admin/admin.php:565
246
  msgid "Donate"
247
  msgstr "Сделать пожертвование"
248
 
249
+ #: admin/cache.php:19
250
  msgid "Top 10 cache has been cleared"
251
  msgstr ""
252
 
253
+ #: admin/class-stats.php:36
254
  msgid "popular_post"
255
  msgstr ""
256
 
257
+ #: admin/class-stats.php:37
258
  msgid "popular_posts"
259
  msgstr ""
260
 
261
+ #: admin/class-stats.php:160
262
  msgid "No popular posts available."
263
  msgstr ""
264
 
265
+ #: admin/class-stats.php:209
266
  msgid "View"
267
  msgstr ""
268
 
269
+ #: admin/class-stats.php:210
270
  msgid "Edit"
271
  msgstr ""
272
 
273
+ #: admin/class-stats.php:211
274
  msgid "Delete"
275
  msgstr ""
276
 
277
+ #: admin/class-stats.php:233
278
  msgid "Y/m/d g:i:s a"
279
  msgstr ""
280
 
281
+ #: admin/class-stats.php:240
282
  #, php-format
283
  msgid "%s ago"
284
  msgstr ""
285
 
286
+ #: admin/class-stats.php:242
287
  msgid "Y/m/d"
288
  msgstr ""
289
 
290
+ #: admin/class-stats.php:276 includes/class-top-10-widget.php:71
291
  msgid "Title"
292
  msgstr ""
293
 
294
+ #: admin/class-stats.php:277
295
  msgid "Total visits"
296
  msgstr ""
297
 
298
+ #: admin/class-stats.php:278
299
  msgid "Daily visits"
300
  msgstr ""
301
 
302
+ #: admin/class-stats.php:279
303
  msgid "Post type"
304
  msgstr ""
305
 
306
+ #: admin/class-stats.php:280
307
  msgid "Author"
308
  msgstr ""
309
 
310
+ #: admin/class-stats.php:281
311
  msgid "Date"
312
  msgstr ""
313
 
314
+ #: admin/class-stats.php:315
315
  msgid "Delete Count"
316
  msgstr ""
317
 
318
+ #: admin/class-stats.php:355
319
  msgid "Are you sure you want to do this"
320
  msgstr ""
321
 
331
  msgid "Popular post list options"
332
  msgstr ""
333
 
334
+ #: admin/main-view.php:37 admin/main-view.php:489
335
  #: includes/class-top-10-widget.php:115
336
  #, fuzzy
337
  msgid "Thumbnail options"
338
  msgstr "Настройки превью к записям:"
339
 
340
+ #: admin/main-view.php:38 admin/main-view.php:652
341
  msgid "Styles"
342
  msgstr ""
343
 
344
+ #: admin/main-view.php:39 admin/main-view.php:748
345
  msgid "Maintenance"
346
  msgstr ""
347
 
353
  msgid "Overall"
354
  msgstr ""
355
 
356
+ #: admin/main-view.php:83 admin/main-view.php:767
357
  msgid "Daily"
358
  msgstr ""
359
 
473
  "Оставить ссылку на плагин под списками Популярных записей? Автор плагина был "
474
  "бы очень благодарен Вам, если Вы ее все же оставите!"
475
 
476
+ #: admin/main-view.php:156 admin/main-view.php:261 admin/main-view.php:470
477
+ #: admin/main-view.php:633 admin/main-view.php:727
478
  #, fuzzy
479
  msgid "Save Options"
480
  msgstr "Настройки плагина:"
644
  msgid "List of post or page IDs to exclude from the results:"
645
  msgstr ""
646
 
647
+ #: admin/main-view.php:327 admin/main-view.php:438
648
  msgid "Enter comma separated list of IDs. e.g. 188,320,500"
649
  msgstr ""
650
 
659
  "options"
660
  msgstr ""
661
 
662
+ #: admin/main-view.php:350
663
+ msgid "Excluded category IDs are:"
664
+ msgstr ""
665
+
666
+ #: admin/main-view.php:356
667
+ msgid ""
668
+ "These might differ from the IDs visible in the Categories page which use the "
669
+ "<code>term_id</code>. Top 10 uses the <code>term_taxonomy_id</code> which is "
670
+ "unique to this taxonomy."
671
+ msgstr ""
672
+
673
+ #: admin/main-view.php:362
674
  msgid "Title of popular posts:"
675
  msgstr ""
676
 
677
+ #: admin/main-view.php:368
678
  msgid "Title of daily popular posts:"
679
  msgstr ""
680
 
681
+ #: admin/main-view.php:374
682
  msgid "When there are no posts, what should be shown?"
683
  msgstr ""
684
 
685
+ #: admin/main-view.php:378
686
  msgid "Blank Output"
687
  msgstr ""
688
 
689
+ #: admin/main-view.php:382
690
  msgid "Display:"
691
  msgstr ""
692
 
693
+ #: admin/main-view.php:387
694
  msgid "Show post excerpt in list?"
695
  msgstr "Показывать текст записи в списке?"
696
 
697
+ #: admin/main-view.php:393
698
  msgid "Length of excerpt (in words):"
699
  msgstr ""
700
 
701
+ #: admin/main-view.php:399
702
  #, fuzzy
703
  msgid "Show post author in list?"
704
  msgstr "Показывать текст записи в списке?"
705
 
706
+ #: admin/main-view.php:405
707
  #, fuzzy
708
  msgid "Show post date in list?"
709
  msgstr "Показывать текст записи в списке?"
710
 
711
+ #: admin/main-view.php:411
712
  msgid "Limit post title length (in characters)"
713
  msgstr ""
714
 
715
+ #: admin/main-view.php:417
716
  #, fuzzy
717
  msgid "Show view count in list?"
718
  msgstr "Показывать текст записи в списке?"
719
 
720
+ #: admin/main-view.php:423
721
  msgid "Open links in new window"
722
  msgstr ""
723
 
724
+ #: admin/main-view.php:429
725
  msgid "Add nofollow attribute to links in the list"
726
  msgstr ""
727
 
728
+ #: admin/main-view.php:435
729
  msgid "Exclude display of related posts on these posts / pages"
730
  msgstr ""
731
 
732
+ #: admin/main-view.php:442
733
  #, fuzzy
734
  msgid "Customise the list HTML"
735
  msgstr "Настройки оформления списка:"
736
 
737
+ #: admin/main-view.php:445
738
  msgid "HTML to display before the list of posts:"
739
  msgstr ""
740
 
741
+ #: admin/main-view.php:451
742
  msgid "HTML to display before each list item:"
743
  msgstr ""
744
 
745
+ #: admin/main-view.php:457
746
  msgid "HTML to display after each list item:"
747
  msgstr ""
748
 
749
+ #: admin/main-view.php:463
750
  msgid "HTML to display after the list of posts:"
751
  msgstr ""
752
 
753
+ #: admin/main-view.php:504
754
  msgid "Location of post thumbnail:"
755
  msgstr ""
756
 
757
+ #: admin/main-view.php:508
758
  msgid "Display thumbnails inline with posts, before title"
759
  msgstr "Отображать превью к записи сразу перед заголовком"
760
 
761
+ #: admin/main-view.php:513
762
  msgid "Display thumbnails inline with posts, after title"
763
  msgstr "Отображать превью к записи сразу после заголовка"
764
 
765
+ #: admin/main-view.php:518
766
  msgid "Display only thumbnails, no text"
767
  msgstr "Отображать только превью, без текста"
768
 
769
+ #: admin/main-view.php:523
770
  msgid "Do not display thumbnails, only text."
771
  msgstr "Отображать только текст, без превью"
772
 
773
+ #: admin/main-view.php:527
774
  msgid ""
775
  "This setting cannot be changed because an inbuilt style has been selected "
776
  "under the Styles section. If you would like to change this option, please "
777
  "select No styles under the Styles section."
778
  msgstr ""
779
 
780
+ #: admin/main-view.php:531
781
  msgid "Thumbnail size:"
782
  msgstr ""
783
 
784
+ #: admin/main-view.php:555
785
  msgid "Custom size"
786
  msgstr ""
787
 
788
+ #: admin/main-view.php:558
789
  msgid ""
790
  "You can choose from existing image sizes above or create a custom size. If "
791
  "you have chosen Custom size above, then enter the width, height and crop "
792
  "settings below. For best results, use a cropped image."
793
  msgstr ""
794
 
795
+ #: admin/main-view.php:559
796
  msgid ""
797
  "If you change the width and/or height below, existing images will not be "
798
  "automatically resized."
799
  msgstr ""
800
 
801
+ #: admin/main-view.php:560
802
  #, php-format
803
  msgid ""
804
  "I recommend using <a href='%s' class='thickbox'>OTF Regenerate Thumbnails</"
806
  "all image sizes."
807
  msgstr ""
808
 
809
+ #: admin/main-view.php:563
810
  msgid ""
811
  "If you're using the Left Thumbs style below then the thumbnail width and "
812
  "height that you set here will supersede the widget. Alternatively, choose "
814
  "strong> option below"
815
  msgstr ""
816
 
817
+ #: admin/main-view.php:566
818
  msgid "Width of custom thumbnail:"
819
  msgstr ""
820
 
821
+ #: admin/main-view.php:571
822
  msgid "Height of custom thumbnail"
823
  msgstr ""
824
 
825
+ #: admin/main-view.php:576
826
  msgid "Crop mode:"
827
  msgstr ""
828
 
829
+ #: admin/main-view.php:580
830
  msgid ""
831
  "By default, thumbnails will be proportionately cropped. Check this box to "
832
  "hard crop the thumbnails."
833
  msgstr ""
834
 
835
+ #: admin/main-view.php:581
836
  #, php-format
837
  msgid "<a href='%s' target='_blank'>Difference between soft and hard crop</a>"
838
  msgstr ""
839
 
840
+ #: admin/main-view.php:585
841
  msgid "Image size attributes:"
842
  msgstr ""
843
 
844
+ #: admin/main-view.php:589
845
  msgid "Style attributes are used for width and height."
846
  msgstr ""
847
 
848
+ #: admin/main-view.php:595
849
  msgid "HTML width and height attributes are used for width and height."
850
  msgstr ""
851
 
852
+ #: admin/main-view.php:601
853
  msgid "No HTML or Style attributes set for width and height"
854
  msgstr ""
855
 
856
+ #: admin/main-view.php:606
857
  msgid "Post thumbnail meta field name:"
858
  msgstr ""
859
 
860
+ #: admin/main-view.php:609
861
  msgid ""
862
  "The value of this field should contain the image source and is set in the "
863
  "<em>Add New Post</em> screen"
864
  msgstr ""
865
 
866
+ #: admin/main-view.php:612
867
  #, fuzzy
868
  msgid ""
869
  "If the postmeta is not set, then should the plugin extract the first image "
873
  "изображение из записи. Это может слегка увеличить загрузку в первый раз, так "
874
  "как будет создаваться уменьшенная копия изображения"
875
 
876
+ #: admin/main-view.php:615
877
  #, fuzzy
878
  msgid ""
879
  "This could slow down the loading of your page if the first image in the "
883
  "изображение из записи. Это может слегка увеличить загрузку в первый раз, так "
884
  "как будет создаваться уменьшенная копия изображения"
885
 
886
+ #: admin/main-view.php:618
887
  msgid "Use default thumbnail?"
888
  msgstr ""
889
 
890
+ #: admin/main-view.php:621
891
  msgid ""
892
  "If checked, when no thumbnail is found, show a default one from the URL "
893
  "below. If not checked and no thumbnail is found, no image will be shown."
896
  "добавлено стандартное изображение. Если превью задано к записи - будет "
897
  "отображаться только оно."
898
 
899
+ #: admin/main-view.php:624
900
  msgid "Default thumbnail:"
901
  msgstr ""
902
 
903
+ #: admin/main-view.php:628
904
  #, fuzzy
905
  msgid ""
906
  "The plugin will first check if the post contains a thumbnail. If it doesn't "
911
  "заданному ранее произвольному мета-полю). Если же превью нет - будет "
912
  "выводиться картинка по-умолчанию:"
913
 
914
+ #: admin/main-view.php:667
915
  msgid "Style of the related posts:"
916
  msgstr ""
917
 
918
+ #: admin/main-view.php:670
919
  msgid "No styles"
920
  msgstr ""
921
 
922
+ #: admin/main-view.php:672
923
  msgid "Select this option if you plan to add your own styles"
924
  msgstr ""
925
 
926
+ #: admin/main-view.php:677
927
  msgid "Left Thumbnails"
928
  msgstr ""
929
 
930
+ #: admin/main-view.php:680
931
  msgid ""
932
  "Enabling this option will set the post thumbnail to be before text. "
933
  "Disabling this option will not revert any settings."
934
  msgstr ""
935
 
936
+ #: admin/main-view.php:681
937
  #, php-format
938
  msgid ""
939
  "You can view the default style at <a href=\"%1$s\" target=\"_blank\">%1$s</a>"
940
  msgstr ""
941
 
942
+ #: admin/main-view.php:685
943
  msgid "Text only"
944
  msgstr ""
945
 
946
+ #: admin/main-view.php:687
947
  msgid ""
948
  "Enabling this option will disable thumbnails and no longer include the "
949
  "default style sheet included in the plugin."
950
  msgstr ""
951
 
952
+ #: admin/main-view.php:703
953
  msgid "Custom CSS to add to header:"
954
  msgstr ""
955
 
956
+ #: admin/main-view.php:708
957
  msgid ""
958
  "Do not include <code>style</code> tags. Check out the <a href=\"http://"
959
  "wordpress.org/extend/plugins/top-10/faq/\" target=\"_blank\">FAQ</a> for "
960
  "available CSS classes to style."
961
  msgstr ""
962
 
963
+ #: admin/main-view.php:728
964
  #, fuzzy
965
  msgid "Default Options"
966
  msgstr "Настройки плагина:"
967
 
968
+ #: admin/main-view.php:728
969
  msgid "Do you want to set options to Default?"
970
  msgstr "Сбросить настройки плагина?"
971
 
972
+ #: admin/main-view.php:752
973
  msgid ""
974
  "Over time the Daily Top 10 database grows in size, which reduces the "
975
  "performance of the plugin. Cleaning the database at regular intervals could "
977
  "will automatically delete entries older than 90 days."
978
  msgstr ""
979
 
980
+ #: admin/main-view.php:753
981
  msgid ""
982
  "Note: When scheduled maintenance is enabled, WordPress will run the cron job "
983
  "everytime the job is rescheduled (i.e. you change the settings below)."
984
  msgstr ""
985
 
986
+ #: admin/main-view.php:756
987
  msgid "Enable scheduled maintenance of daily tables:"
988
  msgstr ""
989
 
990
+ #: admin/main-view.php:760
991
  msgid "Time to run maintenance"
992
  msgstr ""
993
 
994
+ #: admin/main-view.php:761
995
  msgid "hrs"
996
  msgstr ""
997
 
998
+ #: admin/main-view.php:761
999
  msgid "min"
1000
  msgstr ""
1001
 
1002
+ #: admin/main-view.php:763
1003
  msgid "How often should the maintenance be run:"
1004
  msgstr ""
1005
 
1006
+ #: admin/main-view.php:771
1007
  msgid "Weekly"
1008
  msgstr ""
1009
 
1010
+ #: admin/main-view.php:775
1011
  msgid "Fortnightly"
1012
  msgstr ""
1013
 
1014
+ #: admin/main-view.php:779
1015
  msgid "Monthly"
1016
  msgstr ""
1017
 
1018
+ #: admin/main-view.php:788
1019
  msgid "The cron job has been scheduled. Maintenance will run"
1020
  msgstr ""
1021
 
1022
+ #: admin/main-view.php:793
1023
  msgid "The cron job is missing. Please resave this page to add the job"
1024
  msgstr ""
1025
 
1026
+ #: admin/main-view.php:798
1027
  msgid "Maintenance is turned off"
1028
  msgstr ""
1029
 
1030
+ #: admin/main-view.php:804
1031
  msgid "Save Maintenance Options"
1032
  msgstr ""
1033
 
1034
+ #: admin/main-view.php:812
1035
  msgid "Reset count and other tools"
1036
  msgstr ""
1037
 
1038
+ #: admin/main-view.php:815
1039
  msgid ""
1040
  "This cannot be reversed. Make sure that your database has been backed up "
1041
  "before proceeding"
1043
  "Сброс статистики не может быть обращен. Перед тем, как сбрасывать все, "
1044
  "убедитесь, что у вас есть копия вашей базы данных!"
1045
 
1046
+ #: admin/main-view.php:818
1047
  #, fuzzy
1048
  msgid "Reset Popular Posts"
1049
  msgstr "Популярные записи"
1050
 
1051
+ #: admin/main-view.php:818
1052
  msgid "Are you sure you want to reset the popular posts?"
1053
  msgstr "Вы уверены, что хотите сбросить статистику для Популярных записей?"
1054
 
1055
+ #: admin/main-view.php:819
1056
  #, fuzzy
1057
  msgid "Reset Daily Popular Posts"
1058
  msgstr "Популярные сегодня записи"
1059
 
1060
+ #: admin/main-view.php:819
1061
  msgid "Are you sure you want to reset the daily popular posts?"
1062
  msgstr ""
1063
  "Вы уверены, что хотите сбросить статистику для Популярных сегодня записей?"
1064
 
1065
+ #: admin/main-view.php:822
1066
  msgid "This will merge post counts for posts with table entries of 0 and 1"
1067
  msgstr ""
1068
 
1069
+ #: admin/main-view.php:825
1070
  msgid "Merge blog ID 0 and 1 post counts"
1071
  msgstr ""
1072
 
1073
+ #: admin/main-view.php:825
1074
  msgid "This will merge post counts for blog IDs 0 and 1. Proceed?"
1075
  msgstr ""
1076
 
1077
+ #: admin/main-view.php:828
1078
  msgid ""
1079
  "In older versions, the plugin created entries with duplicate post IDs. "
1080
  "Clicking the button below will merge these duplicate IDs"
1081
  msgstr ""
1082
 
1083
+ #: admin/main-view.php:831
1084
  msgid "Merge duplicates across blog IDs"
1085
  msgstr ""
1086
 
1087
+ #: admin/main-view.php:831
1088
  msgid "This will delete the duplicate entries in the tables. Proceed?"
1089
  msgstr ""
1090
  "Будет произведено удаление дублирующихся щаписей из статистики. Продолжить?"
1091
 
1092
+ #: admin/main-view.php:847
1093
  msgid "WordPress Multisite: Migrate Top 10 v1.x counts to 2.x"
1094
  msgstr ""
1095
 
1096
+ #: admin/main-view.php:850
1097
  msgid ""
1098
  "If you've been using Top 10 v1.x on multisite, you would have needed to "
1099
  "activate the plugin independently for each site. This would have resulted in "
1100
  "two tables being created for each site in the network."
1101
  msgstr ""
1102
 
1103
+ #: admin/main-view.php:851
1104
  msgid ""
1105
  "Top 10 v2.x onwards uses only a single table to record the count, keeping "
1106
  "your database clean. You can use this tool to import the recorded counts "
1107
  "from v1.x tables to the new v2.x table format."
1108
  msgstr ""
1109
 
1110
+ #: admin/main-view.php:854
1111
  msgid ""
1112
  "If you do not see any tables below, then it means that either all data has "
1113
  "already been imported or no relevant information has been found."
1114
  msgstr ""
1115
 
1116
+ #: admin/main-view.php:857
1117
  msgid ""
1118
  "After running the importer, please verify that all the counts have been "
1119
  "successfully imported. Only then should you delete any old tables!"
1120
  msgstr ""
1121
 
1122
+ #: admin/main-view.php:891
1123
  msgid "Blog ID"
1124
  msgstr ""
1125
 
1126
+ #: admin/main-view.php:894
1127
  msgid "Status"
1128
  msgstr ""
1129
 
1130
+ #: admin/main-view.php:897
1131
  msgid "Select to import"
1132
  msgstr ""
1133
 
1134
+ #: admin/main-view.php:907
1135
  msgid "Blog #"
1136
  msgstr ""
1137
 
1138
+ #: admin/main-view.php:917
1139
  msgid "Not imported"
1140
  msgstr ""
1141
 
1142
+ #: admin/main-view.php:921
1143
  msgid "Imported"
1144
  msgstr ""
1145
 
1146
+ #: admin/main-view.php:942
1147
  msgid "Begin import"
1148
  msgstr ""
1149
 
1150
+ #: admin/main-view.php:943
1151
  msgid "Delete selected tables"
1152
  msgstr ""
1153
 
1154
+ #: admin/main-view.php:944
1155
  msgid "Delete all imported tables"
1156
  msgstr ""
1157
 
1235
  msgid "Post types to include:"
1236
  msgstr ""
1237
 
1238
+ #: includes/media.php:62
1239
  msgid "thumb_timthumb argument has been deprecated"
1240
  msgstr ""
1241
 
1242
+ #: includes/media.php:66
1243
  msgid "thumb_timthumb_q argument has been deprecated"
1244
  msgstr ""
1245
 
1246
+ #: includes/media.php:70
1247
  msgid "filter argument has been deprecated"
1248
  msgstr ""
1249
 
1251
  msgid " by "
1252
  msgstr ""
1253
 
1254
+ #: top-10.php:163
1255
  msgid ""
1256
  "posts_only argument has been deprecated. Use get_tptn_pop_posts() to get the "
1257
  "posts only."
1258
  msgstr ""
1259
 
1260
+ #: top-10.php:300
1261
  #, php-format
1262
  msgid "Popular posts by <a href=\"%s\" rel=\"nofollow\" %s>Top 10 plugin</a>"
1263
  msgstr ""
1264
 
1265
+ #: top-10.php:641
1266
  msgid "<h3>Popular Posts</h3>"
1267
  msgstr "<h3>Популярные записи</h3>"
1268
 
1269
+ #: top-10.php:642
1270
  msgid "<h3>Daily Popular</h3>"
1271
  msgstr "<h3>Популярные сегодня записи</h3>"
1272
 
1273
+ #: top-10.php:643
1274
  #, fuzzy
1275
  msgid "No top posts yet"
1276
  msgstr "Сбросить статистику популярных записей"
1277
 
1278
+ #: top-10.php:1124
1279
  msgid "Once Weekly"
1280
  msgstr ""
1281
 
1282
+ #: top-10.php:1128
1283
  msgid "Once Fortnightly"
1284
  msgstr ""
1285
 
1286
+ #: top-10.php:1132
1287
  msgid "Once Monthly"
1288
  msgstr ""
1289
 
1290
+ #: top-10.php:1136
1291
  msgid "Once quarterly"
1292
  msgstr ""
1293
 
languages/{tptn-sr_RS.mo → top-10-sr_RS.mo} RENAMED
Binary file
languages/{tptn-sr_RS.po → top-10-sr_RS.po} RENAMED
@@ -2,7 +2,7 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Top 10\n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2015-09-13 22:07+0100\n"
6
  "PO-Revision-Date: \n"
7
  "Last-Translator: Ajay D'Souza <me@ajaydsouza.com>\n"
8
  "Language-Team: Ajay D'Souza <me@ajaydsouza.com>\n"
@@ -44,7 +44,7 @@ msgstr ""
44
  msgid "Popular posts by <a href=\"%s\" target=\"_blank\">Top 10 plugin</a>"
45
  msgstr ""
46
 
47
- #: admin/admin-dashboard.php:109 admin/class-stats.php:440
48
  #: admin/deprecated.php:41
49
  msgid "Popular Posts"
50
  msgstr "Popularni postovi"
@@ -154,170 +154,170 @@ msgstr "Raspored održavanja omogućen modifikovan"
154
  msgid "Scheduled maintenance disabled"
155
  msgstr "Raspoed održavanja onemogućen"
156
 
157
- #: admin/admin.php:300
158
  msgid "Counts from selected sites have been imported."
159
  msgstr ""
160
 
161
- #: admin/admin.php:325
162
  msgid ""
163
  "Selected tables have been deleted. Note that only imported tables have been "
164
  "deleted."
165
  msgstr ""
166
 
167
- #: admin/admin.php:342 admin/admin.php:362 admin/admin.php:372
168
  #: admin/main-view.php:55 admin/main-view.php:174 admin/main-view.php:279
169
- #: admin/main-view.php:477 admin/main-view.php:638 admin/main-view.php:734
170
- #: admin/main-view.php:798 admin/main-view.php:834
171
  msgid "Click to toggle"
172
  msgstr ""
173
 
174
- #: admin/admin.php:343
175
  msgid "Support the development"
176
  msgstr "Podrška razvoju"
177
 
178
- #: admin/admin.php:350
179
  msgid "Donation for Top 10"
180
  msgstr ""
181
 
182
- #: admin/admin.php:352
183
  msgid "Enter amount in USD:"
184
  msgstr ""
185
 
186
- #: admin/admin.php:356
187
  #, fuzzy
188
  msgid "Send your donation to the author of Top 10"
189
  msgstr "Pošalji vašu donaciju autoru"
190
 
191
- #: admin/admin.php:363
192
  #, fuzzy
193
  msgid "Follow me"
194
  msgstr "Pratite nas"
195
 
196
- #: admin/admin.php:373
197
  #, fuzzy
198
  msgid "Quick links"
199
  msgstr "Liens rapides"
200
 
201
- #: admin/admin.php:377
202
  #, fuzzy
203
  msgid "Top 10 plugin page"
204
  msgstr "Page de plugin"
205
 
206
- #: admin/admin.php:378
207
  msgid "Top 10 Github page"
208
  msgstr ""
209
 
210
- #: admin/admin.php:379
211
  msgid "Other plugins"
212
  msgstr "Brzi linkovi"
213
 
214
- #: admin/admin.php:380
215
  msgid "FAQ"
216
  msgstr ""
217
 
218
- #: admin/admin.php:381 admin/admin.php:551
219
  msgid "Support"
220
  msgstr "Podrška"
221
 
222
- #: admin/admin.php:382
223
  msgid "Reviews"
224
  msgstr ""
225
 
226
- #: admin/admin.php:383
227
  msgid "Ajay's blog"
228
  msgstr "Ajayov blog"
229
 
230
- #: admin/admin.php:400 admin/admin.php:403 admin/main-view.php:22
231
  #, fuzzy
232
  msgid "Top 10 Settings"
233
  msgstr "Paramètres"
234
 
235
- #: admin/admin.php:400
236
  msgid "Top 10"
237
  msgstr "Top 10"
238
 
239
- #: admin/admin.php:408
240
  msgid "View Popular Posts"
241
  msgstr ""
242
 
243
- #: admin/admin.php:528
244
  msgid "Settings"
245
  msgstr "Postavke"
246
 
247
- #: admin/admin.php:552
248
  msgid "Donate"
249
  msgstr "Donirajte"
250
 
251
- #: admin/cache.php:20
252
  msgid "Top 10 cache has been cleared"
253
  msgstr ""
254
 
255
- #: admin/class-stats.php:37
256
  msgid "popular_post"
257
  msgstr ""
258
 
259
- #: admin/class-stats.php:38
260
  msgid "popular_posts"
261
  msgstr ""
262
 
263
- #: admin/class-stats.php:162
264
  msgid "No popular posts available."
265
  msgstr ""
266
 
267
- #: admin/class-stats.php:211
268
  msgid "View"
269
  msgstr ""
270
 
271
- #: admin/class-stats.php:212
272
  msgid "Edit"
273
  msgstr ""
274
 
275
- #: admin/class-stats.php:213
276
  msgid "Delete"
277
  msgstr ""
278
 
279
- #: admin/class-stats.php:235
280
  msgid "Y/m/d g:i:s a"
281
  msgstr ""
282
 
283
- #: admin/class-stats.php:242
284
  #, php-format
285
  msgid "%s ago"
286
  msgstr ""
287
 
288
- #: admin/class-stats.php:244
289
  msgid "Y/m/d"
290
  msgstr ""
291
 
292
- #: admin/class-stats.php:278 includes/class-top-10-widget.php:71
293
  msgid "Title"
294
  msgstr "Naslov"
295
 
296
- #: admin/class-stats.php:279
297
  msgid "Total visits"
298
  msgstr ""
299
 
300
- #: admin/class-stats.php:280
301
  msgid "Daily visits"
302
  msgstr ""
303
 
304
- #: admin/class-stats.php:281
305
  msgid "Post type"
306
  msgstr ""
307
 
308
- #: admin/class-stats.php:282
309
  msgid "Author"
310
  msgstr ""
311
 
312
- #: admin/class-stats.php:283
313
  msgid "Date"
314
  msgstr ""
315
 
316
- #: admin/class-stats.php:317
317
  msgid "Delete Count"
318
  msgstr ""
319
 
320
- #: admin/class-stats.php:357
321
  msgid "Are you sure you want to do this"
322
  msgstr ""
323
 
@@ -333,17 +333,17 @@ msgstr ""
333
  msgid "Popular post list options"
334
  msgstr ""
335
 
336
- #: admin/main-view.php:37 admin/main-view.php:478
337
  #: includes/class-top-10-widget.php:115
338
  #, fuzzy
339
  msgid "Thumbnail options"
340
  msgstr "Options thumbnail des messages:"
341
 
342
- #: admin/main-view.php:38 admin/main-view.php:639
343
  msgid "Styles"
344
  msgstr ""
345
 
346
- #: admin/main-view.php:39 admin/main-view.php:735
347
  msgid "Maintenance"
348
  msgstr "Održavanje"
349
 
@@ -355,7 +355,7 @@ msgstr ""
355
  msgid "Overall"
356
  msgstr "Sve ukupno"
357
 
358
- #: admin/main-view.php:83 admin/main-view.php:754
359
  msgid "Daily"
360
  msgstr "Dnevno"
361
 
@@ -476,8 +476,8 @@ msgstr ""
476
  "le répertoire des enregistrements populaires. Cela n'est pas obligatoire, "
477
  "mais nous vous y remercions!"
478
 
479
- #: admin/main-view.php:156 admin/main-view.php:261 admin/main-view.php:459
480
- #: admin/main-view.php:620 admin/main-view.php:714
481
  #, fuzzy
482
  msgid "Save Options"
483
  msgstr "Options:"
@@ -658,7 +658,7 @@ msgstr "Tipovi postova da uključe rezultate (uključujući i custom post tipove
658
  msgid "List of post or page IDs to exclude from the results:"
659
  msgstr ""
660
 
661
- #: admin/main-view.php:327 admin/main-view.php:427
662
  msgid "Enter comma separated list of IDs. e.g. 188,320,500"
663
  msgstr "Unesite zarezom odvojenu listu IDa npr.188,320,500"
664
 
@@ -675,135 +675,146 @@ msgstr ""
675
  "Zarezima separatisana lista kategorije. Polje iznad je autokompletno tako da "
676
  "jednostavno samo počnite da kucate ključna slova i pokazaće vam se opcije"
677
 
678
- #: admin/main-view.php:351
 
 
 
 
 
 
 
 
 
 
 
679
  msgid "Title of popular posts:"
680
  msgstr ""
681
 
682
- #: admin/main-view.php:357
683
  msgid "Title of daily popular posts:"
684
  msgstr ""
685
 
686
- #: admin/main-view.php:363
687
  msgid "When there are no posts, what should be shown?"
688
  msgstr "Kada nema postova šta da prikažemo?"
689
 
690
- #: admin/main-view.php:367
691
  msgid "Blank Output"
692
  msgstr "Prazan izlaz"
693
 
694
- #: admin/main-view.php:371
695
  msgid "Display:"
696
  msgstr "Prikaz:"
697
 
698
- #: admin/main-view.php:376
699
  msgid "Show post excerpt in list?"
700
  msgstr "Pokaži post izvoda na listi?"
701
 
702
- #: admin/main-view.php:382
703
  msgid "Length of excerpt (in words):"
704
  msgstr ""
705
 
706
- #: admin/main-view.php:388
707
  #, fuzzy
708
  msgid "Show post author in list?"
709
  msgstr "Afficher le fragment du message dans la liste?"
710
 
711
- #: admin/main-view.php:394
712
  #, fuzzy
713
  msgid "Show post date in list?"
714
  msgstr "Afficher le fragment du message dans la liste?"
715
 
716
- #: admin/main-view.php:400
717
  msgid "Limit post title length (in characters)"
718
  msgstr "Limit dužine postova naslova (u karakterima)"
719
 
720
- #: admin/main-view.php:406
721
  #, fuzzy
722
  msgid "Show view count in list?"
723
  msgstr "Afficher le fragment du message dans la liste?"
724
 
725
- #: admin/main-view.php:412
726
  msgid "Open links in new window"
727
  msgstr "Otvori linkove u novim prozorima"
728
 
729
- #: admin/main-view.php:418
730
  msgid "Add nofollow attribute to links in the list"
731
  msgstr "Dodaj nofollow atribut linkovima u listi"
732
 
733
- #: admin/main-view.php:424
734
  msgid "Exclude display of related posts on these posts / pages"
735
  msgstr "Isključi pregled vezanih postova na ovim postovima-stranicama"
736
 
737
- #: admin/main-view.php:431
738
  #, fuzzy
739
  msgid "Customise the list HTML"
740
  msgstr "Sredite output:"
741
 
742
- #: admin/main-view.php:434
743
  msgid "HTML to display before the list of posts:"
744
  msgstr ""
745
 
746
- #: admin/main-view.php:440
747
  msgid "HTML to display before each list item:"
748
  msgstr ""
749
 
750
- #: admin/main-view.php:446
751
  msgid "HTML to display after each list item:"
752
  msgstr ""
753
 
754
- #: admin/main-view.php:452
755
  msgid "HTML to display after the list of posts:"
756
  msgstr ""
757
 
758
- #: admin/main-view.php:493
759
  msgid "Location of post thumbnail:"
760
  msgstr "Lokacija posta thumbnaila:"
761
 
762
- #: admin/main-view.php:497
763
  msgid "Display thumbnails inline with posts, before title"
764
  msgstr "Prikaži thumbnails inline sa postovima pre naslova"
765
 
766
- #: admin/main-view.php:502
767
  msgid "Display thumbnails inline with posts, after title"
768
  msgstr "Prikaži thumbnails inline sa postovima posle naslova"
769
 
770
- #: admin/main-view.php:507
771
  msgid "Display only thumbnails, no text"
772
  msgstr "Prikaži samo thumbnails, bez teksta"
773
 
774
- #: admin/main-view.php:512
775
  msgid "Do not display thumbnails, only text."
776
  msgstr "Ne prikazujte thumbnails, samo tekst"
777
 
778
- #: admin/main-view.php:516
779
  msgid ""
780
  "This setting cannot be changed because an inbuilt style has been selected "
781
  "under the Styles section. If you would like to change this option, please "
782
  "select No styles under the Styles section."
783
  msgstr ""
784
 
785
- #: admin/main-view.php:520
786
  msgid "Thumbnail size:"
787
  msgstr ""
788
 
789
- #: admin/main-view.php:544
790
  msgid "Custom size"
791
  msgstr ""
792
 
793
- #: admin/main-view.php:547
794
  msgid ""
795
  "You can choose from existing image sizes above or create a custom size. If "
796
  "you have chosen Custom size above, then enter the width, height and crop "
797
  "settings below. For best results, use a cropped image."
798
  msgstr ""
799
 
800
- #: admin/main-view.php:548
801
  msgid ""
802
  "If you change the width and/or height below, existing images will not be "
803
  "automatically resized."
804
  msgstr ""
805
 
806
- #: admin/main-view.php:549
807
  #, php-format
808
  msgid ""
809
  "I recommend using <a href='%s' class='thickbox'>OTF Regenerate Thumbnails</"
@@ -811,7 +822,7 @@ msgid ""
811
  "all image sizes."
812
  msgstr ""
813
 
814
- #: admin/main-view.php:552
815
  msgid ""
816
  "If you're using the Left Thumbs style below then the thumbnail width and "
817
  "height that you set here will supersede the widget. Alternatively, choose "
@@ -819,54 +830,54 @@ msgid ""
819
  "strong> option below"
820
  msgstr ""
821
 
822
- #: admin/main-view.php:555
823
  msgid "Width of custom thumbnail:"
824
  msgstr ""
825
 
826
- #: admin/main-view.php:560
827
  msgid "Height of custom thumbnail"
828
  msgstr ""
829
 
830
- #: admin/main-view.php:565
831
  msgid "Crop mode:"
832
  msgstr ""
833
 
834
- #: admin/main-view.php:569
835
  msgid ""
836
  "By default, thumbnails will be proportionately cropped. Check this box to "
837
  "hard crop the thumbnails."
838
  msgstr ""
839
 
840
- #: admin/main-view.php:570
841
  #, php-format
842
  msgid "<a href='%s' target='_blank'>Difference between soft and hard crop</a>"
843
  msgstr ""
844
 
845
- #: admin/main-view.php:574
846
  msgid "Image size attributes:"
847
  msgstr ""
848
 
849
- #: admin/main-view.php:578
850
  #, fuzzy
851
  msgid "Style attributes are used for width and height."
852
  msgstr ""
853
  "Stilovi atributa su korišćeni za čirinu i visinu. <code>style=\"max-width:"
854
 
855
- #: admin/main-view.php:583
856
  #, fuzzy
857
  msgid "HTML width and height attributes are used for width and height."
858
  msgstr ""
859
  "HTML širina i visina atributa se koristi za širinu i visinu.<code>width=\""
860
 
861
- #: admin/main-view.php:588
862
  msgid "No HTML or Style attributes set for width and height"
863
  msgstr ""
864
 
865
- #: admin/main-view.php:593
866
  msgid "Post thumbnail meta field name:"
867
  msgstr ""
868
 
869
- #: admin/main-view.php:596
870
  msgid ""
871
  "The value of this field should contain the image source and is set in the "
872
  "<em>Add New Post</em> screen"
@@ -874,7 +885,7 @@ msgstr ""
874
  "Vrednost ovog polja bi trebala da sadrži source slike i njne postavke u "
875
  "<em>Add New Post</em> ekranu"
876
 
877
- #: admin/main-view.php:599
878
  #, fuzzy
879
  msgid ""
880
  "If the postmeta is not set, then should the plugin extract the first image "
@@ -885,7 +896,7 @@ msgstr ""
885
  "première image de la résolution correspondante du fichier est de taille "
886
  "supérieure"
887
 
888
- #: admin/main-view.php:602
889
  #, fuzzy
890
  msgid ""
891
  "This could slow down the loading of your page if the first image in the "
@@ -896,11 +907,11 @@ msgstr ""
896
  "première image de la résolution correspondante du fichier est de taille "
897
  "supérieure"
898
 
899
- #: admin/main-view.php:605
900
  msgid "Use default thumbnail?"
901
  msgstr ""
902
 
903
- #: admin/main-view.php:608
904
  msgid ""
905
  "If checked, when no thumbnail is found, show a default one from the URL "
906
  "below. If not checked and no thumbnail is found, no image will be shown."
@@ -908,11 +919,11 @@ msgstr ""
908
  "Ako je čekirano, kada nijedna thumnail nije pronadjena prikaži default iz "
909
  "URLa ispod. Ako nije čekirano i nema thumbnaila, slika neće biti prikazana."
910
 
911
- #: admin/main-view.php:611
912
  msgid "Default thumbnail:"
913
  msgstr ""
914
 
915
- #: admin/main-view.php:615
916
  msgid ""
917
  "The plugin will first check if the post contains a thumbnail. If it doesn't "
918
  "then it will check the meta field. If this is not available, then it will "
@@ -922,49 +933,49 @@ msgstr ""
922
  "proveriti meta polje. Ako to nije dopstupno, onda će vam pokazati default "
923
  "sliku kao što je odredjeno iznad"
924
 
925
- #: admin/main-view.php:654
926
  msgid "Style of the related posts:"
927
  msgstr ""
928
 
929
- #: admin/main-view.php:657
930
  msgid "No styles"
931
  msgstr ""
932
 
933
- #: admin/main-view.php:659
934
  msgid "Select this option if you plan to add your own styles"
935
  msgstr ""
936
 
937
- #: admin/main-view.php:664
938
  msgid "Left Thumbnails"
939
  msgstr ""
940
 
941
- #: admin/main-view.php:667
942
  msgid ""
943
  "Enabling this option will set the post thumbnail to be before text. "
944
  "Disabling this option will not revert any settings."
945
  msgstr ""
946
 
947
- #: admin/main-view.php:668
948
  #, php-format
949
  msgid ""
950
  "You can view the default style at <a href=\"%1$s\" target=\"_blank\">%1$s</a>"
951
  msgstr ""
952
 
953
- #: admin/main-view.php:672
954
  msgid "Text only"
955
  msgstr ""
956
 
957
- #: admin/main-view.php:674
958
  msgid ""
959
  "Enabling this option will disable thumbnails and no longer include the "
960
  "default style sheet included in the plugin."
961
  msgstr ""
962
 
963
- #: admin/main-view.php:690
964
  msgid "Custom CSS to add to header:"
965
  msgstr "Custom CSS je dodat header-u"
966
 
967
- #: admin/main-view.php:695
968
  msgid ""
969
  "Do not include <code>style</code> tags. Check out the <a href=\"http://"
970
  "wordpress.org/extend/plugins/top-10/faq/\" target=\"_blank\">FAQ</a> for "
@@ -974,16 +985,16 @@ msgstr ""
974
  "wordpress.org/extend/plugins/top-10/faq/\" target=\"_blank\">FAQ</a> za "
975
  "dostupne CSS klase za stilizovanje."
976
 
977
- #: admin/main-view.php:715
978
  #, fuzzy
979
  msgid "Default Options"
980
  msgstr "Paramètres de sortie"
981
 
982
- #: admin/main-view.php:715
983
  msgid "Do you want to set options to Default?"
984
  msgstr "Da li želite da postavite opcije na Default?"
985
 
986
- #: admin/main-view.php:739
987
  #, fuzzy
988
  msgid ""
989
  "Over time the Daily Top 10 database grows in size, which reduces the "
@@ -995,7 +1006,7 @@ msgstr ""
995
  "plugina. Čišćenje baze podataka u regularnim intervalima može poboljšati "
996
  "performanse naročito na blogovima sa velikim saobraćajem."
997
 
998
- #: admin/main-view.php:740
999
  #, fuzzy
1000
  msgid ""
1001
  "Note: When scheduled maintenance is enabled, WordPress will run the cron job "
@@ -1005,61 +1016,61 @@ msgstr ""
1005
  "kroniranje svaki put kada se poslu promeni raspored (npr. ako promenite "
1006
  "postavke ispod) Ovo prouzrokuje dnevne postove tabele za resetovanje."
1007
 
1008
- #: admin/main-view.php:743
1009
  msgid "Enable scheduled maintenance of daily tables:"
1010
  msgstr "Omogući raspored održavanja u dnevnim tabelama"
1011
 
1012
- #: admin/main-view.php:747
1013
  msgid "Time to run maintenance"
1014
  msgstr "Pokrenuti održavanje"
1015
 
1016
- #: admin/main-view.php:748
1017
  msgid "hrs"
1018
  msgstr ""
1019
 
1020
- #: admin/main-view.php:748
1021
  msgid "min"
1022
  msgstr ""
1023
 
1024
- #: admin/main-view.php:750
1025
  msgid "How often should the maintenance be run:"
1026
  msgstr "Održavanje ne treba često da se pokreće"
1027
 
1028
- #: admin/main-view.php:758
1029
  msgid "Weekly"
1030
  msgstr "Nedeljno"
1031
 
1032
- #: admin/main-view.php:762
1033
  msgid "Fortnightly"
1034
  msgstr "Na dve nedelje"
1035
 
1036
- #: admin/main-view.php:766
1037
  msgid "Monthly"
1038
  msgstr "Mesečno"
1039
 
1040
- #: admin/main-view.php:775
1041
  msgid "The cron job has been scheduled. Maintenance will run"
1042
  msgstr ""
1043
 
1044
- #: admin/main-view.php:780
1045
  msgid "The cron job is missing. Please resave this page to add the job"
1046
  msgstr ""
1047
  "Nedostaje kroniranje. Molim vas ponovo sašuvajte ovu stranicu da biste "
1048
  "dodali posao"
1049
 
1050
- #: admin/main-view.php:785
1051
  msgid "Maintenance is turned off"
1052
  msgstr "Održavanje je ugašeno"
1053
 
1054
- #: admin/main-view.php:791
1055
  msgid "Save Maintenance Options"
1056
  msgstr ""
1057
 
1058
- #: admin/main-view.php:799
1059
  msgid "Reset count and other tools"
1060
  msgstr ""
1061
 
1062
- #: admin/main-view.php:802
1063
  msgid ""
1064
  "This cannot be reversed. Make sure that your database has been backed up "
1065
  "before proceeding"
@@ -1067,113 +1078,113 @@ msgstr ""
1067
  "Ovo ne možete da proništite. Proverite da li vam je baza podataka sačuvana u "
1068
  "back up-u pre nego što nastavite"
1069
 
1070
- #: admin/main-view.php:805
1071
  #, fuzzy
1072
  msgid "Reset Popular Posts"
1073
  msgstr "Postes populaires"
1074
 
1075
- #: admin/main-view.php:805
1076
  msgid "Are you sure you want to reset the popular posts?"
1077
  msgstr "Da li ste sigurni da želite da resetujete popularne postove?"
1078
 
1079
- #: admin/main-view.php:806
1080
  #, fuzzy
1081
  msgid "Reset Daily Popular Posts"
1082
  msgstr "Postes populaires journaliers"
1083
 
1084
- #: admin/main-view.php:806
1085
  msgid "Are you sure you want to reset the daily popular posts?"
1086
  msgstr "Da li ste sigurni da želite da resetujete dnevne popularne postove?"
1087
 
1088
- #: admin/main-view.php:809
1089
  msgid "This will merge post counts for posts with table entries of 0 and 1"
1090
  msgstr ""
1091
 
1092
- #: admin/main-view.php:812
1093
  msgid "Merge blog ID 0 and 1 post counts"
1094
  msgstr ""
1095
 
1096
- #: admin/main-view.php:812
1097
  msgid "This will merge post counts for blog IDs 0 and 1. Proceed?"
1098
  msgstr ""
1099
 
1100
- #: admin/main-view.php:815
1101
  msgid ""
1102
  "In older versions, the plugin created entries with duplicate post IDs. "
1103
  "Clicking the button below will merge these duplicate IDs"
1104
  msgstr ""
1105
 
1106
- #: admin/main-view.php:818
1107
  msgid "Merge duplicates across blog IDs"
1108
  msgstr ""
1109
 
1110
- #: admin/main-view.php:818
1111
  msgid "This will delete the duplicate entries in the tables. Proceed?"
1112
  msgstr "Ovo će obrisati duple unose u tabelama. Nastaviti?"
1113
 
1114
- #: admin/main-view.php:835
1115
  msgid "WordPress Multisite: Migrate Top 10 v1.x counts to 2.x"
1116
  msgstr ""
1117
 
1118
- #: admin/main-view.php:838
1119
  msgid ""
1120
  "If you've been using Top 10 v1.x on multisite, you would have needed to "
1121
  "activate the plugin independently for each site. This would have resulted in "
1122
  "two tables being created for each site in the network."
1123
  msgstr ""
1124
 
1125
- #: admin/main-view.php:839
1126
  msgid ""
1127
  "Top 10 v2.x onwards uses only a single table to record the count, keeping "
1128
  "your database clean. You can use this tool to import the recorded counts "
1129
  "from v1.x tables to the new v2.x table format."
1130
  msgstr ""
1131
 
1132
- #: admin/main-view.php:842
1133
  msgid ""
1134
  "If you do not see any tables below, then it means that either all data has "
1135
  "already been imported or no relevant information has been found."
1136
  msgstr ""
1137
 
1138
- #: admin/main-view.php:845
1139
  msgid ""
1140
  "After running the importer, please verify that all the counts have been "
1141
  "successfully imported. Only then should you delete any old tables!"
1142
  msgstr ""
1143
 
1144
- #: admin/main-view.php:879
1145
  msgid "Blog ID"
1146
  msgstr ""
1147
 
1148
- #: admin/main-view.php:882
1149
  msgid "Status"
1150
  msgstr ""
1151
 
1152
- #: admin/main-view.php:885
1153
  msgid "Select to import"
1154
  msgstr ""
1155
 
1156
- #: admin/main-view.php:895
1157
  msgid "Blog #"
1158
  msgstr ""
1159
 
1160
- #: admin/main-view.php:905
1161
  msgid "Not imported"
1162
  msgstr ""
1163
 
1164
- #: admin/main-view.php:909
1165
  msgid "Imported"
1166
  msgstr ""
1167
 
1168
- #: admin/main-view.php:930
1169
  msgid "Begin import"
1170
  msgstr ""
1171
 
1172
- #: admin/main-view.php:931
1173
  msgid "Delete selected tables"
1174
  msgstr ""
1175
 
1176
- #: admin/main-view.php:932
1177
  msgid "Delete all imported tables"
1178
  msgstr ""
1179
 
@@ -1257,15 +1268,15 @@ msgstr "Options thumbnail des messages:"
1257
  msgid "Post types to include:"
1258
  msgstr ""
1259
 
1260
- #: includes/media.php:63
1261
  msgid "thumb_timthumb argument has been deprecated"
1262
  msgstr ""
1263
 
1264
- #: includes/media.php:67
1265
  msgid "thumb_timthumb_q argument has been deprecated"
1266
  msgstr ""
1267
 
1268
- #: includes/media.php:71
1269
  msgid "filter argument has been deprecated"
1270
  msgstr ""
1271
 
@@ -1273,43 +1284,43 @@ msgstr ""
1273
  msgid " by "
1274
  msgstr ""
1275
 
1276
- #: top-10.php:157
1277
  msgid ""
1278
  "posts_only argument has been deprecated. Use get_tptn_pop_posts() to get the "
1279
  "posts only."
1280
  msgstr ""
1281
 
1282
- #: top-10.php:264
1283
  #, php-format
1284
  msgid "Popular posts by <a href=\"%s\" rel=\"nofollow\" %s>Top 10 plugin</a>"
1285
  msgstr ""
1286
 
1287
- #: top-10.php:610
1288
  msgid "<h3>Popular Posts</h3>"
1289
  msgstr "<h3>Popularni Postovi</h3>"
1290
 
1291
- #: top-10.php:611
1292
  msgid "<h3>Daily Popular</h3>"
1293
  msgstr "<h3>Dnevni popularni</h3>"
1294
 
1295
- #: top-10.php:612
1296
  #, fuzzy
1297
  msgid "No top posts yet"
1298
  msgstr "Annuler le top 10 des enregistrements les plus populaires"
1299
 
1300
- #: top-10.php:1093
1301
  msgid "Once Weekly"
1302
  msgstr "Jednom nedeljno"
1303
 
1304
- #: top-10.php:1097
1305
  msgid "Once Fortnightly"
1306
  msgstr "Jednom u dve nedelje"
1307
 
1308
- #: top-10.php:1101
1309
  msgid "Once Monthly"
1310
  msgstr "Jednom mesečno"
1311
 
1312
- #: top-10.php:1105
1313
  msgid "Once quarterly"
1314
  msgstr ""
1315
 
2
  msgstr ""
3
  "Project-Id-Version: Top 10\n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2015-09-27 13:34+0100\n"
6
  "PO-Revision-Date: \n"
7
  "Last-Translator: Ajay D'Souza <me@ajaydsouza.com>\n"
8
  "Language-Team: Ajay D'Souza <me@ajaydsouza.com>\n"
44
  msgid "Popular posts by <a href=\"%s\" target=\"_blank\">Top 10 plugin</a>"
45
  msgstr ""
46
 
47
+ #: admin/admin-dashboard.php:109 admin/class-stats.php:438
48
  #: admin/deprecated.php:41
49
  msgid "Popular Posts"
50
  msgstr "Popularni postovi"
154
  msgid "Scheduled maintenance disabled"
155
  msgstr "Raspoed održavanja onemogućen"
156
 
157
+ #: admin/admin.php:299
158
  msgid "Counts from selected sites have been imported."
159
  msgstr ""
160
 
161
+ #: admin/admin.php:324
162
  msgid ""
163
  "Selected tables have been deleted. Note that only imported tables have been "
164
  "deleted."
165
  msgstr ""
166
 
167
+ #: admin/admin.php:341 admin/admin.php:361 admin/admin.php:385
168
  #: admin/main-view.php:55 admin/main-view.php:174 admin/main-view.php:279
169
+ #: admin/main-view.php:488 admin/main-view.php:651 admin/main-view.php:747
170
+ #: admin/main-view.php:811 admin/main-view.php:846
171
  msgid "Click to toggle"
172
  msgstr ""
173
 
174
+ #: admin/admin.php:342
175
  msgid "Support the development"
176
  msgstr "Podrška razvoju"
177
 
178
+ #: admin/admin.php:349
179
  msgid "Donation for Top 10"
180
  msgstr ""
181
 
182
+ #: admin/admin.php:351
183
  msgid "Enter amount in USD:"
184
  msgstr ""
185
 
186
+ #: admin/admin.php:355
187
  #, fuzzy
188
  msgid "Send your donation to the author of Top 10"
189
  msgstr "Pošalji vašu donaciju autoru"
190
 
191
+ #: admin/admin.php:362
192
  #, fuzzy
193
  msgid "Follow me"
194
  msgstr "Pratite nas"
195
 
196
+ #: admin/admin.php:386
197
  #, fuzzy
198
  msgid "Quick links"
199
  msgstr "Liens rapides"
200
 
201
+ #: admin/admin.php:390
202
  #, fuzzy
203
  msgid "Top 10 plugin page"
204
  msgstr "Page de plugin"
205
 
206
+ #: admin/admin.php:391
207
  msgid "Top 10 Github page"
208
  msgstr ""
209
 
210
+ #: admin/admin.php:392
211
  msgid "Other plugins"
212
  msgstr "Brzi linkovi"
213
 
214
+ #: admin/admin.php:393
215
  msgid "FAQ"
216
  msgstr ""
217
 
218
+ #: admin/admin.php:394 admin/admin.php:564
219
  msgid "Support"
220
  msgstr "Podrška"
221
 
222
+ #: admin/admin.php:395
223
  msgid "Reviews"
224
  msgstr ""
225
 
226
+ #: admin/admin.php:396
227
  msgid "Ajay's blog"
228
  msgstr "Ajayov blog"
229
 
230
+ #: admin/admin.php:413 admin/admin.php:416 admin/main-view.php:22
231
  #, fuzzy
232
  msgid "Top 10 Settings"
233
  msgstr "Paramètres"
234
 
235
+ #: admin/admin.php:413
236
  msgid "Top 10"
237
  msgstr "Top 10"
238
 
239
+ #: admin/admin.php:421
240
  msgid "View Popular Posts"
241
  msgstr ""
242
 
243
+ #: admin/admin.php:541
244
  msgid "Settings"
245
  msgstr "Postavke"
246
 
247
+ #: admin/admin.php:565
248
  msgid "Donate"
249
  msgstr "Donirajte"
250
 
251
+ #: admin/cache.php:19
252
  msgid "Top 10 cache has been cleared"
253
  msgstr ""
254
 
255
+ #: admin/class-stats.php:36
256
  msgid "popular_post"
257
  msgstr ""
258
 
259
+ #: admin/class-stats.php:37
260
  msgid "popular_posts"
261
  msgstr ""
262
 
263
+ #: admin/class-stats.php:160
264
  msgid "No popular posts available."
265
  msgstr ""
266
 
267
+ #: admin/class-stats.php:209
268
  msgid "View"
269
  msgstr ""
270
 
271
+ #: admin/class-stats.php:210
272
  msgid "Edit"
273
  msgstr ""
274
 
275
+ #: admin/class-stats.php:211
276
  msgid "Delete"
277
  msgstr ""
278
 
279
+ #: admin/class-stats.php:233
280
  msgid "Y/m/d g:i:s a"
281
  msgstr ""
282
 
283
+ #: admin/class-stats.php:240
284
  #, php-format
285
  msgid "%s ago"
286
  msgstr ""
287
 
288
+ #: admin/class-stats.php:242
289
  msgid "Y/m/d"
290
  msgstr ""
291
 
292
+ #: admin/class-stats.php:276 includes/class-top-10-widget.php:71
293
  msgid "Title"
294
  msgstr "Naslov"
295
 
296
+ #: admin/class-stats.php:277
297
  msgid "Total visits"
298
  msgstr ""
299
 
300
+ #: admin/class-stats.php:278
301
  msgid "Daily visits"
302
  msgstr ""
303
 
304
+ #: admin/class-stats.php:279
305
  msgid "Post type"
306
  msgstr ""
307
 
308
+ #: admin/class-stats.php:280
309
  msgid "Author"
310
  msgstr ""
311
 
312
+ #: admin/class-stats.php:281
313
  msgid "Date"
314
  msgstr ""
315
 
316
+ #: admin/class-stats.php:315
317
  msgid "Delete Count"
318
  msgstr ""
319
 
320
+ #: admin/class-stats.php:355
321
  msgid "Are you sure you want to do this"
322
  msgstr ""
323
 
333
  msgid "Popular post list options"
334
  msgstr ""
335
 
336
+ #: admin/main-view.php:37 admin/main-view.php:489
337
  #: includes/class-top-10-widget.php:115
338
  #, fuzzy
339
  msgid "Thumbnail options"
340
  msgstr "Options thumbnail des messages:"
341
 
342
+ #: admin/main-view.php:38 admin/main-view.php:652
343
  msgid "Styles"
344
  msgstr ""
345
 
346
+ #: admin/main-view.php:39 admin/main-view.php:748
347
  msgid "Maintenance"
348
  msgstr "Održavanje"
349
 
355
  msgid "Overall"
356
  msgstr "Sve ukupno"
357
 
358
+ #: admin/main-view.php:83 admin/main-view.php:767
359
  msgid "Daily"
360
  msgstr "Dnevno"
361
 
476
  "le répertoire des enregistrements populaires. Cela n'est pas obligatoire, "
477
  "mais nous vous y remercions!"
478
 
479
+ #: admin/main-view.php:156 admin/main-view.php:261 admin/main-view.php:470
480
+ #: admin/main-view.php:633 admin/main-view.php:727
481
  #, fuzzy
482
  msgid "Save Options"
483
  msgstr "Options:"
658
  msgid "List of post or page IDs to exclude from the results:"
659
  msgstr ""
660
 
661
+ #: admin/main-view.php:327 admin/main-view.php:438
662
  msgid "Enter comma separated list of IDs. e.g. 188,320,500"
663
  msgstr "Unesite zarezom odvojenu listu IDa npr.188,320,500"
664
 
675
  "Zarezima separatisana lista kategorije. Polje iznad je autokompletno tako da "
676
  "jednostavno samo počnite da kucate ključna slova i pokazaće vam se opcije"
677
 
678
+ #: admin/main-view.php:350
679
+ msgid "Excluded category IDs are:"
680
+ msgstr ""
681
+
682
+ #: admin/main-view.php:356
683
+ msgid ""
684
+ "These might differ from the IDs visible in the Categories page which use the "
685
+ "<code>term_id</code>. Top 10 uses the <code>term_taxonomy_id</code> which is "
686
+ "unique to this taxonomy."
687
+ msgstr ""
688
+
689
+ #: admin/main-view.php:362
690
  msgid "Title of popular posts:"
691
  msgstr ""
692
 
693
+ #: admin/main-view.php:368
694
  msgid "Title of daily popular posts:"
695
  msgstr ""
696
 
697
+ #: admin/main-view.php:374
698
  msgid "When there are no posts, what should be shown?"
699
  msgstr "Kada nema postova šta da prikažemo?"
700
 
701
+ #: admin/main-view.php:378
702
  msgid "Blank Output"
703
  msgstr "Prazan izlaz"
704
 
705
+ #: admin/main-view.php:382
706
  msgid "Display:"
707
  msgstr "Prikaz:"
708
 
709
+ #: admin/main-view.php:387
710
  msgid "Show post excerpt in list?"
711
  msgstr "Pokaži post izvoda na listi?"
712
 
713
+ #: admin/main-view.php:393
714
  msgid "Length of excerpt (in words):"
715
  msgstr ""
716
 
717
+ #: admin/main-view.php:399
718
  #, fuzzy
719
  msgid "Show post author in list?"
720
  msgstr "Afficher le fragment du message dans la liste?"
721
 
722
+ #: admin/main-view.php:405
723
  #, fuzzy
724
  msgid "Show post date in list?"
725
  msgstr "Afficher le fragment du message dans la liste?"
726
 
727
+ #: admin/main-view.php:411
728
  msgid "Limit post title length (in characters)"
729
  msgstr "Limit dužine postova naslova (u karakterima)"
730
 
731
+ #: admin/main-view.php:417
732
  #, fuzzy
733
  msgid "Show view count in list?"
734
  msgstr "Afficher le fragment du message dans la liste?"
735
 
736
+ #: admin/main-view.php:423
737
  msgid "Open links in new window"
738
  msgstr "Otvori linkove u novim prozorima"
739
 
740
+ #: admin/main-view.php:429
741
  msgid "Add nofollow attribute to links in the list"
742
  msgstr "Dodaj nofollow atribut linkovima u listi"
743
 
744
+ #: admin/main-view.php:435
745
  msgid "Exclude display of related posts on these posts / pages"
746
  msgstr "Isključi pregled vezanih postova na ovim postovima-stranicama"
747
 
748
+ #: admin/main-view.php:442
749
  #, fuzzy
750
  msgid "Customise the list HTML"
751
  msgstr "Sredite output:"
752
 
753
+ #: admin/main-view.php:445
754
  msgid "HTML to display before the list of posts:"
755
  msgstr ""
756
 
757
+ #: admin/main-view.php:451
758
  msgid "HTML to display before each list item:"
759
  msgstr ""
760
 
761
+ #: admin/main-view.php:457
762
  msgid "HTML to display after each list item:"
763
  msgstr ""
764
 
765
+ #: admin/main-view.php:463
766
  msgid "HTML to display after the list of posts:"
767
  msgstr ""
768
 
769
+ #: admin/main-view.php:504
770
  msgid "Location of post thumbnail:"
771
  msgstr "Lokacija posta thumbnaila:"
772
 
773
+ #: admin/main-view.php:508
774
  msgid "Display thumbnails inline with posts, before title"
775
  msgstr "Prikaži thumbnails inline sa postovima pre naslova"
776
 
777
+ #: admin/main-view.php:513
778
  msgid "Display thumbnails inline with posts, after title"
779
  msgstr "Prikaži thumbnails inline sa postovima posle naslova"
780
 
781
+ #: admin/main-view.php:518
782
  msgid "Display only thumbnails, no text"
783
  msgstr "Prikaži samo thumbnails, bez teksta"
784
 
785
+ #: admin/main-view.php:523
786
  msgid "Do not display thumbnails, only text."
787
  msgstr "Ne prikazujte thumbnails, samo tekst"
788
 
789
+ #: admin/main-view.php:527
790
  msgid ""
791
  "This setting cannot be changed because an inbuilt style has been selected "
792
  "under the Styles section. If you would like to change this option, please "
793
  "select No styles under the Styles section."
794
  msgstr ""
795
 
796
+ #: admin/main-view.php:531
797
  msgid "Thumbnail size:"
798
  msgstr ""
799
 
800
+ #: admin/main-view.php:555
801
  msgid "Custom size"
802
  msgstr ""
803
 
804
+ #: admin/main-view.php:558
805
  msgid ""
806
  "You can choose from existing image sizes above or create a custom size. If "
807
  "you have chosen Custom size above, then enter the width, height and crop "
808
  "settings below. For best results, use a cropped image."
809
  msgstr ""
810
 
811
+ #: admin/main-view.php:559
812
  msgid ""
813
  "If you change the width and/or height below, existing images will not be "
814
  "automatically resized."
815
  msgstr ""
816
 
817
+ #: admin/main-view.php:560
818
  #, php-format
819
  msgid ""
820
  "I recommend using <a href='%s' class='thickbox'>OTF Regenerate Thumbnails</"
822
  "all image sizes."
823
  msgstr ""
824
 
825
+ #: admin/main-view.php:563
826
  msgid ""
827
  "If you're using the Left Thumbs style below then the thumbnail width and "
828
  "height that you set here will supersede the widget. Alternatively, choose "
830
  "strong> option below"
831
  msgstr ""
832
 
833
+ #: admin/main-view.php:566
834
  msgid "Width of custom thumbnail:"
835
  msgstr ""
836
 
837
+ #: admin/main-view.php:571
838
  msgid "Height of custom thumbnail"
839
  msgstr ""
840
 
841
+ #: admin/main-view.php:576
842
  msgid "Crop mode:"
843
  msgstr ""
844
 
845
+ #: admin/main-view.php:580
846
  msgid ""
847
  "By default, thumbnails will be proportionately cropped. Check this box to "
848
  "hard crop the thumbnails."
849
  msgstr ""
850
 
851
+ #: admin/main-view.php:581
852
  #, php-format
853
  msgid "<a href='%s' target='_blank'>Difference between soft and hard crop</a>"
854
  msgstr ""
855
 
856
+ #: admin/main-view.php:585
857
  msgid "Image size attributes:"
858
  msgstr ""
859
 
860
+ #: admin/main-view.php:589
861
  #, fuzzy
862
  msgid "Style attributes are used for width and height."
863
  msgstr ""
864
  "Stilovi atributa su korišćeni za čirinu i visinu. <code>style=\"max-width:"
865
 
866
+ #: admin/main-view.php:595
867
  #, fuzzy
868
  msgid "HTML width and height attributes are used for width and height."
869
  msgstr ""
870
  "HTML širina i visina atributa se koristi za širinu i visinu.<code>width=\""
871
 
872
+ #: admin/main-view.php:601
873
  msgid "No HTML or Style attributes set for width and height"
874
  msgstr ""
875
 
876
+ #: admin/main-view.php:606
877
  msgid "Post thumbnail meta field name:"
878
  msgstr ""
879
 
880
+ #: admin/main-view.php:609
881
  msgid ""
882
  "The value of this field should contain the image source and is set in the "
883
  "<em>Add New Post</em> screen"
885
  "Vrednost ovog polja bi trebala da sadrži source slike i njne postavke u "
886
  "<em>Add New Post</em> ekranu"
887
 
888
+ #: admin/main-view.php:612
889
  #, fuzzy
890
  msgid ""
891
  "If the postmeta is not set, then should the plugin extract the first image "
896
  "première image de la résolution correspondante du fichier est de taille "
897
  "supérieure"
898
 
899
+ #: admin/main-view.php:615
900
  #, fuzzy
901
  msgid ""
902
  "This could slow down the loading of your page if the first image in the "
907
  "première image de la résolution correspondante du fichier est de taille "
908
  "supérieure"
909
 
910
+ #: admin/main-view.php:618
911
  msgid "Use default thumbnail?"
912
  msgstr ""
913
 
914
+ #: admin/main-view.php:621
915
  msgid ""
916
  "If checked, when no thumbnail is found, show a default one from the URL "
917
  "below. If not checked and no thumbnail is found, no image will be shown."
919
  "Ako je čekirano, kada nijedna thumnail nije pronadjena prikaži default iz "
920
  "URLa ispod. Ako nije čekirano i nema thumbnaila, slika neće biti prikazana."
921
 
922
+ #: admin/main-view.php:624
923
  msgid "Default thumbnail:"
924
  msgstr ""
925
 
926
+ #: admin/main-view.php:628
927
  msgid ""
928
  "The plugin will first check if the post contains a thumbnail. If it doesn't "
929
  "then it will check the meta field. If this is not available, then it will "
933
  "proveriti meta polje. Ako to nije dopstupno, onda će vam pokazati default "
934
  "sliku kao što je odredjeno iznad"
935
 
936
+ #: admin/main-view.php:667
937
  msgid "Style of the related posts:"
938
  msgstr ""
939
 
940
+ #: admin/main-view.php:670
941
  msgid "No styles"
942
  msgstr ""
943
 
944
+ #: admin/main-view.php:672
945
  msgid "Select this option if you plan to add your own styles"
946
  msgstr ""
947
 
948
+ #: admin/main-view.php:677
949
  msgid "Left Thumbnails"
950
  msgstr ""
951
 
952
+ #: admin/main-view.php:680
953
  msgid ""
954
  "Enabling this option will set the post thumbnail to be before text. "
955
  "Disabling this option will not revert any settings."
956
  msgstr ""
957
 
958
+ #: admin/main-view.php:681
959
  #, php-format
960
  msgid ""
961
  "You can view the default style at <a href=\"%1$s\" target=\"_blank\">%1$s</a>"
962
  msgstr ""
963
 
964
+ #: admin/main-view.php:685
965
  msgid "Text only"
966
  msgstr ""
967
 
968
+ #: admin/main-view.php:687
969
  msgid ""
970
  "Enabling this option will disable thumbnails and no longer include the "
971
  "default style sheet included in the plugin."
972
  msgstr ""
973
 
974
+ #: admin/main-view.php:703
975
  msgid "Custom CSS to add to header:"
976
  msgstr "Custom CSS je dodat header-u"
977
 
978
+ #: admin/main-view.php:708
979
  msgid ""
980
  "Do not include <code>style</code> tags. Check out the <a href=\"http://"
981
  "wordpress.org/extend/plugins/top-10/faq/\" target=\"_blank\">FAQ</a> for "
985
  "wordpress.org/extend/plugins/top-10/faq/\" target=\"_blank\">FAQ</a> za "
986
  "dostupne CSS klase za stilizovanje."
987
 
988
+ #: admin/main-view.php:728
989
  #, fuzzy
990
  msgid "Default Options"
991
  msgstr "Paramètres de sortie"
992
 
993
+ #: admin/main-view.php:728
994
  msgid "Do you want to set options to Default?"
995
  msgstr "Da li želite da postavite opcije na Default?"
996
 
997
+ #: admin/main-view.php:752
998
  #, fuzzy
999
  msgid ""
1000
  "Over time the Daily Top 10 database grows in size, which reduces the "
1006
  "plugina. Čišćenje baze podataka u regularnim intervalima može poboljšati "
1007
  "performanse naročito na blogovima sa velikim saobraćajem."
1008
 
1009
+ #: admin/main-view.php:753
1010
  #, fuzzy
1011
  msgid ""
1012
  "Note: When scheduled maintenance is enabled, WordPress will run the cron job "
1016
  "kroniranje svaki put kada se poslu promeni raspored (npr. ako promenite "
1017
  "postavke ispod) Ovo prouzrokuje dnevne postove tabele za resetovanje."
1018
 
1019
+ #: admin/main-view.php:756
1020
  msgid "Enable scheduled maintenance of daily tables:"
1021
  msgstr "Omogući raspored održavanja u dnevnim tabelama"
1022
 
1023
+ #: admin/main-view.php:760
1024
  msgid "Time to run maintenance"
1025
  msgstr "Pokrenuti održavanje"
1026
 
1027
+ #: admin/main-view.php:761
1028
  msgid "hrs"
1029
  msgstr ""
1030
 
1031
+ #: admin/main-view.php:761
1032
  msgid "min"
1033
  msgstr ""
1034
 
1035
+ #: admin/main-view.php:763
1036
  msgid "How often should the maintenance be run:"
1037
  msgstr "Održavanje ne treba često da se pokreće"
1038
 
1039
+ #: admin/main-view.php:771
1040
  msgid "Weekly"
1041
  msgstr "Nedeljno"
1042
 
1043
+ #: admin/main-view.php:775
1044
  msgid "Fortnightly"
1045
  msgstr "Na dve nedelje"
1046
 
1047
+ #: admin/main-view.php:779
1048
  msgid "Monthly"
1049
  msgstr "Mesečno"
1050
 
1051
+ #: admin/main-view.php:788
1052
  msgid "The cron job has been scheduled. Maintenance will run"
1053
  msgstr ""
1054
 
1055
+ #: admin/main-view.php:793
1056
  msgid "The cron job is missing. Please resave this page to add the job"
1057
  msgstr ""
1058
  "Nedostaje kroniranje. Molim vas ponovo sašuvajte ovu stranicu da biste "
1059
  "dodali posao"
1060
 
1061
+ #: admin/main-view.php:798
1062
  msgid "Maintenance is turned off"
1063
  msgstr "Održavanje je ugašeno"
1064
 
1065
+ #: admin/main-view.php:804
1066
  msgid "Save Maintenance Options"
1067
  msgstr ""
1068
 
1069
+ #: admin/main-view.php:812
1070
  msgid "Reset count and other tools"
1071
  msgstr ""
1072
 
1073
+ #: admin/main-view.php:815
1074
  msgid ""
1075
  "This cannot be reversed. Make sure that your database has been backed up "
1076
  "before proceeding"
1078
  "Ovo ne možete da proništite. Proverite da li vam je baza podataka sačuvana u "
1079
  "back up-u pre nego što nastavite"
1080
 
1081
+ #: admin/main-view.php:818
1082
  #, fuzzy
1083
  msgid "Reset Popular Posts"
1084
  msgstr "Postes populaires"
1085
 
1086
+ #: admin/main-view.php:818
1087
  msgid "Are you sure you want to reset the popular posts?"
1088
  msgstr "Da li ste sigurni da želite da resetujete popularne postove?"
1089
 
1090
+ #: admin/main-view.php:819
1091
  #, fuzzy
1092
  msgid "Reset Daily Popular Posts"
1093
  msgstr "Postes populaires journaliers"
1094
 
1095
+ #: admin/main-view.php:819
1096
  msgid "Are you sure you want to reset the daily popular posts?"
1097
  msgstr "Da li ste sigurni da želite da resetujete dnevne popularne postove?"
1098
 
1099
+ #: admin/main-view.php:822
1100
  msgid "This will merge post counts for posts with table entries of 0 and 1"
1101
  msgstr ""
1102
 
1103
+ #: admin/main-view.php:825
1104
  msgid "Merge blog ID 0 and 1 post counts"
1105
  msgstr ""
1106
 
1107
+ #: admin/main-view.php:825
1108
  msgid "This will merge post counts for blog IDs 0 and 1. Proceed?"
1109
  msgstr ""
1110
 
1111
+ #: admin/main-view.php:828
1112
  msgid ""
1113
  "In older versions, the plugin created entries with duplicate post IDs. "
1114
  "Clicking the button below will merge these duplicate IDs"
1115
  msgstr ""
1116
 
1117
+ #: admin/main-view.php:831
1118
  msgid "Merge duplicates across blog IDs"
1119
  msgstr ""
1120
 
1121
+ #: admin/main-view.php:831
1122
  msgid "This will delete the duplicate entries in the tables. Proceed?"
1123
  msgstr "Ovo će obrisati duple unose u tabelama. Nastaviti?"
1124
 
1125
+ #: admin/main-view.php:847
1126
  msgid "WordPress Multisite: Migrate Top 10 v1.x counts to 2.x"
1127
  msgstr ""
1128
 
1129
+ #: admin/main-view.php:850
1130
  msgid ""
1131
  "If you've been using Top 10 v1.x on multisite, you would have needed to "
1132
  "activate the plugin independently for each site. This would have resulted in "
1133
  "two tables being created for each site in the network."
1134
  msgstr ""
1135
 
1136
+ #: admin/main-view.php:851
1137
  msgid ""
1138
  "Top 10 v2.x onwards uses only a single table to record the count, keeping "
1139
  "your database clean. You can use this tool to import the recorded counts "
1140
  "from v1.x tables to the new v2.x table format."
1141
  msgstr ""
1142
 
1143
+ #: admin/main-view.php:854
1144
  msgid ""
1145
  "If you do not see any tables below, then it means that either all data has "
1146
  "already been imported or no relevant information has been found."
1147
  msgstr ""
1148
 
1149
+ #: admin/main-view.php:857
1150
  msgid ""
1151
  "After running the importer, please verify that all the counts have been "
1152
  "successfully imported. Only then should you delete any old tables!"
1153
  msgstr ""
1154
 
1155
+ #: admin/main-view.php:891
1156
  msgid "Blog ID"
1157
  msgstr ""
1158
 
1159
+ #: admin/main-view.php:894
1160
  msgid "Status"
1161
  msgstr ""
1162
 
1163
+ #: admin/main-view.php:897
1164
  msgid "Select to import"
1165
  msgstr ""
1166
 
1167
+ #: admin/main-view.php:907
1168
  msgid "Blog #"
1169
  msgstr ""
1170
 
1171
+ #: admin/main-view.php:917
1172
  msgid "Not imported"
1173
  msgstr ""
1174
 
1175
+ #: admin/main-view.php:921
1176
  msgid "Imported"
1177
  msgstr ""
1178
 
1179
+ #: admin/main-view.php:942
1180
  msgid "Begin import"
1181
  msgstr ""
1182
 
1183
+ #: admin/main-view.php:943
1184
  msgid "Delete selected tables"
1185
  msgstr ""
1186
 
1187
+ #: admin/main-view.php:944
1188
  msgid "Delete all imported tables"
1189
  msgstr ""
1190
 
1268
  msgid "Post types to include:"
1269
  msgstr ""
1270
 
1271
+ #: includes/media.php:62
1272
  msgid "thumb_timthumb argument has been deprecated"
1273
  msgstr ""
1274
 
1275
+ #: includes/media.php:66
1276
  msgid "thumb_timthumb_q argument has been deprecated"
1277
  msgstr ""
1278
 
1279
+ #: includes/media.php:70
1280
  msgid "filter argument has been deprecated"
1281
  msgstr ""
1282
 
1284
  msgid " by "
1285
  msgstr ""
1286
 
1287
+ #: top-10.php:163
1288
  msgid ""
1289
  "posts_only argument has been deprecated. Use get_tptn_pop_posts() to get the "
1290
  "posts only."
1291
  msgstr ""
1292
 
1293
+ #: top-10.php:300
1294
  #, php-format
1295
  msgid "Popular posts by <a href=\"%s\" rel=\"nofollow\" %s>Top 10 plugin</a>"
1296
  msgstr ""
1297
 
1298
+ #: top-10.php:641
1299
  msgid "<h3>Popular Posts</h3>"
1300
  msgstr "<h3>Popularni Postovi</h3>"
1301
 
1302
+ #: top-10.php:642
1303
  msgid "<h3>Daily Popular</h3>"
1304
  msgstr "<h3>Dnevni popularni</h3>"
1305
 
1306
+ #: top-10.php:643
1307
  #, fuzzy
1308
  msgid "No top posts yet"
1309
  msgstr "Annuler le top 10 des enregistrements les plus populaires"
1310
 
1311
+ #: top-10.php:1124
1312
  msgid "Once Weekly"
1313
  msgstr "Jednom nedeljno"
1314
 
1315
+ #: top-10.php:1128
1316
  msgid "Once Fortnightly"
1317
  msgstr "Jednom u dve nedelje"
1318
 
1319
+ #: top-10.php:1132
1320
  msgid "Once Monthly"
1321
  msgstr "Jednom mesečno"
1322
 
1323
+ #: top-10.php:1136
1324
  msgid "Once quarterly"
1325
  msgstr ""
1326
 
languages/{tptn-ua_UA.mo → top-10-ua_UA.mo} RENAMED
Binary file
languages/{tptn-ua_UA.po → top-10-ua_UA.po} RENAMED
@@ -2,7 +2,7 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Top 10\n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2015-09-13 22:07+0100\n"
6
  "PO-Revision-Date: \n"
7
  "Last-Translator: Ajay D'Souza <me@ajaydsouza.com>\n"
8
  "Language-Team: Alyona Lompar <alyona.lompar@aol.com>\n"
@@ -44,7 +44,7 @@ msgstr ""
44
  msgid "Popular posts by <a href=\"%s\" target=\"_blank\">Top 10 plugin</a>"
45
  msgstr ""
46
 
47
- #: admin/admin-dashboard.php:109 admin/class-stats.php:440
48
  #: admin/deprecated.php:41
49
  msgid "Popular Posts"
50
  msgstr "Популярні записи"
@@ -153,169 +153,169 @@ msgstr ""
153
  msgid "Scheduled maintenance disabled"
154
  msgstr ""
155
 
156
- #: admin/admin.php:300
157
  msgid "Counts from selected sites have been imported."
158
  msgstr ""
159
 
160
- #: admin/admin.php:325
161
  msgid ""
162
  "Selected tables have been deleted. Note that only imported tables have been "
163
  "deleted."
164
  msgstr ""
165
 
166
- #: admin/admin.php:342 admin/admin.php:362 admin/admin.php:372
167
  #: admin/main-view.php:55 admin/main-view.php:174 admin/main-view.php:279
168
- #: admin/main-view.php:477 admin/main-view.php:638 admin/main-view.php:734
169
- #: admin/main-view.php:798 admin/main-view.php:834
170
  msgid "Click to toggle"
171
  msgstr ""
172
 
173
- #: admin/admin.php:343
174
  msgid "Support the development"
175
  msgstr "Підтримати автора плагіна"
176
 
177
- #: admin/admin.php:350
178
  msgid "Donation for Top 10"
179
  msgstr ""
180
 
181
- #: admin/admin.php:352
182
  msgid "Enter amount in USD:"
183
  msgstr ""
184
 
185
- #: admin/admin.php:356
186
  #, fuzzy
187
  msgid "Send your donation to the author of Top 10"
188
  msgstr "Відправте пожертву автору"
189
 
190
- #: admin/admin.php:363
191
  msgid "Follow me"
192
  msgstr ""
193
 
194
- #: admin/admin.php:373
195
  #, fuzzy
196
  msgid "Quick links"
197
  msgstr "Корисні посилання"
198
 
199
- #: admin/admin.php:377
200
  #, fuzzy
201
  msgid "Top 10 plugin page"
202
  msgstr "Сторінка плагіна"
203
 
204
- #: admin/admin.php:378
205
  msgid "Top 10 Github page"
206
  msgstr ""
207
 
208
- #: admin/admin.php:379
209
  msgid "Other plugins"
210
  msgstr "Інші плагіни автора"
211
 
212
- #: admin/admin.php:380
213
  msgid "FAQ"
214
  msgstr ""
215
 
216
- #: admin/admin.php:381 admin/admin.php:551
217
  msgid "Support"
218
  msgstr "Підтримка (англ.)"
219
 
220
- #: admin/admin.php:382
221
  msgid "Reviews"
222
  msgstr ""
223
 
224
- #: admin/admin.php:383
225
  msgid "Ajay's blog"
226
  msgstr "Блог Ajay"
227
 
228
- #: admin/admin.php:400 admin/admin.php:403 admin/main-view.php:22
229
  #, fuzzy
230
  msgid "Top 10 Settings"
231
  msgstr "Налаштування плагіна"
232
 
233
- #: admin/admin.php:400
234
  msgid "Top 10"
235
  msgstr "Топ 10 записів"
236
 
237
- #: admin/admin.php:408
238
  msgid "View Popular Posts"
239
  msgstr ""
240
 
241
- #: admin/admin.php:528
242
  msgid "Settings"
243
  msgstr "Налаштування плагіна"
244
 
245
- #: admin/admin.php:552
246
  msgid "Donate"
247
  msgstr "Зробити внесок"
248
 
249
- #: admin/cache.php:20
250
  msgid "Top 10 cache has been cleared"
251
  msgstr ""
252
 
253
- #: admin/class-stats.php:37
254
  msgid "popular_post"
255
  msgstr ""
256
 
257
- #: admin/class-stats.php:38
258
  msgid "popular_posts"
259
  msgstr ""
260
 
261
- #: admin/class-stats.php:162
262
  msgid "No popular posts available."
263
  msgstr ""
264
 
265
- #: admin/class-stats.php:211
266
  msgid "View"
267
  msgstr ""
268
 
269
- #: admin/class-stats.php:212
270
  msgid "Edit"
271
  msgstr ""
272
 
273
- #: admin/class-stats.php:213
274
  msgid "Delete"
275
  msgstr ""
276
 
277
- #: admin/class-stats.php:235
278
  msgid "Y/m/d g:i:s a"
279
  msgstr ""
280
 
281
- #: admin/class-stats.php:242
282
  #, php-format
283
  msgid "%s ago"
284
  msgstr ""
285
 
286
- #: admin/class-stats.php:244
287
  msgid "Y/m/d"
288
  msgstr ""
289
 
290
- #: admin/class-stats.php:278 includes/class-top-10-widget.php:71
291
  msgid "Title"
292
  msgstr ""
293
 
294
- #: admin/class-stats.php:279
295
  msgid "Total visits"
296
  msgstr ""
297
 
298
- #: admin/class-stats.php:280
299
  msgid "Daily visits"
300
  msgstr ""
301
 
302
- #: admin/class-stats.php:281
303
  msgid "Post type"
304
  msgstr ""
305
 
306
- #: admin/class-stats.php:282
307
  msgid "Author"
308
  msgstr ""
309
 
310
- #: admin/class-stats.php:283
311
  msgid "Date"
312
  msgstr ""
313
 
314
- #: admin/class-stats.php:317
315
  msgid "Delete Count"
316
  msgstr ""
317
 
318
- #: admin/class-stats.php:357
319
  msgid "Are you sure you want to do this"
320
  msgstr ""
321
 
@@ -331,17 +331,17 @@ msgstr ""
331
  msgid "Popular post list options"
332
  msgstr ""
333
 
334
- #: admin/main-view.php:37 admin/main-view.php:478
335
  #: includes/class-top-10-widget.php:115
336
  #, fuzzy
337
  msgid "Thumbnail options"
338
  msgstr "Установки превью до записів:"
339
 
340
- #: admin/main-view.php:38 admin/main-view.php:639
341
  msgid "Styles"
342
  msgstr ""
343
 
344
- #: admin/main-view.php:39 admin/main-view.php:735
345
  msgid "Maintenance"
346
  msgstr ""
347
 
@@ -353,7 +353,7 @@ msgstr ""
353
  msgid "Overall"
354
  msgstr ""
355
 
356
- #: admin/main-view.php:83 admin/main-view.php:754
357
  msgid "Daily"
358
  msgstr ""
359
 
@@ -473,8 +473,8 @@ msgstr ""
473
  "Залишити посилання на плагін під списками Популярних записів? Автор плагіна "
474
  "був би дуже вдячний Вам, якщо Ви її все ж залишите!"
475
 
476
- #: admin/main-view.php:156 admin/main-view.php:261 admin/main-view.php:459
477
- #: admin/main-view.php:620 admin/main-view.php:714
478
  #, fuzzy
479
  msgid "Save Options"
480
  msgstr "Установки плагіна:"
@@ -644,7 +644,7 @@ msgstr ""
644
  msgid "List of post or page IDs to exclude from the results:"
645
  msgstr ""
646
 
647
- #: admin/main-view.php:327 admin/main-view.php:427
648
  msgid "Enter comma separated list of IDs. e.g. 188,320,500"
649
  msgstr ""
650
 
@@ -659,137 +659,148 @@ msgid ""
659
  "options"
660
  msgstr ""
661
 
662
- #: admin/main-view.php:351
 
 
 
 
 
 
 
 
 
 
 
663
  msgid "Title of popular posts:"
664
  msgstr ""
665
 
666
- #: admin/main-view.php:357
667
  msgid "Title of daily popular posts:"
668
  msgstr ""
669
 
670
- #: admin/main-view.php:363
671
  msgid "When there are no posts, what should be shown?"
672
  msgstr ""
673
 
674
- #: admin/main-view.php:367
675
  msgid "Blank Output"
676
  msgstr ""
677
 
678
- #: admin/main-view.php:371
679
  msgid "Display:"
680
  msgstr ""
681
 
682
- #: admin/main-view.php:376
683
  msgid "Show post excerpt in list?"
684
  msgstr "Показувати текст запису в списку?"
685
 
686
- #: admin/main-view.php:382
687
  msgid "Length of excerpt (in words):"
688
  msgstr ""
689
 
690
- #: admin/main-view.php:388
691
  #, fuzzy
692
  msgid "Show post author in list?"
693
  msgstr "Показувати текст запису в списку?"
694
 
695
- #: admin/main-view.php:394
696
  #, fuzzy
697
  msgid "Show post date in list?"
698
  msgstr "Показувати текст запису в списку?"
699
 
700
- #: admin/main-view.php:400
701
  msgid "Limit post title length (in characters)"
702
  msgstr ""
703
 
704
- #: admin/main-view.php:406
705
  #, fuzzy
706
  msgid "Show view count in list?"
707
  msgstr "Показувати текст запису в списку?"
708
 
709
- #: admin/main-view.php:412
710
  msgid "Open links in new window"
711
  msgstr ""
712
 
713
- #: admin/main-view.php:418
714
  msgid "Add nofollow attribute to links in the list"
715
  msgstr ""
716
 
717
- #: admin/main-view.php:424
718
  msgid "Exclude display of related posts on these posts / pages"
719
  msgstr ""
720
 
721
- #: admin/main-view.php:431
722
  #, fuzzy
723
  msgid "Customise the list HTML"
724
  msgstr "Установки оформлення списку:"
725
 
726
- #: admin/main-view.php:434
727
  msgid "HTML to display before the list of posts:"
728
  msgstr ""
729
 
730
- #: admin/main-view.php:440
731
  msgid "HTML to display before each list item:"
732
  msgstr ""
733
 
734
- #: admin/main-view.php:446
735
  msgid "HTML to display after each list item:"
736
  msgstr ""
737
 
738
- #: admin/main-view.php:452
739
  msgid "HTML to display after the list of posts:"
740
  msgstr ""
741
 
742
- #: admin/main-view.php:493
743
  msgid "Location of post thumbnail:"
744
  msgstr ""
745
 
746
- #: admin/main-view.php:497
747
  #, fuzzy
748
  msgid "Display thumbnails inline with posts, before title"
749
  msgstr "Відображати і превью, і текст"
750
 
751
- #: admin/main-view.php:502
752
  #, fuzzy
753
  msgid "Display thumbnails inline with posts, after title"
754
  msgstr "Відображати і превью, і текст"
755
 
756
- #: admin/main-view.php:507
757
  msgid "Display only thumbnails, no text"
758
  msgstr "Показувати тільки превью, без тексту"
759
 
760
- #: admin/main-view.php:512
761
  msgid "Do not display thumbnails, only text."
762
  msgstr "Показувати лише текст, без превью"
763
 
764
- #: admin/main-view.php:516
765
  msgid ""
766
  "This setting cannot be changed because an inbuilt style has been selected "
767
  "under the Styles section. If you would like to change this option, please "
768
  "select No styles under the Styles section."
769
  msgstr ""
770
 
771
- #: admin/main-view.php:520
772
  msgid "Thumbnail size:"
773
  msgstr ""
774
 
775
- #: admin/main-view.php:544
776
  msgid "Custom size"
777
  msgstr ""
778
 
779
- #: admin/main-view.php:547
780
  msgid ""
781
  "You can choose from existing image sizes above or create a custom size. If "
782
  "you have chosen Custom size above, then enter the width, height and crop "
783
  "settings below. For best results, use a cropped image."
784
  msgstr ""
785
 
786
- #: admin/main-view.php:548
787
  msgid ""
788
  "If you change the width and/or height below, existing images will not be "
789
  "automatically resized."
790
  msgstr ""
791
 
792
- #: admin/main-view.php:549
793
  #, php-format
794
  msgid ""
795
  "I recommend using <a href='%s' class='thickbox'>OTF Regenerate Thumbnails</"
@@ -797,7 +808,7 @@ msgid ""
797
  "all image sizes."
798
  msgstr ""
799
 
800
- #: admin/main-view.php:552
801
  msgid ""
802
  "If you're using the Left Thumbs style below then the thumbnail width and "
803
  "height that you set here will supersede the widget. Alternatively, choose "
@@ -805,56 +816,56 @@ msgid ""
805
  "strong> option below"
806
  msgstr ""
807
 
808
- #: admin/main-view.php:555
809
  msgid "Width of custom thumbnail:"
810
  msgstr ""
811
 
812
- #: admin/main-view.php:560
813
  msgid "Height of custom thumbnail"
814
  msgstr ""
815
 
816
- #: admin/main-view.php:565
817
  msgid "Crop mode:"
818
  msgstr ""
819
 
820
- #: admin/main-view.php:569
821
  msgid ""
822
  "By default, thumbnails will be proportionately cropped. Check this box to "
823
  "hard crop the thumbnails."
824
  msgstr ""
825
 
826
- #: admin/main-view.php:570
827
  #, php-format
828
  msgid "<a href='%s' target='_blank'>Difference between soft and hard crop</a>"
829
  msgstr ""
830
 
831
- #: admin/main-view.php:574
832
  msgid "Image size attributes:"
833
  msgstr ""
834
 
835
- #: admin/main-view.php:578
836
  msgid "Style attributes are used for width and height."
837
  msgstr ""
838
 
839
- #: admin/main-view.php:583
840
  msgid "HTML width and height attributes are used for width and height."
841
  msgstr ""
842
 
843
- #: admin/main-view.php:588
844
  msgid "No HTML or Style attributes set for width and height"
845
  msgstr ""
846
 
847
- #: admin/main-view.php:593
848
  msgid "Post thumbnail meta field name:"
849
  msgstr ""
850
 
851
- #: admin/main-view.php:596
852
  msgid ""
853
  "The value of this field should contain the image source and is set in the "
854
  "<em>Add New Post</em> screen"
855
  msgstr ""
856
 
857
- #: admin/main-view.php:599
858
  #, fuzzy
859
  msgid ""
860
  "If the postmeta is not set, then should the plugin extract the first image "
@@ -864,7 +875,7 @@ msgstr ""
864
  "зображення із запису. Це може злегка збільшити завантаження в перший раз, "
865
  "так як буде створюватися зменшена копія зображення"
866
 
867
- #: admin/main-view.php:602
868
  #, fuzzy
869
  msgid ""
870
  "This could slow down the loading of your page if the first image in the "
@@ -874,21 +885,21 @@ msgstr ""
874
  "зображення із запису. Це може злегка збільшити завантаження в перший раз, "
875
  "так як буде створюватися зменшена копія зображення"
876
 
877
- #: admin/main-view.php:605
878
  msgid "Use default thumbnail?"
879
  msgstr ""
880
 
881
- #: admin/main-view.php:608
882
  msgid ""
883
  "If checked, when no thumbnail is found, show a default one from the URL "
884
  "below. If not checked and no thumbnail is found, no image will be shown."
885
  msgstr ""
886
 
887
- #: admin/main-view.php:611
888
  msgid "Default thumbnail:"
889
  msgstr ""
890
 
891
- #: admin/main-view.php:615
892
  #, fuzzy
893
  msgid ""
894
  "The plugin will first check if the post contains a thumbnail. If it doesn't "
@@ -899,65 +910,65 @@ msgstr ""
899
  "заданому раніше мета-полю). Якщо ж превью нема - буде виводитися картинка за "
900
  "замовчунням:"
901
 
902
- #: admin/main-view.php:654
903
  msgid "Style of the related posts:"
904
  msgstr ""
905
 
906
- #: admin/main-view.php:657
907
  msgid "No styles"
908
  msgstr ""
909
 
910
- #: admin/main-view.php:659
911
  msgid "Select this option if you plan to add your own styles"
912
  msgstr ""
913
 
914
- #: admin/main-view.php:664
915
  msgid "Left Thumbnails"
916
  msgstr ""
917
 
918
- #: admin/main-view.php:667
919
  msgid ""
920
  "Enabling this option will set the post thumbnail to be before text. "
921
  "Disabling this option will not revert any settings."
922
  msgstr ""
923
 
924
- #: admin/main-view.php:668
925
  #, php-format
926
  msgid ""
927
  "You can view the default style at <a href=\"%1$s\" target=\"_blank\">%1$s</a>"
928
  msgstr ""
929
 
930
- #: admin/main-view.php:672
931
  msgid "Text only"
932
  msgstr ""
933
 
934
- #: admin/main-view.php:674
935
  msgid ""
936
  "Enabling this option will disable thumbnails and no longer include the "
937
  "default style sheet included in the plugin."
938
  msgstr ""
939
 
940
- #: admin/main-view.php:690
941
  msgid "Custom CSS to add to header:"
942
  msgstr ""
943
 
944
- #: admin/main-view.php:695
945
  msgid ""
946
  "Do not include <code>style</code> tags. Check out the <a href=\"http://"
947
  "wordpress.org/extend/plugins/top-10/faq/\" target=\"_blank\">FAQ</a> for "
948
  "available CSS classes to style."
949
  msgstr ""
950
 
951
- #: admin/main-view.php:715
952
  #, fuzzy
953
  msgid "Default Options"
954
  msgstr "Установки плагіна:"
955
 
956
- #: admin/main-view.php:715
957
  msgid "Do you want to set options to Default?"
958
  msgstr "Скинути налаштування плагіна?"
959
 
960
- #: admin/main-view.php:739
961
  msgid ""
962
  "Over time the Daily Top 10 database grows in size, which reduces the "
963
  "performance of the plugin. Cleaning the database at regular intervals could "
@@ -965,65 +976,65 @@ msgid ""
965
  "will automatically delete entries older than 90 days."
966
  msgstr ""
967
 
968
- #: admin/main-view.php:740
969
  msgid ""
970
  "Note: When scheduled maintenance is enabled, WordPress will run the cron job "
971
  "everytime the job is rescheduled (i.e. you change the settings below)."
972
  msgstr ""
973
 
974
- #: admin/main-view.php:743
975
  msgid "Enable scheduled maintenance of daily tables:"
976
  msgstr ""
977
 
978
- #: admin/main-view.php:747
979
  msgid "Time to run maintenance"
980
  msgstr ""
981
 
982
- #: admin/main-view.php:748
983
  msgid "hrs"
984
  msgstr ""
985
 
986
- #: admin/main-view.php:748
987
  msgid "min"
988
  msgstr ""
989
 
990
- #: admin/main-view.php:750
991
  msgid "How often should the maintenance be run:"
992
  msgstr ""
993
 
994
- #: admin/main-view.php:758
995
  msgid "Weekly"
996
  msgstr ""
997
 
998
- #: admin/main-view.php:762
999
  msgid "Fortnightly"
1000
  msgstr ""
1001
 
1002
- #: admin/main-view.php:766
1003
  msgid "Monthly"
1004
  msgstr ""
1005
 
1006
- #: admin/main-view.php:775
1007
  msgid "The cron job has been scheduled. Maintenance will run"
1008
  msgstr ""
1009
 
1010
- #: admin/main-view.php:780
1011
  msgid "The cron job is missing. Please resave this page to add the job"
1012
  msgstr ""
1013
 
1014
- #: admin/main-view.php:785
1015
  msgid "Maintenance is turned off"
1016
  msgstr ""
1017
 
1018
- #: admin/main-view.php:791
1019
  msgid "Save Maintenance Options"
1020
  msgstr ""
1021
 
1022
- #: admin/main-view.php:799
1023
  msgid "Reset count and other tools"
1024
  msgstr ""
1025
 
1026
- #: admin/main-view.php:802
1027
  msgid ""
1028
  "This cannot be reversed. Make sure that your database has been backed up "
1029
  "before proceeding"
@@ -1031,114 +1042,114 @@ msgstr ""
1031
  "Скидання статистики не може бути обернена. Перед тим, як скидати все, "
1032
  "переконайтесь, що у вас є копія вашої бази даних!"
1033
 
1034
- #: admin/main-view.php:805
1035
  #, fuzzy
1036
  msgid "Reset Popular Posts"
1037
  msgstr "Популярні записи"
1038
 
1039
- #: admin/main-view.php:805
1040
  msgid "Are you sure you want to reset the popular posts?"
1041
  msgstr "Ви впевнені, що хочете скинути статистику для Популярних записів?"
1042
 
1043
- #: admin/main-view.php:806
1044
  #, fuzzy
1045
  msgid "Reset Daily Popular Posts"
1046
  msgstr "Популярні сьогодні записи"
1047
 
1048
- #: admin/main-view.php:806
1049
  msgid "Are you sure you want to reset the daily popular posts?"
1050
  msgstr ""
1051
  "Ви впевнені, що хочете скинути статистику для Популярних сьогодні записів?"
1052
 
1053
- #: admin/main-view.php:809
1054
  msgid "This will merge post counts for posts with table entries of 0 and 1"
1055
  msgstr ""
1056
 
1057
- #: admin/main-view.php:812
1058
  msgid "Merge blog ID 0 and 1 post counts"
1059
  msgstr ""
1060
 
1061
- #: admin/main-view.php:812
1062
  msgid "This will merge post counts for blog IDs 0 and 1. Proceed?"
1063
  msgstr ""
1064
 
1065
- #: admin/main-view.php:815
1066
  msgid ""
1067
  "In older versions, the plugin created entries with duplicate post IDs. "
1068
  "Clicking the button below will merge these duplicate IDs"
1069
  msgstr ""
1070
 
1071
- #: admin/main-view.php:818
1072
  msgid "Merge duplicates across blog IDs"
1073
  msgstr ""
1074
 
1075
- #: admin/main-view.php:818
1076
  msgid "This will delete the duplicate entries in the tables. Proceed?"
1077
  msgstr "Буде проведено видалення дубльованих запісів з статистики. Продовжити?"
1078
 
1079
- #: admin/main-view.php:835
1080
  msgid "WordPress Multisite: Migrate Top 10 v1.x counts to 2.x"
1081
  msgstr ""
1082
 
1083
- #: admin/main-view.php:838
1084
  msgid ""
1085
  "If you've been using Top 10 v1.x on multisite, you would have needed to "
1086
  "activate the plugin independently for each site. This would have resulted in "
1087
  "two tables being created for each site in the network."
1088
  msgstr ""
1089
 
1090
- #: admin/main-view.php:839
1091
  msgid ""
1092
  "Top 10 v2.x onwards uses only a single table to record the count, keeping "
1093
  "your database clean. You can use this tool to import the recorded counts "
1094
  "from v1.x tables to the new v2.x table format."
1095
  msgstr ""
1096
 
1097
- #: admin/main-view.php:842
1098
  msgid ""
1099
  "If you do not see any tables below, then it means that either all data has "
1100
  "already been imported or no relevant information has been found."
1101
  msgstr ""
1102
 
1103
- #: admin/main-view.php:845
1104
  msgid ""
1105
  "After running the importer, please verify that all the counts have been "
1106
  "successfully imported. Only then should you delete any old tables!"
1107
  msgstr ""
1108
 
1109
- #: admin/main-view.php:879
1110
  msgid "Blog ID"
1111
  msgstr ""
1112
 
1113
- #: admin/main-view.php:882
1114
  msgid "Status"
1115
  msgstr ""
1116
 
1117
- #: admin/main-view.php:885
1118
  msgid "Select to import"
1119
  msgstr ""
1120
 
1121
- #: admin/main-view.php:895
1122
  msgid "Blog #"
1123
  msgstr ""
1124
 
1125
- #: admin/main-view.php:905
1126
  msgid "Not imported"
1127
  msgstr ""
1128
 
1129
- #: admin/main-view.php:909
1130
  msgid "Imported"
1131
  msgstr ""
1132
 
1133
- #: admin/main-view.php:930
1134
  msgid "Begin import"
1135
  msgstr ""
1136
 
1137
- #: admin/main-view.php:931
1138
  msgid "Delete selected tables"
1139
  msgstr ""
1140
 
1141
- #: admin/main-view.php:932
1142
  msgid "Delete all imported tables"
1143
  msgstr ""
1144
 
@@ -1222,15 +1233,15 @@ msgstr "Установки превью до записів:"
1222
  msgid "Post types to include:"
1223
  msgstr ""
1224
 
1225
- #: includes/media.php:63
1226
  msgid "thumb_timthumb argument has been deprecated"
1227
  msgstr ""
1228
 
1229
- #: includes/media.php:67
1230
  msgid "thumb_timthumb_q argument has been deprecated"
1231
  msgstr ""
1232
 
1233
- #: includes/media.php:71
1234
  msgid "filter argument has been deprecated"
1235
  msgstr ""
1236
 
@@ -1238,43 +1249,43 @@ msgstr ""
1238
  msgid " by "
1239
  msgstr ""
1240
 
1241
- #: top-10.php:157
1242
  msgid ""
1243
  "posts_only argument has been deprecated. Use get_tptn_pop_posts() to get the "
1244
  "posts only."
1245
  msgstr ""
1246
 
1247
- #: top-10.php:264
1248
  #, php-format
1249
  msgid "Popular posts by <a href=\"%s\" rel=\"nofollow\" %s>Top 10 plugin</a>"
1250
  msgstr ""
1251
 
1252
- #: top-10.php:610
1253
  msgid "<h3>Popular Posts</h3>"
1254
  msgstr "<h3>Популярні записи</h3>"
1255
 
1256
- #: top-10.php:611
1257
  msgid "<h3>Daily Popular</h3>"
1258
  msgstr "<h3>Популярні сьогодні записи</h3>"
1259
 
1260
- #: top-10.php:612
1261
  #, fuzzy
1262
  msgid "No top posts yet"
1263
  msgstr "Скинути статистику найпопулярніших записів"
1264
 
1265
- #: top-10.php:1093
1266
  msgid "Once Weekly"
1267
  msgstr ""
1268
 
1269
- #: top-10.php:1097
1270
  msgid "Once Fortnightly"
1271
  msgstr ""
1272
 
1273
- #: top-10.php:1101
1274
  msgid "Once Monthly"
1275
  msgstr ""
1276
 
1277
- #: top-10.php:1105
1278
  msgid "Once quarterly"
1279
  msgstr ""
1280
 
2
  msgstr ""
3
  "Project-Id-Version: Top 10\n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2015-09-27 13:34+0100\n"
6
  "PO-Revision-Date: \n"
7
  "Last-Translator: Ajay D'Souza <me@ajaydsouza.com>\n"
8
  "Language-Team: Alyona Lompar <alyona.lompar@aol.com>\n"
44
  msgid "Popular posts by <a href=\"%s\" target=\"_blank\">Top 10 plugin</a>"
45
  msgstr ""
46
 
47
+ #: admin/admin-dashboard.php:109 admin/class-stats.php:438
48
  #: admin/deprecated.php:41
49
  msgid "Popular Posts"
50
  msgstr "Популярні записи"
153
  msgid "Scheduled maintenance disabled"
154
  msgstr ""
155
 
156
+ #: admin/admin.php:299
157
  msgid "Counts from selected sites have been imported."
158
  msgstr ""
159
 
160
+ #: admin/admin.php:324
161
  msgid ""
162
  "Selected tables have been deleted. Note that only imported tables have been "
163
  "deleted."
164
  msgstr ""
165
 
166
+ #: admin/admin.php:341 admin/admin.php:361 admin/admin.php:385
167
  #: admin/main-view.php:55 admin/main-view.php:174 admin/main-view.php:279
168
+ #: admin/main-view.php:488 admin/main-view.php:651 admin/main-view.php:747
169
+ #: admin/main-view.php:811 admin/main-view.php:846
170
  msgid "Click to toggle"
171
  msgstr ""
172
 
173
+ #: admin/admin.php:342
174
  msgid "Support the development"
175
  msgstr "Підтримати автора плагіна"
176
 
177
+ #: admin/admin.php:349
178
  msgid "Donation for Top 10"
179
  msgstr ""
180
 
181
+ #: admin/admin.php:351
182
  msgid "Enter amount in USD:"
183
  msgstr ""
184
 
185
+ #: admin/admin.php:355
186
  #, fuzzy
187
  msgid "Send your donation to the author of Top 10"
188
  msgstr "Відправте пожертву автору"
189
 
190
+ #: admin/admin.php:362
191
  msgid "Follow me"
192
  msgstr ""
193
 
194
+ #: admin/admin.php:386
195
  #, fuzzy
196
  msgid "Quick links"
197
  msgstr "Корисні посилання"
198
 
199
+ #: admin/admin.php:390
200
  #, fuzzy
201
  msgid "Top 10 plugin page"
202
  msgstr "Сторінка плагіна"
203
 
204
+ #: admin/admin.php:391
205
  msgid "Top 10 Github page"
206
  msgstr ""
207
 
208
+ #: admin/admin.php:392
209
  msgid "Other plugins"
210
  msgstr "Інші плагіни автора"
211
 
212
+ #: admin/admin.php:393
213
  msgid "FAQ"
214
  msgstr ""
215
 
216
+ #: admin/admin.php:394 admin/admin.php:564
217
  msgid "Support"
218
  msgstr "Підтримка (англ.)"
219
 
220
+ #: admin/admin.php:395
221
  msgid "Reviews"
222
  msgstr ""
223
 
224
+ #: admin/admin.php:396
225
  msgid "Ajay's blog"
226
  msgstr "Блог Ajay"
227
 
228
+ #: admin/admin.php:413 admin/admin.php:416 admin/main-view.php:22
229
  #, fuzzy
230
  msgid "Top 10 Settings"
231
  msgstr "Налаштування плагіна"
232
 
233
+ #: admin/admin.php:413
234
  msgid "Top 10"
235
  msgstr "Топ 10 записів"
236
 
237
+ #: admin/admin.php:421
238
  msgid "View Popular Posts"
239
  msgstr ""
240
 
241
+ #: admin/admin.php:541
242
  msgid "Settings"
243
  msgstr "Налаштування плагіна"
244
 
245
+ #: admin/admin.php:565
246
  msgid "Donate"
247
  msgstr "Зробити внесок"
248
 
249
+ #: admin/cache.php:19
250
  msgid "Top 10 cache has been cleared"
251
  msgstr ""
252
 
253
+ #: admin/class-stats.php:36
254
  msgid "popular_post"
255
  msgstr ""
256
 
257
+ #: admin/class-stats.php:37
258
  msgid "popular_posts"
259
  msgstr ""
260
 
261
+ #: admin/class-stats.php:160
262
  msgid "No popular posts available."
263
  msgstr ""
264
 
265
+ #: admin/class-stats.php:209
266
  msgid "View"
267
  msgstr ""
268
 
269
+ #: admin/class-stats.php:210
270
  msgid "Edit"
271
  msgstr ""
272
 
273
+ #: admin/class-stats.php:211
274
  msgid "Delete"
275
  msgstr ""
276
 
277
+ #: admin/class-stats.php:233
278
  msgid "Y/m/d g:i:s a"
279
  msgstr ""
280
 
281
+ #: admin/class-stats.php:240
282
  #, php-format
283
  msgid "%s ago"
284
  msgstr ""
285
 
286
+ #: admin/class-stats.php:242
287
  msgid "Y/m/d"
288
  msgstr ""
289
 
290
+ #: admin/class-stats.php:276 includes/class-top-10-widget.php:71
291
  msgid "Title"
292
  msgstr ""
293
 
294
+ #: admin/class-stats.php:277
295
  msgid "Total visits"
296
  msgstr ""
297
 
298
+ #: admin/class-stats.php:278
299
  msgid "Daily visits"
300
  msgstr ""
301
 
302
+ #: admin/class-stats.php:279
303
  msgid "Post type"
304
  msgstr ""
305
 
306
+ #: admin/class-stats.php:280
307
  msgid "Author"
308
  msgstr ""
309
 
310
+ #: admin/class-stats.php:281
311
  msgid "Date"
312
  msgstr ""
313
 
314
+ #: admin/class-stats.php:315
315
  msgid "Delete Count"
316
  msgstr ""
317
 
318
+ #: admin/class-stats.php:355
319
  msgid "Are you sure you want to do this"
320
  msgstr ""
321
 
331
  msgid "Popular post list options"
332
  msgstr ""
333
 
334
+ #: admin/main-view.php:37 admin/main-view.php:489
335
  #: includes/class-top-10-widget.php:115
336
  #, fuzzy
337
  msgid "Thumbnail options"
338
  msgstr "Установки превью до записів:"
339
 
340
+ #: admin/main-view.php:38 admin/main-view.php:652
341
  msgid "Styles"
342
  msgstr ""
343
 
344
+ #: admin/main-view.php:39 admin/main-view.php:748
345
  msgid "Maintenance"
346
  msgstr ""
347
 
353
  msgid "Overall"
354
  msgstr ""
355
 
356
+ #: admin/main-view.php:83 admin/main-view.php:767
357
  msgid "Daily"
358
  msgstr ""
359
 
473
  "Залишити посилання на плагін під списками Популярних записів? Автор плагіна "
474
  "був би дуже вдячний Вам, якщо Ви її все ж залишите!"
475
 
476
+ #: admin/main-view.php:156 admin/main-view.php:261 admin/main-view.php:470
477
+ #: admin/main-view.php:633 admin/main-view.php:727
478
  #, fuzzy
479
  msgid "Save Options"
480
  msgstr "Установки плагіна:"
644
  msgid "List of post or page IDs to exclude from the results:"
645
  msgstr ""
646
 
647
+ #: admin/main-view.php:327 admin/main-view.php:438
648
  msgid "Enter comma separated list of IDs. e.g. 188,320,500"
649
  msgstr ""
650
 
659
  "options"
660
  msgstr ""
661
 
662
+ #: admin/main-view.php:350
663
+ msgid "Excluded category IDs are:"
664
+ msgstr ""
665
+
666
+ #: admin/main-view.php:356
667
+ msgid ""
668
+ "These might differ from the IDs visible in the Categories page which use the "
669
+ "<code>term_id</code>. Top 10 uses the <code>term_taxonomy_id</code> which is "
670
+ "unique to this taxonomy."
671
+ msgstr ""
672
+
673
+ #: admin/main-view.php:362
674
  msgid "Title of popular posts:"
675
  msgstr ""
676
 
677
+ #: admin/main-view.php:368
678
  msgid "Title of daily popular posts:"
679
  msgstr ""
680
 
681
+ #: admin/main-view.php:374
682
  msgid "When there are no posts, what should be shown?"
683
  msgstr ""
684
 
685
+ #: admin/main-view.php:378
686
  msgid "Blank Output"
687
  msgstr ""
688
 
689
+ #: admin/main-view.php:382
690
  msgid "Display:"
691
  msgstr ""
692
 
693
+ #: admin/main-view.php:387
694
  msgid "Show post excerpt in list?"
695
  msgstr "Показувати текст запису в списку?"
696
 
697
+ #: admin/main-view.php:393
698
  msgid "Length of excerpt (in words):"
699
  msgstr ""
700
 
701
+ #: admin/main-view.php:399
702
  #, fuzzy
703
  msgid "Show post author in list?"
704
  msgstr "Показувати текст запису в списку?"
705
 
706
+ #: admin/main-view.php:405
707
  #, fuzzy
708
  msgid "Show post date in list?"
709
  msgstr "Показувати текст запису в списку?"
710
 
711
+ #: admin/main-view.php:411
712
  msgid "Limit post title length (in characters)"
713
  msgstr ""
714
 
715
+ #: admin/main-view.php:417
716
  #, fuzzy
717
  msgid "Show view count in list?"
718
  msgstr "Показувати текст запису в списку?"
719
 
720
+ #: admin/main-view.php:423
721
  msgid "Open links in new window"
722
  msgstr ""
723
 
724
+ #: admin/main-view.php:429
725
  msgid "Add nofollow attribute to links in the list"
726
  msgstr ""
727
 
728
+ #: admin/main-view.php:435
729
  msgid "Exclude display of related posts on these posts / pages"
730
  msgstr ""
731
 
732
+ #: admin/main-view.php:442
733
  #, fuzzy
734
  msgid "Customise the list HTML"
735
  msgstr "Установки оформлення списку:"
736
 
737
+ #: admin/main-view.php:445
738
  msgid "HTML to display before the list of posts:"
739
  msgstr ""
740
 
741
+ #: admin/main-view.php:451
742
  msgid "HTML to display before each list item:"
743
  msgstr ""
744
 
745
+ #: admin/main-view.php:457
746
  msgid "HTML to display after each list item:"
747
  msgstr ""
748
 
749
+ #: admin/main-view.php:463
750
  msgid "HTML to display after the list of posts:"
751
  msgstr ""
752
 
753
+ #: admin/main-view.php:504
754
  msgid "Location of post thumbnail:"
755
  msgstr ""
756
 
757
+ #: admin/main-view.php:508
758
  #, fuzzy
759
  msgid "Display thumbnails inline with posts, before title"
760
  msgstr "Відображати і превью, і текст"
761
 
762
+ #: admin/main-view.php:513
763
  #, fuzzy
764
  msgid "Display thumbnails inline with posts, after title"
765
  msgstr "Відображати і превью, і текст"
766
 
767
+ #: admin/main-view.php:518
768
  msgid "Display only thumbnails, no text"
769
  msgstr "Показувати тільки превью, без тексту"
770
 
771
+ #: admin/main-view.php:523
772
  msgid "Do not display thumbnails, only text."
773
  msgstr "Показувати лише текст, без превью"
774
 
775
+ #: admin/main-view.php:527
776
  msgid ""
777
  "This setting cannot be changed because an inbuilt style has been selected "
778
  "under the Styles section. If you would like to change this option, please "
779
  "select No styles under the Styles section."
780
  msgstr ""
781
 
782
+ #: admin/main-view.php:531
783
  msgid "Thumbnail size:"
784
  msgstr ""
785
 
786
+ #: admin/main-view.php:555
787
  msgid "Custom size"
788
  msgstr ""
789
 
790
+ #: admin/main-view.php:558
791
  msgid ""
792
  "You can choose from existing image sizes above or create a custom size. If "
793
  "you have chosen Custom size above, then enter the width, height and crop "
794
  "settings below. For best results, use a cropped image."
795
  msgstr ""
796
 
797
+ #: admin/main-view.php:559
798
  msgid ""
799
  "If you change the width and/or height below, existing images will not be "
800
  "automatically resized."
801
  msgstr ""
802
 
803
+ #: admin/main-view.php:560
804
  #, php-format
805
  msgid ""
806
  "I recommend using <a href='%s' class='thickbox'>OTF Regenerate Thumbnails</"
808
  "all image sizes."
809
  msgstr ""
810
 
811
+ #: admin/main-view.php:563
812
  msgid ""
813
  "If you're using the Left Thumbs style below then the thumbnail width and "
814
  "height that you set here will supersede the widget. Alternatively, choose "
816
  "strong> option below"
817
  msgstr ""
818
 
819
+ #: admin/main-view.php:566
820
  msgid "Width of custom thumbnail:"
821
  msgstr ""
822
 
823
+ #: admin/main-view.php:571
824
  msgid "Height of custom thumbnail"
825
  msgstr ""
826
 
827
+ #: admin/main-view.php:576
828
  msgid "Crop mode:"
829
  msgstr ""
830
 
831
+ #: admin/main-view.php:580
832
  msgid ""
833
  "By default, thumbnails will be proportionately cropped. Check this box to "
834
  "hard crop the thumbnails."
835
  msgstr ""
836
 
837
+ #: admin/main-view.php:581
838
  #, php-format
839
  msgid "<a href='%s' target='_blank'>Difference between soft and hard crop</a>"
840
  msgstr ""
841
 
842
+ #: admin/main-view.php:585
843
  msgid "Image size attributes:"
844
  msgstr ""
845
 
846
+ #: admin/main-view.php:589
847
  msgid "Style attributes are used for width and height."
848
  msgstr ""
849
 
850
+ #: admin/main-view.php:595
851
  msgid "HTML width and height attributes are used for width and height."
852
  msgstr ""
853
 
854
+ #: admin/main-view.php:601
855
  msgid "No HTML or Style attributes set for width and height"
856
  msgstr ""
857
 
858
+ #: admin/main-view.php:606
859
  msgid "Post thumbnail meta field name:"
860
  msgstr ""
861
 
862
+ #: admin/main-view.php:609
863
  msgid ""
864
  "The value of this field should contain the image source and is set in the "
865
  "<em>Add New Post</em> screen"
866
  msgstr ""
867
 
868
+ #: admin/main-view.php:612
869
  #, fuzzy
870
  msgid ""
871
  "If the postmeta is not set, then should the plugin extract the first image "
875
  "зображення із запису. Це може злегка збільшити завантаження в перший раз, "
876
  "так як буде створюватися зменшена копія зображення"
877
 
878
+ #: admin/main-view.php:615
879
  #, fuzzy
880
  msgid ""
881
  "This could slow down the loading of your page if the first image in the "
885
  "зображення із запису. Це може злегка збільшити завантаження в перший раз, "
886
  "так як буде створюватися зменшена копія зображення"
887
 
888
+ #: admin/main-view.php:618
889
  msgid "Use default thumbnail?"
890
  msgstr ""
891
 
892
+ #: admin/main-view.php:621
893
  msgid ""
894
  "If checked, when no thumbnail is found, show a default one from the URL "
895
  "below. If not checked and no thumbnail is found, no image will be shown."
896
  msgstr ""
897
 
898
+ #: admin/main-view.php:624
899
  msgid "Default thumbnail:"
900
  msgstr ""
901
 
902
+ #: admin/main-view.php:628
903
  #, fuzzy
904
  msgid ""
905
  "The plugin will first check if the post contains a thumbnail. If it doesn't "
910
  "заданому раніше мета-полю). Якщо ж превью нема - буде виводитися картинка за "
911
  "замовчунням:"
912
 
913
+ #: admin/main-view.php:667
914
  msgid "Style of the related posts:"
915
  msgstr ""
916
 
917
+ #: admin/main-view.php:670
918
  msgid "No styles"
919
  msgstr ""
920
 
921
+ #: admin/main-view.php:672
922
  msgid "Select this option if you plan to add your own styles"
923
  msgstr ""
924
 
925
+ #: admin/main-view.php:677
926
  msgid "Left Thumbnails"
927
  msgstr ""
928
 
929
+ #: admin/main-view.php:680
930
  msgid ""
931
  "Enabling this option will set the post thumbnail to be before text. "
932
  "Disabling this option will not revert any settings."
933
  msgstr ""
934
 
935
+ #: admin/main-view.php:681
936
  #, php-format
937
  msgid ""
938
  "You can view the default style at <a href=\"%1$s\" target=\"_blank\">%1$s</a>"
939
  msgstr ""
940
 
941
+ #: admin/main-view.php:685
942
  msgid "Text only"
943
  msgstr ""
944
 
945
+ #: admin/main-view.php:687
946
  msgid ""
947
  "Enabling this option will disable thumbnails and no longer include the "
948
  "default style sheet included in the plugin."
949
  msgstr ""
950
 
951
+ #: admin/main-view.php:703
952
  msgid "Custom CSS to add to header:"
953
  msgstr ""
954
 
955
+ #: admin/main-view.php:708
956
  msgid ""
957
  "Do not include <code>style</code> tags. Check out the <a href=\"http://"
958
  "wordpress.org/extend/plugins/top-10/faq/\" target=\"_blank\">FAQ</a> for "
959
  "available CSS classes to style."
960
  msgstr ""
961
 
962
+ #: admin/main-view.php:728
963
  #, fuzzy
964
  msgid "Default Options"
965
  msgstr "Установки плагіна:"
966
 
967
+ #: admin/main-view.php:728
968
  msgid "Do you want to set options to Default?"
969
  msgstr "Скинути налаштування плагіна?"
970
 
971
+ #: admin/main-view.php:752
972
  msgid ""
973
  "Over time the Daily Top 10 database grows in size, which reduces the "
974
  "performance of the plugin. Cleaning the database at regular intervals could "
976
  "will automatically delete entries older than 90 days."
977
  msgstr ""
978
 
979
+ #: admin/main-view.php:753
980
  msgid ""
981
  "Note: When scheduled maintenance is enabled, WordPress will run the cron job "
982
  "everytime the job is rescheduled (i.e. you change the settings below)."
983
  msgstr ""
984
 
985
+ #: admin/main-view.php:756
986
  msgid "Enable scheduled maintenance of daily tables:"
987
  msgstr ""
988
 
989
+ #: admin/main-view.php:760
990
  msgid "Time to run maintenance"
991
  msgstr ""
992
 
993
+ #: admin/main-view.php:761
994
  msgid "hrs"
995
  msgstr ""
996
 
997
+ #: admin/main-view.php:761
998
  msgid "min"
999
  msgstr ""
1000
 
1001
+ #: admin/main-view.php:763
1002
  msgid "How often should the maintenance be run:"
1003
  msgstr ""
1004
 
1005
+ #: admin/main-view.php:771
1006
  msgid "Weekly"
1007
  msgstr ""
1008
 
1009
+ #: admin/main-view.php:775
1010
  msgid "Fortnightly"
1011
  msgstr ""
1012
 
1013
+ #: admin/main-view.php:779
1014
  msgid "Monthly"
1015
  msgstr ""
1016
 
1017
+ #: admin/main-view.php:788
1018
  msgid "The cron job has been scheduled. Maintenance will run"
1019
  msgstr ""
1020
 
1021
+ #: admin/main-view.php:793
1022
  msgid "The cron job is missing. Please resave this page to add the job"
1023
  msgstr ""
1024
 
1025
+ #: admin/main-view.php:798
1026
  msgid "Maintenance is turned off"
1027
  msgstr ""
1028
 
1029
+ #: admin/main-view.php:804
1030
  msgid "Save Maintenance Options"
1031
  msgstr ""
1032
 
1033
+ #: admin/main-view.php:812
1034
  msgid "Reset count and other tools"
1035
  msgstr ""
1036
 
1037
+ #: admin/main-view.php:815
1038
  msgid ""
1039
  "This cannot be reversed. Make sure that your database has been backed up "
1040
  "before proceeding"
1042
  "Скидання статистики не може бути обернена. Перед тим, як скидати все, "
1043
  "переконайтесь, що у вас є копія вашої бази даних!"
1044
 
1045
+ #: admin/main-view.php:818
1046
  #, fuzzy
1047
  msgid "Reset Popular Posts"
1048
  msgstr "Популярні записи"
1049
 
1050
+ #: admin/main-view.php:818
1051
  msgid "Are you sure you want to reset the popular posts?"
1052
  msgstr "Ви впевнені, що хочете скинути статистику для Популярних записів?"
1053
 
1054
+ #: admin/main-view.php:819
1055
  #, fuzzy
1056
  msgid "Reset Daily Popular Posts"
1057
  msgstr "Популярні сьогодні записи"
1058
 
1059
+ #: admin/main-view.php:819
1060
  msgid "Are you sure you want to reset the daily popular posts?"
1061
  msgstr ""
1062
  "Ви впевнені, що хочете скинути статистику для Популярних сьогодні записів?"
1063
 
1064
+ #: admin/main-view.php:822
1065
  msgid "This will merge post counts for posts with table entries of 0 and 1"
1066
  msgstr ""
1067
 
1068
+ #: admin/main-view.php:825
1069
  msgid "Merge blog ID 0 and 1 post counts"
1070
  msgstr ""
1071
 
1072
+ #: admin/main-view.php:825
1073
  msgid "This will merge post counts for blog IDs 0 and 1. Proceed?"
1074
  msgstr ""
1075
 
1076
+ #: admin/main-view.php:828
1077
  msgid ""
1078
  "In older versions, the plugin created entries with duplicate post IDs. "
1079
  "Clicking the button below will merge these duplicate IDs"
1080
  msgstr ""
1081
 
1082
+ #: admin/main-view.php:831
1083
  msgid "Merge duplicates across blog IDs"
1084
  msgstr ""
1085
 
1086
+ #: admin/main-view.php:831
1087
  msgid "This will delete the duplicate entries in the tables. Proceed?"
1088
  msgstr "Буде проведено видалення дубльованих запісів з статистики. Продовжити?"
1089
 
1090
+ #: admin/main-view.php:847
1091
  msgid "WordPress Multisite: Migrate Top 10 v1.x counts to 2.x"
1092
  msgstr ""
1093
 
1094
+ #: admin/main-view.php:850
1095
  msgid ""
1096
  "If you've been using Top 10 v1.x on multisite, you would have needed to "
1097
  "activate the plugin independently for each site. This would have resulted in "
1098
  "two tables being created for each site in the network."
1099
  msgstr ""
1100
 
1101
+ #: admin/main-view.php:851
1102
  msgid ""
1103
  "Top 10 v2.x onwards uses only a single table to record the count, keeping "
1104
  "your database clean. You can use this tool to import the recorded counts "
1105
  "from v1.x tables to the new v2.x table format."
1106
  msgstr ""
1107
 
1108
+ #: admin/main-view.php:854
1109
  msgid ""
1110
  "If you do not see any tables below, then it means that either all data has "
1111
  "already been imported or no relevant information has been found."
1112
  msgstr ""
1113
 
1114
+ #: admin/main-view.php:857
1115
  msgid ""
1116
  "After running the importer, please verify that all the counts have been "
1117
  "successfully imported. Only then should you delete any old tables!"
1118
  msgstr ""
1119
 
1120
+ #: admin/main-view.php:891
1121
  msgid "Blog ID"
1122
  msgstr ""
1123
 
1124
+ #: admin/main-view.php:894
1125
  msgid "Status"
1126
  msgstr ""
1127
 
1128
+ #: admin/main-view.php:897
1129
  msgid "Select to import"
1130
  msgstr ""
1131
 
1132
+ #: admin/main-view.php:907
1133
  msgid "Blog #"
1134
  msgstr ""
1135
 
1136
+ #: admin/main-view.php:917
1137
  msgid "Not imported"
1138
  msgstr ""
1139
 
1140
+ #: admin/main-view.php:921
1141
  msgid "Imported"
1142
  msgstr ""
1143
 
1144
+ #: admin/main-view.php:942
1145
  msgid "Begin import"
1146
  msgstr ""
1147
 
1148
+ #: admin/main-view.php:943
1149
  msgid "Delete selected tables"
1150
  msgstr ""
1151
 
1152
+ #: admin/main-view.php:944
1153
  msgid "Delete all imported tables"
1154
  msgstr ""
1155
 
1233
  msgid "Post types to include:"
1234
  msgstr ""
1235
 
1236
+ #: includes/media.php:62
1237
  msgid "thumb_timthumb argument has been deprecated"
1238
  msgstr ""
1239
 
1240
+ #: includes/media.php:66
1241
  msgid "thumb_timthumb_q argument has been deprecated"
1242
  msgstr ""
1243
 
1244
+ #: includes/media.php:70
1245
  msgid "filter argument has been deprecated"
1246
  msgstr ""
1247
 
1249
  msgid " by "
1250
  msgstr ""
1251
 
1252
+ #: top-10.php:163
1253
  msgid ""
1254
  "posts_only argument has been deprecated. Use get_tptn_pop_posts() to get the "
1255
  "posts only."
1256
  msgstr ""
1257
 
1258
+ #: top-10.php:300
1259
  #, php-format
1260
  msgid "Popular posts by <a href=\"%s\" rel=\"nofollow\" %s>Top 10 plugin</a>"
1261
  msgstr ""
1262
 
1263
+ #: top-10.php:641
1264
  msgid "<h3>Popular Posts</h3>"
1265
  msgstr "<h3>Популярні записи</h3>"
1266
 
1267
+ #: top-10.php:642
1268
  msgid "<h3>Daily Popular</h3>"
1269
  msgstr "<h3>Популярні сьогодні записи</h3>"
1270
 
1271
+ #: top-10.php:643
1272
  #, fuzzy
1273
  msgid "No top posts yet"
1274
  msgstr "Скинути статистику найпопулярніших записів"
1275
 
1276
+ #: top-10.php:1124
1277
  msgid "Once Weekly"
1278
  msgstr ""
1279
 
1280
+ #: top-10.php:1128
1281
  msgid "Once Fortnightly"
1282
  msgstr ""
1283
 
1284
+ #: top-10.php:1132
1285
  msgid "Once Monthly"
1286
  msgstr ""
1287
 
1288
+ #: top-10.php:1136
1289
  msgid "Once quarterly"
1290
  msgstr ""
1291
 
languages/tptn-fr_FR.mo DELETED
Binary file
languages/tptn-fr_FR.po DELETED
@@ -1,1434 +0,0 @@
1
- msgid ""
2
- msgstr ""
3
- "Project-Id-Version: Top 10\n"
4
- "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2015-09-13 22:08+0100\n"
6
- "PO-Revision-Date: \n"
7
- "Last-Translator: Ajay D'Souza <me@ajaydsouza.com>\n"
8
- "Language-Team: Ajay D'Souza <me@ajaydsouza.com>\n"
9
- "Language: fr\n"
10
- "MIME-Version: 1.0\n"
11
- "Content-Type: text/plain; charset=UTF-8\n"
12
- "Content-Transfer-Encoding: 8bit\n"
13
- "X-Poedit-KeywordsList: _e;__\n"
14
- "X-Poedit-Basepath: ..\n"
15
- "X-Generator: Poedit 1.8.4\n"
16
- "Plural-Forms: nplurals=2; plural=(n > 1);\n"
17
- "X-Poedit-SourceCharset: UTF-8\n"
18
- "X-Poedit-SearchPath-0: .\n"
19
-
20
- #: admin/admin-columns.php:30
21
- #, fuzzy
22
- msgid "Total Views"
23
- msgstr "Total/aujourd'hui visionnages"
24
-
25
- #: admin/admin-columns.php:33
26
- #, fuzzy
27
- msgid "Today's Views"
28
- msgstr "Total/aujourd'hui visionnages"
29
-
30
- #: admin/admin-columns.php:36
31
- #, fuzzy
32
- msgid "Views"
33
- msgstr "Total/aujourd'hui visionnages"
34
-
35
- #: admin/admin-dashboard.php:62
36
- msgid "View all daily popular posts"
37
- msgstr ""
38
-
39
- #: admin/admin-dashboard.php:64
40
- msgid "View all popular posts"
41
- msgstr ""
42
-
43
- #: admin/admin-dashboard.php:70
44
- #, php-format
45
- msgid "Popular posts by <a href=\"%s\" target=\"_blank\">Top 10 plugin</a>"
46
- msgstr ""
47
-
48
- #: admin/admin-dashboard.php:109 admin/class-stats.php:440
49
- #: admin/deprecated.php:41
50
- msgid "Popular Posts"
51
- msgstr "Postes populaires"
52
-
53
- #: admin/admin-dashboard.php:114 admin/deprecated.php:43
54
- msgid "Daily Popular Posts"
55
- msgstr "Postes populaires journaliers"
56
-
57
- #: admin/admin-metabox.php:104
58
- #, fuzzy
59
- msgid "Visit count:"
60
- msgstr "Réinitialiser le compteur"
61
-
62
- #: admin/admin-metabox.php:106
63
- msgid ""
64
- "Enter a number above to update the visit count. Leaving the above box blank "
65
- "will set the count to zero"
66
- msgstr ""
67
-
68
- #: admin/admin-metabox.php:115
69
- msgid "Disable Popular Posts display:"
70
- msgstr ""
71
-
72
- #: admin/admin-metabox.php:118
73
- msgid ""
74
- "If this is checked, then Top 10 will not display the popular posts widgets "
75
- "when viewing this post."
76
- msgstr ""
77
-
78
- #: admin/admin-metabox.php:122
79
- msgid "Exclude this post from the popular posts list:"
80
- msgstr ""
81
-
82
- #: admin/admin-metabox.php:125
83
- msgid ""
84
- "If this is checked, then this post will be excluded from the popular posts "
85
- "list."
86
- msgstr ""
87
-
88
- #: admin/admin-metabox.php:129
89
- msgid "Location of thumbnail:"
90
- msgstr ""
91
-
92
- #: admin/admin-metabox.php:131
93
- msgid ""
94
- "Enter the full URL to the image (JPG, PNG or GIF) you'd like to use. This "
95
- "image will be used for the post. It will be resized to the thumbnail size "
96
- "set under Top 10 Settings &raquo; Thumbnail options."
97
- msgstr ""
98
-
99
- #: admin/admin-metabox.php:132
100
- msgid "The URL above is saved in the meta field:"
101
- msgstr ""
102
-
103
- #: admin/admin-metabox.php:137
104
- #, php-format
105
- msgid ""
106
- "You have %1$s installed. If you are trying to modify the thumbnail, then you "
107
- "will need to make the same change in the %1$s meta box on this page."
108
- msgstr ""
109
-
110
- #: admin/admin.php:190
111
- msgid "Options saved successfully. If enabled, the cache has been cleared."
112
- msgstr ""
113
-
114
- #: admin/admin.php:193
115
- msgid ""
116
- "Left Thumbnails style selected. Post thumbnail location set to Inline before "
117
- "text."
118
- msgstr ""
119
-
120
- #: admin/admin.php:196
121
- msgid "Text Only style selected. Thumbnails will not be displayed."
122
- msgstr ""
123
-
124
- #: admin/admin.php:199
125
- #, php-format
126
- msgid "Pre-built thumbnail size selected. Thumbnail set to %d x %d."
127
- msgstr ""
128
-
129
- #: admin/admin.php:214
130
- msgid "Options set to Default."
131
- msgstr "Options par défaut sont définies"
132
-
133
- #: admin/admin.php:221
134
- msgid "Top 10 popular posts reset"
135
- msgstr "Annuler le top 10 des enregistrements les plus populaires"
136
-
137
- #: admin/admin.php:228
138
- msgid "Top 10 daily popular posts reset"
139
- msgstr "Annuler le top 10 des messages les plus populaires journaliers"
140
-
141
- #: admin/admin.php:236
142
- msgid "Duplicate rows cleaned from tables"
143
- msgstr ""
144
-
145
- #: admin/admin.php:244
146
- msgid "Post counts across blog IDs 0 and 1 have been merged"
147
- msgstr ""
148
-
149
- #: admin/admin.php:257
150
- msgid "Scheduled maintenance enabled / modified"
151
- msgstr ""
152
-
153
- #: admin/admin.php:261
154
- msgid "Scheduled maintenance disabled"
155
- msgstr ""
156
-
157
- #: admin/admin.php:300
158
- msgid "Counts from selected sites have been imported."
159
- msgstr ""
160
-
161
- #: admin/admin.php:325
162
- msgid ""
163
- "Selected tables have been deleted. Note that only imported tables have been "
164
- "deleted."
165
- msgstr ""
166
-
167
- #: admin/admin.php:342 admin/admin.php:362 admin/admin.php:372
168
- #: admin/main-view.php:55 admin/main-view.php:174 admin/main-view.php:279
169
- #: admin/main-view.php:477 admin/main-view.php:638 admin/main-view.php:734
170
- #: admin/main-view.php:798 admin/main-view.php:834
171
- msgid "Click to toggle"
172
- msgstr ""
173
-
174
- #: admin/admin.php:343
175
- msgid "Support the development"
176
- msgstr "Soutenir le projet"
177
-
178
- #: admin/admin.php:350
179
- msgid "Donation for Top 10"
180
- msgstr ""
181
-
182
- #: admin/admin.php:352
183
- msgid "Enter amount in USD:"
184
- msgstr ""
185
-
186
- #: admin/admin.php:356
187
- #, fuzzy
188
- msgid "Send your donation to the author of Top 10"
189
- msgstr "Envoyer sa dotation à l'auteur"
190
-
191
- #: admin/admin.php:363
192
- msgid "Follow me"
193
- msgstr ""
194
-
195
- #: admin/admin.php:373
196
- #, fuzzy
197
- msgid "Quick links"
198
- msgstr "Liens rapides"
199
-
200
- #: admin/admin.php:377
201
- #, fuzzy
202
- msgid "Top 10 plugin page"
203
- msgstr "Page de plugin"
204
-
205
- #: admin/admin.php:378
206
- msgid "Top 10 Github page"
207
- msgstr ""
208
-
209
- #: admin/admin.php:379
210
- msgid "Other plugins"
211
- msgstr "Autres plugins"
212
-
213
- #: admin/admin.php:380
214
- msgid "FAQ"
215
- msgstr ""
216
-
217
- #: admin/admin.php:381 admin/admin.php:551
218
- msgid "Support"
219
- msgstr "Service d'assistance"
220
-
221
- #: admin/admin.php:382
222
- msgid "Reviews"
223
- msgstr ""
224
-
225
- #: admin/admin.php:383
226
- msgid "Ajay's blog"
227
- msgstr "Blog Ajay"
228
-
229
- #: admin/admin.php:400 admin/admin.php:403 admin/main-view.php:22
230
- #, fuzzy
231
- msgid "Top 10 Settings"
232
- msgstr "Paramètres"
233
-
234
- #: admin/admin.php:400
235
- msgid "Top 10"
236
- msgstr "Тоp 10"
237
-
238
- #: admin/admin.php:408
239
- msgid "View Popular Posts"
240
- msgstr ""
241
-
242
- #: admin/admin.php:528
243
- msgid "Settings"
244
- msgstr "Paramètres"
245
-
246
- #: admin/admin.php:552
247
- msgid "Donate"
248
- msgstr "Conribuer"
249
-
250
- #: admin/cache.php:20
251
- msgid "Top 10 cache has been cleared"
252
- msgstr ""
253
-
254
- #: admin/class-stats.php:37
255
- msgid "popular_post"
256
- msgstr ""
257
-
258
- #: admin/class-stats.php:38
259
- msgid "popular_posts"
260
- msgstr ""
261
-
262
- #: admin/class-stats.php:162
263
- msgid "No popular posts available."
264
- msgstr ""
265
-
266
- #: admin/class-stats.php:211
267
- msgid "View"
268
- msgstr ""
269
-
270
- #: admin/class-stats.php:212
271
- msgid "Edit"
272
- msgstr ""
273
-
274
- #: admin/class-stats.php:213
275
- msgid "Delete"
276
- msgstr ""
277
-
278
- #: admin/class-stats.php:235
279
- msgid "Y/m/d g:i:s a"
280
- msgstr ""
281
-
282
- #: admin/class-stats.php:242
283
- #, php-format
284
- msgid "%s ago"
285
- msgstr ""
286
-
287
- #: admin/class-stats.php:244
288
- msgid "Y/m/d"
289
- msgstr ""
290
-
291
- #: admin/class-stats.php:278 includes/class-top-10-widget.php:71
292
- msgid "Title"
293
- msgstr ""
294
-
295
- #: admin/class-stats.php:279
296
- msgid "Total visits"
297
- msgstr ""
298
-
299
- #: admin/class-stats.php:280
300
- msgid "Daily visits"
301
- msgstr ""
302
-
303
- #: admin/class-stats.php:281
304
- msgid "Post type"
305
- msgstr ""
306
-
307
- #: admin/class-stats.php:282
308
- msgid "Author"
309
- msgstr ""
310
-
311
- #: admin/class-stats.php:283
312
- msgid "Date"
313
- msgstr ""
314
-
315
- #: admin/class-stats.php:317
316
- msgid "Delete Count"
317
- msgstr ""
318
-
319
- #: admin/class-stats.php:357
320
- msgid "Are you sure you want to do this"
321
- msgstr ""
322
-
323
- #: admin/main-view.php:34 admin/main-view.php:56
324
- msgid "General options"
325
- msgstr ""
326
-
327
- #: admin/main-view.php:35 admin/main-view.php:175
328
- msgid "Counter and tracker options"
329
- msgstr ""
330
-
331
- #: admin/main-view.php:36 admin/main-view.php:280
332
- msgid "Popular post list options"
333
- msgstr ""
334
-
335
- #: admin/main-view.php:37 admin/main-view.php:478
336
- #: includes/class-top-10-widget.php:115
337
- #, fuzzy
338
- msgid "Thumbnail options"
339
- msgstr "Options thumbnail des messages:"
340
-
341
- #: admin/main-view.php:38 admin/main-view.php:639
342
- msgid "Styles"
343
- msgstr ""
344
-
345
- #: admin/main-view.php:39 admin/main-view.php:735
346
- msgid "Maintenance"
347
- msgstr ""
348
-
349
- #: admin/main-view.php:72
350
- msgid "Enable trackers:"
351
- msgstr ""
352
-
353
- #: admin/main-view.php:77 includes/class-top-10-widget.php:81
354
- msgid "Overall"
355
- msgstr ""
356
-
357
- #: admin/main-view.php:83 admin/main-view.php:754
358
- msgid "Daily"
359
- msgstr ""
360
-
361
- #: admin/main-view.php:89
362
- msgid "Enable cache:"
363
- msgstr ""
364
-
365
- #: admin/main-view.php:92
366
- msgid ""
367
- "If activated, Top 10 will use the Transients API to cache the popular posts "
368
- "output for 1 hour."
369
- msgstr ""
370
-
371
- #: admin/main-view.php:93
372
- msgid "Clear cache"
373
- msgstr ""
374
-
375
- #: admin/main-view.php:97
376
- msgid "Use Ajax for tracking:"
377
- msgstr ""
378
-
379
- #: admin/main-view.php:100
380
- msgid ""
381
- "This will try to prevent W3 Total Cache and other caching plugins from "
382
- "caching the tracker script of the plugin. Try toggling this option in case "
383
- "you find that your posts are not tracked."
384
- msgstr ""
385
-
386
- #: admin/main-view.php:104
387
- msgid "Start daily counts from midnight:"
388
- msgstr ""
389
-
390
- #: admin/main-view.php:107
391
- msgid ""
392
- "Daily counter will display number of visits from midnight. This option is "
393
- "checked by default and mimics the way most normal counters work. Turning "
394
- "this off will allow you to use the hourly setting in the next option."
395
- msgstr ""
396
-
397
- #: admin/main-view.php:111
398
- msgid "Daily popular contains top posts over:"
399
- msgstr ""
400
-
401
- #: admin/main-view.php:113
402
- msgid "day(s)"
403
- msgstr ""
404
-
405
- #: admin/main-view.php:114
406
- msgid "hour(s)"
407
- msgstr ""
408
-
409
- #: admin/main-view.php:115
410
- msgid ""
411
- "Think of Daily Popular has a custom date range applied as a global setting. "
412
- "Instead of displaying popular posts from the past day, this setting lets you "
413
- "display posts for as many days or as few hours as you want. This can be "
414
- "overridden in the widget."
415
- msgstr ""
416
-
417
- #: admin/main-view.php:119
418
- msgid "Delete options on uninstall"
419
- msgstr ""
420
-
421
- #: admin/main-view.php:122
422
- msgid ""
423
- "If this is checked, all settings related to Top 10 are removed from the "
424
- "database if you choose to uninstall/delete the plugin."
425
- msgstr ""
426
-
427
- #: admin/main-view.php:126
428
- msgid "Delete counter data on uninstall"
429
- msgstr ""
430
-
431
- #: admin/main-view.php:129
432
- msgid ""
433
- "If this is checked, the tables containing the counter statistics are removed "
434
- "from the database if you choose to uninstall/delete the plugin."
435
- msgstr ""
436
-
437
- #: admin/main-view.php:130
438
- msgid ""
439
- "Keep this unchecked if you choose to reinstall the plugin and don't want to "
440
- "lose your counter data."
441
- msgstr ""
442
-
443
- #: admin/main-view.php:133
444
- msgid "Show metabox:"
445
- msgstr ""
446
-
447
- #: admin/main-view.php:136
448
- msgid ""
449
- "This will add the Top 10 metabox on Edit Posts or Add New Posts screens. "
450
- "Also applies to Pages and Custom Post Types."
451
- msgstr ""
452
-
453
- #: admin/main-view.php:140
454
- msgid "Limit metabox to Admins only:"
455
- msgstr ""
456
-
457
- #: admin/main-view.php:143
458
- msgid ""
459
- "If this is selected, the metabox will be hidden from anyone who is not an "
460
- "Admin. Otherwise, by default, Contributors and above will be able to see the "
461
- "metabox. This applies only if the above option is selected."
462
- msgstr ""
463
-
464
- #: admin/main-view.php:148
465
- msgid "Link to Top 10 plugin page"
466
- msgstr ""
467
-
468
- #: admin/main-view.php:151
469
- #, fuzzy
470
- msgid ""
471
- "A link to the plugin is added as an extra list item to the list of popular "
472
- "posts"
473
- msgstr ""
474
- "Le lien vers le plugin en qualité d'élément complémentaire de la liste dans "
475
- "le répertoire des enregistrements populaires. Cela n'est pas obligatoire, "
476
- "mais nous vous y remercions!"
477
-
478
- #: admin/main-view.php:156 admin/main-view.php:261 admin/main-view.php:459
479
- #: admin/main-view.php:620 admin/main-view.php:714
480
- #, fuzzy
481
- msgid "Save Options"
482
- msgstr "Options:"
483
-
484
- #: admin/main-view.php:191
485
- #, fuzzy
486
- msgid "Display number of views on:"
487
- msgstr "Afficher le nombre des visionnages du message?"
488
-
489
- #: admin/main-view.php:193
490
- msgid "Posts"
491
- msgstr ""
492
-
493
- #: admin/main-view.php:194
494
- #, fuzzy
495
- msgid "Pages"
496
- msgstr "Page"
497
-
498
- #: admin/main-view.php:195
499
- msgid "Home page"
500
- msgstr ""
501
-
502
- #: admin/main-view.php:196
503
- msgid "Feeds"
504
- msgstr ""
505
-
506
- #: admin/main-view.php:197
507
- msgid "Category archives"
508
- msgstr ""
509
-
510
- #: admin/main-view.php:198
511
- msgid "Tag archives"
512
- msgstr ""
513
-
514
- #: admin/main-view.php:199
515
- msgid "Other archives"
516
- msgstr ""
517
-
518
- #: admin/main-view.php:200
519
- msgid ""
520
- "If you choose to disable this, please add <code>&lt;?php if "
521
- "( function_exists ( 'echo_tptn_post_count' ) ) echo_tptn_post_count(); ?&gt;"
522
- "</code> to your template file where you want it displayed"
523
- msgstr ""
524
-
525
- #: admin/main-view.php:204
526
- #, fuzzy
527
- msgid "Format to display the post views:"
528
- msgstr "Format d’affichage de la quantité en:"
529
-
530
- #: admin/main-view.php:207
531
- msgid ""
532
- "Use <code>%totalcount%</code> to display the total count, <code>%dailycount"
533
- "%</code> to display the daily count and <code>%overallcount%</code> to "
534
- "display the overall count across all posts on the blog. e.g. the default "
535
- "options displays <code>[Visited 123 times, 23 visits today]</code>"
536
- msgstr ""
537
-
538
- #: admin/main-view.php:211
539
- msgid "What do display when there are no visits?"
540
- msgstr ""
541
-
542
- #: admin/main-view.php:214
543
- msgid ""
544
- "This text applies only when there are 0 hits for the post and it isn't a "
545
- "single page. e.g. if you display post views on the homepage or archives then "
546
- "this text will be used. To override this, just enter the same text as above "
547
- "option."
548
- msgstr ""
549
-
550
- #: admin/main-view.php:218
551
- msgid "Always display latest post count"
552
- msgstr ""
553
-
554
- #: admin/main-view.php:221
555
- msgid ""
556
- "This option uses JavaScript and will increase your page load time. Turn this "
557
- "off if you are not using caching plugins or are OK with displaying older "
558
- "cached counts."
559
- msgstr ""
560
-
561
- #: admin/main-view.php:225
562
- msgid "Track visits of authors on their own posts?"
563
- msgstr "Suivre les visites des auteurs de leurs propres messages?"
564
-
565
- #: admin/main-view.php:228
566
- msgid ""
567
- "Disabling this option will stop authors visits tracked on their own posts"
568
- msgstr ""
569
-
570
- #: admin/main-view.php:232
571
- #, fuzzy
572
- msgid "Track visits of admins?"
573
- msgstr "Suivre les visites des auteurs de leurs propres messages?"
574
-
575
- #: admin/main-view.php:235
576
- msgid "Disabling this option will stop admin visits being tracked."
577
- msgstr ""
578
-
579
- #: admin/main-view.php:239
580
- #, fuzzy
581
- msgid "Track visits of Editors?"
582
- msgstr "Suivre les visites des auteurs de leurs propres messages?"
583
-
584
- #: admin/main-view.php:242
585
- msgid "Disabling this option will stop editor visits being tracked."
586
- msgstr ""
587
-
588
- #: admin/main-view.php:246
589
- msgid "Display page views on Posts and Pages in Admin"
590
- msgstr ""
591
-
592
- #: admin/main-view.php:249
593
- msgid ""
594
- "Adds three columns called Total Views, Today's Views and Views to All Posts "
595
- "and All Pages"
596
- msgstr ""
597
-
598
- #: admin/main-view.php:253
599
- #, fuzzy
600
- msgid "Show number of views to non-admins"
601
- msgstr "Afficher le nombre des visionnages sur les pages?"
602
-
603
- #: admin/main-view.php:256
604
- msgid ""
605
- "If you disable this then non-admins won't see the above columns or view the "
606
- "independent pages with the top posts"
607
- msgstr ""
608
-
609
- #: admin/main-view.php:296
610
- msgid "Number of popular posts to display:"
611
- msgstr ""
612
-
613
- #: admin/main-view.php:299
614
- msgid ""
615
- "Maximum number of posts that will be displayed in the list. This option is "
616
- "used if you don't specify the number of posts in the widget or shortcodes"
617
- msgstr ""
618
-
619
- #: admin/main-view.php:303
620
- msgid "Published age of posts:"
621
- msgstr ""
622
-
623
- #: admin/main-view.php:305 includes/class-top-10-widget.php:88
624
- msgid "days"
625
- msgstr ""
626
-
627
- #: admin/main-view.php:306
628
- msgid ""
629
- "This options allows you to only show posts that have been published within "
630
- "the above day range. Applies to both overall posts and daily posts lists."
631
- msgstr ""
632
-
633
- #: admin/main-view.php:307
634
- msgid ""
635
- "e.g. 365 days will only show posts published in the last year in the popular "
636
- "posts lists. Enter 0 for no restriction."
637
- msgstr ""
638
-
639
- #: admin/main-view.php:311
640
- msgid "Post types to include in results (including custom post types)"
641
- msgstr ""
642
-
643
- #: admin/main-view.php:325
644
- msgid "List of post or page IDs to exclude from the results:"
645
- msgstr ""
646
-
647
- #: admin/main-view.php:327 admin/main-view.php:427
648
- msgid "Enter comma separated list of IDs. e.g. 188,320,500"
649
- msgstr ""
650
-
651
- #: admin/main-view.php:331
652
- msgid "Exclude Categories:"
653
- msgstr ""
654
-
655
- #: admin/main-view.php:346
656
- msgid ""
657
- "Comma separated list of category slugs. The field above has an autocomplete "
658
- "so simply start typing in the starting letters and it will prompt you with "
659
- "options"
660
- msgstr ""
661
-
662
- #: admin/main-view.php:351
663
- msgid "Title of popular posts:"
664
- msgstr ""
665
-
666
- #: admin/main-view.php:357
667
- msgid "Title of daily popular posts:"
668
- msgstr ""
669
-
670
- #: admin/main-view.php:363
671
- msgid "When there are no posts, what should be shown?"
672
- msgstr ""
673
-
674
- #: admin/main-view.php:367
675
- msgid "Blank Output"
676
- msgstr ""
677
-
678
- #: admin/main-view.php:371
679
- msgid "Display:"
680
- msgstr ""
681
-
682
- #: admin/main-view.php:376
683
- msgid "Show post excerpt in list?"
684
- msgstr "Afficher le fragment du message dans la liste?"
685
-
686
- #: admin/main-view.php:382
687
- msgid "Length of excerpt (in words):"
688
- msgstr ""
689
-
690
- #: admin/main-view.php:388
691
- #, fuzzy
692
- msgid "Show post author in list?"
693
- msgstr "Afficher le fragment du message dans la liste?"
694
-
695
- #: admin/main-view.php:394
696
- #, fuzzy
697
- msgid "Show post date in list?"
698
- msgstr "Afficher le fragment du message dans la liste?"
699
-
700
- #: admin/main-view.php:400
701
- msgid "Limit post title length (in characters)"
702
- msgstr ""
703
-
704
- #: admin/main-view.php:406
705
- #, fuzzy
706
- msgid "Show view count in list?"
707
- msgstr "Afficher le fragment du message dans la liste?"
708
-
709
- #: admin/main-view.php:412
710
- msgid "Open links in new window"
711
- msgstr ""
712
-
713
- #: admin/main-view.php:418
714
- msgid "Add nofollow attribute to links in the list"
715
- msgstr ""
716
-
717
- #: admin/main-view.php:424
718
- msgid "Exclude display of related posts on these posts / pages"
719
- msgstr ""
720
-
721
- #: admin/main-view.php:431
722
- #, fuzzy
723
- msgid "Customise the list HTML"
724
- msgstr "Paramétrer la sortie:"
725
-
726
- #: admin/main-view.php:434
727
- msgid "HTML to display before the list of posts:"
728
- msgstr ""
729
-
730
- #: admin/main-view.php:440
731
- msgid "HTML to display before each list item:"
732
- msgstr ""
733
-
734
- #: admin/main-view.php:446
735
- msgid "HTML to display after each list item:"
736
- msgstr ""
737
-
738
- #: admin/main-view.php:452
739
- msgid "HTML to display after the list of posts:"
740
- msgstr ""
741
-
742
- #: admin/main-view.php:493
743
- msgid "Location of post thumbnail:"
744
- msgstr ""
745
-
746
- #: admin/main-view.php:497
747
- msgid "Display thumbnails inline with posts, before title"
748
- msgstr "Afficher le thumbnail encastré et les messages avant l'en-tête"
749
-
750
- #: admin/main-view.php:502
751
- msgid "Display thumbnails inline with posts, after title"
752
- msgstr "Afficher le thumbnail encastré et les messages après l'en-tête"
753
-
754
- #: admin/main-view.php:507
755
- msgid "Display only thumbnails, no text"
756
- msgstr "Afficher uniquement le thumbnail, sans le texte"
757
-
758
- #: admin/main-view.php:512
759
- msgid "Do not display thumbnails, only text."
760
- msgstr "Ne pas afficher le thumbnail, uniquement le texte"
761
-
762
- #: admin/main-view.php:516
763
- msgid ""
764
- "This setting cannot be changed because an inbuilt style has been selected "
765
- "under the Styles section. If you would like to change this option, please "
766
- "select No styles under the Styles section."
767
- msgstr ""
768
-
769
- #: admin/main-view.php:520
770
- msgid "Thumbnail size:"
771
- msgstr ""
772
-
773
- #: admin/main-view.php:544
774
- msgid "Custom size"
775
- msgstr ""
776
-
777
- #: admin/main-view.php:547
778
- msgid ""
779
- "You can choose from existing image sizes above or create a custom size. If "
780
- "you have chosen Custom size above, then enter the width, height and crop "
781
- "settings below. For best results, use a cropped image."
782
- msgstr ""
783
-
784
- #: admin/main-view.php:548
785
- msgid ""
786
- "If you change the width and/or height below, existing images will not be "
787
- "automatically resized."
788
- msgstr ""
789
-
790
- #: admin/main-view.php:549
791
- #, php-format
792
- msgid ""
793
- "I recommend using <a href='%s' class='thickbox'>OTF Regenerate Thumbnails</"
794
- "a> or <a href='%s' class='thickbox'>Regenerate Thumbnails</a> to regenerate "
795
- "all image sizes."
796
- msgstr ""
797
-
798
- #: admin/main-view.php:552
799
- msgid ""
800
- "If you're using the Left Thumbs style below then the thumbnail width and "
801
- "height that you set here will supersede the widget. Alternatively, choose "
802
- "<strong>Style attributes</strong> under <strong>Image size attributes</"
803
- "strong> option below"
804
- msgstr ""
805
-
806
- #: admin/main-view.php:555
807
- msgid "Width of custom thumbnail:"
808
- msgstr ""
809
-
810
- #: admin/main-view.php:560
811
- msgid "Height of custom thumbnail"
812
- msgstr ""
813
-
814
- #: admin/main-view.php:565
815
- msgid "Crop mode:"
816
- msgstr ""
817
-
818
- #: admin/main-view.php:569
819
- msgid ""
820
- "By default, thumbnails will be proportionately cropped. Check this box to "
821
- "hard crop the thumbnails."
822
- msgstr ""
823
-
824
- #: admin/main-view.php:570
825
- #, php-format
826
- msgid "<a href='%s' target='_blank'>Difference between soft and hard crop</a>"
827
- msgstr ""
828
-
829
- #: admin/main-view.php:574
830
- msgid "Image size attributes:"
831
- msgstr ""
832
-
833
- #: admin/main-view.php:578
834
- msgid "Style attributes are used for width and height."
835
- msgstr ""
836
-
837
- #: admin/main-view.php:583
838
- msgid "HTML width and height attributes are used for width and height."
839
- msgstr ""
840
-
841
- #: admin/main-view.php:588
842
- msgid "No HTML or Style attributes set for width and height"
843
- msgstr ""
844
-
845
- #: admin/main-view.php:593
846
- msgid "Post thumbnail meta field name:"
847
- msgstr ""
848
-
849
- #: admin/main-view.php:596
850
- msgid ""
851
- "The value of this field should contain the image source and is set in the "
852
- "<em>Add New Post</em> screen"
853
- msgstr ""
854
-
855
- #: admin/main-view.php:599
856
- #, fuzzy
857
- msgid ""
858
- "If the postmeta is not set, then should the plugin extract the first image "
859
- "from the post?"
860
- msgstr ""
861
- "Si le PostMeta n'est pas défini, alors le plugin doit extraire la première "
862
- "image du poste. Cela pourrait ralentir le chargement de votre poste, si la "
863
- "première image de la résolution correspondante du fichier est de taille "
864
- "supérieure"
865
-
866
- #: admin/main-view.php:602
867
- #, fuzzy
868
- msgid ""
869
- "This could slow down the loading of your page if the first image in the "
870
- "related posts is large in file-size"
871
- msgstr ""
872
- "Si le PostMeta n'est pas défini, alors le plugin doit extraire la première "
873
- "image du poste. Cela pourrait ralentir le chargement de votre poste, si la "
874
- "première image de la résolution correspondante du fichier est de taille "
875
- "supérieure"
876
-
877
- #: admin/main-view.php:605
878
- msgid "Use default thumbnail?"
879
- msgstr ""
880
-
881
- #: admin/main-view.php:608
882
- msgid ""
883
- "If checked, when no thumbnail is found, show a default one from the URL "
884
- "below. If not checked and no thumbnail is found, no image will be shown."
885
- msgstr ""
886
- "S'il a été déterminé, que le thumbnail n'a pas été trouvé, afficher le "
887
- "Thumbnail par défaut. S'il n'a pas été déterminé, que le thumbnail n'a pas "
888
- "été retrouvé, ne pas afficher l'image."
889
-
890
- #: admin/main-view.php:611
891
- msgid "Default thumbnail:"
892
- msgstr ""
893
-
894
- #: admin/main-view.php:615
895
- msgid ""
896
- "The plugin will first check if the post contains a thumbnail. If it doesn't "
897
- "then it will check the meta field. If this is not available, then it will "
898
- "show the default image as specified above"
899
- msgstr ""
900
-
901
- #: admin/main-view.php:654
902
- msgid "Style of the related posts:"
903
- msgstr ""
904
-
905
- #: admin/main-view.php:657
906
- msgid "No styles"
907
- msgstr ""
908
-
909
- #: admin/main-view.php:659
910
- msgid "Select this option if you plan to add your own styles"
911
- msgstr ""
912
-
913
- #: admin/main-view.php:664
914
- msgid "Left Thumbnails"
915
- msgstr ""
916
-
917
- #: admin/main-view.php:667
918
- msgid ""
919
- "Enabling this option will set the post thumbnail to be before text. "
920
- "Disabling this option will not revert any settings."
921
- msgstr ""
922
-
923
- #: admin/main-view.php:668
924
- #, php-format
925
- msgid ""
926
- "You can view the default style at <a href=\"%1$s\" target=\"_blank\">%1$s</a>"
927
- msgstr ""
928
-
929
- #: admin/main-view.php:672
930
- msgid "Text only"
931
- msgstr ""
932
-
933
- #: admin/main-view.php:674
934
- msgid ""
935
- "Enabling this option will disable thumbnails and no longer include the "
936
- "default style sheet included in the plugin."
937
- msgstr ""
938
-
939
- #: admin/main-view.php:690
940
- msgid "Custom CSS to add to header:"
941
- msgstr ""
942
-
943
- #: admin/main-view.php:695
944
- msgid ""
945
- "Do not include <code>style</code> tags. Check out the <a href=\"http://"
946
- "wordpress.org/extend/plugins/top-10/faq/\" target=\"_blank\">FAQ</a> for "
947
- "available CSS classes to style."
948
- msgstr ""
949
-
950
- #: admin/main-view.php:715
951
- #, fuzzy
952
- msgid "Default Options"
953
- msgstr "Paramètres de sortie"
954
-
955
- #: admin/main-view.php:715
956
- msgid "Do you want to set options to Default?"
957
- msgstr "Définir les paramètres par défaut?"
958
-
959
- #: admin/main-view.php:739
960
- msgid ""
961
- "Over time the Daily Top 10 database grows in size, which reduces the "
962
- "performance of the plugin. Cleaning the database at regular intervals could "
963
- "improve performance, especially on high traffic blogs. Enabling maintenance "
964
- "will automatically delete entries older than 90 days."
965
- msgstr ""
966
-
967
- #: admin/main-view.php:740
968
- msgid ""
969
- "Note: When scheduled maintenance is enabled, WordPress will run the cron job "
970
- "everytime the job is rescheduled (i.e. you change the settings below)."
971
- msgstr ""
972
-
973
- #: admin/main-view.php:743
974
- msgid "Enable scheduled maintenance of daily tables:"
975
- msgstr ""
976
-
977
- #: admin/main-view.php:747
978
- msgid "Time to run maintenance"
979
- msgstr ""
980
-
981
- #: admin/main-view.php:748
982
- msgid "hrs"
983
- msgstr ""
984
-
985
- #: admin/main-view.php:748
986
- msgid "min"
987
- msgstr ""
988
-
989
- #: admin/main-view.php:750
990
- msgid "How often should the maintenance be run:"
991
- msgstr ""
992
-
993
- #: admin/main-view.php:758
994
- msgid "Weekly"
995
- msgstr ""
996
-
997
- #: admin/main-view.php:762
998
- msgid "Fortnightly"
999
- msgstr ""
1000
-
1001
- #: admin/main-view.php:766
1002
- msgid "Monthly"
1003
- msgstr ""
1004
-
1005
- #: admin/main-view.php:775
1006
- msgid "The cron job has been scheduled. Maintenance will run"
1007
- msgstr ""
1008
-
1009
- #: admin/main-view.php:780
1010
- msgid "The cron job is missing. Please resave this page to add the job"
1011
- msgstr ""
1012
-
1013
- #: admin/main-view.php:785
1014
- msgid "Maintenance is turned off"
1015
- msgstr ""
1016
-
1017
- #: admin/main-view.php:791
1018
- msgid "Save Maintenance Options"
1019
- msgstr ""
1020
-
1021
- #: admin/main-view.php:799
1022
- msgid "Reset count and other tools"
1023
- msgstr ""
1024
-
1025
- #: admin/main-view.php:802
1026
- msgid ""
1027
- "This cannot be reversed. Make sure that your database has been backed up "
1028
- "before proceeding"
1029
- msgstr ""
1030
- "Cette action ne peut être annulée. Assurez-vous que la base de données a été "
1031
- "sauvegardée avant de poursuivre."
1032
-
1033
- #: admin/main-view.php:805
1034
- #, fuzzy
1035
- msgid "Reset Popular Posts"
1036
- msgstr "Postes populaires"
1037
-
1038
- #: admin/main-view.php:805
1039
- msgid "Are you sure you want to reset the popular posts?"
1040
- msgstr "Êtes-vous sûr de vouloir annuler les postes populaires?"
1041
-
1042
- #: admin/main-view.php:806
1043
- #, fuzzy
1044
- msgid "Reset Daily Popular Posts"
1045
- msgstr "Postes populaires journaliers"
1046
-
1047
- #: admin/main-view.php:806
1048
- msgid "Are you sure you want to reset the daily popular posts?"
1049
- msgstr "Êtes-vous sûr de vouloir annuler les postes populaires journaliers?"
1050
-
1051
- #: admin/main-view.php:809
1052
- msgid "This will merge post counts for posts with table entries of 0 and 1"
1053
- msgstr ""
1054
-
1055
- #: admin/main-view.php:812
1056
- msgid "Merge blog ID 0 and 1 post counts"
1057
- msgstr ""
1058
-
1059
- #: admin/main-view.php:812
1060
- msgid "This will merge post counts for blog IDs 0 and 1. Proceed?"
1061
- msgstr ""
1062
-
1063
- #: admin/main-view.php:815
1064
- msgid ""
1065
- "In older versions, the plugin created entries with duplicate post IDs. "
1066
- "Clicking the button below will merge these duplicate IDs"
1067
- msgstr ""
1068
-
1069
- #: admin/main-view.php:818
1070
- msgid "Merge duplicates across blog IDs"
1071
- msgstr ""
1072
-
1073
- #: admin/main-view.php:818
1074
- msgid "This will delete the duplicate entries in the tables. Proceed?"
1075
- msgstr ""
1076
- "Cela supprimera les doubles des enregistrements dans les tableaux. Continuer?"
1077
-
1078
- #: admin/main-view.php:835
1079
- msgid "WordPress Multisite: Migrate Top 10 v1.x counts to 2.x"
1080
- msgstr ""
1081
-
1082
- #: admin/main-view.php:838
1083
- msgid ""
1084
- "If you've been using Top 10 v1.x on multisite, you would have needed to "
1085
- "activate the plugin independently for each site. This would have resulted in "
1086
- "two tables being created for each site in the network."
1087
- msgstr ""
1088
-
1089
- #: admin/main-view.php:839
1090
- msgid ""
1091
- "Top 10 v2.x onwards uses only a single table to record the count, keeping "
1092
- "your database clean. You can use this tool to import the recorded counts "
1093
- "from v1.x tables to the new v2.x table format."
1094
- msgstr ""
1095
-
1096
- #: admin/main-view.php:842
1097
- msgid ""
1098
- "If you do not see any tables below, then it means that either all data has "
1099
- "already been imported or no relevant information has been found."
1100
- msgstr ""
1101
-
1102
- #: admin/main-view.php:845
1103
- msgid ""
1104
- "After running the importer, please verify that all the counts have been "
1105
- "successfully imported. Only then should you delete any old tables!"
1106
- msgstr ""
1107
-
1108
- #: admin/main-view.php:879
1109
- msgid "Blog ID"
1110
- msgstr ""
1111
-
1112
- #: admin/main-view.php:882
1113
- msgid "Status"
1114
- msgstr ""
1115
-
1116
- #: admin/main-view.php:885
1117
- msgid "Select to import"
1118
- msgstr ""
1119
-
1120
- #: admin/main-view.php:895
1121
- msgid "Blog #"
1122
- msgstr ""
1123
-
1124
- #: admin/main-view.php:905
1125
- msgid "Not imported"
1126
- msgstr ""
1127
-
1128
- #: admin/main-view.php:909
1129
- msgid "Imported"
1130
- msgstr ""
1131
-
1132
- #: admin/main-view.php:930
1133
- msgid "Begin import"
1134
- msgstr ""
1135
-
1136
- #: admin/main-view.php:931
1137
- msgid "Delete selected tables"
1138
- msgstr ""
1139
-
1140
- #: admin/main-view.php:932
1141
- msgid "Delete all imported tables"
1142
- msgstr ""
1143
-
1144
- #: includes/class-top-10-widget.php:31
1145
- #, fuzzy
1146
- msgid "Popular Posts [Top 10]"
1147
- msgstr "Postes populaires"
1148
-
1149
- #: includes/class-top-10-widget.php:32
1150
- #, fuzzy
1151
- msgid "Display popular posts"
1152
- msgstr "Postes populaires journaliers"
1153
-
1154
- #: includes/class-top-10-widget.php:76
1155
- msgid "No. of posts"
1156
- msgstr ""
1157
-
1158
- #: includes/class-top-10-widget.php:82
1159
- msgid "Custom time period (Enter below)"
1160
- msgstr ""
1161
-
1162
- #: includes/class-top-10-widget.php:86
1163
- msgid "In days and hours (applies only to custom option above)"
1164
- msgstr ""
1165
-
1166
- #: includes/class-top-10-widget.php:91
1167
- msgid "hours"
1168
- msgstr ""
1169
-
1170
- #: includes/class-top-10-widget.php:96
1171
- #, fuzzy
1172
- msgid "Show count?"
1173
- msgstr "Afficher le fragment du message dans la liste?"
1174
-
1175
- #: includes/class-top-10-widget.php:101
1176
- #, fuzzy
1177
- msgid "Show excerpt?"
1178
- msgstr "Afficher le fragment du message dans la liste?"
1179
-
1180
- #: includes/class-top-10-widget.php:106
1181
- #, fuzzy
1182
- msgid "Show author?"
1183
- msgstr "Afficher le fragment du message dans la liste?"
1184
-
1185
- #: includes/class-top-10-widget.php:111
1186
- #, fuzzy
1187
- msgid "Show date?"
1188
- msgstr "Afficher le fragment du message dans la liste?"
1189
-
1190
- #: includes/class-top-10-widget.php:117
1191
- #, fuzzy
1192
- msgid "Thumbnails inline, before title"
1193
- msgstr "Afficher le thumbnail encastré et les messages avant l'en-tête"
1194
-
1195
- #: includes/class-top-10-widget.php:118
1196
- #, fuzzy
1197
- msgid "Thumbnails inline, after title"
1198
- msgstr "Afficher le thumbnail encastré et les messages après l'en-tête"
1199
-
1200
- #: includes/class-top-10-widget.php:119
1201
- #, fuzzy
1202
- msgid "Only thumbnails, no text"
1203
- msgstr "Afficher uniquement le thumbnail, sans le texte"
1204
-
1205
- #: includes/class-top-10-widget.php:120
1206
- #, fuzzy
1207
- msgid "No thumbnails, only text."
1208
- msgstr "Ne pas afficher le thumbnail, uniquement le texte"
1209
-
1210
- #: includes/class-top-10-widget.php:125
1211
- #, fuzzy
1212
- msgid "Thumbnail height"
1213
- msgstr "Options thumbnail des messages:"
1214
-
1215
- #: includes/class-top-10-widget.php:131
1216
- #, fuzzy
1217
- msgid "Thumbnail width"
1218
- msgstr "Options thumbnail des messages:"
1219
-
1220
- #: includes/class-top-10-widget.php:135
1221
- msgid "Post types to include:"
1222
- msgstr ""
1223
-
1224
- #: includes/media.php:63
1225
- msgid "thumb_timthumb argument has been deprecated"
1226
- msgstr ""
1227
-
1228
- #: includes/media.php:67
1229
- msgid "thumb_timthumb_q argument has been deprecated"
1230
- msgstr ""
1231
-
1232
- #: includes/media.php:71
1233
- msgid "filter argument has been deprecated"
1234
- msgstr ""
1235
-
1236
- #: includes/output-generator.php:239
1237
- msgid " by "
1238
- msgstr ""
1239
-
1240
- #: top-10.php:157
1241
- msgid ""
1242
- "posts_only argument has been deprecated. Use get_tptn_pop_posts() to get the "
1243
- "posts only."
1244
- msgstr ""
1245
-
1246
- #: top-10.php:264
1247
- #, php-format
1248
- msgid "Popular posts by <a href=\"%s\" rel=\"nofollow\" %s>Top 10 plugin</a>"
1249
- msgstr ""
1250
-
1251
- #: top-10.php:610
1252
- msgid "<h3>Popular Posts</h3>"
1253
- msgstr "<h3>Postes populaires</h3>"
1254
-
1255
- #: top-10.php:611
1256
- msgid "<h3>Daily Popular</h3>"
1257
- msgstr "<h3>Populaires Journaliers</h3>"
1258
-
1259
- #: top-10.php:612
1260
- #, fuzzy
1261
- msgid "No top posts yet"
1262
- msgstr "Annuler le top 10 des enregistrements les plus populaires"
1263
-
1264
- #: top-10.php:1093
1265
- msgid "Once Weekly"
1266
- msgstr ""
1267
-
1268
- #: top-10.php:1097
1269
- msgid "Once Fortnightly"
1270
- msgstr ""
1271
-
1272
- #: top-10.php:1101
1273
- msgid "Once Monthly"
1274
- msgstr ""
1275
-
1276
- #: top-10.php:1105
1277
- msgid "Once quarterly"
1278
- msgstr ""
1279
-
1280
- #~ msgid "View Daily Popular Posts"
1281
- #~ msgstr "Voir les postes populaires journaliers"
1282
-
1283
- #~ msgid "Results per-page:"
1284
- #~ msgstr "Résultats par page:"
1285
-
1286
- #~ msgid "View Overall Popular Posts"
1287
- #~ msgstr "Voir tous les postes populaires"
1288
-
1289
- #~ msgid "Previous"
1290
- #~ msgstr "Précédente"
1291
-
1292
- #~ msgid "Next"
1293
- #~ msgstr "Suivante"
1294
-
1295
- #~ msgid "Daily Popular"
1296
- #~ msgstr "Populaires journaliers"
1297
-
1298
- #~ msgid "Options saved successfully."
1299
- #~ msgstr "Les options sont sauvegardées avec succès"
1300
-
1301
- #~ msgid "Number of popular posts to display: "
1302
- #~ msgstr "Le nombre de populaires sur le forum"
1303
-
1304
- #~ msgid "Exclude Categories: "
1305
- #~ msgstr "Exclure les catégories:"
1306
-
1307
- #~ msgid "Title of popular posts: "
1308
- #~ msgstr "Les en-têtes des messages populaires"
1309
-
1310
- #~ msgid "Title of daily popular posts: "
1311
- #~ msgstr "Les en-têtes des messages populaires journaliers"
1312
-
1313
- #~ msgid "Length of excerpt (in words): "
1314
- #~ msgstr "Longueur du fragment (mots):"
1315
-
1316
- #~ msgid "HTML to display before the list of posts: "
1317
- #~ msgstr "HTML d'affichage avant la liste des messages:"
1318
-
1319
- #~ msgid "HTML to display before each list item: "
1320
- #~ msgstr "HTML d'affichage avant chaque élément de la liste:"
1321
-
1322
- #~ msgid "HTML to display after each list item: "
1323
- #~ msgstr "HTML d'affichage après chaque élément de la liste:"
1324
-
1325
- #~ msgid "HTML to display after the list of posts: "
1326
- #~ msgstr "HTML d'affichage après la liste des messages:"
1327
-
1328
- #, fuzzy
1329
- #~ msgid "Post thumbnail meta field name: "
1330
- #~ msgstr "Options thumbnail des messages:"
1331
-
1332
- #~ msgid "Enter amount in USD: "
1333
- #~ msgstr "Saisir le montant en dollars US"
1334
-
1335
- #, fuzzy
1336
- #~ msgid "Overall Popular Posts"
1337
- #~ msgstr "Voir tous les postes populaires"
1338
-
1339
- #~ msgid "Reset count"
1340
- #~ msgstr "Réinitialiser le compteur"
1341
-
1342
- #~ msgid "Daily Popular should contain views of how many days? "
1343
- #~ msgstr ""
1344
- #~ "Le populaire journalier doit contenir l'information sur le nombre des "
1345
- #~ "jours"
1346
-
1347
- #, fuzzy
1348
- #~ msgid "Output options"
1349
- #~ msgstr "Paramètres de sortie"
1350
-
1351
- #, fuzzy
1352
- #~ msgid ""
1353
- #~ "Use <code>%totalcount%</code> to display the total count, <code>"
1354
- #~ "%dailycount%</code> to display the daily count and <code>%overallcount%</"
1355
- #~ "code> to display the overall count across all posts on the blog. e.g. the "
1356
- #~ "default options displays <code>(Visited 123 times, 23 visits today)</code>"
1357
- #~ msgstr ""
1358
- #~ "Appliquer <code>%totalcount%</code> pour l'affichage de la quantité "
1359
- #~ "totale, et code>%dailycount%</code> pour l'affichage des quantités "
1360
- #~ "journalières utiliser par exemple, les paramètres d'affichage par défaut "
1361
- #~ "<code>(Visited 123 times, 23 visits today)</code>"
1362
-
1363
- #~ msgid "Post thumbnail options:"
1364
- #~ msgstr "Options thumbnail des messages:"
1365
-
1366
- #~ msgid "Display the posts popular this week"
1367
- #~ msgstr "Afficher les postes populaires de la semaine"
1368
-
1369
- #, fuzzy
1370
- #~ msgid "This option uses JavaScript and will increase your page load time"
1371
- #~ msgstr ""
1372
- #~ "Rendre la liste des postes journaliers dynamiques? Cette option fait "
1373
- #~ "appel à JavaScript, le chargement du poste peut augmenter le temps du "
1374
- #~ "chargement de la page"
1375
-
1376
- #~ msgid "Display number of page views in popular lists?"
1377
- #~ msgstr ""
1378
- #~ "Afficher le nombre des visionnages des pages dans les listes de "
1379
- #~ "popularité?"
1380
-
1381
- #~ msgid "Recent developments"
1382
- #~ msgstr "Les derniers projets"
1383
-
1384
- #~ msgid "Results"
1385
- #~ msgstr "Résultats"
1386
-
1387
- #~ msgid "of"
1388
- #~ msgstr "de, du, de la, des"
1389
-
1390
- #~ msgid "Page"
1391
- #~ msgstr "Page"
1392
-
1393
- #, fuzzy
1394
- #~ msgid "Exclude Pages?"
1395
- #~ msgstr "Exclure les catégories:"
1396
-
1397
- #~ msgid ""
1398
- #~ "Exclude Pages in display of Popular Posts? Number of views on Pages will "
1399
- #~ "continue to be counted."
1400
- #~ msgstr ""
1401
- #~ "Éliminer d'affichage les pages du message populaire? Le nombre des "
1402
- #~ "visionnage des pages qui seront toujours prises en compte."
1403
-
1404
- #~ msgid "Follow @ajaydsouza on Twitter"
1405
- #~ msgstr "Follow @ajaydsouza sur Twitter"
1406
-
1407
- #~ msgid "Tables cleaned of duplicate rows"
1408
- #~ msgstr "Supprimer les lignes répétitives du tableau"
1409
-
1410
- #~ msgid ""
1411
- #~ "Display page views on Edit posts/pages in WP-Admin? An extra column is "
1412
- #~ "added with the count"
1413
- #~ msgstr ""
1414
- #~ "Afficher les visionnages des pages dans le rédacteur de messages / pages "
1415
- #~ "de WP-Admin? Une colonne supplémentaire avec graphe est rajoutée"
1416
-
1417
- #~ msgid ""
1418
- #~ "Post thumbnail meta field (the meta should point to the image source): "
1419
- #~ msgstr "Afficher meta field thumbnail, doit pointer sur l'image initiale:"
1420
-
1421
- #~ msgid "Thumbnail dimensions:"
1422
- #~ msgstr "Dimension thumbnail:"
1423
-
1424
- #~ msgid "Max width: "
1425
- #~ msgstr "Largeur maximale:"
1426
-
1427
- #~ msgid "Max height: "
1428
- #~ msgstr "Hauteur maximale:"
1429
-
1430
- #~ msgid "Top 10 "
1431
- #~ msgstr "Тоp 10"
1432
-
1433
- #~ msgid "Display the posts popular today"
1434
- #~ msgstr "Afficher les postes populaires aujourd'hui"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
readme.txt CHANGED
@@ -1,282 +1,289 @@
1
- === Top 10 - Popular posts plugin for WordPress ===
2
- Tags: popular posts, top 10, counter, top posts, daily popular, page views, statistics
3
- Contributors: Ajay
4
- Donate link: https://ajaydsouza.com/donate/
5
- Stable tag: trunk
6
- Requires at least: 3.5
7
- Tested up to: 4.4
8
- License: GPLv2 or later
9
-
10
- Track daily and total visits on your blog posts. Display the count as well as popular and trending posts.
11
-
12
- == Description ==
13
-
14
- WordPress doesn't have an in-built support tracking page views or displaying popular posts. [Top 10](https://webberzone.com/plugins/top-10/) is an easy to use, yet, powerful WordPress plugin that will count the number of page views of your posts, pages and any custom post types. You can then display the page view counts as well as display your most popular posts.
15
-
16
- Top 10 will add a widget that you can use to display the popular posts list.
17
-
18
- Although several similar plugins exist today, Top 10 is one of the most feature rich popular post plugins with support for thumbnails, shortcodes, widgets, custom post types and CSS styles. The inbuilt caching system also helps reduce server load by caching your popular posts output. The tracking uses ajax and is thus compatible with most popular caching plugins.
19
-
20
- Top 10 also has powerful API and is fully extendable with WordPress actions and filters to allow you easily extend the code base to add new features or tweak existing ones.
21
-
22
- = Features =
23
-
24
- * **Page counter**: Counts page views on single posts, pages and *custom post types* on an hourly basis which can then be easily displayed automatically, using shortcodes or functions.
25
- * **Popular posts**: Display a list of popular posts either for total counts or for a custom period. You can choose how many posts are to be displayed along with loads of other customisation options
26
- * **Widget ready**: Sidebar widgets available for daily popular and overall popular posts. Highly customizable widgets to control what you want to display in the list of posts
27
- * **Shortcodes**: The plugin includes two shortcodes `[tptn_list]` and `[tptn_views]` to display the posts list and the number of views respectively
28
- * **Thumbnail support**
29
- * Support for WordPress post thumbnails. Top 10 will create a custom image size (`tptn_thumbnail`) with the dimensions specified in the Settings page
30
- * Auto-extract the first image in your post to be displayed as a thumbnail
31
- * Manually enter the URL of the thumbnail via [WordPress meta fields](http://codex.wordpress.org/Custom_Fields). Specify this using the meta box in your Edit screens.
32
- * **Exclusions**: Exclude posts from select categories from appearing in the top posts list. Also exclude posts by ID from appearing in the list
33
- * **Styles**: The output is wrapped in CSS classes which allows you to easily style the list. You can enter your custom CSS styles from within WordPress Admin area or use the style included.
34
- * **Admin interface**: View list of daily and/or overall popular posts from within the dashboard. Top 10 also adds two sortable columns to your All Posts and All Pages pages in your WordPress Admin area
35
- * **Works with caching plugins** like WP-Super-Cache, W3 Total Cache or Quick Cache
36
- * **Extendable code**: Top 10 has tonnes of filters and actions that allow any developer to easily add features, edit outputs, etc.
37
-
38
- = Donations =
39
-
40
- I spend a significant amount of my free time maintaining, updating and more importantly supporting this plugin. Those who have sought support in the support forums know that I have done my best to answer your question and solve your problem.
41
- If you have been using this plugin and find this useful, do consider making a donation. This helps me pay for my hosting and domains.
42
-
43
- = Translations =
44
- Top 10 is now on Transifex with several translations made available by the [WP Translations](http://wp-translations.org). If you're a translator, do consider joining the WP Translations team and contribute towards this and a huge number of WordPress plugins.
45
-
46
- Visit [Top 10 on Transifex](https://www.transifex.com/wp-translations/top-10/).
47
-
48
-
49
- = Contribute =
50
-
51
- Top 10 is also available on [Github](https://github.com/ajaydsouza/top-10)
52
- So, if you've got some cool feature that you'd like to implement into the plugin or a bug you've been able to fix, consider forking the project and sending me a pull request.
53
-
54
-
55
- == Screenshots ==
56
-
57
- 1. Top 10 options - General options
58
- 2. Top 10 options - Counter and Tracker options
59
- 3. Top 10 options - Popular post list options
60
- 4. Top 10 options - Thumbnail options
61
- 5. Top 10 options - Styles
62
- 6. Top 10 options - Maintenance
63
- 7. Top 10 widget options
64
- 8. Top 10 Meta box on the Edit Post screen
65
- 9. WordPress Multisite: Import Top 10 v1.x counts
66
  10. Reset count and tools
67
- 11. Top 10 - Popular posts view in Admin
68
-
69
- == Installation ==
70
-
71
- = WordPress install (the easy way) =
72
- 1. Navigate to Plugins within your WordPress Admin Area
73
-
74
- 2. Click "Add new" and in the search box enter "Top 10"
75
-
76
- 3. Find the plugin in the list (usually the first result) and click "Install Now"
77
-
78
- = Manual install =
79
- 1. Download the plugin
80
-
81
- 2. Extract the contents of top-10.zip to wp-content/plugins/ folder. You should get a folder called top-10.
82
-
83
- 3. Activate the Plugin in WP-Admin.
84
-
85
- 4. Go to **Top 10** to configure
86
-
87
- 5. Go to **Appearance &raquo; Widgets** to add the Popular Posts sidebar widget to your theme
88
-
89
- 6. Go to **Top 10 &raquo; View Popular Posts** to view the list of popular posts
90
-
91
-
92
- == Frequently Asked Questions ==
93
-
94
- If your question isn't listed here, please create a new post at the [WordPress.org support forum](http://wordpress.org/support/plugin/top-10). It is the fastest way to get support as I monitor the forums regularly. I also provide [premium *paid* support via email](https://webberzone.com/support/).
95
-
96
-
97
- = How can I customise the output? =
98
-
99
- Several customization options are available via the Settings page in WordPress Admin. You can access this via <strong>Settings &raquo; Top 10</strong>
100
-
101
- The main CSS classes / IDs are available:
102
-
103
- * **tptn_posts** and **tptn_posts_daily**: Class of the main wrapper `div`. If you are displaying the related posts on non-singular pages, then you should style this
104
-
105
- * **tptn_title**: Class of the `span` tag for title of the post
106
-
107
- * **tptn_excerpt**: Class of the `span` tag for excerpt (if included)
108
-
109
- * **tptn_thumb**: Class of the post thumbnail `img` tag
110
-
111
- * **tptn_list_count**: Class of the `span` tag for post count in top posts list
112
-
113
- * **tptn_counter**: Class of the `div` tag that wraps the post count that is driven by the field "Format to display the count in: " under 'Output Options'
114
-
115
- = Shortcodes =
116
-
117
- You can insert the popular posts anywhere in your post using the `[tptn_list]` shortcode. The plugin takes three optional attributes `limit`, `heading` and `daily` as follows:
118
-
119
- `[tptn_list limit="5" heading="1" daily="0"]`
120
-
121
- *limit* : Maximum number of posts to return. The actual number displayed may be lower depending on the category / post exclusion settings.
122
-
123
- *heading* : By default, the heading you specify in **Title of popular posts:** under **Output options** will be displayed. You can override this by specifying your own heading e.g.
124
-
125
- `
126
- <h3>Top posts</h3>
127
- [tptn_list limit="2" heading="0"]
128
- `
129
- *daily* : If set to 1, then the shortcode will return the daily popular posts list
130
-
131
- In addition to these attributes, the shortcode can take all the options as attributes. To see the detailed list take a look at the function `tptn_default_options()` in **top-10.php** file
132
-
133
-
134
- You can also display the number of visits using the `[tptn_views]` shortcode. The plugin takes one optional attribute `daily` as follows:
135
-
136
- `[tptn_views daily="0"]`
137
-
138
- *daily* : If set to 1, then the shortcode will return the number of _daily_ views
139
-
140
-
141
- = Manual install =
142
-
143
- You may choose to not display the post count automatically. If you do so, then in order to display the post count, you will need to add `<?php if ( function_exists('echo_tptn_post_count') ) echo_tptn_post_count(); ?>`.
144
-
145
- In order to display the most popular posts, you will need to add `<?php if ( function_exists('tptn_show_pop_posts') ) tptn_show_pop_posts(); ?>`.
146
-
147
- In order to display the most popular posts, you will need to add `<?php if ( function_exists('tptn_show_daily_pop_posts') ) tptn_show_daily_pop_posts(); ?>`.
148
-
149
- You can also use the WordPress Widgets to display the popular posts in your sidebar / other widgetized areas of your theme or use the API to fetch the posts. [View an example](https://gist.github.com/ajaydsouza/c8defd4b46e53240e376)
150
-
151
- = Can this plugin replace Google Analytics? =
152
-
153
- No. Top 10 has been designed to only track the number of page-views on your blog posts and display the same. It isn't designed to replace Google Analytics or any other full fledged statistics application.
154
-
155
- = How does the scheduled maintenance work? =
156
-
157
- When you enabled the scheduled maintenance, Top 10 will create a cron job that will run at a predefined interval and clean up old entries from the `wp_top_ten_daily` table.
158
- *Note: If you enable this option, WordPress will execute this job when it is scheduled the first time*
159
-
160
- = How to make the columns on the Custom Posts pages sortable? =
161
- Add the following code to your functions.php file of your theme.
162
-
163
- `
164
- add_filter( 'manage_edit-{$cpt}_sortable_columns', 'tptn_column_register_sortable' );
165
- `
166
-
167
- Replace `{$cpt}` by the slug of your custom post type. E.g. to make the columns on your 'projects' post type sortable, you will need to add:
168
- `
169
- add_filter( 'manage_edit-projects_sortable_columns', 'tptn_column_register_sortable' );
170
- `
171
-
172
-
173
- == Changelog ==
174
-
175
- = 2.2.3 =
176
-
177
- * Bug fixes:
178
- * Shortcode with "exclude_categories" argument works again
179
-
180
- = 2.2.2 =
181
-
182
- * Bug fixes:
183
- * Fixed array declaration to support PHP < 5.4
184
-
185
- = 2.2.0 =
186
-
187
- * Features:
188
- * Caching system using the Transients API. By default the cache is refreshed every hour
189
- * Styles interface lets you select between No styles, Left Thumbs (previously the default style) and Text Only
190
- * Option to limit posts only with a specified date range
191
- * Option in Top 10 meta box to exclude display of popular posts in widget if needed
192
- * Option in Top 10 meta box to exclude post from popular posts list
193
- * Cleaner interface to view popular posts in the admin area
194
-
195
- * Enhancements:
196
- * `strict_limit` is true by default for `get_tptn_pop_posts()`
197
- * Option to turn off the meta box for everyone or just non-admins
198
- * Contributors & above can also update the visit count in the meta box if this is enabled for them
199
- * Category exclusion now works via a filter function vs. multiple lookups, thereby reducing the number of database queries
200
-
201
- * Bug fixes:
202
- * Potential bug when the $wp variable was not detected in rare situations
203
- * In rare cases category exclusion failed when `term_id` didn't match `term_taxonomy_id`
204
-
205
- * Deprecated:
206
- * `ald_tptn_rss`: Use `tptn_rss_filter` instead
207
- * `ald_tptn_hook` deprecated and renamed to `tptn_cron_hook`
208
- * `tptn_manage` and `tptn_manage_daily` which were used to render the admin popular posts screens
209
-
210
- = 2.1.0 =
211
-
212
- * Features:
213
- * New: Button in Top 10 settings page to merge posts across blog ID 0 and 1
214
- * New: Function & filter `get_tptn_pop_posts` that can be used to fetch the popular posts as an object or array. Perfect if you want to write custom code in your theme
215
- * New: Support for WPML to return the correct language ID. Thanks to Tony Flags' <a href="https://wordpress.org/support/topic/top-10-and-languages-in-wpml?replies=11#post-6622085">code snippet</a>.
216
- * New: Filter `tptn_list_count` to modify the formatted list count. See a <a href="https://gist.github.com/ajaydsouza/9f04c26814414a57fab4">working example</a>
217
- * New: Post types can now be selected in the widget. This allows you to select top posts by post type
218
-
219
- * Enhancements:
220
- * Modified: Plugin will attempt to pull the correct size image when fetching the first image in a post
221
- * Modified: Deprecated "Always display latest post count in the daily lists"
222
- * Modified: timthumb has been deprecated. The script is no longer packaged within Top 10
223
-
224
- * Bug fixes:
225
- * Fixed: Bug in tracking code when not using Ajax
226
- * Fixed: Bug in admin column did not check for the blog_id
227
- * Fixed: Bug where default thumbnail location was not correctly saved
228
- * Fixed: Incorrect thumbnail was pulled on attachment pages
229
- * Fixed: blog_id column of the database is correctly initialised as `DEFAULT '1'`
230
-
231
- = 2.0.3 =
232
-
233
- * Features:
234
- * New: Options to choose if you want to delete the Top 10 options and/or data when deleting the plugin
235
-
236
- * Bug fixes:
237
- * Fixed: Metabox update did not work properly in v2.0
238
- * Fixed: Duplicate include files
239
- * Modified: In the mySQL tables, the blog_id default value is set to 1
240
-
241
- = 2.0.2 =
242
-
243
- * Features:
244
- * New: Option to display the daily posts count from midnight. This is enabled by default and mimics the original behaviour of the counter in Top 10 v1.x
245
-
246
- * Enhancements:
247
- * Modified: Posts are tracked hourly based on the time of the blog and not GMT. This was also the default behaviour of the counter in Top 10 v1.x
248
-
249
- * Bug fixes:
250
- * Fixed: Default thumbnail location saved correctly on the Settings page.
251
-
252
- = 2.0.1 =
253
-
254
- * Bug fixes
255
- * 500/503 errors caused by 2.0.0
256
-
257
- = 2.0.0 =
258
-
259
- * Features:
260
- * New: Multisite support. If you're using multisite and have previously activated Top 10 on individual blogs in the network, then head over to **Top 10 Settings** and import the counts from the old Top 10 1.x tables to the new Top 10 v2.0 tables
261
- * New: Fully extendable lookup query for the top lists. Now you can create your own functions in functions.php or in addon plugins to modify the mySQL query
262
- * New: Option to use any of the inbuilt thumbnail sizes or create your own custom image size. If a custom size is chosen, then the plugin uses `add_image_size` to register the custom size. You will need to resize your thumbnails after activating this option
263
- * New: Actions and filters in the Top 10 Settings page and in the widget which allows for addons to add more settings
264
-
265
- * Enhancements:
266
- * Modified: Post tracking is now done on an hourly basis. Date limiting is also on an hourly basis. So, 1 day is actually the last 24 hours and not from midnight anymore!
267
- * Modified: Update and View counts now use query variables instead of external JavaScript files. Check http://goo.gl/yemvyM for sample functions to restore the old method
268
- * Modified: Activating the default styles option will automatically set the thumbnail width and height to 65px, disable author and excerpt and enable crop mode for the thumbnails
269
-
270
- * Bug fixes:
271
- * Fixed: Fix schedule overwrite for the cron job
272
- * Fixed: Incorrect permission lookup in the metabox
273
-
274
- For previous changelog entries, please refer to the separate changelog.txt file
275
-
276
-
277
- == Upgrade Notice ==
278
-
279
- = 2.2.3 =
280
- * New features. Deprecated functions. Upgrade highly recommended. Please do verify your settings after the upgrade.
281
- Check the Changelog for more details
282
-
 
 
 
 
 
 
 
1
+ === Top 10 - Popular posts plugin for WordPress ===
2
+ Tags: popular posts, top 10, counter, top posts, daily popular, page views, statistics
3
+ Contributors: webberzone, Ajay
4
+ Donate link: https://ajaydsouza.com/donate/
5
+ Stable tag: trunk
6
+ Requires at least: 3.5
7
+ Tested up to: 4.4
8
+ License: GPLv2 or later
9
+
10
+ Track daily and total visits on your blog posts. Display the count as well as popular and trending posts.
11
+
12
+ == Description ==
13
+
14
+ WordPress doesn't have an in-built support tracking page views or displaying popular posts. [Top 10](https://webberzone.com/plugins/top-10/) is an easy to use, yet, powerful WordPress plugin that will count the number of page views of your posts, pages and any custom post types. You can then display the page view counts as well as display your most popular posts.
15
+
16
+ Top 10 will add a widget that you can use to display the popular posts list.
17
+
18
+ Although several similar plugins exist today, Top 10 is one of the most feature rich popular post plugins with support for thumbnails, shortcodes, widgets, custom post types and CSS styles. The inbuilt caching system also helps reduce server load by caching your popular posts output. The tracking uses ajax and is thus compatible with most popular caching plugins.
19
+
20
+ Top 10 also has powerful API and is fully extendable with WordPress actions and filters to allow you easily extend the code base to add new features or tweak existing ones.
21
+
22
+ = Features =
23
+
24
+ * **Page counter**: Counts page views on single posts, pages and *custom post types* on an hourly basis which can then be easily displayed automatically, using shortcodes or functions.
25
+ * **Popular posts**: Display a list of popular posts either for total counts or for a custom period. You can choose how many posts are to be displayed along with loads of other customisation options
26
+ * **Widget ready**: Sidebar widgets available for daily popular and overall popular posts. Highly customizable widgets to control what you want to display in the list of posts
27
+ * **Shortcodes**: The plugin includes two shortcodes `[tptn_list]` and `[tptn_views]` to display the posts list and the number of views respectively
28
+ * **Thumbnail support**
29
+ * Support for WordPress post thumbnails. Top 10 will create a custom image size (`tptn_thumbnail`) with the dimensions specified in the Settings page
30
+ * Auto-extract the first image in your post to be displayed as a thumbnail
31
+ * Manually enter the URL of the thumbnail via [WordPress meta fields](http://codex.wordpress.org/Custom_Fields). Specify this using the meta box in your Edit screens.
32
+ * **Exclusions**: Exclude posts from select categories from appearing in the top posts list. Also exclude posts by ID from appearing in the list
33
+ * **Styles**: The output is wrapped in CSS classes which allows you to easily style the list. You can enter your custom CSS styles from within WordPress Admin area or use the style included.
34
+ * **Admin interface**: View list of daily and/or overall popular posts from within the dashboard. Top 10 also adds two sortable columns to your All Posts and All Pages pages in your WordPress Admin area
35
+ * **Works with caching plugins** like WP-Super-Cache, W3 Total Cache or Quick Cache
36
+ * **Extendable code**: Top 10 has tonnes of filters and actions that allow any developer to easily add features, edit outputs, etc.
37
+
38
+ = Donations =
39
+
40
+ I spend a significant amount of my free time maintaining, updating and more importantly supporting this plugin. Those who have sought support in the support forums know that I have done my best to answer your question and solve your problem.
41
+ If you have been using this plugin and find this useful, do consider making a donation. This helps me pay for my hosting and domains.
42
+
43
+ = Translations =
44
+ Top 10 is now on Transifex with several translations made available by the [WP Translations](http://wp-translations.org). If you're a translator, do consider joining the WP Translations team and contribute towards this and a huge number of WordPress plugins.
45
+
46
+ Visit [Top 10 on Transifex](https://www.transifex.com/wp-translations/top-10/).
47
+
48
+
49
+ = Contribute =
50
+
51
+ Top 10 is also available on [Github](https://github.com/ajaydsouza/top-10)
52
+ So, if you've got some cool feature that you'd like to implement into the plugin or a bug you've been able to fix, consider forking the project and sending me a pull request.
53
+
54
+
55
+ == Screenshots ==
56
+
57
+ 1. Top 10 options - General options
58
+ 2. Top 10 options - Counter and Tracker options
59
+ 3. Top 10 options - Popular post list options
60
+ 4. Top 10 options - Thumbnail options
61
+ 5. Top 10 options - Styles
62
+ 6. Top 10 options - Maintenance
63
+ 7. Top 10 widget options
64
+ 8. Top 10 Meta box on the Edit Post screen
65
+ 9. WordPress Multisite: Import Top 10 v1.x counts
66
  10. Reset count and tools
67
+ 11. Top 10 - Popular posts view in Admin
68
+
69
+ == Installation ==
70
+
71
+ = WordPress install (the easy way) =
72
+ 1. Navigate to Plugins within your WordPress Admin Area
73
+
74
+ 2. Click "Add new" and in the search box enter "Top 10"
75
+
76
+ 3. Find the plugin in the list (usually the first result) and click "Install Now"
77
+
78
+ = Manual install =
79
+ 1. Download the plugin
80
+
81
+ 2. Extract the contents of top-10.zip to wp-content/plugins/ folder. You should get a folder called top-10.
82
+
83
+ 3. Activate the Plugin in WP-Admin.
84
+
85
+ 4. Go to **Top 10** to configure
86
+
87
+ 5. Go to **Appearance &raquo; Widgets** to add the Popular Posts sidebar widget to your theme
88
+
89
+ 6. Go to **Top 10 &raquo; View Popular Posts** to view the list of popular posts
90
+
91
+
92
+ == Frequently Asked Questions ==
93
+
94
+ If your question isn't listed here, please create a new post at the [WordPress.org support forum](http://wordpress.org/support/plugin/top-10). It is the fastest way to get support as I monitor the forums regularly. I also provide [premium *paid* support via email](https://webberzone.com/support/).
95
+
96
+
97
+ = How can I customise the output? =
98
+
99
+ Several customization options are available via the Settings page in WordPress Admin. You can access this via <strong>Settings &raquo; Top 10</strong>
100
+
101
+ The main CSS classes / IDs are available:
102
+
103
+ * **tptn_posts** and **tptn_posts_daily**: Class of the main wrapper `div`. If you are displaying the related posts on non-singular pages, then you should style this
104
+
105
+ * **tptn_title**: Class of the `span` tag for title of the post
106
+
107
+ * **tptn_excerpt**: Class of the `span` tag for excerpt (if included)
108
+
109
+ * **tptn_thumb**: Class of the post thumbnail `img` tag
110
+
111
+ * **tptn_list_count**: Class of the `span` tag for post count in top posts list
112
+
113
+ * **tptn_counter**: Class of the `div` tag that wraps the post count that is driven by the field "Format to display the count in: " under 'Output Options'
114
+
115
+ = Shortcodes =
116
+
117
+ You can insert the popular posts anywhere in your post using the `[tptn_list]` shortcode. The plugin takes three optional attributes `limit`, `heading` and `daily` as follows:
118
+
119
+ `[tptn_list limit="5" heading="1" daily="0"]`
120
+
121
+ *limit* : Maximum number of posts to return. The actual number displayed may be lower depending on the category / post exclusion settings.
122
+
123
+ *heading* : By default, the heading you specify in **Title of popular posts:** under **Output options** will be displayed. You can override this by specifying your own heading e.g.
124
+
125
+ `
126
+ <h3>Top posts</h3>
127
+ [tptn_list limit="2" heading="0"]
128
+ `
129
+ *daily* : If set to 1, then the shortcode will return the daily popular posts list
130
+
131
+ In addition to these attributes, the shortcode can take all the options as attributes. To see the detailed list take a look at the function `tptn_default_options()` in **top-10.php** file
132
+
133
+
134
+ You can also display the number of visits using the `[tptn_views]` shortcode. The plugin takes one optional attribute `daily` as follows:
135
+
136
+ `[tptn_views daily="0"]`
137
+
138
+ *daily* : If set to 1, then the shortcode will return the number of _daily_ views
139
+
140
+
141
+ = Manual install =
142
+
143
+ You may choose to not display the post count automatically. If you do so, then in order to display the post count, you will need to add `<?php if ( function_exists('echo_tptn_post_count') ) echo_tptn_post_count(); ?>`.
144
+
145
+ In order to display the most popular posts, you will need to add `<?php if ( function_exists('tptn_show_pop_posts') ) tptn_show_pop_posts(); ?>`.
146
+
147
+ In order to display the most popular posts, you will need to add `<?php if ( function_exists('tptn_show_daily_pop_posts') ) tptn_show_daily_pop_posts(); ?>`.
148
+
149
+ You can also use the WordPress Widgets to display the popular posts in your sidebar / other widgetized areas of your theme or use the API to fetch the posts. [View an example](https://gist.github.com/ajaydsouza/c8defd4b46e53240e376)
150
+
151
+ = Can this plugin replace Google Analytics? =
152
+
153
+ No. Top 10 has been designed to only track the number of page-views on your blog posts and display the same. It isn't designed to replace Google Analytics or any other full fledged statistics application.
154
+
155
+ = How does the scheduled maintenance work? =
156
+
157
+ When you enabled the scheduled maintenance, Top 10 will create a cron job that will run at a predefined interval and clean up old entries from the `wp_top_ten_daily` table.
158
+ *Note: If you enable this option, WordPress will execute this job when it is scheduled the first time*
159
+
160
+ = How to make the columns on the Custom Posts pages sortable? =
161
+ Add the following code to your functions.php file of your theme.
162
+
163
+ `
164
+ add_filter( 'manage_edit-{$cpt}_sortable_columns', 'tptn_column_register_sortable' );
165
+ `
166
+
167
+ Replace `{$cpt}` by the slug of your custom post type. E.g. to make the columns on your 'projects' post type sortable, you will need to add:
168
+ `
169
+ add_filter( 'manage_edit-projects_sortable_columns', 'tptn_column_register_sortable' );
170
+ `
171
+
172
+
173
+ == Changelog ==
174
+
175
+ = 2.2.4 =
176
+
177
+ * Enhancements:
178
+ * Changed text domain to `top-10` in advance of translate.wordpress.org translation system
179
+ * Improved support for WPML. If available, same language posts will be pulled by default. To restrict to the same language [add this code](https://gist.github.com/ajaydsouza/9b1bc56cec79295e784c) to your theme's functions.php file
180
+
181
+
182
+ = 2.2.3 =
183
+
184
+ * Bug fixes:
185
+ * Shortcode with "exclude_categories" argument works again
186
+
187
+ = 2.2.2 =
188
+
189
+ * Bug fixes:
190
+ * Fixed array declaration to support PHP < 5.4
191
+
192
+ = 2.2.0 =
193
+
194
+ * Features:
195
+ * Caching system using the Transients API. By default the cache is refreshed every hour
196
+ * Styles interface lets you select between No styles, Left Thumbs (previously the default style) and Text Only
197
+ * Option to limit posts only with a specified date range
198
+ * Option in Top 10 meta box to exclude display of popular posts in widget if needed
199
+ * Option in Top 10 meta box to exclude post from popular posts list
200
+ * Cleaner interface to view popular posts in the admin area
201
+
202
+ * Enhancements:
203
+ * `strict_limit` is true by default for `get_tptn_pop_posts()`
204
+ * Option to turn off the meta box for everyone or just non-admins
205
+ * Contributors & above can also update the visit count in the meta box if this is enabled for them
206
+ * Category exclusion now works via a filter function vs. multiple lookups, thereby reducing the number of database queries
207
+
208
+ * Bug fixes:
209
+ * Potential bug when the $wp variable was not detected in rare situations
210
+ * In rare cases category exclusion failed when `term_id` didn't match `term_taxonomy_id`
211
+
212
+ * Deprecated:
213
+ * `ald_tptn_rss`: Use `tptn_rss_filter` instead
214
+ * `ald_tptn_hook` deprecated and renamed to `tptn_cron_hook`
215
+ * `tptn_manage` and `tptn_manage_daily` which were used to render the admin popular posts screens
216
+
217
+ = 2.1.0 =
218
+
219
+ * Features:
220
+ * New: Button in Top 10 settings page to merge posts across blog ID 0 and 1
221
+ * New: Function & filter `get_tptn_pop_posts` that can be used to fetch the popular posts as an object or array. Perfect if you want to write custom code in your theme
222
+ * New: Support for WPML to return the correct language ID. Thanks to Tony Flags' <a href="https://wordpress.org/support/topic/top-10-and-languages-in-wpml?replies=11#post-6622085">code snippet</a>.
223
+ * New: Filter `tptn_list_count` to modify the formatted list count. See a <a href="https://gist.github.com/ajaydsouza/9f04c26814414a57fab4">working example</a>
224
+ * New: Post types can now be selected in the widget. This allows you to select top posts by post type
225
+
226
+ * Enhancements:
227
+ * Modified: Plugin will attempt to pull the correct size image when fetching the first image in a post
228
+ * Modified: Deprecated "Always display latest post count in the daily lists"
229
+ * Modified: timthumb has been deprecated. The script is no longer packaged within Top 10
230
+
231
+ * Bug fixes:
232
+ * Fixed: Bug in tracking code when not using Ajax
233
+ * Fixed: Bug in admin column did not check for the blog_id
234
+ * Fixed: Bug where default thumbnail location was not correctly saved
235
+ * Fixed: Incorrect thumbnail was pulled on attachment pages
236
+ * Fixed: blog_id column of the database is correctly initialised as `DEFAULT '1'`
237
+
238
+ = 2.0.3 =
239
+
240
+ * Features:
241
+ * New: Options to choose if you want to delete the Top 10 options and/or data when deleting the plugin
242
+
243
+ * Bug fixes:
244
+ * Fixed: Metabox update did not work properly in v2.0
245
+ * Fixed: Duplicate include files
246
+ * Modified: In the mySQL tables, the blog_id default value is set to 1
247
+
248
+ = 2.0.2 =
249
+
250
+ * Features:
251
+ * New: Option to display the daily posts count from midnight. This is enabled by default and mimics the original behaviour of the counter in Top 10 v1.x
252
+
253
+ * Enhancements:
254
+ * Modified: Posts are tracked hourly based on the time of the blog and not GMT. This was also the default behaviour of the counter in Top 10 v1.x
255
+
256
+ * Bug fixes:
257
+ * Fixed: Default thumbnail location saved correctly on the Settings page.
258
+
259
+ = 2.0.1 =
260
+
261
+ * Bug fixes
262
+ * 500/503 errors caused by 2.0.0
263
+
264
+ = 2.0.0 =
265
+
266
+ * Features:
267
+ * New: Multisite support. If you're using multisite and have previously activated Top 10 on individual blogs in the network, then head over to **Top 10 Settings** and import the counts from the old Top 10 1.x tables to the new Top 10 v2.0 tables
268
+ * New: Fully extendable lookup query for the top lists. Now you can create your own functions in functions.php or in addon plugins to modify the mySQL query
269
+ * New: Option to use any of the inbuilt thumbnail sizes or create your own custom image size. If a custom size is chosen, then the plugin uses `add_image_size` to register the custom size. You will need to resize your thumbnails after activating this option
270
+ * New: Actions and filters in the Top 10 Settings page and in the widget which allows for addons to add more settings
271
+
272
+ * Enhancements:
273
+ * Modified: Post tracking is now done on an hourly basis. Date limiting is also on an hourly basis. So, 1 day is actually the last 24 hours and not from midnight anymore!
274
+ * Modified: Update and View counts now use query variables instead of external JavaScript files. Check http://goo.gl/yemvyM for sample functions to restore the old method
275
+ * Modified: Activating the default styles option will automatically set the thumbnail width and height to 65px, disable author and excerpt and enable crop mode for the thumbnails
276
+
277
+ * Bug fixes:
278
+ * Fixed: Fix schedule overwrite for the cron job
279
+ * Fixed: Incorrect permission lookup in the metabox
280
+
281
+ For previous changelog entries, please refer to the separate changelog.txt file
282
+
283
+
284
+ == Upgrade Notice ==
285
+
286
+ = 2.2.4 =
287
+ * New features. Deprecated functions. Upgrade highly recommended. Please do verify your settings after the upgrade.
288
+ Check the Changelog for more details
289
+
top-10.php CHANGED
@@ -1,1275 +1,1289 @@
1
- <?php
2
- /**
3
- * Top 10.
4
- *
5
- * Count daily and total visits per post and display the most popular posts based on the number of views.
6
- *
7
- * @package Top_Ten
8
- * @author Ajay D'Souza <me@ajaydsouza.com>
9
- * @license GPL-2.0+
10
- * @link https://webberzone.com
11
- * @copyright 2008-2015 Ajay D'Souza
12
- *
13
- * @wordpress-plugin
14
- * Plugin Name: Top 10
15
- * Plugin URI: https://webberzone.com/plugins/top-10/
16
- * Description: Count daily and total visits per post and display the most popular posts based on the number of views
17
- * Version: 2.2.3
18
- * Author: Ajay D'Souza
19
- * Author URI: https://webberzone.com
20
- * Text Domain: tptn
21
- * License: GPL-2.0+
22
- * License URI: http://www.gnu.org/licenses/gpl-2.0.txt
23
- * Domain Path: /languages
24
- * GitHub Plugin URI: https://github.com/ajaydsouza/top-10/
25
- */
26
-
27
- // If this file is called directly, abort.
28
- if ( ! defined( 'WPINC' ) ) {
29
- die;
30
- }
31
-
32
-
33
- /**
34
- * Holds the filesystem directory path (with trailing slash) for Top 10
35
- *
36
- * @since 1.5
37
- *
38
- * @var string
39
- */
40
- $tptn_path = plugin_dir_path( __FILE__ );
41
-
42
-
43
- /**
44
- * Holds the URL for Top 10
45
- *
46
- * @since 1.5
47
- *
48
- * @var string
49
- */
50
- $tptn_url = plugins_url() . '/' . plugin_basename( dirname( __FILE__ ) );
51
-
52
-
53
- /**
54
- * Global variable holding the current database version of Top 10
55
- *
56
- * @since 1.0
57
- *
58
- * @var string
59
- */
60
- global $tptn_db_version;
61
- $tptn_db_version = "5.0";
62
-
63
-
64
- /**
65
- * Global variable holding the current settings for Top 10
66
- *
67
- * @since 1.9.3
68
- *
69
- * @var array
70
- */
71
- global $tptn_settings;
72
- $tptn_settings = tptn_read_options();
73
-
74
-
75
- /**
76
- * Function to load translation files.
77
- *
78
- * @since 1.9.10.1
79
- */
80
- function tptn_lang_init() {
81
- load_plugin_textdomain( 'tptn', false, dirname( plugin_basename( __FILE__ ) ) . '/languages/' );
82
- }
83
- add_action( 'init', 'tptn_lang_init' );
84
-
85
-
86
- /**
87
- * Function to return formatted list of popular posts.
88
- *
89
- * @since 1.5
90
- *
91
- * @param mixed $args Arguments array
92
- * @return array|string Array of posts if posts_only = 0 or a formatted string if posts_only = 1
93
- */
94
- function tptn_pop_posts( $args ) {
95
- global $wpdb, $id, $tptn_settings;
96
-
97
- // if set, save $exclude_categories
98
- if ( isset( $args['exclude_categories'] ) && '' != $args['exclude_categories'] ) {
99
- $exclude_categories = explode( ",", $args['exclude_categories'] );
100
- $args['strict_limit'] = FALSE;
101
- }
102
-
103
- $defaults = array(
104
- 'daily' => FALSE,
105
- 'is_widget' => FALSE,
106
- 'is_shortcode' => FALSE,
107
- 'is_manual' => FALSE,
108
- 'echo' => FALSE,
109
- 'strict_limit' => FALSE,
110
- 'posts_only' => FALSE,
111
- 'heading' => 1,
112
- );
113
-
114
- // Merge the $defaults array with the $tptn_settings array
115
- $defaults = array_merge( $defaults, $tptn_settings );
116
-
117
- // Parse incomming $args into an array and merge it with $defaults
118
- $args = wp_parse_args( $args, $defaults );
119
-
120
- $output = '';
121
-
122
- /**
123
- * Fires before the output processing begins.
124
- *
125
- * @since 2.2.0
126
- *
127
- * @param string $output Formatted list of top posts
128
- * @param array $args Array of arguments
129
- */
130
- do_action( 'pre_tptn_pop_posts', $output, $args );
131
-
132
- // Check if the cache is enabled and if the output exists. If so, return the output
133
- if ( $args['cache'] && ! $args['posts_only'] ) {
134
- $cache_name = 'tptn';
135
- $cache_name .= $args['daily'] ? '_daily' : '_total';
136
- $cache_name .= $args['is_widget'] ? '_widget' : '';
137
- $cache_name .= $args['is_shortcode'] ? '_shortcode' : '';
138
- $cache_name .= $args['is_manual'] ? '_manual' : '';
139
-
140
- $output = get_transient( $cache_name );
141
-
142
- if ( false !== $output ) {
143
-
144
- /**
145
- * Filter the output
146
- *
147
- * @since 1.9.8.5
148
- *
149
- * @param string $output Formatted list of top posts
150
- * @param array $args Array of arguments
151
- */
152
- return apply_filters( 'tptn_pop_posts', $output, $args );
153
- }
154
- }
155
-
156
- // Get thumbnail size
157
- list( $args['thumb_width'], $args['thumb_height'] ) = tptn_get_thumb_size( $args );
158
-
159
- // Retrieve the popular posts
160
- $results = get_tptn_pop_posts( $args );
161
-
162
- if ( $args['posts_only'] ) { // Return the array of posts only if the variable is set
163
- _deprecated_argument( __FUNCTION__, '2.2.0', __( 'posts_only argument has been deprecated. Use get_tptn_pop_posts() to get the posts only.', 'tptn' ) );
164
- return $results;
165
- }
166
-
167
- $counter = 0;
168
-
169
- $daily_class = $args['daily'] ? 'tptn_posts_daily ' : 'tptn_posts ';
170
- $widget_class = $args['is_widget'] ? ' tptn_posts_widget' : '';
171
- $shortcode_class = $args['is_shortcode'] ? ' tptn_posts_shortcode' : '';
172
-
173
- $post_classes = $daily_class . $widget_class . $shortcode_class;
174
-
175
- /**
176
- * Filter the classes added to the div wrapper of the Top 10.
177
- *
178
- * @since 2.1.0
179
- *
180
- * @param string $post_classes Post classes string.
181
- */
182
- $post_classes = apply_filters( 'tptn_post_class', $post_classes );
183
-
184
- $output .= '<div class="' . $post_classes . '">';
185
-
186
- if ( $results ) {
187
-
188
- $output .= tptn_heading_title( $args );
189
-
190
- $output .= tptn_before_list( $args );
191
-
192
- // We need this for WPML support
193
- $processed_results = array();
194
-
195
- foreach ( $results as $result ) {
196
- /* Support WPML */
197
- $resultid = tptn_object_id_cur_lang( $result->ID );
198
-
199
- if ( in_array( $resultid, $processed_results ) ) {
200
- continue;
201
- }
202
-
203
- array_push( $processed_results, $resultid );
204
-
205
- $sumcount = $result->sumCount; // Store the count. We'll need this later
206
-
207
- /**
208
- * Filter the post ID for each result. Allows a custom function to hook in and change the ID if needed.
209
- *
210
- * @since 1.9.8.5
211
- *
212
- * @param int $resultid ID of the post
213
- */
214
- $postid = apply_filters( 'tptn_post_id', $resultid );
215
-
216
- $result = get_post( $postid ); // Let's get the Post using the ID
217
-
218
- // Process the category exclusion if passed in the shortcode
219
- if ( isset( $exclude_categories ) ) {
220
-
221
- $categorys = get_the_category( $result->ID ); //Fetch categories of the plugin
222
-
223
- $p_in_c = false; // Variable to check if post exists in a particular category
224
- foreach ( $categorys as $cat ) { // Loop to check if post exists in excluded category
225
- $p_in_c = ( in_array( $cat->cat_ID, $exclude_categories ) ) ? true : false;
226
- if ( $p_in_c ) break; // Skip loop execution and go to the next step
227
- }
228
- if ( $p_in_c ) continue; // Skip loop execution and go to the next step
229
- }
230
-
231
- $output .= tptn_before_list_item( $args, $result );
232
-
233
- $output .= tptn_list_link( $args, $result );
234
-
235
- if ( $args['show_author'] ) {
236
- $output .= tptn_author( $args, $result );
237
- }
238
-
239
- if ( $args['show_date'] ) {
240
- $output .= '<span class="tptn_date"> ' . mysql2date( get_option( 'date_format', 'd/m/y' ), $result->post_date ) . '</span> ';
241
- }
242
-
243
- if ( $args['show_excerpt'] ) {
244
- $output .= '<span class="tptn_excerpt"> ' . tptn_excerpt( $result->ID, $args['excerpt_length'] ) . '</span>';
245
- }
246
-
247
- if ( $args['disp_list_count'] ) {
248
-
249
- $tptn_list_count = '(' . number_format_i18n( $sumcount ) . ')';
250
-
251
- /**
252
- * Filter the formatted list count text.
253
- *
254
- * @since 2.1.0
255
- *
256
- * @param string $tptn_list_count Formatted list count
257
- * @param int $sumcount Post count
258
- * @param object $result Post object
259
- */
260
- $tptn_list_count = apply_filters( 'tptn_list_count', $tptn_list_count, $sumcount, $result );
261
-
262
- $output .= ' <span class="tptn_list_count">' . $tptn_list_count . '</span>';
263
- }
264
-
265
- $tptn_list = '';
266
- /**
267
- * Filter Formatted list item with link and and thumbnail.
268
- *
269
- * @since 2.2.0
270
- *
271
- * @param string $tptn_list
272
- * @param object $result Object of the current post result
273
- * @param array $args Array of arguments
274
- */
275
- $output .= apply_filters( 'tptn_list', $tptn_list, $result, $args );
276
-
277
- // Opening span created in tptn_list_link()
278
- if ( 'inline' == $args['post_thumb_op'] || 'text_only' == $args['post_thumb_op'] ) {
279
- $output .= '</span>';
280
- }
281
-
282
- $output .= tptn_after_list_item( $args, $result );
283
-
284
- $counter++;
285
-
286
- if ( $counter == $args['limit'] ) {
287
- break; // End loop when related posts limit is reached
288
- }
289
- }
290
- if ( $args['show_credit'] ) {
291
-
292
- $output .= tptn_before_list_item( $args, $result );
293
-
294
- $output .= sprintf(
295
- __( 'Popular posts by <a href="%s" rel="nofollow" %s>Top 10 plugin</a>', 'tptn' ),
296
- esc_url( 'https://webberzone.com/plugins/top-10/' ),
297
- $target_attribute
298
- );
299
-
300
- $output .= tptn_after_list_item( $args, $result );
301
- }
302
-
303
- $output .= tptn_after_list( $args );
304
-
305
- $clearfix = '<div class="tptn_clear"></div>';
306
-
307
- /**
308
- * Filter the clearfix div tag. This is included after the closing tag to clear any miscellaneous floating elements;
309
- *
310
- * @since 2.2.0
311
- *
312
- * @param string $clearfix Contains: <div style="clear:both"></div>
313
- */
314
- $output .= apply_filters( 'tptn_clearfix', $clearfix );
315
-
316
- } else {
317
- $output .= ( $args['blank_output'] ) ? '' : $args['blank_output_text'];
318
- }
319
- $output .= '</div>';
320
-
321
- // Check if the cache is enabled and if the output exists. If so, return the output
322
- if ( $args['cache'] ) {
323
- /**
324
- * Filter the cache time which allows a function to override this
325
- *
326
- * @since 2.2.0
327
- *
328
- * @param int $args['cache_time'] Cache time in seconds
329
- * @param array $args Array of all the arguments
330
- */
331
- $cache_time = apply_filters( 'tptn_cache_time', $args['cache_time'], $args );
332
-
333
- $output .= "<br /><!-- Cached output. Cached time is {$cache_time} seconds -->";
334
-
335
- set_transient( $cache_name, $output, $cache_time );
336
-
337
- }
338
-
339
- /**
340
- * Filter already documented in top-10.php
341
- */
342
- return apply_filters( 'tptn_pop_posts', $output, $args );
343
- }
344
-
345
-
346
- /**
347
- * Function to retrieve the popular posts.
348
- *
349
- * @since 2.1.0
350
- *
351
- * @param mixed $args Arguments list
352
- */
353
- function get_tptn_pop_posts( $args = array() ) {
354
- global $wpdb, $id, $tptn_settings;
355
-
356
- // Initialise some variables
357
- $fields = '';
358
- $where = '';
359
- $join = '';
360
- $groupby = '';
361
- $orderby = '';
362
- $limits = '';
363
- $match_fields = '';
364
-
365
- $defaults = array(
366
- 'daily' => FALSE,
367
- 'strict_limit' => TRUE,
368
- 'posts_only' => FALSE,
369
- );
370
-
371
- // Merge the $defaults array with the $tptn_settings array
372
- $defaults = array_merge( $defaults, $tptn_settings );
373
-
374
- // Parse incomming $args into an array and merge it with $defaults
375
- $args = wp_parse_args( $args, $defaults );
376
-
377
- if ( $args['daily'] ) {
378
- $table_name = $wpdb->base_prefix . "top_ten_daily";
379
- } else {
380
- $table_name = $wpdb->base_prefix . "top_ten";
381
- }
382
-
383
- $limit = ( $args['strict_limit'] ) ? $args['limit'] : ( $args['limit'] * 5 );
384
-
385
- $target_attribute = ( $args['link_new_window'] ) ? ' target="_blank" ' : ' '; // Set Target attribute
386
- $rel_attribute = ( $args['link_nofollow'] ) ? 'bookmark nofollow' : 'bookmark'; // Set nofollow attribute
387
-
388
- parse_str( $args['post_types'], $post_types ); // Save post types in $post_types variable
389
-
390
- if ( empty( $post_types ) ) {
391
- $post_types = get_post_types( array(
392
- 'public' => true,
393
- ) );
394
- }
395
-
396
- $blog_id = get_current_blog_id();
397
-
398
- if ( $args['daily_midnight'] ) {
399
- $current_time = current_time( 'timestamp', 0 );
400
- $from_date = $current_time - ( max( 0, ( $args['daily_range'] - 1 ) ) * DAY_IN_SECONDS );
401
- $from_date = gmdate( 'Y-m-d 0' , $from_date );
402
- } else {
403
- $current_time = current_time( 'timestamp', 0 );
404
- $from_date = $current_time - ( $args['daily_range'] * DAY_IN_SECONDS + $args['hour_range'] * HOUR_IN_SECONDS );
405
- $from_date = gmdate( 'Y-m-d H' , $from_date );
406
- }
407
-
408
- /**
409
- *
410
- * We're going to create a mySQL query that is fully extendable which would look something like this:
411
- * "SELECT $fields FROM $wpdb->posts $join WHERE 1=1 $where $groupby $orderby $limits"
412
- *
413
- */
414
-
415
- // Fields to return
416
- $fields[] = "ID";
417
- $fields[] = "postnumber";
418
- $fields[] = "post_title";
419
- $fields[] = "post_type";
420
- $fields[] = "post_content";
421
- $fields[] = "post_date";
422
- $fields[] = "post_author";
423
- $fields[] = ( $args['daily'] ) ? "SUM(cntaccess) as sumCount" : "cntaccess as sumCount";
424
-
425
- $fields = implode( ", ", $fields );
426
-
427
- // Create the JOIN clause
428
- $join = " INNER JOIN {$wpdb->posts} ON postnumber=ID ";
429
-
430
- // Create the base WHERE clause
431
- $where .= $wpdb->prepare( " AND blog_id = %d ", $blog_id ); // Posts need to be from the current blog only
432
- $where .= " AND $wpdb->posts.post_status = 'publish' "; // Only show published posts
433
-
434
- if ( $args['daily'] ) {
435
- $where .= $wpdb->prepare( " AND dp_date >= '%s' ", $from_date ); // Only fetch posts that are tracked after this date
436
- }
437
-
438
- // Convert exclude post IDs string to array so it can be filtered
439
- $exclude_post_ids = explode( ",", $args['exclude_post_ids'] );
440
-
441
- /**
442
- * Filter exclude post IDs array.
443
- *
444
- * @param array $exclude_post_ids Array of post IDs.
445
- */
446
- $exclude_post_ids = apply_filters( "tptn_exclude_post_ids", $exclude_post_ids );
447
-
448
- // Convert it back to string
449
- $exclude_post_ids = implode( ",", array_filter( $exclude_post_ids ) );
450
-
451
- if ( '' != $exclude_post_ids ) {
452
- $where .= " AND $wpdb->posts.ID NOT IN ({$exclude_post_ids}) ";
453
- }
454
- $where .= " AND $wpdb->posts.post_type IN ('" . join( "', '", $post_types ) . "') "; // Array of post types
455
-
456
- // How old should the posts be?
457
- if ( $args['how_old'] ) {
458
- $where .= $wpdb->prepare( " AND $wpdb->posts.post_date > '%s' ", gmdate( 'Y-m-d H:m:s', $current_time - ( $args['how_old'] * DAY_IN_SECONDS ) ) );
459
- }
460
-
461
- // Create the base GROUP BY clause
462
- if ( $args['daily'] ) {
463
- $groupby = " postnumber ";
464
- }
465
-
466
- // Create the base ORDER BY clause
467
- $orderby = " sumCount DESC ";
468
-
469
- // Create the base LIMITS clause
470
- $limits .= $wpdb->prepare( " LIMIT %d ", $limit );
471
-
472
- /**
473
- * Filter the SELECT clause of the query.
474
- *
475
- * @param string $fields The SELECT clause of the query.
476
- */
477
- $fields = apply_filters( 'tptn_posts_fields', $fields );
478
-
479
- /**
480
- * Filter the JOIN clause of the query.
481
- *
482
- * @param string $join The JOIN clause of the query.
483
- */
484
- $join = apply_filters( 'tptn_posts_join', $join );
485
-
486
- /**
487
- * Filter the WHERE clause of the query.
488
- *
489
- * @param string $where The WHERE clause of the query.
490
- */
491
- $where = apply_filters( 'tptn_posts_where', $where );
492
-
493
- /**
494
- * Filter the GROUP BY clause of the query.
495
- *
496
- * @param string $groupby The GROUP BY clause of the query.
497
- */
498
- $groupby = apply_filters( 'tptn_posts_groupby', $groupby );
499
-
500
-
501
- /**
502
- * Filter the ORDER BY clause of the query.
503
- *
504
- * @param string $orderby The ORDER BY clause of the query.
505
- */
506
- $orderby = apply_filters( 'tptn_posts_orderby', $orderby );
507
-
508
- /**
509
- * Filter the LIMIT clause of the query.
510
- *
511
- * @param string $limits The LIMIT clause of the query.
512
- */
513
- $limits = apply_filters( 'tptn_posts_limits', $limits );
514
-
515
- if ( ! empty( $groupby ) ) {
516
- $groupby = " GROUP BY {$groupby} ";
517
- }
518
- if ( ! empty( $orderby ) ) {
519
- $orderby = " ORDER BY {$orderby} ";
520
- }
521
-
522
- $sql = "SELECT $fields FROM {$table_name} $join WHERE 1=1 $where $groupby $orderby $limits";
523
-
524
- if ( $args['posts_only'] ) { // Return the array of posts only if the variable is set
525
- $results = $wpdb->get_results( $sql, ARRAY_A );
526
-
527
- /**
528
- * Filter the array of top post IDs.
529
- *
530
- * @since 1.9.8.5
531
- *
532
- * @param array $tptn_pop_posts_array Posts array.
533
- * @param mixed $args Arguments list
534
- */
535
- return apply_filters( 'tptn_pop_posts_array', $results, $args );
536
- }
537
-
538
- $results = $wpdb->get_results( $sql );
539
-
540
- /**
541
- * Filter object containing post IDs of popular posts
542
- *
543
- * @since 2.1.0
544
- *
545
- * @param object $results Top 10 popular posts object
546
- * @param mixed $args Arguments list
547
- */
548
- return apply_filters( 'get_tptn_pop_posts', $results, $args );
549
- }
550
-
551
-
552
- /**
553
- * Function to echo popular posts.
554
- *
555
- * @since 1.0
556
- *
557
- * @param mixed $args Arguments list
558
- */
559
- function tptn_show_pop_posts( $args = NULL ) {
560
- if ( is_array( $args ) ) {
561
- $args['manual'] = 1;
562
- } else {
563
- $args .= '&is_manual=1';
564
- }
565
-
566
- echo tptn_pop_posts( $args );
567
- }
568
-
569
-
570
- /**
571
- * Function to show daily popular posts.
572
- *
573
- * @since 1.2
574
- *
575
- * @param mixed $args Arguments list
576
- */
577
- function tptn_show_daily_pop_posts( $args = NULL ) {
578
- if ( is_array( $args ) ) {
579
- $args['daily'] = 1;
580
- $args['manual'] = 1;
581
- } else {
582
- $args .= '&daily=1&is_manual=1';
583
- }
584
-
585
- tptn_show_pop_posts( $args );
586
- }
587
-
588
-
589
- /**
590
- * Function to add CSS to header.
591
- *
592
- * @since 1.9
593
- */
594
- function tptn_header() {
595
- global $tptn_settings;
596
-
597
- $tptn_custom_CSS = stripslashes( $tptn_settings['custom_CSS'] );
598
-
599
- // Add CSS to header
600
- if ( '' != $tptn_custom_CSS ) {
601
- echo '<style type="text/css">' . $tptn_custom_CSS . '</style>';
602
- }
603
- }
604
- add_action( 'wp_head', 'tptn_header' );
605
-
606
-
607
- /**
608
- * Enqueue styles.
609
- *
610
- */
611
- function tptn_heading_styles() {
612
- global $tptn_settings;
613
-
614
- if ( 'left_thumbs' == $tptn_settings['tptn_styles'] ) {
615
- wp_register_style( 'tptn-style-left-thumbs', plugins_url( 'css/default-style.css', __FILE__ ) );
616
- wp_enqueue_style( 'tptn-style-left-thumbs' );
617
-
618
-
619
- $custom_css = "
620
- img.tptn_thumb {
621
- width: {$tptn_settings['thumb_width']}px !important;
622
- height: {$tptn_settings['thumb_height']}px !important;
623
- }
624
- ";
625
-
626
- wp_add_inline_style( 'tptn-style-left-thumbs', $custom_css );
627
-
628
- }
629
-
630
- }
631
- add_action( 'wp_enqueue_scripts', 'tptn_heading_styles' );
632
-
633
-
634
- /**
635
- * Default Options.
636
- *
637
- */
638
- function tptn_default_options() {
639
- global $tptn_url;
640
-
641
- $title = __( '<h3>Popular Posts</h3>', 'tptn' );
642
- $title_daily = __( '<h3>Daily Popular</h3>', 'tptn' );
643
- $blank_output_text = __( 'No top posts yet', 'tptn' );
644
- $thumb_default = plugins_url() . '/' . plugin_basename( dirname( __FILE__ ) ) . '/default.png';
645
-
646
- // get relevant post types
647
- $args = array (
648
- 'public' => true,
649
- '_builtin' => true
650
- );
651
- $post_types = http_build_query( get_post_types( $args ), '', '&' );
652
-
653
- $tptn_settings = array (
654
-
655
- /* General options */
656
- 'activate_daily' => true, // Activate the daily count
657
- 'activate_overall' => true, // activate overall count
658
- 'cache' => false, // Enable Caching using Transienst API
659
- 'cache_time' => HOUR_IN_SECONDS, // Cache for 1 Hour
660
- 'cache_fix' => true, // Fix for W3 Total Cache - Uses Ajax
661
- 'daily_midnight' => true, // Start daily counts from midnight (default as old behaviour)
662
- 'daily_range' => '1', // Daily Popular will contain posts of how many days?
663
- 'hour_range' => '0', // Daily Popular will contain posts of how many days?
664
- 'uninstall_clean_options' => true, // Cleanup options
665
- 'uninstall_clean_tables' => false, // Cleanup tables
666
- 'show_metabox' => true, // Show metabox to admins
667
- 'show_metabox_admins' => false, // Limit to admins as well
668
- 'show_credit' => false, // Add link to plugin page of my blog in top posts list
669
-
670
- /* Counter and tracker options */
671
- 'add_to_content' => true, // Add post count to content (only on single posts)
672
- 'count_on_pages' => true, // Add post count to pages
673
- 'add_to_feed' => false, // Add post count to feed (full)
674
- 'add_to_home' => false, // Add post count to home page
675
- 'add_to_category_archives' => false, // Add post count to category archives
676
- 'add_to_tag_archives' => false, // Add post count to tag archives
677
- 'add_to_archives' => false, // Add post count to other archives
678
-
679
- 'count_disp_form' => '(Visited %totalcount% times, %dailycount% visits today)', // Format to display the count
680
- 'count_disp_form_zero' => 'No visits yet', // What to display where there are no hits?
681
- 'dynamic_post_count' => false, // Use JavaScript for displaying the post count
682
-
683
- 'track_authors' => false, // Track Authors visits
684
- 'track_admins' => true, // Track Admin visits
685
- 'track_editors' => true, // Track Admin visits
686
- 'pv_in_admin' => true, // Add an extra column on edit posts/pages to display page views?
687
- 'show_count_non_admins' => true, // Show counts to non-admins
688
-
689
- /* Popular post list options */
690
- 'limit' => '10', // How many posts to display?
691
- 'how_old' => '0', // How old posts? Default is no limit
692
- 'post_types' => $post_types, // WordPress custom post types
693
- 'exclude_categories' => '', // Exclude these categories
694
- 'exclude_cat_slugs' => '', // Exclude these categories (slugs)
695
- 'exclude_post_ids' => '', // Comma separated list of page / post IDs that are to be excluded in the results
696
-
697
- 'title' => $title, // Title of Popular Posts
698
- 'title_daily' => $title_daily, // Title of Daily Popular
699
- 'blank_output' => false, // Blank output? Default is "blank Output test"
700
- 'blank_output_text' => $blank_output_text, // Blank output text
701
-
702
- 'show_excerpt' => false, // Show description in list item
703
- 'excerpt_length' => '10', // Length of characters
704
- 'show_date' => false, // Show date in list item
705
- 'show_author' => false, // Show author in list item
706
- 'title_length' => '60', // Limit length of post title
707
- 'disp_list_count' => true, // Display count in popular lists?
708
-
709
- 'link_new_window' => false, // Open link in new window - Includes target="_blank" to links
710
- 'link_nofollow' => false, // Includes rel="nofollow" to links
711
- 'exclude_on_post_ids' => '', // Comma separate list of page/post IDs to not display related posts on
712
-
713
- // List HTML options
714
- 'before_list' => '<ul>', // Before the entire list
715
- 'after_list' => '</ul>', // After the entire list
716
- 'before_list_item' => '<li>', // Before each list item
717
- 'after_list_item' => '</li>', // After each list item
718
-
719
- /* Thumbnail options */
720
- 'post_thumb_op' => 'text_only', // Display only text in posts
721
- 'thumb_size' => 'tptn_thumbnail', // Default thumbnail size
722
- 'thumb_width' => '150', // Max width of thumbnails
723
- 'thumb_height' => '150', // Max height of thumbnails
724
- 'thumb_crop' => true, // Crop mode. default is hard crop
725
- 'thumb_html' => 'html', // Use HTML or CSS for width and height of the thumbnail?
726
-
727
- 'thumb_meta' => 'post-image', // Meta field that is used to store the location of default thumbnail image
728
- 'scan_images' => true, // Scan post for images
729
- 'thumb_default' => $thumb_default, // Default thumbnail image
730
- 'thumb_default_show' => true, // Show default thumb if none found (if false, don't show thumb at all)
731
-
732
- /* Custom styles */
733
- 'custom_CSS' => '', // Custom CSS to style the output
734
- 'include_default_style' => false, // Include default Top 10 style
735
- 'tptn_styles' => 'no_style', // Defaault style is left thubnails
736
-
737
- /* Maintenance cron */
738
- 'cron_on' => false, // Run cron daily?
739
- 'cron_hour' => '0', // Cron Hour
740
- 'cron_min' => '0', // Cron Minute
741
- 'cron_recurrence' => 'weekly', // Frequency of cron
742
- );
743
-
744
- /**
745
- * Filters the default options array.
746
- *
747
- * @since 1.9.10.1
748
- *
749
- * @param array $tptn_settings Default options
750
- */
751
- return apply_filters( 'tptn_default_options', $tptn_settings );
752
- }
753
-
754
-
755
- /**
756
- * Function to read options from the database.
757
- *
758
- * @access public
759
- * @return void
760
- */
761
- function tptn_read_options() {
762
-
763
- // Upgrade table code
764
- global $tptn_db_version, $network_wide;
765
-
766
- $tptn_settings_changed = false;
767
-
768
- $defaults = tptn_default_options();
769
-
770
- $tptn_settings = array_map( 'stripslashes', (array) get_option( 'ald_tptn_settings' ) );
771
- unset( $tptn_settings[0] ); // produced by the (array) casting when there's nothing in the DB
772
-
773
- foreach ( $defaults as $k=>$v ) {
774
- if ( ! isset( $tptn_settings[$k] ) ) {
775
- $tptn_settings[ $k ] = $v;
776
- $tptn_settings_changed = true;
777
- }
778
- }
779
- if ( $tptn_settings_changed == true ) {
780
- update_option('ald_tptn_settings', $tptn_settings);
781
- }
782
-
783
- /**
784
- * Filters the options array.
785
- *
786
- * @since 1.9.10.1
787
- *
788
- * @param array $tptn_settings Options read from the database
789
- */
790
- return apply_filters( 'tptn_read_options', $tptn_settings );
791
- }
792
-
793
-
794
- /**
795
- * Fired when the plugin is Network Activated.
796
- *
797
- * @since 1.9.10.1
798
- *
799
- * @param boolean $network_wide True if WPMU superadmin uses
800
- * "Network Activate" action, false if
801
- * WPMU is disabled or plugin is
802
- * activated on an individual blog.
803
- */
804
- function tptn_activation_hook( $network_wide ) {
805
- global $wpdb;
806
-
807
- if ( is_multisite() && $network_wide ) {
808
-
809
- // Get all blogs in the network and activate plugin on each one
810
- $blog_ids = $wpdb->get_col( "
811
- SELECT blog_id FROM $wpdb->blogs
812
- WHERE archived = '0' AND spam = '0' AND deleted = '0'
813
- " );
814
- foreach ( $blog_ids as $blog_id ) {
815
- switch_to_blog( $blog_id );
816
- tptn_single_activate();
817
- }
818
-
819
- // Switch back to the current blog
820
- restore_current_blog();
821
-
822
- } else {
823
- tptn_single_activate();
824
- }
825
- }
826
- register_activation_hook( __FILE__, 'tptn_activation_hook' );
827
-
828
-
829
- /**
830
- * Fired for each blog when the plugin is activated.
831
- *
832
- * @since 2.0.0
833
- */
834
- function tptn_single_activate() {
835
- global $wpdb, $tptn_db_version;
836
-
837
- $tptn_settings = tptn_read_options();
838
-
839
- $table_name = $wpdb->base_prefix . "top_ten";
840
- $table_name_daily = $wpdb->base_prefix . "top_ten_daily";
841
-
842
- if ( $wpdb->get_var( "show tables like '$table_name'" ) != $table_name ) {
843
-
844
- $sql = "CREATE TABLE " . $table_name . " (
845
- postnumber bigint(20) NOT NULL,
846
- cntaccess bigint(20) NOT NULL,
847
- blog_id bigint(20) NOT NULL DEFAULT '1',
848
- PRIMARY KEY (postnumber, blog_id)
849
- );";
850
-
851
- require_once( ABSPATH . 'wp-admin/includes/upgrade.php' );
852
- dbDelta( $sql );
853
-
854
- add_site_option( "tptn_db_version", $tptn_db_version );
855
- }
856
-
857
- if ( $wpdb->get_var( "show tables like '$table_name_daily'" ) != $table_name_daily ) {
858
-
859
- $sql = "CREATE TABLE " . $table_name_daily . " (
860
- postnumber bigint(20) NOT NULL,
861
- cntaccess bigint(20) NOT NULL,
862
- dp_date DATETIME NOT NULL,
863
- blog_id bigint(20) NOT NULL DEFAULT '1',
864
- PRIMARY KEY (postnumber, dp_date, blog_id)
865
- );";
866
-
867
- require_once( ABSPATH . 'wp-admin/includes/upgrade.php' );
868
- dbDelta( $sql );
869
-
870
- add_site_option( "tptn_db_version", $tptn_db_version );
871
- }
872
-
873
- // Upgrade table code
874
- $installed_ver = get_site_option( "tptn_db_version" );
875
-
876
- if ( $installed_ver != $tptn_db_version ) {
877
-
878
- $wpdb->hide_errors();
879
-
880
- switch ( $installed_ver ) {
881
-
882
- case '4.0':
883
- case 4.0:
884
- $wpdb->query( "ALTER TABLE " . $table_name . " CHANGE blog_id blog_id bigint(20) NOT NULL DEFAULT '1'" );
885
- $wpdb->query( "ALTER TABLE " . $table_name_daily . " CHANGE blog_id blog_id bigint(20) NOT NULL DEFAULT '1'" );
886
- break;
887
-
888
- default:
889
-
890
- $wpdb->query( "ALTER TABLE " . $table_name . " MODIFY postnumber bigint(20) " );
891
- $wpdb->query( "ALTER TABLE " . $table_name_daily . " MODIFY postnumber bigint(20) " );
892
- $wpdb->query( "ALTER TABLE " . $table_name . " MODIFY cntaccess bigint(20) " );
893
- $wpdb->query( "ALTER TABLE " . $table_name_daily . " MODIFY cntaccess bigint(20) " );
894
- $wpdb->query( "ALTER TABLE " . $table_name_daily . " MODIFY dp_date DATETIME " );
895
- $wpdb->query( "ALTER TABLE " . $table_name . " DROP PRIMARY KEY, ADD PRIMARY KEY(postnumber, blog_id) " );
896
- $wpdb->query( "ALTER TABLE " . $table_name_daily . " DROP PRIMARY KEY, ADD PRIMARY KEY(postnumber, dp_date, blog_id) " );
897
- $wpdb->query( "ALTER TABLE " . $table_name . " ADD blog_id bigint(20) NOT NULL DEFAULT '1'" );
898
- $wpdb->query( "ALTER TABLE " . $table_name_daily . " ADD blog_id bigint(20) NOT NULL DEFAULT '1'" );
899
- $wpdb->query( "UPDATE " . $table_name . " SET blog_id = 1 WHERE blog_id = 0 " );
900
- $wpdb->query( "UPDATE " . $table_name_daily . " SET blog_id = 1 WHERE blog_id = 0 " );
901
-
902
- }
903
-
904
- $wpdb->show_errors();
905
-
906
- update_site_option( "tptn_db_version", $tptn_db_version );
907
- }
908
-
909
- }
910
-
911
-
912
- /**
913
- * Fired when a new site is activated with a WPMU environment.
914
- *
915
- * @since 2.0.0
916
- *
917
- * @param int $blog_id ID of the new blog.
918
- */
919
- function tptn_activate_new_site( $blog_id ) {
920
-
921
- if ( 1 !== did_action( 'wpmu_new_blog' ) ) {
922
- return;
923
- }
924
-
925
- switch_to_blog( $blog_id );
926
- tptn_single_activate();
927
- restore_current_blog();
928
-
929
- }
930
- add_action( 'wpmu_new_blog', 'tptn_activate_new_site' );
931
-
932
-
933
- /**
934
- * Fired when a site is deleted in a WPMU environment.
935
- *
936
- * @since 2.0.0
937
- *
938
- * @param array $tables Tables in the blog.
939
- */
940
- function tptn_on_delete_blog( $tables ) {
941
- global $wpdb;
942
-
943
- $tables[] = $wpdb->prefix . "top_ten";
944
- $tables[] = $wpdb->prefix . "top_ten_daily";
945
-
946
- return $tables;
947
- }
948
- add_filter( 'wpmu_drop_tables', 'tptn_on_delete_blog' );
949
-
950
-
951
- /**
952
- * Function to call install function if needed.
953
- *
954
- * @since 1.9
955
- */
956
- function tptn_update_db_check() {
957
- global $tptn_db_version, $network_wide;
958
-
959
- if ( get_site_option('tptn_db_version') != $tptn_db_version ) {
960
- tptn_activation_hook( $network_wide );
961
- }
962
- }
963
- add_action( 'plugins_loaded', 'tptn_update_db_check' );
964
-
965
-
966
- /**
967
- * Function to delete all rows in the posts table.
968
- *
969
- * @since 1.3
970
- * @param bool $daily Daily flag
971
- */
972
- function tptn_trunc_count( $daily = false ) {
973
- global $wpdb;
974
-
975
- $table_name = $wpdb->base_prefix . "top_ten";
976
- if ( $daily ) {
977
- $table_name .= "_daily";
978
- }
979
-
980
- $sql = "TRUNCATE TABLE $table_name";
981
- $wpdb->query( $sql );
982
- }
983
-
984
-
985
- /**
986
- * Function to create an excerpt for the post.
987
- *
988
- * @since 1.6
989
- * @param int $id Post ID
990
- * @param int|string $excerpt_length Length of the excerpt in words
991
- * @return string Excerpt
992
- */
993
- function tptn_excerpt( $id, $excerpt_length = 0, $use_excerpt = true ) {
994
- $content = $excerpt = '';
995
-
996
- if ( $use_excerpt ) {
997
- $content = get_post( $id )->post_excerpt;
998
- }
999
-
1000
- if ( '' == $content ) {
1001
- $content = get_post( $id )->post_content;
1002
- }
1003
-
1004
- $output = strip_tags( strip_shortcodes( $content ) );
1005
-
1006
- if ( $excerpt_length > 0 ) {
1007
- $output = wp_trim_words( $output, $excerpt_length );
1008
- }
1009
-
1010
- /**
1011
- * Filters excerpt generated by tptn.
1012
- *
1013
- * @since 1.9.10.1
1014
- *
1015
- * @param array $output Formatted excerpt
1016
- * @param int $id Post ID
1017
- * @param int $excerpt_length Length of the excerpt
1018
- * @param boolean $use_excerpt Use the excerpt?
1019
- */
1020
- return apply_filters( 'tptn_excerpt', $output, $id, $excerpt_length, $use_excerpt );
1021
- }
1022
-
1023
-
1024
- /**
1025
- * Function to limit content by characters.
1026
- *
1027
- * @since 1.9.8
1028
- * @param string $content Content to be used to make an excerpt
1029
- * @param int $no_of_char Maximum length of excerpt in characters
1030
- * @return string Formatted content
1031
- */
1032
- function tptn_max_formatted_content( $content, $no_of_char = -1 ) {
1033
- $content = strip_tags( $content ); // Remove CRLFs, leaving space in their wake
1034
-
1035
- if ( ( $no_of_char > 0 ) && ( strlen( $content ) > $no_of_char ) ) {
1036
- $aWords = preg_split( "/[\s]+/", substr( $content, 0, $no_of_char ) );
1037
-
1038
- // Break back down into a string of words, but drop the last one if it's chopped off
1039
- if ( substr( $content, $no_of_char, 1 ) == " " ) {
1040
- $content = implode( " ", $aWords );
1041
- } else {
1042
- $content = implode( " ", array_slice( $aWords, 0, -1 ) ) .'&hellip;';
1043
- }
1044
- }
1045
-
1046
- /**
1047
- * Filters formatted content after cropping.
1048
- *
1049
- * @since 1.9.10.1
1050
- *
1051
- * @param string $content Formatted content
1052
- * @param int $no_of_char Maximum length of excerpt in characters
1053
- */
1054
- return apply_filters( 'tptn_max_formatted_content' , $content, $no_of_char );
1055
- }
1056
-
1057
-
1058
- /**
1059
- * Function to truncate daily run.
1060
- *
1061
- * @since 1.9.9.1
1062
- */
1063
- function tptn_cron() {
1064
- global $tptn_settings, $wpdb;
1065
-
1066
- $table_name_daily = $wpdb->base_prefix . "top_ten_daily";
1067
-
1068
- $current_time = current_time( 'timestamp', 0 );
1069
- $from_date = strtotime( '-90 DAY' , $current_time );
1070
- $from_date = gmdate( 'Y-m-d H' , $from_date );
1071
-
1072
- $resultscount = $wpdb->query( $wpdb->prepare(
1073
- "DELETE FROM {$table_name_daily} WHERE dp_date <= '%s' ",
1074
- $from_date
1075
- ) );
1076
-
1077
- }
1078
- add_action( 'tptn_cron_hook', 'tptn_cron' );
1079
-
1080
-
1081
- /**
1082
- * Function to enable run or actions.
1083
- *
1084
- * @since 1.9
1085
- * @param int $hour Hour
1086
- * @param int $min Minute
1087
- * @param int $recurrence Frequency
1088
- */
1089
- function tptn_enable_run( $hour, $min, $recurrence ) {
1090
- // Invoke WordPress internal cron
1091
- if ( ! wp_next_scheduled( 'tptn_cron_hook' ) ) {
1092
- wp_schedule_event( mktime( $hour, $min, 0 ), $recurrence, 'tptn_cron_hook' );
1093
- } else {
1094
- wp_clear_scheduled_hook( 'tptn_cron_hook' );
1095
- wp_schedule_event( mktime( $hour, $min, 0 ), $recurrence, 'tptn_cron_hook' );
1096
- }
1097
- }
1098
-
1099
-
1100
- /**
1101
- * Function to disable daily run or actions.
1102
- *
1103
- * @since 1.9
1104
- */
1105
- function tptn_disable_run() {
1106
- if ( wp_next_scheduled( 'tptn_cron_hook' ) ) {
1107
- wp_clear_scheduled_hook( 'tptn_cron_hook' );
1108
- }
1109
- }
1110
-
1111
- // Let's declare this conditional function to add more schedules. It will be a generic function across all plugins that I develop
1112
- if ( ! function_exists( 'ald_more_reccurences' ) ) :
1113
-
1114
- /**
1115
- * Function to add weekly and fortnightly recurrences. Filters `cron_schedules`.
1116
- *
1117
- * @param array Array of existing schedules
1118
- * @return array Filtered array with new schedules
1119
- */
1120
- function ald_more_reccurences( $schedules ) {
1121
- // add a 'weekly' interval
1122
- $schedules['weekly'] = array(
1123
- 'interval' => WEEK_IN_SECONDS,
1124
- 'display' => __( 'Once Weekly', 'tptn' )
1125
- );
1126
- $schedules['fortnightly'] = array(
1127
- 'interval' => 2 * WEEK_IN_SECONDS,
1128
- 'display' => __( 'Once Fortnightly', 'tptn' )
1129
- );
1130
- $schedules['monthly'] = array(
1131
- 'interval' => 30 * DAY_IN_SECONDS,
1132
- 'display' => __( 'Once Monthly', 'tptn' )
1133
- );
1134
- $schedules['quarterly'] = array(
1135
- 'interval' => 90 * DAY_IN_SECONDS,
1136
- 'display' => __( 'Once quarterly', 'tptn' )
1137
- );
1138
- return $schedules;
1139
- }
1140
- add_filter( 'cron_schedules', 'ald_more_reccurences' );
1141
-
1142
- endif;
1143
-
1144
-
1145
- /**
1146
- * Get all image sizes.
1147
- *
1148
- * @since 2.0.0
1149
- * @param string $size Get specific image size
1150
- * @return array Image size names along with width, height and crop setting
1151
- */
1152
- function tptn_get_all_image_sizes( $size = '' ) {
1153
- global $_wp_additional_image_sizes;
1154
-
1155
- /* Get the intermediate image sizes and add the full size to the array. */
1156
- $intermediate_image_sizes = get_intermediate_image_sizes();
1157
-
1158
- foreach( $intermediate_image_sizes as $_size ) {
1159
- if ( in_array( $_size, array( 'thumbnail', 'medium', 'large' ) ) ) {
1160
-
1161
- $sizes[ $_size ]['name'] = $_size;
1162
- $sizes[ $_size ]['width'] = get_option( $_size . '_size_w' );
1163
- $sizes[ $_size ]['height'] = get_option( $_size . '_size_h' );
1164
- $sizes[ $_size ]['crop'] = (bool) get_option( $_size . '_crop' );
1165
-
1166
- if ( ( 0 == $sizes[ $_size ]['width'] ) && ( 0 == $sizes[ $_size ]['height'] ) ) {
1167
- unset( $sizes[ $_size ] );
1168
- }
1169
-
1170
- } elseif ( isset( $_wp_additional_image_sizes[ $_size ] ) ) {
1171
-
1172
- $sizes[ $_size ] = array(
1173
- 'name' => $_size,
1174
- 'width' => $_wp_additional_image_sizes[ $_size ]['width'],
1175
- 'height' => $_wp_additional_image_sizes[ $_size ]['height'],
1176
- 'crop' => (bool) $_wp_additional_image_sizes[ $_size ]['crop'],
1177
- );
1178
- }
1179
- }
1180
-
1181
- /* Get only 1 size if found */
1182
- if ( $size ) {
1183
- if ( isset( $sizes[ $size ] ) ) {
1184
- return $sizes[ $size ];
1185
- } else {
1186
- return false;
1187
- }
1188
- }
1189
-
1190
- /**
1191
- * Filters array of image sizes.
1192
- *
1193
- * @since 2.0.0
1194
- *
1195
- * @param array $sizes Image sizes
1196
- */
1197
- return apply_filters( 'tptn_get_all_image_sizes', $sizes );
1198
- }
1199
-
1200
-
1201
- /**
1202
- * Returns the object identifier for the current language (WPML).
1203
- *
1204
- * @since 2.1.0
1205
- *
1206
- * @param $post_id Post ID
1207
- */
1208
- function tptn_object_id_cur_lang( $post_id ) {
1209
-
1210
- if ( function_exists( 'wpml_object_id' ) ) {
1211
- $post_id = wpml_object_id( $post_id, 'post', TRUE );
1212
- } elseif ( function_exists( 'icl_object_id' ) ) {
1213
- $post_id = icl_object_id( $post_id, 'post', TRUE );
1214
- }
1215
-
1216
- /**
1217
- * Filters object ID for current language (WPML).
1218
- *
1219
- * @since 2.1.0
1220
- *
1221
- * @param int $post_id Post ID
1222
- */
1223
- return apply_filters( 'tptn_object_id_cur_lang', $post_id );
1224
- }
1225
-
1226
-
1227
- /*----------------------------------------------------------------------------*
1228
- * WordPress widget
1229
- *----------------------------------------------------------------------------*/
1230
-
1231
- /**
1232
- * Include Widget class.
1233
- *
1234
- */
1235
- require_once( plugin_dir_path( __FILE__ ) . 'includes/class-top-10-widget.php' );
1236
-
1237
-
1238
- /*----------------------------------------------------------------------------*
1239
- * Top 10 modules
1240
- *----------------------------------------------------------------------------*/
1241
-
1242
- require_once( plugin_dir_path( __FILE__ ) . 'includes/counter.php' );
1243
- require_once( plugin_dir_path( __FILE__ ) . 'includes/media.php' );
1244
- require_once( plugin_dir_path( __FILE__ ) . 'includes/output-generator.php' );
1245
- require_once( plugin_dir_path( __FILE__ ) . 'includes/modules/shortcode.php' );
1246
- require_once( plugin_dir_path( __FILE__ ) . 'includes/modules/exclusions.php' );
1247
- require_once( plugin_dir_path( __FILE__ ) . 'includes/modules/taxonomies.php' );
1248
-
1249
-
1250
- /*----------------------------------------------------------------------------*
1251
- * Dashboard and Administrative Functionality
1252
- *----------------------------------------------------------------------------*/
1253
-
1254
- // This function adds an Options page in WP Admin
1255
- if ( is_admin() || strstr( $_SERVER['PHP_SELF'], 'wp-admin/' ) ) {
1256
-
1257
- require_once( plugin_dir_path( __FILE__ ) . 'admin/admin.php' );
1258
- require_once( plugin_dir_path( __FILE__ ) . 'admin/admin-metabox.php' );
1259
- require_once( plugin_dir_path( __FILE__ ) . 'admin/admin-columns.php' );
1260
- require_once( plugin_dir_path( __FILE__ ) . 'admin/admin-dashboard.php' );
1261
- require_once( plugin_dir_path( __FILE__ ) . 'admin/class-stats.php' );
1262
- require_once( plugin_dir_path( __FILE__ ) . 'admin/cache.php' );
1263
-
1264
- } // End admin.inc
1265
-
1266
- /*----------------------------------------------------------------------------*
1267
- * Deprecated functions
1268
- *----------------------------------------------------------------------------*/
1269
-
1270
- require_once( plugin_dir_path( __FILE__ ) . 'includes/deprecated.php' );
1271
-
1272
- if ( is_admin() || strstr( $_SERVER['PHP_SELF'], 'wp-admin/' ) ) {
1273
-
1274
- require_once( plugin_dir_path( __FILE__ ) . 'admin/deprecated.php' );
1275
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Top 10.
4
+ *
5
+ * Count daily and total visits per post and display the most popular posts based on the number of views.
6
+ *
7
+ * @package Top_Ten
8
+ * @author Ajay D'Souza <me@ajaydsouza.com>
9
+ * @license GPL-2.0+
10
+ * @link https://webberzone.com
11
+ * @copyright 2008-2015 Ajay D'Souza
12
+ *
13
+ * @wordpress-plugin
14
+ * Plugin Name: Top 10
15
+ * Plugin URI: https://webberzone.com/plugins/top-10/
16
+ * Description: Count daily and total visits per post and display the most popular posts based on the number of views
17
+ * Version: 2.2.4
18
+ * Author: Ajay D'Souza
19
+ * Author URI: https://webberzone.com
20
+ * License: GPL-2.0+
21
+ * License URI: http://www.gnu.org/licenses/gpl-2.0.txt
22
+ * Text Domain: top-10
23
+ * Domain Path: /languages
24
+ * GitHub Plugin URI: https://github.com/ajaydsouza/top-10/
25
+ */
26
+
27
+ // If this file is called directly, abort.
28
+ if ( ! defined( 'WPINC' ) ) {
29
+ die;
30
+ }
31
+
32
+
33
+ /**
34
+ * Holds the filesystem directory path (with trailing slash) for Top 10
35
+ *
36
+ * @since 1.5
37
+ *
38
+ * @var string
39
+ */
40
+ $tptn_path = plugin_dir_path( __FILE__ );
41
+
42
+
43
+ /**
44
+ * Holds the URL for Top 10
45
+ *
46
+ * @since 1.5
47
+ *
48
+ * @var string
49
+ */
50
+ $tptn_url = plugins_url() . '/' . plugin_basename( dirname( __FILE__ ) );
51
+
52
+
53
+ /**
54
+ * Global variable holding the current database version of Top 10
55
+ *
56
+ * @since 1.0
57
+ *
58
+ * @var string
59
+ */
60
+ global $tptn_db_version;
61
+ $tptn_db_version = '5.0';
62
+
63
+
64
+ /**
65
+ * Global variable holding the current settings for Top 10
66
+ *
67
+ * @since 1.9.3
68
+ *
69
+ * @var array
70
+ */
71
+ global $tptn_settings;
72
+ $tptn_settings = tptn_read_options();
73
+
74
+
75
+ /**
76
+ * Function to load translation files.
77
+ *
78
+ * @since 1.9.10.1
79
+ */
80
+ function tptn_lang_init() {
81
+ load_plugin_textdomain( 'tptn', false, dirname( plugin_basename( __FILE__ ) ) . '/languages/' );
82
+ }
83
+ add_action( 'init', 'tptn_lang_init' );
84
+
85
+
86
+ /**
87
+ * Function to return formatted list of popular posts.
88
+ *
89
+ * @since 1.5
90
+ *
91
+ * @param mixed $args Arguments array
92
+ * @return array|string Array of posts if posts_only = 0 or a formatted string if posts_only = 1
93
+ */
94
+ function tptn_pop_posts( $args ) {
95
+ global $wpdb, $id, $tptn_settings;
96
+
97
+ // if set, save $exclude_categories
98
+ if ( isset( $args['exclude_categories'] ) && '' != $args['exclude_categories'] ) {
99
+ $exclude_categories = explode( ',', $args['exclude_categories'] );
100
+ $args['strict_limit'] = false;
101
+ }
102
+
103
+ $defaults = array(
104
+ 'daily' => false,
105
+ 'is_widget' => false,
106
+ 'is_shortcode' => false,
107
+ 'is_manual' => false,
108
+ 'echo' => false,
109
+ 'strict_limit' => false,
110
+ 'posts_only' => false,
111
+ 'heading' => 1,
112
+ );
113
+
114
+ // Merge the $defaults array with the $tptn_settings array
115
+ $defaults = array_merge( $defaults, $tptn_settings );
116
+
117
+ // Parse incomming $args into an array and merge it with $defaults
118
+ $args = wp_parse_args( $args, $defaults );
119
+
120
+ $output = '';
121
+
122
+ /**
123
+ * Fires before the output processing begins.
124
+ *
125
+ * @since 2.2.0
126
+ *
127
+ * @param string $output Formatted list of top posts
128
+ * @param array $args Array of arguments
129
+ */
130
+ do_action( 'pre_tptn_pop_posts', $output, $args );
131
+
132
+ // Check if the cache is enabled and if the output exists. If so, return the output
133
+ if ( $args['cache'] && ! $args['posts_only'] ) {
134
+ $cache_name = 'tptn';
135
+ $cache_name .= $args['daily'] ? '_daily' : '_total';
136
+ $cache_name .= $args['is_widget'] ? '_widget' : '';
137
+ $cache_name .= $args['is_shortcode'] ? '_shortcode' : '';
138
+ $cache_name .= $args['is_manual'] ? '_manual' : '';
139
+
140
+ $output = get_transient( $cache_name );
141
+
142
+ if ( false !== $output ) {
143
+
144
+ /**
145
+ * Filter the output
146
+ *
147
+ * @since 1.9.8.5
148
+ *
149
+ * @param string $output Formatted list of top posts
150
+ * @param array $args Array of arguments
151
+ */
152
+ return apply_filters( 'tptn_pop_posts', $output, $args );
153
+ }
154
+ }
155
+
156
+ // Get thumbnail size
157
+ list( $args['thumb_width'], $args['thumb_height'] ) = tptn_get_thumb_size( $args );
158
+
159
+ // Retrieve the popular posts
160
+ $results = get_tptn_pop_posts( $args );
161
+
162
+ if ( $args['posts_only'] ) { // Return the array of posts only if the variable is set
163
+ _deprecated_argument( __FUNCTION__, '2.2.0', __( 'posts_only argument has been deprecated. Use get_tptn_pop_posts() to get the posts only.', 'top-10' ) );
164
+ return $results;
165
+ }
166
+
167
+ $counter = 0;
168
+
169
+ $daily_class = $args['daily'] ? 'tptn_posts_daily ' : 'tptn_posts ';
170
+ $widget_class = $args['is_widget'] ? ' tptn_posts_widget' : '';
171
+ $shortcode_class = $args['is_shortcode'] ? ' tptn_posts_shortcode' : '';
172
+
173
+ $post_classes = $daily_class . $widget_class . $shortcode_class;
174
+
175
+ /**
176
+ * Filter the classes added to the div wrapper of the Top 10.
177
+ *
178
+ * @since 2.1.0
179
+ *
180
+ * @param string $post_classes Post classes string.
181
+ */
182
+ $post_classes = apply_filters( 'tptn_post_class', $post_classes );
183
+
184
+ $output .= '<div class="' . $post_classes . '">';
185
+
186
+ if ( $results ) {
187
+
188
+ $output .= tptn_heading_title( $args );
189
+
190
+ $output .= tptn_before_list( $args );
191
+
192
+ // We need this for WPML support
193
+ $processed_results = array();
194
+
195
+ foreach ( $results as $result ) {
196
+
197
+ /* Support WPML */
198
+ $resultid = tptn_object_id_cur_lang( $result->ID );
199
+
200
+ // If this is NULL or already processed ID or matches current post then skip processing this loop.
201
+ if ( ! $resultid || in_array( $resultid, $processed_results ) ) {
202
+ continue;
203
+ }
204
+
205
+ // Push the current ID into the array to ensure we're not repeating it
206
+ array_push( $processed_results, $resultid );
207
+
208
+ $sumcount = $result->sumCount; // Store the count. We'll need this later
209
+
210
+ /**
211
+ * Filter the post ID for each result. Allows a custom function to hook in and change the ID if needed.
212
+ *
213
+ * @since 1.9.8.5
214
+ *
215
+ * @param int $resultid ID of the post
216
+ */
217
+ $resultid = apply_filters( 'tptn_post_id', $resultid );
218
+
219
+ $result = get_post( $resultid ); // Let's get the Post using the ID
220
+
221
+ // Process the category exclusion if passed in the shortcode
222
+ if ( isset( $exclude_categories ) ) {
223
+
224
+ $categorys = get_the_category( $result->ID ); // Fetch categories of the plugin
225
+
226
+ $p_in_c = false; // Variable to check if post exists in a particular category
227
+ foreach ( $categorys as $cat ) { // Loop to check if post exists in excluded category
228
+ $p_in_c = ( in_array( $cat->cat_ID, $exclude_categories ) ) ? true : false;
229
+ if ( $p_in_c ) { break; // Skip loop execution and go to the next step
230
+ }
231
+ }
232
+ if ( $p_in_c ) { continue; // Skip loop execution and go to the next step
233
+ }
234
+ }
235
+
236
+ $output .= tptn_before_list_item( $args, $result );
237
+
238
+ $output .= tptn_list_link( $args, $result );
239
+
240
+ if ( $args['show_author'] ) {
241
+ $output .= tptn_author( $args, $result );
242
+ }
243
+
244
+ if ( $args['show_date'] ) {
245
+ $output .= '<span class="tptn_date"> ' . mysql2date( get_option( 'date_format', 'd/m/y' ), $result->post_date ) . '</span> ';
246
+ }
247
+
248
+ if ( $args['show_excerpt'] ) {
249
+ $output .= '<span class="tptn_excerpt"> ' . tptn_excerpt( $result->ID, $args['excerpt_length'] ) . '</span>';
250
+ }
251
+
252
+ if ( $args['disp_list_count'] ) {
253
+
254
+ $tptn_list_count = '(' . number_format_i18n( $sumcount ) . ')';
255
+
256
+ /**
257
+ * Filter the formatted list count text.
258
+ *
259
+ * @since 2.1.0
260
+ *
261
+ * @param string $tptn_list_count Formatted list count
262
+ * @param int $sumcount Post count
263
+ * @param object $result Post object
264
+ */
265
+ $tptn_list_count = apply_filters( 'tptn_list_count', $tptn_list_count, $sumcount, $result );
266
+
267
+ $output .= ' <span class="tptn_list_count">' . $tptn_list_count . '</span>';
268
+ }
269
+
270
+ $tptn_list = '';
271
+ /**
272
+ * Filter Formatted list item with link and and thumbnail.
273
+ *
274
+ * @since 2.2.0
275
+ *
276
+ * @param string $tptn_list
277
+ * @param object $result Object of the current post result
278
+ * @param array $args Array of arguments
279
+ */
280
+ $output .= apply_filters( 'tptn_list', $tptn_list, $result, $args );
281
+
282
+ // Opening span created in tptn_list_link()
283
+ if ( 'inline' == $args['post_thumb_op'] || 'text_only' == $args['post_thumb_op'] ) {
284
+ $output .= '</span>';
285
+ }
286
+
287
+ $output .= tptn_after_list_item( $args, $result );
288
+
289
+ $counter++;
290
+
291
+ if ( $counter == $args['limit'] ) {
292
+ break; // End loop when related posts limit is reached
293
+ }
294
+ }
295
+ if ( $args['show_credit'] ) {
296
+
297
+ $output .= tptn_before_list_item( $args, $result );
298
+
299
+ $output .= sprintf(
300
+ __( 'Popular posts by <a href="%s" rel="nofollow" %s>Top 10 plugin</a>', 'top-10' ),
301
+ esc_url( 'https://webberzone.com/plugins/top-10/' ),
302
+ $target_attribute
303
+ );
304
+
305
+ $output .= tptn_after_list_item( $args, $result );
306
+ }
307
+
308
+ $output .= tptn_after_list( $args );
309
+
310
+ $clearfix = '<div class="tptn_clear"></div>';
311
+
312
+ /**
313
+ * Filter the clearfix div tag. This is included after the closing tag to clear any miscellaneous floating elements;
314
+ *
315
+ * @since 2.2.0
316
+ *
317
+ * @param string $clearfix Contains: <div style="clear:both"></div>
318
+ */
319
+ $output .= apply_filters( 'tptn_clearfix', $clearfix );
320
+
321
+ } else {
322
+ $output .= ( $args['blank_output'] ) ? '' : $args['blank_output_text'];
323
+ }
324
+ $output .= '</div>';
325
+
326
+ // Check if the cache is enabled and if the output exists. If so, return the output
327
+ if ( $args['cache'] ) {
328
+ /**
329
+ * Filter the cache time which allows a function to override this
330
+ *
331
+ * @since 2.2.0
332
+ *
333
+ * @param int $args['cache_time'] Cache time in seconds
334
+ * @param array $args Array of all the arguments
335
+ */
336
+ $cache_time = apply_filters( 'tptn_cache_time', $args['cache_time'], $args );
337
+
338
+ $output .= "<br /><!-- Cached output. Cached time is {$cache_time} seconds -->";
339
+
340
+ set_transient( $cache_name, $output, $cache_time );
341
+
342
+ }
343
+
344
+ /**
345
+ * Filter already documented in top-10.php
346
+ */
347
+ return apply_filters( 'tptn_pop_posts', $output, $args );
348
+ }
349
+
350
+
351
+ /**
352
+ * Function to retrieve the popular posts.
353
+ *
354
+ * @since 2.1.0
355
+ *
356
+ * @param mixed $args Arguments list
357
+ */
358
+ function get_tptn_pop_posts( $args = array() ) {
359
+ global $wpdb, $id, $tptn_settings;
360
+
361
+ // Initialise some variables
362
+ $fields = '';
363
+ $where = '';
364
+ $join = '';
365
+ $groupby = '';
366
+ $orderby = '';
367
+ $limits = '';
368
+ $match_fields = '';
369
+
370
+ $defaults = array(
371
+ 'daily' => false,
372
+ 'strict_limit' => true,
373
+ 'posts_only' => false,
374
+ );
375
+
376
+ // Merge the $defaults array with the $tptn_settings array
377
+ $defaults = array_merge( $defaults, $tptn_settings );
378
+
379
+ // Parse incomming $args into an array and merge it with $defaults
380
+ $args = wp_parse_args( $args, $defaults );
381
+
382
+ if ( $args['daily'] ) {
383
+ $table_name = $wpdb->base_prefix . 'top_ten_daily';
384
+ } else {
385
+ $table_name = $wpdb->base_prefix . 'top_ten';
386
+ }
387
+
388
+ $limit = ( $args['strict_limit'] ) ? $args['limit'] : ( $args['limit'] * 5 );
389
+
390
+ $target_attribute = ( $args['link_new_window'] ) ? ' target="_blank" ' : ' '; // Set Target attribute
391
+ $rel_attribute = ( $args['link_nofollow'] ) ? 'bookmark nofollow' : 'bookmark'; // Set nofollow attribute
392
+
393
+ parse_str( $args['post_types'], $post_types ); // Save post types in $post_types variable
394
+
395
+ if ( empty( $post_types ) ) {
396
+ $post_types = get_post_types( array(
397
+ 'public' => true,
398
+ ) );
399
+ }
400
+
401
+ $blog_id = get_current_blog_id();
402
+
403
+ if ( $args['daily_midnight'] ) {
404
+ $current_time = current_time( 'timestamp', 0 );
405
+ $from_date = $current_time - ( max( 0, ( $args['daily_range'] - 1 ) ) * DAY_IN_SECONDS );
406
+ $from_date = gmdate( 'Y-m-d 0' , $from_date );
407
+ } else {
408
+ $current_time = current_time( 'timestamp', 0 );
409
+ $from_date = $current_time - ( $args['daily_range'] * DAY_IN_SECONDS + $args['hour_range'] * HOUR_IN_SECONDS );
410
+ $from_date = gmdate( 'Y-m-d H' , $from_date );
411
+ }
412
+
413
+ /**
414
+ *
415
+ * We're going to create a mySQL query that is fully extendable which would look something like this:
416
+ * "SELECT $fields FROM $wpdb->posts $join WHERE 1=1 $where $groupby $orderby $limits"
417
+ */
418
+
419
+ // Fields to return
420
+ $fields[] = 'ID';
421
+ $fields[] = 'postnumber';
422
+ $fields[] = 'post_title';
423
+ $fields[] = 'post_type';
424
+ $fields[] = 'post_content';
425
+ $fields[] = 'post_date';
426
+ $fields[] = 'post_author';
427
+ $fields[] = ( $args['daily'] ) ? 'SUM(cntaccess) as sumCount' : 'cntaccess as sumCount';
428
+
429
+ $fields = implode( ', ', $fields );
430
+
431
+ // Create the JOIN clause
432
+ $join = " INNER JOIN {$wpdb->posts} ON postnumber=ID ";
433
+
434
+ // Create the base WHERE clause
435
+ $where .= $wpdb->prepare( ' AND blog_id = %d ', $blog_id ); // Posts need to be from the current blog only
436
+ $where .= " AND $wpdb->posts.post_status = 'publish' "; // Only show published posts
437
+
438
+ if ( $args['daily'] ) {
439
+ $where .= $wpdb->prepare( " AND dp_date >= '%s' ", $from_date ); // Only fetch posts that are tracked after this date
440
+ }
441
+
442
+ // Convert exclude post IDs string to array so it can be filtered
443
+ $exclude_post_ids = explode( ',', $args['exclude_post_ids'] );
444
+
445
+ /**
446
+ * Filter exclude post IDs array.
447
+ *
448
+ * @param array $exclude_post_ids Array of post IDs.
449
+ */
450
+ $exclude_post_ids = apply_filters( 'tptn_exclude_post_ids', $exclude_post_ids );
451
+
452
+ // Convert it back to string
453
+ $exclude_post_ids = implode( ',', array_filter( $exclude_post_ids ) );
454
+
455
+ if ( '' != $exclude_post_ids ) {
456
+ $where .= " AND $wpdb->posts.ID NOT IN ({$exclude_post_ids}) ";
457
+ }
458
+ $where .= " AND $wpdb->posts.post_type IN ('" . join( "', '", $post_types ) . "') "; // Array of post types
459
+
460
+ // How old should the posts be?
461
+ if ( $args['how_old'] ) {
462
+ $where .= $wpdb->prepare( " AND $wpdb->posts.post_date > '%s' ", gmdate( 'Y-m-d H:m:s', $current_time - ( $args['how_old'] * DAY_IN_SECONDS ) ) );
463
+ }
464
+
465
+ // Create the base GROUP BY clause
466
+ if ( $args['daily'] ) {
467
+ $groupby = ' postnumber ';
468
+ }
469
+
470
+ // Create the base ORDER BY clause
471
+ $orderby = ' sumCount DESC ';
472
+
473
+ // Create the base LIMITS clause
474
+ $limits .= $wpdb->prepare( ' LIMIT %d ', $limit );
475
+
476
+ /**
477
+ * Filter the SELECT clause of the query.
478
+ *
479
+ * @param string $fields The SELECT clause of the query.
480
+ */
481
+ $fields = apply_filters( 'tptn_posts_fields', $fields );
482
+
483
+ /**
484
+ * Filter the JOIN clause of the query.
485
+ *
486
+ * @param string $join The JOIN clause of the query.
487
+ */
488
+ $join = apply_filters( 'tptn_posts_join', $join );
489
+
490
+ /**
491
+ * Filter the WHERE clause of the query.
492
+ *
493
+ * @param string $where The WHERE clause of the query.
494
+ */
495
+ $where = apply_filters( 'tptn_posts_where', $where );
496
+
497
+ /**
498
+ * Filter the GROUP BY clause of the query.
499
+ *
500
+ * @param string $groupby The GROUP BY clause of the query.
501
+ */
502
+ $groupby = apply_filters( 'tptn_posts_groupby', $groupby );
503
+
504
+ /**
505
+ * Filter the ORDER BY clause of the query.
506
+ *
507
+ * @param string $orderby The ORDER BY clause of the query.
508
+ */
509
+ $orderby = apply_filters( 'tptn_posts_orderby', $orderby );
510
+
511
+ /**
512
+ * Filter the LIMIT clause of the query.
513
+ *
514
+ * @param string $limits The LIMIT clause of the query.
515
+ */
516
+ $limits = apply_filters( 'tptn_posts_limits', $limits );
517
+
518
+ if ( ! empty( $groupby ) ) {
519
+ $groupby = " GROUP BY {$groupby} ";
520
+ }
521
+ if ( ! empty( $orderby ) ) {
522
+ $orderby = " ORDER BY {$orderby} ";
523
+ }
524
+
525
+ $sql = "SELECT $fields FROM {$table_name} $join WHERE 1=1 $where $groupby $orderby $limits";
526
+
527
+ if ( $args['posts_only'] ) { // Return the array of posts only if the variable is set
528
+ $results = $wpdb->get_results( $sql, ARRAY_A );
529
+
530
+ /**
531
+ * Filter the array of top post IDs.
532
+ *
533
+ * @since 1.9.8.5
534
+ *
535
+ * @param array $tptn_pop_posts_array Posts array.
536
+ * @param mixed $args Arguments list
537
+ */
538
+ return apply_filters( 'tptn_pop_posts_array', $results, $args );
539
+ }
540
+
541
+ $results = $wpdb->get_results( $sql );
542
+
543
+ /**
544
+ * Filter object containing post IDs of popular posts
545
+ *
546
+ * @since 2.1.0
547
+ *
548
+ * @param object $results Top 10 popular posts object
549
+ * @param mixed $args Arguments list
550
+ */
551
+ return apply_filters( 'get_tptn_pop_posts', $results, $args );
552
+ }
553
+
554
+
555
+ /**
556
+ * Function to echo popular posts.
557
+ *
558
+ * @since 1.0
559
+ *
560
+ * @param mixed $args Arguments list
561
+ */
562
+ function tptn_show_pop_posts( $args = null ) {
563
+ if ( is_array( $args ) ) {
564
+ $args['manual'] = 1;
565
+ } else {
566
+ $args .= '&is_manual=1';
567
+ }
568
+
569
+ echo tptn_pop_posts( $args );
570
+ }
571
+
572
+
573
+ /**
574
+ * Function to show daily popular posts.
575
+ *
576
+ * @since 1.2
577
+ *
578
+ * @param mixed $args Arguments list
579
+ */
580
+ function tptn_show_daily_pop_posts( $args = null ) {
581
+ if ( is_array( $args ) ) {
582
+ $args['daily'] = 1;
583
+ $args['manual'] = 1;
584
+ } else {
585
+ $args .= '&daily=1&is_manual=1';
586
+ }
587
+
588
+ tptn_show_pop_posts( $args );
589
+ }
590
+
591
+
592
+ /**
593
+ * Function to add CSS to header.
594
+ *
595
+ * @since 1.9
596
+ */
597
+ function tptn_header() {
598
+ global $tptn_settings;
599
+
600
+ $tptn_custom_CSS = stripslashes( $tptn_settings['custom_CSS'] );
601
+
602
+ // Add CSS to header
603
+ if ( '' != $tptn_custom_CSS ) {
604
+ echo '<style type="text/css">' . $tptn_custom_CSS . '</style>';
605
+ }
606
+ }
607
+ add_action( 'wp_head', 'tptn_header' );
608
+
609
+
610
+ /**
611
+ * Enqueue styles.
612
+ */
613
+ function tptn_heading_styles() {
614
+ global $tptn_settings;
615
+
616
+ if ( 'left_thumbs' == $tptn_settings['tptn_styles'] ) {
617
+ wp_register_style( 'tptn-style-left-thumbs', plugins_url( 'css/default-style.css', __FILE__ ) );
618
+ wp_enqueue_style( 'tptn-style-left-thumbs' );
619
+
620
+ $custom_css = "
621
+ img.tptn_thumb {
622
+ width: {$tptn_settings['thumb_width']}px !important;
623
+ height: {$tptn_settings['thumb_height']}px !important;
624
+ }
625
+ ";
626
+
627
+ wp_add_inline_style( 'tptn-style-left-thumbs', $custom_css );
628
+
629
+ }
630
+
631
+ }
632
+ add_action( 'wp_enqueue_scripts', 'tptn_heading_styles' );
633
+
634
+
635
+ /**
636
+ * Default Options.
637
+ */
638
+ function tptn_default_options() {
639
+ global $tptn_url;
640
+
641
+ $title = __( '<h3>Popular Posts</h3>', 'top-10' );
642
+ $title_daily = __( '<h3>Daily Popular</h3>', 'top-10' );
643
+ $blank_output_text = __( 'No top posts yet', 'top-10' );
644
+ $thumb_default = plugins_url() . '/' . plugin_basename( dirname( __FILE__ ) ) . '/default.png';
645
+
646
+ // get relevant post types
647
+ $args = array(
648
+ 'public' => true,
649
+ '_builtin' => true,
650
+ );
651
+ $post_types = http_build_query( get_post_types( $args ), '', '&' );
652
+
653
+ $tptn_settings = array(
654
+
655
+ /* General options */
656
+ 'activate_daily' => true, // Activate the daily count
657
+ 'activate_overall' => true, // activate overall count
658
+ 'cache' => false, // Enable Caching using Transienst API
659
+ 'cache_time' => HOUR_IN_SECONDS, // Cache for 1 Hour
660
+ 'cache_fix' => true, // Fix for W3 Total Cache - Uses Ajax
661
+ 'daily_midnight' => true, // Start daily counts from midnight (default as old behaviour)
662
+ 'daily_range' => '1', // Daily Popular will contain posts of how many days?
663
+ 'hour_range' => '0', // Daily Popular will contain posts of how many days?
664
+ 'uninstall_clean_options' => true, // Cleanup options
665
+ 'uninstall_clean_tables' => false, // Cleanup tables
666
+ 'show_metabox' => true, // Show metabox to admins
667
+ 'show_metabox_admins' => false, // Limit to admins as well
668
+ 'show_credit' => false, // Add link to plugin page of my blog in top posts list
669
+
670
+ /* Counter and tracker options */
671
+ 'add_to_content' => true, // Add post count to content (only on single posts)
672
+ 'count_on_pages' => true, // Add post count to pages
673
+ 'add_to_feed' => false, // Add post count to feed (full)
674
+ 'add_to_home' => false, // Add post count to home page
675
+ 'add_to_category_archives' => false, // Add post count to category archives
676
+ 'add_to_tag_archives' => false, // Add post count to tag archives
677
+ 'add_to_archives' => false, // Add post count to other archives
678
+
679
+ 'count_disp_form' => '(Visited %totalcount% times, %dailycount% visits today)', // Format to display the count
680
+ 'count_disp_form_zero' => 'No visits yet', // What to display where there are no hits?
681
+ 'dynamic_post_count' => false, // Use JavaScript for displaying the post count
682
+
683
+ 'track_authors' => false, // Track Authors visits
684
+ 'track_admins' => true, // Track Admin visits
685
+ 'track_editors' => true, // Track Admin visits
686
+ 'pv_in_admin' => true, // Add an extra column on edit posts/pages to display page views?
687
+ 'show_count_non_admins' => true, // Show counts to non-admins
688
+
689
+ /* Popular post list options */
690
+ 'limit' => '10', // How many posts to display?
691
+ 'how_old' => '0', // How old posts? Default is no limit
692
+ 'post_types' => $post_types, // WordPress custom post types
693
+ 'exclude_categories' => '', // Exclude these categories
694
+ 'exclude_cat_slugs' => '', // Exclude these categories (slugs)
695
+ 'exclude_post_ids' => '', // Comma separated list of page / post IDs that are to be excluded in the results
696
+
697
+ 'title' => $title, // Title of Popular Posts
698
+ 'title_daily' => $title_daily, // Title of Daily Popular
699
+ 'blank_output' => false, // Blank output? Default is "blank Output test"
700
+ 'blank_output_text' => $blank_output_text, // Blank output text
701
+
702
+ 'show_excerpt' => false, // Show description in list item
703
+ 'excerpt_length' => '10', // Length of characters
704
+ 'show_date' => false, // Show date in list item
705
+ 'show_author' => false, // Show author in list item
706
+ 'title_length' => '60', // Limit length of post title
707
+ 'disp_list_count' => true, // Display count in popular lists?
708
+
709
+ 'link_new_window' => false, // Open link in new window - Includes target="_blank" to links
710
+ 'link_nofollow' => false, // Includes rel="nofollow" to links
711
+ 'exclude_on_post_ids' => '', // Comma separate list of page/post IDs to not display related posts on
712
+
713
+ // List HTML options
714
+ 'before_list' => '<ul>', // Before the entire list
715
+ 'after_list' => '</ul>', // After the entire list
716
+ 'before_list_item' => '<li>', // Before each list item
717
+ 'after_list_item' => '</li>', // After each list item
718
+
719
+ /* Thumbnail options */
720
+ 'post_thumb_op' => 'text_only', // Display only text in posts
721
+ 'thumb_size' => 'tptn_thumbnail', // Default thumbnail size
722
+ 'thumb_width' => '150', // Max width of thumbnails
723
+ 'thumb_height' => '150', // Max height of thumbnails
724
+ 'thumb_crop' => true, // Crop mode. default is hard crop
725
+ 'thumb_html' => 'html', // Use HTML or CSS for width and height of the thumbnail?
726
+
727
+ 'thumb_meta' => 'post-image', // Meta field that is used to store the location of default thumbnail image
728
+ 'scan_images' => true, // Scan post for images
729
+ 'thumb_default' => $thumb_default, // Default thumbnail image
730
+ 'thumb_default_show' => true, // Show default thumb if none found (if false, don't show thumb at all)
731
+
732
+ /* Custom styles */
733
+ 'custom_CSS' => '', // Custom CSS to style the output
734
+ 'include_default_style' => false, // Include default Top 10 style
735
+ 'tptn_styles' => 'no_style', // Defaault style is left thubnails
736
+
737
+ /* Maintenance cron */
738
+ 'cron_on' => false, // Run cron daily?
739
+ 'cron_hour' => '0', // Cron Hour
740
+ 'cron_min' => '0', // Cron Minute
741
+ 'cron_recurrence' => 'weekly', // Frequency of cron
742
+ );
743
+
744
+ /**
745
+ * Filters the default options array.
746
+ *
747
+ * @since 1.9.10.1
748
+ *
749
+ * @param array $tptn_settings Default options
750
+ */
751
+ return apply_filters( 'tptn_default_options', $tptn_settings );
752
+ }
753
+
754
+
755
+ /**
756
+ * Function to read options from the database.
757
+ *
758
+ * @access public
759
+ * @return void
760
+ */
761
+ function tptn_read_options() {
762
+
763
+ // Upgrade table code
764
+ global $tptn_db_version, $network_wide;
765
+
766
+ $tptn_settings_changed = false;
767
+
768
+ $defaults = tptn_default_options();
769
+
770
+ $tptn_settings = array_map( 'stripslashes', (array) get_option( 'ald_tptn_settings' ) );
771
+ unset( $tptn_settings[0] ); // produced by the (array) casting when there's nothing in the DB
772
+
773
+ foreach ( $defaults as $k => $v ) {
774
+ if ( ! isset( $tptn_settings[ $k ] ) ) {
775
+ $tptn_settings[ $k ] = $v;
776
+ $tptn_settings_changed = true;
777
+ }
778
+ }
779
+ if ( $tptn_settings_changed == true ) {
780
+ update_option( 'ald_tptn_settings', $tptn_settings );
781
+ }
782
+
783
+ /**
784
+ * Filters the options array.
785
+ *
786
+ * @since 1.9.10.1
787
+ *
788
+ * @param array $tptn_settings Options read from the database
789
+ */
790
+ return apply_filters( 'tptn_read_options', $tptn_settings );
791
+ }
792
+
793
+
794
+ /**
795
+ * Fired when the plugin is Network Activated.
796
+ *
797
+ * @since 1.9.10.1
798
+ *
799
+ * @param boolean $network_wide True if WPMU superadmin uses
800
+ * "Network Activate" action, false if
801
+ * WPMU is disabled or plugin is
802
+ * activated on an individual blog.
803
+ */
804
+ function tptn_activation_hook( $network_wide ) {
805
+ global $wpdb;
806
+
807
+ if ( is_multisite() && $network_wide ) {
808
+
809
+ // Get all blogs in the network and activate plugin on each one
810
+ $blog_ids = $wpdb->get_col( "
811
+ SELECT blog_id FROM $wpdb->blogs
812
+ WHERE archived = '0' AND spam = '0' AND deleted = '0'
813
+ " );
814
+ foreach ( $blog_ids as $blog_id ) {
815
+ switch_to_blog( $blog_id );
816
+ tptn_single_activate();
817
+ }
818
+
819
+ // Switch back to the current blog
820
+ restore_current_blog();
821
+
822
+ } else {
823
+ tptn_single_activate();
824
+ }
825
+ }
826
+ register_activation_hook( __FILE__, 'tptn_activation_hook' );
827
+
828
+
829
+ /**
830
+ * Fired for each blog when the plugin is activated.
831
+ *
832
+ * @since 2.0.0
833
+ */
834
+ function tptn_single_activate() {
835
+ global $wpdb, $tptn_db_version;
836
+
837
+ $tptn_settings = tptn_read_options();
838
+
839
+ $table_name = $wpdb->base_prefix . 'top_ten';
840
+ $table_name_daily = $wpdb->base_prefix . 'top_ten_daily';
841
+
842
+ if ( $wpdb->get_var( "show tables like '$table_name'" ) != $table_name ) {
843
+
844
+ $sql = 'CREATE TABLE ' . $table_name . " (
845
+ postnumber bigint(20) NOT NULL,
846
+ cntaccess bigint(20) NOT NULL,
847
+ blog_id bigint(20) NOT NULL DEFAULT '1',
848
+ PRIMARY KEY (postnumber, blog_id)
849
+ );";
850
+
851
+ require_once( ABSPATH . 'wp-admin/includes/upgrade.php' );
852
+ dbDelta( $sql );
853
+
854
+ add_site_option( 'tptn_db_version', $tptn_db_version );
855
+ }
856
+
857
+ if ( $wpdb->get_var( "show tables like '$table_name_daily'" ) != $table_name_daily ) {
858
+
859
+ $sql = 'CREATE TABLE ' . $table_name_daily . " (
860
+ postnumber bigint(20) NOT NULL,
861
+ cntaccess bigint(20) NOT NULL,
862
+ dp_date DATETIME NOT NULL,
863
+ blog_id bigint(20) NOT NULL DEFAULT '1',
864
+ PRIMARY KEY (postnumber, dp_date, blog_id)
865
+ );";
866
+
867
+ require_once( ABSPATH . 'wp-admin/includes/upgrade.php' );
868
+ dbDelta( $sql );
869
+
870
+ add_site_option( 'tptn_db_version', $tptn_db_version );
871
+ }
872
+
873
+ // Upgrade table code
874
+ $installed_ver = get_site_option( 'tptn_db_version' );
875
+
876
+ if ( $installed_ver != $tptn_db_version ) {
877
+
878
+ $wpdb->hide_errors();
879
+
880
+ switch ( $installed_ver ) {
881
+
882
+ case '4.0':
883
+ case 4.0:
884
+ $wpdb->query( 'ALTER TABLE ' . $table_name . " CHANGE blog_id blog_id bigint(20) NOT NULL DEFAULT '1'" );
885
+ $wpdb->query( 'ALTER TABLE ' . $table_name_daily . " CHANGE blog_id blog_id bigint(20) NOT NULL DEFAULT '1'" );
886
+ break;
887
+
888
+ default:
889
+
890
+ $wpdb->query( 'ALTER TABLE ' . $table_name . ' MODIFY postnumber bigint(20) ' );
891
+ $wpdb->query( 'ALTER TABLE ' . $table_name_daily . ' MODIFY postnumber bigint(20) ' );
892
+ $wpdb->query( 'ALTER TABLE ' . $table_name . ' MODIFY cntaccess bigint(20) ' );
893
+ $wpdb->query( 'ALTER TABLE ' . $table_name_daily . ' MODIFY cntaccess bigint(20) ' );
894
+ $wpdb->query( 'ALTER TABLE ' . $table_name_daily . ' MODIFY dp_date DATETIME ' );
895
+ $wpdb->query( 'ALTER TABLE ' . $table_name . ' DROP PRIMARY KEY, ADD PRIMARY KEY(postnumber, blog_id) ' );
896
+ $wpdb->query( 'ALTER TABLE ' . $table_name_daily . ' DROP PRIMARY KEY, ADD PRIMARY KEY(postnumber, dp_date, blog_id) ' );
897
+ $wpdb->query( 'ALTER TABLE ' . $table_name . " ADD blog_id bigint(20) NOT NULL DEFAULT '1'" );
898
+ $wpdb->query( 'ALTER TABLE ' . $table_name_daily . " ADD blog_id bigint(20) NOT NULL DEFAULT '1'" );
899
+ $wpdb->query( 'UPDATE ' . $table_name . ' SET blog_id = 1 WHERE blog_id = 0 ' );
900
+ $wpdb->query( 'UPDATE ' . $table_name_daily . ' SET blog_id = 1 WHERE blog_id = 0 ' );
901
+
902
+ }
903
+
904
+ $wpdb->show_errors();
905
+
906
+ update_site_option( 'tptn_db_version', $tptn_db_version );
907
+ }
908
+
909
+ }
910
+
911
+
912
+ /**
913
+ * Fired when a new site is activated with a WPMU environment.
914
+ *
915
+ * @since 2.0.0
916
+ *
917
+ * @param int $blog_id ID of the new blog.
918
+ */
919
+ function tptn_activate_new_site( $blog_id ) {
920
+
921
+ if ( 1 !== did_action( 'wpmu_new_blog' ) ) {
922
+ return;
923
+ }
924
+
925
+ switch_to_blog( $blog_id );
926
+ tptn_single_activate();
927
+ restore_current_blog();
928
+
929
+ }
930
+ add_action( 'wpmu_new_blog', 'tptn_activate_new_site' );
931
+
932
+
933
+ /**
934
+ * Fired when a site is deleted in a WPMU environment.
935
+ *
936
+ * @since 2.0.0
937
+ *
938
+ * @param array $tables Tables in the blog.
939
+ */
940
+ function tptn_on_delete_blog( $tables ) {
941
+ global $wpdb;
942
+
943
+ $tables[] = $wpdb->prefix . 'top_ten';
944
+ $tables[] = $wpdb->prefix . 'top_ten_daily';
945
+
946
+ return $tables;
947
+ }
948
+ add_filter( 'wpmu_drop_tables', 'tptn_on_delete_blog' );
949
+
950
+
951
+ /**
952
+ * Function to call install function if needed.
953
+ *
954
+ * @since 1.9
955
+ */
956
+ function tptn_update_db_check() {
957
+ global $tptn_db_version, $network_wide;
958
+
959
+ if ( get_site_option( 'tptn_db_version' ) != $tptn_db_version ) {
960
+ tptn_activation_hook( $network_wide );
961
+ }
962
+ }
963
+ add_action( 'plugins_loaded', 'tptn_update_db_check' );
964
+
965
+
966
+ /**
967
+ * Function to delete all rows in the posts table.
968
+ *
969
+ * @since 1.3
970
+ * @param bool $daily Daily flag
971
+ */
972
+ function tptn_trunc_count( $daily = false ) {
973
+ global $wpdb;
974
+
975
+ $table_name = $wpdb->base_prefix . 'top_ten';
976
+ if ( $daily ) {
977
+ $table_name .= '_daily';
978
+ }
979
+
980
+ $sql = "TRUNCATE TABLE $table_name";
981
+ $wpdb->query( $sql );
982
+ }
983
+
984
+
985
+ /**
986
+ * Function to create an excerpt for the post.
987
+ *
988
+ * @since 1.6
989
+ * @param int $id Post ID
990
+ * @param int|string $excerpt_length Length of the excerpt in words
991
+ * @return string Excerpt
992
+ */
993
+ function tptn_excerpt( $id, $excerpt_length = 0, $use_excerpt = true ) {
994
+ $content = $excerpt = '';
995
+
996
+ if ( $use_excerpt ) {
997
+ $content = get_post( $id )->post_excerpt;
998
+ }
999
+
1000
+ if ( '' == $content ) {
1001
+ $content = get_post( $id )->post_content;
1002
+ }
1003
+
1004
+ $output = strip_tags( strip_shortcodes( $content ) );
1005
+
1006
+ if ( $excerpt_length > 0 ) {
1007
+ $output = wp_trim_words( $output, $excerpt_length );
1008
+ }
1009
+
1010
+ /**
1011
+ * Filters excerpt generated by tptn.
1012
+ *
1013
+ * @since 1.9.10.1
1014
+ *
1015
+ * @param array $output Formatted excerpt
1016
+ * @param int $id Post ID
1017
+ * @param int $excerpt_length Length of the excerpt
1018
+ * @param boolean $use_excerpt Use the excerpt?
1019
+ */
1020
+ return apply_filters( 'tptn_excerpt', $output, $id, $excerpt_length, $use_excerpt );
1021
+ }
1022
+
1023
+
1024
+ /**
1025
+ * Function to limit content by characters.
1026
+ *
1027
+ * @since 1.9.8
1028
+ * @param string $content Content to be used to make an excerpt
1029
+ * @param int $no_of_char Maximum length of excerpt in characters
1030
+ * @return string Formatted content
1031
+ */
1032
+ function tptn_max_formatted_content( $content, $no_of_char = -1 ) {
1033
+ $content = strip_tags( $content ); // Remove CRLFs, leaving space in their wake
1034
+
1035
+ if ( ( $no_of_char > 0 ) && ( strlen( $content ) > $no_of_char ) ) {
1036
+ $aWords = preg_split( '/[\s]+/', substr( $content, 0, $no_of_char ) );
1037
+
1038
+ // Break back down into a string of words, but drop the last one if it's chopped off
1039
+ if ( substr( $content, $no_of_char, 1 ) == ' ' ) {
1040
+ $content = implode( ' ', $aWords );
1041
+ } else {
1042
+ $content = implode( ' ', array_slice( $aWords, 0, -1 ) ) .'&hellip;';
1043
+ }
1044
+ }
1045
+
1046
+ /**
1047
+ * Filters formatted content after cropping.
1048
+ *
1049
+ * @since 1.9.10.1
1050
+ *
1051
+ * @param string $content Formatted content
1052
+ * @param int $no_of_char Maximum length of excerpt in characters
1053
+ */
1054
+ return apply_filters( 'tptn_max_formatted_content' , $content, $no_of_char );
1055
+ }
1056
+
1057
+
1058
+ /**
1059
+ * Function to truncate daily run.
1060
+ *
1061
+ * @since 1.9.9.1
1062
+ */
1063
+ function tptn_cron() {
1064
+ global $tptn_settings, $wpdb;
1065
+
1066
+ $table_name_daily = $wpdb->base_prefix . 'top_ten_daily';
1067
+
1068
+ $current_time = current_time( 'timestamp', 0 );
1069
+ $from_date = strtotime( '-90 DAY' , $current_time );
1070
+ $from_date = gmdate( 'Y-m-d H' , $from_date );
1071
+
1072
+ $resultscount = $wpdb->query( $wpdb->prepare(
1073
+ "DELETE FROM {$table_name_daily} WHERE dp_date <= '%s' ",
1074
+ $from_date
1075
+ ) );
1076
+
1077
+ }
1078
+ add_action( 'tptn_cron_hook', 'tptn_cron' );
1079
+
1080
+
1081
+ /**
1082
+ * Function to enable run or actions.
1083
+ *
1084
+ * @since 1.9
1085
+ * @param int $hour Hour
1086
+ * @param int $min Minute
1087
+ * @param int $recurrence Frequency
1088
+ */
1089
+ function tptn_enable_run( $hour, $min, $recurrence ) {
1090
+ // Invoke WordPress internal cron
1091
+ if ( ! wp_next_scheduled( 'tptn_cron_hook' ) ) {
1092
+ wp_schedule_event( mktime( $hour, $min, 0 ), $recurrence, 'tptn_cron_hook' );
1093
+ } else {
1094
+ wp_clear_scheduled_hook( 'tptn_cron_hook' );
1095
+ wp_schedule_event( mktime( $hour, $min, 0 ), $recurrence, 'tptn_cron_hook' );
1096
+ }
1097
+ }
1098
+
1099
+
1100
+ /**
1101
+ * Function to disable daily run or actions.
1102
+ *
1103
+ * @since 1.9
1104
+ */
1105
+ function tptn_disable_run() {
1106
+ if ( wp_next_scheduled( 'tptn_cron_hook' ) ) {
1107
+ wp_clear_scheduled_hook( 'tptn_cron_hook' );
1108
+ }
1109
+ }
1110
+
1111
+ // Let's declare this conditional function to add more schedules. It will be a generic function across all plugins that I develop
1112
+ if ( ! function_exists( 'ald_more_reccurences' ) ) :
1113
+
1114
+ /**
1115
+ * Function to add weekly and fortnightly recurrences. Filters `cron_schedules`.
1116
+ *
1117
+ * @param array Array of existing schedules
1118
+ * @return array Filtered array with new schedules
1119
+ */
1120
+ function ald_more_reccurences( $schedules ) {
1121
+ // add a 'weekly' interval
1122
+ $schedules['weekly'] = array(
1123
+ 'interval' => WEEK_IN_SECONDS,
1124
+ 'display' => __( 'Once Weekly', 'top-10' ),
1125
+ );
1126
+ $schedules['fortnightly'] = array(
1127
+ 'interval' => 2 * WEEK_IN_SECONDS,
1128
+ 'display' => __( 'Once Fortnightly', 'top-10' ),
1129
+ );
1130
+ $schedules['monthly'] = array(
1131
+ 'interval' => 30 * DAY_IN_SECONDS,
1132
+ 'display' => __( 'Once Monthly', 'top-10' ),
1133
+ );
1134
+ $schedules['quarterly'] = array(
1135
+ 'interval' => 90 * DAY_IN_SECONDS,
1136
+ 'display' => __( 'Once quarterly', 'top-10' ),
1137
+ );
1138
+ return $schedules;
1139
+ }
1140
+ add_filter( 'cron_schedules', 'ald_more_reccurences' );
1141
+
1142
+ endif;
1143
+
1144
+
1145
+ /**
1146
+ * Get all image sizes.
1147
+ *
1148
+ * @since 2.0.0
1149
+ * @param string $size Get specific image size
1150
+ * @return array Image size names along with width, height and crop setting
1151
+ */
1152
+ function tptn_get_all_image_sizes( $size = '' ) {
1153
+ global $_wp_additional_image_sizes;
1154
+
1155
+ /* Get the intermediate image sizes and add the full size to the array. */
1156
+ $intermediate_image_sizes = get_intermediate_image_sizes();
1157
+
1158
+ foreach ( $intermediate_image_sizes as $_size ) {
1159
+ if ( in_array( $_size, array( 'thumbnail', 'medium', 'large' ) ) ) {
1160
+
1161
+ $sizes[ $_size ]['name'] = $_size;
1162
+ $sizes[ $_size ]['width'] = get_option( $_size . '_size_w' );
1163
+ $sizes[ $_size ]['height'] = get_option( $_size . '_size_h' );
1164
+ $sizes[ $_size ]['crop'] = (bool) get_option( $_size . '_crop' );
1165
+
1166
+ if ( ( 0 == $sizes[ $_size ]['width'] ) && ( 0 == $sizes[ $_size ]['height'] ) ) {
1167
+ unset( $sizes[ $_size ] );
1168
+ }
1169
+ } elseif ( isset( $_wp_additional_image_sizes[ $_size ] ) ) {
1170
+
1171
+ $sizes[ $_size ] = array(
1172
+ 'name' => $_size,
1173
+ 'width' => $_wp_additional_image_sizes[ $_size ]['width'],
1174
+ 'height' => $_wp_additional_image_sizes[ $_size ]['height'],
1175
+ 'crop' => (bool) $_wp_additional_image_sizes[ $_size ]['crop'],
1176
+ );
1177
+ }
1178
+ }
1179
+
1180
+ /* Get only 1 size if found */
1181
+ if ( $size ) {
1182
+ if ( isset( $sizes[ $size ] ) ) {
1183
+ return $sizes[ $size ];
1184
+ } else {
1185
+ return false;
1186
+ }
1187
+ }
1188
+
1189
+ /**
1190
+ * Filters array of image sizes.
1191
+ *
1192
+ * @since 2.0.0
1193
+ *
1194
+ * @param array $sizes Image sizes
1195
+ */
1196
+ return apply_filters( 'tptn_get_all_image_sizes', $sizes );
1197
+ }
1198
+
1199
+
1200
+ /**
1201
+ * Returns the object identifier for the current language (WPML).
1202
+ *
1203
+ * @since 2.1.0
1204
+ *
1205
+ * @param $post_id Post ID
1206
+ */
1207
+ function tptn_object_id_cur_lang( $post_id ) {
1208
+
1209
+ $return_original_if_missing = false;
1210
+
1211
+ /**
1212
+ * Filter to modify if the original language ID is returned.
1213
+ *
1214
+ * @since 2.2.3
1215
+ *
1216
+ * @param bool $return_original_if_missing
1217
+ * @param int $post_id Post ID
1218
+ */
1219
+ $return_original_if_missing = apply_filters( 'tptn_wpml_return_original', $return_original_if_missing, $post_id );
1220
+
1221
+ if ( function_exists( 'wpml_object_id_filter' ) ) {
1222
+ $post_id = wpml_object_id_filter( $post_id, 'any', $return_original_if_missing );
1223
+ } elseif ( function_exists( 'icl_object_id' ) ) {
1224
+ $post_id = icl_object_id( $post_id, 'any', $return_original_if_missing );
1225
+ }
1226
+
1227
+ /**
1228
+ * Filters object ID for current language (WPML).
1229
+ *
1230
+ * @since 2.1.0
1231
+ *
1232
+ * @param int $post_id Post ID
1233
+ */
1234
+ return apply_filters( 'tptn_object_id_cur_lang', $post_id );
1235
+ }
1236
+
1237
+
1238
+ /*
1239
+ ----------------------------------------------------------------------------*
1240
+ * WordPress widget
1241
+ *----------------------------------------------------------------------------*/
1242
+
1243
+ /**
1244
+ * Include Widget class.
1245
+ */
1246
+ require_once( plugin_dir_path( __FILE__ ) . 'includes/class-top-10-widget.php' );
1247
+
1248
+
1249
+ /*
1250
+ ----------------------------------------------------------------------------*
1251
+ * Top 10 modules
1252
+ *----------------------------------------------------------------------------*/
1253
+
1254
+ require_once( plugin_dir_path( __FILE__ ) . 'includes/counter.php' );
1255
+ require_once( plugin_dir_path( __FILE__ ) . 'includes/media.php' );
1256
+ require_once( plugin_dir_path( __FILE__ ) . 'includes/output-generator.php' );
1257
+ require_once( plugin_dir_path( __FILE__ ) . 'includes/modules/shortcode.php' );
1258
+ require_once( plugin_dir_path( __FILE__ ) . 'includes/modules/exclusions.php' );
1259
+ require_once( plugin_dir_path( __FILE__ ) . 'includes/modules/taxonomies.php' );
1260
+
1261
+
1262
+ /*
1263
+ ----------------------------------------------------------------------------*
1264
+ * Dashboard and Administrative Functionality
1265
+ *----------------------------------------------------------------------------*/
1266
+
1267
+ // This function adds an Options page in WP Admin
1268
+ if ( is_admin() || strstr( $_SERVER['PHP_SELF'], 'wp-admin/' ) ) {
1269
+
1270
+ require_once( plugin_dir_path( __FILE__ ) . 'admin/admin.php' );
1271
+ require_once( plugin_dir_path( __FILE__ ) . 'admin/admin-metabox.php' );
1272
+ require_once( plugin_dir_path( __FILE__ ) . 'admin/admin-columns.php' );
1273
+ require_once( plugin_dir_path( __FILE__ ) . 'admin/admin-dashboard.php' );
1274
+ require_once( plugin_dir_path( __FILE__ ) . 'admin/class-stats.php' );
1275
+ require_once( plugin_dir_path( __FILE__ ) . 'admin/cache.php' );
1276
+
1277
+ } // End admin.inc
1278
+
1279
+ /*
1280
+ ----------------------------------------------------------------------------*
1281
+ * Deprecated functions
1282
+ *----------------------------------------------------------------------------*/
1283
+
1284
+ require_once( plugin_dir_path( __FILE__ ) . 'includes/deprecated.php' );
1285
+
1286
+ if ( is_admin() || strstr( $_SERVER['PHP_SELF'], 'wp-admin/' ) ) {
1287
+
1288
+ require_once( plugin_dir_path( __FILE__ ) . 'admin/deprecated.php' );
1289
+ }
uninstall.php CHANGED
@@ -1,38 +1,38 @@
1
- <?php
2
- /**
3
- * Update counts to database.
4
- *
5
- * @package Top_Ten
6
- * @author Ajay D'Souza <me@ajaydsouza.com>
7
- * @license GPL-2.0+
8
- * @link https://webberzone.com
9
- * @copyright 2008-2015 Ajay D'Souza
10
- */
11
- // If this file is called directly, abort.
12
- if ( ! defined( 'WPINC' ) ) {
13
- die;
14
- }
15
-
16
- global $wpdb;
17
-
18
- $tptn_settings = get_option( 'ald_tptn_settings' );
19
-
20
- if ( true == $tptn_settings['uninstall_clean_tables'] ) {
21
-
22
- $table_name = $wpdb->base_prefix . "top_ten";
23
- $table_name_daily = $wpdb->base_prefix . "top_ten_daily";
24
-
25
- $wpdb->query( "DROP TABLE $table_name" );
26
- $wpdb->query( "DROP TABLE $table_name_daily" );
27
- delete_option( 'tptn_db_version' );
28
-
29
- }
30
-
31
- if ( true == $tptn_settings['uninstall_clean_options'] ) {
32
-
33
- if ( wp_next_scheduled('tptn_cron_hook') ) {
34
- wp_clear_scheduled_hook('tptn_cron_hook');
35
- }
36
- delete_option( 'ald_tptn_settings' );
37
- }
38
-
1
+ <?php
2
+ /**
3
+ * Update counts to database.
4
+ *
5
+ * @package Top_Ten
6
+ * @author Ajay D'Souza <me@ajaydsouza.com>
7
+ * @license GPL-2.0+
8
+ * @link https://webberzone.com
9
+ * @copyright 2008-2015 Ajay D'Souza
10
+ */
11
+ // If this file is called directly, abort.
12
+ if ( ! defined( 'WPINC' ) ) {
13
+ die;
14
+ }
15
+
16
+ global $wpdb;
17
+
18
+ $tptn_settings = get_option( 'ald_tptn_settings' );
19
+
20
+ if ( true == $tptn_settings['uninstall_clean_tables'] ) {
21
+
22
+ $table_name = $wpdb->base_prefix . 'top_ten';
23
+ $table_name_daily = $wpdb->base_prefix . 'top_ten_daily';
24
+
25
+ $wpdb->query( "DROP TABLE $table_name" );
26
+ $wpdb->query( "DROP TABLE $table_name_daily" );
27
+ delete_option( 'tptn_db_version' );
28
+
29
+ }
30
+
31
+ if ( true == $tptn_settings['uninstall_clean_options'] ) {
32
+
33
+ if ( wp_next_scheduled( 'tptn_cron_hook' ) ) {
34
+ wp_clear_scheduled_hook( 'tptn_cron_hook' );
35
+ }
36
+ delete_option( 'ald_tptn_settings' );
37
+ }
38
+