WordPress Popular Posts - Version 4.1.0

Version Description

If you're using a caching plugin, flushing its cache right after installing / upgrading to this version is highly recommended.

  • Adds support for the REST API.
  • Adds At-a-Glance stats.
  • Adds Today time range to Stats section.
  • Drops jQuery dependency on front-end (faster loading times!)
  • The plugin will no longer display debugging information unless WP_DEBUG is set to true.
  • Many minor bug fixes and improvements.

See the Release notes for more details!

Download this release

Release Info

Developer hcabrera
Plugin Icon 128x128 WordPress Popular Posts
Version 4.1.0
Comparing to
See all releases

Code changes from version 4.0.12 to 4.1.0

admin/class-wordpress-popular-posts-admin.php CHANGED
@@ -3,7 +3,7 @@
3
  /**
4
  * The admin-facing functionality of the plugin.
5
  *
6
- * @link http://cabrerahector.com/
7
  * @since 4.0.0
8
  *
9
  * @package WordPressPopularPosts
@@ -39,7 +39,7 @@ class WPP_Admin {
39
  * @var string $version The current version of this plugin.
40
  */
41
  private $version;
42
-
43
  /**
44
  * Administrative settings.
45
  *
@@ -47,7 +47,7 @@ class WPP_Admin {
47
  * @var array
48
  */
49
  private $options = array();
50
-
51
  /**
52
  * Slug of the plugin screen.
53
  *
@@ -68,10 +68,10 @@ class WPP_Admin {
68
  $this->plugin_name = $plugin_name;
69
  $this->version = $version;
70
  $this->options = WPP_Settings::get( 'admin_options' );
71
-
72
  // Delete old data on demand
73
  if ( 1 == $this->options['tools']['log']['limit'] ) {
74
-
75
  if ( !wp_next_scheduled( 'wpp_cache_event' ) ) {
76
  $tomorrow = time() + 86400;
77
  $midnight = mktime(
@@ -84,20 +84,20 @@ class WPP_Admin {
84
  );
85
  wp_schedule_event( $midnight, 'daily', 'wpp_cache_event' );
86
  }
87
-
88
  } else {
89
  // Remove the scheduled event if exists
90
  if ( $timestamp = wp_next_scheduled( 'wpp_cache_event' ) ) {
91
  wp_unschedule_event( $timestamp, 'wpp_cache_event' );
92
  }
93
-
94
  }
95
-
96
  // Allow WP themers / coders to override data sampling status (active/inactive)
97
  $this->options['tools']['sampling']['active'] = apply_filters( 'wpp_data_sampling', $this->options['tools']['sampling']['active'] );
98
 
99
  }
100
-
101
  /**
102
  * Fired when a new blog is activated on WP Multisite.
103
  *
@@ -117,7 +117,7 @@ class WPP_Admin {
117
  restore_current_blog();
118
 
119
  } // end activate_new_site
120
-
121
  /**
122
  * Fired when a blog is deleted on WP Multisite.
123
  *
@@ -129,33 +129,90 @@ class WPP_Admin {
129
  public function delete_site_data( $tables, $blog_id ){
130
 
131
  global $wpdb;
132
-
133
  $tables[] = $wpdb->prefix . 'popularpostsdata';
134
  $tables[] = $wpdb->prefix . 'popularpostssummary';
135
-
136
  return $tables;
137
 
138
  } // end delete_site_data
139
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
140
  /**
141
  * Register the stylesheets for the public-facing side of the site.
142
  *
143
  * @since 4.0.0
144
  */
145
  public function enqueue_styles() {
146
-
147
  if ( !isset( $this->plugin_screen_hook_suffix ) ) {
148
  return;
149
  }
150
 
151
  $screen = get_current_screen();
152
-
153
  if ( isset( $screen->id ) && $screen->id == $this->plugin_screen_hook_suffix ) {
154
  wp_enqueue_style( 'font-awesome', plugin_dir_url( __FILE__ ) . 'css/vendor/font-awesome.min.css', array(), '4.7.0', 'all' );
155
  wp_enqueue_style( 'wpp-datepicker-theme', plugin_dir_url( __FILE__ ) . 'css/datepicker.css', array(), $this->version, 'all' );
156
  wp_enqueue_style( 'wordpress-popular-posts-admin-styles', plugin_dir_url( __FILE__ ) . 'css/admin.css', array(), $this->version, 'all' );
157
  }
158
-
159
  }
160
 
161
  /**
@@ -164,67 +221,29 @@ class WPP_Admin {
164
  * @since 4.0.0
165
  */
166
  public function enqueue_scripts() {
167
-
168
  if ( ! isset( $this->plugin_screen_hook_suffix ) ) {
169
  return;
170
  }
171
 
172
  $screen = get_current_screen();
173
-
174
  if ( $screen->id == $this->plugin_screen_hook_suffix ) {
175
-
176
- wp_enqueue_script( 'thickbox' );
177
- wp_enqueue_style( 'thickbox' );
178
- wp_enqueue_script( 'media-upload' );
179
  wp_enqueue_script( 'jquery-ui-datepicker' );
180
  wp_enqueue_script( 'chartjs', plugin_dir_url( __FILE__ ) . 'js/vendor/Chart.min.js', array(), $this->version );
181
  wp_enqueue_script( 'wpp-chart', plugin_dir_url( __FILE__ ) . 'js/chart.js', array('chartjs'), $this->version );
182
  wp_register_script( 'wordpress-popular-posts-admin-script', plugin_dir_url( __FILE__ ) . 'js/admin.js', array('jquery'), $this->version, true );
183
  wp_localize_script( 'wordpress-popular-posts-admin-script', 'wpp_admin_params', array(
 
184
  'nonce' => wp_create_nonce( "wpp_admin_nonce" )
185
  ));
186
  wp_enqueue_script( 'wordpress-popular-posts-admin-script' );
187
-
188
- }
189
-
190
- }
191
-
192
- /**
193
- * Hooks into getttext to change upload button text when uploader is called by WPP.
194
- *
195
- * @since 2.3.4
196
- */
197
- public function thickbox_setup() {
198
 
199
- global $pagenow;
200
-
201
- if ( 'media-upload.php' == $pagenow || 'async-upload.php' == $pagenow ) {
202
- add_filter( 'gettext', array( $this, 'replace_thickbox_text' ), 1, 3 );
203
  }
204
 
205
- } // end thickbox_setup
206
-
207
- /**
208
- * Replaces upload button text when uploader is called by WPP.
209
- *
210
- * @since 2.3.4
211
- * @param string translated_text
212
- * @param string text
213
- * @param string domain
214
- * @return string
215
- */
216
- public function replace_thickbox_text( $translated_text, $text, $domain ) {
217
-
218
- if ( 'Insert into Post' == $text ) {
219
- $referer = strpos( wp_get_referer(), 'wpp_admin' );
220
- if ( $referer != '' ) {
221
- return __( 'Upload', 'wordpress-popular-posts' );
222
- }
223
- }
224
-
225
- return $translated_text;
226
-
227
- } // end replace_thickbox_text
228
 
229
  public function add_contextual_help(){
230
 
@@ -314,7 +333,7 @@ class WPP_Admin {
314
  return "INNER JOIN `{$wpdb->prefix}posts` p ON c.comment_post_ID = p.ID";
315
  }
316
 
317
- return $table;
318
 
319
  }
320
 
@@ -359,6 +378,12 @@ class WPP_Admin {
359
  $interval = "24 HOUR";
360
  break;
361
 
 
 
 
 
 
 
362
  case "last7days":
363
  case "weekly":
364
  $interval = "6 DAY";
@@ -608,7 +633,7 @@ class WPP_Admin {
608
  remove_filter( 'wpp_query_limit', array( $this, 'chart_query_limit' ), 1 );
609
 
610
  if (
611
- ( is_array($views_data) && !empty($views_data) )
612
  || ( is_array($comments_data) && !empty($comments_data) )
613
  ) {
614
 
@@ -690,7 +715,7 @@ class WPP_Admin {
690
 
691
  if ( wp_verify_nonce( $nonce, 'wpp_admin_nonce' ) ) {
692
 
693
- $valid_ranges = array( 'daily', 'last24hours', 'weekly', 'last7days', 'monthly', 'last30days', 'all', 'custom' );
694
  $time_units = array( "MINUTE", "HOUR", "DAY" );
695
 
696
  $range = ( isset( $_GET['range'] ) && in_array( $_GET['range'], $valid_ranges ) ) ? $_GET['range'] : 'last7days';
@@ -842,7 +867,7 @@ class WPP_Admin {
842
  $color_scheme = get_user_option( 'admin_color', $current_user->ID );
843
 
844
  if (
845
- empty( $color_scheme )
846
  || !isset( $_wp_admin_css_colors[ $color_scheme ] )
847
  ) {
848
  $color_scheme = 'fresh';
@@ -858,7 +883,7 @@ class WPP_Admin {
858
  return array( '#333', '#999', '#881111', '#a80000' );
859
 
860
  }
861
-
862
  /**
863
  * Render the settings page for this plugin.
864
  *
@@ -867,7 +892,7 @@ class WPP_Admin {
867
  public function display_plugin_admin_page() {
868
  include_once( plugin_dir_path(__FILE__) . 'partials/admin.php' );
869
  }
870
-
871
  /**
872
  * Registers Settings link on plugin description.
873
  *
@@ -881,7 +906,7 @@ class WPP_Admin {
881
  $plugin_file = 'wordpress-popular-posts/wordpress-popular-posts.php';
882
 
883
  if (
884
- is_plugin_active( $plugin_file )
885
  && $plugin_file == $file
886
  ) {
887
  $links[] = '<a href="' . admin_url( 'options-general.php?page=wordpress-popular-posts' ) . '">' . __( 'Settings' ) . '</a>';
@@ -890,7 +915,7 @@ class WPP_Admin {
890
  return $links;
891
 
892
  }
893
-
894
  /**
895
  * Register the WPP widget.
896
  *
@@ -899,7 +924,7 @@ class WPP_Admin {
899
  public function register_widget() {
900
  register_widget( 'WPP_Widget' );
901
  }
902
-
903
  /**
904
  * Flushes post's cached thumbnail(s) when the image is changed.
905
  *
@@ -918,13 +943,13 @@ class WPP_Admin {
918
  $wpp_image = WPP_Image::get_instance();
919
 
920
  if ( $wpp_image->can_create_thumbnails() ) {
921
-
922
  $wpp_uploads_dir = $wpp_image->get_plugin_uploads_dir();
923
-
924
  if ( is_array($wpp_uploads_dir) && !empty($wpp_uploads_dir) ) {
925
-
926
  $files = glob( "{$wpp_uploads_dir['basedir']}/{$object_id}-featured-*.*" ); // get all related images
927
-
928
  if ( is_array($files) && !empty($files) ) {
929
 
930
  foreach( $files as $file ){ // iterate files
@@ -942,7 +967,7 @@ class WPP_Admin {
942
  }
943
 
944
  }
945
-
946
  /**
947
  * Truncates thumbnails cache on demand.
948
  *
@@ -950,51 +975,51 @@ class WPP_Admin {
950
  * @global object wpdb
951
  */
952
  public function clear_thumbnails() {
953
-
954
  $wpp_image = WPP_Image::get_instance();
955
 
956
  if ( $wpp_image->can_create_thumbnails() ) {
957
-
958
  $wpp_uploads_dir = $wpp_image->get_plugin_uploads_dir();
959
-
960
  if ( is_array($wpp_uploads_dir) && !empty($wpp_uploads_dir) ) {
961
-
962
  $token = isset( $_POST['token'] ) ? $_POST['token'] : null;
963
- $key = get_option( "wpp_rand" );
964
-
965
  if (
966
- current_user_can( 'manage_options' )
967
  && ( $token === $key )
968
  ) {
969
-
970
  if ( is_dir( $wpp_uploads_dir['basedir'] ) ) {
971
-
972
  $files = glob( "{$wpp_uploads_dir['basedir']}/*" ); // get all related images
973
-
974
  if ( is_array($files) && !empty($files) ) {
975
-
976
  foreach( $files as $file ){ // iterate files
977
  if ( is_file( $file ) ) {
978
  @unlink( $file ); // delete file
979
  }
980
  }
981
-
982
  echo 1;
983
-
984
  } else {
985
  echo 2;
986
  }
987
-
988
  } else {
989
  echo 3;
990
  }
991
-
992
  } else {
993
  echo 4;
994
  }
995
-
996
  }
997
-
998
  } else {
999
  echo 3;
1000
  }
@@ -1002,7 +1027,7 @@ class WPP_Admin {
1002
  wp_die();
1003
 
1004
  }
1005
-
1006
  /**
1007
  * Truncates data and cache on demand.
1008
  *
@@ -1016,43 +1041,43 @@ class WPP_Admin {
1016
  $key = get_option( "wpp_rand" );
1017
 
1018
  if (
1019
- current_user_can( 'manage_options' )
1020
- && ( $token === $key )
1021
  && $clear
1022
  ) {
1023
-
1024
  global $wpdb;
1025
 
1026
  // set table name
1027
  $prefix = $wpdb->prefix . "popularposts";
1028
 
1029
  if ( $clear == 'cache' ) {
1030
-
1031
  if ( $wpdb->get_var("SHOW TABLES LIKE '{$prefix}summary'") ) {
1032
-
1033
  $wpdb->query("TRUNCATE TABLE {$prefix}summary;");
1034
  $this->flush_transients();
1035
-
1036
  echo 1;
1037
-
1038
  } else {
1039
  echo 2;
1040
  }
1041
-
1042
  } elseif ( $clear == 'all' ) {
1043
-
1044
  if ( $wpdb->get_var("SHOW TABLES LIKE '{$prefix}data'") && $wpdb->get_var("SHOW TABLES LIKE '{$prefix}summary'") ) {
1045
-
1046
  $wpdb->query("TRUNCATE TABLE {$prefix}data;");
1047
  $wpdb->query("TRUNCATE TABLE {$prefix}summary;");
1048
  $this->flush_transients();
1049
-
1050
  echo 1;
1051
-
1052
  } else {
1053
  echo 2;
1054
  }
1055
-
1056
  } else {
1057
  echo 3;
1058
  }
@@ -1063,7 +1088,7 @@ class WPP_Admin {
1063
  wp_die();
1064
 
1065
  }
1066
-
1067
  /**
1068
  * Deletes cached (transient) data.
1069
  *
@@ -1075,16 +1100,16 @@ class WPP_Admin {
1075
  $wpp_transients = get_option( 'wpp_transients' );
1076
 
1077
  if ( $wpp_transients && is_array( $wpp_transients ) && !empty( $wpp_transients ) ) {
1078
-
1079
  for ( $t=0; $t < count( $wpp_transients ); $t++ )
1080
  delete_transient( $wpp_transients[$t] );
1081
 
1082
  update_option( 'wpp_transients', array() );
1083
-
1084
  }
1085
 
1086
  }
1087
-
1088
  /**
1089
  * Purges post from data/summary tables.
1090
  *
@@ -1112,11 +1137,11 @@ class WPP_Admin {
1112
  // Delete from data table
1113
  $wpdb->query( $wpdb->prepare( "DELETE FROM {$wpdb->prefix}popularpostsdata WHERE postid = %d;", $post_ID ) );
1114
  // Delete from summary table
1115
- $wpdb->query( $wpdb->prepare( "DELETE FROM {$wpdb->prefix}popularpostssummary WHERE postid = %d;", $post_ID ) );
1116
  }
1117
 
1118
  }
1119
-
1120
  /**
1121
  * Purges old post data from summary table.
1122
  *
@@ -1130,35 +1155,14 @@ class WPP_Admin {
1130
  $wpdb->query( "DELETE FROM {$wpdb->prefix}popularpostssummary WHERE view_date < DATE_SUB('" . WPP_Helper::curdate() . "', INTERVAL {$this->options['tools']['log']['expires_after']} DAY);" );
1131
 
1132
  } // end purge_data
1133
-
1134
  /**
1135
  * Checks if an upgrade procedure is required.
1136
  *
1137
  * @since 2.4.0
1138
  */
1139
  public function upgrade_check(){
1140
-
1141
- // Multisite setup, upgrade all sites
1142
- if ( function_exists( 'is_multisite' ) && is_multisite() ) {
1143
- global $wpdb;
1144
-
1145
- $original_blog_id = get_current_blog_id();
1146
- $blogs_ids = $wpdb->get_col( "SELECT blog_id FROM {$wpdb->blogs}" );
1147
-
1148
- include_once( ABSPATH . 'wp-admin/includes/plugin.php' );
1149
-
1150
- foreach( $blogs_ids as $blog_id ) {
1151
- switch_to_blog( $blog_id );
1152
- $this->upgrade_site();
1153
- }
1154
-
1155
- // Switch back to current blog
1156
- switch_to_blog( $original_blog_id );
1157
- }
1158
- else {
1159
- $this->upgrade_site();
1160
- }
1161
-
1162
  } // end upgrade_check
1163
 
1164
  /**
@@ -1187,20 +1191,31 @@ class WPP_Admin {
1187
  */
1188
  private function upgrade() {
1189
 
 
 
1190
  // Keep the upgrade process from running too many times
1191
- if ( get_option('wpp_update') )
1192
- return;
1193
-
1194
- add_option( 'wpp_update', '1' );
 
 
 
 
 
 
 
 
 
 
 
 
1195
 
1196
  global $wpdb;
1197
 
1198
  // Set table name
1199
  $prefix = $wpdb->prefix . "popularposts";
1200
 
1201
- // Validate the structure of the tables, create missing tables / fields if necessary
1202
- WPP_Activator::track_new_site();
1203
-
1204
  // Update data table structure and indexes
1205
  $dataFields = $wpdb->get_results( "SHOW FIELDS FROM {$prefix}data;" );
1206
  foreach ( $dataFields as $column ) {
@@ -1232,32 +1247,38 @@ class WPP_Admin {
1232
  $summaryIndexes = $wpdb->get_results( "SHOW INDEX FROM {$prefix}summary;" );
1233
  foreach( $summaryIndexes as $index ) {
1234
  if ( 'ID_date' == $index->Key_name ) {
1235
- $wpdb->query( "ALTER TABLE {$prefix}summary DROP INDEX ID_date, DROP INDEX last_viewed;" );
1236
- break;
 
 
 
1237
  }
1238
  }
1239
 
 
 
 
1240
  // Check storage engine
1241
  $storage_engine_data = $wpdb->get_var( "SELECT `ENGINE` FROM `information_schema`.`TABLES` WHERE `TABLE_SCHEMA`='{$wpdb->dbname}' AND `TABLE_NAME`='{$prefix}data';" );
1242
-
1243
  if ( 'InnoDB' != $storage_engine_data ) {
1244
  $wpdb->query( "ALTER TABLE {$prefix}data ENGINE=InnoDB;" );
1245
  }
1246
-
1247
  $storage_engine_summary = $wpdb->get_var( "SELECT `ENGINE` FROM `information_schema`.`TABLES` WHERE `TABLE_SCHEMA`='{$wpdb->dbname}' AND `TABLE_NAME`='{$prefix}summary';" );
1248
-
1249
  if ( 'InnoDB' != $storage_engine_summary ) {
1250
  $wpdb->query( "ALTER TABLE {$prefix}summary ENGINE=InnoDB;" );
1251
  }
1252
 
1253
  // Update WPP version
1254
  update_option( 'wpp_ver', $this->version );
1255
-
1256
  // Remove upgrade flag
1257
  delete_option( 'wpp_update' );
1258
 
1259
  } // end __upgrade
1260
-
1261
  /**
1262
  * Checks if the technical requirements are met.
1263
  *
@@ -1272,7 +1293,7 @@ class WPP_Admin {
1272
  global $wp_version;
1273
 
1274
  $php_min_version = '5.2';
1275
- $wp_min_version = '4.1';
1276
  $php_current_version = phpversion();
1277
  $errors = array();
1278
 
@@ -1293,7 +1314,7 @@ class WPP_Admin {
1293
  return $errors;
1294
 
1295
  } // end check_requirements
1296
-
1297
  /**
1298
  * Outputs error messages to wp-admin.
1299
  *
3
  /**
4
  * The admin-facing functionality of the plugin.
5
  *
6
+ * @link https://cabrerahector.com/
7
  * @since 4.0.0
8
  *
9
  * @package WordPressPopularPosts
39
  * @var string $version The current version of this plugin.
40
  */
41
  private $version;
42
+
43
  /**
44
  * Administrative settings.
45
  *
47
  * @var array
48
  */
49
  private $options = array();
50
+
51
  /**
52
  * Slug of the plugin screen.
53
  *
68
  $this->plugin_name = $plugin_name;
69
  $this->version = $version;
70
  $this->options = WPP_Settings::get( 'admin_options' );
71
+
72
  // Delete old data on demand
73
  if ( 1 == $this->options['tools']['log']['limit'] ) {
74
+
75
  if ( !wp_next_scheduled( 'wpp_cache_event' ) ) {
76
  $tomorrow = time() + 86400;
77
  $midnight = mktime(
84
  );
85
  wp_schedule_event( $midnight, 'daily', 'wpp_cache_event' );
86
  }
87
+
88
  } else {
89
  // Remove the scheduled event if exists
90
  if ( $timestamp = wp_next_scheduled( 'wpp_cache_event' ) ) {
91
  wp_unschedule_event( $timestamp, 'wpp_cache_event' );
92
  }
93
+
94
  }
95
+
96
  // Allow WP themers / coders to override data sampling status (active/inactive)
97
  $this->options['tools']['sampling']['active'] = apply_filters( 'wpp_data_sampling', $this->options['tools']['sampling']['active'] );
98
 
99
  }
100
+
101
  /**
102
  * Fired when a new blog is activated on WP Multisite.
103
  *
117
  restore_current_blog();
118
 
119
  } // end activate_new_site
120
+
121
  /**
122
  * Fired when a blog is deleted on WP Multisite.
123
  *
129
  public function delete_site_data( $tables, $blog_id ){
130
 
131
  global $wpdb;
132
+
133
  $tables[] = $wpdb->prefix . 'popularpostsdata';
134
  $tables[] = $wpdb->prefix . 'popularpostssummary';
135
+
136
  return $tables;
137
 
138
  } // end delete_site_data
139
 
140
+ /**
141
+ * Display some statistics at the "At a Glance" box from the Dashboard.
142
+ *
143
+ * @since 4.1.0
144
+ */
145
+ public function at_a_glance_stats(){
146
+
147
+ global $wpdb;
148
+
149
+ $glances = array();
150
+ $args = array( 'post', 'page' );
151
+ $post_type_placeholders = '%s, %s';
152
+
153
+ if (
154
+ isset( $this->options['stats']['post_type'] )
155
+ && !empty( $this->options['stats']['post_type'] )
156
+ ) {
157
+ $args = array_map( 'trim', explode( ',', $this->options['stats']['post_type'] ) );
158
+ $post_type_placeholders = implode( ', ', array_fill( 0, count( $args ), '%s' ) );
159
+ }
160
+
161
+ $args[] = WPP_Helper::now();
162
+
163
+ $query = $wpdb->prepare(
164
+ "SELECT SUM(pageviews) AS total
165
+ FROM `{$wpdb->prefix}popularpostssummary` v LEFT JOIN `{$wpdb->prefix}posts` p ON v.postid = p.ID
166
+ WHERE p.post_type IN( {$post_type_placeholders} ) AND p.post_status = 'publish' AND p.post_password = '' AND v.view_datetime > DATE_SUB( %s, INTERVAL 1 HOUR );"
167
+ , $args
168
+ );
169
+
170
+ $total_views = $wpdb->get_var( $query );
171
+
172
+ $pageviews = sprintf(
173
+ _n( '1 view in the last hour', '%s views in the last hour', $total_views, 'wordpress-popular-posts' ),
174
+ number_format_i18n( $total_views )
175
+ );
176
+
177
+ if ( current_user_can('manage_options') ) {
178
+ $glances[] = '<a class="wpp-views-count" href="' . admin_url( 'options-general.php?page=wordpress-popular-posts' ) .'">' . $pageviews . '</a>';
179
+ }
180
+ else {
181
+ $glances[] = '<span class="wpp-views-count">' . $pageviews . '</a>';
182
+ }
183
+
184
+ return $glances;
185
+
186
+ }
187
+
188
+ /**
189
+ * Add custom inline CSS styles for At a Glance stats.
190
+ *
191
+ * @since 4.1.0
192
+ */
193
+ public function at_a_glance_stats_css(){
194
+ echo '<style>#dashboard_right_now a.wpp-views-count:before, #dashboard_right_now span.wpp-views-count:before { content: "\f177"; }</style>';
195
+ }
196
+
197
  /**
198
  * Register the stylesheets for the public-facing side of the site.
199
  *
200
  * @since 4.0.0
201
  */
202
  public function enqueue_styles() {
203
+
204
  if ( !isset( $this->plugin_screen_hook_suffix ) ) {
205
  return;
206
  }
207
 
208
  $screen = get_current_screen();
209
+
210
  if ( isset( $screen->id ) && $screen->id == $this->plugin_screen_hook_suffix ) {
211
  wp_enqueue_style( 'font-awesome', plugin_dir_url( __FILE__ ) . 'css/vendor/font-awesome.min.css', array(), '4.7.0', 'all' );
212
  wp_enqueue_style( 'wpp-datepicker-theme', plugin_dir_url( __FILE__ ) . 'css/datepicker.css', array(), $this->version, 'all' );
213
  wp_enqueue_style( 'wordpress-popular-posts-admin-styles', plugin_dir_url( __FILE__ ) . 'css/admin.css', array(), $this->version, 'all' );
214
  }
215
+
216
  }
217
 
218
  /**
221
  * @since 4.0.0
222
  */
223
  public function enqueue_scripts() {
224
+
225
  if ( ! isset( $this->plugin_screen_hook_suffix ) ) {
226
  return;
227
  }
228
 
229
  $screen = get_current_screen();
230
+
231
  if ( $screen->id == $this->plugin_screen_hook_suffix ) {
232
+
233
+ wp_enqueue_media();
 
 
234
  wp_enqueue_script( 'jquery-ui-datepicker' );
235
  wp_enqueue_script( 'chartjs', plugin_dir_url( __FILE__ ) . 'js/vendor/Chart.min.js', array(), $this->version );
236
  wp_enqueue_script( 'wpp-chart', plugin_dir_url( __FILE__ ) . 'js/chart.js', array('chartjs'), $this->version );
237
  wp_register_script( 'wordpress-popular-posts-admin-script', plugin_dir_url( __FILE__ ) . 'js/admin.js', array('jquery'), $this->version, true );
238
  wp_localize_script( 'wordpress-popular-posts-admin-script', 'wpp_admin_params', array(
239
+ 'label_media_upload_button' => __( "Use this image", "wordpress-popular-posts" ),
240
  'nonce' => wp_create_nonce( "wpp_admin_nonce" )
241
  ));
242
  wp_enqueue_script( 'wordpress-popular-posts-admin-script' );
 
 
 
 
 
 
 
 
 
 
 
243
 
 
 
 
 
244
  }
245
 
246
+ }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
247
 
248
  public function add_contextual_help(){
249
 
333
  return "INNER JOIN `{$wpdb->prefix}posts` p ON c.comment_post_ID = p.ID";
334
  }
335
 
336
+ return $join;
337
 
338
  }
339
 
378
  $interval = "24 HOUR";
379
  break;
380
 
381
+ case "today":
382
+ $hours = date( 'H', strtotime($now) );
383
+ $minutes = $hours * 60 + (int) date( 'i', strtotime($now) );
384
+ $interval = "{$minutes} MINUTE";
385
+ break;
386
+
387
  case "last7days":
388
  case "weekly":
389
  $interval = "6 DAY";
633
  remove_filter( 'wpp_query_limit', array( $this, 'chart_query_limit' ), 1 );
634
 
635
  if (
636
+ ( is_array($views_data) && !empty($views_data) )
637
  || ( is_array($comments_data) && !empty($comments_data) )
638
  ) {
639
 
715
 
716
  if ( wp_verify_nonce( $nonce, 'wpp_admin_nonce' ) ) {
717
 
718
+ $valid_ranges = array( 'today', 'daily', 'last24hours', 'weekly', 'last7days', 'monthly', 'last30days', 'all', 'custom' );
719
  $time_units = array( "MINUTE", "HOUR", "DAY" );
720
 
721
  $range = ( isset( $_GET['range'] ) && in_array( $_GET['range'], $valid_ranges ) ) ? $_GET['range'] : 'last7days';
867
  $color_scheme = get_user_option( 'admin_color', $current_user->ID );
868
 
869
  if (
870
+ empty( $color_scheme )
871
  || !isset( $_wp_admin_css_colors[ $color_scheme ] )
872
  ) {
873
  $color_scheme = 'fresh';
883
  return array( '#333', '#999', '#881111', '#a80000' );
884
 
885
  }
886
+
887
  /**
888
  * Render the settings page for this plugin.
889
  *
892
  public function display_plugin_admin_page() {
893
  include_once( plugin_dir_path(__FILE__) . 'partials/admin.php' );
894
  }
895
+
896
  /**
897
  * Registers Settings link on plugin description.
898
  *
906
  $plugin_file = 'wordpress-popular-posts/wordpress-popular-posts.php';
907
 
908
  if (
909
+ is_plugin_active( $plugin_file )
910
  && $plugin_file == $file
911
  ) {
912
  $links[] = '<a href="' . admin_url( 'options-general.php?page=wordpress-popular-posts' ) . '">' . __( 'Settings' ) . '</a>';
915
  return $links;
916
 
917
  }
918
+
919
  /**
920
  * Register the WPP widget.
921
  *
924
  public function register_widget() {
925
  register_widget( 'WPP_Widget' );
926
  }
927
+
928
  /**
929
  * Flushes post's cached thumbnail(s) when the image is changed.
930
  *
943
  $wpp_image = WPP_Image::get_instance();
944
 
945
  if ( $wpp_image->can_create_thumbnails() ) {
946
+
947
  $wpp_uploads_dir = $wpp_image->get_plugin_uploads_dir();
948
+
949
  if ( is_array($wpp_uploads_dir) && !empty($wpp_uploads_dir) ) {
950
+
951
  $files = glob( "{$wpp_uploads_dir['basedir']}/{$object_id}-featured-*.*" ); // get all related images
952
+
953
  if ( is_array($files) && !empty($files) ) {
954
 
955
  foreach( $files as $file ){ // iterate files
967
  }
968
 
969
  }
970
+
971
  /**
972
  * Truncates thumbnails cache on demand.
973
  *
975
  * @global object wpdb
976
  */
977
  public function clear_thumbnails() {
978
+
979
  $wpp_image = WPP_Image::get_instance();
980
 
981
  if ( $wpp_image->can_create_thumbnails() ) {
982
+
983
  $wpp_uploads_dir = $wpp_image->get_plugin_uploads_dir();
984
+
985
  if ( is_array($wpp_uploads_dir) && !empty($wpp_uploads_dir) ) {
986
+
987
  $token = isset( $_POST['token'] ) ? $_POST['token'] : null;
988
+ $key = get_option( "wpp_rand" );
989
+
990
  if (
991
+ current_user_can( 'manage_options' )
992
  && ( $token === $key )
993
  ) {
994
+
995
  if ( is_dir( $wpp_uploads_dir['basedir'] ) ) {
996
+
997
  $files = glob( "{$wpp_uploads_dir['basedir']}/*" ); // get all related images
998
+
999
  if ( is_array($files) && !empty($files) ) {
1000
+
1001
  foreach( $files as $file ){ // iterate files
1002
  if ( is_file( $file ) ) {
1003
  @unlink( $file ); // delete file
1004
  }
1005
  }
1006
+
1007
  echo 1;
1008
+
1009
  } else {
1010
  echo 2;
1011
  }
1012
+
1013
  } else {
1014
  echo 3;
1015
  }
1016
+
1017
  } else {
1018
  echo 4;
1019
  }
1020
+
1021
  }
1022
+
1023
  } else {
1024
  echo 3;
1025
  }
1027
  wp_die();
1028
 
1029
  }
1030
+
1031
  /**
1032
  * Truncates data and cache on demand.
1033
  *
1041
  $key = get_option( "wpp_rand" );
1042
 
1043
  if (
1044
+ current_user_can( 'manage_options' )
1045
+ && ( $token === $key )
1046
  && $clear
1047
  ) {
1048
+
1049
  global $wpdb;
1050
 
1051
  // set table name
1052
  $prefix = $wpdb->prefix . "popularposts";
1053
 
1054
  if ( $clear == 'cache' ) {
1055
+
1056
  if ( $wpdb->get_var("SHOW TABLES LIKE '{$prefix}summary'") ) {
1057
+
1058
  $wpdb->query("TRUNCATE TABLE {$prefix}summary;");
1059
  $this->flush_transients();
1060
+
1061
  echo 1;
1062
+
1063
  } else {
1064
  echo 2;
1065
  }
1066
+
1067
  } elseif ( $clear == 'all' ) {
1068
+
1069
  if ( $wpdb->get_var("SHOW TABLES LIKE '{$prefix}data'") && $wpdb->get_var("SHOW TABLES LIKE '{$prefix}summary'") ) {
1070
+
1071
  $wpdb->query("TRUNCATE TABLE {$prefix}data;");
1072
  $wpdb->query("TRUNCATE TABLE {$prefix}summary;");
1073
  $this->flush_transients();
1074
+
1075
  echo 1;
1076
+
1077
  } else {
1078
  echo 2;
1079
  }
1080
+
1081
  } else {
1082
  echo 3;
1083
  }
1088
  wp_die();
1089
 
1090
  }
1091
+
1092
  /**
1093
  * Deletes cached (transient) data.
1094
  *
1100
  $wpp_transients = get_option( 'wpp_transients' );
1101
 
1102
  if ( $wpp_transients && is_array( $wpp_transients ) && !empty( $wpp_transients ) ) {
1103
+
1104
  for ( $t=0; $t < count( $wpp_transients ); $t++ )
1105
  delete_transient( $wpp_transients[$t] );
1106
 
1107
  update_option( 'wpp_transients', array() );
1108
+
1109
  }
1110
 
1111
  }
1112
+
1113
  /**
1114
  * Purges post from data/summary tables.
1115
  *
1137
  // Delete from data table
1138
  $wpdb->query( $wpdb->prepare( "DELETE FROM {$wpdb->prefix}popularpostsdata WHERE postid = %d;", $post_ID ) );
1139
  // Delete from summary table
1140
+ $wpdb->query( $wpdb->prepare( "DELETE FROM {$wpdb->prefix}popularpostssummary WHERE postid = %d;", $post_ID ) );
1141
  }
1142
 
1143
  }
1144
+
1145
  /**
1146
  * Purges old post data from summary table.
1147
  *
1155
  $wpdb->query( "DELETE FROM {$wpdb->prefix}popularpostssummary WHERE view_date < DATE_SUB('" . WPP_Helper::curdate() . "', INTERVAL {$this->options['tools']['log']['expires_after']} DAY);" );
1156
 
1157
  } // end purge_data
1158
+
1159
  /**
1160
  * Checks if an upgrade procedure is required.
1161
  *
1162
  * @since 2.4.0
1163
  */
1164
  public function upgrade_check(){
1165
+ $this->upgrade_site();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1166
  } // end upgrade_check
1167
 
1168
  /**
1191
  */
1192
  private function upgrade() {
1193
 
1194
+ $now = WPP_Helper::now();
1195
+
1196
  // Keep the upgrade process from running too many times
1197
+ if ( $wpp_update = get_option('wpp_update') ) {
1198
+
1199
+ $from_time = strtotime( $wpp_update );
1200
+ $to_time = strtotime( $now );
1201
+ $difference_in_minutes = round( abs( $to_time - $from_time ) / 60, 2 );
1202
+
1203
+ // Upgrade flag is still valid, abort
1204
+ if ( $difference_in_minutes <= 15 )
1205
+ return;
1206
+
1207
+ // Upgrade flag expired, delete it and continue
1208
+ delete_option( 'wpp_update' );
1209
+
1210
+ }
1211
+
1212
+ add_option( 'wpp_update', $now );
1213
 
1214
  global $wpdb;
1215
 
1216
  // Set table name
1217
  $prefix = $wpdb->prefix . "popularposts";
1218
 
 
 
 
1219
  // Update data table structure and indexes
1220
  $dataFields = $wpdb->get_results( "SHOW FIELDS FROM {$prefix}data;" );
1221
  foreach ( $dataFields as $column ) {
1247
  $summaryIndexes = $wpdb->get_results( "SHOW INDEX FROM {$prefix}summary;" );
1248
  foreach( $summaryIndexes as $index ) {
1249
  if ( 'ID_date' == $index->Key_name ) {
1250
+ $wpdb->query( "ALTER TABLE {$prefix}summary DROP INDEX ID_date;" );
1251
+ }
1252
+
1253
+ if ( 'last_viewed' == $index->Key_name ) {
1254
+ $wpdb->query( "ALTER TABLE {$prefix}summary DROP INDEX last_viewed;" );
1255
  }
1256
  }
1257
 
1258
+ // Validate the structure of the tables, create missing tables / fields if necessary
1259
+ WPP_Activator::track_new_site();
1260
+
1261
  // Check storage engine
1262
  $storage_engine_data = $wpdb->get_var( "SELECT `ENGINE` FROM `information_schema`.`TABLES` WHERE `TABLE_SCHEMA`='{$wpdb->dbname}' AND `TABLE_NAME`='{$prefix}data';" );
1263
+
1264
  if ( 'InnoDB' != $storage_engine_data ) {
1265
  $wpdb->query( "ALTER TABLE {$prefix}data ENGINE=InnoDB;" );
1266
  }
1267
+
1268
  $storage_engine_summary = $wpdb->get_var( "SELECT `ENGINE` FROM `information_schema`.`TABLES` WHERE `TABLE_SCHEMA`='{$wpdb->dbname}' AND `TABLE_NAME`='{$prefix}summary';" );
1269
+
1270
  if ( 'InnoDB' != $storage_engine_summary ) {
1271
  $wpdb->query( "ALTER TABLE {$prefix}summary ENGINE=InnoDB;" );
1272
  }
1273
 
1274
  // Update WPP version
1275
  update_option( 'wpp_ver', $this->version );
1276
+
1277
  // Remove upgrade flag
1278
  delete_option( 'wpp_update' );
1279
 
1280
  } // end __upgrade
1281
+
1282
  /**
1283
  * Checks if the technical requirements are met.
1284
  *
1293
  global $wp_version;
1294
 
1295
  $php_min_version = '5.2';
1296
+ $wp_min_version = '4.7';
1297
  $php_current_version = phpversion();
1298
  $errors = array();
1299
 
1314
  return $errors;
1315
 
1316
  } // end check_requirements
1317
+
1318
  /**
1319
  * Outputs error messages to wp-admin.
1320
  *
admin/js/admin.js CHANGED
@@ -305,25 +305,28 @@
305
  });
306
  // file upload
307
  $('#upload_thumb_button').click(function(e) {
308
- tb_show('Upload a thumbnail', 'media-upload.php?referer=wpp_admin&type=image&TB_iframe=true&post_id=0', false);
309
  e.preventDefault();
310
- });
311
- window.send_to_editor = function(html) {
312
- var regex = /<img[^>]+src="(https?:\/\/[^">]+)"/g;
313
- var result = regex.exec(html);
314
 
315
- if ( null != result ) {
316
- $('#upload_thumb_src').val(result[1]);
 
 
 
 
 
 
 
317
 
318
  var img = new Image();
319
  img.onload = function() {
320
  $("#thumb-review").html( this ).parent().fadeIn();
321
  }
322
- img.src = result[1];
323
- }
324
 
325
- tb_remove();
326
- };
 
 
327
  // log limit
328
  $("#log_limit").change(function(){
329
  var me = $(this);
305
  });
306
  // file upload
307
  $('#upload_thumb_button').click(function(e) {
 
308
  e.preventDefault();
 
 
 
 
309
 
310
+ var custom_uploader = wp.media({
311
+ title: 'WordPress Popular Posts',
312
+ library: { type : 'image' },
313
+ button: { text: wpp_admin_params.label_media_upload_button },
314
+ id: 'library-' + (Math.random() * 10),
315
+ multiple: false
316
+ }).on('select', function() {
317
+ var attachment = custom_uploader.state().get('selection').first().toJSON();
318
+ $('#upload_thumb_src').val( attachment.url );
319
 
320
  var img = new Image();
321
  img.onload = function() {
322
  $("#thumb-review").html( this ).parent().fadeIn();
323
  }
324
+ img.src = attachment.url;
 
325
 
326
+ })
327
+ .open();
328
+
329
+ });
330
  // log limit
331
  $("#log_limit").change(function(){
332
  var me = $(this);
admin/partials/admin.php CHANGED
@@ -66,7 +66,6 @@ if ( isset($_POST['section']) ) {
66
  $this->options['tools']['thumbnail']['field'] = ( !empty( $_POST['thumb_field']) ) ? $_POST['thumb_field'] : "wpp_thumbnail";
67
  $this->options['tools']['thumbnail']['default'] = ( !empty( $_POST['upload_thumb_src']) ) ? $_POST['upload_thumb_src'] : "";
68
  $this->options['tools']['thumbnail']['resize'] = $_POST['thumb_field_resize'];
69
- $this->options['tools']['thumbnail']['responsive'] = $_POST['thumb_responsive'];
70
 
71
  update_option( 'wpp_settings_config', $this->options );
72
  echo "<div class=\"notice notice-success is-dismissible\"><p><strong>" . __( 'Settings saved.', 'wordpress-popular-posts' ) . "</strong></p></div>";
@@ -344,10 +343,11 @@ if ( !$wpp_rand = get_option("wpp_rand") ) {
344
  <h5><?php echo $chart_data['totals']['label_date_range']; ?></h5>
345
 
346
  <ul class="wpp-header-nav" id="wpp-time-ranges">
347
- <li <?php echo ( 'daily' == $this->options['stats']['range'] || 'last24hours' == $this->options['stats']['range'] ) ? ' class="current"' : ''; ?>><a href="#" data-range="last24hours" title="Last 24 hours">24h</a></li>
348
- <li <?php echo ( 'weekly' == $this->options['stats']['range'] || 'last7days' == $this->options['stats']['range'] ) ? ' class="current"' : ''; ?>><a href="#" data-range="last7days" title="Last 7 days">7d</a></li>
349
- <li <?php echo ( 'monthly' == $this->options['stats']['range'] || 'last30days' == $this->options['stats']['range'] ) ? ' class="current"' : ''; ?>><a href="#" data-range="last30days" title="Last 30 days">30d</a></li>
350
- <li <?php echo ( 'custom' == $this->options['stats']['range'] ) ? ' class="current"' : ''; ?>><a href="#" data-range="custom" title="Custom">Custom</a></li>
 
351
  </ul>
352
 
353
  <div id="wpp-chart">
@@ -362,10 +362,10 @@ if ( !$wpp_rand = get_option("wpp_rand") ) {
362
 
363
  <div id="wpp-listing" class="wpp-content"<?php echo ( 'stats' == $current ) ? '' : ' style="display: none;"'; ?>>
364
  <ul class="wpp-tabbed-nav">
365
- <li class="active"><a href="#" title="Most viewed"><span class="fa fa-eye"></span><span>Most viewed</span></a></li>
366
- <li><a href="#" title="Most commented"><span class="fa fa-comment-o"></span><span>Most commented</span></a></li>
367
- <li><a href="#" title="Trending now"><span class="fa fa-rocket"></span><span>Trending now</span></a></li>
368
- <li><a href="#" title="Hall of Fame"><span class="fa fa-trophy"></span><span>Hall of Fame</span></a></li>
369
  </ul>
370
 
371
  <div class="wpp-tab-content wpp-tab-content-active">
@@ -487,9 +487,9 @@ if ( !$wpp_rand = get_option("wpp_rand") ) {
487
  <div id="thumb-review">
488
  <img src="<?php echo ( $this->options['tools']['thumbnail']['default'] ) ? str_replace( parse_url( $this->options['tools']['thumbnail']['default'], PHP_URL_SCHEME ) . ':', '', $this->options['tools']['thumbnail']['default'] ) : plugins_url() . '/wordpress-popular-posts/public/images/no_thumb.jpg'; ?>" alt="" border="0" />
489
  </div>
490
- <input id="upload_thumb_button" type="button" class="button" value="<?php _e( "Upload thumbnail", 'wordpress-popular-posts' ); ?>" />
491
  <input type="hidden" id="upload_thumb_src" name="upload_thumb_src" value="" />
492
- <p class="description"><?php _e("How-to: upload (or select) an image, set Size to Full and click on Upload. After it's done, hit on Apply to save changes", 'wordpress-popular-posts'); ?>.</p>
493
  </td>
494
  </tr>
495
  <tr valign="top">
@@ -520,19 +520,8 @@ if ( !$wpp_rand = get_option("wpp_rand") ) {
520
  </select>
521
  </td>
522
  </tr>
523
- <tr valign="top">
524
- <th scope="row"><label for="thumb_responsive"><?php _e("Responsive support", 'wordpress-popular-posts'); ?>:</label></th>
525
- <td>
526
- <select name="thumb_responsive" id="thumb_responsive">
527
- <option <?php if ($this->options['tools']['thumbnail']['responsive']) {?>selected="selected"<?php } ?> value="1"><?php _e("Enabled", 'wordpress-popular-posts'); ?></option>
528
- <option <?php if (!$this->options['tools']['thumbnail']['responsive']) {?>selected="selected"<?php } ?> value="0"><?php _e("Disabled", 'wordpress-popular-posts'); ?></option>
529
- </select>
530
- <br />
531
- <p class="description"><?php _e("If enabled, WordPress Popular Posts will strip height and width attributes out of thumbnails' image tags", 'wordpress-popular-posts'); ?>.</p>
532
- </td>
533
- </tr>
534
  <?php
535
- $wp_upload_dir = wp_upload_dir();
536
  if ( is_dir( $wp_upload_dir['basedir'] . "/" . 'wordpress-popular-posts' ) ) :
537
  ?>
538
  <tr valign="top">
@@ -548,7 +537,7 @@ if ( !$wpp_rand = get_option("wpp_rand") ) {
548
  <tr valign="top">
549
  <td colspan="2">
550
  <input type="hidden" name="section" value="thumb" />
551
- <input type="submit" class="button-secondary action" id="btn_th_ops" value="<?php _e("Apply", 'wordpress-popular-posts'); ?>" name="" />
552
  </td>
553
  </tr>
554
  </tbody>
@@ -652,7 +641,7 @@ if ( !$wpp_rand = get_option("wpp_rand") ) {
652
  <tr valign="top">
653
  <td colspan="2">
654
  <input type="hidden" name="section" value="data" />
655
- <input type="submit" class="button-secondary action" id="btn_ajax_ops" value="<?php _e("Apply", 'wordpress-popular-posts'); ?>" name="" />
656
  </td>
657
  </tr>
658
  </tbody>
@@ -691,7 +680,7 @@ if ( !$wpp_rand = get_option("wpp_rand") ) {
691
  <tr valign="top">
692
  <td colspan="2">
693
  <input type="hidden" name="section" value="misc" />
694
- <input type="submit" class="button-secondary action" value="<?php _e("Apply", 'wordpress-popular-posts'); ?>" name="" />
695
  </td>
696
  </tr>
697
  </tbody>
66
  $this->options['tools']['thumbnail']['field'] = ( !empty( $_POST['thumb_field']) ) ? $_POST['thumb_field'] : "wpp_thumbnail";
67
  $this->options['tools']['thumbnail']['default'] = ( !empty( $_POST['upload_thumb_src']) ) ? $_POST['upload_thumb_src'] : "";
68
  $this->options['tools']['thumbnail']['resize'] = $_POST['thumb_field_resize'];
 
69
 
70
  update_option( 'wpp_settings_config', $this->options );
71
  echo "<div class=\"notice notice-success is-dismissible\"><p><strong>" . __( 'Settings saved.', 'wordpress-popular-posts' ) . "</strong></p></div>";
343
  <h5><?php echo $chart_data['totals']['label_date_range']; ?></h5>
344
 
345
  <ul class="wpp-header-nav" id="wpp-time-ranges">
346
+ <li <?php echo ( 'daily' == $this->options['stats']['range'] || 'today' == $this->options['stats']['range'] ) ? ' class="current"' : ''; ?>><a href="#" data-range="today" title="<?php esc_attr_e( 'Today', 'wordpress-popular-posts' ); ?>"><?php _e( 'Today', 'wordpress-popular-posts' ); ?></a></li>
347
+ <li <?php echo ( 'daily' == $this->options['stats']['range'] || 'last24hours' == $this->options['stats']['range'] ) ? ' class="current"' : ''; ?>><a href="#" data-range="last24hours" title="<?php esc_attr_e( 'Last 24 hours', 'wordpress-popular-posts' ); ?>">24h</a></li>
348
+ <li <?php echo ( 'weekly' == $this->options['stats']['range'] || 'last7days' == $this->options['stats']['range'] ) ? ' class="current"' : ''; ?>><a href="#" data-range="last7days" title="<?php esc_attr_e( 'Last 7 days', 'wordpress-popular-posts' ); ?>">7d</a></li>
349
+ <li <?php echo ( 'monthly' == $this->options['stats']['range'] || 'last30days' == $this->options['stats']['range'] ) ? ' class="current"' : ''; ?>><a href="#" data-range="last30days" title="<?php esc_attr_e( 'Last 30 days', 'wordpress-popular-posts' ); ?>">30d</a></li>
350
+ <li <?php echo ( 'custom' == $this->options['stats']['range'] ) ? ' class="current"' : ''; ?>><a href="#" data-range="custom" title="<?php esc_attr_e( 'Custom', 'wordpress-popular-posts' ); ?>"><?php _e( 'Custom', 'wordpress-popular-posts' ); ?></a></li>
351
  </ul>
352
 
353
  <div id="wpp-chart">
362
 
363
  <div id="wpp-listing" class="wpp-content"<?php echo ( 'stats' == $current ) ? '' : ' style="display: none;"'; ?>>
364
  <ul class="wpp-tabbed-nav">
365
+ <li class="active"><a href="#" title="<?php esc_attr_e( 'Most viewed', 'wordpress-popular-posts' ); ?>"><span class="fa fa-eye"></span><span><?php _e( 'Most viewed', 'wordpress-popular-posts' ); ?></span></a></li>
366
+ <li><a href="#" title="<?php esc_attr_e( 'Most commented', 'wordpress-popular-posts' ); ?>"><span class="fa fa-comment-o"></span><span><?php _e( 'Most commented', 'wordpress-popular-posts' ); ?></span></a></li>
367
+ <li><a href="#" title="<?php esc_attr_e( 'Trending now', 'wordpress-popular-posts' ); ?>"><span class="fa fa-rocket"></span><span><?php _e( 'Trending now', 'wordpress-popular-posts' ); ?></span></a></li>
368
+ <li><a href="#" title="<?php esc_attr_e( 'Hall of Fame', 'wordpress-popular-posts' ); ?>"><span class="fa fa-trophy"></span><span><?php _e( 'Hall of Fame', 'wordpress-popular-posts' ); ?></span></a></li>
369
  </ul>
370
 
371
  <div class="wpp-tab-content wpp-tab-content-active">
487
  <div id="thumb-review">
488
  <img src="<?php echo ( $this->options['tools']['thumbnail']['default'] ) ? str_replace( parse_url( $this->options['tools']['thumbnail']['default'], PHP_URL_SCHEME ) . ':', '', $this->options['tools']['thumbnail']['default'] ) : plugins_url() . '/wordpress-popular-posts/public/images/no_thumb.jpg'; ?>" alt="" border="0" />
489
  </div>
490
+ <input id="upload_thumb_button" type="button" class="button" value="<?php _e( "Change thumbnail", 'wordpress-popular-posts' ); ?>" />
491
  <input type="hidden" id="upload_thumb_src" name="upload_thumb_src" value="" />
492
+ <p class="description"><?php _e("This image will be displayed when no thumbnail is available", 'wordpress-popular-posts'); ?>.</p>
493
  </td>
494
  </tr>
495
  <tr valign="top">
520
  </select>
521
  </td>
522
  </tr>
 
 
 
 
 
 
 
 
 
 
 
523
  <?php
524
+ $wp_upload_dir = wp_get_upload_dir();
525
  if ( is_dir( $wp_upload_dir['basedir'] . "/" . 'wordpress-popular-posts' ) ) :
526
  ?>
527
  <tr valign="top">
537
  <tr valign="top">
538
  <td colspan="2">
539
  <input type="hidden" name="section" value="thumb" />
540
+ <input type="submit" class="button-primary action" id="btn_th_ops" value="<?php _e("Apply", 'wordpress-popular-posts'); ?>" name="" />
541
  </td>
542
  </tr>
543
  </tbody>
641
  <tr valign="top">
642
  <td colspan="2">
643
  <input type="hidden" name="section" value="data" />
644
+ <input type="submit" class="button-primary action" id="btn_ajax_ops" value="<?php _e("Apply", 'wordpress-popular-posts'); ?>" name="" />
645
  </td>
646
  </tr>
647
  </tbody>
680
  <tr valign="top">
681
  <td colspan="2">
682
  <input type="hidden" name="section" value="misc" />
683
+ <input type="submit" class="button-primary action" value="<?php _e("Apply", 'wordpress-popular-posts'); ?>" name="" />
684
  </td>
685
  </tr>
686
  </tbody>
includes/class-wordpress-popular-posts-activator.php CHANGED
@@ -75,13 +75,16 @@ class WPP_Activator {
75
  */
76
  private static function plugin_activate() {
77
 
78
- global $wpdb;
 
79
 
80
- // set table name
81
- $prefix = $wpdb->prefix . "popularposts";
 
 
 
82
 
83
- // fresh setup
84
- if ( "{$prefix}data" != $wpdb->get_var("SHOW TABLES LIKE '{$prefix}data'") ) {
85
  self::do_db_tables( $prefix );
86
  }
87
 
75
  */
76
  private static function plugin_activate() {
77
 
78
+ // Get WPP version
79
+ $wpp_ver = get_option( 'wpp_ver' );
80
 
81
+ if (
82
+ !$wpp_ver
83
+ || version_compare( $wpp_ver, WPP_VER, '<' )
84
+ ) {
85
+ global $wpdb;
86
 
87
+ $prefix = $wpdb->prefix . "popularposts";
 
88
  self::do_db_tables( $prefix );
89
  }
90
 
includes/class-wordpress-popular-posts-image.php CHANGED
@@ -53,7 +53,7 @@ class WPP_Image {
53
  $this->default_thumbnail = $this->get_plugin_dir_url() . "public/images/no_thumb.jpg";
54
 
55
  // Set uploads folder
56
- $wp_upload_dir = ( function_exists('wp_get_upload_dir') ) ? wp_get_upload_dir() : wp_upload_dir(); // wp_get_upload_dir() was introduced in WP 4.5!
57
  $this->uploads_dir['basedir'] = $wp_upload_dir['basedir'] . "/" . 'wordpress-popular-posts';
58
  $this->uploads_dir['baseurl'] = $wp_upload_dir['baseurl'] . "/" . 'wordpress-popular-posts';
59
 
@@ -346,7 +346,7 @@ class WPP_Image {
346
  $img_tag = '<!-- ' . $error . ' --> ';
347
  }
348
 
349
- $img_tag .= '<img src="' . ( is_ssl() ? str_ireplace( "http://", "https://", $src ) : $src ) . '" width="' . $size[0] . '" height="' . $size[1] . '" alt="' . ( ($post_object instanceof stdClass && !isset($post_object->id) ? esc_attr( wp_strip_all_tags($post_object->title) ) : '' ) ) . '" class="' . $class . '" />';
350
 
351
  return apply_filters( 'wpp_render_image', $img_tag );
352
 
53
  $this->default_thumbnail = $this->get_plugin_dir_url() . "public/images/no_thumb.jpg";
54
 
55
  // Set uploads folder
56
+ $wp_upload_dir = wp_get_upload_dir();
57
  $this->uploads_dir['basedir'] = $wp_upload_dir['basedir'] . "/" . 'wordpress-popular-posts';
58
  $this->uploads_dir['baseurl'] = $wp_upload_dir['baseurl'] . "/" . 'wordpress-popular-posts';
59
 
346
  $img_tag = '<!-- ' . $error . ' --> ';
347
  }
348
 
349
+ $img_tag .= '<img src="' . ( is_ssl() ? str_ireplace( "http://", "https://", $src ) : $src ) . '" width="' . $size[0] . '" height="' . $size[1] . '" alt="' . ( ($post_object instanceof stdClass && isset($post_object->title) ? esc_attr( wp_strip_all_tags($post_object->title) ) : '' ) ) . '" class="' . $class . '" />';
350
 
351
  return apply_filters( 'wpp_render_image', $img_tag );
352
 
includes/class-wordpress-popular-posts-output.php CHANGED
@@ -71,10 +71,12 @@ class WPP_Output {
71
  $this->options
72
  );
73
 
 
 
74
  // Allow WP themers / coders access to raw data
75
  // so they can build their own output
76
  if ( has_filter( 'wpp_custom_html' ) ) {
77
- $this->output = apply_filters( 'wpp_custom_html', $this->data, $this->options );
78
  return;
79
  }
80
 
@@ -693,8 +695,8 @@ class WPP_Output {
693
 
694
  $rating = '';
695
 
696
- if ( function_exists('the_ratings') && $this->options['rating'] ) {
697
- $rating = the_ratings( 'span', $post_object->id, false );
698
  }
699
 
700
  return $rating;
71
  $this->options
72
  );
73
 
74
+ $this->output = "\n" . "<!-- WordPress Popular Posts" . ( WP_DEBUG ? ' v' . WPP_VER : '' ) . " -->" . "\n";
75
+
76
  // Allow WP themers / coders access to raw data
77
  // so they can build their own output
78
  if ( has_filter( 'wpp_custom_html' ) ) {
79
+ $this->output .= apply_filters( 'wpp_custom_html', $this->data, $this->options );
80
  return;
81
  }
82
 
695
 
696
  $rating = '';
697
 
698
+ if ( function_exists('the_ratings_results') && $this->options['rating'] ) {
699
+ $rating = the_ratings_results( $post_object->id );
700
  }
701
 
702
  return $rating;
includes/class-wordpress-popular-posts-query.php CHANGED
@@ -403,6 +403,10 @@ class WPP_Query {
403
  // List only published, non password-protected posts
404
  $where .= " AND p.post_password = '' AND p.post_status = 'publish'";
405
 
 
 
 
 
406
  $fields = apply_filters( 'wpp_query_fields', $fields, $this->options );
407
  $table = apply_filters( 'wpp_query_table', $table, $this->options );
408
  $join = apply_filters( 'wpp_query_join', $join, $this->options );
@@ -413,7 +417,8 @@ class WPP_Query {
413
 
414
  // Finally, build the query
415
  $query = "SELECT {$fields} FROM {$table} {$join} {$where} {$groupby} {$orderby} {$limit};";
416
- $this->query = ( !empty($args) && !has_filter('wpp_query_where') ) ? $wpdb->prepare( $query, $args ) : $query;
 
417
 
418
  }
419
 
403
  // List only published, non password-protected posts
404
  $where .= " AND p.post_password = '' AND p.post_status = 'publish'";
405
 
406
+ if ( !empty($args) ) {
407
+ $where = $wpdb->prepare( $where, $args );
408
+ }
409
+
410
  $fields = apply_filters( 'wpp_query_fields', $fields, $this->options );
411
  $table = apply_filters( 'wpp_query_table', $table, $this->options );
412
  $join = apply_filters( 'wpp_query_join', $join, $this->options );
417
 
418
  // Finally, build the query
419
  $query = "SELECT {$fields} FROM {$table} {$join} {$where} {$groupby} {$orderby} {$limit};";
420
+ //$this->query = ( !empty($args) && !has_filter('wpp_query_where') ) ? $wpdb->prepare( $query, $args ) : $query;
421
+ $this->query = $query;
422
 
423
  }
424
 
includes/class-wordpress-popular-posts-rest-controller.php ADDED
@@ -0,0 +1,463 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ /**
4
+ * Class used to access popular posts via the REST API.
5
+ *
6
+ * @since 4.1.0
7
+ */
8
+ class WP_REST_Popular_Posts_Controller extends WP_REST_Controller {
9
+
10
+ /**
11
+ * Constructor.
12
+ */
13
+ public function __construct() {
14
+ $this->namespace = 'wordpress-popular-posts/v1';
15
+ $this->rest_base = 'popular-posts';
16
+ }
17
+
18
+ /**
19
+ * Registers the rest route.
20
+ *
21
+ * @since 4.1.0
22
+ */
23
+ public function register_routes() {
24
+ register_rest_route(
25
+ $this->namespace, '/' . $this->rest_base, array(
26
+ array(
27
+ 'methods' => WP_REST_Server::READABLE,
28
+ 'callback' => array( $this, 'get_items' ),
29
+ 'permission_callback' => array( $this, 'get_items_permissions_check' ),
30
+ 'args' => $this->get_collection_params(),
31
+ ),
32
+ array(
33
+ 'methods' => WP_REST_Server::CREATABLE,
34
+ 'callback' => array( $this, 'update_views_count' ),
35
+ 'args' => $this->get_tracking_params(),
36
+ ),
37
+ 'schema' => array( $this, 'get_public_item_schema' ),
38
+ )
39
+ );
40
+
41
+ // Widget endpoint
42
+ register_rest_route(
43
+ $this->namespace, '/' . $this->rest_base . '/widget', array(
44
+ array(
45
+ 'methods' => WP_REST_Server::READABLE,
46
+ 'callback' => array( $this, 'get_widget' ),
47
+ 'args' => $this->get_widget_params(),
48
+ )
49
+ )
50
+ );
51
+ }
52
+
53
+ /**
54
+ * Checks whether a given request has permission to get popular posts.
55
+ *
56
+ * @since 4.1.0
57
+ *
58
+ * @param WP_REST_Request $request Full details about the request.
59
+ * @return WP_Error|bool True if the request has read access, WP_Error object otherwise.
60
+ */
61
+ public function get_items_permissions_check( $request ) {
62
+ // TO-DO: Are there scenarios where this request should be rejected?
63
+ return true;
64
+ }
65
+
66
+ /**
67
+ * Retrieves the popular posts.
68
+ *
69
+ * @since 4.1.0
70
+ *
71
+ * @param WP_REST_Request $request Full details about the request.
72
+ * @return WP_Error|WP_REST_Response Response object on success, or WP_Error object on failure.
73
+ */
74
+ public function get_items( $request ) {
75
+ $rest_params = $request->get_params();
76
+
77
+ // The REST params match up with the args accepted by WPP_Query.
78
+ $wpp_query = new WPP_Query( $rest_params );
79
+ $wpp_posts = $wpp_query->get_posts();
80
+
81
+ $posts = array();
82
+
83
+ if ( ! empty( $wpp_posts ) ) {
84
+ foreach ( $wpp_posts as $popular_post ) {
85
+ $posts[] = $this->prepare_item( $popular_post, $request );
86
+ }
87
+ }
88
+
89
+ return rest_ensure_response( $posts );
90
+ }
91
+
92
+ /**
93
+ * Retrieves the popular post's WP_Post object and formats it for the REST response.
94
+ *
95
+ * @since 4.1.0
96
+ *
97
+ * @param object $popular_post The popular post object.
98
+ * @param WP_REST_Request $request Full details about the request.
99
+ * @return object The formatted WP_Post object.
100
+ */
101
+ private function prepare_item( $popular_post, $request ) {
102
+ $wp_post = get_post( $popular_post->id );
103
+
104
+ // Borrow prepare_item_for_response method from WP_REST_Posts_Controller.
105
+ $posts_controller = new WP_REST_Posts_Controller( $wp_post->post_type, $request );
106
+ $data = $posts_controller->prepare_item_for_response( $wp_post, $request );
107
+
108
+ // Add pageviews from popular_post object to response.
109
+ $data->data['pageviews'] = $popular_post->pageviews;
110
+
111
+ return $this->prepare_response_for_collection( $data );
112
+ }
113
+
114
+ /**
115
+ * Retrieves a popular posts widget for display.
116
+ *
117
+ * @since 4.1.0
118
+ *
119
+ * @param WP_REST_Request $request Full details about the request.
120
+ * @return WP_Error|WP_REST_Response Response object on success, or WP_Error object on failure.
121
+ */
122
+ public function get_widget( $request ) {
123
+
124
+ $instance_id = $request->get_param( 'id' );
125
+ $widget = get_option( 'widget_wpp' );
126
+
127
+ // Valid instance
128
+ if ( $widget && isset($widget[ $instance_id ]) ) {
129
+
130
+ $instance = $widget[ $instance_id ];
131
+ $admin_options = WPP_Settings::get( 'admin_options' );
132
+
133
+ // Expose widget ID for customization
134
+ if ( ! isset($instance['widget_id']) )
135
+ $instance['widget_id'] = 'wpp-' . $instance_id;
136
+
137
+ // Return cached results
138
+ if ( $admin_options['tools']['cache']['active'] ) {
139
+
140
+ $transient_name = md5( json_encode($instance) );
141
+ $popular_posts = get_transient( $transient_name );
142
+
143
+ if ( false === $popular_posts ) {
144
+
145
+ $popular_posts = new WPP_Query( $instance );
146
+
147
+ switch( $admin_options['tools']['cache']['interval']['time'] ){
148
+
149
+ case 'minute':
150
+ $time = 60;
151
+ break;
152
+
153
+ case 'hour':
154
+ $time = 60 * 60;
155
+ break;
156
+
157
+ case 'day':
158
+ $time = 60 * 60 * 24;
159
+ break;
160
+
161
+ case 'week':
162
+ $time = 60 * 60 * 24 * 7;
163
+ break;
164
+
165
+ case 'month':
166
+ $time = 60 * 60 * 24 * 30;
167
+ break;
168
+
169
+ case 'year':
170
+ $time = 60 * 60 * 24 * 365;
171
+ break;
172
+
173
+ default:
174
+ $time = 60 * 60;
175
+ break;
176
+
177
+ }
178
+
179
+ $expiration = $time * $admin_options['tools']['cache']['interval']['value'];
180
+
181
+ // Store transient
182
+ set_transient( $transient_name, $popular_posts, $expiration );
183
+
184
+ // Store transient in WPP transients array for garbage collection
185
+ $wpp_transients = get_option('wpp_transients');
186
+
187
+ if ( !$wpp_transients ) {
188
+ $wpp_transients = array( $transient_name );
189
+ add_option( 'wpp_transients', $wpp_transients );
190
+ } else {
191
+ if ( !in_array($transient_name, $wpp_transients) ) {
192
+ $wpp_transients[] = $transient_name;
193
+ update_option( 'wpp_transients', $wpp_transients );
194
+ }
195
+ }
196
+
197
+ }
198
+
199
+ } // Get popular posts
200
+ else {
201
+ $popular_posts = new WPP_Query( $instance );
202
+ }
203
+
204
+ $output = new WPP_Output( $popular_posts->get_posts(), $instance );
205
+
206
+ return rest_ensure_response( array(
207
+ 'widget' => ( $admin_options['tools']['cache']['active'] ? '<!-- cached -->' : '' ) . $output->get_output()
208
+ ) );
209
+
210
+ }
211
+
212
+ return new WP_Error( 'no_widget', 'Invalid widget instance', array( 'status' => 404 ) );
213
+
214
+ }
215
+
216
+ /**
217
+ * Updates the views count of a post / page.
218
+ *
219
+ * @since 4.1.0
220
+ *
221
+ * @param WP_REST_Request $request Full details about the request.
222
+ * @return WP_Error|string response on failure/success, or WP_Error object on nonce failure.
223
+ */
224
+ public function update_views_count( $request ){
225
+
226
+ $post_ID = $request->get_param( 'wpp_id' );
227
+ $sampling = $request->get_param( 'sampling' );
228
+ $sampling_rate = $request->get_param( 'sampling_rate' );
229
+
230
+ global $wpdb;
231
+ $table = $wpdb->prefix . "popularposts";
232
+ $wpdb->show_errors();
233
+
234
+ // Get translated object ID
235
+ $translate = WPP_translate::get_instance();
236
+ $post_ID = $translate->get_object_id(
237
+ $post_ID,
238
+ get_post_type( $post_ID ),
239
+ true,
240
+ $translate->get_default_language()
241
+ );
242
+
243
+ $now = WPP_helper::now();
244
+ $curdate = WPP_helper::curdate();
245
+ $views = ( $sampling )
246
+ ? $sampling_rate
247
+ : 1;
248
+
249
+ // Allow WP themers / coders perform an action
250
+ // before updating views count
251
+ if ( has_action( 'wpp_pre_update_views' ) )
252
+ do_action( 'wpp_pre_update_views', $post_ID, $views );
253
+
254
+ $exec_time = 0;
255
+ $start = WPP_helper::microtime_float();
256
+
257
+ // Update all-time table
258
+ $result1 = $wpdb->query( $wpdb->prepare(
259
+ "INSERT INTO {$table}data
260
+ (postid, day, last_viewed, pageviews) VALUES (%d, %s, %s, %d)
261
+ ON DUPLICATE KEY UPDATE pageviews = pageviews + %d, last_viewed = %s;",
262
+ $post_ID,
263
+ $now,
264
+ $now,
265
+ $views,
266
+ $views,
267
+ $now
268
+ ));
269
+
270
+ // Update range (summary) table
271
+ $result2 = $wpdb->query( $wpdb->prepare(
272
+ "INSERT INTO {$table}summary
273
+ (postid, pageviews, view_date, view_datetime) VALUES (%d, %d, %s, %s)
274
+ ON DUPLICATE KEY UPDATE pageviews = pageviews + %d, view_datetime = %s;",
275
+ $post_ID,
276
+ $views,
277
+ $curdate,
278
+ $now,
279
+ $views,
280
+ $now
281
+ ));
282
+
283
+ $end = WPP_helper::microtime_float();
284
+ $exec_time += round( $end - $start, 6 );
285
+
286
+ if ( !$result1 || !$result2 ) {
287
+ return 'WPP: failed to update views count!';
288
+ }
289
+
290
+ // Allow WP themers / coders perform an action
291
+ // after updating views count
292
+ if ( has_action( 'wpp_post_update_views' ) )
293
+ do_action( 'wpp_post_update_views', $post_ID );
294
+
295
+ return "WPP: OK. Execution time: " . $exec_time . " seconds";
296
+
297
+ }
298
+
299
+ /**
300
+ * Retrieves the query params for the collections.
301
+ *
302
+ * @since 4.1.0
303
+ *
304
+ * @return array Query parameters for the collection.
305
+ */
306
+ public function get_collection_params() {
307
+ return array(
308
+ 'post_type' => array(
309
+ 'description' => __( 'Return popular posts from specified custom post type(s).' ),
310
+ 'type' => 'string',
311
+ 'default' => 'post,page',
312
+ 'sanitize_callback' => 'sanitize_text_field',
313
+ 'validate_callback' => 'rest_validate_request_arg',
314
+ ),
315
+ 'limit' => array(
316
+ 'description' => __( 'The maximum number of popular posts to return.' ),
317
+ 'type' => 'integer',
318
+ 'default' => 10,
319
+ 'sanitize_callback' => 'absint',
320
+ 'validate_callback' => 'rest_validate_request_arg',
321
+ 'minimum' => 1,
322
+ ),
323
+ 'freshness' => array(
324
+ 'description' => __( 'Retrieve the most popular entries published within the specified time range.' ),
325
+ 'type' => 'string',
326
+ 'enum' => array( '0', '1' ),
327
+ 'default' => '0',
328
+ 'sanitize_callback' => 'sanitize_text_field',
329
+ 'validate_callback' => 'rest_validate_request_arg',
330
+ ),
331
+ 'offset' => array(
332
+ 'description' => __( 'An offset point for the collection.' ),
333
+ 'type' => 'integer',
334
+ 'default' => 0,
335
+ 'minimum' => 0,
336
+ 'sanitize_callback' => 'absint',
337
+ 'validate_callback' => 'rest_validate_request_arg',
338
+ ),
339
+ 'order_by' => array(
340
+ 'description' => __( 'Set the sorting option of the popular posts.' ),
341
+ 'type' => 'string',
342
+ 'enum' => array( 'views', 'comments' ),
343
+ 'default' => 'views',
344
+ 'sanitize_callback' => 'sanitize_text_field',
345
+ 'validate_callback' => 'rest_validate_request_arg',
346
+ ),
347
+ 'range' => array(
348
+ 'description' => __( 'Return posts from a specified time range.' ),
349
+ 'type' => 'string',
350
+ 'enum' => array( 'today', 'daily', 'last24hours', 'weekly', 'last7days', 'monthly', 'last30days', 'all', 'custom' ),
351
+ 'default' => 'daily',
352
+ 'sanitize_callback' => 'sanitize_text_field',
353
+ 'validate_callback' => 'rest_validate_request_arg',
354
+ ),
355
+ 'time_unit' => array(
356
+ 'description' => __( 'Specifies the time unit of the custom time range.' ),
357
+ 'type' => 'string',
358
+ 'enum' => array( 'minute', 'hour', 'day', 'week', 'month' ),
359
+ 'default' => 'hour',
360
+ 'sanitize_callback' => 'sanitize_text_field',
361
+ 'validate_callback' => 'rest_validate_request_arg',
362
+ ),
363
+ 'time_quantity' => array(
364
+ 'description' => __( 'Specifies the number of time units of the custom time range.' ),
365
+ 'type' => 'integer',
366
+ 'default' => 24,
367
+ 'minimum' => 1,
368
+ 'sanitize_callback' => 'absint',
369
+ 'validate_callback' => 'rest_validate_request_arg',
370
+ ),
371
+ 'pid' => array(
372
+ 'description' => __( 'Post IDs to exclude.' ),
373
+ 'type' => 'string',
374
+ 'sanitize_callback' => function( $pid ) {
375
+ return rtrim( preg_replace( '|[^0-9,]|', '', $pid ), ',' );
376
+ },
377
+ 'validate_callback' => 'rest_validate_request_arg',
378
+ ),
379
+ 'taxonomy' => array(
380
+ 'description' => __( 'Include posts in a specified taxonomy.' ),
381
+ 'type' => 'string',
382
+ 'sanitize_callback' => function( $taxonomy ) {
383
+ return empty( $taxonomy ) ? 'category' : $taxonomy;
384
+ },
385
+ 'validate_callback' => 'rest_validate_request_arg',
386
+ ),
387
+ 'term_id' => array(
388
+ 'description' => __( 'Taxonomy IDs, separated by comma (prefix a minus sign to exclude).' ),
389
+ 'type' => 'string',
390
+ 'sanitize_callback' => function( $term_id ) {
391
+ return rtrim( preg_replace( '|[^0-9,-]|', '', $term_id ), ',' );
392
+ },
393
+ 'validate_callback' => 'rest_validate_request_arg',
394
+ ),
395
+ 'author' => array(
396
+ 'description' => __( 'Author ID(s).' ),
397
+ 'type' => 'string',
398
+ 'sanitize_callback' => function( $author ) {
399
+ return rtrim( preg_replace( '|[^0-9,]|', '', $author ), ',' );
400
+ },
401
+ 'validate_callback' => 'rest_validate_request_arg',
402
+ ),
403
+ );
404
+ }
405
+
406
+ /**
407
+ * Retrieves the query params for tracking views count.
408
+ *
409
+ * @since 4.1.0
410
+ *
411
+ * @return array Query parameters for tracking views count.
412
+ */
413
+ public function get_tracking_params() {
414
+ return array(
415
+ 'token' => array(
416
+ 'description' => __( 'Security nonce.' ),
417
+ 'type' => 'string',
418
+ 'sanitize_callback' => 'sanitize_text_field',
419
+ 'validate_callback' => 'rest_validate_request_arg',
420
+ ),
421
+ 'wpp_id' => array(
422
+ 'description' => __( 'The post / page ID.' ),
423
+ 'type' => 'integer',
424
+ 'default' => 0,
425
+ 'sanitize_callback' => 'absint',
426
+ 'validate_callback' => 'rest_validate_request_arg',
427
+ ),
428
+ 'sampling' => array(
429
+ 'description' => __( 'Enables Data Sampling.' ),
430
+ 'type' => 'integer',
431
+ 'default' => 0,
432
+ 'sanitize_callback' => 'absint',
433
+ 'validate_callback' => 'rest_validate_request_arg',
434
+ ),
435
+ 'sampling_rate' => array(
436
+ 'description' => __( 'Sets the Sampling Rate.' ),
437
+ 'type' => 'integer',
438
+ 'default' => 100,
439
+ 'sanitize_callback' => 'absint',
440
+ 'validate_callback' => 'rest_validate_request_arg',
441
+ )
442
+ );
443
+ }
444
+
445
+ /**
446
+ * Retrieves the query params for getting a widget instance.
447
+ *
448
+ * @since 4.1.0
449
+ *
450
+ * @return array Query parameters for getting a widget instance.
451
+ */
452
+ public function get_widget_params() {
453
+ return array(
454
+ 'id' => array(
455
+ 'description' => __( 'The post / page ID.' ),
456
+ 'type' => 'integer',
457
+ 'default' => 0,
458
+ 'sanitize_callback' => 'absint',
459
+ 'validate_callback' => 'rest_validate_request_arg',
460
+ )
461
+ );
462
+ }
463
+ }
includes/class-wordpress-popular-posts-settings.php CHANGED
@@ -36,7 +36,7 @@ class WPP_Settings {
36
  'time_quantity' => 24,
37
  'freshness' => false,
38
  'order_by' => 'views',
39
- 'post_type' => 'post,page',
40
  'pid' => '',
41
  'author' => '',
42
  'cat' => '',
@@ -105,8 +105,7 @@ class WPP_Settings {
105
  'source' => 'featured',
106
  'field' => '',
107
  'resize' => false,
108
- 'default' => '',
109
- 'responsive' => false
110
  ),
111
  'log' => array(
112
  'level' => 1,
36
  'time_quantity' => 24,
37
  'freshness' => false,
38
  'order_by' => 'views',
39
+ 'post_type' => 'post',
40
  'pid' => '',
41
  'author' => '',
42
  'cat' => '',
105
  'source' => 'featured',
106
  'field' => '',
107
  'resize' => false,
108
+ 'default' => ''
 
109
  ),
110
  'log' => array(
111
  'level' => 1,
includes/class-wordpress-popular-posts-widget.php CHANGED
@@ -63,8 +63,6 @@ class WPP_Widget extends WP_Widget {
63
  ? 'custom'
64
  : 'regular';
65
 
66
- echo "\n". "<!-- WordPress Popular Posts Plugin [W] [{$instance['range']}] [{$instance['order_by']}] [{$markup}]" . ( !empty($instance['pid']) ? " [PID]" : "" ) . ( !empty($instance['cat']) ? " [CAT]" : "" ) . ( !empty($instance['author']) ? " [UID]" : "" ) . " -->" . "\n";
67
-
68
  echo "\n" . $before_widget . "\n";
69
 
70
  // Has user set a title?
@@ -87,7 +85,7 @@ class WPP_Widget extends WP_Widget {
87
  $instance['widget_id'] = $widget_id;
88
 
89
  // Get posts
90
- if ( $this->admin_options['tools']['ajax'] ) {
91
 
92
  if ( empty( $before_widget ) || !preg_match( '/id="[^"]*"/', $before_widget ) ) {
93
  ?>
@@ -96,34 +94,35 @@ class WPP_Widget extends WP_Widget {
96
  } else {
97
  ?>
98
  <script type="text/javascript">
99
- /* jQuery is available, so proceed */
100
- if ( window.jQuery ) {
101
-
102
- jQuery(document).ready(function($){
103
-
104
- var widget_container = $('#<?php echo $widget_id; ?>');
105
- widget_container.append('<p class="wpp-loader"><span><?php _e( "Loading...", "wordpress-popular-posts" ); ?></span></p>');
106
-
107
- $.get(
108
- '<?php echo admin_url('admin-ajax.php'); ?>',
109
- {
110
- action: 'wpp_get_popular',
111
- id: '<?php echo $this->number; ?>'
112
- }, function( response ){
113
- widget_container.children("p.wpp-loader").remove();
114
- widget_container.append(response);
115
- widget_container.trigger('wpp-onload');
 
 
 
 
 
 
 
 
116
  }
117
  );
118
-
119
- });
120
-
121
- } /* jQuery is not defined */
122
- else {
123
- if ( window.console && window.console.log ) {
124
- window.console.log( 'WordPress Popular Posts: jQuery is not defined!' );
125
  }
126
- }
127
  </script>
128
  <?php
129
  }
63
  ? 'custom'
64
  : 'regular';
65
 
 
 
66
  echo "\n" . $before_widget . "\n";
67
 
68
  // Has user set a title?
85
  $instance['widget_id'] = $widget_id;
86
 
87
  // Get posts
88
+ if ( $this->admin_options['tools']['ajax'] && !is_customize_preview() ) {
89
 
90
  if ( empty( $before_widget ) || !preg_match( '/id="[^"]*"/', $before_widget ) ) {
91
  ?>
94
  } else {
95
  ?>
96
  <script type="text/javascript">
97
+ window.addEventListener('DOMContentLoaded', function() {
98
+ var wpp_widget_container = document.getElementById('<?php echo $widget_id; ?>');
99
+
100
+ if ( 'undefined' != typeof WordPressPopularPosts ) {
101
+ WordPressPopularPosts.get(
102
+ wpp_params.ajax_url + ( wpp_params.rest_api && 1 == wpp_params.rest_api ? 'widget' : '' ),
103
+ 'action=wpp_get_popular&id=<?php echo $this->number; ?>',
104
+ function( response ){
105
+ wpp_widget_container.innerHTML += ( wpp_params.rest_api && 1 == wpp_params.rest_api ) ? JSON.parse( response ).widget : response;
106
+
107
+ var event = null;
108
+
109
+ if ( 'function' === typeof(Event) ) {
110
+ event = new Event( "wpp-onload", {"bubbles": true, "cancelable": false} );
111
+ } /* Fallback for older browsers */
112
+ else {
113
+ if ( document.createEvent ) {
114
+ event = document.createEvent('Event');
115
+ event.initEvent( "wpp-onload", true, false );
116
+ }
117
+ }
118
+
119
+ if ( event ) {
120
+ wpp_widget_container.dispatchEvent( event );
121
+ }
122
  }
123
  );
 
 
 
 
 
 
 
124
  }
125
+ });
126
  </script>
127
  <?php
128
  }
includes/class-wordpress-popular-posts.php CHANGED
@@ -28,7 +28,7 @@ class WordPressPopularPosts {
28
  public function __construct(){
29
 
30
  $this->plugin_name = 'wordpress-popular-posts';
31
- $this->version = '4.0.12';
32
 
33
  $this->load_dependencies();
34
  $this->set_locale();
@@ -105,6 +105,13 @@ class WordPressPopularPosts {
105
  */
106
  require_once plugin_dir_path( dirname( __FILE__ ) ) . 'public/class-wordpress-popular-posts-public.php';
107
 
 
 
 
 
 
 
 
108
  /**
109
  * Get loader.
110
  */
@@ -125,18 +132,19 @@ class WordPressPopularPosts {
125
  // Check admin notices
126
  $this->loader->add_action( 'admin_notices', $plugin_admin, 'check_admin_notices' );
127
  // Upgrade check
128
- $this->loader->add_action( 'admin_head', $plugin_admin, 'upgrade_check' );
129
  // Hook fired when a new blog is activated on WP Multisite
130
  $this->loader->add_action( 'wpmu_new_blog', $plugin_admin, 'activate_new_site' );
131
  // Hook fired when a blog is deleted on WP Multisite
132
  $this->loader->add_filter( 'wpmu_drop_tables', $plugin_admin, 'delete_site_data', 10, 2 );
 
 
 
133
  // Load WPP's admin styles and scripts
134
  $this->loader->add_action( 'admin_print_styles', $plugin_admin, 'enqueue_styles' );
135
  $this->loader->add_action( 'admin_enqueue_scripts', $plugin_admin, 'enqueue_scripts' );
136
  // Add admin screen
137
  $this->loader->add_action( 'admin_menu', $plugin_admin, 'add_plugin_admin_menu' );
138
- // Thickbox setup
139
- $this->loader->add_action( 'admin_init', $plugin_admin, 'thickbox_setup' );
140
  // Contextual help
141
  $this->loader->add_action( 'admin_head', $plugin_admin, 'add_contextual_help' );
142
  // Add plugin settings link
@@ -179,6 +187,8 @@ class WordPressPopularPosts {
179
  $this->loader->add_action( 'wp_enqueue_scripts', $plugin_public, 'enqueue_scripts' );
180
  // Add [wpp] shortcode
181
  $this->loader->add_shortcode( 'wpp', $plugin_public, 'wpp_shortcode' );
 
 
182
 
183
  }
184
 
28
  public function __construct(){
29
 
30
  $this->plugin_name = 'wordpress-popular-posts';
31
+ $this->version = WPP_VER;
32
 
33
  $this->load_dependencies();
34
  $this->set_locale();
105
  */
106
  require_once plugin_dir_path( dirname( __FILE__ ) ) . 'public/class-wordpress-popular-posts-public.php';
107
 
108
+ /**
109
+ * The REST API controller class for the popular posts endpoing.
110
+ */
111
+ if ( class_exists('WP_REST_Controller', false) ) {
112
+ require_once plugin_dir_path( dirname( __FILE__ ) ) . 'includes/class-wordpress-popular-posts-rest-controller.php';
113
+ }
114
+
115
  /**
116
  * Get loader.
117
  */
132
  // Check admin notices
133
  $this->loader->add_action( 'admin_notices', $plugin_admin, 'check_admin_notices' );
134
  // Upgrade check
135
+ $this->loader->add_action( 'init', $plugin_admin, 'upgrade_check' );
136
  // Hook fired when a new blog is activated on WP Multisite
137
  $this->loader->add_action( 'wpmu_new_blog', $plugin_admin, 'activate_new_site' );
138
  // Hook fired when a blog is deleted on WP Multisite
139
  $this->loader->add_filter( 'wpmu_drop_tables', $plugin_admin, 'delete_site_data', 10, 2 );
140
+ // At-A-Glance
141
+ $this->loader->add_filter( 'dashboard_glance_items', $plugin_admin, 'at_a_glance_stats' );
142
+ $this->loader->add_action( 'admin_head', $plugin_admin, 'at_a_glance_stats_css' );
143
  // Load WPP's admin styles and scripts
144
  $this->loader->add_action( 'admin_print_styles', $plugin_admin, 'enqueue_styles' );
145
  $this->loader->add_action( 'admin_enqueue_scripts', $plugin_admin, 'enqueue_scripts' );
146
  // Add admin screen
147
  $this->loader->add_action( 'admin_menu', $plugin_admin, 'add_plugin_admin_menu' );
 
 
148
  // Contextual help
149
  $this->loader->add_action( 'admin_head', $plugin_admin, 'add_contextual_help' );
150
  // Add plugin settings link
187
  $this->loader->add_action( 'wp_enqueue_scripts', $plugin_public, 'enqueue_scripts' );
188
  // Add [wpp] shortcode
189
  $this->loader->add_shortcode( 'wpp', $plugin_public, 'wpp_shortcode' );
190
+ // Register the REST route
191
+ $this->loader->add_action( 'rest_api_init', $plugin_public, 'init_rest_route' );
192
 
193
  }
194
 
languages/wordpress-popular-posts-es_ES.mo CHANGED
Binary file
languages/wordpress-popular-posts-es_ES.po CHANGED
@@ -4,8 +4,8 @@ msgid ""
4
  msgstr ""
5
  "Project-Id-Version: WordPress Popular Posts\n"
6
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/wordpress-popular-posts\n"
7
- "POT-Creation-Date: 2017-10-23 17:44-0400\n"
8
- "PO-Revision-Date: 2017-10-23 17:47-0400\n"
9
  "Last-Translator: \n"
10
  "Language-Team: Héctor Cabrera <me@cabrerahector.com>\n"
11
  "Language: es_ES\n"
@@ -13,7 +13,7 @@ msgstr ""
13
  "Content-Type: text/plain; charset=UTF-8\n"
14
  "Content-Transfer-Encoding: 8bit\n"
15
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
16
- "X-Generator: Poedit 2.0.4\n"
17
  "X-Poedit-KeywordsList: _e;__;__ngettext;__ngettext_noop;_n_noop;_x;_nx;"
18
  "_nx_noop;_ex;esc_attr__;esc_attr_e;esc_attr_x;esc_html__;esc_html_e;"
19
  "esc_html_x;_c;_nc;_n:1,2\n"
@@ -22,15 +22,22 @@ msgstr ""
22
  "X-Poedit-SearchPath-0: .\n"
23
  "X-Poedit-SearchPath-1: ..\n"
24
 
25
- #: ../admin/class-wordpress-popular-posts-admin.php:221
26
- msgid "Upload"
27
- msgstr "Subir"
 
 
 
 
 
 
 
28
 
29
- #: ../admin/class-wordpress-popular-posts-admin.php:238
30
  msgid "Overview"
31
  msgstr "General"
32
 
33
- #: ../admin/class-wordpress-popular-posts-admin.php:239
34
  msgid ""
35
  "Welcome to WordPress Popular Posts' Dashboard! In this screen you will find "
36
  "statistics on what's popular on your site, tools to further tweak WPP to "
@@ -40,11 +47,11 @@ msgstr ""
40
  "encontrar&aacute;s estad&iacute;sticas de lo m&aacute;s popular en tu sitio, "
41
  "herramientas para configurar WPP a tu gusto, &iexcl;y mucho m&aacute;s!"
42
 
43
- #: ../admin/class-wordpress-popular-posts-admin.php:245
44
  msgid "Like this plugin?"
45
  msgstr "&iquest;Te gusta este plugin?"
46
 
47
- #: ../admin/class-wordpress-popular-posts-admin.php:247
48
  msgid ""
49
  "Each donation motivates me to keep releasing free stuff for the WordPress "
50
  "community!"
@@ -52,14 +59,14 @@ msgstr ""
52
  "&iexcl;Cada donaci&oacute;n me motiva a seguir publicando cosas gratuitas "
53
  "para la comunidad de WordPress!"
54
 
55
- #: ../admin/class-wordpress-popular-posts-admin.php:254
56
  #, php-format
57
  msgid "You can <a href=\"%s\" target=\"_blank\">leave a review</a>, too!"
58
  msgstr ""
59
  "&iexcl;Puedes <a href=\"%s\" target=\"_blank\">dejar una rese&ntilde;a</a> "
60
  "tambi&eacute;n!"
61
 
62
- #: ../admin/class-wordpress-popular-posts-admin.php:263
63
  #, php-format
64
  msgid ""
65
  "<p><strong>For more information:</strong></p><ul><li><a href=\"%1$s"
@@ -69,49 +76,49 @@ msgstr ""
69
  "\"%1$s\">Documentaci&oacute;n</a></li><li><a href=\"%2$s\">Soporte</a></li></"
70
  "ul>"
71
 
72
- #: ../admin/class-wordpress-popular-posts-admin.php:633
73
- #: ../admin/class-wordpress-popular-posts-admin.php:752
74
  #: ../admin/partials/admin.php:411 ../admin/partials/admin.php:458
75
- #: ../includes/class-wordpress-popular-posts-output.php:720
76
  #, php-format
77
  msgid "1 view"
78
  msgid_plural "%s views"
79
  msgstr[0] "1 vista"
80
  msgstr[1] "%s vistas"
81
 
82
- #: ../admin/class-wordpress-popular-posts-admin.php:633
83
- #: ../admin/class-wordpress-popular-posts-admin.php:807
84
  #: ../admin/partials/admin.php:411 ../admin/partials/admin.php:458
85
- #: ../includes/class-wordpress-popular-posts-output.php:701
86
  #, php-format
87
  msgid "1 comment"
88
  msgid_plural "%s comments"
89
  msgstr[0] "1 comentario"
90
  msgstr[1] "%s comentarios"
91
 
92
- #: ../admin/class-wordpress-popular-posts-admin.php:665
93
  #: ../includes/widget-form.php:17
94
  msgid "Comments"
95
  msgstr "Comentarios"
96
 
97
- #: ../admin/class-wordpress-popular-posts-admin.php:669
98
  msgid "Views"
99
  msgstr "Vistas"
100
 
101
- #: ../admin/class-wordpress-popular-posts-admin.php:753
102
- #: ../admin/class-wordpress-popular-posts-admin.php:808
103
  #: ../admin/partials/admin.php:412 ../admin/partials/admin.php:459
104
  msgid "View"
105
  msgstr "Vista"
106
 
107
- #: ../admin/class-wordpress-popular-posts-admin.php:753
108
- #: ../admin/class-wordpress-popular-posts-admin.php:808
109
  #: ../admin/partials/admin.php:412 ../admin/partials/admin.php:459
110
  msgid "Edit"
111
  msgstr "Editar"
112
 
113
- #: ../admin/class-wordpress-popular-posts-admin.php:764
114
- #: ../admin/class-wordpress-popular-posts-admin.php:819
115
  #: ../admin/partials/admin.php:423 ../admin/partials/admin.php:470
116
  msgid ""
117
  "Looks like traffic to your site is a little light right now. <br />Spread "
@@ -120,11 +127,11 @@ msgstr ""
120
  "Parece que el tr&aacute;fico hacia tu sitio web est&aacute; un poco ligero. "
121
  "<br />&iexcl;Haz un poco de promoci&oacute;n y regresa luego!"
122
 
123
- #: ../admin/class-wordpress-popular-posts-admin.php:887
124
  msgid "Settings"
125
  msgstr "Configuraci&oacute;n"
126
 
127
- #: ../admin/class-wordpress-popular-posts-admin.php:1261
128
  #, php-format
129
  msgid ""
130
  "Your PHP installation is too old. WordPress Popular Posts requires at least "
@@ -136,7 +143,7 @@ msgstr ""
136
  "contacta a tu proveedor de hosting y solicita que se actualice PHP a %1$s o "
137
  "mejor."
138
 
139
- #: ../admin/class-wordpress-popular-posts-admin.php:1268
140
  #, php-format
141
  msgid ""
142
  "Your WordPress version is too old. WordPress Popular Posts requires at least "
@@ -147,7 +154,7 @@ msgstr ""
147
  "Posts requiere al menos la versi&oacute;n %1$s para funcionar correctamente. "
148
  "Por favor actualiza tu blog via Escritorio &gt; Actualizaciones."
149
 
150
- #: ../admin/class-wordpress-popular-posts-admin.php:1293
151
  #, php-format
152
  msgid ""
153
  "<div class=\"notice notice-error\"><p>%1$s</p><p><i>%2$s</i> has been "
@@ -156,20 +163,20 @@ msgstr ""
156
  "<div class=\"notice notice-error\"><p>%1$s</p><p><i>%2$s</i> ha sido "
157
  "<strong>desactivado</strong>.</p></div>"
158
 
159
- #: ../admin/partials/admin.php:6 ../admin/partials/admin.php:255
160
  msgid "Stats"
161
  msgstr "Estad&iacute;sticas"
162
 
163
- #: ../admin/partials/admin.php:7 ../admin/partials/admin.php:256
164
  msgid "Tools"
165
  msgstr "Herramientas"
166
 
167
- #: ../admin/partials/admin.php:8 ../admin/partials/admin.php:257
168
  msgid "Parameters"
169
  msgstr "Par&aacute;metros"
170
 
171
  #: ../admin/partials/admin.php:33 ../admin/partials/admin.php:48
172
- #: ../admin/partials/admin.php:72 ../admin/partials/admin.php:113
173
  msgid "Settings saved."
174
  msgstr "Configuraci&oacute;n guardada."
175
 
@@ -177,7 +184,7 @@ msgstr "Configuraci&oacute;n guardada."
177
  msgid "Please provide the name of your custom field."
178
  msgstr "Por favor indica el nombre de tu custom field."
179
 
180
- #: ../admin/partials/admin.php:121
181
  msgid ""
182
  "Any changes made to WPP's default stylesheet will be lost after every plugin "
183
  "update. In order to prevent this from happening, please copy the wpp.css "
@@ -189,7 +196,7 @@ msgstr ""
189
  "favor copia el archivo wpp.css (ubicado en wp-content/plugins/wordpress-"
190
  "popular-posts/style) a la carpeta de tu tema actual"
191
 
192
- #: ../admin/partials/admin.php:136
193
  msgid ""
194
  "This operation will delete all entries from WordPress Popular Posts' cache "
195
  "table and cannot be undone."
@@ -197,27 +204,27 @@ msgstr ""
197
  "Esta operaci\\363n borrar\\341 todas las entradas en el cach\\351 de "
198
  "WordPress Popular Posts y no se puede deshacer."
199
 
200
- #: ../admin/partials/admin.php:136 ../admin/partials/admin.php:175
201
- #: ../admin/partials/admin.php:214
202
  msgid "Do you want to continue?"
203
  msgstr "\\277Deseas continuar?"
204
 
205
- #: ../admin/partials/admin.php:148
206
  msgid "Success! The cache table has been cleared!"
207
  msgstr "\\241\\311xito! \\241La tabla cach\\351 ha sido borrada!"
208
 
209
- #: ../admin/partials/admin.php:152
210
  msgid "Error: cache table does not exist."
211
  msgstr "Error: la tabla cach\\351 no existe."
212
 
213
- #: ../admin/partials/admin.php:156 ../admin/partials/admin.php:164
214
- #: ../admin/partials/admin.php:195 ../admin/partials/admin.php:203
215
- #: ../admin/partials/admin.php:233 ../admin/partials/admin.php:241
216
  msgid "Invalid action."
217
  msgstr "Acci\\363n inv\\311lida."
218
 
219
- #: ../admin/partials/admin.php:160 ../admin/partials/admin.php:199
220
- #: ../admin/partials/admin.php:237
221
  msgid ""
222
  "Sorry, you do not have enough permissions to do this. Please contact the "
223
  "site administrator for support."
@@ -225,7 +232,7 @@ msgstr ""
225
  "Lo lamento, no tienes permisos suficientes para hacer esto. Por favor "
226
  "contacta al administrador del sitio."
227
 
228
- #: ../admin/partials/admin.php:175
229
  msgid ""
230
  "This operation will delete all stored info from WordPress Popular Posts' "
231
  "data tables and cannot be undone."
@@ -233,82 +240,102 @@ msgstr ""
233
  "Esta operaci\\363n borrar\\341 toda la informaci\\363n guardada en las "
234
  "tablas de WordPress Popular Posts y no se puede deshacer."
235
 
236
- #: ../admin/partials/admin.php:187
237
  msgid "Success! All data have been cleared!"
238
  msgstr "\\241\\311xito! \\241Toda la data ha sido borrada!"
239
 
240
- #: ../admin/partials/admin.php:191
241
  msgid "Error: one or both data tables are missing."
242
  msgstr "Error: una o ambas tablas de datos no existen."
243
 
244
- #: ../admin/partials/admin.php:214
245
  msgid "This operation will delete all cached thumbnails and cannot be undone."
246
  msgstr ""
247
  "Esta operaci\\363n borrar\\341 todas las miniaturas en el cach\\351 y no se "
248
  "puede deshacer."
249
 
250
- #: ../admin/partials/admin.php:225
251
  msgid "Success! All files have been deleted!"
252
  msgstr "\\241\\311xito! \\241Todos los archivos han sido borrados!"
253
 
254
- #: ../admin/partials/admin.php:229
255
  msgid "The thumbnail cache is already empty!"
256
  msgstr "\\241El cach\\351 de miniaturas ya est\\341 vac\\355o!"
257
 
258
- #: ../admin/partials/admin.php:254
259
  msgid "Menu"
260
  msgstr "Men&uacute;"
261
 
262
- #: ../admin/partials/admin.php:282
263
  msgid "Post type"
264
  msgstr "Post type"
265
 
266
- #: ../admin/partials/admin.php:285
267
  msgid "Limit"
268
  msgstr "L&iacute;mite"
269
 
270
- #: ../admin/partials/admin.php:288 ../includes/widget-form.php:48
271
  msgid "Display only posts published within the selected Time Range"
272
  msgstr ""
273
  "Mostrar s&oacute;lo entradas publicadas en el Rango de Tiempo seleccionado"
274
 
275
- #: ../admin/partials/admin.php:294 ../admin/partials/admin.php:332
276
- #: ../admin/partials/admin.php:551 ../admin/partials/admin.php:655
277
- #: ../admin/partials/admin.php:694
278
  msgid "Apply"
279
  msgstr "Aplicar"
280
 
281
- #: ../admin/partials/admin.php:295 ../admin/partials/admin.php:335
282
  msgid "Cancel"
283
  msgstr "Cancelar"
284
 
285
- #: ../admin/partials/admin.php:308
286
  msgid "Custom Time Range"
287
  msgstr "Rango de Tiempo Personalizado"
288
 
289
- #: ../admin/partials/admin.php:309
290
  msgid "Date Range"
291
  msgstr "Rango de Fechas"
292
 
293
- #: ../admin/partials/admin.php:317 ../admin/partials/admin.php:621
294
  #: ../includes/widget-form.php:41
295
  msgid "Minute(s)"
296
  msgstr "Minuto(s)"
297
 
298
- #: ../admin/partials/admin.php:318 ../admin/partials/admin.php:622
299
  #: ../includes/widget-form.php:42
300
  msgid "Hour(s)"
301
  msgstr "Hora(s)"
302
 
303
- #: ../admin/partials/admin.php:319 ../admin/partials/admin.php:623
304
  #: ../includes/widget-form.php:43
305
  msgid "Day(s)"
306
  msgstr "D&iacute;a(s)"
307
 
308
- #: ../admin/partials/admin.php:325
309
  msgid "Select a date..."
310
  msgstr "Selecciona una fecha..."
311
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
312
  #: ../admin/partials/admin.php:354
313
  #, php-format
314
  msgid ""
@@ -321,6 +348,22 @@ msgstr ""
321
  "anticuado.<br /> Por favor <a href=\"%s\" target=\"_blank\">instala un mejor "
322
  "navegador</a>."
323
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
324
  #: ../admin/partials/admin.php:480
325
  msgid "Thumbnails"
326
  msgstr "Miniaturas"
@@ -330,16 +373,12 @@ msgid "Default thumbnail"
330
  msgstr "Miniatura por defecto"
331
 
332
  #: ../admin/partials/admin.php:490
333
- msgid "Upload thumbnail"
334
- msgstr "Subir miniatura"
335
 
336
  #: ../admin/partials/admin.php:492
337
- msgid ""
338
- "How-to: upload (or select) an image, set Size to Full and click on Upload. "
339
- "After it's done, hit on Apply to save changes"
340
- msgstr ""
341
- "Tutorial: sube (o selecciona) una imagen, selecciona Tama&ntilde;o Completo "
342
- "y haz clic en Subir. Cuando termine, dale a Aplicar para guardar los cambios"
343
 
344
  #: ../admin/partials/admin.php:496
345
  msgid "Pick image from"
@@ -382,82 +421,69 @@ msgstr "No, subir&eacute; mi propia miniatura"
382
  msgid "Yes"
383
  msgstr "S&iacute;"
384
 
385
- #: ../admin/partials/admin.php:524
386
- msgid "Responsive support"
387
- msgstr "Soporte Responsive"
388
-
389
- #: ../admin/partials/admin.php:527 ../admin/partials/admin.php:597
390
- #: ../admin/partials/admin.php:637 ../admin/partials/admin.php:684
391
- msgid "Enabled"
392
- msgstr "Habilitado"
393
-
394
- #: ../admin/partials/admin.php:528 ../admin/partials/admin.php:581
395
- #: ../admin/partials/admin.php:596 ../admin/partials/admin.php:636
396
- #: ../admin/partials/admin.php:685
397
- msgid "Disabled"
398
- msgstr "Deshabilitado"
399
-
400
- #: ../admin/partials/admin.php:531
401
- msgid ""
402
- "If enabled, WordPress Popular Posts will strip height and width attributes "
403
- "out of thumbnails' image tags"
404
- msgstr ""
405
- "Si se activa, WordPress Popular Posts quitar&aacute; los atributos height y "
406
- "width de las etiquetas image de las miniaturas"
407
-
408
- #: ../admin/partials/admin.php:541
409
  msgid "Empty image cache"
410
  msgstr "Vaciar el cach&eacute; de im&aacute;genes"
411
 
412
- #: ../admin/partials/admin.php:542
413
  msgid "Use this button to clear WPP's thumbnails cache"
414
  msgstr ""
415
  "Utiliza este bot&oacute;n para vaciar el cach&eacute; de miniaturas de WPP"
416
 
417
- #: ../admin/partials/admin.php:562
418
  msgid "Data"
419
  msgstr "Datos"
420
 
421
- #: ../admin/partials/admin.php:567
422
  msgid "Log views from"
423
  msgstr "Registrar vistas de"
424
 
425
- #: ../admin/partials/admin.php:570
426
  msgid "Visitors only"
427
  msgstr "S&oacute;lo visitantes"
428
 
429
- #: ../admin/partials/admin.php:571
430
  msgid "Logged-in users only"
431
  msgstr "S&oacute;lo usuarios conectados"
432
 
433
- #: ../admin/partials/admin.php:572
434
  msgid "Everyone"
435
  msgstr "Todos"
436
 
437
- #: ../admin/partials/admin.php:578
438
  msgid "Log limit"
439
  msgstr "L&iacute;mite del registro"
440
 
441
- #: ../admin/partials/admin.php:582
 
 
 
 
 
442
  msgid "Keep data for"
443
  msgstr "Guardar datos por"
444
 
445
- #: ../admin/partials/admin.php:585
446
  msgid "day(s)"
447
  msgstr "d&iacute;a(s)"
448
 
449
- #: ../admin/partials/admin.php:587
450
  msgid ""
451
  "Data older than the specified time frame will be automatically discarded"
452
  msgstr ""
453
  "La data que sea m&aacute;s antigua que el tiempo especificado ser&aacute;n "
454
  "autom&aacute;ticamente descartada"
455
 
456
- #: ../admin/partials/admin.php:593
457
  msgid "Ajaxify widget"
458
  msgstr "Usar Ajax con el widget"
459
 
460
- #: ../admin/partials/admin.php:601
 
 
 
 
 
461
  msgid ""
462
  "If you are using a caching plugin such as WP Super Cache, enabling this "
463
  "feature will keep the popular list from being cached by it"
@@ -466,26 +492,26 @@ msgstr ""
466
  "habilitar esta caracter&iacute;stica evitar&aacute; que la lista de entradas "
467
  "populares sea guardada en cach&eacute;"
468
 
469
- #: ../admin/partials/admin.php:605
470
  msgid "WPP Cache Expiry Policy"
471
  msgstr "WPP Pol&iacute;tica de Expiraci&oacute;n del Cache"
472
 
473
- #: ../admin/partials/admin.php:605 ../admin/partials/admin.php:633
474
  #: ../includes/widget-form.php:3 ../includes/widget-form.php:50
475
  #: ../includes/widget-form.php:56 ../includes/widget-form.php:75
476
  #: ../includes/widget-form.php:85 ../includes/widget-form.php:177
477
  msgid "What is this?"
478
  msgstr "&iquest;Qu&eacute; es &eacute;sto?"
479
 
480
- #: ../admin/partials/admin.php:608
481
  msgid "Never cache"
482
  msgstr "Nunca almacenar en cach&eacute;"
483
 
484
- #: ../admin/partials/admin.php:609
485
  msgid "Enable caching"
486
  msgstr "Habilitar cach&eacute;"
487
 
488
- #: ../admin/partials/admin.php:613
489
  msgid ""
490
  "Sets WPP's cache expiration time. WPP can cache the popular list for a "
491
  "specified amount of time. Recommended for large / high traffic sites"
@@ -495,31 +521,31 @@ msgstr ""
495
  "de tiempo especificada. Recomendado para sitios web grandes / de alto "
496
  "tr&aacute;fico"
497
 
498
- #: ../admin/partials/admin.php:617
499
  msgid "Refresh cache every"
500
  msgstr "Refrescar el cach&eacute; cada"
501
 
502
- #: ../admin/partials/admin.php:624
503
  msgid "Week(s)"
504
  msgstr "Semana(s)"
505
 
506
- #: ../admin/partials/admin.php:625
507
  msgid "Month(s)"
508
  msgstr "Mes(es)"
509
 
510
- #: ../admin/partials/admin.php:626
511
  msgid "Year(s)"
512
  msgstr "A&ntilde;o(s)"
513
 
514
- #: ../admin/partials/admin.php:629
515
  msgid "Really? That long?"
516
  msgstr "&iquest;En serio? &iquest;Tanto tiempo?"
517
 
518
- #: ../admin/partials/admin.php:633
519
  msgid "Data Sampling"
520
  msgstr "Sampleo de Datos"
521
 
522
- #: ../admin/partials/admin.php:641
523
  #, php-format
524
  msgid ""
525
  "By default, WordPress Popular Posts stores in database every single visit "
@@ -540,11 +566,11 @@ msgstr ""
540
  "detectadas en ese conjunto de muestras (para m&aacute;s, <a href=\"%2$s\" "
541
  "target=\"_blank\">por favor leer ac&aacute;</a>)"
542
 
543
- #: ../admin/partials/admin.php:645
544
  msgid "Sample Rate"
545
  msgstr "Rata de Sampleo"
546
 
547
- #: ../admin/partials/admin.php:649
548
  #, php-format
549
  msgid ""
550
  "A sampling rate of %d is recommended for large / high traffic sites. For "
@@ -554,27 +580,27 @@ msgstr ""
554
  "tr&aacute;fico. Para sitios con menos tr&aacute;fico, deber&iacute;as "
555
  "disminuir el valor"
556
 
557
- #: ../admin/partials/admin.php:666
558
  msgid "Miscellaneous"
559
  msgstr "Miscel&aacute;neos"
560
 
561
- #: ../admin/partials/admin.php:671
562
  msgid "Open links in"
563
  msgstr "Abrir enlaces en"
564
 
565
- #: ../admin/partials/admin.php:674
566
  msgid "Current window"
567
  msgstr "Ventana actual"
568
 
569
- #: ../admin/partials/admin.php:675
570
  msgid "New tab/window"
571
  msgstr "Nueva pesta&ntilde;a/ventana"
572
 
573
- #: ../admin/partials/admin.php:681
574
  msgid "Use plugin's stylesheet"
575
  msgstr "Utilizar la hoja de estilos del plugin"
576
 
577
- #: ../admin/partials/admin.php:688
578
  msgid ""
579
  "By default, the plugin includes a stylesheet called wpp.css which you can "
580
  "use to style your popular posts listing. If you wish to use your own "
@@ -586,7 +612,7 @@ msgstr ""
586
  "deseas utilizar tu propia hoja de estilos, o no quieres que wpp.css se "
587
  "incluya en el header de tu sitio web, utiliza esto."
588
 
589
- #: ../admin/partials/admin.php:707
590
  msgid ""
591
  "WordPress Popular Posts maintains data in two separate tables: one for "
592
  "storing the most popular entries on a daily basis (from now on, \"cache\"), "
@@ -602,26 +628,26 @@ msgstr ""
602
  "tablas hist&oacute;ricas y de cach&eacute;, por favor utiliza los botones de "
603
  "abajo."
604
 
605
- #: ../admin/partials/admin.php:708
606
  msgid "Empty cache"
607
  msgstr "Vaciar el cach&eacute;"
608
 
609
- #: ../admin/partials/admin.php:708
610
  msgid "Use this button to manually clear entries from WPP cache only"
611
  msgstr ""
612
  "Utiliza este bot&oacute;n para vaciar manualmente s&oacute;lo las entradas "
613
  "del cach&eacute; de WPP"
614
 
615
- #: ../admin/partials/admin.php:709
616
  msgid "Clear all data"
617
  msgstr "Eliminar toda la data"
618
 
619
- #: ../admin/partials/admin.php:709
620
  msgid "Use this button to manually clear entries from all WPP data tables"
621
  msgstr ""
622
  "Utiliza este bot&oacute;n para limpiar manualmente las tablas de datos de WPP"
623
 
624
- #: ../admin/partials/admin.php:716
625
  #, php-format
626
  msgid ""
627
  "With the following parameters you can customize the popular posts list when "
@@ -632,105 +658,105 @@ msgstr ""
632
  "entradas populares cuando utilices el <a href=\"%1$s\">template tag "
633
  "wpp_get_mostpopular()</a> o el <a href=\"%2$s\">shortcode [wpp]</a>."
634
 
635
- #: ../admin/partials/admin.php:724
636
  msgid "Parameter"
637
  msgstr "Par&aacute;metro"
638
 
639
- #: ../admin/partials/admin.php:725
640
  msgid "What it does "
641
  msgstr "Qu&eacute; hace"
642
 
643
- #: ../admin/partials/admin.php:726
644
  msgid "Possible values"
645
  msgstr "Valores posibles"
646
 
647
- #: ../admin/partials/admin.php:727
648
  msgid "Defaults to"
649
  msgstr "Por defecto"
650
 
651
- #: ../admin/partials/admin.php:728
652
  msgid "Example"
653
  msgstr "Ejemplo"
654
 
655
- #: ../admin/partials/admin.php:734
656
  msgid "Sets a heading for the list"
657
  msgstr "Configura el encabezado de la lista"
658
 
659
- #: ../admin/partials/admin.php:735 ../admin/partials/admin.php:742
660
- #: ../admin/partials/admin.php:749 ../admin/partials/admin.php:798
661
- #: ../admin/partials/admin.php:805 ../admin/partials/admin.php:812
662
- #: ../admin/partials/admin.php:819 ../admin/partials/admin.php:826
663
- #: ../admin/partials/admin.php:833 ../admin/partials/admin.php:924
664
- #: ../admin/partials/admin.php:945 ../admin/partials/admin.php:952
665
  msgid "Text string"
666
  msgstr "Texto"
667
 
668
- #: ../admin/partials/admin.php:736 ../admin/partials/admin.php:806
669
- #: ../admin/partials/admin.php:813 ../admin/partials/admin.php:820
670
- #: ../admin/partials/admin.php:827 ../admin/partials/admin.php:834
671
  msgid "None"
672
  msgstr "Ninguno"
673
 
674
- #: ../admin/partials/admin.php:737 ../admin/partials/admin.php:744
675
- #: ../admin/partials/admin.php:751 ../admin/partials/admin.php:758
676
- #: ../admin/partials/admin.php:765 ../admin/partials/admin.php:772
677
- #: ../admin/partials/admin.php:779 ../admin/partials/admin.php:786
678
- #: ../admin/partials/admin.php:793 ../admin/partials/admin.php:800
679
- #: ../admin/partials/admin.php:807 ../admin/partials/admin.php:814
680
- #: ../admin/partials/admin.php:821 ../admin/partials/admin.php:828
681
- #: ../admin/partials/admin.php:835 ../admin/partials/admin.php:842
682
- #: ../admin/partials/admin.php:849 ../admin/partials/admin.php:856
683
- #: ../admin/partials/admin.php:863 ../admin/partials/admin.php:870
684
- #: ../admin/partials/admin.php:877 ../admin/partials/admin.php:884
685
- #: ../admin/partials/admin.php:891 ../admin/partials/admin.php:898
686
- #: ../admin/partials/admin.php:905 ../admin/partials/admin.php:912
687
- #: ../admin/partials/admin.php:919 ../admin/partials/admin.php:926
688
- #: ../admin/partials/admin.php:933 ../admin/partials/admin.php:940
689
- #: ../admin/partials/admin.php:947 ../admin/partials/admin.php:954
690
- #: ../admin/partials/admin.php:961
691
  msgid "With wpp_get_mostpopular():"
692
  msgstr "Con wpp_get_mostpopular():"
693
 
694
- #: ../admin/partials/admin.php:737 ../admin/partials/admin.php:744
695
- #: ../admin/partials/admin.php:751 ../admin/partials/admin.php:758
696
- #: ../admin/partials/admin.php:765 ../admin/partials/admin.php:772
697
- #: ../admin/partials/admin.php:779 ../admin/partials/admin.php:786
698
- #: ../admin/partials/admin.php:793 ../admin/partials/admin.php:800
699
- #: ../admin/partials/admin.php:807 ../admin/partials/admin.php:814
700
- #: ../admin/partials/admin.php:821 ../admin/partials/admin.php:828
701
- #: ../admin/partials/admin.php:835 ../admin/partials/admin.php:842
702
- #: ../admin/partials/admin.php:849 ../admin/partials/admin.php:856
703
- #: ../admin/partials/admin.php:863 ../admin/partials/admin.php:870
704
- #: ../admin/partials/admin.php:877 ../admin/partials/admin.php:884
705
- #: ../admin/partials/admin.php:891 ../admin/partials/admin.php:898
706
- #: ../admin/partials/admin.php:905 ../admin/partials/admin.php:912
707
- #: ../admin/partials/admin.php:919 ../admin/partials/admin.php:926
708
- #: ../admin/partials/admin.php:933 ../admin/partials/admin.php:940
709
- #: ../admin/partials/admin.php:947 ../admin/partials/admin.php:954
710
- #: ../admin/partials/admin.php:961
711
  msgid "With the [wpp] shortcode:"
712
  msgstr "Con el shortcode [wpp]:"
713
 
714
- #: ../admin/partials/admin.php:741
715
  msgid "Set the opening tag for the heading of the list"
716
  msgstr "Configura la etiqueta de apertura para el encabezado de la lista"
717
 
718
- #: ../admin/partials/admin.php:748
719
  msgid "Set the closing tag for the heading of the list"
720
  msgstr "Configura la etiqueta de cierre para el encabezado de la lista"
721
 
722
- #: ../admin/partials/admin.php:755
723
  msgid "Sets the maximum number of popular posts to be shown on the listing"
724
  msgstr ""
725
  "Configura el m&aacute;ximo de entradas populares a ser mostradas en la lista"
726
 
727
- #: ../admin/partials/admin.php:756 ../admin/partials/admin.php:770
728
- #: ../admin/partials/admin.php:840 ../admin/partials/admin.php:854
729
- #: ../admin/partials/admin.php:875 ../admin/partials/admin.php:882
730
  msgid "Positive integer"
731
  msgstr "Entero positivo"
732
 
733
- #: ../admin/partials/admin.php:762
734
  msgid ""
735
  "Tells WordPress Popular Posts to retrieve the most popular entries within "
736
  "the time range specified by you"
@@ -738,17 +764,17 @@ msgstr ""
738
  "Le indica a WordPress Popular Posts que debe listar aquellas entradas que "
739
  "hayan sido populares dentro del rango de tiempo especificado por ti"
740
 
741
- #: ../admin/partials/admin.php:769
742
  msgid "Especifies the number of time units of the custom time range"
743
  msgstr ""
744
  "Especifica el n&uacute;mero de unidades de tiempo del rango de tiempo "
745
  "personalizado"
746
 
747
- #: ../admin/partials/admin.php:776
748
  msgid "Especifies the time unit of the custom time range"
749
  msgstr "Especifica la unidad de tiempo del rango de tiempo personalizado"
750
 
751
- #: ../admin/partials/admin.php:783
752
  msgid ""
753
  "Tells WordPress Popular Posts to retrieve the most popular entries published "
754
  "within the time range specified by you"
@@ -756,19 +782,19 @@ msgstr ""
756
  "Le indica a WordPress Popular Posts que debe listar aquellas entradas "
757
  "populares publicadas dentro del rango de tiempo especificado por ti"
758
 
759
- #: ../admin/partials/admin.php:790
760
  msgid "Sets the sorting option of the popular posts"
761
  msgstr "Configura el ordenado de las entradas populares"
762
 
763
- #: ../admin/partials/admin.php:791
764
  msgid "(for average views per day)"
765
  msgstr "(para el porcentaje de vistas por d&iacute;a)"
766
 
767
- #: ../admin/partials/admin.php:797
768
  msgid "Defines the type of posts to show on the listing"
769
  msgstr "Define el tipo de entrada a mostrar en el listado"
770
 
771
- #: ../admin/partials/admin.php:804
772
  msgid ""
773
  "If set, WordPress Popular Posts will exclude the specified post(s) ID(s) "
774
  "form the listing."
@@ -776,7 +802,7 @@ msgstr ""
776
  "Si se configura, WordPress Popular Posts excluir&aacute; todos los IDs de "
777
  "las entradas especificadas."
778
 
779
- #: ../admin/partials/admin.php:811
780
  msgid ""
781
  "If set, WordPress Popular Posts will retrieve all entries that belong to the "
782
  "specified category ID(s). If a minus sign is used, entries associated to the "
@@ -787,13 +813,13 @@ msgstr ""
787
  "signo negativo, las entradas asociadas a dicha categor&iacute;a ser&aacute;n "
788
  "exclu&iacute;das."
789
 
790
- #: ../admin/partials/admin.php:818
791
  msgid "If set, WordPress Popular Posts will filter posts by a given taxonomy."
792
  msgstr ""
793
  "Si se tilda, WordPress Popular Posts filtrar&aacute; entradas por la "
794
  "taxonom&iacute;a indicada."
795
 
796
- #: ../admin/partials/admin.php:825
797
  msgid ""
798
  "If set, WordPress Popular Posts will retrieve all entries that belong to the "
799
  "specified term ID(s). If a minus sign is used, entries associated to the "
@@ -803,7 +829,7 @@ msgstr ""
803
  "que pertenecen al Term ID especificado(s). Si se usa un signo negativo, las "
804
  "entradas asociadas a dicho term ser&aacute;n exclu&iacute;das."
805
 
806
- #: ../admin/partials/admin.php:832
807
  msgid ""
808
  "If set, WordPress Popular Posts will retrieve all entries created by "
809
  "specified author(s) ID(s)."
@@ -811,7 +837,7 @@ msgstr ""
811
  "Si se configura, WordPress Popular Posts traer&aacute; todas las entradas "
812
  "creadas por el (los) ID(s) de autor(es) especificado(s)."
813
 
814
- #: ../admin/partials/admin.php:839
815
  msgid ""
816
  "If set, WordPress Popular Posts will shorten each post title to \"n\" "
817
  "characters whenever possible"
@@ -819,7 +845,7 @@ msgstr ""
819
  "Si se configura, WordPress Popular Posts acortar&aacute; cada titulo en \"n"
820
  "\" caracteres cuando sea posible"
821
 
822
- #: ../admin/partials/admin.php:846
823
  msgid ""
824
  "If set to 1, WordPress Popular Posts will shorten each post title to \"n\" "
825
  "words instead of characters"
@@ -827,7 +853,7 @@ msgstr ""
827
  "Si se pasa el valor 1, WordPress Popular Posts acortar&aacute; cada titulo "
828
  "en \"n\" palabras en vez de caracteres"
829
 
830
- #: ../admin/partials/admin.php:853
831
  msgid ""
832
  "If set, WordPress Popular Posts will build and include an excerpt of \"n\" "
833
  "characters long from the content of each post listed as popular"
@@ -836,7 +862,7 @@ msgstr ""
836
  "un extracto de \"n\" caracteres del contenido de cada entrada listada como "
837
  "popular"
838
 
839
- #: ../admin/partials/admin.php:860
840
  msgid ""
841
  "If set, WordPress Popular Posts will maintaing all styling tags (strong, "
842
  "italic, etc) and hyperlinks found in the excerpt"
@@ -845,7 +871,7 @@ msgstr ""
845
  "etiquetas de estilo (strong, italic, etc) y los hiperv&iacute;nculos "
846
  "encontrados en el extracto"
847
 
848
- #: ../admin/partials/admin.php:867
849
  msgid ""
850
  "If set to 1, WordPress Popular Posts will shorten the excerpt to \"n\" words "
851
  "instead of characters"
@@ -853,7 +879,7 @@ msgstr ""
853
  "Si se configura, WordPress Popular Posts acortar&aacute; el resumen en \"n\" "
854
  "palabras en vez de caracteres"
855
 
856
- #: ../admin/partials/admin.php:874
857
  msgid ""
858
  "If set, and if your current server configuration allows it, you will be able "
859
  "to display thumbnails of your posts. This attribute sets the width for "
@@ -863,7 +889,7 @@ msgstr ""
863
  "permite, podr&aacute;s mostrar miniaturas de tus entradas. Este atributo "
864
  "configura el ancho de tus miniaturas"
865
 
866
- #: ../admin/partials/admin.php:881
867
  msgid ""
868
  "If set, and if your current server configuration allows it, you will be able "
869
  "to display thumbnails of your posts. This attribute sets the height for "
@@ -873,7 +899,7 @@ msgstr ""
873
  "permite, podr&aacute;s mostrar miniaturas de tus entradas. Este atributo "
874
  "configura el alto de tus miniaturas"
875
 
876
- #: ../admin/partials/admin.php:888
877
  msgid ""
878
  "If set, and if the WP-PostRatings plugin is installed and enabled on your "
879
  "blog, WordPress Popular Posts will show how your visitors are rating your "
@@ -883,7 +909,7 @@ msgstr ""
883
  "habilitado en tu blog, WordPress Popular Posts mostrar&aacute; como tus "
884
  "visitantes han calificado a tus entradas"
885
 
886
- #: ../admin/partials/admin.php:895
887
  msgid ""
888
  "If set, WordPress Popular Posts will show how many comments each popular "
889
  "post has got during the specified time range"
@@ -892,7 +918,7 @@ msgstr ""
892
  "comentarios ha obtenido cada entrada popular dentro del rango de tiempo "
893
  "especificado"
894
 
895
- #: ../admin/partials/admin.php:902
896
  msgid ""
897
  "If set, WordPress Popular Posts will show how many views each popular post "
898
  "has got during the specified time range"
@@ -901,7 +927,7 @@ msgstr ""
901
  "vistas ha obtenido cada entrada popular dentro del rango de tiempo "
902
  "especificado"
903
 
904
- #: ../admin/partials/admin.php:909
905
  msgid ""
906
  "If set, WordPress Popular Posts will show who published each popular post on "
907
  "the list"
@@ -909,7 +935,7 @@ msgstr ""
909
  "Si se configura, WordPress Popular Posts mostrar&aacute; qui&eacute;n "
910
  "public&oacute; cada entrada popular de la lista"
911
 
912
- #: ../admin/partials/admin.php:916
913
  msgid ""
914
  "If set, WordPress Popular Posts will display the date when each popular post "
915
  "on the list was published"
@@ -917,11 +943,11 @@ msgstr ""
917
  "Si se tilda, WordPress Popular Posts mostrar&aacute; la fecha en la que fue "
918
  "publicada cada entrada popular"
919
 
920
- #: ../admin/partials/admin.php:923
921
  msgid "Sets the date format"
922
  msgstr "Configura el formato de la fecha"
923
 
924
- #: ../admin/partials/admin.php:930
925
  msgid ""
926
  "If set, WordPress Popular Posts will display the categories associated to "
927
  "each entry"
@@ -929,7 +955,7 @@ msgstr ""
929
  "Si se tilda, WordPress Popular Posts mostrar&aacute; las categor&iacute;as "
930
  "asociadas a cada entrada"
931
 
932
- #: ../admin/partials/admin.php:937
933
  msgid ""
934
  "If set, WordPress Popular Posts will display the taxonomies associated to "
935
  "each entry"
@@ -937,27 +963,27 @@ msgstr ""
937
  "Si se tilda, WordPress Popular Posts mostrar&aacute; las taxonom&iacute;as "
938
  "asociadas a cada entrada"
939
 
940
- #: ../admin/partials/admin.php:944
941
  msgid "Sets the opening tag for the listing"
942
  msgstr "Configura la etiqueta de apertura del listado"
943
 
944
- #: ../admin/partials/admin.php:951
945
  msgid "Sets the closing tag for the listing"
946
  msgstr "Configura la etiqueta de cierre del listado"
947
 
948
- #: ../admin/partials/admin.php:958
949
  msgid "Sets the HTML structure of each post"
950
  msgstr "Configura la estructura HTML de cada entrada"
951
 
952
- #: ../admin/partials/admin.php:959
953
  msgid "Text string, custom HTML"
954
  msgstr "Texto, HTML personalizado"
955
 
956
- #: ../admin/partials/admin.php:959
957
  msgid "Available Content Tags"
958
  msgstr "Content Tags disponibles"
959
 
960
- #: ../admin/partials/admin.php:959
961
  msgid ""
962
  "returns thumbnail linked to post/page, requires thumbnail_width & "
963
  "thumbnail_height"
@@ -965,7 +991,7 @@ msgstr ""
965
  "devuelve la miniatura con un link hacia la entrada/p&aacute;gina, requiere "
966
  "thumbnail_width & thumbnail_height"
967
 
968
- #: ../admin/partials/admin.php:959
969
  msgid ""
970
  "returns thumbnail image without linking to post/page, requires "
971
  "thumbnail_width & thumbnail_height"
@@ -973,31 +999,31 @@ msgstr ""
973
  "devuelve la miniatura sin link hacia la entrada/p&aacute;gina, requiere "
974
  "thumbnail_width & thumbnail_height"
975
 
976
- #: ../admin/partials/admin.php:959
977
  msgid "returns thumbnail url, requires thumbnail_width & thumbnail_height"
978
  msgstr ""
979
  "devuelve la url de la miniatura, requires thumbnail_width & thumbnail_height"
980
 
981
- #: ../admin/partials/admin.php:959
982
  msgid "returns linked post/page title"
983
  msgstr "devuelve el t&iacute;tulo de la entrada/p&aacute;gina con enlace"
984
 
985
- #: ../admin/partials/admin.php:959
986
  msgid "returns the post/page ID"
987
  msgstr "devuelve la URL de la entrada/p&aacute;gina"
988
 
989
- #: ../admin/partials/admin.php:959
990
  msgid ""
991
  "returns post/page excerpt, and requires excerpt_length to be greater than 0"
992
  msgstr ""
993
  "devuelve el resumen de la entrada/p&aacute;gina, requiere que excerpt_length "
994
  "sea mayor a 0"
995
 
996
- #: ../admin/partials/admin.php:959
997
  msgid "returns the default stats tags"
998
  msgstr "devuelve el stats tag por defecto"
999
 
1000
- #: ../admin/partials/admin.php:959
1001
  msgid ""
1002
  "returns post/page current rating, requires WP-PostRatings installed and "
1003
  "enabled"
@@ -1005,7 +1031,7 @@ msgstr ""
1005
  "devuelve el rating actual de la entrada/p&aacute;gina, requiere que WP-"
1006
  "PostRatings est&eacute; instalado y activo"
1007
 
1008
- #: ../admin/partials/admin.php:959
1009
  msgid ""
1010
  "returns post/page current rating as an integer, requires WP-PostRatings "
1011
  "installed and enabled"
@@ -1013,85 +1039,158 @@ msgstr ""
1013
  "devuelve el rating actual de la entrada/p&aacute;gina como un entero, "
1014
  "requiere que WP-PostRatings est&eacute; instalado y activo"
1015
 
1016
- #: ../admin/partials/admin.php:959
1017
  msgid "returns the URL of the post/page"
1018
  msgstr "devuelve la URL de la entrada/p&aacute;gina"
1019
 
1020
- #: ../admin/partials/admin.php:959
1021
  msgid "returns post/page title, no link"
1022
  msgstr "devuelve el t&iacute;tulo de la entrada/p&aacute;gina, sin enlace"
1023
 
1024
- #: ../admin/partials/admin.php:959
1025
  msgid "returns linked author name, requires stats_author=1"
1026
  msgstr "devuelve el nombre del autor con enlace, requiere stats_author=1"
1027
 
1028
- #: ../admin/partials/admin.php:959
1029
  msgid "returns linked category name, requires stats_category=1"
1030
  msgstr ""
1031
  "devuelve el nombre de la categor&iacute;a con enlace, requiere "
1032
  "stats_category=1"
1033
 
1034
- #: ../admin/partials/admin.php:959
1035
  msgid "returns linked taxonomy names, requires stats_taxonomy=1"
1036
  msgstr ""
1037
  "devuelve los nombres de las taxonom&iacute;as con enlace, requiere "
1038
  "stats_taxonomy=1"
1039
 
1040
- #: ../admin/partials/admin.php:959
1041
  msgid "returns views count only, no text"
1042
  msgstr "devuelve el n&uacute;mero de vistas, sin texto adicional"
1043
 
1044
- #: ../admin/partials/admin.php:959
1045
  msgid "returns comments count only, no text, requires stats_comments=1"
1046
  msgstr ""
1047
  "devuelve el n&uacute;mero de comentarios, sin texto adicional, requiere "
1048
  "stats_comments=1"
1049
 
1050
- #: ../admin/partials/admin.php:959
1051
  msgid "returns post/page date, requires stats_date=1"
1052
  msgstr "devuelve la fecha de la entrada/p&aacute;gina, requiere stats_date=1"
1053
 
1054
- #: ../includes/class-wordpress-popular-posts-output.php:126
1055
  msgid "Sorry. No data so far."
1056
  msgstr "Lo lamentamos. No hay nada que mostrar a&uacute;n."
1057
 
1058
- #: ../includes/class-wordpress-popular-posts-output.php:497
1059
  #, php-format
1060
  msgid "%s ago"
1061
  msgstr "hace %s"
1062
 
1063
- #: ../includes/class-wordpress-popular-posts-output.php:714
1064
  #, php-format
1065
  msgid "1 view per day"
1066
  msgid_plural "%s views per day"
1067
  msgstr[0] "1 vista por d&iacute;a"
1068
  msgstr[1] "%s vistas por d&iacute;a"
1069
 
1070
- #: ../includes/class-wordpress-popular-posts-output.php:743
1071
  #, php-format
1072
  msgid "by %s"
1073
  msgstr "por %s"
1074
 
1075
- #: ../includes/class-wordpress-popular-posts-output.php:749
1076
  #, php-format
1077
  msgid "posted %s"
1078
  msgstr "publicado %s"
1079
 
1080
- #: ../includes/class-wordpress-popular-posts-output.php:749
1081
  #, php-format
1082
  msgid "posted on %s"
1083
  msgstr "publicado el %s"
1084
 
1085
- #: ../includes/class-wordpress-popular-posts-output.php:758
1086
  #, php-format
1087
  msgid "under %s"
1088
  msgstr "bajo %s"
1089
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1090
  #: ../includes/class-wordpress-popular-posts-widget.php:21
1091
  msgid "The most Popular Posts on your blog."
1092
  msgstr "Las entradas m&aacute;s populares en tu blog."
1093
 
1094
- #: ../includes/class-wordpress-popular-posts-widget.php:94
1095
  #, php-format
1096
  msgid ""
1097
  "Error: cannot ajaxify WordPress Popular Posts on this theme. It's missing "
@@ -1102,10 +1201,6 @@ msgstr ""
1102
  "el atributo <em>id</em> en before_widget (ver <a href=\"%s\" target=\"_blank"
1103
  "\" rel=\"nofollow\">register_sidebar</a> para m&aacute;s detalles)"
1104
 
1105
- #: ../includes/class-wordpress-popular-posts-widget.php:105
1106
- msgid "Loading..."
1107
- msgstr "Cargando..."
1108
-
1109
  #: ../includes/widget-form.php:3
1110
  msgid "Title"
1111
  msgstr "T&iacute;tulo"
@@ -1138,26 +1233,10 @@ msgstr "Filtros"
1138
  msgid "Time Range"
1139
  msgstr "Rango de Tiempo"
1140
 
1141
- #: ../includes/widget-form.php:30
1142
- msgid "Last 24 hours"
1143
- msgstr "&Uacute;ltimas 24 horas"
1144
-
1145
- #: ../includes/widget-form.php:31
1146
- msgid "Last 7 days"
1147
- msgstr "&Uacute;ltimos 7 d&iacute;as"
1148
-
1149
- #: ../includes/widget-form.php:32
1150
- msgid "Last 30 days"
1151
- msgstr "&Uacute;ltimos 30 d&iacute;as"
1152
-
1153
  #: ../includes/widget-form.php:33
1154
  msgid "All-time"
1155
  msgstr "Todos los tiempos"
1156
 
1157
- #: ../includes/widget-form.php:34
1158
- msgid "Custom"
1159
- msgstr "Personalizado"
1160
-
1161
  #: ../includes/widget-form.php:50
1162
  msgid "Post type(s)"
1163
  msgstr "Post type(s)"
@@ -1292,6 +1371,30 @@ msgstr "Antes / despu&eacute;s de las entradas populares"
1292
  msgid "Post HTML Markup"
1293
  msgstr "Markup HTML de la entrada"
1294
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1295
  #~ msgid "About"
1296
  #~ msgstr "Acerca de"
1297
 
4
  msgstr ""
5
  "Project-Id-Version: WordPress Popular Posts\n"
6
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/wordpress-popular-posts\n"
7
+ "POT-Creation-Date: 2018-04-25 15:35-0400\n"
8
+ "PO-Revision-Date: 2018-04-25 15:41-0400\n"
9
  "Last-Translator: \n"
10
  "Language-Team: Héctor Cabrera <me@cabrerahector.com>\n"
11
  "Language: es_ES\n"
13
  "Content-Type: text/plain; charset=UTF-8\n"
14
  "Content-Transfer-Encoding: 8bit\n"
15
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
16
+ "X-Generator: Poedit 2.0.7\n"
17
  "X-Poedit-KeywordsList: _e;__;__ngettext;__ngettext_noop;_n_noop;_x;_nx;"
18
  "_nx_noop;_ex;esc_attr__;esc_attr_e;esc_attr_x;esc_html__;esc_html_e;"
19
  "esc_html_x;_c;_nc;_n:1,2\n"
22
  "X-Poedit-SearchPath-0: .\n"
23
  "X-Poedit-SearchPath-1: ..\n"
24
 
25
+ #: ../admin/class-wordpress-popular-posts-admin.php:173
26
+ #, php-format
27
+ msgid "1 view in the last hour"
28
+ msgid_plural "%s views in the last hour"
29
+ msgstr[0] "1 vista en la &uacute;ltima hora"
30
+ msgstr[1] "%s vistas en la &uacute;ltima hora"
31
+
32
+ #: ../admin/class-wordpress-popular-posts-admin.php:239
33
+ msgid "Use this image"
34
+ msgstr "Utilizar esta imagen"
35
 
36
+ #: ../admin/class-wordpress-popular-posts-admin.php:257
37
  msgid "Overview"
38
  msgstr "General"
39
 
40
+ #: ../admin/class-wordpress-popular-posts-admin.php:258
41
  msgid ""
42
  "Welcome to WordPress Popular Posts' Dashboard! In this screen you will find "
43
  "statistics on what's popular on your site, tools to further tweak WPP to "
47
  "encontrar&aacute;s estad&iacute;sticas de lo m&aacute;s popular en tu sitio, "
48
  "herramientas para configurar WPP a tu gusto, &iexcl;y mucho m&aacute;s!"
49
 
50
+ #: ../admin/class-wordpress-popular-posts-admin.php:264
51
  msgid "Like this plugin?"
52
  msgstr "&iquest;Te gusta este plugin?"
53
 
54
+ #: ../admin/class-wordpress-popular-posts-admin.php:266
55
  msgid ""
56
  "Each donation motivates me to keep releasing free stuff for the WordPress "
57
  "community!"
59
  "&iexcl;Cada donaci&oacute;n me motiva a seguir publicando cosas gratuitas "
60
  "para la comunidad de WordPress!"
61
 
62
+ #: ../admin/class-wordpress-popular-posts-admin.php:273
63
  #, php-format
64
  msgid "You can <a href=\"%s\" target=\"_blank\">leave a review</a>, too!"
65
  msgstr ""
66
  "&iexcl;Puedes <a href=\"%s\" target=\"_blank\">dejar una rese&ntilde;a</a> "
67
  "tambi&eacute;n!"
68
 
69
+ #: ../admin/class-wordpress-popular-posts-admin.php:282
70
  #, php-format
71
  msgid ""
72
  "<p><strong>For more information:</strong></p><ul><li><a href=\"%1$s"
76
  "\"%1$s\">Documentaci&oacute;n</a></li><li><a href=\"%2$s\">Soporte</a></li></"
77
  "ul>"
78
 
79
+ #: ../admin/class-wordpress-popular-posts-admin.php:658
80
+ #: ../admin/class-wordpress-popular-posts-admin.php:777
81
  #: ../admin/partials/admin.php:411 ../admin/partials/admin.php:458
82
+ #: ../includes/class-wordpress-popular-posts-output.php:742
83
  #, php-format
84
  msgid "1 view"
85
  msgid_plural "%s views"
86
  msgstr[0] "1 vista"
87
  msgstr[1] "%s vistas"
88
 
89
+ #: ../admin/class-wordpress-popular-posts-admin.php:658
90
+ #: ../admin/class-wordpress-popular-posts-admin.php:832
91
  #: ../admin/partials/admin.php:411 ../admin/partials/admin.php:458
92
+ #: ../includes/class-wordpress-popular-posts-output.php:723
93
  #, php-format
94
  msgid "1 comment"
95
  msgid_plural "%s comments"
96
  msgstr[0] "1 comentario"
97
  msgstr[1] "%s comentarios"
98
 
99
+ #: ../admin/class-wordpress-popular-posts-admin.php:690
100
  #: ../includes/widget-form.php:17
101
  msgid "Comments"
102
  msgstr "Comentarios"
103
 
104
+ #: ../admin/class-wordpress-popular-posts-admin.php:694
105
  msgid "Views"
106
  msgstr "Vistas"
107
 
108
+ #: ../admin/class-wordpress-popular-posts-admin.php:778
109
+ #: ../admin/class-wordpress-popular-posts-admin.php:833
110
  #: ../admin/partials/admin.php:412 ../admin/partials/admin.php:459
111
  msgid "View"
112
  msgstr "Vista"
113
 
114
+ #: ../admin/class-wordpress-popular-posts-admin.php:778
115
+ #: ../admin/class-wordpress-popular-posts-admin.php:833
116
  #: ../admin/partials/admin.php:412 ../admin/partials/admin.php:459
117
  msgid "Edit"
118
  msgstr "Editar"
119
 
120
+ #: ../admin/class-wordpress-popular-posts-admin.php:789
121
+ #: ../admin/class-wordpress-popular-posts-admin.php:844
122
  #: ../admin/partials/admin.php:423 ../admin/partials/admin.php:470
123
  msgid ""
124
  "Looks like traffic to your site is a little light right now. <br />Spread "
127
  "Parece que el tr&aacute;fico hacia tu sitio web est&aacute; un poco ligero. "
128
  "<br />&iexcl;Haz un poco de promoci&oacute;n y regresa luego!"
129
 
130
+ #: ../admin/class-wordpress-popular-posts-admin.php:912
131
  msgid "Settings"
132
  msgstr "Configuraci&oacute;n"
133
 
134
+ #: ../admin/class-wordpress-popular-posts-admin.php:1302
135
  #, php-format
136
  msgid ""
137
  "Your PHP installation is too old. WordPress Popular Posts requires at least "
143
  "contacta a tu proveedor de hosting y solicita que se actualice PHP a %1$s o "
144
  "mejor."
145
 
146
+ #: ../admin/class-wordpress-popular-posts-admin.php:1309
147
  #, php-format
148
  msgid ""
149
  "Your WordPress version is too old. WordPress Popular Posts requires at least "
154
  "Posts requiere al menos la versi&oacute;n %1$s para funcionar correctamente. "
155
  "Por favor actualiza tu blog via Escritorio &gt; Actualizaciones."
156
 
157
+ #: ../admin/class-wordpress-popular-posts-admin.php:1334
158
  #, php-format
159
  msgid ""
160
  "<div class=\"notice notice-error\"><p>%1$s</p><p><i>%2$s</i> has been "
163
  "<div class=\"notice notice-error\"><p>%1$s</p><p><i>%2$s</i> ha sido "
164
  "<strong>desactivado</strong>.</p></div>"
165
 
166
+ #: ../admin/partials/admin.php:6 ../admin/partials/admin.php:254
167
  msgid "Stats"
168
  msgstr "Estad&iacute;sticas"
169
 
170
+ #: ../admin/partials/admin.php:7 ../admin/partials/admin.php:255
171
  msgid "Tools"
172
  msgstr "Herramientas"
173
 
174
+ #: ../admin/partials/admin.php:8 ../admin/partials/admin.php:256
175
  msgid "Parameters"
176
  msgstr "Par&aacute;metros"
177
 
178
  #: ../admin/partials/admin.php:33 ../admin/partials/admin.php:48
179
+ #: ../admin/partials/admin.php:71 ../admin/partials/admin.php:112
180
  msgid "Settings saved."
181
  msgstr "Configuraci&oacute;n guardada."
182
 
184
  msgid "Please provide the name of your custom field."
185
  msgstr "Por favor indica el nombre de tu custom field."
186
 
187
+ #: ../admin/partials/admin.php:120
188
  msgid ""
189
  "Any changes made to WPP's default stylesheet will be lost after every plugin "
190
  "update. In order to prevent this from happening, please copy the wpp.css "
196
  "favor copia el archivo wpp.css (ubicado en wp-content/plugins/wordpress-"
197
  "popular-posts/style) a la carpeta de tu tema actual"
198
 
199
+ #: ../admin/partials/admin.php:135
200
  msgid ""
201
  "This operation will delete all entries from WordPress Popular Posts' cache "
202
  "table and cannot be undone."
204
  "Esta operaci\\363n borrar\\341 todas las entradas en el cach\\351 de "
205
  "WordPress Popular Posts y no se puede deshacer."
206
 
207
+ #: ../admin/partials/admin.php:135 ../admin/partials/admin.php:174
208
+ #: ../admin/partials/admin.php:213
209
  msgid "Do you want to continue?"
210
  msgstr "\\277Deseas continuar?"
211
 
212
+ #: ../admin/partials/admin.php:147
213
  msgid "Success! The cache table has been cleared!"
214
  msgstr "\\241\\311xito! \\241La tabla cach\\351 ha sido borrada!"
215
 
216
+ #: ../admin/partials/admin.php:151
217
  msgid "Error: cache table does not exist."
218
  msgstr "Error: la tabla cach\\351 no existe."
219
 
220
+ #: ../admin/partials/admin.php:155 ../admin/partials/admin.php:163
221
+ #: ../admin/partials/admin.php:194 ../admin/partials/admin.php:202
222
+ #: ../admin/partials/admin.php:232 ../admin/partials/admin.php:240
223
  msgid "Invalid action."
224
  msgstr "Acci\\363n inv\\311lida."
225
 
226
+ #: ../admin/partials/admin.php:159 ../admin/partials/admin.php:198
227
+ #: ../admin/partials/admin.php:236
228
  msgid ""
229
  "Sorry, you do not have enough permissions to do this. Please contact the "
230
  "site administrator for support."
232
  "Lo lamento, no tienes permisos suficientes para hacer esto. Por favor "
233
  "contacta al administrador del sitio."
234
 
235
+ #: ../admin/partials/admin.php:174
236
  msgid ""
237
  "This operation will delete all stored info from WordPress Popular Posts' "
238
  "data tables and cannot be undone."
240
  "Esta operaci\\363n borrar\\341 toda la informaci\\363n guardada en las "
241
  "tablas de WordPress Popular Posts y no se puede deshacer."
242
 
243
+ #: ../admin/partials/admin.php:186
244
  msgid "Success! All data have been cleared!"
245
  msgstr "\\241\\311xito! \\241Toda la data ha sido borrada!"
246
 
247
+ #: ../admin/partials/admin.php:190
248
  msgid "Error: one or both data tables are missing."
249
  msgstr "Error: una o ambas tablas de datos no existen."
250
 
251
+ #: ../admin/partials/admin.php:213
252
  msgid "This operation will delete all cached thumbnails and cannot be undone."
253
  msgstr ""
254
  "Esta operaci\\363n borrar\\341 todas las miniaturas en el cach\\351 y no se "
255
  "puede deshacer."
256
 
257
+ #: ../admin/partials/admin.php:224
258
  msgid "Success! All files have been deleted!"
259
  msgstr "\\241\\311xito! \\241Todos los archivos han sido borrados!"
260
 
261
+ #: ../admin/partials/admin.php:228
262
  msgid "The thumbnail cache is already empty!"
263
  msgstr "\\241El cach\\351 de miniaturas ya est\\341 vac\\355o!"
264
 
265
+ #: ../admin/partials/admin.php:253
266
  msgid "Menu"
267
  msgstr "Men&uacute;"
268
 
269
+ #: ../admin/partials/admin.php:281
270
  msgid "Post type"
271
  msgstr "Post type"
272
 
273
+ #: ../admin/partials/admin.php:284
274
  msgid "Limit"
275
  msgstr "L&iacute;mite"
276
 
277
+ #: ../admin/partials/admin.php:287 ../includes/widget-form.php:48
278
  msgid "Display only posts published within the selected Time Range"
279
  msgstr ""
280
  "Mostrar s&oacute;lo entradas publicadas en el Rango de Tiempo seleccionado"
281
 
282
+ #: ../admin/partials/admin.php:293 ../admin/partials/admin.php:331
283
+ #: ../admin/partials/admin.php:540 ../admin/partials/admin.php:644
284
+ #: ../admin/partials/admin.php:683
285
  msgid "Apply"
286
  msgstr "Aplicar"
287
 
288
+ #: ../admin/partials/admin.php:294 ../admin/partials/admin.php:334
289
  msgid "Cancel"
290
  msgstr "Cancelar"
291
 
292
+ #: ../admin/partials/admin.php:307
293
  msgid "Custom Time Range"
294
  msgstr "Rango de Tiempo Personalizado"
295
 
296
+ #: ../admin/partials/admin.php:308
297
  msgid "Date Range"
298
  msgstr "Rango de Fechas"
299
 
300
+ #: ../admin/partials/admin.php:316 ../admin/partials/admin.php:610
301
  #: ../includes/widget-form.php:41
302
  msgid "Minute(s)"
303
  msgstr "Minuto(s)"
304
 
305
+ #: ../admin/partials/admin.php:317 ../admin/partials/admin.php:611
306
  #: ../includes/widget-form.php:42
307
  msgid "Hour(s)"
308
  msgstr "Hora(s)"
309
 
310
+ #: ../admin/partials/admin.php:318 ../admin/partials/admin.php:612
311
  #: ../includes/widget-form.php:43
312
  msgid "Day(s)"
313
  msgstr "D&iacute;a(s)"
314
 
315
+ #: ../admin/partials/admin.php:324
316
  msgid "Select a date..."
317
  msgstr "Selecciona una fecha..."
318
 
319
+ #: ../admin/partials/admin.php:346
320
+ msgid "Today"
321
+ msgstr "Hoy"
322
+
323
+ #: ../admin/partials/admin.php:347 ../includes/widget-form.php:30
324
+ msgid "Last 24 hours"
325
+ msgstr "&Uacute;ltimas 24 horas"
326
+
327
+ #: ../admin/partials/admin.php:348 ../includes/widget-form.php:31
328
+ msgid "Last 7 days"
329
+ msgstr "&Uacute;ltimos 7 d&iacute;as"
330
+
331
+ #: ../admin/partials/admin.php:349 ../includes/widget-form.php:32
332
+ msgid "Last 30 days"
333
+ msgstr "&Uacute;ltimos 30 d&iacute;as"
334
+
335
+ #: ../admin/partials/admin.php:350 ../includes/widget-form.php:34
336
+ msgid "Custom"
337
+ msgstr "Personalizado"
338
+
339
  #: ../admin/partials/admin.php:354
340
  #, php-format
341
  msgid ""
348
  "anticuado.<br /> Por favor <a href=\"%s\" target=\"_blank\">instala un mejor "
349
  "navegador</a>."
350
 
351
+ #: ../admin/partials/admin.php:365
352
+ msgid "Most viewed"
353
+ msgstr "M&aacute;s vistos"
354
+
355
+ #: ../admin/partials/admin.php:366
356
+ msgid "Most commented"
357
+ msgstr "M&aacute;s comentados"
358
+
359
+ #: ../admin/partials/admin.php:367
360
+ msgid "Trending now"
361
+ msgstr "Siendo Tendencia Ahora"
362
+
363
+ #: ../admin/partials/admin.php:368
364
+ msgid "Hall of Fame"
365
+ msgstr "Sal&oacute;n de la Fama"
366
+
367
  #: ../admin/partials/admin.php:480
368
  msgid "Thumbnails"
369
  msgstr "Miniaturas"
373
  msgstr "Miniatura por defecto"
374
 
375
  #: ../admin/partials/admin.php:490
376
+ msgid "Change thumbnail"
377
+ msgstr "Cambiar miniatura"
378
 
379
  #: ../admin/partials/admin.php:492
380
+ msgid "This image will be displayed when no thumbnail is available"
381
+ msgstr "Esta imagen se mostrar&aacute; cuando no haya miniatura disponible"
 
 
 
 
382
 
383
  #: ../admin/partials/admin.php:496
384
  msgid "Pick image from"
421
  msgid "Yes"
422
  msgstr "S&iacute;"
423
 
424
+ #: ../admin/partials/admin.php:530
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
425
  msgid "Empty image cache"
426
  msgstr "Vaciar el cach&eacute; de im&aacute;genes"
427
 
428
+ #: ../admin/partials/admin.php:531
429
  msgid "Use this button to clear WPP's thumbnails cache"
430
  msgstr ""
431
  "Utiliza este bot&oacute;n para vaciar el cach&eacute; de miniaturas de WPP"
432
 
433
+ #: ../admin/partials/admin.php:551
434
  msgid "Data"
435
  msgstr "Datos"
436
 
437
+ #: ../admin/partials/admin.php:556
438
  msgid "Log views from"
439
  msgstr "Registrar vistas de"
440
 
441
+ #: ../admin/partials/admin.php:559
442
  msgid "Visitors only"
443
  msgstr "S&oacute;lo visitantes"
444
 
445
+ #: ../admin/partials/admin.php:560
446
  msgid "Logged-in users only"
447
  msgstr "S&oacute;lo usuarios conectados"
448
 
449
+ #: ../admin/partials/admin.php:561
450
  msgid "Everyone"
451
  msgstr "Todos"
452
 
453
+ #: ../admin/partials/admin.php:567
454
  msgid "Log limit"
455
  msgstr "L&iacute;mite del registro"
456
 
457
+ #: ../admin/partials/admin.php:570 ../admin/partials/admin.php:585
458
+ #: ../admin/partials/admin.php:625 ../admin/partials/admin.php:674
459
+ msgid "Disabled"
460
+ msgstr "Deshabilitado"
461
+
462
+ #: ../admin/partials/admin.php:571
463
  msgid "Keep data for"
464
  msgstr "Guardar datos por"
465
 
466
+ #: ../admin/partials/admin.php:574
467
  msgid "day(s)"
468
  msgstr "d&iacute;a(s)"
469
 
470
+ #: ../admin/partials/admin.php:576
471
  msgid ""
472
  "Data older than the specified time frame will be automatically discarded"
473
  msgstr ""
474
  "La data que sea m&aacute;s antigua que el tiempo especificado ser&aacute;n "
475
  "autom&aacute;ticamente descartada"
476
 
477
+ #: ../admin/partials/admin.php:582
478
  msgid "Ajaxify widget"
479
  msgstr "Usar Ajax con el widget"
480
 
481
+ #: ../admin/partials/admin.php:586 ../admin/partials/admin.php:626
482
+ #: ../admin/partials/admin.php:673
483
+ msgid "Enabled"
484
+ msgstr "Habilitado"
485
+
486
+ #: ../admin/partials/admin.php:590
487
  msgid ""
488
  "If you are using a caching plugin such as WP Super Cache, enabling this "
489
  "feature will keep the popular list from being cached by it"
492
  "habilitar esta caracter&iacute;stica evitar&aacute; que la lista de entradas "
493
  "populares sea guardada en cach&eacute;"
494
 
495
+ #: ../admin/partials/admin.php:594
496
  msgid "WPP Cache Expiry Policy"
497
  msgstr "WPP Pol&iacute;tica de Expiraci&oacute;n del Cache"
498
 
499
+ #: ../admin/partials/admin.php:594 ../admin/partials/admin.php:622
500
  #: ../includes/widget-form.php:3 ../includes/widget-form.php:50
501
  #: ../includes/widget-form.php:56 ../includes/widget-form.php:75
502
  #: ../includes/widget-form.php:85 ../includes/widget-form.php:177
503
  msgid "What is this?"
504
  msgstr "&iquest;Qu&eacute; es &eacute;sto?"
505
 
506
+ #: ../admin/partials/admin.php:597
507
  msgid "Never cache"
508
  msgstr "Nunca almacenar en cach&eacute;"
509
 
510
+ #: ../admin/partials/admin.php:598
511
  msgid "Enable caching"
512
  msgstr "Habilitar cach&eacute;"
513
 
514
+ #: ../admin/partials/admin.php:602
515
  msgid ""
516
  "Sets WPP's cache expiration time. WPP can cache the popular list for a "
517
  "specified amount of time. Recommended for large / high traffic sites"
521
  "de tiempo especificada. Recomendado para sitios web grandes / de alto "
522
  "tr&aacute;fico"
523
 
524
+ #: ../admin/partials/admin.php:606
525
  msgid "Refresh cache every"
526
  msgstr "Refrescar el cach&eacute; cada"
527
 
528
+ #: ../admin/partials/admin.php:613
529
  msgid "Week(s)"
530
  msgstr "Semana(s)"
531
 
532
+ #: ../admin/partials/admin.php:614
533
  msgid "Month(s)"
534
  msgstr "Mes(es)"
535
 
536
+ #: ../admin/partials/admin.php:615
537
  msgid "Year(s)"
538
  msgstr "A&ntilde;o(s)"
539
 
540
+ #: ../admin/partials/admin.php:618
541
  msgid "Really? That long?"
542
  msgstr "&iquest;En serio? &iquest;Tanto tiempo?"
543
 
544
+ #: ../admin/partials/admin.php:622
545
  msgid "Data Sampling"
546
  msgstr "Sampleo de Datos"
547
 
548
+ #: ../admin/partials/admin.php:630
549
  #, php-format
550
  msgid ""
551
  "By default, WordPress Popular Posts stores in database every single visit "
566
  "detectadas en ese conjunto de muestras (para m&aacute;s, <a href=\"%2$s\" "
567
  "target=\"_blank\">por favor leer ac&aacute;</a>)"
568
 
569
+ #: ../admin/partials/admin.php:634
570
  msgid "Sample Rate"
571
  msgstr "Rata de Sampleo"
572
 
573
+ #: ../admin/partials/admin.php:638
574
  #, php-format
575
  msgid ""
576
  "A sampling rate of %d is recommended for large / high traffic sites. For "
580
  "tr&aacute;fico. Para sitios con menos tr&aacute;fico, deber&iacute;as "
581
  "disminuir el valor"
582
 
583
+ #: ../admin/partials/admin.php:655
584
  msgid "Miscellaneous"
585
  msgstr "Miscel&aacute;neos"
586
 
587
+ #: ../admin/partials/admin.php:660
588
  msgid "Open links in"
589
  msgstr "Abrir enlaces en"
590
 
591
+ #: ../admin/partials/admin.php:663
592
  msgid "Current window"
593
  msgstr "Ventana actual"
594
 
595
+ #: ../admin/partials/admin.php:664
596
  msgid "New tab/window"
597
  msgstr "Nueva pesta&ntilde;a/ventana"
598
 
599
+ #: ../admin/partials/admin.php:670
600
  msgid "Use plugin's stylesheet"
601
  msgstr "Utilizar la hoja de estilos del plugin"
602
 
603
+ #: ../admin/partials/admin.php:677
604
  msgid ""
605
  "By default, the plugin includes a stylesheet called wpp.css which you can "
606
  "use to style your popular posts listing. If you wish to use your own "
612
  "deseas utilizar tu propia hoja de estilos, o no quieres que wpp.css se "
613
  "incluya en el header de tu sitio web, utiliza esto."
614
 
615
+ #: ../admin/partials/admin.php:696
616
  msgid ""
617
  "WordPress Popular Posts maintains data in two separate tables: one for "
618
  "storing the most popular entries on a daily basis (from now on, \"cache\"), "
628
  "tablas hist&oacute;ricas y de cach&eacute;, por favor utiliza los botones de "
629
  "abajo."
630
 
631
+ #: ../admin/partials/admin.php:697
632
  msgid "Empty cache"
633
  msgstr "Vaciar el cach&eacute;"
634
 
635
+ #: ../admin/partials/admin.php:697
636
  msgid "Use this button to manually clear entries from WPP cache only"
637
  msgstr ""
638
  "Utiliza este bot&oacute;n para vaciar manualmente s&oacute;lo las entradas "
639
  "del cach&eacute; de WPP"
640
 
641
+ #: ../admin/partials/admin.php:698
642
  msgid "Clear all data"
643
  msgstr "Eliminar toda la data"
644
 
645
+ #: ../admin/partials/admin.php:698
646
  msgid "Use this button to manually clear entries from all WPP data tables"
647
  msgstr ""
648
  "Utiliza este bot&oacute;n para limpiar manualmente las tablas de datos de WPP"
649
 
650
+ #: ../admin/partials/admin.php:705
651
  #, php-format
652
  msgid ""
653
  "With the following parameters you can customize the popular posts list when "
658
  "entradas populares cuando utilices el <a href=\"%1$s\">template tag "
659
  "wpp_get_mostpopular()</a> o el <a href=\"%2$s\">shortcode [wpp]</a>."
660
 
661
+ #: ../admin/partials/admin.php:713
662
  msgid "Parameter"
663
  msgstr "Par&aacute;metro"
664
 
665
+ #: ../admin/partials/admin.php:714
666
  msgid "What it does "
667
  msgstr "Qu&eacute; hace"
668
 
669
+ #: ../admin/partials/admin.php:715
670
  msgid "Possible values"
671
  msgstr "Valores posibles"
672
 
673
+ #: ../admin/partials/admin.php:716
674
  msgid "Defaults to"
675
  msgstr "Por defecto"
676
 
677
+ #: ../admin/partials/admin.php:717
678
  msgid "Example"
679
  msgstr "Ejemplo"
680
 
681
+ #: ../admin/partials/admin.php:723
682
  msgid "Sets a heading for the list"
683
  msgstr "Configura el encabezado de la lista"
684
 
685
+ #: ../admin/partials/admin.php:724 ../admin/partials/admin.php:731
686
+ #: ../admin/partials/admin.php:738 ../admin/partials/admin.php:787
687
+ #: ../admin/partials/admin.php:794 ../admin/partials/admin.php:801
688
+ #: ../admin/partials/admin.php:808 ../admin/partials/admin.php:815
689
+ #: ../admin/partials/admin.php:822 ../admin/partials/admin.php:913
690
+ #: ../admin/partials/admin.php:934 ../admin/partials/admin.php:941
691
  msgid "Text string"
692
  msgstr "Texto"
693
 
694
+ #: ../admin/partials/admin.php:725 ../admin/partials/admin.php:795
695
+ #: ../admin/partials/admin.php:802 ../admin/partials/admin.php:809
696
+ #: ../admin/partials/admin.php:816 ../admin/partials/admin.php:823
697
  msgid "None"
698
  msgstr "Ninguno"
699
 
700
+ #: ../admin/partials/admin.php:726 ../admin/partials/admin.php:733
701
+ #: ../admin/partials/admin.php:740 ../admin/partials/admin.php:747
702
+ #: ../admin/partials/admin.php:754 ../admin/partials/admin.php:761
703
+ #: ../admin/partials/admin.php:768 ../admin/partials/admin.php:775
704
+ #: ../admin/partials/admin.php:782 ../admin/partials/admin.php:789
705
+ #: ../admin/partials/admin.php:796 ../admin/partials/admin.php:803
706
+ #: ../admin/partials/admin.php:810 ../admin/partials/admin.php:817
707
+ #: ../admin/partials/admin.php:824 ../admin/partials/admin.php:831
708
+ #: ../admin/partials/admin.php:838 ../admin/partials/admin.php:845
709
+ #: ../admin/partials/admin.php:852 ../admin/partials/admin.php:859
710
+ #: ../admin/partials/admin.php:866 ../admin/partials/admin.php:873
711
+ #: ../admin/partials/admin.php:880 ../admin/partials/admin.php:887
712
+ #: ../admin/partials/admin.php:894 ../admin/partials/admin.php:901
713
+ #: ../admin/partials/admin.php:908 ../admin/partials/admin.php:915
714
+ #: ../admin/partials/admin.php:922 ../admin/partials/admin.php:929
715
+ #: ../admin/partials/admin.php:936 ../admin/partials/admin.php:943
716
+ #: ../admin/partials/admin.php:950
717
  msgid "With wpp_get_mostpopular():"
718
  msgstr "Con wpp_get_mostpopular():"
719
 
720
+ #: ../admin/partials/admin.php:726 ../admin/partials/admin.php:733
721
+ #: ../admin/partials/admin.php:740 ../admin/partials/admin.php:747
722
+ #: ../admin/partials/admin.php:754 ../admin/partials/admin.php:761
723
+ #: ../admin/partials/admin.php:768 ../admin/partials/admin.php:775
724
+ #: ../admin/partials/admin.php:782 ../admin/partials/admin.php:789
725
+ #: ../admin/partials/admin.php:796 ../admin/partials/admin.php:803
726
+ #: ../admin/partials/admin.php:810 ../admin/partials/admin.php:817
727
+ #: ../admin/partials/admin.php:824 ../admin/partials/admin.php:831
728
+ #: ../admin/partials/admin.php:838 ../admin/partials/admin.php:845
729
+ #: ../admin/partials/admin.php:852 ../admin/partials/admin.php:859
730
+ #: ../admin/partials/admin.php:866 ../admin/partials/admin.php:873
731
+ #: ../admin/partials/admin.php:880 ../admin/partials/admin.php:887
732
+ #: ../admin/partials/admin.php:894 ../admin/partials/admin.php:901
733
+ #: ../admin/partials/admin.php:908 ../admin/partials/admin.php:915
734
+ #: ../admin/partials/admin.php:922 ../admin/partials/admin.php:929
735
+ #: ../admin/partials/admin.php:936 ../admin/partials/admin.php:943
736
+ #: ../admin/partials/admin.php:950
737
  msgid "With the [wpp] shortcode:"
738
  msgstr "Con el shortcode [wpp]:"
739
 
740
+ #: ../admin/partials/admin.php:730
741
  msgid "Set the opening tag for the heading of the list"
742
  msgstr "Configura la etiqueta de apertura para el encabezado de la lista"
743
 
744
+ #: ../admin/partials/admin.php:737
745
  msgid "Set the closing tag for the heading of the list"
746
  msgstr "Configura la etiqueta de cierre para el encabezado de la lista"
747
 
748
+ #: ../admin/partials/admin.php:744
749
  msgid "Sets the maximum number of popular posts to be shown on the listing"
750
  msgstr ""
751
  "Configura el m&aacute;ximo de entradas populares a ser mostradas en la lista"
752
 
753
+ #: ../admin/partials/admin.php:745 ../admin/partials/admin.php:759
754
+ #: ../admin/partials/admin.php:829 ../admin/partials/admin.php:843
755
+ #: ../admin/partials/admin.php:864 ../admin/partials/admin.php:871
756
  msgid "Positive integer"
757
  msgstr "Entero positivo"
758
 
759
+ #: ../admin/partials/admin.php:751
760
  msgid ""
761
  "Tells WordPress Popular Posts to retrieve the most popular entries within "
762
  "the time range specified by you"
764
  "Le indica a WordPress Popular Posts que debe listar aquellas entradas que "
765
  "hayan sido populares dentro del rango de tiempo especificado por ti"
766
 
767
+ #: ../admin/partials/admin.php:758
768
  msgid "Especifies the number of time units of the custom time range"
769
  msgstr ""
770
  "Especifica el n&uacute;mero de unidades de tiempo del rango de tiempo "
771
  "personalizado"
772
 
773
+ #: ../admin/partials/admin.php:765
774
  msgid "Especifies the time unit of the custom time range"
775
  msgstr "Especifica la unidad de tiempo del rango de tiempo personalizado"
776
 
777
+ #: ../admin/partials/admin.php:772
778
  msgid ""
779
  "Tells WordPress Popular Posts to retrieve the most popular entries published "
780
  "within the time range specified by you"
782
  "Le indica a WordPress Popular Posts que debe listar aquellas entradas "
783
  "populares publicadas dentro del rango de tiempo especificado por ti"
784
 
785
+ #: ../admin/partials/admin.php:779
786
  msgid "Sets the sorting option of the popular posts"
787
  msgstr "Configura el ordenado de las entradas populares"
788
 
789
+ #: ../admin/partials/admin.php:780
790
  msgid "(for average views per day)"
791
  msgstr "(para el porcentaje de vistas por d&iacute;a)"
792
 
793
+ #: ../admin/partials/admin.php:786
794
  msgid "Defines the type of posts to show on the listing"
795
  msgstr "Define el tipo de entrada a mostrar en el listado"
796
 
797
+ #: ../admin/partials/admin.php:793
798
  msgid ""
799
  "If set, WordPress Popular Posts will exclude the specified post(s) ID(s) "
800
  "form the listing."
802
  "Si se configura, WordPress Popular Posts excluir&aacute; todos los IDs de "
803
  "las entradas especificadas."
804
 
805
+ #: ../admin/partials/admin.php:800
806
  msgid ""
807
  "If set, WordPress Popular Posts will retrieve all entries that belong to the "
808
  "specified category ID(s). If a minus sign is used, entries associated to the "
813
  "signo negativo, las entradas asociadas a dicha categor&iacute;a ser&aacute;n "
814
  "exclu&iacute;das."
815
 
816
+ #: ../admin/partials/admin.php:807
817
  msgid "If set, WordPress Popular Posts will filter posts by a given taxonomy."
818
  msgstr ""
819
  "Si se tilda, WordPress Popular Posts filtrar&aacute; entradas por la "
820
  "taxonom&iacute;a indicada."
821
 
822
+ #: ../admin/partials/admin.php:814
823
  msgid ""
824
  "If set, WordPress Popular Posts will retrieve all entries that belong to the "
825
  "specified term ID(s). If a minus sign is used, entries associated to the "
829
  "que pertenecen al Term ID especificado(s). Si se usa un signo negativo, las "
830
  "entradas asociadas a dicho term ser&aacute;n exclu&iacute;das."
831
 
832
+ #: ../admin/partials/admin.php:821
833
  msgid ""
834
  "If set, WordPress Popular Posts will retrieve all entries created by "
835
  "specified author(s) ID(s)."
837
  "Si se configura, WordPress Popular Posts traer&aacute; todas las entradas "
838
  "creadas por el (los) ID(s) de autor(es) especificado(s)."
839
 
840
+ #: ../admin/partials/admin.php:828
841
  msgid ""
842
  "If set, WordPress Popular Posts will shorten each post title to \"n\" "
843
  "characters whenever possible"
845
  "Si se configura, WordPress Popular Posts acortar&aacute; cada titulo en \"n"
846
  "\" caracteres cuando sea posible"
847
 
848
+ #: ../admin/partials/admin.php:835
849
  msgid ""
850
  "If set to 1, WordPress Popular Posts will shorten each post title to \"n\" "
851
  "words instead of characters"
853
  "Si se pasa el valor 1, WordPress Popular Posts acortar&aacute; cada titulo "
854
  "en \"n\" palabras en vez de caracteres"
855
 
856
+ #: ../admin/partials/admin.php:842
857
  msgid ""
858
  "If set, WordPress Popular Posts will build and include an excerpt of \"n\" "
859
  "characters long from the content of each post listed as popular"
862
  "un extracto de \"n\" caracteres del contenido de cada entrada listada como "
863
  "popular"
864
 
865
+ #: ../admin/partials/admin.php:849
866
  msgid ""
867
  "If set, WordPress Popular Posts will maintaing all styling tags (strong, "
868
  "italic, etc) and hyperlinks found in the excerpt"
871
  "etiquetas de estilo (strong, italic, etc) y los hiperv&iacute;nculos "
872
  "encontrados en el extracto"
873
 
874
+ #: ../admin/partials/admin.php:856
875
  msgid ""
876
  "If set to 1, WordPress Popular Posts will shorten the excerpt to \"n\" words "
877
  "instead of characters"
879
  "Si se configura, WordPress Popular Posts acortar&aacute; el resumen en \"n\" "
880
  "palabras en vez de caracteres"
881
 
882
+ #: ../admin/partials/admin.php:863
883
  msgid ""
884
  "If set, and if your current server configuration allows it, you will be able "
885
  "to display thumbnails of your posts. This attribute sets the width for "
889
  "permite, podr&aacute;s mostrar miniaturas de tus entradas. Este atributo "
890
  "configura el ancho de tus miniaturas"
891
 
892
+ #: ../admin/partials/admin.php:870
893
  msgid ""
894
  "If set, and if your current server configuration allows it, you will be able "
895
  "to display thumbnails of your posts. This attribute sets the height for "
899
  "permite, podr&aacute;s mostrar miniaturas de tus entradas. Este atributo "
900
  "configura el alto de tus miniaturas"
901
 
902
+ #: ../admin/partials/admin.php:877
903
  msgid ""
904
  "If set, and if the WP-PostRatings plugin is installed and enabled on your "
905
  "blog, WordPress Popular Posts will show how your visitors are rating your "
909
  "habilitado en tu blog, WordPress Popular Posts mostrar&aacute; como tus "
910
  "visitantes han calificado a tus entradas"
911
 
912
+ #: ../admin/partials/admin.php:884
913
  msgid ""
914
  "If set, WordPress Popular Posts will show how many comments each popular "
915
  "post has got during the specified time range"
918
  "comentarios ha obtenido cada entrada popular dentro del rango de tiempo "
919
  "especificado"
920
 
921
+ #: ../admin/partials/admin.php:891
922
  msgid ""
923
  "If set, WordPress Popular Posts will show how many views each popular post "
924
  "has got during the specified time range"
927
  "vistas ha obtenido cada entrada popular dentro del rango de tiempo "
928
  "especificado"
929
 
930
+ #: ../admin/partials/admin.php:898
931
  msgid ""
932
  "If set, WordPress Popular Posts will show who published each popular post on "
933
  "the list"
935
  "Si se configura, WordPress Popular Posts mostrar&aacute; qui&eacute;n "
936
  "public&oacute; cada entrada popular de la lista"
937
 
938
+ #: ../admin/partials/admin.php:905
939
  msgid ""
940
  "If set, WordPress Popular Posts will display the date when each popular post "
941
  "on the list was published"
943
  "Si se tilda, WordPress Popular Posts mostrar&aacute; la fecha en la que fue "
944
  "publicada cada entrada popular"
945
 
946
+ #: ../admin/partials/admin.php:912
947
  msgid "Sets the date format"
948
  msgstr "Configura el formato de la fecha"
949
 
950
+ #: ../admin/partials/admin.php:919
951
  msgid ""
952
  "If set, WordPress Popular Posts will display the categories associated to "
953
  "each entry"
955
  "Si se tilda, WordPress Popular Posts mostrar&aacute; las categor&iacute;as "
956
  "asociadas a cada entrada"
957
 
958
+ #: ../admin/partials/admin.php:926
959
  msgid ""
960
  "If set, WordPress Popular Posts will display the taxonomies associated to "
961
  "each entry"
963
  "Si se tilda, WordPress Popular Posts mostrar&aacute; las taxonom&iacute;as "
964
  "asociadas a cada entrada"
965
 
966
+ #: ../admin/partials/admin.php:933
967
  msgid "Sets the opening tag for the listing"
968
  msgstr "Configura la etiqueta de apertura del listado"
969
 
970
+ #: ../admin/partials/admin.php:940
971
  msgid "Sets the closing tag for the listing"
972
  msgstr "Configura la etiqueta de cierre del listado"
973
 
974
+ #: ../admin/partials/admin.php:947
975
  msgid "Sets the HTML structure of each post"
976
  msgstr "Configura la estructura HTML de cada entrada"
977
 
978
+ #: ../admin/partials/admin.php:948
979
  msgid "Text string, custom HTML"
980
  msgstr "Texto, HTML personalizado"
981
 
982
+ #: ../admin/partials/admin.php:948
983
  msgid "Available Content Tags"
984
  msgstr "Content Tags disponibles"
985
 
986
+ #: ../admin/partials/admin.php:948
987
  msgid ""
988
  "returns thumbnail linked to post/page, requires thumbnail_width & "
989
  "thumbnail_height"
991
  "devuelve la miniatura con un link hacia la entrada/p&aacute;gina, requiere "
992
  "thumbnail_width & thumbnail_height"
993
 
994
+ #: ../admin/partials/admin.php:948
995
  msgid ""
996
  "returns thumbnail image without linking to post/page, requires "
997
  "thumbnail_width & thumbnail_height"
999
  "devuelve la miniatura sin link hacia la entrada/p&aacute;gina, requiere "
1000
  "thumbnail_width & thumbnail_height"
1001
 
1002
+ #: ../admin/partials/admin.php:948
1003
  msgid "returns thumbnail url, requires thumbnail_width & thumbnail_height"
1004
  msgstr ""
1005
  "devuelve la url de la miniatura, requires thumbnail_width & thumbnail_height"
1006
 
1007
+ #: ../admin/partials/admin.php:948
1008
  msgid "returns linked post/page title"
1009
  msgstr "devuelve el t&iacute;tulo de la entrada/p&aacute;gina con enlace"
1010
 
1011
+ #: ../admin/partials/admin.php:948
1012
  msgid "returns the post/page ID"
1013
  msgstr "devuelve la URL de la entrada/p&aacute;gina"
1014
 
1015
+ #: ../admin/partials/admin.php:948
1016
  msgid ""
1017
  "returns post/page excerpt, and requires excerpt_length to be greater than 0"
1018
  msgstr ""
1019
  "devuelve el resumen de la entrada/p&aacute;gina, requiere que excerpt_length "
1020
  "sea mayor a 0"
1021
 
1022
+ #: ../admin/partials/admin.php:948
1023
  msgid "returns the default stats tags"
1024
  msgstr "devuelve el stats tag por defecto"
1025
 
1026
+ #: ../admin/partials/admin.php:948
1027
  msgid ""
1028
  "returns post/page current rating, requires WP-PostRatings installed and "
1029
  "enabled"
1031
  "devuelve el rating actual de la entrada/p&aacute;gina, requiere que WP-"
1032
  "PostRatings est&eacute; instalado y activo"
1033
 
1034
+ #: ../admin/partials/admin.php:948
1035
  msgid ""
1036
  "returns post/page current rating as an integer, requires WP-PostRatings "
1037
  "installed and enabled"
1039
  "devuelve el rating actual de la entrada/p&aacute;gina como un entero, "
1040
  "requiere que WP-PostRatings est&eacute; instalado y activo"
1041
 
1042
+ #: ../admin/partials/admin.php:948
1043
  msgid "returns the URL of the post/page"
1044
  msgstr "devuelve la URL de la entrada/p&aacute;gina"
1045
 
1046
+ #: ../admin/partials/admin.php:948
1047
  msgid "returns post/page title, no link"
1048
  msgstr "devuelve el t&iacute;tulo de la entrada/p&aacute;gina, sin enlace"
1049
 
1050
+ #: ../admin/partials/admin.php:948
1051
  msgid "returns linked author name, requires stats_author=1"
1052
  msgstr "devuelve el nombre del autor con enlace, requiere stats_author=1"
1053
 
1054
+ #: ../admin/partials/admin.php:948
1055
  msgid "returns linked category name, requires stats_category=1"
1056
  msgstr ""
1057
  "devuelve el nombre de la categor&iacute;a con enlace, requiere "
1058
  "stats_category=1"
1059
 
1060
+ #: ../admin/partials/admin.php:948
1061
  msgid "returns linked taxonomy names, requires stats_taxonomy=1"
1062
  msgstr ""
1063
  "devuelve los nombres de las taxonom&iacute;as con enlace, requiere "
1064
  "stats_taxonomy=1"
1065
 
1066
+ #: ../admin/partials/admin.php:948
1067
  msgid "returns views count only, no text"
1068
  msgstr "devuelve el n&uacute;mero de vistas, sin texto adicional"
1069
 
1070
+ #: ../admin/partials/admin.php:948
1071
  msgid "returns comments count only, no text, requires stats_comments=1"
1072
  msgstr ""
1073
  "devuelve el n&uacute;mero de comentarios, sin texto adicional, requiere "
1074
  "stats_comments=1"
1075
 
1076
+ #: ../admin/partials/admin.php:948
1077
  msgid "returns post/page date, requires stats_date=1"
1078
  msgstr "devuelve la fecha de la entrada/p&aacute;gina, requiere stats_date=1"
1079
 
1080
+ #: ../includes/class-wordpress-popular-posts-output.php:128
1081
  msgid "Sorry. No data so far."
1082
  msgstr "Lo lamentamos. No hay nada que mostrar a&uacute;n."
1083
 
1084
+ #: ../includes/class-wordpress-popular-posts-output.php:519
1085
  #, php-format
1086
  msgid "%s ago"
1087
  msgstr "hace %s"
1088
 
1089
+ #: ../includes/class-wordpress-popular-posts-output.php:736
1090
  #, php-format
1091
  msgid "1 view per day"
1092
  msgid_plural "%s views per day"
1093
  msgstr[0] "1 vista por d&iacute;a"
1094
  msgstr[1] "%s vistas por d&iacute;a"
1095
 
1096
+ #: ../includes/class-wordpress-popular-posts-output.php:765
1097
  #, php-format
1098
  msgid "by %s"
1099
  msgstr "por %s"
1100
 
1101
+ #: ../includes/class-wordpress-popular-posts-output.php:771
1102
  #, php-format
1103
  msgid "posted %s"
1104
  msgstr "publicado %s"
1105
 
1106
+ #: ../includes/class-wordpress-popular-posts-output.php:771
1107
  #, php-format
1108
  msgid "posted on %s"
1109
  msgstr "publicado el %s"
1110
 
1111
+ #: ../includes/class-wordpress-popular-posts-output.php:780
1112
  #, php-format
1113
  msgid "under %s"
1114
  msgstr "bajo %s"
1115
 
1116
+ #: ../includes/class-wordpress-popular-posts-rest-controller.php:305
1117
+ msgid "Return popular posts from specified custom post type(s)."
1118
+ msgstr ""
1119
+ "Devuelve entradas populares de los custom post type(s) especificado(s)."
1120
+
1121
+ #: ../includes/class-wordpress-popular-posts-rest-controller.php:312
1122
+ msgid "The maximum number of popular posts to return."
1123
+ msgstr "El m&aacute;ximo n&uacute;mero de entradas populares a devolver."
1124
+
1125
+ #: ../includes/class-wordpress-popular-posts-rest-controller.php:320
1126
+ msgid ""
1127
+ "Retrieve the most popular entries published within the specified time range."
1128
+ msgstr ""
1129
+ "Devuelve las entradas m&aacute;s populares publicadas en el rango de tiempo "
1130
+ "especificado."
1131
+
1132
+ #: ../includes/class-wordpress-popular-posts-rest-controller.php:328
1133
+ msgid "An offset point for the collection."
1134
+ msgstr "Punto de offset para la colecci&oacute;n."
1135
+
1136
+ #: ../includes/class-wordpress-popular-posts-rest-controller.php:336
1137
+ msgid "Set the sorting option of the popular posts."
1138
+ msgstr "Configura el ordenado de las entradas populares."
1139
+
1140
+ #: ../includes/class-wordpress-popular-posts-rest-controller.php:344
1141
+ msgid "Return posts from a specified time range."
1142
+ msgstr "Devuelve entradas de un rango de tiempo especificado."
1143
+
1144
+ #: ../includes/class-wordpress-popular-posts-rest-controller.php:352
1145
+ msgid "Especifies the time unit of the custom time range."
1146
+ msgstr "Especifica la unidad de tiempo del rango de tiempo personalizado."
1147
+
1148
+ #: ../includes/class-wordpress-popular-posts-rest-controller.php:360
1149
+ msgid "Especifies the number of time units of the custom time range."
1150
+ msgstr ""
1151
+ "Especifica el n&uacute;mero de unidades de tiempo del rango de tiempo "
1152
+ "personalizado."
1153
+
1154
+ #: ../includes/class-wordpress-popular-posts-rest-controller.php:368
1155
+ msgid "Post IDs to exclude."
1156
+ msgstr "ID(s) de Entrada(s) a excluir."
1157
+
1158
+ #: ../includes/class-wordpress-popular-posts-rest-controller.php:376
1159
+ msgid "Include posts in a specified taxonomy."
1160
+ msgstr "Incluye entradas de una taxonom&iacute;a espec&iacute;fica."
1161
+
1162
+ #: ../includes/class-wordpress-popular-posts-rest-controller.php:384
1163
+ msgid "Taxonomy IDs, separated by comma (prefix a minus sign to exclude)."
1164
+ msgstr ""
1165
+ "IDs de taxonom&iacute;a separados por comma (agrega un s&iacute;mbolo "
1166
+ "negativo para excluir)."
1167
+
1168
+ #: ../includes/class-wordpress-popular-posts-rest-controller.php:392
1169
+ msgid "Author ID(s)."
1170
+ msgstr "ID(s) de Autor(es)."
1171
+
1172
+ #: ../includes/class-wordpress-popular-posts-rest-controller.php:412
1173
+ msgid "Security nonce."
1174
+ msgstr "Nonce de seguridad."
1175
+
1176
+ #: ../includes/class-wordpress-popular-posts-rest-controller.php:418
1177
+ #: ../includes/class-wordpress-popular-posts-rest-controller.php:451
1178
+ msgid "The post / page ID."
1179
+ msgstr "El ID de la entrada / p&aacute;gina."
1180
+
1181
+ #: ../includes/class-wordpress-popular-posts-rest-controller.php:425
1182
+ msgid "Enables Data Sampling."
1183
+ msgstr "Habilita el Sampleo de Datos."
1184
+
1185
+ #: ../includes/class-wordpress-popular-posts-rest-controller.php:432
1186
+ msgid "Sets the Sampling Rate."
1187
+ msgstr "Configura la rata de sampleo."
1188
+
1189
  #: ../includes/class-wordpress-popular-posts-widget.php:21
1190
  msgid "The most Popular Posts on your blog."
1191
  msgstr "Las entradas m&aacute;s populares en tu blog."
1192
 
1193
+ #: ../includes/class-wordpress-popular-posts-widget.php:92
1194
  #, php-format
1195
  msgid ""
1196
  "Error: cannot ajaxify WordPress Popular Posts on this theme. It's missing "
1201
  "el atributo <em>id</em> en before_widget (ver <a href=\"%s\" target=\"_blank"
1202
  "\" rel=\"nofollow\">register_sidebar</a> para m&aacute;s detalles)"
1203
 
 
 
 
 
1204
  #: ../includes/widget-form.php:3
1205
  msgid "Title"
1206
  msgstr "T&iacute;tulo"
1233
  msgid "Time Range"
1234
  msgstr "Rango de Tiempo"
1235
 
 
 
 
 
 
 
 
 
 
 
 
 
1236
  #: ../includes/widget-form.php:33
1237
  msgid "All-time"
1238
  msgstr "Todos los tiempos"
1239
 
 
 
 
 
1240
  #: ../includes/widget-form.php:50
1241
  msgid "Post type(s)"
1242
  msgstr "Post type(s)"
1371
  msgid "Post HTML Markup"
1372
  msgstr "Markup HTML de la entrada"
1373
 
1374
+ #~ msgid "Upload"
1375
+ #~ msgstr "Subir"
1376
+
1377
+ #~ msgid ""
1378
+ #~ "How-to: upload (or select) an image, set Size to Full and click on "
1379
+ #~ "Upload. After it's done, hit on Apply to save changes"
1380
+ #~ msgstr ""
1381
+ #~ "Tutorial: sube (o selecciona) una imagen, selecciona Tama&ntilde;o "
1382
+ #~ "Completo y haz clic en Subir. Cuando termine, dale a Aplicar para guardar "
1383
+ #~ "los cambios"
1384
+
1385
+ #~ msgid "Responsive support"
1386
+ #~ msgstr "Soporte Responsive"
1387
+
1388
+ #~ msgid ""
1389
+ #~ "If enabled, WordPress Popular Posts will strip height and width "
1390
+ #~ "attributes out of thumbnails' image tags"
1391
+ #~ msgstr ""
1392
+ #~ "Si se activa, WordPress Popular Posts quitar&aacute; los atributos height "
1393
+ #~ "y width de las etiquetas image de las miniaturas"
1394
+
1395
+ #~ msgid "Loading..."
1396
+ #~ msgstr "Cargando..."
1397
+
1398
  #~ msgid "About"
1399
  #~ msgstr "Acerca de"
1400
 
languages/wordpress-popular-posts-es_VE.mo CHANGED
Binary file
languages/wordpress-popular-posts-es_VE.po CHANGED
@@ -4,8 +4,8 @@ msgid ""
4
  msgstr ""
5
  "Project-Id-Version: WordPress Popular Posts\n"
6
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/wordpress-popular-posts\n"
7
- "POT-Creation-Date: 2017-10-23 17:47-0400\n"
8
- "PO-Revision-Date: 2017-10-23 17:49-0400\n"
9
  "Last-Translator: \n"
10
  "Language-Team: Héctor Cabrera <me@cabrerahector.com>\n"
11
  "Language: es_VE\n"
@@ -13,7 +13,7 @@ msgstr ""
13
  "Content-Type: text/plain; charset=UTF-8\n"
14
  "Content-Transfer-Encoding: 8bit\n"
15
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
16
- "X-Generator: Poedit 2.0.4\n"
17
  "X-Poedit-KeywordsList: _e;__;__ngettext;__ngettext_noop;_n_noop;_x;_nx;"
18
  "_nx_noop;_ex;esc_attr__;esc_attr_e;esc_attr_x;esc_html__;esc_html_e;"
19
  "esc_html_x;_c;_nc;_n:1,2\n"
@@ -22,15 +22,22 @@ msgstr ""
22
  "X-Poedit-SearchPath-0: .\n"
23
  "X-Poedit-SearchPath-1: ..\n"
24
 
25
- #: ../admin/class-wordpress-popular-posts-admin.php:221
26
- msgid "Upload"
27
- msgstr "Subir"
 
 
 
 
 
 
 
28
 
29
- #: ../admin/class-wordpress-popular-posts-admin.php:238
30
  msgid "Overview"
31
  msgstr "General"
32
 
33
- #: ../admin/class-wordpress-popular-posts-admin.php:239
34
  msgid ""
35
  "Welcome to WordPress Popular Posts' Dashboard! In this screen you will find "
36
  "statistics on what's popular on your site, tools to further tweak WPP to "
@@ -40,11 +47,11 @@ msgstr ""
40
  "encontrar&aacute;s estad&iacute;sticas de lo m&aacute;s popular en tu sitio, "
41
  "herramientas para configurar WPP a tu gusto, &iexcl;y mucho m&aacute;s!"
42
 
43
- #: ../admin/class-wordpress-popular-posts-admin.php:245
44
  msgid "Like this plugin?"
45
  msgstr "&iquest;Te gusta este plugin?"
46
 
47
- #: ../admin/class-wordpress-popular-posts-admin.php:247
48
  msgid ""
49
  "Each donation motivates me to keep releasing free stuff for the WordPress "
50
  "community!"
@@ -52,14 +59,14 @@ msgstr ""
52
  "&iexcl;Cada donaci&oacute;n me motiva a seguir publicando cosas gratuitas "
53
  "para la comunidad de WordPress!"
54
 
55
- #: ../admin/class-wordpress-popular-posts-admin.php:254
56
  #, php-format
57
  msgid "You can <a href=\"%s\" target=\"_blank\">leave a review</a>, too!"
58
  msgstr ""
59
  "&iexcl;Puedes <a href=\"%s\" target=\"_blank\">dejar una rese&ntilde;a</a> "
60
  "tambi&eacute;n!"
61
 
62
- #: ../admin/class-wordpress-popular-posts-admin.php:263
63
  #, php-format
64
  msgid ""
65
  "<p><strong>For more information:</strong></p><ul><li><a href=\"%1$s"
@@ -69,49 +76,49 @@ msgstr ""
69
  "\"%1$s\">Documentaci&oacute;n</a></li><li><a href=\"%2$s\">Soporte</a></li></"
70
  "ul>"
71
 
72
- #: ../admin/class-wordpress-popular-posts-admin.php:633
73
- #: ../admin/class-wordpress-popular-posts-admin.php:752
74
  #: ../admin/partials/admin.php:411 ../admin/partials/admin.php:458
75
- #: ../includes/class-wordpress-popular-posts-output.php:720
76
  #, php-format
77
  msgid "1 view"
78
  msgid_plural "%s views"
79
  msgstr[0] "1 vista"
80
  msgstr[1] "%s vistas"
81
 
82
- #: ../admin/class-wordpress-popular-posts-admin.php:633
83
- #: ../admin/class-wordpress-popular-posts-admin.php:807
84
  #: ../admin/partials/admin.php:411 ../admin/partials/admin.php:458
85
- #: ../includes/class-wordpress-popular-posts-output.php:701
86
  #, php-format
87
  msgid "1 comment"
88
  msgid_plural "%s comments"
89
  msgstr[0] "1 comentario"
90
  msgstr[1] "%s comentarios"
91
 
92
- #: ../admin/class-wordpress-popular-posts-admin.php:665
93
  #: ../includes/widget-form.php:17
94
  msgid "Comments"
95
  msgstr "Comentarios"
96
 
97
- #: ../admin/class-wordpress-popular-posts-admin.php:669
98
  msgid "Views"
99
  msgstr "Vistas"
100
 
101
- #: ../admin/class-wordpress-popular-posts-admin.php:753
102
- #: ../admin/class-wordpress-popular-posts-admin.php:808
103
  #: ../admin/partials/admin.php:412 ../admin/partials/admin.php:459
104
  msgid "View"
105
  msgstr "Vista"
106
 
107
- #: ../admin/class-wordpress-popular-posts-admin.php:753
108
- #: ../admin/class-wordpress-popular-posts-admin.php:808
109
  #: ../admin/partials/admin.php:412 ../admin/partials/admin.php:459
110
  msgid "Edit"
111
  msgstr "Editar"
112
 
113
- #: ../admin/class-wordpress-popular-posts-admin.php:764
114
- #: ../admin/class-wordpress-popular-posts-admin.php:819
115
  #: ../admin/partials/admin.php:423 ../admin/partials/admin.php:470
116
  msgid ""
117
  "Looks like traffic to your site is a little light right now. <br />Spread "
@@ -120,11 +127,11 @@ msgstr ""
120
  "Parece que el tr&aacute;fico hacia tu sitio web est&aacute; un poco ligero. "
121
  "<br />&iexcl;Haz un poco de promoci&oacute;n y regresa luego!"
122
 
123
- #: ../admin/class-wordpress-popular-posts-admin.php:887
124
  msgid "Settings"
125
  msgstr "Configuraci&oacute;n"
126
 
127
- #: ../admin/class-wordpress-popular-posts-admin.php:1261
128
  #, php-format
129
  msgid ""
130
  "Your PHP installation is too old. WordPress Popular Posts requires at least "
@@ -136,7 +143,7 @@ msgstr ""
136
  "contacta a tu proveedor de hosting y solicita que se actualice PHP a %1$s o "
137
  "mejor."
138
 
139
- #: ../admin/class-wordpress-popular-posts-admin.php:1268
140
  #, php-format
141
  msgid ""
142
  "Your WordPress version is too old. WordPress Popular Posts requires at least "
@@ -147,7 +154,7 @@ msgstr ""
147
  "Posts requiere al menos la versi&oacute;n %1$s para funcionar correctamente. "
148
  "Por favor actualiza tu blog via Escritorio &gt; Actualizaciones."
149
 
150
- #: ../admin/class-wordpress-popular-posts-admin.php:1293
151
  #, php-format
152
  msgid ""
153
  "<div class=\"notice notice-error\"><p>%1$s</p><p><i>%2$s</i> has been "
@@ -156,20 +163,20 @@ msgstr ""
156
  "<div class=\"notice notice-error\"><p>%1$s</p><p><i>%2$s</i> ha sido "
157
  "<strong>desactivado</strong>.</p></div>"
158
 
159
- #: ../admin/partials/admin.php:6 ../admin/partials/admin.php:255
160
  msgid "Stats"
161
  msgstr "Estad&iacute;sticas"
162
 
163
- #: ../admin/partials/admin.php:7 ../admin/partials/admin.php:256
164
  msgid "Tools"
165
  msgstr "Herramientas"
166
 
167
- #: ../admin/partials/admin.php:8 ../admin/partials/admin.php:257
168
  msgid "Parameters"
169
  msgstr "Par&aacute;metros"
170
 
171
  #: ../admin/partials/admin.php:33 ../admin/partials/admin.php:48
172
- #: ../admin/partials/admin.php:72 ../admin/partials/admin.php:113
173
  msgid "Settings saved."
174
  msgstr "Configuraci&oacute;n guardada."
175
 
@@ -177,7 +184,7 @@ msgstr "Configuraci&oacute;n guardada."
177
  msgid "Please provide the name of your custom field."
178
  msgstr "Por favor indica el nombre de tu custom field."
179
 
180
- #: ../admin/partials/admin.php:121
181
  msgid ""
182
  "Any changes made to WPP's default stylesheet will be lost after every plugin "
183
  "update. In order to prevent this from happening, please copy the wpp.css "
@@ -189,7 +196,7 @@ msgstr ""
189
  "favor copia el archivo wpp.css (ubicado en wp-content/plugins/wordpress-"
190
  "popular-posts/style) a la carpeta de tu tema actual"
191
 
192
- #: ../admin/partials/admin.php:136
193
  msgid ""
194
  "This operation will delete all entries from WordPress Popular Posts' cache "
195
  "table and cannot be undone."
@@ -197,27 +204,27 @@ msgstr ""
197
  "Esta operaci\\363n borrar\\341 todas las entradas en el cach\\351 de "
198
  "WordPress Popular Posts y no se puede deshacer."
199
 
200
- #: ../admin/partials/admin.php:136 ../admin/partials/admin.php:175
201
- #: ../admin/partials/admin.php:214
202
  msgid "Do you want to continue?"
203
  msgstr "\\277Deseas continuar?"
204
 
205
- #: ../admin/partials/admin.php:148
206
  msgid "Success! The cache table has been cleared!"
207
  msgstr "\\241\\311xito! \\241La tabla cach\\351 ha sido borrada!"
208
 
209
- #: ../admin/partials/admin.php:152
210
  msgid "Error: cache table does not exist."
211
  msgstr "Error: la tabla cach\\351 no existe."
212
 
213
- #: ../admin/partials/admin.php:156 ../admin/partials/admin.php:164
214
- #: ../admin/partials/admin.php:195 ../admin/partials/admin.php:203
215
- #: ../admin/partials/admin.php:233 ../admin/partials/admin.php:241
216
  msgid "Invalid action."
217
  msgstr "Acci\\363n inv\\311lida."
218
 
219
- #: ../admin/partials/admin.php:160 ../admin/partials/admin.php:199
220
- #: ../admin/partials/admin.php:237
221
  msgid ""
222
  "Sorry, you do not have enough permissions to do this. Please contact the "
223
  "site administrator for support."
@@ -225,7 +232,7 @@ msgstr ""
225
  "Lo lamento, no tienes permisos suficientes para hacer esto. Por favor "
226
  "contacta al administrador del sitio."
227
 
228
- #: ../admin/partials/admin.php:175
229
  msgid ""
230
  "This operation will delete all stored info from WordPress Popular Posts' "
231
  "data tables and cannot be undone."
@@ -233,82 +240,102 @@ msgstr ""
233
  "Esta operaci\\363n borrar\\341 toda la informaci\\363n guardada en las "
234
  "tablas de WordPress Popular Posts y no se puede deshacer."
235
 
236
- #: ../admin/partials/admin.php:187
237
  msgid "Success! All data have been cleared!"
238
  msgstr "\\241\\311xito! \\241Toda la data ha sido borrada!"
239
 
240
- #: ../admin/partials/admin.php:191
241
  msgid "Error: one or both data tables are missing."
242
  msgstr "Error: una o ambas tablas de datos no existen."
243
 
244
- #: ../admin/partials/admin.php:214
245
  msgid "This operation will delete all cached thumbnails and cannot be undone."
246
  msgstr ""
247
  "Esta operaci\\363n borrar\\341 todas las miniaturas en el cach\\351 y no se "
248
  "puede deshacer."
249
 
250
- #: ../admin/partials/admin.php:225
251
  msgid "Success! All files have been deleted!"
252
  msgstr "\\241\\311xito! \\241Todos los archivos han sido borrados!"
253
 
254
- #: ../admin/partials/admin.php:229
255
  msgid "The thumbnail cache is already empty!"
256
  msgstr "\\241El cach\\351 de miniaturas ya est\\341 vac\\355o!"
257
 
258
- #: ../admin/partials/admin.php:254
259
  msgid "Menu"
260
  msgstr "Men&uacute;"
261
 
262
- #: ../admin/partials/admin.php:282
263
  msgid "Post type"
264
  msgstr "Post type"
265
 
266
- #: ../admin/partials/admin.php:285
267
  msgid "Limit"
268
  msgstr "L&iacute;mite"
269
 
270
- #: ../admin/partials/admin.php:288 ../includes/widget-form.php:48
271
  msgid "Display only posts published within the selected Time Range"
272
  msgstr ""
273
  "Mostrar s&oacute;lo entradas publicadas en el Rango de Tiempo seleccionado"
274
 
275
- #: ../admin/partials/admin.php:294 ../admin/partials/admin.php:332
276
- #: ../admin/partials/admin.php:551 ../admin/partials/admin.php:655
277
- #: ../admin/partials/admin.php:694
278
  msgid "Apply"
279
  msgstr "Aplicar"
280
 
281
- #: ../admin/partials/admin.php:295 ../admin/partials/admin.php:335
282
  msgid "Cancel"
283
  msgstr "Cancelar"
284
 
285
- #: ../admin/partials/admin.php:308
286
  msgid "Custom Time Range"
287
  msgstr "Rango de Tiempo Personalizado"
288
 
289
- #: ../admin/partials/admin.php:309
290
  msgid "Date Range"
291
  msgstr "Rango de Fechas"
292
 
293
- #: ../admin/partials/admin.php:317 ../admin/partials/admin.php:621
294
  #: ../includes/widget-form.php:41
295
  msgid "Minute(s)"
296
  msgstr "Minuto(s)"
297
 
298
- #: ../admin/partials/admin.php:318 ../admin/partials/admin.php:622
299
  #: ../includes/widget-form.php:42
300
  msgid "Hour(s)"
301
  msgstr "Hora(s)"
302
 
303
- #: ../admin/partials/admin.php:319 ../admin/partials/admin.php:623
304
  #: ../includes/widget-form.php:43
305
  msgid "Day(s)"
306
  msgstr "D&iacute;a(s)"
307
 
308
- #: ../admin/partials/admin.php:325
309
  msgid "Select a date..."
310
  msgstr "Selecciona una fecha..."
311
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
312
  #: ../admin/partials/admin.php:354
313
  #, php-format
314
  msgid ""
@@ -321,6 +348,22 @@ msgstr ""
321
  "anticuado.<br /> Por favor <a href=\"%s\" target=\"_blank\">instala un mejor "
322
  "navegador</a>."
323
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
324
  #: ../admin/partials/admin.php:480
325
  msgid "Thumbnails"
326
  msgstr "Miniaturas"
@@ -330,16 +373,12 @@ msgid "Default thumbnail"
330
  msgstr "Miniatura por defecto"
331
 
332
  #: ../admin/partials/admin.php:490
333
- msgid "Upload thumbnail"
334
- msgstr "Subir miniatura"
335
 
336
  #: ../admin/partials/admin.php:492
337
- msgid ""
338
- "How-to: upload (or select) an image, set Size to Full and click on Upload. "
339
- "After it's done, hit on Apply to save changes"
340
- msgstr ""
341
- "Tutorial: sube (o selecciona) una imagen, selecciona Tama&ntilde;o Completo "
342
- "y haz clic en Subir. Cuando termine, dale a Aplicar para guardar los cambios"
343
 
344
  #: ../admin/partials/admin.php:496
345
  msgid "Pick image from"
@@ -382,82 +421,69 @@ msgstr "No, subir&eacute; mi propia miniatura"
382
  msgid "Yes"
383
  msgstr "S&iacute;"
384
 
385
- #: ../admin/partials/admin.php:524
386
- msgid "Responsive support"
387
- msgstr "Soporte Responsive"
388
-
389
- #: ../admin/partials/admin.php:527 ../admin/partials/admin.php:597
390
- #: ../admin/partials/admin.php:637 ../admin/partials/admin.php:684
391
- msgid "Enabled"
392
- msgstr "Habilitado"
393
-
394
- #: ../admin/partials/admin.php:528 ../admin/partials/admin.php:581
395
- #: ../admin/partials/admin.php:596 ../admin/partials/admin.php:636
396
- #: ../admin/partials/admin.php:685
397
- msgid "Disabled"
398
- msgstr "Deshabilitado"
399
-
400
- #: ../admin/partials/admin.php:531
401
- msgid ""
402
- "If enabled, WordPress Popular Posts will strip height and width attributes "
403
- "out of thumbnails' image tags"
404
- msgstr ""
405
- "Si se activa, WordPress Popular Posts quitar&aacute; los atributos height y "
406
- "width de las etiquetas image de las miniaturas"
407
-
408
- #: ../admin/partials/admin.php:541
409
  msgid "Empty image cache"
410
  msgstr "Vaciar el cach&eacute; de im&aacute;genes"
411
 
412
- #: ../admin/partials/admin.php:542
413
  msgid "Use this button to clear WPP's thumbnails cache"
414
  msgstr ""
415
  "Utiliza este bot&oacute;n para vaciar el cach&eacute; de miniaturas de WPP"
416
 
417
- #: ../admin/partials/admin.php:562
418
  msgid "Data"
419
  msgstr "Datos"
420
 
421
- #: ../admin/partials/admin.php:567
422
  msgid "Log views from"
423
  msgstr "Registrar vistas de"
424
 
425
- #: ../admin/partials/admin.php:570
426
  msgid "Visitors only"
427
  msgstr "S&oacute;lo visitantes"
428
 
429
- #: ../admin/partials/admin.php:571
430
  msgid "Logged-in users only"
431
  msgstr "S&oacute;lo usuarios conectados"
432
 
433
- #: ../admin/partials/admin.php:572
434
  msgid "Everyone"
435
  msgstr "Todos"
436
 
437
- #: ../admin/partials/admin.php:578
438
  msgid "Log limit"
439
  msgstr "L&iacute;mite del registro"
440
 
441
- #: ../admin/partials/admin.php:582
 
 
 
 
 
442
  msgid "Keep data for"
443
  msgstr "Guardar datos por"
444
 
445
- #: ../admin/partials/admin.php:585
446
  msgid "day(s)"
447
  msgstr "d&iacute;a(s)"
448
 
449
- #: ../admin/partials/admin.php:587
450
  msgid ""
451
  "Data older than the specified time frame will be automatically discarded"
452
  msgstr ""
453
  "La data que sea m&aacute;s antigua que el tiempo especificado ser&aacute;n "
454
  "autom&aacute;ticamente descartada"
455
 
456
- #: ../admin/partials/admin.php:593
457
  msgid "Ajaxify widget"
458
  msgstr "Usar Ajax con el widget"
459
 
460
- #: ../admin/partials/admin.php:601
 
 
 
 
 
461
  msgid ""
462
  "If you are using a caching plugin such as WP Super Cache, enabling this "
463
  "feature will keep the popular list from being cached by it"
@@ -466,26 +492,26 @@ msgstr ""
466
  "habilitar esta caracter&iacute;stica evitar&aacute; que la lista de entradas "
467
  "populares sea guardada en cach&eacute;"
468
 
469
- #: ../admin/partials/admin.php:605
470
  msgid "WPP Cache Expiry Policy"
471
  msgstr "WPP Pol&iacute;tica de Expiraci&oacute;n del Cache"
472
 
473
- #: ../admin/partials/admin.php:605 ../admin/partials/admin.php:633
474
  #: ../includes/widget-form.php:3 ../includes/widget-form.php:50
475
  #: ../includes/widget-form.php:56 ../includes/widget-form.php:75
476
  #: ../includes/widget-form.php:85 ../includes/widget-form.php:177
477
  msgid "What is this?"
478
  msgstr "&iquest;Qu&eacute; es &eacute;sto?"
479
 
480
- #: ../admin/partials/admin.php:608
481
  msgid "Never cache"
482
  msgstr "Nunca almacenar en cach&eacute;"
483
 
484
- #: ../admin/partials/admin.php:609
485
  msgid "Enable caching"
486
  msgstr "Habilitar cach&eacute;"
487
 
488
- #: ../admin/partials/admin.php:613
489
  msgid ""
490
  "Sets WPP's cache expiration time. WPP can cache the popular list for a "
491
  "specified amount of time. Recommended for large / high traffic sites"
@@ -495,31 +521,31 @@ msgstr ""
495
  "de tiempo especificada. Recomendado para sitios web grandes / de alto "
496
  "tr&aacute;fico"
497
 
498
- #: ../admin/partials/admin.php:617
499
  msgid "Refresh cache every"
500
  msgstr "Refrescar el cach&eacute; cada"
501
 
502
- #: ../admin/partials/admin.php:624
503
  msgid "Week(s)"
504
  msgstr "Semana(s)"
505
 
506
- #: ../admin/partials/admin.php:625
507
  msgid "Month(s)"
508
  msgstr "Mes(es)"
509
 
510
- #: ../admin/partials/admin.php:626
511
  msgid "Year(s)"
512
  msgstr "A&ntilde;o(s)"
513
 
514
- #: ../admin/partials/admin.php:629
515
  msgid "Really? That long?"
516
  msgstr "&iquest;En serio? &iquest;Tanto tiempo?"
517
 
518
- #: ../admin/partials/admin.php:633
519
  msgid "Data Sampling"
520
  msgstr "Sampleo de Datos"
521
 
522
- #: ../admin/partials/admin.php:641
523
  #, php-format
524
  msgid ""
525
  "By default, WordPress Popular Posts stores in database every single visit "
@@ -540,11 +566,11 @@ msgstr ""
540
  "detectadas en ese conjunto de muestras (para m&aacute;s, <a href=\"%2$s\" "
541
  "target=\"_blank\">por favor leer ac&aacute;</a>)"
542
 
543
- #: ../admin/partials/admin.php:645
544
  msgid "Sample Rate"
545
  msgstr "Rata de Sampleo"
546
 
547
- #: ../admin/partials/admin.php:649
548
  #, php-format
549
  msgid ""
550
  "A sampling rate of %d is recommended for large / high traffic sites. For "
@@ -554,27 +580,27 @@ msgstr ""
554
  "tr&aacute;fico. Para sitios con menos tr&aacute;fico, deber&iacute;as "
555
  "disminuir el valor"
556
 
557
- #: ../admin/partials/admin.php:666
558
  msgid "Miscellaneous"
559
  msgstr "Miscel&aacute;neos"
560
 
561
- #: ../admin/partials/admin.php:671
562
  msgid "Open links in"
563
  msgstr "Abrir enlaces en"
564
 
565
- #: ../admin/partials/admin.php:674
566
  msgid "Current window"
567
  msgstr "Ventana actual"
568
 
569
- #: ../admin/partials/admin.php:675
570
  msgid "New tab/window"
571
  msgstr "Nueva pesta&ntilde;a/ventana"
572
 
573
- #: ../admin/partials/admin.php:681
574
  msgid "Use plugin's stylesheet"
575
  msgstr "Utilizar la hoja de estilos del plugin"
576
 
577
- #: ../admin/partials/admin.php:688
578
  msgid ""
579
  "By default, the plugin includes a stylesheet called wpp.css which you can "
580
  "use to style your popular posts listing. If you wish to use your own "
@@ -586,7 +612,7 @@ msgstr ""
586
  "deseas utilizar tu propia hoja de estilos, o no quieres que wpp.css se "
587
  "incluya en el header de tu sitio web, utiliza esto."
588
 
589
- #: ../admin/partials/admin.php:707
590
  msgid ""
591
  "WordPress Popular Posts maintains data in two separate tables: one for "
592
  "storing the most popular entries on a daily basis (from now on, \"cache\"), "
@@ -602,26 +628,26 @@ msgstr ""
602
  "tablas hist&oacute;ricas y de cach&eacute;, por favor utiliza los botones de "
603
  "abajo."
604
 
605
- #: ../admin/partials/admin.php:708
606
  msgid "Empty cache"
607
  msgstr "Vaciar el cach&eacute;"
608
 
609
- #: ../admin/partials/admin.php:708
610
  msgid "Use this button to manually clear entries from WPP cache only"
611
  msgstr ""
612
  "Utiliza este bot&oacute;n para vaciar manualmente s&oacute;lo las entradas "
613
  "del cach&eacute; de WPP"
614
 
615
- #: ../admin/partials/admin.php:709
616
  msgid "Clear all data"
617
  msgstr "Eliminar toda la data"
618
 
619
- #: ../admin/partials/admin.php:709
620
  msgid "Use this button to manually clear entries from all WPP data tables"
621
  msgstr ""
622
  "Utiliza este bot&oacute;n para limpiar manualmente las tablas de datos de WPP"
623
 
624
- #: ../admin/partials/admin.php:716
625
  #, php-format
626
  msgid ""
627
  "With the following parameters you can customize the popular posts list when "
@@ -632,105 +658,105 @@ msgstr ""
632
  "entradas populares cuando utilices el <a href=\"%1$s\">template tag "
633
  "wpp_get_mostpopular()</a> o el <a href=\"%2$s\">shortcode [wpp]</a>."
634
 
635
- #: ../admin/partials/admin.php:724
636
  msgid "Parameter"
637
  msgstr "Par&aacute;metro"
638
 
639
- #: ../admin/partials/admin.php:725
640
  msgid "What it does "
641
  msgstr "Qu&eacute; hace"
642
 
643
- #: ../admin/partials/admin.php:726
644
  msgid "Possible values"
645
  msgstr "Valores posibles"
646
 
647
- #: ../admin/partials/admin.php:727
648
  msgid "Defaults to"
649
  msgstr "Por defecto"
650
 
651
- #: ../admin/partials/admin.php:728
652
  msgid "Example"
653
  msgstr "Ejemplo"
654
 
655
- #: ../admin/partials/admin.php:734
656
  msgid "Sets a heading for the list"
657
  msgstr "Configura el encabezado de la lista"
658
 
659
- #: ../admin/partials/admin.php:735 ../admin/partials/admin.php:742
660
- #: ../admin/partials/admin.php:749 ../admin/partials/admin.php:798
661
- #: ../admin/partials/admin.php:805 ../admin/partials/admin.php:812
662
- #: ../admin/partials/admin.php:819 ../admin/partials/admin.php:826
663
- #: ../admin/partials/admin.php:833 ../admin/partials/admin.php:924
664
- #: ../admin/partials/admin.php:945 ../admin/partials/admin.php:952
665
  msgid "Text string"
666
  msgstr "Texto"
667
 
668
- #: ../admin/partials/admin.php:736 ../admin/partials/admin.php:806
669
- #: ../admin/partials/admin.php:813 ../admin/partials/admin.php:820
670
- #: ../admin/partials/admin.php:827 ../admin/partials/admin.php:834
671
  msgid "None"
672
  msgstr "Ninguno"
673
 
674
- #: ../admin/partials/admin.php:737 ../admin/partials/admin.php:744
675
- #: ../admin/partials/admin.php:751 ../admin/partials/admin.php:758
676
- #: ../admin/partials/admin.php:765 ../admin/partials/admin.php:772
677
- #: ../admin/partials/admin.php:779 ../admin/partials/admin.php:786
678
- #: ../admin/partials/admin.php:793 ../admin/partials/admin.php:800
679
- #: ../admin/partials/admin.php:807 ../admin/partials/admin.php:814
680
- #: ../admin/partials/admin.php:821 ../admin/partials/admin.php:828
681
- #: ../admin/partials/admin.php:835 ../admin/partials/admin.php:842
682
- #: ../admin/partials/admin.php:849 ../admin/partials/admin.php:856
683
- #: ../admin/partials/admin.php:863 ../admin/partials/admin.php:870
684
- #: ../admin/partials/admin.php:877 ../admin/partials/admin.php:884
685
- #: ../admin/partials/admin.php:891 ../admin/partials/admin.php:898
686
- #: ../admin/partials/admin.php:905 ../admin/partials/admin.php:912
687
- #: ../admin/partials/admin.php:919 ../admin/partials/admin.php:926
688
- #: ../admin/partials/admin.php:933 ../admin/partials/admin.php:940
689
- #: ../admin/partials/admin.php:947 ../admin/partials/admin.php:954
690
- #: ../admin/partials/admin.php:961
691
  msgid "With wpp_get_mostpopular():"
692
  msgstr "Con wpp_get_mostpopular():"
693
 
694
- #: ../admin/partials/admin.php:737 ../admin/partials/admin.php:744
695
- #: ../admin/partials/admin.php:751 ../admin/partials/admin.php:758
696
- #: ../admin/partials/admin.php:765 ../admin/partials/admin.php:772
697
- #: ../admin/partials/admin.php:779 ../admin/partials/admin.php:786
698
- #: ../admin/partials/admin.php:793 ../admin/partials/admin.php:800
699
- #: ../admin/partials/admin.php:807 ../admin/partials/admin.php:814
700
- #: ../admin/partials/admin.php:821 ../admin/partials/admin.php:828
701
- #: ../admin/partials/admin.php:835 ../admin/partials/admin.php:842
702
- #: ../admin/partials/admin.php:849 ../admin/partials/admin.php:856
703
- #: ../admin/partials/admin.php:863 ../admin/partials/admin.php:870
704
- #: ../admin/partials/admin.php:877 ../admin/partials/admin.php:884
705
- #: ../admin/partials/admin.php:891 ../admin/partials/admin.php:898
706
- #: ../admin/partials/admin.php:905 ../admin/partials/admin.php:912
707
- #: ../admin/partials/admin.php:919 ../admin/partials/admin.php:926
708
- #: ../admin/partials/admin.php:933 ../admin/partials/admin.php:940
709
- #: ../admin/partials/admin.php:947 ../admin/partials/admin.php:954
710
- #: ../admin/partials/admin.php:961
711
  msgid "With the [wpp] shortcode:"
712
  msgstr "Con el shortcode [wpp]:"
713
 
714
- #: ../admin/partials/admin.php:741
715
  msgid "Set the opening tag for the heading of the list"
716
  msgstr "Configura la etiqueta de apertura para el encabezado de la lista"
717
 
718
- #: ../admin/partials/admin.php:748
719
  msgid "Set the closing tag for the heading of the list"
720
  msgstr "Configura la etiqueta de cierre para el encabezado de la lista"
721
 
722
- #: ../admin/partials/admin.php:755
723
  msgid "Sets the maximum number of popular posts to be shown on the listing"
724
  msgstr ""
725
  "Configura el m&aacute;ximo de entradas populares a ser mostradas en la lista"
726
 
727
- #: ../admin/partials/admin.php:756 ../admin/partials/admin.php:770
728
- #: ../admin/partials/admin.php:840 ../admin/partials/admin.php:854
729
- #: ../admin/partials/admin.php:875 ../admin/partials/admin.php:882
730
  msgid "Positive integer"
731
  msgstr "Entero positivo"
732
 
733
- #: ../admin/partials/admin.php:762
734
  msgid ""
735
  "Tells WordPress Popular Posts to retrieve the most popular entries within "
736
  "the time range specified by you"
@@ -738,17 +764,17 @@ msgstr ""
738
  "Le indica a WordPress Popular Posts que debe listar aquellas entradas que "
739
  "hayan sido populares dentro del rango de tiempo especificado por ti"
740
 
741
- #: ../admin/partials/admin.php:769
742
  msgid "Especifies the number of time units of the custom time range"
743
  msgstr ""
744
  "Especifica el n&uacute;mero de unidades de tiempo del rango de tiempo "
745
  "personalizado"
746
 
747
- #: ../admin/partials/admin.php:776
748
  msgid "Especifies the time unit of the custom time range"
749
  msgstr "Especifica la unidad de tiempo del rango de tiempo personalizado"
750
 
751
- #: ../admin/partials/admin.php:783
752
  msgid ""
753
  "Tells WordPress Popular Posts to retrieve the most popular entries published "
754
  "within the time range specified by you"
@@ -756,19 +782,19 @@ msgstr ""
756
  "Le indica a WordPress Popular Posts que debe listar aquellas entradas "
757
  "populares publicadas dentro del rango de tiempo especificado por ti"
758
 
759
- #: ../admin/partials/admin.php:790
760
  msgid "Sets the sorting option of the popular posts"
761
  msgstr "Configura el ordenado de las entradas populares"
762
 
763
- #: ../admin/partials/admin.php:791
764
  msgid "(for average views per day)"
765
  msgstr "(para el porcentaje de vistas por d&iacute;a)"
766
 
767
- #: ../admin/partials/admin.php:797
768
  msgid "Defines the type of posts to show on the listing"
769
  msgstr "Define el tipo de entrada a mostrar en el listado"
770
 
771
- #: ../admin/partials/admin.php:804
772
  msgid ""
773
  "If set, WordPress Popular Posts will exclude the specified post(s) ID(s) "
774
  "form the listing."
@@ -776,7 +802,7 @@ msgstr ""
776
  "Si se configura, WordPress Popular Posts excluir&aacute; todos los IDs de "
777
  "las entradas especificadas."
778
 
779
- #: ../admin/partials/admin.php:811
780
  msgid ""
781
  "If set, WordPress Popular Posts will retrieve all entries that belong to the "
782
  "specified category ID(s). If a minus sign is used, entries associated to the "
@@ -787,13 +813,13 @@ msgstr ""
787
  "signo negativo, las entradas asociadas a dicha categor&iacute;a ser&aacute;n "
788
  "exclu&iacute;das."
789
 
790
- #: ../admin/partials/admin.php:818
791
  msgid "If set, WordPress Popular Posts will filter posts by a given taxonomy."
792
  msgstr ""
793
  "Si se tilda, WordPress Popular Posts filtrar&aacute; entradas por la "
794
  "taxonom&iacute;a indicada."
795
 
796
- #: ../admin/partials/admin.php:825
797
  msgid ""
798
  "If set, WordPress Popular Posts will retrieve all entries that belong to the "
799
  "specified term ID(s). If a minus sign is used, entries associated to the "
@@ -803,7 +829,7 @@ msgstr ""
803
  "que pertenecen al Term ID especificado(s). Si se usa un signo negativo, las "
804
  "entradas asociadas a dicho term ser&aacute;n exclu&iacute;das."
805
 
806
- #: ../admin/partials/admin.php:832
807
  msgid ""
808
  "If set, WordPress Popular Posts will retrieve all entries created by "
809
  "specified author(s) ID(s)."
@@ -811,7 +837,7 @@ msgstr ""
811
  "Si se configura, WordPress Popular Posts traer&aacute; todas las entradas "
812
  "creadas por el (los) ID(s) de autor(es) especificado(s)."
813
 
814
- #: ../admin/partials/admin.php:839
815
  msgid ""
816
  "If set, WordPress Popular Posts will shorten each post title to \"n\" "
817
  "characters whenever possible"
@@ -819,7 +845,7 @@ msgstr ""
819
  "Si se configura, WordPress Popular Posts acortar&aacute; cada titulo en \"n"
820
  "\" caracteres cuando sea posible"
821
 
822
- #: ../admin/partials/admin.php:846
823
  msgid ""
824
  "If set to 1, WordPress Popular Posts will shorten each post title to \"n\" "
825
  "words instead of characters"
@@ -827,7 +853,7 @@ msgstr ""
827
  "Si se pasa el valor 1, WordPress Popular Posts acortar&aacute; cada titulo "
828
  "en \"n\" palabras en vez de caracteres"
829
 
830
- #: ../admin/partials/admin.php:853
831
  msgid ""
832
  "If set, WordPress Popular Posts will build and include an excerpt of \"n\" "
833
  "characters long from the content of each post listed as popular"
@@ -836,7 +862,7 @@ msgstr ""
836
  "un extracto de \"n\" caracteres del contenido de cada entrada listada como "
837
  "popular"
838
 
839
- #: ../admin/partials/admin.php:860
840
  msgid ""
841
  "If set, WordPress Popular Posts will maintaing all styling tags (strong, "
842
  "italic, etc) and hyperlinks found in the excerpt"
@@ -845,7 +871,7 @@ msgstr ""
845
  "etiquetas de estilo (strong, italic, etc) y los hiperv&iacute;nculos "
846
  "encontrados en el extracto"
847
 
848
- #: ../admin/partials/admin.php:867
849
  msgid ""
850
  "If set to 1, WordPress Popular Posts will shorten the excerpt to \"n\" words "
851
  "instead of characters"
@@ -853,7 +879,7 @@ msgstr ""
853
  "Si se configura, WordPress Popular Posts acortar&aacute; el resumen en \"n\" "
854
  "palabras en vez de caracteres"
855
 
856
- #: ../admin/partials/admin.php:874
857
  msgid ""
858
  "If set, and if your current server configuration allows it, you will be able "
859
  "to display thumbnails of your posts. This attribute sets the width for "
@@ -863,7 +889,7 @@ msgstr ""
863
  "permite, podr&aacute;s mostrar miniaturas de tus entradas. Este atributo "
864
  "configura el ancho de tus miniaturas"
865
 
866
- #: ../admin/partials/admin.php:881
867
  msgid ""
868
  "If set, and if your current server configuration allows it, you will be able "
869
  "to display thumbnails of your posts. This attribute sets the height for "
@@ -873,7 +899,7 @@ msgstr ""
873
  "permite, podr&aacute;s mostrar miniaturas de tus entradas. Este atributo "
874
  "configura el alto de tus miniaturas"
875
 
876
- #: ../admin/partials/admin.php:888
877
  msgid ""
878
  "If set, and if the WP-PostRatings plugin is installed and enabled on your "
879
  "blog, WordPress Popular Posts will show how your visitors are rating your "
@@ -883,7 +909,7 @@ msgstr ""
883
  "habilitado en tu blog, WordPress Popular Posts mostrar&aacute; como tus "
884
  "visitantes han calificado a tus entradas"
885
 
886
- #: ../admin/partials/admin.php:895
887
  msgid ""
888
  "If set, WordPress Popular Posts will show how many comments each popular "
889
  "post has got during the specified time range"
@@ -892,7 +918,7 @@ msgstr ""
892
  "comentarios ha obtenido cada entrada popular dentro del rango de tiempo "
893
  "especificado"
894
 
895
- #: ../admin/partials/admin.php:902
896
  msgid ""
897
  "If set, WordPress Popular Posts will show how many views each popular post "
898
  "has got during the specified time range"
@@ -901,7 +927,7 @@ msgstr ""
901
  "vistas ha obtenido cada entrada popular dentro del rango de tiempo "
902
  "especificado"
903
 
904
- #: ../admin/partials/admin.php:909
905
  msgid ""
906
  "If set, WordPress Popular Posts will show who published each popular post on "
907
  "the list"
@@ -909,7 +935,7 @@ msgstr ""
909
  "Si se configura, WordPress Popular Posts mostrar&aacute; qui&eacute;n "
910
  "public&oacute; cada entrada popular de la lista"
911
 
912
- #: ../admin/partials/admin.php:916
913
  msgid ""
914
  "If set, WordPress Popular Posts will display the date when each popular post "
915
  "on the list was published"
@@ -917,11 +943,11 @@ msgstr ""
917
  "Si se tilda, WordPress Popular Posts mostrar&aacute; la fecha en la que fue "
918
  "publicada cada entrada popular"
919
 
920
- #: ../admin/partials/admin.php:923
921
  msgid "Sets the date format"
922
  msgstr "Configura el formato de la fecha"
923
 
924
- #: ../admin/partials/admin.php:930
925
  msgid ""
926
  "If set, WordPress Popular Posts will display the categories associated to "
927
  "each entry"
@@ -929,7 +955,7 @@ msgstr ""
929
  "Si se tilda, WordPress Popular Posts mostrar&aacute; las categor&iacute;as "
930
  "asociadas a cada entrada"
931
 
932
- #: ../admin/partials/admin.php:937
933
  msgid ""
934
  "If set, WordPress Popular Posts will display the taxonomies associated to "
935
  "each entry"
@@ -937,27 +963,27 @@ msgstr ""
937
  "Si se tilda, WordPress Popular Posts mostrar&aacute; las taxonom&iacute;as "
938
  "asociadas a cada entrada"
939
 
940
- #: ../admin/partials/admin.php:944
941
  msgid "Sets the opening tag for the listing"
942
  msgstr "Configura la etiqueta de apertura del listado"
943
 
944
- #: ../admin/partials/admin.php:951
945
  msgid "Sets the closing tag for the listing"
946
  msgstr "Configura la etiqueta de cierre del listado"
947
 
948
- #: ../admin/partials/admin.php:958
949
  msgid "Sets the HTML structure of each post"
950
  msgstr "Configura la estructura HTML de cada entrada"
951
 
952
- #: ../admin/partials/admin.php:959
953
  msgid "Text string, custom HTML"
954
  msgstr "Texto, HTML personalizado"
955
 
956
- #: ../admin/partials/admin.php:959
957
  msgid "Available Content Tags"
958
  msgstr "Content Tags disponibles"
959
 
960
- #: ../admin/partials/admin.php:959
961
  msgid ""
962
  "returns thumbnail linked to post/page, requires thumbnail_width & "
963
  "thumbnail_height"
@@ -965,7 +991,7 @@ msgstr ""
965
  "devuelve la miniatura con un link hacia la entrada/p&aacute;gina, requiere "
966
  "thumbnail_width & thumbnail_height"
967
 
968
- #: ../admin/partials/admin.php:959
969
  msgid ""
970
  "returns thumbnail image without linking to post/page, requires "
971
  "thumbnail_width & thumbnail_height"
@@ -973,31 +999,31 @@ msgstr ""
973
  "devuelve la miniatura sin link hacia la entrada/p&aacute;gina, requiere "
974
  "thumbnail_width & thumbnail_height"
975
 
976
- #: ../admin/partials/admin.php:959
977
  msgid "returns thumbnail url, requires thumbnail_width & thumbnail_height"
978
  msgstr ""
979
  "devuelve la url de la miniatura, requires thumbnail_width & thumbnail_height"
980
 
981
- #: ../admin/partials/admin.php:959
982
  msgid "returns linked post/page title"
983
  msgstr "devuelve el t&iacute;tulo de la entrada/p&aacute;gina con enlace"
984
 
985
- #: ../admin/partials/admin.php:959
986
  msgid "returns the post/page ID"
987
  msgstr "devuelve la URL de la entrada/p&aacute;gina"
988
 
989
- #: ../admin/partials/admin.php:959
990
  msgid ""
991
  "returns post/page excerpt, and requires excerpt_length to be greater than 0"
992
  msgstr ""
993
  "devuelve el resumen de la entrada/p&aacute;gina, requiere que excerpt_length "
994
  "sea mayor a 0"
995
 
996
- #: ../admin/partials/admin.php:959
997
  msgid "returns the default stats tags"
998
  msgstr "devuelve el stats tag por defecto"
999
 
1000
- #: ../admin/partials/admin.php:959
1001
  msgid ""
1002
  "returns post/page current rating, requires WP-PostRatings installed and "
1003
  "enabled"
@@ -1005,7 +1031,7 @@ msgstr ""
1005
  "devuelve el rating actual de la entrada/p&aacute;gina, requiere que WP-"
1006
  "PostRatings est&eacute; instalado y activo"
1007
 
1008
- #: ../admin/partials/admin.php:959
1009
  msgid ""
1010
  "returns post/page current rating as an integer, requires WP-PostRatings "
1011
  "installed and enabled"
@@ -1013,85 +1039,158 @@ msgstr ""
1013
  "devuelve el rating actual de la entrada/p&aacute;gina como un entero, "
1014
  "requiere que WP-PostRatings est&eacute; instalado y activo"
1015
 
1016
- #: ../admin/partials/admin.php:959
1017
  msgid "returns the URL of the post/page"
1018
  msgstr "devuelve la URL de la entrada/p&aacute;gina"
1019
 
1020
- #: ../admin/partials/admin.php:959
1021
  msgid "returns post/page title, no link"
1022
  msgstr "devuelve el t&iacute;tulo de la entrada/p&aacute;gina, sin enlace"
1023
 
1024
- #: ../admin/partials/admin.php:959
1025
  msgid "returns linked author name, requires stats_author=1"
1026
  msgstr "devuelve el nombre del autor con enlace, requiere stats_author=1"
1027
 
1028
- #: ../admin/partials/admin.php:959
1029
  msgid "returns linked category name, requires stats_category=1"
1030
  msgstr ""
1031
  "devuelve el nombre de la categor&iacute;a con enlace, requiere "
1032
  "stats_category=1"
1033
 
1034
- #: ../admin/partials/admin.php:959
1035
  msgid "returns linked taxonomy names, requires stats_taxonomy=1"
1036
  msgstr ""
1037
  "devuelve los nombres de las taxonomi&iacute;as con enlace, requiere "
1038
  "stats_taxonomy=1"
1039
 
1040
- #: ../admin/partials/admin.php:959
1041
  msgid "returns views count only, no text"
1042
  msgstr "devuelve el n&uacute;mero de vistas, sin texto adicional"
1043
 
1044
- #: ../admin/partials/admin.php:959
1045
  msgid "returns comments count only, no text, requires stats_comments=1"
1046
  msgstr ""
1047
  "devuelve el n&uacute;mero de comentarios, sin texto adicional, requiere "
1048
  "stats_comments=1"
1049
 
1050
- #: ../admin/partials/admin.php:959
1051
  msgid "returns post/page date, requires stats_date=1"
1052
  msgstr "devuelve la fecha de la entrada/p&aacute;gina, requiere stats_date=1"
1053
 
1054
- #: ../includes/class-wordpress-popular-posts-output.php:126
1055
  msgid "Sorry. No data so far."
1056
  msgstr "Lo lamentamos. No hay nada que mostrar a&uacute;n."
1057
 
1058
- #: ../includes/class-wordpress-popular-posts-output.php:497
1059
  #, php-format
1060
  msgid "%s ago"
1061
  msgstr "hace %s"
1062
 
1063
- #: ../includes/class-wordpress-popular-posts-output.php:714
1064
  #, php-format
1065
  msgid "1 view per day"
1066
  msgid_plural "%s views per day"
1067
  msgstr[0] "1 vista por d&iacute;a"
1068
  msgstr[1] "%s vistas por d&iacute;a"
1069
 
1070
- #: ../includes/class-wordpress-popular-posts-output.php:743
1071
  #, php-format
1072
  msgid "by %s"
1073
  msgstr "por %s"
1074
 
1075
- #: ../includes/class-wordpress-popular-posts-output.php:749
1076
  #, php-format
1077
  msgid "posted %s"
1078
  msgstr "publicado %s"
1079
 
1080
- #: ../includes/class-wordpress-popular-posts-output.php:749
1081
  #, php-format
1082
  msgid "posted on %s"
1083
  msgstr "publicado el %s"
1084
 
1085
- #: ../includes/class-wordpress-popular-posts-output.php:758
1086
  #, php-format
1087
  msgid "under %s"
1088
  msgstr "bajo %s"
1089
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1090
  #: ../includes/class-wordpress-popular-posts-widget.php:21
1091
  msgid "The most Popular Posts on your blog."
1092
  msgstr "Las entradas m&aacute;s populares en tu blog."
1093
 
1094
- #: ../includes/class-wordpress-popular-posts-widget.php:94
1095
  #, php-format
1096
  msgid ""
1097
  "Error: cannot ajaxify WordPress Popular Posts on this theme. It's missing "
@@ -1102,10 +1201,6 @@ msgstr ""
1102
  "el atributo <em>id</em> en before_widget (ver <a href=\"%s\" target=\"_blank"
1103
  "\" rel=\"nofollow\">register_sidebar</a> para m&aacute;s detalles)"
1104
 
1105
- #: ../includes/class-wordpress-popular-posts-widget.php:105
1106
- msgid "Loading..."
1107
- msgstr "Cargando..."
1108
-
1109
  #: ../includes/widget-form.php:3
1110
  msgid "Title"
1111
  msgstr "T&iacute;tulo"
@@ -1138,26 +1233,10 @@ msgstr "Filtros"
1138
  msgid "Time Range"
1139
  msgstr "Rango de Tiempo"
1140
 
1141
- #: ../includes/widget-form.php:30
1142
- msgid "Last 24 hours"
1143
- msgstr "&Uacute;ltimas 24 horas"
1144
-
1145
- #: ../includes/widget-form.php:31
1146
- msgid "Last 7 days"
1147
- msgstr "&Uacute;ltimos 7 d&iacute;as"
1148
-
1149
- #: ../includes/widget-form.php:32
1150
- msgid "Last 30 days"
1151
- msgstr "&Uacute;ltimos 30 d&iacute;as"
1152
-
1153
  #: ../includes/widget-form.php:33
1154
  msgid "All-time"
1155
  msgstr "Todos los tiempos"
1156
 
1157
- #: ../includes/widget-form.php:34
1158
- msgid "Custom"
1159
- msgstr "Personalizado"
1160
-
1161
  #: ../includes/widget-form.php:50
1162
  msgid "Post type(s)"
1163
  msgstr "Post type(s)"
@@ -1292,6 +1371,30 @@ msgstr "Antes / despu&eacute;s de las entradas populares"
1292
  msgid "Post HTML Markup"
1293
  msgstr "Markup HTML de la entrada"
1294
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1295
  #~ msgid "About"
1296
  #~ msgstr "Acerca de"
1297
 
4
  msgstr ""
5
  "Project-Id-Version: WordPress Popular Posts\n"
6
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/wordpress-popular-posts\n"
7
+ "POT-Creation-Date: 2018-04-25 15:42-0400\n"
8
+ "PO-Revision-Date: 2018-04-25 15:47-0400\n"
9
  "Last-Translator: \n"
10
  "Language-Team: Héctor Cabrera <me@cabrerahector.com>\n"
11
  "Language: es_VE\n"
13
  "Content-Type: text/plain; charset=UTF-8\n"
14
  "Content-Transfer-Encoding: 8bit\n"
15
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
16
+ "X-Generator: Poedit 2.0.7\n"
17
  "X-Poedit-KeywordsList: _e;__;__ngettext;__ngettext_noop;_n_noop;_x;_nx;"
18
  "_nx_noop;_ex;esc_attr__;esc_attr_e;esc_attr_x;esc_html__;esc_html_e;"
19
  "esc_html_x;_c;_nc;_n:1,2\n"
22
  "X-Poedit-SearchPath-0: .\n"
23
  "X-Poedit-SearchPath-1: ..\n"
24
 
25
+ #: ../admin/class-wordpress-popular-posts-admin.php:173
26
+ #, php-format
27
+ msgid "1 view in the last hour"
28
+ msgid_plural "%s views in the last hour"
29
+ msgstr[0] "1 vista en la &uacute;ltima hora"
30
+ msgstr[1] "%s vistas en la &uacute;ltima hora"
31
+
32
+ #: ../admin/class-wordpress-popular-posts-admin.php:239
33
+ msgid "Use this image"
34
+ msgstr "Utilizar esta imagen"
35
 
36
+ #: ../admin/class-wordpress-popular-posts-admin.php:257
37
  msgid "Overview"
38
  msgstr "General"
39
 
40
+ #: ../admin/class-wordpress-popular-posts-admin.php:258
41
  msgid ""
42
  "Welcome to WordPress Popular Posts' Dashboard! In this screen you will find "
43
  "statistics on what's popular on your site, tools to further tweak WPP to "
47
  "encontrar&aacute;s estad&iacute;sticas de lo m&aacute;s popular en tu sitio, "
48
  "herramientas para configurar WPP a tu gusto, &iexcl;y mucho m&aacute;s!"
49
 
50
+ #: ../admin/class-wordpress-popular-posts-admin.php:264
51
  msgid "Like this plugin?"
52
  msgstr "&iquest;Te gusta este plugin?"
53
 
54
+ #: ../admin/class-wordpress-popular-posts-admin.php:266
55
  msgid ""
56
  "Each donation motivates me to keep releasing free stuff for the WordPress "
57
  "community!"
59
  "&iexcl;Cada donaci&oacute;n me motiva a seguir publicando cosas gratuitas "
60
  "para la comunidad de WordPress!"
61
 
62
+ #: ../admin/class-wordpress-popular-posts-admin.php:273
63
  #, php-format
64
  msgid "You can <a href=\"%s\" target=\"_blank\">leave a review</a>, too!"
65
  msgstr ""
66
  "&iexcl;Puedes <a href=\"%s\" target=\"_blank\">dejar una rese&ntilde;a</a> "
67
  "tambi&eacute;n!"
68
 
69
+ #: ../admin/class-wordpress-popular-posts-admin.php:282
70
  #, php-format
71
  msgid ""
72
  "<p><strong>For more information:</strong></p><ul><li><a href=\"%1$s"
76
  "\"%1$s\">Documentaci&oacute;n</a></li><li><a href=\"%2$s\">Soporte</a></li></"
77
  "ul>"
78
 
79
+ #: ../admin/class-wordpress-popular-posts-admin.php:658
80
+ #: ../admin/class-wordpress-popular-posts-admin.php:777
81
  #: ../admin/partials/admin.php:411 ../admin/partials/admin.php:458
82
+ #: ../includes/class-wordpress-popular-posts-output.php:742
83
  #, php-format
84
  msgid "1 view"
85
  msgid_plural "%s views"
86
  msgstr[0] "1 vista"
87
  msgstr[1] "%s vistas"
88
 
89
+ #: ../admin/class-wordpress-popular-posts-admin.php:658
90
+ #: ../admin/class-wordpress-popular-posts-admin.php:832
91
  #: ../admin/partials/admin.php:411 ../admin/partials/admin.php:458
92
+ #: ../includes/class-wordpress-popular-posts-output.php:723
93
  #, php-format
94
  msgid "1 comment"
95
  msgid_plural "%s comments"
96
  msgstr[0] "1 comentario"
97
  msgstr[1] "%s comentarios"
98
 
99
+ #: ../admin/class-wordpress-popular-posts-admin.php:690
100
  #: ../includes/widget-form.php:17
101
  msgid "Comments"
102
  msgstr "Comentarios"
103
 
104
+ #: ../admin/class-wordpress-popular-posts-admin.php:694
105
  msgid "Views"
106
  msgstr "Vistas"
107
 
108
+ #: ../admin/class-wordpress-popular-posts-admin.php:778
109
+ #: ../admin/class-wordpress-popular-posts-admin.php:833
110
  #: ../admin/partials/admin.php:412 ../admin/partials/admin.php:459
111
  msgid "View"
112
  msgstr "Vista"
113
 
114
+ #: ../admin/class-wordpress-popular-posts-admin.php:778
115
+ #: ../admin/class-wordpress-popular-posts-admin.php:833
116
  #: ../admin/partials/admin.php:412 ../admin/partials/admin.php:459
117
  msgid "Edit"
118
  msgstr "Editar"
119
 
120
+ #: ../admin/class-wordpress-popular-posts-admin.php:789
121
+ #: ../admin/class-wordpress-popular-posts-admin.php:844
122
  #: ../admin/partials/admin.php:423 ../admin/partials/admin.php:470
123
  msgid ""
124
  "Looks like traffic to your site is a little light right now. <br />Spread "
127
  "Parece que el tr&aacute;fico hacia tu sitio web est&aacute; un poco ligero. "
128
  "<br />&iexcl;Haz un poco de promoci&oacute;n y regresa luego!"
129
 
130
+ #: ../admin/class-wordpress-popular-posts-admin.php:912
131
  msgid "Settings"
132
  msgstr "Configuraci&oacute;n"
133
 
134
+ #: ../admin/class-wordpress-popular-posts-admin.php:1302
135
  #, php-format
136
  msgid ""
137
  "Your PHP installation is too old. WordPress Popular Posts requires at least "
143
  "contacta a tu proveedor de hosting y solicita que se actualice PHP a %1$s o "
144
  "mejor."
145
 
146
+ #: ../admin/class-wordpress-popular-posts-admin.php:1309
147
  #, php-format
148
  msgid ""
149
  "Your WordPress version is too old. WordPress Popular Posts requires at least "
154
  "Posts requiere al menos la versi&oacute;n %1$s para funcionar correctamente. "
155
  "Por favor actualiza tu blog via Escritorio &gt; Actualizaciones."
156
 
157
+ #: ../admin/class-wordpress-popular-posts-admin.php:1334
158
  #, php-format
159
  msgid ""
160
  "<div class=\"notice notice-error\"><p>%1$s</p><p><i>%2$s</i> has been "
163
  "<div class=\"notice notice-error\"><p>%1$s</p><p><i>%2$s</i> ha sido "
164
  "<strong>desactivado</strong>.</p></div>"
165
 
166
+ #: ../admin/partials/admin.php:6 ../admin/partials/admin.php:254
167
  msgid "Stats"
168
  msgstr "Estad&iacute;sticas"
169
 
170
+ #: ../admin/partials/admin.php:7 ../admin/partials/admin.php:255
171
  msgid "Tools"
172
  msgstr "Herramientas"
173
 
174
+ #: ../admin/partials/admin.php:8 ../admin/partials/admin.php:256
175
  msgid "Parameters"
176
  msgstr "Par&aacute;metros"
177
 
178
  #: ../admin/partials/admin.php:33 ../admin/partials/admin.php:48
179
+ #: ../admin/partials/admin.php:71 ../admin/partials/admin.php:112
180
  msgid "Settings saved."
181
  msgstr "Configuraci&oacute;n guardada."
182
 
184
  msgid "Please provide the name of your custom field."
185
  msgstr "Por favor indica el nombre de tu custom field."
186
 
187
+ #: ../admin/partials/admin.php:120
188
  msgid ""
189
  "Any changes made to WPP's default stylesheet will be lost after every plugin "
190
  "update. In order to prevent this from happening, please copy the wpp.css "
196
  "favor copia el archivo wpp.css (ubicado en wp-content/plugins/wordpress-"
197
  "popular-posts/style) a la carpeta de tu tema actual"
198
 
199
+ #: ../admin/partials/admin.php:135
200
  msgid ""
201
  "This operation will delete all entries from WordPress Popular Posts' cache "
202
  "table and cannot be undone."
204
  "Esta operaci\\363n borrar\\341 todas las entradas en el cach\\351 de "
205
  "WordPress Popular Posts y no se puede deshacer."
206
 
207
+ #: ../admin/partials/admin.php:135 ../admin/partials/admin.php:174
208
+ #: ../admin/partials/admin.php:213
209
  msgid "Do you want to continue?"
210
  msgstr "\\277Deseas continuar?"
211
 
212
+ #: ../admin/partials/admin.php:147
213
  msgid "Success! The cache table has been cleared!"
214
  msgstr "\\241\\311xito! \\241La tabla cach\\351 ha sido borrada!"
215
 
216
+ #: ../admin/partials/admin.php:151
217
  msgid "Error: cache table does not exist."
218
  msgstr "Error: la tabla cach\\351 no existe."
219
 
220
+ #: ../admin/partials/admin.php:155 ../admin/partials/admin.php:163
221
+ #: ../admin/partials/admin.php:194 ../admin/partials/admin.php:202
222
+ #: ../admin/partials/admin.php:232 ../admin/partials/admin.php:240
223
  msgid "Invalid action."
224
  msgstr "Acci\\363n inv\\311lida."
225
 
226
+ #: ../admin/partials/admin.php:159 ../admin/partials/admin.php:198
227
+ #: ../admin/partials/admin.php:236
228
  msgid ""
229
  "Sorry, you do not have enough permissions to do this. Please contact the "
230
  "site administrator for support."
232
  "Lo lamento, no tienes permisos suficientes para hacer esto. Por favor "
233
  "contacta al administrador del sitio."
234
 
235
+ #: ../admin/partials/admin.php:174
236
  msgid ""
237
  "This operation will delete all stored info from WordPress Popular Posts' "
238
  "data tables and cannot be undone."
240
  "Esta operaci\\363n borrar\\341 toda la informaci\\363n guardada en las "
241
  "tablas de WordPress Popular Posts y no se puede deshacer."
242
 
243
+ #: ../admin/partials/admin.php:186
244
  msgid "Success! All data have been cleared!"
245
  msgstr "\\241\\311xito! \\241Toda la data ha sido borrada!"
246
 
247
+ #: ../admin/partials/admin.php:190
248
  msgid "Error: one or both data tables are missing."
249
  msgstr "Error: una o ambas tablas de datos no existen."
250
 
251
+ #: ../admin/partials/admin.php:213
252
  msgid "This operation will delete all cached thumbnails and cannot be undone."
253
  msgstr ""
254
  "Esta operaci\\363n borrar\\341 todas las miniaturas en el cach\\351 y no se "
255
  "puede deshacer."
256
 
257
+ #: ../admin/partials/admin.php:224
258
  msgid "Success! All files have been deleted!"
259
  msgstr "\\241\\311xito! \\241Todos los archivos han sido borrados!"
260
 
261
+ #: ../admin/partials/admin.php:228
262
  msgid "The thumbnail cache is already empty!"
263
  msgstr "\\241El cach\\351 de miniaturas ya est\\341 vac\\355o!"
264
 
265
+ #: ../admin/partials/admin.php:253
266
  msgid "Menu"
267
  msgstr "Men&uacute;"
268
 
269
+ #: ../admin/partials/admin.php:281
270
  msgid "Post type"
271
  msgstr "Post type"
272
 
273
+ #: ../admin/partials/admin.php:284
274
  msgid "Limit"
275
  msgstr "L&iacute;mite"
276
 
277
+ #: ../admin/partials/admin.php:287 ../includes/widget-form.php:48
278
  msgid "Display only posts published within the selected Time Range"
279
  msgstr ""
280
  "Mostrar s&oacute;lo entradas publicadas en el Rango de Tiempo seleccionado"
281
 
282
+ #: ../admin/partials/admin.php:293 ../admin/partials/admin.php:331
283
+ #: ../admin/partials/admin.php:540 ../admin/partials/admin.php:644
284
+ #: ../admin/partials/admin.php:683
285
  msgid "Apply"
286
  msgstr "Aplicar"
287
 
288
+ #: ../admin/partials/admin.php:294 ../admin/partials/admin.php:334
289
  msgid "Cancel"
290
  msgstr "Cancelar"
291
 
292
+ #: ../admin/partials/admin.php:307
293
  msgid "Custom Time Range"
294
  msgstr "Rango de Tiempo Personalizado"
295
 
296
+ #: ../admin/partials/admin.php:308
297
  msgid "Date Range"
298
  msgstr "Rango de Fechas"
299
 
300
+ #: ../admin/partials/admin.php:316 ../admin/partials/admin.php:610
301
  #: ../includes/widget-form.php:41
302
  msgid "Minute(s)"
303
  msgstr "Minuto(s)"
304
 
305
+ #: ../admin/partials/admin.php:317 ../admin/partials/admin.php:611
306
  #: ../includes/widget-form.php:42
307
  msgid "Hour(s)"
308
  msgstr "Hora(s)"
309
 
310
+ #: ../admin/partials/admin.php:318 ../admin/partials/admin.php:612
311
  #: ../includes/widget-form.php:43
312
  msgid "Day(s)"
313
  msgstr "D&iacute;a(s)"
314
 
315
+ #: ../admin/partials/admin.php:324
316
  msgid "Select a date..."
317
  msgstr "Selecciona una fecha..."
318
 
319
+ #: ../admin/partials/admin.php:346
320
+ msgid "Today"
321
+ msgstr "Hoy"
322
+
323
+ #: ../admin/partials/admin.php:347 ../includes/widget-form.php:30
324
+ msgid "Last 24 hours"
325
+ msgstr "&Uacute;ltimas 24 horas"
326
+
327
+ #: ../admin/partials/admin.php:348 ../includes/widget-form.php:31
328
+ msgid "Last 7 days"
329
+ msgstr "&Uacute;ltimos 7 d&iacute;as"
330
+
331
+ #: ../admin/partials/admin.php:349 ../includes/widget-form.php:32
332
+ msgid "Last 30 days"
333
+ msgstr "&Uacute;ltimos 30 d&iacute;as"
334
+
335
+ #: ../admin/partials/admin.php:350 ../includes/widget-form.php:34
336
+ msgid "Custom"
337
+ msgstr "Personalizado"
338
+
339
  #: ../admin/partials/admin.php:354
340
  #, php-format
341
  msgid ""
348
  "anticuado.<br /> Por favor <a href=\"%s\" target=\"_blank\">instala un mejor "
349
  "navegador</a>."
350
 
351
+ #: ../admin/partials/admin.php:365
352
+ msgid "Most viewed"
353
+ msgstr "M&aacute;s vistos"
354
+
355
+ #: ../admin/partials/admin.php:366
356
+ msgid "Most commented"
357
+ msgstr "M&aacute;s comentados"
358
+
359
+ #: ../admin/partials/admin.php:367
360
+ msgid "Trending now"
361
+ msgstr "Siendo Tendencia Ahora"
362
+
363
+ #: ../admin/partials/admin.php:368
364
+ msgid "Hall of Fame"
365
+ msgstr "Sal&oacute;n de la Fama"
366
+
367
  #: ../admin/partials/admin.php:480
368
  msgid "Thumbnails"
369
  msgstr "Miniaturas"
373
  msgstr "Miniatura por defecto"
374
 
375
  #: ../admin/partials/admin.php:490
376
+ msgid "Change thumbnail"
377
+ msgstr "Cambiar miniatura"
378
 
379
  #: ../admin/partials/admin.php:492
380
+ msgid "This image will be displayed when no thumbnail is available"
381
+ msgstr "Esta imagen se mostrar&aacute; cuando no haya miniatura disponible"
 
 
 
 
382
 
383
  #: ../admin/partials/admin.php:496
384
  msgid "Pick image from"
421
  msgid "Yes"
422
  msgstr "S&iacute;"
423
 
424
+ #: ../admin/partials/admin.php:530
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
425
  msgid "Empty image cache"
426
  msgstr "Vaciar el cach&eacute; de im&aacute;genes"
427
 
428
+ #: ../admin/partials/admin.php:531
429
  msgid "Use this button to clear WPP's thumbnails cache"
430
  msgstr ""
431
  "Utiliza este bot&oacute;n para vaciar el cach&eacute; de miniaturas de WPP"
432
 
433
+ #: ../admin/partials/admin.php:551
434
  msgid "Data"
435
  msgstr "Datos"
436
 
437
+ #: ../admin/partials/admin.php:556
438
  msgid "Log views from"
439
  msgstr "Registrar vistas de"
440
 
441
+ #: ../admin/partials/admin.php:559
442
  msgid "Visitors only"
443
  msgstr "S&oacute;lo visitantes"
444
 
445
+ #: ../admin/partials/admin.php:560
446
  msgid "Logged-in users only"
447
  msgstr "S&oacute;lo usuarios conectados"
448
 
449
+ #: ../admin/partials/admin.php:561
450
  msgid "Everyone"
451
  msgstr "Todos"
452
 
453
+ #: ../admin/partials/admin.php:567
454
  msgid "Log limit"
455
  msgstr "L&iacute;mite del registro"
456
 
457
+ #: ../admin/partials/admin.php:570 ../admin/partials/admin.php:585
458
+ #: ../admin/partials/admin.php:625 ../admin/partials/admin.php:674
459
+ msgid "Disabled"
460
+ msgstr "Deshabilitado"
461
+
462
+ #: ../admin/partials/admin.php:571
463
  msgid "Keep data for"
464
  msgstr "Guardar datos por"
465
 
466
+ #: ../admin/partials/admin.php:574
467
  msgid "day(s)"
468
  msgstr "d&iacute;a(s)"
469
 
470
+ #: ../admin/partials/admin.php:576
471
  msgid ""
472
  "Data older than the specified time frame will be automatically discarded"
473
  msgstr ""
474
  "La data que sea m&aacute;s antigua que el tiempo especificado ser&aacute;n "
475
  "autom&aacute;ticamente descartada"
476
 
477
+ #: ../admin/partials/admin.php:582
478
  msgid "Ajaxify widget"
479
  msgstr "Usar Ajax con el widget"
480
 
481
+ #: ../admin/partials/admin.php:586 ../admin/partials/admin.php:626
482
+ #: ../admin/partials/admin.php:673
483
+ msgid "Enabled"
484
+ msgstr "Habilitado"
485
+
486
+ #: ../admin/partials/admin.php:590
487
  msgid ""
488
  "If you are using a caching plugin such as WP Super Cache, enabling this "
489
  "feature will keep the popular list from being cached by it"
492
  "habilitar esta caracter&iacute;stica evitar&aacute; que la lista de entradas "
493
  "populares sea guardada en cach&eacute;"
494
 
495
+ #: ../admin/partials/admin.php:594
496
  msgid "WPP Cache Expiry Policy"
497
  msgstr "WPP Pol&iacute;tica de Expiraci&oacute;n del Cache"
498
 
499
+ #: ../admin/partials/admin.php:594 ../admin/partials/admin.php:622
500
  #: ../includes/widget-form.php:3 ../includes/widget-form.php:50
501
  #: ../includes/widget-form.php:56 ../includes/widget-form.php:75
502
  #: ../includes/widget-form.php:85 ../includes/widget-form.php:177
503
  msgid "What is this?"
504
  msgstr "&iquest;Qu&eacute; es &eacute;sto?"
505
 
506
+ #: ../admin/partials/admin.php:597
507
  msgid "Never cache"
508
  msgstr "Nunca almacenar en cach&eacute;"
509
 
510
+ #: ../admin/partials/admin.php:598
511
  msgid "Enable caching"
512
  msgstr "Habilitar cach&eacute;"
513
 
514
+ #: ../admin/partials/admin.php:602
515
  msgid ""
516
  "Sets WPP's cache expiration time. WPP can cache the popular list for a "
517
  "specified amount of time. Recommended for large / high traffic sites"
521
  "de tiempo especificada. Recomendado para sitios web grandes / de alto "
522
  "tr&aacute;fico"
523
 
524
+ #: ../admin/partials/admin.php:606
525
  msgid "Refresh cache every"
526
  msgstr "Refrescar el cach&eacute; cada"
527
 
528
+ #: ../admin/partials/admin.php:613
529
  msgid "Week(s)"
530
  msgstr "Semana(s)"
531
 
532
+ #: ../admin/partials/admin.php:614
533
  msgid "Month(s)"
534
  msgstr "Mes(es)"
535
 
536
+ #: ../admin/partials/admin.php:615
537
  msgid "Year(s)"
538
  msgstr "A&ntilde;o(s)"
539
 
540
+ #: ../admin/partials/admin.php:618
541
  msgid "Really? That long?"
542
  msgstr "&iquest;En serio? &iquest;Tanto tiempo?"
543
 
544
+ #: ../admin/partials/admin.php:622
545
  msgid "Data Sampling"
546
  msgstr "Sampleo de Datos"
547
 
548
+ #: ../admin/partials/admin.php:630
549
  #, php-format
550
  msgid ""
551
  "By default, WordPress Popular Posts stores in database every single visit "
566
  "detectadas en ese conjunto de muestras (para m&aacute;s, <a href=\"%2$s\" "
567
  "target=\"_blank\">por favor leer ac&aacute;</a>)"
568
 
569
+ #: ../admin/partials/admin.php:634
570
  msgid "Sample Rate"
571
  msgstr "Rata de Sampleo"
572
 
573
+ #: ../admin/partials/admin.php:638
574
  #, php-format
575
  msgid ""
576
  "A sampling rate of %d is recommended for large / high traffic sites. For "
580
  "tr&aacute;fico. Para sitios con menos tr&aacute;fico, deber&iacute;as "
581
  "disminuir el valor"
582
 
583
+ #: ../admin/partials/admin.php:655
584
  msgid "Miscellaneous"
585
  msgstr "Miscel&aacute;neos"
586
 
587
+ #: ../admin/partials/admin.php:660
588
  msgid "Open links in"
589
  msgstr "Abrir enlaces en"
590
 
591
+ #: ../admin/partials/admin.php:663
592
  msgid "Current window"
593
  msgstr "Ventana actual"
594
 
595
+ #: ../admin/partials/admin.php:664
596
  msgid "New tab/window"
597
  msgstr "Nueva pesta&ntilde;a/ventana"
598
 
599
+ #: ../admin/partials/admin.php:670
600
  msgid "Use plugin's stylesheet"
601
  msgstr "Utilizar la hoja de estilos del plugin"
602
 
603
+ #: ../admin/partials/admin.php:677
604
  msgid ""
605
  "By default, the plugin includes a stylesheet called wpp.css which you can "
606
  "use to style your popular posts listing. If you wish to use your own "
612
  "deseas utilizar tu propia hoja de estilos, o no quieres que wpp.css se "
613
  "incluya en el header de tu sitio web, utiliza esto."
614
 
615
+ #: ../admin/partials/admin.php:696
616
  msgid ""
617
  "WordPress Popular Posts maintains data in two separate tables: one for "
618
  "storing the most popular entries on a daily basis (from now on, \"cache\"), "
628
  "tablas hist&oacute;ricas y de cach&eacute;, por favor utiliza los botones de "
629
  "abajo."
630
 
631
+ #: ../admin/partials/admin.php:697
632
  msgid "Empty cache"
633
  msgstr "Vaciar el cach&eacute;"
634
 
635
+ #: ../admin/partials/admin.php:697
636
  msgid "Use this button to manually clear entries from WPP cache only"
637
  msgstr ""
638
  "Utiliza este bot&oacute;n para vaciar manualmente s&oacute;lo las entradas "
639
  "del cach&eacute; de WPP"
640
 
641
+ #: ../admin/partials/admin.php:698
642
  msgid "Clear all data"
643
  msgstr "Eliminar toda la data"
644
 
645
+ #: ../admin/partials/admin.php:698
646
  msgid "Use this button to manually clear entries from all WPP data tables"
647
  msgstr ""
648
  "Utiliza este bot&oacute;n para limpiar manualmente las tablas de datos de WPP"
649
 
650
+ #: ../admin/partials/admin.php:705
651
  #, php-format
652
  msgid ""
653
  "With the following parameters you can customize the popular posts list when "
658
  "entradas populares cuando utilices el <a href=\"%1$s\">template tag "
659
  "wpp_get_mostpopular()</a> o el <a href=\"%2$s\">shortcode [wpp]</a>."
660
 
661
+ #: ../admin/partials/admin.php:713
662
  msgid "Parameter"
663
  msgstr "Par&aacute;metro"
664
 
665
+ #: ../admin/partials/admin.php:714
666
  msgid "What it does "
667
  msgstr "Qu&eacute; hace"
668
 
669
+ #: ../admin/partials/admin.php:715
670
  msgid "Possible values"
671
  msgstr "Valores posibles"
672
 
673
+ #: ../admin/partials/admin.php:716
674
  msgid "Defaults to"
675
  msgstr "Por defecto"
676
 
677
+ #: ../admin/partials/admin.php:717
678
  msgid "Example"
679
  msgstr "Ejemplo"
680
 
681
+ #: ../admin/partials/admin.php:723
682
  msgid "Sets a heading for the list"
683
  msgstr "Configura el encabezado de la lista"
684
 
685
+ #: ../admin/partials/admin.php:724 ../admin/partials/admin.php:731
686
+ #: ../admin/partials/admin.php:738 ../admin/partials/admin.php:787
687
+ #: ../admin/partials/admin.php:794 ../admin/partials/admin.php:801
688
+ #: ../admin/partials/admin.php:808 ../admin/partials/admin.php:815
689
+ #: ../admin/partials/admin.php:822 ../admin/partials/admin.php:913
690
+ #: ../admin/partials/admin.php:934 ../admin/partials/admin.php:941
691
  msgid "Text string"
692
  msgstr "Texto"
693
 
694
+ #: ../admin/partials/admin.php:725 ../admin/partials/admin.php:795
695
+ #: ../admin/partials/admin.php:802 ../admin/partials/admin.php:809
696
+ #: ../admin/partials/admin.php:816 ../admin/partials/admin.php:823
697
  msgid "None"
698
  msgstr "Ninguno"
699
 
700
+ #: ../admin/partials/admin.php:726 ../admin/partials/admin.php:733
701
+ #: ../admin/partials/admin.php:740 ../admin/partials/admin.php:747
702
+ #: ../admin/partials/admin.php:754 ../admin/partials/admin.php:761
703
+ #: ../admin/partials/admin.php:768 ../admin/partials/admin.php:775
704
+ #: ../admin/partials/admin.php:782 ../admin/partials/admin.php:789
705
+ #: ../admin/partials/admin.php:796 ../admin/partials/admin.php:803
706
+ #: ../admin/partials/admin.php:810 ../admin/partials/admin.php:817
707
+ #: ../admin/partials/admin.php:824 ../admin/partials/admin.php:831
708
+ #: ../admin/partials/admin.php:838 ../admin/partials/admin.php:845
709
+ #: ../admin/partials/admin.php:852 ../admin/partials/admin.php:859
710
+ #: ../admin/partials/admin.php:866 ../admin/partials/admin.php:873
711
+ #: ../admin/partials/admin.php:880 ../admin/partials/admin.php:887
712
+ #: ../admin/partials/admin.php:894 ../admin/partials/admin.php:901
713
+ #: ../admin/partials/admin.php:908 ../admin/partials/admin.php:915
714
+ #: ../admin/partials/admin.php:922 ../admin/partials/admin.php:929
715
+ #: ../admin/partials/admin.php:936 ../admin/partials/admin.php:943
716
+ #: ../admin/partials/admin.php:950
717
  msgid "With wpp_get_mostpopular():"
718
  msgstr "Con wpp_get_mostpopular():"
719
 
720
+ #: ../admin/partials/admin.php:726 ../admin/partials/admin.php:733
721
+ #: ../admin/partials/admin.php:740 ../admin/partials/admin.php:747
722
+ #: ../admin/partials/admin.php:754 ../admin/partials/admin.php:761
723
+ #: ../admin/partials/admin.php:768 ../admin/partials/admin.php:775
724
+ #: ../admin/partials/admin.php:782 ../admin/partials/admin.php:789
725
+ #: ../admin/partials/admin.php:796 ../admin/partials/admin.php:803
726
+ #: ../admin/partials/admin.php:810 ../admin/partials/admin.php:817
727
+ #: ../admin/partials/admin.php:824 ../admin/partials/admin.php:831
728
+ #: ../admin/partials/admin.php:838 ../admin/partials/admin.php:845
729
+ #: ../admin/partials/admin.php:852 ../admin/partials/admin.php:859
730
+ #: ../admin/partials/admin.php:866 ../admin/partials/admin.php:873
731
+ #: ../admin/partials/admin.php:880 ../admin/partials/admin.php:887
732
+ #: ../admin/partials/admin.php:894 ../admin/partials/admin.php:901
733
+ #: ../admin/partials/admin.php:908 ../admin/partials/admin.php:915
734
+ #: ../admin/partials/admin.php:922 ../admin/partials/admin.php:929
735
+ #: ../admin/partials/admin.php:936 ../admin/partials/admin.php:943
736
+ #: ../admin/partials/admin.php:950
737
  msgid "With the [wpp] shortcode:"
738
  msgstr "Con el shortcode [wpp]:"
739
 
740
+ #: ../admin/partials/admin.php:730
741
  msgid "Set the opening tag for the heading of the list"
742
  msgstr "Configura la etiqueta de apertura para el encabezado de la lista"
743
 
744
+ #: ../admin/partials/admin.php:737
745
  msgid "Set the closing tag for the heading of the list"
746
  msgstr "Configura la etiqueta de cierre para el encabezado de la lista"
747
 
748
+ #: ../admin/partials/admin.php:744
749
  msgid "Sets the maximum number of popular posts to be shown on the listing"
750
  msgstr ""
751
  "Configura el m&aacute;ximo de entradas populares a ser mostradas en la lista"
752
 
753
+ #: ../admin/partials/admin.php:745 ../admin/partials/admin.php:759
754
+ #: ../admin/partials/admin.php:829 ../admin/partials/admin.php:843
755
+ #: ../admin/partials/admin.php:864 ../admin/partials/admin.php:871
756
  msgid "Positive integer"
757
  msgstr "Entero positivo"
758
 
759
+ #: ../admin/partials/admin.php:751
760
  msgid ""
761
  "Tells WordPress Popular Posts to retrieve the most popular entries within "
762
  "the time range specified by you"
764
  "Le indica a WordPress Popular Posts que debe listar aquellas entradas que "
765
  "hayan sido populares dentro del rango de tiempo especificado por ti"
766
 
767
+ #: ../admin/partials/admin.php:758
768
  msgid "Especifies the number of time units of the custom time range"
769
  msgstr ""
770
  "Especifica el n&uacute;mero de unidades de tiempo del rango de tiempo "
771
  "personalizado"
772
 
773
+ #: ../admin/partials/admin.php:765
774
  msgid "Especifies the time unit of the custom time range"
775
  msgstr "Especifica la unidad de tiempo del rango de tiempo personalizado"
776
 
777
+ #: ../admin/partials/admin.php:772
778
  msgid ""
779
  "Tells WordPress Popular Posts to retrieve the most popular entries published "
780
  "within the time range specified by you"
782
  "Le indica a WordPress Popular Posts que debe listar aquellas entradas "
783
  "populares publicadas dentro del rango de tiempo especificado por ti"
784
 
785
+ #: ../admin/partials/admin.php:779
786
  msgid "Sets the sorting option of the popular posts"
787
  msgstr "Configura el ordenado de las entradas populares"
788
 
789
+ #: ../admin/partials/admin.php:780
790
  msgid "(for average views per day)"
791
  msgstr "(para el porcentaje de vistas por d&iacute;a)"
792
 
793
+ #: ../admin/partials/admin.php:786
794
  msgid "Defines the type of posts to show on the listing"
795
  msgstr "Define el tipo de entrada a mostrar en el listado"
796
 
797
+ #: ../admin/partials/admin.php:793
798
  msgid ""
799
  "If set, WordPress Popular Posts will exclude the specified post(s) ID(s) "
800
  "form the listing."
802
  "Si se configura, WordPress Popular Posts excluir&aacute; todos los IDs de "
803
  "las entradas especificadas."
804
 
805
+ #: ../admin/partials/admin.php:800
806
  msgid ""
807
  "If set, WordPress Popular Posts will retrieve all entries that belong to the "
808
  "specified category ID(s). If a minus sign is used, entries associated to the "
813
  "signo negativo, las entradas asociadas a dicha categor&iacute;a ser&aacute;n "
814
  "exclu&iacute;das."
815
 
816
+ #: ../admin/partials/admin.php:807
817
  msgid "If set, WordPress Popular Posts will filter posts by a given taxonomy."
818
  msgstr ""
819
  "Si se tilda, WordPress Popular Posts filtrar&aacute; entradas por la "
820
  "taxonom&iacute;a indicada."
821
 
822
+ #: ../admin/partials/admin.php:814
823
  msgid ""
824
  "If set, WordPress Popular Posts will retrieve all entries that belong to the "
825
  "specified term ID(s). If a minus sign is used, entries associated to the "
829
  "que pertenecen al Term ID especificado(s). Si se usa un signo negativo, las "
830
  "entradas asociadas a dicho term ser&aacute;n exclu&iacute;das."
831
 
832
+ #: ../admin/partials/admin.php:821
833
  msgid ""
834
  "If set, WordPress Popular Posts will retrieve all entries created by "
835
  "specified author(s) ID(s)."
837
  "Si se configura, WordPress Popular Posts traer&aacute; todas las entradas "
838
  "creadas por el (los) ID(s) de autor(es) especificado(s)."
839
 
840
+ #: ../admin/partials/admin.php:828
841
  msgid ""
842
  "If set, WordPress Popular Posts will shorten each post title to \"n\" "
843
  "characters whenever possible"
845
  "Si se configura, WordPress Popular Posts acortar&aacute; cada titulo en \"n"
846
  "\" caracteres cuando sea posible"
847
 
848
+ #: ../admin/partials/admin.php:835
849
  msgid ""
850
  "If set to 1, WordPress Popular Posts will shorten each post title to \"n\" "
851
  "words instead of characters"
853
  "Si se pasa el valor 1, WordPress Popular Posts acortar&aacute; cada titulo "
854
  "en \"n\" palabras en vez de caracteres"
855
 
856
+ #: ../admin/partials/admin.php:842
857
  msgid ""
858
  "If set, WordPress Popular Posts will build and include an excerpt of \"n\" "
859
  "characters long from the content of each post listed as popular"
862
  "un extracto de \"n\" caracteres del contenido de cada entrada listada como "
863
  "popular"
864
 
865
+ #: ../admin/partials/admin.php:849
866
  msgid ""
867
  "If set, WordPress Popular Posts will maintaing all styling tags (strong, "
868
  "italic, etc) and hyperlinks found in the excerpt"
871
  "etiquetas de estilo (strong, italic, etc) y los hiperv&iacute;nculos "
872
  "encontrados en el extracto"
873
 
874
+ #: ../admin/partials/admin.php:856
875
  msgid ""
876
  "If set to 1, WordPress Popular Posts will shorten the excerpt to \"n\" words "
877
  "instead of characters"
879
  "Si se configura, WordPress Popular Posts acortar&aacute; el resumen en \"n\" "
880
  "palabras en vez de caracteres"
881
 
882
+ #: ../admin/partials/admin.php:863
883
  msgid ""
884
  "If set, and if your current server configuration allows it, you will be able "
885
  "to display thumbnails of your posts. This attribute sets the width for "
889
  "permite, podr&aacute;s mostrar miniaturas de tus entradas. Este atributo "
890
  "configura el ancho de tus miniaturas"
891
 
892
+ #: ../admin/partials/admin.php:870
893
  msgid ""
894
  "If set, and if your current server configuration allows it, you will be able "
895
  "to display thumbnails of your posts. This attribute sets the height for "
899
  "permite, podr&aacute;s mostrar miniaturas de tus entradas. Este atributo "
900
  "configura el alto de tus miniaturas"
901
 
902
+ #: ../admin/partials/admin.php:877
903
  msgid ""
904
  "If set, and if the WP-PostRatings plugin is installed and enabled on your "
905
  "blog, WordPress Popular Posts will show how your visitors are rating your "
909
  "habilitado en tu blog, WordPress Popular Posts mostrar&aacute; como tus "
910
  "visitantes han calificado a tus entradas"
911
 
912
+ #: ../admin/partials/admin.php:884
913
  msgid ""
914
  "If set, WordPress Popular Posts will show how many comments each popular "
915
  "post has got during the specified time range"
918
  "comentarios ha obtenido cada entrada popular dentro del rango de tiempo "
919
  "especificado"
920
 
921
+ #: ../admin/partials/admin.php:891
922
  msgid ""
923
  "If set, WordPress Popular Posts will show how many views each popular post "
924
  "has got during the specified time range"
927
  "vistas ha obtenido cada entrada popular dentro del rango de tiempo "
928
  "especificado"
929
 
930
+ #: ../admin/partials/admin.php:898
931
  msgid ""
932
  "If set, WordPress Popular Posts will show who published each popular post on "
933
  "the list"
935
  "Si se configura, WordPress Popular Posts mostrar&aacute; qui&eacute;n "
936
  "public&oacute; cada entrada popular de la lista"
937
 
938
+ #: ../admin/partials/admin.php:905
939
  msgid ""
940
  "If set, WordPress Popular Posts will display the date when each popular post "
941
  "on the list was published"
943
  "Si se tilda, WordPress Popular Posts mostrar&aacute; la fecha en la que fue "
944
  "publicada cada entrada popular"
945
 
946
+ #: ../admin/partials/admin.php:912
947
  msgid "Sets the date format"
948
  msgstr "Configura el formato de la fecha"
949
 
950
+ #: ../admin/partials/admin.php:919
951
  msgid ""
952
  "If set, WordPress Popular Posts will display the categories associated to "
953
  "each entry"
955
  "Si se tilda, WordPress Popular Posts mostrar&aacute; las categor&iacute;as "
956
  "asociadas a cada entrada"
957
 
958
+ #: ../admin/partials/admin.php:926
959
  msgid ""
960
  "If set, WordPress Popular Posts will display the taxonomies associated to "
961
  "each entry"
963
  "Si se tilda, WordPress Popular Posts mostrar&aacute; las taxonom&iacute;as "
964
  "asociadas a cada entrada"
965
 
966
+ #: ../admin/partials/admin.php:933
967
  msgid "Sets the opening tag for the listing"
968
  msgstr "Configura la etiqueta de apertura del listado"
969
 
970
+ #: ../admin/partials/admin.php:940
971
  msgid "Sets the closing tag for the listing"
972
  msgstr "Configura la etiqueta de cierre del listado"
973
 
974
+ #: ../admin/partials/admin.php:947
975
  msgid "Sets the HTML structure of each post"
976
  msgstr "Configura la estructura HTML de cada entrada"
977
 
978
+ #: ../admin/partials/admin.php:948
979
  msgid "Text string, custom HTML"
980
  msgstr "Texto, HTML personalizado"
981
 
982
+ #: ../admin/partials/admin.php:948
983
  msgid "Available Content Tags"
984
  msgstr "Content Tags disponibles"
985
 
986
+ #: ../admin/partials/admin.php:948
987
  msgid ""
988
  "returns thumbnail linked to post/page, requires thumbnail_width & "
989
  "thumbnail_height"
991
  "devuelve la miniatura con un link hacia la entrada/p&aacute;gina, requiere "
992
  "thumbnail_width & thumbnail_height"
993
 
994
+ #: ../admin/partials/admin.php:948
995
  msgid ""
996
  "returns thumbnail image without linking to post/page, requires "
997
  "thumbnail_width & thumbnail_height"
999
  "devuelve la miniatura sin link hacia la entrada/p&aacute;gina, requiere "
1000
  "thumbnail_width & thumbnail_height"
1001
 
1002
+ #: ../admin/partials/admin.php:948
1003
  msgid "returns thumbnail url, requires thumbnail_width & thumbnail_height"
1004
  msgstr ""
1005
  "devuelve la url de la miniatura, requires thumbnail_width & thumbnail_height"
1006
 
1007
+ #: ../admin/partials/admin.php:948
1008
  msgid "returns linked post/page title"
1009
  msgstr "devuelve el t&iacute;tulo de la entrada/p&aacute;gina con enlace"
1010
 
1011
+ #: ../admin/partials/admin.php:948
1012
  msgid "returns the post/page ID"
1013
  msgstr "devuelve la URL de la entrada/p&aacute;gina"
1014
 
1015
+ #: ../admin/partials/admin.php:948
1016
  msgid ""
1017
  "returns post/page excerpt, and requires excerpt_length to be greater than 0"
1018
  msgstr ""
1019
  "devuelve el resumen de la entrada/p&aacute;gina, requiere que excerpt_length "
1020
  "sea mayor a 0"
1021
 
1022
+ #: ../admin/partials/admin.php:948
1023
  msgid "returns the default stats tags"
1024
  msgstr "devuelve el stats tag por defecto"
1025
 
1026
+ #: ../admin/partials/admin.php:948
1027
  msgid ""
1028
  "returns post/page current rating, requires WP-PostRatings installed and "
1029
  "enabled"
1031
  "devuelve el rating actual de la entrada/p&aacute;gina, requiere que WP-"
1032
  "PostRatings est&eacute; instalado y activo"
1033
 
1034
+ #: ../admin/partials/admin.php:948
1035
  msgid ""
1036
  "returns post/page current rating as an integer, requires WP-PostRatings "
1037
  "installed and enabled"
1039
  "devuelve el rating actual de la entrada/p&aacute;gina como un entero, "
1040
  "requiere que WP-PostRatings est&eacute; instalado y activo"
1041
 
1042
+ #: ../admin/partials/admin.php:948
1043
  msgid "returns the URL of the post/page"
1044
  msgstr "devuelve la URL de la entrada/p&aacute;gina"
1045
 
1046
+ #: ../admin/partials/admin.php:948
1047
  msgid "returns post/page title, no link"
1048
  msgstr "devuelve el t&iacute;tulo de la entrada/p&aacute;gina, sin enlace"
1049
 
1050
+ #: ../admin/partials/admin.php:948
1051
  msgid "returns linked author name, requires stats_author=1"
1052
  msgstr "devuelve el nombre del autor con enlace, requiere stats_author=1"
1053
 
1054
+ #: ../admin/partials/admin.php:948
1055
  msgid "returns linked category name, requires stats_category=1"
1056
  msgstr ""
1057
  "devuelve el nombre de la categor&iacute;a con enlace, requiere "
1058
  "stats_category=1"
1059
 
1060
+ #: ../admin/partials/admin.php:948
1061
  msgid "returns linked taxonomy names, requires stats_taxonomy=1"
1062
  msgstr ""
1063
  "devuelve los nombres de las taxonomi&iacute;as con enlace, requiere "
1064
  "stats_taxonomy=1"
1065
 
1066
+ #: ../admin/partials/admin.php:948
1067
  msgid "returns views count only, no text"
1068
  msgstr "devuelve el n&uacute;mero de vistas, sin texto adicional"
1069
 
1070
+ #: ../admin/partials/admin.php:948
1071
  msgid "returns comments count only, no text, requires stats_comments=1"
1072
  msgstr ""
1073
  "devuelve el n&uacute;mero de comentarios, sin texto adicional, requiere "
1074
  "stats_comments=1"
1075
 
1076
+ #: ../admin/partials/admin.php:948
1077
  msgid "returns post/page date, requires stats_date=1"
1078
  msgstr "devuelve la fecha de la entrada/p&aacute;gina, requiere stats_date=1"
1079
 
1080
+ #: ../includes/class-wordpress-popular-posts-output.php:128
1081
  msgid "Sorry. No data so far."
1082
  msgstr "Lo lamentamos. No hay nada que mostrar a&uacute;n."
1083
 
1084
+ #: ../includes/class-wordpress-popular-posts-output.php:519
1085
  #, php-format
1086
  msgid "%s ago"
1087
  msgstr "hace %s"
1088
 
1089
+ #: ../includes/class-wordpress-popular-posts-output.php:736
1090
  #, php-format
1091
  msgid "1 view per day"
1092
  msgid_plural "%s views per day"
1093
  msgstr[0] "1 vista por d&iacute;a"
1094
  msgstr[1] "%s vistas por d&iacute;a"
1095
 
1096
+ #: ../includes/class-wordpress-popular-posts-output.php:765
1097
  #, php-format
1098
  msgid "by %s"
1099
  msgstr "por %s"
1100
 
1101
+ #: ../includes/class-wordpress-popular-posts-output.php:771
1102
  #, php-format
1103
  msgid "posted %s"
1104
  msgstr "publicado %s"
1105
 
1106
+ #: ../includes/class-wordpress-popular-posts-output.php:771
1107
  #, php-format
1108
  msgid "posted on %s"
1109
  msgstr "publicado el %s"
1110
 
1111
+ #: ../includes/class-wordpress-popular-posts-output.php:780
1112
  #, php-format
1113
  msgid "under %s"
1114
  msgstr "bajo %s"
1115
 
1116
+ #: ../includes/class-wordpress-popular-posts-rest-controller.php:305
1117
+ msgid "Return popular posts from specified custom post type(s)."
1118
+ msgstr ""
1119
+ "Devuelve entradas populares de los custom post type(s) especificado(s)."
1120
+
1121
+ #: ../includes/class-wordpress-popular-posts-rest-controller.php:312
1122
+ msgid "The maximum number of popular posts to return."
1123
+ msgstr "El m&aacute;ximo n&uacute;mero de entradas populares a devolver."
1124
+
1125
+ #: ../includes/class-wordpress-popular-posts-rest-controller.php:320
1126
+ msgid ""
1127
+ "Retrieve the most popular entries published within the specified time range."
1128
+ msgstr ""
1129
+ "Devuelve las entradas m&aacute;s populares publicadas en el rango de tiempo "
1130
+ "especificado."
1131
+
1132
+ #: ../includes/class-wordpress-popular-posts-rest-controller.php:328
1133
+ msgid "An offset point for the collection."
1134
+ msgstr "Punto de offset para la colecci&oacute;n."
1135
+
1136
+ #: ../includes/class-wordpress-popular-posts-rest-controller.php:336
1137
+ msgid "Set the sorting option of the popular posts."
1138
+ msgstr "Configura el ordenado de las entradas populares."
1139
+
1140
+ #: ../includes/class-wordpress-popular-posts-rest-controller.php:344
1141
+ msgid "Return posts from a specified time range."
1142
+ msgstr "Devuelve entradas de un rango de tiempo especificado."
1143
+
1144
+ #: ../includes/class-wordpress-popular-posts-rest-controller.php:352
1145
+ msgid "Especifies the time unit of the custom time range."
1146
+ msgstr "Especifica la unidad de tiempo del rango de tiempo personalizado."
1147
+
1148
+ #: ../includes/class-wordpress-popular-posts-rest-controller.php:360
1149
+ msgid "Especifies the number of time units of the custom time range."
1150
+ msgstr ""
1151
+ "Especifica el n&uacute;mero de unidades de tiempo del rango de tiempo "
1152
+ "personalizado."
1153
+
1154
+ #: ../includes/class-wordpress-popular-posts-rest-controller.php:368
1155
+ msgid "Post IDs to exclude."
1156
+ msgstr "ID(s) de Entrada(s) a excluir."
1157
+
1158
+ #: ../includes/class-wordpress-popular-posts-rest-controller.php:376
1159
+ msgid "Include posts in a specified taxonomy."
1160
+ msgstr "Incluye entradas de una taxonom&iacute;a espec&iacute;fica."
1161
+
1162
+ #: ../includes/class-wordpress-popular-posts-rest-controller.php:384
1163
+ msgid "Taxonomy IDs, separated by comma (prefix a minus sign to exclude)."
1164
+ msgstr ""
1165
+ "IDs de taxonom&iacute;a separados por comma (agrega un s&iacute;mbolo "
1166
+ "negativo para excluir)."
1167
+
1168
+ #: ../includes/class-wordpress-popular-posts-rest-controller.php:392
1169
+ msgid "Author ID(s)."
1170
+ msgstr "ID(s) de Autor(es)."
1171
+
1172
+ #: ../includes/class-wordpress-popular-posts-rest-controller.php:412
1173
+ msgid "Security nonce."
1174
+ msgstr "Nonce de seguridad."
1175
+
1176
+ #: ../includes/class-wordpress-popular-posts-rest-controller.php:418
1177
+ #: ../includes/class-wordpress-popular-posts-rest-controller.php:451
1178
+ msgid "The post / page ID."
1179
+ msgstr "El ID de la entrada / p&aacute;gina."
1180
+
1181
+ #: ../includes/class-wordpress-popular-posts-rest-controller.php:425
1182
+ msgid "Enables Data Sampling."
1183
+ msgstr "Habilita el Sampleo de Datos."
1184
+
1185
+ #: ../includes/class-wordpress-popular-posts-rest-controller.php:432
1186
+ msgid "Sets the Sampling Rate."
1187
+ msgstr "Configura la rata de sampleo."
1188
+
1189
  #: ../includes/class-wordpress-popular-posts-widget.php:21
1190
  msgid "The most Popular Posts on your blog."
1191
  msgstr "Las entradas m&aacute;s populares en tu blog."
1192
 
1193
+ #: ../includes/class-wordpress-popular-posts-widget.php:92
1194
  #, php-format
1195
  msgid ""
1196
  "Error: cannot ajaxify WordPress Popular Posts on this theme. It's missing "
1201
  "el atributo <em>id</em> en before_widget (ver <a href=\"%s\" target=\"_blank"
1202
  "\" rel=\"nofollow\">register_sidebar</a> para m&aacute;s detalles)"
1203
 
 
 
 
 
1204
  #: ../includes/widget-form.php:3
1205
  msgid "Title"
1206
  msgstr "T&iacute;tulo"
1233
  msgid "Time Range"
1234
  msgstr "Rango de Tiempo"
1235
 
 
 
 
 
 
 
 
 
 
 
 
 
1236
  #: ../includes/widget-form.php:33
1237
  msgid "All-time"
1238
  msgstr "Todos los tiempos"
1239
 
 
 
 
 
1240
  #: ../includes/widget-form.php:50
1241
  msgid "Post type(s)"
1242
  msgstr "Post type(s)"
1371
  msgid "Post HTML Markup"
1372
  msgstr "Markup HTML de la entrada"
1373
 
1374
+ #~ msgid "Upload"
1375
+ #~ msgstr "Subir"
1376
+
1377
+ #~ msgid ""
1378
+ #~ "How-to: upload (or select) an image, set Size to Full and click on "
1379
+ #~ "Upload. After it's done, hit on Apply to save changes"
1380
+ #~ msgstr ""
1381
+ #~ "Tutorial: sube (o selecciona) una imagen, selecciona Tama&ntilde;o "
1382
+ #~ "Completo y haz clic en Subir. Cuando termine, dale a Aplicar para guardar "
1383
+ #~ "los cambios"
1384
+
1385
+ #~ msgid "Responsive support"
1386
+ #~ msgstr "Soporte Responsive"
1387
+
1388
+ #~ msgid ""
1389
+ #~ "If enabled, WordPress Popular Posts will strip height and width "
1390
+ #~ "attributes out of thumbnails' image tags"
1391
+ #~ msgstr ""
1392
+ #~ "Si se activa, WordPress Popular Posts quitar&aacute; los atributos height "
1393
+ #~ "y width de las etiquetas image de las miniaturas"
1394
+
1395
+ #~ msgid "Loading..."
1396
+ #~ msgstr "Cargando..."
1397
+
1398
  #~ msgid "About"
1399
  #~ msgstr "Acerca de"
1400
 
languages/wordpress-popular-posts.pot CHANGED
@@ -5,7 +5,7 @@ msgid ""
5
  msgstr ""
6
  "Project-Id-Version: WordPress Popular Posts\n"
7
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/wordpress-popular-posts\n"
8
- "POT-Creation-Date: 2017-10-23 17:44-0400\n"
9
  "PO-Revision-Date: 2015-04-24 13:30-0430\n"
10
  "Last-Translator: Héctor Cabrera <hcabrerab@gmail.com>\n"
11
  "Language-Team: Héctor Cabrera <me@cabrerahector.com>\n"
@@ -14,7 +14,7 @@ msgstr ""
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 2.0.4\n"
18
  "X-Poedit-KeywordsList: _e;__;__ngettext;__ngettext_noop;_n_noop;_x;_nx;_nx_noop;_ex;"
19
  "esc_attr__;esc_attr_e;esc_attr_x;esc_html__;esc_html_e;esc_html_x;_c;_nc;_n:1,2\n"
20
  "X-Poedit-Basepath: .\n"
@@ -22,94 +22,101 @@ msgstr ""
22
  "X-Poedit-SearchPath-0: .\n"
23
  "X-Poedit-SearchPath-1: ..\n"
24
 
25
- #: ../admin/class-wordpress-popular-posts-admin.php:221
26
- msgid "Upload"
 
 
 
 
 
 
 
27
  msgstr ""
28
 
29
- #: ../admin/class-wordpress-popular-posts-admin.php:238
30
  msgid "Overview"
31
  msgstr ""
32
 
33
- #: ../admin/class-wordpress-popular-posts-admin.php:239
34
  msgid ""
35
  "Welcome to WordPress Popular Posts' Dashboard! In this screen you will find statistics "
36
  "on what's popular on your site, tools to further tweak WPP to your needs, and more!"
37
  msgstr ""
38
 
39
- #: ../admin/class-wordpress-popular-posts-admin.php:245
40
  msgid "Like this plugin?"
41
  msgstr ""
42
 
43
- #: ../admin/class-wordpress-popular-posts-admin.php:247
44
  msgid ""
45
  "Each donation motivates me to keep releasing free stuff for the WordPress community!"
46
  msgstr ""
47
 
48
- #: ../admin/class-wordpress-popular-posts-admin.php:254
49
  #, php-format
50
  msgid "You can <a href=\"%s\" target=\"_blank\">leave a review</a>, too!"
51
  msgstr ""
52
 
53
- #: ../admin/class-wordpress-popular-posts-admin.php:263
54
  #, php-format
55
  msgid ""
56
  "<p><strong>For more information:</strong></p><ul><li><a href=\"%1$s\">Documentation</"
57
  "a></li><li><a href=\"%2$s\">Support</a></li></ul>"
58
  msgstr ""
59
 
60
- #: ../admin/class-wordpress-popular-posts-admin.php:633
61
- #: ../admin/class-wordpress-popular-posts-admin.php:752 ../admin/partials/admin.php:411
62
  #: ../admin/partials/admin.php:458
63
- #: ../includes/class-wordpress-popular-posts-output.php:720
64
  #, php-format
65
  msgid "1 view"
66
  msgid_plural "%s views"
67
  msgstr[0] ""
68
  msgstr[1] ""
69
 
70
- #: ../admin/class-wordpress-popular-posts-admin.php:633
71
- #: ../admin/class-wordpress-popular-posts-admin.php:807 ../admin/partials/admin.php:411
72
  #: ../admin/partials/admin.php:458
73
- #: ../includes/class-wordpress-popular-posts-output.php:701
74
  #, php-format
75
  msgid "1 comment"
76
  msgid_plural "%s comments"
77
  msgstr[0] ""
78
  msgstr[1] ""
79
 
80
- #: ../admin/class-wordpress-popular-posts-admin.php:665 ../includes/widget-form.php:17
81
  msgid "Comments"
82
  msgstr ""
83
 
84
- #: ../admin/class-wordpress-popular-posts-admin.php:669
85
  msgid "Views"
86
  msgstr ""
87
 
88
- #: ../admin/class-wordpress-popular-posts-admin.php:753
89
- #: ../admin/class-wordpress-popular-posts-admin.php:808 ../admin/partials/admin.php:412
90
  #: ../admin/partials/admin.php:459
91
  msgid "View"
92
  msgstr ""
93
 
94
- #: ../admin/class-wordpress-popular-posts-admin.php:753
95
- #: ../admin/class-wordpress-popular-posts-admin.php:808 ../admin/partials/admin.php:412
96
  #: ../admin/partials/admin.php:459
97
  msgid "Edit"
98
  msgstr ""
99
 
100
- #: ../admin/class-wordpress-popular-posts-admin.php:764
101
- #: ../admin/class-wordpress-popular-posts-admin.php:819 ../admin/partials/admin.php:423
102
  #: ../admin/partials/admin.php:470
103
  msgid ""
104
  "Looks like traffic to your site is a little light right now. <br />Spread the word and "
105
  "come back later!"
106
  msgstr ""
107
 
108
- #: ../admin/class-wordpress-popular-posts-admin.php:887
109
  msgid "Settings"
110
  msgstr ""
111
 
112
- #: ../admin/class-wordpress-popular-posts-admin.php:1261
113
  #, php-format
114
  msgid ""
115
  "Your PHP installation is too old. WordPress Popular Posts requires at least PHP "
@@ -117,34 +124,34 @@ msgid ""
117
  "to upgrade PHP to %1$s or higher."
118
  msgstr ""
119
 
120
- #: ../admin/class-wordpress-popular-posts-admin.php:1268
121
  #, php-format
122
  msgid ""
123
  "Your WordPress version is too old. WordPress Popular Posts requires at least WordPress "
124
  "version %1$s to function correctly. Please update your blog via Dashboard &gt; Update."
125
  msgstr ""
126
 
127
- #: ../admin/class-wordpress-popular-posts-admin.php:1293
128
  #, php-format
129
  msgid ""
130
  "<div class=\"notice notice-error\"><p>%1$s</p><p><i>%2$s</i> has been "
131
  "<strong>deactivated</strong>.</p></div>"
132
  msgstr ""
133
 
134
- #: ../admin/partials/admin.php:6 ../admin/partials/admin.php:255
135
  msgid "Stats"
136
  msgstr ""
137
 
138
- #: ../admin/partials/admin.php:7 ../admin/partials/admin.php:256
139
  msgid "Tools"
140
  msgstr ""
141
 
142
- #: ../admin/partials/admin.php:8 ../admin/partials/admin.php:257
143
  msgid "Parameters"
144
  msgstr ""
145
 
146
  #: ../admin/partials/admin.php:33 ../admin/partials/admin.php:48
147
- #: ../admin/partials/admin.php:72 ../admin/partials/admin.php:113
148
  msgid "Settings saved."
149
  msgstr ""
150
 
@@ -152,124 +159,144 @@ msgstr ""
152
  msgid "Please provide the name of your custom field."
153
  msgstr ""
154
 
155
- #: ../admin/partials/admin.php:121
156
  msgid ""
157
  "Any changes made to WPP's default stylesheet will be lost after every plugin update. "
158
  "In order to prevent this from happening, please copy the wpp.css file (located at wp-"
159
  "content/plugins/wordpress-popular-posts/style) into your theme's directory"
160
  msgstr ""
161
 
162
- #: ../admin/partials/admin.php:136
163
  msgid ""
164
  "This operation will delete all entries from WordPress Popular Posts' cache table and "
165
  "cannot be undone."
166
  msgstr ""
167
 
168
- #: ../admin/partials/admin.php:136 ../admin/partials/admin.php:175
169
- #: ../admin/partials/admin.php:214
170
  msgid "Do you want to continue?"
171
  msgstr ""
172
 
173
- #: ../admin/partials/admin.php:148
174
  msgid "Success! The cache table has been cleared!"
175
  msgstr ""
176
 
177
- #: ../admin/partials/admin.php:152
178
  msgid "Error: cache table does not exist."
179
  msgstr ""
180
 
181
- #: ../admin/partials/admin.php:156 ../admin/partials/admin.php:164
182
- #: ../admin/partials/admin.php:195 ../admin/partials/admin.php:203
183
- #: ../admin/partials/admin.php:233 ../admin/partials/admin.php:241
184
  msgid "Invalid action."
185
  msgstr ""
186
 
187
- #: ../admin/partials/admin.php:160 ../admin/partials/admin.php:199
188
- #: ../admin/partials/admin.php:237
189
  msgid ""
190
  "Sorry, you do not have enough permissions to do this. Please contact the site "
191
  "administrator for support."
192
  msgstr ""
193
 
194
- #: ../admin/partials/admin.php:175
195
  msgid ""
196
  "This operation will delete all stored info from WordPress Popular Posts' data tables "
197
  "and cannot be undone."
198
  msgstr ""
199
 
200
- #: ../admin/partials/admin.php:187
201
  msgid "Success! All data have been cleared!"
202
  msgstr ""
203
 
204
- #: ../admin/partials/admin.php:191
205
  msgid "Error: one or both data tables are missing."
206
  msgstr ""
207
 
208
- #: ../admin/partials/admin.php:214
209
  msgid "This operation will delete all cached thumbnails and cannot be undone."
210
  msgstr ""
211
 
212
- #: ../admin/partials/admin.php:225
213
  msgid "Success! All files have been deleted!"
214
  msgstr ""
215
 
216
- #: ../admin/partials/admin.php:229
217
  msgid "The thumbnail cache is already empty!"
218
  msgstr ""
219
 
220
- #: ../admin/partials/admin.php:254
221
  msgid "Menu"
222
  msgstr ""
223
 
224
- #: ../admin/partials/admin.php:282
225
  msgid "Post type"
226
  msgstr ""
227
 
228
- #: ../admin/partials/admin.php:285
229
  msgid "Limit"
230
  msgstr ""
231
 
232
- #: ../admin/partials/admin.php:288 ../includes/widget-form.php:48
233
  msgid "Display only posts published within the selected Time Range"
234
  msgstr ""
235
 
236
- #: ../admin/partials/admin.php:294 ../admin/partials/admin.php:332
237
- #: ../admin/partials/admin.php:551 ../admin/partials/admin.php:655
238
- #: ../admin/partials/admin.php:694
239
  msgid "Apply"
240
  msgstr ""
241
 
242
- #: ../admin/partials/admin.php:295 ../admin/partials/admin.php:335
243
  msgid "Cancel"
244
  msgstr ""
245
 
246
- #: ../admin/partials/admin.php:308
247
  msgid "Custom Time Range"
248
  msgstr ""
249
 
250
- #: ../admin/partials/admin.php:309
251
  msgid "Date Range"
252
  msgstr ""
253
 
254
- #: ../admin/partials/admin.php:317 ../admin/partials/admin.php:621
255
  #: ../includes/widget-form.php:41
256
  msgid "Minute(s)"
257
  msgstr ""
258
 
259
- #: ../admin/partials/admin.php:318 ../admin/partials/admin.php:622
260
  #: ../includes/widget-form.php:42
261
  msgid "Hour(s)"
262
  msgstr ""
263
 
264
- #: ../admin/partials/admin.php:319 ../admin/partials/admin.php:623
265
  #: ../includes/widget-form.php:43
266
  msgid "Day(s)"
267
  msgstr ""
268
 
269
- #: ../admin/partials/admin.php:325
270
  msgid "Select a date..."
271
  msgstr ""
272
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
273
  #: ../admin/partials/admin.php:354
274
  #, php-format
275
  msgid ""
@@ -278,6 +305,22 @@ msgid ""
278
  "browser</a>."
279
  msgstr ""
280
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
281
  #: ../admin/partials/admin.php:480
282
  msgid "Thumbnails"
283
  msgstr ""
@@ -287,13 +330,11 @@ msgid "Default thumbnail"
287
  msgstr ""
288
 
289
  #: ../admin/partials/admin.php:490
290
- msgid "Upload thumbnail"
291
  msgstr ""
292
 
293
  #: ../admin/partials/admin.php:492
294
- msgid ""
295
- "How-to: upload (or select) an image, set Size to Full and click on Upload. After it's "
296
- "done, hit on Apply to save changes"
297
  msgstr ""
298
 
299
  #: ../admin/partials/admin.php:496
@@ -336,131 +377,120 @@ msgstr ""
336
  msgid "Yes"
337
  msgstr ""
338
 
339
- #: ../admin/partials/admin.php:524
340
- msgid "Responsive support"
341
- msgstr ""
342
-
343
- #: ../admin/partials/admin.php:527 ../admin/partials/admin.php:597
344
- #: ../admin/partials/admin.php:637 ../admin/partials/admin.php:684
345
- msgid "Enabled"
346
- msgstr ""
347
-
348
- #: ../admin/partials/admin.php:528 ../admin/partials/admin.php:581
349
- #: ../admin/partials/admin.php:596 ../admin/partials/admin.php:636
350
- #: ../admin/partials/admin.php:685
351
- msgid "Disabled"
352
- msgstr ""
353
-
354
- #: ../admin/partials/admin.php:531
355
- msgid ""
356
- "If enabled, WordPress Popular Posts will strip height and width attributes out of "
357
- "thumbnails' image tags"
358
- msgstr ""
359
-
360
- #: ../admin/partials/admin.php:541
361
  msgid "Empty image cache"
362
  msgstr ""
363
 
364
- #: ../admin/partials/admin.php:542
365
  msgid "Use this button to clear WPP's thumbnails cache"
366
  msgstr ""
367
 
368
- #: ../admin/partials/admin.php:562
369
  msgid "Data"
370
  msgstr ""
371
 
372
- #: ../admin/partials/admin.php:567
373
  msgid "Log views from"
374
  msgstr ""
375
 
376
- #: ../admin/partials/admin.php:570
377
  msgid "Visitors only"
378
  msgstr ""
379
 
380
- #: ../admin/partials/admin.php:571
381
  msgid "Logged-in users only"
382
  msgstr ""
383
 
384
- #: ../admin/partials/admin.php:572
385
  msgid "Everyone"
386
  msgstr ""
387
 
388
- #: ../admin/partials/admin.php:578
389
  msgid "Log limit"
390
  msgstr ""
391
 
392
- #: ../admin/partials/admin.php:582
 
 
 
 
 
393
  msgid "Keep data for"
394
  msgstr ""
395
 
396
- #: ../admin/partials/admin.php:585
397
  msgid "day(s)"
398
  msgstr ""
399
 
400
- #: ../admin/partials/admin.php:587
401
  msgid "Data older than the specified time frame will be automatically discarded"
402
  msgstr ""
403
 
404
- #: ../admin/partials/admin.php:593
405
  msgid "Ajaxify widget"
406
  msgstr ""
407
 
408
- #: ../admin/partials/admin.php:601
 
 
 
 
 
409
  msgid ""
410
  "If you are using a caching plugin such as WP Super Cache, enabling this feature will "
411
  "keep the popular list from being cached by it"
412
  msgstr ""
413
 
414
- #: ../admin/partials/admin.php:605
415
  msgid "WPP Cache Expiry Policy"
416
  msgstr ""
417
 
418
- #: ../admin/partials/admin.php:605 ../admin/partials/admin.php:633
419
  #: ../includes/widget-form.php:3 ../includes/widget-form.php:50
420
  #: ../includes/widget-form.php:56 ../includes/widget-form.php:75
421
  #: ../includes/widget-form.php:85 ../includes/widget-form.php:177
422
  msgid "What is this?"
423
  msgstr ""
424
 
425
- #: ../admin/partials/admin.php:608
426
  msgid "Never cache"
427
  msgstr ""
428
 
429
- #: ../admin/partials/admin.php:609
430
  msgid "Enable caching"
431
  msgstr ""
432
 
433
- #: ../admin/partials/admin.php:613
434
  msgid ""
435
  "Sets WPP's cache expiration time. WPP can cache the popular list for a specified "
436
  "amount of time. Recommended for large / high traffic sites"
437
  msgstr ""
438
 
439
- #: ../admin/partials/admin.php:617
440
  msgid "Refresh cache every"
441
  msgstr ""
442
 
443
- #: ../admin/partials/admin.php:624
444
  msgid "Week(s)"
445
  msgstr ""
446
 
447
- #: ../admin/partials/admin.php:625
448
  msgid "Month(s)"
449
  msgstr ""
450
 
451
- #: ../admin/partials/admin.php:626
452
  msgid "Year(s)"
453
  msgstr ""
454
 
455
- #: ../admin/partials/admin.php:629
456
  msgid "Really? That long?"
457
  msgstr ""
458
 
459
- #: ../admin/partials/admin.php:633
460
  msgid "Data Sampling"
461
  msgstr ""
462
 
463
- #: ../admin/partials/admin.php:641
464
  #, php-format
465
  msgid ""
466
  "By default, WordPress Popular Posts stores in database every single visit your site "
@@ -471,45 +501,45 @@ msgid ""
471
  "(for more, <a href=\"%2$s\" target=\"_blank\">please read here</a>)"
472
  msgstr ""
473
 
474
- #: ../admin/partials/admin.php:645
475
  msgid "Sample Rate"
476
  msgstr ""
477
 
478
- #: ../admin/partials/admin.php:649
479
  #, php-format
480
  msgid ""
481
  "A sampling rate of %d is recommended for large / high traffic sites. For lower traffic "
482
  "sites, you should lower the value"
483
  msgstr ""
484
 
485
- #: ../admin/partials/admin.php:666
486
  msgid "Miscellaneous"
487
  msgstr ""
488
 
489
- #: ../admin/partials/admin.php:671
490
  msgid "Open links in"
491
  msgstr ""
492
 
493
- #: ../admin/partials/admin.php:674
494
  msgid "Current window"
495
  msgstr ""
496
 
497
- #: ../admin/partials/admin.php:675
498
  msgid "New tab/window"
499
  msgstr ""
500
 
501
- #: ../admin/partials/admin.php:681
502
  msgid "Use plugin's stylesheet"
503
  msgstr ""
504
 
505
- #: ../admin/partials/admin.php:688
506
  msgid ""
507
  "By default, the plugin includes a stylesheet called wpp.css which you can use to style "
508
  "your popular posts listing. If you wish to use your own stylesheet or do not want it "
509
  "to have it included in the header section of your site, use this."
510
  msgstr ""
511
 
512
- #: ../admin/partials/admin.php:707
513
  msgid ""
514
  "WordPress Popular Posts maintains data in two separate tables: one for storing the "
515
  "most popular entries on a daily basis (from now on, \"cache\"), and another one to "
@@ -518,23 +548,23 @@ msgid ""
518
  "tables, please use the buttons below to do so."
519
  msgstr ""
520
 
521
- #: ../admin/partials/admin.php:708
522
  msgid "Empty cache"
523
  msgstr ""
524
 
525
- #: ../admin/partials/admin.php:708
526
  msgid "Use this button to manually clear entries from WPP cache only"
527
  msgstr ""
528
 
529
- #: ../admin/partials/admin.php:709
530
  msgid "Clear all data"
531
  msgstr ""
532
 
533
- #: ../admin/partials/admin.php:709
534
  msgid "Use this button to manually clear entries from all WPP data tables"
535
  msgstr ""
536
 
537
- #: ../admin/partials/admin.php:716
538
  #, php-format
539
  msgid ""
540
  "With the following parameters you can customize the popular posts list when using "
@@ -542,384 +572,449 @@ msgid ""
542
  "\"%2$s\">[wpp] shortcode</a>."
543
  msgstr ""
544
 
545
- #: ../admin/partials/admin.php:724
546
  msgid "Parameter"
547
  msgstr ""
548
 
549
- #: ../admin/partials/admin.php:725
550
  msgid "What it does "
551
  msgstr ""
552
 
553
- #: ../admin/partials/admin.php:726
554
  msgid "Possible values"
555
  msgstr ""
556
 
557
- #: ../admin/partials/admin.php:727
558
  msgid "Defaults to"
559
  msgstr ""
560
 
561
- #: ../admin/partials/admin.php:728
562
  msgid "Example"
563
  msgstr ""
564
 
565
- #: ../admin/partials/admin.php:734
566
  msgid "Sets a heading for the list"
567
  msgstr ""
568
 
569
- #: ../admin/partials/admin.php:735 ../admin/partials/admin.php:742
570
- #: ../admin/partials/admin.php:749 ../admin/partials/admin.php:798
571
- #: ../admin/partials/admin.php:805 ../admin/partials/admin.php:812
572
- #: ../admin/partials/admin.php:819 ../admin/partials/admin.php:826
573
- #: ../admin/partials/admin.php:833 ../admin/partials/admin.php:924
574
- #: ../admin/partials/admin.php:945 ../admin/partials/admin.php:952
575
  msgid "Text string"
576
  msgstr ""
577
 
578
- #: ../admin/partials/admin.php:736 ../admin/partials/admin.php:806
579
- #: ../admin/partials/admin.php:813 ../admin/partials/admin.php:820
580
- #: ../admin/partials/admin.php:827 ../admin/partials/admin.php:834
581
  msgid "None"
582
  msgstr ""
583
 
584
- #: ../admin/partials/admin.php:737 ../admin/partials/admin.php:744
585
- #: ../admin/partials/admin.php:751 ../admin/partials/admin.php:758
586
- #: ../admin/partials/admin.php:765 ../admin/partials/admin.php:772
587
- #: ../admin/partials/admin.php:779 ../admin/partials/admin.php:786
588
- #: ../admin/partials/admin.php:793 ../admin/partials/admin.php:800
589
- #: ../admin/partials/admin.php:807 ../admin/partials/admin.php:814
590
- #: ../admin/partials/admin.php:821 ../admin/partials/admin.php:828
591
- #: ../admin/partials/admin.php:835 ../admin/partials/admin.php:842
592
- #: ../admin/partials/admin.php:849 ../admin/partials/admin.php:856
593
- #: ../admin/partials/admin.php:863 ../admin/partials/admin.php:870
594
- #: ../admin/partials/admin.php:877 ../admin/partials/admin.php:884
595
- #: ../admin/partials/admin.php:891 ../admin/partials/admin.php:898
596
- #: ../admin/partials/admin.php:905 ../admin/partials/admin.php:912
597
- #: ../admin/partials/admin.php:919 ../admin/partials/admin.php:926
598
- #: ../admin/partials/admin.php:933 ../admin/partials/admin.php:940
599
- #: ../admin/partials/admin.php:947 ../admin/partials/admin.php:954
600
- #: ../admin/partials/admin.php:961
601
  msgid "With wpp_get_mostpopular():"
602
  msgstr ""
603
 
604
- #: ../admin/partials/admin.php:737 ../admin/partials/admin.php:744
605
- #: ../admin/partials/admin.php:751 ../admin/partials/admin.php:758
606
- #: ../admin/partials/admin.php:765 ../admin/partials/admin.php:772
607
- #: ../admin/partials/admin.php:779 ../admin/partials/admin.php:786
608
- #: ../admin/partials/admin.php:793 ../admin/partials/admin.php:800
609
- #: ../admin/partials/admin.php:807 ../admin/partials/admin.php:814
610
- #: ../admin/partials/admin.php:821 ../admin/partials/admin.php:828
611
- #: ../admin/partials/admin.php:835 ../admin/partials/admin.php:842
612
- #: ../admin/partials/admin.php:849 ../admin/partials/admin.php:856
613
- #: ../admin/partials/admin.php:863 ../admin/partials/admin.php:870
614
- #: ../admin/partials/admin.php:877 ../admin/partials/admin.php:884
615
- #: ../admin/partials/admin.php:891 ../admin/partials/admin.php:898
616
- #: ../admin/partials/admin.php:905 ../admin/partials/admin.php:912
617
- #: ../admin/partials/admin.php:919 ../admin/partials/admin.php:926
618
- #: ../admin/partials/admin.php:933 ../admin/partials/admin.php:940
619
- #: ../admin/partials/admin.php:947 ../admin/partials/admin.php:954
620
- #: ../admin/partials/admin.php:961
621
  msgid "With the [wpp] shortcode:"
622
  msgstr ""
623
 
624
- #: ../admin/partials/admin.php:741
625
  msgid "Set the opening tag for the heading of the list"
626
  msgstr ""
627
 
628
- #: ../admin/partials/admin.php:748
629
  msgid "Set the closing tag for the heading of the list"
630
  msgstr ""
631
 
632
- #: ../admin/partials/admin.php:755
633
  msgid "Sets the maximum number of popular posts to be shown on the listing"
634
  msgstr ""
635
 
636
- #: ../admin/partials/admin.php:756 ../admin/partials/admin.php:770
637
- #: ../admin/partials/admin.php:840 ../admin/partials/admin.php:854
638
- #: ../admin/partials/admin.php:875 ../admin/partials/admin.php:882
639
  msgid "Positive integer"
640
  msgstr ""
641
 
642
- #: ../admin/partials/admin.php:762
643
  msgid ""
644
  "Tells WordPress Popular Posts to retrieve the most popular entries within the time "
645
  "range specified by you"
646
  msgstr ""
647
 
648
- #: ../admin/partials/admin.php:769
649
  msgid "Especifies the number of time units of the custom time range"
650
  msgstr ""
651
 
652
- #: ../admin/partials/admin.php:776
653
  msgid "Especifies the time unit of the custom time range"
654
  msgstr ""
655
 
656
- #: ../admin/partials/admin.php:783
657
  msgid ""
658
  "Tells WordPress Popular Posts to retrieve the most popular entries published within "
659
  "the time range specified by you"
660
  msgstr ""
661
 
662
- #: ../admin/partials/admin.php:790
663
  msgid "Sets the sorting option of the popular posts"
664
  msgstr ""
665
 
666
- #: ../admin/partials/admin.php:791
667
  msgid "(for average views per day)"
668
  msgstr ""
669
 
670
- #: ../admin/partials/admin.php:797
671
  msgid "Defines the type of posts to show on the listing"
672
  msgstr ""
673
 
674
- #: ../admin/partials/admin.php:804
675
  msgid ""
676
  "If set, WordPress Popular Posts will exclude the specified post(s) ID(s) form the "
677
  "listing."
678
  msgstr ""
679
 
680
- #: ../admin/partials/admin.php:811
681
  msgid ""
682
  "If set, WordPress Popular Posts will retrieve all entries that belong to the specified "
683
  "category ID(s). If a minus sign is used, entries associated to the category will be "
684
  "excluded instead."
685
  msgstr ""
686
 
687
- #: ../admin/partials/admin.php:818
688
  msgid "If set, WordPress Popular Posts will filter posts by a given taxonomy."
689
  msgstr ""
690
 
691
- #: ../admin/partials/admin.php:825
692
  msgid ""
693
  "If set, WordPress Popular Posts will retrieve all entries that belong to the specified "
694
  "term ID(s). If a minus sign is used, entries associated to the term(s) will be "
695
  "excluded instead."
696
  msgstr ""
697
 
698
- #: ../admin/partials/admin.php:832
699
  msgid ""
700
  "If set, WordPress Popular Posts will retrieve all entries created by specified "
701
  "author(s) ID(s)."
702
  msgstr ""
703
 
704
- #: ../admin/partials/admin.php:839
705
  msgid ""
706
  "If set, WordPress Popular Posts will shorten each post title to \"n\" characters "
707
  "whenever possible"
708
  msgstr ""
709
 
710
- #: ../admin/partials/admin.php:846
711
  msgid ""
712
  "If set to 1, WordPress Popular Posts will shorten each post title to \"n\" words "
713
  "instead of characters"
714
  msgstr ""
715
 
716
- #: ../admin/partials/admin.php:853
717
  msgid ""
718
  "If set, WordPress Popular Posts will build and include an excerpt of \"n\" characters "
719
  "long from the content of each post listed as popular"
720
  msgstr ""
721
 
722
- #: ../admin/partials/admin.php:860
723
  msgid ""
724
  "If set, WordPress Popular Posts will maintaing all styling tags (strong, italic, etc) "
725
  "and hyperlinks found in the excerpt"
726
  msgstr ""
727
 
728
- #: ../admin/partials/admin.php:867
729
  msgid ""
730
  "If set to 1, WordPress Popular Posts will shorten the excerpt to \"n\" words instead "
731
  "of characters"
732
  msgstr ""
733
 
734
- #: ../admin/partials/admin.php:874
735
  msgid ""
736
  "If set, and if your current server configuration allows it, you will be able to "
737
  "display thumbnails of your posts. This attribute sets the width for thumbnails"
738
  msgstr ""
739
 
740
- #: ../admin/partials/admin.php:881
741
  msgid ""
742
  "If set, and if your current server configuration allows it, you will be able to "
743
  "display thumbnails of your posts. This attribute sets the height for thumbnails"
744
  msgstr ""
745
 
746
- #: ../admin/partials/admin.php:888
747
  msgid ""
748
  "If set, and if the WP-PostRatings plugin is installed and enabled on your blog, "
749
  "WordPress Popular Posts will show how your visitors are rating your entries"
750
  msgstr ""
751
 
752
- #: ../admin/partials/admin.php:895
753
  msgid ""
754
  "If set, WordPress Popular Posts will show how many comments each popular post has got "
755
  "during the specified time range"
756
  msgstr ""
757
 
758
- #: ../admin/partials/admin.php:902
759
  msgid ""
760
  "If set, WordPress Popular Posts will show how many views each popular post has got "
761
  "during the specified time range"
762
  msgstr ""
763
 
764
- #: ../admin/partials/admin.php:909
765
  msgid ""
766
  "If set, WordPress Popular Posts will show who published each popular post on the list"
767
  msgstr ""
768
 
769
- #: ../admin/partials/admin.php:916
770
  msgid ""
771
  "If set, WordPress Popular Posts will display the date when each popular post on the "
772
  "list was published"
773
  msgstr ""
774
 
775
- #: ../admin/partials/admin.php:923
776
  msgid "Sets the date format"
777
  msgstr ""
778
 
779
- #: ../admin/partials/admin.php:930
780
  msgid ""
781
  "If set, WordPress Popular Posts will display the categories associated to each entry"
782
  msgstr ""
783
 
784
- #: ../admin/partials/admin.php:937
785
  msgid ""
786
  "If set, WordPress Popular Posts will display the taxonomies associated to each entry"
787
  msgstr ""
788
 
789
- #: ../admin/partials/admin.php:944
790
  msgid "Sets the opening tag for the listing"
791
  msgstr ""
792
 
793
- #: ../admin/partials/admin.php:951
794
  msgid "Sets the closing tag for the listing"
795
  msgstr ""
796
 
797
- #: ../admin/partials/admin.php:958
798
  msgid "Sets the HTML structure of each post"
799
  msgstr ""
800
 
801
- #: ../admin/partials/admin.php:959
802
  msgid "Text string, custom HTML"
803
  msgstr ""
804
 
805
- #: ../admin/partials/admin.php:959
806
  msgid "Available Content Tags"
807
  msgstr ""
808
 
809
- #: ../admin/partials/admin.php:959
810
  msgid ""
811
  "returns thumbnail linked to post/page, requires thumbnail_width & thumbnail_height"
812
  msgstr ""
813
 
814
- #: ../admin/partials/admin.php:959
815
  msgid ""
816
  "returns thumbnail image without linking to post/page, requires thumbnail_width & "
817
  "thumbnail_height"
818
  msgstr ""
819
 
820
- #: ../admin/partials/admin.php:959
821
  msgid "returns thumbnail url, requires thumbnail_width & thumbnail_height"
822
  msgstr ""
823
 
824
- #: ../admin/partials/admin.php:959
825
  msgid "returns linked post/page title"
826
  msgstr ""
827
 
828
- #: ../admin/partials/admin.php:959
829
  msgid "returns the post/page ID"
830
  msgstr ""
831
 
832
- #: ../admin/partials/admin.php:959
833
  msgid "returns post/page excerpt, and requires excerpt_length to be greater than 0"
834
  msgstr ""
835
 
836
- #: ../admin/partials/admin.php:959
837
  msgid "returns the default stats tags"
838
  msgstr ""
839
 
840
- #: ../admin/partials/admin.php:959
841
  msgid "returns post/page current rating, requires WP-PostRatings installed and enabled"
842
  msgstr ""
843
 
844
- #: ../admin/partials/admin.php:959
845
  msgid ""
846
  "returns post/page current rating as an integer, requires WP-PostRatings installed and "
847
  "enabled"
848
  msgstr ""
849
 
850
- #: ../admin/partials/admin.php:959
851
  msgid "returns the URL of the post/page"
852
  msgstr ""
853
 
854
- #: ../admin/partials/admin.php:959
855
  msgid "returns post/page title, no link"
856
  msgstr ""
857
 
858
- #: ../admin/partials/admin.php:959
859
  msgid "returns linked author name, requires stats_author=1"
860
  msgstr ""
861
 
862
- #: ../admin/partials/admin.php:959
863
  msgid "returns linked category name, requires stats_category=1"
864
  msgstr ""
865
 
866
- #: ../admin/partials/admin.php:959
867
  msgid "returns linked taxonomy names, requires stats_taxonomy=1"
868
  msgstr ""
869
 
870
- #: ../admin/partials/admin.php:959
871
  msgid "returns views count only, no text"
872
  msgstr ""
873
 
874
- #: ../admin/partials/admin.php:959
875
  msgid "returns comments count only, no text, requires stats_comments=1"
876
  msgstr ""
877
 
878
- #: ../admin/partials/admin.php:959
879
  msgid "returns post/page date, requires stats_date=1"
880
  msgstr ""
881
 
882
- #: ../includes/class-wordpress-popular-posts-output.php:126
883
  msgid "Sorry. No data so far."
884
  msgstr ""
885
 
886
- #: ../includes/class-wordpress-popular-posts-output.php:497
887
  #, php-format
888
  msgid "%s ago"
889
  msgstr ""
890
 
891
- #: ../includes/class-wordpress-popular-posts-output.php:714
892
  #, php-format
893
  msgid "1 view per day"
894
  msgid_plural "%s views per day"
895
  msgstr[0] ""
896
  msgstr[1] ""
897
 
898
- #: ../includes/class-wordpress-popular-posts-output.php:743
899
  #, php-format
900
  msgid "by %s"
901
  msgstr ""
902
 
903
- #: ../includes/class-wordpress-popular-posts-output.php:749
904
  #, php-format
905
  msgid "posted %s"
906
  msgstr ""
907
 
908
- #: ../includes/class-wordpress-popular-posts-output.php:749
909
  #, php-format
910
  msgid "posted on %s"
911
  msgstr ""
912
 
913
- #: ../includes/class-wordpress-popular-posts-output.php:758
914
  #, php-format
915
  msgid "under %s"
916
  msgstr ""
917
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
918
  #: ../includes/class-wordpress-popular-posts-widget.php:21
919
  msgid "The most Popular Posts on your blog."
920
  msgstr ""
921
 
922
- #: ../includes/class-wordpress-popular-posts-widget.php:94
923
  #, php-format
924
  msgid ""
925
  "Error: cannot ajaxify WordPress Popular Posts on this theme. It's missing the <em>id</"
@@ -927,10 +1022,6 @@ msgid ""
927
  "\">register_sidebar</a> for more)"
928
  msgstr ""
929
 
930
- #: ../includes/class-wordpress-popular-posts-widget.php:105
931
- msgid "Loading..."
932
- msgstr ""
933
-
934
  #: ../includes/widget-form.php:3
935
  msgid "Title"
936
  msgstr ""
@@ -963,26 +1054,10 @@ msgstr ""
963
  msgid "Time Range"
964
  msgstr ""
965
 
966
- #: ../includes/widget-form.php:30
967
- msgid "Last 24 hours"
968
- msgstr ""
969
-
970
- #: ../includes/widget-form.php:31
971
- msgid "Last 7 days"
972
- msgstr ""
973
-
974
- #: ../includes/widget-form.php:32
975
- msgid "Last 30 days"
976
- msgstr ""
977
-
978
  #: ../includes/widget-form.php:33
979
  msgid "All-time"
980
  msgstr ""
981
 
982
- #: ../includes/widget-form.php:34
983
- msgid "Custom"
984
- msgstr ""
985
-
986
  #: ../includes/widget-form.php:50
987
  msgid "Post type(s)"
988
  msgstr ""
5
  msgstr ""
6
  "Project-Id-Version: WordPress Popular Posts\n"
7
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/wordpress-popular-posts\n"
8
+ "POT-Creation-Date: 2018-04-25 15:35-0400\n"
9
  "PO-Revision-Date: 2015-04-24 13:30-0430\n"
10
  "Last-Translator: Héctor Cabrera <hcabrerab@gmail.com>\n"
11
  "Language-Team: Héctor Cabrera <me@cabrerahector.com>\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 2.0.7\n"
18
  "X-Poedit-KeywordsList: _e;__;__ngettext;__ngettext_noop;_n_noop;_x;_nx;_nx_noop;_ex;"
19
  "esc_attr__;esc_attr_e;esc_attr_x;esc_html__;esc_html_e;esc_html_x;_c;_nc;_n:1,2\n"
20
  "X-Poedit-Basepath: .\n"
22
  "X-Poedit-SearchPath-0: .\n"
23
  "X-Poedit-SearchPath-1: ..\n"
24
 
25
+ #: ../admin/class-wordpress-popular-posts-admin.php:173
26
+ #, php-format
27
+ msgid "1 view in the last hour"
28
+ msgid_plural "%s views in the last hour"
29
+ msgstr[0] ""
30
+ msgstr[1] ""
31
+
32
+ #: ../admin/class-wordpress-popular-posts-admin.php:239
33
+ msgid "Use this image"
34
  msgstr ""
35
 
36
+ #: ../admin/class-wordpress-popular-posts-admin.php:257
37
  msgid "Overview"
38
  msgstr ""
39
 
40
+ #: ../admin/class-wordpress-popular-posts-admin.php:258
41
  msgid ""
42
  "Welcome to WordPress Popular Posts' Dashboard! In this screen you will find statistics "
43
  "on what's popular on your site, tools to further tweak WPP to your needs, and more!"
44
  msgstr ""
45
 
46
+ #: ../admin/class-wordpress-popular-posts-admin.php:264
47
  msgid "Like this plugin?"
48
  msgstr ""
49
 
50
+ #: ../admin/class-wordpress-popular-posts-admin.php:266
51
  msgid ""
52
  "Each donation motivates me to keep releasing free stuff for the WordPress community!"
53
  msgstr ""
54
 
55
+ #: ../admin/class-wordpress-popular-posts-admin.php:273
56
  #, php-format
57
  msgid "You can <a href=\"%s\" target=\"_blank\">leave a review</a>, too!"
58
  msgstr ""
59
 
60
+ #: ../admin/class-wordpress-popular-posts-admin.php:282
61
  #, php-format
62
  msgid ""
63
  "<p><strong>For more information:</strong></p><ul><li><a href=\"%1$s\">Documentation</"
64
  "a></li><li><a href=\"%2$s\">Support</a></li></ul>"
65
  msgstr ""
66
 
67
+ #: ../admin/class-wordpress-popular-posts-admin.php:658
68
+ #: ../admin/class-wordpress-popular-posts-admin.php:777 ../admin/partials/admin.php:411
69
  #: ../admin/partials/admin.php:458
70
+ #: ../includes/class-wordpress-popular-posts-output.php:742
71
  #, php-format
72
  msgid "1 view"
73
  msgid_plural "%s views"
74
  msgstr[0] ""
75
  msgstr[1] ""
76
 
77
+ #: ../admin/class-wordpress-popular-posts-admin.php:658
78
+ #: ../admin/class-wordpress-popular-posts-admin.php:832 ../admin/partials/admin.php:411
79
  #: ../admin/partials/admin.php:458
80
+ #: ../includes/class-wordpress-popular-posts-output.php:723
81
  #, php-format
82
  msgid "1 comment"
83
  msgid_plural "%s comments"
84
  msgstr[0] ""
85
  msgstr[1] ""
86
 
87
+ #: ../admin/class-wordpress-popular-posts-admin.php:690 ../includes/widget-form.php:17
88
  msgid "Comments"
89
  msgstr ""
90
 
91
+ #: ../admin/class-wordpress-popular-posts-admin.php:694
92
  msgid "Views"
93
  msgstr ""
94
 
95
+ #: ../admin/class-wordpress-popular-posts-admin.php:778
96
+ #: ../admin/class-wordpress-popular-posts-admin.php:833 ../admin/partials/admin.php:412
97
  #: ../admin/partials/admin.php:459
98
  msgid "View"
99
  msgstr ""
100
 
101
+ #: ../admin/class-wordpress-popular-posts-admin.php:778
102
+ #: ../admin/class-wordpress-popular-posts-admin.php:833 ../admin/partials/admin.php:412
103
  #: ../admin/partials/admin.php:459
104
  msgid "Edit"
105
  msgstr ""
106
 
107
+ #: ../admin/class-wordpress-popular-posts-admin.php:789
108
+ #: ../admin/class-wordpress-popular-posts-admin.php:844 ../admin/partials/admin.php:423
109
  #: ../admin/partials/admin.php:470
110
  msgid ""
111
  "Looks like traffic to your site is a little light right now. <br />Spread the word and "
112
  "come back later!"
113
  msgstr ""
114
 
115
+ #: ../admin/class-wordpress-popular-posts-admin.php:912
116
  msgid "Settings"
117
  msgstr ""
118
 
119
+ #: ../admin/class-wordpress-popular-posts-admin.php:1302
120
  #, php-format
121
  msgid ""
122
  "Your PHP installation is too old. WordPress Popular Posts requires at least PHP "
124
  "to upgrade PHP to %1$s or higher."
125
  msgstr ""
126
 
127
+ #: ../admin/class-wordpress-popular-posts-admin.php:1309
128
  #, php-format
129
  msgid ""
130
  "Your WordPress version is too old. WordPress Popular Posts requires at least WordPress "
131
  "version %1$s to function correctly. Please update your blog via Dashboard &gt; Update."
132
  msgstr ""
133
 
134
+ #: ../admin/class-wordpress-popular-posts-admin.php:1334
135
  #, php-format
136
  msgid ""
137
  "<div class=\"notice notice-error\"><p>%1$s</p><p><i>%2$s</i> has been "
138
  "<strong>deactivated</strong>.</p></div>"
139
  msgstr ""
140
 
141
+ #: ../admin/partials/admin.php:6 ../admin/partials/admin.php:254
142
  msgid "Stats"
143
  msgstr ""
144
 
145
+ #: ../admin/partials/admin.php:7 ../admin/partials/admin.php:255
146
  msgid "Tools"
147
  msgstr ""
148
 
149
+ #: ../admin/partials/admin.php:8 ../admin/partials/admin.php:256
150
  msgid "Parameters"
151
  msgstr ""
152
 
153
  #: ../admin/partials/admin.php:33 ../admin/partials/admin.php:48
154
+ #: ../admin/partials/admin.php:71 ../admin/partials/admin.php:112
155
  msgid "Settings saved."
156
  msgstr ""
157
 
159
  msgid "Please provide the name of your custom field."
160
  msgstr ""
161
 
162
+ #: ../admin/partials/admin.php:120
163
  msgid ""
164
  "Any changes made to WPP's default stylesheet will be lost after every plugin update. "
165
  "In order to prevent this from happening, please copy the wpp.css file (located at wp-"
166
  "content/plugins/wordpress-popular-posts/style) into your theme's directory"
167
  msgstr ""
168
 
169
+ #: ../admin/partials/admin.php:135
170
  msgid ""
171
  "This operation will delete all entries from WordPress Popular Posts' cache table and "
172
  "cannot be undone."
173
  msgstr ""
174
 
175
+ #: ../admin/partials/admin.php:135 ../admin/partials/admin.php:174
176
+ #: ../admin/partials/admin.php:213
177
  msgid "Do you want to continue?"
178
  msgstr ""
179
 
180
+ #: ../admin/partials/admin.php:147
181
  msgid "Success! The cache table has been cleared!"
182
  msgstr ""
183
 
184
+ #: ../admin/partials/admin.php:151
185
  msgid "Error: cache table does not exist."
186
  msgstr ""
187
 
188
+ #: ../admin/partials/admin.php:155 ../admin/partials/admin.php:163
189
+ #: ../admin/partials/admin.php:194 ../admin/partials/admin.php:202
190
+ #: ../admin/partials/admin.php:232 ../admin/partials/admin.php:240
191
  msgid "Invalid action."
192
  msgstr ""
193
 
194
+ #: ../admin/partials/admin.php:159 ../admin/partials/admin.php:198
195
+ #: ../admin/partials/admin.php:236
196
  msgid ""
197
  "Sorry, you do not have enough permissions to do this. Please contact the site "
198
  "administrator for support."
199
  msgstr ""
200
 
201
+ #: ../admin/partials/admin.php:174
202
  msgid ""
203
  "This operation will delete all stored info from WordPress Popular Posts' data tables "
204
  "and cannot be undone."
205
  msgstr ""
206
 
207
+ #: ../admin/partials/admin.php:186
208
  msgid "Success! All data have been cleared!"
209
  msgstr ""
210
 
211
+ #: ../admin/partials/admin.php:190
212
  msgid "Error: one or both data tables are missing."
213
  msgstr ""
214
 
215
+ #: ../admin/partials/admin.php:213
216
  msgid "This operation will delete all cached thumbnails and cannot be undone."
217
  msgstr ""
218
 
219
+ #: ../admin/partials/admin.php:224
220
  msgid "Success! All files have been deleted!"
221
  msgstr ""
222
 
223
+ #: ../admin/partials/admin.php:228
224
  msgid "The thumbnail cache is already empty!"
225
  msgstr ""
226
 
227
+ #: ../admin/partials/admin.php:253
228
  msgid "Menu"
229
  msgstr ""
230
 
231
+ #: ../admin/partials/admin.php:281
232
  msgid "Post type"
233
  msgstr ""
234
 
235
+ #: ../admin/partials/admin.php:284
236
  msgid "Limit"
237
  msgstr ""
238
 
239
+ #: ../admin/partials/admin.php:287 ../includes/widget-form.php:48
240
  msgid "Display only posts published within the selected Time Range"
241
  msgstr ""
242
 
243
+ #: ../admin/partials/admin.php:293 ../admin/partials/admin.php:331
244
+ #: ../admin/partials/admin.php:540 ../admin/partials/admin.php:644
245
+ #: ../admin/partials/admin.php:683
246
  msgid "Apply"
247
  msgstr ""
248
 
249
+ #: ../admin/partials/admin.php:294 ../admin/partials/admin.php:334
250
  msgid "Cancel"
251
  msgstr ""
252
 
253
+ #: ../admin/partials/admin.php:307
254
  msgid "Custom Time Range"
255
  msgstr ""
256
 
257
+ #: ../admin/partials/admin.php:308
258
  msgid "Date Range"
259
  msgstr ""
260
 
261
+ #: ../admin/partials/admin.php:316 ../admin/partials/admin.php:610
262
  #: ../includes/widget-form.php:41
263
  msgid "Minute(s)"
264
  msgstr ""
265
 
266
+ #: ../admin/partials/admin.php:317 ../admin/partials/admin.php:611
267
  #: ../includes/widget-form.php:42
268
  msgid "Hour(s)"
269
  msgstr ""
270
 
271
+ #: ../admin/partials/admin.php:318 ../admin/partials/admin.php:612
272
  #: ../includes/widget-form.php:43
273
  msgid "Day(s)"
274
  msgstr ""
275
 
276
+ #: ../admin/partials/admin.php:324
277
  msgid "Select a date..."
278
  msgstr ""
279
 
280
+ #: ../admin/partials/admin.php:346
281
+ msgid "Today"
282
+ msgstr ""
283
+
284
+ #: ../admin/partials/admin.php:347 ../includes/widget-form.php:30
285
+ msgid "Last 24 hours"
286
+ msgstr ""
287
+
288
+ #: ../admin/partials/admin.php:348 ../includes/widget-form.php:31
289
+ msgid "Last 7 days"
290
+ msgstr ""
291
+
292
+ #: ../admin/partials/admin.php:349 ../includes/widget-form.php:32
293
+ msgid "Last 30 days"
294
+ msgstr ""
295
+
296
+ #: ../admin/partials/admin.php:350 ../includes/widget-form.php:34
297
+ msgid "Custom"
298
+ msgstr ""
299
+
300
  #: ../admin/partials/admin.php:354
301
  #, php-format
302
  msgid ""
305
  "browser</a>."
306
  msgstr ""
307
 
308
+ #: ../admin/partials/admin.php:365
309
+ msgid "Most viewed"
310
+ msgstr ""
311
+
312
+ #: ../admin/partials/admin.php:366
313
+ msgid "Most commented"
314
+ msgstr ""
315
+
316
+ #: ../admin/partials/admin.php:367
317
+ msgid "Trending now"
318
+ msgstr ""
319
+
320
+ #: ../admin/partials/admin.php:368
321
+ msgid "Hall of Fame"
322
+ msgstr ""
323
+
324
  #: ../admin/partials/admin.php:480
325
  msgid "Thumbnails"
326
  msgstr ""
330
  msgstr ""
331
 
332
  #: ../admin/partials/admin.php:490
333
+ msgid "Change thumbnail"
334
  msgstr ""
335
 
336
  #: ../admin/partials/admin.php:492
337
+ msgid "This image will be displayed when no thumbnail is available"
 
 
338
  msgstr ""
339
 
340
  #: ../admin/partials/admin.php:496
377
  msgid "Yes"
378
  msgstr ""
379
 
380
+ #: ../admin/partials/admin.php:530
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
381
  msgid "Empty image cache"
382
  msgstr ""
383
 
384
+ #: ../admin/partials/admin.php:531
385
  msgid "Use this button to clear WPP's thumbnails cache"
386
  msgstr ""
387
 
388
+ #: ../admin/partials/admin.php:551
389
  msgid "Data"
390
  msgstr ""
391
 
392
+ #: ../admin/partials/admin.php:556
393
  msgid "Log views from"
394
  msgstr ""
395
 
396
+ #: ../admin/partials/admin.php:559
397
  msgid "Visitors only"
398
  msgstr ""
399
 
400
+ #: ../admin/partials/admin.php:560
401
  msgid "Logged-in users only"
402
  msgstr ""
403
 
404
+ #: ../admin/partials/admin.php:561
405
  msgid "Everyone"
406
  msgstr ""
407
 
408
+ #: ../admin/partials/admin.php:567
409
  msgid "Log limit"
410
  msgstr ""
411
 
412
+ #: ../admin/partials/admin.php:570 ../admin/partials/admin.php:585
413
+ #: ../admin/partials/admin.php:625 ../admin/partials/admin.php:674
414
+ msgid "Disabled"
415
+ msgstr ""
416
+
417
+ #: ../admin/partials/admin.php:571
418
  msgid "Keep data for"
419
  msgstr ""
420
 
421
+ #: ../admin/partials/admin.php:574
422
  msgid "day(s)"
423
  msgstr ""
424
 
425
+ #: ../admin/partials/admin.php:576
426
  msgid "Data older than the specified time frame will be automatically discarded"
427
  msgstr ""
428
 
429
+ #: ../admin/partials/admin.php:582
430
  msgid "Ajaxify widget"
431
  msgstr ""
432
 
433
+ #: ../admin/partials/admin.php:586 ../admin/partials/admin.php:626
434
+ #: ../admin/partials/admin.php:673
435
+ msgid "Enabled"
436
+ msgstr ""
437
+
438
+ #: ../admin/partials/admin.php:590
439
  msgid ""
440
  "If you are using a caching plugin such as WP Super Cache, enabling this feature will "
441
  "keep the popular list from being cached by it"
442
  msgstr ""
443
 
444
+ #: ../admin/partials/admin.php:594
445
  msgid "WPP Cache Expiry Policy"
446
  msgstr ""
447
 
448
+ #: ../admin/partials/admin.php:594 ../admin/partials/admin.php:622
449
  #: ../includes/widget-form.php:3 ../includes/widget-form.php:50
450
  #: ../includes/widget-form.php:56 ../includes/widget-form.php:75
451
  #: ../includes/widget-form.php:85 ../includes/widget-form.php:177
452
  msgid "What is this?"
453
  msgstr ""
454
 
455
+ #: ../admin/partials/admin.php:597
456
  msgid "Never cache"
457
  msgstr ""
458
 
459
+ #: ../admin/partials/admin.php:598
460
  msgid "Enable caching"
461
  msgstr ""
462
 
463
+ #: ../admin/partials/admin.php:602
464
  msgid ""
465
  "Sets WPP's cache expiration time. WPP can cache the popular list for a specified "
466
  "amount of time. Recommended for large / high traffic sites"
467
  msgstr ""
468
 
469
+ #: ../admin/partials/admin.php:606
470
  msgid "Refresh cache every"
471
  msgstr ""
472
 
473
+ #: ../admin/partials/admin.php:613
474
  msgid "Week(s)"
475
  msgstr ""
476
 
477
+ #: ../admin/partials/admin.php:614
478
  msgid "Month(s)"
479
  msgstr ""
480
 
481
+ #: ../admin/partials/admin.php:615
482
  msgid "Year(s)"
483
  msgstr ""
484
 
485
+ #: ../admin/partials/admin.php:618
486
  msgid "Really? That long?"
487
  msgstr ""
488
 
489
+ #: ../admin/partials/admin.php:622
490
  msgid "Data Sampling"
491
  msgstr ""
492
 
493
+ #: ../admin/partials/admin.php:630
494
  #, php-format
495
  msgid ""
496
  "By default, WordPress Popular Posts stores in database every single visit your site "
501
  "(for more, <a href=\"%2$s\" target=\"_blank\">please read here</a>)"
502
  msgstr ""
503
 
504
+ #: ../admin/partials/admin.php:634
505
  msgid "Sample Rate"
506
  msgstr ""
507
 
508
+ #: ../admin/partials/admin.php:638
509
  #, php-format
510
  msgid ""
511
  "A sampling rate of %d is recommended for large / high traffic sites. For lower traffic "
512
  "sites, you should lower the value"
513
  msgstr ""
514
 
515
+ #: ../admin/partials/admin.php:655
516
  msgid "Miscellaneous"
517
  msgstr ""
518
 
519
+ #: ../admin/partials/admin.php:660
520
  msgid "Open links in"
521
  msgstr ""
522
 
523
+ #: ../admin/partials/admin.php:663
524
  msgid "Current window"
525
  msgstr ""
526
 
527
+ #: ../admin/partials/admin.php:664
528
  msgid "New tab/window"
529
  msgstr ""
530
 
531
+ #: ../admin/partials/admin.php:670
532
  msgid "Use plugin's stylesheet"
533
  msgstr ""
534
 
535
+ #: ../admin/partials/admin.php:677
536
  msgid ""
537
  "By default, the plugin includes a stylesheet called wpp.css which you can use to style "
538
  "your popular posts listing. If you wish to use your own stylesheet or do not want it "
539
  "to have it included in the header section of your site, use this."
540
  msgstr ""
541
 
542
+ #: ../admin/partials/admin.php:696
543
  msgid ""
544
  "WordPress Popular Posts maintains data in two separate tables: one for storing the "
545
  "most popular entries on a daily basis (from now on, \"cache\"), and another one to "
548
  "tables, please use the buttons below to do so."
549
  msgstr ""
550
 
551
+ #: ../admin/partials/admin.php:697
552
  msgid "Empty cache"
553
  msgstr ""
554
 
555
+ #: ../admin/partials/admin.php:697
556
  msgid "Use this button to manually clear entries from WPP cache only"
557
  msgstr ""
558
 
559
+ #: ../admin/partials/admin.php:698
560
  msgid "Clear all data"
561
  msgstr ""
562
 
563
+ #: ../admin/partials/admin.php:698
564
  msgid "Use this button to manually clear entries from all WPP data tables"
565
  msgstr ""
566
 
567
+ #: ../admin/partials/admin.php:705
568
  #, php-format
569
  msgid ""
570
  "With the following parameters you can customize the popular posts list when using "
572
  "\"%2$s\">[wpp] shortcode</a>."
573
  msgstr ""
574
 
575
+ #: ../admin/partials/admin.php:713
576
  msgid "Parameter"
577
  msgstr ""
578
 
579
+ #: ../admin/partials/admin.php:714
580
  msgid "What it does "
581
  msgstr ""
582
 
583
+ #: ../admin/partials/admin.php:715
584
  msgid "Possible values"
585
  msgstr ""
586
 
587
+ #: ../admin/partials/admin.php:716
588
  msgid "Defaults to"
589
  msgstr ""
590
 
591
+ #: ../admin/partials/admin.php:717
592
  msgid "Example"
593
  msgstr ""
594
 
595
+ #: ../admin/partials/admin.php:723
596
  msgid "Sets a heading for the list"
597
  msgstr ""
598
 
599
+ #: ../admin/partials/admin.php:724 ../admin/partials/admin.php:731
600
+ #: ../admin/partials/admin.php:738 ../admin/partials/admin.php:787
601
+ #: ../admin/partials/admin.php:794 ../admin/partials/admin.php:801
602
+ #: ../admin/partials/admin.php:808 ../admin/partials/admin.php:815
603
+ #: ../admin/partials/admin.php:822 ../admin/partials/admin.php:913
604
+ #: ../admin/partials/admin.php:934 ../admin/partials/admin.php:941
605
  msgid "Text string"
606
  msgstr ""
607
 
608
+ #: ../admin/partials/admin.php:725 ../admin/partials/admin.php:795
609
+ #: ../admin/partials/admin.php:802 ../admin/partials/admin.php:809
610
+ #: ../admin/partials/admin.php:816 ../admin/partials/admin.php:823
611
  msgid "None"
612
  msgstr ""
613
 
614
+ #: ../admin/partials/admin.php:726 ../admin/partials/admin.php:733
615
+ #: ../admin/partials/admin.php:740 ../admin/partials/admin.php:747
616
+ #: ../admin/partials/admin.php:754 ../admin/partials/admin.php:761
617
+ #: ../admin/partials/admin.php:768 ../admin/partials/admin.php:775
618
+ #: ../admin/partials/admin.php:782 ../admin/partials/admin.php:789
619
+ #: ../admin/partials/admin.php:796 ../admin/partials/admin.php:803
620
+ #: ../admin/partials/admin.php:810 ../admin/partials/admin.php:817
621
+ #: ../admin/partials/admin.php:824 ../admin/partials/admin.php:831
622
+ #: ../admin/partials/admin.php:838 ../admin/partials/admin.php:845
623
+ #: ../admin/partials/admin.php:852 ../admin/partials/admin.php:859
624
+ #: ../admin/partials/admin.php:866 ../admin/partials/admin.php:873
625
+ #: ../admin/partials/admin.php:880 ../admin/partials/admin.php:887
626
+ #: ../admin/partials/admin.php:894 ../admin/partials/admin.php:901
627
+ #: ../admin/partials/admin.php:908 ../admin/partials/admin.php:915
628
+ #: ../admin/partials/admin.php:922 ../admin/partials/admin.php:929
629
+ #: ../admin/partials/admin.php:936 ../admin/partials/admin.php:943
630
+ #: ../admin/partials/admin.php:950
631
  msgid "With wpp_get_mostpopular():"
632
  msgstr ""
633
 
634
+ #: ../admin/partials/admin.php:726 ../admin/partials/admin.php:733
635
+ #: ../admin/partials/admin.php:740 ../admin/partials/admin.php:747
636
+ #: ../admin/partials/admin.php:754 ../admin/partials/admin.php:761
637
+ #: ../admin/partials/admin.php:768 ../admin/partials/admin.php:775
638
+ #: ../admin/partials/admin.php:782 ../admin/partials/admin.php:789
639
+ #: ../admin/partials/admin.php:796 ../admin/partials/admin.php:803
640
+ #: ../admin/partials/admin.php:810 ../admin/partials/admin.php:817
641
+ #: ../admin/partials/admin.php:824 ../admin/partials/admin.php:831
642
+ #: ../admin/partials/admin.php:838 ../admin/partials/admin.php:845
643
+ #: ../admin/partials/admin.php:852 ../admin/partials/admin.php:859
644
+ #: ../admin/partials/admin.php:866 ../admin/partials/admin.php:873
645
+ #: ../admin/partials/admin.php:880 ../admin/partials/admin.php:887
646
+ #: ../admin/partials/admin.php:894 ../admin/partials/admin.php:901
647
+ #: ../admin/partials/admin.php:908 ../admin/partials/admin.php:915
648
+ #: ../admin/partials/admin.php:922 ../admin/partials/admin.php:929
649
+ #: ../admin/partials/admin.php:936 ../admin/partials/admin.php:943
650
+ #: ../admin/partials/admin.php:950
651
  msgid "With the [wpp] shortcode:"
652
  msgstr ""
653
 
654
+ #: ../admin/partials/admin.php:730
655
  msgid "Set the opening tag for the heading of the list"
656
  msgstr ""
657
 
658
+ #: ../admin/partials/admin.php:737
659
  msgid "Set the closing tag for the heading of the list"
660
  msgstr ""
661
 
662
+ #: ../admin/partials/admin.php:744
663
  msgid "Sets the maximum number of popular posts to be shown on the listing"
664
  msgstr ""
665
 
666
+ #: ../admin/partials/admin.php:745 ../admin/partials/admin.php:759
667
+ #: ../admin/partials/admin.php:829 ../admin/partials/admin.php:843
668
+ #: ../admin/partials/admin.php:864 ../admin/partials/admin.php:871
669
  msgid "Positive integer"
670
  msgstr ""
671
 
672
+ #: ../admin/partials/admin.php:751
673
  msgid ""
674
  "Tells WordPress Popular Posts to retrieve the most popular entries within the time "
675
  "range specified by you"
676
  msgstr ""
677
 
678
+ #: ../admin/partials/admin.php:758
679
  msgid "Especifies the number of time units of the custom time range"
680
  msgstr ""
681
 
682
+ #: ../admin/partials/admin.php:765
683
  msgid "Especifies the time unit of the custom time range"
684
  msgstr ""
685
 
686
+ #: ../admin/partials/admin.php:772
687
  msgid ""
688
  "Tells WordPress Popular Posts to retrieve the most popular entries published within "
689
  "the time range specified by you"
690
  msgstr ""
691
 
692
+ #: ../admin/partials/admin.php:779
693
  msgid "Sets the sorting option of the popular posts"
694
  msgstr ""
695
 
696
+ #: ../admin/partials/admin.php:780
697
  msgid "(for average views per day)"
698
  msgstr ""
699
 
700
+ #: ../admin/partials/admin.php:786
701
  msgid "Defines the type of posts to show on the listing"
702
  msgstr ""
703
 
704
+ #: ../admin/partials/admin.php:793
705
  msgid ""
706
  "If set, WordPress Popular Posts will exclude the specified post(s) ID(s) form the "
707
  "listing."
708
  msgstr ""
709
 
710
+ #: ../admin/partials/admin.php:800
711
  msgid ""
712
  "If set, WordPress Popular Posts will retrieve all entries that belong to the specified "
713
  "category ID(s). If a minus sign is used, entries associated to the category will be "
714
  "excluded instead."
715
  msgstr ""
716
 
717
+ #: ../admin/partials/admin.php:807
718
  msgid "If set, WordPress Popular Posts will filter posts by a given taxonomy."
719
  msgstr ""
720
 
721
+ #: ../admin/partials/admin.php:814
722
  msgid ""
723
  "If set, WordPress Popular Posts will retrieve all entries that belong to the specified "
724
  "term ID(s). If a minus sign is used, entries associated to the term(s) will be "
725
  "excluded instead."
726
  msgstr ""
727
 
728
+ #: ../admin/partials/admin.php:821
729
  msgid ""
730
  "If set, WordPress Popular Posts will retrieve all entries created by specified "
731
  "author(s) ID(s)."
732
  msgstr ""
733
 
734
+ #: ../admin/partials/admin.php:828
735
  msgid ""
736
  "If set, WordPress Popular Posts will shorten each post title to \"n\" characters "
737
  "whenever possible"
738
  msgstr ""
739
 
740
+ #: ../admin/partials/admin.php:835
741
  msgid ""
742
  "If set to 1, WordPress Popular Posts will shorten each post title to \"n\" words "
743
  "instead of characters"
744
  msgstr ""
745
 
746
+ #: ../admin/partials/admin.php:842
747
  msgid ""
748
  "If set, WordPress Popular Posts will build and include an excerpt of \"n\" characters "
749
  "long from the content of each post listed as popular"
750
  msgstr ""
751
 
752
+ #: ../admin/partials/admin.php:849
753
  msgid ""
754
  "If set, WordPress Popular Posts will maintaing all styling tags (strong, italic, etc) "
755
  "and hyperlinks found in the excerpt"
756
  msgstr ""
757
 
758
+ #: ../admin/partials/admin.php:856
759
  msgid ""
760
  "If set to 1, WordPress Popular Posts will shorten the excerpt to \"n\" words instead "
761
  "of characters"
762
  msgstr ""
763
 
764
+ #: ../admin/partials/admin.php:863
765
  msgid ""
766
  "If set, and if your current server configuration allows it, you will be able to "
767
  "display thumbnails of your posts. This attribute sets the width for thumbnails"
768
  msgstr ""
769
 
770
+ #: ../admin/partials/admin.php:870
771
  msgid ""
772
  "If set, and if your current server configuration allows it, you will be able to "
773
  "display thumbnails of your posts. This attribute sets the height for thumbnails"
774
  msgstr ""
775
 
776
+ #: ../admin/partials/admin.php:877
777
  msgid ""
778
  "If set, and if the WP-PostRatings plugin is installed and enabled on your blog, "
779
  "WordPress Popular Posts will show how your visitors are rating your entries"
780
  msgstr ""
781
 
782
+ #: ../admin/partials/admin.php:884
783
  msgid ""
784
  "If set, WordPress Popular Posts will show how many comments each popular post has got "
785
  "during the specified time range"
786
  msgstr ""
787
 
788
+ #: ../admin/partials/admin.php:891
789
  msgid ""
790
  "If set, WordPress Popular Posts will show how many views each popular post has got "
791
  "during the specified time range"
792
  msgstr ""
793
 
794
+ #: ../admin/partials/admin.php:898
795
  msgid ""
796
  "If set, WordPress Popular Posts will show who published each popular post on the list"
797
  msgstr ""
798
 
799
+ #: ../admin/partials/admin.php:905
800
  msgid ""
801
  "If set, WordPress Popular Posts will display the date when each popular post on the "
802
  "list was published"
803
  msgstr ""
804
 
805
+ #: ../admin/partials/admin.php:912
806
  msgid "Sets the date format"
807
  msgstr ""
808
 
809
+ #: ../admin/partials/admin.php:919
810
  msgid ""
811
  "If set, WordPress Popular Posts will display the categories associated to each entry"
812
  msgstr ""
813
 
814
+ #: ../admin/partials/admin.php:926
815
  msgid ""
816
  "If set, WordPress Popular Posts will display the taxonomies associated to each entry"
817
  msgstr ""
818
 
819
+ #: ../admin/partials/admin.php:933
820
  msgid "Sets the opening tag for the listing"
821
  msgstr ""
822
 
823
+ #: ../admin/partials/admin.php:940
824
  msgid "Sets the closing tag for the listing"
825
  msgstr ""
826
 
827
+ #: ../admin/partials/admin.php:947
828
  msgid "Sets the HTML structure of each post"
829
  msgstr ""
830
 
831
+ #: ../admin/partials/admin.php:948
832
  msgid "Text string, custom HTML"
833
  msgstr ""
834
 
835
+ #: ../admin/partials/admin.php:948
836
  msgid "Available Content Tags"
837
  msgstr ""
838
 
839
+ #: ../admin/partials/admin.php:948
840
  msgid ""
841
  "returns thumbnail linked to post/page, requires thumbnail_width & thumbnail_height"
842
  msgstr ""
843
 
844
+ #: ../admin/partials/admin.php:948
845
  msgid ""
846
  "returns thumbnail image without linking to post/page, requires thumbnail_width & "
847
  "thumbnail_height"
848
  msgstr ""
849
 
850
+ #: ../admin/partials/admin.php:948
851
  msgid "returns thumbnail url, requires thumbnail_width & thumbnail_height"
852
  msgstr ""
853
 
854
+ #: ../admin/partials/admin.php:948
855
  msgid "returns linked post/page title"
856
  msgstr ""
857
 
858
+ #: ../admin/partials/admin.php:948
859
  msgid "returns the post/page ID"
860
  msgstr ""
861
 
862
+ #: ../admin/partials/admin.php:948
863
  msgid "returns post/page excerpt, and requires excerpt_length to be greater than 0"
864
  msgstr ""
865
 
866
+ #: ../admin/partials/admin.php:948
867
  msgid "returns the default stats tags"
868
  msgstr ""
869
 
870
+ #: ../admin/partials/admin.php:948
871
  msgid "returns post/page current rating, requires WP-PostRatings installed and enabled"
872
  msgstr ""
873
 
874
+ #: ../admin/partials/admin.php:948
875
  msgid ""
876
  "returns post/page current rating as an integer, requires WP-PostRatings installed and "
877
  "enabled"
878
  msgstr ""
879
 
880
+ #: ../admin/partials/admin.php:948
881
  msgid "returns the URL of the post/page"
882
  msgstr ""
883
 
884
+ #: ../admin/partials/admin.php:948
885
  msgid "returns post/page title, no link"
886
  msgstr ""
887
 
888
+ #: ../admin/partials/admin.php:948
889
  msgid "returns linked author name, requires stats_author=1"
890
  msgstr ""
891
 
892
+ #: ../admin/partials/admin.php:948
893
  msgid "returns linked category name, requires stats_category=1"
894
  msgstr ""
895
 
896
+ #: ../admin/partials/admin.php:948
897
  msgid "returns linked taxonomy names, requires stats_taxonomy=1"
898
  msgstr ""
899
 
900
+ #: ../admin/partials/admin.php:948
901
  msgid "returns views count only, no text"
902
  msgstr ""
903
 
904
+ #: ../admin/partials/admin.php:948
905
  msgid "returns comments count only, no text, requires stats_comments=1"
906
  msgstr ""
907
 
908
+ #: ../admin/partials/admin.php:948
909
  msgid "returns post/page date, requires stats_date=1"
910
  msgstr ""
911
 
912
+ #: ../includes/class-wordpress-popular-posts-output.php:128
913
  msgid "Sorry. No data so far."
914
  msgstr ""
915
 
916
+ #: ../includes/class-wordpress-popular-posts-output.php:519
917
  #, php-format
918
  msgid "%s ago"
919
  msgstr ""
920
 
921
+ #: ../includes/class-wordpress-popular-posts-output.php:736
922
  #, php-format
923
  msgid "1 view per day"
924
  msgid_plural "%s views per day"
925
  msgstr[0] ""
926
  msgstr[1] ""
927
 
928
+ #: ../includes/class-wordpress-popular-posts-output.php:765
929
  #, php-format
930
  msgid "by %s"
931
  msgstr ""
932
 
933
+ #: ../includes/class-wordpress-popular-posts-output.php:771
934
  #, php-format
935
  msgid "posted %s"
936
  msgstr ""
937
 
938
+ #: ../includes/class-wordpress-popular-posts-output.php:771
939
  #, php-format
940
  msgid "posted on %s"
941
  msgstr ""
942
 
943
+ #: ../includes/class-wordpress-popular-posts-output.php:780
944
  #, php-format
945
  msgid "under %s"
946
  msgstr ""
947
 
948
+ #: ../includes/class-wordpress-popular-posts-rest-controller.php:305
949
+ msgid "Return popular posts from specified custom post type(s)."
950
+ msgstr ""
951
+
952
+ #: ../includes/class-wordpress-popular-posts-rest-controller.php:312
953
+ msgid "The maximum number of popular posts to return."
954
+ msgstr ""
955
+
956
+ #: ../includes/class-wordpress-popular-posts-rest-controller.php:320
957
+ msgid "Retrieve the most popular entries published within the specified time range."
958
+ msgstr ""
959
+
960
+ #: ../includes/class-wordpress-popular-posts-rest-controller.php:328
961
+ msgid "An offset point for the collection."
962
+ msgstr ""
963
+
964
+ #: ../includes/class-wordpress-popular-posts-rest-controller.php:336
965
+ msgid "Set the sorting option of the popular posts."
966
+ msgstr ""
967
+
968
+ #: ../includes/class-wordpress-popular-posts-rest-controller.php:344
969
+ msgid "Return posts from a specified time range."
970
+ msgstr ""
971
+
972
+ #: ../includes/class-wordpress-popular-posts-rest-controller.php:352
973
+ msgid "Especifies the time unit of the custom time range."
974
+ msgstr ""
975
+
976
+ #: ../includes/class-wordpress-popular-posts-rest-controller.php:360
977
+ msgid "Especifies the number of time units of the custom time range."
978
+ msgstr ""
979
+
980
+ #: ../includes/class-wordpress-popular-posts-rest-controller.php:368
981
+ msgid "Post IDs to exclude."
982
+ msgstr ""
983
+
984
+ #: ../includes/class-wordpress-popular-posts-rest-controller.php:376
985
+ msgid "Include posts in a specified taxonomy."
986
+ msgstr ""
987
+
988
+ #: ../includes/class-wordpress-popular-posts-rest-controller.php:384
989
+ msgid "Taxonomy IDs, separated by comma (prefix a minus sign to exclude)."
990
+ msgstr ""
991
+
992
+ #: ../includes/class-wordpress-popular-posts-rest-controller.php:392
993
+ msgid "Author ID(s)."
994
+ msgstr ""
995
+
996
+ #: ../includes/class-wordpress-popular-posts-rest-controller.php:412
997
+ msgid "Security nonce."
998
+ msgstr ""
999
+
1000
+ #: ../includes/class-wordpress-popular-posts-rest-controller.php:418
1001
+ #: ../includes/class-wordpress-popular-posts-rest-controller.php:451
1002
+ msgid "The post / page ID."
1003
+ msgstr ""
1004
+
1005
+ #: ../includes/class-wordpress-popular-posts-rest-controller.php:425
1006
+ msgid "Enables Data Sampling."
1007
+ msgstr ""
1008
+
1009
+ #: ../includes/class-wordpress-popular-posts-rest-controller.php:432
1010
+ msgid "Sets the Sampling Rate."
1011
+ msgstr ""
1012
+
1013
  #: ../includes/class-wordpress-popular-posts-widget.php:21
1014
  msgid "The most Popular Posts on your blog."
1015
  msgstr ""
1016
 
1017
+ #: ../includes/class-wordpress-popular-posts-widget.php:92
1018
  #, php-format
1019
  msgid ""
1020
  "Error: cannot ajaxify WordPress Popular Posts on this theme. It's missing the <em>id</"
1022
  "\">register_sidebar</a> for more)"
1023
  msgstr ""
1024
 
 
 
 
 
1025
  #: ../includes/widget-form.php:3
1026
  msgid "Title"
1027
  msgstr ""
1054
  msgid "Time Range"
1055
  msgstr ""
1056
 
 
 
 
 
 
 
 
 
 
 
 
 
1057
  #: ../includes/widget-form.php:33
1058
  msgid "All-time"
1059
  msgstr ""
1060
 
 
 
 
 
1061
  #: ../includes/widget-form.php:50
1062
  msgid "Post type(s)"
1063
  msgstr ""
public/class-wordpress-popular-posts-public.php CHANGED
@@ -3,7 +3,7 @@
3
  /**
4
  * The public-facing functionality of the plugin.
5
  *
6
- * @link http://cabrerahector.com/
7
  * @since 4.0.0
8
  *
9
  * @package WordPressPopularPosts
@@ -89,36 +89,36 @@ class WPP_Public {
89
  public function enqueue_scripts() {
90
 
91
  /**
92
- * Enqueue WPP's tracking code.
93
  */
94
 
95
- $is_single = WPP_Helper::is_single();
96
 
97
- if ( $is_single ) {
98
-
99
- if (
100
- ( 0 == $this->admin_options['tools']['log']['level'] && !is_user_logged_in() )
101
- || ( 1 == $this->admin_options['tools']['log']['level'] )
102
- || ( 2 == $this->admin_options['tools']['log']['level'] && is_user_logged_in() )
103
- ) {
104
-
105
- wp_register_script( 'wpp-js', plugin_dir_url( __FILE__ ) . 'js/wpp.js', array(), $this->version, false );
106
 
107
- $params = array(
108
- 'sampling_active' => $this->admin_options['tools']['sampling']['active'],
109
- 'sampling_rate' => $this->admin_options['tools']['sampling']['rate'],
110
- 'ajax_url' => admin_url( 'admin-ajax.php', is_ssl() ? 'https' : 'http' ),
111
- 'action' => 'update_views_ajax',
112
- 'ID' => $is_single,
113
- 'token' => wp_create_nonce( 'wpp-token' )
114
- );
115
- wp_localize_script( 'wpp-js', 'wpp_params', $params );
116
 
117
- wp_enqueue_script( 'wpp-js' );
118
 
119
- }
 
 
 
 
 
 
 
 
 
 
120
 
121
- }
122
 
123
  }
124
 
@@ -280,7 +280,7 @@ class WPP_Public {
280
  'time_quantity' => 24,
281
  'freshness' => false,
282
  'order_by' => 'views',
283
- 'post_type' => 'post,page',
284
  'pid' => '',
285
  'cat' => '',
286
  'taxonomy' => 'category',
@@ -400,7 +400,7 @@ class WPP_Public {
400
  $instance['author'] = implode( ",", $ids );
401
  }
402
 
403
- $shortcode_content = "\n". "<!-- WordPress Popular Posts Plugin v". $this->version ." [" . ( $php ? "PHP" : "SC" ) . "] [".$shortcode_ops['range']."] [".$shortcode_ops['order_by']."] [custom]" . ( !empty($shortcode_ops['pid']) ? " [PID]" : "" ) . ( !empty($shortcode_ops['cat']) ? " [CAT]" : "" ) . ( !empty($shortcode_ops['author']) ? " [UID]" : "" ) . " -->"."\n";
404
 
405
  // is there a title defined by user?
406
  if (
@@ -485,10 +485,19 @@ class WPP_Public {
485
  $output = new WPP_Output( $popular_posts->get_posts(), $shortcode_ops );
486
 
487
  $shortcode_content .= $output->get_output();
488
- $shortcode_content .= "\n" . "<!-- End WordPress Popular Posts Plugin v" . $this->version . " -->" . ( $cached ? '<!-- cached -->' : '' ) . "\n";
489
 
490
  return $shortcode_content;
491
 
492
  }
493
 
 
 
 
 
 
 
 
 
 
 
494
  } // End WPP_Public class
3
  /**
4
  * The public-facing functionality of the plugin.
5
  *
6
+ * @link https://cabrerahector.com/
7
  * @since 4.0.0
8
  *
9
  * @package WordPressPopularPosts
89
  public function enqueue_scripts() {
90
 
91
  /**
92
+ * Enqueue WPP's library.
93
  */
94
 
95
+ $is_single = 0;
96
 
97
+ if (
98
+ ( 0 == $this->admin_options['tools']['log']['level'] && !is_user_logged_in() )
99
+ || ( 1 == $this->admin_options['tools']['log']['level'] )
100
+ || ( 2 == $this->admin_options['tools']['log']['level'] && is_user_logged_in() )
101
+ ) {
102
+ $is_single = WPP_Helper::is_single();
103
+ }
 
 
104
 
105
+ wp_register_script( 'wpp-js', plugin_dir_url( __FILE__ ) . 'js/wpp-4.1.0.min.js', array(), $this->version, false );
 
 
 
 
 
 
 
 
106
 
107
+ $wp_rest_api = class_exists( 'WP_REST_Controller', false );
108
 
109
+ $params = array(
110
+ 'rest_api' => (int) $wp_rest_api,
111
+ 'sampling_active' => (int) $this->admin_options['tools']['sampling']['active'],
112
+ 'sampling_rate' => $this->admin_options['tools']['sampling']['rate'],
113
+ 'ajax_url' => ( $wp_rest_api ) ? esc_url_raw( rest_url( 'wordpress-popular-posts/v1/popular-posts/' ) ) : admin_url( 'admin-ajax.php', is_ssl() ? 'https' : 'http' ),
114
+ 'action' => 'update_views_ajax',
115
+ 'ID' => $is_single,
116
+ 'token' => ( $wp_rest_api ) ? wp_create_nonce( 'wp_rest' ) : wp_create_nonce( 'wpp-token' ),
117
+ 'debug' => WP_DEBUG
118
+ );
119
+ wp_localize_script( 'wpp-js', 'wpp_params', $params );
120
 
121
+ wp_enqueue_script( 'wpp-js' );
122
 
123
  }
124
 
280
  'time_quantity' => 24,
281
  'freshness' => false,
282
  'order_by' => 'views',
283
+ 'post_type' => 'post',
284
  'pid' => '',
285
  'cat' => '',
286
  'taxonomy' => 'category',
400
  $instance['author'] = implode( ",", $ids );
401
  }
402
 
403
+ $shortcode_content = '';
404
 
405
  // is there a title defined by user?
406
  if (
485
  $output = new WPP_Output( $popular_posts->get_posts(), $shortcode_ops );
486
 
487
  $shortcode_content .= $output->get_output();
 
488
 
489
  return $shortcode_content;
490
 
491
  }
492
 
493
+ /**
494
+ * Initiates the popular posts REST controller class.
495
+ *
496
+ * @since 4.0.13
497
+ */
498
+ public function init_rest_route() {
499
+ $rest_controller = new WP_REST_Popular_Posts_Controller();
500
+ $rest_controller->register_routes();
501
+ }
502
+
503
  } // End WPP_Public class
public/js/wpp-4.1.0.min.js ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ var WordPressPopularPosts=function(){var d=function(){},f=function(b,e,a,d){var c=window.XMLHttpRequest?new XMLHttpRequest:new ActiveXObject("Microsoft.XMLHTTP");b=-1!=["GET","POST"].indexOf(b)?b:"GET";c.open(b,e+("GET"==b?"?"+a:""),!0);"POST"==b&&c.setRequestHeader("Content-type","application/x-www-form-urlencoded");c.setRequestHeader("X-Requested-With","XMLHttpRequest");c.onreadystatechange=function(){4===c.readyState&&200===c.status&&"function"===typeof d&&d.call(void 0,c.response)};c.send("POST"==
2
+ b?a:null)};return{get:function(b,e,a){a="function"===typeof a?a:d;f("GET",b,e,a)},post:function(b,e,a){a="function"===typeof a?a:d;f("POST",b,e,a)},ajax:f}}();
3
+ if("undefined"!==typeof wpp_params && wpp_params.ID > 0){var do_request=!0;if("1"==wpp_params.sampling_active){var num=Math.floor(Math.random()*wpp_params.sampling_rate)+1;do_request=1===num}do_request&&WordPressPopularPosts.post(wpp_params.ajax_url,"action="+wpp_params.action+"&_wpnonce="+wpp_params.token+"&token="+wpp_params.token+"&wpp_id="+wpp_params.ID+"&sampling="+wpp_params.sampling_active+"&sampling_rate="+wpp_params.sampling_rate,function(d){wpp_params.debug&&window.console&&window.console.log&&window.console.log(d)})};
public/js/wpp.js CHANGED
@@ -1 +1,73 @@
1
- ;if("undefined"!==typeof wpp_params){var do_request=!0;if(1==wpp_params.sampling_active)var num=Math.floor(Math.random()*wpp_params.sampling_rate)+1,do_request=1===num;if(do_request){var xhr=window.XMLHttpRequest?new XMLHttpRequest:new ActiveXObject("Microsoft.XMLHTTP"),url=wpp_params.ajax_url,params="action="+wpp_params.action+"&token="+wpp_params.token+"&wpp_id="+wpp_params.ID;xhr.open("POST",url,!0);xhr.setRequestHeader("Content-type","application/x-www-form-urlencoded");xhr.setRequestHeader("X-Requested-With","XMLHttpRequest");xhr.onreadystatechange=function(){4===xhr.readyState&&200===xhr.status&&window.console&&window.console.log&&window.console.log(xhr.responseText)};xhr.send(params)}};
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ var WordPressPopularPosts = (function(){
2
+
3
+ "use strict";
4
+
5
+ var noop = function(){};
6
+
7
+ var get = function( url, params, callback ){
8
+ callback = ( 'function' === typeof callback ) ? callback : noop;
9
+ ajax( "GET", url, params, callback );
10
+ };
11
+
12
+ var post = function( url, params, callback ){
13
+ callback = ( 'function' === typeof callback ) ? callback : noop;
14
+ ajax( "POST", url, params, callback );
15
+ };
16
+
17
+ var ajax = function( method, url, params, callback ){
18
+ /* Create XMLHttpRequest object and set variables */
19
+ var xhr = ( window.XMLHttpRequest )
20
+ ? new XMLHttpRequest()
21
+ : new ActiveXObject( "Microsoft.XMLHTTP" ),
22
+ target = url,
23
+ args = params,
24
+ valid_methods = ["GET", "POST"];
25
+ method = -1 != valid_methods.indexOf( method ) ? method : "GET";
26
+ /* Set request method and target URL */
27
+ xhr.open( method, target + ( "GET" == method ? '?' + args : '' ), true );
28
+ /* Set request headers */
29
+ if ( "POST" == method ) {
30
+ xhr.setRequestHeader( "Content-type", "application/x-www-form-urlencoded" );
31
+ }
32
+ xhr.setRequestHeader( "X-Requested-With","XMLHttpRequest" );
33
+ /* Hook into onreadystatechange */
34
+ xhr.onreadystatechange = function() {
35
+ if ( 4 === xhr.readyState && 200 === xhr.status ) {
36
+ if ( 'function' === typeof callback ) {
37
+ callback.call( undefined, xhr.response );
38
+ }
39
+ }
40
+ };
41
+ /* Send request */
42
+ xhr.send( ( "POST" == method ? args : null ) );
43
+ };
44
+
45
+ return {
46
+ get: get,
47
+ post: post,
48
+ ajax: ajax
49
+ };
50
+
51
+ })();
52
+
53
+ if (
54
+ "undefined" !== typeof wpp_params
55
+ && wpp_params.ID > 0
56
+ ) {
57
+ var do_request = true;
58
+
59
+ if ( '1' == wpp_params.sampling_active ) {
60
+ var num = Math.floor(Math.random() * wpp_params.sampling_rate) + 1;
61
+ do_request = ( 1 === num );
62
+ }
63
+
64
+ if ( do_request ) {
65
+ WordPressPopularPosts.post(
66
+ wpp_params.ajax_url,
67
+ "action=" + wpp_params.action + "&_wpnonce=" + wpp_params.token + "&token=" + wpp_params.token + "&wpp_id=" + wpp_params.ID + "&sampling=" + wpp_params.sampling_active + "&sampling_rate=" + wpp_params.sampling_rate,
68
+ function( response ){
69
+ wpp_params.debug&&window.console&&window.console.log&&window.console.log( response );
70
+ }
71
+ );
72
+ }
73
+ }
readme.txt CHANGED
@@ -2,9 +2,10 @@
2
  Contributors: hcabrera
3
  Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=hcabrerab%40gmail%2ecom&lc=GB&item_name=WordPress%20Popular%20Posts%20Plugin&currency_code=USD&bn=PP%2dDonationsBF%3abtn_donateCC_LG_global%2egif%3aNonHosted
4
  Tags: popular, posts, widget, popularity, top
5
- Requires at least: 4.1
6
- Tested up to: 4.8.3
7
- Stable tag: 4.0.12
 
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -23,7 +24,7 @@ WordPress Popular Posts is a highly customizable widget that displays your most
23
  * **Sorting options** - Order your popular list by comments, views (default) or average views per day!
24
  * **Use your own layout!** - WPP is flexible enough to let you customize the look and feel of your popular posts! (see [customizing WPP's HTML markup](https://github.com/cabrerahector/wordpress-popular-posts/wiki/5.-FAQ#how-can-i-use-my-own-html-markup-with-your-plugin) and [How to style WordPress Popular Posts](https://github.com/cabrerahector/wordpress-popular-posts/wiki/6.-Styling-the-list) for more.)
25
  * **Disqus support** - Sort your popular posts by Disqus comments count!
26
- * **Polylang & WPML 3.2+ support!**
27
  * **WordPress Multisite support** - Each site on the network can have its own popular posts!
28
 
29
  = Other Features =
@@ -34,6 +35,8 @@ WordPress Popular Posts is a highly customizable widget that displays your most
34
 
35
  **WordPress Popular Posts** is now also on [GitHub](https://github.com/cabrerahector/wordpress-popular-posts)!
36
 
 
 
37
  == Installation ==
38
 
39
  Please make sure your site meets the [minimum requirements](https://github.com/cabrerahector/wordpress-popular-posts#requirements) before proceeding.
@@ -82,105 +85,30 @@ The FAQ section has been moved [here](https://github.com/cabrerahector/wordpress
82
  4. WordPress Popular Posts Stats panel.
83
 
84
  == Changelog ==
85
- = 4.0.12 =
86
-
87
- - Fixes bug where WPP didn't return the right URL when using Polylang / WPML.
88
- - Fixes a compatibility issue with Yoast SEO (and potentially other plugins as well).
89
- - Improves compatibility with MySQL 5.7+.
90
- - Other minor fixes and improvements.
91
-
92
- = 4.0.11 =
93
-
94
- **If you're using a caching plugin, flushing its cache after installing / upgrading to this version is highly recommended.**
95
-
96
- - Fixes reference to tracking script.
97
-
98
- = 4.0.10 =
99
-
100
- **If you're using a caching plugin, flushing its cache after installing / upgrading to this version is highly recommended.**
101
-
102
- - Renames tracking script to prevent issues with ad blockers (props @Damienov).
103
- - Widget: fixes caching (props @zu2).
104
- - Exposes offset parameter to wpp shortcode / `wpp_get_mostpopular` template tag.
105
-
106
- = 4.0.9 =
107
- - Widget: fixes Author ID field not saving/updating.
108
- - Fixes WPP data caching (props @zu2).
109
- - Dashboard: updates Content Tags' documentation.
110
- - Main POT file updated.
111
- - Other minor bug fixes & improvements.
112
-
113
- = 4.0.8 =
114
- - Multisite: plugin can now be installed individually on each site.
115
- - Multisite: improved upgrade process.
116
- - Dashboard: adds multisite check to Debug screen.
117
- - Dashboard: have the Debug screen display active plugins only.
118
- - Improves compatibility with Beaver Builder.
119
- - Adds onload event to ajax widget (props @cawa-93).
120
- - Other minor bug fixes.
121
 
122
- = 4.0.6 =
123
 
124
- - Improves compatibility with Multisite.
125
- - Fixes a bug that prevented upgrade process from running on MU (props Greg Sullivan!)
126
- - Improves compatibility with Beaver Builder.
 
 
 
127
 
128
- = 4.0.5 =
129
 
130
- - Fixes the taxonomy filter for Custom Post Types.
131
- - Updates summary table structure and indexes.
132
- - Adds back ability to use custom wpp.css from theme.
133
- - Dashboard: adds a Debug screen to help with support inquiries.
134
- - Other minor bug fixes and improvements.
135
 
136
- = 4.0.3 =
 
137
 
138
- **This is a hotfix release.**
139
-
140
- - Dashboard: escapes post titles to prevent potential XSS (props Delta!)
141
- - Restores ability to use a custom default thumbnail.
142
-
143
- = 4.0.2 =
144
-
145
- **This is a hotfix release.**
146
-
147
- - Dashboard: fixes thumbnail picker on HTTPS.
148
- - Adds the wpp_custom_html filter back.
149
-
150
- = 4.0.1 =
151
-
152
- **This is a hotfix release.**
153
-
154
- - Fixes a warning message triggered on old PHP versions.
155
- - Fixes undefined default_thumbnail_sizes warning message.
156
- - Removes a hardcoded table prefix causing issues on sites that uses a different prefix than the stock one.
157
-
158
- = 4.0.0 =
159
-
160
- **If you're using a caching plugin, flushing its cache after installing / upgrading to this version is highly recommended.**
161
-
162
- - Plugin code refactored!
163
- - Dashboard section redesigned (now mobile-friendly, too!)
164
- - New Statistics chart and other goodies.
165
- - Adds ability to pick a Custom Time Range!
166
- - Adds ability to filter posts by other taxonomies than just categories!
167
- - Adds Relative Date Format.
168
- - Fixes broken views tracking caused by changeset 41508 https://core.trac.wordpress.org/changeset/41508 (props hykw!)
169
- - Improves PHP7+ compatibility.
170
- - Improves compatibility with WP-SpamShield, WooCommerce, Polylang and WPML.
171
- - Drops qTranslate support (that plugin has been long removed from WordPress.org anyways.)
172
- - New content tags added: {img_url}, {taxonomy}.
173
- - New filters: wpp_post_class, wpp_post_exclude_terms.
174
- - French and German translation files became too outdated and so support has been dropped for now (want to help? Contact me!)
175
- - Tons of minor bug fixes and improvements.
176
-
177
- Also, see [Release notes](https://cabrerahector.com/development/wordpress-popular-posts-4-0-is-finally-out/).
178
 
179
- = 3.3.4 =
180
- - Attempt to convert tables to InnoDB during upgrade if other engine is being used.
181
- - Adds a check to prevent the upgrade process from running too many times.
182
- - Minor improvements and bug fixes.
183
- - Documentation updated.
184
 
185
  See [full changelog](https://github.com/cabrerahector/wordpress-popular-posts/blob/master/changelog.md).
186
 
2
  Contributors: hcabrera
3
  Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=hcabrerab%40gmail%2ecom&lc=GB&item_name=WordPress%20Popular%20Posts%20Plugin&currency_code=USD&bn=PP%2dDonationsBF%3abtn_donateCC_LG_global%2egif%3aNonHosted
4
  Tags: popular, posts, widget, popularity, top
5
+ Requires at least: 4.7
6
+ Tested up to: 4.9.6
7
+ Requires PHP: 5.2
8
+ Stable tag: 4.1.0
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
24
  * **Sorting options** - Order your popular list by comments, views (default) or average views per day!
25
  * **Use your own layout!** - WPP is flexible enough to let you customize the look and feel of your popular posts! (see [customizing WPP's HTML markup](https://github.com/cabrerahector/wordpress-popular-posts/wiki/5.-FAQ#how-can-i-use-my-own-html-markup-with-your-plugin) and [How to style WordPress Popular Posts](https://github.com/cabrerahector/wordpress-popular-posts/wiki/6.-Styling-the-list) for more.)
26
  * **Disqus support** - Sort your popular posts by Disqus comments count!
27
+ * **Polylang & WPML 3.2+ support** - Show the translated version of your popular posts!
28
  * **WordPress Multisite support** - Each site on the network can have its own popular posts!
29
 
30
  = Other Features =
35
 
36
  **WordPress Popular Posts** is now also on [GitHub](https://github.com/cabrerahector/wordpress-popular-posts)!
37
 
38
+ Looking for a Recent Posts widget just as featured-packed as WordPress Popular Posts? **Try [Recently](https://wordpress.org/plugins/recently/)**!
39
+
40
  == Installation ==
41
 
42
  Please make sure your site meets the [minimum requirements](https://github.com/cabrerahector/wordpress-popular-posts#requirements) before proceeding.
85
  4. WordPress Popular Posts Stats panel.
86
 
87
  == Changelog ==
88
+ = 4.1.0 =
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
89
 
90
+ **If you're using a caching plugin, flushing its cache right after installing / upgrading to this version is highly recommended.**
91
 
92
+ - Adds support for the REST API.
93
+ - Adds At-a-Glance stats.
94
+ - Adds Today time range to Stats section.
95
+ - Drops jQuery dependency on front-end (faster loading times!)
96
+ - The plugin will no longer display debugging information unless WP_DEBUG is set to true.
97
+ - Many minor bug fixes and improvements.
98
 
99
+ See the [Release notes](https://cabrerahector.com/wordpress/wordpress-popular-posts-4-1-is-here/) for more details!
100
 
101
+ = 4.0.13 =
 
 
 
 
102
 
103
+ - Improvements to WPP's upgrade process.
104
+ - Fixes ALT text missing from IMG tags.
105
 
106
+ = 4.0.12 =
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
107
 
108
+ - Fixes bug where WPP didn't return the right URL when using Polylang / WPML.
109
+ - Fixes a compatibility issue with Yoast SEO (and potentially other plugins as well).
110
+ - Improves compatibility with MySQL 5.7+.
111
+ - Other minor fixes and improvements.
 
112
 
113
  See [full changelog](https://github.com/cabrerahector/wordpress-popular-posts/blob/master/changelog.md).
114
 
uninstall.php CHANGED
@@ -3,10 +3,10 @@
3
  * Fired when the plugin is uninstalled.
4
  *
5
  * @package WordpressPopularPosts
6
- * @author Hector Cabrera <hcabrerab@gmail.com>
7
  * @license GPL-2.0+
8
- * @link http://cabrerahector.com
9
- * @copyright 2013 Hector Cabrera
10
  */
11
 
12
  // If uninstall, not called from WordPress, then exit
@@ -62,7 +62,7 @@ if ( function_exists( 'is_multisite' ) && is_multisite() ) {
62
  }
63
 
64
  function delete_thumb_cache() {
65
- $wp_upload_dir = wp_upload_dir();
66
 
67
  if ( is_dir( $wp_upload_dir['basedir'] . "/wordpress-popular-posts" ) ) {
68
  $files = glob( $wp_upload_dir['basedir'] . "/wordpress-popular-posts/*" ); // get all file names
3
  * Fired when the plugin is uninstalled.
4
  *
5
  * @package WordpressPopularPosts
6
+ * @author Hector Cabrera <me@cabrerahector.com>
7
  * @license GPL-2.0+
8
+ * @link https://cabrerahector.com
9
+ * @copyright 2008-2018 Hector Cabrera
10
  */
11
 
12
  // If uninstall, not called from WordPress, then exit
62
  }
63
 
64
  function delete_thumb_cache() {
65
+ $wp_upload_dir = wp_get_upload_dir();
66
 
67
  if ( is_dir( $wp_upload_dir['basedir'] . "/wordpress-popular-posts" ) ) {
68
  $files = glob( $wp_upload_dir['basedir'] . "/wordpress-popular-posts/*" ); // get all file names
wordpress-popular-posts.php CHANGED
@@ -8,7 +8,7 @@
8
  * registers the activation and deactivation functions, and defines a function
9
  * that starts the plugin.
10
  *
11
- * @link http://cabrerahector.com/
12
  * @since 4.0.0
13
  * @package WordPressPopularPosts
14
  *
@@ -16,9 +16,9 @@
16
  * Plugin Name: WordPress Popular Posts
17
  * Plugin URI: https://wordpress.org/plugins/wordpress-popular-posts/
18
  * Description: A highly customizable widget that displays the most popular posts on your blog.
19
- * Version: 4.0.12
20
  * Author: Hector Cabrera
21
- * Author URI: http://cabrerahector.com/
22
  * License: GPL-2.0+
23
  * License URI: http://www.gnu.org/licenses/gpl-2.0.txt
24
  * Text Domain: wordpress-popular-posts
@@ -29,6 +29,8 @@ if ( ! defined( 'WPINC' ) ) {
29
  die();
30
  }
31
 
 
 
32
  /*
33
  * The code that runs during plugin activation.
34
  */
8
  * registers the activation and deactivation functions, and defines a function
9
  * that starts the plugin.
10
  *
11
+ * @link https://cabrerahector.com/
12
  * @since 4.0.0
13
  * @package WordPressPopularPosts
14
  *
16
  * Plugin Name: WordPress Popular Posts
17
  * Plugin URI: https://wordpress.org/plugins/wordpress-popular-posts/
18
  * Description: A highly customizable widget that displays the most popular posts on your blog.
19
+ * Version: 4.1.0
20
  * Author: Hector Cabrera
21
+ * Author URI: https://cabrerahector.com/
22
  * License: GPL-2.0+
23
  * License URI: http://www.gnu.org/licenses/gpl-2.0.txt
24
  * Text Domain: wordpress-popular-posts
29
  die();
30
  }
31
 
32
+ define( 'WPP_VER', '4.1.0' );
33
+
34
  /*
35
  * The code that runs during plugin activation.
36
  */