Top 10 – Popular posts plugin for WordPress - Version 2.0.0

Version Description

Major update: Multisite support; Better extensions support; Hourly tracking; bug fixes; View the Changelog for details;

=

Download this release

Release Info

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

Code changes from version 1.9.10.2 to 2.0.0

Files changed (52) hide show
  1. README.md +2 -2
  2. admin.inc.php +0 -1306
  3. admin/admin-columns.php +189 -0
  4. admin/admin-dashboard.php +213 -0
  5. admin/admin-metabox.php +159 -0
  6. admin/admin.php +1408 -0
  7. {wick → admin}/index.php +0 -0
  8. admin/wick/index.php +1 -0
  9. {wick → admin/wick}/wick.css +0 -0
  10. {wick → admin/wick}/wick.js +0 -0
  11. includes/class-top-10-widget.php +248 -0
  12. includes/deprecated.php +35 -0
  13. includes/index.php +1 -0
  14. includes/top-10-addcount.js.php +57 -0
  15. includes/top-10-counter.js.php +43 -0
  16. includes/top-10-daily.js.php +37 -0
  17. languages/tptn-az_AZ.mo +0 -0
  18. languages/tptn-az_AZ.po +518 -335
  19. languages/tptn-be_BY.mo +0 -0
  20. languages/tptn-be_BY.po +508 -329
  21. languages/tptn-en_US.mo +0 -0
  22. languages/tptn-en_US.po +469 -302
  23. languages/tptn-en_US.pot +469 -302
  24. languages/tptn-es_ES.mo +0 -0
  25. languages/tptn-es_ES.po +4 -2
  26. languages/tptn-fr_FR.mo +0 -0
  27. languages/tptn-fr_FR.po +523 -339
  28. languages/tptn-ga_IR.mo +0 -0
  29. languages/tptn-ga_IR.po +510 -331
  30. languages/tptn-hi_IN.mo +0 -0
  31. languages/tptn-hi_IN.po +543 -385
  32. languages/tptn-it_IT.mo +0 -0
  33. languages/tptn-it_IT.po +2 -1
  34. languages/tptn-nl_NL.mo +0 -0
  35. languages/tptn-nl_NL.po +518 -336
  36. languages/tptn-ro_RO.mo +0 -0
  37. languages/tptn-ro_RO.po +518 -336
  38. languages/tptn-ru_RU.mo +0 -0
  39. languages/tptn-ru_RU.po +519 -337
  40. languages/tptn-sr_RS.mo +0 -0
  41. languages/tptn-sr_RS.po +554 -354
  42. languages/tptn-ua_UA.mo +0 -0
  43. languages/tptn-ua_UA.po +519 -337
  44. readme.txt +23 -9
  45. timthumb/cache/index.html +0 -0
  46. timthumb/cache/timthumb_cacheLastCleanTime.touch +0 -0
  47. timthumb/cache/timthumb_int_3c6dbefcc66cc6a760cd6873d4421132.timthumb.txt +0 -0
  48. timthumb/cache/timthumb_int_ef86ac262092aa5f7d00ee8173dacad6.timthumb.txt +0 -0
  49. top-10-addcount.js.php +24 -15
  50. top-10-counter.js.php +17 -9
  51. top-10-daily.js.php +23 -15
  52. top-10.php +1060 -608
README.md CHANGED
@@ -2,7 +2,7 @@
2
 
3
  __Requires:__ 3.0
4
 
5
- __Tested up to:__ 4.1
6
 
7
  __License:__ [GPL-2.0+](http://www.gnu.org/licenses/gpl-2.0.html)
8
 
@@ -42,7 +42,7 @@ If you're looking for a plugin to display related, look no further than my other
42
 
43
 
44
  ## Screenshots
45
- ![General Options](https://raw.github.com/ajaydsouza/top-10/master/screenshot-1.png)
46
  _Top 10 settings page - General Options._
47
 
48
  For more screenshots visit the <a href="http://wordpress.org/plugins/top-10/screenshots/">WordPress plugin page</a>
2
 
3
  __Requires:__ 3.0
4
 
5
+ __Tested up to:__ 4.2
6
 
7
  __License:__ [GPL-2.0+](http://www.gnu.org/licenses/gpl-2.0.html)
8
 
42
 
43
 
44
  ## Screenshots
45
+ ![General Options](https://raw.github.com/ajaydsouza/top-10/master/assets/screenshot-1.png)
46
  _Top 10 settings page - General Options._
47
 
48
  For more screenshots visit the <a href="http://wordpress.org/plugins/top-10/screenshots/">WordPress plugin page</a>
admin.inc.php DELETED
@@ -1,1306 +0,0 @@
1
- <?php
2
- /**********************************************************************
3
- * Admin Page *
4
- *********************************************************************/
5
- if (!defined('ABSPATH')) die("Aren't you supposed to come here via WP-Admin?");
6
-
7
- /**
8
- * Plugin settings.
9
- *
10
- * @access public
11
- * @return void
12
- */
13
- function tptn_options() {
14
-
15
- global $wpdb;
16
- $poststable = $wpdb->posts;
17
-
18
- $tptn_settings = tptn_read_options();
19
- parse_str( $tptn_settings['post_types'],$post_types );
20
- $wp_post_types = get_post_types( array(
21
- 'public' => true,
22
- ) );
23
- $posts_types_inc = array_intersect( $wp_post_types, $post_types );
24
-
25
- if ( ( isset( $_POST['tptn_save'] ) ) && ( check_admin_referer( 'tptn-plugin-options' ) ) ) {
26
- $tptn_settings['title'] = wp_kses_post( $_POST['title'] );
27
- $tptn_settings['title_daily'] = wp_kses_post( $_POST['title_daily'] );
28
- $tptn_settings['daily_range'] = intval( $_POST['daily_range'] );
29
- $tptn_settings['limit'] = intval( $_POST['limit'] );
30
- $tptn_settings['count_disp_form'] = $_POST['count_disp_form'];
31
- $tptn_settings['count_disp_form_zero'] = $_POST['count_disp_form_zero'];
32
- $tptn_settings['exclude_on_post_ids'] = $_POST['exclude_on_post_ids'] == '' ? '' : implode( ',', array_map( 'intval', explode( ",", $_POST['exclude_on_post_ids'] ) ) );
33
- $tptn_settings['exclude_post_ids'] = $_POST['exclude_post_ids'] == '' ? '' : implode( ',', array_map( 'intval', explode( ",", $_POST['exclude_post_ids'] ) ) );
34
-
35
- $tptn_settings['add_to_content'] = isset( $_POST['add_to_content'] ) ? true : false;
36
- $tptn_settings['count_on_pages'] = isset( $_POST['count_on_pages'] ) ? true : false;
37
- $tptn_settings['add_to_feed'] = isset( $_POST['add_to_feed'] ) ? true : false;
38
- $tptn_settings['add_to_home'] = isset( $_POST['add_to_home'] ) ? true : false;
39
- $tptn_settings['add_to_category_archives'] = isset( $_POST['add_to_category_archives'] ) ? true : false;
40
- $tptn_settings['add_to_tag_archives'] = isset( $_POST['add_to_tag_archives'] ) ? true : false;
41
- $tptn_settings['add_to_archives'] = isset( $_POST['add_to_archives'] ) ? true : false;
42
-
43
- $tptn_settings['activate_overall'] = isset( $_POST['activate_overall']) ? true : false;
44
- $tptn_settings['activate_daily'] = isset( $_POST['activate_daily']) ? true : false;
45
- $tptn_settings['track_authors'] = isset( $_POST['track_authors']) ? true : false;
46
- $tptn_settings['track_admins'] = isset( $_POST['track_admins']) ? true : false;
47
- $tptn_settings['track_editors'] = isset( $_POST['track_editors']) ? true : false;
48
- $tptn_settings['pv_in_admin'] = isset( $_POST['pv_in_admin']) ? true : false;
49
- $tptn_settings['show_count_non_admins'] = isset( $_POST['show_count_non_admins'] ) ? true : false;
50
-
51
- $tptn_settings['disp_list_count'] = isset( $_POST['disp_list_count'] ) ? true : false;
52
- $tptn_settings['d_use_js'] = isset( $_POST['d_use_js'] ) ? true : false;
53
- $tptn_settings['dynamic_post_count'] = isset( $_POST['dynamic_post_count'] ) ? true : false;
54
- $tptn_settings['show_credit'] = isset( $_POST['show_credit'] ) ? true : false;
55
- $tptn_settings['blank_output'] = ( $_POST['blank_output'] == 'blank' ) ? true : false;
56
- $tptn_settings['blank_output_text'] = wp_kses_post( $_POST['blank_output_text'] );
57
-
58
- $tptn_settings['post_thumb_op'] = $_POST['post_thumb_op'];
59
- $tptn_settings['before_list'] = $_POST['before_list'];
60
- $tptn_settings['after_list'] = $_POST['after_list'];
61
- $tptn_settings['before_list_item'] = $_POST['before_list_item'];
62
- $tptn_settings['after_list_item'] = $_POST['after_list_item'];
63
- $tptn_settings['thumb_meta'] = '' == $_POST['thumb_meta'] ? 'post-image' : $_POST['thumb_meta'];
64
- $tptn_settings['thumb_default'] = $_POST['thumb_default'];
65
- $tptn_settings['thumb_html'] = $_POST['thumb_html'];
66
- $tptn_settings['thumb_height'] = intval( $_POST['thumb_height'] );
67
- $tptn_settings['thumb_width'] = intval( $_POST['thumb_width'] );
68
- $tptn_settings['thumb_default_show'] = isset( $_POST['thumb_default_show'] ) ? true : false;
69
- $tptn_settings['thumb_timthumb'] = isset( $_POST['thumb_timthumb'] ) ? true : false;
70
- $tptn_settings['thumb_timthumb_q'] = intval( $_POST['thumb_timthumb_q'] );
71
- $tptn_settings['scan_images'] = isset( $_POST['scan_images'] ) ? true : false;
72
-
73
- $tptn_settings['show_excerpt'] = isset( $_POST['show_excerpt'] ) ? true : false;
74
- $tptn_settings['excerpt_length'] = intval( $_POST['excerpt_length'] );
75
- $tptn_settings['title_length'] = intval( $_POST['title_length'] );
76
- $tptn_settings['show_date'] = isset( $_POST['show_date'] ) ? true : false;
77
- $tptn_settings['show_author'] = isset( $_POST['show_author'] ) ? true : false;
78
-
79
- $tptn_settings['custom_CSS'] = wp_kses_post( $_POST['custom_CSS'] );
80
- $tptn_settings['include_default_style'] = isset( $_POST['include_default_style'] ) ? true : false;
81
-
82
- $tptn_settings['link_new_window'] = isset( $_POST['link_new_window'] ) ? true : false;
83
- $tptn_settings['link_nofollow'] = isset( $_POST['link_nofollow'] ) ? true : false;
84
-
85
- $tptn_settings['cache_fix'] = isset( $_POST['cache_fix'] ) ? true : false;
86
-
87
- // Exclude categories
88
- $tptn_settings['exclude_cat_slugs'] = $_POST['exclude_cat_slugs'];
89
-
90
- $exclude_categories_slugs = explode( ", ", $tptn_settings['exclude_cat_slugs'] );
91
-
92
- //$exclude_categories = '';
93
- foreach ( $exclude_categories_slugs as $exclude_categories_slug ) {
94
- $catObj = get_category_by_slug( $exclude_categories_slug );
95
- if ( isset( $catObj->term_id ) ) {
96
- $exclude_categories[] = $catObj->term_id;
97
- }
98
- }
99
- $tptn_settings['exclude_categories'] = isset( $exclude_categories ) ? join( ',', $exclude_categories ) : '';
100
-
101
- $wp_post_types = get_post_types( array(
102
- 'public' => true,
103
- ) );
104
- $post_types_arr = ( isset( $_POST['post_types'] ) && is_array( $_POST['post_types'] ) ) ? $_POST['post_types'] : array( 'post' => 'post' );
105
- $post_types = array_intersect( $wp_post_types, $post_types_arr );
106
- $tptn_settings['post_types'] = http_build_query( $post_types, '', '&' );
107
-
108
- update_option( 'ald_tptn_settings', $tptn_settings );
109
-
110
- // Let's get the options again after we update them
111
- $tptn_settings = tptn_read_options();
112
- parse_str( $tptn_settings['post_types'], $post_types );
113
- $posts_types_inc = array_intersect( $wp_post_types, $post_types );
114
-
115
- $str = '<div id="message" class="updated fade"><p>'. __( 'Options saved successfully.', TPTN_LOCAL_NAME ) .'</p></div>';
116
- echo $str;
117
- }
118
-
119
- if ( ( isset( $_POST['tptn_default'] ) ) && ( check_admin_referer( 'tptn-plugin-options' ) ) ) {
120
- delete_option( 'ald_tptn_settings' );
121
- $tptn_settings = tptn_default_options();
122
- update_option( 'ald_tptn_settings', $tptn_settings );
123
- tptn_disable_run();
124
-
125
- $str = '<div id="message" class="updated fade"><p>'. __( 'Options set to Default.', TPTN_LOCAL_NAME ) .'</p></div>';
126
- echo $str;
127
- }
128
-
129
- if ( ( isset( $_POST['tptn_trunc_all'] ) ) && ( check_admin_referer( 'tptn-plugin-options' ) ) ) {
130
- tptn_trunc_count( false );
131
- $str = '<div id="message" class="updated fade"><p>'. __( 'Top 10 popular posts reset', TPTN_LOCAL_NAME ) .'</p></div>';
132
- echo $str;
133
- }
134
-
135
- if ( ( isset( $_POST['tptn_trunc_daily'] ) ) && ( check_admin_referer( 'tptn-plugin-options' ) ) ) {
136
- tptn_trunc_count( true );
137
- $str = '<div id="message" class="updated fade"><p>'. __( 'Top 10 daily popular posts reset', TPTN_LOCAL_NAME ) .'</p></div>';
138
- echo $str;
139
- }
140
-
141
- if ( ( isset( $_POST['tptn_clean_duplicates'] ) ) && ( check_admin_referer( 'tptn-plugin-options' ) ) ) {
142
- tptn_clean_duplicates( true );
143
- tptn_clean_duplicates( false );
144
- $str = '<div id="message" class="updated fade"><p>'. __( 'Duplicate rows cleaned from tables', TPTN_LOCAL_NAME ) .'</p></div>';
145
- echo $str;
146
- }
147
-
148
- if ( ( isset( $_POST['tptn_mnts_save'] ) ) && ( check_admin_referer( 'tptn-plugin-options' ) ) ) {
149
- $tptn_settings['cron_hour'] = min( 23, intval( $_POST['cron_hour'] ) );
150
- $tptn_settings['cron_min'] = min( 59, intval( $_POST['cron_min'] ) );
151
- $tptn_settings['cron_recurrence'] = $_POST['cron_recurrence'];
152
-
153
- if ( isset( $_POST['cron_on'] ) ) {
154
- $tptn_settings['cron_on'] = true;
155
- tptn_enable_run( $tptn_settings['cron_hour'], $tptn_settings['cron_min'], $tptn_settings['cron_recurrence'] );
156
- $str = '<div id="message" class="updated fade"><p>' . __( 'Scheduled maintenance enabled / modified', TPTN_LOCAL_NAME ) .'</p></div>';
157
- } else {
158
- $tptn_settings['cron_on'] = false;
159
- tptn_disable_run();
160
- $str = '<div id="message" class="updated fade"><p>'. __( 'Scheduled maintenance disabled', TPTN_LOCAL_NAME ) .'</p></div>';
161
- }
162
- update_option( 'ald_tptn_settings', $tptn_settings );
163
- $tptn_settings = tptn_read_options();
164
-
165
- echo $str;
166
- }
167
- ?>
168
-
169
- <div class="wrap">
170
- <h2>Top 10</h2>
171
- <div id="poststuff">
172
- <div id="post-body" class="metabox-holder columns-2">
173
- <div id="post-body-content">
174
- <form method="post" id="tptn_options" name="tptn_options" onsubmit="return checkForm()">
175
- <div id="genopdiv" class="postbox closed"><div class="handlediv" title="<?php _e( 'Click to toggle', TPTN_LOCAL_NAME ); ?>"><br /></div>
176
- <h3 class='hndle'><span><?php _e( 'General options', TPTN_LOCAL_NAME ); ?></span></h3>
177
- <div class="inside">
178
- <table class="form-table">
179
- <tr>
180
- <th scope="row"><label for="activate_overall"><?php _e( 'Enable Overall stats', TPTN_LOCAL_NAME ); ?></label></th>
181
- <td><input type="checkbox" name="activate_overall" id="activate_overall" <?php if ( $tptn_settings['activate_overall'] ) echo 'checked="checked"' ?> />
182
- </td>
183
- </tr>
184
- <tr>
185
- <th scope="row"><label for="activate_daily"><?php _e( 'Enable Daily stats', TPTN_LOCAL_NAME ); ?></label></th>
186
- <td><input type="checkbox" name="activate_daily" id="activate_daily" <?php if ( $tptn_settings['activate_daily'] ) echo 'checked="checked"' ?> />
187
- </td>
188
- </tr>
189
- <tr>
190
- <th scope="row"><label for="cache_fix"><?php _e( 'W3 Total Cache fix:', TPTN_LOCAL_NAME ); ?></label></th>
191
- <td><input type="checkbox" name="cache_fix" id="cache_fix" <?php if ( $tptn_settings['cache_fix'] ) echo 'checked="checked"' ?> />
192
- <p class="description"><?php _e( 'This will try to prevent W3 Total Cache from caching the addcount script of the plugin. Try toggling this option in case you find that our posts are not tracked.', TPTN_LOCAL_NAME ); ?></p>
193
- </td>
194
- </tr>
195
- <tr>
196
- <th scope="row"><label for="limit"><?php _e( 'Number of popular posts to display: ', TPTN_LOCAL_NAME ); ?></label></th>
197
- <td><input type="textbox" name="limit" id="limit" value="<?php echo esc_attr( stripslashes( $tptn_settings['limit'] ) ); ?>">
198
- <p class="description"><?php _e( "Maximum number of posts that will be displayed in the list. This option is used if you don't specify the number of posts in the widget or shortcodes", TPTN_LOCAL_NAME ); ?></p>
199
- </td>
200
- </tr>
201
- <tr>
202
- <th scope="row"><label for="daily_range"><?php _e( 'Daily Popular should contain views of how many days? ', TPTN_LOCAL_NAME ); ?></label></th>
203
- <td><input type="textbox" name="daily_range" id="daily_range" size="3" value="<?php echo stripslashes( $tptn_settings['daily_range'] ); ?>">
204
- <p class="description"><?php _e( "Instead of displaying popular posts fromt he past day, this setting lets you display posts for as many days as you want. This can be overridden in the widget.", TPTN_LOCAL_NAME ); ?></p>
205
- </td>
206
- </tr>
207
- <tr><th scope="row"><?php _e( 'Post types to include in results (including custom post types)', TPTN_LOCAL_NAME ); ?></th>
208
- <td>
209
- <?php foreach ( $wp_post_types as $wp_post_type ) {
210
- $post_type_op = '<input type="checkbox" name="post_types[]" value="'.$wp_post_type.'" ';
211
- if ( in_array( $wp_post_type, $posts_types_inc ) ) $post_type_op .= ' checked="checked" ';
212
- $post_type_op .= ' />'.$wp_post_type.'&nbsp;&nbsp;';
213
- echo $post_type_op;
214
- }
215
- ?>
216
- </td>
217
- </tr>
218
- <tr><th scope="row"><label for="exclude_post_ids"><?php _e( 'List of post or page IDs to exclude from the results: ', TPTN_LOCAL_NAME ); ?></label></th>
219
- <td><input type="textbox" name="exclude_post_ids" id="exclude_post_ids" value="<?php echo esc_attr( stripslashes( $tptn_settings['exclude_post_ids'] ) ); ?>" style="width:250px">
220
- <p class="description"><?php _e( 'Enter comma separated list of IDs. e.g. 188,320,500', TPTN_LOCAL_NAME ); ?></p>
221
- </td>
222
- </tr>
223
- <tr>
224
- <th scope="row"><label for="exclude_cat_slugs"><?php _e( 'Exclude Categories: ', TPTN_LOCAL_NAME ); ?></label></th>
225
- <td>
226
- <div style="position:relative;text-align:left">
227
- <table id="MYCUSTOMFLOATER" class="myCustomFloater" style="position:absolute;top:50px;left:0;background-color:#cecece;display:none;visibility:hidden">
228
- <tr><td><!--
229
- please see: http://chrisholland.blogspot.com/2004/09/geekstuff-css-display-inline-block.html
230
- to explain why i'm using a table here.
231
- You could replace the table/tr/td with a DIV, but you'd have to specify it's width and height
232
- -->
233
- <div class="myCustomFloaterContent">
234
- you should never be seeing this
235
- </div>
236
- </td></tr>
237
- </table>
238
- <textarea class="wickEnabled:MYCUSTOMFLOATER" cols="50" rows="3" wrap="virtual" name="exclude_cat_slugs" style="width:100%"><?php echo ( stripslashes( $tptn_settings['exclude_cat_slugs'] ) ); ?></textarea>
239
- <p class="description"><?php _e( 'Comma separated list of category slugs. The field above has an autocomplete so simply start typing in the starting letters and it will prompt you with options', TPTN_LOCAL_NAME ); ?></p>
240
- </div>
241
- </td>
242
- </tr>
243
- <tr>
244
- <th scope="row"><?php _e( 'Display number of views on:', TPTN_LOCAL_NAME ); ?></th>
245
- <td>
246
- <label><input type="checkbox" name="add_to_content" id="add_to_content" <?php if ( $tptn_settings['add_to_content'] ) echo 'checked="checked"' ?> /> <?php _e( 'Posts', TPTN_LOCAL_NAME ); ?></label><br />
247
- <label><input type="checkbox" name="count_on_pages" id="count_on_pages" <?php if ( $tptn_settings['count_on_pages'] ) echo 'checked="checked"' ?> /> <?php _e( 'Pages', TPTN_LOCAL_NAME ); ?></label><br />
248
- <label><input type="checkbox" name="add_to_home" id="add_to_home" <?php if ( $tptn_settings['add_to_home'] ) echo 'checked="checked"' ?> /> <?php _e( 'Home page', TPTN_LOCAL_NAME ); ?></label></label><br />
249
- <label><input type="checkbox" name="add_to_feed" id="add_to_feed" <?php if ( $tptn_settings['add_to_feed'] ) echo 'checked="checked"' ?> /> <?php _e( 'Feeds', TPTN_LOCAL_NAME ); ?></label></label><br />
250
- <label><input type="checkbox" name="add_to_category_archives" id="add_to_category_archives" <?php if ( $tptn_settings['add_to_category_archives'] ) echo 'checked="checked"' ?> /> <?php _e( 'Category archives', TPTN_LOCAL_NAME ); ?></label><br />
251
- <label><input type="checkbox" name="add_to_tag_archives" id="add_to_tag_archives" <?php if ( $tptn_settings['add_to_tag_archives'] ) echo 'checked="checked"' ?> /> <?php _e( 'Tag archives', TPTN_LOCAL_NAME ); ?></label></label><br />
252
- <label><input type="checkbox" name="add_to_archives" id="add_to_archives" <?php if ( $tptn_settings['add_to_archives'] ) echo 'checked="checked"' ?> /> <?php _e( 'Other archives', TPTN_LOCAL_NAME ); ?></label></label>
253
- <p class="description"><?php _e( "If you choose to disable this, please add <code>&lt;?php if ( function_exists ( 'echo_tptn_post_count' ) ) echo_tptn_post_count(); ?&gt;</code> to your template file where you want it displayed", TPTN_LOCAL_NAME ); ?></p>
254
- </td>
255
- </tr>
256
- <tr><th scope="row"><label for="dynamic_post_count"><?php _e( 'Always display latest post count', TPTN_LOCAL_NAME ); ?></label></th>
257
- <td><input type="checkbox" name="dynamic_post_count" id="dynamic_post_count" <?php if ( $tptn_settings['dynamic_post_count'] ) echo 'checked="checked"' ?> />
258
- <p class="description"><?php _e( 'This option uses JavaScript and will increase your page load time. Turn this off if you are not using caching plugins or are OK with displaying older cached counts.', TPTN_LOCAL_NAME ); ?></p>
259
- </td>
260
- </tr>
261
- <tr><th scope="row"><label for="track_authors"><?php _e( 'Track visits of authors on their own posts?', TPTN_LOCAL_NAME ); ?></label></th>
262
- <td><input type="checkbox" name="track_authors" id="track_authors" <?php if ( $tptn_settings['track_authors'] ) echo 'checked="checked"' ?> />
263
- <p class="description"><?php _e( 'Disabling this option will stop authors visits tracked on their own posts', TPTN_LOCAL_NAME ); ?></p>
264
- </td>
265
- </tr>
266
- <tr><th scope="row"><label for="track_admins"><?php _e( 'Track visits of admins?', TPTN_LOCAL_NAME ); ?></label></th>
267
- <td><input type="checkbox" name="track_admins" id="track_admins" <?php if ( $tptn_settings['track_admins'] ) echo 'checked="checked"' ?> />
268
- <p class="description"><?php _e( 'Disabling this option will stop admin visits being tracked.', TPTN_LOCAL_NAME ); ?></p>
269
- </td>
270
- </tr>
271
- <tr><th scope="row"><label for="track_editors"><?php _e( 'Track visits of Editors?', TPTN_LOCAL_NAME ); ?></label></th>
272
- <td><input type="checkbox" name="track_editors" id="track_editors" <?php if ( $tptn_settings['track_editors'] ) echo 'checked="checked"' ?> />
273
- <p class="description"><?php _e( 'Disabling this option will stop editor visits being tracked.', TPTN_LOCAL_NAME ); ?></p>
274
- </td>
275
- </tr>
276
- <tr><th scope="row"><label for="pv_in_admin"><?php _e( 'Display page views on Posts and Pages in Admin', TPTN_LOCAL_NAME ); ?></label></th>
277
- <td>
278
- <input type="checkbox" name="pv_in_admin" id="pv_in_admin" <?php if ( $tptn_settings['pv_in_admin'] ) echo 'checked="checked"' ?> />
279
- <p class="description"><?php _e( "Adds three columns called Total Views, Today's Views and Views to All Posts and All Pages", TPTN_LOCAL_NAME ); ?></p>
280
- </td>
281
- </tr>
282
- <tr><th scope="row"><label for="show_count_non_admins"><?php _e( 'Show number of views to non-admins', TPTN_LOCAL_NAME ); ?></label></th>
283
- <td>
284
- <input type="checkbox" name="show_count_non_admins" id="show_count_non_admins" <?php if ( $tptn_settings['show_count_non_admins'] ) echo 'checked="checked"' ?> />
285
- <p class="description"><?php _e( "If you disable this then non-admins won't see the above columns or view the independent pages with the top posts", TPTN_LOCAL_NAME ); ?></p>
286
- </td>
287
- </tr>
288
- <tr><th scope="row"><label for="show_credit"><?php _e( 'Link to Top 10 plugin page', TPTN_LOCAL_NAME ); ?></label></th>
289
- <td>
290
- <input type="checkbox" name="show_credit" id="show_credit" <?php if ( $tptn_settings['show_credit'] ) echo 'checked="checked"' ?> />
291
- <p class="description"><?php _e( 'A link to the plugin is added as an extra list item to the list of popular posts', TPTN_LOCAL_NAME ); ?></p>
292
- </td>
293
- </tr>
294
- </table>
295
- </div>
296
- </div>
297
- <div id="outputopdiv" class="postbox closed"><div class="handlediv" title="<?php _e( 'Click to toggle', TPTN_LOCAL_NAME ); ?>"><br /></div>
298
- <h3 class='hndle'><span><?php _e( 'Output options', TPTN_LOCAL_NAME ); ?></span></h3>
299
- <div class="inside">
300
- <table class="form-table">
301
- <tr><th scope="row"><label for="title"><?php _e( 'Format to display the post views:', TPTN_LOCAL_NAME ); ?></label></th>
302
- <td><textarea name="count_disp_form" id="count_disp_form" cols="50" rows="3" style="width:100%"><?php echo htmlspecialchars( stripslashes( $tptn_settings['count_disp_form'] ) ); ?></textarea>
303
- <p class="description"><?php _e( 'Use <code>%totalcount%</code> to display the total count, <code>%dailycount%</code> to display the daily count and <code>%overallcount%</code> to display the overall count across all posts on the blog. e.g. the default options displays <code>(Visited 123 times, 23 visits today)</code>', TPTN_LOCAL_NAME ); ?>
304
- </td>
305
- </tr>
306
- <tr><th scope="row"><label for="title"><?php _e( 'What do display when there are no visits?', TPTN_LOCAL_NAME ); ?></label></th>
307
- <td><textarea name="count_disp_form_zero" id="count_disp_form_zero" cols="50" rows="3" style="width:100%"><?php echo htmlspecialchars( stripslashes( $tptn_settings['count_disp_form_zero'] ) ); ?></textarea>
308
- <p class="description"><?php _e( "This text applies only when there are 0 hits for the post and it isn't a single page. e.g. if you display post views on the homepage or archives then this text will be used. To override this, just enter the same text as above option.", TPTN_LOCAL_NAME ); ?>
309
- </td>
310
- </tr>
311
- <tr><th scope="row"><label for="title"><?php _e( 'Title of popular posts: ', TPTN_LOCAL_NAME ); ?></label></th>
312
- <td><input type="textbox" name="title" id="title" value="<?php echo esc_attr( stripslashes( $tptn_settings['title'] ) ); ?>" style="width:250px" /></td>
313
- </tr>
314
- <tr><th scope="row"><label for="title_daily"><?php _e( 'Title of daily popular posts: ', TPTN_LOCAL_NAME ); ?></label></th>
315
- <td><input type="textbox" name="title_daily" id="title_daily" value="<?php echo esc_attr( stripslashes( $tptn_settings['title_daily'] ) ); ?>" style="width:250px" /></td>
316
- </tr>
317
- <tr><th scope="row"><label for="blank_output"><?php _e( 'When there are no posts, what should be shown?', TPTN_LOCAL_NAME ); ?></label></th>
318
- <td>
319
- <label>
320
- <input type="radio" name="blank_output" value="blank" id="blank_output_0" <?php if ( $tptn_settings['blank_output'] ) echo 'checked="checked"' ?> />
321
- <?php _e( 'Blank Output', TPTN_LOCAL_NAME ); ?></label>
322
- <br />
323
- <label>
324
- <input type="radio" name="blank_output" value="customs" id="blank_output_1" <?php if ( ! $tptn_settings['blank_output'] ) echo 'checked="checked"' ?> />
325
- <?php _e( 'Display:', TPTN_LOCAL_NAME ); ?></label>
326
- <input type="textbox" name="blank_output_text" id="blank_output_text" value="<?php echo esc_attr( stripslashes( $tptn_settings['blank_output_text'] ) ); ?>" style="width:250px" />
327
- </td>
328
- </tr>
329
- <tr><th scope="row"><label for="show_excerpt"><?php _e( 'Show post excerpt in list?', TPTN_LOCAL_NAME ); ?></label></th>
330
- <td><input type="checkbox" name="show_excerpt" id="show_excerpt" <?php if ( $tptn_settings['show_excerpt'] ) echo 'checked="checked"' ?> /></td>
331
- </tr>
332
- <tr><th scope="row"><label for="excerpt_length"><?php _e( 'Length of excerpt (in words): ', TPTN_LOCAL_NAME ); ?></label></th>
333
- <td><input type="textbox" name="excerpt_length" id="excerpt_length" value="<?php echo stripslashes( $tptn_settings['excerpt_length'] ); ?>" /></td>
334
- </tr>
335
- <tr><th scope="row"><label for="show_author"><?php _e( 'Show post author in list?', TPTN_LOCAL_NAME ); ?></label></th>
336
- <td><input type="checkbox" name="show_author" id="show_author" <?php if ( $tptn_settings['show_author'] ) echo 'checked="checked"' ?> /></td>
337
- </tr>
338
- <tr><th scope="row"><label for="show_date"><?php _e( 'Show post date in list?', TPTN_LOCAL_NAME ); ?></label></th>
339
- <td><input type="checkbox" name="show_date" id="show_date" <?php if ( $tptn_settings['show_date'] ) echo 'checked="checked"' ?> /></td>
340
- </tr>
341
- <tr><th scope="row"><label for="title_length"><?php _e( 'Limit post title length (in characters)', TPTN_LOCAL_NAME ); ?></label></th>
342
- <td><input type="textbox" name="title_length" id="title_length" value="<?php echo stripslashes( $tptn_settings['title_length'] ); ?>" /></td>
343
- </tr>
344
- <tr><th scope="row"><label for="disp_list_count"><?php _e( 'Show view count in list?', TPTN_LOCAL_NAME ); ?></label></th>
345
- <td><input type="checkbox" name="disp_list_count" id="disp_list_count" <?php if ( $tptn_settings['disp_list_count'] ) echo 'checked="checked"' ?> /></td>
346
- </tr>
347
- <tr><th scope="row"><label for="d_use_js"><?php _e( 'Always display latest post count in the daily lists?', TPTN_LOCAL_NAME ); ?></label></th>
348
- <td><input type="checkbox" name="d_use_js" id="d_use_js" <?php if ( $tptn_settings['d_use_js'] ) echo 'checked="checked"' ?> />
349
- <p class="description"><?php _e( 'This option uses JavaScript and will increase your page load time. When you enable this option, the daily widget will not use the options set there, but options will need to be set on this screen.', TPTN_LOCAL_NAME ); ?></p>
350
- </td>
351
- </tr>
352
- <tr><th scope="row"><label for="link_new_window "><?php _e( 'Open links in new window', TPTN_LOCAL_NAME ); ?></label></th>
353
- <td><input type="checkbox" name="link_new_window" id="link_new_window" <?php if ( $tptn_settings['link_new_window'] ) echo 'checked="checked"' ?> /></td>
354
- </tr>
355
- <tr><th scope="row"><label for="link_nofollow"><?php _e( 'Add nofollow attribute to links in the list', TPTN_LOCAL_NAME ); ?></label></th>
356
- <td><input type="checkbox" name="link_nofollow" id="link_nofollow" <?php if ( $tptn_settings['link_nofollow'] ) echo 'checked="checked"' ?> /></td>
357
- </tr>
358
- <tr><th scope="row"><label for="exclude_on_post_ids"><?php _e( 'Exclude display of related posts on these posts / pages', TPTN_LOCAL_NAME ); ?></label></th>
359
- <td>
360
- <input type="textbox" name="exclude_on_post_ids" id="exclude_on_post_ids" value="<?php echo esc_attr( stripslashes( $tptn_settings['exclude_on_post_ids'] ) ); ?>" style="width:250px">
361
- <p class="description"><?php _e( 'Enter comma separated list of IDs. e.g. 188,320,500', TPTN_LOCAL_NAME ); ?></p>
362
- </td>
363
- </tr>
364
- <tr style="background: #eee"><th scope="row" colspan="2"><?php _e( 'Customise the list HTML', TPTN_LOCAL_NAME ); ?></th>
365
- </tr>
366
- <tr><th scope="row"><label for="before_list"><?php _e( 'HTML to display before the list of posts: ', TPTN_LOCAL_NAME ); ?></label></th>
367
- <td><input type="textbox" name="before_list" id="before_list" value="<?php echo esc_attr( stripslashes( $tptn_settings['before_list'] ) ); ?>" style="width:250px" /></td>
368
- </tr>
369
- <tr><th scope="row"><label for="before_list_item"><?php _e( 'HTML to display before each list item: ', TPTN_LOCAL_NAME ); ?></label></th>
370
- <td><input type="textbox" name="before_list_item" id="before_list_item" value="<?php echo esc_attr( stripslashes( $tptn_settings['before_list_item'] ) ); ?>" style="width:250px" /></td>
371
- </tr>
372
- <tr><th scope="row"><label for="after_list_item"><?php _e( 'HTML to display after each list item: ', TPTN_LOCAL_NAME ); ?></label></th>
373
- <td><input type="textbox" name="after_list_item" id="after_list_item" value="<?php echo esc_attr( stripslashes( $tptn_settings['after_list_item'] ) ); ?>" style="width:250px" /></td>
374
- </tr>
375
- <tr><th scope="row"><label for="after_list"><?php _e( 'HTML to display after the list of posts: ', TPTN_LOCAL_NAME ); ?></label></th>
376
- <td><input type="textbox" name="after_list" id="after_list" value="<?php echo esc_attr( stripslashes( $tptn_settings['after_list'] ) ); ?>" style="width:250px" /></td>
377
- </tr>
378
- <tr style="background: #eee"><th scope="row" colspan="2"><?php _e( 'Post thumbnail options:', TPTN_LOCAL_NAME ); ?></th>
379
- </tr>
380
- <tr><th scope="row"><label for="post_thumb_op"><?php _e( 'Location of post thumbnail:', TPTN_LOCAL_NAME ); ?></label></th>
381
- <td>
382
- <label>
383
- <input type="radio" name="post_thumb_op" value="inline" id="post_thumb_op_0" <?php if ( 'inline' == $tptn_settings['post_thumb_op'] ) echo 'checked="checked"' ?> />
384
- <?php _e( 'Display thumbnails inline with posts, before title', TPTN_LOCAL_NAME ); ?></label>
385
- <br />
386
- <label>
387
- <input type="radio" name="post_thumb_op" value="after" id="post_thumb_op_1" <?php if ( 'after' == $tptn_settings['post_thumb_op'] ) echo 'checked="checked"' ?> />
388
- <?php _e( 'Display thumbnails inline with posts, after title', TPTN_LOCAL_NAME ); ?></label>
389
- <br />
390
- <label>
391
- <input type="radio" name="post_thumb_op" value="thumbs_only" id="post_thumb_op_2" <?php if ( 'thumbs_only' == $tptn_settings['post_thumb_op'] ) echo 'checked="checked"' ?> />
392
- <?php _e( 'Display only thumbnails, no text', TPTN_LOCAL_NAME ); ?></label>
393
- <br />
394
- <label>
395
- <input type="radio" name="post_thumb_op" value="text_only" id="post_thumb_op_3" <?php if ( 'text_only' == $tptn_settings['post_thumb_op'] ) echo 'checked="checked"' ?> />
396
- <?php _e( 'Do not display thumbnails, only text.', TPTN_LOCAL_NAME ); ?></label>
397
- <br />
398
- </td>
399
- </tr>
400
- <tr><th scope="row"><label for="thumb_width"><?php _e( 'Width of the thumbnail: ', TPTN_LOCAL_NAME ); ?></label></th>
401
- <td><input type="textbox" name="thumb_width" id="thumb_width" value="<?php echo esc_attr( stripslashes( $tptn_settings['thumb_width'] ) ); ?>" style="width:40px" />px</td>
402
- </tr>
403
- <tr><th scope="row"><label for="thumb_height"><?php _e( 'Height of the thumbnail: ', TPTN_LOCAL_NAME ); ?></label></th>
404
- <td><input type="textbox" name="thumb_height" id="thumb_height" value="<?php echo esc_attr( stripslashes( $tptn_settings['thumb_height'] ) ); ?>" style="width:40px" />px</td>
405
- </tr>
406
- <tr><th scope="row"><label for="thumb_html"><?php _e( 'Style attributes / Width and Height HTML attributes:', TPTN_LOCAL_NAME ); ?></label></th>
407
- <td>
408
- <label>
409
- <input type="radio" name="thumb_html" value="css" id="thumb_html_0" <?php if ( 'css' == $tptn_settings['thumb_html'] ) echo 'checked="checked"' ?> />
410
- <?php _e( 'Style attributes are used for width and height.', TPTN_LOCAL_NAME ); ?> <br /><code>style="max-width:<?php echo $tptn_settings['thumb_width'] ?>px;max-height:<?php echo $tptn_settings['thumb_height'] ?>px;"</code></label>
411
- <br />
412
- <label>
413
- <input type="radio" name="thumb_html" value="html" id="thumb_html_1" <?php if ( 'html' == $tptn_settings['thumb_html'] ) echo 'checked="checked"' ?> />
414
- <?php _e( 'HTML width and height attributes are used for width and height.', TPTN_LOCAL_NAME ); ?> <br /><code>width="<?php echo $tptn_settings['thumb_width'] ?>" height="<?php echo $tptn_settings['thumb_height'] ?>"</code></label>
415
- <br />
416
- </td>
417
- </tr>
418
- <tr><th scope="row"><label for="thumb_timthumb"><?php _e( 'Use timthumb to generate thumbnails? ', TPTN_LOCAL_NAME ); ?></label></th>
419
- <td>
420
- <input type="checkbox" name="thumb_timthumb" id="thumb_timthumb" <?php if ( $tptn_settings['thumb_timthumb'] ) echo 'checked="checked"' ?> />
421
- <p class="description"><?php _e( 'If checked, <a href="http://www.binarymoon.co.uk/projects/timthumb/" target="_blank">timthumb</a> will be used to generate thumbnails', TPTN_LOCAL_NAME ); ?></p>
422
- </td>
423
- </tr>
424
- <tr><th scope="row"><label for="thumb_timthumb_q"><?php _e( 'Quality of thumbnails generated by timthumb:', TPTN_LOCAL_NAME ); ?></label></th>
425
- <td>
426
- <input type="textbox" name="thumb_timthumb_q" id="thumb_timthumb_q" value="<?php echo esc_attr( stripslashes( $tptn_settings['thumb_timthumb_q'] ) ); ?>" style="width:50px" />
427
- <p class="description"><?php _e( 'Enter values between 0 and 100 only. 100 is highest quality and the highest file size. Suggested maximum value is 95. Default is 75.', TPTN_LOCAL_NAME ); ?></p>
428
- </td>
429
- </tr>
430
- <tr><th scope="row"><label for="thumb_meta"><?php _e( 'Post thumbnail meta field name: ', TPTN_LOCAL_NAME ); ?></label></th>
431
- <td>
432
- <input type="textbox" name="thumb_meta" id="thumb_meta" value="<?php echo esc_attr( stripslashes( $tptn_settings['thumb_meta'] ) ); ?>">
433
- <p class="description"><?php _e( 'The value of this field should contain the image source and is set in the <em>Add New Post</em> screen', TPTN_LOCAL_NAME ); ?></p>
434
- </td>
435
- </tr>
436
- <tr><th scope="row"><label for="scan_images"><?php _e( 'If the postmeta is not set, then should the plugin extract the first image from the post?', TPTN_LOCAL_NAME ); ?></label></th>
437
- <td>
438
- <input type="checkbox" name="scan_images" id="scan_images" <?php if ( $tptn_settings['scan_images'] ) echo 'checked="checked"' ?> />
439
- <p class="description"><?php _e( 'This could slow down the loading of your page if the first image in the related posts is large in file-size', TPTN_LOCAL_NAME ); ?></p>
440
- </td>
441
- </tr>
442
- <tr><th scope="row"><label for="thumb_default_show"><?php _e( 'Use default thumbnail? ', TPTN_LOCAL_NAME ); ?></label></th>
443
- <td>
444
- <input type="checkbox" name="thumb_default_show" id="thumb_default_show" <?php if ( $tptn_settings['thumb_default_show'] ) echo 'checked="checked"' ?> />
445
- <p class="description"><?php _e( 'If checked, when no thumbnail is found, show a default one from the URL below. If not checked and no thumbnail is found, no image will be shown.', TPTN_LOCAL_NAME ); ?></p>
446
- </td>
447
- </tr>
448
- <tr><th scope="row"><label for="thumb_default"><?php _e( 'Default thumbnail: ', TPTN_LOCAL_NAME ); ?></label></th>
449
- <td>
450
- <input type="textbox" name="thumb_default" id="thumb_default" value="<?php echo esc_attr( stripslashes( $tptn_settings['thumb_default'] ) ); ?>" style="width:100%"> <br />
451
- <?php if ( '' != $tptn_settings['thumb_default'] ) echo "<img src='{$tptn_settings['thumb_default']}' style='max-width:200px' />"; ?>
452
- <p class="description"><?php _e( "The plugin will first check if the post contains a thumbnail. If it doesn't then it will check the meta field. If this is not available, then it will show the default image as specified above", TPTN_LOCAL_NAME ); ?></p>
453
- </td>
454
- </tr>
455
- </table>
456
- </div>
457
- </div>
458
- <div id="customcssdiv" class="postbox closed"><div class="handlediv" title="<?php _e( 'Click to toggle', TPTN_LOCAL_NAME ); ?>"><br /></div>
459
- <h3 class='hndle'><span><?php _e( 'Custom CSS', TPTN_LOCAL_NAME ); ?></span></h3>
460
- <div class="inside">
461
- <table class="form-table">
462
- <tr><th scope="row"><label for="include_default_style"><?php _e( 'Use default style included in the plugin?', TPTN_LOCAL_NAME ); ?></label></th>
463
- <td>
464
- <input type="checkbox" name="include_default_style" id="include_default_style" <?php if ( $tptn_settings['include_default_style'] ) echo 'checked="checked"' ?> />
465
- <p class="description"><?php _e( 'Top 10 includes a default style that makes your popular posts list to look pretty. Check the box above if you want to use this. You will need to select <strong>Thumbnails inline, before title</strong> in Output Options or in the Widget.', TPTN_LOCAL_NAME ); ?></p>
466
- </td>
467
- </tr>
468
- <tr><th scope="row" colspan="2"><?php _e( 'Custom CSS to add to header:', TPTN_LOCAL_NAME ); ?></th>
469
- </tr>
470
- <tr><td scope="row" colspan="2"><textarea name="custom_CSS" id="custom_CSS" rows="15" cols="80" style="width:100%"><?php echo stripslashes( $tptn_settings['custom_CSS'] ); ?></textarea>
471
- <p class="description"><?php _e( 'Do not include <code>style</code> tags. Check out the <a href="http://wordpress.org/extend/plugins/top-10/faq/" target="_blank">FAQ</a> for available CSS classes to style.', TPTN_LOCAL_NAME ); ?></p>
472
- </td>
473
- </tr>
474
- </table>
475
- </div>
476
- </div>
477
- <p>
478
- <input type="submit" name="tptn_save" id="tptn_save" value="<?php _e( 'Save Options', TPTN_LOCAL_NAME ); ?>" class="button button-primary" />
479
- <input type="submit" name="tptn_default" id="tptn_default" value="<?php _e( 'Default Options', TPTN_LOCAL_NAME ); ?>" class="button button-secondary" onclick="if (!confirm('<?php _e( "Do you want to set options to Default?", TPTN_LOCAL_NAME ); ?>')) return false;" />
480
- </p>
481
- <?php wp_nonce_field( 'tptn-plugin-options' ); ?>
482
- </form>
483
-
484
- <hr class="clear" />
485
-
486
- <form method="post" id="tptn_maintenance_op" name="tptn_reset_options" onsubmit="return checkForm()">
487
- <div id="resetopdiv" class="postbox closed"><div class="handlediv" title="<?php _e( 'Click to toggle', TPTN_LOCAL_NAME ); ?>"><br /></div>
488
- <h3 class='hndle'><span><?php _e( 'Maintenance', TPTN_LOCAL_NAME ); ?></span></h3>
489
- <div class="inside">
490
- <table class="form-table">
491
- <tr><td scope="row" colspan="2">
492
- <p class="description"><?php _e( 'Over time the Daily Top 10 database grows in size, which reduces the performance of the plugin. Cleaning the database at regular intervals could improve performance, especially on high traffic blogs. Enabling maintenance will automatically delete entries older than 90 days.', TPTN_LOCAL_NAME ); ?><br />
493
- <strong><?php _e( 'Note: When scheduled maintenance is enabled, WordPress will run the cron job everytime the job is rescheduled (i.e. you change the settings below).', TPTN_LOCAL_NAME ); ?></strong>
494
- </td>
495
- </tr>
496
- <tr><th scope="row"><label for="cron_on"><?php _e( 'Enable scheduled maintenance of daily tables:', TPTN_LOCAL_NAME ); ?></label></th>
497
- <td><input type="checkbox" name="cron_on" id="cron_on" <?php if ( $tptn_settings['cron_on'] ) echo 'checked="checked"' ?> />
498
- </td>
499
- </tr>
500
- <tr><th scope="row"><label for="cron_hour"><?php _e( 'Time to run maintenance', TPTN_LOCAL_NAME ); ?></label></th>
501
- <td><input type="textbox" name="cron_hour" id="cron_hour" value="<?php echo esc_attr(stripslashes($tptn_settings['cron_hour'])); ?>" style="width:50px" /> <?php _e( 'hrs', TPTN_LOCAL_NAME ); ?> : <input type="textbox" name="cron_min" id="cron_min" value="<?php echo esc_attr(stripslashes($tptn_settings['cron_min'])); ?>" style="width:50px" /> <?php _e( 'min', TPTN_LOCAL_NAME ); ?></td>
502
- </tr>
503
- <tr><th scope="row"><label for="cron_recurrence"><?php _e( 'How often should the maintenance be run:', TPTN_LOCAL_NAME ); ?></label></th>
504
- <td>
505
- <label>
506
- <input type="radio" name="cron_recurrence" value="daily" id="cron_recurrence0" <?php if ( 'daily' == $tptn_settings['cron_recurrence'] ) echo 'checked="checked"' ?> />
507
- <?php _e( 'Daily', TPTN_LOCAL_NAME ); ?></label>
508
- <br />
509
- <label>
510
- <input type="radio" name="cron_recurrence" value="weekly" id="cron_recurrence1" <?php if ( 'weekly' == $tptn_settings['cron_recurrence'] ) echo 'checked="checked"' ?> />
511
- <?php _e( 'Weekly', TPTN_LOCAL_NAME ); ?></label>
512
- <br />
513
- <label>
514
- <input type="radio" name="cron_recurrence" value="fortnightly" id="cron_recurrence2" <?php if ( 'fortnightly' == $tptn_settings['cron_recurrence'] ) echo 'checked="checked"' ?> />
515
- <?php _e( 'Fortnightly', TPTN_LOCAL_NAME ); ?></label>
516
- <br />
517
- <label>
518
- <input type="radio" name="cron_recurrence" value="monthly" id="cron_recurrence3" <?php if ( 'monthly' == $tptn_settings['cron_recurrence'] ) echo 'checked="checked"' ?> />
519
- <?php _e( 'Monthly', TPTN_LOCAL_NAME ); ?></label>
520
- <br />
521
- </td>
522
- </tr>
523
- <tr><td scope="row" colspan="2">
524
- <?php
525
- if ( ( $tptn_settings['cron_on'] ) || wp_next_scheduled( 'ald_tptn_hook' ) ) {
526
- if ( wp_next_scheduled( 'ald_tptn_hook' ) ) {
527
- echo '<span style="color:#0c0">';
528
- _e( 'The cron job has been scheduled. Maintenance will run ', TPTN_LOCAL_NAME );
529
- echo wp_get_schedule( 'ald_tptn_hook' );
530
- echo '</span>';
531
- } else {
532
- echo '<span style="color:#e00">';
533
- _e( 'The cron job is missing. Please resave this page to add the job', TPTN_LOCAL_NAME );
534
- echo '</span>';
535
- }
536
- } else {
537
- echo '<span style="color:#FFA500">';
538
- _e( 'Maintenance is turned off', TPTN_LOCAL_NAME );
539
- echo '</span>';
540
- }
541
- ?>
542
- </td></tr>
543
- </table>
544
- <input type="submit" name="tptn_mnts_save" id="tptn_mnts_save" value="<?php _e( 'Save Options', TPTN_LOCAL_NAME ); ?>" class="button button-primary" />
545
- </div>
546
- </div>
547
- <?php wp_nonce_field( 'tptn-plugin-options' ); ?>
548
- </form>
549
-
550
- <form method="post" id="tptn_reset_options" name="tptn_reset_options" onsubmit="return checkForm()">
551
- <div id="resetopdiv" class="postbox closed"><div class="handlediv" title="<?php _e( 'Click to toggle', TPTN_LOCAL_NAME ); ?>"><br /></div>
552
- <h3 class='hndle'><span><?php _e( 'Reset count', TPTN_LOCAL_NAME ); ?></span></h3>
553
- <div class="inside">
554
- <p class="description">
555
- <?php _e( 'This cannot be reversed. Make sure that your database has been backed up before proceeding', TPTN_LOCAL_NAME ); ?>
556
- </p>
557
- <p>
558
- <input name="tptn_trunc_all" type="submit" id="tptn_trunc_all" value="<?php _e( 'Reset Popular Posts', TPTN_LOCAL_NAME ); ?>" class="button button-secondary" onclick="if (!confirm('<?php _e( "Are you sure you want to reset the popular posts?", TPTN_LOCAL_NAME ); ?>')) return false;" />
559
- <input name="tptn_trunc_daily" type="submit" id="tptn_trunc_daily" value="<?php _e( 'Reset Daily Popular Posts', TPTN_LOCAL_NAME ); ?>" class="button button-secondary" onclick="if (!confirm('<?php _e( "Are you sure you want to reset the daily popular posts?", TPTN_LOCAL_NAME ); ?>')) return false;" />
560
- <input name="tptn_clean_duplicates" type="submit" id="tptn_clean_duplicates" value="<?php _e( 'Clear duplicates', TPTN_LOCAL_NAME ); ?>" class="button button-secondary" onclick="if (!confirm('<?php _e( "This will delete the duplicate entries in the tables. Proceed?", TPTN_LOCAL_NAME ); ?>')) return false;" />
561
- </p>
562
- </div>
563
- </div>
564
- <?php wp_nonce_field( 'tptn-plugin-options' ); ?>
565
- </form>
566
-
567
- </div><!-- /post-body-content -->
568
- <div id="postbox-container-1" class="postbox-container">
569
- <div id="side-sortables" class="meta-box-sortables ui-sortable">
570
- <?php tptn_admin_side(); ?>
571
- </div><!-- /side-sortables -->
572
- </div><!-- /postbox-container-1 -->
573
- </div><!-- /post-body -->
574
- <br class="clear" />
575
- </div><!-- /poststuff -->
576
- </div><!-- /wrap -->
577
-
578
- <?php
579
-
580
- }
581
-
582
-
583
- /**
584
- * Function to generate the top 10 daily popular posts page.
585
- *
586
- * @access public
587
- * @return void
588
- */
589
- function tptn_manage_daily() {
590
- tptn_manage(1);
591
- }
592
-
593
-
594
- /**
595
- * Function to generate the top 10 daily popular posts page.
596
- *
597
- * @access public
598
- * @param int $daily (default: 0) Overall popular
599
- * @return void
600
- */
601
- function tptn_manage( $daily = 0 ) {
602
-
603
- $paged = isset( $_GET['paged'] ) ? intval( $_GET['paged'] ) : 0;
604
- $limit = isset( $_GET['limit'] ) ? intval( $_GET['limit'] ) : 0;
605
- $daily = isset( $_GET['daily'] ) ? intval( $_GET['daily'] ) : $daily;
606
-
607
- ?>
608
-
609
- <div class="wrap">
610
- <h2>
611
- <?php if ( ! $daily ) {
612
- _e( 'Popular Posts', TPTN_LOCAL_NAME );
613
- } else {
614
- _e( 'Daily Popular Posts', TPTN_LOCAL_NAME );
615
- } ?>
616
- </h2>
617
- <div id="poststuff">
618
- <div id="post-body" class="metabox-holder columns-2">
619
- <div id="post-body-content">
620
- <?php echo tptn_pop_display( $daily, $paged, $limit, false ); ?>
621
- </div><!-- /post-body-content -->
622
- <div id="postbox-container-1" class="postbox-container">
623
- <div id="side-sortables" class="meta-box-sortables ui-sortable">
624
- <?php tptn_admin_side(); ?>
625
- </div><!-- /side-sortables -->
626
- </div><!-- /postbox-container-1 -->
627
- </div><!-- /post-body -->
628
- <br class="clear" />
629
- </div><!-- /poststuff -->
630
- </div><!-- /wrap -->
631
-
632
- <?php
633
- }
634
-
635
-
636
- /**
637
- * Function to generate the right sidebar of the Settings and Admin popular posts pages.
638
- *
639
- * @access public
640
- * @return void
641
- */
642
- function tptn_admin_side() {
643
- ?>
644
- <div id="donatediv" class="postbox"><div class="handlediv" title="<?php _e( 'Click to toggle', TPTN_LOCAL_NAME ); ?>"><br /></div>
645
- <h3 class='hndle'><span><?php _e( 'Support the development', TPTN_LOCAL_NAME ); ?></span></h3>
646
- <div class="inside">
647
- <div id="donate-form">
648
- <form action="https://www.paypal.com/cgi-bin/webscr" method="post">
649
- <input type="hidden" name="cmd" value="_xclick">
650
- <input type="hidden" name="business" value="donate@ajaydsouza.com">
651
- <input type="hidden" name="lc" value="IN">
652
- <input type="hidden" name="item_name" value="<?php _e( 'Donation for Top 10', TPTN_LOCAL_NAME ); ?>">
653
- <input type="hidden" name="item_number" value="tptn_admin">
654
- <strong><?php _e( 'Enter amount in USD: ', TPTN_LOCAL_NAME ); ?></strong> <input name="amount" value="10.00" size="6" type="text"><br />
655
- <input type="hidden" name="currency_code" value="USD">
656
- <input type="hidden" name="button_subtype" value="services">
657
- <input type="hidden" name="bn" value="PP-BuyNowBF:btn_donate_LG.gif:NonHosted">
658
- <input type="image" src="https://www.paypal.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="<?php _e( 'Send your donation to the author of Top 10', TPTN_LOCAL_NAME ); ?>">
659
- <img alt="" border="0" src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1">
660
- </form>
661
- </div>
662
- </div>
663
- </div>
664
- <div id="followdiv" class="postbox"><div class="handlediv" title="<?php _e( 'Click to toggle', TPTN_LOCAL_NAME ); ?>"><br /></div>
665
- <h3 class='hndle'><span><?php _e( 'Follow me', TPTN_LOCAL_NAME ); ?></span></h3>
666
- <div class="inside">
667
- <div id="follow-us">
668
- <iframe src="//www.facebook.com/plugins/likebox.php?href=http%3A%2F%2Fwww.facebook.com%2Fajaydsouzacom&amp;width=292&amp;height=62&amp;colorscheme=light&amp;show_faces=false&amp;border_color&amp;stream=false&amp;header=true&amp;appId=113175385243" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:292px; height:62px;" allowTransparency="true"></iframe>
669
- <div style="text-align:center"><a href="https://twitter.com/ajaydsouza" class="twitter-follow-button" data-show-count="false" data-size="large" data-dnt="true">Follow @ajaydsouza</a>
670
- <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script></div>
671
- </div>
672
- </div>
673
- </div>
674
- <div id="qlinksdiv" class="postbox"><div class="handlediv" title="<?php _e( 'Click to toggle', TPTN_LOCAL_NAME ); ?>"><br /></div>
675
- <h3 class='hndle'><span><?php _e( 'Quick links', TPTN_LOCAL_NAME ); ?></span></h3>
676
- <div class="inside">
677
- <div id="quick-links">
678
- <ul>
679
- <li><a href="http://ajaydsouza.com/wordpress/plugins/top-10/"><?php _e( 'Top 10 plugin page', TPTN_LOCAL_NAME ); ?></a></li>
680
- <li><a href="http://ajaydsouza.com/wordpress/plugins/"><?php _e( 'Other plugins', TPTN_LOCAL_NAME ); ?></a></li>
681
- <li><a href="http://ajaydsouza.com/"><?php _e( "Ajay's blog", TPTN_LOCAL_NAME ); ?></a></li>
682
- <li><a href="https://wordpress.org/plugins/top-10/faq/"><?php _e( 'FAQ', TPTN_LOCAL_NAME ); ?></a></li>
683
- <li><a href="http://wordpress.org/support/plugin/top-10"><?php _e( 'Support', TPTN_LOCAL_NAME ); ?></a></li>
684
- <li><a href="https://wordpress.org/support/view/plugin-reviews/top-10"><?php _e( 'Reviews', TPTN_LOCAL_NAME ); ?></a></li>
685
- </ul>
686
- </div>
687
- </div>
688
- </div>
689
-
690
- <?php
691
- }
692
-
693
-
694
- /**
695
- * Add Top 10 menu in WP-Admin.
696
- *
697
- * @access public
698
- * @return void
699
- */
700
- function tptn_adminmenu() {
701
-
702
- if ( function_exists( 'add_menu_page' ) ) {
703
-
704
- $plugin_page = add_menu_page( __( "Top 10 Settings", TPTN_LOCAL_NAME ), __( "Top 10", TPTN_LOCAL_NAME ), 'manage_options', 'tptn_options', 'tptn_options', 'dashicons-editor-ol' );
705
- add_action( 'admin_head-'. $plugin_page, 'tptn_adminhead' );
706
-
707
- $plugin_page = add_submenu_page( 'tptn_options', __( "Top 10 Settings", TPTN_LOCAL_NAME ), __( "Top 10 Settings", TPTN_LOCAL_NAME ), 'manage_options', 'tptn_options', 'tptn_options' );
708
- add_action( 'admin_head-'. $plugin_page, 'tptn_adminhead' );
709
-
710
- $plugin_page = add_submenu_page( 'tptn_options', __( "Overall Popular Posts", TPTN_LOCAL_NAME ), __( "Overall Popular Posts", TPTN_LOCAL_NAME ), 'manage_options', 'tptn_manage', 'tptn_manage' );
711
- add_action( 'admin_head-'. $plugin_page, 'tptn_adminhead' );
712
-
713
- $plugin_page = add_submenu_page( 'tptn_options', __( "Daily Popular Posts", TPTN_LOCAL_NAME ), __( "Daily Popular Posts", TPTN_LOCAL_NAME ), 'manage_options', 'tptn_manage_daily', 'tptn_manage_daily' );
714
- add_action( 'admin_head-'. $plugin_page, 'tptn_adminhead' );
715
-
716
- }
717
- }
718
- add_action( 'admin_menu', 'tptn_adminmenu' );
719
-
720
-
721
- /**
722
- * Add JS and CSS to admin header.
723
- *
724
- * @access public
725
- * @return void
726
- */
727
- function tptn_adminhead() {
728
- global $tptn_url;
729
-
730
- wp_enqueue_script( 'common' );
731
- wp_enqueue_script( 'wp-lists' );
732
- wp_enqueue_script( 'postbox' );
733
- ?>
734
- <style type="text/css">
735
- .postbox .handlediv:before {
736
- right:12px;
737
- font:400 20px/1 dashicons;
738
- speak:none;
739
- display:inline-block;
740
- top:0;
741
- position:relative;
742
- -webkit-font-smoothing:antialiased;
743
- -moz-osx-font-smoothing:grayscale;
744
- text-decoration:none!important;
745
- content:'\f142';
746
- padding:8px 10px;
747
- }
748
- .postbox.closed .handlediv:before {
749
- content: '\f140';
750
- }
751
- .wrap h2:before {
752
- content: "\f204";
753
- display: inline-block;
754
- -webkit-font-smoothing: antialiased;
755
- font: normal 29px/1 'dashicons';
756
- vertical-align: middle;
757
- margin-right: 0.3em;
758
- }
759
- </style>
760
-
761
- <script type="text/javascript">
762
- //<![CDATA[
763
- jQuery(document).ready( function($) {
764
- // close postboxes that should be closed
765
- $('.if-js-closed').removeClass('if-js-closed').addClass('closed');
766
- // postboxes setup
767
- postboxes.add_postbox_toggles('tptn_options');
768
- });
769
- //]]>
770
- </script>
771
-
772
- <script type="text/javascript" language="JavaScript">
773
- //<![CDATA[
774
- function checkForm() {
775
- answer = true;
776
- if (siw && siw.selectingSomething)
777
- answer = false;
778
- return answer;
779
- }//
780
- //]]>
781
- </script>
782
-
783
- <link rel="stylesheet" type="text/css" href="<?php echo $tptn_url ?>/wick/wick.css" />
784
- <script type="text/javascript" language="JavaScript">
785
- //<![CDATA[
786
- <?php
787
- function wick_data() {
788
- global $wpdb;
789
-
790
- $categories = get_categories( 'hide_empty=0' );
791
- $str = 'collection = [';
792
- foreach ( $categories as $cat ) {
793
- $str .= "'" . $cat->slug . "',";
794
- }
795
- $str = substr( $str, 0, -1 ); // Remove trailing comma
796
- $str .= '];';
797
-
798
- echo $str;
799
- }
800
- wick_data();
801
- ?>
802
- //]]>
803
- </script>
804
-
805
- <script type="text/javascript" src="<?php echo $tptn_url ?>/wick/wick.js"></script>
806
-
807
- <?php
808
- }
809
-
810
-
811
- /**
812
- * Function to delete all rows in the posts table.
813
- *
814
- * @access public
815
- * @param bool $daily (default: false)
816
- * @return void
817
- */
818
- function tptn_clean_duplicates( $daily = false ) {
819
- global $wpdb;
820
-
821
- $table_name = $wpdb->prefix . "top_ten";
822
- if ($daily) $table_name .= "_daily";
823
- $count = 0;
824
-
825
- $wpdb->query( "CREATE TEMPORARY TABLE ".$table_name."_temp AS SELECT * FROM ".$table_name." GROUP BY postnumber" );
826
- $wpdb->query( "TRUNCATE TABLE $table_name" );
827
- $wpdb->query( "INSERT INTO ".$table_name." SELECT * FROM ".$table_name."_temp" );
828
- }
829
-
830
-
831
- /**
832
- * Create the Dashboard Widget and content of the Popular pages
833
- *
834
- * @access public
835
- * @param bool $daily (default: false) Switch for Daily or Overall popular posts
836
- * @param int $page (default: 0) Which page of the lists are we on?
837
- * @param int $limit (default: 10) Maximum number of posts per page
838
- * @param bool $widget (default: false) Is this a WordPress widget?
839
- * @return void
840
- */
841
- function tptn_pop_display( $daily = FALSE, $page = 0, $limit = FALSE, $widget = FALSE ) {
842
- global $wpdb, $siteurl, $tableposts, $id, $tptn_settings;
843
-
844
- $table_name = $wpdb->prefix . "top_ten";
845
- if ( $daily ) $table_name .= "_daily"; // If we're viewing daily posts, set this to true
846
-
847
- if ( ! ( $limit ) ) $limit = $tptn_settings['limit'];
848
- if ( ! ( $page ) ) $page = 0; // Default page value.
849
- parse_str( $tptn_settings['post_types'], $post_types ); // Save post types in $post_types variable
850
-
851
- $results = tptn_pop_posts('posts_only=1&limit=99999&strict_limit=1&is_widget=1&exclude_post_ids=0&daily='.$daily);
852
- $numrows = count( $results );
853
-
854
- $pages = intval( $numrows/$limit ); // Number of results pages.
855
-
856
- // $pages now contains int of pages, unless there is a remainder from division.
857
-
858
- if ($numrows % $limit) { $pages++; } // has remainder so add one page
859
-
860
- $current = ( $page/$limit ) + 1; // Current page number.
861
-
862
- if ( ( $pages < 1 ) || ( 0 == $pages ) ) {
863
- $total = 1; // If $pages is less than one or equal to 0, total pages is 1.
864
- } else {
865
- $total = $pages; // Else total pages is $pages value.
866
- }
867
-
868
- $first = $page + 1; // The first result.
869
-
870
- if ( ! ( ( ( $page + $limit ) / $limit ) >= $pages ) && $pages != 1 ) {
871
- $last = $page + $limit; //If not last results page, last result equals $page plus $limit.
872
- } else {
873
- $last = $numrows; // If last results page, last result equals total number of results.
874
- }
875
-
876
- $results = array_slice( $results, $page, $limit );
877
-
878
- $output = '<div id="tptn_popular_posts">';
879
- $output .= '<table width="100%" border="0">
880
- <tr>
881
- <td width="50%" align="left">';
882
- $output .= sprintf( __( 'Results %1$s to %2$s of %3$s', TPTN_LOCAL_NAME ), '<strong>'.$first.'</strong>', '<strong>'.$last.'</strong>', '<strong>'.$numrows.'</strong>');
883
- $output .= '
884
- </td>
885
- <td width="50%" align="right">';
886
- $output .= sprintf( __( 'Page %s of %s', TPTN_LOCAL_NAME ), '<strong>'.$current.'</strong>', '<strong>'.$total.'</strong>' );
887
- $output .= '
888
- </td>
889
- </tr>
890
- <tr>
891
- <td colspan="2" align="right">&nbsp;</td>
892
- </tr>
893
- <tr>
894
- <td align="left">';
895
-
896
- if ( ( $daily && $widget ) || ( ! $daily && ! $widget ) ) {
897
- $output .= '<a href="./admin.php?page=tptn_manage_daily">';
898
- $output .= __( 'View Daily Popular Posts', TPTN_LOCAL_NAME );
899
- $output .= '</a></td>';
900
- $output .= '<td align="right">';
901
- if ( ! $widget ) $output .= __( 'Results per-page:', TPTN_LOCAL_NAME );
902
- if ( ! $widget ) $output .= ' <a href="./admin.php?page=tptn_manage&limit=10">10</a> | <a href="./admin.php?page=tptn_manage&limit=20">20</a> | <a href="./admin.php?page=tptn_manage&limit=50">50</a> | <a href="./admin.php?page=tptn_manage&limit=100">100</a> ';
903
- $output .= ' </td>
904
- </tr>
905
- <tr>
906
- <td colspan="2" align="right"><hr /></td>
907
- </tr>
908
- </table>';
909
- } else {
910
- $output .= '<a href="./admin.php?page=tptn_manage">';
911
- $output .= __( 'View Overall Popular Posts', TPTN_LOCAL_NAME );
912
- $output .= '</a></td>';
913
- $output .= '<td align="right">';
914
- if ( ! $widget ) $output .= __( 'Results per-page:', TPTN_LOCAL_NAME );
915
- if ( ! $widget ) $output .= ' <a href="./admin.php?page=tptn_manage_daily&limit=10">10</a> | <a href="./admin.php?page=tptn_manage_daily&limit=20">20</a> | <a href="./admin.php?page=tptn_manage_daily&limit=50">50</a> | <a href="./admin.php?page=tptn_manage_daily&limit=100">100</a> ';
916
- $output .= ' </td>
917
- </tr>
918
- <tr>
919
- <td colspan="2" align="right"><hr /></td>
920
- </tr>
921
- </table>';
922
- }
923
-
924
- $dailytag = ( $daily ) ? '_daily' : '';
925
-
926
- $output .= '<ul>';
927
- if ( $results ) {
928
- foreach ( $results as $result ) {
929
- $output .= '<li><a href="' . get_permalink( $result['postnumber'] ) . '">' . get_the_title( $result['postnumber'] ) . '</a>';
930
- $output .= ' (' . number_format_i18n( $result['sumCount'] ) . ')';
931
- $output .= '</li>';
932
- }
933
- }
934
- $output .= '</ul>';
935
-
936
- $output .= '<p align="center">';
937
- if ( 0 != $page ) { // Don't show back link if current page is first page.
938
- $back_page = $page - $limit;
939
- $output .= "<a href=\"./admin.php?page=tptn_manage$dailytag&paged=$back_page&daily=$daily&limit=$limit\">&laquo; ";
940
- $output .= __( 'Previous', TPTN_LOCAL_NAME );
941
- $output .= "</a>\n";
942
- }
943
-
944
- $pagination_range = 4;
945
- for ( $i=1; $i <= $pages; $i++ ) { // loop through each page and give link to it.
946
- if ( $i >= $current + $pagination_range && $i < $pages ) {
947
- if ( $i == $current + $pagination_range ) {
948
- $output .= '&hellip;&nbsp;';
949
- }
950
- continue;
951
- }
952
- if ( $i < $current - $pagination_range + 1 && $i < $pages ) {
953
- continue;
954
- }
955
-
956
- $ppage = $limit * ( $i - 1 );
957
-
958
- if ( $ppage == $page ) {
959
- $output .= ("<span class='current'>$i</span>\n"); // If current page don't give link, just text.
960
- } else {
961
- $output .= "<a href=\"./admin.php?page=tptn_manage$dailytag&paged=$ppage&daily=$daily&limit=$limit\">$i</a> \n";
962
- }
963
- }
964
-
965
- if ( ! ( ( ( $page + $limit ) / $limit ) >= $pages ) && $pages != 1 ) { // If last page don't give next link.
966
- $next_page = $page + $limit;
967
- $output .= "<a href=\"./admin.php?page=tptn_manage$dailytag&paged=$next_page&daily=$daily&limit=$limit\">";
968
- $output .= __( 'Next', TPTN_LOCAL_NAME );
969
- $output .= " &raquo;</a>";
970
- }
971
- $output .= '</p>';
972
- $output .= '<p style="text-align:center;border-top: #000 1px solid">Popular posts by <a href="http://ajaydsouza.com/wordpress/plugins/top-10/">Top 10 plugin</a></p>';
973
- $output .= '</div>';
974
-
975
- return apply_filters( 'tptn_pop_display', $output );
976
- }
977
-
978
-
979
- /**
980
- * Widget for Popular Posts.
981
- *
982
- * @access public
983
- * @return void
984
- */
985
- function tptn_pop_dashboard() {
986
- echo tptn_pop_display( false, 0, 10, true );
987
- }
988
-
989
- /**
990
- * Widget for Daily Popular Posts.
991
- *
992
- * @access public
993
- * @return void
994
- */
995
- function tptn_pop_daily_dashboard() {
996
- echo tptn_pop_display( true, 0, 10, true );
997
- }
998
-
999
- /**
1000
- * Function to add the widgets to the Dashboard.
1001
- *
1002
- * @access public
1003
- * @return void
1004
- */
1005
- function tptn_pop_dashboard_setup() {
1006
- global $tptn_settings;
1007
-
1008
- if ( ( current_user_can( 'manage_options' ) ) || ( $tptn_settings['show_count_non_admins'] ) ) {
1009
- if ( function_exists( 'wp_add_dashboard_widget' ) ) {
1010
- wp_add_dashboard_widget( 'tptn_pop_dashboard', __( 'Popular Posts',TPTN_LOCAL_NAME ), 'tptn_pop_dashboard' );
1011
- wp_add_dashboard_widget( 'tptn_pop_daily_dashboard', __( 'Daily Popular',TPTN_LOCAL_NAME ), 'tptn_pop_daily_dashboard' );
1012
- }
1013
- }
1014
- }
1015
- add_action( 'wp_dashboard_setup', 'tptn_pop_dashboard_setup' );
1016
-
1017
-
1018
- /**
1019
- * Add an extra column to the All Posts page to display the page views.
1020
- *
1021
- * @access public
1022
- * @param mixed $cols
1023
- * @return void
1024
- */
1025
- function tptn_column( $cols ) {
1026
- global $tptn_settings;
1027
-
1028
- if ( ( current_user_can('manage_options') ) || ( $tptn_settings['show_count_non_admins'] ) ) {
1029
- if ( $tptn_settings['pv_in_admin'] ) { $cols['tptn_total'] = __( 'Total Views', TPTN_LOCAL_NAME ); }
1030
- if ( $tptn_settings['pv_in_admin'] ) { $cols['tptn_daily'] = __( "Today's Views", TPTN_LOCAL_NAME ); }
1031
- if ( $tptn_settings['pv_in_admin'] ) { $cols['tptn_both'] = __( 'Views', TPTN_LOCAL_NAME ); }
1032
- }
1033
- return $cols;
1034
- }
1035
- add_filter( 'manage_posts_columns', 'tptn_column' );
1036
- add_filter( 'manage_pages_columns', 'tptn_column' );
1037
-
1038
-
1039
- /**
1040
- * Display page views for each column.
1041
- *
1042
- * @access public
1043
- * @param string $column_name Name of the column
1044
- * @param int|string $id Post ID
1045
- * @return void
1046
- */
1047
- function tptn_value( $column_name, $id ) {
1048
- global $wpdb, $tptn_settings;
1049
-
1050
- // Add Total count
1051
- if ( ( $column_name == 'tptn_total' ) && ( $tptn_settings['pv_in_admin'] ) ) {
1052
- $table_name = $wpdb->prefix . "top_ten";
1053
-
1054
- $resultscount = $wpdb->get_row( $wpdb->prepare( "SELECT postnumber, cntaccess from {$table_name} WHERE postnumber = %d", $id ) );
1055
- $cntaccess = number_format_i18n( ( ( $resultscount ) ? $resultscount->cntaccess : 0 ) );
1056
- echo $cntaccess;
1057
- }
1058
-
1059
- // Now process daily count
1060
- if ( ( $column_name == 'tptn_daily' ) && ( $tptn_settings['pv_in_admin'] ) ) {
1061
- $table_name = $wpdb->prefix . "top_ten_daily";
1062
-
1063
- $daily_range = $tptn_settings['daily_range'] - 1;
1064
- $current_time = gmdate( 'Y-m-d', ( time() + ( get_option( 'gmt_offset' ) * 3600 ) ) );
1065
- $current_date = strtotime( '-'.$daily_range. ' DAY' , strtotime ( $current_time ) );
1066
- $current_date = date( 'Y-m-j' , $current_date );
1067
-
1068
- $resultscount = $wpdb->get_row( $wpdb->prepare( "SELECT postnumber, SUM(cntaccess) as sumCount FROM {$table_name} WHERE postnumber = %d AND dp_date >= '%s' GROUP BY postnumber ", $id, $current_date ) );
1069
- $cntaccess = number_format_i18n( ( ( $resultscount ) ? $resultscount->sumCount : 0 ) );
1070
- echo $cntaccess;
1071
- }
1072
-
1073
- // Now process both
1074
- if ( ( $column_name == 'tptn_both' ) && ( $tptn_settings['pv_in_admin'] ) ) {
1075
- $table_name = $wpdb->prefix . "top_ten";
1076
-
1077
- $resultscount = $wpdb->get_row( $wpdb->prepare("SELECT postnumber, cntaccess from {$table_name} WHERE postnumber = %d", $id ) );
1078
- $cntaccess = number_format_i18n((($resultscount) ? $resultscount->cntaccess : 0));
1079
-
1080
- $table_name = $wpdb->prefix . "top_ten_daily";
1081
-
1082
- $daily_range = $tptn_settings['daily_range']-1;
1083
- $current_time = gmdate( 'Y-m-d', ( time() + ( get_option( 'gmt_offset' ) * 3600 ) ) );
1084
- $current_date = strtotime( '-' . $daily_range . ' DAY' , strtotime ( $current_time ) );
1085
- $current_date = date( 'Y-m-j' , $current_date );
1086
-
1087
- $resultscount = $wpdb->get_row( $wpdb->prepare( "SELECT postnumber, SUM(cntaccess) as sumCount FROM {$table_name} WHERE postnumber = %d AND dp_date >= '%s' GROUP BY postnumber ", $id, $current_date ) );
1088
- $cntaccess .= ' / '.number_format_i18n( ( ( $resultscount ) ? $resultscount->sumCount : 0 ) );
1089
- echo $cntaccess;
1090
- }
1091
- }
1092
- add_action( 'manage_posts_custom_column', 'tptn_value', 10, 2 );
1093
- add_action( 'manage_pages_custom_column', 'tptn_value', 10, 2 );
1094
-
1095
-
1096
- /**
1097
- * Regiter the columns as sortable.
1098
- *
1099
- * @access public
1100
- * @param mixed $cols
1101
- * @return void
1102
- */
1103
- function tptn_column_register_sortable( $cols ) {
1104
- $tptn_settings = tptn_read_options();
1105
-
1106
- if ( $tptn_settings['pv_in_admin'] ) $cols['tptn_total'] = array( 'tptn_total', true );
1107
- if ( $tptn_settings['pv_in_admin'] ) $cols['tptn_daily'] = array( 'tptn_daily', true );
1108
- return $cols;
1109
- }
1110
- add_filter( 'manage_edit-post_sortable_columns', 'tptn_column_register_sortable' );
1111
- add_filter( 'manage_edit-page_sortable_columns', 'tptn_column_register_sortable' );
1112
-
1113
-
1114
- /**
1115
- * Add custom post clauses to sort the columns.
1116
- *
1117
- * @access public
1118
- * @param mixed $clauses
1119
- * @param mixed $wp_query
1120
- * @return void
1121
- */
1122
- function tptn_column_clauses( $clauses, $wp_query ) {
1123
- global $wpdb;
1124
- $tptn_settings = tptn_read_options();
1125
-
1126
- if ( isset( $wp_query->query['orderby'] ) && 'tptn_total' == $wp_query->query['orderby'] ) {
1127
-
1128
- $table_name = $wpdb->prefix . "top_ten";
1129
- $clauses['join'] .= "LEFT OUTER JOIN {$table_name} ON {$wpdb->posts}.ID={$table_name}.postnumber";
1130
- $clauses['orderby'] = "cntaccess ";
1131
- $clauses['orderby'] .= ( 'ASC' == strtoupper( $wp_query->get('order') ) ) ? 'ASC' : 'DESC';
1132
- }
1133
-
1134
- if ( isset( $wp_query->query['orderby'] ) && 'tptn_daily' == $wp_query->query['orderby'] ) {
1135
-
1136
- $table_name = $wpdb->prefix . "top_ten_daily";
1137
-
1138
- $daily_range = $tptn_settings['daily_range'] - 1;
1139
- $current_time = gmdate( 'Y-m-d', ( time() + ( get_option( 'gmt_offset' ) * 3600 ) ) );
1140
- $current_date = strtotime( '-'.$daily_range. ' DAY' , strtotime ( $current_time ) );
1141
- $current_date = date( 'Y-m-j' , $current_date );
1142
-
1143
- $clauses['join'] .= "LEFT OUTER JOIN {$table_name} ON {$wpdb->posts}.ID={$table_name}.postnumber";
1144
- $clauses['where'] .= " AND {$table_name}.dp_date >= '$current_date' ";
1145
- $clauses['groupby'] = "{$table_name}.postnumber";
1146
- $clauses['orderby'] = "SUM({$table_name}.cntaccess) ";
1147
- $clauses['orderby'] .= ( 'ASC' == strtoupper( $wp_query->get('order') ) ) ? 'ASC' : 'DESC';
1148
- }
1149
-
1150
- return $clauses;
1151
- }
1152
- add_filter( 'posts_clauses', 'tptn_column_clauses', 10, 2 );
1153
-
1154
-
1155
- /**
1156
- * Output CSS for width of new column.
1157
- *
1158
- * @access public
1159
- * @return void
1160
- */
1161
- function tptn_css() {
1162
- ?>
1163
- <style type="text/css">
1164
- #tptn_total, #tptn_daily, #tptn_both { max-width: 100px; }
1165
- </style>
1166
- <?php
1167
- }
1168
- add_action( 'admin_head', 'tptn_css' );
1169
-
1170
-
1171
- /**
1172
- * Function to add meta box in Write screens.
1173
- *
1174
- * @access public
1175
- * @param text $post_type
1176
- * @param object $post
1177
- * @return void
1178
- */
1179
- function tptn_add_meta_box( $post_type, $post ) {
1180
-
1181
- add_meta_box(
1182
- 'tptn_metabox',
1183
- __( 'Top 10', TPTN_LOCAL_NAME ),
1184
- 'tptn_call_meta_box',
1185
- $post_type,
1186
- 'advanced',
1187
- 'default'
1188
- );
1189
-
1190
- }
1191
- add_action( 'add_meta_boxes', 'tptn_add_meta_box' , 10, 2 );
1192
-
1193
-
1194
- /**
1195
- * Function to call the meta box.
1196
- *
1197
- * @access public
1198
- * @return void
1199
- */
1200
- function tptn_call_meta_box() {
1201
- global $wpdb, $post, $tptn_settings;
1202
-
1203
- $table_name = $wpdb->prefix . "top_ten";
1204
-
1205
- // Add an nonce field so we can check for it later.
1206
- wp_nonce_field( 'tptn_meta_box', 'tptn_meta_box_nonce' );
1207
-
1208
- $resultscount = $wpdb->get_row( $wpdb->prepare(
1209
- "SELECT postnumber, cntaccess FROM {$table_name} WHERE postnumber = %d" ,
1210
- $post->ID
1211
- ) );
1212
- $total_count = $resultscount ? $resultscount->cntaccess : 0;
1213
-
1214
- if ( current_user_can( 'manage_options' ) ) {
1215
- ?>
1216
- <p>
1217
- <label for="total_count"><?php _e( "Visit count:", TPTN_LOCAL_NAME ); ?></label>
1218
- <input type="text" id="total_count" name="total_count" value="<?php echo $total_count ?>" style="width:100%" />
1219
- <em><?php _e( "Enter a number above to update the visit count. Leaving the above box blank will set the count to zero", TPTN_LOCAL_NAME ); ?></em>
1220
- </p>
1221
-
1222
- <?php
1223
- }
1224
-
1225
- $results = get_post_meta( $post->ID, $tptn_settings['thumb_meta'], true );
1226
- $value = ( $results ) ? $results : '';
1227
- ?>
1228
- <p>
1229
- <label for="thumb_meta"><?php _e( "Location of thumbnail:", TPTN_LOCAL_NAME ); ?></label>
1230
- <input type="text" id="thumb_meta" name="thumb_meta" value="<?php echo esc_url( $value ) ?>" style="width:100%" />
1231
- <em><?php _e( "Enter the full URL to the image (JPG, PNG or GIF) you'd like to use. This image will be used for the post. It will be resized to the thumbnail size set under Settings &raquo; Related Posts &raquo; Output Options", TPTN_LOCAL_NAME ); ?></em>
1232
- <em><?php _e( "The URL above is saved in the meta field: ", TPTN_LOCAL_NAME ); ?></em><strong><?php echo $tptn_settings['thumb_meta']; ?></strong>
1233
- </p>
1234
-
1235
- <?php
1236
- if ( $results ) {
1237
- echo '<img src="' . esc_url( $value ) . '" style="max-width:100%" />';
1238
- }
1239
-
1240
- }
1241
-
1242
-
1243
- /**
1244
- * Function to save the meta box.
1245
- *
1246
- * @access public
1247
- * @param mixed $post_id
1248
- * @return void
1249
- */
1250
- function tptn_save_meta_box( $post_id ) {
1251
- global $tptn_settings, $wpdb;
1252
-
1253
- $table_name = $wpdb->prefix . "top_ten";
1254
-
1255
- // Bail if we're doing an auto save
1256
- if ( defined( 'DOING_AUTOSAVE' ) && DOING_AUTOSAVE ) return;
1257
-
1258
- // if our nonce isn't there, or we can't verify it, bail
1259
- if ( ! isset( $_POST['tptn_meta_box_nonce'] ) || ! wp_verify_nonce( $_POST['tptn_meta_box_nonce'], 'tptn_meta_box' ) ) return;
1260
-
1261
- // if our current user can't edit this post, bail
1262
- if ( ! current_user_can( 'edit_post' ) ) return;
1263
-
1264
- // Update the posts view count
1265
- if ( ( isset( $_POST['total_count'] ) ) && ( current_user_can( 'manage_options' ) ) ) {
1266
- $total_count = intval( $_POST['total_count'] );
1267
- if ( 0 <> $total_count ) {
1268
- $tt = $wpdb->query( $wpdb->prepare(
1269
- "INSERT INTO {$table_name} (postnumber, cntaccess) VALUES('%d', '%d') ON DUPLICATE KEY UPDATE cntaccess= %d ",
1270
- $post_id,
1271
- $total_count,
1272
- $total_count
1273
- ) );
1274
- } else {
1275
- $resultscount = $wpdb->query( $wpdb->prepare(
1276
- "DELETE FROM {$table_name} WHERE postnumber = %d ",
1277
- $post_id
1278
- ) );
1279
- }
1280
- }
1281
-
1282
- // Update the thumbnail URL
1283
- if ( isset( $_POST['thumb_meta'] ) ) {
1284
- $thumb_meta = $_POST['thumb_meta'] == '' ? '' : sanitize_text_field( $_POST['thumb_meta'] );
1285
- }
1286
-
1287
- $tptn_post_meta = get_post_meta( $post_id, $tptn_settings['thumb_meta'], true );
1288
- if ( $tptn_post_meta && '' != $tptn_post_meta ) {
1289
- $gotmeta = true;
1290
- } else {
1291
- $gotmeta = false;
1292
- }
1293
-
1294
- if ( $gotmeta && '' != $thumb_meta ) {
1295
- update_post_meta( $post_id, $tptn_settings['thumb_meta'], $thumb_meta );
1296
- } elseif ( ! $gotmeta && '' != $thumb_meta ) {
1297
- add_post_meta( $post_id, $tptn_settings['thumb_meta'], $thumb_meta );
1298
- } else {
1299
- delete_post_meta( $post_id, $tptn_settings['thumb_meta'] );
1300
- }
1301
-
1302
- }
1303
- add_action( 'save_post', 'tptn_save_meta_box' );
1304
-
1305
-
1306
- ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
admin/admin-columns.php ADDED
@@ -0,0 +1,189 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Manage columns on All Posts and All pages screens.
4
+ *
5
+ * @package Top_Ten
6
+ * @author Ajay D'Souza <me@ajaydsouza.com>
7
+ * @license GPL-2.0+
8
+ * @link http://ajaydsouza.com
9
+ * @copyright 2008-2014 Ajay D'Souza
10
+ */
11
+
12
+ /**** If this file is called directly, abort. ****/
13
+ if ( ! defined( 'WPINC' ) ) {
14
+ die;
15
+ }
16
+
17
+ /**
18
+ * Add an extra column to the All Posts page to display the page views.
19
+ *
20
+ * @since 1.2
21
+ *
22
+ * @param array $cols Array of all columns on posts page
23
+ * @return array Modified array of columns
24
+ */
25
+ function tptn_column( $cols ) {
26
+ global $tptn_settings;
27
+
28
+ if ( ( current_user_can('manage_options') ) || ( $tptn_settings['show_count_non_admins'] ) ) {
29
+ if ( $tptn_settings['pv_in_admin'] ) {
30
+ $cols['tptn_total'] = __( 'Total Views', TPTN_LOCAL_NAME );
31
+ }
32
+ if ( $tptn_settings['pv_in_admin'] ) {
33
+ $cols['tptn_daily'] = __( "Today's Views", TPTN_LOCAL_NAME );
34
+ }
35
+ if ( $tptn_settings['pv_in_admin'] ) {
36
+ $cols['tptn_both'] = __( 'Views', TPTN_LOCAL_NAME );
37
+ }
38
+ }
39
+ return $cols;
40
+ }
41
+ add_filter( 'manage_posts_columns', 'tptn_column' );
42
+ add_filter( 'manage_pages_columns', 'tptn_column' );
43
+
44
+
45
+ /**
46
+ * Display page views for each column.
47
+ *
48
+ * @since 1.2
49
+ *
50
+ * @param string $column_name Name of the column
51
+ * @param int|string $id Post ID
52
+ */
53
+ function tptn_value( $column_name, $id ) {
54
+ global $wpdb, $tptn_settings;
55
+
56
+ // Add Total count
57
+ if ( ( $column_name == 'tptn_total' ) && ( $tptn_settings['pv_in_admin'] ) ) {
58
+ $table_name = $wpdb->base_prefix . "top_ten";
59
+
60
+ $resultscount = $wpdb->get_row( $wpdb->prepare( "SELECT postnumber, cntaccess from {$table_name} WHERE postnumber = %d", $id ) );
61
+ $cntaccess = number_format_i18n( ( ( $resultscount ) ? $resultscount->cntaccess : 0 ) );
62
+ echo $cntaccess;
63
+ }
64
+
65
+ // Now process daily count
66
+ if ( ( $column_name == 'tptn_daily' ) && ( $tptn_settings['pv_in_admin'] ) ) {
67
+ $table_name = $wpdb->base_prefix . "top_ten_daily";
68
+
69
+ $daily_range = $tptn_settings['daily_range'];
70
+ $hour_range = $tptn_settings['hour_range'];
71
+
72
+ $current_time = current_time( 'timestamp', 1 );
73
+ $from_date = $current_time - ( $daily_range * DAY_IN_SECONDS + $hour_range * HOUR_IN_SECONDS );
74
+ $from_date = gmdate( 'Y-m-d H' , $from_date );
75
+
76
+ $resultscount = $wpdb->get_row( $wpdb->prepare( "SELECT postnumber, SUM(cntaccess) as sumCount FROM {$table_name} WHERE postnumber = %d AND dp_date >= '%s' GROUP BY postnumber ", $id, $from_date ) );
77
+ $cntaccess = number_format_i18n( ( ( $resultscount ) ? $resultscount->sumCount : 0 ) );
78
+
79
+ echo $cntaccess;
80
+ }
81
+
82
+ // Now process both
83
+ if ( ( $column_name == 'tptn_both' ) && ( $tptn_settings['pv_in_admin'] ) ) {
84
+ $table_name = $wpdb->base_prefix . "top_ten";
85
+
86
+ $resultscount = $wpdb->get_row( $wpdb->prepare("SELECT postnumber, cntaccess from {$table_name} WHERE postnumber = %d", $id ) );
87
+ $cntaccess = number_format_i18n((($resultscount) ? $resultscount->cntaccess : 0));
88
+
89
+ $table_name = $wpdb->base_prefix . "top_ten_daily";
90
+
91
+ $daily_range = $tptn_settings['daily_range'];
92
+ $hour_range = $tptn_settings['hour_range'];
93
+
94
+ $current_time = current_time( 'timestamp', 1 );
95
+ $from_date = $current_time - ( $daily_range * DAY_IN_SECONDS + $hour_range * HOUR_IN_SECONDS );
96
+ $from_date = gmdate( 'Y-m-d H' , $from_date );
97
+
98
+ $resultscount = $wpdb->get_row( $wpdb->prepare( "SELECT postnumber, SUM(cntaccess) as sumCount FROM {$table_name} WHERE postnumber = %d AND dp_date >= '%s' GROUP BY postnumber ", $id, $from_date ) );
99
+ $cntaccess .= ' / '.number_format_i18n( ( ( $resultscount ) ? $resultscount->sumCount : 0 ) );
100
+
101
+ echo $cntaccess;
102
+ }
103
+ }
104
+ add_action( 'manage_posts_custom_column', 'tptn_value', 10, 2 );
105
+ add_action( 'manage_pages_custom_column', 'tptn_value', 10, 2 );
106
+
107
+
108
+ /**
109
+ * Register the columns as sortable.
110
+ *
111
+ * @since 1.9.8.2
112
+ *
113
+ * @param array $cols Array with column names
114
+ * @return array Filtered columns array
115
+ */
116
+ function tptn_column_register_sortable( $cols ) {
117
+ $tptn_settings = tptn_read_options();
118
+
119
+ if ( $tptn_settings['pv_in_admin'] ) {
120
+ $cols['tptn_total'] = array( 'tptn_total', true );
121
+ $cols['tptn_daily'] = array( 'tptn_daily', true );
122
+ }
123
+
124
+ return $cols;
125
+ }
126
+ add_filter( 'manage_edit-post_sortable_columns', 'tptn_column_register_sortable' );
127
+ add_filter( 'manage_edit-page_sortable_columns', 'tptn_column_register_sortable' );
128
+
129
+
130
+ /**
131
+ * Add custom post clauses to sort the columns.
132
+ *
133
+ * @since 1.9.8.2
134
+ *
135
+ * @param array $clauses Lookup clauses
136
+ * @param object $wp_query WP Query object
137
+ * @return array Filtered clauses
138
+ */
139
+ function tptn_column_clauses( $clauses, $wp_query ) {
140
+ global $wpdb;
141
+ $tptn_settings = tptn_read_options();
142
+
143
+ if ( isset( $wp_query->query['orderby'] ) && 'tptn_total' == $wp_query->query['orderby'] ) {
144
+
145
+ $table_name = $wpdb->base_prefix . "top_ten";
146
+ $clauses['join'] .= "LEFT OUTER JOIN {$table_name} ON {$wpdb->posts}.ID={$table_name}.postnumber";
147
+ $clauses['orderby'] = "cntaccess ";
148
+ $clauses['orderby'] .= ( 'ASC' == strtoupper( $wp_query->get('order') ) ) ? 'ASC' : 'DESC';
149
+ }
150
+
151
+ if ( isset( $wp_query->query['orderby'] ) && 'tptn_daily' == $wp_query->query['orderby'] ) {
152
+
153
+ $table_name = $wpdb->base_prefix . "top_ten_daily";
154
+
155
+ $daily_range = $tptn_settings['daily_range'];
156
+ $hour_range = $tptn_settings['hour_range'];
157
+
158
+ $current_time = current_time( 'timestamp', 1 );
159
+ $from_date = $current_time - ( $daily_range * DAY_IN_SECONDS + $hour_range * HOUR_IN_SECONDS );
160
+ $from_date = gmdate( 'Y-m-d H' , $from_date );
161
+
162
+ $clauses['join'] .= "LEFT OUTER JOIN {$table_name} ON {$wpdb->posts}.ID={$table_name}.postnumber";
163
+ $clauses['where'] .= " AND {$table_name}.dp_date >= '$from_date' ";
164
+ $clauses['groupby'] = "{$table_name}.postnumber";
165
+ $clauses['orderby'] = "SUM({$table_name}.cntaccess) ";
166
+ $clauses['orderby'] .= ( 'ASC' == strtoupper( $wp_query->get('order') ) ) ? 'ASC' : 'DESC';
167
+ }
168
+
169
+ return $clauses;
170
+ }
171
+ add_filter( 'posts_clauses', 'tptn_column_clauses', 10, 2 );
172
+
173
+
174
+ /**
175
+ * Output CSS for width of new column.
176
+ *
177
+ * @since 1.2
178
+ *
179
+ */
180
+ function tptn_admin_css() {
181
+ ?>
182
+ <style type="text/css">
183
+ #tptn_total, #tptn_daily, #tptn_both { max-width: 100px; }
184
+ </style>
185
+ <?php
186
+ }
187
+ add_action( 'admin_head', 'tptn_admin_css' );
188
+
189
+ ?>
admin/admin-dashboard.php ADDED
@@ -0,0 +1,213 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Top 10 Dashboard display.
4
+ *
5
+ * Functions to add the popular lists to the WordPress Admin Dashboard
6
+ *
7
+ * @package Top_Ten
8
+ * @author Ajay D'Souza <me@ajaydsouza.com>
9
+ * @license GPL-2.0+
10
+ * @link http://ajaydsouza.com
11
+ * @copyright 2008-2014 Ajay D'Souza
12
+ */
13
+
14
+ /**** If this file is called directly, abort. ****/
15
+ if ( ! defined( 'WPINC' ) ) {
16
+ die;
17
+ }
18
+
19
+
20
+ /**
21
+ * Create the Dashboard Widget and content of the Popular pages
22
+ *
23
+ * @since 1.3
24
+ *
25
+ * @param bool $daily Switch for Daily or Overall popular posts
26
+ * @param int $page Which page of the lists are we on?
27
+ * @param int $limit Maximum number of posts per page
28
+ * @param bool $widget Is this a WordPress widget?
29
+ * @return Formatted list of popular posts
30
+ */
31
+ function tptn_pop_display( $daily = FALSE, $page = 0, $limit = FALSE, $widget = FALSE ) {
32
+ global $wpdb, $siteurl, $tableposts, $id, $tptn_settings;
33
+
34
+ $table_name = $wpdb->base_prefix . "top_ten";
35
+ if ( $daily ) $table_name .= "_daily"; // If we're viewing daily posts, set this to true
36
+
37
+ if ( ! ( $limit ) ) $limit = $tptn_settings['limit'];
38
+ if ( ! ( $page ) ) $page = 0; // Default page value.
39
+ parse_str( $tptn_settings['post_types'], $post_types ); // Save post types in $post_types variable
40
+
41
+ $results = tptn_pop_posts('posts_only=1&limit=99999&strict_limit=1&is_widget=1&exclude_post_ids=0&daily='.$daily);
42
+ $numrows = count( $results );
43
+
44
+ $pages = intval( $numrows/$limit ); // Number of results pages.
45
+
46
+ // $pages now contains int of pages, unless there is a remainder from division.
47
+
48
+ if ($numrows % $limit) { $pages++; } // has remainder so add one page
49
+
50
+ $current = ( $page/$limit ) + 1; // Current page number.
51
+
52
+ if ( ( $pages < 1 ) || ( 0 == $pages ) ) {
53
+ $total = 1; // If $pages is less than one or equal to 0, total pages is 1.
54
+ } else {
55
+ $total = $pages; // Else total pages is $pages value.
56
+ }
57
+
58
+ $first = $page + 1; // The first result.
59
+
60
+ if ( ! ( ( ( $page + $limit ) / $limit ) >= $pages ) && $pages != 1 ) {
61
+ $last = $page + $limit; //If not last results page, last result equals $page plus $limit.
62
+ } else {
63
+ $last = $numrows; // If last results page, last result equals total number of results.
64
+ }
65
+
66
+ $results = array_slice( $results, $page, $limit );
67
+
68
+ $output = '<div id="tptn_popular_posts">';
69
+ $output .= '<table width="100%" border="0">
70
+ <tr>
71
+ <td width="50%" align="left">';
72
+ $output .= sprintf( __( 'Results %1$s to %2$s of %3$s', TPTN_LOCAL_NAME ), '<strong>'.$first.'</strong>', '<strong>'.$last.'</strong>', '<strong>'.$numrows.'</strong>');
73
+ $output .= '
74
+ </td>
75
+ <td width="50%" align="right">';
76
+ $output .= sprintf( __( 'Page %s of %s', TPTN_LOCAL_NAME ), '<strong>'.$current.'</strong>', '<strong>'.$total.'</strong>' );
77
+ $output .= '
78
+ </td>
79
+ </tr>
80
+ <tr>
81
+ <td colspan="2" align="right">&nbsp;</td>
82
+ </tr>
83
+ <tr>
84
+ <td align="left">';
85
+
86
+ if ( ( $daily && $widget ) || ( ! $daily && ! $widget ) ) {
87
+ $output .= '<a href="./admin.php?page=tptn_manage_daily">';
88
+ $output .= __( 'View Daily Popular Posts', TPTN_LOCAL_NAME );
89
+ $output .= '</a></td>';
90
+ $output .= '<td align="right">';
91
+ if ( ! $widget ) $output .= __( 'Results per-page:', TPTN_LOCAL_NAME );
92
+ if ( ! $widget ) $output .= ' <a href="./admin.php?page=tptn_manage&limit=10">10</a> | <a href="./admin.php?page=tptn_manage&limit=20">20</a> | <a href="./admin.php?page=tptn_manage&limit=50">50</a> | <a href="./admin.php?page=tptn_manage&limit=100">100</a> ';
93
+ $output .= ' </td>
94
+ </tr>
95
+ <tr>
96
+ <td colspan="2" align="right"><hr /></td>
97
+ </tr>
98
+ </table>';
99
+ } else {
100
+ $output .= '<a href="./admin.php?page=tptn_manage">';
101
+ $output .= __( 'View Overall Popular Posts', TPTN_LOCAL_NAME );
102
+ $output .= '</a></td>';
103
+ $output .= '<td align="right">';
104
+ if ( ! $widget ) $output .= __( 'Results per-page:', TPTN_LOCAL_NAME );
105
+ if ( ! $widget ) $output .= ' <a href="./admin.php?page=tptn_manage_daily&limit=10">10</a> | <a href="./admin.php?page=tptn_manage_daily&limit=20">20</a> | <a href="./admin.php?page=tptn_manage_daily&limit=50">50</a> | <a href="./admin.php?page=tptn_manage_daily&limit=100">100</a> ';
106
+ $output .= ' </td>
107
+ </tr>
108
+ <tr>
109
+ <td colspan="2" align="right"><hr /></td>
110
+ </tr>
111
+ </table>';
112
+ }
113
+
114
+ $dailytag = ( $daily ) ? '_daily' : '';
115
+
116
+ $output .= '<ul>';
117
+ if ( $results ) {
118
+ foreach ( $results as $result ) {
119
+ $output .= '<li><a href="' . get_permalink( $result['postnumber'] ) . '">' . get_the_title( $result['postnumber'] ) . '</a>';
120
+ $output .= ' (' . number_format_i18n( $result['sumCount'] ) . ')';
121
+ $output .= '</li>';
122
+ }
123
+ }
124
+ $output .= '</ul>';
125
+
126
+ $output .= '<p align="center">';
127
+ if ( 0 != $page ) { // Don't show back link if current page is first page.
128
+ $back_page = $page - $limit;
129
+ $output .= "<a href=\"./admin.php?page=tptn_manage$dailytag&paged=$back_page&daily=$daily&limit=$limit\">&laquo; ";
130
+ $output .= __( 'Previous', TPTN_LOCAL_NAME );
131
+ $output .= "</a>\n";
132
+ }
133
+
134
+ $pagination_range = 4;
135
+ for ( $i=1; $i <= $pages; $i++ ) { // loop through each page and give link to it.
136
+ if ( $i >= $current + $pagination_range && $i < $pages ) {
137
+ if ( $i == $current + $pagination_range ) {
138
+ $output .= '&hellip;&nbsp;';
139
+ }
140
+ continue;
141
+ }
142
+ if ( $i < $current - $pagination_range + 1 && $i < $pages ) {
143
+ continue;
144
+ }
145
+
146
+ $ppage = $limit * ( $i - 1 );
147
+
148
+ if ( $ppage == $page ) {
149
+ $output .= ("<span class='current'>$i</span>\n"); // If current page don't give link, just text.
150
+ } else {
151
+ $output .= "<a href=\"./admin.php?page=tptn_manage$dailytag&paged=$ppage&daily=$daily&limit=$limit\">$i</a> \n";
152
+ }
153
+ }
154
+
155
+ if ( ! ( ( ( $page + $limit ) / $limit ) >= $pages ) && $pages != 1 ) { // If last page don't give next link.
156
+ $next_page = $page + $limit;
157
+ $output .= "<a href=\"./admin.php?page=tptn_manage$dailytag&paged=$next_page&daily=$daily&limit=$limit\">";
158
+ $output .= __( 'Next', TPTN_LOCAL_NAME );
159
+ $output .= " &raquo;</a>";
160
+ }
161
+ $output .= '</p>';
162
+ $output .= '<p style="text-align:center;border-top: #000 1px solid">Popular posts by <a href="http://ajaydsouza.com/wordpress/plugins/top-10/">Top 10 plugin</a></p>';
163
+ $output .= '</div>';
164
+
165
+ return apply_filters( 'tptn_pop_display', $output );
166
+ }
167
+
168
+
169
+ /**
170
+ * Widget for Popular Posts.
171
+ *
172
+ * @since 1.1
173
+ */
174
+ function tptn_pop_dashboard() {
175
+ echo tptn_pop_display( false, 0, 10, true );
176
+ }
177
+
178
+
179
+ /**
180
+ * Widget for Daily Popular Posts.
181
+ *
182
+ * @since 1.2
183
+ */
184
+ function tptn_pop_daily_dashboard() {
185
+ echo tptn_pop_display( true, 0, 10, true );
186
+ }
187
+
188
+
189
+ /**
190
+ * Function to add the widgets to the Dashboard.
191
+ *
192
+ * @since 1.1
193
+ */
194
+ function tptn_pop_dashboard_setup() {
195
+ global $tptn_settings;
196
+
197
+ if ( ( current_user_can( 'manage_options' ) ) || ( $tptn_settings['show_count_non_admins'] ) ) {
198
+ wp_add_dashboard_widget(
199
+ 'tptn_pop_dashboard',
200
+ __( 'Popular Posts', TPTN_LOCAL_NAME ),
201
+ 'tptn_pop_dashboard'
202
+ );
203
+ wp_add_dashboard_widget(
204
+ 'tptn_pop_daily_dashboard',
205
+ __( 'Daily Popular', TPTN_LOCAL_NAME ),
206
+ 'tptn_pop_daily_dashboard'
207
+ );
208
+ }
209
+ }
210
+ add_action( 'wp_dashboard_setup', 'tptn_pop_dashboard_setup' );
211
+
212
+
213
+ ?>
admin/admin-metabox.php ADDED
@@ -0,0 +1,159 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Top 10 Meta box functions.
4
+ *
5
+ * Accessible on Edit Posts, Pages and other custom post type screens
6
+ *
7
+ * @package Top_Ten
8
+ * @author Ajay D'Souza <me@ajaydsouza.com>
9
+ * @license GPL-2.0+
10
+ * @link http://ajaydsouza.com
11
+ * @copyright 2008-2014 Ajay D'Souza
12
+ */
13
+
14
+ /**** If this file is called directly, abort. ****/
15
+ if ( ! defined( 'WPINC' ) ) {
16
+ die;
17
+ }
18
+
19
+ /**
20
+ * Function to add meta box in Write screens.
21
+ *
22
+ * @since 1.9.10
23
+ *
24
+ * @param text $post_type Post type
25
+ * @param object $post Post object
26
+ */
27
+ function tptn_add_meta_box( $post_type, $post ) {
28
+
29
+ $args = array(
30
+ 'public' => true,
31
+ );
32
+ $post_types = get_post_types( $args );
33
+
34
+ if ( in_array( $post_type, $post_types ) ) {
35
+
36
+ add_meta_box(
37
+ 'tptn_metabox',
38
+ __( 'Top 10', TPTN_LOCAL_NAME ),
39
+ 'tptn_call_meta_box',
40
+ $post_type,
41
+ 'advanced',
42
+ 'default'
43
+ );
44
+ }
45
+ }
46
+ add_action( 'add_meta_boxes', 'tptn_add_meta_box' , 10, 2 );
47
+
48
+
49
+ /**
50
+ * Function to call the meta box.
51
+ *
52
+ * @since 1.9.10
53
+ */
54
+ function tptn_call_meta_box() {
55
+ global $wpdb, $post, $tptn_settings;
56
+
57
+ $table_name = $wpdb->base_prefix . "top_ten";
58
+
59
+ // Add an nonce field so we can check for it later.
60
+ wp_nonce_field( 'tptn_meta_box', 'tptn_meta_box_nonce' );
61
+
62
+ $resultscount = $wpdb->get_row( $wpdb->prepare(
63
+ "SELECT postnumber, cntaccess FROM {$table_name} WHERE postnumber = %d" ,
64
+ $post->ID
65
+ ) );
66
+ $total_count = $resultscount ? $resultscount->cntaccess : 0;
67
+
68
+ if ( current_user_can( 'manage_options' ) ) {
69
+ ?>
70
+ <p>
71
+ <label for="total_count"><?php _e( "Visit count:", TPTN_LOCAL_NAME ); ?></label>
72
+ <input type="text" id="total_count" name="total_count" value="<?php echo $total_count ?>" style="width:100%" />
73
+ <em><?php _e( "Enter a number above to update the visit count. Leaving the above box blank will set the count to zero", TPTN_LOCAL_NAME ); ?></em>
74
+ </p>
75
+
76
+ <?php
77
+ }
78
+
79
+ $results = get_post_meta( $post->ID, $tptn_settings['thumb_meta'], true );
80
+ $value = ( $results ) ? $results : '';
81
+ ?>
82
+ <p>
83
+ <label for="thumb_meta"><?php _e( "Location of thumbnail:", TPTN_LOCAL_NAME ); ?></label>
84
+ <input type="text" id="thumb_meta" name="thumb_meta" value="<?php echo esc_url( $value ) ?>" style="width:100%" />
85
+ <em><?php _e( "Enter the full URL to the image (JPG, PNG or GIF) you'd like to use. This image will be used for the post. It will be resized to the thumbnail size set under Settings &raquo; Related Posts &raquo; Output Options", TPTN_LOCAL_NAME ); ?></em>
86
+ <em><?php _e( "The URL above is saved in the meta field: ", TPTN_LOCAL_NAME ); ?></em><strong><?php echo $tptn_settings['thumb_meta']; ?></strong>
87
+ </p>
88
+
89
+ <?php
90
+ if ( $results ) {
91
+ echo '<img src="' . esc_url( $value ) . '" style="max-width:100%" />';
92
+ }
93
+
94
+ }
95
+
96
+
97
+ /**
98
+ * Function to save the meta box.
99
+ *
100
+ * @since 1.9.10
101
+ *
102
+ * @param int $post_id
103
+ */
104
+ function tptn_save_meta_box( $post_id ) {
105
+ global $tptn_settings, $wpdb;
106
+
107
+ $table_name = $wpdb->base_prefix . "top_ten";
108
+
109
+ // Bail if we're doing an auto save
110
+ if ( defined( 'DOING_AUTOSAVE' ) && DOING_AUTOSAVE ) return;
111
+
112
+ // if our nonce isn't there, or we can't verify it, bail
113
+ if ( ! isset( $_POST['tptn_meta_box_nonce'] ) || ! wp_verify_nonce( $_POST['tptn_meta_box_nonce'], 'tptn_meta_box' ) ) return;
114
+
115
+ // if our current user can't edit this post, bail
116
+ if ( ! current_user_can( 'edit_posts' ) ) return;
117
+
118
+ // Update the posts view count
119
+ if ( ( isset( $_POST['total_count'] ) ) && ( current_user_can( 'manage_options' ) ) ) {
120
+ $total_count = intval( $_POST['total_count'] );
121
+ if ( 0 <> $total_count ) {
122
+ $tt = $wpdb->query( $wpdb->prepare(
123
+ "INSERT INTO {$table_name} (postnumber, cntaccess) VALUES('%d', '%d') ON DUPLICATE KEY UPDATE cntaccess= %d ",
124
+ $post_id,
125
+ $total_count,
126
+ $total_count
127
+ ) );
128
+ } else {
129
+ $resultscount = $wpdb->query( $wpdb->prepare(
130
+ "DELETE FROM {$table_name} WHERE postnumber = %d ",
131
+ $post_id
132
+ ) );
133
+ }
134
+ }
135
+
136
+ // Update the thumbnail URL
137
+ if ( isset( $_POST['thumb_meta'] ) ) {
138
+ $thumb_meta = $_POST['thumb_meta'] == '' ? '' : sanitize_text_field( $_POST['thumb_meta'] );
139
+ }
140
+
141
+ $tptn_post_meta = get_post_meta( $post_id, $tptn_settings['thumb_meta'], true );
142
+ if ( $tptn_post_meta && '' != $tptn_post_meta ) {
143
+ $gotmeta = true;
144
+ } else {
145
+ $gotmeta = false;
146
+ }
147
+
148
+ if ( $gotmeta && '' != $thumb_meta ) {
149
+ update_post_meta( $post_id, $tptn_settings['thumb_meta'], $thumb_meta );
150
+ } elseif ( ! $gotmeta && '' != $thumb_meta ) {
151
+ add_post_meta( $post_id, $tptn_settings['thumb_meta'], $thumb_meta );
152
+ } else {
153
+ delete_post_meta( $post_id, $tptn_settings['thumb_meta'] );
154
+ }
155
+
156
+ }
157
+ add_action( 'save_post', 'tptn_save_meta_box' );
158
+
159
+ ?>
admin/admin.php ADDED
@@ -0,0 +1,1408 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Top 10 Admin interface.
4
+ *
5
+ * This page is accessible via Top 10 Settings menu item
6
+ *
7
+ * @package Top_Ten
8
+ * @author Ajay D'Souza <me@ajaydsouza.com>
9
+ * @license GPL-2.0+
10
+ * @link http://ajaydsouza.com
11
+ * @copyright 2008-2014 Ajay D'Souza
12
+ */
13
+
14
+ /**** If this file is called directly, abort. ****/
15
+ if ( ! defined( 'WPINC' ) ) {
16
+ die;
17
+ }
18
+
19
+
20
+ /**
21
+ * Function generates the plugin settings page.
22
+ *
23
+ * @since 1.0
24
+ *
25
+ */
26
+ function tptn_options() {
27
+
28
+ global $wpdb, $network_wide, $tptn_url;
29
+ $poststable = $wpdb->posts;
30
+
31
+ $tptn_settings = tptn_read_options();
32
+ parse_str( $tptn_settings['post_types'],$post_types );
33
+ $wp_post_types = get_post_types( array(
34
+ 'public' => true,
35
+ ) );
36
+ $posts_types_inc = array_intersect( $wp_post_types, $post_types );
37
+
38
+ if ( ( isset( $_POST['tptn_save'] ) ) && ( check_admin_referer( 'tptn-plugin-settings' ) ) ) {
39
+
40
+ /* General options */
41
+ $tptn_settings['activate_overall'] = isset( $_POST['activate_overall']) ? true : false;
42
+ $tptn_settings['activate_daily'] = isset( $_POST['activate_daily']) ? true : false;
43
+ $tptn_settings['cache_fix'] = isset( $_POST['cache_fix'] ) ? true : false;
44
+ $tptn_settings['show_credit'] = isset( $_POST['show_credit'] ) ? true : false;
45
+
46
+ /* Counter and tracker options */
47
+ $tptn_settings['add_to_content'] = isset( $_POST['add_to_content'] ) ? true : false;
48
+ $tptn_settings['count_on_pages'] = isset( $_POST['count_on_pages'] ) ? true : false;
49
+ $tptn_settings['add_to_feed'] = isset( $_POST['add_to_feed'] ) ? true : false;
50
+ $tptn_settings['add_to_home'] = isset( $_POST['add_to_home'] ) ? true : false;
51
+ $tptn_settings['add_to_category_archives'] = isset( $_POST['add_to_category_archives'] ) ? true : false;
52
+ $tptn_settings['add_to_tag_archives'] = isset( $_POST['add_to_tag_archives'] ) ? true : false;
53
+ $tptn_settings['add_to_archives'] = isset( $_POST['add_to_archives'] ) ? true : false;
54
+
55
+ $tptn_settings['count_disp_form'] = $_POST['count_disp_form'];
56
+ $tptn_settings['count_disp_form_zero'] = $_POST['count_disp_form_zero'];
57
+ $tptn_settings['dynamic_post_count'] = isset( $_POST['dynamic_post_count'] ) ? true : false;
58
+
59
+ $tptn_settings['track_authors'] = isset( $_POST['track_authors']) ? true : false;
60
+ $tptn_settings['track_admins'] = isset( $_POST['track_admins']) ? true : false;
61
+ $tptn_settings['track_editors'] = isset( $_POST['track_editors']) ? true : false;
62
+
63
+ $tptn_settings['pv_in_admin'] = isset( $_POST['pv_in_admin']) ? true : false;
64
+ $tptn_settings['show_count_non_admins'] = isset( $_POST['show_count_non_admins'] ) ? true : false;
65
+
66
+ /* Popular post list options */
67
+ $tptn_settings['limit'] = intval( $_POST['limit'] );
68
+ $tptn_settings['daily_range'] = intval( $_POST['daily_range'] );
69
+ $tptn_settings['hour_range'] = intval( $_POST['hour_range'] );
70
+
71
+ // Process post types to be selected
72
+ $wp_post_types = get_post_types( array(
73
+ 'public' => true,
74
+ ) );
75
+ $post_types_arr = ( isset( $_POST['post_types'] ) && is_array( $_POST['post_types'] ) ) ? $_POST['post_types'] : array( 'post' => 'post' );
76
+ $post_types = array_intersect( $wp_post_types, $post_types_arr );
77
+ $tptn_settings['post_types'] = http_build_query( $post_types, '', '&' );
78
+
79
+ $tptn_settings['exclude_post_ids'] = $_POST['exclude_post_ids'] == '' ? '' : implode( ',', array_map( 'intval', explode( ",", $_POST['exclude_post_ids'] ) ) );
80
+
81
+ // Exclude categories
82
+ $tptn_settings['exclude_cat_slugs'] = $_POST['exclude_cat_slugs'];
83
+
84
+ $exclude_categories_slugs = explode( ", ", $tptn_settings['exclude_cat_slugs'] );
85
+
86
+ foreach ( $exclude_categories_slugs as $exclude_categories_slug ) {
87
+ $catObj = get_category_by_slug( $exclude_categories_slug );
88
+ if ( isset( $catObj->term_id ) ) {
89
+ $exclude_categories[] = $catObj->term_id;
90
+ }
91
+ }
92
+ $tptn_settings['exclude_categories'] = isset( $exclude_categories ) ? join( ',', $exclude_categories ) : '';
93
+
94
+ $tptn_settings['title'] = wp_kses_post( $_POST['title'] );
95
+ $tptn_settings['title_daily'] = wp_kses_post( $_POST['title_daily'] );
96
+
97
+ $tptn_settings['blank_output'] = ( $_POST['blank_output'] == 'blank' ) ? true : false;
98
+ $tptn_settings['blank_output_text'] = wp_kses_post( $_POST['blank_output_text'] );
99
+
100
+ $tptn_settings['show_excerpt'] = isset( $_POST['show_excerpt'] ) ? true : false;
101
+ $tptn_settings['excerpt_length'] = intval( $_POST['excerpt_length'] );
102
+ $tptn_settings['show_date'] = isset( $_POST['show_date'] ) ? true : false;
103
+ $tptn_settings['show_author'] = isset( $_POST['show_author'] ) ? true : false;
104
+ $tptn_settings['title_length'] = intval( $_POST['title_length'] );
105
+ $tptn_settings['disp_list_count'] = isset( $_POST['disp_list_count'] ) ? true : false;
106
+
107
+ $tptn_settings['d_use_js'] = isset( $_POST['d_use_js'] ) ? true : false; // This needs to be deprecated
108
+
109
+ $tptn_settings['link_new_window'] = isset( $_POST['link_new_window'] ) ? true : false;
110
+ $tptn_settings['link_nofollow'] = isset( $_POST['link_nofollow'] ) ? true : false;
111
+ $tptn_settings['exclude_on_post_ids'] = $_POST['exclude_on_post_ids'] == '' ? '' : implode( ',', array_map( 'intval', explode( ",", $_POST['exclude_on_post_ids'] ) ) );
112
+
113
+ // List HTML options
114
+ $tptn_settings['before_list'] = $_POST['before_list'];
115
+ $tptn_settings['after_list'] = $_POST['after_list'];
116
+ $tptn_settings['before_list_item'] = $_POST['before_list_item'];
117
+ $tptn_settings['after_list_item'] = $_POST['after_list_item'];
118
+
119
+ /* Thumbnail options */
120
+ $tptn_settings['post_thumb_op'] = $_POST['post_thumb_op'];
121
+ $tptn_settings['thumb_size'] = $_POST['thumb_size'];
122
+ $tptn_settings['thumb_width'] = intval( $_POST['thumb_width'] );
123
+ $tptn_settings['thumb_height'] = intval( $_POST['thumb_height'] );
124
+ $tptn_settings['thumb_crop'] = ( isset( $_POST['thumb_crop'] ) ? true : false );
125
+ $tptn_settings['thumb_html'] = $_POST['thumb_html'];
126
+
127
+ $tptn_settings['thumb_timthumb'] = isset( $_POST['thumb_timthumb'] ) ? true : false; // To be deprecated
128
+ $tptn_settings['thumb_timthumb_q'] = intval( $_POST['thumb_timthumb_q'] ); // To be deprecated
129
+
130
+ $tptn_settings['thumb_meta'] = '' == $_POST['thumb_meta'] ? 'post-image' : $_POST['thumb_meta'];
131
+ $tptn_settings['scan_images'] = isset( $_POST['scan_images'] ) ? true : false;
132
+ $tptn_settings['thumb_default_show'] = isset( $_POST['thumb_default_show'] ) ? true : false;
133
+ $tptn_settings['thumb_default'] = ( '' != $_POST['thumb_default'] ) ? $_POST['thumb_default'] : $tptn_url . '/default.png';
134
+
135
+ /* Custom styles */
136
+ $tptn_settings['custom_CSS'] = wp_kses_post( $_POST['custom_CSS'] );
137
+
138
+ if ( isset( $_POST['include_default_style'] ) ) {
139
+ $tptn_settings['include_default_style'] = true;
140
+ $tptn_settings['post_thumb_op'] = 'inline';
141
+ $tptn_settings['thumb_height'] = 65;
142
+ $tptn_settings['thumb_width'] = 65;
143
+ $tptn_settings['thumb_crop'] = true;
144
+ $tptn_settings['show_excerpt'] = false;
145
+ $tptn_settings['show_author'] = false;
146
+ $tptn_settings['show_date'] = false;
147
+ } else {
148
+ $tptn_settings['include_default_style'] = false;
149
+ }
150
+
151
+ /* Update the options */
152
+ update_option( 'ald_tptn_settings', $tptn_settings );
153
+
154
+ /* Let's get the options again after we update them */
155
+ $tptn_settings = tptn_read_options();
156
+ parse_str( $tptn_settings['post_types'], $post_types );
157
+ $posts_types_inc = array_intersect( $wp_post_types, $post_types );
158
+
159
+ /* Echo a success message */
160
+ $str = '<div id="message" class="updated fade"><p>'. __( 'Options saved successfully.', TPTN_LOCAL_NAME ) .'</p></div>';
161
+ echo $str;
162
+ }
163
+
164
+ if ( ( isset( $_POST['tptn_default'] ) ) && ( check_admin_referer( 'tptn-plugin-settings' ) ) ) {
165
+ delete_option( 'ald_tptn_settings' );
166
+ $tptn_settings = tptn_default_options();
167
+ update_option( 'ald_tptn_settings', $tptn_settings );
168
+ tptn_disable_run();
169
+
170
+ $str = '<div id="message" class="updated fade"><p>'. __( 'Options set to Default.', TPTN_LOCAL_NAME ) .'</p></div>';
171
+ echo $str;
172
+ }
173
+
174
+ if ( ( isset( $_POST['tptn_trunc_all'] ) ) && ( check_admin_referer( 'tptn-plugin-settings' ) ) ) {
175
+ tptn_trunc_count( false );
176
+ $str = '<div id="message" class="updated fade"><p>'. __( 'Top 10 popular posts reset', TPTN_LOCAL_NAME ) .'</p></div>';
177
+ echo $str;
178
+ }
179
+
180
+ if ( ( isset( $_POST['tptn_trunc_daily'] ) ) && ( check_admin_referer( 'tptn-plugin-settings' ) ) ) {
181
+ tptn_trunc_count( true );
182
+ $str = '<div id="message" class="updated fade"><p>'. __( 'Top 10 daily popular posts reset', TPTN_LOCAL_NAME ) .'</p></div>';
183
+ echo $str;
184
+ }
185
+
186
+ if ( ( isset( $_POST['tptn_clean_duplicates'] ) ) && ( check_admin_referer( 'tptn-plugin-settings' ) ) ) {
187
+ tptn_clean_duplicates( true );
188
+ tptn_clean_duplicates( false );
189
+ $str = '<div id="message" class="updated fade"><p>'. __( 'Duplicate rows cleaned from tables', TPTN_LOCAL_NAME ) .'</p></div>';
190
+ echo $str;
191
+ }
192
+
193
+ if ( ( isset( $_POST['tptn_mnts_save'] ) ) && ( check_admin_referer( 'tptn-plugin-settings' ) ) ) {
194
+ $tptn_settings['cron_hour'] = min( 23, intval( $_POST['cron_hour'] ) );
195
+ $tptn_settings['cron_min'] = min( 59, intval( $_POST['cron_min'] ) );
196
+ $tptn_settings['cron_recurrence'] = $_POST['cron_recurrence'];
197
+
198
+ if ( isset( $_POST['cron_on'] ) ) {
199
+ $tptn_settings['cron_on'] = true;
200
+ tptn_enable_run( $tptn_settings['cron_hour'], $tptn_settings['cron_min'], $tptn_settings['cron_recurrence'] );
201
+ $str = '<div id="message" class="updated fade"><p>' . __( 'Scheduled maintenance enabled / modified', TPTN_LOCAL_NAME ) .'</p></div>';
202
+ } else {
203
+ $tptn_settings['cron_on'] = false;
204
+ tptn_disable_run();
205
+ $str = '<div id="message" class="updated fade"><p>'. __( 'Scheduled maintenance disabled', TPTN_LOCAL_NAME ) .'</p></div>';
206
+ }
207
+ update_option( 'ald_tptn_settings', $tptn_settings );
208
+ $tptn_settings = tptn_read_options();
209
+
210
+ echo $str;
211
+ }
212
+
213
+ if ( ( isset( $_POST['tptn_import'] ) ) && ( check_admin_referer( 'tptn-plugin-settings' ) ) ) {
214
+
215
+ $top_ten_all_mu_tables = isset( $_POST['top_ten_all_mu_tables'] ) ? $_POST['top_ten_all_mu_tables'] : array();
216
+ $top_ten_mu_tables_blog_ids = explode( ",", $_POST['top_ten_mu_tables_blog_ids'] );
217
+ $top_ten_mu_tables_sel_blog_ids = array_values( $top_ten_all_mu_tables );
218
+
219
+ foreach ( $top_ten_mu_tables_sel_blog_ids as $top_ten_mu_tables_sel_blog_id ) {
220
+ $sql = "
221
+ INSERT INTO " . $wpdb->base_prefix . "top_ten (postnumber, cntaccess, blog_id)
222
+ SELECT postnumber, cntaccess, '%d' FROM " . $wpdb->base_prefix . $top_ten_mu_tables_sel_blog_id . "_top_ten
223
+ ON DUPLICATE KEY UPDATE " . $wpdb->base_prefix . "top_ten.cntaccess = " . $wpdb->base_prefix . "top_ten.cntaccess + (
224
+ SELECT " . $wpdb->base_prefix . $top_ten_mu_tables_sel_blog_id . "_top_ten.cntaccess FROM " . $wpdb->base_prefix . $top_ten_mu_tables_sel_blog_id . "_top_ten WHERE " . $wpdb->base_prefix . $top_ten_mu_tables_sel_blog_id . "_top_ten.postnumber = " . $wpdb->base_prefix . "top_ten.postnumber
225
+ )
226
+ ";
227
+
228
+ $wpdb->query( $wpdb->prepare( $sql, $top_ten_mu_tables_sel_blog_id ) );
229
+
230
+ $sql = "
231
+ INSERT INTO " . $wpdb->base_prefix . "top_ten_daily (postnumber, cntaccess, dp_date, blog_id)
232
+ SELECT postnumber, cntaccess, dp_date, '%d' FROM " . $wpdb->base_prefix . $top_ten_mu_tables_sel_blog_id . "_top_ten_daily
233
+ ON DUPLICATE KEY UPDATE " . $wpdb->base_prefix . "top_ten_daily.cntaccess = " . $wpdb->base_prefix . "top_ten_daily.cntaccess + (
234
+ SELECT " . $wpdb->base_prefix . $top_ten_mu_tables_sel_blog_id . "_top_ten_daily.cntaccess FROM " . $wpdb->base_prefix . $top_ten_mu_tables_sel_blog_id . "_top_ten_daily WHERE " . $wpdb->base_prefix . $top_ten_mu_tables_sel_blog_id . "_top_ten_daily.postnumber = " . $wpdb->base_prefix . "top_ten_daily.postnumber
235
+ )
236
+ ";
237
+
238
+ $wpdb->query( $wpdb->prepare( $sql, $top_ten_mu_tables_sel_blog_id ) );
239
+ }
240
+
241
+ update_site_option( 'top_ten_mu_tables_sel_blog_ids', array_unique( array_merge( $top_ten_mu_tables_sel_blog_ids, get_site_option( 'top_ten_mu_tables_sel_blog_ids', array() ) ) ) );
242
+
243
+
244
+ $str = '<div id="message" class="updated fade"><p>'. __( 'Counts from selected sites have been imported.', TPTN_LOCAL_NAME ) .'</p></div>';
245
+ echo $str;
246
+ }
247
+
248
+ if ( ( ( isset( $_POST['tptn_delete_selected_tables'] ) ) || ( isset( $_POST['tptn_delete_imported_tables'] ) ) ) && ( check_admin_referer( 'tptn-plugin-settings' ) ) ) {
249
+ $top_ten_all_mu_tables = isset( $_POST['top_ten_all_mu_tables'] ) ? $_POST['top_ten_all_mu_tables'] : array();
250
+ $top_ten_mu_tables_blog_ids = explode( ",", $_POST['top_ten_mu_tables_blog_ids'] );
251
+ $top_ten_mu_tables_sel_blog_ids = array_values( $top_ten_all_mu_tables );
252
+
253
+ if ( isset( $_POST['tptn_delete_selected_tables'] ) ) {
254
+ $top_ten_mu_tables_sel_blog_ids = array_intersect( $top_ten_mu_tables_sel_blog_ids, get_site_option( 'top_ten_mu_tables_sel_blog_ids', array() ) );
255
+ } else {
256
+ $top_ten_mu_tables_sel_blog_ids = get_site_option( 'top_ten_mu_tables_sel_blog_ids', array() );
257
+ }
258
+
259
+ if ( ! empty( $top_ten_mu_tables_sel_blog_ids ) ) {
260
+
261
+ $sql = "DROP TABLE ";
262
+ foreach( $top_ten_mu_tables_sel_blog_ids as $top_ten_mu_tables_sel_blog_id ) {
263
+ $sql .= $wpdb->base_prefix . $top_ten_mu_tables_sel_blog_id . "_top_ten, ";
264
+ $sql .= $wpdb->base_prefix . $top_ten_mu_tables_sel_blog_id . "_top_ten_daily, ";
265
+ }
266
+ $sql = substr( $sql, 0, -2 );
267
+
268
+ $wpdb->query( $sql );
269
+ $str = '<div id="message" class="updated fade"><p>'. __( 'Selected tables have been deleted. Note that only imported tables have been deleted.', TPTN_LOCAL_NAME ) .'</p></div>';
270
+ echo $str;
271
+ }
272
+ }
273
+
274
+ ?>
275
+
276
+ <div class="wrap">
277
+ <h2><?php _e( 'Top 10 Settings', TPTN_LOCAL_NAME ); ?></h2>
278
+
279
+ <ul class="subsubsub">
280
+ <?php
281
+ /**
282
+ * Fires before the navigation bar in the Settings page
283
+ *
284
+ * @since 2.0.0
285
+ */
286
+ do_action( 'tptn_admin_nav_bar_before' )
287
+ ?>
288
+
289
+ <li><a href="#genopdiv"><?php _e( 'General options', TPTN_LOCAL_NAME ); ?></a> | </li>
290
+ <li><a href="#counteropdiv"><?php _e( 'Counter and tracker options', TPTN_LOCAL_NAME ); ?></a> | </li>
291
+ <li><a href="#pplopdiv"><?php _e( 'Popular post list options', TPTN_LOCAL_NAME ); ?></a> | </li>
292
+ <li><a href="#thumbopdiv"><?php _e( 'Thumbnail options', TPTN_LOCAL_NAME ); ?></a> | </li>
293
+ <li><a href="#customcssdiv"><?php _e( 'Custom styles', TPTN_LOCAL_NAME ); ?></a> | </li>
294
+ <li><a href="#tptn_maintenance_op"><?php _e( 'Maintenance', TPTN_LOCAL_NAME ); ?></a></li>
295
+
296
+ <?php
297
+ /**
298
+ * Fires after the navigation bar in the Settings page
299
+ *
300
+ * @since 2.0.0
301
+ */
302
+ do_action( 'tptn_admin_nav_bar_after' )
303
+ ?>
304
+ </ul>
305
+
306
+ <div id="poststuff">
307
+ <div id="post-body" class="metabox-holder columns-2">
308
+ <div id="post-body-content">
309
+ <form method="post" id="tptn_options" name="tptn_options" onsubmit="return checkForm()">
310
+ <div id="genopdiv" class="postbox"><div class="handlediv" title="<?php _e( 'Click to toggle', TPTN_LOCAL_NAME ); ?>"><br /></div>
311
+ <h3 class='hndle'><span><?php _e( 'General options', TPTN_LOCAL_NAME ); ?></span></h3>
312
+ <div class="inside">
313
+ <table class="form-table">
314
+
315
+ <?php
316
+ /**
317
+ * Fires before General options block.
318
+ *
319
+ * @since 2.0.0
320
+ *
321
+ * @param array $tptn_settings Top 10 settings array
322
+ */
323
+ do_action( 'tptn_admin_general_options_before', $tptn_settings );
324
+ ?>
325
+
326
+ <tr>
327
+ <th scope="row"><label for="activate_overall"><?php _e( 'Enable Overall stats', TPTN_LOCAL_NAME ); ?></label></th>
328
+ <td>
329
+ <input type="checkbox" name="activate_overall" id="activate_overall" <?php if ( $tptn_settings['activate_overall'] ) echo 'checked="checked"' ?> />
330
+ </td>
331
+ </tr>
332
+ <tr>
333
+ <th scope="row"><label for="activate_daily"><?php _e( 'Enable Daily stats', TPTN_LOCAL_NAME ); ?></label></th>
334
+ <td>
335
+ <input type="checkbox" name="activate_daily" id="activate_daily" <?php if ( $tptn_settings['activate_daily'] ) echo 'checked="checked"' ?> />
336
+ </td>
337
+ </tr>
338
+ <tr>
339
+ <th scope="row"><label for="cache_fix"><?php _e( 'Cache fix:', TPTN_LOCAL_NAME ); ?></label></th>
340
+ <td>
341
+ <input type="checkbox" name="cache_fix" id="cache_fix" <?php if ( $tptn_settings['cache_fix'] ) echo 'checked="checked"' ?> />
342
+ <p class="description"><?php _e( 'This will try to prevent W3 Total Cache and other caching plugins from caching the tracker script of the plugin. Try toggling this option in case you find that your posts are not tracked.', TPTN_LOCAL_NAME ); ?></p>
343
+ </td>
344
+ </tr>
345
+ <tr>
346
+ <th scope="row"><label for="show_credit"><?php _e( 'Link to Top 10 plugin page', TPTN_LOCAL_NAME ); ?></label></th>
347
+ <td>
348
+ <input type="checkbox" name="show_credit" id="show_credit" <?php if ( $tptn_settings['show_credit'] ) echo 'checked="checked"' ?> />
349
+ <p class="description"><?php _e( 'A link to the plugin is added as an extra list item to the list of popular posts', TPTN_LOCAL_NAME ); ?></p>
350
+ </td>
351
+ </tr>
352
+ <tr>
353
+ <td scope="row" colspan="2">
354
+ <input type="submit" name="tptn_save" id="tptn_genop_save" value="<?php _e( 'Save Options', TPTN_LOCAL_NAME ); ?>" class="button button-primary" />
355
+ </td>
356
+ </tr>
357
+
358
+ <?php
359
+ /**
360
+ * Fires after General options block.
361
+ *
362
+ * @since 2.0.0
363
+ *
364
+ * @param array $tptn_settings Top 10 settings array
365
+ */
366
+ do_action( 'tptn_admin_general_options_after', $tptn_settings );
367
+ ?>
368
+
369
+ </table>
370
+ </div>
371
+ </div>
372
+ <div id="counteropdiv" class="postbox"><div class="handlediv" title="<?php _e( 'Click to toggle', TPTN_LOCAL_NAME ); ?>"><br /></div>
373
+ <h3 class='hndle'><span><?php _e( 'Counter and tracker options', TPTN_LOCAL_NAME ); ?></span></h3>
374
+ <div class="inside">
375
+ <table class="form-table">
376
+
377
+ <?php
378
+ /**
379
+ * Fires before Counter options block.
380
+ *
381
+ * @since 2.0.0
382
+ *
383
+ * @param array $tptn_settings Top 10 settings array
384
+ */
385
+ do_action( 'tptn_admin_counter_options_before', $tptn_settings );
386
+ ?>
387
+
388
+ <tr>
389
+ <th scope="row"><?php _e( 'Display number of views on:', TPTN_LOCAL_NAME ); ?></th>
390
+ <td>
391
+ <label><input type="checkbox" name="add_to_content" id="add_to_content" <?php if ( $tptn_settings['add_to_content'] ) echo 'checked="checked"' ?> /> <?php _e( 'Posts', TPTN_LOCAL_NAME ); ?></label><br />
392
+ <label><input type="checkbox" name="count_on_pages" id="count_on_pages" <?php if ( $tptn_settings['count_on_pages'] ) echo 'checked="checked"' ?> /> <?php _e( 'Pages', TPTN_LOCAL_NAME ); ?></label><br />
393
+ <label><input type="checkbox" name="add_to_home" id="add_to_home" <?php if ( $tptn_settings['add_to_home'] ) echo 'checked="checked"' ?> /> <?php _e( 'Home page', TPTN_LOCAL_NAME ); ?></label></label><br />
394
+ <label><input type="checkbox" name="add_to_feed" id="add_to_feed" <?php if ( $tptn_settings['add_to_feed'] ) echo 'checked="checked"' ?> /> <?php _e( 'Feeds', TPTN_LOCAL_NAME ); ?></label></label><br />
395
+ <label><input type="checkbox" name="add_to_category_archives" id="add_to_category_archives" <?php if ( $tptn_settings['add_to_category_archives'] ) echo 'checked="checked"' ?> /> <?php _e( 'Category archives', TPTN_LOCAL_NAME ); ?></label><br />
396
+ <label><input type="checkbox" name="add_to_tag_archives" id="add_to_tag_archives" <?php if ( $tptn_settings['add_to_tag_archives'] ) echo 'checked="checked"' ?> /> <?php _e( 'Tag archives', TPTN_LOCAL_NAME ); ?></label></label><br />
397
+ <label><input type="checkbox" name="add_to_archives" id="add_to_archives" <?php if ( $tptn_settings['add_to_archives'] ) echo 'checked="checked"' ?> /> <?php _e( 'Other archives', TPTN_LOCAL_NAME ); ?></label></label>
398
+ <p class="description"><?php _e( "If you choose to disable this, please add <code>&lt;?php if ( function_exists ( 'echo_tptn_post_count' ) ) echo_tptn_post_count(); ?&gt;</code> to your template file where you want it displayed", TPTN_LOCAL_NAME ); ?></p>
399
+ </td>
400
+ </tr>
401
+ <tr>
402
+ <th scope="row"><label for="title"><?php _e( 'Format to display the post views:', TPTN_LOCAL_NAME ); ?></label></th>
403
+ <td>
404
+ <textarea name="count_disp_form" id="count_disp_form" cols="50" rows="3" style="width:100%"><?php echo htmlspecialchars( stripslashes( $tptn_settings['count_disp_form'] ) ); ?></textarea>
405
+ <p class="description"><?php _e( 'Use <code>%totalcount%</code> to display the total count, <code>%dailycount%</code> to display the daily count and <code>%overallcount%</code> to display the overall count across all posts on the blog. e.g. the default options displays <code>[Visited 123 times, 23 visits today]</code>', TPTN_LOCAL_NAME ); ?>
406
+ </td>
407
+ </tr>
408
+ <tr>
409
+ <th scope="row"><label for="title"><?php _e( 'What do display when there are no visits?', TPTN_LOCAL_NAME ); ?></label></th>
410
+ <td>
411
+ <textarea name="count_disp_form_zero" id="count_disp_form_zero" cols="50" rows="3" style="width:100%"><?php echo htmlspecialchars( stripslashes( $tptn_settings['count_disp_form_zero'] ) ); ?></textarea>
412
+ <p class="description"><?php _e( "This text applies only when there are 0 hits for the post and it isn't a single page. e.g. if you display post views on the homepage or archives then this text will be used. To override this, just enter the same text as above option.", TPTN_LOCAL_NAME ); ?>
413
+ </td>
414
+ </tr>
415
+ <tr>
416
+ <th scope="row"><label for="dynamic_post_count"><?php _e( 'Always display latest post count', TPTN_LOCAL_NAME ); ?></label></th>
417
+ <td>
418
+ <input type="checkbox" name="dynamic_post_count" id="dynamic_post_count" <?php if ( $tptn_settings['dynamic_post_count'] ) echo 'checked="checked"' ?> />
419
+ <p class="description"><?php _e( 'This option uses JavaScript and will increase your page load time. Turn this off if you are not using caching plugins or are OK with displaying older cached counts.', TPTN_LOCAL_NAME ); ?></p>
420
+ </td>
421
+ </tr>
422
+ <tr>
423
+ <th scope="row"><label for="track_authors"><?php _e( 'Track visits of authors on their own posts?', TPTN_LOCAL_NAME ); ?></label></th>
424
+ <td>
425
+ <input type="checkbox" name="track_authors" id="track_authors" <?php if ( $tptn_settings['track_authors'] ) echo 'checked="checked"' ?> />
426
+ <p class="description"><?php _e( 'Disabling this option will stop authors visits tracked on their own posts', TPTN_LOCAL_NAME ); ?></p>
427
+ </td>
428
+ </tr>
429
+ <tr>
430
+ <th scope="row"><label for="track_admins"><?php _e( 'Track visits of admins?', TPTN_LOCAL_NAME ); ?></label></th>
431
+ <td>
432
+ <input type="checkbox" name="track_admins" id="track_admins" <?php if ( $tptn_settings['track_admins'] ) echo 'checked="checked"' ?> />
433
+ <p class="description"><?php _e( 'Disabling this option will stop admin visits being tracked.', TPTN_LOCAL_NAME ); ?></p>
434
+ </td>
435
+ </tr>
436
+ <tr>
437
+ <th scope="row"><label for="track_editors"><?php _e( 'Track visits of Editors?', TPTN_LOCAL_NAME ); ?></label></th>
438
+ <td>
439
+ <input type="checkbox" name="track_editors" id="track_editors" <?php if ( $tptn_settings['track_editors'] ) echo 'checked="checked"' ?> />
440
+ <p class="description"><?php _e( 'Disabling this option will stop editor visits being tracked.', TPTN_LOCAL_NAME ); ?></p>
441
+ </td>
442
+ </tr>
443
+ <tr>
444
+ <th scope="row"><label for="pv_in_admin"><?php _e( 'Display page views on Posts and Pages in Admin', TPTN_LOCAL_NAME ); ?></label></th>
445
+ <td>
446
+ <input type="checkbox" name="pv_in_admin" id="pv_in_admin" <?php if ( $tptn_settings['pv_in_admin'] ) echo 'checked="checked"' ?> />
447
+ <p class="description"><?php _e( "Adds three columns called Total Views, Today's Views and Views to All Posts and All Pages", TPTN_LOCAL_NAME ); ?></p>
448
+ </td>
449
+ </tr>
450
+ <tr>
451
+ <th scope="row"><label for="show_count_non_admins"><?php _e( 'Show number of views to non-admins', TPTN_LOCAL_NAME ); ?></label></th>
452
+ <td>
453
+ <input type="checkbox" name="show_count_non_admins" id="show_count_non_admins" <?php if ( $tptn_settings['show_count_non_admins'] ) echo 'checked="checked"' ?> />
454
+ <p class="description"><?php _e( "If you disable this then non-admins won't see the above columns or view the independent pages with the top posts", TPTN_LOCAL_NAME ); ?></p>
455
+ </td>
456
+ </tr>
457
+ <tr>
458
+ <td scope="row" colspan="2">
459
+ <input type="submit" name="tptn_save" id="tptn_counterop_save" value="<?php _e( 'Save Options', TPTN_LOCAL_NAME ); ?>" class="button button-primary" />
460
+ </td>
461
+ </tr>
462
+
463
+ <?php
464
+ /**
465
+ * Fires after Counter options block.
466
+ *
467
+ * @since 2.0.0
468
+ *
469
+ * @param array $tptn_settings Top 10 settings array
470
+ */
471
+ do_action( 'tptn_admin_counter_options_after', $tptn_settings );
472
+ ?>
473
+
474
+ </table>
475
+ </div>
476
+ </div>
477
+ <div id="pplopdiv" class="postbox"><div class="handlediv" title="<?php _e( 'Click to toggle', TPTN_LOCAL_NAME ); ?>"><br /></div>
478
+ <h3 class='hndle'><span><?php _e( 'Popular post list options', TPTN_LOCAL_NAME ); ?></span></h3>
479
+ <div class="inside">
480
+ <table class="form-table">
481
+
482
+ <?php
483
+ /**
484
+ * Fires before Popular post list options block.
485
+ *
486
+ * @since 2.0.0
487
+ *
488
+ * @param array $tptn_settings Top 10 settings array
489
+ */
490
+ do_action( 'tptn_admin_list_options_before', $tptn_settings );
491
+ ?>
492
+
493
+ <tr>
494
+ <th scope="row"><label for="limit"><?php _e( 'Number of popular posts to display: ', TPTN_LOCAL_NAME ); ?></label></th>
495
+ <td>
496
+ <input type="textbox" name="limit" id="limit" value="<?php echo esc_attr( stripslashes( $tptn_settings['limit'] ) ); ?>">
497
+ <p class="description"><?php _e( "Maximum number of posts that will be displayed in the list. This option is used if you don't specify the number of posts in the widget or shortcodes", TPTN_LOCAL_NAME ); ?></p>
498
+ </td>
499
+ </tr>
500
+ <tr>
501
+ <th scope="row"><label for="daily_range"><?php _e( 'Daily popular contains top posts over:', TPTN_LOCAL_NAME ); ?></label></th>
502
+ <td>
503
+ <input type="textbox" name="daily_range" id="daily_range" size="3" value="<?php echo stripslashes( $tptn_settings['daily_range'] ); ?>"> <?php _e( 'day(s)', TPTN_LOCAL_NAME ); ?>
504
+ <input type="textbox" name="hour_range" id="hour_range" size="3" value="<?php echo stripslashes( $tptn_settings['hour_range'] ); ?>"> <?php _e( 'hour(s)', TPTN_LOCAL_NAME ); ?>
505
+ <p class="description"><?php _e( "Think of Daily Popular has a custom date range applied as a global setting. Instead of displaying popular posts from the past day, this setting lets you display posts for as many days or as few hours as you want. This can be overridden in the widget.", TPTN_LOCAL_NAME ); ?></p>
506
+ </td>
507
+ </tr>
508
+ <tr>
509
+ <th scope="row"><?php _e( 'Post types to include in results (including custom post types)', TPTN_LOCAL_NAME ); ?></th>
510
+ <td>
511
+ <?php foreach ( $wp_post_types as $wp_post_type ) {
512
+ $post_type_op = '<input type="checkbox" name="post_types[]" value="'.$wp_post_type.'" ';
513
+ if ( in_array( $wp_post_type, $posts_types_inc ) ) $post_type_op .= ' checked="checked" ';
514
+ $post_type_op .= ' />'.$wp_post_type.'&nbsp;&nbsp;';
515
+ echo $post_type_op;
516
+ }
517
+ ?>
518
+ </td>
519
+ </tr>
520
+ <tr>
521
+ <th scope="row"><label for="exclude_post_ids"><?php _e( 'List of post or page IDs to exclude from the results: ', TPTN_LOCAL_NAME ); ?></label></th>
522
+ <td><input type="textbox" name="exclude_post_ids" id="exclude_post_ids" value="<?php echo esc_attr( stripslashes( $tptn_settings['exclude_post_ids'] ) ); ?>" style="width:250px">
523
+ <p class="description"><?php _e( 'Enter comma separated list of IDs. e.g. 188,320,500', TPTN_LOCAL_NAME ); ?></p>
524
+ </td>
525
+ </tr>
526
+ <tr>
527
+ <th scope="row"><label for="exclude_cat_slugs"><?php _e( 'Exclude Categories: ', TPTN_LOCAL_NAME ); ?></label></th>
528
+ <td>
529
+ <div style="position:relative;text-align:left">
530
+ <table id="MYCUSTOMFLOATER" class="myCustomFloater" style="position:absolute;top:50px;left:0;background-color:#cecece;display:none;visibility:hidden">
531
+ <tr><td><!--
532
+ please see: http://chrisholland.blogspot.com/2004/09/geekstuff-css-display-inline-block.html
533
+ to explain why i'm using a table here.
534
+ You could replace the table/tr/td with a DIV, but you'd have to specify it's width and height
535
+ -->
536
+ <div class="myCustomFloaterContent">
537
+ you should never be seeing this
538
+ </div>
539
+ </td></tr>
540
+ </table>
541
+ <textarea class="wickEnabled:MYCUSTOMFLOATER" cols="50" rows="3" wrap="virtual" name="exclude_cat_slugs" style="width:100%"><?php echo ( stripslashes( $tptn_settings['exclude_cat_slugs'] ) ); ?></textarea>
542
+ <p class="description"><?php _e( 'Comma separated list of category slugs. The field above has an autocomplete so simply start typing in the starting letters and it will prompt you with options', TPTN_LOCAL_NAME ); ?></p>
543
+ </div>
544
+ </td>
545
+ </tr>
546
+ <tr>
547
+ <th scope="row"><label for="title"><?php _e( 'Title of popular posts: ', TPTN_LOCAL_NAME ); ?></label></th>
548
+ <td>
549
+ <input type="textbox" name="title" id="title" value="<?php echo esc_attr( stripslashes( $tptn_settings['title'] ) ); ?>" style="width:250px" />
550
+ </td>
551
+ </tr>
552
+ <tr>
553
+ <th scope="row"><label for="title_daily"><?php _e( 'Title of daily popular posts: ', TPTN_LOCAL_NAME ); ?></label></th>
554
+ <td>
555
+ <input type="textbox" name="title_daily" id="title_daily" value="<?php echo esc_attr( stripslashes( $tptn_settings['title_daily'] ) ); ?>" style="width:250px" />
556
+ </td>
557
+ </tr>
558
+ <tr>
559
+ <th scope="row"><label for="blank_output"><?php _e( 'When there are no posts, what should be shown?', TPTN_LOCAL_NAME ); ?></label></th>
560
+ <td>
561
+ <label>
562
+ <input type="radio" name="blank_output" value="blank" id="blank_output_0" <?php if ( $tptn_settings['blank_output'] ) echo 'checked="checked"' ?> />
563
+ <?php _e( 'Blank Output', TPTN_LOCAL_NAME ); ?></label>
564
+ <br />
565
+ <label>
566
+ <input type="radio" name="blank_output" value="customs" id="blank_output_1" <?php if ( ! $tptn_settings['blank_output'] ) echo 'checked="checked"' ?> />
567
+ <?php _e( 'Display:', TPTN_LOCAL_NAME ); ?></label>
568
+ <input type="textbox" name="blank_output_text" id="blank_output_text" value="<?php echo esc_attr( stripslashes( $tptn_settings['blank_output_text'] ) ); ?>" style="width:250px" />
569
+ </td>
570
+ </tr>
571
+ <tr>
572
+ <th scope="row"><label for="show_excerpt"><?php _e( 'Show post excerpt in list?', TPTN_LOCAL_NAME ); ?></label></th>
573
+ <td>
574
+ <input type="checkbox" name="show_excerpt" id="show_excerpt" <?php if ( $tptn_settings['show_excerpt'] ) echo 'checked="checked"' ?> />
575
+ </td>
576
+ </tr>
577
+ <tr>
578
+ <th scope="row"><label for="excerpt_length"><?php _e( 'Length of excerpt (in words): ', TPTN_LOCAL_NAME ); ?></label></th>
579
+ <td>
580
+ <input type="textbox" name="excerpt_length" id="excerpt_length" value="<?php echo stripslashes( $tptn_settings['excerpt_length'] ); ?>" />
581
+ </td>
582
+ </tr>
583
+ <tr>
584
+ <th scope="row"><label for="show_author"><?php _e( 'Show post author in list?', TPTN_LOCAL_NAME ); ?></label></th>
585
+ <td>
586
+ <input type="checkbox" name="show_author" id="show_author" <?php if ( $tptn_settings['show_author'] ) echo 'checked="checked"' ?> />
587
+ </td>
588
+ </tr>
589
+ <tr>
590
+ <th scope="row"><label for="show_date"><?php _e( 'Show post date in list?', TPTN_LOCAL_NAME ); ?></label></th>
591
+ <td>
592
+ <input type="checkbox" name="show_date" id="show_date" <?php if ( $tptn_settings['show_date'] ) echo 'checked="checked"' ?> />
593
+ </td>
594
+ </tr>
595
+ <tr>
596
+ <th scope="row"><label for="title_length"><?php _e( 'Limit post title length (in characters)', TPTN_LOCAL_NAME ); ?></label></th>
597
+ <td>
598
+ <input type="textbox" name="title_length" id="title_length" value="<?php echo stripslashes( $tptn_settings['title_length'] ); ?>" />
599
+ </td>
600
+ </tr>
601
+ <tr>
602
+ <th scope="row"><label for="disp_list_count"><?php _e( 'Show view count in list?', TPTN_LOCAL_NAME ); ?></label></th>
603
+ <td>
604
+ <input type="checkbox" name="disp_list_count" id="disp_list_count" <?php if ( $tptn_settings['disp_list_count'] ) echo 'checked="checked"' ?> />
605
+ </td>
606
+ </tr>
607
+ <tr>
608
+ <th scope="row"><label for="d_use_js"><?php _e( 'Always display latest post count in the daily lists?', TPTN_LOCAL_NAME ); ?></label></th>
609
+ <td>
610
+ <input type="checkbox" name="d_use_js" id="d_use_js" <?php if ( $tptn_settings['d_use_js'] ) echo 'checked="checked"' ?> />
611
+ <p class="description"><?php _e( 'This option uses JavaScript and will increase your page load time. When you enable this option, the daily widget will not use the options set there, but options will need to be set on this screen.', TPTN_LOCAL_NAME ); ?></p>
612
+ </td>
613
+ </tr>
614
+ <tr>
615
+ <th scope="row"><label for="link_new_window "><?php _e( 'Open links in new window', TPTN_LOCAL_NAME ); ?></label></th>
616
+ <td>
617
+ <input type="checkbox" name="link_new_window" id="link_new_window" <?php if ( $tptn_settings['link_new_window'] ) echo 'checked="checked"' ?> />
618
+ </td>
619
+ </tr>
620
+ <tr>
621
+ <th scope="row"><label for="link_nofollow"><?php _e( 'Add nofollow attribute to links in the list', TPTN_LOCAL_NAME ); ?></label></th>
622
+ <td>
623
+ <input type="checkbox" name="link_nofollow" id="link_nofollow" <?php if ( $tptn_settings['link_nofollow'] ) echo 'checked="checked"' ?> />
624
+ </td>
625
+ </tr>
626
+ <tr>
627
+ <th scope="row"><label for="exclude_on_post_ids"><?php _e( 'Exclude display of related posts on these posts / pages', TPTN_LOCAL_NAME ); ?></label></th>
628
+ <td>
629
+ <input type="textbox" name="exclude_on_post_ids" id="exclude_on_post_ids" value="<?php echo esc_attr( stripslashes( $tptn_settings['exclude_on_post_ids'] ) ); ?>" style="width:250px">
630
+ <p class="description"><?php _e( 'Enter comma separated list of IDs. e.g. 188,320,500', TPTN_LOCAL_NAME ); ?></p>
631
+ </td>
632
+ </tr>
633
+
634
+ <tr style="background: #eee"><th scope="row" colspan="2"><?php _e( 'Customise the list HTML', TPTN_LOCAL_NAME ); ?></th>
635
+ </tr>
636
+ <tr>
637
+ <th scope="row"><label for="before_list"><?php _e( 'HTML to display before the list of posts: ', TPTN_LOCAL_NAME ); ?></label></th>
638
+ <td>
639
+ <input type="textbox" name="before_list" id="before_list" value="<?php echo esc_attr( stripslashes( $tptn_settings['before_list'] ) ); ?>" style="width:250px" />
640
+ </td>
641
+ </tr>
642
+ <tr>
643
+ <th scope="row"><label for="before_list_item"><?php _e( 'HTML to display before each list item: ', TPTN_LOCAL_NAME ); ?></label></th>
644
+ <td>
645
+ <input type="textbox" name="before_list_item" id="before_list_item" value="<?php echo esc_attr( stripslashes( $tptn_settings['before_list_item'] ) ); ?>" style="width:250px" />
646
+ </td>
647
+ </tr>
648
+ <tr>
649
+ <th scope="row"><label for="after_list_item"><?php _e( 'HTML to display after each list item: ', TPTN_LOCAL_NAME ); ?></label></th>
650
+ <td>
651
+ <input type="textbox" name="after_list_item" id="after_list_item" value="<?php echo esc_attr( stripslashes( $tptn_settings['after_list_item'] ) ); ?>" style="width:250px" />
652
+ </td>
653
+ </tr>
654
+ <tr>
655
+ <th scope="row"><label for="after_list"><?php _e( 'HTML to display after the list of posts: ', TPTN_LOCAL_NAME ); ?></label></th>
656
+ <td>
657
+ <input type="textbox" name="after_list" id="after_list" value="<?php echo esc_attr( stripslashes( $tptn_settings['after_list'] ) ); ?>" style="width:250px" />
658
+ </td>
659
+ </tr>
660
+ <tr>
661
+ <td scope="row" colspan="2">
662
+ <input type="submit" name="tptn_save" id="tptn_pplop_save" value="<?php _e( 'Save Options', TPTN_LOCAL_NAME ); ?>" class="button button-primary" />
663
+ </td>
664
+ </tr>
665
+
666
+ <?php
667
+ /**
668
+ * Fires after Popular post list options block.
669
+ *
670
+ * @since 2.0.0
671
+ *
672
+ * @param array $tptn_settings Top 10 settings array
673
+ */
674
+ do_action( 'tptn_admin_list_options_after', $tptn_settings );
675
+ ?>
676
+
677
+ </table>
678
+ </div>
679
+ </div>
680
+ <div id="thumbopdiv" class="postbox"><div class="handlediv" title="<?php _e( 'Click to toggle', TPTN_LOCAL_NAME ); ?>"><br /></div>
681
+ <h3 class='hndle'><span><?php _e( 'Thumbnail options', TPTN_LOCAL_NAME ); ?></span></h3>
682
+ <div class="inside">
683
+ <table class="form-table">
684
+
685
+ <?php
686
+ /**
687
+ * Fires before thumbnail options block.
688
+ *
689
+ * @since 2.0.0
690
+ *
691
+ * @param array $tptn_settings Top 10 settings array
692
+ */
693
+ do_action( 'tptn_admin_thumbnail_options_before', $tptn_settings );
694
+ ?>
695
+
696
+ <tr><th scope="row"><label for="post_thumb_op"><?php _e( 'Location of post thumbnail:', TPTN_LOCAL_NAME ); ?></label></th>
697
+ <td>
698
+ <label>
699
+ <input type="radio" name="post_thumb_op" value="inline" id="post_thumb_op_0" <?php if ( 'inline' == $tptn_settings['post_thumb_op'] ) echo 'checked="checked"' ?> />
700
+ <?php _e( 'Display thumbnails inline with posts, before title', TPTN_LOCAL_NAME ); ?>
701
+ </label>
702
+ <br />
703
+ <label>
704
+ <input type="radio" name="post_thumb_op" value="after" id="post_thumb_op_1" <?php if ( 'after' == $tptn_settings['post_thumb_op'] ) echo 'checked="checked"' ?> />
705
+ <?php _e( 'Display thumbnails inline with posts, after title', TPTN_LOCAL_NAME ); ?>
706
+ </label>
707
+ <br />
708
+ <label>
709
+ <input type="radio" name="post_thumb_op" value="thumbs_only" id="post_thumb_op_2" <?php if ( 'thumbs_only' == $tptn_settings['post_thumb_op'] ) echo 'checked="checked"' ?> />
710
+ <?php _e( 'Display only thumbnails, no text', TPTN_LOCAL_NAME ); ?>
711
+ </label>
712
+ <br />
713
+ <label>
714
+ <input type="radio" name="post_thumb_op" value="text_only" id="post_thumb_op_3" <?php if ( 'text_only' == $tptn_settings['post_thumb_op'] ) echo 'checked="checked"' ?> />
715
+ <?php _e( 'Do not display thumbnails, only text.', TPTN_LOCAL_NAME ); ?>
716
+ </label>
717
+ </td>
718
+ </tr>
719
+ <tr><th scope="row"><?php _e( 'Thumbnail size:', TPTN_LOCAL_NAME ); ?></th>
720
+ <td>
721
+ <?php
722
+ $tptn_get_all_image_sizes = tptn_get_all_image_sizes();
723
+ if ( isset( $tptn_get_all_image_sizes['tptn_thumbnail'] ) ) {
724
+ unset( $tptn_get_all_image_sizes['tptn_thumbnail'] );
725
+ }
726
+
727
+ foreach( $tptn_get_all_image_sizes as $size ) :
728
+ ?>
729
+ <label>
730
+ <input type="radio" name="thumb_size" value="<?php echo $size['name'] ?>" id="<?php echo $size['name'] ?>" <?php if ( $tptn_settings['thumb_size'] == $size['name'] ) echo 'checked="checked"' ?> />
731
+ <?php echo $size['name']; ?> ( <?php echo $size['width']; ?>x<?php echo $size['height']; ?>
732
+ <?php
733
+ if ( $size['crop'] ) {
734
+ echo "cropped";
735
+ }
736
+ ?>
737
+ )
738
+ </label>
739
+ <br />
740
+ <?php endforeach; ?>
741
+
742
+ <label>
743
+ <input type="radio" name="thumb_size" value="tptn_thumbnail" id="tptn_thumbnail" <?php if ( $tptn_settings['thumb_size'] == 'tptn_thumbnail' ) echo 'checked="checked"' ?> /> <?php _e( 'Custom size', TPTN_LOCAL_NAME ); ?>
744
+ </label>
745
+ <p class="description">
746
+ <?php _e( 'You can choose from existing image sizes above or create a custom size. If you have chosen Custom size above, then enter the width, height and crop settings below. For best results, use a cropped image.', TPTN_LOCAL_NAME ); ?><br />
747
+ <?php _e( "If you change the width and/or height below, existing images will not be automatically resized.", TPTN_LOCAL_NAME ); ?>
748
+ <?php printf( __( "I recommend using <a href='%s' target='_blank'>Force Regenerate Thumbnails</a> or <a href='%s' target='_blank'>Force Regenerate Thumbnails</a> to regenerate all image sizes.", TPTN_LOCAL_NAME ), 'https://wordpress.org/plugins/force-regenerate-thumbnails/', 'https://wordpress.org/plugins/regenerate-thumbnails/' ); ?>
749
+ </p>
750
+ </td>
751
+ <tr><th scope="row"><label for="thumb_width"><?php _e( 'Width of custom thumbnail:', TPTN_LOCAL_NAME ); ?></label></th>
752
+ <td>
753
+ <input type="textbox" name="thumb_width" id="thumb_width" value="<?php echo esc_attr( stripslashes( $tptn_settings['thumb_width'] ) ); ?>" style="width:50px" />px
754
+ </td>
755
+ </tr>
756
+ <tr><th scope="row"><label for="thumb_height"><?php _e( 'Height of custom thumbnail', TPTN_LOCAL_NAME ); ?></label></th>
757
+ <td>
758
+ <input type="textbox" name="thumb_height" id="thumb_height" value="<?php echo esc_attr( stripslashes( $tptn_settings['thumb_height'] ) ); ?>" style="width:50px" />px
759
+ </td>
760
+ </tr>
761
+ <tr><th scope="row"><label for="thumb_crop"><?php _e( 'Crop mode:', TPTN_LOCAL_NAME ); ?></label></th>
762
+ <td>
763
+ <input type="checkbox" name="thumb_crop" id="thumb_crop" <?php if ( $tptn_settings['thumb_crop'] ) echo 'checked="checked"' ?> />
764
+ <p class="description">
765
+ <?php _e( "By default, thumbnails will be proportionately cropped. Check this box to hard crop the thumbnails.", TPTN_LOCAL_NAME ); ?>
766
+ <?php printf( __( "<a href='%s' target='_blank'>Difference between soft and hard crop</a>", TPTN_LOCAL_NAME ), esc_url( 'http://www.davidtan.org/wordpress-hard-crop-vs-soft-crop-difference-comparison-example/' ) ); ?>
767
+ <?php if ( $tptn_settings['include_default_style'] ) { ?>
768
+ <p class="description"><?php _e( "Since you're using the default styles set under the Custom Styles section, the width and height is fixed at 65px and crop mode is enabled.", TPTN_LOCAL_NAME ); ?></p>
769
+ <?php } ?>
770
+ </p>
771
+ </td>
772
+ </tr>
773
+ <tr><th scope="row"><label for="thumb_html"><?php _e( 'Style attributes / Width and Height HTML attributes:', TPTN_LOCAL_NAME ); ?></label></th>
774
+ <td>
775
+ <label>
776
+ <input type="radio" name="thumb_html" value="css" id="thumb_html_0" <?php if ( 'css' == $tptn_settings['thumb_html'] ) echo 'checked="checked"' ?> />
777
+ <?php _e( 'Style attributes are used for width and height.', TPTN_LOCAL_NAME ); ?> <br /><code>style="max-width:<?php echo $tptn_settings['thumb_width'] ?>px;max-height:<?php echo $tptn_settings['thumb_height'] ?>px;"</code>
778
+ </label>
779
+ <br />
780
+ <label>
781
+ <input type="radio" name="thumb_html" value="html" id="thumb_html_1" <?php if ( 'html' == $tptn_settings['thumb_html'] ) echo 'checked="checked"' ?> />
782
+ <?php _e( 'HTML width and height attributes are used for width and height.', TPTN_LOCAL_NAME ); ?> <br /><code>width="<?php echo $tptn_settings['thumb_width'] ?>" height="<?php echo $tptn_settings['thumb_height'] ?>"</code>
783
+ </label>
784
+ </td>
785
+ </tr>
786
+ <tr><th scope="row"><label for="thumb_timthumb"><?php _e( 'Use timthumb to generate thumbnails? ', TPTN_LOCAL_NAME ); ?></label></th>
787
+ <td>
788
+ <input type="checkbox" name="thumb_timthumb" id="thumb_timthumb" <?php if ( $tptn_settings['thumb_timthumb'] ) echo 'checked="checked"' ?> />
789
+ <p class="description"><?php _e( 'If checked, <a href="http://www.binarymoon.co.uk/projects/timthumb/" target="_blank">timthumb</a> will be used to generate thumbnails', TPTN_LOCAL_NAME ); ?></p>
790
+ </td>
791
+ </tr>
792
+ <tr><th scope="row"><label for="thumb_timthumb_q"><?php _e( 'Quality of thumbnails generated by timthumb:', TPTN_LOCAL_NAME ); ?></label></th>
793
+ <td>
794
+ <input type="textbox" name="thumb_timthumb_q" id="thumb_timthumb_q" value="<?php echo esc_attr( stripslashes( $tptn_settings['thumb_timthumb_q'] ) ); ?>" style="width:50px" />
795
+ <p class="description"><?php _e( 'Enter values between 0 and 100 only. 100 is highest quality and the highest file size. Suggested maximum value is 95. Default is 75.', TPTN_LOCAL_NAME ); ?></p>
796
+ </td>
797
+ </tr>
798
+ <tr><th scope="row"><label for="thumb_meta"><?php _e( 'Post thumbnail meta field name: ', TPTN_LOCAL_NAME ); ?></label></th>
799
+ <td>
800
+ <input type="textbox" name="thumb_meta" id="thumb_meta" value="<?php echo esc_attr( stripslashes( $tptn_settings['thumb_meta'] ) ); ?>">
801
+ <p class="description"><?php _e( 'The value of this field should contain the image source and is set in the <em>Add New Post</em> screen', TPTN_LOCAL_NAME ); ?></p>
802
+ </td>
803
+ </tr>
804
+ <tr><th scope="row"><label for="scan_images"><?php _e( 'If the postmeta is not set, then should the plugin extract the first image from the post?', TPTN_LOCAL_NAME ); ?></label></th>
805
+ <td>
806
+ <input type="checkbox" name="scan_images" id="scan_images" <?php if ( $tptn_settings['scan_images'] ) echo 'checked="checked"' ?> />
807
+ <p class="description"><?php _e( 'This could slow down the loading of your page if the first image in the related posts is large in file-size', TPTN_LOCAL_NAME ); ?></p>
808
+ </td>
809
+ </tr>
810
+ <tr><th scope="row"><label for="thumb_default_show"><?php _e( 'Use default thumbnail? ', TPTN_LOCAL_NAME ); ?></label></th>
811
+ <td>
812
+ <input type="checkbox" name="thumb_default_show" id="thumb_default_show" <?php if ( $tptn_settings['thumb_default_show'] ) echo 'checked="checked"' ?> />
813
+ <p class="description"><?php _e( 'If checked, when no thumbnail is found, show a default one from the URL below. If not checked and no thumbnail is found, no image will be shown.', TPTN_LOCAL_NAME ); ?></p>
814
+ </td>
815
+ </tr>
816
+ <tr><th scope="row"><label for="thumb_default"><?php _e( 'Default thumbnail: ', TPTN_LOCAL_NAME ); ?></label></th>
817
+ <td>
818
+ <input type="textbox" name="thumb_default" id="thumb_default" value="<?php echo esc_attr( stripslashes( $tptn_settings['thumb_default'] ) ); ?>" style="width:100%"> <br />
819
+ <?php if ( '' != $tptn_settings['thumb_default'] ) echo "<img src='{$tptn_settings['thumb_default']}' style='max-width:200px' />"; ?>
820
+ <p class="description"><?php _e( "The plugin will first check if the post contains a thumbnail. If it doesn't then it will check the meta field. If this is not available, then it will show the default image as specified above", TPTN_LOCAL_NAME ); ?></p>
821
+ </td>
822
+ </tr>
823
+ <tr>
824
+ <td scope="row" colspan="2">
825
+ <input type="submit" name="tptn_save" id="tptn_thumbop_save" value="<?php _e( 'Save Options', TPTN_LOCAL_NAME ); ?>" class="button button-primary" />
826
+ </td>
827
+ </tr>
828
+
829
+ <?php
830
+ /**
831
+ * Fires after thumbnail options block.
832
+ *
833
+ * @since 2.0.0
834
+ *
835
+ * @param array $tptn_settings Top 10 settings array
836
+ */
837
+ do_action( 'tptn_admin_thumbnail_options_after', $tptn_settings );
838
+ ?>
839
+
840
+ </table>
841
+ </div>
842
+ </div>
843
+ <div id="customcssdiv" class="postbox"><div class="handlediv" title="<?php _e( 'Click to toggle', TPTN_LOCAL_NAME ); ?>"><br /></div>
844
+ <h3 class='hndle'><span><?php _e( 'Custom CSS', TPTN_LOCAL_NAME ); ?></span></h3>
845
+ <div class="inside">
846
+ <table class="form-table">
847
+
848
+ <?php
849
+ /**
850
+ * Fires before custom styles options block.
851
+ *
852
+ * @since 2.0.0
853
+ *
854
+ * @param array $tptn_settings Top 10 settings array
855
+ */
856
+ do_action( 'tptn_admin_custom_styles_before', $tptn_settings );
857
+ ?>
858
+
859
+ <tr><th scope="row"><label for="include_default_style"><?php _e( 'Use default style included in the plugin?', TPTN_LOCAL_NAME ); ?></label></th>
860
+ <td>
861
+ <input type="checkbox" name="include_default_style" id="include_default_style" <?php if ( $tptn_settings['include_default_style'] ) echo 'checked="checked"' ?> />
862
+ <p class="description"><?php _e( 'Top 10 includes a default style that makes your popular posts list to look beautiful. Check the box above if you want to use this.', TPTN_LOCAL_NAME ); ?></p>
863
+ <p class="description"><?php _e( 'Enabling this option will turn on the thumbnails and set their width and height to 65px. It will also turn off the display of the author, excerpt and date if already enabled. Disabling this option will not revert any settings.', TPTN_LOCAL_NAME ); ?></p>
864
+ <p class="description"><?php printf( __( 'You can view the default style at <a href="%1$s" target="_blank">%1$s</a>', TPTN_LOCAL_NAME ), esc_url( 'https://github.com/ajaydsouza/top-10/blob/master/css/default-style.css' ) ); ?></p>
865
+ </td>
866
+ </tr>
867
+ <tr><th scope="row" colspan="2"><?php _e( 'Custom CSS to add to header:', TPTN_LOCAL_NAME ); ?></th>
868
+ </tr>
869
+ <tr>
870
+ <td scope="row" colspan="2">
871
+ <textarea name="custom_CSS" id="custom_CSS" rows="15" cols="80" style="width:100%"><?php echo stripslashes( $tptn_settings['custom_CSS'] ); ?></textarea>
872
+ <p class="description"><?php _e( 'Do not include <code>style</code> tags. Check out the <a href="http://wordpress.org/extend/plugins/top-10/faq/" target="_blank">FAQ</a> for available CSS classes to style.', TPTN_LOCAL_NAME ); ?></p>
873
+ </td>
874
+ </tr>
875
+
876
+ <?php
877
+ /**
878
+ * Fires after custom styles options block.
879
+ *
880
+ * @since 2.0.0
881
+ *
882
+ * @param array $tptn_settings Top 10 settings array
883
+ */
884
+ do_action( 'tptn_admin_custom_styles_after', $tptn_settings );
885
+ ?>
886
+
887
+ </table>
888
+ </div>
889
+ </div>
890
+ <p>
891
+ <input type="submit" name="tptn_save" id="tptn_save" value="<?php _e( 'Save Options', TPTN_LOCAL_NAME ); ?>" class="button button-primary" />
892
+ <input type="submit" name="tptn_default" id="tptn_default" value="<?php _e( 'Default Options', TPTN_LOCAL_NAME ); ?>" class="button button-secondary" onclick="if (!confirm('<?php _e( "Do you want to set options to Default?", TPTN_LOCAL_NAME ); ?>')) return false;" />
893
+ </p>
894
+ <?php wp_nonce_field( 'tptn-plugin-settings' ); ?>
895
+ </form>
896
+
897
+ <?php
898
+ /**
899
+ * Fires after all option blocks.
900
+ *
901
+ * @since 2.0.0
902
+ *
903
+ * @param array $tptn_settings Top 10 settings array
904
+ */
905
+ do_action( 'tptn_admin_options_after', $tptn_settings );
906
+ ?>
907
+
908
+ <hr class="clear" />
909
+
910
+ <form method="post" id="tptn_maintenance_op" name="tptn_reset_options" onsubmit="return checkForm()">
911
+ <div id="resetopdiv" class="postbox"><div class="handlediv" title="<?php _e( 'Click to toggle', TPTN_LOCAL_NAME ); ?>"><br /></div>
912
+ <h3 class='hndle'><span><?php _e( 'Maintenance', TPTN_LOCAL_NAME ); ?></span></h3>
913
+ <div class="inside">
914
+ <table class="form-table">
915
+ <tr><td scope="row" colspan="2">
916
+ <p class="description"><?php _e( 'Over time the Daily Top 10 database grows in size, which reduces the performance of the plugin. Cleaning the database at regular intervals could improve performance, especially on high traffic blogs. Enabling maintenance will automatically delete entries older than 90 days.', TPTN_LOCAL_NAME ); ?><br />
917
+ <strong><?php _e( 'Note: When scheduled maintenance is enabled, WordPress will run the cron job everytime the job is rescheduled (i.e. you change the settings below).', TPTN_LOCAL_NAME ); ?></strong>
918
+ </td>
919
+ </tr>
920
+ <tr><th scope="row"><label for="cron_on"><?php _e( 'Enable scheduled maintenance of daily tables:', TPTN_LOCAL_NAME ); ?></label></th>
921
+ <td><input type="checkbox" name="cron_on" id="cron_on" <?php if ( $tptn_settings['cron_on'] ) echo 'checked="checked"' ?> />
922
+ </td>
923
+ </tr>
924
+ <tr><th scope="row"><label for="cron_hour"><?php _e( 'Time to run maintenance', TPTN_LOCAL_NAME ); ?></label></th>
925
+ <td><input type="textbox" name="cron_hour" id="cron_hour" value="<?php echo esc_attr(stripslashes($tptn_settings['cron_hour'])); ?>" style="width:50px" /> <?php _e( 'hrs', TPTN_LOCAL_NAME ); ?> : <input type="textbox" name="cron_min" id="cron_min" value="<?php echo esc_attr(stripslashes($tptn_settings['cron_min'])); ?>" style="width:50px" /> <?php _e( 'min', TPTN_LOCAL_NAME ); ?></td>
926
+ </tr>
927
+ <tr><th scope="row"><label for="cron_recurrence"><?php _e( 'How often should the maintenance be run:', TPTN_LOCAL_NAME ); ?></label></th>
928
+ <td>
929
+ <label>
930
+ <input type="radio" name="cron_recurrence" value="daily" id="cron_recurrence0" <?php if ( 'daily' == $tptn_settings['cron_recurrence'] ) echo 'checked="checked"' ?> />
931
+ <?php _e( 'Daily', TPTN_LOCAL_NAME ); ?></label>
932
+ <br />
933
+ <label>
934
+ <input type="radio" name="cron_recurrence" value="weekly" id="cron_recurrence1" <?php if ( 'weekly' == $tptn_settings['cron_recurrence'] ) echo 'checked="checked"' ?> />
935
+ <?php _e( 'Weekly', TPTN_LOCAL_NAME ); ?></label>
936
+ <br />
937
+ <label>
938
+ <input type="radio" name="cron_recurrence" value="fortnightly" id="cron_recurrence2" <?php if ( 'fortnightly' == $tptn_settings['cron_recurrence'] ) echo 'checked="checked"' ?> />
939
+ <?php _e( 'Fortnightly', TPTN_LOCAL_NAME ); ?></label>
940
+ <br />
941
+ <label>
942
+ <input type="radio" name="cron_recurrence" value="monthly" id="cron_recurrence3" <?php if ( 'monthly' == $tptn_settings['cron_recurrence'] ) echo 'checked="checked"' ?> />
943
+ <?php _e( 'Monthly', TPTN_LOCAL_NAME ); ?></label>
944
+ <br />
945
+ </td>
946
+ </tr>
947
+ <tr><td scope="row" colspan="2">
948
+ <?php
949
+ if ( ( $tptn_settings['cron_on'] ) || wp_next_scheduled( 'ald_tptn_hook' ) ) {
950
+ if ( wp_next_scheduled( 'ald_tptn_hook' ) ) {
951
+ echo '<span style="color:#0c0">';
952
+ _e( 'The cron job has been scheduled. Maintenance will run ', TPTN_LOCAL_NAME );
953
+ echo wp_get_schedule( 'ald_tptn_hook' );
954
+ echo '</span>';
955
+ } else {
956
+ echo '<span style="color:#e00">';
957
+ _e( 'The cron job is missing. Please resave this page to add the job', TPTN_LOCAL_NAME );
958
+ echo '</span>';
959
+ }
960
+ } else {
961
+ echo '<span style="color:#FFA500">';
962
+ _e( 'Maintenance is turned off', TPTN_LOCAL_NAME );
963
+ echo '</span>';
964
+ }
965
+ ?>
966
+ </td></tr>
967
+ </table>
968
+ <input type="submit" name="tptn_mnts_save" id="tptn_mnts_save" value="<?php _e( 'Save Options', TPTN_LOCAL_NAME ); ?>" class="button button-primary" />
969
+ </div>
970
+ </div>
971
+ <?php wp_nonce_field( 'tptn-plugin-settings' ); ?>
972
+ </form>
973
+
974
+ <form method="post" id="tptn_reset_options" name="tptn_reset_options" onsubmit="return checkForm()">
975
+ <div id="resetopdiv" class="postbox"><div class="handlediv" title="<?php _e( 'Click to toggle', TPTN_LOCAL_NAME ); ?>"><br /></div>
976
+ <h3 class='hndle'><span><?php _e( 'Reset count', TPTN_LOCAL_NAME ); ?></span></h3>
977
+ <div class="inside">
978
+ <p class="description">
979
+ <?php _e( 'This cannot be reversed. Make sure that your database has been backed up before proceeding', TPTN_LOCAL_NAME ); ?>
980
+ </p>
981
+ <p>
982
+ <input name="tptn_trunc_all" type="submit" id="tptn_trunc_all" value="<?php _e( 'Reset Popular Posts', TPTN_LOCAL_NAME ); ?>" class="button button-secondary" style="color:#f00" onclick="if (!confirm('<?php _e( "Are you sure you want to reset the popular posts?", TPTN_LOCAL_NAME ); ?>')) return false;" />
983
+ <input name="tptn_trunc_daily" type="submit" id="tptn_trunc_daily" value="<?php _e( 'Reset Daily Popular Posts', TPTN_LOCAL_NAME ); ?>" class="button button-secondary" style="color:#f00" onclick="if (!confirm('<?php _e( "Are you sure you want to reset the daily popular posts?", TPTN_LOCAL_NAME ); ?>')) return false;" />
984
+ <input name="tptn_clean_duplicates" type="submit" id="tptn_clean_duplicates" value="<?php _e( 'Clear duplicates', TPTN_LOCAL_NAME ); ?>" class="button button-secondary" onclick="if (!confirm('<?php _e( "This will delete the duplicate entries in the tables. Proceed?", TPTN_LOCAL_NAME ); ?>')) return false;" />
985
+ </p>
986
+ </div>
987
+ </div>
988
+ <?php wp_nonce_field( 'tptn-plugin-settings' ); ?>
989
+ </form>
990
+
991
+ <?php
992
+ if ( is_multisite() ) {
993
+ ?>
994
+
995
+ <form method="post" id="tptn_import_mu" name="tptn_import_mu" onsubmit="return checkForm()">
996
+ <div id="resetopdiv" class="postbox"><div class="handlediv" title="<?php _e( 'Click to toggle', TPTN_LOCAL_NAME ); ?>"><br /></div>
997
+ <h3 class='hndle'><span><?php _e( 'WordPress Multisite: Migrate Top 10 v1.x counts to 2.x', TPTN_LOCAL_NAME ); ?></span></h3>
998
+ <div class="inside">
999
+ <p class="description">
1000
+ <?php _e( "If you've been using Top 10 v1.x on multisite, you would have needed to activate the plugin independently for each site. This would have resulted in two tables being created for each site in the network.", TPTN_LOCAL_NAME ); ?>
1001
+ <?php _e( "Top 10 v2.x onwards uses only a single table to record the count, keeping your database clean. You can use this tool to import the recorded counts from v1.x tables to the new v2.x table format.", TPTN_LOCAL_NAME ); ?>
1002
+ </p>
1003
+ <p class="description">
1004
+ <?php _e( "If you do not see any tables below, then it means that either all data has already been imported or no relevant information has been found.", TPTN_LOCAL_NAME ); ?>
1005
+ </p>
1006
+ <p class="description">
1007
+ <strong style="color:#C00"><?php _e( "After running the importer, please verify that all the counts have been successfully imported. Only then should you delete any old tables!", TPTN_LOCAL_NAME ); ?></strong>
1008
+ </p>
1009
+
1010
+ <?php
1011
+ $top_ten_mu_tables_sel_blog_ids = get_site_option( 'top_ten_mu_tables_sel_blog_ids', array() );
1012
+ $top_ten_mu_tables_blog_ids = array();
1013
+ $top_ten_all_mu_tables = array();
1014
+
1015
+ // Get all blogs in the network and activate plugin on each one
1016
+ $blog_ids = $wpdb->get_col( "
1017
+ SELECT blog_id FROM $wpdb->blogs
1018
+ WHERE archived = '0' AND spam = '0' AND deleted = '0'
1019
+ " );
1020
+ foreach ( $blog_ids as $blog_id ) {
1021
+ switch_to_blog( $blog_id );
1022
+ $top_ten_mu_table = $wpdb->get_var( "SHOW TABLES LIKE '" . $wpdb->prefix . "top_ten' " );
1023
+
1024
+ if ( ! empty( $top_ten_mu_table ) && ! is_main_site( $blog_id ) ) {
1025
+ $top_ten_mu_tables_blog_ids[] = $blog_id;
1026
+ $top_ten_all_mu_tables[ $top_ten_mu_table ][0] = $top_ten_mu_table;
1027
+ $top_ten_all_mu_tables[ $top_ten_mu_table ][1] = in_array( $blog_id, $top_ten_mu_tables_sel_blog_ids ) ? 1 : 0;
1028
+ $top_ten_all_mu_tables[ $top_ten_mu_table ][2] = $blog_id;
1029
+ }
1030
+ }
1031
+
1032
+ // Switch back to the current blog
1033
+ restore_current_blog();
1034
+
1035
+ if ( ! empty( $top_ten_all_mu_tables ) ) {
1036
+ ?>
1037
+
1038
+ <table class="form-table">
1039
+ <tr>
1040
+ <th>
1041
+ <?php _e( "Blog ID", TPTN_LOCAL_NAME ); ?>
1042
+ </th>
1043
+ <th>
1044
+ <?php _e( "Status", TPTN_LOCAL_NAME ); ?>
1045
+ </th>
1046
+ <th>
1047
+ <?php _e( "Select to import", TPTN_LOCAL_NAME ); ?>
1048
+ </th>
1049
+ </tr>
1050
+
1051
+ <?php
1052
+ foreach ( $top_ten_all_mu_tables as $top_ten_all_mu_table ) {
1053
+ ?>
1054
+ <tr>
1055
+ <td>
1056
+ <?php
1057
+ _e( "Blog #", TPTN_LOCAL_NAME );
1058
+ echo $top_ten_all_mu_table[2];
1059
+ echo ": ";
1060
+ echo get_blog_details( $top_ten_all_mu_table[2] )->blogname;
1061
+ ?>
1062
+ </td>
1063
+ <td>
1064
+ <?php
1065
+ if ( 0 == $top_ten_all_mu_table[1] ) {
1066
+ echo '<span style="color:#F00">';
1067
+ _e( "Not imported", TPTN_LOCAL_NAME );
1068
+ echo '</span>';
1069
+ } else {
1070
+ echo '<span style="color:#0F0">';
1071
+ _e( "Imported", TPTN_LOCAL_NAME );
1072
+ echo '</span>';
1073
+ }
1074
+ ?>
1075
+ </td>
1076
+ <td>
1077
+ <?php
1078
+ if ( 0 == $top_ten_all_mu_table[1] ) {
1079
+ echo '<input type="checkbox" name="top_ten_all_mu_tables[' . $top_ten_all_mu_table[0] . ']" value="' . $top_ten_all_mu_table[2] . '" checked="checked" />';
1080
+ } else {
1081
+ echo '<input type="checkbox" name="top_ten_all_mu_tables[' . $top_ten_all_mu_table[0] . ']" value="' . $top_ten_all_mu_table[2] . '" />';
1082
+ }
1083
+ ?>
1084
+ </td>
1085
+ </tr>
1086
+ <?php
1087
+ }
1088
+ ?>
1089
+ </table>
1090
+ <p>
1091
+ <input type="hidden" name="top_ten_mu_tables_blog_ids" value="<?php echo implode( ',', $top_ten_mu_tables_blog_ids ); ?>" />
1092
+ <input name="tptn_import" type="submit" id="tptn_import" value="<?php _e( 'Begin import', TPTN_LOCAL_NAME ); ?>" class="button button-primary" />
1093
+ <input name="tptn_delete_selected_tables" type="submit" id="tptn_delete_selected_tables" value="<?php _e( 'Delete selected tables', TPTN_LOCAL_NAME ); ?>" class="button button-secondary" style="color:#f00" />
1094
+ <input name="tptn_delete_imported_tables" type="submit" id="tptn_delete_imported_tables" value="<?php _e( 'Delete all imported tables', TPTN_LOCAL_NAME ); ?>" class="button button-secondary" style="color:#f00" />
1095
+ </p>
1096
+ <?php
1097
+ } // End if ( ! empty( $top_ten_all_mu_tables ) )
1098
+ ?>
1099
+ </div>
1100
+ </div>
1101
+ <?php wp_nonce_field( 'tptn-plugin-settings' ); ?>
1102
+ </form>
1103
+ <?php
1104
+ }
1105
+ ?>
1106
+ </div><!-- /post-body-content -->
1107
+ <div id="postbox-container-1" class="postbox-container">
1108
+ <div id="side-sortables" class="meta-box-sortables ui-sortable">
1109
+ <?php tptn_admin_side(); ?>
1110
+ </div><!-- /side-sortables -->
1111
+ </div><!-- /postbox-container-1 -->
1112
+ </div><!-- /post-body -->
1113
+ <br class="clear" />
1114
+ </div><!-- /poststuff -->
1115
+ </div><!-- /wrap -->
1116
+
1117
+ <?php
1118
+
1119
+ }
1120
+
1121
+
1122
+ /**
1123
+ * Function to generate the top 10 daily popular posts page.
1124
+ *
1125
+ * @since 1.9.2
1126
+ */
1127
+ function tptn_manage_daily() {
1128
+ tptn_manage(1);
1129
+ }
1130
+
1131
+
1132
+ /**
1133
+ * Function to generate the top 10 popular posts page.
1134
+ *
1135
+ * @since 1.3
1136
+ * @param int $daily Overall popular
1137
+ */
1138
+ function tptn_manage( $daily = 0 ) {
1139
+
1140
+ $paged = isset( $_GET['paged'] ) ? intval( $_GET['paged'] ) : 0;
1141
+ $limit = isset( $_GET['limit'] ) ? intval( $_GET['limit'] ) : 0;
1142
+ $daily = isset( $_GET['daily'] ) ? intval( $_GET['daily'] ) : $daily;
1143
+
1144
+ ?>
1145
+
1146
+ <div class="wrap">
1147
+ <h2>
1148
+ <?php if ( ! $daily ) {
1149
+ _e( 'Popular Posts', TPTN_LOCAL_NAME );
1150
+ } else {
1151
+ _e( 'Daily Popular Posts', TPTN_LOCAL_NAME );
1152
+ } ?>
1153
+ </h2>
1154
+ <div id="poststuff">
1155
+ <div id="post-body" class="metabox-holder columns-2">
1156
+ <div id="post-body-content">
1157
+ <?php echo tptn_pop_display( $daily, $paged, $limit, false ); ?>
1158
+ </div><!-- /post-body-content -->
1159
+ <div id="postbox-container-1" class="postbox-container">
1160
+ <div id="side-sortables" class="meta-box-sortables ui-sortable">
1161
+ <?php tptn_admin_side(); ?>
1162
+ </div><!-- /side-sortables -->
1163
+ </div><!-- /postbox-container-1 -->
1164
+ </div><!-- /post-body -->
1165
+ <br class="clear" />
1166
+ </div><!-- /poststuff -->
1167
+ </div><!-- /wrap -->
1168
+
1169
+ <?php
1170
+ }
1171
+
1172
+
1173
+ /**
1174
+ * Function to generate the right sidebar of the Settings and Admin popular posts pages.
1175
+ *
1176
+ * @since 1.8.1
1177
+ */
1178
+ function tptn_admin_side() {
1179
+ ?>
1180
+ <div id="donatediv" class="postbox"><div class="handlediv" title="<?php _e( 'Click to toggle', TPTN_LOCAL_NAME ); ?>"><br /></div>
1181
+ <h3 class='hndle'><span><?php _e( 'Support the development', TPTN_LOCAL_NAME ); ?></span></h3>
1182
+ <div class="inside">
1183
+ <div id="donate-form">
1184
+ <form action="https://www.paypal.com/cgi-bin/webscr" method="post">
1185
+ <input type="hidden" name="cmd" value="_xclick">
1186
+ <input type="hidden" name="business" value="donate@ajaydsouza.com">
1187
+ <input type="hidden" name="lc" value="IN">
1188
+ <input type="hidden" name="item_name" value="<?php _e( 'Donation for Top 10', TPTN_LOCAL_NAME ); ?>">
1189
+ <input type="hidden" name="item_number" value="tptn_admin">
1190
+ <strong><?php _e( 'Enter amount in USD: ', TPTN_LOCAL_NAME ); ?></strong> <input name="amount" value="10.00" size="6" type="text"><br />
1191
+ <input type="hidden" name="currency_code" value="USD">
1192
+ <input type="hidden" name="button_subtype" value="services">
1193
+ <input type="hidden" name="bn" value="PP-BuyNowBF:btn_donate_LG.gif:NonHosted">
1194
+ <input type="image" src="https://www.paypal.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="<?php _e( 'Send your donation to the author of Top 10', TPTN_LOCAL_NAME ); ?>">
1195
+ <img alt="" border="0" src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1">
1196
+ </form>
1197
+ </div>
1198
+ </div>
1199
+ </div>
1200
+ <div id="followdiv" class="postbox"><div class="handlediv" title="<?php _e( 'Click to toggle', TPTN_LOCAL_NAME ); ?>"><br /></div>
1201
+ <h3 class='hndle'><span><?php _e( 'Follow me', TPTN_LOCAL_NAME ); ?></span></h3>
1202
+ <div class="inside">
1203
+ <div id="follow-us">
1204
+ <iframe src="//www.facebook.com/plugins/likebox.php?href=http%3A%2F%2Fwww.facebook.com%2Fajaydsouzacom&amp;width=292&amp;height=62&amp;colorscheme=light&amp;show_faces=false&amp;border_color&amp;stream=false&amp;header=true&amp;appId=113175385243" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:292px; height:62px;" allowTransparency="true"></iframe>
1205
+ <div style="text-align:center"><a href="https://twitter.com/ajaydsouza" class="twitter-follow-button" data-show-count="false" data-size="large" data-dnt="true">Follow @ajaydsouza</a>
1206
+ <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script></div>
1207
+ </div>
1208
+ </div>
1209
+ </div>
1210
+ <div id="qlinksdiv" class="postbox"><div class="handlediv" title="<?php _e( 'Click to toggle', TPTN_LOCAL_NAME ); ?>"><br /></div>
1211
+ <h3 class='hndle'><span><?php _e( 'Quick links', TPTN_LOCAL_NAME ); ?></span></h3>
1212
+ <div class="inside">
1213
+ <div id="quick-links">
1214
+ <ul>
1215
+ <li><a href="http://ajaydsouza.com/wordpress/plugins/top-10/" target="_blank"><?php _e( 'Top 10 plugin page', TPTN_LOCAL_NAME ); ?></a></li>
1216
+ <li><a href="https://github.com/ajaydsouza/top-10" target="_blank"><?php _e( 'Top 10 Github page', TPTN_LOCAL_NAME ); ?></a></li>
1217
+ <li><a href="http://ajaydsouza.com/wordpress/plugins/" target="_blank"><?php _e( 'Other plugins', TPTN_LOCAL_NAME ); ?></a></li>
1218
+ <li><a href="http://ajaydsouza.com/" target="_blank"><?php _e( "Ajay's blog", TPTN_LOCAL_NAME ); ?></a></li>
1219
+ <li><a href="https://wordpress.org/plugins/top-10/faq/" target="_blank"><?php _e( 'FAQ', TPTN_LOCAL_NAME ); ?></a></li>
1220
+ <li><a href="http://wordpress.org/support/plugin/top-10" target="_blank"><?php _e( 'Support', TPTN_LOCAL_NAME ); ?></a></li>
1221
+ <li><a href="https://wordpress.org/support/view/plugin-reviews/top-10" target="_blank"><?php _e( 'Reviews', TPTN_LOCAL_NAME ); ?></a></li>
1222
+ </ul>
1223
+ </div>
1224
+ </div>
1225
+ </div>
1226
+
1227
+ <?php
1228
+ }
1229
+
1230
+
1231
+ /**
1232
+ * Add Top 10 menu in WP-Admin.
1233
+ *
1234
+ * @since 1.0
1235
+ */
1236
+ function tptn_adminmenu() {
1237
+
1238
+ $plugin_page = add_menu_page( __( "Top 10 Settings", TPTN_LOCAL_NAME ), __( "Top 10", TPTN_LOCAL_NAME ), 'manage_options', 'tptn_options', 'tptn_options', 'dashicons-editor-ol' );
1239
+ add_action( 'admin_head-'. $plugin_page, 'tptn_adminhead' );
1240
+
1241
+ $plugin_page = add_submenu_page( 'tptn_options', __( "Top 10 Settings", TPTN_LOCAL_NAME ), __( "Top 10 Settings", TPTN_LOCAL_NAME ), 'manage_options', 'tptn_options', 'tptn_options' );
1242
+ add_action( 'admin_head-'. $plugin_page, 'tptn_adminhead' );
1243
+
1244
+ $plugin_page = add_submenu_page( 'tptn_options', __( "Overall Popular Posts", TPTN_LOCAL_NAME ), __( "Overall Popular Posts", TPTN_LOCAL_NAME ), 'manage_options', 'tptn_manage', 'tptn_manage' );
1245
+ add_action( 'admin_head-'. $plugin_page, 'tptn_adminhead' );
1246
+
1247
+ $plugin_page = add_submenu_page( 'tptn_options', __( "Daily Popular Posts", TPTN_LOCAL_NAME ), __( "Daily Popular Posts", TPTN_LOCAL_NAME ), 'manage_options', 'tptn_manage_daily', 'tptn_manage_daily' );
1248
+ add_action( 'admin_head-'. $plugin_page, 'tptn_adminhead' );
1249
+
1250
+ }
1251
+ add_action( 'admin_menu', 'tptn_adminmenu' );
1252
+
1253
+
1254
+ /**
1255
+ * Add JS and CSS to admin header.
1256
+ *
1257
+ * @since 1.6
1258
+ */
1259
+ function tptn_adminhead() {
1260
+ global $tptn_url;
1261
+
1262
+ wp_enqueue_script( 'common' );
1263
+ wp_enqueue_script( 'wp-lists' );
1264
+ wp_enqueue_script( 'postbox' );
1265
+ ?>
1266
+ <style type="text/css">
1267
+ .postbox .handlediv:before {
1268
+ right:12px;
1269
+ font:400 20px/1 dashicons;
1270
+ speak:none;
1271
+ display:inline-block;
1272
+ top:0;
1273
+ position:relative;
1274
+ -webkit-font-smoothing:antialiased;
1275
+ -moz-osx-font-smoothing:grayscale;
1276
+ text-decoration:none!important;
1277
+ content:'\f142';
1278
+ padding:8px 10px;
1279
+ }
1280
+ .postbox.closed .handlediv:before {
1281
+ content: '\f140';
1282
+ }
1283
+ .wrap h2:before {
1284
+ content: "\f204";
1285
+ display: inline-block;
1286
+ -webkit-font-smoothing: antialiased;
1287
+ font: normal 29px/1 'dashicons';
1288
+ vertical-align: middle;
1289
+ margin-right: 0.3em;
1290
+ }
1291
+ </style>
1292
+
1293
+ <script type="text/javascript">
1294
+ //<![CDATA[
1295
+ jQuery(document).ready( function($) {
1296
+ // close postboxes that should be closed
1297
+ $('.if-js-closed').removeClass('if-js-closed').addClass('closed');
1298
+ // postboxes setup
1299
+ postboxes.add_postbox_toggles('tptn_options');
1300
+ });
1301
+ //]]>
1302
+ </script>
1303
+
1304
+ <script type="text/javascript" language="JavaScript">
1305
+ //<![CDATA[
1306
+ function checkForm() {
1307
+ answer = true;
1308
+ if (siw && siw.selectingSomething)
1309
+ answer = false;
1310
+ return answer;
1311
+ }//
1312
+ //]]>
1313
+ </script>
1314
+
1315
+ <link rel="stylesheet" type="text/css" href="<?php echo $tptn_url ?>/admin/wick/wick.css" />
1316
+ <script type="text/javascript" language="JavaScript">
1317
+ //<![CDATA[
1318
+ <?php
1319
+ function wick_data() {
1320
+ global $wpdb;
1321
+
1322
+ $categories = get_categories( 'hide_empty=0' );
1323
+ $str = 'collection = [';
1324
+ foreach ( $categories as $cat ) {
1325
+ $str .= "'" . $cat->slug . "',";
1326
+ }
1327
+ $str = substr( $str, 0, -1 ); // Remove trailing comma
1328
+ $str .= '];';
1329
+
1330
+ echo $str;
1331
+ }
1332
+ wick_data();
1333
+ ?>
1334
+ //]]>
1335
+ </script>
1336
+
1337
+ <script type="text/javascript" src="<?php echo $tptn_url ?>/admin/wick/wick.js"></script>
1338
+
1339
+ <?php
1340
+ }
1341
+
1342
+
1343
+ /**
1344
+ * Adding WordPress plugin action links.
1345
+ *
1346
+ * @version 1.9.2
1347
+ *
1348
+ * @param array $links
1349
+ * @return array Links array with our settings link added
1350
+ */
1351
+ function tptn_plugin_actions_links( $links ) {
1352
+
1353
+ return array_merge(
1354
+ array(
1355
+ 'settings' => '<a href="' . admin_url( 'options-general.php?page=tptn_options' ) . '">' . __( 'Settings', TPTN_LOCAL_NAME ) . '</a>'
1356
+ ),
1357
+ $links
1358
+ );
1359
+
1360
+ }
1361
+ add_filter( 'plugin_action_links_' . plugin_basename( plugin_dir_path( __DIR__ ) . 'top-10.php' ), 'tptn_plugin_actions_links' );
1362
+
1363
+
1364
+ /**
1365
+ * Add links to the plugin action row.
1366
+ *
1367
+ * @since 1.5
1368
+ *
1369
+ * @param array $links
1370
+ * @param array $file
1371
+ * @return array Links array with our links added
1372
+ */
1373
+ function tptn_plugin_actions( $links, $file ) {
1374
+ $plugin = plugin_basename( __FILE__ );
1375
+
1376
+ // create link
1377
+ if ( $file == $plugin ) {
1378
+ $links[] = '<a href="http://ajaydsouza.com/support/">' . __( 'Support', TPTN_LOCAL_NAME ) . '</a>';
1379
+ $links[] = '<a href="http://ajaydsouza.com/donate/">' . __( 'Donate', TPTN_LOCAL_NAME ) . '</a>';
1380
+ }
1381
+ return $links;
1382
+ }
1383
+ add_filter( 'plugin_action_links', 'tptn_plugin_actions', 10, 2 );
1384
+
1385
+
1386
+ /**
1387
+ * Function to delete all duplicate rows in the posts table.
1388
+ *
1389
+ * @since 1.6.2
1390
+ *
1391
+ * @param bool $daily Daily flag
1392
+ */
1393
+ function tptn_clean_duplicates( $daily = false ) {
1394
+ global $wpdb;
1395
+
1396
+ $table_name = $wpdb->base_prefix . "top_ten";
1397
+ if ( $daily ) {
1398
+ $table_name .= "_daily";
1399
+ }
1400
+ $count = 0;
1401
+
1402
+ $wpdb->query( "CREATE TEMPORARY TABLE " . $table_name . "_temp AS SELECT * FROM " . $table_name . " GROUP BY postnumber" );
1403
+ $wpdb->query( "TRUNCATE TABLE $table_name" );
1404
+ $wpdb->query( "INSERT INTO " . $table_name . " SELECT * FROM " . $table_name . "_temp" );
1405
+ }
1406
+
1407
+
1408
+ ?>
{wick → admin}/index.php RENAMED
File without changes
admin/wick/index.php ADDED
@@ -0,0 +1 @@
 
1
+ <?php // Silence is golden
{wick → admin/wick}/wick.css RENAMED
File without changes
{wick → admin/wick}/wick.js RENAMED
File without changes
includes/class-top-10-widget.php ADDED
@@ -0,0 +1,248 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Widget class.
4
+ *
5
+ * @package Top_Ten
6
+ * @author Ajay D'Souza <me@ajaydsouza.com>
7
+ * @license GPL-2.0+
8
+ * @link http://ajaydsouza.com
9
+ * @copyright 2008-2014 Ajay D'Souza
10
+ */
11
+
12
+ // If this file is called directly, abort.
13
+ if ( ! defined( 'WPINC' ) ) {
14
+ die;
15
+ }
16
+
17
+
18
+ /**
19
+ * Top 10 Widget.
20
+ *
21
+ * @extends WP_Widget
22
+ */
23
+ class Top_Ten_Widget extends WP_Widget {
24
+
25
+ /**
26
+ * Register widget with WordPress.
27
+ */
28
+ function __construct() {
29
+ parent::__construct(
30
+ 'widget_tptn_pop', // Base ID
31
+ __( 'Popular Posts [Top 10]', TPTN_LOCAL_NAME ), // Name
32
+ array( 'description' => __( 'Display popular posts', TPTN_LOCAL_NAME ), ) // Args
33
+ );
34
+ }
35
+
36
+ /**
37
+ * Back-end widget form.
38
+ *
39
+ * @see WP_Widget::form()
40
+ *
41
+ * @param array $instance Previously saved values from database.
42
+ */
43
+ function form( $instance ) {
44
+ $title = isset( $instance['title'] ) ? esc_attr( $instance['title'] ) : '';
45
+ $limit = isset( $instance['limit'] ) ? esc_attr( $instance['limit'] ) : '';
46
+ $disp_list_count = isset( $instance['disp_list_count'] ) ? esc_attr( $instance['disp_list_count'] ) : '';
47
+ $show_excerpt = isset( $instance['show_excerpt'] ) ? esc_attr( $instance['show_excerpt'] ) : '';
48
+ $show_author = isset( $instance['show_author'] ) ? esc_attr( $instance['show_author'] ) : '';
49
+ $show_date = isset( $instance['show_date'] ) ? esc_attr( $instance['show_date'] ) : '';
50
+ $post_thumb_op = isset( $instance['post_thumb_op'] ) ? esc_attr( $instance['post_thumb_op'] ) : 'text_only';
51
+ $thumb_height = isset( $instance['thumb_height'] ) ? esc_attr( $instance['thumb_height'] ) : '';
52
+ $thumb_width = isset( $instance['thumb_width'] ) ? esc_attr( $instance['thumb_width'] ) : '';
53
+ $daily = isset( $instance['daily'] ) ? esc_attr( $instance['daily'] ) : 'overall';
54
+ $daily_range = isset( $instance['daily_range'] ) ? esc_attr( $instance['daily_range'] ) : '';
55
+ $hour_range = isset( $instance['hour_range'] ) ? esc_attr( $instance['hour_range'] ) : '';
56
+ ?>
57
+ <p>
58
+ <label for="<?php echo $this->get_field_id( 'title' ); ?>">
59
+ <?php _e( 'Title', TPTN_LOCAL_NAME ); ?>: <input class="widefat" id="<?php echo $this->get_field_id( 'title' ); ?>" name="<?php echo $this->get_field_name( 'title' ); ?>" type="text" value="<?php echo esc_attr( $title ); ?>" />
60
+ </label>
61
+ </p>
62
+ <p>
63
+ <label for="<?php echo $this->get_field_id( 'limit' ); ?>">
64
+ <?php _e( 'No. of posts', TPTN_LOCAL_NAME ); ?>: <input class="widefat" id="<?php echo $this->get_field_id( 'limit' ); ?>" name="<?php echo $this->get_field_name( 'limit' ); ?>" type="text" value="<?php echo esc_attr( $limit ); ?>" />
65
+ </label>
66
+ </p>
67
+ <p>
68
+ <select class="widefat" id="<?php echo $this->get_field_id( 'daily' ); ?>" name="<?php echo $this->get_field_name( 'daily' ); ?>">
69
+ <option value="overall" <?php if ( 'overall' == $daily ) echo 'selected="selected"' ?>><?php _e( 'Overall', TPTN_LOCAL_NAME ); ?></option>
70
+ <option value="daily" <?php if ( 'daily' == $daily ) echo 'selected="selected"' ?>><?php _e( 'Custom time period (Enter below)', TPTN_LOCAL_NAME ); ?></option>
71
+ </select>
72
+ </p>
73
+ <p>
74
+ <?php _e( 'In days and hours (applies only to custom option above)', TPTN_LOCAL_NAME ); ?>:
75
+ <label for="<?php echo $this->get_field_id( 'daily_range' ); ?>">
76
+ <input class="widefat" id="<?php echo $this->get_field_id( 'daily_range' ); ?>" name="<?php echo $this->get_field_name( 'daily_range' ); ?>" type="text" value="<?php echo esc_attr( $daily_range ); ?>" /> <?php _e( 'days', TPTN_LOCAL_NAME ); ?>
77
+ </label>
78
+ <label for="<?php echo $this->get_field_id( 'hour_range' ); ?>">
79
+ <input class="widefat" id="<?php echo $this->get_field_id( 'hour_range' ); ?>" name="<?php echo $this->get_field_name( 'hour_range' ); ?>" type="text" value="<?php echo esc_attr( $hour_range ); ?>" /> <?php _e( 'hours', TPTN_LOCAL_NAME ); ?>
80
+ </label>
81
+ </p>
82
+ <p>
83
+ <label for="<?php echo $this->get_field_id( 'disp_list_count' ); ?>">
84
+ <input id="<?php echo $this->get_field_id( 'disp_list_count' ); ?>" name="<?php echo $this->get_field_name( 'disp_list_count' ); ?>" type="checkbox" <?php if ( $disp_list_count ) echo 'checked="checked"' ?> /> <?php _e( 'Show count?', TPTN_LOCAL_NAME ); ?>
85
+ </label>
86
+ </p>
87
+ <p>
88
+ <label for="<?php echo $this->get_field_id( 'show_excerpt' ); ?>">
89
+ <input id="<?php echo $this->get_field_id( 'show_excerpt' ); ?>" name="<?php echo $this->get_field_name( 'show_excerpt' ); ?>" type="checkbox" <?php if ( $show_excerpt ) echo 'checked="checked"' ?> /> <?php _e( 'Show excerpt?', TPTN_LOCAL_NAME ); ?>
90
+ </label>
91
+ </p>
92
+ <p>
93
+ <label for="<?php echo $this->get_field_id( 'show_author' ); ?>">
94
+ <input id="<?php echo $this->get_field_id( 'show_author' ); ?>" name="<?php echo $this->get_field_name( 'show_author' ); ?>" type="checkbox" <?php if ( $show_author ) echo 'checked="checked"' ?> /> <?php _e( 'Show author?', TPTN_LOCAL_NAME ); ?>
95
+ </label>
96
+ </p>
97
+ <p>
98
+ <label for="<?php echo $this->get_field_id( 'show_date' ); ?>">
99
+ <input id="<?php echo $this->get_field_id( 'show_date' ); ?>" name="<?php echo $this->get_field_name( 'show_date' ); ?>" type="checkbox" <?php if ( $show_date ) echo 'checked="checked"' ?> /> <?php _e( 'Show date?', TPTN_LOCAL_NAME ); ?>
100
+ </label>
101
+ </p>
102
+ <p>
103
+ <?php _e( 'Thumbnail options', TPTN_LOCAL_NAME ); ?>: <br />
104
+ <select class="widefat" id="<?php echo $this->get_field_id( 'post_thumb_op' ); ?>" name="<?php echo $this->get_field_name( 'post_thumb_op' ); ?>">
105
+ <option value="inline" <?php if ( 'inline' == $post_thumb_op ) echo 'selected="selected"' ?>><?php _e( 'Thumbnails inline, before title',TPTN_LOCAL_NAME ); ?></option>
106
+ <option value="after" <?php if ( 'after' == $post_thumb_op ) echo 'selected="selected"' ?>><?php _e( 'Thumbnails inline, after title',TPTN_LOCAL_NAME ); ?></option>
107
+ <option value="thumbs_only" <?php if ( 'thumbs_only' == $post_thumb_op ) echo 'selected="selected"' ?>><?php _e( 'Only thumbnails, no text',TPTN_LOCAL_NAME ); ?></option>
108
+ <option value="text_only" <?php if ( 'text_only' == $post_thumb_op ) echo 'selected="selected"' ?>><?php _e( 'No thumbnails, only text.',TPTN_LOCAL_NAME ); ?></option>
109
+ </select>
110
+ </p>
111
+ <p>
112
+ <label for="<?php echo $this->get_field_id( 'thumb_height' ); ?>">
113
+ <?php _e( 'Thumbnail height', TPTN_LOCAL_NAME ); ?>: <input class="widefat" id="<?php echo $this->get_field_id( 'thumb_height' ); ?>" name="<?php echo $this->get_field_name( 'thumb_height' ); ?>" type="text" value="<?php echo esc_attr($thumb_height); ?>" />
114
+ </label>
115
+ </p>
116
+ <p>
117
+ <label for="<?php echo $this->get_field_id( 'thumb_width' ); ?>">
118
+ <?php _e( 'Thumbnail width', TPTN_LOCAL_NAME ); ?>: <input class="widefat" id="<?php echo $this->get_field_id( 'thumb_width' ); ?>" name="<?php echo $this->get_field_name( 'thumb_width' ); ?>" type="text" value="<?php echo esc_attr( $thumb_width ); ?>" />
119
+ </label>
120
+ </p>
121
+
122
+ <?php
123
+ /**
124
+ * Fires after Top 10 widget options.
125
+ *
126
+ * @since 2.0.0
127
+ *
128
+ * @param array $tptn_settings Top 10 settings array
129
+ */
130
+ do_action( 'tptn_widget_options_after', $tptn_settings );
131
+ ?>
132
+
133
+ <?php
134
+ } //ending form creation
135
+
136
+ /**
137
+ * Sanitize widget form values as they are saved.
138
+ *
139
+ * @see WP_Widget::update()
140
+ *
141
+ * @param array $new_instance Values just sent to be saved.
142
+ * @param array $old_instance Previously saved values from database.
143
+ *
144
+ * @return array Updated safe values to be saved.
145
+ */
146
+ function update( $new_instance, $old_instance ) {
147
+ $instance = $old_instance;
148
+ $instance['title'] = strip_tags( $new_instance['title'] );
149
+ $instance['limit'] = $new_instance['limit'];
150
+ $instance['daily'] = $new_instance['daily'];
151
+ $instance['daily_range'] = strip_tags( $new_instance['daily_range'] );
152
+ $instance['hour_range'] = strip_tags( $new_instance['hour_range'] );
153
+ $instance['disp_list_count'] = isset( $new_instance['disp_list_count'] ) ? true : false;
154
+ $instance['show_excerpt'] = isset( $new_instance['show_excerpt'] ) ? true : false;
155
+ $instance['show_author'] = isset( $new_instance['show_author'] ) ? true : false;
156
+ $instance['show_date'] = isset( $new_instance['show_date'] ) ? true : false;
157
+ $instance['post_thumb_op'] = $new_instance['post_thumb_op'];
158
+ $instance['thumb_height'] = $new_instance['thumb_height'];
159
+ $instance['thumb_width'] = $new_instance['thumb_width'];
160
+
161
+ /**
162
+ * Filters Update widget options array.
163
+ *
164
+ * @since 2.0.0
165
+ *
166
+ * @param array $instance Widget options array
167
+ */
168
+ return apply_filters( 'tptn_widget_options_update' , $instance );
169
+ } //ending update
170
+
171
+ /**
172
+ * Front-end display of widget.
173
+ *
174
+ * @see WP_Widget::widget()
175
+ *
176
+ * @param array $args Widget arguments.
177
+ * @param array $instance Saved values from database.
178
+ */
179
+ function widget( $args, $instance ) {
180
+ global $wpdb, $tptn_url, $tptn_settings;
181
+
182
+ extract( $args, EXTR_SKIP );
183
+
184
+ $title = apply_filters( 'widget_title', empty( $instance['title'] ) ? strip_tags( $tptn_settings['title'] ) : $instance['title'] );
185
+ $limit = isset( $instance['limit'] ) ? $instance['limit'] : $tptn_settings['limit'];
186
+ if ( empty( $limit ) ) {
187
+ $limit = $tptn_settings['limit'];
188
+ }
189
+
190
+ $daily_range = ( empty( $instance['daily_range'] ) ) ? $tptn_settings['daily_range'] : $instance['daily_range'];
191
+ $hour_range = ( empty( $instance['hour_range'] ) ) ? $tptn_settings['hour_range'] : $instance['hour_range'];
192
+
193
+ $daily = ( isset( $instance['daily'] ) && ( "daily" == $instance['daily'] ) ) ? true : false;
194
+
195
+ $output = $before_widget;
196
+ $output .= $before_title . $title . $after_title;
197
+
198
+ $post_thumb_op = isset( $instance['post_thumb_op'] ) ? esc_attr( $instance['post_thumb_op'] ) : 'text_only';
199
+ $thumb_height = isset( $instance['thumb_height'] ) ? esc_attr( $instance['thumb_height'] ) : $tptn_settings['thumb_height'];
200
+ $thumb_width = isset( $instance['thumb_width'] ) ? esc_attr( $instance['thumb_width'] ) : $tptn_settings['thumb_width'];
201
+ $disp_list_count = isset( $instance['disp_list_count'] ) ? esc_attr( $instance['disp_list_count'] ) : '';
202
+ $show_excerpt = isset( $instance['show_excerpt'] ) ? esc_attr( $instance['show_excerpt'] ) : '';
203
+ $show_author = isset( $instance['show_author'] ) ? esc_attr( $instance['show_author'] ) : '';
204
+ $show_date = isset( $instance['show_date'] ) ? esc_attr( $instance['show_date'] ) : '';
205
+
206
+ $arguments = array(
207
+ 'is_widget' => 1,
208
+ 'heading' => 0,
209
+ 'limit' => $limit,
210
+ 'daily' => $daily,
211
+ 'daily_range' => $daily_range,
212
+ 'hour_range' => $hour_range,
213
+ 'show_excerpt' => $show_excerpt,
214
+ 'show_author' => $show_author,
215
+ 'show_date' => $show_date,
216
+ 'post_thumb_op' => $post_thumb_op,
217
+ 'thumb_height' => $thumb_height,
218
+ 'thumb_width' => $thumb_width,
219
+ 'disp_list_count' => $disp_list_count,
220
+ );
221
+
222
+ /**
223
+ * Filters arguments passed to tptn_pop_posts for the widget.
224
+ *
225
+ * @since 2.0.0
226
+ *
227
+ * @param array $arguments Widget options array
228
+ */
229
+ $arguments = apply_filters( 'tptn_widget_options' , $arguments );
230
+
231
+ if ( $daily ) {
232
+ if ( $tptn_settings['d_use_js'] ) {
233
+ $output .= '<script type="text/javascript" src="' . $tptn_url . '/top-10-daily.js.php?widget=1"></script>';
234
+ } else {
235
+ $output .= tptn_pop_posts( $arguments );
236
+ }
237
+ } else {
238
+ $output .= tptn_pop_posts( $arguments );
239
+ }
240
+
241
+ $output .= $after_widget;
242
+
243
+ echo $output;
244
+
245
+ } //ending function widget
246
+ }
247
+
248
+ ?>
includes/deprecated.php ADDED
@@ -0,0 +1,35 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Deprecated functions from Top 10. You shouldn't
4
+ * use these functions and look for the alternatives instead. The functions will be
5
+ * removed in a later version.
6
+ *
7
+ * @package Top_Ten
8
+ */
9
+
10
+
11
+ /**
12
+ * Filter function to resize post thumbnail. Filters tptn_postimage.
13
+ *
14
+ * @since 1.9.2
15
+ * @param string $postimage Post Image URL
16
+ * @param string|int $thumb_width Thumbnail width
17
+ * @param string|int $thumb_height Thumbnail height
18
+ * @param string|int $thumb_timthumb Timthumb flag
19
+ * @param strint|int $thumb_timthumb_q Quality of the thumbnail
20
+ * @return string Post image output Post image
21
+ */
22
+ function tptn_scale_thumbs( $postimage, $thumb_width, $thumb_height, $thumb_timthumb, $thumb_timthumb_q, $post ) {
23
+ global $tptn_url;
24
+
25
+ if ( $thumb_timthumb ) {
26
+ $new_pi = $tptn_url . '/timthumb/timthumb.php?src=' . urlencode( $postimage ) . '&amp;w=' . $thumb_width . '&amp;h=' . $thumb_height . '&amp;zc=1&amp;q=' . $thumb_timthumb_q;
27
+ } else {
28
+ $new_pi = $postimage;
29
+ }
30
+ return $new_pi;
31
+ }
32
+ add_filter( 'tptn_postimage', 'tptn_scale_thumbs', 10, 6 );
33
+
34
+
35
+ ?>
includes/index.php ADDED
@@ -0,0 +1 @@
 
1
+ <?php // Silence is golden
includes/top-10-addcount.js.php ADDED
@@ -0,0 +1,57 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Add count to database.
4
+ *
5
+ * @package Top_Ten
6
+ * @author Ajay D'Souza <me@ajaydsouza.com>
7
+ * @license GPL-2.0+
8
+ * @link http://ajaydsouza.com
9
+ * @copyright 2008-2014 Ajay D'Souza
10
+ */
11
+ Header( "content-type: application/x-javascript" );
12
+
13
+ // Force a short-init since we just need core WP, not the entire framework stack
14
+ define( 'SHORTINIT', true );
15
+
16
+ // Build the wp-config.php path from a plugin/theme
17
+ $wp_config_path = dirname( dirname( dirname( __FILE__ ) ) );
18
+ $wp_config_filename = '/wp-load.php';
19
+
20
+ // Check if the file exists in the root or one level up
21
+ if ( ! file_exists( $wp_config_path . $wp_config_filename ) ) {
22
+ // Just in case the user may have placed wp-config.php one more level up from the root
23
+ $wp_config_filename = dirname( $wp_config_path ) . $wp_config_filename;
24
+ }
25
+ // Require the wp-config.php file
26
+ require( $wp_config_filename );
27
+
28
+ // Include the now instantiated global $wpdb Class for use
29
+ global $wpdb;
30
+
31
+
32
+ // Ajax Increment Counter
33
+ tptn_inc_count();
34
+ function tptn_inc_count() {
35
+ global $wpdb;
36
+ $table_name = $wpdb->prefix . "top_ten";
37
+ $top_ten_daily = $wpdb->prefix . "top_ten_daily";
38
+ $str = '';
39
+
40
+ $id = intval( $_GET['top_ten_id'] );
41
+ $activate_counter = intval( $_GET['activate_counter'] );
42
+ if ( $id > 0 ) {
43
+ if ( ( 1 == $activate_counter ) || ( 11 == $activate_counter ) ) {
44
+ $tt = $wpdb->query( $wpdb->prepare( "INSERT INTO {$table_name} (postnumber, cntaccess) VALUES('%d', '1') ON DUPLICATE KEY UPDATE cntaccess= cntaccess+1 ", $id ) );
45
+ $str .= ( $tt === FALSE ) ? 'tte' : 'tt' . $tt;
46
+ }
47
+ if ( ( 10 == $activate_counter ) || ( 11 == $activate_counter ) ) {
48
+ $current_date = gmdate( 'Y-m-d H', current_time( 'timestamp', 1 ) );
49
+
50
+ $ttd = $wpdb->query( $wpdb->prepare( "INSERT INTO {$top_ten_daily} (postnumber, cntaccess, dp_date) VALUES('%d', '1', '%s' ) ON DUPLICATE KEY UPDATE cntaccess= cntaccess+1 ", $id, $current_date ) );
51
+ $str .= ($ttd === FALSE) ? ' ttde' : ' ttd' . $ttd;
52
+ }
53
+ }
54
+ echo '<!-- ' . $str . ' -->';
55
+ }
56
+
57
+ ?>
includes/top-10-counter.js.php ADDED
@@ -0,0 +1,43 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Display number of page views.
4
+ *
5
+ * @package Top_Ten
6
+ * @author Ajay D'Souza <me@ajaydsouza.com>
7
+ * @license GPL-2.0+
8
+ * @link http://ajaydsouza.com
9
+ * @copyright 2008-2014 Ajay D'Souza
10
+ */
11
+ Header( "content-type: application/x-javascript" );
12
+
13
+ // Build the wp-config.php path from a plugin/theme
14
+ $wp_config_path = dirname( dirname( dirname( __FILE__ ) ) );
15
+ $wp_config_filename = '/wp-load.php';
16
+
17
+ // Check if the file exists in the root or one level up
18
+ if ( ! file_exists( $wp_config_path . $wp_config_filename ) ) {
19
+ // Just in case the user may have placed wp-config.php one more level up from the root
20
+ $wp_config_filename = dirname( $wp_config_path ) . $wp_config_filename;
21
+ }
22
+ // Require the wp-config.php file
23
+ require( $wp_config_filename );
24
+
25
+ // Include the now instantiated global $wpdb Class for use
26
+ global $wpdb;
27
+
28
+ $id = intval( $_GET['top_ten_id'] );
29
+
30
+ // Display counter using Ajax
31
+ function tptn_disp_count() {
32
+ global $wpdb;
33
+
34
+ $id = intval( $_GET['top_ten_id'] );
35
+ if ( $id > 0 ) {
36
+
37
+ $output = get_tptn_post_count( $id );
38
+
39
+ echo 'document.write("' . $output . '")';
40
+ }
41
+ }
42
+ tptn_disp_count();
43
+ ?>
includes/top-10-daily.js.php ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Display the daily popular lists.
4
+ *
5
+ * @package Top_Ten
6
+ * @author Ajay D'Souza <me@ajaydsouza.com>
7
+ * @license GPL-2.0+
8
+ * @link http://ajaydsouza.com
9
+ * @copyright 2008-2014 Ajay D'Souza
10
+ */
11
+ Header( "content-type: application/x-javascript" );
12
+
13
+ if ( ! function_exists('add_action') ) {
14
+ $wp_root = '../../..';
15
+ if ( file_exists($wp_root.'/wp-load.php') ) {
16
+ require_once( $wp_root . '/wp-load.php' );
17
+ } else {
18
+ require_once( $wp_root . '/wp-config.php' );
19
+ }
20
+ }
21
+
22
+ // Display Top 10 Daily list
23
+ function tptn_daily_lists() {
24
+ global $wpdb, $id;
25
+
26
+ $is_widget = intval( $_GET['is_widget'] );
27
+
28
+ if ( $is_widget ) {
29
+ $output = tptn_pop_posts( 'daily=1&is_widget=1' );
30
+ } else {
31
+ $output = tptn_pop_posts( 'daily=1&is_widget=0' );
32
+ }
33
+
34
+ echo "document.write('" . $output . "')";
35
+ }
36
+ tptn_daily_lists();
37
+ ?>
languages/tptn-az_AZ.mo CHANGED
Binary file
languages/tptn-az_AZ.po CHANGED
@@ -2,7 +2,7 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Топ 10\n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2014-05-21 21:29-0000\n"
6
  "PO-Revision-Date: \n"
7
  "Last-Translator: Ajay D'Souza <me@ajaydsouza.com>\n"
8
  "Language-Team: Bohdan Zograf <bozograf@gmail.com>\n"
@@ -12,426 +12,600 @@ msgstr ""
12
  "Content-Transfer-Encoding: 8bit\n"
13
  "X-Poedit-KeywordsList: _e;__\n"
14
  "X-Poedit-Basepath: ../\n"
15
- "X-Generator: Poedit 1.6.5\n"
 
16
  "X-Poedit-SearchPath-0: .\n"
17
 
18
- #: admin.inc.php:115
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
19
  msgid "Options saved successfully."
20
  msgstr "Opsiyalar müvəffəqiyyətlə yaddaşda saxlanılıb."
21
 
22
- #: admin.inc.php:125
23
  msgid "Options set to Default."
24
  msgstr "Opsiyalalr standard opsiyasına qaytarılıb."
25
 
26
- #: admin.inc.php:131
27
  msgid "Top 10 popular posts reset"
28
  msgstr "10 populyar yazı statisticasını pozmaq"
29
 
30
- #: admin.inc.php:137
31
  msgid "Top 10 daily popular posts reset"
32
  msgstr "10 gündəlik populyar yazı statisticasını pozmaq"
33
 
34
- #: admin.inc.php:144
35
  msgid "Duplicate rows cleaned from tables"
36
  msgstr ""
37
 
38
- #: admin.inc.php:156
39
  msgid "Scheduled maintenance enabled / modified"
40
  msgstr ""
41
 
42
- #: admin.inc.php:160
43
  msgid "Scheduled maintenance disabled"
44
  msgstr ""
45
 
46
- #: admin.inc.php:175 admin.inc.php:297 admin.inc.php:458 admin.inc.php:487
47
- #: admin.inc.php:551 admin.inc.php:644 admin.inc.php:664 admin.inc.php:674
48
- msgid "Click to toggle"
49
  msgstr ""
50
 
51
- #: admin.inc.php:176
52
- msgid "General options"
 
 
53
  msgstr ""
54
 
55
- #: admin.inc.php:180
56
- msgid "Enable Overall stats"
57
- msgstr ""
 
58
 
59
- #: admin.inc.php:185
60
- msgid "Enable Daily stats"
61
  msgstr ""
62
 
63
- #: admin.inc.php:190
64
- msgid "W3 Total Cache fix:"
65
  msgstr ""
66
 
67
- #: admin.inc.php:192
68
- msgid ""
69
- "This will try to prevent W3 Total Cache from caching the addcount script of "
70
- "the plugin. Try toggling this option in case you find that our posts are not "
71
- "tracked."
72
  msgstr ""
73
 
74
- #: admin.inc.php:196
75
- msgid "Number of popular posts to display: "
76
- msgstr "Populyar postların miqdarının nümayişi:"
 
 
77
 
78
- #: admin.inc.php:198
79
- msgid ""
80
- "Maximum number of posts that will be displayed in the list. This option is "
81
- "used if you don't specify the number of posts in the widget or shortcodes"
 
 
82
  msgstr ""
83
 
84
- #: admin.inc.php:202
85
- msgid "Daily Popular should contain views of how many days? "
 
 
 
86
  msgstr ""
87
- "Gündəlik Populyar yazılar neçə gün ərzində baxılışı özündə əks etdirməlidir?"
88
 
89
- #: admin.inc.php:204
90
- msgid ""
91
- "Instead of displaying popular posts fromt he past day, this setting lets you "
92
- "display posts for as many days as you want. This can be overridden in the "
93
- "widget."
94
  msgstr ""
95
 
96
- #: admin.inc.php:207
97
- msgid "Post types to include in results (including custom post types)"
98
  msgstr ""
99
 
100
- #: admin.inc.php:218
101
- msgid "List of post or page IDs to exclude from the results: "
102
  msgstr ""
103
 
104
- #: admin.inc.php:220 admin.inc.php:361
105
- msgid "Enter comma separated list of IDs. e.g. 188,320,500"
 
 
 
106
  msgstr ""
107
 
108
- #: admin.inc.php:224
109
- msgid "Exclude Categories: "
110
  msgstr ""
111
 
112
- #: admin.inc.php:239
 
113
  msgid ""
114
- "Comma separated list of category slugs. The field above has an autocomplete "
115
- "so simply start typing in the starting letters and it will prompt you with "
116
- "options"
117
  msgstr ""
 
 
118
 
119
- #: admin.inc.php:244
 
 
 
 
 
 
120
  #, fuzzy
121
  msgid "Display number of views on:"
122
  msgstr "Posta baxılmasının miqdarını göstərmək lazımdır?"
123
 
124
- #: admin.inc.php:246
125
  msgid "Posts"
126
  msgstr ""
127
 
128
- #: admin.inc.php:247
129
  #, fuzzy
130
  msgid "Pages"
131
  msgstr "Səhifə"
132
 
133
- #: admin.inc.php:248
134
  msgid "Home page"
135
  msgstr ""
136
 
137
- #: admin.inc.php:249
138
  msgid "Feeds"
139
  msgstr ""
140
 
141
- #: admin.inc.php:250
142
  msgid "Category archives"
143
  msgstr ""
144
 
145
- #: admin.inc.php:251
146
  msgid "Tag archives"
147
  msgstr ""
148
 
149
- #: admin.inc.php:252
150
  msgid "Other archives"
151
  msgstr ""
152
 
153
- #: admin.inc.php:253
154
  msgid ""
155
  "If you choose to disable this, please add <code>&lt;?php if "
156
  "( function_exists ( 'echo_tptn_post_count' ) ) echo_tptn_post_count(); ?&gt;"
157
  "</code> to your template file where you want it displayed"
158
  msgstr ""
159
 
160
- #: admin.inc.php:256
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
161
  msgid "Always display latest post count"
162
  msgstr ""
163
 
164
- #: admin.inc.php:258
165
  msgid ""
166
  "This option uses JavaScript and will increase your page load time. Turn this "
167
  "off if you are not using caching plugins or are OK with displaying older "
168
  "cached counts."
169
  msgstr ""
170
 
171
- #: admin.inc.php:261
172
  msgid "Track visits of authors on their own posts?"
173
  msgstr "Müəllif tərəfindən edilmiş yazıları nəzərə almaq lazımdır?"
174
 
175
- #: admin.inc.php:263
176
  msgid ""
177
  "Disabling this option will stop authors visits tracked on their own posts"
178
  msgstr ""
179
 
180
- #: admin.inc.php:266
181
  #, fuzzy
182
  msgid "Track visits of admins?"
183
  msgstr "Müəllif tərəfindən edilmiş yazıları nəzərə almaq lazımdır?"
184
 
185
- #: admin.inc.php:268
186
  msgid "Disabling this option will stop admin visits being tracked."
187
  msgstr ""
188
 
189
- #: admin.inc.php:271
190
  #, fuzzy
191
  msgid "Track visits of Editors?"
192
  msgstr "Müəllif tərəfindən edilmiş yazıları nəzərə almaq lazımdır?"
193
 
194
- #: admin.inc.php:273
195
  msgid "Disabling this option will stop editor visits being tracked."
196
  msgstr ""
197
 
198
- #: admin.inc.php:276
199
  msgid "Display page views on Posts and Pages in Admin"
200
  msgstr ""
201
 
202
- #: admin.inc.php:279
203
  msgid ""
204
  "Adds three columns called Total Views, Today's Views and Views to All Posts "
205
  "and All Pages"
206
  msgstr ""
207
 
208
- #: admin.inc.php:282
209
  #, fuzzy
210
  msgid "Show number of views to non-admins"
211
  msgstr "Səhifədə baxılmasının miqdarını göstərmək lazımdır?"
212
 
213
- #: admin.inc.php:285
214
  msgid ""
215
  "If you disable this then non-admins won't see the above columns or view the "
216
  "independent pages with the top posts"
217
  msgstr ""
218
 
219
- #: admin.inc.php:288
220
- msgid "Link to Top 10 plugin page"
221
- msgstr ""
222
 
223
- #: admin.inc.php:291
224
- #, fuzzy
225
  msgid ""
226
- "A link to the plugin is added as an extra list item to the list of popular "
227
- "posts"
228
  msgstr ""
229
- "Popyulyar siyahının altnda ssılkanı qoymaq lazımdır? Plaginin müəllifi Siz "
230
- "onu qoyduğunuz halda Sizə çox minnətdar olardı!"
231
 
232
- #: admin.inc.php:298
233
- #, fuzzy
234
- msgid "Output options"
235
- msgstr "Plaginin kökləmələri:"
236
 
237
- #: admin.inc.php:301
238
- #, fuzzy
239
- msgid "Format to display the post views:"
240
- msgstr "Miqdarı göstərən format:"
241
 
242
- #: admin.inc.php:303
243
- #, fuzzy
 
 
 
244
  msgid ""
245
- "Use <code>%totalcount%</code> to display the total count, <code>%dailycount"
246
- "%</code> to display the daily count and <code>%overallcount%</code> to "
247
- "display the overall count across all posts on the blog. e.g. the default "
248
- "options displays <code>(Visited 123 times, 23 visits today)</code>"
249
  msgstr ""
250
- "Ümumi baxılma sayının çıxartası üçün <code>%totalcount%</code>-dan istifadə "
251
- "edin, <code>%dailycount%</code> - gün ərzində baxılmış. Məsələn: "
252
- "<code>(Yazı 123 dəfə baxılıb, bu gün 23 dəfə baxılmışdır)</code>."
253
 
254
- #: admin.inc.php:306
255
- msgid "What do display when there are no visits?"
256
  msgstr ""
257
 
258
- #: admin.inc.php:308
 
 
 
 
 
 
 
 
 
 
 
 
259
  msgid ""
260
- "This text applies only when there are 0 hits for the post and it isn't a "
261
- "single page. e.g. if you display post views on the homepage or archives then "
262
- "this text will be used. To override this, just enter the same text as above "
263
- "option."
264
  msgstr ""
265
 
266
- #: admin.inc.php:311
267
  msgid "Title of popular posts: "
268
  msgstr "Populyar yazılarının başlığı:"
269
 
270
- #: admin.inc.php:314
271
  msgid "Title of daily popular posts: "
272
  msgstr "Gündəlik populyual yazılışların başlığı:"
273
 
274
- #: admin.inc.php:317
275
  msgid "When there are no posts, what should be shown?"
276
  msgstr ""
277
 
278
- #: admin.inc.php:321
279
  msgid "Blank Output"
280
  msgstr ""
281
 
282
- #: admin.inc.php:325
283
  msgid "Display:"
284
  msgstr ""
285
 
286
- #: admin.inc.php:329
287
  msgid "Show post excerpt in list?"
288
  msgstr "Yazılış mətnini siyahıda göstərmək lazımdır?"
289
 
290
- #: admin.inc.php:332
291
  msgid "Length of excerpt (in words): "
292
  msgstr "Çıxardılmış mətnin uzunluğu (söz ilə):"
293
 
294
- #: admin.inc.php:335
295
  #, fuzzy
296
  msgid "Show post author in list?"
297
  msgstr "Yazılış mətnini siyahıda göstərmək lazımdır?"
298
 
299
- #: admin.inc.php:338
300
  #, fuzzy
301
  msgid "Show post date in list?"
302
  msgstr "Yazılış mətnini siyahıda göstərmək lazımdır?"
303
 
304
- #: admin.inc.php:341
305
  msgid "Limit post title length (in characters)"
306
  msgstr ""
307
 
308
- #: admin.inc.php:344
309
  #, fuzzy
310
  msgid "Show view count in list?"
311
  msgstr "Yazılış mətnini siyahıda göstərmək lazımdır?"
312
 
313
- #: admin.inc.php:347
314
  msgid "Always display latest post count in the daily lists?"
315
  msgstr ""
316
 
317
- #: admin.inc.php:349
318
  msgid ""
319
  "This option uses JavaScript and will increase your page load time. When you "
320
  "enable this option, the daily widget will not use the options set there, but "
321
  "options will need to be set on this screen."
322
  msgstr ""
323
 
324
- #: admin.inc.php:352
325
  msgid "Open links in new window"
326
  msgstr ""
327
 
328
- #: admin.inc.php:355
329
  msgid "Add nofollow attribute to links in the list"
330
  msgstr ""
331
 
332
- #: admin.inc.php:358
333
  msgid "Exclude display of related posts on these posts / pages"
334
  msgstr ""
335
 
336
- #: admin.inc.php:364
337
  #, fuzzy
338
  msgid "Customise the list HTML"
339
  msgstr "Suiyahı formasının kökləmələri:"
340
 
341
- #: admin.inc.php:366
342
  msgid "HTML to display before the list of posts: "
343
  msgstr "Siyahıdan qabaq istifadə edilən HTML-teqi:"
344
 
345
- #: admin.inc.php:369
346
  msgid "HTML to display before each list item: "
347
  msgstr "Siyahıda hər maddənin qabağında istifadə edilən HTML-teqi:"
348
 
349
- #: admin.inc.php:372
350
  msgid "HTML to display after each list item: "
351
  msgstr "Siyahıda hər maddədən sonra istifadə edilən HTML-teqi: "
352
 
353
- #: admin.inc.php:375
354
  msgid "HTML to display after the list of posts: "
355
  msgstr "Siyahıdan sonra istifadə edilən HTML-teqi:"
356
 
357
- #: admin.inc.php:378
358
- msgid "Post thumbnail options:"
359
- msgstr "Yazılışlara əvvəlcədən baxma kökləmələri:"
360
-
361
- #: admin.inc.php:380
362
  msgid "Location of post thumbnail:"
363
  msgstr ""
364
 
365
- #: admin.inc.php:384
366
  #, fuzzy
367
  msgid "Display thumbnails inline with posts, before title"
368
  msgstr "Mətni və əvvəlcədən baxışı göstərmək"
369
 
370
- #: admin.inc.php:388
371
  #, fuzzy
372
  msgid "Display thumbnails inline with posts, after title"
373
  msgstr "Mətni və əvvəlcədən baxışı göstərmək"
374
 
375
- #: admin.inc.php:392
376
  msgid "Display only thumbnails, no text"
377
  msgstr "Yalnız əvvəlcədən baxışı göstərmək, mətnsiz"
378
 
379
- #: admin.inc.php:396
380
  msgid "Do not display thumbnails, only text."
381
  msgstr "Yalnız mətini göstərmək, əvəlcədən baxışsız"
382
 
383
- #: admin.inc.php:400
384
- msgid "Width of the thumbnail: "
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
385
  msgstr ""
386
 
387
- #: admin.inc.php:403
388
- msgid "Height of the thumbnail: "
 
 
 
 
 
 
 
 
 
 
389
  msgstr ""
390
 
391
- #: admin.inc.php:406
 
 
 
 
 
 
 
 
 
 
 
392
  msgid "Style attributes / Width and Height HTML attributes:"
393
  msgstr ""
394
 
395
- #: admin.inc.php:410
396
  msgid "Style attributes are used for width and height."
397
  msgstr ""
398
 
399
- #: admin.inc.php:414
400
  msgid "HTML width and height attributes are used for width and height."
401
  msgstr ""
402
 
403
- #: admin.inc.php:418
404
  msgid "Use timthumb to generate thumbnails? "
405
  msgstr ""
406
 
407
- #: admin.inc.php:421
408
  msgid ""
409
  "If checked, <a href=\"http://www.binarymoon.co.uk/projects/timthumb/\" "
410
  "target=\"_blank\">timthumb</a> will be used to generate thumbnails"
411
  msgstr ""
412
 
413
- #: admin.inc.php:424
414
  msgid "Quality of thumbnails generated by timthumb:"
415
  msgstr ""
416
 
417
- #: admin.inc.php:427
418
  msgid ""
419
  "Enter values between 0 and 100 only. 100 is highest quality and the highest "
420
  "file size. Suggested maximum value is 95. Default is 75."
421
  msgstr ""
422
 
423
- #: admin.inc.php:430
424
  #, fuzzy
425
  msgid "Post thumbnail meta field name: "
426
  msgstr "Yazılışlara əvvəlcədən baxma kökləmələri:"
427
 
428
- #: admin.inc.php:433
429
  msgid ""
430
  "The value of this field should contain the image source and is set in the "
431
  "<em>Add New Post</em> screen"
432
  msgstr ""
433
 
434
- #: admin.inc.php:436
435
  #, fuzzy
436
  msgid ""
437
  "If the postmeta is not set, then should the plugin extract the first image "
@@ -441,7 +615,7 @@ msgstr ""
441
  "şəkilil çıxardacaq. Balaca kopyasını yaradılması ilə əlaqədar olaraq bu "
442
  "birinci dəfə şəkilin yükləməsini bir az uzada bilər. "
443
 
444
- #: admin.inc.php:439
445
  #, fuzzy
446
  msgid ""
447
  "This could slow down the loading of your page if the first image in the "
@@ -451,21 +625,21 @@ msgstr ""
451
  "şəkilil çıxardacaq. Balaca kopyasını yaradılması ilə əlaqədar olaraq bu "
452
  "birinci dəfə şəkilin yükləməsini bir az uzada bilər. "
453
 
454
- #: admin.inc.php:442
455
  msgid "Use default thumbnail? "
456
  msgstr ""
457
 
458
- #: admin.inc.php:445
459
  msgid ""
460
  "If checked, when no thumbnail is found, show a default one from the URL "
461
  "below. If not checked and no thumbnail is found, no image will be shown."
462
  msgstr ""
463
 
464
- #: admin.inc.php:448
465
  msgid "Default thumbnail: "
466
  msgstr ""
467
 
468
- #: admin.inc.php:452
469
  #, fuzzy
470
  msgid ""
471
  "The plugin will first check if the post contains a thumbnail. If it doesn't "
@@ -476,52 +650,54 @@ msgstr ""
476
  "əvvəlcədən verilmiş sərbəst meta-sahə üzrə). Agər əvvəlcədən baxış yoxdursan "
477
  "onda standard şəkil çıxarılacaq:"
478
 
479
- #: admin.inc.php:459
480
  msgid "Custom CSS"
481
  msgstr ""
482
 
483
- #: admin.inc.php:462
484
  msgid "Use default style included in the plugin?"
485
  msgstr ""
486
 
487
- #: admin.inc.php:465
488
  msgid ""
489
  "Top 10 includes a default style that makes your popular posts list to look "
490
- "pretty. Check the box above if you want to use this. You will need to select "
491
- "<strong>Thumbnails inline, before title</strong> in Output Options or in the "
492
- "Widget."
493
  msgstr ""
494
 
495
- #: admin.inc.php:468
 
 
 
 
 
 
 
 
 
 
 
 
 
496
  msgid "Custom CSS to add to header:"
497
  msgstr ""
498
 
499
- #: admin.inc.php:471
500
  msgid ""
501
  "Do not include <code>style</code> tags. Check out the <a href=\"http://"
502
  "wordpress.org/extend/plugins/top-10/faq/\" target=\"_blank\">FAQ</a> for "
503
  "available CSS classes to style."
504
  msgstr ""
505
 
506
- #: admin.inc.php:478 admin.inc.php:544
507
- #, fuzzy
508
- msgid "Save Options"
509
- msgstr "Opsiyalar:"
510
-
511
- #: admin.inc.php:479
512
  #, fuzzy
513
  msgid "Default Options"
514
  msgstr "Plaginin kökləmələri:"
515
 
516
- #: admin.inc.php:479
517
  msgid "Do you want to set options to Default?"
518
  msgstr "Siz plaginin kökləmələrin standard etmək lazımdır?"
519
 
520
- #: admin.inc.php:488
521
- msgid "Maintenance"
522
- msgstr ""
523
-
524
- #: admin.inc.php:492
525
  msgid ""
526
  "Over time the Daily Top 10 database grows in size, which reduces the "
527
  "performance of the plugin. Cleaning the database at regular intervals could "
@@ -529,65 +705,65 @@ msgid ""
529
  "will automatically delete entries older than 90 days."
530
  msgstr ""
531
 
532
- #: admin.inc.php:493
533
  msgid ""
534
  "Note: When scheduled maintenance is enabled, WordPress will run the cron job "
535
  "everytime the job is rescheduled (i.e. you change the settings below)."
536
  msgstr ""
537
 
538
- #: admin.inc.php:496
539
  msgid "Enable scheduled maintenance of daily tables:"
540
  msgstr ""
541
 
542
- #: admin.inc.php:500
543
  msgid "Time to run maintenance"
544
  msgstr ""
545
 
546
- #: admin.inc.php:501
547
  msgid "hrs"
548
  msgstr ""
549
 
550
- #: admin.inc.php:501
551
  msgid "min"
552
  msgstr ""
553
 
554
- #: admin.inc.php:503
555
  msgid "How often should the maintenance be run:"
556
  msgstr ""
557
 
558
- #: admin.inc.php:507
559
  msgid "Daily"
560
  msgstr ""
561
 
562
- #: admin.inc.php:511
563
  msgid "Weekly"
564
  msgstr ""
565
 
566
- #: admin.inc.php:515
567
  msgid "Fortnightly"
568
  msgstr ""
569
 
570
- #: admin.inc.php:519
571
  msgid "Monthly"
572
  msgstr ""
573
 
574
- #: admin.inc.php:528
575
  msgid "The cron job has been scheduled. Maintenance will run "
576
  msgstr ""
577
 
578
- #: admin.inc.php:533
579
  msgid "The cron job is missing. Please resave this page to add the job"
580
  msgstr ""
581
 
582
- #: admin.inc.php:538
583
  msgid "Maintenance is turned off"
584
  msgstr ""
585
 
586
- #: admin.inc.php:552
587
  msgid "Reset count"
588
  msgstr "Statistikanı sbros etmək"
589
 
590
- #: admin.inc.php:555
591
  msgid ""
592
  "This cannot be reversed. Make sure that your database has been backed up "
593
  "before proceeding"
@@ -595,304 +771,311 @@ msgstr ""
595
  "Statistikanın sbrosu geriya qaytarmaq olmaz. Sbros etməkdən qabaq əmin olun "
596
  "ki, Sizin məlumat bazasının kopiyası var!"
597
 
598
- #: admin.inc.php:558
599
  #, fuzzy
600
  msgid "Reset Popular Posts"
601
  msgstr "Populyar yazılar"
602
 
603
- #: admin.inc.php:558
604
  msgid "Are you sure you want to reset the popular posts?"
605
  msgstr ""
606
  "Siz əminsiniz ki, Populyar yazıları statistikanı sbros etmək istəyirsiniz?"
607
 
608
- #: admin.inc.php:559
609
  #, fuzzy
610
  msgid "Reset Daily Popular Posts"
611
  msgstr "Gündəlik Populyar Yazılar"
612
 
613
- #: admin.inc.php:559
614
  msgid "Are you sure you want to reset the daily popular posts?"
615
  msgstr ""
616
  "Siz əminsiniz ki, gündəlik populyar yazıları statistikanı sbros etmək "
617
  "istəyirsiniz?"
618
 
619
- #: admin.inc.php:560
620
  msgid "Clear duplicates"
621
  msgstr ""
622
 
623
- #: admin.inc.php:560
624
  msgid "This will delete the duplicate entries in the tables. Proceed?"
625
  msgstr "Cədvəldəki dublikat yazılar silinəcəklər. Davam edək?"
626
 
627
- #: admin.inc.php:612 admin.inc.php:1010
628
- msgid "Popular Posts"
629
- msgstr "Populyar yazılar"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
630
 
631
- #: admin.inc.php:614 admin.inc.php:713
 
 
 
 
632
  msgid "Daily Popular Posts"
633
  msgstr "Gündəlik Populyar Yazılar"
634
 
635
- #: admin.inc.php:645
636
  msgid "Support the development"
637
  msgstr "İnkişafı dəstək vermək"
638
 
639
- #: admin.inc.php:652
640
  msgid "Donation for Top 10"
641
  msgstr ""
642
 
643
- #: admin.inc.php:654
644
  msgid "Enter amount in USD: "
645
  msgstr "Miiqdarı USD ilə daxil et:"
646
 
647
- #: admin.inc.php:658
648
  #, fuzzy
649
  msgid "Send your donation to the author of Top 10"
650
  msgstr "Müəlifə ianə göndərin "
651
 
652
- #: admin.inc.php:665
653
  msgid "Follow me"
654
  msgstr ""
655
 
656
- #: admin.inc.php:675
657
  #, fuzzy
658
  msgid "Quick links"
659
  msgstr "Faydalı istenadlar"
660
 
661
- #: admin.inc.php:679
662
  #, fuzzy
663
  msgid "Top 10 plugin page"
664
  msgstr "plaginin səhifəsi"
665
 
666
- #: admin.inc.php:680
 
 
 
 
667
  msgid "Other plugins"
668
  msgstr "Digər plaginlər"
669
 
670
- #: admin.inc.php:681
671
  msgid "Ajay's blog"
672
  msgstr "Ajay-in blogu"
673
 
674
- #: admin.inc.php:682
675
  msgid "FAQ"
676
  msgstr ""
677
 
678
- #: admin.inc.php:683 top-10.php:1345
679
  msgid "Support"
680
  msgstr "Dəstək"
681
 
682
- #: admin.inc.php:684
683
  msgid "Reviews"
684
  msgstr ""
685
 
686
- #: admin.inc.php:704 admin.inc.php:707
687
- #, fuzzy
688
- msgid "Top 10 Settings"
689
- msgstr "Kökləmələr"
690
-
691
- #: admin.inc.php:704 admin.inc.php:1183
692
- msgid "Top 10"
693
- msgstr "Top 10 yazılar"
694
-
695
- #: admin.inc.php:710
696
  #, fuzzy
697
  msgid "Overall Popular Posts"
698
  msgstr "Bütün Populyar Yazılara Baxmaq"
699
 
700
- #: admin.inc.php:882
701
- #, php-format
702
- msgid "Results %1$s to %2$s of %3$s"
703
- msgstr ""
704
-
705
- #: admin.inc.php:886
706
- #, php-format
707
- msgid "Page %s of %s"
708
- msgstr ""
709
-
710
- #: admin.inc.php:898
711
- msgid "View Daily Popular Posts"
712
- msgstr "Gündəlik Populyar Yazılara Baxmaq"
713
-
714
- #: admin.inc.php:901 admin.inc.php:914
715
- msgid "Results per-page:"
716
- msgstr "Səhifə üzrə nəticələr:"
717
-
718
- #: admin.inc.php:911
719
- msgid "View Overall Popular Posts"
720
- msgstr "Bütün Populyar Yazılara Baxmaq"
721
-
722
- #: admin.inc.php:940
723
- msgid "Previous"
724
- msgstr "Əvvəlki"
725
-
726
- #: admin.inc.php:968
727
- msgid "Next"
728
- msgstr "Sonrakı"
729
-
730
- #: admin.inc.php:1011
731
- msgid "Daily Popular"
732
- msgstr "Gündəlik Populyar"
733
-
734
- #: admin.inc.php:1029
735
- #, fuzzy
736
- msgid "Total Views"
737
- msgstr "Ümümi/ Bu günkü baxış"
738
-
739
- #: admin.inc.php:1030
740
- #, fuzzy
741
- msgid "Today's Views"
742
- msgstr "Ümümi/ Bu günkü baxış"
743
-
744
- #: admin.inc.php:1031
745
- #, fuzzy
746
- msgid "Views"
747
- msgstr "Ümümi/ Bu günkü baxış"
748
-
749
- #: admin.inc.php:1217
750
- #, fuzzy
751
- msgid "Visit count:"
752
- msgstr "Statistikanı sbros etmək"
753
-
754
- #: admin.inc.php:1219
755
- msgid ""
756
- "Enter a number above to update the visit count. Leaving the above box blank "
757
- "will set the count to zero"
758
- msgstr ""
759
-
760
- #: admin.inc.php:1229
761
- msgid "Location of thumbnail:"
762
- msgstr ""
763
-
764
- #: admin.inc.php:1231
765
- msgid ""
766
- "Enter the full URL to the image (JPG, PNG or GIF) you'd like to use. This "
767
- "image will be used for the post. It will be resized to the thumbnail size "
768
- "set under Settings &raquo; Related Posts &raquo; Output Options"
769
- msgstr ""
770
-
771
- #: admin.inc.php:1232
772
- msgid "The URL above is saved in the meta field: "
773
- msgstr ""
774
 
775
- #: top-10.php:456
776
- msgid " by "
777
- msgstr ""
778
 
779
- #: top-10.php:550
780
  #, fuzzy
781
  msgid "Popular Posts [Top 10]"
782
  msgstr "Populyar yazılar"
783
 
784
- #: top-10.php:551
785
  #, fuzzy
786
  msgid "Display popular posts"
787
  msgstr "Gündəlik Populyar Yazılar"
788
 
789
- #: top-10.php:577
790
  msgid "Title"
791
  msgstr ""
792
 
793
- #: top-10.php:582
794
  msgid "No. of posts"
795
  msgstr ""
796
 
797
- #: top-10.php:587
798
  msgid "Overall"
799
  msgstr ""
800
 
801
- #: top-10.php:588
802
  msgid "Custom time period (Enter below)"
803
  msgstr ""
804
 
805
- #: top-10.php:593
806
- msgid "Range in number of days (applies only to custom option above)"
 
 
 
 
 
 
 
 
807
  msgstr ""
808
 
809
- #: top-10.php:598
810
  #, fuzzy
811
  msgid "Show count?"
812
  msgstr "Yazılış mətnini siyahıda göstərmək lazımdır?"
813
 
814
- #: top-10.php:603
815
  #, fuzzy
816
  msgid "Show excerpt?"
817
  msgstr "Yazılış mətnini siyahıda göstərmək lazımdır?"
818
 
819
- #: top-10.php:608
820
  #, fuzzy
821
  msgid "Show author?"
822
  msgstr "Yazılış mətnini siyahıda göstərmək lazımdır?"
823
 
824
- #: top-10.php:613
825
  #, fuzzy
826
  msgid "Show date?"
827
  msgstr "Yazılış mətnini siyahıda göstərmək lazımdır?"
828
 
829
- #: top-10.php:617
830
- #, fuzzy
831
- msgid "Thumbnail options"
832
- msgstr "Yazılışlara əvvəlcədən baxma kökləmələri:"
833
-
834
- #: top-10.php:619
835
  #, fuzzy
836
  msgid "Thumbnails inline, before title"
837
  msgstr "Mətni və əvvəlcədən baxışı göstərmək"
838
 
839
- #: top-10.php:620
840
  #, fuzzy
841
  msgid "Thumbnails inline, after title"
842
  msgstr "Mətni və əvvəlcədən baxışı göstərmək"
843
 
844
- #: top-10.php:621
845
  #, fuzzy
846
  msgid "Only thumbnails, no text"
847
  msgstr "Yalnız əvvəlcədən baxışı göstərmək, mətnsiz"
848
 
849
- #: top-10.php:622
850
  #, fuzzy
851
  msgid "No thumbnails, only text."
852
  msgstr "Yalnız mətini göstərmək, əvəlcədən baxışsız"
853
 
854
- #: top-10.php:627
855
  #, fuzzy
856
  msgid "Thumbnail height"
857
  msgstr "Yazılışlara əvvəlcədən baxma kökləmələri:"
858
 
859
- #: top-10.php:632
860
  #, fuzzy
861
  msgid "Thumbnail width"
862
  msgstr "Yazılışlara əvvəlcədən baxma kökləmələri:"
863
 
864
- #: top-10.php:772
 
 
 
 
 
 
 
 
 
865
  msgid "<h3>Popular Posts</h3>"
866
  msgstr "<h3>Populyar yazılar</h3>"
867
 
868
- #: top-10.php:773
869
  msgid "<h3>Daily Popular</h3>"
870
  msgstr "<h3>Gündəlik Populyar</h3>"
871
 
872
- #: top-10.php:774
873
  #, fuzzy
874
  msgid "No top posts yet"
875
  msgstr "10 populyar yazı statisticasını pozmaq"
876
 
877
- #: top-10.php:1245
878
  msgid "Once Weekly"
879
  msgstr ""
880
 
881
- #: top-10.php:1249
882
  msgid "Once Fortnightly"
883
  msgstr ""
884
 
885
- #: top-10.php:1253
886
  msgid "Once Monthly"
887
  msgstr ""
888
 
889
- #: top-10.php:1323
890
- msgid "Settings"
891
- msgstr "Kökləmələr"
892
 
893
- #: top-10.php:1346
894
- msgid "Donate"
895
- msgstr "İanə etmək"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
896
 
897
  #, fuzzy
898
  #~ msgid "This option uses JavaScript and will increase your page load time"
2
  msgstr ""
3
  "Project-Id-Version: Топ 10\n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2014-12-28 01:00-0000\n"
6
  "PO-Revision-Date: \n"
7
  "Last-Translator: Ajay D'Souza <me@ajaydsouza.com>\n"
8
  "Language-Team: Bohdan Zograf <bozograf@gmail.com>\n"
12
  "Content-Transfer-Encoding: 8bit\n"
13
  "X-Poedit-KeywordsList: _e;__\n"
14
  "X-Poedit-Basepath: ../\n"
15
+ "X-Generator: Poedit 1.7.1\n"
16
+ "X-Poedit-SourceCharset: UTF-8\n"
17
  "X-Poedit-SearchPath-0: .\n"
18
 
19
+ #: admin/admin-columns.php:30
20
+ #, fuzzy
21
+ msgid "Total Views"
22
+ msgstr "Ümümi/ Bu günkü baxış"
23
+
24
+ #: admin/admin-columns.php:33
25
+ #, fuzzy
26
+ msgid "Today's Views"
27
+ msgstr "Ümümi/ Bu günkü baxış"
28
+
29
+ #: admin/admin-columns.php:36
30
+ #, fuzzy
31
+ msgid "Views"
32
+ msgstr "Ümümi/ Bu günkü baxış"
33
+
34
+ #: admin/admin-dashboard.php:72
35
+ #, php-format
36
+ msgid "Results %1$s to %2$s of %3$s"
37
+ msgstr ""
38
+
39
+ #: admin/admin-dashboard.php:76
40
+ #, php-format
41
+ msgid "Page %s of %s"
42
+ msgstr ""
43
+
44
+ #: admin/admin-dashboard.php:88
45
+ msgid "View Daily Popular Posts"
46
+ msgstr "Gündəlik Populyar Yazılara Baxmaq"
47
+
48
+ #: admin/admin-dashboard.php:91 admin/admin-dashboard.php:104
49
+ msgid "Results per-page:"
50
+ msgstr "Səhifə üzrə nəticələr:"
51
+
52
+ #: admin/admin-dashboard.php:101
53
+ msgid "View Overall Popular Posts"
54
+ msgstr "Bütün Populyar Yazılara Baxmaq"
55
+
56
+ #: admin/admin-dashboard.php:130
57
+ msgid "Previous"
58
+ msgstr "Əvvəlki"
59
+
60
+ #: admin/admin-dashboard.php:158
61
+ msgid "Next"
62
+ msgstr "Sonrakı"
63
+
64
+ #: admin/admin-dashboard.php:200 admin/admin.php:1145
65
+ msgid "Popular Posts"
66
+ msgstr "Populyar yazılar"
67
+
68
+ #: admin/admin-dashboard.php:205
69
+ msgid "Daily Popular"
70
+ msgstr "Gündəlik Populyar"
71
+
72
+ #: admin/admin-metabox.php:38 admin/admin.php:1234
73
+ msgid "Top 10"
74
+ msgstr "Top 10 yazılar"
75
+
76
+ #: admin/admin-metabox.php:71
77
+ #, fuzzy
78
+ msgid "Visit count:"
79
+ msgstr "Statistikanı sbros etmək"
80
+
81
+ #: admin/admin-metabox.php:73
82
+ msgid ""
83
+ "Enter a number above to update the visit count. Leaving the above box blank "
84
+ "will set the count to zero"
85
+ msgstr ""
86
+
87
+ #: admin/admin-metabox.php:83
88
+ msgid "Location of thumbnail:"
89
+ msgstr ""
90
+
91
+ #: admin/admin-metabox.php:85
92
+ msgid ""
93
+ "Enter the full URL to the image (JPG, PNG or GIF) you'd like to use. This "
94
+ "image will be used for the post. It will be resized to the thumbnail size "
95
+ "set under Settings &raquo; Related Posts &raquo; Output Options"
96
+ msgstr ""
97
+
98
+ #: admin/admin-metabox.php:86
99
+ msgid "The URL above is saved in the meta field: "
100
+ msgstr ""
101
+
102
+ #: admin/admin.php:160
103
  msgid "Options saved successfully."
104
  msgstr "Opsiyalar müvəffəqiyyətlə yaddaşda saxlanılıb."
105
 
106
+ #: admin/admin.php:170
107
  msgid "Options set to Default."
108
  msgstr "Opsiyalalr standard opsiyasına qaytarılıb."
109
 
110
+ #: admin/admin.php:176
111
  msgid "Top 10 popular posts reset"
112
  msgstr "10 populyar yazı statisticasını pozmaq"
113
 
114
+ #: admin/admin.php:182
115
  msgid "Top 10 daily popular posts reset"
116
  msgstr "10 gündəlik populyar yazı statisticasını pozmaq"
117
 
118
+ #: admin/admin.php:189
119
  msgid "Duplicate rows cleaned from tables"
120
  msgstr ""
121
 
122
+ #: admin/admin.php:201
123
  msgid "Scheduled maintenance enabled / modified"
124
  msgstr ""
125
 
126
+ #: admin/admin.php:205
127
  msgid "Scheduled maintenance disabled"
128
  msgstr ""
129
 
130
+ #: admin/admin.php:244
131
+ msgid "Counts from selected sites have been imported."
 
132
  msgstr ""
133
 
134
+ #: admin/admin.php:269
135
+ msgid ""
136
+ "Selected tables have been deleted. Note that only imported tables have been "
137
+ "deleted."
138
  msgstr ""
139
 
140
+ #: admin/admin.php:277 admin/admin.php:1234 admin/admin.php:1237
141
+ #, fuzzy
142
+ msgid "Top 10 Settings"
143
+ msgstr "Kökləmələr"
144
 
145
+ #: admin/admin.php:289 admin/admin.php:311
146
+ msgid "General options"
147
  msgstr ""
148
 
149
+ #: admin/admin.php:290 admin/admin.php:373
150
+ msgid "Counter and tracker options"
151
  msgstr ""
152
 
153
+ #: admin/admin.php:291 admin/admin.php:478
154
+ msgid "Popular post list options"
 
 
 
155
  msgstr ""
156
 
157
+ #: admin/admin.php:292 admin/admin.php:681
158
+ #: includes/class-top-10-widget.php:103
159
+ #, fuzzy
160
+ msgid "Thumbnail options"
161
+ msgstr "Yazılışlara əvvəlcədən baxma kökləmələri:"
162
 
163
+ #: admin/admin.php:293
164
+ msgid "Custom styles"
165
+ msgstr ""
166
+
167
+ #: admin/admin.php:294 admin/admin.php:912
168
+ msgid "Maintenance"
169
  msgstr ""
170
 
171
+ #: admin/admin.php:310 admin/admin.php:372 admin/admin.php:477
172
+ #: admin/admin.php:680 admin/admin.php:843 admin/admin.php:911
173
+ #: admin/admin.php:975 admin/admin.php:996 admin/admin.php:1176
174
+ #: admin/admin.php:1196 admin/admin.php:1206
175
+ msgid "Click to toggle"
176
  msgstr ""
 
177
 
178
+ #: admin/admin.php:327
179
+ msgid "Enable Overall stats"
 
 
 
180
  msgstr ""
181
 
182
+ #: admin/admin.php:333
183
+ msgid "Enable Daily stats"
184
  msgstr ""
185
 
186
+ #: admin/admin.php:339
187
+ msgid "Cache fix:"
188
  msgstr ""
189
 
190
+ #: admin/admin.php:342
191
+ msgid ""
192
+ "This will try to prevent W3 Total Cache and other caching plugins from "
193
+ "caching the tracker script of the plugin. Try toggling this option in case "
194
+ "you find that your posts are not tracked."
195
  msgstr ""
196
 
197
+ #: admin/admin.php:346
198
+ msgid "Link to Top 10 plugin page"
199
  msgstr ""
200
 
201
+ #: admin/admin.php:349
202
+ #, fuzzy
203
  msgid ""
204
+ "A link to the plugin is added as an extra list item to the list of popular "
205
+ "posts"
 
206
  msgstr ""
207
+ "Popyulyar siyahının altnda ssılkanı qoymaq lazımdır? Plaginin müəllifi Siz "
208
+ "onu qoyduğunuz halda Sizə çox minnətdar olardı!"
209
 
210
+ #: admin/admin.php:354 admin/admin.php:459 admin/admin.php:662
211
+ #: admin/admin.php:825 admin/admin.php:891 admin/admin.php:968
212
+ #, fuzzy
213
+ msgid "Save Options"
214
+ msgstr "Opsiyalar:"
215
+
216
+ #: admin/admin.php:389
217
  #, fuzzy
218
  msgid "Display number of views on:"
219
  msgstr "Posta baxılmasının miqdarını göstərmək lazımdır?"
220
 
221
+ #: admin/admin.php:391
222
  msgid "Posts"
223
  msgstr ""
224
 
225
+ #: admin/admin.php:392
226
  #, fuzzy
227
  msgid "Pages"
228
  msgstr "Səhifə"
229
 
230
+ #: admin/admin.php:393
231
  msgid "Home page"
232
  msgstr ""
233
 
234
+ #: admin/admin.php:394
235
  msgid "Feeds"
236
  msgstr ""
237
 
238
+ #: admin/admin.php:395
239
  msgid "Category archives"
240
  msgstr ""
241
 
242
+ #: admin/admin.php:396
243
  msgid "Tag archives"
244
  msgstr ""
245
 
246
+ #: admin/admin.php:397
247
  msgid "Other archives"
248
  msgstr ""
249
 
250
+ #: admin/admin.php:398
251
  msgid ""
252
  "If you choose to disable this, please add <code>&lt;?php if "
253
  "( function_exists ( 'echo_tptn_post_count' ) ) echo_tptn_post_count(); ?&gt;"
254
  "</code> to your template file where you want it displayed"
255
  msgstr ""
256
 
257
+ #: admin/admin.php:402
258
+ #, fuzzy
259
+ msgid "Format to display the post views:"
260
+ msgstr "Miqdarı göstərən format:"
261
+
262
+ #: admin/admin.php:405
263
+ msgid ""
264
+ "Use <code>%totalcount%</code> to display the total count, <code>%dailycount"
265
+ "%</code> to display the daily count and <code>%overallcount%</code> to "
266
+ "display the overall count across all posts on the blog. e.g. the default "
267
+ "options displays <code>[Visited 123 times, 23 visits today]</code>"
268
+ msgstr ""
269
+
270
+ #: admin/admin.php:409
271
+ msgid "What do display when there are no visits?"
272
+ msgstr ""
273
+
274
+ #: admin/admin.php:412
275
+ msgid ""
276
+ "This text applies only when there are 0 hits for the post and it isn't a "
277
+ "single page. e.g. if you display post views on the homepage or archives then "
278
+ "this text will be used. To override this, just enter the same text as above "
279
+ "option."
280
+ msgstr ""
281
+
282
+ #: admin/admin.php:416
283
  msgid "Always display latest post count"
284
  msgstr ""
285
 
286
+ #: admin/admin.php:419
287
  msgid ""
288
  "This option uses JavaScript and will increase your page load time. Turn this "
289
  "off if you are not using caching plugins or are OK with displaying older "
290
  "cached counts."
291
  msgstr ""
292
 
293
+ #: admin/admin.php:423
294
  msgid "Track visits of authors on their own posts?"
295
  msgstr "Müəllif tərəfindən edilmiş yazıları nəzərə almaq lazımdır?"
296
 
297
+ #: admin/admin.php:426
298
  msgid ""
299
  "Disabling this option will stop authors visits tracked on their own posts"
300
  msgstr ""
301
 
302
+ #: admin/admin.php:430
303
  #, fuzzy
304
  msgid "Track visits of admins?"
305
  msgstr "Müəllif tərəfindən edilmiş yazıları nəzərə almaq lazımdır?"
306
 
307
+ #: admin/admin.php:433
308
  msgid "Disabling this option will stop admin visits being tracked."
309
  msgstr ""
310
 
311
+ #: admin/admin.php:437
312
  #, fuzzy
313
  msgid "Track visits of Editors?"
314
  msgstr "Müəllif tərəfindən edilmiş yazıları nəzərə almaq lazımdır?"
315
 
316
+ #: admin/admin.php:440
317
  msgid "Disabling this option will stop editor visits being tracked."
318
  msgstr ""
319
 
320
+ #: admin/admin.php:444
321
  msgid "Display page views on Posts and Pages in Admin"
322
  msgstr ""
323
 
324
+ #: admin/admin.php:447
325
  msgid ""
326
  "Adds three columns called Total Views, Today's Views and Views to All Posts "
327
  "and All Pages"
328
  msgstr ""
329
 
330
+ #: admin/admin.php:451
331
  #, fuzzy
332
  msgid "Show number of views to non-admins"
333
  msgstr "Səhifədə baxılmasının miqdarını göstərmək lazımdır?"
334
 
335
+ #: admin/admin.php:454
336
  msgid ""
337
  "If you disable this then non-admins won't see the above columns or view the "
338
  "independent pages with the top posts"
339
  msgstr ""
340
 
341
+ #: admin/admin.php:494
342
+ msgid "Number of popular posts to display: "
343
+ msgstr "Populyar postların miqdarının nümayişi:"
344
 
345
+ #: admin/admin.php:497
 
346
  msgid ""
347
+ "Maximum number of posts that will be displayed in the list. This option is "
348
+ "used if you don't specify the number of posts in the widget or shortcodes"
349
  msgstr ""
 
 
350
 
351
+ #: admin/admin.php:501
352
+ msgid "Daily popular contains top posts over:"
353
+ msgstr ""
 
354
 
355
+ #: admin/admin.php:503
356
+ msgid "day(s)"
357
+ msgstr ""
 
358
 
359
+ #: admin/admin.php:504
360
+ msgid "hour(s)"
361
+ msgstr ""
362
+
363
+ #: admin/admin.php:505
364
  msgid ""
365
+ "Think of Daily Popular has a custom date range applied as a global setting. "
366
+ "Instead of displaying popular posts from the past day, this setting lets you "
367
+ "display posts for as many days or as few hours as you want. This can be "
368
+ "overridden in the widget."
369
  msgstr ""
 
 
 
370
 
371
+ #: admin/admin.php:509
372
+ msgid "Post types to include in results (including custom post types)"
373
  msgstr ""
374
 
375
+ #: admin/admin.php:521
376
+ msgid "List of post or page IDs to exclude from the results: "
377
+ msgstr ""
378
+
379
+ #: admin/admin.php:523 admin/admin.php:630
380
+ msgid "Enter comma separated list of IDs. e.g. 188,320,500"
381
+ msgstr ""
382
+
383
+ #: admin/admin.php:527
384
+ msgid "Exclude Categories: "
385
+ msgstr ""
386
+
387
+ #: admin/admin.php:542
388
  msgid ""
389
+ "Comma separated list of category slugs. The field above has an autocomplete "
390
+ "so simply start typing in the starting letters and it will prompt you with "
391
+ "options"
 
392
  msgstr ""
393
 
394
+ #: admin/admin.php:547
395
  msgid "Title of popular posts: "
396
  msgstr "Populyar yazılarının başlığı:"
397
 
398
+ #: admin/admin.php:553
399
  msgid "Title of daily popular posts: "
400
  msgstr "Gündəlik populyual yazılışların başlığı:"
401
 
402
+ #: admin/admin.php:559
403
  msgid "When there are no posts, what should be shown?"
404
  msgstr ""
405
 
406
+ #: admin/admin.php:563
407
  msgid "Blank Output"
408
  msgstr ""
409
 
410
+ #: admin/admin.php:567
411
  msgid "Display:"
412
  msgstr ""
413
 
414
+ #: admin/admin.php:572
415
  msgid "Show post excerpt in list?"
416
  msgstr "Yazılış mətnini siyahıda göstərmək lazımdır?"
417
 
418
+ #: admin/admin.php:578
419
  msgid "Length of excerpt (in words): "
420
  msgstr "Çıxardılmış mətnin uzunluğu (söz ilə):"
421
 
422
+ #: admin/admin.php:584
423
  #, fuzzy
424
  msgid "Show post author in list?"
425
  msgstr "Yazılış mətnini siyahıda göstərmək lazımdır?"
426
 
427
+ #: admin/admin.php:590
428
  #, fuzzy
429
  msgid "Show post date in list?"
430
  msgstr "Yazılış mətnini siyahıda göstərmək lazımdır?"
431
 
432
+ #: admin/admin.php:596
433
  msgid "Limit post title length (in characters)"
434
  msgstr ""
435
 
436
+ #: admin/admin.php:602
437
  #, fuzzy
438
  msgid "Show view count in list?"
439
  msgstr "Yazılış mətnini siyahıda göstərmək lazımdır?"
440
 
441
+ #: admin/admin.php:608
442
  msgid "Always display latest post count in the daily lists?"
443
  msgstr ""
444
 
445
+ #: admin/admin.php:611
446
  msgid ""
447
  "This option uses JavaScript and will increase your page load time. When you "
448
  "enable this option, the daily widget will not use the options set there, but "
449
  "options will need to be set on this screen."
450
  msgstr ""
451
 
452
+ #: admin/admin.php:615
453
  msgid "Open links in new window"
454
  msgstr ""
455
 
456
+ #: admin/admin.php:621
457
  msgid "Add nofollow attribute to links in the list"
458
  msgstr ""
459
 
460
+ #: admin/admin.php:627
461
  msgid "Exclude display of related posts on these posts / pages"
462
  msgstr ""
463
 
464
+ #: admin/admin.php:634
465
  #, fuzzy
466
  msgid "Customise the list HTML"
467
  msgstr "Suiyahı formasının kökləmələri:"
468
 
469
+ #: admin/admin.php:637
470
  msgid "HTML to display before the list of posts: "
471
  msgstr "Siyahıdan qabaq istifadə edilən HTML-teqi:"
472
 
473
+ #: admin/admin.php:643
474
  msgid "HTML to display before each list item: "
475
  msgstr "Siyahıda hər maddənin qabağında istifadə edilən HTML-teqi:"
476
 
477
+ #: admin/admin.php:649
478
  msgid "HTML to display after each list item: "
479
  msgstr "Siyahıda hər maddədən sonra istifadə edilən HTML-teqi: "
480
 
481
+ #: admin/admin.php:655
482
  msgid "HTML to display after the list of posts: "
483
  msgstr "Siyahıdan sonra istifadə edilən HTML-teqi:"
484
 
485
+ #: admin/admin.php:696
 
 
 
 
486
  msgid "Location of post thumbnail:"
487
  msgstr ""
488
 
489
+ #: admin/admin.php:700
490
  #, fuzzy
491
  msgid "Display thumbnails inline with posts, before title"
492
  msgstr "Mətni və əvvəlcədən baxışı göstərmək"
493
 
494
+ #: admin/admin.php:705
495
  #, fuzzy
496
  msgid "Display thumbnails inline with posts, after title"
497
  msgstr "Mətni və əvvəlcədən baxışı göstərmək"
498
 
499
+ #: admin/admin.php:710
500
  msgid "Display only thumbnails, no text"
501
  msgstr "Yalnız əvvəlcədən baxışı göstərmək, mətnsiz"
502
 
503
+ #: admin/admin.php:715
504
  msgid "Do not display thumbnails, only text."
505
  msgstr "Yalnız mətini göstərmək, əvəlcədən baxışsız"
506
 
507
+ #: admin/admin.php:719
508
+ msgid "Thumbnail size:"
509
+ msgstr ""
510
+
511
+ #: admin/admin.php:743
512
+ msgid "Custom size"
513
+ msgstr ""
514
+
515
+ #: admin/admin.php:746
516
+ msgid ""
517
+ "You can choose from existing image sizes above or create a custom size. If "
518
+ "you have chosen Custom size above, then enter the width, height and crop "
519
+ "settings below. For best results, use a cropped image."
520
+ msgstr ""
521
+
522
+ #: admin/admin.php:747
523
+ msgid ""
524
+ "If you change the width and/or height below, existing images will not be "
525
+ "automatically resized."
526
+ msgstr ""
527
+
528
+ #: admin/admin.php:748
529
+ #, php-format
530
+ msgid ""
531
+ "I recommend using <a href='%s' target='_blank'>Force Regenerate Thumbnails</"
532
+ "a> or <a href='%s' target='_blank'>Force Regenerate Thumbnails</a> to "
533
+ "regenerate all image sizes."
534
+ msgstr ""
535
+
536
+ #: admin/admin.php:751
537
+ msgid "Width of custom thumbnail:"
538
  msgstr ""
539
 
540
+ #: admin/admin.php:756
541
+ msgid "Height of custom thumbnail"
542
+ msgstr ""
543
+
544
+ #: admin/admin.php:761
545
+ msgid "Crop mode:"
546
+ msgstr ""
547
+
548
+ #: admin/admin.php:765
549
+ msgid ""
550
+ "By default, thumbnails will be proportionately cropped. Check this box to "
551
+ "hard crop the thumbnails."
552
  msgstr ""
553
 
554
+ #: admin/admin.php:766
555
+ #, php-format
556
+ msgid "<a href='%s' target='_blank'>Difference between soft and hard crop</a>"
557
+ msgstr ""
558
+
559
+ #: admin/admin.php:768
560
+ msgid ""
561
+ "Since you're using the default styles set under the Custom Styles section, "
562
+ "the width and height is fixed at 65px and crop mode is enabled."
563
+ msgstr ""
564
+
565
+ #: admin/admin.php:773
566
  msgid "Style attributes / Width and Height HTML attributes:"
567
  msgstr ""
568
 
569
+ #: admin/admin.php:777
570
  msgid "Style attributes are used for width and height."
571
  msgstr ""
572
 
573
+ #: admin/admin.php:782
574
  msgid "HTML width and height attributes are used for width and height."
575
  msgstr ""
576
 
577
+ #: admin/admin.php:786
578
  msgid "Use timthumb to generate thumbnails? "
579
  msgstr ""
580
 
581
+ #: admin/admin.php:789
582
  msgid ""
583
  "If checked, <a href=\"http://www.binarymoon.co.uk/projects/timthumb/\" "
584
  "target=\"_blank\">timthumb</a> will be used to generate thumbnails"
585
  msgstr ""
586
 
587
+ #: admin/admin.php:792
588
  msgid "Quality of thumbnails generated by timthumb:"
589
  msgstr ""
590
 
591
+ #: admin/admin.php:795
592
  msgid ""
593
  "Enter values between 0 and 100 only. 100 is highest quality and the highest "
594
  "file size. Suggested maximum value is 95. Default is 75."
595
  msgstr ""
596
 
597
+ #: admin/admin.php:798
598
  #, fuzzy
599
  msgid "Post thumbnail meta field name: "
600
  msgstr "Yazılışlara əvvəlcədən baxma kökləmələri:"
601
 
602
+ #: admin/admin.php:801
603
  msgid ""
604
  "The value of this field should contain the image source and is set in the "
605
  "<em>Add New Post</em> screen"
606
  msgstr ""
607
 
608
+ #: admin/admin.php:804
609
  #, fuzzy
610
  msgid ""
611
  "If the postmeta is not set, then should the plugin extract the first image "
615
  "şəkilil çıxardacaq. Balaca kopyasını yaradılması ilə əlaqədar olaraq bu "
616
  "birinci dəfə şəkilin yükləməsini bir az uzada bilər. "
617
 
618
+ #: admin/admin.php:807
619
  #, fuzzy
620
  msgid ""
621
  "This could slow down the loading of your page if the first image in the "
625
  "şəkilil çıxardacaq. Balaca kopyasını yaradılması ilə əlaqədar olaraq bu "
626
  "birinci dəfə şəkilin yükləməsini bir az uzada bilər. "
627
 
628
+ #: admin/admin.php:810
629
  msgid "Use default thumbnail? "
630
  msgstr ""
631
 
632
+ #: admin/admin.php:813
633
  msgid ""
634
  "If checked, when no thumbnail is found, show a default one from the URL "
635
  "below. If not checked and no thumbnail is found, no image will be shown."
636
  msgstr ""
637
 
638
+ #: admin/admin.php:816
639
  msgid "Default thumbnail: "
640
  msgstr ""
641
 
642
+ #: admin/admin.php:820
643
  #, fuzzy
644
  msgid ""
645
  "The plugin will first check if the post contains a thumbnail. If it doesn't "
650
  "əvvəlcədən verilmiş sərbəst meta-sahə üzrə). Agər əvvəlcədən baxış yoxdursan "
651
  "onda standard şəkil çıxarılacaq:"
652
 
653
+ #: admin/admin.php:844
654
  msgid "Custom CSS"
655
  msgstr ""
656
 
657
+ #: admin/admin.php:859
658
  msgid "Use default style included in the plugin?"
659
  msgstr ""
660
 
661
+ #: admin/admin.php:862
662
  msgid ""
663
  "Top 10 includes a default style that makes your popular posts list to look "
664
+ "beautiful. Check the box above if you want to use this."
 
 
665
  msgstr ""
666
 
667
+ #: admin/admin.php:863
668
+ msgid ""
669
+ "Enabling this option will turn on the thumbnails and set their width and "
670
+ "height to 65px. It will also turn off the display of the author, excerpt and "
671
+ "date if already enabled. Disabling this option will not revert any settings."
672
+ msgstr ""
673
+
674
+ #: admin/admin.php:864
675
+ #, php-format
676
+ msgid ""
677
+ "You can view the default style at <a href=\"%1$s\" target=\"_blank\">%1$s</a>"
678
+ msgstr ""
679
+
680
+ #: admin/admin.php:867
681
  msgid "Custom CSS to add to header:"
682
  msgstr ""
683
 
684
+ #: admin/admin.php:872
685
  msgid ""
686
  "Do not include <code>style</code> tags. Check out the <a href=\"http://"
687
  "wordpress.org/extend/plugins/top-10/faq/\" target=\"_blank\">FAQ</a> for "
688
  "available CSS classes to style."
689
  msgstr ""
690
 
691
+ #: admin/admin.php:892
 
 
 
 
 
692
  #, fuzzy
693
  msgid "Default Options"
694
  msgstr "Plaginin kökləmələri:"
695
 
696
+ #: admin/admin.php:892
697
  msgid "Do you want to set options to Default?"
698
  msgstr "Siz plaginin kökləmələrin standard etmək lazımdır?"
699
 
700
+ #: admin/admin.php:916
 
 
 
 
701
  msgid ""
702
  "Over time the Daily Top 10 database grows in size, which reduces the "
703
  "performance of the plugin. Cleaning the database at regular intervals could "
705
  "will automatically delete entries older than 90 days."
706
  msgstr ""
707
 
708
+ #: admin/admin.php:917
709
  msgid ""
710
  "Note: When scheduled maintenance is enabled, WordPress will run the cron job "
711
  "everytime the job is rescheduled (i.e. you change the settings below)."
712
  msgstr ""
713
 
714
+ #: admin/admin.php:920
715
  msgid "Enable scheduled maintenance of daily tables:"
716
  msgstr ""
717
 
718
+ #: admin/admin.php:924
719
  msgid "Time to run maintenance"
720
  msgstr ""
721
 
722
+ #: admin/admin.php:925
723
  msgid "hrs"
724
  msgstr ""
725
 
726
+ #: admin/admin.php:925
727
  msgid "min"
728
  msgstr ""
729
 
730
+ #: admin/admin.php:927
731
  msgid "How often should the maintenance be run:"
732
  msgstr ""
733
 
734
+ #: admin/admin.php:931
735
  msgid "Daily"
736
  msgstr ""
737
 
738
+ #: admin/admin.php:935
739
  msgid "Weekly"
740
  msgstr ""
741
 
742
+ #: admin/admin.php:939
743
  msgid "Fortnightly"
744
  msgstr ""
745
 
746
+ #: admin/admin.php:943
747
  msgid "Monthly"
748
  msgstr ""
749
 
750
+ #: admin/admin.php:952
751
  msgid "The cron job has been scheduled. Maintenance will run "
752
  msgstr ""
753
 
754
+ #: admin/admin.php:957
755
  msgid "The cron job is missing. Please resave this page to add the job"
756
  msgstr ""
757
 
758
+ #: admin/admin.php:962
759
  msgid "Maintenance is turned off"
760
  msgstr ""
761
 
762
+ #: admin/admin.php:976
763
  msgid "Reset count"
764
  msgstr "Statistikanı sbros etmək"
765
 
766
+ #: admin/admin.php:979
767
  msgid ""
768
  "This cannot be reversed. Make sure that your database has been backed up "
769
  "before proceeding"
771
  "Statistikanın sbrosu geriya qaytarmaq olmaz. Sbros etməkdən qabaq əmin olun "
772
  "ki, Sizin məlumat bazasının kopiyası var!"
773
 
774
+ #: admin/admin.php:982
775
  #, fuzzy
776
  msgid "Reset Popular Posts"
777
  msgstr "Populyar yazılar"
778
 
779
+ #: admin/admin.php:982
780
  msgid "Are you sure you want to reset the popular posts?"
781
  msgstr ""
782
  "Siz əminsiniz ki, Populyar yazıları statistikanı sbros etmək istəyirsiniz?"
783
 
784
+ #: admin/admin.php:983
785
  #, fuzzy
786
  msgid "Reset Daily Popular Posts"
787
  msgstr "Gündəlik Populyar Yazılar"
788
 
789
+ #: admin/admin.php:983
790
  msgid "Are you sure you want to reset the daily popular posts?"
791
  msgstr ""
792
  "Siz əminsiniz ki, gündəlik populyar yazıları statistikanı sbros etmək "
793
  "istəyirsiniz?"
794
 
795
+ #: admin/admin.php:984
796
  msgid "Clear duplicates"
797
  msgstr ""
798
 
799
+ #: admin/admin.php:984
800
  msgid "This will delete the duplicate entries in the tables. Proceed?"
801
  msgstr "Cədvəldəki dublikat yazılar silinəcəklər. Davam edək?"
802
 
803
+ #: admin/admin.php:997
804
+ msgid "WordPress Multisite: Migrate Top 10 v1.x counts to 2.x"
805
+ msgstr ""
806
+
807
+ #: admin/admin.php:1000
808
+ msgid ""
809
+ "If you've been using Top 10 v1.x on multisite, you would have needed to "
810
+ "activate the plugin independently for each site. This would have resulted in "
811
+ "two tables being created for each site in the network. Top 10 v2.x onwards "
812
+ "uses only a single table to record the count, keeping your database clean. "
813
+ "You can use this tool to import the recorded counts from v1.x tables to the "
814
+ "new v2.x table format."
815
+ msgstr ""
816
+
817
+ #: admin/admin.php:1003
818
+ msgid ""
819
+ "If you do not see any tables below, then it means that either all data has "
820
+ "already been imported or no relevant information has been found."
821
+ msgstr ""
822
+
823
+ #: admin/admin.php:1037
824
+ msgid "Blog ID"
825
+ msgstr ""
826
+
827
+ #: admin/admin.php:1040
828
+ msgid "Status"
829
+ msgstr ""
830
+
831
+ #: admin/admin.php:1043
832
+ msgid "Select to import"
833
+ msgstr ""
834
+
835
+ #: admin/admin.php:1053
836
+ msgid "Blog #"
837
+ msgstr ""
838
+
839
+ #: admin/admin.php:1063
840
+ msgid "Not imported"
841
+ msgstr ""
842
+
843
+ #: admin/admin.php:1067
844
+ msgid "Imported"
845
+ msgstr ""
846
+
847
+ #: admin/admin.php:1088
848
+ msgid "Begin import"
849
+ msgstr ""
850
+
851
+ #: admin/admin.php:1089
852
+ msgid "Delete selected tables"
853
+ msgstr ""
854
 
855
+ #: admin/admin.php:1090
856
+ msgid "Delete all imported tables"
857
+ msgstr ""
858
+
859
+ #: admin/admin.php:1147 admin/admin.php:1243
860
  msgid "Daily Popular Posts"
861
  msgstr "Gündəlik Populyar Yazılar"
862
 
863
+ #: admin/admin.php:1177
864
  msgid "Support the development"
865
  msgstr "İnkişafı dəstək vermək"
866
 
867
+ #: admin/admin.php:1184
868
  msgid "Donation for Top 10"
869
  msgstr ""
870
 
871
+ #: admin/admin.php:1186
872
  msgid "Enter amount in USD: "
873
  msgstr "Miiqdarı USD ilə daxil et:"
874
 
875
+ #: admin/admin.php:1190
876
  #, fuzzy
877
  msgid "Send your donation to the author of Top 10"
878
  msgstr "Müəlifə ianə göndərin "
879
 
880
+ #: admin/admin.php:1197
881
  msgid "Follow me"
882
  msgstr ""
883
 
884
+ #: admin/admin.php:1207
885
  #, fuzzy
886
  msgid "Quick links"
887
  msgstr "Faydalı istenadlar"
888
 
889
+ #: admin/admin.php:1211
890
  #, fuzzy
891
  msgid "Top 10 plugin page"
892
  msgstr "plaginin səhifəsi"
893
 
894
+ #: admin/admin.php:1212
895
+ msgid "Top 10 Github page"
896
+ msgstr ""
897
+
898
+ #: admin/admin.php:1213
899
  msgid "Other plugins"
900
  msgstr "Digər plaginlər"
901
 
902
+ #: admin/admin.php:1214
903
  msgid "Ajay's blog"
904
  msgstr "Ajay-in blogu"
905
 
906
+ #: admin/admin.php:1215
907
  msgid "FAQ"
908
  msgstr ""
909
 
910
+ #: admin/admin.php:1216 admin/admin.php:1374
911
  msgid "Support"
912
  msgstr "Dəstək"
913
 
914
+ #: admin/admin.php:1217
915
  msgid "Reviews"
916
  msgstr ""
917
 
918
+ #: admin/admin.php:1240
 
 
 
 
 
 
 
 
 
919
  #, fuzzy
920
  msgid "Overall Popular Posts"
921
  msgstr "Bütün Populyar Yazılara Baxmaq"
922
 
923
+ #: admin/admin.php:1351
924
+ msgid "Settings"
925
+ msgstr "Kökləmələr"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
926
 
927
+ #: admin/admin.php:1375
928
+ msgid "Donate"
929
+ msgstr "İanə etmək"
930
 
931
+ #: includes/class-top-10-widget.php:31
932
  #, fuzzy
933
  msgid "Popular Posts [Top 10]"
934
  msgstr "Populyar yazılar"
935
 
936
+ #: includes/class-top-10-widget.php:32
937
  #, fuzzy
938
  msgid "Display popular posts"
939
  msgstr "Gündəlik Populyar Yazılar"
940
 
941
+ #: includes/class-top-10-widget.php:59
942
  msgid "Title"
943
  msgstr ""
944
 
945
+ #: includes/class-top-10-widget.php:64
946
  msgid "No. of posts"
947
  msgstr ""
948
 
949
+ #: includes/class-top-10-widget.php:69
950
  msgid "Overall"
951
  msgstr ""
952
 
953
+ #: includes/class-top-10-widget.php:70
954
  msgid "Custom time period (Enter below)"
955
  msgstr ""
956
 
957
+ #: includes/class-top-10-widget.php:74
958
+ msgid "In days and hours (applies only to custom option above)"
959
+ msgstr ""
960
+
961
+ #: includes/class-top-10-widget.php:76
962
+ msgid "days"
963
+ msgstr ""
964
+
965
+ #: includes/class-top-10-widget.php:79
966
+ msgid "hours"
967
  msgstr ""
968
 
969
+ #: includes/class-top-10-widget.php:84
970
  #, fuzzy
971
  msgid "Show count?"
972
  msgstr "Yazılış mətnini siyahıda göstərmək lazımdır?"
973
 
974
+ #: includes/class-top-10-widget.php:89
975
  #, fuzzy
976
  msgid "Show excerpt?"
977
  msgstr "Yazılış mətnini siyahıda göstərmək lazımdır?"
978
 
979
+ #: includes/class-top-10-widget.php:94
980
  #, fuzzy
981
  msgid "Show author?"
982
  msgstr "Yazılış mətnini siyahıda göstərmək lazımdır?"
983
 
984
+ #: includes/class-top-10-widget.php:99
985
  #, fuzzy
986
  msgid "Show date?"
987
  msgstr "Yazılış mətnini siyahıda göstərmək lazımdır?"
988
 
989
+ #: includes/class-top-10-widget.php:105
 
 
 
 
 
990
  #, fuzzy
991
  msgid "Thumbnails inline, before title"
992
  msgstr "Mətni və əvvəlcədən baxışı göstərmək"
993
 
994
+ #: includes/class-top-10-widget.php:106
995
  #, fuzzy
996
  msgid "Thumbnails inline, after title"
997
  msgstr "Mətni və əvvəlcədən baxışı göstərmək"
998
 
999
+ #: includes/class-top-10-widget.php:107
1000
  #, fuzzy
1001
  msgid "Only thumbnails, no text"
1002
  msgstr "Yalnız əvvəlcədən baxışı göstərmək, mətnsiz"
1003
 
1004
+ #: includes/class-top-10-widget.php:108
1005
  #, fuzzy
1006
  msgid "No thumbnails, only text."
1007
  msgstr "Yalnız mətini göstərmək, əvəlcədən baxışsız"
1008
 
1009
+ #: includes/class-top-10-widget.php:113
1010
  #, fuzzy
1011
  msgid "Thumbnail height"
1012
  msgstr "Yazılışlara əvvəlcədən baxma kökləmələri:"
1013
 
1014
+ #: includes/class-top-10-widget.php:118
1015
  #, fuzzy
1016
  msgid "Thumbnail width"
1017
  msgstr "Yazılışlara əvvəlcədən baxma kökləmələri:"
1018
 
1019
+ #: top-10.php:866
1020
+ msgid " by "
1021
+ msgstr ""
1022
+
1023
+ #: top-10.php:917
1024
+ #, php-format
1025
+ msgid "Popular posts by <a href=\"%s\" rel=\"nofollow\" %s>Top 10 plugin</a>"
1026
+ msgstr ""
1027
+
1028
+ #: top-10.php:1016
1029
  msgid "<h3>Popular Posts</h3>"
1030
  msgstr "<h3>Populyar yazılar</h3>"
1031
 
1032
+ #: top-10.php:1017
1033
  msgid "<h3>Daily Popular</h3>"
1034
  msgstr "<h3>Gündəlik Populyar</h3>"
1035
 
1036
+ #: top-10.php:1018
1037
  #, fuzzy
1038
  msgid "No top posts yet"
1039
  msgstr "10 populyar yazı statisticasını pozmaq"
1040
 
1041
+ #: top-10.php:1668
1042
  msgid "Once Weekly"
1043
  msgstr ""
1044
 
1045
+ #: top-10.php:1672
1046
  msgid "Once Fortnightly"
1047
  msgstr ""
1048
 
1049
+ #: top-10.php:1676
1050
  msgid "Once Monthly"
1051
  msgstr ""
1052
 
1053
+ #: top-10.php:1680
1054
+ msgid "Once quarterly"
1055
+ msgstr ""
1056
 
1057
+ #~ msgid "Daily Popular should contain views of how many days? "
1058
+ #~ msgstr ""
1059
+ #~ "Gündəlik Populyar yazılar neçə gün ərzində baxılışı özündə əks "
1060
+ #~ "etdirməlidir?"
1061
+
1062
+ #, fuzzy
1063
+ #~ msgid "Output options"
1064
+ #~ msgstr "Plaginin kökləmələri:"
1065
+
1066
+ #, fuzzy
1067
+ #~ msgid ""
1068
+ #~ "Use <code>%totalcount%</code> to display the total count, <code>"
1069
+ #~ "%dailycount%</code> to display the daily count and <code>%overallcount%</"
1070
+ #~ "code> to display the overall count across all posts on the blog. e.g. the "
1071
+ #~ "default options displays <code>(Visited 123 times, 23 visits today)</code>"
1072
+ #~ msgstr ""
1073
+ #~ "Ümumi baxılma sayının çıxartası üçün <code>%totalcount%</code>-dan "
1074
+ #~ "istifadə edin, <code>%dailycount%</code> - gün ərzində baxılmış. "
1075
+ #~ "Məsələn: <code>(Yazı 123 dəfə baxılıb, bu gün 23 dəfə baxılmışdır)</code>."
1076
+
1077
+ #~ msgid "Post thumbnail options:"
1078
+ #~ msgstr "Yazılışlara əvvəlcədən baxma kökləmələri:"
1079
 
1080
  #, fuzzy
1081
  #~ msgid "This option uses JavaScript and will increase your page load time"
languages/tptn-be_BY.mo CHANGED
Binary file
languages/tptn-be_BY.po CHANGED
@@ -2,7 +2,7 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Топ 10\n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2014-05-21 21:29-0000\n"
6
  "PO-Revision-Date: \n"
7
  "Last-Translator: Ajay D'Souza <me@ajaydsouza.com>\n"
8
  "Language-Team: FatCow <zhr@tut.by>\n"
@@ -12,501 +12,676 @@ msgstr ""
12
  "Content-Transfer-Encoding: 8bit\n"
13
  "X-Poedit-KeywordsList: _e;__\n"
14
  "X-Poedit-Basepath: ../\n"
15
- "X-Generator: Poedit 1.6.5\n"
 
16
  "X-Poedit-SearchPath-0: .\n"
17
 
18
- #: admin.inc.php:115
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
19
  msgid "Options saved successfully."
20
  msgstr "Налады захаваны."
21
 
22
- #: admin.inc.php:125
23
  msgid "Options set to Default."
24
  msgstr "Налады скінуты."
25
 
26
- #: admin.inc.php:131
27
  #, fuzzy
28
  msgid "Top 10 popular posts reset"
29
  msgstr "Загаловак блока Папулярных запісаў:"
30
 
31
- #: admin.inc.php:137
32
  #, fuzzy
33
  msgid "Top 10 daily popular posts reset"
34
  msgstr "Загаловак блока Папулярных сёння запісаў:"
35
 
36
- #: admin.inc.php:144
37
  msgid "Duplicate rows cleaned from tables"
38
  msgstr ""
39
 
40
- #: admin.inc.php:156
41
  msgid "Scheduled maintenance enabled / modified"
42
  msgstr ""
43
 
44
- #: admin.inc.php:160
45
  msgid "Scheduled maintenance disabled"
46
  msgstr ""
47
 
48
- #: admin.inc.php:175 admin.inc.php:297 admin.inc.php:458 admin.inc.php:487
49
- #: admin.inc.php:551 admin.inc.php:644 admin.inc.php:664 admin.inc.php:674
50
- msgid "Click to toggle"
51
  msgstr ""
52
 
53
- #: admin.inc.php:176
54
- msgid "General options"
 
 
55
  msgstr ""
56
 
57
- #: admin.inc.php:180
58
- msgid "Enable Overall stats"
 
 
 
 
 
59
  msgstr ""
60
 
61
- #: admin.inc.php:185
62
- msgid "Enable Daily stats"
63
  msgstr ""
64
 
65
- #: admin.inc.php:190
66
- msgid "W3 Total Cache fix:"
67
  msgstr ""
68
 
69
- #: admin.inc.php:192
70
- msgid ""
71
- "This will try to prevent W3 Total Cache from caching the addcount script of "
72
- "the plugin. Try toggling this option in case you find that our posts are not "
73
- "tracked."
74
  msgstr ""
75
 
76
- #: admin.inc.php:196
77
- msgid "Number of popular posts to display: "
78
- msgstr "Колькасць Папулярных запісаў у спісе:"
79
 
80
- #: admin.inc.php:198
81
- msgid ""
82
- "Maximum number of posts that will be displayed in the list. This option is "
83
- "used if you don't specify the number of posts in the widget or shortcodes"
84
  msgstr ""
85
 
86
- #: admin.inc.php:202
87
- msgid "Daily Popular should contain views of how many days? "
88
- msgstr "За колькі дзён лічыць прагляды для запісаў, Папулярных сёння?"
 
 
 
89
 
90
- #: admin.inc.php:204
91
- msgid ""
92
- "Instead of displaying popular posts fromt he past day, this setting lets you "
93
- "display posts for as many days as you want. This can be overridden in the "
94
- "widget."
95
  msgstr ""
96
 
97
- #: admin.inc.php:207
98
- msgid "Post types to include in results (including custom post types)"
99
  msgstr ""
100
 
101
- #: admin.inc.php:218
102
- msgid "List of post or page IDs to exclude from the results: "
103
  msgstr ""
104
 
105
- #: admin.inc.php:220 admin.inc.php:361
106
- msgid "Enter comma separated list of IDs. e.g. 188,320,500"
 
 
 
107
  msgstr ""
108
 
109
- #: admin.inc.php:224
110
- msgid "Exclude Categories: "
111
  msgstr ""
112
 
113
- #: admin.inc.php:239
 
114
  msgid ""
115
- "Comma separated list of category slugs. The field above has an autocomplete "
116
- "so simply start typing in the starting letters and it will prompt you with "
117
- "options"
118
  msgstr ""
 
 
119
 
120
- #: admin.inc.php:244
 
 
 
 
 
 
121
  #, fuzzy
122
  msgid "Display number of views on:"
123
  msgstr "Паказваць колькасць праглядаў запісу ў яе \"целе\"?"
124
 
125
- #: admin.inc.php:246
126
  msgid "Posts"
127
  msgstr ""
128
 
129
- #: admin.inc.php:247
130
  #, fuzzy
131
  msgid "Pages"
132
  msgstr "Старонка"
133
 
134
- #: admin.inc.php:248
135
  msgid "Home page"
136
  msgstr ""
137
 
138
- #: admin.inc.php:249
139
  msgid "Feeds"
140
  msgstr ""
141
 
142
- #: admin.inc.php:250
143
  msgid "Category archives"
144
  msgstr ""
145
 
146
- #: admin.inc.php:251
147
  msgid "Tag archives"
148
  msgstr ""
149
 
150
- #: admin.inc.php:252
151
  msgid "Other archives"
152
  msgstr ""
153
 
154
- #: admin.inc.php:253
155
  msgid ""
156
  "If you choose to disable this, please add <code>&lt;?php if "
157
  "( function_exists ( 'echo_tptn_post_count' ) ) echo_tptn_post_count(); ?&gt;"
158
  "</code> to your template file where you want it displayed"
159
  msgstr ""
160
 
161
- #: admin.inc.php:256
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
162
  msgid "Always display latest post count"
163
  msgstr ""
164
 
165
- #: admin.inc.php:258
166
  msgid ""
167
  "This option uses JavaScript and will increase your page load time. Turn this "
168
  "off if you are not using caching plugins or are OK with displaying older "
169
  "cached counts."
170
  msgstr ""
171
 
172
- #: admin.inc.php:261
173
  msgid "Track visits of authors on their own posts?"
174
  msgstr "Улічваць прагляды запісаў, зробленыя іх жа аўтарамі?"
175
 
176
- #: admin.inc.php:263
177
  msgid ""
178
  "Disabling this option will stop authors visits tracked on their own posts"
179
  msgstr ""
180
 
181
- #: admin.inc.php:266
182
  #, fuzzy
183
  msgid "Track visits of admins?"
184
  msgstr "Улічваць прагляды запісаў, зробленыя іх жа аўтарамі?"
185
 
186
- #: admin.inc.php:268
187
  msgid "Disabling this option will stop admin visits being tracked."
188
  msgstr ""
189
 
190
- #: admin.inc.php:271
191
  #, fuzzy
192
  msgid "Track visits of Editors?"
193
  msgstr "Улічваць прагляды запісаў, зробленыя іх жа аўтарамі?"
194
 
195
- #: admin.inc.php:273
196
  msgid "Disabling this option will stop editor visits being tracked."
197
  msgstr ""
198
 
199
- #: admin.inc.php:276
200
  msgid "Display page views on Posts and Pages in Admin"
201
  msgstr ""
202
 
203
- #: admin.inc.php:279
204
  msgid ""
205
  "Adds three columns called Total Views, Today's Views and Views to All Posts "
206
  "and All Pages"
207
  msgstr ""
208
 
209
- #: admin.inc.php:282
210
  #, fuzzy
211
  msgid "Show number of views to non-admins"
212
  msgstr "Паказваць колькасць праглядаў старонкі ў яе \"целе\"?"
213
 
214
- #: admin.inc.php:285
215
  msgid ""
216
  "If you disable this then non-admins won't see the above columns or view the "
217
  "independent pages with the top posts"
218
  msgstr ""
219
 
220
- #: admin.inc.php:288
221
- msgid "Link to Top 10 plugin page"
222
- msgstr ""
223
 
224
- #: admin.inc.php:291
225
- #, fuzzy
226
  msgid ""
227
- "A link to the plugin is added as an extra list item to the list of popular "
228
- "posts"
229
  msgstr ""
230
- "Спасылка на ўбудову будзе дададзена да спісаў Папулярных запісаў. Мы будзем "
231
- "удзячныя Вам, калі Вы яе ўсё ж пакінеце!"
232
 
233
- #: admin.inc.php:298
234
- #, fuzzy
235
- msgid "Output options"
236
- msgstr "Налады ўбудовы:"
237
 
238
- #: admin.inc.php:301
239
- #, fuzzy
240
- msgid "Format to display the post views:"
241
- msgstr "Фармат адлюстравання колькасці праглядаў:"
242
 
243
- #: admin.inc.php:303
244
- #, fuzzy
 
 
 
245
  msgid ""
246
- "Use <code>%totalcount%</code> to display the total count, <code>%dailycount"
247
- "%</code> to display the daily count and <code>%overallcount%</code> to "
248
- "display the overall count across all posts on the blog. e.g. the default "
249
- "options displays <code>(Visited 123 times, 23 visits today)</code>"
250
  msgstr ""
251
- "Выкарыстоўвайце <code>%totalcount%</code> каб паказваць агульны лік "
252
- "праглядаў, а <code>%dailycount%</code> - прагляды за суткі. Напрыклад: "
253
- "<code>(Прагледжана 123 раз, 23 разу прагляду сёння)</code>"
254
 
255
- #: admin.inc.php:306
256
- msgid "What do display when there are no visits?"
 
 
 
 
 
 
 
 
257
  msgstr ""
258
 
259
- #: admin.inc.php:308
 
 
 
 
260
  msgid ""
261
- "This text applies only when there are 0 hits for the post and it isn't a "
262
- "single page. e.g. if you display post views on the homepage or archives then "
263
- "this text will be used. To override this, just enter the same text as above "
264
- "option."
265
  msgstr ""
266
 
267
- #: admin.inc.php:311
268
  msgid "Title of popular posts: "
269
  msgstr "Загаловак блока Папулярных запісаў:"
270
 
271
- #: admin.inc.php:314
272
  msgid "Title of daily popular posts: "
273
  msgstr "Загаловак блока Папулярных сёння запісаў:"
274
 
275
- #: admin.inc.php:317
276
  msgid "When there are no posts, what should be shown?"
277
  msgstr ""
278
 
279
- #: admin.inc.php:321
280
  msgid "Blank Output"
281
  msgstr ""
282
 
283
- #: admin.inc.php:325
284
  msgid "Display:"
285
  msgstr ""
286
 
287
- #: admin.inc.php:329
288
  msgid "Show post excerpt in list?"
289
  msgstr ""
290
 
291
- #: admin.inc.php:332
292
  msgid "Length of excerpt (in words): "
293
  msgstr ""
294
 
295
- #: admin.inc.php:335
296
  msgid "Show post author in list?"
297
  msgstr ""
298
 
299
- #: admin.inc.php:338
300
  msgid "Show post date in list?"
301
  msgstr ""
302
 
303
- #: admin.inc.php:341
304
  msgid "Limit post title length (in characters)"
305
  msgstr ""
306
 
307
- #: admin.inc.php:344
308
  msgid "Show view count in list?"
309
  msgstr ""
310
 
311
- #: admin.inc.php:347
312
  msgid "Always display latest post count in the daily lists?"
313
  msgstr ""
314
 
315
- #: admin.inc.php:349
316
  msgid ""
317
  "This option uses JavaScript and will increase your page load time. When you "
318
  "enable this option, the daily widget will not use the options set there, but "
319
  "options will need to be set on this screen."
320
  msgstr ""
321
 
322
- #: admin.inc.php:352
323
  msgid "Open links in new window"
324
  msgstr ""
325
 
326
- #: admin.inc.php:355
327
  msgid "Add nofollow attribute to links in the list"
328
  msgstr ""
329
 
330
- #: admin.inc.php:358
331
  msgid "Exclude display of related posts on these posts / pages"
332
  msgstr ""
333
 
334
- #: admin.inc.php:364
335
  msgid "Customise the list HTML"
336
  msgstr ""
337
 
338
- #: admin.inc.php:366
339
  msgid "HTML to display before the list of posts: "
340
  msgstr ""
341
 
342
- #: admin.inc.php:369
343
  msgid "HTML to display before each list item: "
344
  msgstr ""
345
 
346
- #: admin.inc.php:372
347
  #, fuzzy
348
  msgid "HTML to display after each list item: "
349
  msgstr "Фармат адлюстравання колькасці праглядаў:"
350
 
351
- #: admin.inc.php:375
352
  msgid "HTML to display after the list of posts: "
353
  msgstr ""
354
 
355
- #: admin.inc.php:378
356
- msgid "Post thumbnail options:"
357
- msgstr ""
358
-
359
- #: admin.inc.php:380
360
  msgid "Location of post thumbnail:"
361
  msgstr ""
362
 
363
- #: admin.inc.php:384
364
  #, fuzzy
365
  msgid "Display thumbnails inline with posts, before title"
366
  msgstr "Паказваць колькасць праглядаў запісу ў яе \"целе\"?"
367
 
368
- #: admin.inc.php:388
369
  #, fuzzy
370
  msgid "Display thumbnails inline with posts, after title"
371
  msgstr "Паказваць колькасць праглядаў запісу ў яе \"целе\"?"
372
 
373
- #: admin.inc.php:392
374
  msgid "Display only thumbnails, no text"
375
  msgstr ""
376
 
377
- #: admin.inc.php:396
378
  msgid "Do not display thumbnails, only text."
379
  msgstr ""
380
 
381
- #: admin.inc.php:400
382
- msgid "Width of the thumbnail: "
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
383
  msgstr ""
384
 
385
- #: admin.inc.php:403
386
- msgid "Height of the thumbnail: "
387
  msgstr ""
388
 
389
- #: admin.inc.php:406
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
390
  msgid "Style attributes / Width and Height HTML attributes:"
391
  msgstr ""
392
 
393
- #: admin.inc.php:410
394
  msgid "Style attributes are used for width and height."
395
  msgstr ""
396
 
397
- #: admin.inc.php:414
398
  msgid "HTML width and height attributes are used for width and height."
399
  msgstr ""
400
 
401
- #: admin.inc.php:418
402
  msgid "Use timthumb to generate thumbnails? "
403
  msgstr ""
404
 
405
- #: admin.inc.php:421
406
  msgid ""
407
  "If checked, <a href=\"http://www.binarymoon.co.uk/projects/timthumb/\" "
408
  "target=\"_blank\">timthumb</a> will be used to generate thumbnails"
409
  msgstr ""
410
 
411
- #: admin.inc.php:424
412
  msgid "Quality of thumbnails generated by timthumb:"
413
  msgstr ""
414
 
415
- #: admin.inc.php:427
416
  msgid ""
417
  "Enter values between 0 and 100 only. 100 is highest quality and the highest "
418
  "file size. Suggested maximum value is 95. Default is 75."
419
  msgstr ""
420
 
421
- #: admin.inc.php:430
422
  msgid "Post thumbnail meta field name: "
423
  msgstr ""
424
 
425
- #: admin.inc.php:433
426
  msgid ""
427
  "The value of this field should contain the image source and is set in the "
428
  "<em>Add New Post</em> screen"
429
  msgstr ""
430
 
431
- #: admin.inc.php:436
432
  msgid ""
433
  "If the postmeta is not set, then should the plugin extract the first image "
434
  "from the post?"
435
  msgstr ""
436
 
437
- #: admin.inc.php:439
438
  msgid ""
439
  "This could slow down the loading of your page if the first image in the "
440
  "related posts is large in file-size"
441
  msgstr ""
442
 
443
- #: admin.inc.php:442
444
  msgid "Use default thumbnail? "
445
  msgstr ""
446
 
447
- #: admin.inc.php:445
448
  msgid ""
449
  "If checked, when no thumbnail is found, show a default one from the URL "
450
  "below. If not checked and no thumbnail is found, no image will be shown."
451
  msgstr ""
452
 
453
- #: admin.inc.php:448
454
  msgid "Default thumbnail: "
455
  msgstr ""
456
 
457
- #: admin.inc.php:452
458
  msgid ""
459
  "The plugin will first check if the post contains a thumbnail. If it doesn't "
460
  "then it will check the meta field. If this is not available, then it will "
461
  "show the default image as specified above"
462
  msgstr ""
463
 
464
- #: admin.inc.php:459
465
  msgid "Custom CSS"
466
  msgstr ""
467
 
468
- #: admin.inc.php:462
469
  msgid "Use default style included in the plugin?"
470
  msgstr ""
471
 
472
- #: admin.inc.php:465
473
  msgid ""
474
  "Top 10 includes a default style that makes your popular posts list to look "
475
- "pretty. Check the box above if you want to use this. You will need to select "
476
- "<strong>Thumbnails inline, before title</strong> in Output Options or in the "
477
- "Widget."
 
 
 
 
 
 
 
 
 
 
 
478
  msgstr ""
479
 
480
- #: admin.inc.php:468
481
  msgid "Custom CSS to add to header:"
482
  msgstr ""
483
 
484
- #: admin.inc.php:471
485
  msgid ""
486
  "Do not include <code>style</code> tags. Check out the <a href=\"http://"
487
  "wordpress.org/extend/plugins/top-10/faq/\" target=\"_blank\">FAQ</a> for "
488
  "available CSS classes to style."
489
  msgstr ""
490
 
491
- #: admin.inc.php:478 admin.inc.php:544
492
- #, fuzzy
493
- msgid "Save Options"
494
- msgstr "Налады ўбудовы:"
495
-
496
- #: admin.inc.php:479
497
  #, fuzzy
498
  msgid "Default Options"
499
  msgstr "Налады ўбудовы:"
500
 
501
- #: admin.inc.php:479
502
  msgid "Do you want to set options to Default?"
503
  msgstr "Скінуць налады ўбудовы?"
504
 
505
- #: admin.inc.php:488
506
- msgid "Maintenance"
507
- msgstr ""
508
-
509
- #: admin.inc.php:492
510
  msgid ""
511
  "Over time the Daily Top 10 database grows in size, which reduces the "
512
  "performance of the plugin. Cleaning the database at regular intervals could "
@@ -514,353 +689,357 @@ msgid ""
514
  "will automatically delete entries older than 90 days."
515
  msgstr ""
516
 
517
- #: admin.inc.php:493
518
  msgid ""
519
  "Note: When scheduled maintenance is enabled, WordPress will run the cron job "
520
  "everytime the job is rescheduled (i.e. you change the settings below)."
521
  msgstr ""
522
 
523
- #: admin.inc.php:496
524
  msgid "Enable scheduled maintenance of daily tables:"
525
  msgstr ""
526
 
527
- #: admin.inc.php:500
528
  msgid "Time to run maintenance"
529
  msgstr ""
530
 
531
- #: admin.inc.php:501
532
  msgid "hrs"
533
  msgstr ""
534
 
535
- #: admin.inc.php:501
536
  msgid "min"
537
  msgstr ""
538
 
539
- #: admin.inc.php:503
540
  msgid "How often should the maintenance be run:"
541
  msgstr ""
542
 
543
- #: admin.inc.php:507
544
  msgid "Daily"
545
  msgstr ""
546
 
547
- #: admin.inc.php:511
548
  msgid "Weekly"
549
  msgstr ""
550
 
551
- #: admin.inc.php:515
552
  msgid "Fortnightly"
553
  msgstr ""
554
 
555
- #: admin.inc.php:519
556
  msgid "Monthly"
557
  msgstr ""
558
 
559
- #: admin.inc.php:528
560
  msgid "The cron job has been scheduled. Maintenance will run "
561
  msgstr ""
562
 
563
- #: admin.inc.php:533
564
  msgid "The cron job is missing. Please resave this page to add the job"
565
  msgstr ""
566
 
567
- #: admin.inc.php:538
568
  msgid "Maintenance is turned off"
569
  msgstr ""
570
 
571
- #: admin.inc.php:552
572
  msgid "Reset count"
573
  msgstr ""
574
 
575
- #: admin.inc.php:555
576
  msgid ""
577
  "This cannot be reversed. Make sure that your database has been backed up "
578
  "before proceeding"
579
  msgstr ""
580
 
581
- #: admin.inc.php:558
582
  #, fuzzy
583
  msgid "Reset Popular Posts"
584
  msgstr "Папулярныя запісы"
585
 
586
- #: admin.inc.php:558
587
  msgid "Are you sure you want to reset the popular posts?"
588
  msgstr ""
589
 
590
- #: admin.inc.php:559
591
  #, fuzzy
592
  msgid "Reset Daily Popular Posts"
593
  msgstr "Папулярныя сёння запісы"
594
 
595
- #: admin.inc.php:559
596
  msgid "Are you sure you want to reset the daily popular posts?"
597
  msgstr ""
598
 
599
- #: admin.inc.php:560
600
  msgid "Clear duplicates"
601
  msgstr ""
602
 
603
- #: admin.inc.php:560
604
  msgid "This will delete the duplicate entries in the tables. Proceed?"
605
  msgstr ""
606
 
607
- #: admin.inc.php:612 admin.inc.php:1010
608
- msgid "Popular Posts"
609
- msgstr "Папулярныя запісы"
 
 
 
 
 
 
 
 
 
 
610
 
611
- #: admin.inc.php:614 admin.inc.php:713
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
612
  msgid "Daily Popular Posts"
613
  msgstr "Папулярныя сёння запісы"
614
 
615
- #: admin.inc.php:645
616
  #, fuzzy
617
  msgid "Support the development"
618
  msgstr "Падтрымаеце стваральніка ўбудовы"
619
 
620
- #: admin.inc.php:652
621
  msgid "Donation for Top 10"
622
  msgstr ""
623
 
624
- #: admin.inc.php:654
625
  msgid "Enter amount in USD: "
626
  msgstr ""
627
 
628
- #: admin.inc.php:658
629
  msgid "Send your donation to the author of Top 10"
630
  msgstr ""
631
 
632
- #: admin.inc.php:665
633
  msgid "Follow me"
634
  msgstr ""
635
 
636
- #: admin.inc.php:675
637
  msgid "Quick links"
638
  msgstr ""
639
 
640
- #: admin.inc.php:679
641
  msgid "Top 10 plugin page"
642
  msgstr ""
643
 
644
- #: admin.inc.php:680
 
 
 
 
645
  msgid "Other plugins"
646
  msgstr ""
647
 
648
- #: admin.inc.php:681
649
  msgid "Ajay's blog"
650
  msgstr ""
651
 
652
- #: admin.inc.php:682
653
  msgid "FAQ"
654
  msgstr ""
655
 
656
- #: admin.inc.php:683 top-10.php:1345
657
  msgid "Support"
658
  msgstr ""
659
 
660
- #: admin.inc.php:684
661
  msgid "Reviews"
662
  msgstr ""
663
 
664
- #: admin.inc.php:704 admin.inc.php:707
665
- #, fuzzy
666
- msgid "Top 10 Settings"
667
- msgstr "Топ 10 запісаў"
668
-
669
- #: admin.inc.php:704 admin.inc.php:1183
670
- msgid "Top 10"
671
- msgstr "Топ 10 запісаў"
672
-
673
- #: admin.inc.php:710
674
  #, fuzzy
675
  msgid "Overall Popular Posts"
676
  msgstr "Паглядзець усе Папулярныя запісы"
677
 
678
- #: admin.inc.php:882
679
- #, php-format
680
- msgid "Results %1$s to %2$s of %3$s"
681
- msgstr ""
682
-
683
- #: admin.inc.php:886
684
- #, php-format
685
- msgid "Page %s of %s"
686
- msgstr ""
687
-
688
- #: admin.inc.php:898
689
- msgid "View Daily Popular Posts"
690
- msgstr "Паглядзець усе Папулярныя сёння запісы"
691
-
692
- #: admin.inc.php:901 admin.inc.php:914
693
- msgid "Results per-page:"
694
- msgstr "Вынікаў на старонку:"
695
-
696
- #: admin.inc.php:911
697
- msgid "View Overall Popular Posts"
698
- msgstr "Паглядзець усе Папулярныя запісы"
699
-
700
- #: admin.inc.php:940
701
- msgid "Previous"
702
- msgstr "Папярэдняя старонка"
703
-
704
- #: admin.inc.php:968
705
- msgid "Next"
706
- msgstr "Наступная старонка"
707
-
708
- #: admin.inc.php:1011
709
- msgid "Daily Popular"
710
- msgstr "Папулярныя сёння запісы"
711
-
712
- #: admin.inc.php:1029
713
- #, fuzzy
714
- msgid "Total Views"
715
- msgstr "Усяго / Сёння праглядаў"
716
-
717
- #: admin.inc.php:1030
718
- #, fuzzy
719
- msgid "Today's Views"
720
- msgstr "Усяго / Сёння праглядаў"
721
-
722
- #: admin.inc.php:1031
723
- #, fuzzy
724
- msgid "Views"
725
- msgstr "Усяго / Сёння праглядаў"
726
-
727
- #: admin.inc.php:1217
728
- msgid "Visit count:"
729
- msgstr ""
730
-
731
- #: admin.inc.php:1219
732
- msgid ""
733
- "Enter a number above to update the visit count. Leaving the above box blank "
734
- "will set the count to zero"
735
- msgstr ""
736
-
737
- #: admin.inc.php:1229
738
- msgid "Location of thumbnail:"
739
- msgstr ""
740
-
741
- #: admin.inc.php:1231
742
- msgid ""
743
- "Enter the full URL to the image (JPG, PNG or GIF) you'd like to use. This "
744
- "image will be used for the post. It will be resized to the thumbnail size "
745
- "set under Settings &raquo; Related Posts &raquo; Output Options"
746
- msgstr ""
747
-
748
- #: admin.inc.php:1232
749
- msgid "The URL above is saved in the meta field: "
750
  msgstr ""
751
 
752
- #: top-10.php:456
753
- msgid " by "
754
  msgstr ""
755
 
756
- #: top-10.php:550
757
  #, fuzzy
758
  msgid "Popular Posts [Top 10]"
759
  msgstr "Папулярныя запісы"
760
 
761
- #: top-10.php:551
762
  #, fuzzy
763
  msgid "Display popular posts"
764
  msgstr "Папулярныя сёння запісы"
765
 
766
- #: top-10.php:577
767
  msgid "Title"
768
  msgstr ""
769
 
770
- #: top-10.php:582
771
  msgid "No. of posts"
772
  msgstr ""
773
 
774
- #: top-10.php:587
775
  msgid "Overall"
776
  msgstr ""
777
 
778
- #: top-10.php:588
779
  msgid "Custom time period (Enter below)"
780
  msgstr ""
781
 
782
- #: top-10.php:593
783
- msgid "Range in number of days (applies only to custom option above)"
 
 
 
 
784
  msgstr ""
785
 
786
- #: top-10.php:598
 
 
 
 
787
  msgid "Show count?"
788
  msgstr ""
789
 
790
- #: top-10.php:603
791
  msgid "Show excerpt?"
792
  msgstr ""
793
 
794
- #: top-10.php:608
795
  msgid "Show author?"
796
  msgstr ""
797
 
798
- #: top-10.php:613
799
  msgid "Show date?"
800
  msgstr ""
801
 
802
- #: top-10.php:617
803
- msgid "Thumbnail options"
804
- msgstr ""
805
-
806
- #: top-10.php:619
807
  #, fuzzy
808
  msgid "Thumbnails inline, before title"
809
  msgstr "Паказваць колькасць праглядаў запісу ў яе \"целе\"?"
810
 
811
- #: top-10.php:620
812
  #, fuzzy
813
  msgid "Thumbnails inline, after title"
814
  msgstr "Паказваць колькасць праглядаў запісу ў яе \"целе\"?"
815
 
816
- #: top-10.php:621
817
  msgid "Only thumbnails, no text"
818
  msgstr ""
819
 
820
- #: top-10.php:622
821
  msgid "No thumbnails, only text."
822
  msgstr ""
823
 
824
- #: top-10.php:627
825
  msgid "Thumbnail height"
826
  msgstr ""
827
 
828
- #: top-10.php:632
829
  msgid "Thumbnail width"
830
  msgstr ""
831
 
832
- #: top-10.php:772
 
 
 
 
 
 
 
 
 
833
  msgid "<h3>Popular Posts</h3>"
834
  msgstr "<h3>Папулярныя запісы</h3>"
835
 
836
- #: top-10.php:773
837
  msgid "<h3>Daily Popular</h3>"
838
  msgstr "<h3>Папулярныя сёння запісы</h3>"
839
 
840
- #: top-10.php:774
841
  #, fuzzy
842
  msgid "No top posts yet"
843
  msgstr "Загаловак блока Папулярных запісаў:"
844
 
845
- #: top-10.php:1245
846
  msgid "Once Weekly"
847
  msgstr ""
848
 
849
- #: top-10.php:1249
850
  msgid "Once Fortnightly"
851
  msgstr ""
852
 
853
- #: top-10.php:1253
854
  msgid "Once Monthly"
855
  msgstr ""
856
 
857
- #: top-10.php:1323
858
- msgid "Settings"
859
  msgstr ""
860
 
861
- #: top-10.php:1346
862
- msgid "Donate"
863
- msgstr ""
 
 
 
 
 
 
 
 
 
 
 
 
 
 
864
 
865
  #, fuzzy
866
  #~ msgid "This option uses JavaScript and will increase your page load time"
2
  msgstr ""
3
  "Project-Id-Version: Топ 10\n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2014-12-28 01:00-0000\n"
6
  "PO-Revision-Date: \n"
7
  "Last-Translator: Ajay D'Souza <me@ajaydsouza.com>\n"
8
  "Language-Team: FatCow <zhr@tut.by>\n"
12
  "Content-Transfer-Encoding: 8bit\n"
13
  "X-Poedit-KeywordsList: _e;__\n"
14
  "X-Poedit-Basepath: ../\n"
15
+ "X-Generator: Poedit 1.7.1\n"
16
+ "X-Poedit-SourceCharset: UTF-8\n"
17
  "X-Poedit-SearchPath-0: .\n"
18
 
19
+ #: admin/admin-columns.php:30
20
+ #, fuzzy
21
+ msgid "Total Views"
22
+ msgstr "Усяго / Сёння праглядаў"
23
+
24
+ #: admin/admin-columns.php:33
25
+ #, fuzzy
26
+ msgid "Today's Views"
27
+ msgstr "Усяго / Сёння праглядаў"
28
+
29
+ #: admin/admin-columns.php:36
30
+ #, fuzzy
31
+ msgid "Views"
32
+ msgstr "Усяго / Сёння праглядаў"
33
+
34
+ #: admin/admin-dashboard.php:72
35
+ #, php-format
36
+ msgid "Results %1$s to %2$s of %3$s"
37
+ msgstr ""
38
+
39
+ #: admin/admin-dashboard.php:76
40
+ #, php-format
41
+ msgid "Page %s of %s"
42
+ msgstr ""
43
+
44
+ #: admin/admin-dashboard.php:88
45
+ msgid "View Daily Popular Posts"
46
+ msgstr "Паглядзець усе Папулярныя сёння запісы"
47
+
48
+ #: admin/admin-dashboard.php:91 admin/admin-dashboard.php:104
49
+ msgid "Results per-page:"
50
+ msgstr "Вынікаў на старонку:"
51
+
52
+ #: admin/admin-dashboard.php:101
53
+ msgid "View Overall Popular Posts"
54
+ msgstr "Паглядзець усе Папулярныя запісы"
55
+
56
+ #: admin/admin-dashboard.php:130
57
+ msgid "Previous"
58
+ msgstr "Папярэдняя старонка"
59
+
60
+ #: admin/admin-dashboard.php:158
61
+ msgid "Next"
62
+ msgstr "Наступная старонка"
63
+
64
+ #: admin/admin-dashboard.php:200 admin/admin.php:1145
65
+ msgid "Popular Posts"
66
+ msgstr "Папулярныя запісы"
67
+
68
+ #: admin/admin-dashboard.php:205
69
+ msgid "Daily Popular"
70
+ msgstr "Папулярныя сёння запісы"
71
+
72
+ #: admin/admin-metabox.php:38 admin/admin.php:1234
73
+ msgid "Top 10"
74
+ msgstr "Топ 10 запісаў"
75
+
76
+ #: admin/admin-metabox.php:71
77
+ msgid "Visit count:"
78
+ msgstr ""
79
+
80
+ #: admin/admin-metabox.php:73
81
+ msgid ""
82
+ "Enter a number above to update the visit count. Leaving the above box blank "
83
+ "will set the count to zero"
84
+ msgstr ""
85
+
86
+ #: admin/admin-metabox.php:83
87
+ msgid "Location of thumbnail:"
88
+ msgstr ""
89
+
90
+ #: admin/admin-metabox.php:85
91
+ msgid ""
92
+ "Enter the full URL to the image (JPG, PNG or GIF) you'd like to use. This "
93
+ "image will be used for the post. It will be resized to the thumbnail size "
94
+ "set under Settings &raquo; Related Posts &raquo; Output Options"
95
+ msgstr ""
96
+
97
+ #: admin/admin-metabox.php:86
98
+ msgid "The URL above is saved in the meta field: "
99
+ msgstr ""
100
+
101
+ #: admin/admin.php:160
102
  msgid "Options saved successfully."
103
  msgstr "Налады захаваны."
104
 
105
+ #: admin/admin.php:170
106
  msgid "Options set to Default."
107
  msgstr "Налады скінуты."
108
 
109
+ #: admin/admin.php:176
110
  #, fuzzy
111
  msgid "Top 10 popular posts reset"
112
  msgstr "Загаловак блока Папулярных запісаў:"
113
 
114
+ #: admin/admin.php:182
115
  #, fuzzy
116
  msgid "Top 10 daily popular posts reset"
117
  msgstr "Загаловак блока Папулярных сёння запісаў:"
118
 
119
+ #: admin/admin.php:189
120
  msgid "Duplicate rows cleaned from tables"
121
  msgstr ""
122
 
123
+ #: admin/admin.php:201
124
  msgid "Scheduled maintenance enabled / modified"
125
  msgstr ""
126
 
127
+ #: admin/admin.php:205
128
  msgid "Scheduled maintenance disabled"
129
  msgstr ""
130
 
131
+ #: admin/admin.php:244
132
+ msgid "Counts from selected sites have been imported."
 
133
  msgstr ""
134
 
135
+ #: admin/admin.php:269
136
+ msgid ""
137
+ "Selected tables have been deleted. Note that only imported tables have been "
138
+ "deleted."
139
  msgstr ""
140
 
141
+ #: admin/admin.php:277 admin/admin.php:1234 admin/admin.php:1237
142
+ #, fuzzy
143
+ msgid "Top 10 Settings"
144
+ msgstr "Топ 10 запісаў"
145
+
146
+ #: admin/admin.php:289 admin/admin.php:311
147
+ msgid "General options"
148
  msgstr ""
149
 
150
+ #: admin/admin.php:290 admin/admin.php:373
151
+ msgid "Counter and tracker options"
152
  msgstr ""
153
 
154
+ #: admin/admin.php:291 admin/admin.php:478
155
+ msgid "Popular post list options"
156
  msgstr ""
157
 
158
+ #: admin/admin.php:292 admin/admin.php:681
159
+ #: includes/class-top-10-widget.php:103
160
+ msgid "Thumbnail options"
 
 
161
  msgstr ""
162
 
163
+ #: admin/admin.php:293
164
+ msgid "Custom styles"
165
+ msgstr ""
166
 
167
+ #: admin/admin.php:294 admin/admin.php:912
168
+ msgid "Maintenance"
 
 
169
  msgstr ""
170
 
171
+ #: admin/admin.php:310 admin/admin.php:372 admin/admin.php:477
172
+ #: admin/admin.php:680 admin/admin.php:843 admin/admin.php:911
173
+ #: admin/admin.php:975 admin/admin.php:996 admin/admin.php:1176
174
+ #: admin/admin.php:1196 admin/admin.php:1206
175
+ msgid "Click to toggle"
176
+ msgstr ""
177
 
178
+ #: admin/admin.php:327
179
+ msgid "Enable Overall stats"
 
 
 
180
  msgstr ""
181
 
182
+ #: admin/admin.php:333
183
+ msgid "Enable Daily stats"
184
  msgstr ""
185
 
186
+ #: admin/admin.php:339
187
+ msgid "Cache fix:"
188
  msgstr ""
189
 
190
+ #: admin/admin.php:342
191
+ msgid ""
192
+ "This will try to prevent W3 Total Cache and other caching plugins from "
193
+ "caching the tracker script of the plugin. Try toggling this option in case "
194
+ "you find that your posts are not tracked."
195
  msgstr ""
196
 
197
+ #: admin/admin.php:346
198
+ msgid "Link to Top 10 plugin page"
199
  msgstr ""
200
 
201
+ #: admin/admin.php:349
202
+ #, fuzzy
203
  msgid ""
204
+ "A link to the plugin is added as an extra list item to the list of popular "
205
+ "posts"
 
206
  msgstr ""
207
+ "Спасылка на ўбудову будзе дададзена да спісаў Папулярных запісаў. Мы будзем "
208
+ "удзячныя Вам, калі Вы яе ўсё ж пакінеце!"
209
 
210
+ #: admin/admin.php:354 admin/admin.php:459 admin/admin.php:662
211
+ #: admin/admin.php:825 admin/admin.php:891 admin/admin.php:968
212
+ #, fuzzy
213
+ msgid "Save Options"
214
+ msgstr "Налады ўбудовы:"
215
+
216
+ #: admin/admin.php:389
217
  #, fuzzy
218
  msgid "Display number of views on:"
219
  msgstr "Паказваць колькасць праглядаў запісу ў яе \"целе\"?"
220
 
221
+ #: admin/admin.php:391
222
  msgid "Posts"
223
  msgstr ""
224
 
225
+ #: admin/admin.php:392
226
  #, fuzzy
227
  msgid "Pages"
228
  msgstr "Старонка"
229
 
230
+ #: admin/admin.php:393
231
  msgid "Home page"
232
  msgstr ""
233
 
234
+ #: admin/admin.php:394
235
  msgid "Feeds"
236
  msgstr ""
237
 
238
+ #: admin/admin.php:395
239
  msgid "Category archives"
240
  msgstr ""
241
 
242
+ #: admin/admin.php:396
243
  msgid "Tag archives"
244
  msgstr ""
245
 
246
+ #: admin/admin.php:397
247
  msgid "Other archives"
248
  msgstr ""
249
 
250
+ #: admin/admin.php:398
251
  msgid ""
252
  "If you choose to disable this, please add <code>&lt;?php if "
253
  "( function_exists ( 'echo_tptn_post_count' ) ) echo_tptn_post_count(); ?&gt;"
254
  "</code> to your template file where you want it displayed"
255
  msgstr ""
256
 
257
+ #: admin/admin.php:402
258
+ #, fuzzy
259
+ msgid "Format to display the post views:"
260
+ msgstr "Фармат адлюстравання колькасці праглядаў:"
261
+
262
+ #: admin/admin.php:405
263
+ msgid ""
264
+ "Use <code>%totalcount%</code> to display the total count, <code>%dailycount"
265
+ "%</code> to display the daily count and <code>%overallcount%</code> to "
266
+ "display the overall count across all posts on the blog. e.g. the default "
267
+ "options displays <code>[Visited 123 times, 23 visits today]</code>"
268
+ msgstr ""
269
+
270
+ #: admin/admin.php:409
271
+ msgid "What do display when there are no visits?"
272
+ msgstr ""
273
+
274
+ #: admin/admin.php:412
275
+ msgid ""
276
+ "This text applies only when there are 0 hits for the post and it isn't a "
277
+ "single page. e.g. if you display post views on the homepage or archives then "
278
+ "this text will be used. To override this, just enter the same text as above "
279
+ "option."
280
+ msgstr ""
281
+
282
+ #: admin/admin.php:416
283
  msgid "Always display latest post count"
284
  msgstr ""
285
 
286
+ #: admin/admin.php:419
287
  msgid ""
288
  "This option uses JavaScript and will increase your page load time. Turn this "
289
  "off if you are not using caching plugins or are OK with displaying older "
290
  "cached counts."
291
  msgstr ""
292
 
293
+ #: admin/admin.php:423
294
  msgid "Track visits of authors on their own posts?"
295
  msgstr "Улічваць прагляды запісаў, зробленыя іх жа аўтарамі?"
296
 
297
+ #: admin/admin.php:426
298
  msgid ""
299
  "Disabling this option will stop authors visits tracked on their own posts"
300
  msgstr ""
301
 
302
+ #: admin/admin.php:430
303
  #, fuzzy
304
  msgid "Track visits of admins?"
305
  msgstr "Улічваць прагляды запісаў, зробленыя іх жа аўтарамі?"
306
 
307
+ #: admin/admin.php:433
308
  msgid "Disabling this option will stop admin visits being tracked."
309
  msgstr ""
310
 
311
+ #: admin/admin.php:437
312
  #, fuzzy
313
  msgid "Track visits of Editors?"
314
  msgstr "Улічваць прагляды запісаў, зробленыя іх жа аўтарамі?"
315
 
316
+ #: admin/admin.php:440
317
  msgid "Disabling this option will stop editor visits being tracked."
318
  msgstr ""
319
 
320
+ #: admin/admin.php:444
321
  msgid "Display page views on Posts and Pages in Admin"
322
  msgstr ""
323
 
324
+ #: admin/admin.php:447
325
  msgid ""
326
  "Adds three columns called Total Views, Today's Views and Views to All Posts "
327
  "and All Pages"
328
  msgstr ""
329
 
330
+ #: admin/admin.php:451
331
  #, fuzzy
332
  msgid "Show number of views to non-admins"
333
  msgstr "Паказваць колькасць праглядаў старонкі ў яе \"целе\"?"
334
 
335
+ #: admin/admin.php:454
336
  msgid ""
337
  "If you disable this then non-admins won't see the above columns or view the "
338
  "independent pages with the top posts"
339
  msgstr ""
340
 
341
+ #: admin/admin.php:494
342
+ msgid "Number of popular posts to display: "
343
+ msgstr "Колькасць Папулярных запісаў у спісе:"
344
 
345
+ #: admin/admin.php:497
 
346
  msgid ""
347
+ "Maximum number of posts that will be displayed in the list. This option is "
348
+ "used if you don't specify the number of posts in the widget or shortcodes"
349
  msgstr ""
 
 
350
 
351
+ #: admin/admin.php:501
352
+ msgid "Daily popular contains top posts over:"
353
+ msgstr ""
 
354
 
355
+ #: admin/admin.php:503
356
+ msgid "day(s)"
357
+ msgstr ""
 
358
 
359
+ #: admin/admin.php:504
360
+ msgid "hour(s)"
361
+ msgstr ""
362
+
363
+ #: admin/admin.php:505
364
  msgid ""
365
+ "Think of Daily Popular has a custom date range applied as a global setting. "
366
+ "Instead of displaying popular posts from the past day, this setting lets you "
367
+ "display posts for as many days or as few hours as you want. This can be "
368
+ "overridden in the widget."
369
  msgstr ""
 
 
 
370
 
371
+ #: admin/admin.php:509
372
+ msgid "Post types to include in results (including custom post types)"
373
+ msgstr ""
374
+
375
+ #: admin/admin.php:521
376
+ msgid "List of post or page IDs to exclude from the results: "
377
+ msgstr ""
378
+
379
+ #: admin/admin.php:523 admin/admin.php:630
380
+ msgid "Enter comma separated list of IDs. e.g. 188,320,500"
381
  msgstr ""
382
 
383
+ #: admin/admin.php:527
384
+ msgid "Exclude Categories: "
385
+ msgstr ""
386
+
387
+ #: admin/admin.php:542
388
  msgid ""
389
+ "Comma separated list of category slugs. The field above has an autocomplete "
390
+ "so simply start typing in the starting letters and it will prompt you with "
391
+ "options"
 
392
  msgstr ""
393
 
394
+ #: admin/admin.php:547
395
  msgid "Title of popular posts: "
396
  msgstr "Загаловак блока Папулярных запісаў:"
397
 
398
+ #: admin/admin.php:553
399
  msgid "Title of daily popular posts: "
400
  msgstr "Загаловак блока Папулярных сёння запісаў:"
401
 
402
+ #: admin/admin.php:559
403
  msgid "When there are no posts, what should be shown?"
404
  msgstr ""
405
 
406
+ #: admin/admin.php:563
407
  msgid "Blank Output"
408
  msgstr ""
409
 
410
+ #: admin/admin.php:567
411
  msgid "Display:"
412
  msgstr ""
413
 
414
+ #: admin/admin.php:572
415
  msgid "Show post excerpt in list?"
416
  msgstr ""
417
 
418
+ #: admin/admin.php:578
419
  msgid "Length of excerpt (in words): "
420
  msgstr ""
421
 
422
+ #: admin/admin.php:584
423
  msgid "Show post author in list?"
424
  msgstr ""
425
 
426
+ #: admin/admin.php:590
427
  msgid "Show post date in list?"
428
  msgstr ""
429
 
430
+ #: admin/admin.php:596
431
  msgid "Limit post title length (in characters)"
432
  msgstr ""
433
 
434
+ #: admin/admin.php:602
435
  msgid "Show view count in list?"
436
  msgstr ""
437
 
438
+ #: admin/admin.php:608
439
  msgid "Always display latest post count in the daily lists?"
440
  msgstr ""
441
 
442
+ #: admin/admin.php:611
443
  msgid ""
444
  "This option uses JavaScript and will increase your page load time. When you "
445
  "enable this option, the daily widget will not use the options set there, but "
446
  "options will need to be set on this screen."
447
  msgstr ""
448
 
449
+ #: admin/admin.php:615
450
  msgid "Open links in new window"
451
  msgstr ""
452
 
453
+ #: admin/admin.php:621
454
  msgid "Add nofollow attribute to links in the list"
455
  msgstr ""
456
 
457
+ #: admin/admin.php:627
458
  msgid "Exclude display of related posts on these posts / pages"
459
  msgstr ""
460
 
461
+ #: admin/admin.php:634
462
  msgid "Customise the list HTML"
463
  msgstr ""
464
 
465
+ #: admin/admin.php:637
466
  msgid "HTML to display before the list of posts: "
467
  msgstr ""
468
 
469
+ #: admin/admin.php:643
470
  msgid "HTML to display before each list item: "
471
  msgstr ""
472
 
473
+ #: admin/admin.php:649
474
  #, fuzzy
475
  msgid "HTML to display after each list item: "
476
  msgstr "Фармат адлюстравання колькасці праглядаў:"
477
 
478
+ #: admin/admin.php:655
479
  msgid "HTML to display after the list of posts: "
480
  msgstr ""
481
 
482
+ #: admin/admin.php:696
 
 
 
 
483
  msgid "Location of post thumbnail:"
484
  msgstr ""
485
 
486
+ #: admin/admin.php:700
487
  #, fuzzy
488
  msgid "Display thumbnails inline with posts, before title"
489
  msgstr "Паказваць колькасць праглядаў запісу ў яе \"целе\"?"
490
 
491
+ #: admin/admin.php:705
492
  #, fuzzy
493
  msgid "Display thumbnails inline with posts, after title"
494
  msgstr "Паказваць колькасць праглядаў запісу ў яе \"целе\"?"
495
 
496
+ #: admin/admin.php:710
497
  msgid "Display only thumbnails, no text"
498
  msgstr ""
499
 
500
+ #: admin/admin.php:715
501
  msgid "Do not display thumbnails, only text."
502
  msgstr ""
503
 
504
+ #: admin/admin.php:719
505
+ msgid "Thumbnail size:"
506
+ msgstr ""
507
+
508
+ #: admin/admin.php:743
509
+ msgid "Custom size"
510
+ msgstr ""
511
+
512
+ #: admin/admin.php:746
513
+ msgid ""
514
+ "You can choose from existing image sizes above or create a custom size. If "
515
+ "you have chosen Custom size above, then enter the width, height and crop "
516
+ "settings below. For best results, use a cropped image."
517
+ msgstr ""
518
+
519
+ #: admin/admin.php:747
520
+ msgid ""
521
+ "If you change the width and/or height below, existing images will not be "
522
+ "automatically resized."
523
+ msgstr ""
524
+
525
+ #: admin/admin.php:748
526
+ #, php-format
527
+ msgid ""
528
+ "I recommend using <a href='%s' target='_blank'>Force Regenerate Thumbnails</"
529
+ "a> or <a href='%s' target='_blank'>Force Regenerate Thumbnails</a> to "
530
+ "regenerate all image sizes."
531
+ msgstr ""
532
+
533
+ #: admin/admin.php:751
534
+ msgid "Width of custom thumbnail:"
535
  msgstr ""
536
 
537
+ #: admin/admin.php:756
538
+ msgid "Height of custom thumbnail"
539
  msgstr ""
540
 
541
+ #: admin/admin.php:761
542
+ msgid "Crop mode:"
543
+ msgstr ""
544
+
545
+ #: admin/admin.php:765
546
+ msgid ""
547
+ "By default, thumbnails will be proportionately cropped. Check this box to "
548
+ "hard crop the thumbnails."
549
+ msgstr ""
550
+
551
+ #: admin/admin.php:766
552
+ #, php-format
553
+ msgid "<a href='%s' target='_blank'>Difference between soft and hard crop</a>"
554
+ msgstr ""
555
+
556
+ #: admin/admin.php:768
557
+ msgid ""
558
+ "Since you're using the default styles set under the Custom Styles section, "
559
+ "the width and height is fixed at 65px and crop mode is enabled."
560
+ msgstr ""
561
+
562
+ #: admin/admin.php:773
563
  msgid "Style attributes / Width and Height HTML attributes:"
564
  msgstr ""
565
 
566
+ #: admin/admin.php:777
567
  msgid "Style attributes are used for width and height."
568
  msgstr ""
569
 
570
+ #: admin/admin.php:782
571
  msgid "HTML width and height attributes are used for width and height."
572
  msgstr ""
573
 
574
+ #: admin/admin.php:786
575
  msgid "Use timthumb to generate thumbnails? "
576
  msgstr ""
577
 
578
+ #: admin/admin.php:789
579
  msgid ""
580
  "If checked, <a href=\"http://www.binarymoon.co.uk/projects/timthumb/\" "
581
  "target=\"_blank\">timthumb</a> will be used to generate thumbnails"
582
  msgstr ""
583
 
584
+ #: admin/admin.php:792
585
  msgid "Quality of thumbnails generated by timthumb:"
586
  msgstr ""
587
 
588
+ #: admin/admin.php:795
589
  msgid ""
590
  "Enter values between 0 and 100 only. 100 is highest quality and the highest "
591
  "file size. Suggested maximum value is 95. Default is 75."
592
  msgstr ""
593
 
594
+ #: admin/admin.php:798
595
  msgid "Post thumbnail meta field name: "
596
  msgstr ""
597
 
598
+ #: admin/admin.php:801
599
  msgid ""
600
  "The value of this field should contain the image source and is set in the "
601
  "<em>Add New Post</em> screen"
602
  msgstr ""
603
 
604
+ #: admin/admin.php:804
605
  msgid ""
606
  "If the postmeta is not set, then should the plugin extract the first image "
607
  "from the post?"
608
  msgstr ""
609
 
610
+ #: admin/admin.php:807
611
  msgid ""
612
  "This could slow down the loading of your page if the first image in the "
613
  "related posts is large in file-size"
614
  msgstr ""
615
 
616
+ #: admin/admin.php:810
617
  msgid "Use default thumbnail? "
618
  msgstr ""
619
 
620
+ #: admin/admin.php:813
621
  msgid ""
622
  "If checked, when no thumbnail is found, show a default one from the URL "
623
  "below. If not checked and no thumbnail is found, no image will be shown."
624
  msgstr ""
625
 
626
+ #: admin/admin.php:816
627
  msgid "Default thumbnail: "
628
  msgstr ""
629
 
630
+ #: admin/admin.php:820
631
  msgid ""
632
  "The plugin will first check if the post contains a thumbnail. If it doesn't "
633
  "then it will check the meta field. If this is not available, then it will "
634
  "show the default image as specified above"
635
  msgstr ""
636
 
637
+ #: admin/admin.php:844
638
  msgid "Custom CSS"
639
  msgstr ""
640
 
641
+ #: admin/admin.php:859
642
  msgid "Use default style included in the plugin?"
643
  msgstr ""
644
 
645
+ #: admin/admin.php:862
646
  msgid ""
647
  "Top 10 includes a default style that makes your popular posts list to look "
648
+ "beautiful. Check the box above if you want to use this."
649
+ msgstr ""
650
+
651
+ #: admin/admin.php:863
652
+ msgid ""
653
+ "Enabling this option will turn on the thumbnails and set their width and "
654
+ "height to 65px. It will also turn off the display of the author, excerpt and "
655
+ "date if already enabled. Disabling this option will not revert any settings."
656
+ msgstr ""
657
+
658
+ #: admin/admin.php:864
659
+ #, php-format
660
+ msgid ""
661
+ "You can view the default style at <a href=\"%1$s\" target=\"_blank\">%1$s</a>"
662
  msgstr ""
663
 
664
+ #: admin/admin.php:867
665
  msgid "Custom CSS to add to header:"
666
  msgstr ""
667
 
668
+ #: admin/admin.php:872
669
  msgid ""
670
  "Do not include <code>style</code> tags. Check out the <a href=\"http://"
671
  "wordpress.org/extend/plugins/top-10/faq/\" target=\"_blank\">FAQ</a> for "
672
  "available CSS classes to style."
673
  msgstr ""
674
 
675
+ #: admin/admin.php:892
 
 
 
 
 
676
  #, fuzzy
677
  msgid "Default Options"
678
  msgstr "Налады ўбудовы:"
679
 
680
+ #: admin/admin.php:892
681
  msgid "Do you want to set options to Default?"
682
  msgstr "Скінуць налады ўбудовы?"
683
 
684
+ #: admin/admin.php:916
 
 
 
 
685
  msgid ""
686
  "Over time the Daily Top 10 database grows in size, which reduces the "
687
  "performance of the plugin. Cleaning the database at regular intervals could "
689
  "will automatically delete entries older than 90 days."
690
  msgstr ""
691
 
692
+ #: admin/admin.php:917
693
  msgid ""
694
  "Note: When scheduled maintenance is enabled, WordPress will run the cron job "
695
  "everytime the job is rescheduled (i.e. you change the settings below)."
696
  msgstr ""
697
 
698
+ #: admin/admin.php:920
699
  msgid "Enable scheduled maintenance of daily tables:"
700
  msgstr ""
701
 
702
+ #: admin/admin.php:924
703
  msgid "Time to run maintenance"
704
  msgstr ""
705
 
706
+ #: admin/admin.php:925
707
  msgid "hrs"
708
  msgstr ""
709
 
710
+ #: admin/admin.php:925
711
  msgid "min"
712
  msgstr ""
713
 
714
+ #: admin/admin.php:927
715
  msgid "How often should the maintenance be run:"
716
  msgstr ""
717
 
718
+ #: admin/admin.php:931
719
  msgid "Daily"
720
  msgstr ""
721
 
722
+ #: admin/admin.php:935
723
  msgid "Weekly"
724
  msgstr ""
725
 
726
+ #: admin/admin.php:939
727
  msgid "Fortnightly"
728
  msgstr ""
729
 
730
+ #: admin/admin.php:943
731
  msgid "Monthly"
732
  msgstr ""
733
 
734
+ #: admin/admin.php:952
735
  msgid "The cron job has been scheduled. Maintenance will run "
736
  msgstr ""
737
 
738
+ #: admin/admin.php:957
739
  msgid "The cron job is missing. Please resave this page to add the job"
740
  msgstr ""
741
 
742
+ #: admin/admin.php:962
743
  msgid "Maintenance is turned off"
744
  msgstr ""
745
 
746
+ #: admin/admin.php:976
747
  msgid "Reset count"
748
  msgstr ""
749
 
750
+ #: admin/admin.php:979
751
  msgid ""
752
  "This cannot be reversed. Make sure that your database has been backed up "
753
  "before proceeding"
754
  msgstr ""
755
 
756
+ #: admin/admin.php:982
757
  #, fuzzy
758
  msgid "Reset Popular Posts"
759
  msgstr "Папулярныя запісы"
760
 
761
+ #: admin/admin.php:982
762
  msgid "Are you sure you want to reset the popular posts?"
763
  msgstr ""
764
 
765
+ #: admin/admin.php:983
766
  #, fuzzy
767
  msgid "Reset Daily Popular Posts"
768
  msgstr "Папулярныя сёння запісы"
769
 
770
+ #: admin/admin.php:983
771
  msgid "Are you sure you want to reset the daily popular posts?"
772
  msgstr ""
773
 
774
+ #: admin/admin.php:984
775
  msgid "Clear duplicates"
776
  msgstr ""
777
 
778
+ #: admin/admin.php:984
779
  msgid "This will delete the duplicate entries in the tables. Proceed?"
780
  msgstr ""
781
 
782
+ #: admin/admin.php:997
783
+ msgid "WordPress Multisite: Migrate Top 10 v1.x counts to 2.x"
784
+ msgstr ""
785
+
786
+ #: admin/admin.php:1000
787
+ msgid ""
788
+ "If you've been using Top 10 v1.x on multisite, you would have needed to "
789
+ "activate the plugin independently for each site. This would have resulted in "
790
+ "two tables being created for each site in the network. Top 10 v2.x onwards "
791
+ "uses only a single table to record the count, keeping your database clean. "
792
+ "You can use this tool to import the recorded counts from v1.x tables to the "
793
+ "new v2.x table format."
794
+ msgstr ""
795
 
796
+ #: admin/admin.php:1003
797
+ msgid ""
798
+ "If you do not see any tables below, then it means that either all data has "
799
+ "already been imported or no relevant information has been found."
800
+ msgstr ""
801
+
802
+ #: admin/admin.php:1037
803
+ msgid "Blog ID"
804
+ msgstr ""
805
+
806
+ #: admin/admin.php:1040
807
+ msgid "Status"
808
+ msgstr ""
809
+
810
+ #: admin/admin.php:1043
811
+ msgid "Select to import"
812
+ msgstr ""
813
+
814
+ #: admin/admin.php:1053
815
+ msgid "Blog #"
816
+ msgstr ""
817
+
818
+ #: admin/admin.php:1063
819
+ msgid "Not imported"
820
+ msgstr ""
821
+
822
+ #: admin/admin.php:1067
823
+ msgid "Imported"
824
+ msgstr ""
825
+
826
+ #: admin/admin.php:1088
827
+ msgid "Begin import"
828
+ msgstr ""
829
+
830
+ #: admin/admin.php:1089
831
+ msgid "Delete selected tables"
832
+ msgstr ""
833
+
834
+ #: admin/admin.php:1090
835
+ msgid "Delete all imported tables"
836
+ msgstr ""
837
+
838
+ #: admin/admin.php:1147 admin/admin.php:1243
839
  msgid "Daily Popular Posts"
840
  msgstr "Папулярныя сёння запісы"
841
 
842
+ #: admin/admin.php:1177
843
  #, fuzzy
844
  msgid "Support the development"
845
  msgstr "Падтрымаеце стваральніка ўбудовы"
846
 
847
+ #: admin/admin.php:1184
848
  msgid "Donation for Top 10"
849
  msgstr ""
850
 
851
+ #: admin/admin.php:1186
852
  msgid "Enter amount in USD: "
853
  msgstr ""
854
 
855
+ #: admin/admin.php:1190
856
  msgid "Send your donation to the author of Top 10"
857
  msgstr ""
858
 
859
+ #: admin/admin.php:1197
860
  msgid "Follow me"
861
  msgstr ""
862
 
863
+ #: admin/admin.php:1207
864
  msgid "Quick links"
865
  msgstr ""
866
 
867
+ #: admin/admin.php:1211
868
  msgid "Top 10 plugin page"
869
  msgstr ""
870
 
871
+ #: admin/admin.php:1212
872
+ msgid "Top 10 Github page"
873
+ msgstr ""
874
+
875
+ #: admin/admin.php:1213
876
  msgid "Other plugins"
877
  msgstr ""
878
 
879
+ #: admin/admin.php:1214
880
  msgid "Ajay's blog"
881
  msgstr ""
882
 
883
+ #: admin/admin.php:1215
884
  msgid "FAQ"
885
  msgstr ""
886
 
887
+ #: admin/admin.php:1216 admin/admin.php:1374
888
  msgid "Support"
889
  msgstr ""
890
 
891
+ #: admin/admin.php:1217
892
  msgid "Reviews"
893
  msgstr ""
894
 
895
+ #: admin/admin.php:1240
 
 
 
 
 
 
 
 
 
896
  #, fuzzy
897
  msgid "Overall Popular Posts"
898
  msgstr "Паглядзець усе Папулярныя запісы"
899
 
900
+ #: admin/admin.php:1351
901
+ msgid "Settings"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
902
  msgstr ""
903
 
904
+ #: admin/admin.php:1375
905
+ msgid "Donate"
906
  msgstr ""
907
 
908
+ #: includes/class-top-10-widget.php:31
909
  #, fuzzy
910
  msgid "Popular Posts [Top 10]"
911
  msgstr "Папулярныя запісы"
912
 
913
+ #: includes/class-top-10-widget.php:32
914
  #, fuzzy
915
  msgid "Display popular posts"
916
  msgstr "Папулярныя сёння запісы"
917
 
918
+ #: includes/class-top-10-widget.php:59
919
  msgid "Title"
920
  msgstr ""
921
 
922
+ #: includes/class-top-10-widget.php:64
923
  msgid "No. of posts"
924
  msgstr ""
925
 
926
+ #: includes/class-top-10-widget.php:69
927
  msgid "Overall"
928
  msgstr ""
929
 
930
+ #: includes/class-top-10-widget.php:70
931
  msgid "Custom time period (Enter below)"
932
  msgstr ""
933
 
934
+ #: includes/class-top-10-widget.php:74
935
+ msgid "In days and hours (applies only to custom option above)"
936
+ msgstr ""
937
+
938
+ #: includes/class-top-10-widget.php:76
939
+ msgid "days"
940
  msgstr ""
941
 
942
+ #: includes/class-top-10-widget.php:79
943
+ msgid "hours"
944
+ msgstr ""
945
+
946
+ #: includes/class-top-10-widget.php:84
947
  msgid "Show count?"
948
  msgstr ""
949
 
950
+ #: includes/class-top-10-widget.php:89
951
  msgid "Show excerpt?"
952
  msgstr ""
953
 
954
+ #: includes/class-top-10-widget.php:94
955
  msgid "Show author?"
956
  msgstr ""
957
 
958
+ #: includes/class-top-10-widget.php:99
959
  msgid "Show date?"
960
  msgstr ""
961
 
962
+ #: includes/class-top-10-widget.php:105
 
 
 
 
963
  #, fuzzy
964
  msgid "Thumbnails inline, before title"
965
  msgstr "Паказваць колькасць праглядаў запісу ў яе \"целе\"?"
966
 
967
+ #: includes/class-top-10-widget.php:106
968
  #, fuzzy
969
  msgid "Thumbnails inline, after title"
970
  msgstr "Паказваць колькасць праглядаў запісу ў яе \"целе\"?"
971
 
972
+ #: includes/class-top-10-widget.php:107
973
  msgid "Only thumbnails, no text"
974
  msgstr ""
975
 
976
+ #: includes/class-top-10-widget.php:108
977
  msgid "No thumbnails, only text."
978
  msgstr ""
979
 
980
+ #: includes/class-top-10-widget.php:113
981
  msgid "Thumbnail height"
982
  msgstr ""
983
 
984
+ #: includes/class-top-10-widget.php:118
985
  msgid "Thumbnail width"
986
  msgstr ""
987
 
988
+ #: top-10.php:866
989
+ msgid " by "
990
+ msgstr ""
991
+
992
+ #: top-10.php:917
993
+ #, php-format
994
+ msgid "Popular posts by <a href=\"%s\" rel=\"nofollow\" %s>Top 10 plugin</a>"
995
+ msgstr ""
996
+
997
+ #: top-10.php:1016
998
  msgid "<h3>Popular Posts</h3>"
999
  msgstr "<h3>Папулярныя запісы</h3>"
1000
 
1001
+ #: top-10.php:1017
1002
  msgid "<h3>Daily Popular</h3>"
1003
  msgstr "<h3>Папулярныя сёння запісы</h3>"
1004
 
1005
+ #: top-10.php:1018
1006
  #, fuzzy
1007
  msgid "No top posts yet"
1008
  msgstr "Загаловак блока Папулярных запісаў:"
1009
 
1010
+ #: top-10.php:1668
1011
  msgid "Once Weekly"
1012
  msgstr ""
1013
 
1014
+ #: top-10.php:1672
1015
  msgid "Once Fortnightly"
1016
  msgstr ""
1017
 
1018
+ #: top-10.php:1676
1019
  msgid "Once Monthly"
1020
  msgstr ""
1021
 
1022
+ #: top-10.php:1680
1023
+ msgid "Once quarterly"
1024
  msgstr ""
1025
 
1026
+ #~ msgid "Daily Popular should contain views of how many days? "
1027
+ #~ msgstr "За колькі дзён лічыць прагляды для запісаў, Папулярных сёння?"
1028
+
1029
+ #, fuzzy
1030
+ #~ msgid "Output options"
1031
+ #~ msgstr "Налады ўбудовы:"
1032
+
1033
+ #, fuzzy
1034
+ #~ msgid ""
1035
+ #~ "Use <code>%totalcount%</code> to display the total count, <code>"
1036
+ #~ "%dailycount%</code> to display the daily count and <code>%overallcount%</"
1037
+ #~ "code> to display the overall count across all posts on the blog. e.g. the "
1038
+ #~ "default options displays <code>(Visited 123 times, 23 visits today)</code>"
1039
+ #~ msgstr ""
1040
+ #~ "Выкарыстоўвайце <code>%totalcount%</code> каб паказваць агульны лік "
1041
+ #~ "праглядаў, а <code>%dailycount%</code> - прагляды за суткі. Напрыклад: "
1042
+ #~ "<code>(Прагледжана 123 раз, 23 разу прагляду сёння)</code>"
1043
 
1044
  #, fuzzy
1045
  #~ msgid "This option uses JavaScript and will increase your page load time"
languages/tptn-en_US.mo CHANGED
Binary file
languages/tptn-en_US.po CHANGED
@@ -1,491 +1,668 @@
1
  msgid ""
2
  msgstr ""
3
- "Project-Id-Version: Contextual Related Posts\n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2014-05-21 21:29-0000\n"
6
  "PO-Revision-Date: \n"
7
  "Last-Translator: Ajay D'Souza <me@ajaydsouza.com>\n"
8
- "Language-Team: <me@ajaydsouza.com>\n"
9
  "Language: en\n"
10
  "MIME-Version: 1.0\n"
11
  "Content-Type: text/plain; charset=UTF-8\n"
12
  "Content-Transfer-Encoding: 8bit\n"
13
  "X-Poedit-KeywordsList: __;_e;_c;__ngettext\n"
14
  "X-Poedit-Basepath: ../\n"
15
- "X-Generator: Poedit 1.6.5\n"
 
16
  "X-Poedit-SearchPath-0: .\n"
 
17
 
18
- #: admin.inc.php:115
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
19
  msgid "Options saved successfully."
20
  msgstr ""
21
 
22
- #: admin.inc.php:125
23
  msgid "Options set to Default."
24
  msgstr ""
25
 
26
- #: admin.inc.php:131
27
  msgid "Top 10 popular posts reset"
28
  msgstr ""
29
 
30
- #: admin.inc.php:137
31
  msgid "Top 10 daily popular posts reset"
32
  msgstr ""
33
 
34
- #: admin.inc.php:144
35
  msgid "Duplicate rows cleaned from tables"
36
  msgstr ""
37
 
38
- #: admin.inc.php:156
39
  msgid "Scheduled maintenance enabled / modified"
40
  msgstr ""
41
 
42
- #: admin.inc.php:160
43
  msgid "Scheduled maintenance disabled"
44
  msgstr ""
45
 
46
- #: admin.inc.php:175 admin.inc.php:297 admin.inc.php:458 admin.inc.php:487
47
- #: admin.inc.php:551 admin.inc.php:644 admin.inc.php:664 admin.inc.php:674
48
- msgid "Click to toggle"
49
  msgstr ""
50
 
51
- #: admin.inc.php:176
52
- msgid "General options"
 
 
53
  msgstr ""
54
 
55
- #: admin.inc.php:180
56
- msgid "Enable Overall stats"
57
  msgstr ""
58
 
59
- #: admin.inc.php:185
60
- msgid "Enable Daily stats"
61
  msgstr ""
62
 
63
- #: admin.inc.php:190
64
- msgid "W3 Total Cache fix:"
65
  msgstr ""
66
 
67
- #: admin.inc.php:192
68
- msgid ""
69
- "This will try to prevent W3 Total Cache from caching the addcount script of "
70
- "the plugin. Try toggling this option in case you find that our posts are not "
71
- "tracked."
72
  msgstr ""
73
 
74
- #: admin.inc.php:196
75
- msgid "Number of popular posts to display: "
 
76
  msgstr ""
77
 
78
- #: admin.inc.php:198
79
- msgid ""
80
- "Maximum number of posts that will be displayed in the list. This option is "
81
- "used if you don't specify the number of posts in the widget or shortcodes"
82
  msgstr ""
83
 
84
- #: admin.inc.php:202
85
- msgid "Daily Popular should contain views of how many days? "
86
  msgstr ""
87
 
88
- #: admin.inc.php:204
89
- msgid ""
90
- "Instead of displaying popular posts fromt he past day, this setting lets you "
91
- "display posts for as many days as you want. This can be overridden in the "
92
- "widget."
93
  msgstr ""
94
 
95
- #: admin.inc.php:207
96
- msgid "Post types to include in results (including custom post types)"
97
  msgstr ""
98
 
99
- #: admin.inc.php:218
100
- msgid "List of post or page IDs to exclude from the results: "
101
  msgstr ""
102
 
103
- #: admin.inc.php:220 admin.inc.php:361
104
- msgid "Enter comma separated list of IDs. e.g. 188,320,500"
105
  msgstr ""
106
 
107
- #: admin.inc.php:224
108
- msgid "Exclude Categories: "
 
 
 
 
 
 
 
109
  msgstr ""
110
 
111
- #: admin.inc.php:239
112
  msgid ""
113
- "Comma separated list of category slugs. The field above has an autocomplete "
114
- "so simply start typing in the starting letters and it will prompt you with "
115
- "options"
116
  msgstr ""
117
 
118
- #: admin.inc.php:244
 
 
 
 
 
119
  msgid "Display number of views on:"
120
  msgstr ""
121
 
122
- #: admin.inc.php:246
123
  msgid "Posts"
124
  msgstr ""
125
 
126
- #: admin.inc.php:247
127
  msgid "Pages"
128
  msgstr ""
129
 
130
- #: admin.inc.php:248
131
  msgid "Home page"
132
  msgstr ""
133
 
134
- #: admin.inc.php:249
135
  msgid "Feeds"
136
  msgstr ""
137
 
138
- #: admin.inc.php:250
139
  msgid "Category archives"
140
  msgstr ""
141
 
142
- #: admin.inc.php:251
143
  msgid "Tag archives"
144
  msgstr ""
145
 
146
- #: admin.inc.php:252
147
  msgid "Other archives"
148
  msgstr ""
149
 
150
- #: admin.inc.php:253
151
  msgid ""
152
  "If you choose to disable this, please add <code>&lt;?php if "
153
  "( function_exists ( 'echo_tptn_post_count' ) ) echo_tptn_post_count(); ?&gt;"
154
  "</code> to your template file where you want it displayed"
155
  msgstr ""
156
 
157
- #: admin.inc.php:256
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
158
  msgid "Always display latest post count"
159
  msgstr ""
160
 
161
- #: admin.inc.php:258
162
  msgid ""
163
  "This option uses JavaScript and will increase your page load time. Turn this "
164
  "off if you are not using caching plugins or are OK with displaying older "
165
  "cached counts."
166
  msgstr ""
167
 
168
- #: admin.inc.php:261
169
  msgid "Track visits of authors on their own posts?"
170
  msgstr ""
171
 
172
- #: admin.inc.php:263
173
  msgid ""
174
  "Disabling this option will stop authors visits tracked on their own posts"
175
  msgstr ""
176
 
177
- #: admin.inc.php:266
178
  msgid "Track visits of admins?"
179
  msgstr ""
180
 
181
- #: admin.inc.php:268
182
  msgid "Disabling this option will stop admin visits being tracked."
183
  msgstr ""
184
 
185
- #: admin.inc.php:271
186
  msgid "Track visits of Editors?"
187
  msgstr ""
188
 
189
- #: admin.inc.php:273
190
  msgid "Disabling this option will stop editor visits being tracked."
191
  msgstr ""
192
 
193
- #: admin.inc.php:276
194
  msgid "Display page views on Posts and Pages in Admin"
195
  msgstr ""
196
 
197
- #: admin.inc.php:279
198
  msgid ""
199
  "Adds three columns called Total Views, Today's Views and Views to All Posts "
200
  "and All Pages"
201
  msgstr ""
202
 
203
- #: admin.inc.php:282
204
  msgid "Show number of views to non-admins"
205
  msgstr ""
206
 
207
- #: admin.inc.php:285
208
  msgid ""
209
  "If you disable this then non-admins won't see the above columns or view the "
210
  "independent pages with the top posts"
211
  msgstr ""
212
 
213
- #: admin.inc.php:288
214
- msgid "Link to Top 10 plugin page"
215
  msgstr ""
216
 
217
- #: admin.inc.php:291
218
  msgid ""
219
- "A link to the plugin is added as an extra list item to the list of popular "
220
- "posts"
221
  msgstr ""
222
 
223
- #: admin.inc.php:298
224
- msgid "Output options"
225
  msgstr ""
226
 
227
- #: admin.inc.php:301
228
- msgid "Format to display the post views:"
 
 
 
 
229
  msgstr ""
230
 
231
- #: admin.inc.php:303
232
  msgid ""
233
- "Use <code>%totalcount%</code> to display the total count, <code>%dailycount"
234
- "%</code> to display the daily count and <code>%overallcount%</code> to "
235
- "display the overall count across all posts on the blog. e.g. the default "
236
- "options displays <code>(Visited 123 times, 23 visits today)</code>"
237
  msgstr ""
238
 
239
- #: admin.inc.php:306
240
- msgid "What do display when there are no visits?"
 
 
 
 
 
 
 
 
 
 
 
 
241
  msgstr ""
242
 
243
- #: admin.inc.php:308
244
  msgid ""
245
- "This text applies only when there are 0 hits for the post and it isn't a "
246
- "single page. e.g. if you display post views on the homepage or archives then "
247
- "this text will be used. To override this, just enter the same text as above "
248
- "option."
249
  msgstr ""
250
 
251
- #: admin.inc.php:311
252
  msgid "Title of popular posts: "
253
  msgstr ""
254
 
255
- #: admin.inc.php:314
256
  msgid "Title of daily popular posts: "
257
  msgstr ""
258
 
259
- #: admin.inc.php:317
260
  msgid "When there are no posts, what should be shown?"
261
  msgstr ""
262
 
263
- #: admin.inc.php:321
264
  msgid "Blank Output"
265
  msgstr ""
266
 
267
- #: admin.inc.php:325
268
  msgid "Display:"
269
  msgstr ""
270
 
271
- #: admin.inc.php:329
272
  msgid "Show post excerpt in list?"
273
  msgstr ""
274
 
275
- #: admin.inc.php:332
276
  msgid "Length of excerpt (in words): "
277
  msgstr ""
278
 
279
- #: admin.inc.php:335
280
  msgid "Show post author in list?"
281
  msgstr ""
282
 
283
- #: admin.inc.php:338
284
  msgid "Show post date in list?"
285
  msgstr ""
286
 
287
- #: admin.inc.php:341
288
  msgid "Limit post title length (in characters)"
289
  msgstr ""
290
 
291
- #: admin.inc.php:344
292
  msgid "Show view count in list?"
293
  msgstr ""
294
 
295
- #: admin.inc.php:347
296
  msgid "Always display latest post count in the daily lists?"
297
  msgstr ""
298
 
299
- #: admin.inc.php:349
300
  msgid ""
301
  "This option uses JavaScript and will increase your page load time. When you "
302
  "enable this option, the daily widget will not use the options set there, but "
303
  "options will need to be set on this screen."
304
  msgstr ""
305
 
306
- #: admin.inc.php:352
307
  msgid "Open links in new window"
308
  msgstr ""
309
 
310
- #: admin.inc.php:355
311
  msgid "Add nofollow attribute to links in the list"
312
  msgstr ""
313
 
314
- #: admin.inc.php:358
315
  msgid "Exclude display of related posts on these posts / pages"
316
  msgstr ""
317
 
318
- #: admin.inc.php:364
319
  msgid "Customise the list HTML"
320
  msgstr ""
321
 
322
- #: admin.inc.php:366
323
  msgid "HTML to display before the list of posts: "
324
  msgstr ""
325
 
326
- #: admin.inc.php:369
327
  msgid "HTML to display before each list item: "
328
  msgstr ""
329
 
330
- #: admin.inc.php:372
331
  msgid "HTML to display after each list item: "
332
  msgstr ""
333
 
334
- #: admin.inc.php:375
335
  msgid "HTML to display after the list of posts: "
336
  msgstr ""
337
 
338
- #: admin.inc.php:378
339
- msgid "Post thumbnail options:"
340
- msgstr ""
341
-
342
- #: admin.inc.php:380
343
  msgid "Location of post thumbnail:"
344
  msgstr ""
345
 
346
- #: admin.inc.php:384
347
  msgid "Display thumbnails inline with posts, before title"
348
  msgstr ""
349
 
350
- #: admin.inc.php:388
351
  msgid "Display thumbnails inline with posts, after title"
352
  msgstr ""
353
 
354
- #: admin.inc.php:392
355
  msgid "Display only thumbnails, no text"
356
  msgstr ""
357
 
358
- #: admin.inc.php:396
359
  msgid "Do not display thumbnails, only text."
360
  msgstr ""
361
 
362
- #: admin.inc.php:400
363
- msgid "Width of the thumbnail: "
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
364
  msgstr ""
365
 
366
- #: admin.inc.php:403
367
- msgid "Height of the thumbnail: "
 
 
368
  msgstr ""
369
 
370
- #: admin.inc.php:406
371
  msgid "Style attributes / Width and Height HTML attributes:"
372
  msgstr ""
373
 
374
- #: admin.inc.php:410
375
  msgid "Style attributes are used for width and height."
376
  msgstr ""
377
 
378
- #: admin.inc.php:414
379
  msgid "HTML width and height attributes are used for width and height."
380
  msgstr ""
381
 
382
- #: admin.inc.php:418
383
  msgid "Use timthumb to generate thumbnails? "
384
  msgstr ""
385
 
386
- #: admin.inc.php:421
387
  msgid ""
388
  "If checked, <a href=\"http://www.binarymoon.co.uk/projects/timthumb/\" "
389
  "target=\"_blank\">timthumb</a> will be used to generate thumbnails"
390
  msgstr ""
391
 
392
- #: admin.inc.php:424
393
  msgid "Quality of thumbnails generated by timthumb:"
394
  msgstr ""
395
 
396
- #: admin.inc.php:427
397
  msgid ""
398
  "Enter values between 0 and 100 only. 100 is highest quality and the highest "
399
  "file size. Suggested maximum value is 95. Default is 75."
400
  msgstr ""
401
 
402
- #: admin.inc.php:430
403
  msgid "Post thumbnail meta field name: "
404
  msgstr ""
405
 
406
- #: admin.inc.php:433
407
  msgid ""
408
  "The value of this field should contain the image source and is set in the "
409
  "<em>Add New Post</em> screen"
410
  msgstr ""
411
 
412
- #: admin.inc.php:436
413
  msgid ""
414
  "If the postmeta is not set, then should the plugin extract the first image "
415
  "from the post?"
416
  msgstr ""
417
 
418
- #: admin.inc.php:439
419
  msgid ""
420
  "This could slow down the loading of your page if the first image in the "
421
  "related posts is large in file-size"
422
  msgstr ""
423
 
424
- #: admin.inc.php:442
425
  msgid "Use default thumbnail? "
426
  msgstr ""
427
 
428
- #: admin.inc.php:445
429
  msgid ""
430
  "If checked, when no thumbnail is found, show a default one from the URL "
431
  "below. If not checked and no thumbnail is found, no image will be shown."
432
  msgstr ""
433
 
434
- #: admin.inc.php:448
435
  msgid "Default thumbnail: "
436
  msgstr ""
437
 
438
- #: admin.inc.php:452
439
  msgid ""
440
  "The plugin will first check if the post contains a thumbnail. If it doesn't "
441
  "then it will check the meta field. If this is not available, then it will "
442
  "show the default image as specified above"
443
  msgstr ""
444
 
445
- #: admin.inc.php:459
446
  msgid "Custom CSS"
447
  msgstr ""
448
 
449
- #: admin.inc.php:462
450
  msgid "Use default style included in the plugin?"
451
  msgstr ""
452
 
453
- #: admin.inc.php:465
454
  msgid ""
455
  "Top 10 includes a default style that makes your popular posts list to look "
456
- "pretty. Check the box above if you want to use this. You will need to select "
457
- "<strong>Thumbnails inline, before title</strong> in Output Options or in the "
458
- "Widget."
 
 
 
 
 
 
 
 
 
 
 
459
  msgstr ""
460
 
461
- #: admin.inc.php:468
462
  msgid "Custom CSS to add to header:"
463
  msgstr ""
464
 
465
- #: admin.inc.php:471
466
  msgid ""
467
  "Do not include <code>style</code> tags. Check out the <a href=\"http://"
468
  "wordpress.org/extend/plugins/top-10/faq/\" target=\"_blank\">FAQ</a> for "
469
  "available CSS classes to style."
470
  msgstr ""
471
 
472
- #: admin.inc.php:478 admin.inc.php:544
473
- msgid "Save Options"
474
- msgstr ""
475
-
476
- #: admin.inc.php:479
477
  msgid "Default Options"
478
  msgstr ""
479
 
480
- #: admin.inc.php:479
481
  msgid "Do you want to set options to Default?"
482
  msgstr ""
483
 
484
- #: admin.inc.php:488
485
- msgid "Maintenance"
486
- msgstr ""
487
-
488
- #: admin.inc.php:492
489
  msgid ""
490
  "Over time the Daily Top 10 database grows in size, which reduces the "
491
  "performance of the plugin. Cleaning the database at regular intervals could "
@@ -493,337 +670,327 @@ msgid ""
493
  "will automatically delete entries older than 90 days."
494
  msgstr ""
495
 
496
- #: admin.inc.php:493
497
  msgid ""
498
  "Note: When scheduled maintenance is enabled, WordPress will run the cron job "
499
  "everytime the job is rescheduled (i.e. you change the settings below)."
500
  msgstr ""
501
 
502
- #: admin.inc.php:496
503
  msgid "Enable scheduled maintenance of daily tables:"
504
  msgstr ""
505
 
506
- #: admin.inc.php:500
507
  msgid "Time to run maintenance"
508
  msgstr ""
509
 
510
- #: admin.inc.php:501
511
  msgid "hrs"
512
  msgstr ""
513
 
514
- #: admin.inc.php:501
515
  msgid "min"
516
  msgstr ""
517
 
518
- #: admin.inc.php:503
519
  msgid "How often should the maintenance be run:"
520
  msgstr ""
521
 
522
- #: admin.inc.php:507
523
  msgid "Daily"
524
  msgstr ""
525
 
526
- #: admin.inc.php:511
527
  msgid "Weekly"
528
  msgstr ""
529
 
530
- #: admin.inc.php:515
531
  msgid "Fortnightly"
532
  msgstr ""
533
 
534
- #: admin.inc.php:519
535
  msgid "Monthly"
536
  msgstr ""
537
 
538
- #: admin.inc.php:528
539
  msgid "The cron job has been scheduled. Maintenance will run "
540
  msgstr ""
541
 
542
- #: admin.inc.php:533
543
  msgid "The cron job is missing. Please resave this page to add the job"
544
  msgstr ""
545
 
546
- #: admin.inc.php:538
547
  msgid "Maintenance is turned off"
548
  msgstr ""
549
 
550
- #: admin.inc.php:552
551
  msgid "Reset count"
552
  msgstr ""
553
 
554
- #: admin.inc.php:555
555
  msgid ""
556
  "This cannot be reversed. Make sure that your database has been backed up "
557
  "before proceeding"
558
  msgstr ""
559
 
560
- #: admin.inc.php:558
561
  msgid "Reset Popular Posts"
562
  msgstr ""
563
 
564
- #: admin.inc.php:558
565
  msgid "Are you sure you want to reset the popular posts?"
566
  msgstr ""
567
 
568
- #: admin.inc.php:559
569
  msgid "Reset Daily Popular Posts"
570
  msgstr ""
571
 
572
- #: admin.inc.php:559
573
  msgid "Are you sure you want to reset the daily popular posts?"
574
  msgstr ""
575
 
576
- #: admin.inc.php:560
577
  msgid "Clear duplicates"
578
  msgstr ""
579
 
580
- #: admin.inc.php:560
581
  msgid "This will delete the duplicate entries in the tables. Proceed?"
582
  msgstr ""
583
 
584
- #: admin.inc.php:612 admin.inc.php:1010
585
- msgid "Popular Posts"
586
- msgstr ""
587
-
588
- #: admin.inc.php:614 admin.inc.php:713
589
- msgid "Daily Popular Posts"
590
- msgstr ""
591
-
592
- #: admin.inc.php:645
593
- msgid "Support the development"
594
  msgstr ""
595
 
596
- #: admin.inc.php:652
597
- msgid "Donation for Top 10"
598
- msgstr ""
599
-
600
- #: admin.inc.php:654
601
- msgid "Enter amount in USD: "
602
- msgstr ""
603
-
604
- #: admin.inc.php:658
605
- msgid "Send your donation to the author of Top 10"
606
- msgstr ""
607
-
608
- #: admin.inc.php:665
609
- msgid "Follow me"
610
  msgstr ""
611
 
612
- #: admin.inc.php:675
613
- msgid "Quick links"
 
 
614
  msgstr ""
615
 
616
- #: admin.inc.php:679
617
- msgid "Top 10 plugin page"
618
  msgstr ""
619
 
620
- #: admin.inc.php:680
621
- msgid "Other plugins"
622
  msgstr ""
623
 
624
- #: admin.inc.php:681
625
- msgid "Ajay's blog"
626
  msgstr ""
627
 
628
- #: admin.inc.php:682
629
- msgid "FAQ"
630
  msgstr ""
631
 
632
- #: admin.inc.php:683 top-10.php:1345
633
- msgid "Support"
634
  msgstr ""
635
 
636
- #: admin.inc.php:684
637
- msgid "Reviews"
638
  msgstr ""
639
 
640
- #: admin.inc.php:704 admin.inc.php:707
641
- msgid "Top 10 Settings"
642
  msgstr ""
643
 
644
- #: admin.inc.php:704 admin.inc.php:1183
645
- msgid "Top 10"
646
  msgstr ""
647
 
648
- #: admin.inc.php:710
649
- msgid "Overall Popular Posts"
650
  msgstr ""
651
 
652
- #: admin.inc.php:882
653
- #, php-format
654
- msgid "Results %1$s to %2$s of %3$s"
655
  msgstr ""
656
 
657
- #: admin.inc.php:886
658
- #, php-format
659
- msgid "Page %s of %s"
660
  msgstr ""
661
 
662
- #: admin.inc.php:898
663
- msgid "View Daily Popular Posts"
664
  msgstr ""
665
 
666
- #: admin.inc.php:901 admin.inc.php:914
667
- msgid "Results per-page:"
668
  msgstr ""
669
 
670
- #: admin.inc.php:911
671
- msgid "View Overall Popular Posts"
672
  msgstr ""
673
 
674
- #: admin.inc.php:940
675
- msgid "Previous"
676
  msgstr ""
677
 
678
- #: admin.inc.php:968
679
- msgid "Next"
680
  msgstr ""
681
 
682
- #: admin.inc.php:1011
683
- msgid "Daily Popular"
684
  msgstr ""
685
 
686
- #: admin.inc.php:1029
687
- msgid "Total Views"
688
  msgstr ""
689
 
690
- #: admin.inc.php:1030
691
- msgid "Today's Views"
692
  msgstr ""
693
 
694
- #: admin.inc.php:1031
695
- msgid "Views"
696
  msgstr ""
697
 
698
- #: admin.inc.php:1217
699
- msgid "Visit count:"
700
  msgstr ""
701
 
702
- #: admin.inc.php:1219
703
- msgid ""
704
- "Enter a number above to update the visit count. Leaving the above box blank "
705
- "will set the count to zero"
706
  msgstr ""
707
 
708
- #: admin.inc.php:1229
709
- msgid "Location of thumbnail:"
710
  msgstr ""
711
 
712
- #: admin.inc.php:1231
713
- msgid ""
714
- "Enter the full URL to the image (JPG, PNG or GIF) you'd like to use. This "
715
- "image will be used for the post. It will be resized to the thumbnail size "
716
- "set under Settings &raquo; Related Posts &raquo; Output Options"
717
  msgstr ""
718
 
719
- #: admin.inc.php:1232
720
- msgid "The URL above is saved in the meta field: "
721
  msgstr ""
722
 
723
- #: top-10.php:456
724
- msgid " by "
725
  msgstr ""
726
 
727
- #: top-10.php:550
728
  msgid "Popular Posts [Top 10]"
729
  msgstr ""
730
 
731
- #: top-10.php:551
732
  msgid "Display popular posts"
733
  msgstr ""
734
 
735
- #: top-10.php:577
736
  msgid "Title"
737
  msgstr ""
738
 
739
- #: top-10.php:582
740
  msgid "No. of posts"
741
  msgstr ""
742
 
743
- #: top-10.php:587
744
  msgid "Overall"
745
  msgstr ""
746
 
747
- #: top-10.php:588
748
  msgid "Custom time period (Enter below)"
749
  msgstr ""
750
 
751
- #: top-10.php:593
752
- msgid "Range in number of days (applies only to custom option above)"
753
  msgstr ""
754
 
755
- #: top-10.php:598
 
 
 
 
 
 
 
 
756
  msgid "Show count?"
757
  msgstr ""
758
 
759
- #: top-10.php:603
760
  msgid "Show excerpt?"
761
  msgstr ""
762
 
763
- #: top-10.php:608
764
  msgid "Show author?"
765
  msgstr ""
766
 
767
- #: top-10.php:613
768
  msgid "Show date?"
769
  msgstr ""
770
 
771
- #: top-10.php:617
772
- msgid "Thumbnail options"
773
- msgstr ""
774
-
775
- #: top-10.php:619
776
  msgid "Thumbnails inline, before title"
777
  msgstr ""
778
 
779
- #: top-10.php:620
780
  msgid "Thumbnails inline, after title"
781
  msgstr ""
782
 
783
- #: top-10.php:621
784
  msgid "Only thumbnails, no text"
785
  msgstr ""
786
 
787
- #: top-10.php:622
788
  msgid "No thumbnails, only text."
789
  msgstr ""
790
 
791
- #: top-10.php:627
792
  msgid "Thumbnail height"
793
  msgstr ""
794
 
795
- #: top-10.php:632
796
  msgid "Thumbnail width"
797
  msgstr ""
798
 
799
- #: top-10.php:772
 
 
 
 
 
 
 
 
 
800
  msgid "<h3>Popular Posts</h3>"
801
  msgstr ""
802
 
803
- #: top-10.php:773
804
  msgid "<h3>Daily Popular</h3>"
805
  msgstr ""
806
 
807
- #: top-10.php:774
808
  msgid "No top posts yet"
809
  msgstr ""
810
 
811
- #: top-10.php:1245
812
  msgid "Once Weekly"
813
  msgstr ""
814
 
815
- #: top-10.php:1249
816
  msgid "Once Fortnightly"
817
  msgstr ""
818
 
819
- #: top-10.php:1253
820
  msgid "Once Monthly"
821
  msgstr ""
822
 
823
- #: top-10.php:1323
824
- msgid "Settings"
825
- msgstr ""
826
-
827
- #: top-10.php:1346
828
- msgid "Donate"
829
  msgstr ""
1
  msgid ""
2
  msgstr ""
3
+ "Project-Id-Version: Top 10\n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2014-12-28 00:52-0000\n"
6
  "PO-Revision-Date: \n"
7
  "Last-Translator: Ajay D'Souza <me@ajaydsouza.com>\n"
8
+ "Language-Team: Ajay DSouza <me@ajaydsouza.com>\n"
9
  "Language: en\n"
10
  "MIME-Version: 1.0\n"
11
  "Content-Type: text/plain; charset=UTF-8\n"
12
  "Content-Transfer-Encoding: 8bit\n"
13
  "X-Poedit-KeywordsList: __;_e;_c;__ngettext\n"
14
  "X-Poedit-Basepath: ../\n"
15
+ "X-Generator: Poedit 1.7.1\n"
16
+ "X-Poedit-SourceCharset: UTF-8\n"
17
  "X-Poedit-SearchPath-0: .\n"
18
+ "X-Poedit-SearchPathExcluded-0: ../admin/wick\n"
19
 
20
+ #: admin/admin-columns.php:30
21
+ msgid "Total Views"
22
+ msgstr ""
23
+
24
+ #: admin/admin-columns.php:33
25
+ msgid "Today's Views"
26
+ msgstr ""
27
+
28
+ #: admin/admin-columns.php:36
29
+ msgid "Views"
30
+ msgstr ""
31
+
32
+ #: admin/admin-dashboard.php:72
33
+ #, php-format
34
+ msgid "Results %1$s to %2$s of %3$s"
35
+ msgstr ""
36
+
37
+ #: admin/admin-dashboard.php:76
38
+ #, php-format
39
+ msgid "Page %s of %s"
40
+ msgstr ""
41
+
42
+ #: admin/admin-dashboard.php:88
43
+ msgid "View Daily Popular Posts"
44
+ msgstr ""
45
+
46
+ #: admin/admin-dashboard.php:91 admin/admin-dashboard.php:104
47
+ msgid "Results per-page:"
48
+ msgstr ""
49
+
50
+ #: admin/admin-dashboard.php:101
51
+ msgid "View Overall Popular Posts"
52
+ msgstr ""
53
+
54
+ #: admin/admin-dashboard.php:130
55
+ msgid "Previous"
56
+ msgstr ""
57
+
58
+ #: admin/admin-dashboard.php:158
59
+ msgid "Next"
60
+ msgstr ""
61
+
62
+ #: admin/admin-dashboard.php:200 admin/admin.php:1145
63
+ msgid "Popular Posts"
64
+ msgstr ""
65
+
66
+ #: admin/admin-dashboard.php:205
67
+ msgid "Daily Popular"
68
+ msgstr ""
69
+
70
+ #: admin/admin-metabox.php:38 admin/admin.php:1234
71
+ msgid "Top 10"
72
+ msgstr ""
73
+
74
+ #: admin/admin-metabox.php:71
75
+ msgid "Visit count:"
76
+ msgstr ""
77
+
78
+ #: admin/admin-metabox.php:73
79
+ msgid ""
80
+ "Enter a number above to update the visit count. Leaving the above box blank "
81
+ "will set the count to zero"
82
+ msgstr ""
83
+
84
+ #: admin/admin-metabox.php:83
85
+ msgid "Location of thumbnail:"
86
+ msgstr ""
87
+
88
+ #: admin/admin-metabox.php:85
89
+ msgid ""
90
+ "Enter the full URL to the image (JPG, PNG or GIF) you'd like to use. This "
91
+ "image will be used for the post. It will be resized to the thumbnail size "
92
+ "set under Settings &raquo; Related Posts &raquo; Output Options"
93
+ msgstr ""
94
+
95
+ #: admin/admin-metabox.php:86
96
+ msgid "The URL above is saved in the meta field: "
97
+ msgstr ""
98
+
99
+ #: admin/admin.php:160
100
  msgid "Options saved successfully."
101
  msgstr ""
102
 
103
+ #: admin/admin.php:170
104
  msgid "Options set to Default."
105
  msgstr ""
106
 
107
+ #: admin/admin.php:176
108
  msgid "Top 10 popular posts reset"
109
  msgstr ""
110
 
111
+ #: admin/admin.php:182
112
  msgid "Top 10 daily popular posts reset"
113
  msgstr ""
114
 
115
+ #: admin/admin.php:189
116
  msgid "Duplicate rows cleaned from tables"
117
  msgstr ""
118
 
119
+ #: admin/admin.php:201
120
  msgid "Scheduled maintenance enabled / modified"
121
  msgstr ""
122
 
123
+ #: admin/admin.php:205
124
  msgid "Scheduled maintenance disabled"
125
  msgstr ""
126
 
127
+ #: admin/admin.php:244
128
+ msgid "Counts from selected sites have been imported."
 
129
  msgstr ""
130
 
131
+ #: admin/admin.php:269
132
+ msgid ""
133
+ "Selected tables have been deleted. Note that only imported tables have been "
134
+ "deleted."
135
  msgstr ""
136
 
137
+ #: admin/admin.php:277 admin/admin.php:1234 admin/admin.php:1237
138
+ msgid "Top 10 Settings"
139
  msgstr ""
140
 
141
+ #: admin/admin.php:289 admin/admin.php:311
142
+ msgid "General options"
143
  msgstr ""
144
 
145
+ #: admin/admin.php:290 admin/admin.php:373
146
+ msgid "Counter and tracker options"
147
  msgstr ""
148
 
149
+ #: admin/admin.php:291 admin/admin.php:478
150
+ msgid "Popular post list options"
 
 
 
151
  msgstr ""
152
 
153
+ #: admin/admin.php:292 admin/admin.php:681
154
+ #: includes/class-top-10-widget.php:103
155
+ msgid "Thumbnail options"
156
  msgstr ""
157
 
158
+ #: admin/admin.php:293
159
+ msgid "Custom styles"
 
 
160
  msgstr ""
161
 
162
+ #: admin/admin.php:294 admin/admin.php:912
163
+ msgid "Maintenance"
164
  msgstr ""
165
 
166
+ #: admin/admin.php:310 admin/admin.php:372 admin/admin.php:477
167
+ #: admin/admin.php:680 admin/admin.php:843 admin/admin.php:911
168
+ #: admin/admin.php:975 admin/admin.php:996 admin/admin.php:1176
169
+ #: admin/admin.php:1196 admin/admin.php:1206
170
+ msgid "Click to toggle"
171
  msgstr ""
172
 
173
+ #: admin/admin.php:327
174
+ msgid "Enable Overall stats"
175
  msgstr ""
176
 
177
+ #: admin/admin.php:333
178
+ msgid "Enable Daily stats"
179
  msgstr ""
180
 
181
+ #: admin/admin.php:339
182
+ msgid "Cache fix:"
183
  msgstr ""
184
 
185
+ #: admin/admin.php:342
186
+ msgid ""
187
+ "This will try to prevent W3 Total Cache and other caching plugins from "
188
+ "caching the tracker script of the plugin. Try toggling this option in case "
189
+ "you find that your posts are not tracked."
190
+ msgstr ""
191
+
192
+ #: admin/admin.php:346
193
+ msgid "Link to Top 10 plugin page"
194
  msgstr ""
195
 
196
+ #: admin/admin.php:349
197
  msgid ""
198
+ "A link to the plugin is added as an extra list item to the list of popular "
199
+ "posts"
 
200
  msgstr ""
201
 
202
+ #: admin/admin.php:354 admin/admin.php:459 admin/admin.php:662
203
+ #: admin/admin.php:825 admin/admin.php:891 admin/admin.php:968
204
+ msgid "Save Options"
205
+ msgstr ""
206
+
207
+ #: admin/admin.php:389
208
  msgid "Display number of views on:"
209
  msgstr ""
210
 
211
+ #: admin/admin.php:391
212
  msgid "Posts"
213
  msgstr ""
214
 
215
+ #: admin/admin.php:392
216
  msgid "Pages"
217
  msgstr ""
218
 
219
+ #: admin/admin.php:393
220
  msgid "Home page"
221
  msgstr ""
222
 
223
+ #: admin/admin.php:394
224
  msgid "Feeds"
225
  msgstr ""
226
 
227
+ #: admin/admin.php:395
228
  msgid "Category archives"
229
  msgstr ""
230
 
231
+ #: admin/admin.php:396
232
  msgid "Tag archives"
233
  msgstr ""
234
 
235
+ #: admin/admin.php:397
236
  msgid "Other archives"
237
  msgstr ""
238
 
239
+ #: admin/admin.php:398
240
  msgid ""
241
  "If you choose to disable this, please add <code>&lt;?php if "
242
  "( function_exists ( 'echo_tptn_post_count' ) ) echo_tptn_post_count(); ?&gt;"
243
  "</code> to your template file where you want it displayed"
244
  msgstr ""
245
 
246
+ #: admin/admin.php:402
247
+ msgid "Format to display the post views:"
248
+ msgstr ""
249
+
250
+ #: admin/admin.php:405
251
+ msgid ""
252
+ "Use <code>%totalcount%</code> to display the total count, <code>%dailycount"
253
+ "%</code> to display the daily count and <code>%overallcount%</code> to "
254
+ "display the overall count across all posts on the blog. e.g. the default "
255
+ "options displays <code>[Visited 123 times, 23 visits today]</code>"
256
+ msgstr ""
257
+
258
+ #: admin/admin.php:409
259
+ msgid "What do display when there are no visits?"
260
+ msgstr ""
261
+
262
+ #: admin/admin.php:412
263
+ msgid ""
264
+ "This text applies only when there are 0 hits for the post and it isn't a "
265
+ "single page. e.g. if you display post views on the homepage or archives then "
266
+ "this text will be used. To override this, just enter the same text as above "
267
+ "option."
268
+ msgstr ""
269
+
270
+ #: admin/admin.php:416
271
  msgid "Always display latest post count"
272
  msgstr ""
273
 
274
+ #: admin/admin.php:419
275
  msgid ""
276
  "This option uses JavaScript and will increase your page load time. Turn this "
277
  "off if you are not using caching plugins or are OK with displaying older "
278
  "cached counts."
279
  msgstr ""
280
 
281
+ #: admin/admin.php:423
282
  msgid "Track visits of authors on their own posts?"
283
  msgstr ""
284
 
285
+ #: admin/admin.php:426
286
  msgid ""
287
  "Disabling this option will stop authors visits tracked on their own posts"
288
  msgstr ""
289
 
290
+ #: admin/admin.php:430
291
  msgid "Track visits of admins?"
292
  msgstr ""
293
 
294
+ #: admin/admin.php:433
295
  msgid "Disabling this option will stop admin visits being tracked."
296
  msgstr ""
297
 
298
+ #: admin/admin.php:437
299
  msgid "Track visits of Editors?"
300
  msgstr ""
301
 
302
+ #: admin/admin.php:440
303
  msgid "Disabling this option will stop editor visits being tracked."
304
  msgstr ""
305
 
306
+ #: admin/admin.php:444
307
  msgid "Display page views on Posts and Pages in Admin"
308
  msgstr ""
309
 
310
+ #: admin/admin.php:447
311
  msgid ""
312
  "Adds three columns called Total Views, Today's Views and Views to All Posts "
313
  "and All Pages"
314
  msgstr ""
315
 
316
+ #: admin/admin.php:451
317
  msgid "Show number of views to non-admins"
318
  msgstr ""
319
 
320
+ #: admin/admin.php:454
321
  msgid ""
322
  "If you disable this then non-admins won't see the above columns or view the "
323
  "independent pages with the top posts"
324
  msgstr ""
325
 
326
+ #: admin/admin.php:494
327
+ msgid "Number of popular posts to display: "
328
  msgstr ""
329
 
330
+ #: admin/admin.php:497
331
  msgid ""
332
+ "Maximum number of posts that will be displayed in the list. This option is "
333
+ "used if you don't specify the number of posts in the widget or shortcodes"
334
  msgstr ""
335
 
336
+ #: admin/admin.php:501
337
+ msgid "Daily popular contains top posts over:"
338
  msgstr ""
339
 
340
+ #: admin/admin.php:503
341
+ msgid "day(s)"
342
+ msgstr ""
343
+
344
+ #: admin/admin.php:504
345
+ msgid "hour(s)"
346
  msgstr ""
347
 
348
+ #: admin/admin.php:505
349
  msgid ""
350
+ "Think of Daily Popular has a custom date range applied as a global setting. "
351
+ "Instead of displaying popular posts from the past day, this setting lets you "
352
+ "display posts for as many days or as few hours as you want. This can be "
353
+ "overridden in the widget."
354
  msgstr ""
355
 
356
+ #: admin/admin.php:509
357
+ msgid "Post types to include in results (including custom post types)"
358
+ msgstr ""
359
+
360
+ #: admin/admin.php:521
361
+ msgid "List of post or page IDs to exclude from the results: "
362
+ msgstr ""
363
+
364
+ #: admin/admin.php:523 admin/admin.php:630
365
+ msgid "Enter comma separated list of IDs. e.g. 188,320,500"
366
+ msgstr ""
367
+
368
+ #: admin/admin.php:527
369
+ msgid "Exclude Categories: "
370
  msgstr ""
371
 
372
+ #: admin/admin.php:542
373
  msgid ""
374
+ "Comma separated list of category slugs. The field above has an autocomplete "
375
+ "so simply start typing in the starting letters and it will prompt you with "
376
+ "options"
 
377
  msgstr ""
378
 
379
+ #: admin/admin.php:547
380
  msgid "Title of popular posts: "
381
  msgstr ""
382
 
383
+ #: admin/admin.php:553
384
  msgid "Title of daily popular posts: "
385
  msgstr ""
386
 
387
+ #: admin/admin.php:559
388
  msgid "When there are no posts, what should be shown?"
389
  msgstr ""
390
 
391
+ #: admin/admin.php:563
392
  msgid "Blank Output"
393
  msgstr ""
394
 
395
+ #: admin/admin.php:567
396
  msgid "Display:"
397
  msgstr ""
398
 
399
+ #: admin/admin.php:572
400
  msgid "Show post excerpt in list?"
401
  msgstr ""
402
 
403
+ #: admin/admin.php:578
404
  msgid "Length of excerpt (in words): "
405
  msgstr ""
406
 
407
+ #: admin/admin.php:584
408
  msgid "Show post author in list?"
409
  msgstr ""
410
 
411
+ #: admin/admin.php:590
412
  msgid "Show post date in list?"
413
  msgstr ""
414
 
415
+ #: admin/admin.php:596
416
  msgid "Limit post title length (in characters)"
417
  msgstr ""
418
 
419
+ #: admin/admin.php:602
420
  msgid "Show view count in list?"
421
  msgstr ""
422
 
423
+ #: admin/admin.php:608
424
  msgid "Always display latest post count in the daily lists?"
425
  msgstr ""
426
 
427
+ #: admin/admin.php:611
428
  msgid ""
429
  "This option uses JavaScript and will increase your page load time. When you "
430
  "enable this option, the daily widget will not use the options set there, but "
431
  "options will need to be set on this screen."
432
  msgstr ""
433
 
434
+ #: admin/admin.php:615
435
  msgid "Open links in new window"
436
  msgstr ""
437
 
438
+ #: admin/admin.php:621
439
  msgid "Add nofollow attribute to links in the list"
440
  msgstr ""
441
 
442
+ #: admin/admin.php:627
443
  msgid "Exclude display of related posts on these posts / pages"
444
  msgstr ""
445
 
446
+ #: admin/admin.php:634
447
  msgid "Customise the list HTML"
448
  msgstr ""
449
 
450
+ #: admin/admin.php:637
451
  msgid "HTML to display before the list of posts: "
452
  msgstr ""
453
 
454
+ #: admin/admin.php:643
455
  msgid "HTML to display before each list item: "
456
  msgstr ""
457
 
458
+ #: admin/admin.php:649
459
  msgid "HTML to display after each list item: "
460
  msgstr ""
461
 
462
+ #: admin/admin.php:655
463
  msgid "HTML to display after the list of posts: "
464
  msgstr ""
465
 
466
+ #: admin/admin.php:696
 
 
 
 
467
  msgid "Location of post thumbnail:"
468
  msgstr ""
469
 
470
+ #: admin/admin.php:700
471
  msgid "Display thumbnails inline with posts, before title"
472
  msgstr ""
473
 
474
+ #: admin/admin.php:705
475
  msgid "Display thumbnails inline with posts, after title"
476
  msgstr ""
477
 
478
+ #: admin/admin.php:710
479
  msgid "Display only thumbnails, no text"
480
  msgstr ""
481
 
482
+ #: admin/admin.php:715
483
  msgid "Do not display thumbnails, only text."
484
  msgstr ""
485
 
486
+ #: admin/admin.php:719
487
+ msgid "Thumbnail size:"
488
+ msgstr ""
489
+
490
+ #: admin/admin.php:743
491
+ msgid "Custom size"
492
+ msgstr ""
493
+
494
+ #: admin/admin.php:746
495
+ msgid ""
496
+ "You can choose from existing image sizes above or create a custom size. If "
497
+ "you have chosen Custom size above, then enter the width, height and crop "
498
+ "settings below. For best results, use a cropped image."
499
+ msgstr ""
500
+
501
+ #: admin/admin.php:747
502
+ msgid ""
503
+ "If you change the width and/or height below, existing images will not be "
504
+ "automatically resized."
505
+ msgstr ""
506
+
507
+ #: admin/admin.php:748
508
+ #, php-format
509
+ msgid ""
510
+ "I recommend using <a href='%s' target='_blank'>Force Regenerate Thumbnails</"
511
+ "a> or <a href='%s' target='_blank'>Force Regenerate Thumbnails</a> to "
512
+ "regenerate all image sizes."
513
+ msgstr ""
514
+
515
+ #: admin/admin.php:751
516
+ msgid "Width of custom thumbnail:"
517
+ msgstr ""
518
+
519
+ #: admin/admin.php:756
520
+ msgid "Height of custom thumbnail"
521
+ msgstr ""
522
+
523
+ #: admin/admin.php:761
524
+ msgid "Crop mode:"
525
+ msgstr ""
526
+
527
+ #: admin/admin.php:765
528
+ msgid ""
529
+ "By default, thumbnails will be proportionately cropped. Check this box to "
530
+ "hard crop the thumbnails."
531
+ msgstr ""
532
+
533
+ #: admin/admin.php:766
534
+ #, php-format
535
+ msgid "<a href='%s' target='_blank'>Difference between soft and hard crop</a>"
536
  msgstr ""
537
 
538
+ #: admin/admin.php:768
539
+ msgid ""
540
+ "Since you're using the default styles set under the Custom Styles section, "
541
+ "the width and height is fixed at 65px and crop mode is enabled."
542
  msgstr ""
543
 
544
+ #: admin/admin.php:773
545
  msgid "Style attributes / Width and Height HTML attributes:"
546
  msgstr ""
547
 
548
+ #: admin/admin.php:777
549
  msgid "Style attributes are used for width and height."
550
  msgstr ""
551
 
552
+ #: admin/admin.php:782
553
  msgid "HTML width and height attributes are used for width and height."
554
  msgstr ""
555
 
556
+ #: admin/admin.php:786
557
  msgid "Use timthumb to generate thumbnails? "
558
  msgstr ""
559
 
560
+ #: admin/admin.php:789
561
  msgid ""
562
  "If checked, <a href=\"http://www.binarymoon.co.uk/projects/timthumb/\" "
563
  "target=\"_blank\">timthumb</a> will be used to generate thumbnails"
564
  msgstr ""
565
 
566
+ #: admin/admin.php:792
567
  msgid "Quality of thumbnails generated by timthumb:"
568
  msgstr ""
569
 
570
+ #: admin/admin.php:795
571
  msgid ""
572
  "Enter values between 0 and 100 only. 100 is highest quality and the highest "
573
  "file size. Suggested maximum value is 95. Default is 75."
574
  msgstr ""
575
 
576
+ #: admin/admin.php:798
577
  msgid "Post thumbnail meta field name: "
578
  msgstr ""
579
 
580
+ #: admin/admin.php:801
581
  msgid ""
582
  "The value of this field should contain the image source and is set in the "
583
  "<em>Add New Post</em> screen"
584
  msgstr ""
585
 
586
+ #: admin/admin.php:804
587
  msgid ""
588
  "If the postmeta is not set, then should the plugin extract the first image "
589
  "from the post?"
590
  msgstr ""
591
 
592
+ #: admin/admin.php:807
593
  msgid ""
594
  "This could slow down the loading of your page if the first image in the "
595
  "related posts is large in file-size"
596
  msgstr ""
597
 
598
+ #: admin/admin.php:810
599
  msgid "Use default thumbnail? "
600
  msgstr ""
601
 
602
+ #: admin/admin.php:813
603
  msgid ""
604
  "If checked, when no thumbnail is found, show a default one from the URL "
605
  "below. If not checked and no thumbnail is found, no image will be shown."
606
  msgstr ""
607
 
608
+ #: admin/admin.php:816
609
  msgid "Default thumbnail: "
610
  msgstr ""
611
 
612
+ #: admin/admin.php:820
613
  msgid ""
614
  "The plugin will first check if the post contains a thumbnail. If it doesn't "
615
  "then it will check the meta field. If this is not available, then it will "
616
  "show the default image as specified above"
617
  msgstr ""
618
 
619
+ #: admin/admin.php:844
620
  msgid "Custom CSS"
621
  msgstr ""
622
 
623
+ #: admin/admin.php:859
624
  msgid "Use default style included in the plugin?"
625
  msgstr ""
626
 
627
+ #: admin/admin.php:862
628
  msgid ""
629
  "Top 10 includes a default style that makes your popular posts list to look "
630
+ "beautiful. Check the box above if you want to use this."
631
+ msgstr ""
632
+
633
+ #: admin/admin.php:863
634
+ msgid ""
635
+ "Enabling this option will turn on the thumbnails and set their width and "
636
+ "height to 65px. It will also turn off the display of the author, excerpt and "
637
+ "date if already enabled. Disabling this option will not revert any settings."
638
+ msgstr ""
639
+
640
+ #: admin/admin.php:864
641
+ #, php-format
642
+ msgid ""
643
+ "You can view the default style at <a href=\"%1$s\" target=\"_blank\">%1$s</a>"
644
  msgstr ""
645
 
646
+ #: admin/admin.php:867
647
  msgid "Custom CSS to add to header:"
648
  msgstr ""
649
 
650
+ #: admin/admin.php:872
651
  msgid ""
652
  "Do not include <code>style</code> tags. Check out the <a href=\"http://"
653
  "wordpress.org/extend/plugins/top-10/faq/\" target=\"_blank\">FAQ</a> for "
654
  "available CSS classes to style."
655
  msgstr ""
656
 
657
+ #: admin/admin.php:892
 
 
 
 
658
  msgid "Default Options"
659
  msgstr ""
660
 
661
+ #: admin/admin.php:892
662
  msgid "Do you want to set options to Default?"
663
  msgstr ""
664
 
665
+ #: admin/admin.php:916
 
 
 
 
666
  msgid ""
667
  "Over time the Daily Top 10 database grows in size, which reduces the "
668
  "performance of the plugin. Cleaning the database at regular intervals could "
670
  "will automatically delete entries older than 90 days."
671
  msgstr ""
672
 
673
+ #: admin/admin.php:917
674
  msgid ""
675
  "Note: When scheduled maintenance is enabled, WordPress will run the cron job "
676
  "everytime the job is rescheduled (i.e. you change the settings below)."
677
  msgstr ""
678
 
679
+ #: admin/admin.php:920
680
  msgid "Enable scheduled maintenance of daily tables:"
681
  msgstr ""
682
 
683
+ #: admin/admin.php:924
684
  msgid "Time to run maintenance"
685
  msgstr ""
686
 
687
+ #: admin/admin.php:925
688
  msgid "hrs"
689
  msgstr ""
690
 
691
+ #: admin/admin.php:925
692
  msgid "min"
693
  msgstr ""
694
 
695
+ #: admin/admin.php:927
696
  msgid "How often should the maintenance be run:"
697
  msgstr ""
698
 
699
+ #: admin/admin.php:931
700
  msgid "Daily"
701
  msgstr ""
702
 
703
+ #: admin/admin.php:935
704
  msgid "Weekly"
705
  msgstr ""
706
 
707
+ #: admin/admin.php:939
708
  msgid "Fortnightly"
709
  msgstr ""
710
 
711
+ #: admin/admin.php:943
712
  msgid "Monthly"
713
  msgstr ""
714
 
715
+ #: admin/admin.php:952
716
  msgid "The cron job has been scheduled. Maintenance will run "
717
  msgstr ""
718
 
719
+ #: admin/admin.php:957
720
  msgid "The cron job is missing. Please resave this page to add the job"
721
  msgstr ""
722
 
723
+ #: admin/admin.php:962
724
  msgid "Maintenance is turned off"
725
  msgstr ""
726
 
727
+ #: admin/admin.php:976
728
  msgid "Reset count"
729
  msgstr ""
730
 
731
+ #: admin/admin.php:979
732
  msgid ""
733
  "This cannot be reversed. Make sure that your database has been backed up "
734
  "before proceeding"
735
  msgstr ""
736
 
737
+ #: admin/admin.php:982
738
  msgid "Reset Popular Posts"
739
  msgstr ""
740
 
741
+ #: admin/admin.php:982
742
  msgid "Are you sure you want to reset the popular posts?"
743
  msgstr ""
744
 
745
+ #: admin/admin.php:983
746
  msgid "Reset Daily Popular Posts"
747
  msgstr ""
748
 
749
+ #: admin/admin.php:983
750
  msgid "Are you sure you want to reset the daily popular posts?"
751
  msgstr ""
752
 
753
+ #: admin/admin.php:984
754
  msgid "Clear duplicates"
755
  msgstr ""
756
 
757
+ #: admin/admin.php:984
758
  msgid "This will delete the duplicate entries in the tables. Proceed?"
759
  msgstr ""
760
 
761
+ #: admin/admin.php:997
762
+ msgid "WordPress Multisite: Migrate Top 10 v1.x counts to 2.x"
 
 
 
 
 
 
 
 
763
  msgstr ""
764
 
765
+ #: admin/admin.php:1000
766
+ msgid ""
767
+ "If you've been using Top 10 v1.x on multisite, you would have needed to "
768
+ "activate the plugin independently for each site. This would have resulted in "
769
+ "two tables being created for each site in the network. Top 10 v2.x onwards "
770
+ "uses only a single table to record the count, keeping your database clean. "
771
+ "You can use this tool to import the recorded counts from v1.x tables to the "
772
+ "new v2.x table format."
 
 
 
 
 
 
773
  msgstr ""
774
 
775
+ #: admin/admin.php:1003
776
+ msgid ""
777
+ "If you do not see any tables below, then it means that either all data has "
778
+ "already been imported or no relevant information has been found."
779
  msgstr ""
780
 
781
+ #: admin/admin.php:1037
782
+ msgid "Blog ID"
783
  msgstr ""
784
 
785
+ #: admin/admin.php:1040
786
+ msgid "Status"
787
  msgstr ""
788
 
789
+ #: admin/admin.php:1043
790
+ msgid "Select to import"
791
  msgstr ""
792
 
793
+ #: admin/admin.php:1053
794
+ msgid "Blog #"
795
  msgstr ""
796
 
797
+ #: admin/admin.php:1063
798
+ msgid "Not imported"
799
  msgstr ""
800
 
801
+ #: admin/admin.php:1067
802
+ msgid "Imported"
803
  msgstr ""
804
 
805
+ #: admin/admin.php:1088
806
+ msgid "Begin import"
807
  msgstr ""
808
 
809
+ #: admin/admin.php:1089
810
+ msgid "Delete selected tables"
811
  msgstr ""
812
 
813
+ #: admin/admin.php:1090
814
+ msgid "Delete all imported tables"
815
  msgstr ""
816
 
817
+ #: admin/admin.php:1147 admin/admin.php:1243
818
+ msgid "Daily Popular Posts"
 
819
  msgstr ""
820
 
821
+ #: admin/admin.php:1177
822
+ msgid "Support the development"
 
823
  msgstr ""
824
 
825
+ #: admin/admin.php:1184
826
+ msgid "Donation for Top 10"
827
  msgstr ""
828
 
829
+ #: admin/admin.php:1186
830
+ msgid "Enter amount in USD: "
831
  msgstr ""
832
 
833
+ #: admin/admin.php:1190
834
+ msgid "Send your donation to the author of Top 10"
835
  msgstr ""
836
 
837
+ #: admin/admin.php:1197
838
+ msgid "Follow me"
839
  msgstr ""
840
 
841
+ #: admin/admin.php:1207
842
+ msgid "Quick links"
843
  msgstr ""
844
 
845
+ #: admin/admin.php:1211
846
+ msgid "Top 10 plugin page"
847
  msgstr ""
848
 
849
+ #: admin/admin.php:1212
850
+ msgid "Top 10 Github page"
851
  msgstr ""
852
 
853
+ #: admin/admin.php:1213
854
+ msgid "Other plugins"
855
  msgstr ""
856
 
857
+ #: admin/admin.php:1214
858
+ msgid "Ajay's blog"
859
  msgstr ""
860
 
861
+ #: admin/admin.php:1215
862
+ msgid "FAQ"
863
  msgstr ""
864
 
865
+ #: admin/admin.php:1216 admin/admin.php:1374
866
+ msgid "Support"
 
 
867
  msgstr ""
868
 
869
+ #: admin/admin.php:1217
870
+ msgid "Reviews"
871
  msgstr ""
872
 
873
+ #: admin/admin.php:1240
874
+ msgid "Overall Popular Posts"
 
 
 
875
  msgstr ""
876
 
877
+ #: admin/admin.php:1351
878
+ msgid "Settings"
879
  msgstr ""
880
 
881
+ #: admin/admin.php:1375
882
+ msgid "Donate"
883
  msgstr ""
884
 
885
+ #: includes/class-top-10-widget.php:31
886
  msgid "Popular Posts [Top 10]"
887
  msgstr ""
888
 
889
+ #: includes/class-top-10-widget.php:32
890
  msgid "Display popular posts"
891
  msgstr ""
892
 
893
+ #: includes/class-top-10-widget.php:59
894
  msgid "Title"
895
  msgstr ""
896
 
897
+ #: includes/class-top-10-widget.php:64
898
  msgid "No. of posts"
899
  msgstr ""
900
 
901
+ #: includes/class-top-10-widget.php:69
902
  msgid "Overall"
903
  msgstr ""
904
 
905
+ #: includes/class-top-10-widget.php:70
906
  msgid "Custom time period (Enter below)"
907
  msgstr ""
908
 
909
+ #: includes/class-top-10-widget.php:74
910
+ msgid "In days and hours (applies only to custom option above)"
911
  msgstr ""
912
 
913
+ #: includes/class-top-10-widget.php:76
914
+ msgid "days"
915
+ msgstr ""
916
+
917
+ #: includes/class-top-10-widget.php:79
918
+ msgid "hours"
919
+ msgstr ""
920
+
921
+ #: includes/class-top-10-widget.php:84
922
  msgid "Show count?"
923
  msgstr ""
924
 
925
+ #: includes/class-top-10-widget.php:89
926
  msgid "Show excerpt?"
927
  msgstr ""
928
 
929
+ #: includes/class-top-10-widget.php:94
930
  msgid "Show author?"
931
  msgstr ""
932
 
933
+ #: includes/class-top-10-widget.php:99
934
  msgid "Show date?"
935
  msgstr ""
936
 
937
+ #: includes/class-top-10-widget.php:105
 
 
 
 
938
  msgid "Thumbnails inline, before title"
939
  msgstr ""
940
 
941
+ #: includes/class-top-10-widget.php:106
942
  msgid "Thumbnails inline, after title"
943
  msgstr ""
944
 
945
+ #: includes/class-top-10-widget.php:107
946
  msgid "Only thumbnails, no text"
947
  msgstr ""
948
 
949
+ #: includes/class-top-10-widget.php:108
950
  msgid "No thumbnails, only text."
951
  msgstr ""
952
 
953
+ #: includes/class-top-10-widget.php:113
954
  msgid "Thumbnail height"
955
  msgstr ""
956
 
957
+ #: includes/class-top-10-widget.php:118
958
  msgid "Thumbnail width"
959
  msgstr ""
960
 
961
+ #: top-10.php:866
962
+ msgid " by "
963
+ msgstr ""
964
+
965
+ #: top-10.php:917
966
+ #, php-format
967
+ msgid "Popular posts by <a href=\"%s\" rel=\"nofollow\" %s>Top 10 plugin</a>"
968
+ msgstr ""
969
+
970
+ #: top-10.php:1016
971
  msgid "<h3>Popular Posts</h3>"
972
  msgstr ""
973
 
974
+ #: top-10.php:1017
975
  msgid "<h3>Daily Popular</h3>"
976
  msgstr ""
977
 
978
+ #: top-10.php:1018
979
  msgid "No top posts yet"
980
  msgstr ""
981
 
982
+ #: top-10.php:1668
983
  msgid "Once Weekly"
984
  msgstr ""
985
 
986
+ #: top-10.php:1672
987
  msgid "Once Fortnightly"
988
  msgstr ""
989
 
990
+ #: top-10.php:1676
991
  msgid "Once Monthly"
992
  msgstr ""
993
 
994
+ #: top-10.php:1680
995
+ msgid "Once quarterly"
 
 
 
 
996
  msgstr ""
languages/tptn-en_US.pot CHANGED
@@ -1,491 +1,668 @@
1
  msgid ""
2
  msgstr ""
3
- "Project-Id-Version: Contextual Related Posts\n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2014-05-21 21:29-0000\n"
6
  "PO-Revision-Date: \n"
7
  "Last-Translator: Ajay D'Souza <me@ajaydsouza.com>\n"
8
- "Language-Team: <me@ajaydsouza.com>\n"
9
  "Language: en\n"
10
  "MIME-Version: 1.0\n"
11
  "Content-Type: text/plain; charset=UTF-8\n"
12
  "Content-Transfer-Encoding: 8bit\n"
13
  "X-Poedit-KeywordsList: __;_e;_c;__ngettext\n"
14
  "X-Poedit-Basepath: ../\n"
15
- "X-Generator: Poedit 1.6.5\n"
 
16
  "X-Poedit-SearchPath-0: .\n"
 
17
 
18
- #: admin.inc.php:115
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
19
  msgid "Options saved successfully."
20
  msgstr ""
21
 
22
- #: admin.inc.php:125
23
  msgid "Options set to Default."
24
  msgstr ""
25
 
26
- #: admin.inc.php:131
27
  msgid "Top 10 popular posts reset"
28
  msgstr ""
29
 
30
- #: admin.inc.php:137
31
  msgid "Top 10 daily popular posts reset"
32
  msgstr ""
33
 
34
- #: admin.inc.php:144
35
  msgid "Duplicate rows cleaned from tables"
36
  msgstr ""
37
 
38
- #: admin.inc.php:156
39
  msgid "Scheduled maintenance enabled / modified"
40
  msgstr ""
41
 
42
- #: admin.inc.php:160
43
  msgid "Scheduled maintenance disabled"
44
  msgstr ""
45
 
46
- #: admin.inc.php:175 admin.inc.php:297 admin.inc.php:458 admin.inc.php:487
47
- #: admin.inc.php:551 admin.inc.php:644 admin.inc.php:664 admin.inc.php:674
48
- msgid "Click to toggle"
49
  msgstr ""
50
 
51
- #: admin.inc.php:176
52
- msgid "General options"
 
 
53
  msgstr ""
54
 
55
- #: admin.inc.php:180
56
- msgid "Enable Overall stats"
57
  msgstr ""
58
 
59
- #: admin.inc.php:185
60
- msgid "Enable Daily stats"
61
  msgstr ""
62
 
63
- #: admin.inc.php:190
64
- msgid "W3 Total Cache fix:"
65
  msgstr ""
66
 
67
- #: admin.inc.php:192
68
- msgid ""
69
- "This will try to prevent W3 Total Cache from caching the addcount script of "
70
- "the plugin. Try toggling this option in case you find that our posts are not "
71
- "tracked."
72
  msgstr ""
73
 
74
- #: admin.inc.php:196
75
- msgid "Number of popular posts to display: "
 
76
  msgstr ""
77
 
78
- #: admin.inc.php:198
79
- msgid ""
80
- "Maximum number of posts that will be displayed in the list. This option is "
81
- "used if you don't specify the number of posts in the widget or shortcodes"
82
  msgstr ""
83
 
84
- #: admin.inc.php:202
85
- msgid "Daily Popular should contain views of how many days? "
86
  msgstr ""
87
 
88
- #: admin.inc.php:204
89
- msgid ""
90
- "Instead of displaying popular posts fromt he past day, this setting lets you "
91
- "display posts for as many days as you want. This can be overridden in the "
92
- "widget."
93
  msgstr ""
94
 
95
- #: admin.inc.php:207
96
- msgid "Post types to include in results (including custom post types)"
97
  msgstr ""
98
 
99
- #: admin.inc.php:218
100
- msgid "List of post or page IDs to exclude from the results: "
101
  msgstr ""
102
 
103
- #: admin.inc.php:220 admin.inc.php:361
104
- msgid "Enter comma separated list of IDs. e.g. 188,320,500"
105
  msgstr ""
106
 
107
- #: admin.inc.php:224
108
- msgid "Exclude Categories: "
 
 
 
 
 
 
 
109
  msgstr ""
110
 
111
- #: admin.inc.php:239
112
  msgid ""
113
- "Comma separated list of category slugs. The field above has an autocomplete "
114
- "so simply start typing in the starting letters and it will prompt you with "
115
- "options"
116
  msgstr ""
117
 
118
- #: admin.inc.php:244
 
 
 
 
 
119
  msgid "Display number of views on:"
120
  msgstr ""
121
 
122
- #: admin.inc.php:246
123
  msgid "Posts"
124
  msgstr ""
125
 
126
- #: admin.inc.php:247
127
  msgid "Pages"
128
  msgstr ""
129
 
130
- #: admin.inc.php:248
131
  msgid "Home page"
132
  msgstr ""
133
 
134
- #: admin.inc.php:249
135
  msgid "Feeds"
136
  msgstr ""
137
 
138
- #: admin.inc.php:250
139
  msgid "Category archives"
140
  msgstr ""
141
 
142
- #: admin.inc.php:251
143
  msgid "Tag archives"
144
  msgstr ""
145
 
146
- #: admin.inc.php:252
147
  msgid "Other archives"
148
  msgstr ""
149
 
150
- #: admin.inc.php:253
151
  msgid ""
152
  "If you choose to disable this, please add <code>&lt;?php if "
153
  "( function_exists ( 'echo_tptn_post_count' ) ) echo_tptn_post_count(); ?&gt;"
154
  "</code> to your template file where you want it displayed"
155
  msgstr ""
156
 
157
- #: admin.inc.php:256
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
158
  msgid "Always display latest post count"
159
  msgstr ""
160
 
161
- #: admin.inc.php:258
162
  msgid ""
163
  "This option uses JavaScript and will increase your page load time. Turn this "
164
  "off if you are not using caching plugins or are OK with displaying older "
165
  "cached counts."
166
  msgstr ""
167
 
168
- #: admin.inc.php:261
169
  msgid "Track visits of authors on their own posts?"
170
  msgstr ""
171
 
172
- #: admin.inc.php:263
173
  msgid ""
174
  "Disabling this option will stop authors visits tracked on their own posts"
175
  msgstr ""
176
 
177
- #: admin.inc.php:266
178
  msgid "Track visits of admins?"
179
  msgstr ""
180
 
181
- #: admin.inc.php:268
182
  msgid "Disabling this option will stop admin visits being tracked."
183
  msgstr ""
184
 
185
- #: admin.inc.php:271
186
  msgid "Track visits of Editors?"
187
  msgstr ""
188
 
189
- #: admin.inc.php:273
190
  msgid "Disabling this option will stop editor visits being tracked."
191
  msgstr ""
192
 
193
- #: admin.inc.php:276
194
  msgid "Display page views on Posts and Pages in Admin"
195
  msgstr ""
196
 
197
- #: admin.inc.php:279
198
  msgid ""
199
  "Adds three columns called Total Views, Today's Views and Views to All Posts "
200
  "and All Pages"
201
  msgstr ""
202
 
203
- #: admin.inc.php:282
204
  msgid "Show number of views to non-admins"
205
  msgstr ""
206
 
207
- #: admin.inc.php:285
208
  msgid ""
209
  "If you disable this then non-admins won't see the above columns or view the "
210
  "independent pages with the top posts"
211
  msgstr ""
212
 
213
- #: admin.inc.php:288
214
- msgid "Link to Top 10 plugin page"
215
  msgstr ""
216
 
217
- #: admin.inc.php:291
218
  msgid ""
219
- "A link to the plugin is added as an extra list item to the list of popular "
220
- "posts"
221
  msgstr ""
222
 
223
- #: admin.inc.php:298
224
- msgid "Output options"
225
  msgstr ""
226
 
227
- #: admin.inc.php:301
228
- msgid "Format to display the post views:"
 
 
 
 
229
  msgstr ""
230
 
231
- #: admin.inc.php:303
232
  msgid ""
233
- "Use <code>%totalcount%</code> to display the total count, <code>%dailycount"
234
- "%</code> to display the daily count and <code>%overallcount%</code> to "
235
- "display the overall count across all posts on the blog. e.g. the default "
236
- "options displays <code>(Visited 123 times, 23 visits today)</code>"
237
  msgstr ""
238
 
239
- #: admin.inc.php:306
240
- msgid "What do display when there are no visits?"
 
 
 
 
 
 
 
 
 
 
 
 
241
  msgstr ""
242
 
243
- #: admin.inc.php:308
244
  msgid ""
245
- "This text applies only when there are 0 hits for the post and it isn't a "
246
- "single page. e.g. if you display post views on the homepage or archives then "
247
- "this text will be used. To override this, just enter the same text as above "
248
- "option."
249
  msgstr ""
250
 
251
- #: admin.inc.php:311
252
  msgid "Title of popular posts: "
253
  msgstr ""
254
 
255
- #: admin.inc.php:314
256
  msgid "Title of daily popular posts: "
257
  msgstr ""
258
 
259
- #: admin.inc.php:317
260
  msgid "When there are no posts, what should be shown?"
261
  msgstr ""
262
 
263
- #: admin.inc.php:321
264
  msgid "Blank Output"
265
  msgstr ""
266
 
267
- #: admin.inc.php:325
268
  msgid "Display:"
269
  msgstr ""
270
 
271
- #: admin.inc.php:329
272
  msgid "Show post excerpt in list?"
273
  msgstr ""
274
 
275
- #: admin.inc.php:332
276
  msgid "Length of excerpt (in words): "
277
  msgstr ""
278
 
279
- #: admin.inc.php:335
280
  msgid "Show post author in list?"
281
  msgstr ""
282
 
283
- #: admin.inc.php:338
284
  msgid "Show post date in list?"
285
  msgstr ""
286
 
287
- #: admin.inc.php:341
288
  msgid "Limit post title length (in characters)"
289
  msgstr ""
290
 
291
- #: admin.inc.php:344
292
  msgid "Show view count in list?"
293
  msgstr ""
294
 
295
- #: admin.inc.php:347
296
  msgid "Always display latest post count in the daily lists?"
297
  msgstr ""
298
 
299
- #: admin.inc.php:349
300
  msgid ""
301
  "This option uses JavaScript and will increase your page load time. When you "
302
  "enable this option, the daily widget will not use the options set there, but "
303
  "options will need to be set on this screen."
304
  msgstr ""
305
 
306
- #: admin.inc.php:352
307
  msgid "Open links in new window"
308
  msgstr ""
309
 
310
- #: admin.inc.php:355
311
  msgid "Add nofollow attribute to links in the list"
312
  msgstr ""
313
 
314
- #: admin.inc.php:358
315
  msgid "Exclude display of related posts on these posts / pages"
316
  msgstr ""
317
 
318
- #: admin.inc.php:364
319
  msgid "Customise the list HTML"
320
  msgstr ""
321
 
322
- #: admin.inc.php:366
323
  msgid "HTML to display before the list of posts: "
324
  msgstr ""
325
 
326
- #: admin.inc.php:369
327
  msgid "HTML to display before each list item: "
328
  msgstr ""
329
 
330
- #: admin.inc.php:372
331
  msgid "HTML to display after each list item: "
332
  msgstr ""
333
 
334
- #: admin.inc.php:375
335
  msgid "HTML to display after the list of posts: "
336
  msgstr ""
337
 
338
- #: admin.inc.php:378
339
- msgid "Post thumbnail options:"
340
- msgstr ""
341
-
342
- #: admin.inc.php:380
343
  msgid "Location of post thumbnail:"
344
  msgstr ""
345
 
346
- #: admin.inc.php:384
347
  msgid "Display thumbnails inline with posts, before title"
348
  msgstr ""
349
 
350
- #: admin.inc.php:388
351
  msgid "Display thumbnails inline with posts, after title"
352
  msgstr ""
353
 
354
- #: admin.inc.php:392
355
  msgid "Display only thumbnails, no text"
356
  msgstr ""
357
 
358
- #: admin.inc.php:396
359
  msgid "Do not display thumbnails, only text."
360
  msgstr ""
361
 
362
- #: admin.inc.php:400
363
- msgid "Width of the thumbnail: "
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
364
  msgstr ""
365
 
366
- #: admin.inc.php:403
367
- msgid "Height of the thumbnail: "
 
 
368
  msgstr ""
369
 
370
- #: admin.inc.php:406
371
  msgid "Style attributes / Width and Height HTML attributes:"
372
  msgstr ""
373
 
374
- #: admin.inc.php:410
375
  msgid "Style attributes are used for width and height."
376
  msgstr ""
377
 
378
- #: admin.inc.php:414
379
  msgid "HTML width and height attributes are used for width and height."
380
  msgstr ""
381
 
382
- #: admin.inc.php:418
383
  msgid "Use timthumb to generate thumbnails? "
384
  msgstr ""
385
 
386
- #: admin.inc.php:421
387
  msgid ""
388
  "If checked, <a href=\"http://www.binarymoon.co.uk/projects/timthumb/\" "
389
  "target=\"_blank\">timthumb</a> will be used to generate thumbnails"
390
  msgstr ""
391
 
392
- #: admin.inc.php:424
393
  msgid "Quality of thumbnails generated by timthumb:"
394
  msgstr ""
395
 
396
- #: admin.inc.php:427
397
  msgid ""
398
  "Enter values between 0 and 100 only. 100 is highest quality and the highest "
399
  "file size. Suggested maximum value is 95. Default is 75."
400
  msgstr ""
401
 
402
- #: admin.inc.php:430
403
  msgid "Post thumbnail meta field name: "
404
  msgstr ""
405
 
406
- #: admin.inc.php:433
407
  msgid ""
408
  "The value of this field should contain the image source and is set in the "
409
  "<em>Add New Post</em> screen"
410
  msgstr ""
411
 
412
- #: admin.inc.php:436
413
  msgid ""
414
  "If the postmeta is not set, then should the plugin extract the first image "
415
  "from the post?"
416
  msgstr ""
417
 
418
- #: admin.inc.php:439
419
  msgid ""
420
  "This could slow down the loading of your page if the first image in the "
421
  "related posts is large in file-size"
422
  msgstr ""
423
 
424
- #: admin.inc.php:442
425
  msgid "Use default thumbnail? "
426
  msgstr ""
427
 
428
- #: admin.inc.php:445
429
  msgid ""
430
  "If checked, when no thumbnail is found, show a default one from the URL "
431
  "below. If not checked and no thumbnail is found, no image will be shown."
432
  msgstr ""
433
 
434
- #: admin.inc.php:448
435
  msgid "Default thumbnail: "
436
  msgstr ""
437
 
438
- #: admin.inc.php:452
439
  msgid ""
440
  "The plugin will first check if the post contains a thumbnail. If it doesn't "
441
  "then it will check the meta field. If this is not available, then it will "
442
  "show the default image as specified above"
443
  msgstr ""
444
 
445
- #: admin.inc.php:459
446
  msgid "Custom CSS"
447
  msgstr ""
448
 
449
- #: admin.inc.php:462
450
  msgid "Use default style included in the plugin?"
451
  msgstr ""
452
 
453
- #: admin.inc.php:465
454
  msgid ""
455
  "Top 10 includes a default style that makes your popular posts list to look "
456
- "pretty. Check the box above if you want to use this. You will need to select "
457
- "<strong>Thumbnails inline, before title</strong> in Output Options or in the "
458
- "Widget."
 
 
 
 
 
 
 
 
 
 
 
459
  msgstr ""
460
 
461
- #: admin.inc.php:468
462
  msgid "Custom CSS to add to header:"
463
  msgstr ""
464
 
465
- #: admin.inc.php:471
466
  msgid ""
467
  "Do not include <code>style</code> tags. Check out the <a href=\"http://"
468
  "wordpress.org/extend/plugins/top-10/faq/\" target=\"_blank\">FAQ</a> for "
469
  "available CSS classes to style."
470
  msgstr ""
471
 
472
- #: admin.inc.php:478 admin.inc.php:544
473
- msgid "Save Options"
474
- msgstr ""
475
-
476
- #: admin.inc.php:479
477
  msgid "Default Options"
478
  msgstr ""
479
 
480
- #: admin.inc.php:479
481
  msgid "Do you want to set options to Default?"
482
  msgstr ""
483
 
484
- #: admin.inc.php:488
485
- msgid "Maintenance"
486
- msgstr ""
487
-
488
- #: admin.inc.php:492
489
  msgid ""
490
  "Over time the Daily Top 10 database grows in size, which reduces the "
491
  "performance of the plugin. Cleaning the database at regular intervals could "
@@ -493,337 +670,327 @@ msgid ""
493
  "will automatically delete entries older than 90 days."
494
  msgstr ""
495
 
496
- #: admin.inc.php:493
497
  msgid ""
498
  "Note: When scheduled maintenance is enabled, WordPress will run the cron job "
499
  "everytime the job is rescheduled (i.e. you change the settings below)."
500
  msgstr ""
501
 
502
- #: admin.inc.php:496
503
  msgid "Enable scheduled maintenance of daily tables:"
504
  msgstr ""
505
 
506
- #: admin.inc.php:500
507
  msgid "Time to run maintenance"
508
  msgstr ""
509
 
510
- #: admin.inc.php:501
511
  msgid "hrs"
512
  msgstr ""
513
 
514
- #: admin.inc.php:501
515
  msgid "min"
516
  msgstr ""
517
 
518
- #: admin.inc.php:503
519
  msgid "How often should the maintenance be run:"
520
  msgstr ""
521
 
522
- #: admin.inc.php:507
523
  msgid "Daily"
524
  msgstr ""
525
 
526
- #: admin.inc.php:511
527
  msgid "Weekly"
528
  msgstr ""
529
 
530
- #: admin.inc.php:515
531
  msgid "Fortnightly"
532
  msgstr ""
533
 
534
- #: admin.inc.php:519
535
  msgid "Monthly"
536
  msgstr ""
537
 
538
- #: admin.inc.php:528
539
  msgid "The cron job has been scheduled. Maintenance will run "
540
  msgstr ""
541
 
542
- #: admin.inc.php:533
543
  msgid "The cron job is missing. Please resave this page to add the job"
544
  msgstr ""
545
 
546
- #: admin.inc.php:538
547
  msgid "Maintenance is turned off"
548
  msgstr ""
549
 
550
- #: admin.inc.php:552
551
  msgid "Reset count"
552
  msgstr ""
553
 
554
- #: admin.inc.php:555
555
  msgid ""
556
  "This cannot be reversed. Make sure that your database has been backed up "
557
  "before proceeding"
558
  msgstr ""
559
 
560
- #: admin.inc.php:558
561
  msgid "Reset Popular Posts"
562
  msgstr ""
563
 
564
- #: admin.inc.php:558
565
  msgid "Are you sure you want to reset the popular posts?"
566
  msgstr ""
567
 
568
- #: admin.inc.php:559
569
  msgid "Reset Daily Popular Posts"
570
  msgstr ""
571
 
572
- #: admin.inc.php:559
573
  msgid "Are you sure you want to reset the daily popular posts?"
574
  msgstr ""
575
 
576
- #: admin.inc.php:560
577
  msgid "Clear duplicates"
578
  msgstr ""
579
 
580
- #: admin.inc.php:560
581
  msgid "This will delete the duplicate entries in the tables. Proceed?"
582
  msgstr ""
583
 
584
- #: admin.inc.php:612 admin.inc.php:1010
585
- msgid "Popular Posts"
586
- msgstr ""
587
-
588
- #: admin.inc.php:614 admin.inc.php:713
589
- msgid "Daily Popular Posts"
590
- msgstr ""
591
-
592
- #: admin.inc.php:645
593
- msgid "Support the development"
594
  msgstr ""
595
 
596
- #: admin.inc.php:652
597
- msgid "Donation for Top 10"
598
- msgstr ""
599
-
600
- #: admin.inc.php:654
601
- msgid "Enter amount in USD: "
602
- msgstr ""
603
-
604
- #: admin.inc.php:658
605
- msgid "Send your donation to the author of Top 10"
606
- msgstr ""
607
-
608
- #: admin.inc.php:665
609
- msgid "Follow me"
610
  msgstr ""
611
 
612
- #: admin.inc.php:675
613
- msgid "Quick links"
 
 
614
  msgstr ""
615
 
616
- #: admin.inc.php:679
617
- msgid "Top 10 plugin page"
618
  msgstr ""
619
 
620
- #: admin.inc.php:680
621
- msgid "Other plugins"
622
  msgstr ""
623
 
624
- #: admin.inc.php:681
625
- msgid "Ajay's blog"
626
  msgstr ""
627
 
628
- #: admin.inc.php:682
629
- msgid "FAQ"
630
  msgstr ""
631
 
632
- #: admin.inc.php:683 top-10.php:1345
633
- msgid "Support"
634
  msgstr ""
635
 
636
- #: admin.inc.php:684
637
- msgid "Reviews"
638
  msgstr ""
639
 
640
- #: admin.inc.php:704 admin.inc.php:707
641
- msgid "Top 10 Settings"
642
  msgstr ""
643
 
644
- #: admin.inc.php:704 admin.inc.php:1183
645
- msgid "Top 10"
646
  msgstr ""
647
 
648
- #: admin.inc.php:710
649
- msgid "Overall Popular Posts"
650
  msgstr ""
651
 
652
- #: admin.inc.php:882
653
- #, php-format
654
- msgid "Results %1$s to %2$s of %3$s"
655
  msgstr ""
656
 
657
- #: admin.inc.php:886
658
- #, php-format
659
- msgid "Page %s of %s"
660
  msgstr ""
661
 
662
- #: admin.inc.php:898
663
- msgid "View Daily Popular Posts"
664
  msgstr ""
665
 
666
- #: admin.inc.php:901 admin.inc.php:914
667
- msgid "Results per-page:"
668
  msgstr ""
669
 
670
- #: admin.inc.php:911
671
- msgid "View Overall Popular Posts"
672
  msgstr ""
673
 
674
- #: admin.inc.php:940
675
- msgid "Previous"
676
  msgstr ""
677
 
678
- #: admin.inc.php:968
679
- msgid "Next"
680
  msgstr ""
681
 
682
- #: admin.inc.php:1011
683
- msgid "Daily Popular"
684
  msgstr ""
685
 
686
- #: admin.inc.php:1029
687
- msgid "Total Views"
688
  msgstr ""
689
 
690
- #: admin.inc.php:1030
691
- msgid "Today's Views"
692
  msgstr ""
693
 
694
- #: admin.inc.php:1031
695
- msgid "Views"
696
  msgstr ""
697
 
698
- #: admin.inc.php:1217
699
- msgid "Visit count:"
700
  msgstr ""
701
 
702
- #: admin.inc.php:1219
703
- msgid ""
704
- "Enter a number above to update the visit count. Leaving the above box blank "
705
- "will set the count to zero"
706
  msgstr ""
707
 
708
- #: admin.inc.php:1229
709
- msgid "Location of thumbnail:"
710
  msgstr ""
711
 
712
- #: admin.inc.php:1231
713
- msgid ""
714
- "Enter the full URL to the image (JPG, PNG or GIF) you'd like to use. This "
715
- "image will be used for the post. It will be resized to the thumbnail size "
716
- "set under Settings &raquo; Related Posts &raquo; Output Options"
717
  msgstr ""
718
 
719
- #: admin.inc.php:1232
720
- msgid "The URL above is saved in the meta field: "
721
  msgstr ""
722
 
723
- #: top-10.php:456
724
- msgid " by "
725
  msgstr ""
726
 
727
- #: top-10.php:550
728
  msgid "Popular Posts [Top 10]"
729
  msgstr ""
730
 
731
- #: top-10.php:551
732
  msgid "Display popular posts"
733
  msgstr ""
734
 
735
- #: top-10.php:577
736
  msgid "Title"
737
  msgstr ""
738
 
739
- #: top-10.php:582
740
  msgid "No. of posts"
741
  msgstr ""
742
 
743
- #: top-10.php:587
744
  msgid "Overall"
745
  msgstr ""
746
 
747
- #: top-10.php:588
748
  msgid "Custom time period (Enter below)"
749
  msgstr ""
750
 
751
- #: top-10.php:593
752
- msgid "Range in number of days (applies only to custom option above)"
753
  msgstr ""
754
 
755
- #: top-10.php:598
 
 
 
 
 
 
 
 
756
  msgid "Show count?"
757
  msgstr ""
758
 
759
- #: top-10.php:603
760
  msgid "Show excerpt?"
761
  msgstr ""
762
 
763
- #: top-10.php:608
764
  msgid "Show author?"
765
  msgstr ""
766
 
767
- #: top-10.php:613
768
  msgid "Show date?"
769
  msgstr ""
770
 
771
- #: top-10.php:617
772
- msgid "Thumbnail options"
773
- msgstr ""
774
-
775
- #: top-10.php:619
776
  msgid "Thumbnails inline, before title"
777
  msgstr ""
778
 
779
- #: top-10.php:620
780
  msgid "Thumbnails inline, after title"
781
  msgstr ""
782
 
783
- #: top-10.php:621
784
  msgid "Only thumbnails, no text"
785
  msgstr ""
786
 
787
- #: top-10.php:622
788
  msgid "No thumbnails, only text."
789
  msgstr ""
790
 
791
- #: top-10.php:627
792
  msgid "Thumbnail height"
793
  msgstr ""
794
 
795
- #: top-10.php:632
796
  msgid "Thumbnail width"
797
  msgstr ""
798
 
799
- #: top-10.php:772
 
 
 
 
 
 
 
 
 
800
  msgid "<h3>Popular Posts</h3>"
801
  msgstr ""
802
 
803
- #: top-10.php:773
804
  msgid "<h3>Daily Popular</h3>"
805
  msgstr ""
806
 
807
- #: top-10.php:774
808
  msgid "No top posts yet"
809
  msgstr ""
810
 
811
- #: top-10.php:1245
812
  msgid "Once Weekly"
813
  msgstr ""
814
 
815
- #: top-10.php:1249
816
  msgid "Once Fortnightly"
817
  msgstr ""
818
 
819
- #: top-10.php:1253
820
  msgid "Once Monthly"
821
  msgstr ""
822
 
823
- #: top-10.php:1323
824
- msgid "Settings"
825
- msgstr ""
826
-
827
- #: top-10.php:1346
828
- msgid "Donate"
829
  msgstr ""
1
  msgid ""
2
  msgstr ""
3
+ "Project-Id-Version: Top 10\n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2014-12-28 00:52-0000\n"
6
  "PO-Revision-Date: \n"
7
  "Last-Translator: Ajay D'Souza <me@ajaydsouza.com>\n"
8
+ "Language-Team: Ajay DSouza <me@ajaydsouza.com>\n"
9
  "Language: en\n"
10
  "MIME-Version: 1.0\n"
11
  "Content-Type: text/plain; charset=UTF-8\n"
12
  "Content-Transfer-Encoding: 8bit\n"
13
  "X-Poedit-KeywordsList: __;_e;_c;__ngettext\n"
14
  "X-Poedit-Basepath: ../\n"
15
+ "X-Generator: Poedit 1.7.1\n"
16
+ "X-Poedit-SourceCharset: UTF-8\n"
17
  "X-Poedit-SearchPath-0: .\n"
18
+ "X-Poedit-SearchPathExcluded-0: ../admin/wick\n"
19
 
20
+ #: admin/admin-columns.php:30
21
+ msgid "Total Views"
22
+ msgstr ""
23
+
24
+ #: admin/admin-columns.php:33
25
+ msgid "Today's Views"
26
+ msgstr ""
27
+
28
+ #: admin/admin-columns.php:36
29
+ msgid "Views"
30
+ msgstr ""
31
+
32
+ #: admin/admin-dashboard.php:72
33
+ #, php-format
34
+ msgid "Results %1$s to %2$s of %3$s"
35
+ msgstr ""
36
+
37
+ #: admin/admin-dashboard.php:76
38
+ #, php-format
39
+ msgid "Page %s of %s"
40
+ msgstr ""
41
+
42
+ #: admin/admin-dashboard.php:88
43
+ msgid "View Daily Popular Posts"
44
+ msgstr ""
45
+
46
+ #: admin/admin-dashboard.php:91 admin/admin-dashboard.php:104
47
+ msgid "Results per-page:"
48
+ msgstr ""
49
+
50
+ #: admin/admin-dashboard.php:101
51
+ msgid "View Overall Popular Posts"
52
+ msgstr ""
53
+
54
+ #: admin/admin-dashboard.php:130
55
+ msgid "Previous"
56
+ msgstr ""
57
+
58
+ #: admin/admin-dashboard.php:158
59
+ msgid "Next"
60
+ msgstr ""
61
+
62
+ #: admin/admin-dashboard.php:200 admin/admin.php:1145
63
+ msgid "Popular Posts"
64
+ msgstr ""
65
+
66
+ #: admin/admin-dashboard.php:205
67
+ msgid "Daily Popular"
68
+ msgstr ""
69
+
70
+ #: admin/admin-metabox.php:38 admin/admin.php:1234
71
+ msgid "Top 10"
72
+ msgstr ""
73
+
74
+ #: admin/admin-metabox.php:71
75
+ msgid "Visit count:"
76
+ msgstr ""
77
+
78
+ #: admin/admin-metabox.php:73
79
+ msgid ""
80
+ "Enter a number above to update the visit count. Leaving the above box blank "
81
+ "will set the count to zero"
82
+ msgstr ""
83
+
84
+ #: admin/admin-metabox.php:83
85
+ msgid "Location of thumbnail:"
86
+ msgstr ""
87
+
88
+ #: admin/admin-metabox.php:85
89
+ msgid ""
90
+ "Enter the full URL to the image (JPG, PNG or GIF) you'd like to use. This "
91
+ "image will be used for the post. It will be resized to the thumbnail size "
92
+ "set under Settings &raquo; Related Posts &raquo; Output Options"
93
+ msgstr ""
94
+
95
+ #: admin/admin-metabox.php:86
96
+ msgid "The URL above is saved in the meta field: "
97
+ msgstr ""
98
+
99
+ #: admin/admin.php:160
100
  msgid "Options saved successfully."
101
  msgstr ""
102
 
103
+ #: admin/admin.php:170
104
  msgid "Options set to Default."
105
  msgstr ""
106
 
107
+ #: admin/admin.php:176
108
  msgid "Top 10 popular posts reset"
109
  msgstr ""
110
 
111
+ #: admin/admin.php:182
112
  msgid "Top 10 daily popular posts reset"
113
  msgstr ""
114
 
115
+ #: admin/admin.php:189
116
  msgid "Duplicate rows cleaned from tables"
117
  msgstr ""
118
 
119
+ #: admin/admin.php:201
120
  msgid "Scheduled maintenance enabled / modified"
121
  msgstr ""
122
 
123
+ #: admin/admin.php:205
124
  msgid "Scheduled maintenance disabled"
125
  msgstr ""
126
 
127
+ #: admin/admin.php:244
128
+ msgid "Counts from selected sites have been imported."
 
129
  msgstr ""
130
 
131
+ #: admin/admin.php:269
132
+ msgid ""
133
+ "Selected tables have been deleted. Note that only imported tables have been "
134
+ "deleted."
135
  msgstr ""
136
 
137
+ #: admin/admin.php:277 admin/admin.php:1234 admin/admin.php:1237
138
+ msgid "Top 10 Settings"
139
  msgstr ""
140
 
141
+ #: admin/admin.php:289 admin/admin.php:311
142
+ msgid "General options"
143
  msgstr ""
144
 
145
+ #: admin/admin.php:290 admin/admin.php:373
146
+ msgid "Counter and tracker options"
147
  msgstr ""
148
 
149
+ #: admin/admin.php:291 admin/admin.php:478
150
+ msgid "Popular post list options"
 
 
 
151
  msgstr ""
152
 
153
+ #: admin/admin.php:292 admin/admin.php:681
154
+ #: includes/class-top-10-widget.php:103
155
+ msgid "Thumbnail options"
156
  msgstr ""
157
 
158
+ #: admin/admin.php:293
159
+ msgid "Custom styles"
 
 
160
  msgstr ""
161
 
162
+ #: admin/admin.php:294 admin/admin.php:912
163
+ msgid "Maintenance"
164
  msgstr ""
165
 
166
+ #: admin/admin.php:310 admin/admin.php:372 admin/admin.php:477
167
+ #: admin/admin.php:680 admin/admin.php:843 admin/admin.php:911
168
+ #: admin/admin.php:975 admin/admin.php:996 admin/admin.php:1176
169
+ #: admin/admin.php:1196 admin/admin.php:1206
170
+ msgid "Click to toggle"
171
  msgstr ""
172
 
173
+ #: admin/admin.php:327
174
+ msgid "Enable Overall stats"
175
  msgstr ""
176
 
177
+ #: admin/admin.php:333
178
+ msgid "Enable Daily stats"
179
  msgstr ""
180
 
181
+ #: admin/admin.php:339
182
+ msgid "Cache fix:"
183
  msgstr ""
184
 
185
+ #: admin/admin.php:342
186
+ msgid ""
187
+ "This will try to prevent W3 Total Cache and other caching plugins from "
188
+ "caching the tracker script of the plugin. Try toggling this option in case "
189
+ "you find that your posts are not tracked."
190
+ msgstr ""
191
+
192
+ #: admin/admin.php:346
193
+ msgid "Link to Top 10 plugin page"
194
  msgstr ""
195
 
196
+ #: admin/admin.php:349
197
  msgid ""
198
+ "A link to the plugin is added as an extra list item to the list of popular "
199
+ "posts"
 
200
  msgstr ""
201
 
202
+ #: admin/admin.php:354 admin/admin.php:459 admin/admin.php:662
203
+ #: admin/admin.php:825 admin/admin.php:891 admin/admin.php:968
204
+ msgid "Save Options"
205
+ msgstr ""
206
+
207
+ #: admin/admin.php:389
208
  msgid "Display number of views on:"
209
  msgstr ""
210
 
211
+ #: admin/admin.php:391
212
  msgid "Posts"
213
  msgstr ""
214
 
215
+ #: admin/admin.php:392
216
  msgid "Pages"
217
  msgstr ""
218
 
219
+ #: admin/admin.php:393
220
  msgid "Home page"
221
  msgstr ""
222
 
223
+ #: admin/admin.php:394
224
  msgid "Feeds"
225
  msgstr ""
226
 
227
+ #: admin/admin.php:395
228
  msgid "Category archives"
229
  msgstr ""
230
 
231
+ #: admin/admin.php:396
232
  msgid "Tag archives"
233
  msgstr ""
234
 
235
+ #: admin/admin.php:397
236
  msgid "Other archives"
237
  msgstr ""
238
 
239
+ #: admin/admin.php:398
240
  msgid ""
241
  "If you choose to disable this, please add <code>&lt;?php if "
242
  "( function_exists ( 'echo_tptn_post_count' ) ) echo_tptn_post_count(); ?&gt;"
243
  "</code> to your template file where you want it displayed"
244
  msgstr ""
245
 
246
+ #: admin/admin.php:402
247
+ msgid "Format to display the post views:"
248
+ msgstr ""
249
+
250
+ #: admin/admin.php:405
251
+ msgid ""
252
+ "Use <code>%totalcount%</code> to display the total count, <code>%dailycount"
253
+ "%</code> to display the daily count and <code>%overallcount%</code> to "
254
+ "display the overall count across all posts on the blog. e.g. the default "
255
+ "options displays <code>[Visited 123 times, 23 visits today]</code>"
256
+ msgstr ""
257
+
258
+ #: admin/admin.php:409
259
+ msgid "What do display when there are no visits?"
260
+ msgstr ""
261
+
262
+ #: admin/admin.php:412
263
+ msgid ""
264
+ "This text applies only when there are 0 hits for the post and it isn't a "
265
+ "single page. e.g. if you display post views on the homepage or archives then "
266
+ "this text will be used. To override this, just enter the same text as above "
267
+ "option."
268
+ msgstr ""
269
+
270
+ #: admin/admin.php:416
271
  msgid "Always display latest post count"
272
  msgstr ""
273
 
274
+ #: admin/admin.php:419
275
  msgid ""
276
  "This option uses JavaScript and will increase your page load time. Turn this "
277
  "off if you are not using caching plugins or are OK with displaying older "
278
  "cached counts."
279
  msgstr ""
280
 
281
+ #: admin/admin.php:423
282
  msgid "Track visits of authors on their own posts?"
283
  msgstr ""
284
 
285
+ #: admin/admin.php:426
286
  msgid ""
287
  "Disabling this option will stop authors visits tracked on their own posts"
288
  msgstr ""
289
 
290
+ #: admin/admin.php:430
291
  msgid "Track visits of admins?"
292
  msgstr ""
293
 
294
+ #: admin/admin.php:433
295
  msgid "Disabling this option will stop admin visits being tracked."
296
  msgstr ""
297
 
298
+ #: admin/admin.php:437
299
  msgid "Track visits of Editors?"
300
  msgstr ""
301
 
302
+ #: admin/admin.php:440
303
  msgid "Disabling this option will stop editor visits being tracked."
304
  msgstr ""
305
 
306
+ #: admin/admin.php:444
307
  msgid "Display page views on Posts and Pages in Admin"
308
  msgstr ""
309
 
310
+ #: admin/admin.php:447
311
  msgid ""
312
  "Adds three columns called Total Views, Today's Views and Views to All Posts "
313
  "and All Pages"
314
  msgstr ""
315
 
316
+ #: admin/admin.php:451
317
  msgid "Show number of views to non-admins"
318
  msgstr ""
319
 
320
+ #: admin/admin.php:454
321
  msgid ""
322
  "If you disable this then non-admins won't see the above columns or view the "
323
  "independent pages with the top posts"
324
  msgstr ""
325
 
326
+ #: admin/admin.php:494
327
+ msgid "Number of popular posts to display: "
328
  msgstr ""
329
 
330
+ #: admin/admin.php:497
331
  msgid ""
332
+ "Maximum number of posts that will be displayed in the list. This option is "
333
+ "used if you don't specify the number of posts in the widget or shortcodes"
334
  msgstr ""
335
 
336
+ #: admin/admin.php:501
337
+ msgid "Daily popular contains top posts over:"
338
  msgstr ""
339
 
340
+ #: admin/admin.php:503
341
+ msgid "day(s)"
342
+ msgstr ""
343
+
344
+ #: admin/admin.php:504
345
+ msgid "hour(s)"
346
  msgstr ""
347
 
348
+ #: admin/admin.php:505
349
  msgid ""
350
+ "Think of Daily Popular has a custom date range applied as a global setting. "
351
+ "Instead of displaying popular posts from the past day, this setting lets you "
352
+ "display posts for as many days or as few hours as you want. This can be "
353
+ "overridden in the widget."
354
  msgstr ""
355
 
356
+ #: admin/admin.php:509
357
+ msgid "Post types to include in results (including custom post types)"
358
+ msgstr ""
359
+
360
+ #: admin/admin.php:521
361
+ msgid "List of post or page IDs to exclude from the results: "
362
+ msgstr ""
363
+
364
+ #: admin/admin.php:523 admin/admin.php:630
365
+ msgid "Enter comma separated list of IDs. e.g. 188,320,500"
366
+ msgstr ""
367
+
368
+ #: admin/admin.php:527
369
+ msgid "Exclude Categories: "
370
  msgstr ""
371
 
372
+ #: admin/admin.php:542
373
  msgid ""
374
+ "Comma separated list of category slugs. The field above has an autocomplete "
375
+ "so simply start typing in the starting letters and it will prompt you with "
376
+ "options"
 
377
  msgstr ""
378
 
379
+ #: admin/admin.php:547
380
  msgid "Title of popular posts: "
381
  msgstr ""
382
 
383
+ #: admin/admin.php:553
384
  msgid "Title of daily popular posts: "
385
  msgstr ""
386
 
387
+ #: admin/admin.php:559
388
  msgid "When there are no posts, what should be shown?"
389
  msgstr ""
390
 
391
+ #: admin/admin.php:563
392
  msgid "Blank Output"
393
  msgstr ""
394
 
395
+ #: admin/admin.php:567
396
  msgid "Display:"
397
  msgstr ""
398
 
399
+ #: admin/admin.php:572
400
  msgid "Show post excerpt in list?"
401
  msgstr ""
402
 
403
+ #: admin/admin.php:578
404
  msgid "Length of excerpt (in words): "
405
  msgstr ""
406
 
407
+ #: admin/admin.php:584
408
  msgid "Show post author in list?"
409
  msgstr ""
410
 
411
+ #: admin/admin.php:590
412
  msgid "Show post date in list?"
413
  msgstr ""
414
 
415
+ #: admin/admin.php:596
416
  msgid "Limit post title length (in characters)"
417
  msgstr ""
418
 
419
+ #: admin/admin.php:602
420
  msgid "Show view count in list?"
421
  msgstr ""
422
 
423
+ #: admin/admin.php:608
424
  msgid "Always display latest post count in the daily lists?"
425
  msgstr ""
426
 
427
+ #: admin/admin.php:611
428
  msgid ""
429
  "This option uses JavaScript and will increase your page load time. When you "
430
  "enable this option, the daily widget will not use the options set there, but "
431
  "options will need to be set on this screen."
432
  msgstr ""
433
 
434
+ #: admin/admin.php:615
435
  msgid "Open links in new window"
436
  msgstr ""
437
 
438
+ #: admin/admin.php:621
439
  msgid "Add nofollow attribute to links in the list"
440
  msgstr ""
441
 
442
+ #: admin/admin.php:627
443
  msgid "Exclude display of related posts on these posts / pages"
444
  msgstr ""
445
 
446
+ #: admin/admin.php:634
447
  msgid "Customise the list HTML"
448
  msgstr ""
449
 
450
+ #: admin/admin.php:637
451
  msgid "HTML to display before the list of posts: "
452
  msgstr ""
453
 
454
+ #: admin/admin.php:643
455
  msgid "HTML to display before each list item: "
456
  msgstr ""
457
 
458
+ #: admin/admin.php:649
459
  msgid "HTML to display after each list item: "
460
  msgstr ""
461
 
462
+ #: admin/admin.php:655
463
  msgid "HTML to display after the list of posts: "
464
  msgstr ""
465
 
466
+ #: admin/admin.php:696
 
 
 
 
467
  msgid "Location of post thumbnail:"
468
  msgstr ""
469
 
470
+ #: admin/admin.php:700
471
  msgid "Display thumbnails inline with posts, before title"
472
  msgstr ""
473
 
474
+ #: admin/admin.php:705
475
  msgid "Display thumbnails inline with posts, after title"
476
  msgstr ""
477
 
478
+ #: admin/admin.php:710
479
  msgid "Display only thumbnails, no text"
480
  msgstr ""
481
 
482
+ #: admin/admin.php:715
483
  msgid "Do not display thumbnails, only text."
484
  msgstr ""
485
 
486
+ #: admin/admin.php:719
487
+ msgid "Thumbnail size:"
488
+ msgstr ""
489
+
490
+ #: admin/admin.php:743
491
+ msgid "Custom size"
492
+ msgstr ""
493
+
494
+ #: admin/admin.php:746
495
+ msgid ""
496
+ "You can choose from existing image sizes above or create a custom size. If "
497
+ "you have chosen Custom size above, then enter the width, height and crop "
498
+ "settings below. For best results, use a cropped image."
499
+ msgstr ""
500
+
501
+ #: admin/admin.php:747
502
+ msgid ""
503
+ "If you change the width and/or height below, existing images will not be "
504
+ "automatically resized."
505
+ msgstr ""
506
+
507
+ #: admin/admin.php:748
508
+ #, php-format
509
+ msgid ""
510
+ "I recommend using <a href='%s' target='_blank'>Force Regenerate Thumbnails</"
511
+ "a> or <a href='%s' target='_blank'>Force Regenerate Thumbnails</a> to "
512
+ "regenerate all image sizes."
513
+ msgstr ""
514
+
515
+ #: admin/admin.php:751
516
+ msgid "Width of custom thumbnail:"
517
+ msgstr ""
518
+
519
+ #: admin/admin.php:756
520
+ msgid "Height of custom thumbnail"
521
+ msgstr ""
522
+
523
+ #: admin/admin.php:761
524
+ msgid "Crop mode:"
525
+ msgstr ""
526
+
527
+ #: admin/admin.php:765
528
+ msgid ""
529
+ "By default, thumbnails will be proportionately cropped. Check this box to "
530
+ "hard crop the thumbnails."
531
+ msgstr ""
532
+
533
+ #: admin/admin.php:766
534
+ #, php-format
535
+ msgid "<a href='%s' target='_blank'>Difference between soft and hard crop</a>"
536
  msgstr ""
537
 
538
+ #: admin/admin.php:768
539
+ msgid ""
540
+ "Since you're using the default styles set under the Custom Styles section, "
541
+ "the width and height is fixed at 65px and crop mode is enabled."
542
  msgstr ""
543
 
544
+ #: admin/admin.php:773
545
  msgid "Style attributes / Width and Height HTML attributes:"
546
  msgstr ""
547
 
548
+ #: admin/admin.php:777
549
  msgid "Style attributes are used for width and height."
550
  msgstr ""
551
 
552
+ #: admin/admin.php:782
553
  msgid "HTML width and height attributes are used for width and height."
554
  msgstr ""
555
 
556
+ #: admin/admin.php:786
557
  msgid "Use timthumb to generate thumbnails? "
558
  msgstr ""
559
 
560
+ #: admin/admin.php:789
561
  msgid ""
562
  "If checked, <a href=\"http://www.binarymoon.co.uk/projects/timthumb/\" "
563
  "target=\"_blank\">timthumb</a> will be used to generate thumbnails"
564
  msgstr ""
565
 
566
+ #: admin/admin.php:792
567
  msgid "Quality of thumbnails generated by timthumb:"
568
  msgstr ""
569
 
570
+ #: admin/admin.php:795
571
  msgid ""
572
  "Enter values between 0 and 100 only. 100 is highest quality and the highest "
573
  "file size. Suggested maximum value is 95. Default is 75."
574
  msgstr ""
575
 
576
+ #: admin/admin.php:798
577
  msgid "Post thumbnail meta field name: "
578
  msgstr ""
579
 
580
+ #: admin/admin.php:801
581
  msgid ""
582
  "The value of this field should contain the image source and is set in the "
583
  "<em>Add New Post</em> screen"
584
  msgstr ""
585
 
586
+ #: admin/admin.php:804
587
  msgid ""
588
  "If the postmeta is not set, then should the plugin extract the first image "
589
  "from the post?"
590
  msgstr ""
591
 
592
+ #: admin/admin.php:807
593
  msgid ""
594
  "This could slow down the loading of your page if the first image in the "
595
  "related posts is large in file-size"
596
  msgstr ""
597
 
598
+ #: admin/admin.php:810
599
  msgid "Use default thumbnail? "
600
  msgstr ""
601
 
602
+ #: admin/admin.php:813
603
  msgid ""
604
  "If checked, when no thumbnail is found, show a default one from the URL "
605
  "below. If not checked and no thumbnail is found, no image will be shown."
606
  msgstr ""
607
 
608
+ #: admin/admin.php:816
609
  msgid "Default thumbnail: "
610
  msgstr ""
611
 
612
+ #: admin/admin.php:820
613
  msgid ""
614
  "The plugin will first check if the post contains a thumbnail. If it doesn't "
615
  "then it will check the meta field. If this is not available, then it will "
616
  "show the default image as specified above"
617
  msgstr ""
618
 
619
+ #: admin/admin.php:844
620
  msgid "Custom CSS"
621
  msgstr ""
622
 
623
+ #: admin/admin.php:859
624
  msgid "Use default style included in the plugin?"
625
  msgstr ""
626
 
627
+ #: admin/admin.php:862
628
  msgid ""
629
  "Top 10 includes a default style that makes your popular posts list to look "
630
+ "beautiful. Check the box above if you want to use this."
631
+ msgstr ""
632
+
633
+ #: admin/admin.php:863
634
+ msgid ""
635
+ "Enabling this option will turn on the thumbnails and set their width and "
636
+ "height to 65px. It will also turn off the display of the author, excerpt and "
637
+ "date if already enabled. Disabling this option will not revert any settings."
638
+ msgstr ""
639
+
640
+ #: admin/admin.php:864
641
+ #, php-format
642
+ msgid ""
643
+ "You can view the default style at <a href=\"%1$s\" target=\"_blank\">%1$s</a>"
644
  msgstr ""
645
 
646
+ #: admin/admin.php:867
647
  msgid "Custom CSS to add to header:"
648
  msgstr ""
649
 
650
+ #: admin/admin.php:872
651
  msgid ""
652
  "Do not include <code>style</code> tags. Check out the <a href=\"http://"
653
  "wordpress.org/extend/plugins/top-10/faq/\" target=\"_blank\">FAQ</a> for "
654
  "available CSS classes to style."
655
  msgstr ""
656
 
657
+ #: admin/admin.php:892
 
 
 
 
658
  msgid "Default Options"
659
  msgstr ""
660
 
661
+ #: admin/admin.php:892
662
  msgid "Do you want to set options to Default?"
663
  msgstr ""
664
 
665
+ #: admin/admin.php:916
 
 
 
 
666
  msgid ""
667
  "Over time the Daily Top 10 database grows in size, which reduces the "
668
  "performance of the plugin. Cleaning the database at regular intervals could "
670
  "will automatically delete entries older than 90 days."
671
  msgstr ""
672
 
673
+ #: admin/admin.php:917
674
  msgid ""
675
  "Note: When scheduled maintenance is enabled, WordPress will run the cron job "
676
  "everytime the job is rescheduled (i.e. you change the settings below)."
677
  msgstr ""
678
 
679
+ #: admin/admin.php:920
680
  msgid "Enable scheduled maintenance of daily tables:"
681
  msgstr ""
682
 
683
+ #: admin/admin.php:924
684
  msgid "Time to run maintenance"
685
  msgstr ""
686
 
687
+ #: admin/admin.php:925
688
  msgid "hrs"
689
  msgstr ""
690
 
691
+ #: admin/admin.php:925
692
  msgid "min"
693
  msgstr ""
694
 
695
+ #: admin/admin.php:927
696
  msgid "How often should the maintenance be run:"
697
  msgstr ""
698
 
699
+ #: admin/admin.php:931
700
  msgid "Daily"
701
  msgstr ""
702
 
703
+ #: admin/admin.php:935
704
  msgid "Weekly"
705
  msgstr ""
706
 
707
+ #: admin/admin.php:939
708
  msgid "Fortnightly"
709
  msgstr ""
710
 
711
+ #: admin/admin.php:943
712
  msgid "Monthly"
713
  msgstr ""
714
 
715
+ #: admin/admin.php:952
716
  msgid "The cron job has been scheduled. Maintenance will run "
717
  msgstr ""
718
 
719
+ #: admin/admin.php:957
720
  msgid "The cron job is missing. Please resave this page to add the job"
721
  msgstr ""
722
 
723
+ #: admin/admin.php:962
724
  msgid "Maintenance is turned off"
725
  msgstr ""
726
 
727
+ #: admin/admin.php:976
728
  msgid "Reset count"
729
  msgstr ""
730
 
731
+ #: admin/admin.php:979
732
  msgid ""
733
  "This cannot be reversed. Make sure that your database has been backed up "
734
  "before proceeding"
735
  msgstr ""
736
 
737
+ #: admin/admin.php:982
738
  msgid "Reset Popular Posts"
739
  msgstr ""
740
 
741
+ #: admin/admin.php:982
742
  msgid "Are you sure you want to reset the popular posts?"
743
  msgstr ""
744
 
745
+ #: admin/admin.php:983
746
  msgid "Reset Daily Popular Posts"
747
  msgstr ""
748
 
749
+ #: admin/admin.php:983
750
  msgid "Are you sure you want to reset the daily popular posts?"
751
  msgstr ""
752
 
753
+ #: admin/admin.php:984
754
  msgid "Clear duplicates"
755
  msgstr ""
756
 
757
+ #: admin/admin.php:984
758
  msgid "This will delete the duplicate entries in the tables. Proceed?"
759
  msgstr ""
760
 
761
+ #: admin/admin.php:997
762
+ msgid "WordPress Multisite: Migrate Top 10 v1.x counts to 2.x"
 
 
 
 
 
 
 
 
763
  msgstr ""
764
 
765
+ #: admin/admin.php:1000
766
+ msgid ""
767
+ "If you've been using Top 10 v1.x on multisite, you would have needed to "
768
+ "activate the plugin independently for each site. This would have resulted in "
769
+ "two tables being created for each site in the network. Top 10 v2.x onwards "
770
+ "uses only a single table to record the count, keeping your database clean. "
771
+ "You can use this tool to import the recorded counts from v1.x tables to the "
772
+ "new v2.x table format."
 
 
 
 
 
 
773
  msgstr ""
774
 
775
+ #: admin/admin.php:1003
776
+ msgid ""
777
+ "If you do not see any tables below, then it means that either all data has "
778
+ "already been imported or no relevant information has been found."
779
  msgstr ""
780
 
781
+ #: admin/admin.php:1037
782
+ msgid "Blog ID"
783
  msgstr ""
784
 
785
+ #: admin/admin.php:1040
786
+ msgid "Status"
787
  msgstr ""
788
 
789
+ #: admin/admin.php:1043
790
+ msgid "Select to import"
791
  msgstr ""
792
 
793
+ #: admin/admin.php:1053
794
+ msgid "Blog #"
795
  msgstr ""
796
 
797
+ #: admin/admin.php:1063
798
+ msgid "Not imported"
799
  msgstr ""
800
 
801
+ #: admin/admin.php:1067
802
+ msgid "Imported"
803
  msgstr ""
804
 
805
+ #: admin/admin.php:1088
806
+ msgid "Begin import"
807
  msgstr ""
808
 
809
+ #: admin/admin.php:1089
810
+ msgid "Delete selected tables"
811
  msgstr ""
812
 
813
+ #: admin/admin.php:1090
814
+ msgid "Delete all imported tables"
815
  msgstr ""
816
 
817
+ #: admin/admin.php:1147 admin/admin.php:1243
818
+ msgid "Daily Popular Posts"
 
819
  msgstr ""
820
 
821
+ #: admin/admin.php:1177
822
+ msgid "Support the development"
 
823
  msgstr ""
824
 
825
+ #: admin/admin.php:1184
826
+ msgid "Donation for Top 10"
827
  msgstr ""
828
 
829
+ #: admin/admin.php:1186
830
+ msgid "Enter amount in USD: "
831
  msgstr ""
832
 
833
+ #: admin/admin.php:1190
834
+ msgid "Send your donation to the author of Top 10"
835
  msgstr ""
836
 
837
+ #: admin/admin.php:1197
838
+ msgid "Follow me"
839
  msgstr ""
840
 
841
+ #: admin/admin.php:1207
842
+ msgid "Quick links"
843
  msgstr ""
844
 
845
+ #: admin/admin.php:1211
846
+ msgid "Top 10 plugin page"
847
  msgstr ""
848
 
849
+ #: admin/admin.php:1212
850
+ msgid "Top 10 Github page"
851
  msgstr ""
852
 
853
+ #: admin/admin.php:1213
854
+ msgid "Other plugins"
855
  msgstr ""
856
 
857
+ #: admin/admin.php:1214
858
+ msgid "Ajay's blog"
859
  msgstr ""
860
 
861
+ #: admin/admin.php:1215
862
+ msgid "FAQ"
863
  msgstr ""
864
 
865
+ #: admin/admin.php:1216 admin/admin.php:1374
866
+ msgid "Support"
 
 
867
  msgstr ""
868
 
869
+ #: admin/admin.php:1217
870
+ msgid "Reviews"
871
  msgstr ""
872
 
873
+ #: admin/admin.php:1240
874
+ msgid "Overall Popular Posts"
 
 
 
875
  msgstr ""
876
 
877
+ #: admin/admin.php:1351
878
+ msgid "Settings"
879
  msgstr ""
880
 
881
+ #: admin/admin.php:1375
882
+ msgid "Donate"
883
  msgstr ""
884
 
885
+ #: includes/class-top-10-widget.php:31
886
  msgid "Popular Posts [Top 10]"
887
  msgstr ""
888
 
889
+ #: includes/class-top-10-widget.php:32
890
  msgid "Display popular posts"
891
  msgstr ""
892
 
893
+ #: includes/class-top-10-widget.php:59
894
  msgid "Title"
895
  msgstr ""
896
 
897
+ #: includes/class-top-10-widget.php:64
898
  msgid "No. of posts"
899
  msgstr ""
900
 
901
+ #: includes/class-top-10-widget.php:69
902
  msgid "Overall"
903
  msgstr ""
904
 
905
+ #: includes/class-top-10-widget.php:70
906
  msgid "Custom time period (Enter below)"
907
  msgstr ""
908
 
909
+ #: includes/class-top-10-widget.php:74
910
+ msgid "In days and hours (applies only to custom option above)"
911
  msgstr ""
912
 
913
+ #: includes/class-top-10-widget.php:76
914
+ msgid "days"
915
+ msgstr ""
916
+
917
+ #: includes/class-top-10-widget.php:79
918
+ msgid "hours"
919
+ msgstr ""
920
+
921
+ #: includes/class-top-10-widget.php:84
922
  msgid "Show count?"
923
  msgstr ""
924
 
925
+ #: includes/class-top-10-widget.php:89
926
  msgid "Show excerpt?"
927
  msgstr ""
928
 
929
+ #: includes/class-top-10-widget.php:94
930
  msgid "Show author?"
931
  msgstr ""
932
 
933
+ #: includes/class-top-10-widget.php:99
934
  msgid "Show date?"
935
  msgstr ""
936
 
937
+ #: includes/class-top-10-widget.php:105
 
 
 
 
938
  msgid "Thumbnails inline, before title"
939
  msgstr ""
940
 
941
+ #: includes/class-top-10-widget.php:106
942
  msgid "Thumbnails inline, after title"
943
  msgstr ""
944
 
945
+ #: includes/class-top-10-widget.php:107
946
  msgid "Only thumbnails, no text"
947
  msgstr ""
948
 
949
+ #: includes/class-top-10-widget.php:108
950
  msgid "No thumbnails, only text."
951
  msgstr ""
952
 
953
+ #: includes/class-top-10-widget.php:113
954
  msgid "Thumbnail height"
955
  msgstr ""
956
 
957
+ #: includes/class-top-10-widget.php:118
958
  msgid "Thumbnail width"
959
  msgstr ""
960
 
961
+ #: top-10.php:866
962
+ msgid " by "
963
+ msgstr ""
964
+
965
+ #: top-10.php:917
966
+ #, php-format
967
+ msgid "Popular posts by <a href=\"%s\" rel=\"nofollow\" %s>Top 10 plugin</a>"
968
+ msgstr ""
969
+
970
+ #: top-10.php:1016
971
  msgid "<h3>Popular Posts</h3>"
972
  msgstr ""
973
 
974
+ #: top-10.php:1017
975
  msgid "<h3>Daily Popular</h3>"
976
  msgstr ""
977
 
978
+ #: top-10.php:1018
979
  msgid "No top posts yet"
980
  msgstr ""
981
 
982
+ #: top-10.php:1668
983
  msgid "Once Weekly"
984
  msgstr ""
985
 
986
+ #: top-10.php:1672
987
  msgid "Once Fortnightly"
988
  msgstr ""
989
 
990
+ #: top-10.php:1676
991
  msgid "Once Monthly"
992
  msgstr ""
993
 
994
+ #: top-10.php:1680
995
+ msgid "Once quarterly"
 
 
 
 
996
  msgstr ""
languages/tptn-es_ES.mo CHANGED
Binary file
languages/tptn-es_ES.po CHANGED
@@ -6,13 +6,15 @@ msgstr ""
6
  "PO-Revision-Date: \n"
7
  "Last-Translator: Ajay D'Souza <me@ajaydsouza.com>\n"
8
  "Language-Team: Ajay D'Souza <me@ajaydsouza.com>\n"
9
- "Language: en\n"
10
  "MIME-Version: 1.0\n"
11
  "Content-Type: text/plain; charset=UTF-8\n"
12
  "Content-Transfer-Encoding: 8bit\n"
13
  "X-Poedit-KeywordsList: _e;__\n"
14
  "X-Poedit-Basepath: ../\n"
15
- "X-Generator: Poedit 1.6.5\n"
 
 
16
  "X-Poedit-SearchPath-0: .\n"
17
 
18
  #: admin.inc.php:115
6
  "PO-Revision-Date: \n"
7
  "Last-Translator: Ajay D'Souza <me@ajaydsouza.com>\n"
8
  "Language-Team: Ajay D'Souza <me@ajaydsouza.com>\n"
9
+ "Language: es\n"
10
  "MIME-Version: 1.0\n"
11
  "Content-Type: text/plain; charset=UTF-8\n"
12
  "Content-Transfer-Encoding: 8bit\n"
13
  "X-Poedit-KeywordsList: _e;__\n"
14
  "X-Poedit-Basepath: ../\n"
15
+ "X-Generator: Poedit 1.7.1\n"
16
+ "Plural-Forms: nplurals=2; plural=(n != 1);\n"
17
+ "X-Poedit-SourceCharset: UTF-8\n"
18
  "X-Poedit-SearchPath-0: .\n"
19
 
20
  #: admin.inc.php:115
languages/tptn-fr_FR.mo CHANGED
Binary file
languages/tptn-fr_FR.po CHANGED
@@ -2,436 +2,610 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Top 10\n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2014-05-21 21:29-0000\n"
6
  "PO-Revision-Date: \n"
7
  "Last-Translator: Ajay D'Souza <me@ajaydsouza.com>\n"
8
  "Language-Team: Ajay D'Souza <me@ajaydsouza.com>\n"
9
- "Language: en\n"
10
  "MIME-Version: 1.0\n"
11
  "Content-Type: text/plain; charset=UTF-8\n"
12
  "Content-Transfer-Encoding: 8bit\n"
13
  "X-Poedit-KeywordsList: _e;__\n"
14
  "X-Poedit-Basepath: ../\n"
15
- "X-Generator: Poedit 1.6.5\n"
 
 
16
  "X-Poedit-SearchPath-0: .\n"
17
 
18
- #: admin.inc.php:115
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
19
  msgid "Options saved successfully."
20
  msgstr "Les options sont sauvegardées avec succès"
21
 
22
- #: admin.inc.php:125
23
  msgid "Options set to Default."
24
  msgstr "Options par défaut sont définies"
25
 
26
- #: admin.inc.php:131
27
  msgid "Top 10 popular posts reset"
28
  msgstr "Annuler le top 10 des enregistrements les plus populaires"
29
 
30
- #: admin.inc.php:137
31
  msgid "Top 10 daily popular posts reset"
32
  msgstr "Annuler le top 10 des messages les plus populaires journaliers"
33
 
34
- #: admin.inc.php:144
35
  msgid "Duplicate rows cleaned from tables"
36
  msgstr ""
37
 
38
- #: admin.inc.php:156
39
  msgid "Scheduled maintenance enabled / modified"
40
  msgstr ""
41
 
42
- #: admin.inc.php:160
43
  msgid "Scheduled maintenance disabled"
44
  msgstr ""
45
 
46
- #: admin.inc.php:175 admin.inc.php:297 admin.inc.php:458 admin.inc.php:487
47
- #: admin.inc.php:551 admin.inc.php:644 admin.inc.php:664 admin.inc.php:674
48
- msgid "Click to toggle"
49
  msgstr ""
50
 
51
- #: admin.inc.php:176
52
- msgid "General options"
 
 
53
  msgstr ""
54
 
55
- #: admin.inc.php:180
56
- msgid "Enable Overall stats"
57
- msgstr ""
 
58
 
59
- #: admin.inc.php:185
60
- msgid "Enable Daily stats"
61
  msgstr ""
62
 
63
- #: admin.inc.php:190
64
- msgid "W3 Total Cache fix:"
65
  msgstr ""
66
 
67
- #: admin.inc.php:192
68
- msgid ""
69
- "This will try to prevent W3 Total Cache from caching the addcount script of "
70
- "the plugin. Try toggling this option in case you find that our posts are not "
71
- "tracked."
72
  msgstr ""
73
 
74
- #: admin.inc.php:196
75
- msgid "Number of popular posts to display: "
76
- msgstr "Le nombre de populaires sur le forum"
 
 
77
 
78
- #: admin.inc.php:198
79
- msgid ""
80
- "Maximum number of posts that will be displayed in the list. This option is "
81
- "used if you don't specify the number of posts in the widget or shortcodes"
82
  msgstr ""
83
 
84
- #: admin.inc.php:202
85
- msgid "Daily Popular should contain views of how many days? "
86
  msgstr ""
87
- "Le populaire journalier doit contenir l'information sur le nombre des jours"
88
 
89
- #: admin.inc.php:204
90
- msgid ""
91
- "Instead of displaying popular posts fromt he past day, this setting lets you "
92
- "display posts for as many days as you want. This can be overridden in the "
93
- "widget."
94
  msgstr ""
95
 
96
- #: admin.inc.php:207
97
- msgid "Post types to include in results (including custom post types)"
98
  msgstr ""
99
 
100
- #: admin.inc.php:218
101
- msgid "List of post or page IDs to exclude from the results: "
102
  msgstr ""
103
 
104
- #: admin.inc.php:220 admin.inc.php:361
105
- msgid "Enter comma separated list of IDs. e.g. 188,320,500"
106
  msgstr ""
107
 
108
- #: admin.inc.php:224
109
- msgid "Exclude Categories: "
110
- msgstr "Exclure les catégories:"
 
 
 
 
 
 
 
111
 
112
- #: admin.inc.php:239
 
113
  msgid ""
114
- "Comma separated list of category slugs. The field above has an autocomplete "
115
- "so simply start typing in the starting letters and it will prompt you with "
116
- "options"
117
  msgstr ""
 
 
 
118
 
119
- #: admin.inc.php:244
 
 
 
 
 
 
120
  #, fuzzy
121
  msgid "Display number of views on:"
122
  msgstr "Afficher le nombre des visionnages du message?"
123
 
124
- #: admin.inc.php:246
125
  msgid "Posts"
126
  msgstr ""
127
 
128
- #: admin.inc.php:247
129
  #, fuzzy
130
  msgid "Pages"
131
  msgstr "Page"
132
 
133
- #: admin.inc.php:248
134
  msgid "Home page"
135
  msgstr ""
136
 
137
- #: admin.inc.php:249
138
  msgid "Feeds"
139
  msgstr ""
140
 
141
- #: admin.inc.php:250
142
  msgid "Category archives"
143
  msgstr ""
144
 
145
- #: admin.inc.php:251
146
  msgid "Tag archives"
147
  msgstr ""
148
 
149
- #: admin.inc.php:252
150
  msgid "Other archives"
151
  msgstr ""
152
 
153
- #: admin.inc.php:253
154
  msgid ""
155
  "If you choose to disable this, please add <code>&lt;?php if "
156
  "( function_exists ( 'echo_tptn_post_count' ) ) echo_tptn_post_count(); ?&gt;"
157
  "</code> to your template file where you want it displayed"
158
  msgstr ""
159
 
160
- #: admin.inc.php:256
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
161
  msgid "Always display latest post count"
162
  msgstr ""
163
 
164
- #: admin.inc.php:258
165
  msgid ""
166
  "This option uses JavaScript and will increase your page load time. Turn this "
167
  "off if you are not using caching plugins or are OK with displaying older "
168
  "cached counts."
169
  msgstr ""
170
 
171
- #: admin.inc.php:261
172
  msgid "Track visits of authors on their own posts?"
173
  msgstr "Suivre les visites des auteurs de leurs propres messages?"
174
 
175
- #: admin.inc.php:263
176
  msgid ""
177
  "Disabling this option will stop authors visits tracked on their own posts"
178
  msgstr ""
179
 
180
- #: admin.inc.php:266
181
  #, fuzzy
182
  msgid "Track visits of admins?"
183
  msgstr "Suivre les visites des auteurs de leurs propres messages?"
184
 
185
- #: admin.inc.php:268
186
  msgid "Disabling this option will stop admin visits being tracked."
187
  msgstr ""
188
 
189
- #: admin.inc.php:271
190
  #, fuzzy
191
  msgid "Track visits of Editors?"
192
  msgstr "Suivre les visites des auteurs de leurs propres messages?"
193
 
194
- #: admin.inc.php:273
195
  msgid "Disabling this option will stop editor visits being tracked."
196
  msgstr ""
197
 
198
- #: admin.inc.php:276
199
  msgid "Display page views on Posts and Pages in Admin"
200
  msgstr ""
201
 
202
- #: admin.inc.php:279
203
  msgid ""
204
  "Adds three columns called Total Views, Today's Views and Views to All Posts "
205
  "and All Pages"
206
  msgstr ""
207
 
208
- #: admin.inc.php:282
209
  #, fuzzy
210
  msgid "Show number of views to non-admins"
211
  msgstr "Afficher le nombre des visionnages sur les pages?"
212
 
213
- #: admin.inc.php:285
214
  msgid ""
215
  "If you disable this then non-admins won't see the above columns or view the "
216
  "independent pages with the top posts"
217
  msgstr ""
218
 
219
- #: admin.inc.php:288
220
- msgid "Link to Top 10 plugin page"
221
- msgstr ""
222
 
223
- #: admin.inc.php:291
224
- #, fuzzy
225
  msgid ""
226
- "A link to the plugin is added as an extra list item to the list of popular "
227
- "posts"
228
  msgstr ""
229
- "Le lien vers le plugin en qualité d'élément complémentaire de la liste dans "
230
- "le répertoire des enregistrements populaires. Cela n'est pas obligatoire, "
231
- "mais nous vous y remercions!"
232
 
233
- #: admin.inc.php:298
234
- #, fuzzy
235
- msgid "Output options"
236
- msgstr "Paramètres de sortie"
237
 
238
- #: admin.inc.php:301
239
- #, fuzzy
240
- msgid "Format to display the post views:"
241
- msgstr "Format d’affichage de la quantité en:"
242
 
243
- #: admin.inc.php:303
244
- #, fuzzy
 
 
 
245
  msgid ""
246
- "Use <code>%totalcount%</code> to display the total count, <code>%dailycount"
247
- "%</code> to display the daily count and <code>%overallcount%</code> to "
248
- "display the overall count across all posts on the blog. e.g. the default "
249
- "options displays <code>(Visited 123 times, 23 visits today)</code>"
250
  msgstr ""
251
- "Appliquer <code>%totalcount%</code> pour l'affichage de la quantité totale, "
252
- "et code>%dailycount%</code> pour l'affichage des quantités journalières "
253
- "utiliser par exemple, les paramètres d'affichage par défaut <code>(Visited "
254
- "123 times, 23 visits today)</code>"
255
 
256
- #: admin.inc.php:306
257
- msgid "What do display when there are no visits?"
 
 
 
 
258
  msgstr ""
259
 
260
- #: admin.inc.php:308
 
 
 
 
 
 
 
 
261
  msgid ""
262
- "This text applies only when there are 0 hits for the post and it isn't a "
263
- "single page. e.g. if you display post views on the homepage or archives then "
264
- "this text will be used. To override this, just enter the same text as above "
265
- "option."
266
  msgstr ""
267
 
268
- #: admin.inc.php:311
269
  msgid "Title of popular posts: "
270
  msgstr "Les en-têtes des messages populaires"
271
 
272
- #: admin.inc.php:314
273
  msgid "Title of daily popular posts: "
274
  msgstr "Les en-têtes des messages populaires journaliers"
275
 
276
- #: admin.inc.php:317
277
  msgid "When there are no posts, what should be shown?"
278
  msgstr ""
279
 
280
- #: admin.inc.php:321
281
  msgid "Blank Output"
282
  msgstr ""
283
 
284
- #: admin.inc.php:325
285
  msgid "Display:"
286
  msgstr ""
287
 
288
- #: admin.inc.php:329
289
  msgid "Show post excerpt in list?"
290
  msgstr "Afficher le fragment du message dans la liste?"
291
 
292
- #: admin.inc.php:332
293
  msgid "Length of excerpt (in words): "
294
  msgstr "Longueur du fragment (mots):"
295
 
296
- #: admin.inc.php:335
297
  #, fuzzy
298
  msgid "Show post author in list?"
299
  msgstr "Afficher le fragment du message dans la liste?"
300
 
301
- #: admin.inc.php:338
302
  #, fuzzy
303
  msgid "Show post date in list?"
304
  msgstr "Afficher le fragment du message dans la liste?"
305
 
306
- #: admin.inc.php:341
307
  msgid "Limit post title length (in characters)"
308
  msgstr ""
309
 
310
- #: admin.inc.php:344
311
  #, fuzzy
312
  msgid "Show view count in list?"
313
  msgstr "Afficher le fragment du message dans la liste?"
314
 
315
- #: admin.inc.php:347
316
  msgid "Always display latest post count in the daily lists?"
317
  msgstr ""
318
 
319
- #: admin.inc.php:349
320
  msgid ""
321
  "This option uses JavaScript and will increase your page load time. When you "
322
  "enable this option, the daily widget will not use the options set there, but "
323
  "options will need to be set on this screen."
324
  msgstr ""
325
 
326
- #: admin.inc.php:352
327
  msgid "Open links in new window"
328
  msgstr ""
329
 
330
- #: admin.inc.php:355
331
  msgid "Add nofollow attribute to links in the list"
332
  msgstr ""
333
 
334
- #: admin.inc.php:358
335
  msgid "Exclude display of related posts on these posts / pages"
336
  msgstr ""
337
 
338
- #: admin.inc.php:364
339
  #, fuzzy
340
  msgid "Customise the list HTML"
341
  msgstr "Paramétrer la sortie:"
342
 
343
- #: admin.inc.php:366
344
  msgid "HTML to display before the list of posts: "
345
  msgstr "HTML d'affichage avant la liste des messages:"
346
 
347
- #: admin.inc.php:369
348
  msgid "HTML to display before each list item: "
349
  msgstr "HTML d'affichage avant chaque élément de la liste:"
350
 
351
- #: admin.inc.php:372
352
  msgid "HTML to display after each list item: "
353
  msgstr "HTML d'affichage après chaque élément de la liste:"
354
 
355
- #: admin.inc.php:375
356
  msgid "HTML to display after the list of posts: "
357
  msgstr "HTML d'affichage après la liste des messages:"
358
 
359
- #: admin.inc.php:378
360
- msgid "Post thumbnail options:"
361
- msgstr "Options thumbnail des messages:"
362
-
363
- #: admin.inc.php:380
364
  msgid "Location of post thumbnail:"
365
  msgstr ""
366
 
367
- #: admin.inc.php:384
368
  msgid "Display thumbnails inline with posts, before title"
369
  msgstr "Afficher le thumbnail encastré et les messages avant l'en-tête"
370
 
371
- #: admin.inc.php:388
372
  msgid "Display thumbnails inline with posts, after title"
373
  msgstr "Afficher le thumbnail encastré et les messages après l'en-tête"
374
 
375
- #: admin.inc.php:392
376
  msgid "Display only thumbnails, no text"
377
  msgstr "Afficher uniquement le thumbnail, sans le texte"
378
 
379
- #: admin.inc.php:396
380
  msgid "Do not display thumbnails, only text."
381
  msgstr "Ne pas afficher le thumbnail, uniquement le texte"
382
 
383
- #: admin.inc.php:400
384
- msgid "Width of the thumbnail: "
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
385
  msgstr ""
386
 
387
- #: admin.inc.php:403
388
- msgid "Height of the thumbnail: "
389
  msgstr ""
390
 
391
- #: admin.inc.php:406
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
392
  msgid "Style attributes / Width and Height HTML attributes:"
393
  msgstr ""
394
 
395
- #: admin.inc.php:410
396
  msgid "Style attributes are used for width and height."
397
  msgstr ""
398
 
399
- #: admin.inc.php:414
400
  msgid "HTML width and height attributes are used for width and height."
401
  msgstr ""
402
 
403
- #: admin.inc.php:418
404
  msgid "Use timthumb to generate thumbnails? "
405
  msgstr ""
406
 
407
- #: admin.inc.php:421
408
  msgid ""
409
  "If checked, <a href=\"http://www.binarymoon.co.uk/projects/timthumb/\" "
410
  "target=\"_blank\">timthumb</a> will be used to generate thumbnails"
411
  msgstr ""
412
 
413
- #: admin.inc.php:424
414
  msgid "Quality of thumbnails generated by timthumb:"
415
  msgstr ""
416
 
417
- #: admin.inc.php:427
418
  msgid ""
419
  "Enter values between 0 and 100 only. 100 is highest quality and the highest "
420
  "file size. Suggested maximum value is 95. Default is 75."
421
  msgstr ""
422
 
423
- #: admin.inc.php:430
424
  #, fuzzy
425
  msgid "Post thumbnail meta field name: "
426
  msgstr "Options thumbnail des messages:"
427
 
428
- #: admin.inc.php:433
429
  msgid ""
430
  "The value of this field should contain the image source and is set in the "
431
  "<em>Add New Post</em> screen"
432
  msgstr ""
433
 
434
- #: admin.inc.php:436
435
  #, fuzzy
436
  msgid ""
437
  "If the postmeta is not set, then should the plugin extract the first image "
@@ -442,7 +616,7 @@ msgstr ""
442
  "première image de la résolution correspondante du fichier est de taille "
443
  "supérieure"
444
 
445
- #: admin.inc.php:439
446
  #, fuzzy
447
  msgid ""
448
  "This could slow down the loading of your page if the first image in the "
@@ -453,11 +627,11 @@ msgstr ""
453
  "première image de la résolution correspondante du fichier est de taille "
454
  "supérieure"
455
 
456
- #: admin.inc.php:442
457
  msgid "Use default thumbnail? "
458
  msgstr ""
459
 
460
- #: admin.inc.php:445
461
  msgid ""
462
  "If checked, when no thumbnail is found, show a default one from the URL "
463
  "below. If not checked and no thumbnail is found, no image will be shown."
@@ -466,63 +640,65 @@ msgstr ""
466
  "Thumbnail par défaut. S'il n'a pas été déterminé, que le thumbnail n'a pas "
467
  "été retrouvé, ne pas afficher l'image."
468
 
469
- #: admin.inc.php:448
470
  msgid "Default thumbnail: "
471
  msgstr ""
472
 
473
- #: admin.inc.php:452
474
  msgid ""
475
  "The plugin will first check if the post contains a thumbnail. If it doesn't "
476
  "then it will check the meta field. If this is not available, then it will "
477
  "show the default image as specified above"
478
  msgstr ""
479
 
480
- #: admin.inc.php:459
481
  msgid "Custom CSS"
482
  msgstr ""
483
 
484
- #: admin.inc.php:462
485
  msgid "Use default style included in the plugin?"
486
  msgstr ""
487
 
488
- #: admin.inc.php:465
489
  msgid ""
490
  "Top 10 includes a default style that makes your popular posts list to look "
491
- "pretty. Check the box above if you want to use this. You will need to select "
492
- "<strong>Thumbnails inline, before title</strong> in Output Options or in the "
493
- "Widget."
 
 
 
 
 
494
  msgstr ""
495
 
496
- #: admin.inc.php:468
 
 
 
 
 
 
497
  msgid "Custom CSS to add to header:"
498
  msgstr ""
499
 
500
- #: admin.inc.php:471
501
  msgid ""
502
  "Do not include <code>style</code> tags. Check out the <a href=\"http://"
503
  "wordpress.org/extend/plugins/top-10/faq/\" target=\"_blank\">FAQ</a> for "
504
  "available CSS classes to style."
505
  msgstr ""
506
 
507
- #: admin.inc.php:478 admin.inc.php:544
508
- #, fuzzy
509
- msgid "Save Options"
510
- msgstr "Options:"
511
-
512
- #: admin.inc.php:479
513
  #, fuzzy
514
  msgid "Default Options"
515
  msgstr "Paramètres de sortie"
516
 
517
- #: admin.inc.php:479
518
  msgid "Do you want to set options to Default?"
519
  msgstr "Définir les paramètres par défaut?"
520
 
521
- #: admin.inc.php:488
522
- msgid "Maintenance"
523
- msgstr ""
524
-
525
- #: admin.inc.php:492
526
  msgid ""
527
  "Over time the Daily Top 10 database grows in size, which reduces the "
528
  "performance of the plugin. Cleaning the database at regular intervals could "
@@ -530,65 +706,65 @@ msgid ""
530
  "will automatically delete entries older than 90 days."
531
  msgstr ""
532
 
533
- #: admin.inc.php:493
534
  msgid ""
535
  "Note: When scheduled maintenance is enabled, WordPress will run the cron job "
536
  "everytime the job is rescheduled (i.e. you change the settings below)."
537
  msgstr ""
538
 
539
- #: admin.inc.php:496
540
  msgid "Enable scheduled maintenance of daily tables:"
541
  msgstr ""
542
 
543
- #: admin.inc.php:500
544
  msgid "Time to run maintenance"
545
  msgstr ""
546
 
547
- #: admin.inc.php:501
548
  msgid "hrs"
549
  msgstr ""
550
 
551
- #: admin.inc.php:501
552
  msgid "min"
553
  msgstr ""
554
 
555
- #: admin.inc.php:503
556
  msgid "How often should the maintenance be run:"
557
  msgstr ""
558
 
559
- #: admin.inc.php:507
560
  msgid "Daily"
561
  msgstr ""
562
 
563
- #: admin.inc.php:511
564
  msgid "Weekly"
565
  msgstr ""
566
 
567
- #: admin.inc.php:515
568
  msgid "Fortnightly"
569
  msgstr ""
570
 
571
- #: admin.inc.php:519
572
  msgid "Monthly"
573
  msgstr ""
574
 
575
- #: admin.inc.php:528
576
  msgid "The cron job has been scheduled. Maintenance will run "
577
  msgstr ""
578
 
579
- #: admin.inc.php:533
580
  msgid "The cron job is missing. Please resave this page to add the job"
581
  msgstr ""
582
 
583
- #: admin.inc.php:538
584
  msgid "Maintenance is turned off"
585
  msgstr ""
586
 
587
- #: admin.inc.php:552
588
  msgid "Reset count"
589
  msgstr "Réinitialiser le compteur"
590
 
591
- #: admin.inc.php:555
592
  msgid ""
593
  "This cannot be reversed. Make sure that your database has been backed up "
594
  "before proceeding"
@@ -596,302 +772,310 @@ msgstr ""
596
  "Cette action ne peut être annulée. Assurez-vous que la base de données a été "
597
  "sauvegardée avant de poursuivre."
598
 
599
- #: admin.inc.php:558
600
  #, fuzzy
601
  msgid "Reset Popular Posts"
602
  msgstr "Postes populaires"
603
 
604
- #: admin.inc.php:558
605
  msgid "Are you sure you want to reset the popular posts?"
606
  msgstr "Êtes-vous sûr de vouloir annuler les postes populaires?"
607
 
608
- #: admin.inc.php:559
609
  #, fuzzy
610
  msgid "Reset Daily Popular Posts"
611
  msgstr "Postes populaires journaliers"
612
 
613
- #: admin.inc.php:559
614
  msgid "Are you sure you want to reset the daily popular posts?"
615
  msgstr "Êtes-vous sûr de vouloir annuler les postes populaires journaliers?"
616
 
617
- #: admin.inc.php:560
618
  msgid "Clear duplicates"
619
  msgstr ""
620
 
621
- #: admin.inc.php:560
622
  msgid "This will delete the duplicate entries in the tables. Proceed?"
623
  msgstr ""
624
  "Cela supprimera les doubles des enregistrements dans les tableaux. Continuer?"
625
 
626
- #: admin.inc.php:612 admin.inc.php:1010
627
- msgid "Popular Posts"
628
- msgstr "Postes populaires"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
629
 
630
- #: admin.inc.php:614 admin.inc.php:713
 
 
 
 
 
 
 
 
 
 
 
 
631
  msgid "Daily Popular Posts"
632
  msgstr "Postes populaires journaliers"
633
 
634
- #: admin.inc.php:645
635
  msgid "Support the development"
636
  msgstr "Soutenir le projet"
637
 
638
- #: admin.inc.php:652
639
  msgid "Donation for Top 10"
640
  msgstr ""
641
 
642
- #: admin.inc.php:654
643
  msgid "Enter amount in USD: "
644
  msgstr "Saisir le montant en dollars US"
645
 
646
- #: admin.inc.php:658
647
  #, fuzzy
648
  msgid "Send your donation to the author of Top 10"
649
  msgstr "Envoyer sa dotation à l'auteur"
650
 
651
- #: admin.inc.php:665
652
  msgid "Follow me"
653
  msgstr ""
654
 
655
- #: admin.inc.php:675
656
  #, fuzzy
657
  msgid "Quick links"
658
  msgstr "Liens rapides"
659
 
660
- #: admin.inc.php:679
661
  #, fuzzy
662
  msgid "Top 10 plugin page"
663
  msgstr "Page de plugin"
664
 
665
- #: admin.inc.php:680
 
 
 
 
666
  msgid "Other plugins"
667
  msgstr "Autres plugins"
668
 
669
- #: admin.inc.php:681
670
  msgid "Ajay's blog"
671
  msgstr "Blog Ajay"
672
 
673
- #: admin.inc.php:682
674
  msgid "FAQ"
675
  msgstr ""
676
 
677
- #: admin.inc.php:683 top-10.php:1345
678
  msgid "Support"
679
  msgstr "Service d'assistance"
680
 
681
- #: admin.inc.php:684
682
  msgid "Reviews"
683
  msgstr ""
684
 
685
- #: admin.inc.php:704 admin.inc.php:707
686
- #, fuzzy
687
- msgid "Top 10 Settings"
688
- msgstr "Paramètres"
689
-
690
- #: admin.inc.php:704 admin.inc.php:1183
691
- msgid "Top 10"
692
- msgstr "Тоp 10"
693
-
694
- #: admin.inc.php:710
695
  #, fuzzy
696
  msgid "Overall Popular Posts"
697
  msgstr "Voir tous les postes populaires"
698
 
699
- #: admin.inc.php:882
700
- #, php-format
701
- msgid "Results %1$s to %2$s of %3$s"
702
- msgstr ""
703
-
704
- #: admin.inc.php:886
705
- #, php-format
706
- msgid "Page %s of %s"
707
- msgstr ""
708
-
709
- #: admin.inc.php:898
710
- msgid "View Daily Popular Posts"
711
- msgstr "Voir les postes populaires journaliers"
712
-
713
- #: admin.inc.php:901 admin.inc.php:914
714
- msgid "Results per-page:"
715
- msgstr "Résultats par page:"
716
-
717
- #: admin.inc.php:911
718
- msgid "View Overall Popular Posts"
719
- msgstr "Voir tous les postes populaires"
720
-
721
- #: admin.inc.php:940
722
- msgid "Previous"
723
- msgstr "Précédente"
724
-
725
- #: admin.inc.php:968
726
- msgid "Next"
727
- msgstr "Suivante"
728
-
729
- #: admin.inc.php:1011
730
- msgid "Daily Popular"
731
- msgstr "Populaires journaliers"
732
-
733
- #: admin.inc.php:1029
734
- #, fuzzy
735
- msgid "Total Views"
736
- msgstr "Total/aujourd'hui visionnages"
737
-
738
- #: admin.inc.php:1030
739
- #, fuzzy
740
- msgid "Today's Views"
741
- msgstr "Total/aujourd'hui visionnages"
742
-
743
- #: admin.inc.php:1031
744
- #, fuzzy
745
- msgid "Views"
746
- msgstr "Total/aujourd'hui visionnages"
747
-
748
- #: admin.inc.php:1217
749
- #, fuzzy
750
- msgid "Visit count:"
751
- msgstr "Réinitialiser le compteur"
752
-
753
- #: admin.inc.php:1219
754
- msgid ""
755
- "Enter a number above to update the visit count. Leaving the above box blank "
756
- "will set the count to zero"
757
- msgstr ""
758
-
759
- #: admin.inc.php:1229
760
- msgid "Location of thumbnail:"
761
- msgstr ""
762
-
763
- #: admin.inc.php:1231
764
- msgid ""
765
- "Enter the full URL to the image (JPG, PNG or GIF) you'd like to use. This "
766
- "image will be used for the post. It will be resized to the thumbnail size "
767
- "set under Settings &raquo; Related Posts &raquo; Output Options"
768
- msgstr ""
769
-
770
- #: admin.inc.php:1232
771
- msgid "The URL above is saved in the meta field: "
772
- msgstr ""
773
 
774
- #: top-10.php:456
775
- msgid " by "
776
- msgstr ""
777
 
778
- #: top-10.php:550
779
  #, fuzzy
780
  msgid "Popular Posts [Top 10]"
781
  msgstr "Postes populaires"
782
 
783
- #: top-10.php:551
784
  #, fuzzy
785
  msgid "Display popular posts"
786
  msgstr "Postes populaires journaliers"
787
 
788
- #: top-10.php:577
789
  msgid "Title"
790
  msgstr ""
791
 
792
- #: top-10.php:582
793
  msgid "No. of posts"
794
  msgstr ""
795
 
796
- #: top-10.php:587
797
  msgid "Overall"
798
  msgstr ""
799
 
800
- #: top-10.php:588
801
  msgid "Custom time period (Enter below)"
802
  msgstr ""
803
 
804
- #: top-10.php:593
805
- msgid "Range in number of days (applies only to custom option above)"
 
 
 
 
 
 
 
 
806
  msgstr ""
807
 
808
- #: top-10.php:598
809
  #, fuzzy
810
  msgid "Show count?"
811
  msgstr "Afficher le fragment du message dans la liste?"
812
 
813
- #: top-10.php:603
814
  #, fuzzy
815
  msgid "Show excerpt?"
816
  msgstr "Afficher le fragment du message dans la liste?"
817
 
818
- #: top-10.php:608
819
  #, fuzzy
820
  msgid "Show author?"
821
  msgstr "Afficher le fragment du message dans la liste?"
822
 
823
- #: top-10.php:613
824
  #, fuzzy
825
  msgid "Show date?"
826
  msgstr "Afficher le fragment du message dans la liste?"
827
 
828
- #: top-10.php:617
829
- #, fuzzy
830
- msgid "Thumbnail options"
831
- msgstr "Options thumbnail des messages:"
832
-
833
- #: top-10.php:619
834
  #, fuzzy
835
  msgid "Thumbnails inline, before title"
836
  msgstr "Afficher le thumbnail encastré et les messages avant l'en-tête"
837
 
838
- #: top-10.php:620
839
  #, fuzzy
840
  msgid "Thumbnails inline, after title"
841
  msgstr "Afficher le thumbnail encastré et les messages après l'en-tête"
842
 
843
- #: top-10.php:621
844
  #, fuzzy
845
  msgid "Only thumbnails, no text"
846
  msgstr "Afficher uniquement le thumbnail, sans le texte"
847
 
848
- #: top-10.php:622
849
  #, fuzzy
850
  msgid "No thumbnails, only text."
851
  msgstr "Ne pas afficher le thumbnail, uniquement le texte"
852
 
853
- #: top-10.php:627
854
  #, fuzzy
855
  msgid "Thumbnail height"
856
  msgstr "Options thumbnail des messages:"
857
 
858
- #: top-10.php:632
859
  #, fuzzy
860
  msgid "Thumbnail width"
861
  msgstr "Options thumbnail des messages:"
862
 
863
- #: top-10.php:772
 
 
 
 
 
 
 
 
 
864
  msgid "<h3>Popular Posts</h3>"
865
  msgstr "<h3>Postes populaires</h3>"
866
 
867
- #: top-10.php:773
868
  msgid "<h3>Daily Popular</h3>"
869
  msgstr "<h3>Populaires Journaliers</h3>"
870
 
871
- #: top-10.php:774
872
  #, fuzzy
873
  msgid "No top posts yet"
874
  msgstr "Annuler le top 10 des enregistrements les plus populaires"
875
 
876
- #: top-10.php:1245
877
  msgid "Once Weekly"
878
  msgstr ""
879
 
880
- #: top-10.php:1249
881
  msgid "Once Fortnightly"
882
  msgstr ""
883
 
884
- #: top-10.php:1253
885
  msgid "Once Monthly"
886
  msgstr ""
887
 
888
- #: top-10.php:1323
889
- msgid "Settings"
890
- msgstr "Paramètres"
891
 
892
- #: top-10.php:1346
893
- msgid "Donate"
894
- msgstr "Conribuer"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
895
 
896
  #~ msgid "Display the posts popular this week"
897
  #~ msgstr "Afficher les postes populaires de la semaine"
2
  msgstr ""
3
  "Project-Id-Version: Top 10\n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2014-12-28 00:59-0000\n"
6
  "PO-Revision-Date: \n"
7
  "Last-Translator: Ajay D'Souza <me@ajaydsouza.com>\n"
8
  "Language-Team: Ajay D'Souza <me@ajaydsouza.com>\n"
9
+ "Language: fr\n"
10
  "MIME-Version: 1.0\n"
11
  "Content-Type: text/plain; charset=UTF-8\n"
12
  "Content-Transfer-Encoding: 8bit\n"
13
  "X-Poedit-KeywordsList: _e;__\n"
14
  "X-Poedit-Basepath: ../\n"
15
+ "X-Generator: Poedit 1.7.1\n"
16
+ "Plural-Forms: nplurals=2; plural=(n > 1);\n"
17
+ "X-Poedit-SourceCharset: UTF-8\n"
18
  "X-Poedit-SearchPath-0: .\n"
19
 
20
+ #: admin/admin-columns.php:30
21
+ #, fuzzy
22
+ msgid "Total Views"
23
+ msgstr "Total/aujourd'hui visionnages"
24
+
25
+ #: admin/admin-columns.php:33
26
+ #, fuzzy
27
+ msgid "Today's Views"
28
+ msgstr "Total/aujourd'hui visionnages"
29
+
30
+ #: admin/admin-columns.php:36
31
+ #, fuzzy
32
+ msgid "Views"
33
+ msgstr "Total/aujourd'hui visionnages"
34
+
35
+ #: admin/admin-dashboard.php:72
36
+ #, php-format
37
+ msgid "Results %1$s to %2$s of %3$s"
38
+ msgstr ""
39
+
40
+ #: admin/admin-dashboard.php:76
41
+ #, php-format
42
+ msgid "Page %s of %s"
43
+ msgstr ""
44
+
45
+ #: admin/admin-dashboard.php:88
46
+ msgid "View Daily Popular Posts"
47
+ msgstr "Voir les postes populaires journaliers"
48
+
49
+ #: admin/admin-dashboard.php:91 admin/admin-dashboard.php:104
50
+ msgid "Results per-page:"
51
+ msgstr "Résultats par page:"
52
+
53
+ #: admin/admin-dashboard.php:101
54
+ msgid "View Overall Popular Posts"
55
+ msgstr "Voir tous les postes populaires"
56
+
57
+ #: admin/admin-dashboard.php:130
58
+ msgid "Previous"
59
+ msgstr "Précédente"
60
+
61
+ #: admin/admin-dashboard.php:158
62
+ msgid "Next"
63
+ msgstr "Suivante"
64
+
65
+ #: admin/admin-dashboard.php:200 admin/admin.php:1145
66
+ msgid "Popular Posts"
67
+ msgstr "Postes populaires"
68
+
69
+ #: admin/admin-dashboard.php:205
70
+ msgid "Daily Popular"
71
+ msgstr "Populaires journaliers"
72
+
73
+ #: admin/admin-metabox.php:38 admin/admin.php:1234
74
+ msgid "Top 10"
75
+ msgstr "Тоp 10"
76
+
77
+ #: admin/admin-metabox.php:71
78
+ #, fuzzy
79
+ msgid "Visit count:"
80
+ msgstr "Réinitialiser le compteur"
81
+
82
+ #: admin/admin-metabox.php:73
83
+ msgid ""
84
+ "Enter a number above to update the visit count. Leaving the above box blank "
85
+ "will set the count to zero"
86
+ msgstr ""
87
+
88
+ #: admin/admin-metabox.php:83
89
+ msgid "Location of thumbnail:"
90
+ msgstr ""
91
+
92
+ #: admin/admin-metabox.php:85
93
+ msgid ""
94
+ "Enter the full URL to the image (JPG, PNG or GIF) you'd like to use. This "
95
+ "image will be used for the post. It will be resized to the thumbnail size "
96
+ "set under Settings &raquo; Related Posts &raquo; Output Options"
97
+ msgstr ""
98
+
99
+ #: admin/admin-metabox.php:86
100
+ msgid "The URL above is saved in the meta field: "
101
+ msgstr ""
102
+
103
+ #: admin/admin.php:160
104
  msgid "Options saved successfully."
105
  msgstr "Les options sont sauvegardées avec succès"
106
 
107
+ #: admin/admin.php:170
108
  msgid "Options set to Default."
109
  msgstr "Options par défaut sont définies"
110
 
111
+ #: admin/admin.php:176
112
  msgid "Top 10 popular posts reset"
113
  msgstr "Annuler le top 10 des enregistrements les plus populaires"
114
 
115
+ #: admin/admin.php:182
116
  msgid "Top 10 daily popular posts reset"
117
  msgstr "Annuler le top 10 des messages les plus populaires journaliers"
118
 
119
+ #: admin/admin.php:189
120
  msgid "Duplicate rows cleaned from tables"
121
  msgstr ""
122
 
123
+ #: admin/admin.php:201
124
  msgid "Scheduled maintenance enabled / modified"
125
  msgstr ""
126
 
127
+ #: admin/admin.php:205
128
  msgid "Scheduled maintenance disabled"
129
  msgstr ""
130
 
131
+ #: admin/admin.php:244
132
+ msgid "Counts from selected sites have been imported."
 
133
  msgstr ""
134
 
135
+ #: admin/admin.php:269
136
+ msgid ""
137
+ "Selected tables have been deleted. Note that only imported tables have been "
138
+ "deleted."
139
  msgstr ""
140
 
141
+ #: admin/admin.php:277 admin/admin.php:1234 admin/admin.php:1237
142
+ #, fuzzy
143
+ msgid "Top 10 Settings"
144
+ msgstr "Paramètres"
145
 
146
+ #: admin/admin.php:289 admin/admin.php:311
147
+ msgid "General options"
148
  msgstr ""
149
 
150
+ #: admin/admin.php:290 admin/admin.php:373
151
+ msgid "Counter and tracker options"
152
  msgstr ""
153
 
154
+ #: admin/admin.php:291 admin/admin.php:478
155
+ msgid "Popular post list options"
 
 
 
156
  msgstr ""
157
 
158
+ #: admin/admin.php:292 admin/admin.php:681
159
+ #: includes/class-top-10-widget.php:103
160
+ #, fuzzy
161
+ msgid "Thumbnail options"
162
+ msgstr "Options thumbnail des messages:"
163
 
164
+ #: admin/admin.php:293
165
+ msgid "Custom styles"
 
 
166
  msgstr ""
167
 
168
+ #: admin/admin.php:294 admin/admin.php:912
169
+ msgid "Maintenance"
170
  msgstr ""
 
171
 
172
+ #: admin/admin.php:310 admin/admin.php:372 admin/admin.php:477
173
+ #: admin/admin.php:680 admin/admin.php:843 admin/admin.php:911
174
+ #: admin/admin.php:975 admin/admin.php:996 admin/admin.php:1176
175
+ #: admin/admin.php:1196 admin/admin.php:1206
176
+ msgid "Click to toggle"
177
  msgstr ""
178
 
179
+ #: admin/admin.php:327
180
+ msgid "Enable Overall stats"
181
  msgstr ""
182
 
183
+ #: admin/admin.php:333
184
+ msgid "Enable Daily stats"
185
  msgstr ""
186
 
187
+ #: admin/admin.php:339
188
+ msgid "Cache fix:"
189
  msgstr ""
190
 
191
+ #: admin/admin.php:342
192
+ msgid ""
193
+ "This will try to prevent W3 Total Cache and other caching plugins from "
194
+ "caching the tracker script of the plugin. Try toggling this option in case "
195
+ "you find that your posts are not tracked."
196
+ msgstr ""
197
+
198
+ #: admin/admin.php:346
199
+ msgid "Link to Top 10 plugin page"
200
+ msgstr ""
201
 
202
+ #: admin/admin.php:349
203
+ #, fuzzy
204
  msgid ""
205
+ "A link to the plugin is added as an extra list item to the list of popular "
206
+ "posts"
 
207
  msgstr ""
208
+ "Le lien vers le plugin en qualité d'élément complémentaire de la liste dans "
209
+ "le répertoire des enregistrements populaires. Cela n'est pas obligatoire, "
210
+ "mais nous vous y remercions!"
211
 
212
+ #: admin/admin.php:354 admin/admin.php:459 admin/admin.php:662
213
+ #: admin/admin.php:825 admin/admin.php:891 admin/admin.php:968
214
+ #, fuzzy
215
+ msgid "Save Options"
216
+ msgstr "Options:"
217
+
218
+ #: admin/admin.php:389
219
  #, fuzzy
220
  msgid "Display number of views on:"
221
  msgstr "Afficher le nombre des visionnages du message?"
222
 
223
+ #: admin/admin.php:391
224
  msgid "Posts"
225
  msgstr ""
226
 
227
+ #: admin/admin.php:392
228
  #, fuzzy
229
  msgid "Pages"
230
  msgstr "Page"
231
 
232
+ #: admin/admin.php:393
233
  msgid "Home page"
234
  msgstr ""
235
 
236
+ #: admin/admin.php:394
237
  msgid "Feeds"
238
  msgstr ""
239
 
240
+ #: admin/admin.php:395
241
  msgid "Category archives"
242
  msgstr ""
243
 
244
+ #: admin/admin.php:396
245
  msgid "Tag archives"
246
  msgstr ""
247
 
248
+ #: admin/admin.php:397
249
  msgid "Other archives"
250
  msgstr ""
251
 
252
+ #: admin/admin.php:398
253
  msgid ""
254
  "If you choose to disable this, please add <code>&lt;?php if "
255
  "( function_exists ( 'echo_tptn_post_count' ) ) echo_tptn_post_count(); ?&gt;"
256
  "</code> to your template file where you want it displayed"
257
  msgstr ""
258
 
259
+ #: admin/admin.php:402
260
+ #, fuzzy
261
+ msgid "Format to display the post views:"
262
+ msgstr "Format d’affichage de la quantité en:"
263
+
264
+ #: admin/admin.php:405
265
+ msgid ""
266
+ "Use <code>%totalcount%</code> to display the total count, <code>%dailycount"
267
+ "%</code> to display the daily count and <code>%overallcount%</code> to "
268
+ "display the overall count across all posts on the blog. e.g. the default "
269
+ "options displays <code>[Visited 123 times, 23 visits today]</code>"
270
+ msgstr ""
271
+
272
+ #: admin/admin.php:409
273
+ msgid "What do display when there are no visits?"
274
+ msgstr ""
275
+
276
+ #: admin/admin.php:412
277
+ msgid ""
278
+ "This text applies only when there are 0 hits for the post and it isn't a "
279
+ "single page. e.g. if you display post views on the homepage or archives then "
280
+ "this text will be used. To override this, just enter the same text as above "
281
+ "option."
282
+ msgstr ""
283
+
284
+ #: admin/admin.php:416
285
  msgid "Always display latest post count"
286
  msgstr ""
287
 
288
+ #: admin/admin.php:419
289
  msgid ""
290
  "This option uses JavaScript and will increase your page load time. Turn this "
291
  "off if you are not using caching plugins or are OK with displaying older "
292
  "cached counts."
293
  msgstr ""
294
 
295
+ #: admin/admin.php:423
296
  msgid "Track visits of authors on their own posts?"
297
  msgstr "Suivre les visites des auteurs de leurs propres messages?"
298
 
299
+ #: admin/admin.php:426
300
  msgid ""
301
  "Disabling this option will stop authors visits tracked on their own posts"
302
  msgstr ""
303
 
304
+ #: admin/admin.php:430
305
  #, fuzzy
306
  msgid "Track visits of admins?"
307
  msgstr "Suivre les visites des auteurs de leurs propres messages?"
308
 
309
+ #: admin/admin.php:433
310
  msgid "Disabling this option will stop admin visits being tracked."
311
  msgstr ""
312
 
313
+ #: admin/admin.php:437
314
  #, fuzzy
315
  msgid "Track visits of Editors?"
316
  msgstr "Suivre les visites des auteurs de leurs propres messages?"
317
 
318
+ #: admin/admin.php:440
319
  msgid "Disabling this option will stop editor visits being tracked."
320
  msgstr ""
321
 
322
+ #: admin/admin.php:444
323
  msgid "Display page views on Posts and Pages in Admin"
324
  msgstr ""
325
 
326
+ #: admin/admin.php:447
327
  msgid ""
328
  "Adds three columns called Total Views, Today's Views and Views to All Posts "
329
  "and All Pages"
330
  msgstr ""
331
 
332
+ #: admin/admin.php:451
333
  #, fuzzy
334
  msgid "Show number of views to non-admins"
335
  msgstr "Afficher le nombre des visionnages sur les pages?"
336
 
337
+ #: admin/admin.php:454
338
  msgid ""
339
  "If you disable this then non-admins won't see the above columns or view the "
340
  "independent pages with the top posts"
341
  msgstr ""
342
 
343
+ #: admin/admin.php:494
344
+ msgid "Number of popular posts to display: "
345
+ msgstr "Le nombre de populaires sur le forum"
346
 
347
+ #: admin/admin.php:497
 
348
  msgid ""
349
+ "Maximum number of posts that will be displayed in the list. This option is "
350
+ "used if you don't specify the number of posts in the widget or shortcodes"
351
  msgstr ""
 
 
 
352
 
353
+ #: admin/admin.php:501
354
+ msgid "Daily popular contains top posts over:"
355
+ msgstr ""
 
356
 
357
+ #: admin/admin.php:503
358
+ msgid "day(s)"
359
+ msgstr ""
 
360
 
361
+ #: admin/admin.php:504
362
+ msgid "hour(s)"
363
+ msgstr ""
364
+
365
+ #: admin/admin.php:505
366
  msgid ""
367
+ "Think of Daily Popular has a custom date range applied as a global setting. "
368
+ "Instead of displaying popular posts from the past day, this setting lets you "
369
+ "display posts for as many days or as few hours as you want. This can be "
370
+ "overridden in the widget."
371
  msgstr ""
 
 
 
 
372
 
373
+ #: admin/admin.php:509
374
+ msgid "Post types to include in results (including custom post types)"
375
+ msgstr ""
376
+
377
+ #: admin/admin.php:521
378
+ msgid "List of post or page IDs to exclude from the results: "
379
  msgstr ""
380
 
381
+ #: admin/admin.php:523 admin/admin.php:630
382
+ msgid "Enter comma separated list of IDs. e.g. 188,320,500"
383
+ msgstr ""
384
+
385
+ #: admin/admin.php:527
386
+ msgid "Exclude Categories: "
387
+ msgstr "Exclure les catégories:"
388
+
389
+ #: admin/admin.php:542
390
  msgid ""
391
+ "Comma separated list of category slugs. The field above has an autocomplete "
392
+ "so simply start typing in the starting letters and it will prompt you with "
393
+ "options"
 
394
  msgstr ""
395
 
396
+ #: admin/admin.php:547
397
  msgid "Title of popular posts: "
398
  msgstr "Les en-têtes des messages populaires"
399
 
400
+ #: admin/admin.php:553
401
  msgid "Title of daily popular posts: "
402
  msgstr "Les en-têtes des messages populaires journaliers"
403
 
404
+ #: admin/admin.php:559
405
  msgid "When there are no posts, what should be shown?"
406
  msgstr ""
407
 
408
+ #: admin/admin.php:563
409
  msgid "Blank Output"
410
  msgstr ""
411
 
412
+ #: admin/admin.php:567
413
  msgid "Display:"
414
  msgstr ""
415
 
416
+ #: admin/admin.php:572
417
  msgid "Show post excerpt in list?"
418
  msgstr "Afficher le fragment du message dans la liste?"
419
 
420
+ #: admin/admin.php:578
421
  msgid "Length of excerpt (in words): "
422
  msgstr "Longueur du fragment (mots):"
423
 
424
+ #: admin/admin.php:584
425
  #, fuzzy
426
  msgid "Show post author in list?"
427
  msgstr "Afficher le fragment du message dans la liste?"
428
 
429
+ #: admin/admin.php:590
430
  #, fuzzy
431
  msgid "Show post date in list?"
432
  msgstr "Afficher le fragment du message dans la liste?"
433
 
434
+ #: admin/admin.php:596
435
  msgid "Limit post title length (in characters)"
436
  msgstr ""
437
 
438
+ #: admin/admin.php:602
439
  #, fuzzy
440
  msgid "Show view count in list?"
441
  msgstr "Afficher le fragment du message dans la liste?"
442
 
443
+ #: admin/admin.php:608
444
  msgid "Always display latest post count in the daily lists?"
445
  msgstr ""
446
 
447
+ #: admin/admin.php:611
448
  msgid ""
449
  "This option uses JavaScript and will increase your page load time. When you "
450
  "enable this option, the daily widget will not use the options set there, but "
451
  "options will need to be set on this screen."
452
  msgstr ""
453
 
454
+ #: admin/admin.php:615
455
  msgid "Open links in new window"
456
  msgstr ""
457
 
458
+ #: admin/admin.php:621
459
  msgid "Add nofollow attribute to links in the list"
460
  msgstr ""
461
 
462
+ #: admin/admin.php:627
463
  msgid "Exclude display of related posts on these posts / pages"
464
  msgstr ""
465
 
466
+ #: admin/admin.php:634
467
  #, fuzzy
468
  msgid "Customise the list HTML"
469
  msgstr "Paramétrer la sortie:"
470
 
471
+ #: admin/admin.php:637
472
  msgid "HTML to display before the list of posts: "
473
  msgstr "HTML d'affichage avant la liste des messages:"
474
 
475
+ #: admin/admin.php:643
476
  msgid "HTML to display before each list item: "
477
  msgstr "HTML d'affichage avant chaque élément de la liste:"
478
 
479
+ #: admin/admin.php:649
480
  msgid "HTML to display after each list item: "
481
  msgstr "HTML d'affichage après chaque élément de la liste:"
482
 
483
+ #: admin/admin.php:655
484
  msgid "HTML to display after the list of posts: "
485
  msgstr "HTML d'affichage après la liste des messages:"
486
 
487
+ #: admin/admin.php:696
 
 
 
 
488
  msgid "Location of post thumbnail:"
489
  msgstr ""
490
 
491
+ #: admin/admin.php:700
492
  msgid "Display thumbnails inline with posts, before title"
493
  msgstr "Afficher le thumbnail encastré et les messages avant l'en-tête"
494
 
495
+ #: admin/admin.php:705
496
  msgid "Display thumbnails inline with posts, after title"
497
  msgstr "Afficher le thumbnail encastré et les messages après l'en-tête"
498
 
499
+ #: admin/admin.php:710
500
  msgid "Display only thumbnails, no text"
501
  msgstr "Afficher uniquement le thumbnail, sans le texte"
502
 
503
+ #: admin/admin.php:715
504
  msgid "Do not display thumbnails, only text."
505
  msgstr "Ne pas afficher le thumbnail, uniquement le texte"
506
 
507
+ #: admin/admin.php:719
508
+ msgid "Thumbnail size:"
509
+ msgstr ""
510
+
511
+ #: admin/admin.php:743
512
+ msgid "Custom size"
513
+ msgstr ""
514
+
515
+ #: admin/admin.php:746
516
+ msgid ""
517
+ "You can choose from existing image sizes above or create a custom size. If "
518
+ "you have chosen Custom size above, then enter the width, height and crop "
519
+ "settings below. For best results, use a cropped image."
520
+ msgstr ""
521
+
522
+ #: admin/admin.php:747
523
+ msgid ""
524
+ "If you change the width and/or height below, existing images will not be "
525
+ "automatically resized."
526
+ msgstr ""
527
+
528
+ #: admin/admin.php:748
529
+ #, php-format
530
+ msgid ""
531
+ "I recommend using <a href='%s' target='_blank'>Force Regenerate Thumbnails</"
532
+ "a> or <a href='%s' target='_blank'>Force Regenerate Thumbnails</a> to "
533
+ "regenerate all image sizes."
534
  msgstr ""
535
 
536
+ #: admin/admin.php:751
537
+ msgid "Width of custom thumbnail:"
538
  msgstr ""
539
 
540
+ #: admin/admin.php:756
541
+ msgid "Height of custom thumbnail"
542
+ msgstr ""
543
+
544
+ #: admin/admin.php:761
545
+ msgid "Crop mode:"
546
+ msgstr ""
547
+
548
+ #: admin/admin.php:765
549
+ msgid ""
550
+ "By default, thumbnails will be proportionately cropped. Check this box to "
551
+ "hard crop the thumbnails."
552
+ msgstr ""
553
+
554
+ #: admin/admin.php:766
555
+ #, php-format
556
+ msgid "<a href='%s' target='_blank'>Difference between soft and hard crop</a>"
557
+ msgstr ""
558
+
559
+ #: admin/admin.php:768
560
+ msgid ""
561
+ "Since you're using the default styles set under the Custom Styles section, "
562
+ "the width and height is fixed at 65px and crop mode is enabled."
563
+ msgstr ""
564
+
565
+ #: admin/admin.php:773
566
  msgid "Style attributes / Width and Height HTML attributes:"
567
  msgstr ""
568
 
569
+ #: admin/admin.php:777
570
  msgid "Style attributes are used for width and height."
571
  msgstr ""
572
 
573
+ #: admin/admin.php:782
574
  msgid "HTML width and height attributes are used for width and height."
575
  msgstr ""
576
 
577
+ #: admin/admin.php:786
578
  msgid "Use timthumb to generate thumbnails? "
579
  msgstr ""
580
 
581
+ #: admin/admin.php:789
582
  msgid ""
583
  "If checked, <a href=\"http://www.binarymoon.co.uk/projects/timthumb/\" "
584
  "target=\"_blank\">timthumb</a> will be used to generate thumbnails"
585
  msgstr ""
586
 
587
+ #: admin/admin.php:792
588
  msgid "Quality of thumbnails generated by timthumb:"
589
  msgstr ""
590
 
591
+ #: admin/admin.php:795
592
  msgid ""
593
  "Enter values between 0 and 100 only. 100 is highest quality and the highest "
594
  "file size. Suggested maximum value is 95. Default is 75."
595
  msgstr ""
596
 
597
+ #: admin/admin.php:798
598
  #, fuzzy
599
  msgid "Post thumbnail meta field name: "
600
  msgstr "Options thumbnail des messages:"
601
 
602
+ #: admin/admin.php:801
603
  msgid ""
604
  "The value of this field should contain the image source and is set in the "
605
  "<em>Add New Post</em> screen"
606
  msgstr ""
607
 
608
+ #: admin/admin.php:804
609
  #, fuzzy
610
  msgid ""
611
  "If the postmeta is not set, then should the plugin extract the first image "
616
  "première image de la résolution correspondante du fichier est de taille "
617
  "supérieure"
618
 
619
+ #: admin/admin.php:807
620
  #, fuzzy
621
  msgid ""
622
  "This could slow down the loading of your page if the first image in the "
627
  "première image de la résolution correspondante du fichier est de taille "
628
  "supérieure"
629
 
630
+ #: admin/admin.php:810
631
  msgid "Use default thumbnail? "
632
  msgstr ""
633
 
634
+ #: admin/admin.php:813
635
  msgid ""
636
  "If checked, when no thumbnail is found, show a default one from the URL "
637
  "below. If not checked and no thumbnail is found, no image will be shown."
640
  "Thumbnail par défaut. S'il n'a pas été déterminé, que le thumbnail n'a pas "
641
  "été retrouvé, ne pas afficher l'image."
642
 
643
+ #: admin/admin.php:816
644
  msgid "Default thumbnail: "
645
  msgstr ""
646
 
647
+ #: admin/admin.php:820
648
  msgid ""
649
  "The plugin will first check if the post contains a thumbnail. If it doesn't "
650
  "then it will check the meta field. If this is not available, then it will "
651
  "show the default image as specified above"
652
  msgstr ""
653
 
654
+ #: admin/admin.php:844
655
  msgid "Custom CSS"
656
  msgstr ""
657
 
658
+ #: admin/admin.php:859
659
  msgid "Use default style included in the plugin?"
660
  msgstr ""
661
 
662
+ #: admin/admin.php:862
663
  msgid ""
664
  "Top 10 includes a default style that makes your popular posts list to look "
665
+ "beautiful. Check the box above if you want to use this."
666
+ msgstr ""
667
+
668
+ #: admin/admin.php:863
669
+ msgid ""
670
+ "Enabling this option will turn on the thumbnails and set their width and "
671
+ "height to 65px. It will also turn off the display of the author, excerpt and "
672
+ "date if already enabled. Disabling this option will not revert any settings."
673
  msgstr ""
674
 
675
+ #: admin/admin.php:864
676
+ #, php-format
677
+ msgid ""
678
+ "You can view the default style at <a href=\"%1$s\" target=\"_blank\">%1$s</a>"
679
+ msgstr ""
680
+
681
+ #: admin/admin.php:867
682
  msgid "Custom CSS to add to header:"
683
  msgstr ""
684
 
685
+ #: admin/admin.php:872
686
  msgid ""
687
  "Do not include <code>style</code> tags. Check out the <a href=\"http://"
688
  "wordpress.org/extend/plugins/top-10/faq/\" target=\"_blank\">FAQ</a> for "
689
  "available CSS classes to style."
690
  msgstr ""
691
 
692
+ #: admin/admin.php:892
 
 
 
 
 
693
  #, fuzzy
694
  msgid "Default Options"
695
  msgstr "Paramètres de sortie"
696
 
697
+ #: admin/admin.php:892
698
  msgid "Do you want to set options to Default?"
699
  msgstr "Définir les paramètres par défaut?"
700
 
701
+ #: admin/admin.php:916
 
 
 
 
702
  msgid ""
703
  "Over time the Daily Top 10 database grows in size, which reduces the "
704
  "performance of the plugin. Cleaning the database at regular intervals could "
706
  "will automatically delete entries older than 90 days."
707
  msgstr ""
708
 
709
+ #: admin/admin.php:917
710
  msgid ""
711
  "Note: When scheduled maintenance is enabled, WordPress will run the cron job "
712
  "everytime the job is rescheduled (i.e. you change the settings below)."
713
  msgstr ""
714
 
715
+ #: admin/admin.php:920
716
  msgid "Enable scheduled maintenance of daily tables:"
717
  msgstr ""
718
 
719
+ #: admin/admin.php:924
720
  msgid "Time to run maintenance"
721
  msgstr ""
722
 
723
+ #: admin/admin.php:925
724
  msgid "hrs"
725
  msgstr ""
726
 
727
+ #: admin/admin.php:925
728
  msgid "min"
729
  msgstr ""
730
 
731
+ #: admin/admin.php:927
732
  msgid "How often should the maintenance be run:"
733
  msgstr ""
734
 
735
+ #: admin/admin.php:931
736
  msgid "Daily"
737
  msgstr ""
738
 
739
+ #: admin/admin.php:935
740
  msgid "Weekly"
741
  msgstr ""
742
 
743
+ #: admin/admin.php:939
744
  msgid "Fortnightly"
745
  msgstr ""
746
 
747
+ #: admin/admin.php:943
748
  msgid "Monthly"
749
  msgstr ""
750
 
751
+ #: admin/admin.php:952
752
  msgid "The cron job has been scheduled. Maintenance will run "
753
  msgstr ""
754
 
755
+ #: admin/admin.php:957
756
  msgid "The cron job is missing. Please resave this page to add the job"
757
  msgstr ""
758
 
759
+ #: admin/admin.php:962
760
  msgid "Maintenance is turned off"
761
  msgstr ""
762
 
763
+ #: admin/admin.php:976
764
  msgid "Reset count"
765
  msgstr "Réinitialiser le compteur"
766
 
767
+ #: admin/admin.php:979
768
  msgid ""
769
  "This cannot be reversed. Make sure that your database has been backed up "
770
  "before proceeding"
772
  "Cette action ne peut être annulée. Assurez-vous que la base de données a été "
773
  "sauvegardée avant de poursuivre."
774
 
775
+ #: admin/admin.php:982
776
  #, fuzzy
777
  msgid "Reset Popular Posts"
778
  msgstr "Postes populaires"
779
 
780
+ #: admin/admin.php:982
781
  msgid "Are you sure you want to reset the popular posts?"
782
  msgstr "Êtes-vous sûr de vouloir annuler les postes populaires?"
783
 
784
+ #: admin/admin.php:983
785
  #, fuzzy
786
  msgid "Reset Daily Popular Posts"
787
  msgstr "Postes populaires journaliers"
788
 
789
+ #: admin/admin.php:983
790
  msgid "Are you sure you want to reset the daily popular posts?"
791
  msgstr "Êtes-vous sûr de vouloir annuler les postes populaires journaliers?"
792
 
793
+ #: admin/admin.php:984
794
  msgid "Clear duplicates"
795
  msgstr ""
796
 
797
+ #: admin/admin.php:984
798
  msgid "This will delete the duplicate entries in the tables. Proceed?"
799
  msgstr ""
800
  "Cela supprimera les doubles des enregistrements dans les tableaux. Continuer?"
801
 
802
+ #: admin/admin.php:997
803
+ msgid "WordPress Multisite: Migrate Top 10 v1.x counts to 2.x"
804
+ msgstr ""
805
+
806
+ #: admin/admin.php:1000
807
+ msgid ""
808
+ "If you've been using Top 10 v1.x on multisite, you would have needed to "
809
+ "activate the plugin independently for each site. This would have resulted in "
810
+ "two tables being created for each site in the network. Top 10 v2.x onwards "
811
+ "uses only a single table to record the count, keeping your database clean. "
812
+ "You can use this tool to import the recorded counts from v1.x tables to the "
813
+ "new v2.x table format."
814
+ msgstr ""
815
+
816
+ #: admin/admin.php:1003
817
+ msgid ""
818
+ "If you do not see any tables below, then it means that either all data has "
819
+ "already been imported or no relevant information has been found."
820
+ msgstr ""
821
+
822
+ #: admin/admin.php:1037
823
+ msgid "Blog ID"
824
+ msgstr ""
825
+
826
+ #: admin/admin.php:1040
827
+ msgid "Status"
828
+ msgstr ""
829
+
830
+ #: admin/admin.php:1043
831
+ msgid "Select to import"
832
+ msgstr ""
833
+
834
+ #: admin/admin.php:1053
835
+ msgid "Blog #"
836
+ msgstr ""
837
+
838
+ #: admin/admin.php:1063
839
+ msgid "Not imported"
840
+ msgstr ""
841
+
842
+ #: admin/admin.php:1067
843
+ msgid "Imported"
844
+ msgstr ""
845
 
846
+ #: admin/admin.php:1088
847
+ msgid "Begin import"
848
+ msgstr ""
849
+
850
+ #: admin/admin.php:1089
851
+ msgid "Delete selected tables"
852
+ msgstr ""
853
+
854
+ #: admin/admin.php:1090
855
+ msgid "Delete all imported tables"
856
+ msgstr ""
857
+
858
+ #: admin/admin.php:1147 admin/admin.php:1243
859
  msgid "Daily Popular Posts"
860
  msgstr "Postes populaires journaliers"
861
 
862
+ #: admin/admin.php:1177
863
  msgid "Support the development"
864
  msgstr "Soutenir le projet"
865
 
866
+ #: admin/admin.php:1184
867
  msgid "Donation for Top 10"
868
  msgstr ""
869
 
870
+ #: admin/admin.php:1186
871
  msgid "Enter amount in USD: "
872
  msgstr "Saisir le montant en dollars US"
873
 
874
+ #: admin/admin.php:1190
875
  #, fuzzy
876
  msgid "Send your donation to the author of Top 10"
877
  msgstr "Envoyer sa dotation à l'auteur"
878
 
879
+ #: admin/admin.php:1197
880
  msgid "Follow me"
881
  msgstr ""
882
 
883
+ #: admin/admin.php:1207
884
  #, fuzzy
885
  msgid "Quick links"
886
  msgstr "Liens rapides"
887
 
888
+ #: admin/admin.php:1211
889
  #, fuzzy
890
  msgid "Top 10 plugin page"
891
  msgstr "Page de plugin"
892
 
893
+ #: admin/admin.php:1212
894
+ msgid "Top 10 Github page"
895
+ msgstr ""
896
+
897
+ #: admin/admin.php:1213
898
  msgid "Other plugins"
899
  msgstr "Autres plugins"
900
 
901
+ #: admin/admin.php:1214
902
  msgid "Ajay's blog"
903
  msgstr "Blog Ajay"
904
 
905
+ #: admin/admin.php:1215
906
  msgid "FAQ"
907
  msgstr ""
908
 
909
+ #: admin/admin.php:1216 admin/admin.php:1374
910
  msgid "Support"
911
  msgstr "Service d'assistance"
912
 
913
+ #: admin/admin.php:1217
914
  msgid "Reviews"
915
  msgstr ""
916
 
917
+ #: admin/admin.php:1240
 
 
 
 
 
 
 
 
 
918
  #, fuzzy
919
  msgid "Overall Popular Posts"
920
  msgstr "Voir tous les postes populaires"
921
 
922
+ #: admin/admin.php:1351
923
+ msgid "Settings"
924
+ msgstr "Paramètres"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
925
 
926
+ #: admin/admin.php:1375
927
+ msgid "Donate"
928
+ msgstr "Conribuer"
929
 
930
+ #: includes/class-top-10-widget.php:31
931
  #, fuzzy
932
  msgid "Popular Posts [Top 10]"
933
  msgstr "Postes populaires"
934
 
935
+ #: includes/class-top-10-widget.php:32
936
  #, fuzzy
937
  msgid "Display popular posts"
938
  msgstr "Postes populaires journaliers"
939
 
940
+ #: includes/class-top-10-widget.php:59
941
  msgid "Title"
942
  msgstr ""
943
 
944
+ #: includes/class-top-10-widget.php:64
945
  msgid "No. of posts"
946
  msgstr ""
947
 
948
+ #: includes/class-top-10-widget.php:69
949
  msgid "Overall"
950
  msgstr ""
951
 
952
+ #: includes/class-top-10-widget.php:70
953
  msgid "Custom time period (Enter below)"
954
  msgstr ""
955
 
956
+ #: includes/class-top-10-widget.php:74
957
+ msgid "In days and hours (applies only to custom option above)"
958
+ msgstr ""
959
+
960
+ #: includes/class-top-10-widget.php:76
961
+ msgid "days"
962
+ msgstr ""
963
+
964
+ #: includes/class-top-10-widget.php:79
965
+ msgid "hours"
966
  msgstr ""
967
 
968
+ #: includes/class-top-10-widget.php:84
969
  #, fuzzy
970
  msgid "Show count?"
971
  msgstr "Afficher le fragment du message dans la liste?"
972
 
973
+ #: includes/class-top-10-widget.php:89
974
  #, fuzzy
975
  msgid "Show excerpt?"
976
  msgstr "Afficher le fragment du message dans la liste?"
977
 
978
+ #: includes/class-top-10-widget.php:94
979
  #, fuzzy
980
  msgid "Show author?"
981
  msgstr "Afficher le fragment du message dans la liste?"
982
 
983
+ #: includes/class-top-10-widget.php:99
984
  #, fuzzy
985
  msgid "Show date?"
986
  msgstr "Afficher le fragment du message dans la liste?"
987
 
988
+ #: includes/class-top-10-widget.php:105
 
 
 
 
 
989
  #, fuzzy
990
  msgid "Thumbnails inline, before title"
991
  msgstr "Afficher le thumbnail encastré et les messages avant l'en-tête"
992
 
993
+ #: includes/class-top-10-widget.php:106
994
  #, fuzzy
995
  msgid "Thumbnails inline, after title"
996
  msgstr "Afficher le thumbnail encastré et les messages après l'en-tête"
997
 
998
+ #: includes/class-top-10-widget.php:107
999
  #, fuzzy
1000
  msgid "Only thumbnails, no text"
1001
  msgstr "Afficher uniquement le thumbnail, sans le texte"
1002
 
1003
+ #: includes/class-top-10-widget.php:108
1004
  #, fuzzy
1005
  msgid "No thumbnails, only text."
1006
  msgstr "Ne pas afficher le thumbnail, uniquement le texte"
1007
 
1008
+ #: includes/class-top-10-widget.php:113
1009
  #, fuzzy
1010
  msgid "Thumbnail height"
1011
  msgstr "Options thumbnail des messages:"
1012
 
1013
+ #: includes/class-top-10-widget.php:118
1014
  #, fuzzy
1015
  msgid "Thumbnail width"
1016
  msgstr "Options thumbnail des messages:"
1017
 
1018
+ #: top-10.php:866
1019
+ msgid " by "
1020
+ msgstr ""
1021
+
1022
+ #: top-10.php:917
1023
+ #, php-format
1024
+ msgid "Popular posts by <a href=\"%s\" rel=\"nofollow\" %s>Top 10 plugin</a>"
1025
+ msgstr ""
1026
+
1027
+ #: top-10.php:1016
1028
  msgid "<h3>Popular Posts</h3>"
1029
  msgstr "<h3>Postes populaires</h3>"
1030
 
1031
+ #: top-10.php:1017
1032
  msgid "<h3>Daily Popular</h3>"
1033
  msgstr "<h3>Populaires Journaliers</h3>"
1034
 
1035
+ #: top-10.php:1018
1036
  #, fuzzy
1037
  msgid "No top posts yet"
1038
  msgstr "Annuler le top 10 des enregistrements les plus populaires"
1039
 
1040
+ #: top-10.php:1668
1041
  msgid "Once Weekly"
1042
  msgstr ""
1043
 
1044
+ #: top-10.php:1672
1045
  msgid "Once Fortnightly"
1046
  msgstr ""
1047
 
1048
+ #: top-10.php:1676
1049
  msgid "Once Monthly"
1050
  msgstr ""
1051
 
1052
+ #: top-10.php:1680
1053
+ msgid "Once quarterly"
1054
+ msgstr ""
1055
 
1056
+ #~ msgid "Daily Popular should contain views of how many days? "
1057
+ #~ msgstr ""
1058
+ #~ "Le populaire journalier doit contenir l'information sur le nombre des "
1059
+ #~ "jours"
1060
+
1061
+ #, fuzzy
1062
+ #~ msgid "Output options"
1063
+ #~ msgstr "Paramètres de sortie"
1064
+
1065
+ #, fuzzy
1066
+ #~ msgid ""
1067
+ #~ "Use <code>%totalcount%</code> to display the total count, <code>"
1068
+ #~ "%dailycount%</code> to display the daily count and <code>%overallcount%</"
1069
+ #~ "code> to display the overall count across all posts on the blog. e.g. the "
1070
+ #~ "default options displays <code>(Visited 123 times, 23 visits today)</code>"
1071
+ #~ msgstr ""
1072
+ #~ "Appliquer <code>%totalcount%</code> pour l'affichage de la quantité "
1073
+ #~ "totale, et code>%dailycount%</code> pour l'affichage des quantités "
1074
+ #~ "journalières utiliser par exemple, les paramètres d'affichage par défaut "
1075
+ #~ "<code>(Visited 123 times, 23 visits today)</code>"
1076
+
1077
+ #~ msgid "Post thumbnail options:"
1078
+ #~ msgstr "Options thumbnail des messages:"
1079
 
1080
  #~ msgid "Display the posts popular this week"
1081
  #~ msgstr "Afficher les postes populaires de la semaine"
languages/tptn-ga_IR.mo CHANGED
Binary file
languages/tptn-ga_IR.po CHANGED
@@ -1,8 +1,8 @@
1
  msgid ""
2
  msgstr ""
3
- "Project-Id-Version: Топ 10\n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2014-05-21 21:29-0000\n"
6
  "PO-Revision-Date: \n"
7
  "Last-Translator: Ajay D'Souza <me@ajaydsouza.com>\n"
8
  "Language-Team: Lets Be Famous <ray.s@letsbefamous.com>\n"
@@ -12,507 +12,681 @@ msgstr ""
12
  "Content-Transfer-Encoding: 8bit\n"
13
  "X-Poedit-KeywordsList: _e;__\n"
14
  "X-Poedit-Basepath: ../\n"
15
- "X-Generator: Poedit 1.6.5\n"
 
16
  "X-Poedit-SearchPath-0: .\n"
17
 
18
- #: admin.inc.php:115
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
19
  msgid "Options saved successfully."
20
  msgstr "Roghanna shábháil go rathúil."
21
 
22
- #: admin.inc.php:125
23
  msgid "Options set to Default."
24
  msgstr "Roghanna leagtha chun Réamhshocrú."
25
 
26
- #: admin.inc.php:131
27
  #, fuzzy
28
  msgid "Top 10 popular posts reset"
29
  msgstr "Teideal an post tóir:"
30
 
31
- #: admin.inc.php:137
32
  #, fuzzy
33
  msgid "Top 10 daily popular posts reset"
34
  msgstr "Teideal ar tóir an bpost:"
35
 
36
- #: admin.inc.php:144
37
  msgid "Duplicate rows cleaned from tables"
38
  msgstr ""
39
 
40
- #: admin.inc.php:156
41
  msgid "Scheduled maintenance enabled / modified"
42
  msgstr ""
43
 
44
- #: admin.inc.php:160
45
  msgid "Scheduled maintenance disabled"
46
  msgstr ""
47
 
48
- #: admin.inc.php:175 admin.inc.php:297 admin.inc.php:458 admin.inc.php:487
49
- #: admin.inc.php:551 admin.inc.php:644 admin.inc.php:664 admin.inc.php:674
50
- msgid "Click to toggle"
51
  msgstr ""
52
 
53
- #: admin.inc.php:176
54
- msgid "General options"
 
 
55
  msgstr ""
56
 
57
- #: admin.inc.php:180
58
- msgid "Enable Overall stats"
 
 
 
 
 
59
  msgstr ""
60
 
61
- #: admin.inc.php:185
62
- msgid "Enable Daily stats"
63
  msgstr ""
64
 
65
- #: admin.inc.php:190
66
- msgid "W3 Total Cache fix:"
67
  msgstr ""
68
 
69
- #: admin.inc.php:192
70
- msgid ""
71
- "This will try to prevent W3 Total Cache from caching the addcount script of "
72
- "the plugin. Try toggling this option in case you find that our posts are not "
73
- "tracked."
74
  msgstr ""
75
 
76
- #: admin.inc.php:196
77
- msgid "Number of popular posts to display: "
78
- msgstr "An líon post tóir a thaispeáint:"
79
 
80
- #: admin.inc.php:198
81
- msgid ""
82
- "Maximum number of posts that will be displayed in the list. This option is "
83
- "used if you don't specify the number of posts in the widget or shortcodes"
84
  msgstr ""
85
 
86
- #: admin.inc.php:202
87
- msgid "Daily Popular should contain views of how many days? "
88
- msgstr "Ba chóir go laethúil Coitianta bhfuil tuairimí cé mhéad lá?"
 
 
 
89
 
90
- #: admin.inc.php:204
91
- msgid ""
92
- "Instead of displaying popular posts fromt he past day, this setting lets you "
93
- "display posts for as many days as you want. This can be overridden in the "
94
- "widget."
95
  msgstr ""
96
 
97
- #: admin.inc.php:207
98
- msgid "Post types to include in results (including custom post types)"
99
  msgstr ""
100
 
101
- #: admin.inc.php:218
102
- msgid "List of post or page IDs to exclude from the results: "
103
  msgstr ""
104
 
105
- #: admin.inc.php:220 admin.inc.php:361
106
- msgid "Enter comma separated list of IDs. e.g. 188,320,500"
 
 
 
107
  msgstr ""
108
 
109
- #: admin.inc.php:224
110
- msgid "Exclude Categories: "
111
  msgstr ""
112
 
113
- #: admin.inc.php:239
 
114
  msgid ""
115
- "Comma separated list of category slugs. The field above has an autocomplete "
116
- "so simply start typing in the starting letters and it will prompt you with "
117
- "options"
118
  msgstr ""
 
 
119
 
120
- #: admin.inc.php:244
 
 
 
 
 
 
121
  #, fuzzy
122
  msgid "Display number of views on:"
123
  msgstr "Taispeáin líon na dtuairimí ar phoist?"
124
 
125
- #: admin.inc.php:246
126
  msgid "Posts"
127
  msgstr ""
128
 
129
- #: admin.inc.php:247
130
  #, fuzzy
131
  msgid "Pages"
132
  msgstr "Leathanach"
133
 
134
- #: admin.inc.php:248
135
  msgid "Home page"
136
  msgstr ""
137
 
138
- #: admin.inc.php:249
139
  msgid "Feeds"
140
  msgstr ""
141
 
142
- #: admin.inc.php:250
143
  msgid "Category archives"
144
  msgstr ""
145
 
146
- #: admin.inc.php:251
147
  msgid "Tag archives"
148
  msgstr ""
149
 
150
- #: admin.inc.php:252
151
  msgid "Other archives"
152
  msgstr ""
153
 
154
- #: admin.inc.php:253
155
  msgid ""
156
  "If you choose to disable this, please add <code>&lt;?php if "
157
  "( function_exists ( 'echo_tptn_post_count' ) ) echo_tptn_post_count(); ?&gt;"
158
  "</code> to your template file where you want it displayed"
159
  msgstr ""
160
 
161
- #: admin.inc.php:256
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
162
  msgid "Always display latest post count"
163
  msgstr ""
164
 
165
- #: admin.inc.php:258
166
  msgid ""
167
  "This option uses JavaScript and will increase your page load time. Turn this "
168
  "off if you are not using caching plugins or are OK with displaying older "
169
  "cached counts."
170
  msgstr ""
171
 
172
- #: admin.inc.php:261
173
  msgid "Track visits of authors on their own posts?"
174
  msgstr "Track cuairteanna ar údair ar a gcuid post féin?"
175
 
176
- #: admin.inc.php:263
177
  msgid ""
178
  "Disabling this option will stop authors visits tracked on their own posts"
179
  msgstr ""
180
 
181
- #: admin.inc.php:266
182
  #, fuzzy
183
  msgid "Track visits of admins?"
184
  msgstr "Track cuairteanna ar údair ar a gcuid post féin?"
185
 
186
- #: admin.inc.php:268
187
  msgid "Disabling this option will stop admin visits being tracked."
188
  msgstr ""
189
 
190
- #: admin.inc.php:271
191
  #, fuzzy
192
  msgid "Track visits of Editors?"
193
  msgstr "Track cuairteanna ar údair ar a gcuid post féin?"
194
 
195
- #: admin.inc.php:273
196
  msgid "Disabling this option will stop editor visits being tracked."
197
  msgstr ""
198
 
199
- #: admin.inc.php:276
200
  msgid "Display page views on Posts and Pages in Admin"
201
  msgstr ""
202
 
203
- #: admin.inc.php:279
204
  msgid ""
205
  "Adds three columns called Total Views, Today's Views and Views to All Posts "
206
  "and All Pages"
207
  msgstr ""
208
 
209
- #: admin.inc.php:282
210
  #, fuzzy
211
  msgid "Show number of views to non-admins"
212
  msgstr "Taispeáin líon na dtuairimí ar leathanaigh?"
213
 
214
- #: admin.inc.php:285
215
  msgid ""
216
  "If you disable this then non-admins won't see the above columns or view the "
217
  "independent pages with the top posts"
218
  msgstr ""
219
 
220
- #: admin.inc.php:288
221
- msgid "Link to Top 10 plugin page"
222
- msgstr ""
223
 
224
- #: admin.inc.php:291
225
- #, fuzzy
226
  msgid ""
227
- "A link to the plugin is added as an extra list item to the list of popular "
228
- "posts"
229
  msgstr ""
230
- "Tá nasc chuig an breiseán seo a leanas mar mhír liosta breise le liosta "
231
- "de phoist tóir. Gan éigeantach, ach a bhuíochas má dhéanann tú é!"
232
 
233
- #: admin.inc.php:298
234
- #, fuzzy
235
- msgid "Output options"
236
- msgstr "roghanna"
237
 
238
- #: admin.inc.php:301
239
- #, fuzzy
240
- msgid "Format to display the post views:"
241
- msgstr "Formáid a thaispeáint ar an comhaireamh i:"
242
 
243
- #: admin.inc.php:303
244
- #, fuzzy
 
 
 
245
  msgid ""
246
- "Use <code>%totalcount%</code> to display the total count, <code>%dailycount"
247
- "%</code> to display the daily count and <code>%overallcount%</code> to "
248
- "display the overall count across all posts on the blog. e.g. the default "
249
- "options displays <code>(Visited 123 times, 23 visits today)</code>"
250
  msgstr ""
251
- "Bain úsáid as <code>% totalcount% </ cód> a chur ar taispeáint ar an líon "
252
- "iomlán agus <code>% dailycount% </ cód> a chur ar taispeáint ar an líon "
253
- "laethúil. e.g. na roghanna réamhshocraithe taispeántais <code> (Cuairt "
254
- "123 amanna, 23 cuairt inniu) </ cód>"
255
 
256
- #: admin.inc.php:306
257
- msgid "What do display when there are no visits?"
 
 
 
 
 
 
 
 
258
  msgstr ""
259
 
260
- #: admin.inc.php:308
 
 
 
 
261
  msgid ""
262
- "This text applies only when there are 0 hits for the post and it isn't a "
263
- "single page. e.g. if you display post views on the homepage or archives then "
264
- "this text will be used. To override this, just enter the same text as above "
265
- "option."
266
  msgstr ""
267
 
268
- #: admin.inc.php:311
269
  msgid "Title of popular posts: "
270
  msgstr "Teideal an post tóir:"
271
 
272
- #: admin.inc.php:314
273
  msgid "Title of daily popular posts: "
274
  msgstr "Teideal ar tóir an bpost:"
275
 
276
- #: admin.inc.php:317
277
  msgid "When there are no posts, what should be shown?"
278
  msgstr ""
279
 
280
- #: admin.inc.php:321
281
  msgid "Blank Output"
282
  msgstr ""
283
 
284
- #: admin.inc.php:325
285
  msgid "Display:"
286
  msgstr ""
287
 
288
- #: admin.inc.php:329
289
  msgid "Show post excerpt in list?"
290
  msgstr ""
291
 
292
- #: admin.inc.php:332
293
  msgid "Length of excerpt (in words): "
294
  msgstr ""
295
 
296
- #: admin.inc.php:335
297
  msgid "Show post author in list?"
298
  msgstr ""
299
 
300
- #: admin.inc.php:338
301
  msgid "Show post date in list?"
302
  msgstr ""
303
 
304
- #: admin.inc.php:341
305
  msgid "Limit post title length (in characters)"
306
  msgstr ""
307
 
308
- #: admin.inc.php:344
309
  msgid "Show view count in list?"
310
  msgstr ""
311
 
312
- #: admin.inc.php:347
313
  msgid "Always display latest post count in the daily lists?"
314
  msgstr ""
315
 
316
- #: admin.inc.php:349
317
  msgid ""
318
  "This option uses JavaScript and will increase your page load time. When you "
319
  "enable this option, the daily widget will not use the options set there, but "
320
  "options will need to be set on this screen."
321
  msgstr ""
322
 
323
- #: admin.inc.php:352
324
  msgid "Open links in new window"
325
  msgstr ""
326
 
327
- #: admin.inc.php:355
328
  msgid "Add nofollow attribute to links in the list"
329
  msgstr ""
330
 
331
- #: admin.inc.php:358
332
  msgid "Exclude display of related posts on these posts / pages"
333
  msgstr ""
334
 
335
- #: admin.inc.php:364
336
  msgid "Customise the list HTML"
337
  msgstr ""
338
 
339
- #: admin.inc.php:366
340
  #, fuzzy
341
  msgid "HTML to display before the list of posts: "
342
  msgstr "Formáid a thaispeáint ar an comhaireamh i:"
343
 
344
- #: admin.inc.php:369
345
  #, fuzzy
346
  msgid "HTML to display before each list item: "
347
  msgstr "Formáid a thaispeáint ar an comhaireamh i:"
348
 
349
- #: admin.inc.php:372
350
  #, fuzzy
351
  msgid "HTML to display after each list item: "
352
  msgstr "Formáid a thaispeáint ar an comhaireamh i:"
353
 
354
- #: admin.inc.php:375
355
  #, fuzzy
356
  msgid "HTML to display after the list of posts: "
357
  msgstr "Formáid a thaispeáint ar an comhaireamh i:"
358
 
359
- #: admin.inc.php:378
360
- msgid "Post thumbnail options:"
361
- msgstr ""
362
-
363
- #: admin.inc.php:380
364
  msgid "Location of post thumbnail:"
365
  msgstr ""
366
 
367
- #: admin.inc.php:384
368
  #, fuzzy
369
  msgid "Display thumbnails inline with posts, before title"
370
  msgstr "Taispeáin líon na dtuairimí ar phoist?"
371
 
372
- #: admin.inc.php:388
373
  #, fuzzy
374
  msgid "Display thumbnails inline with posts, after title"
375
  msgstr "Taispeáin líon na dtuairimí ar phoist?"
376
 
377
- #: admin.inc.php:392
378
  #, fuzzy
379
  msgid "Display only thumbnails, no text"
380
  msgstr "Taispeáin líon na dtuairimí ar phoist?"
381
 
382
- #: admin.inc.php:396
383
  #, fuzzy
384
  msgid "Do not display thumbnails, only text."
385
  msgstr "Taispeáin líon na dtuairimí ar phoist?"
386
 
387
- #: admin.inc.php:400
388
- msgid "Width of the thumbnail: "
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
389
  msgstr ""
390
 
391
- #: admin.inc.php:403
392
- msgid "Height of the thumbnail: "
393
  msgstr ""
394
 
395
- #: admin.inc.php:406
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
396
  msgid "Style attributes / Width and Height HTML attributes:"
397
  msgstr ""
398
 
399
- #: admin.inc.php:410
400
  msgid "Style attributes are used for width and height."
401
  msgstr ""
402
 
403
- #: admin.inc.php:414
404
  msgid "HTML width and height attributes are used for width and height."
405
  msgstr ""
406
 
407
- #: admin.inc.php:418
408
  msgid "Use timthumb to generate thumbnails? "
409
  msgstr ""
410
 
411
- #: admin.inc.php:421
412
  msgid ""
413
  "If checked, <a href=\"http://www.binarymoon.co.uk/projects/timthumb/\" "
414
  "target=\"_blank\">timthumb</a> will be used to generate thumbnails"
415
  msgstr ""
416
 
417
- #: admin.inc.php:424
418
  msgid "Quality of thumbnails generated by timthumb:"
419
  msgstr ""
420
 
421
- #: admin.inc.php:427
422
  msgid ""
423
  "Enter values between 0 and 100 only. 100 is highest quality and the highest "
424
  "file size. Suggested maximum value is 95. Default is 75."
425
  msgstr ""
426
 
427
- #: admin.inc.php:430
428
  msgid "Post thumbnail meta field name: "
429
  msgstr ""
430
 
431
- #: admin.inc.php:433
432
  msgid ""
433
  "The value of this field should contain the image source and is set in the "
434
  "<em>Add New Post</em> screen"
435
  msgstr ""
436
 
437
- #: admin.inc.php:436
438
  msgid ""
439
  "If the postmeta is not set, then should the plugin extract the first image "
440
  "from the post?"
441
  msgstr ""
442
 
443
- #: admin.inc.php:439
444
  msgid ""
445
  "This could slow down the loading of your page if the first image in the "
446
  "related posts is large in file-size"
447
  msgstr ""
448
 
449
- #: admin.inc.php:442
450
  msgid "Use default thumbnail? "
451
  msgstr ""
452
 
453
- #: admin.inc.php:445
454
  msgid ""
455
  "If checked, when no thumbnail is found, show a default one from the URL "
456
  "below. If not checked and no thumbnail is found, no image will be shown."
457
  msgstr ""
458
 
459
- #: admin.inc.php:448
460
  msgid "Default thumbnail: "
461
  msgstr ""
462
 
463
- #: admin.inc.php:452
464
  msgid ""
465
  "The plugin will first check if the post contains a thumbnail. If it doesn't "
466
  "then it will check the meta field. If this is not available, then it will "
467
  "show the default image as specified above"
468
  msgstr ""
469
 
470
- #: admin.inc.php:459
471
  msgid "Custom CSS"
472
  msgstr ""
473
 
474
- #: admin.inc.php:462
475
  msgid "Use default style included in the plugin?"
476
  msgstr ""
477
 
478
- #: admin.inc.php:465
479
  msgid ""
480
  "Top 10 includes a default style that makes your popular posts list to look "
481
- "pretty. Check the box above if you want to use this. You will need to select "
482
- "<strong>Thumbnails inline, before title</strong> in Output Options or in the "
483
- "Widget."
 
 
 
 
 
 
 
 
 
 
 
484
  msgstr ""
485
 
486
- #: admin.inc.php:468
487
  msgid "Custom CSS to add to header:"
488
  msgstr ""
489
 
490
- #: admin.inc.php:471
491
  msgid ""
492
  "Do not include <code>style</code> tags. Check out the <a href=\"http://"
493
  "wordpress.org/extend/plugins/top-10/faq/\" target=\"_blank\">FAQ</a> for "
494
  "available CSS classes to style."
495
  msgstr ""
496
 
497
- #: admin.inc.php:478 admin.inc.php:544
498
- #, fuzzy
499
- msgid "Save Options"
500
- msgstr "roghanna"
501
-
502
- #: admin.inc.php:479
503
  #, fuzzy
504
  msgid "Default Options"
505
  msgstr "roghanna"
506
 
507
- #: admin.inc.php:479
508
  msgid "Do you want to set options to Default?"
509
  msgstr "Ar mhaith leat roghanna atá leagtha chun Réamhshocrú?"
510
 
511
- #: admin.inc.php:488
512
- msgid "Maintenance"
513
- msgstr ""
514
-
515
- #: admin.inc.php:492
516
  msgid ""
517
  "Over time the Daily Top 10 database grows in size, which reduces the "
518
  "performance of the plugin. Cleaning the database at regular intervals could "
@@ -520,355 +694,360 @@ msgid ""
520
  "will automatically delete entries older than 90 days."
521
  msgstr ""
522
 
523
- #: admin.inc.php:493
524
  msgid ""
525
  "Note: When scheduled maintenance is enabled, WordPress will run the cron job "
526
  "everytime the job is rescheduled (i.e. you change the settings below)."
527
  msgstr ""
528
 
529
- #: admin.inc.php:496
530
  msgid "Enable scheduled maintenance of daily tables:"
531
  msgstr ""
532
 
533
- #: admin.inc.php:500
534
  msgid "Time to run maintenance"
535
  msgstr ""
536
 
537
- #: admin.inc.php:501
538
  msgid "hrs"
539
  msgstr ""
540
 
541
- #: admin.inc.php:501
542
  msgid "min"
543
  msgstr ""
544
 
545
- #: admin.inc.php:503
546
  msgid "How often should the maintenance be run:"
547
  msgstr ""
548
 
549
- #: admin.inc.php:507
550
  msgid "Daily"
551
  msgstr ""
552
 
553
- #: admin.inc.php:511
554
  msgid "Weekly"
555
  msgstr ""
556
 
557
- #: admin.inc.php:515
558
  msgid "Fortnightly"
559
  msgstr ""
560
 
561
- #: admin.inc.php:519
562
  msgid "Monthly"
563
  msgstr ""
564
 
565
- #: admin.inc.php:528
566
  msgid "The cron job has been scheduled. Maintenance will run "
567
  msgstr ""
568
 
569
- #: admin.inc.php:533
570
  msgid "The cron job is missing. Please resave this page to add the job"
571
  msgstr ""
572
 
573
- #: admin.inc.php:538
574
  msgid "Maintenance is turned off"
575
  msgstr ""
576
 
577
- #: admin.inc.php:552
578
  msgid "Reset count"
579
  msgstr ""
580
 
581
- #: admin.inc.php:555
582
  msgid ""
583
  "This cannot be reversed. Make sure that your database has been backed up "
584
  "before proceeding"
585
  msgstr ""
586
 
587
- #: admin.inc.php:558
588
  #, fuzzy
589
  msgid "Reset Popular Posts"
590
  msgstr "Poist Coitianta"
591
 
592
- #: admin.inc.php:558
593
  msgid "Are you sure you want to reset the popular posts?"
594
  msgstr ""
595
 
596
- #: admin.inc.php:559
597
  #, fuzzy
598
  msgid "Reset Daily Popular Posts"
599
  msgstr "Poist Coitianta Laethúil"
600
 
601
- #: admin.inc.php:559
602
  msgid "Are you sure you want to reset the daily popular posts?"
603
  msgstr ""
604
 
605
- #: admin.inc.php:560
606
  msgid "Clear duplicates"
607
  msgstr ""
608
 
609
- #: admin.inc.php:560
610
  msgid "This will delete the duplicate entries in the tables. Proceed?"
611
  msgstr ""
612
 
613
- #: admin.inc.php:612 admin.inc.php:1010
614
- msgid "Popular Posts"
615
- msgstr "Poist Coitianta"
 
 
 
 
 
 
 
 
 
 
616
 
617
- #: admin.inc.php:614 admin.inc.php:713
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
618
  msgid "Daily Popular Posts"
619
  msgstr "Poist Coitianta Laethúil"
620
 
621
- #: admin.inc.php:645
622
  #, fuzzy
623
  msgid "Support the development"
624
  msgstr "Tacú le Forbairt"
625
 
626
- #: admin.inc.php:652
627
  msgid "Donation for Top 10"
628
  msgstr ""
629
 
630
- #: admin.inc.php:654
631
  msgid "Enter amount in USD: "
632
  msgstr ""
633
 
634
- #: admin.inc.php:658
635
  msgid "Send your donation to the author of Top 10"
636
  msgstr ""
637
 
638
- #: admin.inc.php:665
639
  msgid "Follow me"
640
  msgstr ""
641
 
642
- #: admin.inc.php:675
643
  msgid "Quick links"
644
  msgstr ""
645
 
646
- #: admin.inc.php:679
647
  msgid "Top 10 plugin page"
648
  msgstr ""
649
 
650
- #: admin.inc.php:680
 
 
 
 
651
  msgid "Other plugins"
652
  msgstr ""
653
 
654
- #: admin.inc.php:681
655
  msgid "Ajay's blog"
656
  msgstr ""
657
 
658
- #: admin.inc.php:682
659
  msgid "FAQ"
660
  msgstr ""
661
 
662
- #: admin.inc.php:683 top-10.php:1345
663
  msgid "Support"
664
  msgstr ""
665
 
666
- #: admin.inc.php:684
667
  msgid "Reviews"
668
  msgstr ""
669
 
670
- #: admin.inc.php:704 admin.inc.php:707
671
- #, fuzzy
672
- msgid "Top 10 Settings"
673
- msgstr "Top 10"
674
-
675
- #: admin.inc.php:704 admin.inc.php:1183
676
- msgid "Top 10"
677
- msgstr "Top 10"
678
-
679
- #: admin.inc.php:710
680
  #, fuzzy
681
  msgid "Overall Popular Posts"
682
  msgstr "Féach ar Poist Coitianta Foriomlán"
683
 
684
- #: admin.inc.php:882
685
- #, php-format
686
- msgid "Results %1$s to %2$s of %3$s"
687
- msgstr ""
688
-
689
- #: admin.inc.php:886
690
- #, php-format
691
- msgid "Page %s of %s"
692
- msgstr ""
693
-
694
- #: admin.inc.php:898
695
- msgid "View Daily Popular Posts"
696
- msgstr "Féach ar Poist sa lá Coitianta"
697
-
698
- #: admin.inc.php:901 admin.inc.php:914
699
- msgid "Results per-page:"
700
- msgstr "Torthaí in aghaidh an-leathanach:"
701
-
702
- #: admin.inc.php:911
703
- msgid "View Overall Popular Posts"
704
- msgstr "Féach ar Poist Coitianta Foriomlán"
705
-
706
- #: admin.inc.php:940
707
- msgid "Previous"
708
- msgstr "roimhe Seo"
709
-
710
- #: admin.inc.php:968
711
- msgid "Next"
712
- msgstr "Ar Aghaidh"
713
-
714
- #: admin.inc.php:1011
715
- msgid "Daily Popular"
716
- msgstr "laethúil Coitianta"
717
-
718
- #: admin.inc.php:1029
719
- #, fuzzy
720
- msgid "Total Views"
721
- msgstr "laethúil Coitianta"
722
-
723
- #: admin.inc.php:1030
724
- #, fuzzy
725
- msgid "Today's Views"
726
- msgstr "laethúil Coitianta"
727
-
728
- #: admin.inc.php:1031
729
- #, fuzzy
730
- msgid "Views"
731
- msgstr "laethúil Coitianta"
732
-
733
- #: admin.inc.php:1217
734
- msgid "Visit count:"
735
- msgstr ""
736
-
737
- #: admin.inc.php:1219
738
- msgid ""
739
- "Enter a number above to update the visit count. Leaving the above box blank "
740
- "will set the count to zero"
741
- msgstr ""
742
-
743
- #: admin.inc.php:1229
744
- msgid "Location of thumbnail:"
745
- msgstr ""
746
-
747
- #: admin.inc.php:1231
748
- msgid ""
749
- "Enter the full URL to the image (JPG, PNG or GIF) you'd like to use. This "
750
- "image will be used for the post. It will be resized to the thumbnail size "
751
- "set under Settings &raquo; Related Posts &raquo; Output Options"
752
- msgstr ""
753
-
754
- #: admin.inc.php:1232
755
- msgid "The URL above is saved in the meta field: "
756
  msgstr ""
757
 
758
- #: top-10.php:456
759
- msgid " by "
760
  msgstr ""
761
 
762
- #: top-10.php:550
763
  #, fuzzy
764
  msgid "Popular Posts [Top 10]"
765
  msgstr "Poist Coitianta"
766
 
767
- #: top-10.php:551
768
  #, fuzzy
769
  msgid "Display popular posts"
770
  msgstr "Poist Coitianta Laethúil"
771
 
772
- #: top-10.php:577
773
  msgid "Title"
774
  msgstr ""
775
 
776
- #: top-10.php:582
777
  msgid "No. of posts"
778
  msgstr ""
779
 
780
- #: top-10.php:587
781
  msgid "Overall"
782
  msgstr ""
783
 
784
- #: top-10.php:588
785
  msgid "Custom time period (Enter below)"
786
  msgstr ""
787
 
788
- #: top-10.php:593
789
- msgid "Range in number of days (applies only to custom option above)"
 
 
 
 
790
  msgstr ""
791
 
792
- #: top-10.php:598
 
 
 
 
793
  msgid "Show count?"
794
  msgstr ""
795
 
796
- #: top-10.php:603
797
  msgid "Show excerpt?"
798
  msgstr ""
799
 
800
- #: top-10.php:608
801
  msgid "Show author?"
802
  msgstr ""
803
 
804
- #: top-10.php:613
805
  msgid "Show date?"
806
  msgstr ""
807
 
808
- #: top-10.php:617
809
- msgid "Thumbnail options"
810
- msgstr ""
811
-
812
- #: top-10.php:619
813
  #, fuzzy
814
  msgid "Thumbnails inline, before title"
815
  msgstr "Taispeáin líon na dtuairimí ar phoist?"
816
 
817
- #: top-10.php:620
818
  #, fuzzy
819
  msgid "Thumbnails inline, after title"
820
  msgstr "Taispeáin líon na dtuairimí ar phoist?"
821
 
822
- #: top-10.php:621
823
  #, fuzzy
824
  msgid "Only thumbnails, no text"
825
  msgstr "Taispeáin líon na dtuairimí ar phoist?"
826
 
827
- #: top-10.php:622
828
  #, fuzzy
829
  msgid "No thumbnails, only text."
830
  msgstr "Taispeáin líon na dtuairimí ar phoist?"
831
 
832
- #: top-10.php:627
833
  msgid "Thumbnail height"
834
  msgstr ""
835
 
836
- #: top-10.php:632
837
  msgid "Thumbnail width"
838
  msgstr ""
839
 
840
- #: top-10.php:772
 
 
 
 
 
 
 
 
 
841
  msgid "<h3>Popular Posts</h3>"
842
  msgstr "<h3>Poist Coitianta </ h3>"
843
 
844
- #: top-10.php:773
845
  msgid "<h3>Daily Popular</h3>"
846
  msgstr "<h3> laethúil Coitianta </ h3>"
847
 
848
- #: top-10.php:774
849
  #, fuzzy
850
  msgid "No top posts yet"
851
  msgstr "Teideal an post tóir:"
852
 
853
- #: top-10.php:1245
854
  msgid "Once Weekly"
855
  msgstr ""
856
 
857
- #: top-10.php:1249
858
  msgid "Once Fortnightly"
859
  msgstr ""
860
 
861
- #: top-10.php:1253
862
  msgid "Once Monthly"
863
  msgstr ""
864
 
865
- #: top-10.php:1323
866
- msgid "Settings"
867
  msgstr ""
868
 
869
- #: top-10.php:1346
870
- msgid "Donate"
871
- msgstr ""
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
872
 
873
  #, fuzzy
874
  #~ msgid "This option uses JavaScript and will increase your page load time"
1
  msgid ""
2
  msgstr ""
3
+ "Project-Id-Version: Тоp 10\n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2014-12-28 00:59-0000\n"
6
  "PO-Revision-Date: \n"
7
  "Last-Translator: Ajay D'Souza <me@ajaydsouza.com>\n"
8
  "Language-Team: Lets Be Famous <ray.s@letsbefamous.com>\n"
12
  "Content-Transfer-Encoding: 8bit\n"
13
  "X-Poedit-KeywordsList: _e;__\n"
14
  "X-Poedit-Basepath: ../\n"
15
+ "X-Generator: Poedit 1.7.1\n"
16
+ "X-Poedit-SourceCharset: UTF-8\n"
17
  "X-Poedit-SearchPath-0: .\n"
18
 
19
+ #: admin/admin-columns.php:30
20
+ #, fuzzy
21
+ msgid "Total Views"
22
+ msgstr "laethúil Coitianta"
23
+
24
+ #: admin/admin-columns.php:33
25
+ #, fuzzy
26
+ msgid "Today's Views"
27
+ msgstr "laethúil Coitianta"
28
+
29
+ #: admin/admin-columns.php:36
30
+ #, fuzzy
31
+ msgid "Views"
32
+ msgstr "laethúil Coitianta"
33
+
34
+ #: admin/admin-dashboard.php:72
35
+ #, php-format
36
+ msgid "Results %1$s to %2$s of %3$s"
37
+ msgstr ""
38
+
39
+ #: admin/admin-dashboard.php:76
40
+ #, php-format
41
+ msgid "Page %s of %s"
42
+ msgstr ""
43
+
44
+ #: admin/admin-dashboard.php:88
45
+ msgid "View Daily Popular Posts"
46
+ msgstr "Féach ar Poist sa lá Coitianta"
47
+
48
+ #: admin/admin-dashboard.php:91 admin/admin-dashboard.php:104
49
+ msgid "Results per-page:"
50
+ msgstr "Torthaí in aghaidh an-leathanach:"
51
+
52
+ #: admin/admin-dashboard.php:101
53
+ msgid "View Overall Popular Posts"
54
+ msgstr "Féach ar Poist Coitianta Foriomlán"
55
+
56
+ #: admin/admin-dashboard.php:130
57
+ msgid "Previous"
58
+ msgstr "roimhe Seo"
59
+
60
+ #: admin/admin-dashboard.php:158
61
+ msgid "Next"
62
+ msgstr "Ar Aghaidh"
63
+
64
+ #: admin/admin-dashboard.php:200 admin/admin.php:1145
65
+ msgid "Popular Posts"
66
+ msgstr "Poist Coitianta"
67
+
68
+ #: admin/admin-dashboard.php:205
69
+ msgid "Daily Popular"
70
+ msgstr "laethúil Coitianta"
71
+
72
+ #: admin/admin-metabox.php:38 admin/admin.php:1234
73
+ msgid "Top 10"
74
+ msgstr "Top 10"
75
+
76
+ #: admin/admin-metabox.php:71
77
+ msgid "Visit count:"
78
+ msgstr ""
79
+
80
+ #: admin/admin-metabox.php:73
81
+ msgid ""
82
+ "Enter a number above to update the visit count. Leaving the above box blank "
83
+ "will set the count to zero"
84
+ msgstr ""
85
+
86
+ #: admin/admin-metabox.php:83
87
+ msgid "Location of thumbnail:"
88
+ msgstr ""
89
+
90
+ #: admin/admin-metabox.php:85
91
+ msgid ""
92
+ "Enter the full URL to the image (JPG, PNG or GIF) you'd like to use. This "
93
+ "image will be used for the post. It will be resized to the thumbnail size "
94
+ "set under Settings &raquo; Related Posts &raquo; Output Options"
95
+ msgstr ""
96
+
97
+ #: admin/admin-metabox.php:86
98
+ msgid "The URL above is saved in the meta field: "
99
+ msgstr ""
100
+
101
+ #: admin/admin.php:160
102
  msgid "Options saved successfully."
103
  msgstr "Roghanna shábháil go rathúil."
104
 
105
+ #: admin/admin.php:170
106
  msgid "Options set to Default."
107
  msgstr "Roghanna leagtha chun Réamhshocrú."
108
 
109
+ #: admin/admin.php:176
110
  #, fuzzy
111
  msgid "Top 10 popular posts reset"
112
  msgstr "Teideal an post tóir:"
113
 
114
+ #: admin/admin.php:182
115
  #, fuzzy
116
  msgid "Top 10 daily popular posts reset"
117
  msgstr "Teideal ar tóir an bpost:"
118
 
119
+ #: admin/admin.php:189
120
  msgid "Duplicate rows cleaned from tables"
121
  msgstr ""
122
 
123
+ #: admin/admin.php:201
124
  msgid "Scheduled maintenance enabled / modified"
125
  msgstr ""
126
 
127
+ #: admin/admin.php:205
128
  msgid "Scheduled maintenance disabled"
129
  msgstr ""
130
 
131
+ #: admin/admin.php:244
132
+ msgid "Counts from selected sites have been imported."
 
133
  msgstr ""
134
 
135
+ #: admin/admin.php:269
136
+ msgid ""
137
+ "Selected tables have been deleted. Note that only imported tables have been "
138
+ "deleted."
139
  msgstr ""
140
 
141
+ #: admin/admin.php:277 admin/admin.php:1234 admin/admin.php:1237
142
+ #, fuzzy
143
+ msgid "Top 10 Settings"
144
+ msgstr "Top 10"
145
+
146
+ #: admin/admin.php:289 admin/admin.php:311
147
+ msgid "General options"
148
  msgstr ""
149
 
150
+ #: admin/admin.php:290 admin/admin.php:373
151
+ msgid "Counter and tracker options"
152
  msgstr ""
153
 
154
+ #: admin/admin.php:291 admin/admin.php:478
155
+ msgid "Popular post list options"
156
  msgstr ""
157
 
158
+ #: admin/admin.php:292 admin/admin.php:681
159
+ #: includes/class-top-10-widget.php:103
160
+ msgid "Thumbnail options"
 
 
161
  msgstr ""
162
 
163
+ #: admin/admin.php:293
164
+ msgid "Custom styles"
165
+ msgstr ""
166
 
167
+ #: admin/admin.php:294 admin/admin.php:912
168
+ msgid "Maintenance"
 
 
169
  msgstr ""
170
 
171
+ #: admin/admin.php:310 admin/admin.php:372 admin/admin.php:477
172
+ #: admin/admin.php:680 admin/admin.php:843 admin/admin.php:911
173
+ #: admin/admin.php:975 admin/admin.php:996 admin/admin.php:1176
174
+ #: admin/admin.php:1196 admin/admin.php:1206
175
+ msgid "Click to toggle"
176
+ msgstr ""
177
 
178
+ #: admin/admin.php:327
179
+ msgid "Enable Overall stats"
 
 
 
180
  msgstr ""
181
 
182
+ #: admin/admin.php:333
183
+ msgid "Enable Daily stats"
184
  msgstr ""
185
 
186
+ #: admin/admin.php:339
187
+ msgid "Cache fix:"
188
  msgstr ""
189
 
190
+ #: admin/admin.php:342
191
+ msgid ""
192
+ "This will try to prevent W3 Total Cache and other caching plugins from "
193
+ "caching the tracker script of the plugin. Try toggling this option in case "
194
+ "you find that your posts are not tracked."
195
  msgstr ""
196
 
197
+ #: admin/admin.php:346
198
+ msgid "Link to Top 10 plugin page"
199
  msgstr ""
200
 
201
+ #: admin/admin.php:349
202
+ #, fuzzy
203
  msgid ""
204
+ "A link to the plugin is added as an extra list item to the list of popular "
205
+ "posts"
 
206
  msgstr ""
207
+ "Tá nasc chuig an breiseán seo a leanas mar mhír liosta breise le liosta "
208
+ "de phoist tóir. Gan éigeantach, ach a bhuíochas má dhéanann tú é!"
209
 
210
+ #: admin/admin.php:354 admin/admin.php:459 admin/admin.php:662
211
+ #: admin/admin.php:825 admin/admin.php:891 admin/admin.php:968
212
+ #, fuzzy
213
+ msgid "Save Options"
214
+ msgstr "roghanna"
215
+
216
+ #: admin/admin.php:389
217
  #, fuzzy
218
  msgid "Display number of views on:"
219
  msgstr "Taispeáin líon na dtuairimí ar phoist?"
220
 
221
+ #: admin/admin.php:391
222
  msgid "Posts"
223
  msgstr ""
224
 
225
+ #: admin/admin.php:392
226
  #, fuzzy
227
  msgid "Pages"
228
  msgstr "Leathanach"
229
 
230
+ #: admin/admin.php:393
231
  msgid "Home page"
232
  msgstr ""
233
 
234
+ #: admin/admin.php:394
235
  msgid "Feeds"
236
  msgstr ""
237
 
238
+ #: admin/admin.php:395
239
  msgid "Category archives"
240
  msgstr ""
241
 
242
+ #: admin/admin.php:396
243
  msgid "Tag archives"
244
  msgstr ""
245
 
246
+ #: admin/admin.php:397
247
  msgid "Other archives"
248
  msgstr ""
249
 
250
+ #: admin/admin.php:398
251
  msgid ""
252
  "If you choose to disable this, please add <code>&lt;?php if "
253
  "( function_exists ( 'echo_tptn_post_count' ) ) echo_tptn_post_count(); ?&gt;"
254
  "</code> to your template file where you want it displayed"
255
  msgstr ""
256
 
257
+ #: admin/admin.php:402
258
+ #, fuzzy
259
+ msgid "Format to display the post views:"
260
+ msgstr "Formáid a thaispeáint ar an comhaireamh i:"
261
+
262
+ #: admin/admin.php:405
263
+ msgid ""
264
+ "Use <code>%totalcount%</code> to display the total count, <code>%dailycount"
265
+ "%</code> to display the daily count and <code>%overallcount%</code> to "
266
+ "display the overall count across all posts on the blog. e.g. the default "
267
+ "options displays <code>[Visited 123 times, 23 visits today]</code>"
268
+ msgstr ""
269
+
270
+ #: admin/admin.php:409
271
+ msgid "What do display when there are no visits?"
272
+ msgstr ""
273
+
274
+ #: admin/admin.php:412
275
+ msgid ""
276
+ "This text applies only when there are 0 hits for the post and it isn't a "
277
+ "single page. e.g. if you display post views on the homepage or archives then "
278
+ "this text will be used. To override this, just enter the same text as above "
279
+ "option."
280
+ msgstr ""
281
+
282
+ #: admin/admin.php:416
283
  msgid "Always display latest post count"
284
  msgstr ""
285
 
286
+ #: admin/admin.php:419
287
  msgid ""
288
  "This option uses JavaScript and will increase your page load time. Turn this "
289
  "off if you are not using caching plugins or are OK with displaying older "
290
  "cached counts."
291
  msgstr ""
292
 
293
+ #: admin/admin.php:423
294
  msgid "Track visits of authors on their own posts?"
295
  msgstr "Track cuairteanna ar údair ar a gcuid post féin?"
296
 
297
+ #: admin/admin.php:426
298
  msgid ""
299
  "Disabling this option will stop authors visits tracked on their own posts"
300
  msgstr ""
301
 
302
+ #: admin/admin.php:430
303
  #, fuzzy
304
  msgid "Track visits of admins?"
305
  msgstr "Track cuairteanna ar údair ar a gcuid post féin?"
306
 
307
+ #: admin/admin.php:433
308
  msgid "Disabling this option will stop admin visits being tracked."
309
  msgstr ""
310
 
311
+ #: admin/admin.php:437
312
  #, fuzzy
313
  msgid "Track visits of Editors?"
314
  msgstr "Track cuairteanna ar údair ar a gcuid post féin?"
315
 
316
+ #: admin/admin.php:440
317
  msgid "Disabling this option will stop editor visits being tracked."
318
  msgstr ""
319
 
320
+ #: admin/admin.php:444
321
  msgid "Display page views on Posts and Pages in Admin"
322
  msgstr ""
323
 
324
+ #: admin/admin.php:447
325
  msgid ""
326
  "Adds three columns called Total Views, Today's Views and Views to All Posts "
327
  "and All Pages"
328
  msgstr ""
329
 
330
+ #: admin/admin.php:451
331
  #, fuzzy
332
  msgid "Show number of views to non-admins"
333
  msgstr "Taispeáin líon na dtuairimí ar leathanaigh?"
334
 
335
+ #: admin/admin.php:454
336
  msgid ""
337
  "If you disable this then non-admins won't see the above columns or view the "
338
  "independent pages with the top posts"
339
  msgstr ""
340
 
341
+ #: admin/admin.php:494
342
+ msgid "Number of popular posts to display: "
343
+ msgstr "An líon post tóir a thaispeáint:"
344
 
345
+ #: admin/admin.php:497
 
346
  msgid ""
347
+ "Maximum number of posts that will be displayed in the list. This option is "
348
+ "used if you don't specify the number of posts in the widget or shortcodes"
349
  msgstr ""
 
 
350
 
351
+ #: admin/admin.php:501
352
+ msgid "Daily popular contains top posts over:"
353
+ msgstr ""
 
354
 
355
+ #: admin/admin.php:503
356
+ msgid "day(s)"
357
+ msgstr ""
 
358
 
359
+ #: admin/admin.php:504
360
+ msgid "hour(s)"
361
+ msgstr ""
362
+
363
+ #: admin/admin.php:505
364
  msgid ""
365
+ "Think of Daily Popular has a custom date range applied as a global setting. "
366
+ "Instead of displaying popular posts from the past day, this setting lets you "
367
+ "display posts for as many days or as few hours as you want. This can be "
368
+ "overridden in the widget."
369
  msgstr ""
 
 
 
 
370
 
371
+ #: admin/admin.php:509
372
+ msgid "Post types to include in results (including custom post types)"
373
+ msgstr ""
374
+
375
+ #: admin/admin.php:521
376
+ msgid "List of post or page IDs to exclude from the results: "
377
+ msgstr ""
378
+
379
+ #: admin/admin.php:523 admin/admin.php:630
380
+ msgid "Enter comma separated list of IDs. e.g. 188,320,500"
381
  msgstr ""
382
 
383
+ #: admin/admin.php:527
384
+ msgid "Exclude Categories: "
385
+ msgstr ""
386
+
387
+ #: admin/admin.php:542
388
  msgid ""
389
+ "Comma separated list of category slugs. The field above has an autocomplete "
390
+ "so simply start typing in the starting letters and it will prompt you with "
391
+ "options"
 
392
  msgstr ""
393
 
394
+ #: admin/admin.php:547
395
  msgid "Title of popular posts: "
396
  msgstr "Teideal an post tóir:"
397
 
398
+ #: admin/admin.php:553
399
  msgid "Title of daily popular posts: "
400
  msgstr "Teideal ar tóir an bpost:"
401
 
402
+ #: admin/admin.php:559
403
  msgid "When there are no posts, what should be shown?"
404
  msgstr ""
405
 
406
+ #: admin/admin.php:563
407
  msgid "Blank Output"
408
  msgstr ""
409
 
410
+ #: admin/admin.php:567
411
  msgid "Display:"
412
  msgstr ""
413
 
414
+ #: admin/admin.php:572
415
  msgid "Show post excerpt in list?"
416
  msgstr ""
417
 
418
+ #: admin/admin.php:578
419
  msgid "Length of excerpt (in words): "
420
  msgstr ""
421
 
422
+ #: admin/admin.php:584
423
  msgid "Show post author in list?"
424
  msgstr ""
425
 
426
+ #: admin/admin.php:590
427
  msgid "Show post date in list?"
428
  msgstr ""
429
 
430
+ #: admin/admin.php:596
431
  msgid "Limit post title length (in characters)"
432
  msgstr ""
433
 
434
+ #: admin/admin.php:602
435
  msgid "Show view count in list?"
436
  msgstr ""
437
 
438
+ #: admin/admin.php:608
439
  msgid "Always display latest post count in the daily lists?"
440
  msgstr ""
441
 
442
+ #: admin/admin.php:611
443
  msgid ""
444
  "This option uses JavaScript and will increase your page load time. When you "
445
  "enable this option, the daily widget will not use the options set there, but "
446
  "options will need to be set on this screen."
447
  msgstr ""
448
 
449
+ #: admin/admin.php:615
450
  msgid "Open links in new window"
451
  msgstr ""
452
 
453
+ #: admin/admin.php:621
454
  msgid "Add nofollow attribute to links in the list"
455
  msgstr ""
456
 
457
+ #: admin/admin.php:627
458
  msgid "Exclude display of related posts on these posts / pages"
459
  msgstr ""
460
 
461
+ #: admin/admin.php:634
462
  msgid "Customise the list HTML"
463
  msgstr ""
464
 
465
+ #: admin/admin.php:637
466
  #, fuzzy
467
  msgid "HTML to display before the list of posts: "
468
  msgstr "Formáid a thaispeáint ar an comhaireamh i:"
469
 
470
+ #: admin/admin.php:643
471
  #, fuzzy
472
  msgid "HTML to display before each list item: "
473
  msgstr "Formáid a thaispeáint ar an comhaireamh i:"
474
 
475
+ #: admin/admin.php:649
476
  #, fuzzy
477
  msgid "HTML to display after each list item: "
478
  msgstr "Formáid a thaispeáint ar an comhaireamh i:"
479
 
480
+ #: admin/admin.php:655
481
  #, fuzzy
482
  msgid "HTML to display after the list of posts: "
483
  msgstr "Formáid a thaispeáint ar an comhaireamh i:"
484
 
485
+ #: admin/admin.php:696
 
 
 
 
486
  msgid "Location of post thumbnail:"
487
  msgstr ""
488
 
489
+ #: admin/admin.php:700
490
  #, fuzzy
491
  msgid "Display thumbnails inline with posts, before title"
492
  msgstr "Taispeáin líon na dtuairimí ar phoist?"
493
 
494
+ #: admin/admin.php:705
495
  #, fuzzy
496
  msgid "Display thumbnails inline with posts, after title"
497
  msgstr "Taispeáin líon na dtuairimí ar phoist?"
498
 
499
+ #: admin/admin.php:710
500
  #, fuzzy
501
  msgid "Display only thumbnails, no text"
502
  msgstr "Taispeáin líon na dtuairimí ar phoist?"
503
 
504
+ #: admin/admin.php:715
505
  #, fuzzy
506
  msgid "Do not display thumbnails, only text."
507
  msgstr "Taispeáin líon na dtuairimí ar phoist?"
508
 
509
+ #: admin/admin.php:719
510
+ msgid "Thumbnail size:"
511
+ msgstr ""
512
+
513
+ #: admin/admin.php:743
514
+ msgid "Custom size"
515
+ msgstr ""
516
+
517
+ #: admin/admin.php:746
518
+ msgid ""
519
+ "You can choose from existing image sizes above or create a custom size. If "
520
+ "you have chosen Custom size above, then enter the width, height and crop "
521
+ "settings below. For best results, use a cropped image."
522
+ msgstr ""
523
+
524
+ #: admin/admin.php:747
525
+ msgid ""
526
+ "If you change the width and/or height below, existing images will not be "
527
+ "automatically resized."
528
+ msgstr ""
529
+
530
+ #: admin/admin.php:748
531
+ #, php-format
532
+ msgid ""
533
+ "I recommend using <a href='%s' target='_blank'>Force Regenerate Thumbnails</"
534
+ "a> or <a href='%s' target='_blank'>Force Regenerate Thumbnails</a> to "
535
+ "regenerate all image sizes."
536
+ msgstr ""
537
+
538
+ #: admin/admin.php:751
539
+ msgid "Width of custom thumbnail:"
540
  msgstr ""
541
 
542
+ #: admin/admin.php:756
543
+ msgid "Height of custom thumbnail"
544
  msgstr ""
545
 
546
+ #: admin/admin.php:761
547
+ msgid "Crop mode:"
548
+ msgstr ""
549
+
550
+ #: admin/admin.php:765
551
+ msgid ""
552
+ "By default, thumbnails will be proportionately cropped. Check this box to "
553
+ "hard crop the thumbnails."
554
+ msgstr ""
555
+
556
+ #: admin/admin.php:766
557
+ #, php-format
558
+ msgid "<a href='%s' target='_blank'>Difference between soft and hard crop</a>"
559
+ msgstr ""
560
+
561
+ #: admin/admin.php:768
562
+ msgid ""
563
+ "Since you're using the default styles set under the Custom Styles section, "
564
+ "the width and height is fixed at 65px and crop mode is enabled."
565
+ msgstr ""
566
+
567
+ #: admin/admin.php:773
568
  msgid "Style attributes / Width and Height HTML attributes:"
569
  msgstr ""
570
 
571
+ #: admin/admin.php:777
572
  msgid "Style attributes are used for width and height."
573
  msgstr ""
574
 
575
+ #: admin/admin.php:782
576
  msgid "HTML width and height attributes are used for width and height."
577
  msgstr ""
578
 
579
+ #: admin/admin.php:786
580
  msgid "Use timthumb to generate thumbnails? "
581
  msgstr ""
582
 
583
+ #: admin/admin.php:789
584
  msgid ""
585
  "If checked, <a href=\"http://www.binarymoon.co.uk/projects/timthumb/\" "
586
  "target=\"_blank\">timthumb</a> will be used to generate thumbnails"
587
  msgstr ""
588
 
589
+ #: admin/admin.php:792
590
  msgid "Quality of thumbnails generated by timthumb:"
591
  msgstr ""
592
 
593
+ #: admin/admin.php:795
594
  msgid ""
595
  "Enter values between 0 and 100 only. 100 is highest quality and the highest "
596
  "file size. Suggested maximum value is 95. Default is 75."
597
  msgstr ""
598
 
599
+ #: admin/admin.php:798
600
  msgid "Post thumbnail meta field name: "
601
  msgstr ""
602
 
603
+ #: admin/admin.php:801
604
  msgid ""
605
  "The value of this field should contain the image source and is set in the "
606
  "<em>Add New Post</em> screen"
607
  msgstr ""
608
 
609
+ #: admin/admin.php:804
610
  msgid ""
611
  "If the postmeta is not set, then should the plugin extract the first image "
612
  "from the post?"
613
  msgstr ""
614
 
615
+ #: admin/admin.php:807
616
  msgid ""
617
  "This could slow down the loading of your page if the first image in the "
618
  "related posts is large in file-size"
619
  msgstr ""
620
 
621
+ #: admin/admin.php:810
622
  msgid "Use default thumbnail? "
623
  msgstr ""
624
 
625
+ #: admin/admin.php:813
626
  msgid ""
627
  "If checked, when no thumbnail is found, show a default one from the URL "
628
  "below. If not checked and no thumbnail is found, no image will be shown."
629
  msgstr ""
630
 
631
+ #: admin/admin.php:816
632
  msgid "Default thumbnail: "
633
  msgstr ""
634
 
635
+ #: admin/admin.php:820
636
  msgid ""
637
  "The plugin will first check if the post contains a thumbnail. If it doesn't "
638
  "then it will check the meta field. If this is not available, then it will "
639
  "show the default image as specified above"
640
  msgstr ""
641
 
642
+ #: admin/admin.php:844
643
  msgid "Custom CSS"
644
  msgstr ""
645
 
646
+ #: admin/admin.php:859
647
  msgid "Use default style included in the plugin?"
648
  msgstr ""
649
 
650
+ #: admin/admin.php:862
651
  msgid ""
652
  "Top 10 includes a default style that makes your popular posts list to look "
653
+ "beautiful. Check the box above if you want to use this."
654
+ msgstr ""
655
+
656
+ #: admin/admin.php:863
657
+ msgid ""
658
+ "Enabling this option will turn on the thumbnails and set their width and "
659
+ "height to 65px. It will also turn off the display of the author, excerpt and "
660
+ "date if already enabled. Disabling this option will not revert any settings."
661
+ msgstr ""
662
+
663
+ #: admin/admin.php:864
664
+ #, php-format
665
+ msgid ""
666
+ "You can view the default style at <a href=\"%1$s\" target=\"_blank\">%1$s</a>"
667
  msgstr ""
668
 
669
+ #: admin/admin.php:867
670
  msgid "Custom CSS to add to header:"
671
  msgstr ""
672
 
673
+ #: admin/admin.php:872
674
  msgid ""
675
  "Do not include <code>style</code> tags. Check out the <a href=\"http://"
676
  "wordpress.org/extend/plugins/top-10/faq/\" target=\"_blank\">FAQ</a> for "
677
  "available CSS classes to style."
678
  msgstr ""
679
 
680
+ #: admin/admin.php:892
 
 
 
 
 
681
  #, fuzzy
682
  msgid "Default Options"
683
  msgstr "roghanna"
684
 
685
+ #: admin/admin.php:892
686
  msgid "Do you want to set options to Default?"
687
  msgstr "Ar mhaith leat roghanna atá leagtha chun Réamhshocrú?"
688
 
689
+ #: admin/admin.php:916
 
 
 
 
690
  msgid ""
691
  "Over time the Daily Top 10 database grows in size, which reduces the "
692
  "performance of the plugin. Cleaning the database at regular intervals could "
694
  "will automatically delete entries older than 90 days."
695
  msgstr ""
696
 
697
+ #: admin/admin.php:917
698
  msgid ""
699
  "Note: When scheduled maintenance is enabled, WordPress will run the cron job "
700
  "everytime the job is rescheduled (i.e. you change the settings below)."
701
  msgstr ""
702
 
703
+ #: admin/admin.php:920
704
  msgid "Enable scheduled maintenance of daily tables:"
705
  msgstr ""
706
 
707
+ #: admin/admin.php:924
708
  msgid "Time to run maintenance"
709
  msgstr ""
710
 
711
+ #: admin/admin.php:925
712
  msgid "hrs"
713
  msgstr ""
714
 
715
+ #: admin/admin.php:925
716
  msgid "min"
717
  msgstr ""
718
 
719
+ #: admin/admin.php:927
720
  msgid "How often should the maintenance be run:"
721
  msgstr ""
722
 
723
+ #: admin/admin.php:931
724
  msgid "Daily"
725
  msgstr ""
726
 
727
+ #: admin/admin.php:935
728
  msgid "Weekly"
729
  msgstr ""
730
 
731
+ #: admin/admin.php:939
732
  msgid "Fortnightly"
733
  msgstr ""
734
 
735
+ #: admin/admin.php:943
736
  msgid "Monthly"
737
  msgstr ""
738
 
739
+ #: admin/admin.php:952
740
  msgid "The cron job has been scheduled. Maintenance will run "
741
  msgstr ""
742
 
743
+ #: admin/admin.php:957
744
  msgid "The cron job is missing. Please resave this page to add the job"
745
  msgstr ""
746
 
747
+ #: admin/admin.php:962
748
  msgid "Maintenance is turned off"
749
  msgstr ""
750
 
751
+ #: admin/admin.php:976
752
  msgid "Reset count"
753
  msgstr ""
754
 
755
+ #: admin/admin.php:979
756
  msgid ""
757
  "This cannot be reversed. Make sure that your database has been backed up "
758
  "before proceeding"
759
  msgstr ""
760
 
761
+ #: admin/admin.php:982
762
  #, fuzzy
763
  msgid "Reset Popular Posts"
764
  msgstr "Poist Coitianta"
765
 
766
+ #: admin/admin.php:982
767
  msgid "Are you sure you want to reset the popular posts?"
768
  msgstr ""
769
 
770
+ #: admin/admin.php:983
771
  #, fuzzy
772
  msgid "Reset Daily Popular Posts"
773
  msgstr "Poist Coitianta Laethúil"
774
 
775
+ #: admin/admin.php:983
776
  msgid "Are you sure you want to reset the daily popular posts?"
777
  msgstr ""
778
 
779
+ #: admin/admin.php:984
780
  msgid "Clear duplicates"
781
  msgstr ""
782
 
783
+ #: admin/admin.php:984
784
  msgid "This will delete the duplicate entries in the tables. Proceed?"
785
  msgstr ""
786
 
787
+ #: admin/admin.php:997
788
+ msgid "WordPress Multisite: Migrate Top 10 v1.x counts to 2.x"
789
+ msgstr ""
790
+
791
+ #: admin/admin.php:1000
792
+ msgid ""
793
+ "If you've been using Top 10 v1.x on multisite, you would have needed to "
794
+ "activate the plugin independently for each site. This would have resulted in "
795
+ "two tables being created for each site in the network. Top 10 v2.x onwards "
796
+ "uses only a single table to record the count, keeping your database clean. "
797
+ "You can use this tool to import the recorded counts from v1.x tables to the "
798
+ "new v2.x table format."
799
+ msgstr ""
800
 
801
+ #: admin/admin.php:1003
802
+ msgid ""
803
+ "If you do not see any tables below, then it means that either all data has "
804
+ "already been imported or no relevant information has been found."
805
+ msgstr ""
806
+
807
+ #: admin/admin.php:1037
808
+ msgid "Blog ID"
809
+ msgstr ""
810
+
811
+ #: admin/admin.php:1040
812
+ msgid "Status"
813
+ msgstr ""
814
+
815
+ #: admin/admin.php:1043
816
+ msgid "Select to import"
817
+ msgstr ""
818
+
819
+ #: admin/admin.php:1053
820
+ msgid "Blog #"
821
+ msgstr ""
822
+
823
+ #: admin/admin.php:1063
824
+ msgid "Not imported"
825
+ msgstr ""
826
+
827
+ #: admin/admin.php:1067
828
+ msgid "Imported"
829
+ msgstr ""
830
+
831
+ #: admin/admin.php:1088
832
+ msgid "Begin import"
833
+ msgstr ""
834
+
835
+ #: admin/admin.php:1089
836
+ msgid "Delete selected tables"
837
+ msgstr ""
838
+
839
+ #: admin/admin.php:1090
840
+ msgid "Delete all imported tables"
841
+ msgstr ""
842
+
843
+ #: admin/admin.php:1147 admin/admin.php:1243
844
  msgid "Daily Popular Posts"
845
  msgstr "Poist Coitianta Laethúil"
846
 
847
+ #: admin/admin.php:1177
848
  #, fuzzy
849
  msgid "Support the development"
850
  msgstr "Tacú le Forbairt"
851
 
852
+ #: admin/admin.php:1184
853
  msgid "Donation for Top 10"
854
  msgstr ""
855
 
856
+ #: admin/admin.php:1186
857
  msgid "Enter amount in USD: "
858
  msgstr ""
859
 
860
+ #: admin/admin.php:1190
861
  msgid "Send your donation to the author of Top 10"
862
  msgstr ""
863
 
864
+ #: admin/admin.php:1197
865
  msgid "Follow me"
866
  msgstr ""
867
 
868
+ #: admin/admin.php:1207
869
  msgid "Quick links"
870
  msgstr ""
871
 
872
+ #: admin/admin.php:1211
873
  msgid "Top 10 plugin page"
874
  msgstr ""
875
 
876
+ #: admin/admin.php:1212
877
+ msgid "Top 10 Github page"
878
+ msgstr ""
879
+
880
+ #: admin/admin.php:1213
881
  msgid "Other plugins"
882
  msgstr ""
883
 
884
+ #: admin/admin.php:1214
885
  msgid "Ajay's blog"
886
  msgstr ""
887
 
888
+ #: admin/admin.php:1215
889
  msgid "FAQ"
890
  msgstr ""
891
 
892
+ #: admin/admin.php:1216 admin/admin.php:1374
893
  msgid "Support"
894
  msgstr ""
895
 
896
+ #: admin/admin.php:1217
897
  msgid "Reviews"
898
  msgstr ""
899
 
900
+ #: admin/admin.php:1240
 
 
 
 
 
 
 
 
 
901
  #, fuzzy
902
  msgid "Overall Popular Posts"
903
  msgstr "Féach ar Poist Coitianta Foriomlán"
904
 
905
+ #: admin/admin.php:1351
906
+ msgid "Settings"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
907
  msgstr ""
908
 
909
+ #: admin/admin.php:1375
910
+ msgid "Donate"
911
  msgstr ""
912
 
913
+ #: includes/class-top-10-widget.php:31
914
  #, fuzzy
915
  msgid "Popular Posts [Top 10]"
916
  msgstr "Poist Coitianta"
917
 
918
+ #: includes/class-top-10-widget.php:32
919
  #, fuzzy
920
  msgid "Display popular posts"
921
  msgstr "Poist Coitianta Laethúil"
922
 
923
+ #: includes/class-top-10-widget.php:59
924
  msgid "Title"
925
  msgstr ""
926
 
927
+ #: includes/class-top-10-widget.php:64
928
  msgid "No. of posts"
929
  msgstr ""
930
 
931
+ #: includes/class-top-10-widget.php:69
932
  msgid "Overall"
933
  msgstr ""
934
 
935
+ #: includes/class-top-10-widget.php:70
936
  msgid "Custom time period (Enter below)"
937
  msgstr ""
938
 
939
+ #: includes/class-top-10-widget.php:74
940
+ msgid "In days and hours (applies only to custom option above)"
941
+ msgstr ""
942
+
943
+ #: includes/class-top-10-widget.php:76
944
+ msgid "days"
945
  msgstr ""
946
 
947
+ #: includes/class-top-10-widget.php:79
948
+ msgid "hours"
949
+ msgstr ""
950
+
951
+ #: includes/class-top-10-widget.php:84
952
  msgid "Show count?"
953
  msgstr ""
954
 
955
+ #: includes/class-top-10-widget.php:89
956
  msgid "Show excerpt?"
957
  msgstr ""
958
 
959
+ #: includes/class-top-10-widget.php:94
960
  msgid "Show author?"
961
  msgstr ""
962
 
963
+ #: includes/class-top-10-widget.php:99
964
  msgid "Show date?"
965
  msgstr ""
966
 
967
+ #: includes/class-top-10-widget.php:105
 
 
 
 
968
  #, fuzzy
969
  msgid "Thumbnails inline, before title"
970
  msgstr "Taispeáin líon na dtuairimí ar phoist?"
971
 
972
+ #: includes/class-top-10-widget.php:106
973
  #, fuzzy
974
  msgid "Thumbnails inline, after title"
975
  msgstr "Taispeáin líon na dtuairimí ar phoist?"
976
 
977
+ #: includes/class-top-10-widget.php:107
978
  #, fuzzy
979
  msgid "Only thumbnails, no text"
980
  msgstr "Taispeáin líon na dtuairimí ar phoist?"
981
 
982
+ #: includes/class-top-10-widget.php:108
983
  #, fuzzy
984
  msgid "No thumbnails, only text."
985
  msgstr "Taispeáin líon na dtuairimí ar phoist?"
986
 
987
+ #: includes/class-top-10-widget.php:113
988
  msgid "Thumbnail height"
989
  msgstr ""
990
 
991
+ #: includes/class-top-10-widget.php:118
992
  msgid "Thumbnail width"
993
  msgstr ""
994
 
995
+ #: top-10.php:866
996
+ msgid " by "
997
+ msgstr ""
998
+
999
+ #: top-10.php:917
1000
+ #, php-format
1001
+ msgid "Popular posts by <a href=\"%s\" rel=\"nofollow\" %s>Top 10 plugin</a>"
1002
+ msgstr ""
1003
+
1004
+ #: top-10.php:1016
1005
  msgid "<h3>Popular Posts</h3>"
1006
  msgstr "<h3>Poist Coitianta </ h3>"
1007
 
1008
+ #: top-10.php:1017
1009
  msgid "<h3>Daily Popular</h3>"
1010
  msgstr "<h3> laethúil Coitianta </ h3>"
1011
 
1012
+ #: top-10.php:1018
1013
  #, fuzzy
1014
  msgid "No top posts yet"
1015
  msgstr "Teideal an post tóir:"
1016
 
1017
+ #: top-10.php:1668
1018
  msgid "Once Weekly"
1019
  msgstr ""
1020
 
1021
+ #: top-10.php:1672
1022
  msgid "Once Fortnightly"
1023
  msgstr ""
1024
 
1025
+ #: top-10.php:1676
1026
  msgid "Once Monthly"
1027
  msgstr ""
1028
 
1029
+ #: top-10.php:1680
1030
+ msgid "Once quarterly"
1031
  msgstr ""
1032
 
1033
+ #~ msgid "Daily Popular should contain views of how many days? "
1034
+ #~ msgstr "Ba chóir go laethúil Coitianta bhfuil tuairimí cé mhéad lá?"
1035
+
1036
+ #, fuzzy
1037
+ #~ msgid "Output options"
1038
+ #~ msgstr "roghanna"
1039
+
1040
+ #, fuzzy
1041
+ #~ msgid ""
1042
+ #~ "Use <code>%totalcount%</code> to display the total count, <code>"
1043
+ #~ "%dailycount%</code> to display the daily count and <code>%overallcount%</"
1044
+ #~ "code> to display the overall count across all posts on the blog. e.g. the "
1045
+ #~ "default options displays <code>(Visited 123 times, 23 visits today)</code>"
1046
+ #~ msgstr ""
1047
+ #~ "Bain úsáid as <code>% totalcount% </ cód> a chur ar taispeáint ar an líon "
1048
+ #~ "iomlán agus <code>% dailycount% </ cód> a chur ar taispeáint ar an líon "
1049
+ #~ "laethúil. e.g. na roghanna réamhshocraithe taispeántais <code> (Cuairt "
1050
+ #~ "123 amanna, 23 cuairt inniu) </ cód>"
1051
 
1052
  #, fuzzy
1053
  #~ msgid "This option uses JavaScript and will increase your page load time"
languages/tptn-hi_IN.mo CHANGED
Binary file
languages/tptn-hi_IN.po CHANGED
@@ -1,8 +1,8 @@
1
  msgid ""
2
  msgstr ""
3
- "Project-Id-Version: Топ 10\n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2014-05-21 21:29-0000\n"
6
  "PO-Revision-Date: \n"
7
  "Last-Translator: Ajay D'Souza <me@ajaydsouza.com>\n"
8
  "Language-Team: Outshine Solutions <ashish@outshinesolutions.com>\n"
@@ -10,864 +10,1024 @@ msgstr ""
10
  "MIME-Version: 1.0\n"
11
  "Content-Type: text/plain; charset=UTF-8\n"
12
  "Content-Transfer-Encoding: 8bit\n"
13
- "X-Poedit-SourceCharset: utf-8\n"
14
  "X-Poedit-KeywordsList: _e;__\n"
15
  "X-Poedit-Basepath: ../\n"
16
- "X-Generator: Poedit 1.6.5\n"
17
  "X-Poedit-SearchPath-0: .\n"
18
 
19
- #: admin.inc.php:115
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
20
  msgid "Options saved successfully."
21
  msgstr "विकल्प सफलतापूर्वक बचाया."
22
 
23
- #: admin.inc.php:125
24
  msgid "Options set to Default."
25
  msgstr "विकल्प डिफ़ॉल्ट से तैयार है."
26
 
27
- #: admin.inc.php:131
28
  #, fuzzy
29
  msgid "Top 10 popular posts reset"
30
  msgstr "लोकप्रिय पदों का शीर्षक:"
31
 
32
- #: admin.inc.php:137
33
  #, fuzzy
34
  msgid "Top 10 daily popular posts reset"
35
  msgstr "दैनिक लोकप्रिय पदों का शीर्षक:"
36
 
37
- #: admin.inc.php:144
38
  msgid "Duplicate rows cleaned from tables"
39
  msgstr ""
40
 
41
- #: admin.inc.php:156
42
  msgid "Scheduled maintenance enabled / modified"
43
  msgstr ""
44
 
45
- #: admin.inc.php:160
46
  msgid "Scheduled maintenance disabled"
47
  msgstr ""
48
 
49
- #: admin.inc.php:175 admin.inc.php:297 admin.inc.php:458 admin.inc.php:487
50
- #: admin.inc.php:551 admin.inc.php:644 admin.inc.php:664 admin.inc.php:674
51
- msgid "Click to toggle"
52
  msgstr ""
53
 
54
- #: admin.inc.php:176
55
- msgid "General options"
56
  msgstr ""
57
 
58
- #: admin.inc.php:180
59
- msgid "Enable Overall stats"
 
 
 
 
 
60
  msgstr ""
61
 
62
- #: admin.inc.php:185
63
- msgid "Enable Daily stats"
64
  msgstr ""
65
 
66
- #: admin.inc.php:190
67
- msgid "W3 Total Cache fix:"
68
  msgstr ""
69
 
70
- #: admin.inc.php:192
71
- msgid ""
72
- "This will try to prevent W3 Total Cache from caching the addcount script of "
73
- "the plugin. Try toggling this option in case you find that our posts are not "
74
- "tracked."
75
  msgstr ""
76
 
77
- #: admin.inc.php:196
78
- msgid "Number of popular posts to display: "
79
- msgstr "लोकप्रिय पदों की संख्या प्रदर्शित करने के लिए:"
80
 
81
- #: admin.inc.php:198
82
- msgid ""
83
- "Maximum number of posts that will be displayed in the list. This option is "
84
- "used if you don't specify the number of posts in the widget or shortcodes"
85
  msgstr ""
86
 
87
- #: admin.inc.php:202
88
- msgid "Daily Popular should contain views of how many days? "
89
- msgstr "दैनिक लोकप्रिय कितने दिनों के विचारों को शामिल करना चाहिए?"
 
 
90
 
91
- #: admin.inc.php:204
92
- msgid ""
93
- "Instead of displaying popular posts fromt he past day, this setting lets you "
94
- "display posts for as many days as you want. This can be overridden in the "
95
- "widget."
96
  msgstr ""
97
 
98
- #: admin.inc.php:207
99
- msgid "Post types to include in results (including custom post types)"
100
  msgstr ""
101
 
102
- #: admin.inc.php:218
103
- msgid "List of post or page IDs to exclude from the results: "
104
  msgstr ""
105
 
106
- #: admin.inc.php:220 admin.inc.php:361
107
- msgid "Enter comma separated list of IDs. e.g. 188,320,500"
 
 
 
108
  msgstr ""
109
 
110
- #: admin.inc.php:224
111
- msgid "Exclude Categories: "
112
  msgstr ""
113
 
114
- #: admin.inc.php:239
115
- msgid ""
116
- "Comma separated list of category slugs. The field above has an autocomplete "
117
- "so simply start typing in the starting letters and it will prompt you with "
118
- "options"
119
  msgstr ""
 
 
120
 
121
- #: admin.inc.php:244
 
 
 
 
 
 
122
  #, fuzzy
123
  msgid "Display number of views on:"
124
  msgstr "पदों पर विचारों के प्रदर्शन की संख्या?"
125
 
126
- #: admin.inc.php:246
127
  msgid "Posts"
128
  msgstr ""
129
 
130
- #: admin.inc.php:247
131
  #, fuzzy
132
  msgid "Pages"
133
  msgstr "पृष्ठ"
134
 
135
- #: admin.inc.php:248
136
  msgid "Home page"
137
  msgstr ""
138
 
139
- #: admin.inc.php:249
140
  msgid "Feeds"
141
  msgstr ""
142
 
143
- #: admin.inc.php:250
144
  msgid "Category archives"
145
  msgstr ""
146
 
147
- #: admin.inc.php:251
148
  msgid "Tag archives"
149
  msgstr ""
150
 
151
- #: admin.inc.php:252
152
  msgid "Other archives"
153
  msgstr ""
154
 
155
- #: admin.inc.php:253
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
156
  msgid ""
157
- "If you choose to disable this, please add <code>&lt;?php if "
158
- "( function_exists ( 'echo_tptn_post_count' ) ) echo_tptn_post_count(); ?&gt;"
159
- "</code> to your template file where you want it displayed"
160
  msgstr ""
161
 
162
- #: admin.inc.php:256
163
  msgid "Always display latest post count"
164
  msgstr ""
165
 
166
- #: admin.inc.php:258
167
  msgid ""
168
- "This option uses JavaScript and will increase your page load time. Turn this "
169
- "off if you are not using caching plugins or are OK with displaying older "
170
- "cached counts."
171
  msgstr ""
172
 
173
- #: admin.inc.php:261
174
  msgid "Track visits of authors on their own posts?"
175
  msgstr "ट्रैक लेखक के अपने पदों पर यात्रा?"
176
 
177
- #: admin.inc.php:263
178
- msgid ""
179
- "Disabling this option will stop authors visits tracked on their own posts"
180
  msgstr ""
181
 
182
- #: admin.inc.php:266
183
  #, fuzzy
184
  msgid "Track visits of admins?"
185
  msgstr "ट्रैक लेखक के अपने पदों पर यात्रा?"
186
 
187
- #: admin.inc.php:268
188
  msgid "Disabling this option will stop admin visits being tracked."
189
  msgstr ""
190
 
191
- #: admin.inc.php:271
192
  #, fuzzy
193
  msgid "Track visits of Editors?"
194
  msgstr "ट्रैक लेखक के अपने पदों पर यात्रा?"
195
 
196
- #: admin.inc.php:273
197
  msgid "Disabling this option will stop editor visits being tracked."
198
  msgstr ""
199
 
200
- #: admin.inc.php:276
201
  msgid "Display page views on Posts and Pages in Admin"
202
  msgstr ""
203
 
204
- #: admin.inc.php:279
205
  msgid ""
206
- "Adds three columns called Total Views, Today's Views and Views to All Posts "
207
- "and All Pages"
208
  msgstr ""
209
 
210
- #: admin.inc.php:282
211
  #, fuzzy
212
  msgid "Show number of views to non-admins"
213
  msgstr "पन्नों पर विचार के प्रदर्शन की संख्या?"
214
 
215
- #: admin.inc.php:285
216
  msgid ""
217
- "If you disable this then non-admins won't see the above columns or view the "
218
- "independent pages with the top posts"
219
  msgstr ""
220
 
221
- #: admin.inc.php:288
222
- msgid "Link to Top 10 plugin page"
223
- msgstr ""
224
 
225
- #: admin.inc.php:291
226
- #, fuzzy
227
  msgid ""
228
- "A link to the plugin is added as an extra list item to the list of popular "
229
- "posts"
230
  msgstr ""
231
- "प्लगइन के लिए एक कड़ी लोकप्रिय पदों की सूची के लिए एक अतिरिक्त सूची आइटम के रूप में जोड़ा "
232
- "है. नहीं अनिवार्य है, लेकिन धन्यवाद यदि तुम इसे करो!"
233
 
234
- #: admin.inc.php:298
235
- #, fuzzy
236
- msgid "Output options"
237
- msgstr "विकल्प हैं:"
238
 
239
- #: admin.inc.php:301
240
- #, fuzzy
241
- msgid "Format to display the post views:"
242
- msgstr "प्रारूप में गिनती प्रदर्शित करने के लिए:"
243
 
244
- #: admin.inc.php:303
245
- #, fuzzy
 
 
 
246
  msgid ""
247
- "Use <code>%totalcount%</code> to display the total count, <code>%dailycount"
248
- "%</code> to display the daily count and <code>%overallcount%</code> to "
249
- "display the overall count across all posts on the blog. e.g. the default "
250
- "options displays <code>(Visited 123 times, 23 visits today)</code>"
251
  msgstr ""
252
- "का प्रयोग करें <code>% totalcount% </ कोड> कुल संख्या प्रदर्शित करने के लिए और <code>% "
253
- "dailycount% </ कोड> को दैनिक गणना प्रदर्शन. उदाहरण डिफ़ॉल्ट विकल्प प्रदर्शित <code> "
254
- "(दौरा 123 बार, 23 का दौरा आज) </ कोड>"
255
 
256
- #: admin.inc.php:306
257
- msgid "What do display when there are no visits?"
 
 
 
 
 
 
 
 
258
  msgstr ""
259
 
260
- #: admin.inc.php:308
 
 
 
 
261
  msgid ""
262
- "This text applies only when there are 0 hits for the post and it isn't a "
263
- "single page. e.g. if you display post views on the homepage or archives then "
264
- "this text will be used. To override this, just enter the same text as above "
265
- "option."
266
  msgstr ""
267
 
268
- #: admin.inc.php:311
269
  msgid "Title of popular posts: "
270
  msgstr "लोकप्रिय पदों का शीर्षक:"
271
 
272
- #: admin.inc.php:314
273
  msgid "Title of daily popular posts: "
274
  msgstr "दैनिक लोकप्रिय पदों का शीर्षक:"
275
 
276
- #: admin.inc.php:317
277
  msgid "When there are no posts, what should be shown?"
278
  msgstr ""
279
 
280
- #: admin.inc.php:321
281
  msgid "Blank Output"
282
  msgstr ""
283
 
284
- #: admin.inc.php:325
285
  msgid "Display:"
286
  msgstr ""
287
 
288
- #: admin.inc.php:329
289
  msgid "Show post excerpt in list?"
290
  msgstr ""
291
 
292
- #: admin.inc.php:332
293
  msgid "Length of excerpt (in words): "
294
  msgstr ""
295
 
296
- #: admin.inc.php:335
297
  msgid "Show post author in list?"
298
  msgstr ""
299
 
300
- #: admin.inc.php:338
301
  msgid "Show post date in list?"
302
  msgstr ""
303
 
304
- #: admin.inc.php:341
305
  msgid "Limit post title length (in characters)"
306
  msgstr ""
307
 
308
- #: admin.inc.php:344
309
  msgid "Show view count in list?"
310
  msgstr ""
311
 
312
- #: admin.inc.php:347
313
  msgid "Always display latest post count in the daily lists?"
314
  msgstr ""
315
 
316
- #: admin.inc.php:349
317
  msgid ""
318
- "This option uses JavaScript and will increase your page load time. When you "
319
- "enable this option, the daily widget will not use the options set there, but "
320
- "options will need to be set on this screen."
321
  msgstr ""
322
 
323
- #: admin.inc.php:352
324
  msgid "Open links in new window"
325
  msgstr ""
326
 
327
- #: admin.inc.php:355
328
  msgid "Add nofollow attribute to links in the list"
329
  msgstr ""
330
 
331
- #: admin.inc.php:358
332
  msgid "Exclude display of related posts on these posts / pages"
333
  msgstr ""
334
 
335
- #: admin.inc.php:364
336
  msgid "Customise the list HTML"
337
  msgstr ""
338
 
339
- #: admin.inc.php:366
340
  msgid "HTML to display before the list of posts: "
341
  msgstr ""
342
 
343
- #: admin.inc.php:369
344
  msgid "HTML to display before each list item: "
345
  msgstr ""
346
 
347
- #: admin.inc.php:372
348
  #, fuzzy
349
  msgid "HTML to display after each list item: "
350
  msgstr "प्रारूप में गिनती प्रदर्शित करने के लिए:"
351
 
352
- #: admin.inc.php:375
353
  msgid "HTML to display after the list of posts: "
354
  msgstr ""
355
 
356
- #: admin.inc.php:378
357
- msgid "Post thumbnail options:"
358
- msgstr ""
359
-
360
- #: admin.inc.php:380
361
  msgid "Location of post thumbnail:"
362
  msgstr ""
363
 
364
- #: admin.inc.php:384
365
  #, fuzzy
366
  msgid "Display thumbnails inline with posts, before title"
367
  msgstr "पदों पर विचारों के प्रदर्शन की संख्या?"
368
 
369
- #: admin.inc.php:388
370
  #, fuzzy
371
  msgid "Display thumbnails inline with posts, after title"
372
  msgstr "पदों पर विचारों के प्रदर्शन की संख्या?"
373
 
374
- #: admin.inc.php:392
375
  msgid "Display only thumbnails, no text"
376
  msgstr ""
377
 
378
- #: admin.inc.php:396
379
  msgid "Do not display thumbnails, only text."
380
  msgstr ""
381
 
382
- #: admin.inc.php:400
383
- msgid "Width of the thumbnail: "
384
  msgstr ""
385
 
386
- #: admin.inc.php:403
387
- msgid "Height of the thumbnail: "
388
  msgstr ""
389
 
390
- #: admin.inc.php:406
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
391
  msgid "Style attributes / Width and Height HTML attributes:"
392
  msgstr ""
393
 
394
- #: admin.inc.php:410
395
  msgid "Style attributes are used for width and height."
396
  msgstr ""
397
 
398
- #: admin.inc.php:414
399
  msgid "HTML width and height attributes are used for width and height."
400
  msgstr ""
401
 
402
- #: admin.inc.php:418
403
  msgid "Use timthumb to generate thumbnails? "
404
  msgstr ""
405
 
406
- #: admin.inc.php:421
407
  msgid ""
408
- "If checked, <a href=\"http://www.binarymoon.co.uk/projects/timthumb/\" "
409
- "target=\"_blank\">timthumb</a> will be used to generate thumbnails"
410
  msgstr ""
411
 
412
- #: admin.inc.php:424
413
  msgid "Quality of thumbnails generated by timthumb:"
414
  msgstr ""
415
 
416
- #: admin.inc.php:427
417
  msgid ""
418
- "Enter values between 0 and 100 only. 100 is highest quality and the highest "
419
- "file size. Suggested maximum value is 95. Default is 75."
420
  msgstr ""
421
 
422
- #: admin.inc.php:430
423
  msgid "Post thumbnail meta field name: "
424
  msgstr ""
425
 
426
- #: admin.inc.php:433
427
  msgid ""
428
- "The value of this field should contain the image source and is set in the "
429
- "<em>Add New Post</em> screen"
430
  msgstr ""
431
 
432
- #: admin.inc.php:436
433
  msgid ""
434
- "If the postmeta is not set, then should the plugin extract the first image "
435
- "from the post?"
436
  msgstr ""
437
 
438
- #: admin.inc.php:439
439
  msgid ""
440
- "This could slow down the loading of your page if the first image in the "
441
- "related posts is large in file-size"
442
  msgstr ""
443
 
444
- #: admin.inc.php:442
445
  msgid "Use default thumbnail? "
446
  msgstr ""
447
 
448
- #: admin.inc.php:445
449
  msgid ""
450
- "If checked, when no thumbnail is found, show a default one from the URL "
451
- "below. If not checked and no thumbnail is found, no image will be shown."
452
  msgstr ""
453
 
454
- #: admin.inc.php:448
455
  msgid "Default thumbnail: "
456
  msgstr ""
457
 
458
- #: admin.inc.php:452
459
  msgid ""
460
- "The plugin will first check if the post contains a thumbnail. If it doesn't "
461
- "then it will check the meta field. If this is not available, then it will "
462
- "show the default image as specified above"
463
  msgstr ""
464
 
465
- #: admin.inc.php:459
466
  msgid "Custom CSS"
467
  msgstr ""
468
 
469
- #: admin.inc.php:462
470
  msgid "Use default style included in the plugin?"
471
  msgstr ""
472
 
473
- #: admin.inc.php:465
 
 
 
 
 
 
474
  msgid ""
475
- "Top 10 includes a default style that makes your popular posts list to look "
476
- "pretty. Check the box above if you want to use this. You will need to select "
477
- "<strong>Thumbnails inline, before title</strong> in Output Options or in the "
478
- "Widget."
 
 
 
 
479
  msgstr ""
480
 
481
- #: admin.inc.php:468
482
  msgid "Custom CSS to add to header:"
483
  msgstr ""
484
 
485
- #: admin.inc.php:471
486
  msgid ""
487
- "Do not include <code>style</code> tags. Check out the <a href=\"http://"
488
- "wordpress.org/extend/plugins/top-10/faq/\" target=\"_blank\">FAQ</a> for "
489
- "available CSS classes to style."
490
  msgstr ""
491
 
492
- #: admin.inc.php:478 admin.inc.php:544
493
- #, fuzzy
494
- msgid "Save Options"
495
- msgstr "विकल्प हैं:"
496
-
497
- #: admin.inc.php:479
498
  #, fuzzy
499
  msgid "Default Options"
500
  msgstr "विकल्प हैं:"
501
 
502
- #: admin.inc.php:479
503
  msgid "Do you want to set options to Default?"
504
  msgstr "क्या आप डिफ़ॉल्ट विकल्प सेट करना चाहते हैं?"
505
 
506
- #: admin.inc.php:488
507
- msgid "Maintenance"
508
- msgstr ""
509
-
510
- #: admin.inc.php:492
511
  msgid ""
512
- "Over time the Daily Top 10 database grows in size, which reduces the "
513
- "performance of the plugin. Cleaning the database at regular intervals could "
514
- "improve performance, especially on high traffic blogs. Enabling maintenance "
515
- "will automatically delete entries older than 90 days."
516
  msgstr ""
517
 
518
- #: admin.inc.php:493
519
  msgid ""
520
- "Note: When scheduled maintenance is enabled, WordPress will run the cron job "
521
- "everytime the job is rescheduled (i.e. you change the settings below)."
522
  msgstr ""
523
 
524
- #: admin.inc.php:496
525
  msgid "Enable scheduled maintenance of daily tables:"
526
  msgstr ""
527
 
528
- #: admin.inc.php:500
529
  msgid "Time to run maintenance"
530
  msgstr ""
531
 
532
- #: admin.inc.php:501
533
  msgid "hrs"
534
  msgstr ""
535
 
536
- #: admin.inc.php:501
537
  msgid "min"
538
  msgstr ""
539
 
540
- #: admin.inc.php:503
541
  msgid "How often should the maintenance be run:"
542
  msgstr ""
543
 
544
- #: admin.inc.php:507
545
  msgid "Daily"
546
  msgstr ""
547
 
548
- #: admin.inc.php:511
549
  msgid "Weekly"
550
  msgstr ""
551
 
552
- #: admin.inc.php:515
553
  msgid "Fortnightly"
554
  msgstr ""
555
 
556
- #: admin.inc.php:519
557
  msgid "Monthly"
558
  msgstr ""
559
 
560
- #: admin.inc.php:528
561
  msgid "The cron job has been scheduled. Maintenance will run "
562
  msgstr ""
563
 
564
- #: admin.inc.php:533
565
  msgid "The cron job is missing. Please resave this page to add the job"
566
  msgstr ""
567
 
568
- #: admin.inc.php:538
569
  msgid "Maintenance is turned off"
570
  msgstr ""
571
 
572
- #: admin.inc.php:552
573
  msgid "Reset count"
574
  msgstr ""
575
 
576
- #: admin.inc.php:555
577
  msgid ""
578
- "This cannot be reversed. Make sure that your database has been backed up "
579
- "before proceeding"
580
  msgstr ""
581
 
582
- #: admin.inc.php:558
583
  #, fuzzy
584
  msgid "Reset Popular Posts"
585
  msgstr "लोकप्रिय पोस्ट्स "
586
 
587
- #: admin.inc.php:558
588
  msgid "Are you sure you want to reset the popular posts?"
589
  msgstr ""
590
 
591
- #: admin.inc.php:559
592
  #, fuzzy
593
  msgid "Reset Daily Popular Posts"
594
  msgstr "दैनिक लोकप्रिय पोस्ट्स "
595
 
596
- #: admin.inc.php:559
597
  msgid "Are you sure you want to reset the daily popular posts?"
598
  msgstr ""
599
 
600
- #: admin.inc.php:560
601
  msgid "Clear duplicates"
602
  msgstr ""
603
 
604
- #: admin.inc.php:560
605
  msgid "This will delete the duplicate entries in the tables. Proceed?"
606
  msgstr ""
607
 
608
- #: admin.inc.php:612 admin.inc.php:1010
609
- msgid "Popular Posts"
610
- msgstr "लोकप्रिय पोस्ट्स "
 
 
 
 
 
 
 
 
 
611
 
612
- #: admin.inc.php:614 admin.inc.php:713
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
613
  msgid "Daily Popular Posts"
614
  msgstr "दैनिक लोकप्रिय पोस्ट्स "
615
 
616
- #: admin.inc.php:645
617
  #, fuzzy
618
  msgid "Support the development"
619
  msgstr "समर्थन विकास"
620
 
621
- #: admin.inc.php:652
622
  msgid "Donation for Top 10"
623
  msgstr ""
624
 
625
- #: admin.inc.php:654
626
  msgid "Enter amount in USD: "
627
  msgstr ""
628
 
629
- #: admin.inc.php:658
630
  msgid "Send your donation to the author of Top 10"
631
  msgstr ""
632
 
633
- #: admin.inc.php:665
634
  msgid "Follow me"
635
  msgstr ""
636
 
637
- #: admin.inc.php:675
638
  msgid "Quick links"
639
  msgstr ""
640
 
641
- #: admin.inc.php:679
642
  msgid "Top 10 plugin page"
643
  msgstr ""
644
 
645
- #: admin.inc.php:680
 
 
 
 
646
  msgid "Other plugins"
647
  msgstr ""
648
 
649
- #: admin.inc.php:681
650
  msgid "Ajay's blog"
651
  msgstr ""
652
 
653
- #: admin.inc.php:682
654
  msgid "FAQ"
655
  msgstr ""
656
 
657
- #: admin.inc.php:683 top-10.php:1345
658
  msgid "Support"
659
  msgstr ""
660
 
661
- #: admin.inc.php:684
662
  msgid "Reviews"
663
  msgstr ""
664
 
665
- #: admin.inc.php:704 admin.inc.php:707
666
- #, fuzzy
667
- msgid "Top 10 Settings"
668
- msgstr "शीर्ष 10"
669
-
670
- #: admin.inc.php:704 admin.inc.php:1183
671
- msgid "Top 10"
672
- msgstr "शीर्ष 10"
673
-
674
- #: admin.inc.php:710
675
  #, fuzzy
676
  msgid "Overall Popular Posts"
677
  msgstr "देखें दैनिक लोकप्रिय पोस्ट्स "
678
 
679
- #: admin.inc.php:882
680
- #, php-format
681
- msgid "Results %1$s to %2$s of %3$s"
682
- msgstr ""
683
-
684
- #: admin.inc.php:886
685
- #, php-format
686
- msgid "Page %s of %s"
687
- msgstr ""
688
-
689
- #: admin.inc.php:898
690
- msgid "View Daily Popular Posts"
691
- msgstr "देखें दैनिक लोकप्रिय पोस्ट्स "
692
-
693
- #: admin.inc.php:901 admin.inc.php:914
694
- msgid "Results per-page:"
695
- msgstr "प्रति परिणाम पृष्ठ:"
696
-
697
- #: admin.inc.php:911
698
- msgid "View Overall Popular Posts"
699
- msgstr "देखें दैनिक लोकप्रिय पोस्ट्स "
700
-
701
- #: admin.inc.php:940
702
- msgid "Previous"
703
- msgstr "पिछला"
704
-
705
- #: admin.inc.php:968
706
- msgid "Next"
707
- msgstr "अगला"
708
-
709
- #: admin.inc.php:1011
710
- msgid "Daily Popular"
711
- msgstr "दैनिक लोकप्रिय"
712
-
713
- #: admin.inc.php:1029
714
- #, fuzzy
715
- msgid "Total Views"
716
- msgstr "कुल / आज दर्शाव"
717
-
718
- #: admin.inc.php:1030
719
- #, fuzzy
720
- msgid "Today's Views"
721
- msgstr "कुल / आज दर्शाव"
722
-
723
- #: admin.inc.php:1031
724
- #, fuzzy
725
- msgid "Views"
726
- msgstr "कुल / आज दर्शाव"
727
-
728
- #: admin.inc.php:1217
729
- msgid "Visit count:"
730
- msgstr ""
731
-
732
- #: admin.inc.php:1219
733
- msgid ""
734
- "Enter a number above to update the visit count. Leaving the above box blank "
735
- "will set the count to zero"
736
- msgstr ""
737
-
738
- #: admin.inc.php:1229
739
- msgid "Location of thumbnail:"
740
- msgstr ""
741
-
742
- #: admin.inc.php:1231
743
- msgid ""
744
- "Enter the full URL to the image (JPG, PNG or GIF) you'd like to use. This "
745
- "image will be used for the post. It will be resized to the thumbnail size "
746
- "set under Settings &raquo; Related Posts &raquo; Output Options"
747
- msgstr ""
748
-
749
- #: admin.inc.php:1232
750
- msgid "The URL above is saved in the meta field: "
751
  msgstr ""
752
 
753
- #: top-10.php:456
754
- msgid " by "
755
  msgstr ""
756
 
757
- #: top-10.php:550
758
  #, fuzzy
759
  msgid "Popular Posts [Top 10]"
760
  msgstr "लोकप्रिय पोस्ट्स "
761
 
762
- #: top-10.php:551
763
  #, fuzzy
764
  msgid "Display popular posts"
765
  msgstr "दैनिक लोकप्रिय पोस्ट्स "
766
 
767
- #: top-10.php:577
768
  msgid "Title"
769
  msgstr ""
770
 
771
- #: top-10.php:582
772
  msgid "No. of posts"
773
  msgstr ""
774
 
775
- #: top-10.php:587
776
  msgid "Overall"
777
  msgstr ""
778
 
779
- #: top-10.php:588
780
  msgid "Custom time period (Enter below)"
781
  msgstr ""
782
 
783
- #: top-10.php:593
784
- msgid "Range in number of days (applies only to custom option above)"
 
 
 
 
785
  msgstr ""
786
 
787
- #: top-10.php:598
 
 
 
 
788
  msgid "Show count?"
789
  msgstr ""
790
 
791
- #: top-10.php:603
792
  msgid "Show excerpt?"
793
  msgstr ""
794
 
795
- #: top-10.php:608
796
  msgid "Show author?"
797
  msgstr ""
798
 
799
- #: top-10.php:613
800
  msgid "Show date?"
801
  msgstr ""
802
 
803
- #: top-10.php:617
804
- msgid "Thumbnail options"
805
- msgstr ""
806
-
807
- #: top-10.php:619
808
  #, fuzzy
809
  msgid "Thumbnails inline, before title"
810
  msgstr "पदों पर विचारों के प्रदर्शन की संख्या?"
811
 
812
- #: top-10.php:620
813
  #, fuzzy
814
  msgid "Thumbnails inline, after title"
815
  msgstr "पदों पर विचारों के प्रदर्शन की संख्या?"
816
 
817
- #: top-10.php:621
818
  msgid "Only thumbnails, no text"
819
  msgstr ""
820
 
821
- #: top-10.php:622
822
  msgid "No thumbnails, only text."
823
  msgstr ""
824
 
825
- #: top-10.php:627
826
  msgid "Thumbnail height"
827
  msgstr ""
828
 
829
- #: top-10.php:632
830
  msgid "Thumbnail width"
831
  msgstr ""
832
 
833
- #: top-10.php:772
 
 
 
 
 
 
 
 
 
834
  msgid "<h3>Popular Posts</h3>"
835
  msgstr "<h3> लोकप्रिय पोस्ट्स </ h3>"
836
 
837
- #: top-10.php:773
838
  msgid "<h3>Daily Popular</h3>"
839
  msgstr "<h3> दैनिक लोकप्रिय </ h3>"
840
 
841
- #: top-10.php:774
842
  #, fuzzy
843
  msgid "No top posts yet"
844
  msgstr "लोकप्रिय पदों का शीर्षक:"
845
 
846
- #: top-10.php:1245
847
  msgid "Once Weekly"
848
  msgstr ""
849
 
850
- #: top-10.php:1249
851
  msgid "Once Fortnightly"
852
  msgstr ""
853
 
854
- #: top-10.php:1253
855
  msgid "Once Monthly"
856
  msgstr ""
857
 
858
- #: top-10.php:1323
859
- msgid "Settings"
860
  msgstr ""
861
 
862
- #: top-10.php:1346
863
- msgid "Donate"
864
- msgstr ""
 
 
 
 
 
 
 
 
 
 
 
 
 
 
865
 
866
  #, fuzzy
867
  #~ msgid "This option uses JavaScript and will increase your page load time"
868
  #~ msgstr ""
869
- #~ "सेना दैनिक 'पदों की सूची गतिशील हो? इस विकल्प को पद भार जावास्क्रिप्ट का उपयोग "
870
- #~ "करता है और अपने पृष्ठ लोड समय बढ़ा सकते हैं"
871
 
872
  #~ msgid "Display number of page views in popular lists?"
873
  #~ msgstr "लोकप्रिय सूची में पृष्ठ विचारों का प्रदर्शन नंबर?"
@@ -882,18 +1042,16 @@ msgstr ""
882
  #~ msgstr "पृष्ठ"
883
 
884
  #~ msgid ""
885
- #~ "Exclude Pages in display of Popular Posts? Number of views on Pages will "
886
- #~ "continue to be counted."
887
- #~ msgstr ""
888
- #~ "लोकप्रिय के प्रदर्शन में पेज बाहर निकालें पोस्ट? पन्नों पर विचार की संख्या की गिनती "
889
- #~ "जारी रहेगी."
890
 
891
  #~ msgid ""
892
- #~ "Display page views on Edit posts/pages in WP-Admin? An extra column is "
893
- #~ "added with the count"
894
  #~ msgstr ""
895
- #~ "प्रदर्शन संपादित करें पदों पर पृष्ठ विचार / WP में पृष्ठों-व्यवस्थापक? एक अतिरिक्त कॉलम "
896
- #~ "गिनती के साथ जोड़ दिया है"
897
 
898
  #~ msgid "If you find "
899
  #~ msgstr "यदि आप पाते हैं"
1
  msgid ""
2
  msgstr ""
3
+ "Project-Id-Version: Тоp 10\n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2014-12-28 00:59-0000\n"
6
  "PO-Revision-Date: \n"
7
  "Last-Translator: Ajay D'Souza <me@ajaydsouza.com>\n"
8
  "Language-Team: Outshine Solutions <ashish@outshinesolutions.com>\n"
10
  "MIME-Version: 1.0\n"
11
  "Content-Type: text/plain; charset=UTF-8\n"
12
  "Content-Transfer-Encoding: 8bit\n"
13
+ "X-Poedit-SourceCharset: UTF-8\n"
14
  "X-Poedit-KeywordsList: _e;__\n"
15
  "X-Poedit-Basepath: ../\n"
16
+ "X-Generator: Poedit 1.7.1\n"
17
  "X-Poedit-SearchPath-0: .\n"
18
 
19
+ #: admin/admin-columns.php:30
20
+ #, fuzzy
21
+ msgid "Total Views"
22
+ msgstr "कुल / आज दर्शाव"
23
+
24
+ #: admin/admin-columns.php:33
25
+ #, fuzzy
26
+ msgid "Today's Views"
27
+ msgstr "कुल / आज दर्शाव"
28
+
29
+ #: admin/admin-columns.php:36
30
+ #, fuzzy
31
+ msgid "Views"
32
+ msgstr "कुल / आज दर्शाव"
33
+
34
+ #: admin/admin-dashboard.php:72
35
+ #, php-format
36
+ msgid "Results %1$s to %2$s of %3$s"
37
+ msgstr ""
38
+
39
+ #: admin/admin-dashboard.php:76
40
+ #, php-format
41
+ msgid "Page %s of %s"
42
+ msgstr ""
43
+
44
+ #: admin/admin-dashboard.php:88
45
+ msgid "View Daily Popular Posts"
46
+ msgstr "देखें दैनिक लोकप्रिय पोस्ट्स "
47
+
48
+ #: admin/admin-dashboard.php:91 admin/admin-dashboard.php:104
49
+ msgid "Results per-page:"
50
+ msgstr "प्रति परिणाम पृष्ठ:"
51
+
52
+ #: admin/admin-dashboard.php:101
53
+ msgid "View Overall Popular Posts"
54
+ msgstr "देखें दैनिक लोकप्रिय पोस्ट्स "
55
+
56
+ #: admin/admin-dashboard.php:130
57
+ msgid "Previous"
58
+ msgstr "पिछला"
59
+
60
+ #: admin/admin-dashboard.php:158
61
+ msgid "Next"
62
+ msgstr "अगला"
63
+
64
+ #: admin/admin-dashboard.php:200 admin/admin.php:1145
65
+ msgid "Popular Posts"
66
+ msgstr "लोकप्रिय पोस्ट्स "
67
+
68
+ #: admin/admin-dashboard.php:205
69
+ msgid "Daily Popular"
70
+ msgstr "दैनिक लोकप्रिय"
71
+
72
+ #: admin/admin-metabox.php:38 admin/admin.php:1234
73
+ msgid "Top 10"
74
+ msgstr "शीर्ष 10"
75
+
76
+ #: admin/admin-metabox.php:71
77
+ msgid "Visit count:"
78
+ msgstr ""
79
+
80
+ #: admin/admin-metabox.php:73
81
+ msgid ""
82
+ "Enter a number above to update the visit count. Leaving the above box blank will set the "
83
+ "count to zero"
84
+ msgstr ""
85
+
86
+ #: admin/admin-metabox.php:83
87
+ msgid "Location of thumbnail:"
88
+ msgstr ""
89
+
90
+ #: admin/admin-metabox.php:85
91
+ msgid ""
92
+ "Enter the full URL to the image (JPG, PNG or GIF) you'd like to use. This image will be "
93
+ "used for the post. It will be resized to the thumbnail size set under Settings &raquo; "
94
+ "Related Posts &raquo; Output Options"
95
+ msgstr ""
96
+
97
+ #: admin/admin-metabox.php:86
98
+ msgid "The URL above is saved in the meta field: "
99
+ msgstr ""
100
+
101
+ #: admin/admin.php:160
102
  msgid "Options saved successfully."
103
  msgstr "विकल्प सफलतापूर्वक बचाया."
104
 
105
+ #: admin/admin.php:170
106
  msgid "Options set to Default."
107
  msgstr "विकल्प डिफ़ॉल्ट से तैयार है."
108
 
109
+ #: admin/admin.php:176
110
  #, fuzzy
111
  msgid "Top 10 popular posts reset"
112
  msgstr "लोकप्रिय पदों का शीर्षक:"
113
 
114
+ #: admin/admin.php:182
115
  #, fuzzy
116
  msgid "Top 10 daily popular posts reset"
117
  msgstr "दैनिक लोकप्रिय पदों का शीर्षक:"
118
 
119
+ #: admin/admin.php:189
120
  msgid "Duplicate rows cleaned from tables"
121
  msgstr ""
122
 
123
+ #: admin/admin.php:201
124
  msgid "Scheduled maintenance enabled / modified"
125
  msgstr ""
126
 
127
+ #: admin/admin.php:205
128
  msgid "Scheduled maintenance disabled"
129
  msgstr ""
130
 
131
+ #: admin/admin.php:244
132
+ msgid "Counts from selected sites have been imported."
 
133
  msgstr ""
134
 
135
+ #: admin/admin.php:269
136
+ msgid "Selected tables have been deleted. Note that only imported tables have been deleted."
137
  msgstr ""
138
 
139
+ #: admin/admin.php:277 admin/admin.php:1234 admin/admin.php:1237
140
+ #, fuzzy
141
+ msgid "Top 10 Settings"
142
+ msgstr "शीर्ष 10"
143
+
144
+ #: admin/admin.php:289 admin/admin.php:311
145
+ msgid "General options"
146
  msgstr ""
147
 
148
+ #: admin/admin.php:290 admin/admin.php:373
149
+ msgid "Counter and tracker options"
150
  msgstr ""
151
 
152
+ #: admin/admin.php:291 admin/admin.php:478
153
+ msgid "Popular post list options"
154
  msgstr ""
155
 
156
+ #: admin/admin.php:292 admin/admin.php:681 includes/class-top-10-widget.php:103
157
+ msgid "Thumbnail options"
 
 
 
158
  msgstr ""
159
 
160
+ #: admin/admin.php:293
161
+ msgid "Custom styles"
162
+ msgstr ""
163
 
164
+ #: admin/admin.php:294 admin/admin.php:912
165
+ msgid "Maintenance"
 
 
166
  msgstr ""
167
 
168
+ #: admin/admin.php:310 admin/admin.php:372 admin/admin.php:477 admin/admin.php:680
169
+ #: admin/admin.php:843 admin/admin.php:911 admin/admin.php:975 admin/admin.php:996
170
+ #: admin/admin.php:1176 admin/admin.php:1196 admin/admin.php:1206
171
+ msgid "Click to toggle"
172
+ msgstr ""
173
 
174
+ #: admin/admin.php:327
175
+ msgid "Enable Overall stats"
 
 
 
176
  msgstr ""
177
 
178
+ #: admin/admin.php:333
179
+ msgid "Enable Daily stats"
180
  msgstr ""
181
 
182
+ #: admin/admin.php:339
183
+ msgid "Cache fix:"
184
  msgstr ""
185
 
186
+ #: admin/admin.php:342
187
+ msgid ""
188
+ "This will try to prevent W3 Total Cache and other caching plugins from caching the tracker "
189
+ "script of the plugin. Try toggling this option in case you find that your posts are not "
190
+ "tracked."
191
  msgstr ""
192
 
193
+ #: admin/admin.php:346
194
+ msgid "Link to Top 10 plugin page"
195
  msgstr ""
196
 
197
+ #: admin/admin.php:349
198
+ #, fuzzy
199
+ msgid "A link to the plugin is added as an extra list item to the list of popular posts"
 
 
200
  msgstr ""
201
+ "प्लगइन के लिए एक कड़ी लोकप्रिय पदों की सूची के लिए एक अतिरिक्त सूची आइटम के रूप में जोड़ा है. नहीं अनिवार्य "
202
+ "है, लेकिन धन्यवाद यदि तुम इसे करो!"
203
 
204
+ #: admin/admin.php:354 admin/admin.php:459 admin/admin.php:662 admin/admin.php:825
205
+ #: admin/admin.php:891 admin/admin.php:968
206
+ #, fuzzy
207
+ msgid "Save Options"
208
+ msgstr "विकल्प हैं:"
209
+
210
+ #: admin/admin.php:389
211
  #, fuzzy
212
  msgid "Display number of views on:"
213
  msgstr "पदों पर विचारों के प्रदर्शन की संख्या?"
214
 
215
+ #: admin/admin.php:391
216
  msgid "Posts"
217
  msgstr ""
218
 
219
+ #: admin/admin.php:392
220
  #, fuzzy
221
  msgid "Pages"
222
  msgstr "पृष्ठ"
223
 
224
+ #: admin/admin.php:393
225
  msgid "Home page"
226
  msgstr ""
227
 
228
+ #: admin/admin.php:394
229
  msgid "Feeds"
230
  msgstr ""
231
 
232
+ #: admin/admin.php:395
233
  msgid "Category archives"
234
  msgstr ""
235
 
236
+ #: admin/admin.php:396
237
  msgid "Tag archives"
238
  msgstr ""
239
 
240
+ #: admin/admin.php:397
241
  msgid "Other archives"
242
  msgstr ""
243
 
244
+ #: admin/admin.php:398
245
+ msgid ""
246
+ "If you choose to disable this, please add <code>&lt;?php if ( function_exists "
247
+ "( 'echo_tptn_post_count' ) ) echo_tptn_post_count(); ?&gt;</code> to your template file "
248
+ "where you want it displayed"
249
+ msgstr ""
250
+
251
+ #: admin/admin.php:402
252
+ #, fuzzy
253
+ msgid "Format to display the post views:"
254
+ msgstr "प्रारूप में गिनती प्रदर्शित करने के लिए:"
255
+
256
+ #: admin/admin.php:405
257
+ msgid ""
258
+ "Use <code>%totalcount%</code> to display the total count, <code>%dailycount%</code> to "
259
+ "display the daily count and <code>%overallcount%</code> to display the overall count "
260
+ "across all posts on the blog. e.g. the default options displays <code>[Visited 123 times, "
261
+ "23 visits today]</code>"
262
+ msgstr ""
263
+
264
+ #: admin/admin.php:409
265
+ msgid "What do display when there are no visits?"
266
+ msgstr ""
267
+
268
+ #: admin/admin.php:412
269
  msgid ""
270
+ "This text applies only when there are 0 hits for the post and it isn't a single page. e.g. "
271
+ "if you display post views on the homepage or archives then this text will be used. To "
272
+ "override this, just enter the same text as above option."
273
  msgstr ""
274
 
275
+ #: admin/admin.php:416
276
  msgid "Always display latest post count"
277
  msgstr ""
278
 
279
+ #: admin/admin.php:419
280
  msgid ""
281
+ "This option uses JavaScript and will increase your page load time. Turn this off if you "
282
+ "are not using caching plugins or are OK with displaying older cached counts."
 
283
  msgstr ""
284
 
285
+ #: admin/admin.php:423
286
  msgid "Track visits of authors on their own posts?"
287
  msgstr "ट्रैक लेखक के अपने पदों पर यात्रा?"
288
 
289
+ #: admin/admin.php:426
290
+ msgid "Disabling this option will stop authors visits tracked on their own posts"
 
291
  msgstr ""
292
 
293
+ #: admin/admin.php:430
294
  #, fuzzy
295
  msgid "Track visits of admins?"
296
  msgstr "ट्रैक लेखक के अपने पदों पर यात्रा?"
297
 
298
+ #: admin/admin.php:433
299
  msgid "Disabling this option will stop admin visits being tracked."
300
  msgstr ""
301
 
302
+ #: admin/admin.php:437
303
  #, fuzzy
304
  msgid "Track visits of Editors?"
305
  msgstr "ट्रैक लेखक के अपने पदों पर यात्रा?"
306
 
307
+ #: admin/admin.php:440
308
  msgid "Disabling this option will stop editor visits being tracked."
309
  msgstr ""
310
 
311
+ #: admin/admin.php:444
312
  msgid "Display page views on Posts and Pages in Admin"
313
  msgstr ""
314
 
315
+ #: admin/admin.php:447
316
  msgid ""
317
+ "Adds three columns called Total Views, Today's Views and Views to All Posts and All Pages"
 
318
  msgstr ""
319
 
320
+ #: admin/admin.php:451
321
  #, fuzzy
322
  msgid "Show number of views to non-admins"
323
  msgstr "पन्नों पर विचार के प्रदर्शन की संख्या?"
324
 
325
+ #: admin/admin.php:454
326
  msgid ""
327
+ "If you disable this then non-admins won't see the above columns or view the independent "
328
+ "pages with the top posts"
329
  msgstr ""
330
 
331
+ #: admin/admin.php:494
332
+ msgid "Number of popular posts to display: "
333
+ msgstr "लोकप्रिय पदों की संख्या प्रदर्शित करने के लिए:"
334
 
335
+ #: admin/admin.php:497
 
336
  msgid ""
337
+ "Maximum number of posts that will be displayed in the list. This option is used if you "
338
+ "don't specify the number of posts in the widget or shortcodes"
339
  msgstr ""
 
 
340
 
341
+ #: admin/admin.php:501
342
+ msgid "Daily popular contains top posts over:"
343
+ msgstr ""
 
344
 
345
+ #: admin/admin.php:503
346
+ msgid "day(s)"
347
+ msgstr ""
 
348
 
349
+ #: admin/admin.php:504
350
+ msgid "hour(s)"
351
+ msgstr ""
352
+
353
+ #: admin/admin.php:505
354
  msgid ""
355
+ "Think of Daily Popular has a custom date range applied as a global setting. Instead of "
356
+ "displaying popular posts from the past day, this setting lets you display posts for as "
357
+ "many days or as few hours as you want. This can be overridden in the widget."
 
358
  msgstr ""
 
 
 
359
 
360
+ #: admin/admin.php:509
361
+ msgid "Post types to include in results (including custom post types)"
362
+ msgstr ""
363
+
364
+ #: admin/admin.php:521
365
+ msgid "List of post or page IDs to exclude from the results: "
366
+ msgstr ""
367
+
368
+ #: admin/admin.php:523 admin/admin.php:630
369
+ msgid "Enter comma separated list of IDs. e.g. 188,320,500"
370
  msgstr ""
371
 
372
+ #: admin/admin.php:527
373
+ msgid "Exclude Categories: "
374
+ msgstr ""
375
+
376
+ #: admin/admin.php:542
377
  msgid ""
378
+ "Comma separated list of category slugs. The field above has an autocomplete so simply "
379
+ "start typing in the starting letters and it will prompt you with options"
 
 
380
  msgstr ""
381
 
382
+ #: admin/admin.php:547
383
  msgid "Title of popular posts: "
384
  msgstr "लोकप्रिय पदों का शीर्षक:"
385
 
386
+ #: admin/admin.php:553
387
  msgid "Title of daily popular posts: "
388
  msgstr "दैनिक लोकप्रिय पदों का शीर्षक:"
389
 
390
+ #: admin/admin.php:559
391
  msgid "When there are no posts, what should be shown?"
392
  msgstr ""
393
 
394
+ #: admin/admin.php:563
395
  msgid "Blank Output"
396
  msgstr ""
397
 
398
+ #: admin/admin.php:567
399
  msgid "Display:"
400
  msgstr ""
401
 
402
+ #: admin/admin.php:572
403
  msgid "Show post excerpt in list?"
404
  msgstr ""
405
 
406
+ #: admin/admin.php:578
407
  msgid "Length of excerpt (in words): "
408
  msgstr ""
409
 
410
+ #: admin/admin.php:584
411
  msgid "Show post author in list?"
412
  msgstr ""
413
 
414
+ #: admin/admin.php:590
415
  msgid "Show post date in list?"
416
  msgstr ""
417
 
418
+ #: admin/admin.php:596
419
  msgid "Limit post title length (in characters)"
420
  msgstr ""
421
 
422
+ #: admin/admin.php:602
423
  msgid "Show view count in list?"
424
  msgstr ""
425
 
426
+ #: admin/admin.php:608
427
  msgid "Always display latest post count in the daily lists?"
428
  msgstr ""
429
 
430
+ #: admin/admin.php:611
431
  msgid ""
432
+ "This option uses JavaScript and will increase your page load time. When you enable this "
433
+ "option, the daily widget will not use the options set there, but options will need to be "
434
+ "set on this screen."
435
  msgstr ""
436
 
437
+ #: admin/admin.php:615
438
  msgid "Open links in new window"
439
  msgstr ""
440
 
441
+ #: admin/admin.php:621
442
  msgid "Add nofollow attribute to links in the list"
443
  msgstr ""
444
 
445
+ #: admin/admin.php:627
446
  msgid "Exclude display of related posts on these posts / pages"
447
  msgstr ""
448
 
449
+ #: admin/admin.php:634
450
  msgid "Customise the list HTML"
451
  msgstr ""
452
 
453
+ #: admin/admin.php:637
454
  msgid "HTML to display before the list of posts: "
455
  msgstr ""
456
 
457
+ #: admin/admin.php:643
458
  msgid "HTML to display before each list item: "
459
  msgstr ""
460
 
461
+ #: admin/admin.php:649
462
  #, fuzzy
463
  msgid "HTML to display after each list item: "
464
  msgstr "प्रारूप में गिनती प्रदर्शित करने के लिए:"
465
 
466
+ #: admin/admin.php:655
467
  msgid "HTML to display after the list of posts: "
468
  msgstr ""
469
 
470
+ #: admin/admin.php:696
 
 
 
 
471
  msgid "Location of post thumbnail:"
472
  msgstr ""
473
 
474
+ #: admin/admin.php:700
475
  #, fuzzy
476
  msgid "Display thumbnails inline with posts, before title"
477
  msgstr "पदों पर विचारों के प्रदर्शन की संख्या?"
478
 
479
+ #: admin/admin.php:705
480
  #, fuzzy
481
  msgid "Display thumbnails inline with posts, after title"
482
  msgstr "पदों पर विचारों के प्रदर्शन की संख्या?"
483
 
484
+ #: admin/admin.php:710
485
  msgid "Display only thumbnails, no text"
486
  msgstr ""
487
 
488
+ #: admin/admin.php:715
489
  msgid "Do not display thumbnails, only text."
490
  msgstr ""
491
 
492
+ #: admin/admin.php:719
493
+ msgid "Thumbnail size:"
494
  msgstr ""
495
 
496
+ #: admin/admin.php:743
497
+ msgid "Custom size"
498
  msgstr ""
499
 
500
+ #: admin/admin.php:746
501
+ msgid ""
502
+ "You can choose from existing image sizes above or create a custom size. If you have chosen "
503
+ "Custom size above, then enter the width, height and crop settings below. For best results, "
504
+ "use a cropped image."
505
+ msgstr ""
506
+
507
+ #: admin/admin.php:747
508
+ msgid ""
509
+ "If you change the width and/or height below, existing images will not be automatically "
510
+ "resized."
511
+ msgstr ""
512
+
513
+ #: admin/admin.php:748
514
+ #, php-format
515
+ msgid ""
516
+ "I recommend using <a href='%s' target='_blank'>Force Regenerate Thumbnails</a> or <a "
517
+ "href='%s' target='_blank'>Force Regenerate Thumbnails</a> to regenerate all image sizes."
518
+ msgstr ""
519
+
520
+ #: admin/admin.php:751
521
+ msgid "Width of custom thumbnail:"
522
+ msgstr ""
523
+
524
+ #: admin/admin.php:756
525
+ msgid "Height of custom thumbnail"
526
+ msgstr ""
527
+
528
+ #: admin/admin.php:761
529
+ msgid "Crop mode:"
530
+ msgstr ""
531
+
532
+ #: admin/admin.php:765
533
+ msgid ""
534
+ "By default, thumbnails will be proportionately cropped. Check this box to hard crop the "
535
+ "thumbnails."
536
+ msgstr ""
537
+
538
+ #: admin/admin.php:766
539
+ #, php-format
540
+ msgid "<a href='%s' target='_blank'>Difference between soft and hard crop</a>"
541
+ msgstr ""
542
+
543
+ #: admin/admin.php:768
544
+ msgid ""
545
+ "Since you're using the default styles set under the Custom Styles section, the width and "
546
+ "height is fixed at 65px and crop mode is enabled."
547
+ msgstr ""
548
+
549
+ #: admin/admin.php:773
550
  msgid "Style attributes / Width and Height HTML attributes:"
551
  msgstr ""
552
 
553
+ #: admin/admin.php:777
554
  msgid "Style attributes are used for width and height."
555
  msgstr ""
556
 
557
+ #: admin/admin.php:782
558
  msgid "HTML width and height attributes are used for width and height."
559
  msgstr ""
560
 
561
+ #: admin/admin.php:786
562
  msgid "Use timthumb to generate thumbnails? "
563
  msgstr ""
564
 
565
+ #: admin/admin.php:789
566
  msgid ""
567
+ "If checked, <a href=\"http://www.binarymoon.co.uk/projects/timthumb/\" target=\"_blank"
568
+ "\">timthumb</a> will be used to generate thumbnails"
569
  msgstr ""
570
 
571
+ #: admin/admin.php:792
572
  msgid "Quality of thumbnails generated by timthumb:"
573
  msgstr ""
574
 
575
+ #: admin/admin.php:795
576
  msgid ""
577
+ "Enter values between 0 and 100 only. 100 is highest quality and the highest file size. "
578
+ "Suggested maximum value is 95. Default is 75."
579
  msgstr ""
580
 
581
+ #: admin/admin.php:798
582
  msgid "Post thumbnail meta field name: "
583
  msgstr ""
584
 
585
+ #: admin/admin.php:801
586
  msgid ""
587
+ "The value of this field should contain the image source and is set in the <em>Add New "
588
+ "Post</em> screen"
589
  msgstr ""
590
 
591
+ #: admin/admin.php:804
592
  msgid ""
593
+ "If the postmeta is not set, then should the plugin extract the first image from the post?"
 
594
  msgstr ""
595
 
596
+ #: admin/admin.php:807
597
  msgid ""
598
+ "This could slow down the loading of your page if the first image in the related posts is "
599
+ "large in file-size"
600
  msgstr ""
601
 
602
+ #: admin/admin.php:810
603
  msgid "Use default thumbnail? "
604
  msgstr ""
605
 
606
+ #: admin/admin.php:813
607
  msgid ""
608
+ "If checked, when no thumbnail is found, show a default one from the URL below. If not "
609
+ "checked and no thumbnail is found, no image will be shown."
610
  msgstr ""
611
 
612
+ #: admin/admin.php:816
613
  msgid "Default thumbnail: "
614
  msgstr ""
615
 
616
+ #: admin/admin.php:820
617
  msgid ""
618
+ "The plugin will first check if the post contains a thumbnail. If it doesn't then it will "
619
+ "check the meta field. If this is not available, then it will show the default image as "
620
+ "specified above"
621
  msgstr ""
622
 
623
+ #: admin/admin.php:844
624
  msgid "Custom CSS"
625
  msgstr ""
626
 
627
+ #: admin/admin.php:859
628
  msgid "Use default style included in the plugin?"
629
  msgstr ""
630
 
631
+ #: admin/admin.php:862
632
+ msgid ""
633
+ "Top 10 includes a default style that makes your popular posts list to look beautiful. "
634
+ "Check the box above if you want to use this."
635
+ msgstr ""
636
+
637
+ #: admin/admin.php:863
638
  msgid ""
639
+ "Enabling this option will turn on the thumbnails and set their width and height to 65px. "
640
+ "It will also turn off the display of the author, excerpt and date if already enabled. "
641
+ "Disabling this option will not revert any settings."
642
+ msgstr ""
643
+
644
+ #: admin/admin.php:864
645
+ #, php-format
646
+ msgid "You can view the default style at <a href=\"%1$s\" target=\"_blank\">%1$s</a>"
647
  msgstr ""
648
 
649
+ #: admin/admin.php:867
650
  msgid "Custom CSS to add to header:"
651
  msgstr ""
652
 
653
+ #: admin/admin.php:872
654
  msgid ""
655
+ "Do not include <code>style</code> tags. Check out the <a href=\"http://wordpress.org/"
656
+ "extend/plugins/top-10/faq/\" target=\"_blank\">FAQ</a> for available CSS classes to style."
 
657
  msgstr ""
658
 
659
+ #: admin/admin.php:892
 
 
 
 
 
660
  #, fuzzy
661
  msgid "Default Options"
662
  msgstr "विकल्प हैं:"
663
 
664
+ #: admin/admin.php:892
665
  msgid "Do you want to set options to Default?"
666
  msgstr "क्या आप डिफ़ॉल्ट विकल्प सेट करना चाहते हैं?"
667
 
668
+ #: admin/admin.php:916
 
 
 
 
669
  msgid ""
670
+ "Over time the Daily Top 10 database grows in size, which reduces the performance of the "
671
+ "plugin. Cleaning the database at regular intervals could improve performance, especially "
672
+ "on high traffic blogs. Enabling maintenance will automatically delete entries older than "
673
+ "90 days."
674
  msgstr ""
675
 
676
+ #: admin/admin.php:917
677
  msgid ""
678
+ "Note: When scheduled maintenance is enabled, WordPress will run the cron job everytime the "
679
+ "job is rescheduled (i.e. you change the settings below)."
680
  msgstr ""
681
 
682
+ #: admin/admin.php:920
683
  msgid "Enable scheduled maintenance of daily tables:"
684
  msgstr ""
685
 
686
+ #: admin/admin.php:924
687
  msgid "Time to run maintenance"
688
  msgstr ""
689
 
690
+ #: admin/admin.php:925
691
  msgid "hrs"
692
  msgstr ""
693
 
694
+ #: admin/admin.php:925
695
  msgid "min"
696
  msgstr ""
697
 
698
+ #: admin/admin.php:927
699
  msgid "How often should the maintenance be run:"
700
  msgstr ""
701
 
702
+ #: admin/admin.php:931
703
  msgid "Daily"
704
  msgstr ""
705
 
706
+ #: admin/admin.php:935
707
  msgid "Weekly"
708
  msgstr ""
709
 
710
+ #: admin/admin.php:939
711
  msgid "Fortnightly"
712
  msgstr ""
713
 
714
+ #: admin/admin.php:943
715
  msgid "Monthly"
716
  msgstr ""
717
 
718
+ #: admin/admin.php:952
719
  msgid "The cron job has been scheduled. Maintenance will run "
720
  msgstr ""
721
 
722
+ #: admin/admin.php:957
723
  msgid "The cron job is missing. Please resave this page to add the job"
724
  msgstr ""
725
 
726
+ #: admin/admin.php:962
727
  msgid "Maintenance is turned off"
728
  msgstr ""
729
 
730
+ #: admin/admin.php:976
731
  msgid "Reset count"
732
  msgstr ""
733
 
734
+ #: admin/admin.php:979
735
  msgid ""
736
+ "This cannot be reversed. Make sure that your database has been backed up before proceeding"
 
737
  msgstr ""
738
 
739
+ #: admin/admin.php:982
740
  #, fuzzy
741
  msgid "Reset Popular Posts"
742
  msgstr "लोकप्रिय पोस्ट्स "
743
 
744
+ #: admin/admin.php:982
745
  msgid "Are you sure you want to reset the popular posts?"
746
  msgstr ""
747
 
748
+ #: admin/admin.php:983
749
  #, fuzzy
750
  msgid "Reset Daily Popular Posts"
751
  msgstr "दैनिक लोकप्रिय पोस्ट्स "
752
 
753
+ #: admin/admin.php:983
754
  msgid "Are you sure you want to reset the daily popular posts?"
755
  msgstr ""
756
 
757
+ #: admin/admin.php:984
758
  msgid "Clear duplicates"
759
  msgstr ""
760
 
761
+ #: admin/admin.php:984
762
  msgid "This will delete the duplicate entries in the tables. Proceed?"
763
  msgstr ""
764
 
765
+ #: admin/admin.php:997
766
+ msgid "WordPress Multisite: Migrate Top 10 v1.x counts to 2.x"
767
+ msgstr ""
768
+
769
+ #: admin/admin.php:1000
770
+ msgid ""
771
+ "If you've been using Top 10 v1.x on multisite, you would have needed to activate the "
772
+ "plugin independently for each site. This would have resulted in two tables being created "
773
+ "for each site in the network. Top 10 v2.x onwards uses only a single table to record the "
774
+ "count, keeping your database clean. You can use this tool to import the recorded counts "
775
+ "from v1.x tables to the new v2.x table format."
776
+ msgstr ""
777
 
778
+ #: admin/admin.php:1003
779
+ msgid ""
780
+ "If you do not see any tables below, then it means that either all data has already been "
781
+ "imported or no relevant information has been found."
782
+ msgstr ""
783
+
784
+ #: admin/admin.php:1037
785
+ msgid "Blog ID"
786
+ msgstr ""
787
+
788
+ #: admin/admin.php:1040
789
+ msgid "Status"
790
+ msgstr ""
791
+
792
+ #: admin/admin.php:1043
793
+ msgid "Select to import"
794
+ msgstr ""
795
+
796
+ #: admin/admin.php:1053
797
+ msgid "Blog #"
798
+ msgstr ""
799
+
800
+ #: admin/admin.php:1063
801
+ msgid "Not imported"
802
+ msgstr ""
803
+
804
+ #: admin/admin.php:1067
805
+ msgid "Imported"
806
+ msgstr ""
807
+
808
+ #: admin/admin.php:1088
809
+ msgid "Begin import"
810
+ msgstr ""
811
+
812
+ #: admin/admin.php:1089
813
+ msgid "Delete selected tables"
814
+ msgstr ""
815
+
816
+ #: admin/admin.php:1090
817
+ msgid "Delete all imported tables"
818
+ msgstr ""
819
+
820
+ #: admin/admin.php:1147 admin/admin.php:1243
821
  msgid "Daily Popular Posts"
822
  msgstr "दैनिक लोकप्रिय पोस्ट्स "
823
 
824
+ #: admin/admin.php:1177
825
  #, fuzzy
826
  msgid "Support the development"
827
  msgstr "समर्थन विकास"
828
 
829
+ #: admin/admin.php:1184
830
  msgid "Donation for Top 10"
831
  msgstr ""
832
 
833
+ #: admin/admin.php:1186
834
  msgid "Enter amount in USD: "
835
  msgstr ""
836
 
837
+ #: admin/admin.php:1190
838
  msgid "Send your donation to the author of Top 10"
839
  msgstr ""
840
 
841
+ #: admin/admin.php:1197
842
  msgid "Follow me"
843
  msgstr ""
844
 
845
+ #: admin/admin.php:1207
846
  msgid "Quick links"
847
  msgstr ""
848
 
849
+ #: admin/admin.php:1211
850
  msgid "Top 10 plugin page"
851
  msgstr ""
852
 
853
+ #: admin/admin.php:1212
854
+ msgid "Top 10 Github page"
855
+ msgstr ""
856
+
857
+ #: admin/admin.php:1213
858
  msgid "Other plugins"
859
  msgstr ""
860
 
861
+ #: admin/admin.php:1214
862
  msgid "Ajay's blog"
863
  msgstr ""
864
 
865
+ #: admin/admin.php:1215
866
  msgid "FAQ"
867
  msgstr ""
868
 
869
+ #: admin/admin.php:1216 admin/admin.php:1374
870
  msgid "Support"
871
  msgstr ""
872
 
873
+ #: admin/admin.php:1217
874
  msgid "Reviews"
875
  msgstr ""
876
 
877
+ #: admin/admin.php:1240
 
 
 
 
 
 
 
 
 
878
  #, fuzzy
879
  msgid "Overall Popular Posts"
880
  msgstr "देखें दैनिक लोकप्रिय पोस्ट्स "
881
 
882
+ #: admin/admin.php:1351
883
+ msgid "Settings"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
884
  msgstr ""
885
 
886
+ #: admin/admin.php:1375
887
+ msgid "Donate"
888
  msgstr ""
889
 
890
+ #: includes/class-top-10-widget.php:31
891
  #, fuzzy
892
  msgid "Popular Posts [Top 10]"
893
  msgstr "लोकप्रिय पोस्ट्स "
894
 
895
+ #: includes/class-top-10-widget.php:32
896
  #, fuzzy
897
  msgid "Display popular posts"
898
  msgstr "दैनिक लोकप्रिय पोस्ट्स "
899
 
900
+ #: includes/class-top-10-widget.php:59
901
  msgid "Title"
902
  msgstr ""
903
 
904
+ #: includes/class-top-10-widget.php:64
905
  msgid "No. of posts"
906
  msgstr ""
907
 
908
+ #: includes/class-top-10-widget.php:69
909
  msgid "Overall"
910
  msgstr ""
911
 
912
+ #: includes/class-top-10-widget.php:70
913
  msgid "Custom time period (Enter below)"
914
  msgstr ""
915
 
916
+ #: includes/class-top-10-widget.php:74
917
+ msgid "In days and hours (applies only to custom option above)"
918
+ msgstr ""
919
+
920
+ #: includes/class-top-10-widget.php:76
921
+ msgid "days"
922
  msgstr ""
923
 
924
+ #: includes/class-top-10-widget.php:79
925
+ msgid "hours"
926
+ msgstr ""
927
+
928
+ #: includes/class-top-10-widget.php:84
929
  msgid "Show count?"
930
  msgstr ""
931
 
932
+ #: includes/class-top-10-widget.php:89
933
  msgid "Show excerpt?"
934
  msgstr ""
935
 
936
+ #: includes/class-top-10-widget.php:94
937
  msgid "Show author?"
938
  msgstr ""
939
 
940
+ #: includes/class-top-10-widget.php:99
941
  msgid "Show date?"
942
  msgstr ""
943
 
944
+ #: includes/class-top-10-widget.php:105
 
 
 
 
945
  #, fuzzy
946
  msgid "Thumbnails inline, before title"
947
  msgstr "पदों पर विचारों के प्रदर्शन की संख्या?"
948
 
949
+ #: includes/class-top-10-widget.php:106
950
  #, fuzzy
951
  msgid "Thumbnails inline, after title"
952
  msgstr "पदों पर विचारों के प्रदर्शन की संख्या?"
953
 
954
+ #: includes/class-top-10-widget.php:107
955
  msgid "Only thumbnails, no text"
956
  msgstr ""
957
 
958
+ #: includes/class-top-10-widget.php:108
959
  msgid "No thumbnails, only text."
960
  msgstr ""
961
 
962
+ #: includes/class-top-10-widget.php:113
963
  msgid "Thumbnail height"
964
  msgstr ""
965
 
966
+ #: includes/class-top-10-widget.php:118
967
  msgid "Thumbnail width"
968
  msgstr ""
969
 
970
+ #: top-10.php:866
971
+ msgid " by "
972
+ msgstr ""
973
+
974
+ #: top-10.php:917
975
+ #, php-format
976
+ msgid "Popular posts by <a href=\"%s\" rel=\"nofollow\" %s>Top 10 plugin</a>"
977
+ msgstr ""
978
+
979
+ #: top-10.php:1016
980
  msgid "<h3>Popular Posts</h3>"
981
  msgstr "<h3> लोकप्रिय पोस्ट्स </ h3>"
982
 
983
+ #: top-10.php:1017
984
  msgid "<h3>Daily Popular</h3>"
985
  msgstr "<h3> दैनिक लोकप्रिय </ h3>"
986
 
987
+ #: top-10.php:1018
988
  #, fuzzy
989
  msgid "No top posts yet"
990
  msgstr "लोकप्रिय पदों का शीर्षक:"
991
 
992
+ #: top-10.php:1668
993
  msgid "Once Weekly"
994
  msgstr ""
995
 
996
+ #: top-10.php:1672
997
  msgid "Once Fortnightly"
998
  msgstr ""
999
 
1000
+ #: top-10.php:1676
1001
  msgid "Once Monthly"
1002
  msgstr ""
1003
 
1004
+ #: top-10.php:1680
1005
+ msgid "Once quarterly"
1006
  msgstr ""
1007
 
1008
+ #~ msgid "Daily Popular should contain views of how many days? "
1009
+ #~ msgstr "दैनिक लोकप्रिय कितने दिनों के विचारों को शामिल करना चाहिए?"
1010
+
1011
+ #, fuzzy
1012
+ #~ msgid "Output options"
1013
+ #~ msgstr "विकल्प हैं:"
1014
+
1015
+ #, fuzzy
1016
+ #~ msgid ""
1017
+ #~ "Use <code>%totalcount%</code> to display the total count, <code>%dailycount%</code> to "
1018
+ #~ "display the daily count and <code>%overallcount%</code> to display the overall count "
1019
+ #~ "across all posts on the blog. e.g. the default options displays <code>(Visited 123 "
1020
+ #~ "times, 23 visits today)</code>"
1021
+ #~ msgstr ""
1022
+ #~ "का प्रयोग करें <code>% totalcount% </ कोड> कुल संख्या प्रदर्शित करने के लिए और <code>% dailycount"
1023
+ #~ "% </ कोड> को दैनिक गणना प्रदर्शन. उदाहरण डिफ़ॉल्ट विकल्प प्रदर्शित <code> (दौरा 123 बार, 23 का "
1024
+ #~ "दौरा आज) </ कोड>"
1025
 
1026
  #, fuzzy
1027
  #~ msgid "This option uses JavaScript and will increase your page load time"
1028
  #~ msgstr ""
1029
+ #~ "सेना दैनिक 'पदों की सूची गतिशील हो? इस विकल्प को पद भार जावास्क्रिप्ट का उपयोग करता है और अपने "
1030
+ #~ "पृष्ठ लोड समय बढ़ा सकते हैं"
1031
 
1032
  #~ msgid "Display number of page views in popular lists?"
1033
  #~ msgstr "लोकप्रिय सूची में पृष्ठ विचारों का प्रदर्शन नंबर?"
1042
  #~ msgstr "पृष्ठ"
1043
 
1044
  #~ msgid ""
1045
+ #~ "Exclude Pages in display of Popular Posts? Number of views on Pages will continue to be "
1046
+ #~ "counted."
1047
+ #~ msgstr "लोकप्रिय के प्रदर्शन में पेज बाहर निकालें पोस्ट? पन्नों पर विचार की संख्या की गिनती जारी रहेगी."
 
 
1048
 
1049
  #~ msgid ""
1050
+ #~ "Display page views on Edit posts/pages in WP-Admin? An extra column is added with the "
1051
+ #~ "count"
1052
  #~ msgstr ""
1053
+ #~ "प्रदर्शन संपादित करें पदों पर पृष्ठ विचार / WP में पृष्ठों-व्यवस्थापक? एक अतिरिक्त कॉलम गिनती के साथ जोड़ "
1054
+ #~ "दिया है"
1055
 
1056
  #~ msgid "If you find "
1057
  #~ msgstr "यदि आप पाते हैं"
languages/tptn-it_IT.mo CHANGED
Binary file
languages/tptn-it_IT.po CHANGED
@@ -12,7 +12,8 @@ msgstr ""
12
  "Content-Transfer-Encoding: 8bit\n"
13
  "X-Poedit-KeywordsList: _e;__\n"
14
  "X-Poedit-Basepath: ../\n"
15
- "X-Generator: Poedit 1.6.5\n"
 
16
  "X-Poedit-SearchPath-0: .\n"
17
 
18
  #: admin.inc.php:115
12
  "Content-Transfer-Encoding: 8bit\n"
13
  "X-Poedit-KeywordsList: _e;__\n"
14
  "X-Poedit-Basepath: ../\n"
15
+ "X-Generator: Poedit 1.7.1\n"
16
+ "X-Poedit-SourceCharset: UTF-8\n"
17
  "X-Poedit-SearchPath-0: .\n"
18
 
19
  #: admin.inc.php:115
languages/tptn-nl_NL.mo CHANGED
Binary file
languages/tptn-nl_NL.po CHANGED
@@ -2,7 +2,7 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Top 10 v1.6.2\n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2014-05-21 21:29-0000\n"
6
  "PO-Revision-Date: \n"
7
  "Last-Translator: Ajay D'Souza <me@ajaydsouza.com>\n"
8
  "Language-Team: WPPG.me <info@wppg.me>\n"
@@ -14,426 +14,600 @@ msgstr ""
14
  "X-Poedit-Basepath: ../\n"
15
  "X-Poedit-SourceCharset: utf-8\n"
16
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
17
- "X-Generator: Poedit 1.6.5\n"
18
  "X-Poedit-SearchPath-0: .\n"
19
 
20
- #: admin.inc.php:115
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
21
  msgid "Options saved successfully."
22
  msgstr "Opties succesvol opgeslagen."
23
 
24
- #: admin.inc.php:125
25
  msgid "Options set to Default."
26
  msgstr "Opties ingesteld op Standaard."
27
 
28
- #: admin.inc.php:131
29
  msgid "Top 10 popular posts reset"
30
  msgstr "Reset Top 10 populaire berichten"
31
 
32
- #: admin.inc.php:137
33
  msgid "Top 10 daily popular posts reset"
34
  msgstr "Reset Top 10 dagelijkse populaire berichten"
35
 
36
- #: admin.inc.php:144
37
  msgid "Duplicate rows cleaned from tables"
38
  msgstr ""
39
 
40
- #: admin.inc.php:156
41
  msgid "Scheduled maintenance enabled / modified"
42
  msgstr ""
43
 
44
- #: admin.inc.php:160
45
  msgid "Scheduled maintenance disabled"
46
  msgstr ""
47
 
48
- #: admin.inc.php:175 admin.inc.php:297 admin.inc.php:458 admin.inc.php:487
49
- #: admin.inc.php:551 admin.inc.php:644 admin.inc.php:664 admin.inc.php:674
50
- msgid "Click to toggle"
51
  msgstr ""
52
 
53
- #: admin.inc.php:176
54
- msgid "General options"
 
 
55
  msgstr ""
56
 
57
- #: admin.inc.php:180
58
- msgid "Enable Overall stats"
59
- msgstr ""
 
60
 
61
- #: admin.inc.php:185
62
- msgid "Enable Daily stats"
63
  msgstr ""
64
 
65
- #: admin.inc.php:190
66
- msgid "W3 Total Cache fix:"
67
  msgstr ""
68
 
69
- #: admin.inc.php:192
70
- msgid ""
71
- "This will try to prevent W3 Total Cache from caching the addcount script of "
72
- "the plugin. Try toggling this option in case you find that our posts are not "
73
- "tracked."
74
  msgstr ""
75
 
76
- #: admin.inc.php:196
77
- msgid "Number of popular posts to display: "
78
- msgstr "Aantal populaire berichten om weer te geven:"
 
 
79
 
80
- #: admin.inc.php:198
81
- msgid ""
82
- "Maximum number of posts that will be displayed in the list. This option is "
83
- "used if you don't specify the number of posts in the widget or shortcodes"
84
  msgstr ""
85
 
86
- #: admin.inc.php:202
87
- msgid "Daily Popular should contain views of how many days? "
88
- msgstr "Van hoeveel dagen moet Dagelijks Populair weergaves bevatten ?"
89
 
90
- #: admin.inc.php:204
91
- msgid ""
92
- "Instead of displaying popular posts fromt he past day, this setting lets you "
93
- "display posts for as many days as you want. This can be overridden in the "
94
- "widget."
95
  msgstr ""
96
 
97
- #: admin.inc.php:207
98
- msgid "Post types to include in results (including custom post types)"
99
  msgstr ""
100
 
101
- #: admin.inc.php:218
102
- msgid "List of post or page IDs to exclude from the results: "
103
  msgstr ""
104
 
105
- #: admin.inc.php:220 admin.inc.php:361
106
- msgid "Enter comma separated list of IDs. e.g. 188,320,500"
107
  msgstr ""
108
 
109
- #: admin.inc.php:224
110
- msgid "Exclude Categories: "
 
 
 
 
 
 
 
111
  msgstr ""
112
 
113
- #: admin.inc.php:239
 
114
  msgid ""
115
- "Comma separated list of category slugs. The field above has an autocomplete "
116
- "so simply start typing in the starting letters and it will prompt you with "
117
- "options"
118
  msgstr ""
 
 
 
119
 
120
- #: admin.inc.php:244
 
 
 
 
 
 
121
  #, fuzzy
122
  msgid "Display number of views on:"
123
  msgstr "Geef het aantal berichtweergaves weer?"
124
 
125
- #: admin.inc.php:246
126
  msgid "Posts"
127
  msgstr ""
128
 
129
- #: admin.inc.php:247
130
  #, fuzzy
131
  msgid "Pages"
132
  msgstr "Pagina"
133
 
134
- #: admin.inc.php:248
135
  msgid "Home page"
136
  msgstr ""
137
 
138
- #: admin.inc.php:249
139
  msgid "Feeds"
140
  msgstr ""
141
 
142
- #: admin.inc.php:250
143
  msgid "Category archives"
144
  msgstr ""
145
 
146
- #: admin.inc.php:251
147
  msgid "Tag archives"
148
  msgstr ""
149
 
150
- #: admin.inc.php:252
151
  msgid "Other archives"
152
  msgstr ""
153
 
154
- #: admin.inc.php:253
155
  msgid ""
156
  "If you choose to disable this, please add <code>&lt;?php if "
157
  "( function_exists ( 'echo_tptn_post_count' ) ) echo_tptn_post_count(); ?&gt;"
158
  "</code> to your template file where you want it displayed"
159
  msgstr ""
160
 
161
- #: admin.inc.php:256
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
162
  msgid "Always display latest post count"
163
  msgstr ""
164
 
165
- #: admin.inc.php:258
166
  msgid ""
167
  "This option uses JavaScript and will increase your page load time. Turn this "
168
  "off if you are not using caching plugins or are OK with displaying older "
169
  "cached counts."
170
  msgstr ""
171
 
172
- #: admin.inc.php:261
173
  msgid "Track visits of authors on their own posts?"
174
  msgstr "Registreer bezoeken van auteurs aan hun eigen berichten?"
175
 
176
- #: admin.inc.php:263
177
  msgid ""
178
  "Disabling this option will stop authors visits tracked on their own posts"
179
  msgstr ""
180
 
181
- #: admin.inc.php:266
182
  #, fuzzy
183
  msgid "Track visits of admins?"
184
  msgstr "Registreer bezoeken van auteurs aan hun eigen berichten?"
185
 
186
- #: admin.inc.php:268
187
  msgid "Disabling this option will stop admin visits being tracked."
188
  msgstr ""
189
 
190
- #: admin.inc.php:271
191
  #, fuzzy
192
  msgid "Track visits of Editors?"
193
  msgstr "Registreer bezoeken van auteurs aan hun eigen berichten?"
194
 
195
- #: admin.inc.php:273
196
  msgid "Disabling this option will stop editor visits being tracked."
197
  msgstr ""
198
 
199
- #: admin.inc.php:276
200
  msgid "Display page views on Posts and Pages in Admin"
201
  msgstr ""
202
 
203
- #: admin.inc.php:279
204
  msgid ""
205
  "Adds three columns called Total Views, Today's Views and Views to All Posts "
206
  "and All Pages"
207
  msgstr ""
208
 
209
- #: admin.inc.php:282
210
  #, fuzzy
211
  msgid "Show number of views to non-admins"
212
  msgstr "Geef het aantal paginaweergaves weer?"
213
 
214
- #: admin.inc.php:285
215
  msgid ""
216
  "If you disable this then non-admins won't see the above columns or view the "
217
  "independent pages with the top posts"
218
  msgstr ""
219
 
220
- #: admin.inc.php:288
221
- msgid "Link to Top 10 plugin page"
222
- msgstr ""
223
 
224
- #: admin.inc.php:291
225
- #, fuzzy
226
  msgid ""
227
- "A link to the plugin is added as an extra list item to the list of popular "
228
- "posts"
229
  msgstr ""
230
- "Een link naar de plugin is toegevoegd als een exta item aan de lijst met "
231
- "populaire berichten. Het is niet verplicht, maar wordt ten zeerste "
232
- "gewaardeerd!"
233
 
234
- #: admin.inc.php:298
235
- #, fuzzy
236
- msgid "Output options"
237
- msgstr "Output Opties:"
238
 
239
- #: admin.inc.php:301
240
- #, fuzzy
241
- msgid "Format to display the post views:"
242
- msgstr "Formaat om de optelling te laten zien:"
243
 
244
- #: admin.inc.php:303
245
- #, fuzzy
 
 
 
246
  msgid ""
247
- "Use <code>%totalcount%</code> to display the total count, <code>%dailycount"
248
- "%</code> to display the daily count and <code>%overallcount%</code> to "
249
- "display the overall count across all posts on the blog. e.g. the default "
250
- "options displays <code>(Visited 123 times, 23 visits today)</code>"
251
  msgstr ""
252
- "Gebruik <code>%totalcount%</ code> om de totale telling en <code>%dailycount"
253
- "%</ code> om de dagelijkse telling te laten zien. De standaardopties geven "
254
- "bijvoorbeeld <code>(123 keer bezocht, 23 bezoeken vandaag)</ code> weer."
255
 
256
- #: admin.inc.php:306
257
- msgid "What do display when there are no visits?"
 
 
 
 
258
  msgstr ""
259
 
260
- #: admin.inc.php:308
 
 
 
 
 
 
 
 
261
  msgid ""
262
- "This text applies only when there are 0 hits for the post and it isn't a "
263
- "single page. e.g. if you display post views on the homepage or archives then "
264
- "this text will be used. To override this, just enter the same text as above "
265
- "option."
266
  msgstr ""
267
 
268
- #: admin.inc.php:311
269
  msgid "Title of popular posts: "
270
  msgstr "Titel van populaire berichten:"
271
 
272
- #: admin.inc.php:314
273
  msgid "Title of daily popular posts: "
274
  msgstr "Titel van dagelijkse populaire berichten:"
275
 
276
- #: admin.inc.php:317
277
  msgid "When there are no posts, what should be shown?"
278
  msgstr ""
279
 
280
- #: admin.inc.php:321
281
  msgid "Blank Output"
282
  msgstr ""
283
 
284
- #: admin.inc.php:325
285
  msgid "Display:"
286
  msgstr ""
287
 
288
- #: admin.inc.php:329
289
  msgid "Show post excerpt in list?"
290
  msgstr "Laat bericht samenvatting zien in lijst?"
291
 
292
- #: admin.inc.php:332
293
  msgid "Length of excerpt (in words): "
294
  msgstr "Lengte van de samenvatting (in woorden):"
295
 
296
- #: admin.inc.php:335
297
  #, fuzzy
298
  msgid "Show post author in list?"
299
  msgstr "Laat bericht samenvatting zien in lijst?"
300
 
301
- #: admin.inc.php:338
302
  #, fuzzy
303
  msgid "Show post date in list?"
304
  msgstr "Laat bericht samenvatting zien in lijst?"
305
 
306
- #: admin.inc.php:341
307
  msgid "Limit post title length (in characters)"
308
  msgstr ""
309
 
310
- #: admin.inc.php:344
311
  #, fuzzy
312
  msgid "Show view count in list?"
313
  msgstr "Laat bericht samenvatting zien in lijst?"
314
 
315
- #: admin.inc.php:347
316
  msgid "Always display latest post count in the daily lists?"
317
  msgstr ""
318
 
319
- #: admin.inc.php:349
320
  msgid ""
321
  "This option uses JavaScript and will increase your page load time. When you "
322
  "enable this option, the daily widget will not use the options set there, but "
323
  "options will need to be set on this screen."
324
  msgstr ""
325
 
326
- #: admin.inc.php:352
327
  msgid "Open links in new window"
328
  msgstr ""
329
 
330
- #: admin.inc.php:355
331
  msgid "Add nofollow attribute to links in the list"
332
  msgstr ""
333
 
334
- #: admin.inc.php:358
335
  msgid "Exclude display of related posts on these posts / pages"
336
  msgstr ""
337
 
338
- #: admin.inc.php:364
339
  #, fuzzy
340
  msgid "Customise the list HTML"
341
  msgstr "Aanpassen van de output:"
342
 
343
- #: admin.inc.php:366
344
  msgid "HTML to display before the list of posts: "
345
  msgstr "Te weergeven HTML voor de lijst met berichten:"
346
 
347
- #: admin.inc.php:369
348
  msgid "HTML to display before each list item: "
349
  msgstr "Te weergeven HTML voor elk lijst item:"
350
 
351
- #: admin.inc.php:372
352
  msgid "HTML to display after each list item: "
353
  msgstr "Te weergeven HTML na elk lijst item:"
354
 
355
- #: admin.inc.php:375
356
  msgid "HTML to display after the list of posts: "
357
  msgstr "Te weergeven HTML na de lijst met berichten:"
358
 
359
- #: admin.inc.php:378
360
- msgid "Post thumbnail options:"
361
- msgstr "Bericht miniatuurafbeelding opties:"
362
-
363
- #: admin.inc.php:380
364
  msgid "Location of post thumbnail:"
365
  msgstr ""
366
 
367
- #: admin.inc.php:384
368
  #, fuzzy
369
  msgid "Display thumbnails inline with posts, before title"
370
  msgstr "Laat miniatuurafbeeldingen in lijn zien met berichten"
371
 
372
- #: admin.inc.php:388
373
  #, fuzzy
374
  msgid "Display thumbnails inline with posts, after title"
375
  msgstr "Laat miniatuurafbeeldingen in lijn zien met berichten"
376
 
377
- #: admin.inc.php:392
378
  msgid "Display only thumbnails, no text"
379
  msgstr "Geef alleen miniatuurafbeeldingen weer, geen text"
380
 
381
- #: admin.inc.php:396
382
  msgid "Do not display thumbnails, only text."
383
  msgstr "Geef geen miniatuurafbeeldingen weer, alleen text"
384
 
385
- #: admin.inc.php:400
386
- msgid "Width of the thumbnail: "
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
387
  msgstr ""
388
 
389
- #: admin.inc.php:403
390
- msgid "Height of the thumbnail: "
391
  msgstr ""
392
 
393
- #: admin.inc.php:406
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
394
  msgid "Style attributes / Width and Height HTML attributes:"
395
  msgstr ""
396
 
397
- #: admin.inc.php:410
398
  msgid "Style attributes are used for width and height."
399
  msgstr ""
400
 
401
- #: admin.inc.php:414
402
  msgid "HTML width and height attributes are used for width and height."
403
  msgstr ""
404
 
405
- #: admin.inc.php:418
406
  msgid "Use timthumb to generate thumbnails? "
407
  msgstr ""
408
 
409
- #: admin.inc.php:421
410
  msgid ""
411
  "If checked, <a href=\"http://www.binarymoon.co.uk/projects/timthumb/\" "
412
  "target=\"_blank\">timthumb</a> will be used to generate thumbnails"
413
  msgstr ""
414
 
415
- #: admin.inc.php:424
416
  msgid "Quality of thumbnails generated by timthumb:"
417
  msgstr ""
418
 
419
- #: admin.inc.php:427
420
  msgid ""
421
  "Enter values between 0 and 100 only. 100 is highest quality and the highest "
422
  "file size. Suggested maximum value is 95. Default is 75."
423
  msgstr ""
424
 
425
- #: admin.inc.php:430
426
  #, fuzzy
427
  msgid "Post thumbnail meta field name: "
428
  msgstr "Bericht miniatuurafbeelding opties:"
429
 
430
- #: admin.inc.php:433
431
  msgid ""
432
  "The value of this field should contain the image source and is set in the "
433
  "<em>Add New Post</em> screen"
434
  msgstr ""
435
 
436
- #: admin.inc.php:436
437
  #, fuzzy
438
  msgid ""
439
  "If the postmeta is not set, then should the plugin extract the first image "
@@ -444,7 +618,7 @@ msgstr ""
444
  "vertragen wanneer de eerste afbeelding in de gerelateerde berichten groot is "
445
  "qua bestandsgrootte"
446
 
447
- #: admin.inc.php:439
448
  #, fuzzy
449
  msgid ""
450
  "This could slow down the loading of your page if the first image in the "
@@ -455,21 +629,21 @@ msgstr ""
455
  "vertragen wanneer de eerste afbeelding in de gerelateerde berichten groot is "
456
  "qua bestandsgrootte"
457
 
458
- #: admin.inc.php:442
459
  msgid "Use default thumbnail? "
460
  msgstr ""
461
 
462
- #: admin.inc.php:445
463
  msgid ""
464
  "If checked, when no thumbnail is found, show a default one from the URL "
465
  "below. If not checked and no thumbnail is found, no image will be shown."
466
  msgstr ""
467
 
468
- #: admin.inc.php:448
469
  msgid "Default thumbnail: "
470
  msgstr ""
471
 
472
- #: admin.inc.php:452
473
  #, fuzzy
474
  msgid ""
475
  "The plugin will first check if the post contains a thumbnail. If it doesn't "
@@ -481,52 +655,54 @@ msgstr ""
481
  "veld controleren. Als dit veld niet beschikbaar is toont de plugin de "
482
  "standaard afbeelding zoals hieronder aangegeven:"
483
 
484
- #: admin.inc.php:459
485
  msgid "Custom CSS"
486
  msgstr ""
487
 
488
- #: admin.inc.php:462
489
  msgid "Use default style included in the plugin?"
490
  msgstr ""
491
 
492
- #: admin.inc.php:465
493
  msgid ""
494
  "Top 10 includes a default style that makes your popular posts list to look "
495
- "pretty. Check the box above if you want to use this. You will need to select "
496
- "<strong>Thumbnails inline, before title</strong> in Output Options or in the "
497
- "Widget."
 
 
 
 
 
498
  msgstr ""
499
 
500
- #: admin.inc.php:468
 
 
 
 
 
 
501
  msgid "Custom CSS to add to header:"
502
  msgstr ""
503
 
504
- #: admin.inc.php:471
505
  msgid ""
506
  "Do not include <code>style</code> tags. Check out the <a href=\"http://"
507
  "wordpress.org/extend/plugins/top-10/faq/\" target=\"_blank\">FAQ</a> for "
508
  "available CSS classes to style."
509
  msgstr ""
510
 
511
- #: admin.inc.php:478 admin.inc.php:544
512
- #, fuzzy
513
- msgid "Save Options"
514
- msgstr "Opties:"
515
-
516
- #: admin.inc.php:479
517
  #, fuzzy
518
  msgid "Default Options"
519
  msgstr "Output Opties:"
520
 
521
- #: admin.inc.php:479
522
  msgid "Do you want to set options to Default?"
523
  msgstr "Wil je de opties terugzetten naar standaard?"
524
 
525
- #: admin.inc.php:488
526
- msgid "Maintenance"
527
- msgstr ""
528
-
529
- #: admin.inc.php:492
530
  msgid ""
531
  "Over time the Daily Top 10 database grows in size, which reduces the "
532
  "performance of the plugin. Cleaning the database at regular intervals could "
@@ -534,65 +710,65 @@ msgid ""
534
  "will automatically delete entries older than 90 days."
535
  msgstr ""
536
 
537
- #: admin.inc.php:493
538
  msgid ""
539
  "Note: When scheduled maintenance is enabled, WordPress will run the cron job "
540
  "everytime the job is rescheduled (i.e. you change the settings below)."
541
  msgstr ""
542
 
543
- #: admin.inc.php:496
544
  msgid "Enable scheduled maintenance of daily tables:"
545
  msgstr ""
546
 
547
- #: admin.inc.php:500
548
  msgid "Time to run maintenance"
549
  msgstr ""
550
 
551
- #: admin.inc.php:501
552
  msgid "hrs"
553
  msgstr ""
554
 
555
- #: admin.inc.php:501
556
  msgid "min"
557
  msgstr ""
558
 
559
- #: admin.inc.php:503
560
  msgid "How often should the maintenance be run:"
561
  msgstr ""
562
 
563
- #: admin.inc.php:507
564
  msgid "Daily"
565
  msgstr ""
566
 
567
- #: admin.inc.php:511
568
  msgid "Weekly"
569
  msgstr ""
570
 
571
- #: admin.inc.php:515
572
  msgid "Fortnightly"
573
  msgstr ""
574
 
575
- #: admin.inc.php:519
576
  msgid "Monthly"
577
  msgstr ""
578
 
579
- #: admin.inc.php:528
580
  msgid "The cron job has been scheduled. Maintenance will run "
581
  msgstr ""
582
 
583
- #: admin.inc.php:533
584
  msgid "The cron job is missing. Please resave this page to add the job"
585
  msgstr ""
586
 
587
- #: admin.inc.php:538
588
  msgid "Maintenance is turned off"
589
  msgstr ""
590
 
591
- #: admin.inc.php:552
592
  msgid "Reset count"
593
  msgstr "Reset telling"
594
 
595
- #: admin.inc.php:555
596
  msgid ""
597
  "This cannot be reversed. Make sure that your database has been backed up "
598
  "before proceeding"
@@ -600,302 +776,308 @@ msgstr ""
600
  "Dit kan niet ongedaan worden gemaakt. Zorg ervoor dat je een backup van je "
601
  "database gemaakt hebt voordat je verder gaat"
602
 
603
- #: admin.inc.php:558
604
  #, fuzzy
605
  msgid "Reset Popular Posts"
606
  msgstr "Populaire Berichten"
607
 
608
- #: admin.inc.php:558
609
  msgid "Are you sure you want to reset the popular posts?"
610
  msgstr "Ben je er zeker van dat je de populaire berichten wilt resetten?"
611
 
612
- #: admin.inc.php:559
613
  #, fuzzy
614
  msgid "Reset Daily Popular Posts"
615
  msgstr "Dagelijkse Populaire Berichten"
616
 
617
- #: admin.inc.php:559
618
  msgid "Are you sure you want to reset the daily popular posts?"
619
  msgstr ""
620
  "Ben je er zeker van dat je de dagelijkse populaire berichten wilt resetten?"
621
 
622
- #: admin.inc.php:560
623
  msgid "Clear duplicates"
624
  msgstr ""
625
 
626
- #: admin.inc.php:560
627
  msgid "This will delete the duplicate entries in the tables. Proceed?"
628
  msgstr "Hiermee verwijdert u de dubbele vermeldingen in de tabellen. Doorgaan?"
629
 
630
- #: admin.inc.php:612 admin.inc.php:1010
631
- msgid "Popular Posts"
632
- msgstr "Populaire Berichten"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
633
 
634
- #: admin.inc.php:614 admin.inc.php:713
 
 
 
 
 
 
 
 
635
  msgid "Daily Popular Posts"
636
  msgstr "Dagelijkse Populaire Berichten"
637
 
638
- #: admin.inc.php:645
639
  msgid "Support the development"
640
  msgstr "Ondersteun de ontwikkeling"
641
 
642
- #: admin.inc.php:652
643
  msgid "Donation for Top 10"
644
  msgstr ""
645
 
646
- #: admin.inc.php:654
647
  msgid "Enter amount in USD: "
648
  msgstr "Voer het bedrag in in USD:"
649
 
650
- #: admin.inc.php:658
651
  #, fuzzy
652
  msgid "Send your donation to the author of Top 10"
653
  msgstr "Zend je donatie naar de auteur van "
654
 
655
- #: admin.inc.php:665
656
  msgid "Follow me"
657
  msgstr ""
658
 
659
- #: admin.inc.php:675
660
  #, fuzzy
661
  msgid "Quick links"
662
  msgstr "Quick links"
663
 
664
- #: admin.inc.php:679
665
  #, fuzzy
666
  msgid "Top 10 plugin page"
667
  msgstr "plugin pagina"
668
 
669
- #: admin.inc.php:680
 
 
 
 
670
  msgid "Other plugins"
671
  msgstr "Andere plugins"
672
 
673
- #: admin.inc.php:681
674
  msgid "Ajay's blog"
675
  msgstr "De blog van Ajay"
676
 
677
- #: admin.inc.php:682
678
  msgid "FAQ"
679
  msgstr ""
680
 
681
- #: admin.inc.php:683 top-10.php:1345
682
  msgid "Support"
683
  msgstr "Ondersteuning"
684
 
685
- #: admin.inc.php:684
686
  msgid "Reviews"
687
  msgstr ""
688
 
689
- #: admin.inc.php:704 admin.inc.php:707
690
- #, fuzzy
691
- msgid "Top 10 Settings"
692
- msgstr "Instellingen"
693
-
694
- #: admin.inc.php:704 admin.inc.php:1183
695
- msgid "Top 10"
696
- msgstr "Top 10"
697
-
698
- #: admin.inc.php:710
699
  #, fuzzy
700
  msgid "Overall Popular Posts"
701
  msgstr "Bekijk het Totaal Populaire Berichten"
702
 
703
- #: admin.inc.php:882
704
- #, php-format
705
- msgid "Results %1$s to %2$s of %3$s"
706
- msgstr ""
707
-
708
- #: admin.inc.php:886
709
- #, php-format
710
- msgid "Page %s of %s"
711
- msgstr ""
712
-
713
- #: admin.inc.php:898
714
- msgid "View Daily Popular Posts"
715
- msgstr "Bekijk de Dagelijkse Populaire Berichten"
716
-
717
- #: admin.inc.php:901 admin.inc.php:914
718
- msgid "Results per-page:"
719
- msgstr "Resultaten per pagina:"
720
-
721
- #: admin.inc.php:911
722
- msgid "View Overall Popular Posts"
723
- msgstr "Bekijk het Totaal Populaire Berichten"
724
-
725
- #: admin.inc.php:940
726
- msgid "Previous"
727
- msgstr "Vorige"
728
-
729
- #: admin.inc.php:968
730
- msgid "Next"
731
- msgstr "Volgende"
732
-
733
- #: admin.inc.php:1011
734
- msgid "Daily Popular"
735
- msgstr "Dagelijks Populair"
736
-
737
- #: admin.inc.php:1029
738
- #, fuzzy
739
- msgid "Total Views"
740
- msgstr "Totale Weergaves / Weergaves van Vandaag"
741
-
742
- #: admin.inc.php:1030
743
- #, fuzzy
744
- msgid "Today's Views"
745
- msgstr "Totale Weergaves / Weergaves van Vandaag"
746
-
747
- #: admin.inc.php:1031
748
- #, fuzzy
749
- msgid "Views"
750
- msgstr "Totale Weergaves / Weergaves van Vandaag"
751
-
752
- #: admin.inc.php:1217
753
- #, fuzzy
754
- msgid "Visit count:"
755
- msgstr "Reset telling"
756
-
757
- #: admin.inc.php:1219
758
- msgid ""
759
- "Enter a number above to update the visit count. Leaving the above box blank "
760
- "will set the count to zero"
761
- msgstr ""
762
-
763
- #: admin.inc.php:1229
764
- msgid "Location of thumbnail:"
765
- msgstr ""
766
-
767
- #: admin.inc.php:1231
768
- msgid ""
769
- "Enter the full URL to the image (JPG, PNG or GIF) you'd like to use. This "
770
- "image will be used for the post. It will be resized to the thumbnail size "
771
- "set under Settings &raquo; Related Posts &raquo; Output Options"
772
- msgstr ""
773
-
774
- #: admin.inc.php:1232
775
- msgid "The URL above is saved in the meta field: "
776
- msgstr ""
777
 
778
- #: top-10.php:456
779
- msgid " by "
780
- msgstr ""
781
 
782
- #: top-10.php:550
783
  #, fuzzy
784
  msgid "Popular Posts [Top 10]"
785
  msgstr "Populaire Berichten"
786
 
787
- #: top-10.php:551
788
  #, fuzzy
789
  msgid "Display popular posts"
790
  msgstr "Dagelijkse Populaire Berichten"
791
 
792
- #: top-10.php:577
793
  msgid "Title"
794
  msgstr ""
795
 
796
- #: top-10.php:582
797
  msgid "No. of posts"
798
  msgstr ""
799
 
800
- #: top-10.php:587
801
  msgid "Overall"
802
  msgstr ""
803
 
804
- #: top-10.php:588
805
  msgid "Custom time period (Enter below)"
806
  msgstr ""
807
 
808
- #: top-10.php:593
809
- msgid "Range in number of days (applies only to custom option above)"
810
  msgstr ""
811
 
812
- #: top-10.php:598
 
 
 
 
 
 
 
 
813
  #, fuzzy
814
  msgid "Show count?"
815
  msgstr "Laat bericht samenvatting zien in lijst?"
816
 
817
- #: top-10.php:603
818
  #, fuzzy
819
  msgid "Show excerpt?"
820
  msgstr "Laat bericht samenvatting zien in lijst?"
821
 
822
- #: top-10.php:608
823
  #, fuzzy
824
  msgid "Show author?"
825
  msgstr "Laat bericht samenvatting zien in lijst?"
826
 
827
- #: top-10.php:613
828
  #, fuzzy
829
  msgid "Show date?"
830
  msgstr "Laat bericht samenvatting zien in lijst?"
831
 
832
- #: top-10.php:617
833
- #, fuzzy
834
- msgid "Thumbnail options"
835
- msgstr "Bericht miniatuurafbeelding opties:"
836
-
837
- #: top-10.php:619
838
  #, fuzzy
839
  msgid "Thumbnails inline, before title"
840
  msgstr "Laat miniatuurafbeeldingen in lijn zien met berichten"
841
 
842
- #: top-10.php:620
843
  #, fuzzy
844
  msgid "Thumbnails inline, after title"
845
  msgstr "Laat miniatuurafbeeldingen in lijn zien met berichten"
846
 
847
- #: top-10.php:621
848
  #, fuzzy
849
  msgid "Only thumbnails, no text"
850
  msgstr "Geef alleen miniatuurafbeeldingen weer, geen text"
851
 
852
- #: top-10.php:622
853
  #, fuzzy
854
  msgid "No thumbnails, only text."
855
  msgstr "Geef geen miniatuurafbeeldingen weer, alleen text"
856
 
857
- #: top-10.php:627
858
  #, fuzzy
859
  msgid "Thumbnail height"
860
  msgstr "Bericht miniatuurafbeelding opties:"
861
 
862
- #: top-10.php:632
863
  #, fuzzy
864
  msgid "Thumbnail width"
865
  msgstr "Bericht miniatuurafbeelding opties:"
866
 
867
- #: top-10.php:772
 
 
 
 
 
 
 
 
 
868
  msgid "<h3>Popular Posts</h3>"
869
  msgstr "<h3>Populaire Berichten</h3>"
870
 
871
- #: top-10.php:773
872
  msgid "<h3>Daily Popular</h3>"
873
  msgstr "<h3>Dagelijks Populair</h3>"
874
 
875
- #: top-10.php:774
876
  #, fuzzy
877
  msgid "No top posts yet"
878
  msgstr "Reset Top 10 populaire berichten"
879
 
880
- #: top-10.php:1245
881
  msgid "Once Weekly"
882
  msgstr ""
883
 
884
- #: top-10.php:1249
885
  msgid "Once Fortnightly"
886
  msgstr ""
887
 
888
- #: top-10.php:1253
889
  msgid "Once Monthly"
890
  msgstr ""
891
 
892
- #: top-10.php:1323
893
- msgid "Settings"
894
- msgstr "Instellingen"
895
 
896
- #: top-10.php:1346
897
- msgid "Donate"
898
- msgstr "Doneer"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
899
 
900
  #, fuzzy
901
  #~ msgid "This option uses JavaScript and will increase your page load time"
2
  msgstr ""
3
  "Project-Id-Version: Top 10 v1.6.2\n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2014-12-28 00:58-0000\n"
6
  "PO-Revision-Date: \n"
7
  "Last-Translator: Ajay D'Souza <me@ajaydsouza.com>\n"
8
  "Language-Team: WPPG.me <info@wppg.me>\n"
14
  "X-Poedit-Basepath: ../\n"
15
  "X-Poedit-SourceCharset: utf-8\n"
16
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
17
+ "X-Generator: Poedit 1.7.1\n"
18
  "X-Poedit-SearchPath-0: .\n"
19
 
20
+ #: admin/admin-columns.php:30
21
+ #, fuzzy
22
+ msgid "Total Views"
23
+ msgstr "Totale Weergaves / Weergaves van Vandaag"
24
+
25
+ #: admin/admin-columns.php:33
26
+ #, fuzzy
27
+ msgid "Today's Views"
28
+ msgstr "Totale Weergaves / Weergaves van Vandaag"
29
+
30
+ #: admin/admin-columns.php:36
31
+ #, fuzzy
32
+ msgid "Views"
33
+ msgstr "Totale Weergaves / Weergaves van Vandaag"
34
+
35
+ #: admin/admin-dashboard.php:72
36
+ #, php-format
37
+ msgid "Results %1$s to %2$s of %3$s"
38
+ msgstr ""
39
+
40
+ #: admin/admin-dashboard.php:76
41
+ #, php-format
42
+ msgid "Page %s of %s"
43
+ msgstr ""
44
+
45
+ #: admin/admin-dashboard.php:88
46
+ msgid "View Daily Popular Posts"
47
+ msgstr "Bekijk de Dagelijkse Populaire Berichten"
48
+
49
+ #: admin/admin-dashboard.php:91 admin/admin-dashboard.php:104
50
+ msgid "Results per-page:"
51
+ msgstr "Resultaten per pagina:"
52
+
53
+ #: admin/admin-dashboard.php:101
54
+ msgid "View Overall Popular Posts"
55
+ msgstr "Bekijk het Totaal Populaire Berichten"
56
+
57
+ #: admin/admin-dashboard.php:130
58
+ msgid "Previous"
59
+ msgstr "Vorige"
60
+
61
+ #: admin/admin-dashboard.php:158
62
+ msgid "Next"
63
+ msgstr "Volgende"
64
+
65
+ #: admin/admin-dashboard.php:200 admin/admin.php:1145
66
+ msgid "Popular Posts"
67
+ msgstr "Populaire Berichten"
68
+
69
+ #: admin/admin-dashboard.php:205
70
+ msgid "Daily Popular"
71
+ msgstr "Dagelijks Populair"
72
+
73
+ #: admin/admin-metabox.php:38 admin/admin.php:1234
74
+ msgid "Top 10"
75
+ msgstr "Top 10"
76
+
77
+ #: admin/admin-metabox.php:71
78
+ #, fuzzy
79
+ msgid "Visit count:"
80
+ msgstr "Reset telling"
81
+
82
+ #: admin/admin-metabox.php:73
83
+ msgid ""
84
+ "Enter a number above to update the visit count. Leaving the above box blank "
85
+ "will set the count to zero"
86
+ msgstr ""
87
+
88
+ #: admin/admin-metabox.php:83
89
+ msgid "Location of thumbnail:"
90
+ msgstr ""
91
+
92
+ #: admin/admin-metabox.php:85
93
+ msgid ""
94
+ "Enter the full URL to the image (JPG, PNG or GIF) you'd like to use. This "
95
+ "image will be used for the post. It will be resized to the thumbnail size "
96
+ "set under Settings &raquo; Related Posts &raquo; Output Options"
97
+ msgstr ""
98
+
99
+ #: admin/admin-metabox.php:86
100
+ msgid "The URL above is saved in the meta field: "
101
+ msgstr ""
102
+
103
+ #: admin/admin.php:160
104
  msgid "Options saved successfully."
105
  msgstr "Opties succesvol opgeslagen."
106
 
107
+ #: admin/admin.php:170
108
  msgid "Options set to Default."
109
  msgstr "Opties ingesteld op Standaard."
110
 
111
+ #: admin/admin.php:176
112
  msgid "Top 10 popular posts reset"
113
  msgstr "Reset Top 10 populaire berichten"
114
 
115
+ #: admin/admin.php:182
116
  msgid "Top 10 daily popular posts reset"
117
  msgstr "Reset Top 10 dagelijkse populaire berichten"
118
 
119
+ #: admin/admin.php:189
120
  msgid "Duplicate rows cleaned from tables"
121
  msgstr ""
122
 
123
+ #: admin/admin.php:201
124
  msgid "Scheduled maintenance enabled / modified"
125
  msgstr ""
126
 
127
+ #: admin/admin.php:205
128
  msgid "Scheduled maintenance disabled"
129
  msgstr ""
130
 
131
+ #: admin/admin.php:244
132
+ msgid "Counts from selected sites have been imported."
 
133
  msgstr ""
134
 
135
+ #: admin/admin.php:269
136
+ msgid ""
137
+ "Selected tables have been deleted. Note that only imported tables have been "
138
+ "deleted."
139
  msgstr ""
140
 
141
+ #: admin/admin.php:277 admin/admin.php:1234 admin/admin.php:1237
142
+ #, fuzzy
143
+ msgid "Top 10 Settings"
144
+ msgstr "Instellingen"
145
 
146
+ #: admin/admin.php:289 admin/admin.php:311
147
+ msgid "General options"
148
  msgstr ""
149
 
150
+ #: admin/admin.php:290 admin/admin.php:373
151
+ msgid "Counter and tracker options"
152
  msgstr ""
153
 
154
+ #: admin/admin.php:291 admin/admin.php:478
155
+ msgid "Popular post list options"
 
 
 
156
  msgstr ""
157
 
158
+ #: admin/admin.php:292 admin/admin.php:681
159
+ #: includes/class-top-10-widget.php:103
160
+ #, fuzzy
161
+ msgid "Thumbnail options"
162
+ msgstr "Bericht miniatuurafbeelding opties:"
163
 
164
+ #: admin/admin.php:293
165
+ msgid "Custom styles"
 
 
166
  msgstr ""
167
 
168
+ #: admin/admin.php:294 admin/admin.php:912
169
+ msgid "Maintenance"
170
+ msgstr ""
171
 
172
+ #: admin/admin.php:310 admin/admin.php:372 admin/admin.php:477
173
+ #: admin/admin.php:680 admin/admin.php:843 admin/admin.php:911
174
+ #: admin/admin.php:975 admin/admin.php:996 admin/admin.php:1176
175
+ #: admin/admin.php:1196 admin/admin.php:1206
176
+ msgid "Click to toggle"
177
  msgstr ""
178
 
179
+ #: admin/admin.php:327
180
+ msgid "Enable Overall stats"
181
  msgstr ""
182
 
183
+ #: admin/admin.php:333
184
+ msgid "Enable Daily stats"
185
  msgstr ""
186
 
187
+ #: admin/admin.php:339
188
+ msgid "Cache fix:"
189
  msgstr ""
190
 
191
+ #: admin/admin.php:342
192
+ msgid ""
193
+ "This will try to prevent W3 Total Cache and other caching plugins from "
194
+ "caching the tracker script of the plugin. Try toggling this option in case "
195
+ "you find that your posts are not tracked."
196
+ msgstr ""
197
+
198
+ #: admin/admin.php:346
199
+ msgid "Link to Top 10 plugin page"
200
  msgstr ""
201
 
202
+ #: admin/admin.php:349
203
+ #, fuzzy
204
  msgid ""
205
+ "A link to the plugin is added as an extra list item to the list of popular "
206
+ "posts"
 
207
  msgstr ""
208
+ "Een link naar de plugin is toegevoegd als een exta item aan de lijst met "
209
+ "populaire berichten. Het is niet verplicht, maar wordt ten zeerste "
210
+ "gewaardeerd!"
211
 
212
+ #: admin/admin.php:354 admin/admin.php:459 admin/admin.php:662
213
+ #: admin/admin.php:825 admin/admin.php:891 admin/admin.php:968
214
+ #, fuzzy
215
+ msgid "Save Options"
216
+ msgstr "Opties:"
217
+
218
+ #: admin/admin.php:389
219
  #, fuzzy
220
  msgid "Display number of views on:"
221
  msgstr "Geef het aantal berichtweergaves weer?"
222
 
223
+ #: admin/admin.php:391
224
  msgid "Posts"
225
  msgstr ""
226
 
227
+ #: admin/admin.php:392
228
  #, fuzzy
229
  msgid "Pages"
230
  msgstr "Pagina"
231
 
232
+ #: admin/admin.php:393
233
  msgid "Home page"
234
  msgstr ""
235
 
236
+ #: admin/admin.php:394
237
  msgid "Feeds"
238
  msgstr ""
239
 
240
+ #: admin/admin.php:395
241
  msgid "Category archives"
242
  msgstr ""
243
 
244
+ #: admin/admin.php:396
245
  msgid "Tag archives"
246
  msgstr ""
247
 
248
+ #: admin/admin.php:397
249
  msgid "Other archives"
250
  msgstr ""
251
 
252
+ #: admin/admin.php:398
253
  msgid ""
254
  "If you choose to disable this, please add <code>&lt;?php if "
255
  "( function_exists ( 'echo_tptn_post_count' ) ) echo_tptn_post_count(); ?&gt;"
256
  "</code> to your template file where you want it displayed"
257
  msgstr ""
258
 
259
+ #: admin/admin.php:402
260
+ #, fuzzy
261
+ msgid "Format to display the post views:"
262
+ msgstr "Formaat om de optelling te laten zien:"
263
+
264
+ #: admin/admin.php:405
265
+ msgid ""
266
+ "Use <code>%totalcount%</code> to display the total count, <code>%dailycount"
267
+ "%</code> to display the daily count and <code>%overallcount%</code> to "
268
+ "display the overall count across all posts on the blog. e.g. the default "
269
+ "options displays <code>[Visited 123 times, 23 visits today]</code>"
270
+ msgstr ""
271
+
272
+ #: admin/admin.php:409
273
+ msgid "What do display when there are no visits?"
274
+ msgstr ""
275
+
276
+ #: admin/admin.php:412
277
+ msgid ""
278
+ "This text applies only when there are 0 hits for the post and it isn't a "
279
+ "single page. e.g. if you display post views on the homepage or archives then "
280
+ "this text will be used. To override this, just enter the same text as above "
281
+ "option."
282
+ msgstr ""
283
+
284
+ #: admin/admin.php:416
285
  msgid "Always display latest post count"
286
  msgstr ""
287
 
288
+ #: admin/admin.php:419
289
  msgid ""
290
  "This option uses JavaScript and will increase your page load time. Turn this "
291
  "off if you are not using caching plugins or are OK with displaying older "
292
  "cached counts."
293
  msgstr ""
294
 
295
+ #: admin/admin.php:423
296
  msgid "Track visits of authors on their own posts?"
297
  msgstr "Registreer bezoeken van auteurs aan hun eigen berichten?"
298
 
299
+ #: admin/admin.php:426
300
  msgid ""
301
  "Disabling this option will stop authors visits tracked on their own posts"
302
  msgstr ""
303
 
304
+ #: admin/admin.php:430
305
  #, fuzzy
306
  msgid "Track visits of admins?"
307
  msgstr "Registreer bezoeken van auteurs aan hun eigen berichten?"
308
 
309
+ #: admin/admin.php:433
310
  msgid "Disabling this option will stop admin visits being tracked."
311
  msgstr ""
312
 
313
+ #: admin/admin.php:437
314
  #, fuzzy
315
  msgid "Track visits of Editors?"
316
  msgstr "Registreer bezoeken van auteurs aan hun eigen berichten?"
317
 
318
+ #: admin/admin.php:440
319
  msgid "Disabling this option will stop editor visits being tracked."
320
  msgstr ""
321
 
322
+ #: admin/admin.php:444
323
  msgid "Display page views on Posts and Pages in Admin"
324
  msgstr ""
325
 
326
+ #: admin/admin.php:447
327
  msgid ""
328
  "Adds three columns called Total Views, Today's Views and Views to All Posts "
329
  "and All Pages"
330
  msgstr ""
331
 
332
+ #: admin/admin.php:451
333
  #, fuzzy
334
  msgid "Show number of views to non-admins"
335
  msgstr "Geef het aantal paginaweergaves weer?"
336
 
337
+ #: admin/admin.php:454
338
  msgid ""
339
  "If you disable this then non-admins won't see the above columns or view the "
340
  "independent pages with the top posts"
341
  msgstr ""
342
 
343
+ #: admin/admin.php:494
344
+ msgid "Number of popular posts to display: "
345
+ msgstr "Aantal populaire berichten om weer te geven:"
346
 
347
+ #: admin/admin.php:497
 
348
  msgid ""
349
+ "Maximum number of posts that will be displayed in the list. This option is "
350
+ "used if you don't specify the number of posts in the widget or shortcodes"
351
  msgstr ""
 
 
 
352
 
353
+ #: admin/admin.php:501
354
+ msgid "Daily popular contains top posts over:"
355
+ msgstr ""
 
356
 
357
+ #: admin/admin.php:503
358
+ msgid "day(s)"
359
+ msgstr ""
 
360
 
361
+ #: admin/admin.php:504
362
+ msgid "hour(s)"
363
+ msgstr ""
364
+
365
+ #: admin/admin.php:505
366
  msgid ""
367
+ "Think of Daily Popular has a custom date range applied as a global setting. "
368
+ "Instead of displaying popular posts from the past day, this setting lets you "
369
+ "display posts for as many days or as few hours as you want. This can be "
370
+ "overridden in the widget."
371
  msgstr ""
 
 
 
372
 
373
+ #: admin/admin.php:509
374
+ msgid "Post types to include in results (including custom post types)"
375
+ msgstr ""
376
+
377
+ #: admin/admin.php:521
378
+ msgid "List of post or page IDs to exclude from the results: "
379
  msgstr ""
380
 
381
+ #: admin/admin.php:523 admin/admin.php:630
382
+ msgid "Enter comma separated list of IDs. e.g. 188,320,500"
383
+ msgstr ""
384
+
385
+ #: admin/admin.php:527
386
+ msgid "Exclude Categories: "
387
+ msgstr ""
388
+
389
+ #: admin/admin.php:542
390
  msgid ""
391
+ "Comma separated list of category slugs. The field above has an autocomplete "
392
+ "so simply start typing in the starting letters and it will prompt you with "
393
+ "options"
 
394
  msgstr ""
395
 
396
+ #: admin/admin.php:547
397
  msgid "Title of popular posts: "
398
  msgstr "Titel van populaire berichten:"
399
 
400
+ #: admin/admin.php:553
401
  msgid "Title of daily popular posts: "
402
  msgstr "Titel van dagelijkse populaire berichten:"
403
 
404
+ #: admin/admin.php:559
405
  msgid "When there are no posts, what should be shown?"
406
  msgstr ""
407
 
408
+ #: admin/admin.php:563
409
  msgid "Blank Output"
410
  msgstr ""
411
 
412
+ #: admin/admin.php:567
413
  msgid "Display:"
414
  msgstr ""
415
 
416
+ #: admin/admin.php:572
417
  msgid "Show post excerpt in list?"
418
  msgstr "Laat bericht samenvatting zien in lijst?"
419
 
420
+ #: admin/admin.php:578
421
  msgid "Length of excerpt (in words): "
422
  msgstr "Lengte van de samenvatting (in woorden):"
423
 
424
+ #: admin/admin.php:584
425
  #, fuzzy
426
  msgid "Show post author in list?"
427
  msgstr "Laat bericht samenvatting zien in lijst?"
428
 
429
+ #: admin/admin.php:590
430
  #, fuzzy
431
  msgid "Show post date in list?"
432
  msgstr "Laat bericht samenvatting zien in lijst?"
433
 
434
+ #: admin/admin.php:596
435
  msgid "Limit post title length (in characters)"
436
  msgstr ""
437
 
438
+ #: admin/admin.php:602
439
  #, fuzzy
440
  msgid "Show view count in list?"
441
  msgstr "Laat bericht samenvatting zien in lijst?"
442
 
443
+ #: admin/admin.php:608
444
  msgid "Always display latest post count in the daily lists?"
445
  msgstr ""
446
 
447
+ #: admin/admin.php:611
448
  msgid ""
449
  "This option uses JavaScript and will increase your page load time. When you "
450
  "enable this option, the daily widget will not use the options set there, but "
451
  "options will need to be set on this screen."
452
  msgstr ""
453
 
454
+ #: admin/admin.php:615
455
  msgid "Open links in new window"
456
  msgstr ""
457
 
458
+ #: admin/admin.php:621
459
  msgid "Add nofollow attribute to links in the list"
460
  msgstr ""
461
 
462
+ #: admin/admin.php:627
463
  msgid "Exclude display of related posts on these posts / pages"
464
  msgstr ""
465
 
466
+ #: admin/admin.php:634
467
  #, fuzzy
468
  msgid "Customise the list HTML"
469
  msgstr "Aanpassen van de output:"
470
 
471
+ #: admin/admin.php:637
472
  msgid "HTML to display before the list of posts: "
473
  msgstr "Te weergeven HTML voor de lijst met berichten:"
474
 
475
+ #: admin/admin.php:643
476
  msgid "HTML to display before each list item: "
477
  msgstr "Te weergeven HTML voor elk lijst item:"
478
 
479
+ #: admin/admin.php:649
480
  msgid "HTML to display after each list item: "
481
  msgstr "Te weergeven HTML na elk lijst item:"
482
 
483
+ #: admin/admin.php:655
484
  msgid "HTML to display after the list of posts: "
485
  msgstr "Te weergeven HTML na de lijst met berichten:"
486
 
487
+ #: admin/admin.php:696
 
 
 
 
488
  msgid "Location of post thumbnail:"
489
  msgstr ""
490
 
491
+ #: admin/admin.php:700
492
  #, fuzzy
493
  msgid "Display thumbnails inline with posts, before title"
494
  msgstr "Laat miniatuurafbeeldingen in lijn zien met berichten"
495
 
496
+ #: admin/admin.php:705
497
  #, fuzzy
498
  msgid "Display thumbnails inline with posts, after title"
499
  msgstr "Laat miniatuurafbeeldingen in lijn zien met berichten"
500
 
501
+ #: admin/admin.php:710
502
  msgid "Display only thumbnails, no text"
503
  msgstr "Geef alleen miniatuurafbeeldingen weer, geen text"
504
 
505
+ #: admin/admin.php:715
506
  msgid "Do not display thumbnails, only text."
507
  msgstr "Geef geen miniatuurafbeeldingen weer, alleen text"
508
 
509
+ #: admin/admin.php:719
510
+ msgid "Thumbnail size:"
511
+ msgstr ""
512
+
513
+ #: admin/admin.php:743
514
+ msgid "Custom size"
515
+ msgstr ""
516
+
517
+ #: admin/admin.php:746
518
+ msgid ""
519
+ "You can choose from existing image sizes above or create a custom size. If "
520
+ "you have chosen Custom size above, then enter the width, height and crop "
521
+ "settings below. For best results, use a cropped image."
522
+ msgstr ""
523
+
524
+ #: admin/admin.php:747
525
+ msgid ""
526
+ "If you change the width and/or height below, existing images will not be "
527
+ "automatically resized."
528
+ msgstr ""
529
+
530
+ #: admin/admin.php:748
531
+ #, php-format
532
+ msgid ""
533
+ "I recommend using <a href='%s' target='_blank'>Force Regenerate Thumbnails</"
534
+ "a> or <a href='%s' target='_blank'>Force Regenerate Thumbnails</a> to "
535
+ "regenerate all image sizes."
536
  msgstr ""
537
 
538
+ #: admin/admin.php:751
539
+ msgid "Width of custom thumbnail:"
540
  msgstr ""
541
 
542
+ #: admin/admin.php:756
543
+ msgid "Height of custom thumbnail"
544
+ msgstr ""
545
+
546
+ #: admin/admin.php:761
547
+ msgid "Crop mode:"
548
+ msgstr ""
549
+
550
+ #: admin/admin.php:765
551
+ msgid ""
552
+ "By default, thumbnails will be proportionately cropped. Check this box to "
553
+ "hard crop the thumbnails."
554
+ msgstr ""
555
+
556
+ #: admin/admin.php:766
557
+ #, php-format
558
+ msgid "<a href='%s' target='_blank'>Difference between soft and hard crop</a>"
559
+ msgstr ""
560
+
561
+ #: admin/admin.php:768
562
+ msgid ""
563
+ "Since you're using the default styles set under the Custom Styles section, "
564
+ "the width and height is fixed at 65px and crop mode is enabled."
565
+ msgstr ""
566
+
567
+ #: admin/admin.php:773
568
  msgid "Style attributes / Width and Height HTML attributes:"
569
  msgstr ""
570
 
571
+ #: admin/admin.php:777
572
  msgid "Style attributes are used for width and height."
573
  msgstr ""
574
 
575
+ #: admin/admin.php:782
576
  msgid "HTML width and height attributes are used for width and height."
577
  msgstr ""
578
 
579
+ #: admin/admin.php:786
580
  msgid "Use timthumb to generate thumbnails? "
581
  msgstr ""
582
 
583
+ #: admin/admin.php:789
584
  msgid ""
585
  "If checked, <a href=\"http://www.binarymoon.co.uk/projects/timthumb/\" "
586
  "target=\"_blank\">timthumb</a> will be used to generate thumbnails"
587
  msgstr ""
588
 
589
+ #: admin/admin.php:792
590
  msgid "Quality of thumbnails generated by timthumb:"
591
  msgstr ""
592
 
593
+ #: admin/admin.php:795
594
  msgid ""
595
  "Enter values between 0 and 100 only. 100 is highest quality and the highest "
596
  "file size. Suggested maximum value is 95. Default is 75."
597
  msgstr ""
598
 
599
+ #: admin/admin.php:798
600
  #, fuzzy
601
  msgid "Post thumbnail meta field name: "
602
  msgstr "Bericht miniatuurafbeelding opties:"
603
 
604
+ #: admin/admin.php:801
605
  msgid ""
606
  "The value of this field should contain the image source and is set in the "
607
  "<em>Add New Post</em> screen"
608
  msgstr ""
609
 
610
+ #: admin/admin.php:804
611
  #, fuzzy
612
  msgid ""
613
  "If the postmeta is not set, then should the plugin extract the first image "
618
  "vertragen wanneer de eerste afbeelding in de gerelateerde berichten groot is "
619
  "qua bestandsgrootte"
620
 
621
+ #: admin/admin.php:807
622
  #, fuzzy
623
  msgid ""
624
  "This could slow down the loading of your page if the first image in the "
629
  "vertragen wanneer de eerste afbeelding in de gerelateerde berichten groot is "
630
  "qua bestandsgrootte"
631
 
632
+ #: admin/admin.php:810
633
  msgid "Use default thumbnail? "
634
  msgstr ""
635
 
636
+ #: admin/admin.php:813
637
  msgid ""
638
  "If checked, when no thumbnail is found, show a default one from the URL "
639
  "below. If not checked and no thumbnail is found, no image will be shown."
640
  msgstr ""
641
 
642
+ #: admin/admin.php:816
643
  msgid "Default thumbnail: "
644
  msgstr ""
645
 
646
+ #: admin/admin.php:820
647
  #, fuzzy
648
  msgid ""
649
  "The plugin will first check if the post contains a thumbnail. If it doesn't "
655
  "veld controleren. Als dit veld niet beschikbaar is toont de plugin de "
656
  "standaard afbeelding zoals hieronder aangegeven:"
657
 
658
+ #: admin/admin.php:844
659
  msgid "Custom CSS"
660
  msgstr ""
661
 
662
+ #: admin/admin.php:859
663
  msgid "Use default style included in the plugin?"
664
  msgstr ""
665
 
666
+ #: admin/admin.php:862
667
  msgid ""
668
  "Top 10 includes a default style that makes your popular posts list to look "
669
+ "beautiful. Check the box above if you want to use this."
670
+ msgstr ""
671
+
672
+ #: admin/admin.php:863
673
+ msgid ""
674
+ "Enabling this option will turn on the thumbnails and set their width and "
675
+ "height to 65px. It will also turn off the display of the author, excerpt and "
676
+ "date if already enabled. Disabling this option will not revert any settings."
677
  msgstr ""
678
 
679
+ #: admin/admin.php:864
680
+ #, php-format
681
+ msgid ""
682
+ "You can view the default style at <a href=\"%1$s\" target=\"_blank\">%1$s</a>"
683
+ msgstr ""
684
+
685
+ #: admin/admin.php:867
686
  msgid "Custom CSS to add to header:"
687
  msgstr ""
688
 
689
+ #: admin/admin.php:872
690
  msgid ""
691
  "Do not include <code>style</code> tags. Check out the <a href=\"http://"
692
  "wordpress.org/extend/plugins/top-10/faq/\" target=\"_blank\">FAQ</a> for "
693
  "available CSS classes to style."
694
  msgstr ""
695
 
696
+ #: admin/admin.php:892
 
 
 
 
 
697
  #, fuzzy
698
  msgid "Default Options"
699
  msgstr "Output Opties:"
700
 
701
+ #: admin/admin.php:892
702
  msgid "Do you want to set options to Default?"
703
  msgstr "Wil je de opties terugzetten naar standaard?"
704
 
705
+ #: admin/admin.php:916
 
 
 
 
706
  msgid ""
707
  "Over time the Daily Top 10 database grows in size, which reduces the "
708
  "performance of the plugin. Cleaning the database at regular intervals could "
710
  "will automatically delete entries older than 90 days."
711
  msgstr ""
712
 
713
+ #: admin/admin.php:917
714
  msgid ""
715
  "Note: When scheduled maintenance is enabled, WordPress will run the cron job "
716
  "everytime the job is rescheduled (i.e. you change the settings below)."
717
  msgstr ""
718
 
719
+ #: admin/admin.php:920
720
  msgid "Enable scheduled maintenance of daily tables:"
721
  msgstr ""
722
 
723
+ #: admin/admin.php:924
724
  msgid "Time to run maintenance"
725
  msgstr ""
726
 
727
+ #: admin/admin.php:925
728
  msgid "hrs"
729
  msgstr ""
730
 
731
+ #: admin/admin.php:925
732
  msgid "min"
733
  msgstr ""
734
 
735
+ #: admin/admin.php:927
736
  msgid "How often should the maintenance be run:"
737
  msgstr ""
738
 
739
+ #: admin/admin.php:931
740
  msgid "Daily"
741
  msgstr ""
742
 
743
+ #: admin/admin.php:935
744
  msgid "Weekly"
745
  msgstr ""
746
 
747
+ #: admin/admin.php:939
748
  msgid "Fortnightly"
749
  msgstr ""
750
 
751
+ #: admin/admin.php:943
752
  msgid "Monthly"
753
  msgstr ""
754
 
755
+ #: admin/admin.php:952
756
  msgid "The cron job has been scheduled. Maintenance will run "
757
  msgstr ""
758
 
759
+ #: admin/admin.php:957
760
  msgid "The cron job is missing. Please resave this page to add the job"
761
  msgstr ""
762
 
763
+ #: admin/admin.php:962
764
  msgid "Maintenance is turned off"
765
  msgstr ""
766
 
767
+ #: admin/admin.php:976
768
  msgid "Reset count"
769
  msgstr "Reset telling"
770
 
771
+ #: admin/admin.php:979
772
  msgid ""
773
  "This cannot be reversed. Make sure that your database has been backed up "
774
  "before proceeding"
776
  "Dit kan niet ongedaan worden gemaakt. Zorg ervoor dat je een backup van je "
777
  "database gemaakt hebt voordat je verder gaat"
778
 
779
+ #: admin/admin.php:982
780
  #, fuzzy
781
  msgid "Reset Popular Posts"
782
  msgstr "Populaire Berichten"
783
 
784
+ #: admin/admin.php:982
785
  msgid "Are you sure you want to reset the popular posts?"
786
  msgstr "Ben je er zeker van dat je de populaire berichten wilt resetten?"
787
 
788
+ #: admin/admin.php:983
789
  #, fuzzy
790
  msgid "Reset Daily Popular Posts"
791
  msgstr "Dagelijkse Populaire Berichten"
792
 
793
+ #: admin/admin.php:983
794
  msgid "Are you sure you want to reset the daily popular posts?"
795
  msgstr ""
796
  "Ben je er zeker van dat je de dagelijkse populaire berichten wilt resetten?"
797
 
798
+ #: admin/admin.php:984
799
  msgid "Clear duplicates"
800
  msgstr ""
801
 
802
+ #: admin/admin.php:984
803
  msgid "This will delete the duplicate entries in the tables. Proceed?"
804
  msgstr "Hiermee verwijdert u de dubbele vermeldingen in de tabellen. Doorgaan?"
805
 
806
+ #: admin/admin.php:997
807
+ msgid "WordPress Multisite: Migrate Top 10 v1.x counts to 2.x"
808
+ msgstr ""
809
+
810
+ #: admin/admin.php:1000
811
+ msgid ""
812
+ "If you've been using Top 10 v1.x on multisite, you would have needed to "
813
+ "activate the plugin independently for each site. This would have resulted in "
814
+ "two tables being created for each site in the network. Top 10 v2.x onwards "
815
+ "uses only a single table to record the count, keeping your database clean. "
816
+ "You can use this tool to import the recorded counts from v1.x tables to the "
817
+ "new v2.x table format."
818
+ msgstr ""
819
+
820
+ #: admin/admin.php:1003
821
+ msgid ""
822
+ "If you do not see any tables below, then it means that either all data has "
823
+ "already been imported or no relevant information has been found."
824
+ msgstr ""
825
+
826
+ #: admin/admin.php:1037
827
+ msgid "Blog ID"
828
+ msgstr ""
829
+
830
+ #: admin/admin.php:1040
831
+ msgid "Status"
832
+ msgstr ""
833
+
834
+ #: admin/admin.php:1043
835
+ msgid "Select to import"
836
+ msgstr ""
837
+
838
+ #: admin/admin.php:1053
839
+ msgid "Blog #"
840
+ msgstr ""
841
+
842
+ #: admin/admin.php:1063
843
+ msgid "Not imported"
844
+ msgstr ""
845
+
846
+ #: admin/admin.php:1067
847
+ msgid "Imported"
848
+ msgstr ""
849
+
850
+ #: admin/admin.php:1088
851
+ msgid "Begin import"
852
+ msgstr ""
853
 
854
+ #: admin/admin.php:1089
855
+ msgid "Delete selected tables"
856
+ msgstr ""
857
+
858
+ #: admin/admin.php:1090
859
+ msgid "Delete all imported tables"
860
+ msgstr ""
861
+
862
+ #: admin/admin.php:1147 admin/admin.php:1243
863
  msgid "Daily Popular Posts"
864
  msgstr "Dagelijkse Populaire Berichten"
865
 
866
+ #: admin/admin.php:1177
867
  msgid "Support the development"
868
  msgstr "Ondersteun de ontwikkeling"
869
 
870
+ #: admin/admin.php:1184
871
  msgid "Donation for Top 10"
872
  msgstr ""
873
 
874
+ #: admin/admin.php:1186
875
  msgid "Enter amount in USD: "
876
  msgstr "Voer het bedrag in in USD:"
877
 
878
+ #: admin/admin.php:1190
879
  #, fuzzy
880
  msgid "Send your donation to the author of Top 10"
881
  msgstr "Zend je donatie naar de auteur van "
882
 
883
+ #: admin/admin.php:1197
884
  msgid "Follow me"
885
  msgstr ""
886
 
887
+ #: admin/admin.php:1207
888
  #, fuzzy
889
  msgid "Quick links"
890
  msgstr "Quick links"
891
 
892
+ #: admin/admin.php:1211
893
  #, fuzzy
894
  msgid "Top 10 plugin page"
895
  msgstr "plugin pagina"
896
 
897
+ #: admin/admin.php:1212
898
+ msgid "Top 10 Github page"
899
+ msgstr ""
900
+
901
+ #: admin/admin.php:1213
902
  msgid "Other plugins"
903
  msgstr "Andere plugins"
904
 
905
+ #: admin/admin.php:1214
906
  msgid "Ajay's blog"
907
  msgstr "De blog van Ajay"
908
 
909
+ #: admin/admin.php:1215
910
  msgid "FAQ"
911
  msgstr ""
912
 
913
+ #: admin/admin.php:1216 admin/admin.php:1374
914
  msgid "Support"
915
  msgstr "Ondersteuning"
916
 
917
+ #: admin/admin.php:1217
918
  msgid "Reviews"
919
  msgstr ""
920
 
921
+ #: admin/admin.php:1240
 
 
 
 
 
 
 
 
 
922
  #, fuzzy
923
  msgid "Overall Popular Posts"
924
  msgstr "Bekijk het Totaal Populaire Berichten"
925
 
926
+ #: admin/admin.php:1351
927
+ msgid "Settings"
928
+ msgstr "Instellingen"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
929
 
930
+ #: admin/admin.php:1375
931
+ msgid "Donate"
932
+ msgstr "Doneer"
933
 
934
+ #: includes/class-top-10-widget.php:31
935
  #, fuzzy
936
  msgid "Popular Posts [Top 10]"
937
  msgstr "Populaire Berichten"
938
 
939
+ #: includes/class-top-10-widget.php:32
940
  #, fuzzy
941
  msgid "Display popular posts"
942
  msgstr "Dagelijkse Populaire Berichten"
943
 
944
+ #: includes/class-top-10-widget.php:59
945
  msgid "Title"
946
  msgstr ""
947
 
948
+ #: includes/class-top-10-widget.php:64
949
  msgid "No. of posts"
950
  msgstr ""
951
 
952
+ #: includes/class-top-10-widget.php:69
953
  msgid "Overall"
954
  msgstr ""
955
 
956
+ #: includes/class-top-10-widget.php:70
957
  msgid "Custom time period (Enter below)"
958
  msgstr ""
959
 
960
+ #: includes/class-top-10-widget.php:74
961
+ msgid "In days and hours (applies only to custom option above)"
962
  msgstr ""
963
 
964
+ #: includes/class-top-10-widget.php:76
965
+ msgid "days"
966
+ msgstr ""
967
+
968
+ #: includes/class-top-10-widget.php:79
969
+ msgid "hours"
970
+ msgstr ""
971
+
972
+ #: includes/class-top-10-widget.php:84
973
  #, fuzzy
974
  msgid "Show count?"
975
  msgstr "Laat bericht samenvatting zien in lijst?"
976
 
977
+ #: includes/class-top-10-widget.php:89
978
  #, fuzzy
979
  msgid "Show excerpt?"
980
  msgstr "Laat bericht samenvatting zien in lijst?"
981
 
982
+ #: includes/class-top-10-widget.php:94
983
  #, fuzzy
984
  msgid "Show author?"
985
  msgstr "Laat bericht samenvatting zien in lijst?"
986
 
987
+ #: includes/class-top-10-widget.php:99
988
  #, fuzzy
989
  msgid "Show date?"
990
  msgstr "Laat bericht samenvatting zien in lijst?"
991
 
992
+ #: includes/class-top-10-widget.php:105
 
 
 
 
 
993
  #, fuzzy
994
  msgid "Thumbnails inline, before title"
995
  msgstr "Laat miniatuurafbeeldingen in lijn zien met berichten"
996
 
997
+ #: includes/class-top-10-widget.php:106
998
  #, fuzzy
999
  msgid "Thumbnails inline, after title"
1000
  msgstr "Laat miniatuurafbeeldingen in lijn zien met berichten"
1001
 
1002
+ #: includes/class-top-10-widget.php:107
1003
  #, fuzzy
1004
  msgid "Only thumbnails, no text"
1005
  msgstr "Geef alleen miniatuurafbeeldingen weer, geen text"
1006
 
1007
+ #: includes/class-top-10-widget.php:108
1008
  #, fuzzy
1009
  msgid "No thumbnails, only text."
1010
  msgstr "Geef geen miniatuurafbeeldingen weer, alleen text"
1011
 
1012
+ #: includes/class-top-10-widget.php:113
1013
  #, fuzzy
1014
  msgid "Thumbnail height"
1015
  msgstr "Bericht miniatuurafbeelding opties:"
1016
 
1017
+ #: includes/class-top-10-widget.php:118
1018
  #, fuzzy
1019
  msgid "Thumbnail width"
1020
  msgstr "Bericht miniatuurafbeelding opties:"
1021
 
1022
+ #: top-10.php:866
1023
+ msgid " by "
1024
+ msgstr ""
1025
+
1026
+ #: top-10.php:917
1027
+ #, php-format
1028
+ msgid "Popular posts by <a href=\"%s\" rel=\"nofollow\" %s>Top 10 plugin</a>"
1029
+ msgstr ""
1030
+
1031
+ #: top-10.php:1016
1032
  msgid "<h3>Popular Posts</h3>"
1033
  msgstr "<h3>Populaire Berichten</h3>"
1034
 
1035
+ #: top-10.php:1017
1036
  msgid "<h3>Daily Popular</h3>"
1037
  msgstr "<h3>Dagelijks Populair</h3>"
1038
 
1039
+ #: top-10.php:1018
1040
  #, fuzzy
1041
  msgid "No top posts yet"
1042
  msgstr "Reset Top 10 populaire berichten"
1043
 
1044
+ #: top-10.php:1668
1045
  msgid "Once Weekly"
1046
  msgstr ""
1047
 
1048
+ #: top-10.php:1672
1049
  msgid "Once Fortnightly"
1050
  msgstr ""
1051
 
1052
+ #: top-10.php:1676
1053
  msgid "Once Monthly"
1054
  msgstr ""
1055
 
1056
+ #: top-10.php:1680
1057
+ msgid "Once quarterly"
1058
+ msgstr ""
1059
 
1060
+ #~ msgid "Daily Popular should contain views of how many days? "
1061
+ #~ msgstr "Van hoeveel dagen moet Dagelijks Populair weergaves bevatten ?"
1062
+
1063
+ #, fuzzy
1064
+ #~ msgid "Output options"
1065
+ #~ msgstr "Output Opties:"
1066
+
1067
+ #, fuzzy
1068
+ #~ msgid ""
1069
+ #~ "Use <code>%totalcount%</code> to display the total count, <code>"
1070
+ #~ "%dailycount%</code> to display the daily count and <code>%overallcount%</"
1071
+ #~ "code> to display the overall count across all posts on the blog. e.g. the "
1072
+ #~ "default options displays <code>(Visited 123 times, 23 visits today)</code>"
1073
+ #~ msgstr ""
1074
+ #~ "Gebruik <code>%totalcount%</ code> om de totale telling en <code>"
1075
+ #~ "%dailycount%</ code> om de dagelijkse telling te laten zien. De "
1076
+ #~ "standaardopties geven bijvoorbeeld <code>(123 keer bezocht, 23 bezoeken "
1077
+ #~ "vandaag)</ code> weer."
1078
+
1079
+ #~ msgid "Post thumbnail options:"
1080
+ #~ msgstr "Bericht miniatuurafbeelding opties:"
1081
 
1082
  #, fuzzy
1083
  #~ msgid "This option uses JavaScript and will increase your page load time"
languages/tptn-ro_RO.mo CHANGED
Binary file
languages/tptn-ro_RO.po CHANGED
@@ -2,7 +2,7 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Top 10\n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2014-05-21 21:29-0000\n"
6
  "PO-Revision-Date: \n"
7
  "Last-Translator: Ajay D'Souza <me@ajaydsouza.com>\n"
8
  "Language-Team: Web Geeks\n"
@@ -12,423 +12,598 @@ msgstr ""
12
  "Content-Transfer-Encoding: 8bit\n"
13
  "X-Poedit-KeywordsList: _e;__\n"
14
  "X-Poedit-Basepath: ../\n"
15
- "X-Generator: Poedit 1.6.5\n"
 
16
  "X-Poedit-SearchPath-0: .\n"
17
 
18
- #: admin.inc.php:115
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
19
  msgid "Options saved successfully."
20
  msgstr "Opţiuni salvat cu succes."
21
 
22
- #: admin.inc.php:125
23
  msgid "Options set to Default."
24
  msgstr "Opţiunile setate la valorile implicite."
25
 
26
- #: admin.inc.php:131
27
  msgid "Top 10 popular posts reset"
28
  msgstr "Top 10 populare posturi Resetare"
29
 
30
- #: admin.inc.php:137
31
  msgid "Top 10 daily popular posts reset"
32
  msgstr "Top 10 posturi populare daily Reiniţializare"
33
 
34
- #: admin.inc.php:144
35
  msgid "Duplicate rows cleaned from tables"
36
  msgstr ""
37
 
38
- #: admin.inc.php:156
39
  msgid "Scheduled maintenance enabled / modified"
40
  msgstr ""
41
 
42
- #: admin.inc.php:160
43
  msgid "Scheduled maintenance disabled"
44
  msgstr ""
45
 
46
- #: admin.inc.php:175 admin.inc.php:297 admin.inc.php:458 admin.inc.php:487
47
- #: admin.inc.php:551 admin.inc.php:644 admin.inc.php:664 admin.inc.php:674
48
- msgid "Click to toggle"
49
  msgstr ""
50
 
51
- #: admin.inc.php:176
52
- msgid "General options"
 
 
53
  msgstr ""
54
 
55
- #: admin.inc.php:180
56
- msgid "Enable Overall stats"
57
- msgstr ""
 
58
 
59
- #: admin.inc.php:185
60
- msgid "Enable Daily stats"
61
  msgstr ""
62
 
63
- #: admin.inc.php:190
64
- msgid "W3 Total Cache fix:"
65
  msgstr ""
66
 
67
- #: admin.inc.php:192
68
- msgid ""
69
- "This will try to prevent W3 Total Cache from caching the addcount script of "
70
- "the plugin. Try toggling this option in case you find that our posts are not "
71
- "tracked."
72
  msgstr ""
73
 
74
- #: admin.inc.php:196
75
- msgid "Number of popular posts to display: "
76
- msgstr "Numărul de posturi populare pentru a afişa: "
 
 
77
 
78
- #: admin.inc.php:198
79
- msgid ""
80
- "Maximum number of posts that will be displayed in the list. This option is "
81
- "used if you don't specify the number of posts in the widget or shortcodes"
82
  msgstr ""
83
 
84
- #: admin.inc.php:202
85
- msgid "Daily Popular should contain views of how many days? "
86
- msgstr "Popular de zi cu zi ar trebui să conțină vizualizări de câte zile? "
87
 
88
- #: admin.inc.php:204
89
- msgid ""
90
- "Instead of displaying popular posts fromt he past day, this setting lets you "
91
- "display posts for as many days as you want. This can be overridden in the "
92
- "widget."
93
  msgstr ""
94
 
95
- #: admin.inc.php:207
96
- msgid "Post types to include in results (including custom post types)"
97
  msgstr ""
98
 
99
- #: admin.inc.php:218
100
- msgid "List of post or page IDs to exclude from the results: "
101
  msgstr ""
102
 
103
- #: admin.inc.php:220 admin.inc.php:361
104
- msgid "Enter comma separated list of IDs. e.g. 188,320,500"
105
  msgstr ""
106
 
107
- #: admin.inc.php:224
108
- msgid "Exclude Categories: "
109
- msgstr "Excludeţi categorii: "
 
 
 
110
 
111
- #: admin.inc.php:239
 
 
 
 
 
112
  msgid ""
113
- "Comma separated list of category slugs. The field above has an autocomplete "
114
- "so simply start typing in the starting letters and it will prompt you with "
115
- "options"
116
  msgstr ""
 
 
117
 
118
- #: admin.inc.php:244
 
 
 
 
 
 
119
  #, fuzzy
120
  msgid "Display number of views on:"
121
  msgstr "Afişează numărul de vizualizări pe posturi?"
122
 
123
- #: admin.inc.php:246
124
  msgid "Posts"
125
  msgstr ""
126
 
127
- #: admin.inc.php:247
128
  #, fuzzy
129
  msgid "Pages"
130
  msgstr "Pagină"
131
 
132
- #: admin.inc.php:248
133
  msgid "Home page"
134
  msgstr ""
135
 
136
- #: admin.inc.php:249
137
  msgid "Feeds"
138
  msgstr ""
139
 
140
- #: admin.inc.php:250
141
  msgid "Category archives"
142
  msgstr ""
143
 
144
- #: admin.inc.php:251
145
  msgid "Tag archives"
146
  msgstr ""
147
 
148
- #: admin.inc.php:252
149
  msgid "Other archives"
150
  msgstr ""
151
 
152
- #: admin.inc.php:253
153
  msgid ""
154
  "If you choose to disable this, please add <code>&lt;?php if "
155
  "( function_exists ( 'echo_tptn_post_count' ) ) echo_tptn_post_count(); ?&gt;"
156
  "</code> to your template file where you want it displayed"
157
  msgstr ""
158
 
159
- #: admin.inc.php:256
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
160
  msgid "Always display latest post count"
161
  msgstr ""
162
 
163
- #: admin.inc.php:258
164
  msgid ""
165
  "This option uses JavaScript and will increase your page load time. Turn this "
166
  "off if you are not using caching plugins or are OK with displaying older "
167
  "cached counts."
168
  msgstr ""
169
 
170
- #: admin.inc.php:261
171
  msgid "Track visits of authors on their own posts?"
172
  msgstr "Track vizite de autori pe posturile lor proprii?"
173
 
174
- #: admin.inc.php:263
175
  msgid ""
176
  "Disabling this option will stop authors visits tracked on their own posts"
177
  msgstr ""
178
 
179
- #: admin.inc.php:266
180
  #, fuzzy
181
  msgid "Track visits of admins?"
182
  msgstr "Track vizite de autori pe posturile lor proprii?"
183
 
184
- #: admin.inc.php:268
185
  msgid "Disabling this option will stop admin visits being tracked."
186
  msgstr ""
187
 
188
- #: admin.inc.php:271
189
  #, fuzzy
190
  msgid "Track visits of Editors?"
191
  msgstr "Track vizite de autori pe posturile lor proprii?"
192
 
193
- #: admin.inc.php:273
194
  msgid "Disabling this option will stop editor visits being tracked."
195
  msgstr ""
196
 
197
- #: admin.inc.php:276
198
  msgid "Display page views on Posts and Pages in Admin"
199
  msgstr ""
200
 
201
- #: admin.inc.php:279
202
  msgid ""
203
  "Adds three columns called Total Views, Today's Views and Views to All Posts "
204
  "and All Pages"
205
  msgstr ""
206
 
207
- #: admin.inc.php:282
208
  #, fuzzy
209
  msgid "Show number of views to non-admins"
210
  msgstr "Afişează numărul de vizualizări pe pagini?"
211
 
212
- #: admin.inc.php:285
213
  msgid ""
214
  "If you disable this then non-admins won't see the above columns or view the "
215
  "independent pages with the top posts"
216
  msgstr ""
217
 
218
- #: admin.inc.php:288
219
- msgid "Link to Top 10 plugin page"
220
- msgstr ""
221
 
222
- #: admin.inc.php:291
223
- #, fuzzy
224
  msgid ""
225
- "A link to the plugin is added as an extra list item to the list of popular "
226
- "posts"
227
  msgstr ""
228
- "Un link pentru a plugin-ul se adaugă ca un element suplimentar lista la "
229
- "lista de posturi populare. Nu obligatoriu, dar Multumesc dacă tu a face it!"
230
 
231
- #: admin.inc.php:298
232
- #, fuzzy
233
- msgid "Output options"
234
- msgstr "Opţiuni de ieşire:"
235
 
236
- #: admin.inc.php:301
237
- #, fuzzy
238
- msgid "Format to display the post views:"
239
- msgstr "Format pentru a afişa numărul în: "
240
 
241
- #: admin.inc.php:303
242
- #, fuzzy
 
 
 
243
  msgid ""
244
- "Use <code>%totalcount%</code> to display the total count, <code>%dailycount"
245
- "%</code> to display the daily count and <code>%overallcount%</code> to "
246
- "display the overall count across all posts on the blog. e.g. the default "
247
- "options displays <code>(Visited 123 times, 23 visits today)</code>"
248
  msgstr ""
249
- "Utilizaţi <code>% totalcount %</code> pentru a afişa numărul total şi <code>"
250
- "% dailycount %</code> pentru a afişa numărul de zi cu zi. exemplu afişează "
251
- "opţiunile implicite <code>(vizitat 123 ori, 23 vizite azi)</code>"
252
 
253
- #: admin.inc.php:306
254
- msgid "What do display when there are no visits?"
 
 
 
 
255
  msgstr ""
256
 
257
- #: admin.inc.php:308
 
 
 
 
 
 
 
 
258
  msgid ""
259
- "This text applies only when there are 0 hits for the post and it isn't a "
260
- "single page. e.g. if you display post views on the homepage or archives then "
261
- "this text will be used. To override this, just enter the same text as above "
262
- "option."
263
  msgstr ""
264
 
265
- #: admin.inc.php:311
266
  msgid "Title of popular posts: "
267
  msgstr "Titlul de posturi populare: "
268
 
269
- #: admin.inc.php:314
270
  msgid "Title of daily popular posts: "
271
  msgstr "Titlul de zi cu zi de posturi populare: "
272
 
273
- #: admin.inc.php:317
274
  msgid "When there are no posts, what should be shown?"
275
  msgstr ""
276
 
277
- #: admin.inc.php:321
278
  msgid "Blank Output"
279
  msgstr ""
280
 
281
- #: admin.inc.php:325
282
  msgid "Display:"
283
  msgstr ""
284
 
285
- #: admin.inc.php:329
286
  msgid "Show post excerpt in list?"
287
  msgstr "Afişează post extras din lista?"
288
 
289
- #: admin.inc.php:332
290
  msgid "Length of excerpt (in words): "
291
  msgstr "Lungimea extras (în cuvinte): "
292
 
293
- #: admin.inc.php:335
294
  #, fuzzy
295
  msgid "Show post author in list?"
296
  msgstr "Afişează post extras din lista?"
297
 
298
- #: admin.inc.php:338
299
  #, fuzzy
300
  msgid "Show post date in list?"
301
  msgstr "Afişează post extras din lista?"
302
 
303
- #: admin.inc.php:341
304
  msgid "Limit post title length (in characters)"
305
  msgstr ""
306
 
307
- #: admin.inc.php:344
308
  #, fuzzy
309
  msgid "Show view count in list?"
310
  msgstr "Afişează post extras din lista?"
311
 
312
- #: admin.inc.php:347
313
  msgid "Always display latest post count in the daily lists?"
314
  msgstr ""
315
 
316
- #: admin.inc.php:349
317
  msgid ""
318
  "This option uses JavaScript and will increase your page load time. When you "
319
  "enable this option, the daily widget will not use the options set there, but "
320
  "options will need to be set on this screen."
321
  msgstr ""
322
 
323
- #: admin.inc.php:352
324
  msgid "Open links in new window"
325
  msgstr ""
326
 
327
- #: admin.inc.php:355
328
  msgid "Add nofollow attribute to links in the list"
329
  msgstr ""
330
 
331
- #: admin.inc.php:358
332
  msgid "Exclude display of related posts on these posts / pages"
333
  msgstr ""
334
 
335
- #: admin.inc.php:364
336
  #, fuzzy
337
  msgid "Customise the list HTML"
338
  msgstr "Personaliza ieşire:"
339
 
340
- #: admin.inc.php:366
341
  msgid "HTML to display before the list of posts: "
342
  msgstr "HTML pentru a afişa înainte de lista de posturi: "
343
 
344
- #: admin.inc.php:369
345
  msgid "HTML to display before each list item: "
346
  msgstr "HTML pentru a afişa înainte de fiecare element din listă: "
347
 
348
- #: admin.inc.php:372
349
  msgid "HTML to display after each list item: "
350
  msgstr "HTML pentru a afişa după fiecare element din listă: "
351
 
352
- #: admin.inc.php:375
353
  msgid "HTML to display after the list of posts: "
354
  msgstr "HTML pentru a afişa după lista de posturi: "
355
 
356
- #: admin.inc.php:378
357
- msgid "Post thumbnail options:"
358
- msgstr "Post Opţiuni pictograme:"
359
-
360
- #: admin.inc.php:380
361
  msgid "Location of post thumbnail:"
362
  msgstr ""
363
 
364
- #: admin.inc.php:384
365
  msgid "Display thumbnails inline with posts, before title"
366
  msgstr "Afişare miniaturi inline cu posturi, înainte de titlu"
367
 
368
- #: admin.inc.php:388
369
  msgid "Display thumbnails inline with posts, after title"
370
  msgstr "Afişare miniaturi inline cu posturi, după titlul"
371
 
372
- #: admin.inc.php:392
373
  msgid "Display only thumbnails, no text"
374
  msgstr "Afişa numai miniaturi, nici un text"
375
 
376
- #: admin.inc.php:396
377
  msgid "Do not display thumbnails, only text."
378
  msgstr "Nu se afişează miniaturi, numai textul."
379
 
380
- #: admin.inc.php:400
381
- msgid "Width of the thumbnail: "
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
382
  msgstr ""
383
 
384
- #: admin.inc.php:403
385
- msgid "Height of the thumbnail: "
386
  msgstr ""
387
 
388
- #: admin.inc.php:406
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
389
  msgid "Style attributes / Width and Height HTML attributes:"
390
  msgstr ""
391
 
392
- #: admin.inc.php:410
393
  msgid "Style attributes are used for width and height."
394
  msgstr ""
395
 
396
- #: admin.inc.php:414
397
  msgid "HTML width and height attributes are used for width and height."
398
  msgstr ""
399
 
400
- #: admin.inc.php:418
401
  msgid "Use timthumb to generate thumbnails? "
402
  msgstr ""
403
 
404
- #: admin.inc.php:421
405
  msgid ""
406
  "If checked, <a href=\"http://www.binarymoon.co.uk/projects/timthumb/\" "
407
  "target=\"_blank\">timthumb</a> will be used to generate thumbnails"
408
  msgstr ""
409
 
410
- #: admin.inc.php:424
411
  msgid "Quality of thumbnails generated by timthumb:"
412
  msgstr ""
413
 
414
- #: admin.inc.php:427
415
  msgid ""
416
  "Enter values between 0 and 100 only. 100 is highest quality and the highest "
417
  "file size. Suggested maximum value is 95. Default is 75."
418
  msgstr ""
419
 
420
- #: admin.inc.php:430
421
  #, fuzzy
422
  msgid "Post thumbnail meta field name: "
423
  msgstr "Post Opţiuni pictograme:"
424
 
425
- #: admin.inc.php:433
426
  msgid ""
427
  "The value of this field should contain the image source and is set in the "
428
  "<em>Add New Post</em> screen"
429
  msgstr ""
430
 
431
- #: admin.inc.php:436
432
  #, fuzzy
433
  msgid ""
434
  "If the postmeta is not set, then should the plugin extract the first image "
@@ -439,7 +614,7 @@ msgstr ""
439
  "dumneavoastră dacă prima imagine în legate de posturi este mare în mărime "
440
  "fişier"
441
 
442
- #: admin.inc.php:439
443
  #, fuzzy
444
  msgid ""
445
  "This could slow down the loading of your page if the first image in the "
@@ -450,11 +625,11 @@ msgstr ""
450
  "dumneavoastră dacă prima imagine în legate de posturi este mare în mărime "
451
  "fişier"
452
 
453
- #: admin.inc.php:442
454
  msgid "Use default thumbnail? "
455
  msgstr ""
456
 
457
- #: admin.inc.php:445
458
  msgid ""
459
  "If checked, when no thumbnail is found, show a default one from the URL "
460
  "below. If not checked and no thumbnail is found, no image will be shown."
@@ -463,63 +638,65 @@ msgstr ""
463
  "la URL-ul de mai jos. În cazul în care nu a verificat şi este găsit nici un "
464
  "thumbnail, imaginea nu va fi indicat."
465
 
466
- #: admin.inc.php:448
467
  msgid "Default thumbnail: "
468
  msgstr ""
469
 
470
- #: admin.inc.php:452
471
  msgid ""
472
  "The plugin will first check if the post contains a thumbnail. If it doesn't "
473
  "then it will check the meta field. If this is not available, then it will "
474
  "show the default image as specified above"
475
  msgstr ""
476
 
477
- #: admin.inc.php:459
478
  msgid "Custom CSS"
479
  msgstr ""
480
 
481
- #: admin.inc.php:462
482
  msgid "Use default style included in the plugin?"
483
  msgstr ""
484
 
485
- #: admin.inc.php:465
486
  msgid ""
487
  "Top 10 includes a default style that makes your popular posts list to look "
488
- "pretty. Check the box above if you want to use this. You will need to select "
489
- "<strong>Thumbnails inline, before title</strong> in Output Options or in the "
490
- "Widget."
 
 
 
 
 
491
  msgstr ""
492
 
493
- #: admin.inc.php:468
 
 
 
 
 
 
494
  msgid "Custom CSS to add to header:"
495
  msgstr ""
496
 
497
- #: admin.inc.php:471
498
  msgid ""
499
  "Do not include <code>style</code> tags. Check out the <a href=\"http://"
500
  "wordpress.org/extend/plugins/top-10/faq/\" target=\"_blank\">FAQ</a> for "
501
  "available CSS classes to style."
502
  msgstr ""
503
 
504
- #: admin.inc.php:478 admin.inc.php:544
505
- #, fuzzy
506
- msgid "Save Options"
507
- msgstr "Opţiuni:"
508
-
509
- #: admin.inc.php:479
510
  #, fuzzy
511
  msgid "Default Options"
512
  msgstr "Opţiuni de ieşire:"
513
 
514
- #: admin.inc.php:479
515
  msgid "Do you want to set options to Default?"
516
  msgstr "Doriţi să setaţi opţiunile la valorile implicite?"
517
 
518
- #: admin.inc.php:488
519
- msgid "Maintenance"
520
- msgstr ""
521
-
522
- #: admin.inc.php:492
523
  msgid ""
524
  "Over time the Daily Top 10 database grows in size, which reduces the "
525
  "performance of the plugin. Cleaning the database at regular intervals could "
@@ -527,65 +704,65 @@ msgid ""
527
  "will automatically delete entries older than 90 days."
528
  msgstr ""
529
 
530
- #: admin.inc.php:493
531
  msgid ""
532
  "Note: When scheduled maintenance is enabled, WordPress will run the cron job "
533
  "everytime the job is rescheduled (i.e. you change the settings below)."
534
  msgstr ""
535
 
536
- #: admin.inc.php:496
537
  msgid "Enable scheduled maintenance of daily tables:"
538
  msgstr ""
539
 
540
- #: admin.inc.php:500
541
  msgid "Time to run maintenance"
542
  msgstr ""
543
 
544
- #: admin.inc.php:501
545
  msgid "hrs"
546
  msgstr ""
547
 
548
- #: admin.inc.php:501
549
  msgid "min"
550
  msgstr ""
551
 
552
- #: admin.inc.php:503
553
  msgid "How often should the maintenance be run:"
554
  msgstr ""
555
 
556
- #: admin.inc.php:507
557
  msgid "Daily"
558
  msgstr ""
559
 
560
- #: admin.inc.php:511
561
  msgid "Weekly"
562
  msgstr ""
563
 
564
- #: admin.inc.php:515
565
  msgid "Fortnightly"
566
  msgstr ""
567
 
568
- #: admin.inc.php:519
569
  msgid "Monthly"
570
  msgstr ""
571
 
572
- #: admin.inc.php:528
573
  msgid "The cron job has been scheduled. Maintenance will run "
574
  msgstr ""
575
 
576
- #: admin.inc.php:533
577
  msgid "The cron job is missing. Please resave this page to add the job"
578
  msgstr ""
579
 
580
- #: admin.inc.php:538
581
  msgid "Maintenance is turned off"
582
  msgstr ""
583
 
584
- #: admin.inc.php:552
585
  msgid "Reset count"
586
  msgstr "Reiniţializare count"
587
 
588
- #: admin.inc.php:555
589
  msgid ""
590
  "This cannot be reversed. Make sure that your database has been backed up "
591
  "before proceeding"
@@ -593,301 +770,306 @@ msgstr ""
593
  "Acest lucru poate fi inversat. Asiguraţi-vă că baza de date a fost sprijinit "
594
  "înainte de a continua"
595
 
596
- #: admin.inc.php:558
597
  #, fuzzy
598
  msgid "Reset Popular Posts"
599
  msgstr "Posturi populare"
600
 
601
- #: admin.inc.php:558
602
  msgid "Are you sure you want to reset the popular posts?"
603
  msgstr "Sigur reiniţializaţi posturi populare?"
604
 
605
- #: admin.inc.php:559
606
  #, fuzzy
607
  msgid "Reset Daily Popular Posts"
608
  msgstr "Posturi populare de zi cu zi"
609
 
610
- #: admin.inc.php:559
611
  msgid "Are you sure you want to reset the daily popular posts?"
612
  msgstr "Sigur reiniţializaţi posturi populare zilnic?"
613
 
614
- #: admin.inc.php:560
615
  msgid "Clear duplicates"
616
  msgstr ""
617
 
618
- #: admin.inc.php:560
619
  msgid "This will delete the duplicate entries in the tables. Proceed?"
620
  msgstr "Aceasta va şterge intrările dublate în tabele. Continuaţi?"
621
 
622
- #: admin.inc.php:612 admin.inc.php:1010
623
- msgid "Popular Posts"
624
- msgstr "Posturi populare"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
625
 
626
- #: admin.inc.php:614 admin.inc.php:713
 
 
 
 
 
 
 
 
627
  msgid "Daily Popular Posts"
628
  msgstr "Posturi populare de zi cu zi"
629
 
630
- #: admin.inc.php:645
631
  msgid "Support the development"
632
  msgstr "Sprijinirea dezvoltării"
633
 
634
- #: admin.inc.php:652
635
  msgid "Donation for Top 10"
636
  msgstr ""
637
 
638
- #: admin.inc.php:654
639
  msgid "Enter amount in USD: "
640
  msgstr "Introduceţi valoarea în USD: "
641
 
642
- #: admin.inc.php:658
643
  #, fuzzy
644
  msgid "Send your donation to the author of Top 10"
645
  msgstr "Trimite donatie autorului"
646
 
647
- #: admin.inc.php:665
648
  msgid "Follow me"
649
  msgstr ""
650
 
651
- #: admin.inc.php:675
652
  #, fuzzy
653
  msgid "Quick links"
654
  msgstr "Legături rapide pentru"
655
 
656
- #: admin.inc.php:679
657
  #, fuzzy
658
  msgid "Top 10 plugin page"
659
  msgstr "plug-in pagina"
660
 
661
- #: admin.inc.php:680
 
 
 
 
662
  msgid "Other plugins"
663
  msgstr "Alte plugin-uri"
664
 
665
- #: admin.inc.php:681
666
  msgid "Ajay's blog"
667
  msgstr "Ajay's blog"
668
 
669
- #: admin.inc.php:682
670
  msgid "FAQ"
671
  msgstr ""
672
 
673
- #: admin.inc.php:683 top-10.php:1345
674
  msgid "Support"
675
  msgstr "Suport"
676
 
677
- #: admin.inc.php:684
678
  msgid "Reviews"
679
  msgstr ""
680
 
681
- #: admin.inc.php:704 admin.inc.php:707
682
- #, fuzzy
683
- msgid "Top 10 Settings"
684
- msgstr "Setări"
685
-
686
- #: admin.inc.php:704 admin.inc.php:1183
687
- msgid "Top 10"
688
- msgstr "Top 10"
689
-
690
- #: admin.inc.php:710
691
  #, fuzzy
692
  msgid "Overall Popular Posts"
693
  msgstr "Vedere de ansamblu posturi populare"
694
 
695
- #: admin.inc.php:882
696
- #, php-format
697
- msgid "Results %1$s to %2$s of %3$s"
698
- msgstr ""
699
-
700
- #: admin.inc.php:886
701
- #, php-format
702
- msgid "Page %s of %s"
703
- msgstr ""
704
-
705
- #: admin.inc.php:898
706
- msgid "View Daily Popular Posts"
707
- msgstr "Vizualizare zi posturi populare"
708
-
709
- #: admin.inc.php:901 admin.inc.php:914
710
- msgid "Results per-page:"
711
- msgstr "Rezultate pe pagină:"
712
-
713
- #: admin.inc.php:911
714
- msgid "View Overall Popular Posts"
715
- msgstr "Vedere de ansamblu posturi populare"
716
-
717
- #: admin.inc.php:940
718
- msgid "Previous"
719
- msgstr "Anterioară"
720
-
721
- #: admin.inc.php:968
722
- msgid "Next"
723
- msgstr "Următorul"
724
-
725
- #: admin.inc.php:1011
726
- msgid "Daily Popular"
727
- msgstr "Daily populare"
728
-
729
- #: admin.inc.php:1029
730
- #, fuzzy
731
- msgid "Total Views"
732
- msgstr "Total / astăzi lui vizitări"
733
-
734
- #: admin.inc.php:1030
735
- #, fuzzy
736
- msgid "Today's Views"
737
- msgstr "Total / astăzi lui vizitări"
738
-
739
- #: admin.inc.php:1031
740
- #, fuzzy
741
- msgid "Views"
742
- msgstr "Total / astăzi lui vizitări"
743
-
744
- #: admin.inc.php:1217
745
- #, fuzzy
746
- msgid "Visit count:"
747
- msgstr "Reiniţializare count"
748
-
749
- #: admin.inc.php:1219
750
- msgid ""
751
- "Enter a number above to update the visit count. Leaving the above box blank "
752
- "will set the count to zero"
753
- msgstr ""
754
-
755
- #: admin.inc.php:1229
756
- msgid "Location of thumbnail:"
757
- msgstr ""
758
-
759
- #: admin.inc.php:1231
760
- msgid ""
761
- "Enter the full URL to the image (JPG, PNG or GIF) you'd like to use. This "
762
- "image will be used for the post. It will be resized to the thumbnail size "
763
- "set under Settings &raquo; Related Posts &raquo; Output Options"
764
- msgstr ""
765
-
766
- #: admin.inc.php:1232
767
- msgid "The URL above is saved in the meta field: "
768
- msgstr ""
769
 
770
- #: top-10.php:456
771
- msgid " by "
772
- msgstr ""
773
 
774
- #: top-10.php:550
775
  #, fuzzy
776
  msgid "Popular Posts [Top 10]"
777
  msgstr "Posturi populare"
778
 
779
- #: top-10.php:551
780
  #, fuzzy
781
  msgid "Display popular posts"
782
  msgstr "Posturi populare de zi cu zi"
783
 
784
- #: top-10.php:577
785
  msgid "Title"
786
  msgstr ""
787
 
788
- #: top-10.php:582
789
  msgid "No. of posts"
790
  msgstr ""
791
 
792
- #: top-10.php:587
793
  msgid "Overall"
794
  msgstr ""
795
 
796
- #: top-10.php:588
797
  msgid "Custom time period (Enter below)"
798
  msgstr ""
799
 
800
- #: top-10.php:593
801
- msgid "Range in number of days (applies only to custom option above)"
802
  msgstr ""
803
 
804
- #: top-10.php:598
 
 
 
 
 
 
 
 
805
  #, fuzzy
806
  msgid "Show count?"
807
  msgstr "Afişează post extras din lista?"
808
 
809
- #: top-10.php:603
810
  #, fuzzy
811
  msgid "Show excerpt?"
812
  msgstr "Afişează post extras din lista?"
813
 
814
- #: top-10.php:608
815
  #, fuzzy
816
  msgid "Show author?"
817
  msgstr "Afişează post extras din lista?"
818
 
819
- #: top-10.php:613
820
  #, fuzzy
821
  msgid "Show date?"
822
  msgstr "Afişează post extras din lista?"
823
 
824
- #: top-10.php:617
825
- #, fuzzy
826
- msgid "Thumbnail options"
827
- msgstr "Post Opţiuni pictograme:"
828
-
829
- #: top-10.php:619
830
  #, fuzzy
831
  msgid "Thumbnails inline, before title"
832
  msgstr "Afişare miniaturi inline cu posturi, înainte de titlu"
833
 
834
- #: top-10.php:620
835
  #, fuzzy
836
  msgid "Thumbnails inline, after title"
837
  msgstr "Afişare miniaturi inline cu posturi, după titlul"
838
 
839
- #: top-10.php:621
840
  #, fuzzy
841
  msgid "Only thumbnails, no text"
842
  msgstr "Afişa numai miniaturi, nici un text"
843
 
844
- #: top-10.php:622
845
  #, fuzzy
846
  msgid "No thumbnails, only text."
847
  msgstr "Nu se afişează miniaturi, numai textul."
848
 
849
- #: top-10.php:627
850
  #, fuzzy
851
  msgid "Thumbnail height"
852
  msgstr "Post Opţiuni pictograme:"
853
 
854
- #: top-10.php:632
855
  #, fuzzy
856
  msgid "Thumbnail width"
857
  msgstr "Post Opţiuni pictograme:"
858
 
859
- #: top-10.php:772
 
 
 
 
 
 
 
 
 
860
  msgid "<h3>Popular Posts</h3>"
861
  msgstr "<h3>Posturi populare</h3>"
862
 
863
- #: top-10.php:773
864
  msgid "<h3>Daily Popular</h3>"
865
  msgstr "<h3>Daily populare</h3>"
866
 
867
- #: top-10.php:774
868
  #, fuzzy
869
  msgid "No top posts yet"
870
  msgstr "Top 10 populare posturi Resetare"
871
 
872
- #: top-10.php:1245
873
  msgid "Once Weekly"
874
  msgstr ""
875
 
876
- #: top-10.php:1249
877
  msgid "Once Fortnightly"
878
  msgstr ""
879
 
880
- #: top-10.php:1253
881
  msgid "Once Monthly"
882
  msgstr ""
883
 
884
- #: top-10.php:1323
885
- msgid "Settings"
886
- msgstr "Setări"
887
 
888
- #: top-10.php:1346
889
- msgid "Donate"
890
- msgstr "Dona"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
891
 
892
  #~ msgid "Display the posts popular this week"
893
  #~ msgstr "Afişa posturi populare în această săptămână"
2
  msgstr ""
3
  "Project-Id-Version: Top 10\n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2014-12-28 00:58-0000\n"
6
  "PO-Revision-Date: \n"
7
  "Last-Translator: Ajay D'Souza <me@ajaydsouza.com>\n"
8
  "Language-Team: Web Geeks\n"
12
  "Content-Transfer-Encoding: 8bit\n"
13
  "X-Poedit-KeywordsList: _e;__\n"
14
  "X-Poedit-Basepath: ../\n"
15
+ "X-Generator: Poedit 1.7.1\n"
16
+ "X-Poedit-SourceCharset: UTF-8\n"
17
  "X-Poedit-SearchPath-0: .\n"
18
 
19
+ #: admin/admin-columns.php:30
20
+ #, fuzzy
21
+ msgid "Total Views"
22
+ msgstr "Total / astăzi lui vizitări"
23
+
24
+ #: admin/admin-columns.php:33
25
+ #, fuzzy
26
+ msgid "Today's Views"
27
+ msgstr "Total / astăzi lui vizitări"
28
+
29
+ #: admin/admin-columns.php:36
30
+ #, fuzzy
31
+ msgid "Views"
32
+ msgstr "Total / astăzi lui vizitări"
33
+
34
+ #: admin/admin-dashboard.php:72
35
+ #, php-format
36
+ msgid "Results %1$s to %2$s of %3$s"
37
+ msgstr ""
38
+
39
+ #: admin/admin-dashboard.php:76
40
+ #, php-format
41
+ msgid "Page %s of %s"
42
+ msgstr ""
43
+
44
+ #: admin/admin-dashboard.php:88
45
+ msgid "View Daily Popular Posts"
46
+ msgstr "Vizualizare zi posturi populare"
47
+
48
+ #: admin/admin-dashboard.php:91 admin/admin-dashboard.php:104
49
+ msgid "Results per-page:"
50
+ msgstr "Rezultate pe pagină:"
51
+
52
+ #: admin/admin-dashboard.php:101
53
+ msgid "View Overall Popular Posts"
54
+ msgstr "Vedere de ansamblu posturi populare"
55
+
56
+ #: admin/admin-dashboard.php:130
57
+ msgid "Previous"
58
+ msgstr "Anterioară"
59
+
60
+ #: admin/admin-dashboard.php:158
61
+ msgid "Next"
62
+ msgstr "Următorul"
63
+
64
+ #: admin/admin-dashboard.php:200 admin/admin.php:1145
65
+ msgid "Popular Posts"
66
+ msgstr "Posturi populare"
67
+
68
+ #: admin/admin-dashboard.php:205
69
+ msgid "Daily Popular"
70
+ msgstr "Daily populare"
71
+
72
+ #: admin/admin-metabox.php:38 admin/admin.php:1234
73
+ msgid "Top 10"
74
+ msgstr "Top 10"
75
+
76
+ #: admin/admin-metabox.php:71
77
+ #, fuzzy
78
+ msgid "Visit count:"
79
+ msgstr "Reiniţializare count"
80
+
81
+ #: admin/admin-metabox.php:73
82
+ msgid ""
83
+ "Enter a number above to update the visit count. Leaving the above box blank "
84
+ "will set the count to zero"
85
+ msgstr ""
86
+
87
+ #: admin/admin-metabox.php:83
88
+ msgid "Location of thumbnail:"
89
+ msgstr ""
90
+
91
+ #: admin/admin-metabox.php:85
92
+ msgid ""
93
+ "Enter the full URL to the image (JPG, PNG or GIF) you'd like to use. This "
94
+ "image will be used for the post. It will be resized to the thumbnail size "
95
+ "set under Settings &raquo; Related Posts &raquo; Output Options"
96
+ msgstr ""
97
+
98
+ #: admin/admin-metabox.php:86
99
+ msgid "The URL above is saved in the meta field: "
100
+ msgstr ""
101
+
102
+ #: admin/admin.php:160
103
  msgid "Options saved successfully."
104
  msgstr "Opţiuni salvat cu succes."
105
 
106
+ #: admin/admin.php:170
107
  msgid "Options set to Default."
108
  msgstr "Opţiunile setate la valorile implicite."
109
 
110
+ #: admin/admin.php:176
111
  msgid "Top 10 popular posts reset"
112
  msgstr "Top 10 populare posturi Resetare"
113
 
114
+ #: admin/admin.php:182
115
  msgid "Top 10 daily popular posts reset"
116
  msgstr "Top 10 posturi populare daily Reiniţializare"
117
 
118
+ #: admin/admin.php:189
119
  msgid "Duplicate rows cleaned from tables"
120
  msgstr ""
121
 
122
+ #: admin/admin.php:201
123
  msgid "Scheduled maintenance enabled / modified"
124
  msgstr ""
125
 
126
+ #: admin/admin.php:205
127
  msgid "Scheduled maintenance disabled"
128
  msgstr ""
129
 
130
+ #: admin/admin.php:244
131
+ msgid "Counts from selected sites have been imported."
 
132
  msgstr ""
133
 
134
+ #: admin/admin.php:269
135
+ msgid ""
136
+ "Selected tables have been deleted. Note that only imported tables have been "
137
+ "deleted."
138
  msgstr ""
139
 
140
+ #: admin/admin.php:277 admin/admin.php:1234 admin/admin.php:1237
141
+ #, fuzzy
142
+ msgid "Top 10 Settings"
143
+ msgstr "Setări"
144
 
145
+ #: admin/admin.php:289 admin/admin.php:311
146
+ msgid "General options"
147
  msgstr ""
148
 
149
+ #: admin/admin.php:290 admin/admin.php:373
150
+ msgid "Counter and tracker options"
151
  msgstr ""
152
 
153
+ #: admin/admin.php:291 admin/admin.php:478
154
+ msgid "Popular post list options"
 
 
 
155
  msgstr ""
156
 
157
+ #: admin/admin.php:292 admin/admin.php:681
158
+ #: includes/class-top-10-widget.php:103
159
+ #, fuzzy
160
+ msgid "Thumbnail options"
161
+ msgstr "Post Opţiuni pictograme:"
162
 
163
+ #: admin/admin.php:293
164
+ msgid "Custom styles"
 
 
165
  msgstr ""
166
 
167
+ #: admin/admin.php:294 admin/admin.php:912
168
+ msgid "Maintenance"
169
+ msgstr ""
170
 
171
+ #: admin/admin.php:310 admin/admin.php:372 admin/admin.php:477
172
+ #: admin/admin.php:680 admin/admin.php:843 admin/admin.php:911
173
+ #: admin/admin.php:975 admin/admin.php:996 admin/admin.php:1176
174
+ #: admin/admin.php:1196 admin/admin.php:1206
175
+ msgid "Click to toggle"
176
  msgstr ""
177
 
178
+ #: admin/admin.php:327
179
+ msgid "Enable Overall stats"
180
  msgstr ""
181
 
182
+ #: admin/admin.php:333
183
+ msgid "Enable Daily stats"
184
  msgstr ""
185
 
186
+ #: admin/admin.php:339
187
+ msgid "Cache fix:"
188
  msgstr ""
189
 
190
+ #: admin/admin.php:342
191
+ msgid ""
192
+ "This will try to prevent W3 Total Cache and other caching plugins from "
193
+ "caching the tracker script of the plugin. Try toggling this option in case "
194
+ "you find that your posts are not tracked."
195
+ msgstr ""
196
 
197
+ #: admin/admin.php:346
198
+ msgid "Link to Top 10 plugin page"
199
+ msgstr ""
200
+
201
+ #: admin/admin.php:349
202
+ #, fuzzy
203
  msgid ""
204
+ "A link to the plugin is added as an extra list item to the list of popular "
205
+ "posts"
 
206
  msgstr ""
207
+ "Un link pentru a plugin-ul se adaugă ca un element suplimentar lista la "
208
+ "lista de posturi populare. Nu obligatoriu, dar Multumesc dacă tu a face it!"
209
 
210
+ #: admin/admin.php:354 admin/admin.php:459 admin/admin.php:662
211
+ #: admin/admin.php:825 admin/admin.php:891 admin/admin.php:968
212
+ #, fuzzy
213
+ msgid "Save Options"
214
+ msgstr "Opţiuni:"
215
+
216
+ #: admin/admin.php:389
217
  #, fuzzy
218
  msgid "Display number of views on:"
219
  msgstr "Afişează numărul de vizualizări pe posturi?"
220
 
221
+ #: admin/admin.php:391
222
  msgid "Posts"
223
  msgstr ""
224
 
225
+ #: admin/admin.php:392
226
  #, fuzzy
227
  msgid "Pages"
228
  msgstr "Pagină"
229
 
230
+ #: admin/admin.php:393
231
  msgid "Home page"
232
  msgstr ""
233
 
234
+ #: admin/admin.php:394
235
  msgid "Feeds"
236
  msgstr ""
237
 
238
+ #: admin/admin.php:395
239
  msgid "Category archives"
240
  msgstr ""
241
 
242
+ #: admin/admin.php:396
243
  msgid "Tag archives"
244
  msgstr ""
245
 
246
+ #: admin/admin.php:397
247
  msgid "Other archives"
248
  msgstr ""
249
 
250
+ #: admin/admin.php:398
251
  msgid ""
252
  "If you choose to disable this, please add <code>&lt;?php if "
253
  "( function_exists ( 'echo_tptn_post_count' ) ) echo_tptn_post_count(); ?&gt;"
254
  "</code> to your template file where you want it displayed"
255
  msgstr ""
256
 
257
+ #: admin/admin.php:402
258
+ #, fuzzy
259
+ msgid "Format to display the post views:"
260
+ msgstr "Format pentru a afişa numărul în: "
261
+
262
+ #: admin/admin.php:405
263
+ msgid ""
264
+ "Use <code>%totalcount%</code> to display the total count, <code>%dailycount"
265
+ "%</code> to display the daily count and <code>%overallcount%</code> to "
266
+ "display the overall count across all posts on the blog. e.g. the default "
267
+ "options displays <code>[Visited 123 times, 23 visits today]</code>"
268
+ msgstr ""
269
+
270
+ #: admin/admin.php:409
271
+ msgid "What do display when there are no visits?"
272
+ msgstr ""
273
+
274
+ #: admin/admin.php:412
275
+ msgid ""
276
+ "This text applies only when there are 0 hits for the post and it isn't a "
277
+ "single page. e.g. if you display post views on the homepage or archives then "
278
+ "this text will be used. To override this, just enter the same text as above "
279
+ "option."
280
+ msgstr ""
281
+
282
+ #: admin/admin.php:416
283
  msgid "Always display latest post count"
284
  msgstr ""
285
 
286
+ #: admin/admin.php:419
287
  msgid ""
288
  "This option uses JavaScript and will increase your page load time. Turn this "
289
  "off if you are not using caching plugins or are OK with displaying older "
290
  "cached counts."
291
  msgstr ""
292
 
293
+ #: admin/admin.php:423
294
  msgid "Track visits of authors on their own posts?"
295
  msgstr "Track vizite de autori pe posturile lor proprii?"
296
 
297
+ #: admin/admin.php:426
298
  msgid ""
299
  "Disabling this option will stop authors visits tracked on their own posts"
300
  msgstr ""
301
 
302
+ #: admin/admin.php:430
303
  #, fuzzy
304
  msgid "Track visits of admins?"
305
  msgstr "Track vizite de autori pe posturile lor proprii?"
306
 
307
+ #: admin/admin.php:433
308
  msgid "Disabling this option will stop admin visits being tracked."
309
  msgstr ""
310
 
311
+ #: admin/admin.php:437
312
  #, fuzzy
313
  msgid "Track visits of Editors?"
314
  msgstr "Track vizite de autori pe posturile lor proprii?"
315
 
316
+ #: admin/admin.php:440
317
  msgid "Disabling this option will stop editor visits being tracked."
318
  msgstr ""
319
 
320
+ #: admin/admin.php:444
321
  msgid "Display page views on Posts and Pages in Admin"
322
  msgstr ""
323
 
324
+ #: admin/admin.php:447
325
  msgid ""
326
  "Adds three columns called Total Views, Today's Views and Views to All Posts "
327
  "and All Pages"
328
  msgstr ""
329
 
330
+ #: admin/admin.php:451
331
  #, fuzzy
332
  msgid "Show number of views to non-admins"
333
  msgstr "Afişează numărul de vizualizări pe pagini?"
334
 
335
+ #: admin/admin.php:454
336
  msgid ""
337
  "If you disable this then non-admins won't see the above columns or view the "
338
  "independent pages with the top posts"
339
  msgstr ""
340
 
341
+ #: admin/admin.php:494
342
+ msgid "Number of popular posts to display: "
343
+ msgstr "Numărul de posturi populare pentru a afişa: "
344
 
345
+ #: admin/admin.php:497
 
346
  msgid ""
347
+ "Maximum number of posts that will be displayed in the list. This option is "
348
+ "used if you don't specify the number of posts in the widget or shortcodes"
349
  msgstr ""
 
 
350
 
351
+ #: admin/admin.php:501
352
+ msgid "Daily popular contains top posts over:"
353
+ msgstr ""
 
354
 
355
+ #: admin/admin.php:503
356
+ msgid "day(s)"
357
+ msgstr ""
 
358
 
359
+ #: admin/admin.php:504
360
+ msgid "hour(s)"
361
+ msgstr ""
362
+
363
+ #: admin/admin.php:505
364
  msgid ""
365
+ "Think of Daily Popular has a custom date range applied as a global setting. "
366
+ "Instead of displaying popular posts from the past day, this setting lets you "
367
+ "display posts for as many days or as few hours as you want. This can be "
368
+ "overridden in the widget."
369
  msgstr ""
 
 
 
370
 
371
+ #: admin/admin.php:509
372
+ msgid "Post types to include in results (including custom post types)"
373
+ msgstr ""
374
+
375
+ #: admin/admin.php:521
376
+ msgid "List of post or page IDs to exclude from the results: "
377
  msgstr ""
378
 
379
+ #: admin/admin.php:523 admin/admin.php:630
380
+ msgid "Enter comma separated list of IDs. e.g. 188,320,500"
381
+ msgstr ""
382
+
383
+ #: admin/admin.php:527
384
+ msgid "Exclude Categories: "
385
+ msgstr "Excludeţi categorii: "
386
+
387
+ #: admin/admin.php:542
388
  msgid ""
389
+ "Comma separated list of category slugs. The field above has an autocomplete "
390
+ "so simply start typing in the starting letters and it will prompt you with "
391
+ "options"
 
392
  msgstr ""
393
 
394
+ #: admin/admin.php:547
395
  msgid "Title of popular posts: "
396
  msgstr "Titlul de posturi populare: "
397
 
398
+ #: admin/admin.php:553
399
  msgid "Title of daily popular posts: "
400
  msgstr "Titlul de zi cu zi de posturi populare: "
401
 
402
+ #: admin/admin.php:559
403
  msgid "When there are no posts, what should be shown?"
404
  msgstr ""
405
 
406
+ #: admin/admin.php:563
407
  msgid "Blank Output"
408
  msgstr ""
409
 
410
+ #: admin/admin.php:567
411
  msgid "Display:"
412
  msgstr ""
413
 
414
+ #: admin/admin.php:572
415
  msgid "Show post excerpt in list?"
416
  msgstr "Afişează post extras din lista?"
417
 
418
+ #: admin/admin.php:578
419
  msgid "Length of excerpt (in words): "
420
  msgstr "Lungimea extras (în cuvinte): "
421
 
422
+ #: admin/admin.php:584
423
  #, fuzzy
424
  msgid "Show post author in list?"
425
  msgstr "Afişează post extras din lista?"
426
 
427
+ #: admin/admin.php:590
428
  #, fuzzy
429
  msgid "Show post date in list?"
430
  msgstr "Afişează post extras din lista?"
431
 
432
+ #: admin/admin.php:596
433
  msgid "Limit post title length (in characters)"
434
  msgstr ""
435
 
436
+ #: admin/admin.php:602
437
  #, fuzzy
438
  msgid "Show view count in list?"
439
  msgstr "Afişează post extras din lista?"
440
 
441
+ #: admin/admin.php:608
442
  msgid "Always display latest post count in the daily lists?"
443
  msgstr ""
444
 
445
+ #: admin/admin.php:611
446
  msgid ""
447
  "This option uses JavaScript and will increase your page load time. When you "
448
  "enable this option, the daily widget will not use the options set there, but "
449
  "options will need to be set on this screen."
450
  msgstr ""
451
 
452
+ #: admin/admin.php:615
453
  msgid "Open links in new window"
454
  msgstr ""
455
 
456
+ #: admin/admin.php:621
457
  msgid "Add nofollow attribute to links in the list"
458
  msgstr ""
459
 
460
+ #: admin/admin.php:627
461
  msgid "Exclude display of related posts on these posts / pages"
462
  msgstr ""
463
 
464
+ #: admin/admin.php:634
465
  #, fuzzy
466
  msgid "Customise the list HTML"
467
  msgstr "Personaliza ieşire:"
468
 
469
+ #: admin/admin.php:637
470
  msgid "HTML to display before the list of posts: "
471
  msgstr "HTML pentru a afişa înainte de lista de posturi: "
472
 
473
+ #: admin/admin.php:643
474
  msgid "HTML to display before each list item: "
475
  msgstr "HTML pentru a afişa înainte de fiecare element din listă: "
476
 
477
+ #: admin/admin.php:649
478
  msgid "HTML to display after each list item: "
479
  msgstr "HTML pentru a afişa după fiecare element din listă: "
480
 
481
+ #: admin/admin.php:655
482
  msgid "HTML to display after the list of posts: "
483
  msgstr "HTML pentru a afişa după lista de posturi: "
484
 
485
+ #: admin/admin.php:696
 
 
 
 
486
  msgid "Location of post thumbnail:"
487
  msgstr ""
488
 
489
+ #: admin/admin.php:700
490
  msgid "Display thumbnails inline with posts, before title"
491
  msgstr "Afişare miniaturi inline cu posturi, înainte de titlu"
492
 
493
+ #: admin/admin.php:705
494
  msgid "Display thumbnails inline with posts, after title"
495
  msgstr "Afişare miniaturi inline cu posturi, după titlul"
496
 
497
+ #: admin/admin.php:710
498
  msgid "Display only thumbnails, no text"
499
  msgstr "Afişa numai miniaturi, nici un text"
500
 
501
+ #: admin/admin.php:715
502
  msgid "Do not display thumbnails, only text."
503
  msgstr "Nu se afişează miniaturi, numai textul."
504
 
505
+ #: admin/admin.php:719
506
+ msgid "Thumbnail size:"
507
+ msgstr ""
508
+
509
+ #: admin/admin.php:743
510
+ msgid "Custom size"
511
+ msgstr ""
512
+
513
+ #: admin/admin.php:746
514
+ msgid ""
515
+ "You can choose from existing image sizes above or create a custom size. If "
516
+ "you have chosen Custom size above, then enter the width, height and crop "
517
+ "settings below. For best results, use a cropped image."
518
+ msgstr ""
519
+
520
+ #: admin/admin.php:747
521
+ msgid ""
522
+ "If you change the width and/or height below, existing images will not be "
523
+ "automatically resized."
524
+ msgstr ""
525
+
526
+ #: admin/admin.php:748
527
+ #, php-format
528
+ msgid ""
529
+ "I recommend using <a href='%s' target='_blank'>Force Regenerate Thumbnails</"
530
+ "a> or <a href='%s' target='_blank'>Force Regenerate Thumbnails</a> to "
531
+ "regenerate all image sizes."
532
  msgstr ""
533
 
534
+ #: admin/admin.php:751
535
+ msgid "Width of custom thumbnail:"
536
  msgstr ""
537
 
538
+ #: admin/admin.php:756
539
+ msgid "Height of custom thumbnail"
540
+ msgstr ""
541
+
542
+ #: admin/admin.php:761
543
+ msgid "Crop mode:"
544
+ msgstr ""
545
+
546
+ #: admin/admin.php:765
547
+ msgid ""
548
+ "By default, thumbnails will be proportionately cropped. Check this box to "
549
+ "hard crop the thumbnails."
550
+ msgstr ""
551
+
552
+ #: admin/admin.php:766
553
+ #, php-format
554
+ msgid "<a href='%s' target='_blank'>Difference between soft and hard crop</a>"
555
+ msgstr ""
556
+
557
+ #: admin/admin.php:768
558
+ msgid ""
559
+ "Since you're using the default styles set under the Custom Styles section, "
560
+ "the width and height is fixed at 65px and crop mode is enabled."
561
+ msgstr ""
562
+
563
+ #: admin/admin.php:773
564
  msgid "Style attributes / Width and Height HTML attributes:"
565
  msgstr ""
566
 
567
+ #: admin/admin.php:777
568
  msgid "Style attributes are used for width and height."
569
  msgstr ""
570
 
571
+ #: admin/admin.php:782
572
  msgid "HTML width and height attributes are used for width and height."
573
  msgstr ""
574
 
575
+ #: admin/admin.php:786
576
  msgid "Use timthumb to generate thumbnails? "
577
  msgstr ""
578
 
579
+ #: admin/admin.php:789
580
  msgid ""
581
  "If checked, <a href=\"http://www.binarymoon.co.uk/projects/timthumb/\" "
582
  "target=\"_blank\">timthumb</a> will be used to generate thumbnails"
583
  msgstr ""
584
 
585
+ #: admin/admin.php:792
586
  msgid "Quality of thumbnails generated by timthumb:"
587
  msgstr ""
588
 
589
+ #: admin/admin.php:795
590
  msgid ""
591
  "Enter values between 0 and 100 only. 100 is highest quality and the highest "
592
  "file size. Suggested maximum value is 95. Default is 75."
593
  msgstr ""
594
 
595
+ #: admin/admin.php:798
596
  #, fuzzy
597
  msgid "Post thumbnail meta field name: "
598
  msgstr "Post Opţiuni pictograme:"
599
 
600
+ #: admin/admin.php:801
601
  msgid ""
602
  "The value of this field should contain the image source and is set in the "
603
  "<em>Add New Post</em> screen"
604
  msgstr ""
605
 
606
+ #: admin/admin.php:804
607
  #, fuzzy
608
  msgid ""
609
  "If the postmeta is not set, then should the plugin extract the first image "
614
  "dumneavoastră dacă prima imagine în legate de posturi este mare în mărime "
615
  "fişier"
616
 
617
+ #: admin/admin.php:807
618
  #, fuzzy
619
  msgid ""
620
  "This could slow down the loading of your page if the first image in the "
625
  "dumneavoastră dacă prima imagine în legate de posturi este mare în mărime "
626
  "fişier"
627
 
628
+ #: admin/admin.php:810
629
  msgid "Use default thumbnail? "
630
  msgstr ""
631
 
632
+ #: admin/admin.php:813
633
  msgid ""
634
  "If checked, when no thumbnail is found, show a default one from the URL "
635
  "below. If not checked and no thumbnail is found, no image will be shown."
638
  "la URL-ul de mai jos. În cazul în care nu a verificat şi este găsit nici un "
639
  "thumbnail, imaginea nu va fi indicat."
640
 
641
+ #: admin/admin.php:816
642
  msgid "Default thumbnail: "
643
  msgstr ""
644
 
645
+ #: admin/admin.php:820
646
  msgid ""
647
  "The plugin will first check if the post contains a thumbnail. If it doesn't "
648
  "then it will check the meta field. If this is not available, then it will "
649
  "show the default image as specified above"
650
  msgstr ""
651
 
652
+ #: admin/admin.php:844
653
  msgid "Custom CSS"
654
  msgstr ""
655
 
656
+ #: admin/admin.php:859
657
  msgid "Use default style included in the plugin?"
658
  msgstr ""
659
 
660
+ #: admin/admin.php:862
661
  msgid ""
662
  "Top 10 includes a default style that makes your popular posts list to look "
663
+ "beautiful. Check the box above if you want to use this."
664
+ msgstr ""
665
+
666
+ #: admin/admin.php:863
667
+ msgid ""
668
+ "Enabling this option will turn on the thumbnails and set their width and "
669
+ "height to 65px. It will also turn off the display of the author, excerpt and "
670
+ "date if already enabled. Disabling this option will not revert any settings."
671
  msgstr ""
672
 
673
+ #: admin/admin.php:864
674
+ #, php-format
675
+ msgid ""
676
+ "You can view the default style at <a href=\"%1$s\" target=\"_blank\">%1$s</a>"
677
+ msgstr ""
678
+
679
+ #: admin/admin.php:867
680
  msgid "Custom CSS to add to header:"
681
  msgstr ""
682
 
683
+ #: admin/admin.php:872
684
  msgid ""
685
  "Do not include <code>style</code> tags. Check out the <a href=\"http://"
686
  "wordpress.org/extend/plugins/top-10/faq/\" target=\"_blank\">FAQ</a> for "
687
  "available CSS classes to style."
688
  msgstr ""
689
 
690
+ #: admin/admin.php:892
 
 
 
 
 
691
  #, fuzzy
692
  msgid "Default Options"
693
  msgstr "Opţiuni de ieşire:"
694
 
695
+ #: admin/admin.php:892
696
  msgid "Do you want to set options to Default?"
697
  msgstr "Doriţi să setaţi opţiunile la valorile implicite?"
698
 
699
+ #: admin/admin.php:916
 
 
 
 
700
  msgid ""
701
  "Over time the Daily Top 10 database grows in size, which reduces the "
702
  "performance of the plugin. Cleaning the database at regular intervals could "
704
  "will automatically delete entries older than 90 days."
705
  msgstr ""
706
 
707
+ #: admin/admin.php:917
708
  msgid ""
709
  "Note: When scheduled maintenance is enabled, WordPress will run the cron job "
710
  "everytime the job is rescheduled (i.e. you change the settings below)."
711
  msgstr ""
712
 
713
+ #: admin/admin.php:920
714
  msgid "Enable scheduled maintenance of daily tables:"
715
  msgstr ""
716
 
717
+ #: admin/admin.php:924
718
  msgid "Time to run maintenance"
719
  msgstr ""
720
 
721
+ #: admin/admin.php:925
722
  msgid "hrs"
723
  msgstr ""
724
 
725
+ #: admin/admin.php:925
726
  msgid "min"
727
  msgstr ""
728
 
729
+ #: admin/admin.php:927
730
  msgid "How often should the maintenance be run:"
731
  msgstr ""
732
 
733
+ #: admin/admin.php:931
734
  msgid "Daily"
735
  msgstr ""
736
 
737
+ #: admin/admin.php:935
738
  msgid "Weekly"
739
  msgstr ""
740
 
741
+ #: admin/admin.php:939
742
  msgid "Fortnightly"
743
  msgstr ""
744
 
745
+ #: admin/admin.php:943
746
  msgid "Monthly"
747
  msgstr ""
748
 
749
+ #: admin/admin.php:952
750
  msgid "The cron job has been scheduled. Maintenance will run "
751
  msgstr ""
752
 
753
+ #: admin/admin.php:957
754
  msgid "The cron job is missing. Please resave this page to add the job"
755
  msgstr ""
756
 
757
+ #: admin/admin.php:962
758
  msgid "Maintenance is turned off"
759
  msgstr ""
760
 
761
+ #: admin/admin.php:976
762
  msgid "Reset count"
763
  msgstr "Reiniţializare count"
764
 
765
+ #: admin/admin.php:979
766
  msgid ""
767
  "This cannot be reversed. Make sure that your database has been backed up "
768
  "before proceeding"
770
  "Acest lucru poate fi inversat. Asiguraţi-vă că baza de date a fost sprijinit "
771
  "înainte de a continua"
772
 
773
+ #: admin/admin.php:982
774
  #, fuzzy
775
  msgid "Reset Popular Posts"
776
  msgstr "Posturi populare"
777
 
778
+ #: admin/admin.php:982
779
  msgid "Are you sure you want to reset the popular posts?"
780
  msgstr "Sigur reiniţializaţi posturi populare?"
781
 
782
+ #: admin/admin.php:983
783
  #, fuzzy
784
  msgid "Reset Daily Popular Posts"
785
  msgstr "Posturi populare de zi cu zi"
786
 
787
+ #: admin/admin.php:983
788
  msgid "Are you sure you want to reset the daily popular posts?"
789
  msgstr "Sigur reiniţializaţi posturi populare zilnic?"
790
 
791
+ #: admin/admin.php:984
792
  msgid "Clear duplicates"
793
  msgstr ""
794
 
795
+ #: admin/admin.php:984
796
  msgid "This will delete the duplicate entries in the tables. Proceed?"
797
  msgstr "Aceasta va şterge intrările dublate în tabele. Continuaţi?"
798
 
799
+ #: admin/admin.php:997
800
+ msgid "WordPress Multisite: Migrate Top 10 v1.x counts to 2.x"
801
+ msgstr ""
802
+
803
+ #: admin/admin.php:1000
804
+ msgid ""
805
+ "If you've been using Top 10 v1.x on multisite, you would have needed to "
806
+ "activate the plugin independently for each site. This would have resulted in "
807
+ "two tables being created for each site in the network. Top 10 v2.x onwards "
808
+ "uses only a single table to record the count, keeping your database clean. "
809
+ "You can use this tool to import the recorded counts from v1.x tables to the "
810
+ "new v2.x table format."
811
+ msgstr ""
812
+
813
+ #: admin/admin.php:1003
814
+ msgid ""
815
+ "If you do not see any tables below, then it means that either all data has "
816
+ "already been imported or no relevant information has been found."
817
+ msgstr ""
818
+
819
+ #: admin/admin.php:1037
820
+ msgid "Blog ID"
821
+ msgstr ""
822
+
823
+ #: admin/admin.php:1040
824
+ msgid "Status"
825
+ msgstr ""
826
+
827
+ #: admin/admin.php:1043
828
+ msgid "Select to import"
829
+ msgstr ""
830
+
831
+ #: admin/admin.php:1053
832
+ msgid "Blog #"
833
+ msgstr ""
834
+
835
+ #: admin/admin.php:1063
836
+ msgid "Not imported"
837
+ msgstr ""
838
+
839
+ #: admin/admin.php:1067
840
+ msgid "Imported"
841
+ msgstr ""
842
+
843
+ #: admin/admin.php:1088
844
+ msgid "Begin import"
845
+ msgstr ""
846
 
847
+ #: admin/admin.php:1089
848
+ msgid "Delete selected tables"
849
+ msgstr ""
850
+
851
+ #: admin/admin.php:1090
852
+ msgid "Delete all imported tables"
853
+ msgstr ""
854
+
855
+ #: admin/admin.php:1147 admin/admin.php:1243
856
  msgid "Daily Popular Posts"
857
  msgstr "Posturi populare de zi cu zi"
858
 
859
+ #: admin/admin.php:1177
860
  msgid "Support the development"
861
  msgstr "Sprijinirea dezvoltării"
862
 
863
+ #: admin/admin.php:1184
864
  msgid "Donation for Top 10"
865
  msgstr ""
866
 
867
+ #: admin/admin.php:1186
868
  msgid "Enter amount in USD: "
869
  msgstr "Introduceţi valoarea în USD: "
870
 
871
+ #: admin/admin.php:1190
872
  #, fuzzy
873
  msgid "Send your donation to the author of Top 10"
874
  msgstr "Trimite donatie autorului"
875
 
876
+ #: admin/admin.php:1197
877
  msgid "Follow me"
878
  msgstr ""
879
 
880
+ #: admin/admin.php:1207
881
  #, fuzzy
882
  msgid "Quick links"
883
  msgstr "Legături rapide pentru"
884
 
885
+ #: admin/admin.php:1211
886
  #, fuzzy
887
  msgid "Top 10 plugin page"
888
  msgstr "plug-in pagina"
889
 
890
+ #: admin/admin.php:1212
891
+ msgid "Top 10 Github page"
892
+ msgstr ""
893
+
894
+ #: admin/admin.php:1213
895
  msgid "Other plugins"
896
  msgstr "Alte plugin-uri"
897
 
898
+ #: admin/admin.php:1214
899
  msgid "Ajay's blog"
900
  msgstr "Ajay's blog"
901
 
902
+ #: admin/admin.php:1215
903
  msgid "FAQ"
904
  msgstr ""
905
 
906
+ #: admin/admin.php:1216 admin/admin.php:1374
907
  msgid "Support"
908
  msgstr "Suport"
909
 
910
+ #: admin/admin.php:1217
911
  msgid "Reviews"
912
  msgstr ""
913
 
914
+ #: admin/admin.php:1240
 
 
 
 
 
 
 
 
 
915
  #, fuzzy
916
  msgid "Overall Popular Posts"
917
  msgstr "Vedere de ansamblu posturi populare"
918
 
919
+ #: admin/admin.php:1351
920
+ msgid "Settings"
921
+ msgstr "Setări"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
922
 
923
+ #: admin/admin.php:1375
924
+ msgid "Donate"
925
+ msgstr "Dona"
926
 
927
+ #: includes/class-top-10-widget.php:31
928
  #, fuzzy
929
  msgid "Popular Posts [Top 10]"
930
  msgstr "Posturi populare"
931
 
932
+ #: includes/class-top-10-widget.php:32
933
  #, fuzzy
934
  msgid "Display popular posts"
935
  msgstr "Posturi populare de zi cu zi"
936
 
937
+ #: includes/class-top-10-widget.php:59
938
  msgid "Title"
939
  msgstr ""
940
 
941
+ #: includes/class-top-10-widget.php:64
942
  msgid "No. of posts"
943
  msgstr ""
944
 
945
+ #: includes/class-top-10-widget.php:69
946
  msgid "Overall"
947
  msgstr ""
948
 
949
+ #: includes/class-top-10-widget.php:70
950
  msgid "Custom time period (Enter below)"
951
  msgstr ""
952
 
953
+ #: includes/class-top-10-widget.php:74
954
+ msgid "In days and hours (applies only to custom option above)"
955
  msgstr ""
956
 
957
+ #: includes/class-top-10-widget.php:76
958
+ msgid "days"
959
+ msgstr ""
960
+
961
+ #: includes/class-top-10-widget.php:79
962
+ msgid "hours"
963
+ msgstr ""
964
+
965
+ #: includes/class-top-10-widget.php:84
966
  #, fuzzy
967
  msgid "Show count?"
968
  msgstr "Afişează post extras din lista?"
969
 
970
+ #: includes/class-top-10-widget.php:89
971
  #, fuzzy
972
  msgid "Show excerpt?"
973
  msgstr "Afişează post extras din lista?"
974
 
975
+ #: includes/class-top-10-widget.php:94
976
  #, fuzzy
977
  msgid "Show author?"
978
  msgstr "Afişează post extras din lista?"
979
 
980
+ #: includes/class-top-10-widget.php:99
981
  #, fuzzy
982
  msgid "Show date?"
983
  msgstr "Afişează post extras din lista?"
984
 
985
+ #: includes/class-top-10-widget.php:105
 
 
 
 
 
986
  #, fuzzy
987
  msgid "Thumbnails inline, before title"
988
  msgstr "Afişare miniaturi inline cu posturi, înainte de titlu"
989
 
990
+ #: includes/class-top-10-widget.php:106
991
  #, fuzzy
992
  msgid "Thumbnails inline, after title"
993
  msgstr "Afişare miniaturi inline cu posturi, după titlul"
994
 
995
+ #: includes/class-top-10-widget.php:107
996
  #, fuzzy
997
  msgid "Only thumbnails, no text"
998
  msgstr "Afişa numai miniaturi, nici un text"
999
 
1000
+ #: includes/class-top-10-widget.php:108
1001
  #, fuzzy
1002
  msgid "No thumbnails, only text."
1003
  msgstr "Nu se afişează miniaturi, numai textul."
1004
 
1005
+ #: includes/class-top-10-widget.php:113
1006
  #, fuzzy
1007
  msgid "Thumbnail height"
1008
  msgstr "Post Opţiuni pictograme:"
1009
 
1010
+ #: includes/class-top-10-widget.php:118
1011
  #, fuzzy
1012
  msgid "Thumbnail width"
1013
  msgstr "Post Opţiuni pictograme:"
1014
 
1015
+ #: top-10.php:866
1016
+ msgid " by "
1017
+ msgstr ""
1018
+
1019
+ #: top-10.php:917
1020
+ #, php-format
1021
+ msgid "Popular posts by <a href=\"%s\" rel=\"nofollow\" %s>Top 10 plugin</a>"
1022
+ msgstr ""
1023
+
1024
+ #: top-10.php:1016
1025
  msgid "<h3>Popular Posts</h3>"
1026
  msgstr "<h3>Posturi populare</h3>"
1027
 
1028
+ #: top-10.php:1017
1029
  msgid "<h3>Daily Popular</h3>"
1030
  msgstr "<h3>Daily populare</h3>"
1031
 
1032
+ #: top-10.php:1018
1033
  #, fuzzy
1034
  msgid "No top posts yet"
1035
  msgstr "Top 10 populare posturi Resetare"
1036
 
1037
+ #: top-10.php:1668
1038
  msgid "Once Weekly"
1039
  msgstr ""
1040
 
1041
+ #: top-10.php:1672
1042
  msgid "Once Fortnightly"
1043
  msgstr ""
1044
 
1045
+ #: top-10.php:1676
1046
  msgid "Once Monthly"
1047
  msgstr ""
1048
 
1049
+ #: top-10.php:1680
1050
+ msgid "Once quarterly"
1051
+ msgstr ""
1052
 
1053
+ #~ msgid "Daily Popular should contain views of how many days? "
1054
+ #~ msgstr "Popular de zi cu zi ar trebui să conțină vizualizări de câte zile? "
1055
+
1056
+ #, fuzzy
1057
+ #~ msgid "Output options"
1058
+ #~ msgstr "Opţiuni de ieşire:"
1059
+
1060
+ #, fuzzy
1061
+ #~ msgid ""
1062
+ #~ "Use <code>%totalcount%</code> to display the total count, <code>"
1063
+ #~ "%dailycount%</code> to display the daily count and <code>%overallcount%</"
1064
+ #~ "code> to display the overall count across all posts on the blog. e.g. the "
1065
+ #~ "default options displays <code>(Visited 123 times, 23 visits today)</code>"
1066
+ #~ msgstr ""
1067
+ #~ "Utilizaţi <code>% totalcount %</code> pentru a afişa numărul total şi "
1068
+ #~ "<code>% dailycount %</code> pentru a afişa numărul de zi cu zi. exemplu "
1069
+ #~ "afişează opţiunile implicite <code>(vizitat 123 ori, 23 vizite azi)</code>"
1070
+
1071
+ #~ msgid "Post thumbnail options:"
1072
+ #~ msgstr "Post Opţiuni pictograme:"
1073
 
1074
  #~ msgid "Display the posts popular this week"
1075
  #~ msgstr "Afişa posturi populare în această săptămână"
languages/tptn-ru_RU.mo CHANGED
Binary file
languages/tptn-ru_RU.po CHANGED
@@ -2,7 +2,7 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Топ 10\n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2014-05-21 21:29-0000\n"
6
  "PO-Revision-Date: \n"
7
  "Last-Translator: Ajay D'Souza <me@ajaydsouza.com>\n"
8
  "Language-Team: Elvis (fweb.org.ru) <kopper@rkmail.ru>\n"
@@ -12,426 +12,600 @@ msgstr ""
12
  "Content-Transfer-Encoding: 8bit\n"
13
  "X-Poedit-KeywordsList: _e;__\n"
14
  "X-Poedit-Basepath: ../\n"
15
- "X-Generator: Poedit 1.6.5\n"
 
16
  "X-Poedit-SearchPath-0: .\n"
17
 
18
- #: admin.inc.php:115
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
19
  msgid "Options saved successfully."
20
  msgstr "Настройки сохранены."
21
 
22
- #: admin.inc.php:125
23
  msgid "Options set to Default."
24
  msgstr "Настройки сброшены."
25
 
26
- #: admin.inc.php:131
27
  msgid "Top 10 popular posts reset"
28
  msgstr "Сбросить статистику популярных записей"
29
 
30
- #: admin.inc.php:137
31
  msgid "Top 10 daily popular posts reset"
32
  msgstr "Сбросить статистику популярных записей за сегодня"
33
 
34
- #: admin.inc.php:144
35
  msgid "Duplicate rows cleaned from tables"
36
  msgstr ""
37
 
38
- #: admin.inc.php:156
39
  msgid "Scheduled maintenance enabled / modified"
40
  msgstr ""
41
 
42
- #: admin.inc.php:160
43
  msgid "Scheduled maintenance disabled"
44
  msgstr ""
45
 
46
- #: admin.inc.php:175 admin.inc.php:297 admin.inc.php:458 admin.inc.php:487
47
- #: admin.inc.php:551 admin.inc.php:644 admin.inc.php:664 admin.inc.php:674
48
- msgid "Click to toggle"
49
  msgstr ""
50
 
51
- #: admin.inc.php:176
52
- msgid "General options"
 
 
53
  msgstr ""
54
 
55
- #: admin.inc.php:180
56
- msgid "Enable Overall stats"
57
- msgstr ""
 
58
 
59
- #: admin.inc.php:185
60
- msgid "Enable Daily stats"
61
  msgstr ""
62
 
63
- #: admin.inc.php:190
64
- msgid "W3 Total Cache fix:"
65
  msgstr ""
66
 
67
- #: admin.inc.php:192
68
- msgid ""
69
- "This will try to prevent W3 Total Cache from caching the addcount script of "
70
- "the plugin. Try toggling this option in case you find that our posts are not "
71
- "tracked."
72
  msgstr ""
73
 
74
- #: admin.inc.php:196
75
- msgid "Number of popular posts to display: "
76
- msgstr "Количество Популярных записей в списке:"
 
 
77
 
78
- #: admin.inc.php:198
79
- msgid ""
80
- "Maximum number of posts that will be displayed in the list. This option is "
81
- "used if you don't specify the number of posts in the widget or shortcodes"
82
  msgstr ""
83
 
84
- #: admin.inc.php:202
85
- msgid "Daily Popular should contain views of how many days? "
86
  msgstr ""
87
- "За сколько дней считать просмотры для списка Популярных сегодня записей?"
88
 
89
- #: admin.inc.php:204
90
- msgid ""
91
- "Instead of displaying popular posts fromt he past day, this setting lets you "
92
- "display posts for as many days as you want. This can be overridden in the "
93
- "widget."
94
  msgstr ""
95
 
96
- #: admin.inc.php:207
97
- msgid "Post types to include in results (including custom post types)"
98
  msgstr ""
99
 
100
- #: admin.inc.php:218
101
- msgid "List of post or page IDs to exclude from the results: "
102
  msgstr ""
103
 
104
- #: admin.inc.php:220 admin.inc.php:361
105
- msgid "Enter comma separated list of IDs. e.g. 188,320,500"
106
  msgstr ""
107
 
108
- #: admin.inc.php:224
109
- msgid "Exclude Categories: "
110
- msgstr "Исключить рубрики:"
 
 
 
 
 
 
 
111
 
112
- #: admin.inc.php:239
 
113
  msgid ""
114
- "Comma separated list of category slugs. The field above has an autocomplete "
115
- "so simply start typing in the starting letters and it will prompt you with "
116
- "options"
117
  msgstr ""
 
 
118
 
119
- #: admin.inc.php:244
 
 
 
 
 
 
120
  #, fuzzy
121
  msgid "Display number of views on:"
122
  msgstr "Показывать количество просмотров записи в ее \"теле\"?"
123
 
124
- #: admin.inc.php:246
125
  msgid "Posts"
126
  msgstr ""
127
 
128
- #: admin.inc.php:247
129
  #, fuzzy
130
  msgid "Pages"
131
  msgstr "Страница"
132
 
133
- #: admin.inc.php:248
134
  msgid "Home page"
135
  msgstr ""
136
 
137
- #: admin.inc.php:249
138
  msgid "Feeds"
139
  msgstr ""
140
 
141
- #: admin.inc.php:250
142
  msgid "Category archives"
143
  msgstr ""
144
 
145
- #: admin.inc.php:251
146
  msgid "Tag archives"
147
  msgstr ""
148
 
149
- #: admin.inc.php:252
150
  msgid "Other archives"
151
  msgstr ""
152
 
153
- #: admin.inc.php:253
154
  msgid ""
155
  "If you choose to disable this, please add <code>&lt;?php if "
156
  "( function_exists ( 'echo_tptn_post_count' ) ) echo_tptn_post_count(); ?&gt;"
157
  "</code> to your template file where you want it displayed"
158
  msgstr ""
159
 
160
- #: admin.inc.php:256
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
161
  msgid "Always display latest post count"
162
  msgstr ""
163
 
164
- #: admin.inc.php:258
165
  msgid ""
166
  "This option uses JavaScript and will increase your page load time. Turn this "
167
  "off if you are not using caching plugins or are OK with displaying older "
168
  "cached counts."
169
  msgstr ""
170
 
171
- #: admin.inc.php:261
172
  msgid "Track visits of authors on their own posts?"
173
  msgstr "Учитывать просмотры записей, сделанные их же авторами?"
174
 
175
- #: admin.inc.php:263
176
  msgid ""
177
  "Disabling this option will stop authors visits tracked on their own posts"
178
  msgstr ""
179
 
180
- #: admin.inc.php:266
181
  #, fuzzy
182
  msgid "Track visits of admins?"
183
  msgstr "Учитывать просмотры записей, сделанные их же авторами?"
184
 
185
- #: admin.inc.php:268
186
  msgid "Disabling this option will stop admin visits being tracked."
187
  msgstr ""
188
 
189
- #: admin.inc.php:271
190
  #, fuzzy
191
  msgid "Track visits of Editors?"
192
  msgstr "Учитывать просмотры записей, сделанные их же авторами?"
193
 
194
- #: admin.inc.php:273
195
  msgid "Disabling this option will stop editor visits being tracked."
196
  msgstr ""
197
 
198
- #: admin.inc.php:276
199
  msgid "Display page views on Posts and Pages in Admin"
200
  msgstr ""
201
 
202
- #: admin.inc.php:279
203
  msgid ""
204
  "Adds three columns called Total Views, Today's Views and Views to All Posts "
205
  "and All Pages"
206
  msgstr ""
207
 
208
- #: admin.inc.php:282
209
  #, fuzzy
210
  msgid "Show number of views to non-admins"
211
  msgstr "Показывать количество просмотров страницы в ее \"теле\"?"
212
 
213
- #: admin.inc.php:285
214
  msgid ""
215
  "If you disable this then non-admins won't see the above columns or view the "
216
  "independent pages with the top posts"
217
  msgstr ""
218
 
219
- #: admin.inc.php:288
220
- msgid "Link to Top 10 plugin page"
221
- msgstr ""
222
 
223
- #: admin.inc.php:291
224
- #, fuzzy
225
  msgid ""
226
- "A link to the plugin is added as an extra list item to the list of popular "
227
- "posts"
228
  msgstr ""
229
- "Оставить ссылку на плагин под списками Популярных записей? Автор плагина был "
230
- "бы очень благодарен Вам, если Вы ее все же оставите!"
231
 
232
- #: admin.inc.php:298
233
- #, fuzzy
234
- msgid "Output options"
235
- msgstr "Настройки плагина:"
236
 
237
- #: admin.inc.php:301
238
- #, fuzzy
239
- msgid "Format to display the post views:"
240
  msgstr ""
241
- "В поле ниже вы можете настроить формат отображения количества просмотров за "
242
- "день, за все время для записей/страниц:"
243
 
244
- #: admin.inc.php:303
245
- #, fuzzy
 
 
 
246
  msgid ""
247
- "Use <code>%totalcount%</code> to display the total count, <code>%dailycount"
248
- "%</code> to display the daily count and <code>%overallcount%</code> to "
249
- "display the overall count across all posts on the blog. e.g. the default "
250
- "options displays <code>(Visited 123 times, 23 visits today)</code>"
251
  msgstr ""
252
- "Используйте <code>%totalcount%</code> чтобы вывести общее число просмотров, "
253
- "а <code>%dailycount%</code> - просмотры за сутки. Например: <code>(Запись "
254
- "просмотрена 123 раза, сегодня просмотров было 23)</code>."
255
 
256
- #: admin.inc.php:306
257
- msgid "What do display when there are no visits?"
 
 
 
 
258
  msgstr ""
259
 
260
- #: admin.inc.php:308
 
 
 
 
 
 
 
 
261
  msgid ""
262
- "This text applies only when there are 0 hits for the post and it isn't a "
263
- "single page. e.g. if you display post views on the homepage or archives then "
264
- "this text will be used. To override this, just enter the same text as above "
265
- "option."
266
  msgstr ""
267
 
268
- #: admin.inc.php:311
269
  msgid "Title of popular posts: "
270
  msgstr "Заголовок списка Популярных записей:"
271
 
272
- #: admin.inc.php:314
273
  msgid "Title of daily popular posts: "
274
  msgstr "Заголовок списка Популярных сегодня записей:"
275
 
276
- #: admin.inc.php:317
277
  msgid "When there are no posts, what should be shown?"
278
  msgstr ""
279
 
280
- #: admin.inc.php:321
281
  msgid "Blank Output"
282
  msgstr ""
283
 
284
- #: admin.inc.php:325
285
  msgid "Display:"
286
  msgstr ""
287
 
288
- #: admin.inc.php:329
289
  msgid "Show post excerpt in list?"
290
  msgstr "Показывать текст записи в списке?"
291
 
292
- #: admin.inc.php:332
293
  msgid "Length of excerpt (in words): "
294
  msgstr "Длина выводимого текста (в словах):"
295
 
296
- #: admin.inc.php:335
297
  #, fuzzy
298
  msgid "Show post author in list?"
299
  msgstr "Показывать текст записи в списке?"
300
 
301
- #: admin.inc.php:338
302
  #, fuzzy
303
  msgid "Show post date in list?"
304
  msgstr "Показывать текст записи в списке?"
305
 
306
- #: admin.inc.php:341
307
  msgid "Limit post title length (in characters)"
308
  msgstr ""
309
 
310
- #: admin.inc.php:344
311
  #, fuzzy
312
  msgid "Show view count in list?"
313
  msgstr "Показывать текст записи в списке?"
314
 
315
- #: admin.inc.php:347
316
  msgid "Always display latest post count in the daily lists?"
317
  msgstr ""
318
 
319
- #: admin.inc.php:349
320
  msgid ""
321
  "This option uses JavaScript and will increase your page load time. When you "
322
  "enable this option, the daily widget will not use the options set there, but "
323
  "options will need to be set on this screen."
324
  msgstr ""
325
 
326
- #: admin.inc.php:352
327
  msgid "Open links in new window"
328
  msgstr ""
329
 
330
- #: admin.inc.php:355
331
  msgid "Add nofollow attribute to links in the list"
332
  msgstr ""
333
 
334
- #: admin.inc.php:358
335
  msgid "Exclude display of related posts on these posts / pages"
336
  msgstr ""
337
 
338
- #: admin.inc.php:364
339
  #, fuzzy
340
  msgid "Customise the list HTML"
341
  msgstr "Настройки оформления списка:"
342
 
343
- #: admin.inc.php:366
344
  msgid "HTML to display before the list of posts: "
345
  msgstr "HTML-тег, используемый перед списком:"
346
 
347
- #: admin.inc.php:369
348
  msgid "HTML to display before each list item: "
349
  msgstr "HTML-тег, используемый перед каждым пунктом в списке:"
350
 
351
- #: admin.inc.php:372
352
  msgid "HTML to display after each list item: "
353
  msgstr "HTML-тег, используемый после каждого пункта в списке:"
354
 
355
- #: admin.inc.php:375
356
  msgid "HTML to display after the list of posts: "
357
  msgstr "HTML-тег, используемый после списка:"
358
 
359
- #: admin.inc.php:378
360
- msgid "Post thumbnail options:"
361
- msgstr "Настройки превью к записям:"
362
-
363
- #: admin.inc.php:380
364
  msgid "Location of post thumbnail:"
365
  msgstr ""
366
 
367
- #: admin.inc.php:384
368
  msgid "Display thumbnails inline with posts, before title"
369
  msgstr "Отображать превью к записи сразу перед заголовком"
370
 
371
- #: admin.inc.php:388
372
  msgid "Display thumbnails inline with posts, after title"
373
  msgstr "Отображать превью к записи сразу после заголовка"
374
 
375
- #: admin.inc.php:392
376
  msgid "Display only thumbnails, no text"
377
  msgstr "Отображать только превью, без текста"
378
 
379
- #: admin.inc.php:396
380
  msgid "Do not display thumbnails, only text."
381
  msgstr "Отображать только текст, без превью"
382
 
383
- #: admin.inc.php:400
384
- msgid "Width of the thumbnail: "
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
385
  msgstr ""
386
 
387
- #: admin.inc.php:403
388
- msgid "Height of the thumbnail: "
389
  msgstr ""
390
 
391
- #: admin.inc.php:406
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
392
  msgid "Style attributes / Width and Height HTML attributes:"
393
  msgstr ""
394
 
395
- #: admin.inc.php:410
396
  msgid "Style attributes are used for width and height."
397
  msgstr ""
398
 
399
- #: admin.inc.php:414
400
  msgid "HTML width and height attributes are used for width and height."
401
  msgstr ""
402
 
403
- #: admin.inc.php:418
404
  msgid "Use timthumb to generate thumbnails? "
405
  msgstr ""
406
 
407
- #: admin.inc.php:421
408
  msgid ""
409
  "If checked, <a href=\"http://www.binarymoon.co.uk/projects/timthumb/\" "
410
  "target=\"_blank\">timthumb</a> will be used to generate thumbnails"
411
  msgstr ""
412
 
413
- #: admin.inc.php:424
414
  msgid "Quality of thumbnails generated by timthumb:"
415
  msgstr ""
416
 
417
- #: admin.inc.php:427
418
  msgid ""
419
  "Enter values between 0 and 100 only. 100 is highest quality and the highest "
420
  "file size. Suggested maximum value is 95. Default is 75."
421
  msgstr ""
422
 
423
- #: admin.inc.php:430
424
  #, fuzzy
425
  msgid "Post thumbnail meta field name: "
426
  msgstr "Настройки превью к записям:"
427
 
428
- #: admin.inc.php:433
429
  msgid ""
430
  "The value of this field should contain the image source and is set in the "
431
  "<em>Add New Post</em> screen"
432
  msgstr ""
433
 
434
- #: admin.inc.php:436
435
  #, fuzzy
436
  msgid ""
437
  "If the postmeta is not set, then should the plugin extract the first image "
@@ -441,7 +615,7 @@ msgstr ""
441
  "изображение из записи. Это может слегка увеличить загрузку в первый раз, так "
442
  "как будет создаваться уменьшенная копия изображения"
443
 
444
- #: admin.inc.php:439
445
  #, fuzzy
446
  msgid ""
447
  "This could slow down the loading of your page if the first image in the "
@@ -451,11 +625,11 @@ msgstr ""
451
  "изображение из записи. Это может слегка увеличить загрузку в первый раз, так "
452
  "как будет создаваться уменьшенная копия изображения"
453
 
454
- #: admin.inc.php:442
455
  msgid "Use default thumbnail? "
456
  msgstr ""
457
 
458
- #: admin.inc.php:445
459
  msgid ""
460
  "If checked, when no thumbnail is found, show a default one from the URL "
461
  "below. If not checked and no thumbnail is found, no image will be shown."
@@ -464,11 +638,11 @@ msgstr ""
464
  "добавлено стандартное изображение. Если превью задано к записи - будет "
465
  "отображаться только оно."
466
 
467
- #: admin.inc.php:448
468
  msgid "Default thumbnail: "
469
  msgstr ""
470
 
471
- #: admin.inc.php:452
472
  #, fuzzy
473
  msgid ""
474
  "The plugin will first check if the post contains a thumbnail. If it doesn't "
@@ -479,52 +653,54 @@ msgstr ""
479
  "заданному ранее произвольному мета-полю). Если же превью нет - будет "
480
  "выводиться картинка по-умолчанию:"
481
 
482
- #: admin.inc.php:459
483
  msgid "Custom CSS"
484
  msgstr ""
485
 
486
- #: admin.inc.php:462
487
  msgid "Use default style included in the plugin?"
488
  msgstr ""
489
 
490
- #: admin.inc.php:465
491
  msgid ""
492
  "Top 10 includes a default style that makes your popular posts list to look "
493
- "pretty. Check the box above if you want to use this. You will need to select "
494
- "<strong>Thumbnails inline, before title</strong> in Output Options or in the "
495
- "Widget."
 
 
 
 
 
496
  msgstr ""
497
 
498
- #: admin.inc.php:468
 
 
 
 
 
 
499
  msgid "Custom CSS to add to header:"
500
  msgstr ""
501
 
502
- #: admin.inc.php:471
503
  msgid ""
504
  "Do not include <code>style</code> tags. Check out the <a href=\"http://"
505
  "wordpress.org/extend/plugins/top-10/faq/\" target=\"_blank\">FAQ</a> for "
506
  "available CSS classes to style."
507
  msgstr ""
508
 
509
- #: admin.inc.php:478 admin.inc.php:544
510
- #, fuzzy
511
- msgid "Save Options"
512
- msgstr "Настройки плагина:"
513
-
514
- #: admin.inc.php:479
515
  #, fuzzy
516
  msgid "Default Options"
517
  msgstr "Настройки плагина:"
518
 
519
- #: admin.inc.php:479
520
  msgid "Do you want to set options to Default?"
521
  msgstr "Сбросить настройки плагина?"
522
 
523
- #: admin.inc.php:488
524
- msgid "Maintenance"
525
- msgstr ""
526
-
527
- #: admin.inc.php:492
528
  msgid ""
529
  "Over time the Daily Top 10 database grows in size, which reduces the "
530
  "performance of the plugin. Cleaning the database at regular intervals could "
@@ -532,65 +708,65 @@ msgid ""
532
  "will automatically delete entries older than 90 days."
533
  msgstr ""
534
 
535
- #: admin.inc.php:493
536
  msgid ""
537
  "Note: When scheduled maintenance is enabled, WordPress will run the cron job "
538
  "everytime the job is rescheduled (i.e. you change the settings below)."
539
  msgstr ""
540
 
541
- #: admin.inc.php:496
542
  msgid "Enable scheduled maintenance of daily tables:"
543
  msgstr ""
544
 
545
- #: admin.inc.php:500
546
  msgid "Time to run maintenance"
547
  msgstr ""
548
 
549
- #: admin.inc.php:501
550
  msgid "hrs"
551
  msgstr ""
552
 
553
- #: admin.inc.php:501
554
  msgid "min"
555
  msgstr ""
556
 
557
- #: admin.inc.php:503
558
  msgid "How often should the maintenance be run:"
559
  msgstr ""
560
 
561
- #: admin.inc.php:507
562
  msgid "Daily"
563
  msgstr ""
564
 
565
- #: admin.inc.php:511
566
  msgid "Weekly"
567
  msgstr ""
568
 
569
- #: admin.inc.php:515
570
  msgid "Fortnightly"
571
  msgstr ""
572
 
573
- #: admin.inc.php:519
574
  msgid "Monthly"
575
  msgstr ""
576
 
577
- #: admin.inc.php:528
578
  msgid "The cron job has been scheduled. Maintenance will run "
579
  msgstr ""
580
 
581
- #: admin.inc.php:533
582
  msgid "The cron job is missing. Please resave this page to add the job"
583
  msgstr ""
584
 
585
- #: admin.inc.php:538
586
  msgid "Maintenance is turned off"
587
  msgstr ""
588
 
589
- #: admin.inc.php:552
590
  msgid "Reset count"
591
  msgstr "Сбросить статистику"
592
 
593
- #: admin.inc.php:555
594
  msgid ""
595
  "This cannot be reversed. Make sure that your database has been backed up "
596
  "before proceeding"
@@ -598,303 +774,309 @@ msgstr ""
598
  "Сброс статистики не может быть обращен. Перед тем, как сбрасывать все, "
599
  "убедитесь, что у вас есть копия вашей базы данных!"
600
 
601
- #: admin.inc.php:558
602
  #, fuzzy
603
  msgid "Reset Popular Posts"
604
  msgstr "Популярные записи"
605
 
606
- #: admin.inc.php:558
607
  msgid "Are you sure you want to reset the popular posts?"
608
  msgstr "Вы уверены, что хотите сбросить статистику для Популярных записей?"
609
 
610
- #: admin.inc.php:559
611
  #, fuzzy
612
  msgid "Reset Daily Popular Posts"
613
  msgstr "Популярные сегодня записи"
614
 
615
- #: admin.inc.php:559
616
  msgid "Are you sure you want to reset the daily popular posts?"
617
  msgstr ""
618
  "Вы уверены, что хотите сбросить статистику для Популярных сегодня записей?"
619
 
620
- #: admin.inc.php:560
621
  msgid "Clear duplicates"
622
  msgstr ""
623
 
624
- #: admin.inc.php:560
625
  msgid "This will delete the duplicate entries in the tables. Proceed?"
626
  msgstr ""
627
  "Будет произведено удаление дублирующихся щаписей из статистики. Продолжить?"
628
 
629
- #: admin.inc.php:612 admin.inc.php:1010
630
- msgid "Popular Posts"
631
- msgstr "Популярные записи"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
632
 
633
- #: admin.inc.php:614 admin.inc.php:713
 
 
 
 
 
 
 
 
 
 
 
 
634
  msgid "Daily Popular Posts"
635
  msgstr "Популярные сегодня записи"
636
 
637
- #: admin.inc.php:645
638
  msgid "Support the development"
639
  msgstr "Поддержать автора плагина"
640
 
641
- #: admin.inc.php:652
642
  msgid "Donation for Top 10"
643
  msgstr ""
644
 
645
- #: admin.inc.php:654
646
  msgid "Enter amount in USD: "
647
  msgstr "Сколько вы готовы пожертвовать (в USD):"
648
 
649
- #: admin.inc.php:658
650
  #, fuzzy
651
  msgid "Send your donation to the author of Top 10"
652
  msgstr "Отправьте пожертвование автору"
653
 
654
- #: admin.inc.php:665
655
  msgid "Follow me"
656
  msgstr ""
657
 
658
- #: admin.inc.php:675
659
  #, fuzzy
660
  msgid "Quick links"
661
  msgstr "Полезные ссылки"
662
 
663
- #: admin.inc.php:679
664
  #, fuzzy
665
  msgid "Top 10 plugin page"
666
  msgstr "страница плагина"
667
 
668
- #: admin.inc.php:680
 
 
 
 
669
  msgid "Other plugins"
670
  msgstr "Другие плагины автора"
671
 
672
- #: admin.inc.php:681
673
  msgid "Ajay's blog"
674
  msgstr "Блог Ajay"
675
 
676
- #: admin.inc.php:682
677
  msgid "FAQ"
678
  msgstr ""
679
 
680
- #: admin.inc.php:683 top-10.php:1345
681
  msgid "Support"
682
  msgstr "Поддержка (англ.)"
683
 
684
- #: admin.inc.php:684
685
  msgid "Reviews"
686
  msgstr ""
687
 
688
- #: admin.inc.php:704 admin.inc.php:707
689
- #, fuzzy
690
- msgid "Top 10 Settings"
691
- msgstr "Настроки плагина"
692
-
693
- #: admin.inc.php:704 admin.inc.php:1183
694
- msgid "Top 10"
695
- msgstr "Топ 10 записей"
696
-
697
- #: admin.inc.php:710
698
  #, fuzzy
699
  msgid "Overall Popular Posts"
700
  msgstr "Посмотреть все Популярные записи"
701
 
702
- #: admin.inc.php:882
703
- #, php-format
704
- msgid "Results %1$s to %2$s of %3$s"
705
- msgstr ""
706
-
707
- #: admin.inc.php:886
708
- #, php-format
709
- msgid "Page %s of %s"
710
- msgstr ""
711
-
712
- #: admin.inc.php:898
713
- msgid "View Daily Popular Posts"
714
- msgstr "Посмотреть все Популярные сегодня записи"
715
-
716
- #: admin.inc.php:901 admin.inc.php:914
717
- msgid "Results per-page:"
718
- msgstr "Результатов на страницу:"
719
-
720
- #: admin.inc.php:911
721
- msgid "View Overall Popular Posts"
722
- msgstr "Посмотреть все Популярные записи"
723
-
724
- #: admin.inc.php:940
725
- msgid "Previous"
726
- msgstr "Предыдущая страница"
727
-
728
- #: admin.inc.php:968
729
- msgid "Next"
730
- msgstr "Следующая страница"
731
-
732
- #: admin.inc.php:1011
733
- msgid "Daily Popular"
734
- msgstr "Популярные сегодня записи"
735
-
736
- #: admin.inc.php:1029
737
- #, fuzzy
738
- msgid "Total Views"
739
- msgstr "Всего/Сегодня"
740
-
741
- #: admin.inc.php:1030
742
- #, fuzzy
743
- msgid "Today's Views"
744
- msgstr "Всего/Сегодня"
745
-
746
- #: admin.inc.php:1031
747
- #, fuzzy
748
- msgid "Views"
749
- msgstr "Всего/Сегодня"
750
-
751
- #: admin.inc.php:1217
752
- #, fuzzy
753
- msgid "Visit count:"
754
- msgstr "Сбросить статистику"
755
-
756
- #: admin.inc.php:1219
757
- msgid ""
758
- "Enter a number above to update the visit count. Leaving the above box blank "
759
- "will set the count to zero"
760
- msgstr ""
761
-
762
- #: admin.inc.php:1229
763
- msgid "Location of thumbnail:"
764
- msgstr ""
765
-
766
- #: admin.inc.php:1231
767
- msgid ""
768
- "Enter the full URL to the image (JPG, PNG or GIF) you'd like to use. This "
769
- "image will be used for the post. It will be resized to the thumbnail size "
770
- "set under Settings &raquo; Related Posts &raquo; Output Options"
771
- msgstr ""
772
-
773
- #: admin.inc.php:1232
774
- msgid "The URL above is saved in the meta field: "
775
- msgstr ""
776
 
777
- #: top-10.php:456
778
- msgid " by "
779
- msgstr ""
780
 
781
- #: top-10.php:550
782
  #, fuzzy
783
  msgid "Popular Posts [Top 10]"
784
  msgstr "Популярные записи"
785
 
786
- #: top-10.php:551
787
  #, fuzzy
788
  msgid "Display popular posts"
789
  msgstr "Популярные сегодня записи"
790
 
791
- #: top-10.php:577
792
  msgid "Title"
793
  msgstr ""
794
 
795
- #: top-10.php:582
796
  msgid "No. of posts"
797
  msgstr ""
798
 
799
- #: top-10.php:587
800
  msgid "Overall"
801
  msgstr ""
802
 
803
- #: top-10.php:588
804
  msgid "Custom time period (Enter below)"
805
  msgstr ""
806
 
807
- #: top-10.php:593
808
- msgid "Range in number of days (applies only to custom option above)"
 
 
 
 
 
 
 
 
809
  msgstr ""
810
 
811
- #: top-10.php:598
812
  #, fuzzy
813
  msgid "Show count?"
814
  msgstr "Показывать текст записи в списке?"
815
 
816
- #: top-10.php:603
817
  #, fuzzy
818
  msgid "Show excerpt?"
819
  msgstr "Показывать текст записи в списке?"
820
 
821
- #: top-10.php:608
822
  #, fuzzy
823
  msgid "Show author?"
824
  msgstr "Показывать текст записи в списке?"
825
 
826
- #: top-10.php:613
827
  #, fuzzy
828
  msgid "Show date?"
829
  msgstr "Показывать текст записи в списке?"
830
 
831
- #: top-10.php:617
832
- #, fuzzy
833
- msgid "Thumbnail options"
834
- msgstr "Настройки превью к записям:"
835
-
836
- #: top-10.php:619
837
  #, fuzzy
838
  msgid "Thumbnails inline, before title"
839
  msgstr "Отображать превью к записи сразу перед заголовком"
840
 
841
- #: top-10.php:620
842
  #, fuzzy
843
  msgid "Thumbnails inline, after title"
844
  msgstr "Отображать превью к записи сразу после заголовка"
845
 
846
- #: top-10.php:621
847
  #, fuzzy
848
  msgid "Only thumbnails, no text"
849
  msgstr "Отображать только превью, без текста"
850
 
851
- #: top-10.php:622
852
  #, fuzzy
853
  msgid "No thumbnails, only text."
854
  msgstr "Отображать только текст, без превью"
855
 
856
- #: top-10.php:627
857
  #, fuzzy
858
  msgid "Thumbnail height"
859
  msgstr "Настройки превью к записям:"
860
 
861
- #: top-10.php:632
862
  #, fuzzy
863
  msgid "Thumbnail width"
864
  msgstr "Настройки превью к записям:"
865
 
866
- #: top-10.php:772
 
 
 
 
 
 
 
 
 
867
  msgid "<h3>Popular Posts</h3>"
868
  msgstr "<h3>Популярные записи</h3>"
869
 
870
- #: top-10.php:773
871
  msgid "<h3>Daily Popular</h3>"
872
  msgstr "<h3>Популярные сегодня записи</h3>"
873
 
874
- #: top-10.php:774
875
  #, fuzzy
876
  msgid "No top posts yet"
877
  msgstr "Сбросить статистику популярных записей"
878
 
879
- #: top-10.php:1245
880
  msgid "Once Weekly"
881
  msgstr ""
882
 
883
- #: top-10.php:1249
884
  msgid "Once Fortnightly"
885
  msgstr ""
886
 
887
- #: top-10.php:1253
888
  msgid "Once Monthly"
889
  msgstr ""
890
 
891
- #: top-10.php:1323
892
- msgid "Settings"
893
- msgstr "Настроки плагина"
894
 
895
- #: top-10.php:1346
896
- msgid "Donate"
897
- msgstr "Сделать пожертвование"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
898
 
899
  #~ msgid "Display the posts popular this week"
900
  #~ msgstr "Отображать списки популярных записей за неделю"
2
  msgstr ""
3
  "Project-Id-Version: Топ 10\n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2014-12-28 00:57-0000\n"
6
  "PO-Revision-Date: \n"
7
  "Last-Translator: Ajay D'Souza <me@ajaydsouza.com>\n"
8
  "Language-Team: Elvis (fweb.org.ru) <kopper@rkmail.ru>\n"
12
  "Content-Transfer-Encoding: 8bit\n"
13
  "X-Poedit-KeywordsList: _e;__\n"
14
  "X-Poedit-Basepath: ../\n"
15
+ "X-Generator: Poedit 1.7.1\n"
16
+ "X-Poedit-SourceCharset: UTF-8\n"
17
  "X-Poedit-SearchPath-0: .\n"
18
 
19
+ #: admin/admin-columns.php:30
20
+ #, fuzzy
21
+ msgid "Total Views"
22
+ msgstr "Всего/Сегодня"
23
+
24
+ #: admin/admin-columns.php:33
25
+ #, fuzzy
26
+ msgid "Today's Views"
27
+ msgstr "Всего/Сегодня"
28
+
29
+ #: admin/admin-columns.php:36
30
+ #, fuzzy
31
+ msgid "Views"
32
+ msgstr "Всего/Сегодня"
33
+
34
+ #: admin/admin-dashboard.php:72
35
+ #, php-format
36
+ msgid "Results %1$s to %2$s of %3$s"
37
+ msgstr ""
38
+
39
+ #: admin/admin-dashboard.php:76
40
+ #, php-format
41
+ msgid "Page %s of %s"
42
+ msgstr ""
43
+
44
+ #: admin/admin-dashboard.php:88
45
+ msgid "View Daily Popular Posts"
46
+ msgstr "Посмотреть все Популярные сегодня записи"
47
+
48
+ #: admin/admin-dashboard.php:91 admin/admin-dashboard.php:104
49
+ msgid "Results per-page:"
50
+ msgstr "Результатов на страницу:"
51
+
52
+ #: admin/admin-dashboard.php:101
53
+ msgid "View Overall Popular Posts"
54
+ msgstr "Посмотреть все Популярные записи"
55
+
56
+ #: admin/admin-dashboard.php:130
57
+ msgid "Previous"
58
+ msgstr "Предыдущая страница"
59
+
60
+ #: admin/admin-dashboard.php:158
61
+ msgid "Next"
62
+ msgstr "Следующая страница"
63
+
64
+ #: admin/admin-dashboard.php:200 admin/admin.php:1145
65
+ msgid "Popular Posts"
66
+ msgstr "Популярные записи"
67
+
68
+ #: admin/admin-dashboard.php:205
69
+ msgid "Daily Popular"
70
+ msgstr "Популярные сегодня записи"
71
+
72
+ #: admin/admin-metabox.php:38 admin/admin.php:1234
73
+ msgid "Top 10"
74
+ msgstr "Топ 10 записей"
75
+
76
+ #: admin/admin-metabox.php:71
77
+ #, fuzzy
78
+ msgid "Visit count:"
79
+ msgstr "Сбросить статистику"
80
+
81
+ #: admin/admin-metabox.php:73
82
+ msgid ""
83
+ "Enter a number above to update the visit count. Leaving the above box blank "
84
+ "will set the count to zero"
85
+ msgstr ""
86
+
87
+ #: admin/admin-metabox.php:83
88
+ msgid "Location of thumbnail:"
89
+ msgstr ""
90
+
91
+ #: admin/admin-metabox.php:85
92
+ msgid ""
93
+ "Enter the full URL to the image (JPG, PNG or GIF) you'd like to use. This "
94
+ "image will be used for the post. It will be resized to the thumbnail size "
95
+ "set under Settings &raquo; Related Posts &raquo; Output Options"
96
+ msgstr ""
97
+
98
+ #: admin/admin-metabox.php:86
99
+ msgid "The URL above is saved in the meta field: "
100
+ msgstr ""
101
+
102
+ #: admin/admin.php:160
103
  msgid "Options saved successfully."
104
  msgstr "Настройки сохранены."
105
 
106
+ #: admin/admin.php:170
107
  msgid "Options set to Default."
108
  msgstr "Настройки сброшены."
109
 
110
+ #: admin/admin.php:176
111
  msgid "Top 10 popular posts reset"
112
  msgstr "Сбросить статистику популярных записей"
113
 
114
+ #: admin/admin.php:182
115
  msgid "Top 10 daily popular posts reset"
116
  msgstr "Сбросить статистику популярных записей за сегодня"
117
 
118
+ #: admin/admin.php:189
119
  msgid "Duplicate rows cleaned from tables"
120
  msgstr ""
121
 
122
+ #: admin/admin.php:201
123
  msgid "Scheduled maintenance enabled / modified"
124
  msgstr ""
125
 
126
+ #: admin/admin.php:205
127
  msgid "Scheduled maintenance disabled"
128
  msgstr ""
129
 
130
+ #: admin/admin.php:244
131
+ msgid "Counts from selected sites have been imported."
 
132
  msgstr ""
133
 
134
+ #: admin/admin.php:269
135
+ msgid ""
136
+ "Selected tables have been deleted. Note that only imported tables have been "
137
+ "deleted."
138
  msgstr ""
139
 
140
+ #: admin/admin.php:277 admin/admin.php:1234 admin/admin.php:1237
141
+ #, fuzzy
142
+ msgid "Top 10 Settings"
143
+ msgstr "Настроки плагина"
144
 
145
+ #: admin/admin.php:289 admin/admin.php:311
146
+ msgid "General options"
147
  msgstr ""
148
 
149
+ #: admin/admin.php:290 admin/admin.php:373
150
+ msgid "Counter and tracker options"
151
  msgstr ""
152
 
153
+ #: admin/admin.php:291 admin/admin.php:478
154
+ msgid "Popular post list options"
 
 
 
155
  msgstr ""
156
 
157
+ #: admin/admin.php:292 admin/admin.php:681
158
+ #: includes/class-top-10-widget.php:103
159
+ #, fuzzy
160
+ msgid "Thumbnail options"
161
+ msgstr "Настройки превью к записям:"
162
 
163
+ #: admin/admin.php:293
164
+ msgid "Custom styles"
 
 
165
  msgstr ""
166
 
167
+ #: admin/admin.php:294 admin/admin.php:912
168
+ msgid "Maintenance"
169
  msgstr ""
 
170
 
171
+ #: admin/admin.php:310 admin/admin.php:372 admin/admin.php:477
172
+ #: admin/admin.php:680 admin/admin.php:843 admin/admin.php:911
173
+ #: admin/admin.php:975 admin/admin.php:996 admin/admin.php:1176
174
+ #: admin/admin.php:1196 admin/admin.php:1206
175
+ msgid "Click to toggle"
176
  msgstr ""
177
 
178
+ #: admin/admin.php:327
179
+ msgid "Enable Overall stats"
180
  msgstr ""
181
 
182
+ #: admin/admin.php:333
183
+ msgid "Enable Daily stats"
184
  msgstr ""
185
 
186
+ #: admin/admin.php:339
187
+ msgid "Cache fix:"
188
  msgstr ""
189
 
190
+ #: admin/admin.php:342
191
+ msgid ""
192
+ "This will try to prevent W3 Total Cache and other caching plugins from "
193
+ "caching the tracker script of the plugin. Try toggling this option in case "
194
+ "you find that your posts are not tracked."
195
+ msgstr ""
196
+
197
+ #: admin/admin.php:346
198
+ msgid "Link to Top 10 plugin page"
199
+ msgstr ""
200
 
201
+ #: admin/admin.php:349
202
+ #, fuzzy
203
  msgid ""
204
+ "A link to the plugin is added as an extra list item to the list of popular "
205
+ "posts"
 
206
  msgstr ""
207
+ "Оставить ссылку на плагин под списками Популярных записей? Автор плагина был "
208
+ "бы очень благодарен Вам, если Вы ее все же оставите!"
209
 
210
+ #: admin/admin.php:354 admin/admin.php:459 admin/admin.php:662
211
+ #: admin/admin.php:825 admin/admin.php:891 admin/admin.php:968
212
+ #, fuzzy
213
+ msgid "Save Options"
214
+ msgstr "Настройки плагина:"
215
+
216
+ #: admin/admin.php:389
217
  #, fuzzy
218
  msgid "Display number of views on:"
219
  msgstr "Показывать количество просмотров записи в ее \"теле\"?"
220
 
221
+ #: admin/admin.php:391
222
  msgid "Posts"
223
  msgstr ""
224
 
225
+ #: admin/admin.php:392
226
  #, fuzzy
227
  msgid "Pages"
228
  msgstr "Страница"
229
 
230
+ #: admin/admin.php:393
231
  msgid "Home page"
232
  msgstr ""
233
 
234
+ #: admin/admin.php:394
235
  msgid "Feeds"
236
  msgstr ""
237
 
238
+ #: admin/admin.php:395
239
  msgid "Category archives"
240
  msgstr ""
241
 
242
+ #: admin/admin.php:396
243
  msgid "Tag archives"
244
  msgstr ""
245
 
246
+ #: admin/admin.php:397
247
  msgid "Other archives"
248
  msgstr ""
249
 
250
+ #: admin/admin.php:398
251
  msgid ""
252
  "If you choose to disable this, please add <code>&lt;?php if "
253
  "( function_exists ( 'echo_tptn_post_count' ) ) echo_tptn_post_count(); ?&gt;"
254
  "</code> to your template file where you want it displayed"
255
  msgstr ""
256
 
257
+ #: admin/admin.php:402
258
+ #, fuzzy
259
+ msgid "Format to display the post views:"
260
+ msgstr ""
261
+ "В поле ниже вы можете настроить формат отображения количества просмотров за "
262
+ "день, за все время для записей/страниц:"
263
+
264
+ #: admin/admin.php:405
265
+ msgid ""
266
+ "Use <code>%totalcount%</code> to display the total count, <code>%dailycount"
267
+ "%</code> to display the daily count and <code>%overallcount%</code> to "
268
+ "display the overall count across all posts on the blog. e.g. the default "
269
+ "options displays <code>[Visited 123 times, 23 visits today]</code>"
270
+ msgstr ""
271
+
272
+ #: admin/admin.php:409
273
+ msgid "What do display when there are no visits?"
274
+ msgstr ""
275
+
276
+ #: admin/admin.php:412
277
+ msgid ""
278
+ "This text applies only when there are 0 hits for the post and it isn't a "
279
+ "single page. e.g. if you display post views on the homepage or archives then "
280
+ "this text will be used. To override this, just enter the same text as above "
281
+ "option."
282
+ msgstr ""
283
+
284
+ #: admin/admin.php:416
285
  msgid "Always display latest post count"
286
  msgstr ""
287
 
288
+ #: admin/admin.php:419
289
  msgid ""
290
  "This option uses JavaScript and will increase your page load time. Turn this "
291
  "off if you are not using caching plugins or are OK with displaying older "
292
  "cached counts."
293
  msgstr ""
294
 
295
+ #: admin/admin.php:423
296
  msgid "Track visits of authors on their own posts?"
297
  msgstr "Учитывать просмотры записей, сделанные их же авторами?"
298
 
299
+ #: admin/admin.php:426
300
  msgid ""
301
  "Disabling this option will stop authors visits tracked on their own posts"
302
  msgstr ""
303
 
304
+ #: admin/admin.php:430
305
  #, fuzzy
306
  msgid "Track visits of admins?"
307
  msgstr "Учитывать просмотры записей, сделанные их же авторами?"
308
 
309
+ #: admin/admin.php:433
310
  msgid "Disabling this option will stop admin visits being tracked."
311
  msgstr ""
312
 
313
+ #: admin/admin.php:437
314
  #, fuzzy
315
  msgid "Track visits of Editors?"
316
  msgstr "Учитывать просмотры записей, сделанные их же авторами?"
317
 
318
+ #: admin/admin.php:440
319
  msgid "Disabling this option will stop editor visits being tracked."
320
  msgstr ""
321
 
322
+ #: admin/admin.php:444
323
  msgid "Display page views on Posts and Pages in Admin"
324
  msgstr ""
325
 
326
+ #: admin/admin.php:447
327
  msgid ""
328
  "Adds three columns called Total Views, Today's Views and Views to All Posts "
329
  "and All Pages"
330
  msgstr ""
331
 
332
+ #: admin/admin.php:451
333
  #, fuzzy
334
  msgid "Show number of views to non-admins"
335
  msgstr "Показывать количество просмотров страницы в ее \"теле\"?"
336
 
337
+ #: admin/admin.php:454
338
  msgid ""
339
  "If you disable this then non-admins won't see the above columns or view the "
340
  "independent pages with the top posts"
341
  msgstr ""
342
 
343
+ #: admin/admin.php:494
344
+ msgid "Number of popular posts to display: "
345
+ msgstr "Количество Популярных записей в списке:"
346
 
347
+ #: admin/admin.php:497
 
348
  msgid ""
349
+ "Maximum number of posts that will be displayed in the list. This option is "
350
+ "used if you don't specify the number of posts in the widget or shortcodes"
351
  msgstr ""
 
 
352
 
353
+ #: admin/admin.php:501
354
+ msgid "Daily popular contains top posts over:"
355
+ msgstr ""
 
356
 
357
+ #: admin/admin.php:503
358
+ msgid "day(s)"
 
359
  msgstr ""
 
 
360
 
361
+ #: admin/admin.php:504
362
+ msgid "hour(s)"
363
+ msgstr ""
364
+
365
+ #: admin/admin.php:505
366
  msgid ""
367
+ "Think of Daily Popular has a custom date range applied as a global setting. "
368
+ "Instead of displaying popular posts from the past day, this setting lets you "
369
+ "display posts for as many days or as few hours as you want. This can be "
370
+ "overridden in the widget."
371
  msgstr ""
 
 
 
372
 
373
+ #: admin/admin.php:509
374
+ msgid "Post types to include in results (including custom post types)"
375
+ msgstr ""
376
+
377
+ #: admin/admin.php:521
378
+ msgid "List of post or page IDs to exclude from the results: "
379
  msgstr ""
380
 
381
+ #: admin/admin.php:523 admin/admin.php:630
382
+ msgid "Enter comma separated list of IDs. e.g. 188,320,500"
383
+ msgstr ""
384
+
385
+ #: admin/admin.php:527
386
+ msgid "Exclude Categories: "
387
+ msgstr "Исключить рубрики:"
388
+
389
+ #: admin/admin.php:542
390
  msgid ""
391
+ "Comma separated list of category slugs. The field above has an autocomplete "
392
+ "so simply start typing in the starting letters and it will prompt you with "
393
+ "options"
 
394
  msgstr ""
395
 
396
+ #: admin/admin.php:547
397
  msgid "Title of popular posts: "
398
  msgstr "Заголовок списка Популярных записей:"
399
 
400
+ #: admin/admin.php:553
401
  msgid "Title of daily popular posts: "
402
  msgstr "Заголовок списка Популярных сегодня записей:"
403
 
404
+ #: admin/admin.php:559
405
  msgid "When there are no posts, what should be shown?"
406
  msgstr ""
407
 
408
+ #: admin/admin.php:563
409
  msgid "Blank Output"
410
  msgstr ""
411
 
412
+ #: admin/admin.php:567
413
  msgid "Display:"
414
  msgstr ""
415
 
416
+ #: admin/admin.php:572
417
  msgid "Show post excerpt in list?"
418
  msgstr "Показывать текст записи в списке?"
419
 
420
+ #: admin/admin.php:578
421
  msgid "Length of excerpt (in words): "
422
  msgstr "Длина выводимого текста (в словах):"
423
 
424
+ #: admin/admin.php:584
425
  #, fuzzy
426
  msgid "Show post author in list?"
427
  msgstr "Показывать текст записи в списке?"
428
 
429
+ #: admin/admin.php:590
430
  #, fuzzy
431
  msgid "Show post date in list?"
432
  msgstr "Показывать текст записи в списке?"
433
 
434
+ #: admin/admin.php:596
435
  msgid "Limit post title length (in characters)"
436
  msgstr ""
437
 
438
+ #: admin/admin.php:602
439
  #, fuzzy
440
  msgid "Show view count in list?"
441
  msgstr "Показывать текст записи в списке?"
442
 
443
+ #: admin/admin.php:608
444
  msgid "Always display latest post count in the daily lists?"
445
  msgstr ""
446
 
447
+ #: admin/admin.php:611
448
  msgid ""
449
  "This option uses JavaScript and will increase your page load time. When you "
450
  "enable this option, the daily widget will not use the options set there, but "
451
  "options will need to be set on this screen."
452
  msgstr ""
453
 
454
+ #: admin/admin.php:615
455
  msgid "Open links in new window"
456
  msgstr ""
457
 
458
+ #: admin/admin.php:621
459
  msgid "Add nofollow attribute to links in the list"
460
  msgstr ""
461
 
462
+ #: admin/admin.php:627
463
  msgid "Exclude display of related posts on these posts / pages"
464
  msgstr ""
465
 
466
+ #: admin/admin.php:634
467
  #, fuzzy
468
  msgid "Customise the list HTML"
469
  msgstr "Настройки оформления списка:"
470
 
471
+ #: admin/admin.php:637
472
  msgid "HTML to display before the list of posts: "
473
  msgstr "HTML-тег, используемый перед списком:"
474
 
475
+ #: admin/admin.php:643
476
  msgid "HTML to display before each list item: "
477
  msgstr "HTML-тег, используемый перед каждым пунктом в списке:"
478
 
479
+ #: admin/admin.php:649
480
  msgid "HTML to display after each list item: "
481
  msgstr "HTML-тег, используемый после каждого пункта в списке:"
482
 
483
+ #: admin/admin.php:655
484
  msgid "HTML to display after the list of posts: "
485
  msgstr "HTML-тег, используемый после списка:"
486
 
487
+ #: admin/admin.php:696
 
 
 
 
488
  msgid "Location of post thumbnail:"
489
  msgstr ""
490
 
491
+ #: admin/admin.php:700
492
  msgid "Display thumbnails inline with posts, before title"
493
  msgstr "Отображать превью к записи сразу перед заголовком"
494
 
495
+ #: admin/admin.php:705
496
  msgid "Display thumbnails inline with posts, after title"
497
  msgstr "Отображать превью к записи сразу после заголовка"
498
 
499
+ #: admin/admin.php:710
500
  msgid "Display only thumbnails, no text"
501
  msgstr "Отображать только превью, без текста"
502
 
503
+ #: admin/admin.php:715
504
  msgid "Do not display thumbnails, only text."
505
  msgstr "Отображать только текст, без превью"
506
 
507
+ #: admin/admin.php:719
508
+ msgid "Thumbnail size:"
509
+ msgstr ""
510
+
511
+ #: admin/admin.php:743
512
+ msgid "Custom size"
513
+ msgstr ""
514
+
515
+ #: admin/admin.php:746
516
+ msgid ""
517
+ "You can choose from existing image sizes above or create a custom size. If "
518
+ "you have chosen Custom size above, then enter the width, height and crop "
519
+ "settings below. For best results, use a cropped image."
520
+ msgstr ""
521
+
522
+ #: admin/admin.php:747
523
+ msgid ""
524
+ "If you change the width and/or height below, existing images will not be "
525
+ "automatically resized."
526
+ msgstr ""
527
+
528
+ #: admin/admin.php:748
529
+ #, php-format
530
+ msgid ""
531
+ "I recommend using <a href='%s' target='_blank'>Force Regenerate Thumbnails</"
532
+ "a> or <a href='%s' target='_blank'>Force Regenerate Thumbnails</a> to "
533
+ "regenerate all image sizes."
534
  msgstr ""
535
 
536
+ #: admin/admin.php:751
537
+ msgid "Width of custom thumbnail:"
538
  msgstr ""
539
 
540
+ #: admin/admin.php:756
541
+ msgid "Height of custom thumbnail"
542
+ msgstr ""
543
+
544
+ #: admin/admin.php:761
545
+ msgid "Crop mode:"
546
+ msgstr ""
547
+
548
+ #: admin/admin.php:765
549
+ msgid ""
550
+ "By default, thumbnails will be proportionately cropped. Check this box to "
551
+ "hard crop the thumbnails."
552
+ msgstr ""
553
+
554
+ #: admin/admin.php:766
555
+ #, php-format
556
+ msgid "<a href='%s' target='_blank'>Difference between soft and hard crop</a>"
557
+ msgstr ""
558
+
559
+ #: admin/admin.php:768
560
+ msgid ""
561
+ "Since you're using the default styles set under the Custom Styles section, "
562
+ "the width and height is fixed at 65px and crop mode is enabled."
563
+ msgstr ""
564
+
565
+ #: admin/admin.php:773
566
  msgid "Style attributes / Width and Height HTML attributes:"
567
  msgstr ""
568
 
569
+ #: admin/admin.php:777
570
  msgid "Style attributes are used for width and height."
571
  msgstr ""
572
 
573
+ #: admin/admin.php:782
574
  msgid "HTML width and height attributes are used for width and height."
575
  msgstr ""
576
 
577
+ #: admin/admin.php:786
578
  msgid "Use timthumb to generate thumbnails? "
579
  msgstr ""
580
 
581
+ #: admin/admin.php:789
582
  msgid ""
583
  "If checked, <a href=\"http://www.binarymoon.co.uk/projects/timthumb/\" "
584
  "target=\"_blank\">timthumb</a> will be used to generate thumbnails"
585
  msgstr ""
586
 
587
+ #: admin/admin.php:792
588
  msgid "Quality of thumbnails generated by timthumb:"
589
  msgstr ""
590
 
591
+ #: admin/admin.php:795
592
  msgid ""
593
  "Enter values between 0 and 100 only. 100 is highest quality and the highest "
594
  "file size. Suggested maximum value is 95. Default is 75."
595
  msgstr ""
596
 
597
+ #: admin/admin.php:798
598
  #, fuzzy
599
  msgid "Post thumbnail meta field name: "
600
  msgstr "Настройки превью к записям:"
601
 
602
+ #: admin/admin.php:801
603
  msgid ""
604
  "The value of this field should contain the image source and is set in the "
605
  "<em>Add New Post</em> screen"
606
  msgstr ""
607
 
608
+ #: admin/admin.php:804
609
  #, fuzzy
610
  msgid ""
611
  "If the postmeta is not set, then should the plugin extract the first image "
615
  "изображение из записи. Это может слегка увеличить загрузку в первый раз, так "
616
  "как будет создаваться уменьшенная копия изображения"
617
 
618
+ #: admin/admin.php:807
619
  #, fuzzy
620
  msgid ""
621
  "This could slow down the loading of your page if the first image in the "
625
  "изображение из записи. Это может слегка увеличить загрузку в первый раз, так "
626
  "как будет создаваться уменьшенная копия изображения"
627
 
628
+ #: admin/admin.php:810
629
  msgid "Use default thumbnail? "
630
  msgstr ""
631
 
632
+ #: admin/admin.php:813
633
  msgid ""
634
  "If checked, when no thumbnail is found, show a default one from the URL "
635
  "below. If not checked and no thumbnail is found, no image will be shown."
638
  "добавлено стандартное изображение. Если превью задано к записи - будет "
639
  "отображаться только оно."
640
 
641
+ #: admin/admin.php:816
642
  msgid "Default thumbnail: "
643
  msgstr ""
644
 
645
+ #: admin/admin.php:820
646
  #, fuzzy
647
  msgid ""
648
  "The plugin will first check if the post contains a thumbnail. If it doesn't "
653
  "заданному ранее произвольному мета-полю). Если же превью нет - будет "
654
  "выводиться картинка по-умолчанию:"
655
 
656
+ #: admin/admin.php:844
657
  msgid "Custom CSS"
658
  msgstr ""
659
 
660
+ #: admin/admin.php:859
661
  msgid "Use default style included in the plugin?"
662
  msgstr ""
663
 
664
+ #: admin/admin.php:862
665
  msgid ""
666
  "Top 10 includes a default style that makes your popular posts list to look "
667
+ "beautiful. Check the box above if you want to use this."
668
+ msgstr ""
669
+
670
+ #: admin/admin.php:863
671
+ msgid ""
672
+ "Enabling this option will turn on the thumbnails and set their width and "
673
+ "height to 65px. It will also turn off the display of the author, excerpt and "
674
+ "date if already enabled. Disabling this option will not revert any settings."
675
  msgstr ""
676
 
677
+ #: admin/admin.php:864
678
+ #, php-format
679
+ msgid ""
680
+ "You can view the default style at <a href=\"%1$s\" target=\"_blank\">%1$s</a>"
681
+ msgstr ""
682
+
683
+ #: admin/admin.php:867
684
  msgid "Custom CSS to add to header:"
685
  msgstr ""
686
 
687
+ #: admin/admin.php:872
688
  msgid ""
689
  "Do not include <code>style</code> tags. Check out the <a href=\"http://"
690
  "wordpress.org/extend/plugins/top-10/faq/\" target=\"_blank\">FAQ</a> for "
691
  "available CSS classes to style."
692
  msgstr ""
693
 
694
+ #: admin/admin.php:892
 
 
 
 
 
695
  #, fuzzy
696
  msgid "Default Options"
697
  msgstr "Настройки плагина:"
698
 
699
+ #: admin/admin.php:892
700
  msgid "Do you want to set options to Default?"
701
  msgstr "Сбросить настройки плагина?"
702
 
703
+ #: admin/admin.php:916
 
 
 
 
704
  msgid ""
705
  "Over time the Daily Top 10 database grows in size, which reduces the "
706
  "performance of the plugin. Cleaning the database at regular intervals could "
708
  "will automatically delete entries older than 90 days."
709
  msgstr ""
710
 
711
+ #: admin/admin.php:917
712
  msgid ""
713
  "Note: When scheduled maintenance is enabled, WordPress will run the cron job "
714
  "everytime the job is rescheduled (i.e. you change the settings below)."
715
  msgstr ""
716
 
717
+ #: admin/admin.php:920
718
  msgid "Enable scheduled maintenance of daily tables:"
719
  msgstr ""
720
 
721
+ #: admin/admin.php:924
722
  msgid "Time to run maintenance"
723
  msgstr ""
724
 
725
+ #: admin/admin.php:925
726
  msgid "hrs"
727
  msgstr ""
728
 
729
+ #: admin/admin.php:925
730
  msgid "min"
731
  msgstr ""
732
 
733
+ #: admin/admin.php:927
734
  msgid "How often should the maintenance be run:"
735
  msgstr ""
736
 
737
+ #: admin/admin.php:931
738
  msgid "Daily"
739
  msgstr ""
740
 
741
+ #: admin/admin.php:935
742
  msgid "Weekly"
743
  msgstr ""
744
 
745
+ #: admin/admin.php:939
746
  msgid "Fortnightly"
747
  msgstr ""
748
 
749
+ #: admin/admin.php:943
750
  msgid "Monthly"
751
  msgstr ""
752
 
753
+ #: admin/admin.php:952
754
  msgid "The cron job has been scheduled. Maintenance will run "
755
  msgstr ""
756
 
757
+ #: admin/admin.php:957
758
  msgid "The cron job is missing. Please resave this page to add the job"
759
  msgstr ""
760
 
761
+ #: admin/admin.php:962
762
  msgid "Maintenance is turned off"
763
  msgstr ""
764
 
765
+ #: admin/admin.php:976
766
  msgid "Reset count"
767
  msgstr "Сбросить статистику"
768
 
769
+ #: admin/admin.php:979
770
  msgid ""
771
  "This cannot be reversed. Make sure that your database has been backed up "
772
  "before proceeding"
774
  "Сброс статистики не может быть обращен. Перед тем, как сбрасывать все, "
775
  "убедитесь, что у вас есть копия вашей базы данных!"
776
 
777
+ #: admin/admin.php:982
778
  #, fuzzy
779
  msgid "Reset Popular Posts"
780
  msgstr "Популярные записи"
781
 
782
+ #: admin/admin.php:982
783
  msgid "Are you sure you want to reset the popular posts?"
784
  msgstr "Вы уверены, что хотите сбросить статистику для Популярных записей?"
785
 
786
+ #: admin/admin.php:983
787
  #, fuzzy
788
  msgid "Reset Daily Popular Posts"
789
  msgstr "Популярные сегодня записи"
790
 
791
+ #: admin/admin.php:983
792
  msgid "Are you sure you want to reset the daily popular posts?"
793
  msgstr ""
794
  "Вы уверены, что хотите сбросить статистику для Популярных сегодня записей?"
795
 
796
+ #: admin/admin.php:984
797
  msgid "Clear duplicates"
798
  msgstr ""
799
 
800
+ #: admin/admin.php:984
801
  msgid "This will delete the duplicate entries in the tables. Proceed?"
802
  msgstr ""
803
  "Будет произведено удаление дублирующихся щаписей из статистики. Продолжить?"
804
 
805
+ #: admin/admin.php:997
806
+ msgid "WordPress Multisite: Migrate Top 10 v1.x counts to 2.x"
807
+ msgstr ""
808
+
809
+ #: admin/admin.php:1000
810
+ msgid ""
811
+ "If you've been using Top 10 v1.x on multisite, you would have needed to "
812
+ "activate the plugin independently for each site. This would have resulted in "
813
+ "two tables being created for each site in the network. Top 10 v2.x onwards "
814
+ "uses only a single table to record the count, keeping your database clean. "
815
+ "You can use this tool to import the recorded counts from v1.x tables to the "
816
+ "new v2.x table format."
817
+ msgstr ""
818
+
819
+ #: admin/admin.php:1003
820
+ msgid ""
821
+ "If you do not see any tables below, then it means that either all data has "
822
+ "already been imported or no relevant information has been found."
823
+ msgstr ""
824
+
825
+ #: admin/admin.php:1037
826
+ msgid "Blog ID"
827
+ msgstr ""
828
+
829
+ #: admin/admin.php:1040
830
+ msgid "Status"
831
+ msgstr ""
832
+
833
+ #: admin/admin.php:1043
834
+ msgid "Select to import"
835
+ msgstr ""
836
+
837
+ #: admin/admin.php:1053
838
+ msgid "Blog #"
839
+ msgstr ""
840
+
841
+ #: admin/admin.php:1063
842
+ msgid "Not imported"
843
+ msgstr ""
844
+
845
+ #: admin/admin.php:1067
846
+ msgid "Imported"
847
+ msgstr ""
848
 
849
+ #: admin/admin.php:1088
850
+ msgid "Begin import"
851
+ msgstr ""
852
+
853
+ #: admin/admin.php:1089
854
+ msgid "Delete selected tables"
855
+ msgstr ""
856
+
857
+ #: admin/admin.php:1090
858
+ msgid "Delete all imported tables"
859
+ msgstr ""
860
+
861
+ #: admin/admin.php:1147 admin/admin.php:1243
862
  msgid "Daily Popular Posts"
863
  msgstr "Популярные сегодня записи"
864
 
865
+ #: admin/admin.php:1177
866
  msgid "Support the development"
867
  msgstr "Поддержать автора плагина"
868
 
869
+ #: admin/admin.php:1184
870
  msgid "Donation for Top 10"
871
  msgstr ""
872
 
873
+ #: admin/admin.php:1186
874
  msgid "Enter amount in USD: "
875
  msgstr "Сколько вы готовы пожертвовать (в USD):"
876
 
877
+ #: admin/admin.php:1190
878
  #, fuzzy
879
  msgid "Send your donation to the author of Top 10"
880
  msgstr "Отправьте пожертвование автору"
881
 
882
+ #: admin/admin.php:1197
883
  msgid "Follow me"
884
  msgstr ""
885
 
886
+ #: admin/admin.php:1207
887
  #, fuzzy
888
  msgid "Quick links"
889
  msgstr "Полезные ссылки"
890
 
891
+ #: admin/admin.php:1211
892
  #, fuzzy
893
  msgid "Top 10 plugin page"
894
  msgstr "страница плагина"
895
 
896
+ #: admin/admin.php:1212
897
+ msgid "Top 10 Github page"
898
+ msgstr ""
899
+
900
+ #: admin/admin.php:1213
901
  msgid "Other plugins"
902
  msgstr "Другие плагины автора"
903
 
904
+ #: admin/admin.php:1214
905
  msgid "Ajay's blog"
906
  msgstr "Блог Ajay"
907
 
908
+ #: admin/admin.php:1215
909
  msgid "FAQ"
910
  msgstr ""
911
 
912
+ #: admin/admin.php:1216 admin/admin.php:1374
913
  msgid "Support"
914
  msgstr "Поддержка (англ.)"
915
 
916
+ #: admin/admin.php:1217
917
  msgid "Reviews"
918
  msgstr ""
919
 
920
+ #: admin/admin.php:1240
 
 
 
 
 
 
 
 
 
921
  #, fuzzy
922
  msgid "Overall Popular Posts"
923
  msgstr "Посмотреть все Популярные записи"
924
 
925
+ #: admin/admin.php:1351
926
+ msgid "Settings"
927
+ msgstr "Настроки плагина"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
928
 
929
+ #: admin/admin.php:1375
930
+ msgid "Donate"
931
+ msgstr "Сделать пожертвование"
932
 
933
+ #: includes/class-top-10-widget.php:31
934
  #, fuzzy
935
  msgid "Popular Posts [Top 10]"
936
  msgstr "Популярные записи"
937
 
938
+ #: includes/class-top-10-widget.php:32
939
  #, fuzzy
940
  msgid "Display popular posts"
941
  msgstr "Популярные сегодня записи"
942
 
943
+ #: includes/class-top-10-widget.php:59
944
  msgid "Title"
945
  msgstr ""
946
 
947
+ #: includes/class-top-10-widget.php:64
948
  msgid "No. of posts"
949
  msgstr ""
950
 
951
+ #: includes/class-top-10-widget.php:69
952
  msgid "Overall"
953
  msgstr ""
954
 
955
+ #: includes/class-top-10-widget.php:70
956
  msgid "Custom time period (Enter below)"
957
  msgstr ""
958
 
959
+ #: includes/class-top-10-widget.php:74
960
+ msgid "In days and hours (applies only to custom option above)"
961
+ msgstr ""
962
+
963
+ #: includes/class-top-10-widget.php:76
964
+ msgid "days"
965
+ msgstr ""
966
+
967
+ #: includes/class-top-10-widget.php:79
968
+ msgid "hours"
969
  msgstr ""
970
 
971
+ #: includes/class-top-10-widget.php:84
972
  #, fuzzy
973
  msgid "Show count?"
974
  msgstr "Показывать текст записи в списке?"
975
 
976
+ #: includes/class-top-10-widget.php:89
977
  #, fuzzy
978
  msgid "Show excerpt?"
979
  msgstr "Показывать текст записи в списке?"
980
 
981
+ #: includes/class-top-10-widget.php:94
982
  #, fuzzy
983
  msgid "Show author?"
984
  msgstr "Показывать текст записи в списке?"
985
 
986
+ #: includes/class-top-10-widget.php:99
987
  #, fuzzy
988
  msgid "Show date?"
989
  msgstr "Показывать текст записи в списке?"
990
 
991
+ #: includes/class-top-10-widget.php:105
 
 
 
 
 
992
  #, fuzzy
993
  msgid "Thumbnails inline, before title"
994
  msgstr "Отображать превью к записи сразу перед заголовком"
995
 
996
+ #: includes/class-top-10-widget.php:106
997
  #, fuzzy
998
  msgid "Thumbnails inline, after title"
999
  msgstr "Отображать превью к записи сразу после заголовка"
1000
 
1001
+ #: includes/class-top-10-widget.php:107
1002
  #, fuzzy
1003
  msgid "Only thumbnails, no text"
1004
  msgstr "Отображать только превью, без текста"
1005
 
1006
+ #: includes/class-top-10-widget.php:108
1007
  #, fuzzy
1008
  msgid "No thumbnails, only text."
1009
  msgstr "Отображать только текст, без превью"
1010
 
1011
+ #: includes/class-top-10-widget.php:113
1012
  #, fuzzy
1013
  msgid "Thumbnail height"
1014
  msgstr "Настройки превью к записям:"
1015
 
1016
+ #: includes/class-top-10-widget.php:118
1017
  #, fuzzy
1018
  msgid "Thumbnail width"
1019
  msgstr "Настройки превью к записям:"
1020
 
1021
+ #: top-10.php:866
1022
+ msgid " by "
1023
+ msgstr ""
1024
+
1025
+ #: top-10.php:917
1026
+ #, php-format
1027
+ msgid "Popular posts by <a href=\"%s\" rel=\"nofollow\" %s>Top 10 plugin</a>"
1028
+ msgstr ""
1029
+
1030
+ #: top-10.php:1016
1031
  msgid "<h3>Popular Posts</h3>"
1032
  msgstr "<h3>Популярные записи</h3>"
1033
 
1034
+ #: top-10.php:1017
1035
  msgid "<h3>Daily Popular</h3>"
1036
  msgstr "<h3>Популярные сегодня записи</h3>"
1037
 
1038
+ #: top-10.php:1018
1039
  #, fuzzy
1040
  msgid "No top posts yet"
1041
  msgstr "Сбросить статистику популярных записей"
1042
 
1043
+ #: top-10.php:1668
1044
  msgid "Once Weekly"
1045
  msgstr ""
1046
 
1047
+ #: top-10.php:1672
1048
  msgid "Once Fortnightly"
1049
  msgstr ""
1050
 
1051
+ #: top-10.php:1676
1052
  msgid "Once Monthly"
1053
  msgstr ""
1054
 
1055
+ #: top-10.php:1680
1056
+ msgid "Once quarterly"
1057
+ msgstr ""
1058
 
1059
+ #~ msgid "Daily Popular should contain views of how many days? "
1060
+ #~ msgstr ""
1061
+ #~ "За сколько дней считать просмотры для списка Популярных сегодня записей?"
1062
+
1063
+ #, fuzzy
1064
+ #~ msgid "Output options"
1065
+ #~ msgstr "Настройки плагина:"
1066
+
1067
+ #, fuzzy
1068
+ #~ msgid ""
1069
+ #~ "Use <code>%totalcount%</code> to display the total count, <code>"
1070
+ #~ "%dailycount%</code> to display the daily count and <code>%overallcount%</"
1071
+ #~ "code> to display the overall count across all posts on the blog. e.g. the "
1072
+ #~ "default options displays <code>(Visited 123 times, 23 visits today)</code>"
1073
+ #~ msgstr ""
1074
+ #~ "Используйте <code>%totalcount%</code> чтобы вывести общее число "
1075
+ #~ "просмотров, а <code>%dailycount%</code> - просмотры за сутки. Например: "
1076
+ #~ "<code>(Запись просмотрена 123 раза, сегодня просмотров было 23)</code>."
1077
+
1078
+ #~ msgid "Post thumbnail options:"
1079
+ #~ msgstr "Настройки превью к записям:"
1080
 
1081
  #~ msgid "Display the posts popular this week"
1082
  #~ msgstr "Отображать списки популярных записей за неделю"
languages/tptn-sr_RS.mo CHANGED
Binary file
languages/tptn-sr_RS.po CHANGED
@@ -2,7 +2,7 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Top 10\n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2014-05-21 21:29-0000\n"
6
  "PO-Revision-Date: \n"
7
  "Last-Translator: Ajay D'Souza <me@ajaydsouza.com>\n"
8
  "Language-Team: Ajay D'Souza <me@ajaydsouza.com>\n"
@@ -12,149 +12,244 @@ msgstr ""
12
  "Content-Transfer-Encoding: 8bit\n"
13
  "X-Poedit-KeywordsList: _e;__\n"
14
  "X-Poedit-Basepath: ../\n"
15
- "X-Generator: Poedit 1.6.5\n"
 
16
  "X-Poedit-SearchPath-0: .\n"
17
 
18
- #: admin.inc.php:115
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
19
  msgid "Options saved successfully."
20
  msgstr "Opcije uspešno sašuvane"
21
 
22
- #: admin.inc.php:125
23
  msgid "Options set to Default."
24
  msgstr "Opcije podešene po Default-u."
25
 
26
- #: admin.inc.php:131
27
  msgid "Top 10 popular posts reset"
28
  msgstr "Resetuj Top 10 popularnih postova"
29
 
30
- #: admin.inc.php:137
31
  msgid "Top 10 daily popular posts reset"
32
  msgstr "Resetuj Top 10 dnevnih popularnih postova"
33
 
34
- #: admin.inc.php:144
35
  msgid "Duplicate rows cleaned from tables"
36
  msgstr "Umnoži redove očišćene sa tabela"
37
 
38
- #: admin.inc.php:156
39
  msgid "Scheduled maintenance enabled / modified"
40
  msgstr "Raspored održavanja omogućen modifikovan"
41
 
42
- #: admin.inc.php:160
43
  msgid "Scheduled maintenance disabled"
44
  msgstr "Raspoed održavanja onemogućen"
45
 
46
- #: admin.inc.php:175 admin.inc.php:297 admin.inc.php:458 admin.inc.php:487
47
- #: admin.inc.php:551 admin.inc.php:644 admin.inc.php:664 admin.inc.php:674
48
- msgid "Click to toggle"
49
  msgstr ""
50
 
51
- #: admin.inc.php:176
52
- msgid "General options"
53
- msgstr "Opšta pitanja"
 
 
54
 
55
- #: admin.inc.php:180
56
- msgid "Enable Overall stats"
57
- msgstr "Omogući statistiku svega"
 
58
 
59
- #: admin.inc.php:185
60
- msgid "Enable Daily stats"
61
- msgstr "Omogući dnevne statistike"
62
 
63
- #: admin.inc.php:190
64
- msgid "W3 Total Cache fix:"
65
- msgstr "W3 Total Cache fix:"
66
 
67
- #: admin.inc.php:192
68
- msgid ""
69
- "This will try to prevent W3 Total Cache from caching the addcount script of "
70
- "the plugin. Try toggling this option in case you find that our posts are not "
71
- "tracked."
72
  msgstr ""
73
- "Ovo će pokušati da spreči W3 Total Cache od cachinga addcount scripta "
74
- "plugina. Pokušajte da toglujete ovu opciju u slučaju da otkrijete da naši "
75
- "postovi nisu praćeni."
76
 
77
- #: admin.inc.php:196
78
- msgid "Number of popular posts to display: "
79
- msgstr "Broj popularnih postova za prikaz."
 
 
80
 
81
- #: admin.inc.php:198
82
- msgid ""
83
- "Maximum number of posts that will be displayed in the list. This option is "
84
- "used if you don't specify the number of posts in the widget or shortcodes"
85
  msgstr ""
86
 
87
- #: admin.inc.php:202
88
- msgid "Daily Popular should contain views of how many days? "
89
- msgstr "Dnevni popularni bi trebali da sadrže preglede od koliko dana?"
90
 
91
- #: admin.inc.php:204
92
- msgid ""
93
- "Instead of displaying popular posts fromt he past day, this setting lets you "
94
- "display posts for as many days as you want. This can be overridden in the "
95
- "widget."
96
  msgstr ""
97
 
98
- #: admin.inc.php:207
99
- msgid "Post types to include in results (including custom post types)"
100
- msgstr "Tipovi postova da uključe rezultate (uključujući i custom post tipove)"
101
 
102
- #: admin.inc.php:218
103
- msgid "List of post or page IDs to exclude from the results: "
104
- msgstr "Lista postova ili IDs stranice da budu isključeni iz rezultata"
105
 
106
- #: admin.inc.php:220 admin.inc.php:361
107
- msgid "Enter comma separated list of IDs. e.g. 188,320,500"
108
- msgstr "Unesite zarezom odvojenu listu IDa npr.188,320,500"
109
 
110
- #: admin.inc.php:224
111
- msgid "Exclude Categories: "
112
- msgstr "Isključene kategorije"
 
 
 
 
 
 
 
113
 
114
- #: admin.inc.php:239
 
115
  msgid ""
116
- "Comma separated list of category slugs. The field above has an autocomplete "
117
- "so simply start typing in the starting letters and it will prompt you with "
118
- "options"
119
  msgstr ""
120
- "Zarezima separatisana lista kategorije. Polje iznad je autokompletno tako da "
121
- "jednostavno samo počnite da kucate ključna slova i pokazaće vam se opcije"
 
122
 
123
- #: admin.inc.php:244
 
 
 
 
 
 
124
  #, fuzzy
125
  msgid "Display number of views on:"
126
  msgstr "Afficher le nombre des visionnages du message?"
127
 
128
- #: admin.inc.php:246
129
  msgid "Posts"
130
  msgstr "Postovi"
131
 
132
- #: admin.inc.php:247
133
  #, fuzzy
134
  msgid "Pages"
135
  msgstr "Page"
136
 
137
- #: admin.inc.php:248
138
  msgid "Home page"
139
  msgstr "Početna stranica"
140
 
141
- #: admin.inc.php:249
142
  msgid "Feeds"
143
  msgstr "Feeds"
144
 
145
- #: admin.inc.php:250
146
  msgid "Category archives"
147
  msgstr "Kategorija arhiva"
148
 
149
- #: admin.inc.php:251
150
  msgid "Tag archives"
151
  msgstr "Tag arhiva"
152
 
153
- #: admin.inc.php:252
154
  msgid "Other archives"
155
  msgstr "Druge arhive"
156
 
157
- #: admin.inc.php:253
158
  #, fuzzy
159
  msgid ""
160
  "If you choose to disable this, please add <code>&lt;?php if "
@@ -165,11 +260,36 @@ msgstr ""
165
  "if(function_exists('echo_ald_tptn')) echo_ald_tptn();?&gt;</code> vašem "
166
  "template fajlu gde želite da bude prikazano. "
167
 
168
- #: admin.inc.php:256
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
169
  msgid "Always display latest post count"
170
  msgstr "Uvek prikaži posldenje brojanje posta"
171
 
172
- #: admin.inc.php:258
173
  #, fuzzy
174
  msgid ""
175
  "This option uses JavaScript and will increase your page load time. Turn this "
@@ -182,159 +302,165 @@ msgstr ""
182
  "widget neće koristiti opcije koje su nameštene tu, ali opcije će morati da "
183
  "se podese na ovom ekranu."
184
 
185
- #: admin.inc.php:261
186
  msgid "Track visits of authors on their own posts?"
187
  msgstr ""
188
  "Opcije koriste JavaScript i povećaće vreme učitavanja vaše stranicePratite "
189
  "posete autora na njihovim postovima?"
190
 
191
- #: admin.inc.php:263
192
  msgid ""
193
  "Disabling this option will stop authors visits tracked on their own posts"
194
  msgstr ""
195
 
196
- #: admin.inc.php:266
197
  #, fuzzy
198
  msgid "Track visits of admins?"
199
  msgstr "Suivre les visites des auteurs de leurs propres messages?"
200
 
201
- #: admin.inc.php:268
202
  msgid "Disabling this option will stop admin visits being tracked."
203
  msgstr ""
204
 
205
- #: admin.inc.php:271
206
  #, fuzzy
207
  msgid "Track visits of Editors?"
208
  msgstr "Suivre les visites des auteurs de leurs propres messages?"
209
 
210
- #: admin.inc.php:273
211
  msgid "Disabling this option will stop editor visits being tracked."
212
  msgstr ""
213
 
214
- #: admin.inc.php:276
215
  #, fuzzy
216
  msgid "Display page views on Posts and Pages in Admin"
217
  msgstr "Prikaži preglede stranice na Posts > All Posts u Admin"
218
 
219
- #: admin.inc.php:279
220
  msgid ""
221
  "Adds three columns called Total Views, Today's Views and Views to All Posts "
222
  "and All Pages"
223
  msgstr ""
224
 
225
- #: admin.inc.php:282
226
  #, fuzzy
227
  msgid "Show number of views to non-admins"
228
  msgstr "Afficher le nombre des visionnages sur les pages?"
229
 
230
- #: admin.inc.php:285
231
  msgid ""
232
  "If you disable this then non-admins won't see the above columns or view the "
233
  "independent pages with the top posts"
234
  msgstr ""
235
 
236
- #: admin.inc.php:288
237
- msgid "Link to Top 10 plugin page"
238
- msgstr "Povežite se na Top 10 plugin stranicu"
239
 
240
- #: admin.inc.php:291
241
- #, fuzzy
242
  msgid ""
243
- "A link to the plugin is added as an extra list item to the list of popular "
244
- "posts"
245
  msgstr ""
246
- "Le lien vers le plugin en qualité d'élément complémentaire de la liste dans "
247
- "le répertoire des enregistrements populaires. Cela n'est pas obligatoire, "
248
- "mais nous vous y remercions!"
249
 
250
- #: admin.inc.php:298
251
- #, fuzzy
252
- msgid "Output options"
253
- msgstr "Paramètres de sortie"
254
 
255
- #: admin.inc.php:301
256
- #, fuzzy
257
- msgid "Format to display the post views:"
258
- msgstr "Format za prikaz brojanja u:"
259
 
260
- #: admin.inc.php:303
261
- #, fuzzy
262
- msgid ""
263
- "Use <code>%totalcount%</code> to display the total count, <code>%dailycount"
264
- "%</code> to display the daily count and <code>%overallcount%</code> to "
265
- "display the overall count across all posts on the blog. e.g. the default "
266
- "options displays <code>(Visited 123 times, 23 visits today)</code>"
267
  msgstr ""
268
- "Appliquer <code>%totalcount%</code> pour l'affichage de la quantité totale, "
269
- "et code>%dailycount%</code> pour l'affichage des quantités journalières "
270
- "utiliser par exemple, les paramètres d'affichage par défaut <code>(Visited "
271
- "123 times, 23 visits today)</code>"
272
 
273
- #: admin.inc.php:306
274
- msgid "What do display when there are no visits?"
 
 
 
 
275
  msgstr ""
276
 
277
- #: admin.inc.php:308
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
278
  msgid ""
279
- "This text applies only when there are 0 hits for the post and it isn't a "
280
- "single page. e.g. if you display post views on the homepage or archives then "
281
- "this text will be used. To override this, just enter the same text as above "
282
- "option."
283
  msgstr ""
 
 
284
 
285
- #: admin.inc.php:311
286
  msgid "Title of popular posts: "
287
  msgstr "Naslov popularnih postova:"
288
 
289
- #: admin.inc.php:314
290
  msgid "Title of daily popular posts: "
291
  msgstr "Naslov popularnih dnevnih postova:"
292
 
293
- #: admin.inc.php:317
294
  msgid "When there are no posts, what should be shown?"
295
  msgstr "Kada nema postova šta da prikažemo?"
296
 
297
- #: admin.inc.php:321
298
  msgid "Blank Output"
299
  msgstr "Prazan izlaz"
300
 
301
- #: admin.inc.php:325
302
  msgid "Display:"
303
  msgstr "Prikaz:"
304
 
305
- #: admin.inc.php:329
306
  msgid "Show post excerpt in list?"
307
  msgstr "Pokaži post izvoda na listi?"
308
 
309
- #: admin.inc.php:332
310
  msgid "Length of excerpt (in words): "
311
  msgstr "Dužina izvoda (u rečima):"
312
 
313
- #: admin.inc.php:335
314
  #, fuzzy
315
  msgid "Show post author in list?"
316
  msgstr "Afficher le fragment du message dans la liste?"
317
 
318
- #: admin.inc.php:338
319
  #, fuzzy
320
  msgid "Show post date in list?"
321
  msgstr "Afficher le fragment du message dans la liste?"
322
 
323
- #: admin.inc.php:341
324
  msgid "Limit post title length (in characters)"
325
  msgstr "Limit dužine postova naslova (u karakterima)"
326
 
327
- #: admin.inc.php:344
328
  #, fuzzy
329
  msgid "Show view count in list?"
330
  msgstr "Afficher le fragment du message dans la liste?"
331
 
332
- #: admin.inc.php:347
333
  #, fuzzy
334
  msgid "Always display latest post count in the daily lists?"
335
  msgstr "Uvek prikaži poslednje brojanje posta u dnevnoj listi"
336
 
337
- #: admin.inc.php:349
338
  #, fuzzy
339
  msgid ""
340
  "This option uses JavaScript and will increase your page load time. When you "
@@ -347,92 +473,138 @@ msgstr ""
347
  "widget neće koristiti opcije koje su nameštene tu, ali opcije će morati da "
348
  "se podese na ovom ekranu."
349
 
350
- #: admin.inc.php:352
351
  msgid "Open links in new window"
352
  msgstr "Otvori linkove u novim prozorima"
353
 
354
- #: admin.inc.php:355
355
  msgid "Add nofollow attribute to links in the list"
356
  msgstr "Dodaj nofollow atribut linkovima u listi"
357
 
358
- #: admin.inc.php:358
359
  msgid "Exclude display of related posts on these posts / pages"
360
  msgstr "Isključi pregled vezanih postova na ovim postovima-stranicama"
361
 
362
- #: admin.inc.php:364
363
  #, fuzzy
364
  msgid "Customise the list HTML"
365
  msgstr "Sredite output:"
366
 
367
- #: admin.inc.php:366
368
  msgid "HTML to display before the list of posts: "
369
  msgstr "HTML tza prikaz pre liste postova:"
370
 
371
- #: admin.inc.php:369
372
  msgid "HTML to display before each list item: "
373
  msgstr "HTML za prikaz svake stavke sa liste:"
374
 
375
- #: admin.inc.php:372
376
  msgid "HTML to display after each list item: "
377
  msgstr "HTML tza prikaz posle svake stavke sa liste:"
378
 
379
- #: admin.inc.php:375
380
  msgid "HTML to display after the list of posts: "
381
  msgstr "HTML za prikaz posle liste postova:"
382
 
383
- #: admin.inc.php:378
384
- msgid "Post thumbnail options:"
385
- msgstr "Post thumbnail opcije:"
386
-
387
- #: admin.inc.php:380
388
  msgid "Location of post thumbnail:"
389
  msgstr "Lokacija posta thumbnaila:"
390
 
391
- #: admin.inc.php:384
392
  msgid "Display thumbnails inline with posts, before title"
393
  msgstr "Prikaži thumbnails inline sa postovima pre naslova"
394
 
395
- #: admin.inc.php:388
396
  msgid "Display thumbnails inline with posts, after title"
397
  msgstr "Prikaži thumbnails inline sa postovima posle naslova"
398
 
399
- #: admin.inc.php:392
400
  msgid "Display only thumbnails, no text"
401
  msgstr "Prikaži samo thumbnails, bez teksta"
402
 
403
- #: admin.inc.php:396
404
  msgid "Do not display thumbnails, only text."
405
  msgstr "Ne prikazujte thumbnails, samo tekst"
406
 
407
- #: admin.inc.php:400
408
- msgid "Width of the thumbnail: "
409
- msgstr "Širina thumbnaila:"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
410
 
411
- #: admin.inc.php:403
412
- msgid "Height of the thumbnail: "
413
- msgstr "Visina thumbnaila:"
414
 
415
- #: admin.inc.php:406
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
416
  msgid "Style attributes / Width and Height HTML attributes:"
417
  msgstr "Stil atributa /širina i visina HTML atributa:"
418
 
419
- #: admin.inc.php:410
420
  #, fuzzy
421
  msgid "Style attributes are used for width and height."
422
  msgstr ""
423
  "Stilovi atributa su korišćeni za čirinu i visinu. <code>style=\"max-width:"
424
 
425
- #: admin.inc.php:414
426
  #, fuzzy
427
  msgid "HTML width and height attributes are used for width and height."
428
  msgstr ""
429
  "HTML širina i visina atributa se koristi za širinu i visinu.<code>width=\""
430
 
431
- #: admin.inc.php:418
432
  msgid "Use timthumb to generate thumbnails? "
433
  msgstr "Upotreba timthumb za generisanja thumbnails?"
434
 
435
- #: admin.inc.php:421
436
  #, fuzzy
437
  msgid ""
438
  "If checked, <a href=\"http://www.binarymoon.co.uk/projects/timthumb/\" "
@@ -441,22 +613,22 @@ msgstr ""
441
  "Ak je čekirano, <a href=\"http://www.binarymoon.co.uk/projects/timthumb/"
442
  "\">timthumb</a> će se koristiti za generisanje thumbnails-a"
443
 
444
- #: admin.inc.php:424
445
  msgid "Quality of thumbnails generated by timthumb:"
446
  msgstr ""
447
 
448
- #: admin.inc.php:427
449
  msgid ""
450
  "Enter values between 0 and 100 only. 100 is highest quality and the highest "
451
  "file size. Suggested maximum value is 95. Default is 75."
452
  msgstr ""
453
 
454
- #: admin.inc.php:430
455
  #, fuzzy
456
  msgid "Post thumbnail meta field name: "
457
  msgstr "Options thumbnail des messages:"
458
 
459
- #: admin.inc.php:433
460
  msgid ""
461
  "The value of this field should contain the image source and is set in the "
462
  "<em>Add New Post</em> screen"
@@ -464,7 +636,7 @@ msgstr ""
464
  "Vrednost ovog polja bi trebala da sadrži source slike i njne postavke u "
465
  "<em>Add New Post</em> ekranu"
466
 
467
- #: admin.inc.php:436
468
  #, fuzzy
469
  msgid ""
470
  "If the postmeta is not set, then should the plugin extract the first image "
@@ -475,7 +647,7 @@ msgstr ""
475
  "première image de la résolution correspondante du fichier est de taille "
476
  "supérieure"
477
 
478
- #: admin.inc.php:439
479
  #, fuzzy
480
  msgid ""
481
  "This could slow down the loading of your page if the first image in the "
@@ -486,11 +658,11 @@ msgstr ""
486
  "première image de la résolution correspondante du fichier est de taille "
487
  "supérieure"
488
 
489
- #: admin.inc.php:442
490
  msgid "Use default thumbnail? "
491
  msgstr "Koristite default thumbnail?"
492
 
493
- #: admin.inc.php:445
494
  msgid ""
495
  "If checked, when no thumbnail is found, show a default one from the URL "
496
  "below. If not checked and no thumbnail is found, no image will be shown."
@@ -498,11 +670,11 @@ msgstr ""
498
  "Ako je čekirano, kada nijedna thumnail nije pronadjena prikaži default iz "
499
  "URLa ispod. Ako nije čekirano i nema thumbnaila, slika neće biti prikazana."
500
 
501
- #: admin.inc.php:448
502
  msgid "Default thumbnail: "
503
  msgstr "Default thumbnail:"
504
 
505
- #: admin.inc.php:452
506
  msgid ""
507
  "The plugin will first check if the post contains a thumbnail. If it doesn't "
508
  "then it will check the meta field. If this is not available, then it will "
@@ -512,28 +684,39 @@ msgstr ""
512
  "proveriti meta polje. Ako to nije dopstupno, onda će vam pokazati default "
513
  "sliku kao što je odredjeno iznad"
514
 
515
- #: admin.inc.php:459
516
  #, fuzzy
517
  msgid "Custom CSS"
518
  msgstr "Custom stilovi"
519
 
520
- #: admin.inc.php:462
521
  msgid "Use default style included in the plugin?"
522
  msgstr ""
523
 
524
- #: admin.inc.php:465
525
  msgid ""
526
  "Top 10 includes a default style that makes your popular posts list to look "
527
- "pretty. Check the box above if you want to use this. You will need to select "
528
- "<strong>Thumbnails inline, before title</strong> in Output Options or in the "
529
- "Widget."
530
  msgstr ""
531
 
532
- #: admin.inc.php:468
 
 
 
 
 
 
 
 
 
 
 
 
 
533
  msgid "Custom CSS to add to header:"
534
  msgstr "Custom CSS je dodat header-u"
535
 
536
- #: admin.inc.php:471
537
  msgid ""
538
  "Do not include <code>style</code> tags. Check out the <a href=\"http://"
539
  "wordpress.org/extend/plugins/top-10/faq/\" target=\"_blank\">FAQ</a> for "
@@ -543,25 +726,16 @@ msgstr ""
543
  "wordpress.org/extend/plugins/top-10/faq/\" target=\"_blank\">FAQ</a> za "
544
  "dostupne CSS klase za stilizovanje."
545
 
546
- #: admin.inc.php:478 admin.inc.php:544
547
- #, fuzzy
548
- msgid "Save Options"
549
- msgstr "Options:"
550
-
551
- #: admin.inc.php:479
552
  #, fuzzy
553
  msgid "Default Options"
554
  msgstr "Paramètres de sortie"
555
 
556
- #: admin.inc.php:479
557
  msgid "Do you want to set options to Default?"
558
  msgstr "Da li želite da postavite opcije na Default?"
559
 
560
- #: admin.inc.php:488
561
- msgid "Maintenance"
562
- msgstr "Održavanje"
563
-
564
- #: admin.inc.php:492
565
  #, fuzzy
566
  msgid ""
567
  "Over time the Daily Top 10 database grows in size, which reduces the "
@@ -573,7 +747,7 @@ msgstr ""
573
  "plugina. Čišćenje baze podataka u regularnim intervalima može poboljšati "
574
  "performanse naročito na blogovima sa velikim saobraćajem."
575
 
576
- #: admin.inc.php:493
577
  #, fuzzy
578
  msgid ""
579
  "Note: When scheduled maintenance is enabled, WordPress will run the cron job "
@@ -583,61 +757,61 @@ msgstr ""
583
  "kroniranje svaki put kada se poslu promeni raspored (npr. ako promenite "
584
  "postavke ispod) Ovo prouzrokuje dnevne postove tabele za resetovanje."
585
 
586
- #: admin.inc.php:496
587
  msgid "Enable scheduled maintenance of daily tables:"
588
  msgstr "Omogući raspored održavanja u dnevnim tabelama"
589
 
590
- #: admin.inc.php:500
591
  msgid "Time to run maintenance"
592
  msgstr "Pokrenuti održavanje"
593
 
594
- #: admin.inc.php:501
595
  msgid "hrs"
596
  msgstr ""
597
 
598
- #: admin.inc.php:501
599
  msgid "min"
600
  msgstr ""
601
 
602
- #: admin.inc.php:503
603
  msgid "How often should the maintenance be run:"
604
  msgstr "Održavanje ne treba često da se pokreće"
605
 
606
- #: admin.inc.php:507
607
  msgid "Daily"
608
  msgstr "Dnevno"
609
 
610
- #: admin.inc.php:511
611
  msgid "Weekly"
612
  msgstr "Nedeljno"
613
 
614
- #: admin.inc.php:515
615
  msgid "Fortnightly"
616
  msgstr "Na dve nedelje"
617
 
618
- #: admin.inc.php:519
619
  msgid "Monthly"
620
  msgstr "Mesečno"
621
 
622
- #: admin.inc.php:528
623
  msgid "The cron job has been scheduled. Maintenance will run "
624
  msgstr "Kroniranje je zakazano. Održavanje će se pokrenuti"
625
 
626
- #: admin.inc.php:533
627
  msgid "The cron job is missing. Please resave this page to add the job"
628
  msgstr ""
629
  "Nedostaje kroniranje. Molim vas ponovo sašuvajte ovu stranicu da biste "
630
  "dodali posao"
631
 
632
- #: admin.inc.php:538
633
  msgid "Maintenance is turned off"
634
  msgstr "Održavanje je ugašeno"
635
 
636
- #: admin.inc.php:552
637
  msgid "Reset count"
638
  msgstr "Resetuj brojanje"
639
 
640
- #: admin.inc.php:555
641
  msgid ""
642
  "This cannot be reversed. Make sure that your database has been backed up "
643
  "before proceeding"
@@ -645,303 +819,329 @@ msgstr ""
645
  "Ovo ne možete da proništite. Proverite da li vam je baza podataka sačuvana u "
646
  "back up-u pre nego što nastavite"
647
 
648
- #: admin.inc.php:558
649
  #, fuzzy
650
  msgid "Reset Popular Posts"
651
  msgstr "Postes populaires"
652
 
653
- #: admin.inc.php:558
654
  msgid "Are you sure you want to reset the popular posts?"
655
  msgstr "Da li ste sigurni da želite da resetujete popularne postove?"
656
 
657
- #: admin.inc.php:559
658
  #, fuzzy
659
  msgid "Reset Daily Popular Posts"
660
  msgstr "Postes populaires journaliers"
661
 
662
- #: admin.inc.php:559
663
  msgid "Are you sure you want to reset the daily popular posts?"
664
  msgstr "Da li ste sigurni da želite da resetujete dnevne popularne postove?"
665
 
666
- #: admin.inc.php:560
667
  msgid "Clear duplicates"
668
  msgstr "Obrišite duplikate"
669
 
670
- #: admin.inc.php:560
671
  msgid "This will delete the duplicate entries in the tables. Proceed?"
672
  msgstr "Ovo će obrisati duple unose u tabelama. Nastaviti?"
673
 
674
- #: admin.inc.php:612 admin.inc.php:1010
675
- msgid "Popular Posts"
676
- msgstr "Popularni postovi"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
677
 
678
- #: admin.inc.php:614 admin.inc.php:713
679
  msgid "Daily Popular Posts"
680
  msgstr "Dnevni popularni postovi"
681
 
682
- #: admin.inc.php:645
683
  msgid "Support the development"
684
  msgstr "Podrška razvoju"
685
 
686
- #: admin.inc.php:652
687
  msgid "Donation for Top 10"
688
  msgstr ""
689
 
690
- #: admin.inc.php:654
691
  msgid "Enter amount in USD: "
692
  msgstr "Unesite veličinu u USD:"
693
 
694
- #: admin.inc.php:658
695
  #, fuzzy
696
  msgid "Send your donation to the author of Top 10"
697
  msgstr "Pošalji vašu donaciju autoru"
698
 
699
- #: admin.inc.php:665
700
  #, fuzzy
701
  msgid "Follow me"
702
  msgstr "Pratite nas"
703
 
704
- #: admin.inc.php:675
705
  #, fuzzy
706
  msgid "Quick links"
707
  msgstr "Liens rapides"
708
 
709
- #: admin.inc.php:679
710
  #, fuzzy
711
  msgid "Top 10 plugin page"
712
  msgstr "Page de plugin"
713
 
714
- #: admin.inc.php:680
 
 
 
 
715
  msgid "Other plugins"
716
  msgstr "Brzi linkovi"
717
 
718
- #: admin.inc.php:681
719
  msgid "Ajay's blog"
720
  msgstr "Ajayov blog"
721
 
722
- #: admin.inc.php:682
723
  msgid "FAQ"
724
  msgstr ""
725
 
726
- #: admin.inc.php:683 top-10.php:1345
727
  msgid "Support"
728
  msgstr "Podrška"
729
 
730
- #: admin.inc.php:684
731
  msgid "Reviews"
732
  msgstr ""
733
 
734
- #: admin.inc.php:704 admin.inc.php:707
735
- #, fuzzy
736
- msgid "Top 10 Settings"
737
- msgstr "Paramètres"
738
-
739
- #: admin.inc.php:704 admin.inc.php:1183
740
- msgid "Top 10"
741
- msgstr "Top 10"
742
-
743
- #: admin.inc.php:710
744
  #, fuzzy
745
  msgid "Overall Popular Posts"
746
  msgstr "Voir tous les postes populaires"
747
 
748
- #: admin.inc.php:882
749
- #, php-format
750
- msgid "Results %1$s to %2$s of %3$s"
751
- msgstr ""
752
-
753
- #: admin.inc.php:886
754
- #, php-format
755
- msgid "Page %s of %s"
756
- msgstr ""
757
-
758
- #: admin.inc.php:898
759
- msgid "View Daily Popular Posts"
760
- msgstr "Pregledaj dnevne popularne postove"
761
-
762
- #: admin.inc.php:901 admin.inc.php:914
763
- msgid "Results per-page:"
764
- msgstr "Rezultat po stranici:"
765
-
766
- #: admin.inc.php:911
767
- msgid "View Overall Popular Posts"
768
- msgstr "Pregledaj sve popularne postove"
769
-
770
- #: admin.inc.php:940
771
- msgid "Previous"
772
- msgstr "Prethodni"
773
-
774
- #: admin.inc.php:968
775
- msgid "Next"
776
- msgstr "Sledeći"
777
-
778
- #: admin.inc.php:1011
779
- msgid "Daily Popular"
780
- msgstr "Dnevno popularno"
781
-
782
- #: admin.inc.php:1029
783
- #, fuzzy
784
- msgid "Total Views"
785
- msgstr "Total/aujourd'hui visionnages"
786
-
787
- #: admin.inc.php:1030
788
- #, fuzzy
789
- msgid "Today's Views"
790
- msgstr "Total/aujourd'hui visionnages"
791
-
792
- #: admin.inc.php:1031
793
- #, fuzzy
794
- msgid "Views"
795
- msgstr "Total/aujourd'hui visionnages"
796
-
797
- #: admin.inc.php:1217
798
- #, fuzzy
799
- msgid "Visit count:"
800
- msgstr "Resetuj brojanje"
801
-
802
- #: admin.inc.php:1219
803
- msgid ""
804
- "Enter a number above to update the visit count. Leaving the above box blank "
805
- "will set the count to zero"
806
- msgstr ""
807
-
808
- #: admin.inc.php:1229
809
- #, fuzzy
810
- msgid "Location of thumbnail:"
811
- msgstr "Lokacija posta thumbnaila:"
812
-
813
- #: admin.inc.php:1231
814
- msgid ""
815
- "Enter the full URL to the image (JPG, PNG or GIF) you'd like to use. This "
816
- "image will be used for the post. It will be resized to the thumbnail size "
817
- "set under Settings &raquo; Related Posts &raquo; Output Options"
818
- msgstr ""
819
-
820
- #: admin.inc.php:1232
821
- msgid "The URL above is saved in the meta field: "
822
- msgstr ""
823
 
824
- #: top-10.php:456
825
- msgid " by "
826
- msgstr ""
827
 
828
- #: top-10.php:550
829
  #, fuzzy
830
  msgid "Popular Posts [Top 10]"
831
  msgstr "Postes populaires"
832
 
833
- #: top-10.php:551
834
  #, fuzzy
835
  msgid "Display popular posts"
836
  msgstr "Dnevni popularni postovi"
837
 
838
- #: top-10.php:577
839
  msgid "Title"
840
  msgstr "Naslov"
841
 
842
- #: top-10.php:582
843
  msgid "No. of posts"
844
  msgstr "Broj postova"
845
 
846
- #: top-10.php:587
847
  msgid "Overall"
848
  msgstr "Sve ukupno"
849
 
850
- #: top-10.php:588
851
  msgid "Custom time period (Enter below)"
852
  msgstr "Vremenski period (unesite ispod)"
853
 
854
- #: top-10.php:593
855
- msgid "Range in number of days (applies only to custom option above)"
856
- msgstr "Raspon dana (odnosi se samo na iznad)"
 
 
 
 
857
 
858
- #: top-10.php:598
 
 
 
 
859
  #, fuzzy
860
  msgid "Show count?"
861
  msgstr "Prikaži autora?"
862
 
863
- #: top-10.php:603
864
  #, fuzzy
865
  msgid "Show excerpt?"
866
  msgstr "Afficher le fragment du message dans la liste?"
867
 
868
- #: top-10.php:608
869
  #, fuzzy
870
  msgid "Show author?"
871
  msgstr "Prikaži autora?"
872
 
873
- #: top-10.php:613
874
  #, fuzzy
875
  msgid "Show date?"
876
  msgstr "Afficher le fragment du message dans la liste?"
877
 
878
- #: top-10.php:617
879
- #, fuzzy
880
- msgid "Thumbnail options"
881
- msgstr "Options thumbnail des messages:"
882
-
883
- #: top-10.php:619
884
  #, fuzzy
885
  msgid "Thumbnails inline, before title"
886
  msgstr "Afficher le thumbnail encastré et les messages avant l'en-tête"
887
 
888
- #: top-10.php:620
889
  #, fuzzy
890
  msgid "Thumbnails inline, after title"
891
  msgstr "Afficher le thumbnail encastré et les messages après l'en-tête"
892
 
893
- #: top-10.php:621
894
  #, fuzzy
895
  msgid "Only thumbnails, no text"
896
  msgstr "Afficher uniquement le thumbnail, sans le texte"
897
 
898
- #: top-10.php:622
899
  #, fuzzy
900
  msgid "No thumbnails, only text."
901
  msgstr "Ne pas afficher le thumbnail, uniquement le texte"
902
 
903
- #: top-10.php:627
904
  #, fuzzy
905
  msgid "Thumbnail height"
906
  msgstr "Options thumbnail des messages:"
907
 
908
- #: top-10.php:632
909
  #, fuzzy
910
  msgid "Thumbnail width"
911
  msgstr "Options thumbnail des messages:"
912
 
913
- #: top-10.php:772
 
 
 
 
 
 
 
 
 
914
  msgid "<h3>Popular Posts</h3>"
915
  msgstr "<h3>Popularni Postovi</h3>"
916
 
917
- #: top-10.php:773
918
  msgid "<h3>Daily Popular</h3>"
919
  msgstr "<h3>Dnevni popularni</h3>"
920
 
921
- #: top-10.php:774
922
  #, fuzzy
923
  msgid "No top posts yet"
924
  msgstr "Annuler le top 10 des enregistrements les plus populaires"
925
 
926
- #: top-10.php:1245
927
  msgid "Once Weekly"
928
  msgstr "Jednom nedeljno"
929
 
930
- #: top-10.php:1249
931
  msgid "Once Fortnightly"
932
  msgstr "Jednom u dve nedelje"
933
 
934
- #: top-10.php:1253
935
  msgid "Once Monthly"
936
  msgstr "Jednom mesečno"
937
 
938
- #: top-10.php:1323
939
- msgid "Settings"
940
- msgstr "Postavke"
941
 
942
- #: top-10.php:1346
943
- msgid "Donate"
944
- msgstr "Donirajte"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
945
 
946
  #~ msgid "Display the posts popular this week"
947
  #~ msgstr "Prikazati postove popularne ove nedelje"
2
  msgstr ""
3
  "Project-Id-Version: Top 10\n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2014-12-28 00:57-0000\n"
6
  "PO-Revision-Date: \n"
7
  "Last-Translator: Ajay D'Souza <me@ajaydsouza.com>\n"
8
  "Language-Team: Ajay D'Souza <me@ajaydsouza.com>\n"
12
  "Content-Transfer-Encoding: 8bit\n"
13
  "X-Poedit-KeywordsList: _e;__\n"
14
  "X-Poedit-Basepath: ../\n"
15
+ "X-Generator: Poedit 1.7.1\n"
16
+ "X-Poedit-SourceCharset: UTF-8\n"
17
  "X-Poedit-SearchPath-0: .\n"
18
 
19
+ #: admin/admin-columns.php:30
20
+ #, fuzzy
21
+ msgid "Total Views"
22
+ msgstr "Total/aujourd'hui visionnages"
23
+
24
+ #: admin/admin-columns.php:33
25
+ #, fuzzy
26
+ msgid "Today's Views"
27
+ msgstr "Total/aujourd'hui visionnages"
28
+
29
+ #: admin/admin-columns.php:36
30
+ #, fuzzy
31
+ msgid "Views"
32
+ msgstr "Total/aujourd'hui visionnages"
33
+
34
+ #: admin/admin-dashboard.php:72
35
+ #, php-format
36
+ msgid "Results %1$s to %2$s of %3$s"
37
+ msgstr ""
38
+
39
+ #: admin/admin-dashboard.php:76
40
+ #, php-format
41
+ msgid "Page %s of %s"
42
+ msgstr ""
43
+
44
+ #: admin/admin-dashboard.php:88
45
+ msgid "View Daily Popular Posts"
46
+ msgstr "Pregledaj dnevne popularne postove"
47
+
48
+ #: admin/admin-dashboard.php:91 admin/admin-dashboard.php:104
49
+ msgid "Results per-page:"
50
+ msgstr "Rezultat po stranici:"
51
+
52
+ #: admin/admin-dashboard.php:101
53
+ msgid "View Overall Popular Posts"
54
+ msgstr "Pregledaj sve popularne postove"
55
+
56
+ #: admin/admin-dashboard.php:130
57
+ msgid "Previous"
58
+ msgstr "Prethodni"
59
+
60
+ #: admin/admin-dashboard.php:158
61
+ msgid "Next"
62
+ msgstr "Sledeći"
63
+
64
+ #: admin/admin-dashboard.php:200 admin/admin.php:1145
65
+ msgid "Popular Posts"
66
+ msgstr "Popularni postovi"
67
+
68
+ #: admin/admin-dashboard.php:205
69
+ msgid "Daily Popular"
70
+ msgstr "Dnevno popularno"
71
+
72
+ #: admin/admin-metabox.php:38 admin/admin.php:1234
73
+ msgid "Top 10"
74
+ msgstr "Top 10"
75
+
76
+ #: admin/admin-metabox.php:71
77
+ #, fuzzy
78
+ msgid "Visit count:"
79
+ msgstr "Resetuj brojanje"
80
+
81
+ #: admin/admin-metabox.php:73
82
+ msgid ""
83
+ "Enter a number above to update the visit count. Leaving the above box blank "
84
+ "will set the count to zero"
85
+ msgstr ""
86
+
87
+ #: admin/admin-metabox.php:83
88
+ #, fuzzy
89
+ msgid "Location of thumbnail:"
90
+ msgstr "Lokacija posta thumbnaila:"
91
+
92
+ #: admin/admin-metabox.php:85
93
+ msgid ""
94
+ "Enter the full URL to the image (JPG, PNG or GIF) you'd like to use. This "
95
+ "image will be used for the post. It will be resized to the thumbnail size "
96
+ "set under Settings &raquo; Related Posts &raquo; Output Options"
97
+ msgstr ""
98
+
99
+ #: admin/admin-metabox.php:86
100
+ msgid "The URL above is saved in the meta field: "
101
+ msgstr ""
102
+
103
+ #: admin/admin.php:160
104
  msgid "Options saved successfully."
105
  msgstr "Opcije uspešno sašuvane"
106
 
107
+ #: admin/admin.php:170
108
  msgid "Options set to Default."
109
  msgstr "Opcije podešene po Default-u."
110
 
111
+ #: admin/admin.php:176
112
  msgid "Top 10 popular posts reset"
113
  msgstr "Resetuj Top 10 popularnih postova"
114
 
115
+ #: admin/admin.php:182
116
  msgid "Top 10 daily popular posts reset"
117
  msgstr "Resetuj Top 10 dnevnih popularnih postova"
118
 
119
+ #: admin/admin.php:189
120
  msgid "Duplicate rows cleaned from tables"
121
  msgstr "Umnoži redove očišćene sa tabela"
122
 
123
+ #: admin/admin.php:201
124
  msgid "Scheduled maintenance enabled / modified"
125
  msgstr "Raspored održavanja omogućen modifikovan"
126
 
127
+ #: admin/admin.php:205
128
  msgid "Scheduled maintenance disabled"
129
  msgstr "Raspoed održavanja onemogućen"
130
 
131
+ #: admin/admin.php:244
132
+ msgid "Counts from selected sites have been imported."
 
133
  msgstr ""
134
 
135
+ #: admin/admin.php:269
136
+ msgid ""
137
+ "Selected tables have been deleted. Note that only imported tables have been "
138
+ "deleted."
139
+ msgstr ""
140
 
141
+ #: admin/admin.php:277 admin/admin.php:1234 admin/admin.php:1237
142
+ #, fuzzy
143
+ msgid "Top 10 Settings"
144
+ msgstr "Paramètres"
145
 
146
+ #: admin/admin.php:289 admin/admin.php:311
147
+ msgid "General options"
148
+ msgstr "Opšta pitanja"
149
 
150
+ #: admin/admin.php:290 admin/admin.php:373
151
+ msgid "Counter and tracker options"
152
+ msgstr ""
153
 
154
+ #: admin/admin.php:291 admin/admin.php:478
155
+ msgid "Popular post list options"
 
 
 
156
  msgstr ""
 
 
 
157
 
158
+ #: admin/admin.php:292 admin/admin.php:681
159
+ #: includes/class-top-10-widget.php:103
160
+ #, fuzzy
161
+ msgid "Thumbnail options"
162
+ msgstr "Options thumbnail des messages:"
163
 
164
+ #: admin/admin.php:293
165
+ msgid "Custom styles"
 
 
166
  msgstr ""
167
 
168
+ #: admin/admin.php:294 admin/admin.php:912
169
+ msgid "Maintenance"
170
+ msgstr "Održavanje"
171
 
172
+ #: admin/admin.php:310 admin/admin.php:372 admin/admin.php:477
173
+ #: admin/admin.php:680 admin/admin.php:843 admin/admin.php:911
174
+ #: admin/admin.php:975 admin/admin.php:996 admin/admin.php:1176
175
+ #: admin/admin.php:1196 admin/admin.php:1206
176
+ msgid "Click to toggle"
177
  msgstr ""
178
 
179
+ #: admin/admin.php:327
180
+ msgid "Enable Overall stats"
181
+ msgstr "Omogući statistiku svega"
182
 
183
+ #: admin/admin.php:333
184
+ msgid "Enable Daily stats"
185
+ msgstr "Omogući dnevne statistike"
186
 
187
+ #: admin/admin.php:339
188
+ msgid "Cache fix:"
189
+ msgstr ""
190
 
191
+ #: admin/admin.php:342
192
+ msgid ""
193
+ "This will try to prevent W3 Total Cache and other caching plugins from "
194
+ "caching the tracker script of the plugin. Try toggling this option in case "
195
+ "you find that your posts are not tracked."
196
+ msgstr ""
197
+
198
+ #: admin/admin.php:346
199
+ msgid "Link to Top 10 plugin page"
200
+ msgstr "Povežite se na Top 10 plugin stranicu"
201
 
202
+ #: admin/admin.php:349
203
+ #, fuzzy
204
  msgid ""
205
+ "A link to the plugin is added as an extra list item to the list of popular "
206
+ "posts"
 
207
  msgstr ""
208
+ "Le lien vers le plugin en qualité d'élément complémentaire de la liste dans "
209
+ "le répertoire des enregistrements populaires. Cela n'est pas obligatoire, "
210
+ "mais nous vous y remercions!"
211
 
212
+ #: admin/admin.php:354 admin/admin.php:459 admin/admin.php:662
213
+ #: admin/admin.php:825 admin/admin.php:891 admin/admin.php:968
214
+ #, fuzzy
215
+ msgid "Save Options"
216
+ msgstr "Options:"
217
+
218
+ #: admin/admin.php:389
219
  #, fuzzy
220
  msgid "Display number of views on:"
221
  msgstr "Afficher le nombre des visionnages du message?"
222
 
223
+ #: admin/admin.php:391
224
  msgid "Posts"
225
  msgstr "Postovi"
226
 
227
+ #: admin/admin.php:392
228
  #, fuzzy
229
  msgid "Pages"
230
  msgstr "Page"
231
 
232
+ #: admin/admin.php:393
233
  msgid "Home page"
234
  msgstr "Početna stranica"
235
 
236
+ #: admin/admin.php:394
237
  msgid "Feeds"
238
  msgstr "Feeds"
239
 
240
+ #: admin/admin.php:395
241
  msgid "Category archives"
242
  msgstr "Kategorija arhiva"
243
 
244
+ #: admin/admin.php:396
245
  msgid "Tag archives"
246
  msgstr "Tag arhiva"
247
 
248
+ #: admin/admin.php:397
249
  msgid "Other archives"
250
  msgstr "Druge arhive"
251
 
252
+ #: admin/admin.php:398
253
  #, fuzzy
254
  msgid ""
255
  "If you choose to disable this, please add <code>&lt;?php if "
260
  "if(function_exists('echo_ald_tptn')) echo_ald_tptn();?&gt;</code> vašem "
261
  "template fajlu gde želite da bude prikazano. "
262
 
263
+ #: admin/admin.php:402
264
+ #, fuzzy
265
+ msgid "Format to display the post views:"
266
+ msgstr "Format za prikaz brojanja u:"
267
+
268
+ #: admin/admin.php:405
269
+ msgid ""
270
+ "Use <code>%totalcount%</code> to display the total count, <code>%dailycount"
271
+ "%</code> to display the daily count and <code>%overallcount%</code> to "
272
+ "display the overall count across all posts on the blog. e.g. the default "
273
+ "options displays <code>[Visited 123 times, 23 visits today]</code>"
274
+ msgstr ""
275
+
276
+ #: admin/admin.php:409
277
+ msgid "What do display when there are no visits?"
278
+ msgstr ""
279
+
280
+ #: admin/admin.php:412
281
+ msgid ""
282
+ "This text applies only when there are 0 hits for the post and it isn't a "
283
+ "single page. e.g. if you display post views on the homepage or archives then "
284
+ "this text will be used. To override this, just enter the same text as above "
285
+ "option."
286
+ msgstr ""
287
+
288
+ #: admin/admin.php:416
289
  msgid "Always display latest post count"
290
  msgstr "Uvek prikaži posldenje brojanje posta"
291
 
292
+ #: admin/admin.php:419
293
  #, fuzzy
294
  msgid ""
295
  "This option uses JavaScript and will increase your page load time. Turn this "
302
  "widget neće koristiti opcije koje su nameštene tu, ali opcije će morati da "
303
  "se podese na ovom ekranu."
304
 
305
+ #: admin/admin.php:423
306
  msgid "Track visits of authors on their own posts?"
307
  msgstr ""
308
  "Opcije koriste JavaScript i povećaće vreme učitavanja vaše stranicePratite "
309
  "posete autora na njihovim postovima?"
310
 
311
+ #: admin/admin.php:426
312
  msgid ""
313
  "Disabling this option will stop authors visits tracked on their own posts"
314
  msgstr ""
315
 
316
+ #: admin/admin.php:430
317
  #, fuzzy
318
  msgid "Track visits of admins?"
319
  msgstr "Suivre les visites des auteurs de leurs propres messages?"
320
 
321
+ #: admin/admin.php:433
322
  msgid "Disabling this option will stop admin visits being tracked."
323
  msgstr ""
324
 
325
+ #: admin/admin.php:437
326
  #, fuzzy
327
  msgid "Track visits of Editors?"
328
  msgstr "Suivre les visites des auteurs de leurs propres messages?"
329
 
330
+ #: admin/admin.php:440
331
  msgid "Disabling this option will stop editor visits being tracked."
332
  msgstr ""
333
 
334
+ #: admin/admin.php:444
335
  #, fuzzy
336
  msgid "Display page views on Posts and Pages in Admin"
337
  msgstr "Prikaži preglede stranice na Posts > All Posts u Admin"
338
 
339
+ #: admin/admin.php:447
340
  msgid ""
341
  "Adds three columns called Total Views, Today's Views and Views to All Posts "
342
  "and All Pages"
343
  msgstr ""
344
 
345
+ #: admin/admin.php:451
346
  #, fuzzy
347
  msgid "Show number of views to non-admins"
348
  msgstr "Afficher le nombre des visionnages sur les pages?"
349
 
350
+ #: admin/admin.php:454
351
  msgid ""
352
  "If you disable this then non-admins won't see the above columns or view the "
353
  "independent pages with the top posts"
354
  msgstr ""
355
 
356
+ #: admin/admin.php:494
357
+ msgid "Number of popular posts to display: "
358
+ msgstr "Broj popularnih postova za prikaz."
359
 
360
+ #: admin/admin.php:497
 
361
  msgid ""
362
+ "Maximum number of posts that will be displayed in the list. This option is "
363
+ "used if you don't specify the number of posts in the widget or shortcodes"
364
  msgstr ""
 
 
 
365
 
366
+ #: admin/admin.php:501
367
+ msgid "Daily popular contains top posts over:"
368
+ msgstr ""
 
369
 
370
+ #: admin/admin.php:503
371
+ msgid "day(s)"
372
+ msgstr ""
 
373
 
374
+ #: admin/admin.php:504
375
+ msgid "hour(s)"
 
 
 
 
 
376
  msgstr ""
 
 
 
 
377
 
378
+ #: admin/admin.php:505
379
+ msgid ""
380
+ "Think of Daily Popular has a custom date range applied as a global setting. "
381
+ "Instead of displaying popular posts from the past day, this setting lets you "
382
+ "display posts for as many days or as few hours as you want. This can be "
383
+ "overridden in the widget."
384
  msgstr ""
385
 
386
+ #: admin/admin.php:509
387
+ msgid "Post types to include in results (including custom post types)"
388
+ msgstr "Tipovi postova da uključe rezultate (uključujući i custom post tipove)"
389
+
390
+ #: admin/admin.php:521
391
+ msgid "List of post or page IDs to exclude from the results: "
392
+ msgstr "Lista postova ili IDs stranice da budu isključeni iz rezultata"
393
+
394
+ #: admin/admin.php:523 admin/admin.php:630
395
+ msgid "Enter comma separated list of IDs. e.g. 188,320,500"
396
+ msgstr "Unesite zarezom odvojenu listu IDa npr.188,320,500"
397
+
398
+ #: admin/admin.php:527
399
+ msgid "Exclude Categories: "
400
+ msgstr "Isključene kategorije"
401
+
402
+ #: admin/admin.php:542
403
  msgid ""
404
+ "Comma separated list of category slugs. The field above has an autocomplete "
405
+ "so simply start typing in the starting letters and it will prompt you with "
406
+ "options"
 
407
  msgstr ""
408
+ "Zarezima separatisana lista kategorije. Polje iznad je autokompletno tako da "
409
+ "jednostavno samo počnite da kucate ključna slova i pokazaće vam se opcije"
410
 
411
+ #: admin/admin.php:547
412
  msgid "Title of popular posts: "
413
  msgstr "Naslov popularnih postova:"
414
 
415
+ #: admin/admin.php:553
416
  msgid "Title of daily popular posts: "
417
  msgstr "Naslov popularnih dnevnih postova:"
418
 
419
+ #: admin/admin.php:559
420
  msgid "When there are no posts, what should be shown?"
421
  msgstr "Kada nema postova šta da prikažemo?"
422
 
423
+ #: admin/admin.php:563
424
  msgid "Blank Output"
425
  msgstr "Prazan izlaz"
426
 
427
+ #: admin/admin.php:567
428
  msgid "Display:"
429
  msgstr "Prikaz:"
430
 
431
+ #: admin/admin.php:572
432
  msgid "Show post excerpt in list?"
433
  msgstr "Pokaži post izvoda na listi?"
434
 
435
+ #: admin/admin.php:578
436
  msgid "Length of excerpt (in words): "
437
  msgstr "Dužina izvoda (u rečima):"
438
 
439
+ #: admin/admin.php:584
440
  #, fuzzy
441
  msgid "Show post author in list?"
442
  msgstr "Afficher le fragment du message dans la liste?"
443
 
444
+ #: admin/admin.php:590
445
  #, fuzzy
446
  msgid "Show post date in list?"
447
  msgstr "Afficher le fragment du message dans la liste?"
448
 
449
+ #: admin/admin.php:596
450
  msgid "Limit post title length (in characters)"
451
  msgstr "Limit dužine postova naslova (u karakterima)"
452
 
453
+ #: admin/admin.php:602
454
  #, fuzzy
455
  msgid "Show view count in list?"
456
  msgstr "Afficher le fragment du message dans la liste?"
457
 
458
+ #: admin/admin.php:608
459
  #, fuzzy
460
  msgid "Always display latest post count in the daily lists?"
461
  msgstr "Uvek prikaži poslednje brojanje posta u dnevnoj listi"
462
 
463
+ #: admin/admin.php:611
464
  #, fuzzy
465
  msgid ""
466
  "This option uses JavaScript and will increase your page load time. When you "
473
  "widget neće koristiti opcije koje su nameštene tu, ali opcije će morati da "
474
  "se podese na ovom ekranu."
475
 
476
+ #: admin/admin.php:615
477
  msgid "Open links in new window"
478
  msgstr "Otvori linkove u novim prozorima"
479
 
480
+ #: admin/admin.php:621
481
  msgid "Add nofollow attribute to links in the list"
482
  msgstr "Dodaj nofollow atribut linkovima u listi"
483
 
484
+ #: admin/admin.php:627
485
  msgid "Exclude display of related posts on these posts / pages"
486
  msgstr "Isključi pregled vezanih postova na ovim postovima-stranicama"
487
 
488
+ #: admin/admin.php:634
489
  #, fuzzy
490
  msgid "Customise the list HTML"
491
  msgstr "Sredite output:"
492
 
493
+ #: admin/admin.php:637
494
  msgid "HTML to display before the list of posts: "
495
  msgstr "HTML tza prikaz pre liste postova:"
496
 
497
+ #: admin/admin.php:643
498
  msgid "HTML to display before each list item: "
499
  msgstr "HTML za prikaz svake stavke sa liste:"
500
 
501
+ #: admin/admin.php:649
502
  msgid "HTML to display after each list item: "
503
  msgstr "HTML tza prikaz posle svake stavke sa liste:"
504
 
505
+ #: admin/admin.php:655
506
  msgid "HTML to display after the list of posts: "
507
  msgstr "HTML za prikaz posle liste postova:"
508
 
509
+ #: admin/admin.php:696
 
 
 
 
510
  msgid "Location of post thumbnail:"
511
  msgstr "Lokacija posta thumbnaila:"
512
 
513
+ #: admin/admin.php:700
514
  msgid "Display thumbnails inline with posts, before title"
515
  msgstr "Prikaži thumbnails inline sa postovima pre naslova"
516
 
517
+ #: admin/admin.php:705
518
  msgid "Display thumbnails inline with posts, after title"
519
  msgstr "Prikaži thumbnails inline sa postovima posle naslova"
520
 
521
+ #: admin/admin.php:710
522
  msgid "Display only thumbnails, no text"
523
  msgstr "Prikaži samo thumbnails, bez teksta"
524
 
525
+ #: admin/admin.php:715
526
  msgid "Do not display thumbnails, only text."
527
  msgstr "Ne prikazujte thumbnails, samo tekst"
528
 
529
+ #: admin/admin.php:719
530
+ msgid "Thumbnail size:"
531
+ msgstr ""
532
+
533
+ #: admin/admin.php:743
534
+ msgid "Custom size"
535
+ msgstr ""
536
+
537
+ #: admin/admin.php:746
538
+ msgid ""
539
+ "You can choose from existing image sizes above or create a custom size. If "
540
+ "you have chosen Custom size above, then enter the width, height and crop "
541
+ "settings below. For best results, use a cropped image."
542
+ msgstr ""
543
+
544
+ #: admin/admin.php:747
545
+ msgid ""
546
+ "If you change the width and/or height below, existing images will not be "
547
+ "automatically resized."
548
+ msgstr ""
549
+
550
+ #: admin/admin.php:748
551
+ #, php-format
552
+ msgid ""
553
+ "I recommend using <a href='%s' target='_blank'>Force Regenerate Thumbnails</"
554
+ "a> or <a href='%s' target='_blank'>Force Regenerate Thumbnails</a> to "
555
+ "regenerate all image sizes."
556
+ msgstr ""
557
 
558
+ #: admin/admin.php:751
559
+ msgid "Width of custom thumbnail:"
560
+ msgstr ""
561
 
562
+ #: admin/admin.php:756
563
+ msgid "Height of custom thumbnail"
564
+ msgstr ""
565
+
566
+ #: admin/admin.php:761
567
+ msgid "Crop mode:"
568
+ msgstr ""
569
+
570
+ #: admin/admin.php:765
571
+ msgid ""
572
+ "By default, thumbnails will be proportionately cropped. Check this box to "
573
+ "hard crop the thumbnails."
574
+ msgstr ""
575
+
576
+ #: admin/admin.php:766
577
+ #, php-format
578
+ msgid "<a href='%s' target='_blank'>Difference between soft and hard crop</a>"
579
+ msgstr ""
580
+
581
+ #: admin/admin.php:768
582
+ msgid ""
583
+ "Since you're using the default styles set under the Custom Styles section, "
584
+ "the width and height is fixed at 65px and crop mode is enabled."
585
+ msgstr ""
586
+
587
+ #: admin/admin.php:773
588
  msgid "Style attributes / Width and Height HTML attributes:"
589
  msgstr "Stil atributa /širina i visina HTML atributa:"
590
 
591
+ #: admin/admin.php:777
592
  #, fuzzy
593
  msgid "Style attributes are used for width and height."
594
  msgstr ""
595
  "Stilovi atributa su korišćeni za čirinu i visinu. <code>style=\"max-width:"
596
 
597
+ #: admin/admin.php:782
598
  #, fuzzy
599
  msgid "HTML width and height attributes are used for width and height."
600
  msgstr ""
601
  "HTML širina i visina atributa se koristi za širinu i visinu.<code>width=\""
602
 
603
+ #: admin/admin.php:786
604
  msgid "Use timthumb to generate thumbnails? "
605
  msgstr "Upotreba timthumb za generisanja thumbnails?"
606
 
607
+ #: admin/admin.php:789
608
  #, fuzzy
609
  msgid ""
610
  "If checked, <a href=\"http://www.binarymoon.co.uk/projects/timthumb/\" "
613
  "Ak je čekirano, <a href=\"http://www.binarymoon.co.uk/projects/timthumb/"
614
  "\">timthumb</a> će se koristiti za generisanje thumbnails-a"
615
 
616
+ #: admin/admin.php:792
617
  msgid "Quality of thumbnails generated by timthumb:"
618
  msgstr ""
619
 
620
+ #: admin/admin.php:795
621
  msgid ""
622
  "Enter values between 0 and 100 only. 100 is highest quality and the highest "
623
  "file size. Suggested maximum value is 95. Default is 75."
624
  msgstr ""
625
 
626
+ #: admin/admin.php:798
627
  #, fuzzy
628
  msgid "Post thumbnail meta field name: "
629
  msgstr "Options thumbnail des messages:"
630
 
631
+ #: admin/admin.php:801
632
  msgid ""
633
  "The value of this field should contain the image source and is set in the "
634
  "<em>Add New Post</em> screen"
636
  "Vrednost ovog polja bi trebala da sadrži source slike i njne postavke u "
637
  "<em>Add New Post</em> ekranu"
638
 
639
+ #: admin/admin.php:804
640
  #, fuzzy
641
  msgid ""
642
  "If the postmeta is not set, then should the plugin extract the first image "
647
  "première image de la résolution correspondante du fichier est de taille "
648
  "supérieure"
649
 
650
+ #: admin/admin.php:807
651
  #, fuzzy
652
  msgid ""
653
  "This could slow down the loading of your page if the first image in the "
658
  "première image de la résolution correspondante du fichier est de taille "
659
  "supérieure"
660
 
661
+ #: admin/admin.php:810
662
  msgid "Use default thumbnail? "
663
  msgstr "Koristite default thumbnail?"
664
 
665
+ #: admin/admin.php:813
666
  msgid ""
667
  "If checked, when no thumbnail is found, show a default one from the URL "
668
  "below. If not checked and no thumbnail is found, no image will be shown."
670
  "Ako je čekirano, kada nijedna thumnail nije pronadjena prikaži default iz "
671
  "URLa ispod. Ako nije čekirano i nema thumbnaila, slika neće biti prikazana."
672
 
673
+ #: admin/admin.php:816
674
  msgid "Default thumbnail: "
675
  msgstr "Default thumbnail:"
676
 
677
+ #: admin/admin.php:820
678
  msgid ""
679
  "The plugin will first check if the post contains a thumbnail. If it doesn't "
680
  "then it will check the meta field. If this is not available, then it will "
684
  "proveriti meta polje. Ako to nije dopstupno, onda će vam pokazati default "
685
  "sliku kao što je odredjeno iznad"
686
 
687
+ #: admin/admin.php:844
688
  #, fuzzy
689
  msgid "Custom CSS"
690
  msgstr "Custom stilovi"
691
 
692
+ #: admin/admin.php:859
693
  msgid "Use default style included in the plugin?"
694
  msgstr ""
695
 
696
+ #: admin/admin.php:862
697
  msgid ""
698
  "Top 10 includes a default style that makes your popular posts list to look "
699
+ "beautiful. Check the box above if you want to use this."
 
 
700
  msgstr ""
701
 
702
+ #: admin/admin.php:863
703
+ msgid ""
704
+ "Enabling this option will turn on the thumbnails and set their width and "
705
+ "height to 65px. It will also turn off the display of the author, excerpt and "
706
+ "date if already enabled. Disabling this option will not revert any settings."
707
+ msgstr ""
708
+
709
+ #: admin/admin.php:864
710
+ #, php-format
711
+ msgid ""
712
+ "You can view the default style at <a href=\"%1$s\" target=\"_blank\">%1$s</a>"
713
+ msgstr ""
714
+
715
+ #: admin/admin.php:867
716
  msgid "Custom CSS to add to header:"
717
  msgstr "Custom CSS je dodat header-u"
718
 
719
+ #: admin/admin.php:872
720
  msgid ""
721
  "Do not include <code>style</code> tags. Check out the <a href=\"http://"
722
  "wordpress.org/extend/plugins/top-10/faq/\" target=\"_blank\">FAQ</a> for "
726
  "wordpress.org/extend/plugins/top-10/faq/\" target=\"_blank\">FAQ</a> za "
727
  "dostupne CSS klase za stilizovanje."
728
 
729
+ #: admin/admin.php:892
 
 
 
 
 
730
  #, fuzzy
731
  msgid "Default Options"
732
  msgstr "Paramètres de sortie"
733
 
734
+ #: admin/admin.php:892
735
  msgid "Do you want to set options to Default?"
736
  msgstr "Da li želite da postavite opcije na Default?"
737
 
738
+ #: admin/admin.php:916
 
 
 
 
739
  #, fuzzy
740
  msgid ""
741
  "Over time the Daily Top 10 database grows in size, which reduces the "
747
  "plugina. Čišćenje baze podataka u regularnim intervalima može poboljšati "
748
  "performanse naročito na blogovima sa velikim saobraćajem."
749
 
750
+ #: admin/admin.php:917
751
  #, fuzzy
752
  msgid ""
753
  "Note: When scheduled maintenance is enabled, WordPress will run the cron job "
757
  "kroniranje svaki put kada se poslu promeni raspored (npr. ako promenite "
758
  "postavke ispod) Ovo prouzrokuje dnevne postove tabele za resetovanje."
759
 
760
+ #: admin/admin.php:920
761
  msgid "Enable scheduled maintenance of daily tables:"
762
  msgstr "Omogući raspored održavanja u dnevnim tabelama"
763
 
764
+ #: admin/admin.php:924
765
  msgid "Time to run maintenance"
766
  msgstr "Pokrenuti održavanje"
767
 
768
+ #: admin/admin.php:925
769
  msgid "hrs"
770
  msgstr ""
771
 
772
+ #: admin/admin.php:925
773
  msgid "min"
774
  msgstr ""
775
 
776
+ #: admin/admin.php:927
777
  msgid "How often should the maintenance be run:"
778
  msgstr "Održavanje ne treba često da se pokreće"
779
 
780
+ #: admin/admin.php:931
781
  msgid "Daily"
782
  msgstr "Dnevno"
783
 
784
+ #: admin/admin.php:935
785
  msgid "Weekly"
786
  msgstr "Nedeljno"
787
 
788
+ #: admin/admin.php:939
789
  msgid "Fortnightly"
790
  msgstr "Na dve nedelje"
791
 
792
+ #: admin/admin.php:943
793
  msgid "Monthly"
794
  msgstr "Mesečno"
795
 
796
+ #: admin/admin.php:952
797
  msgid "The cron job has been scheduled. Maintenance will run "
798
  msgstr "Kroniranje je zakazano. Održavanje će se pokrenuti"
799
 
800
+ #: admin/admin.php:957
801
  msgid "The cron job is missing. Please resave this page to add the job"
802
  msgstr ""
803
  "Nedostaje kroniranje. Molim vas ponovo sašuvajte ovu stranicu da biste "
804
  "dodali posao"
805
 
806
+ #: admin/admin.php:962
807
  msgid "Maintenance is turned off"
808
  msgstr "Održavanje je ugašeno"
809
 
810
+ #: admin/admin.php:976
811
  msgid "Reset count"
812
  msgstr "Resetuj brojanje"
813
 
814
+ #: admin/admin.php:979
815
  msgid ""
816
  "This cannot be reversed. Make sure that your database has been backed up "
817
  "before proceeding"
819
  "Ovo ne možete da proništite. Proverite da li vam je baza podataka sačuvana u "
820
  "back up-u pre nego što nastavite"
821
 
822
+ #: admin/admin.php:982
823
  #, fuzzy
824
  msgid "Reset Popular Posts"
825
  msgstr "Postes populaires"
826
 
827
+ #: admin/admin.php:982
828
  msgid "Are you sure you want to reset the popular posts?"
829
  msgstr "Da li ste sigurni da želite da resetujete popularne postove?"
830
 
831
+ #: admin/admin.php:983
832
  #, fuzzy
833
  msgid "Reset Daily Popular Posts"
834
  msgstr "Postes populaires journaliers"
835
 
836
+ #: admin/admin.php:983
837
  msgid "Are you sure you want to reset the daily popular posts?"
838
  msgstr "Da li ste sigurni da želite da resetujete dnevne popularne postove?"
839
 
840
+ #: admin/admin.php:984
841
  msgid "Clear duplicates"
842
  msgstr "Obrišite duplikate"
843
 
844
+ #: admin/admin.php:984
845
  msgid "This will delete the duplicate entries in the tables. Proceed?"
846
  msgstr "Ovo će obrisati duple unose u tabelama. Nastaviti?"
847
 
848
+ #: admin/admin.php:997
849
+ msgid "WordPress Multisite: Migrate Top 10 v1.x counts to 2.x"
850
+ msgstr ""
851
+
852
+ #: admin/admin.php:1000
853
+ msgid ""
854
+ "If you've been using Top 10 v1.x on multisite, you would have needed to "
855
+ "activate the plugin independently for each site. This would have resulted in "
856
+ "two tables being created for each site in the network. Top 10 v2.x onwards "
857
+ "uses only a single table to record the count, keeping your database clean. "
858
+ "You can use this tool to import the recorded counts from v1.x tables to the "
859
+ "new v2.x table format."
860
+ msgstr ""
861
+
862
+ #: admin/admin.php:1003
863
+ msgid ""
864
+ "If you do not see any tables below, then it means that either all data has "
865
+ "already been imported or no relevant information has been found."
866
+ msgstr ""
867
+
868
+ #: admin/admin.php:1037
869
+ msgid "Blog ID"
870
+ msgstr ""
871
+
872
+ #: admin/admin.php:1040
873
+ msgid "Status"
874
+ msgstr ""
875
+
876
+ #: admin/admin.php:1043
877
+ msgid "Select to import"
878
+ msgstr ""
879
+
880
+ #: admin/admin.php:1053
881
+ msgid "Blog #"
882
+ msgstr ""
883
+
884
+ #: admin/admin.php:1063
885
+ msgid "Not imported"
886
+ msgstr ""
887
+
888
+ #: admin/admin.php:1067
889
+ msgid "Imported"
890
+ msgstr ""
891
+
892
+ #: admin/admin.php:1088
893
+ msgid "Begin import"
894
+ msgstr ""
895
+
896
+ #: admin/admin.php:1089
897
+ msgid "Delete selected tables"
898
+ msgstr ""
899
+
900
+ #: admin/admin.php:1090
901
+ msgid "Delete all imported tables"
902
+ msgstr ""
903
 
904
+ #: admin/admin.php:1147 admin/admin.php:1243
905
  msgid "Daily Popular Posts"
906
  msgstr "Dnevni popularni postovi"
907
 
908
+ #: admin/admin.php:1177
909
  msgid "Support the development"
910
  msgstr "Podrška razvoju"
911
 
912
+ #: admin/admin.php:1184
913
  msgid "Donation for Top 10"
914
  msgstr ""
915
 
916
+ #: admin/admin.php:1186
917
  msgid "Enter amount in USD: "
918
  msgstr "Unesite veličinu u USD:"
919
 
920
+ #: admin/admin.php:1190
921
  #, fuzzy
922
  msgid "Send your donation to the author of Top 10"
923
  msgstr "Pošalji vašu donaciju autoru"
924
 
925
+ #: admin/admin.php:1197
926
  #, fuzzy
927
  msgid "Follow me"
928
  msgstr "Pratite nas"
929
 
930
+ #: admin/admin.php:1207
931
  #, fuzzy
932
  msgid "Quick links"
933
  msgstr "Liens rapides"
934
 
935
+ #: admin/admin.php:1211
936
  #, fuzzy
937
  msgid "Top 10 plugin page"
938
  msgstr "Page de plugin"
939
 
940
+ #: admin/admin.php:1212
941
+ msgid "Top 10 Github page"
942
+ msgstr ""
943
+
944
+ #: admin/admin.php:1213
945
  msgid "Other plugins"
946
  msgstr "Brzi linkovi"
947
 
948
+ #: admin/admin.php:1214
949
  msgid "Ajay's blog"
950
  msgstr "Ajayov blog"
951
 
952
+ #: admin/admin.php:1215
953
  msgid "FAQ"
954
  msgstr ""
955
 
956
+ #: admin/admin.php:1216 admin/admin.php:1374
957
  msgid "Support"
958
  msgstr "Podrška"
959
 
960
+ #: admin/admin.php:1217
961
  msgid "Reviews"
962
  msgstr ""
963
 
964
+ #: admin/admin.php:1240
 
 
 
 
 
 
 
 
 
965
  #, fuzzy
966
  msgid "Overall Popular Posts"
967
  msgstr "Voir tous les postes populaires"
968
 
969
+ #: admin/admin.php:1351
970
+ msgid "Settings"
971
+ msgstr "Postavke"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
972
 
973
+ #: admin/admin.php:1375
974
+ msgid "Donate"
975
+ msgstr "Donirajte"
976
 
977
+ #: includes/class-top-10-widget.php:31
978
  #, fuzzy
979
  msgid "Popular Posts [Top 10]"
980
  msgstr "Postes populaires"
981
 
982
+ #: includes/class-top-10-widget.php:32
983
  #, fuzzy
984
  msgid "Display popular posts"
985
  msgstr "Dnevni popularni postovi"
986
 
987
+ #: includes/class-top-10-widget.php:59
988
  msgid "Title"
989
  msgstr "Naslov"
990
 
991
+ #: includes/class-top-10-widget.php:64
992
  msgid "No. of posts"
993
  msgstr "Broj postova"
994
 
995
+ #: includes/class-top-10-widget.php:69
996
  msgid "Overall"
997
  msgstr "Sve ukupno"
998
 
999
+ #: includes/class-top-10-widget.php:70
1000
  msgid "Custom time period (Enter below)"
1001
  msgstr "Vremenski period (unesite ispod)"
1002
 
1003
+ #: includes/class-top-10-widget.php:74
1004
+ msgid "In days and hours (applies only to custom option above)"
1005
+ msgstr ""
1006
+
1007
+ #: includes/class-top-10-widget.php:76
1008
+ msgid "days"
1009
+ msgstr ""
1010
 
1011
+ #: includes/class-top-10-widget.php:79
1012
+ msgid "hours"
1013
+ msgstr ""
1014
+
1015
+ #: includes/class-top-10-widget.php:84
1016
  #, fuzzy
1017
  msgid "Show count?"
1018
  msgstr "Prikaži autora?"
1019
 
1020
+ #: includes/class-top-10-widget.php:89
1021
  #, fuzzy
1022
  msgid "Show excerpt?"
1023
  msgstr "Afficher le fragment du message dans la liste?"
1024
 
1025
+ #: includes/class-top-10-widget.php:94
1026
  #, fuzzy
1027
  msgid "Show author?"
1028
  msgstr "Prikaži autora?"
1029
 
1030
+ #: includes/class-top-10-widget.php:99
1031
  #, fuzzy
1032
  msgid "Show date?"
1033
  msgstr "Afficher le fragment du message dans la liste?"
1034
 
1035
+ #: includes/class-top-10-widget.php:105
 
 
 
 
 
1036
  #, fuzzy
1037
  msgid "Thumbnails inline, before title"
1038
  msgstr "Afficher le thumbnail encastré et les messages avant l'en-tête"
1039
 
1040
+ #: includes/class-top-10-widget.php:106
1041
  #, fuzzy
1042
  msgid "Thumbnails inline, after title"
1043
  msgstr "Afficher le thumbnail encastré et les messages après l'en-tête"
1044
 
1045
+ #: includes/class-top-10-widget.php:107
1046
  #, fuzzy
1047
  msgid "Only thumbnails, no text"
1048
  msgstr "Afficher uniquement le thumbnail, sans le texte"
1049
 
1050
+ #: includes/class-top-10-widget.php:108
1051
  #, fuzzy
1052
  msgid "No thumbnails, only text."
1053
  msgstr "Ne pas afficher le thumbnail, uniquement le texte"
1054
 
1055
+ #: includes/class-top-10-widget.php:113
1056
  #, fuzzy
1057
  msgid "Thumbnail height"
1058
  msgstr "Options thumbnail des messages:"
1059
 
1060
+ #: includes/class-top-10-widget.php:118
1061
  #, fuzzy
1062
  msgid "Thumbnail width"
1063
  msgstr "Options thumbnail des messages:"
1064
 
1065
+ #: top-10.php:866
1066
+ msgid " by "
1067
+ msgstr ""
1068
+
1069
+ #: top-10.php:917
1070
+ #, php-format
1071
+ msgid "Popular posts by <a href=\"%s\" rel=\"nofollow\" %s>Top 10 plugin</a>"
1072
+ msgstr ""
1073
+
1074
+ #: top-10.php:1016
1075
  msgid "<h3>Popular Posts</h3>"
1076
  msgstr "<h3>Popularni Postovi</h3>"
1077
 
1078
+ #: top-10.php:1017
1079
  msgid "<h3>Daily Popular</h3>"
1080
  msgstr "<h3>Dnevni popularni</h3>"
1081
 
1082
+ #: top-10.php:1018
1083
  #, fuzzy
1084
  msgid "No top posts yet"
1085
  msgstr "Annuler le top 10 des enregistrements les plus populaires"
1086
 
1087
+ #: top-10.php:1668
1088
  msgid "Once Weekly"
1089
  msgstr "Jednom nedeljno"
1090
 
1091
+ #: top-10.php:1672
1092
  msgid "Once Fortnightly"
1093
  msgstr "Jednom u dve nedelje"
1094
 
1095
+ #: top-10.php:1676
1096
  msgid "Once Monthly"
1097
  msgstr "Jednom mesečno"
1098
 
1099
+ #: top-10.php:1680
1100
+ msgid "Once quarterly"
1101
+ msgstr ""
1102
 
1103
+ #~ msgid "W3 Total Cache fix:"
1104
+ #~ msgstr "W3 Total Cache fix:"
1105
+
1106
+ #~ msgid ""
1107
+ #~ "This will try to prevent W3 Total Cache from caching the addcount script "
1108
+ #~ "of the plugin. Try toggling this option in case you find that our posts "
1109
+ #~ "are not tracked."
1110
+ #~ msgstr ""
1111
+ #~ "Ovo će pokušati da spreči W3 Total Cache od cachinga addcount scripta "
1112
+ #~ "plugina. Pokušajte da toglujete ovu opciju u slučaju da otkrijete da naši "
1113
+ #~ "postovi nisu praćeni."
1114
+
1115
+ #~ msgid "Daily Popular should contain views of how many days? "
1116
+ #~ msgstr "Dnevni popularni bi trebali da sadrže preglede od koliko dana?"
1117
+
1118
+ #, fuzzy
1119
+ #~ msgid "Output options"
1120
+ #~ msgstr "Paramètres de sortie"
1121
+
1122
+ #, fuzzy
1123
+ #~ msgid ""
1124
+ #~ "Use <code>%totalcount%</code> to display the total count, <code>"
1125
+ #~ "%dailycount%</code> to display the daily count and <code>%overallcount%</"
1126
+ #~ "code> to display the overall count across all posts on the blog. e.g. the "
1127
+ #~ "default options displays <code>(Visited 123 times, 23 visits today)</code>"
1128
+ #~ msgstr ""
1129
+ #~ "Appliquer <code>%totalcount%</code> pour l'affichage de la quantité "
1130
+ #~ "totale, et code>%dailycount%</code> pour l'affichage des quantités "
1131
+ #~ "journalières utiliser par exemple, les paramètres d'affichage par défaut "
1132
+ #~ "<code>(Visited 123 times, 23 visits today)</code>"
1133
+
1134
+ #~ msgid "Post thumbnail options:"
1135
+ #~ msgstr "Post thumbnail opcije:"
1136
+
1137
+ #~ msgid "Width of the thumbnail: "
1138
+ #~ msgstr "Širina thumbnaila:"
1139
+
1140
+ #~ msgid "Height of the thumbnail: "
1141
+ #~ msgstr "Visina thumbnaila:"
1142
+
1143
+ #~ msgid "Range in number of days (applies only to custom option above)"
1144
+ #~ msgstr "Raspon dana (odnosi se samo na iznad)"
1145
 
1146
  #~ msgid "Display the posts popular this week"
1147
  #~ msgstr "Prikazati postove popularne ove nedelje"
languages/tptn-ua_UA.mo CHANGED
Binary file
languages/tptn-ua_UA.po CHANGED
@@ -2,7 +2,7 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Top 10\n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2014-05-21 21:29-0000\n"
6
  "PO-Revision-Date: \n"
7
  "Last-Translator: Ajay D'Souza <me@ajaydsouza.com>\n"
8
  "Language-Team: Alyona Lompar <alyona.lompar@aol.com>\n"
@@ -12,428 +12,602 @@ msgstr ""
12
  "Content-Transfer-Encoding: 8bit\n"
13
  "X-Poedit-KeywordsList: _e;__\n"
14
  "X-Poedit-Basepath: ../\n"
15
- "X-Generator: Poedit 1.6.5\n"
 
16
  "X-Poedit-SearchPath-0: .\n"
17
 
18
- #: admin.inc.php:115
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
19
  msgid "Options saved successfully."
20
  msgstr "Установки збережені."
21
 
22
- #: admin.inc.php:125
23
  msgid "Options set to Default."
24
  msgstr "Установки скинуті."
25
 
26
- #: admin.inc.php:131
27
  msgid "Top 10 popular posts reset"
28
  msgstr "Скинути статистику найпопулярніших записів"
29
 
30
- #: admin.inc.php:137
31
  msgid "Top 10 daily popular posts reset"
32
  msgstr "Скинути статистику найпопулярніших записів за сьогодні"
33
 
34
- #: admin.inc.php:144
35
  msgid "Duplicate rows cleaned from tables"
36
  msgstr ""
37
 
38
- #: admin.inc.php:156
39
  msgid "Scheduled maintenance enabled / modified"
40
  msgstr ""
41
 
42
- #: admin.inc.php:160
43
  msgid "Scheduled maintenance disabled"
44
  msgstr ""
45
 
46
- #: admin.inc.php:175 admin.inc.php:297 admin.inc.php:458 admin.inc.php:487
47
- #: admin.inc.php:551 admin.inc.php:644 admin.inc.php:664 admin.inc.php:674
48
- msgid "Click to toggle"
49
  msgstr ""
50
 
51
- #: admin.inc.php:176
52
- msgid "General options"
 
 
53
  msgstr ""
54
 
55
- #: admin.inc.php:180
56
- msgid "Enable Overall stats"
57
- msgstr ""
 
58
 
59
- #: admin.inc.php:185
60
- msgid "Enable Daily stats"
61
  msgstr ""
62
 
63
- #: admin.inc.php:190
64
- msgid "W3 Total Cache fix:"
65
  msgstr ""
66
 
67
- #: admin.inc.php:192
68
- msgid ""
69
- "This will try to prevent W3 Total Cache from caching the addcount script of "
70
- "the plugin. Try toggling this option in case you find that our posts are not "
71
- "tracked."
72
  msgstr ""
73
 
74
- #: admin.inc.php:196
75
- msgid "Number of popular posts to display: "
76
- msgstr "Кількість Популярних записів у списку:"
 
 
77
 
78
- #: admin.inc.php:198
79
- msgid ""
80
- "Maximum number of posts that will be displayed in the list. This option is "
81
- "used if you don't specify the number of posts in the widget or shortcodes"
82
  msgstr ""
83
 
84
- #: admin.inc.php:202
85
- msgid "Daily Popular should contain views of how many days? "
86
  msgstr ""
87
- "За скільки днів вважати перегляди для списку Популярних сьогодні записів?"
88
 
89
- #: admin.inc.php:204
90
- msgid ""
91
- "Instead of displaying popular posts fromt he past day, this setting lets you "
92
- "display posts for as many days as you want. This can be overridden in the "
93
- "widget."
94
  msgstr ""
95
 
96
- #: admin.inc.php:207
97
- msgid "Post types to include in results (including custom post types)"
98
  msgstr ""
99
 
100
- #: admin.inc.php:218
101
- msgid "List of post or page IDs to exclude from the results: "
102
  msgstr ""
103
 
104
- #: admin.inc.php:220 admin.inc.php:361
105
- msgid "Enter comma separated list of IDs. e.g. 188,320,500"
106
  msgstr ""
107
 
108
- #: admin.inc.php:224
109
- msgid "Exclude Categories: "
110
- msgstr "Виключити Категорії:"
 
 
 
 
 
 
 
111
 
112
- #: admin.inc.php:239
 
113
  msgid ""
114
- "Comma separated list of category slugs. The field above has an autocomplete "
115
- "so simply start typing in the starting letters and it will prompt you with "
116
- "options"
117
  msgstr ""
 
 
118
 
119
- #: admin.inc.php:244
 
 
 
 
 
 
120
  #, fuzzy
121
  msgid "Display number of views on:"
122
  msgstr "Показувати кількість переглядів запису?"
123
 
124
- #: admin.inc.php:246
125
  msgid "Posts"
126
  msgstr ""
127
 
128
- #: admin.inc.php:247
129
  #, fuzzy
130
  msgid "Pages"
131
  msgstr "Сторінка"
132
 
133
- #: admin.inc.php:248
134
  msgid "Home page"
135
  msgstr ""
136
 
137
- #: admin.inc.php:249
138
  msgid "Feeds"
139
  msgstr ""
140
 
141
- #: admin.inc.php:250
142
  msgid "Category archives"
143
  msgstr ""
144
 
145
- #: admin.inc.php:251
146
  msgid "Tag archives"
147
  msgstr ""
148
 
149
- #: admin.inc.php:252
150
  msgid "Other archives"
151
  msgstr ""
152
 
153
- #: admin.inc.php:253
154
  msgid ""
155
  "If you choose to disable this, please add <code>&lt;?php if "
156
  "( function_exists ( 'echo_tptn_post_count' ) ) echo_tptn_post_count(); ?&gt;"
157
  "</code> to your template file where you want it displayed"
158
  msgstr ""
159
 
160
- #: admin.inc.php:256
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
161
  msgid "Always display latest post count"
162
  msgstr ""
163
 
164
- #: admin.inc.php:258
165
  msgid ""
166
  "This option uses JavaScript and will increase your page load time. Turn this "
167
  "off if you are not using caching plugins or are OK with displaying older "
168
  "cached counts."
169
  msgstr ""
170
 
171
- #: admin.inc.php:261
172
  msgid "Track visits of authors on their own posts?"
173
  msgstr "Враховувати перегляди записів, зроблені їхніми ж авторами?"
174
 
175
- #: admin.inc.php:263
176
  msgid ""
177
  "Disabling this option will stop authors visits tracked on their own posts"
178
  msgstr ""
179
 
180
- #: admin.inc.php:266
181
  #, fuzzy
182
  msgid "Track visits of admins?"
183
  msgstr "Враховувати перегляди записів, зроблені їхніми ж авторами?"
184
 
185
- #: admin.inc.php:268
186
  msgid "Disabling this option will stop admin visits being tracked."
187
  msgstr ""
188
 
189
- #: admin.inc.php:271
190
  #, fuzzy
191
  msgid "Track visits of Editors?"
192
  msgstr "Враховувати перегляди записів, зроблені їхніми ж авторами?"
193
 
194
- #: admin.inc.php:273
195
  msgid "Disabling this option will stop editor visits being tracked."
196
  msgstr ""
197
 
198
- #: admin.inc.php:276
199
  msgid "Display page views on Posts and Pages in Admin"
200
  msgstr ""
201
 
202
- #: admin.inc.php:279
203
  msgid ""
204
  "Adds three columns called Total Views, Today's Views and Views to All Posts "
205
  "and All Pages"
206
  msgstr ""
207
 
208
- #: admin.inc.php:282
209
  #, fuzzy
210
  msgid "Show number of views to non-admins"
211
  msgstr "Показувати кількість переглядів сторінки?"
212
 
213
- #: admin.inc.php:285
214
  msgid ""
215
  "If you disable this then non-admins won't see the above columns or view the "
216
  "independent pages with the top posts"
217
  msgstr ""
218
 
219
- #: admin.inc.php:288
220
- msgid "Link to Top 10 plugin page"
221
- msgstr ""
222
 
223
- #: admin.inc.php:291
224
- #, fuzzy
225
  msgid ""
226
- "A link to the plugin is added as an extra list item to the list of popular "
227
- "posts"
228
  msgstr ""
229
- "Залишити посилання на плагін під списками Популярних записів? Автор плагіна "
230
- "був би дуже вдячний Вам, якщо Ви її все ж залишите!"
231
 
232
- #: admin.inc.php:298
233
- #, fuzzy
234
- msgid "Output options"
235
- msgstr "Установки плагіна:"
236
 
237
- #: admin.inc.php:301
238
- #, fuzzy
239
- msgid "Format to display the post views:"
240
  msgstr ""
241
- "У полі нижче ви можете налаштувати формат відображення кількості переглядів "
242
- "за день, за весь час для записів/сторінок:"
243
 
244
- #: admin.inc.php:303
245
- #, fuzzy
 
 
 
246
  msgid ""
247
- "Use <code>%totalcount%</code> to display the total count, <code>%dailycount"
248
- "%</code> to display the daily count and <code>%overallcount%</code> to "
249
- "display the overall count across all posts on the blog. e.g. the default "
250
- "options displays <code>(Visited 123 times, 23 visits today)</code>"
251
  msgstr ""
252
- "Використовуйте <code>%totalcount%</code> щоб вивести загальне число "
253
- "переглядів, а <code>%dailycount%</code> - перегляди за добу. Наприклад: "
254
- "<code>(Запис переглянуто 123 рази, сьогодні переглядів - 23)</code>."
255
 
256
- #: admin.inc.php:306
257
- msgid "What do display when there are no visits?"
 
 
 
 
258
  msgstr ""
259
 
260
- #: admin.inc.php:308
 
 
 
 
 
 
 
 
261
  msgid ""
262
- "This text applies only when there are 0 hits for the post and it isn't a "
263
- "single page. e.g. if you display post views on the homepage or archives then "
264
- "this text will be used. To override this, just enter the same text as above "
265
- "option."
266
  msgstr ""
267
 
268
- #: admin.inc.php:311
269
  msgid "Title of popular posts: "
270
  msgstr "Заголовок списку Популярних записів:"
271
 
272
- #: admin.inc.php:314
273
  msgid "Title of daily popular posts: "
274
  msgstr "Заголовок списку Популярних сьогодні записів:"
275
 
276
- #: admin.inc.php:317
277
  msgid "When there are no posts, what should be shown?"
278
  msgstr ""
279
 
280
- #: admin.inc.php:321
281
  msgid "Blank Output"
282
  msgstr ""
283
 
284
- #: admin.inc.php:325
285
  msgid "Display:"
286
  msgstr ""
287
 
288
- #: admin.inc.php:329
289
  msgid "Show post excerpt in list?"
290
  msgstr "Показувати текст запису в списку?"
291
 
292
- #: admin.inc.php:332
293
  msgid "Length of excerpt (in words): "
294
  msgstr "Довжина виведеного тексту (в словах):"
295
 
296
- #: admin.inc.php:335
297
  #, fuzzy
298
  msgid "Show post author in list?"
299
  msgstr "Показувати текст запису в списку?"
300
 
301
- #: admin.inc.php:338
302
  #, fuzzy
303
  msgid "Show post date in list?"
304
  msgstr "Показувати текст запису в списку?"
305
 
306
- #: admin.inc.php:341
307
  msgid "Limit post title length (in characters)"
308
  msgstr ""
309
 
310
- #: admin.inc.php:344
311
  #, fuzzy
312
  msgid "Show view count in list?"
313
  msgstr "Показувати текст запису в списку?"
314
 
315
- #: admin.inc.php:347
316
  msgid "Always display latest post count in the daily lists?"
317
  msgstr ""
318
 
319
- #: admin.inc.php:349
320
  msgid ""
321
  "This option uses JavaScript and will increase your page load time. When you "
322
  "enable this option, the daily widget will not use the options set there, but "
323
  "options will need to be set on this screen."
324
  msgstr ""
325
 
326
- #: admin.inc.php:352
327
  msgid "Open links in new window"
328
  msgstr ""
329
 
330
- #: admin.inc.php:355
331
  msgid "Add nofollow attribute to links in the list"
332
  msgstr ""
333
 
334
- #: admin.inc.php:358
335
  msgid "Exclude display of related posts on these posts / pages"
336
  msgstr ""
337
 
338
- #: admin.inc.php:364
339
  #, fuzzy
340
  msgid "Customise the list HTML"
341
  msgstr "Установки оформлення списку:"
342
 
343
- #: admin.inc.php:366
344
  msgid "HTML to display before the list of posts: "
345
  msgstr "HTML-тег, який використовується перед списком:"
346
 
347
- #: admin.inc.php:369
348
  msgid "HTML to display before each list item: "
349
  msgstr "HTML-тег, який використовується перед кожним пунктом у списку:"
350
 
351
- #: admin.inc.php:372
352
  msgid "HTML to display after each list item: "
353
  msgstr "HTML-тег, який використовується після кожного пункту в списку:"
354
 
355
- #: admin.inc.php:375
356
  msgid "HTML to display after the list of posts: "
357
  msgstr "HTML-тег, який використовується після списку:"
358
 
359
- #: admin.inc.php:378
360
- msgid "Post thumbnail options:"
361
- msgstr "Установки превью до записів:"
362
-
363
- #: admin.inc.php:380
364
  msgid "Location of post thumbnail:"
365
  msgstr ""
366
 
367
- #: admin.inc.php:384
368
  #, fuzzy
369
  msgid "Display thumbnails inline with posts, before title"
370
  msgstr "Відображати і превью, і текст"
371
 
372
- #: admin.inc.php:388
373
  #, fuzzy
374
  msgid "Display thumbnails inline with posts, after title"
375
  msgstr "Відображати і превью, і текст"
376
 
377
- #: admin.inc.php:392
378
  msgid "Display only thumbnails, no text"
379
  msgstr "Показувати тільки превью, без тексту"
380
 
381
- #: admin.inc.php:396
382
  msgid "Do not display thumbnails, only text."
383
  msgstr "Показувати лише текст, без превью"
384
 
385
- #: admin.inc.php:400
386
- msgid "Width of the thumbnail: "
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
387
  msgstr ""
388
 
389
- #: admin.inc.php:403
390
- msgid "Height of the thumbnail: "
391
  msgstr ""
392
 
393
- #: admin.inc.php:406
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
394
  msgid "Style attributes / Width and Height HTML attributes:"
395
  msgstr ""
396
 
397
- #: admin.inc.php:410
398
  msgid "Style attributes are used for width and height."
399
  msgstr ""
400
 
401
- #: admin.inc.php:414
402
  msgid "HTML width and height attributes are used for width and height."
403
  msgstr ""
404
 
405
- #: admin.inc.php:418
406
  msgid "Use timthumb to generate thumbnails? "
407
  msgstr ""
408
 
409
- #: admin.inc.php:421
410
  msgid ""
411
  "If checked, <a href=\"http://www.binarymoon.co.uk/projects/timthumb/\" "
412
  "target=\"_blank\">timthumb</a> will be used to generate thumbnails"
413
  msgstr ""
414
 
415
- #: admin.inc.php:424
416
  msgid "Quality of thumbnails generated by timthumb:"
417
  msgstr ""
418
 
419
- #: admin.inc.php:427
420
  msgid ""
421
  "Enter values between 0 and 100 only. 100 is highest quality and the highest "
422
  "file size. Suggested maximum value is 95. Default is 75."
423
  msgstr ""
424
 
425
- #: admin.inc.php:430
426
  #, fuzzy
427
  msgid "Post thumbnail meta field name: "
428
  msgstr "Установки превью до записів:"
429
 
430
- #: admin.inc.php:433
431
  msgid ""
432
  "The value of this field should contain the image source and is set in the "
433
  "<em>Add New Post</em> screen"
434
  msgstr ""
435
 
436
- #: admin.inc.php:436
437
  #, fuzzy
438
  msgid ""
439
  "If the postmeta is not set, then should the plugin extract the first image "
@@ -443,7 +617,7 @@ msgstr ""
443
  "зображення із запису. Це може злегка збільшити завантаження в перший раз, "
444
  "так як буде створюватися зменшена копія зображення"
445
 
446
- #: admin.inc.php:439
447
  #, fuzzy
448
  msgid ""
449
  "This could slow down the loading of your page if the first image in the "
@@ -453,21 +627,21 @@ msgstr ""
453
  "зображення із запису. Це може злегка збільшити завантаження в перший раз, "
454
  "так як буде створюватися зменшена копія зображення"
455
 
456
- #: admin.inc.php:442
457
  msgid "Use default thumbnail? "
458
  msgstr ""
459
 
460
- #: admin.inc.php:445
461
  msgid ""
462
  "If checked, when no thumbnail is found, show a default one from the URL "
463
  "below. If not checked and no thumbnail is found, no image will be shown."
464
  msgstr ""
465
 
466
- #: admin.inc.php:448
467
  msgid "Default thumbnail: "
468
  msgstr ""
469
 
470
- #: admin.inc.php:452
471
  #, fuzzy
472
  msgid ""
473
  "The plugin will first check if the post contains a thumbnail. If it doesn't "
@@ -478,52 +652,54 @@ msgstr ""
478
  "заданому раніше мета-полю). Якщо ж превью нема - буде виводитися картинка за "
479
  "замовчунням:"
480
 
481
- #: admin.inc.php:459
482
  msgid "Custom CSS"
483
  msgstr ""
484
 
485
- #: admin.inc.php:462
486
  msgid "Use default style included in the plugin?"
487
  msgstr ""
488
 
489
- #: admin.inc.php:465
490
  msgid ""
491
  "Top 10 includes a default style that makes your popular posts list to look "
492
- "pretty. Check the box above if you want to use this. You will need to select "
493
- "<strong>Thumbnails inline, before title</strong> in Output Options or in the "
494
- "Widget."
 
 
 
 
 
495
  msgstr ""
496
 
497
- #: admin.inc.php:468
 
 
 
 
 
 
498
  msgid "Custom CSS to add to header:"
499
  msgstr ""
500
 
501
- #: admin.inc.php:471
502
  msgid ""
503
  "Do not include <code>style</code> tags. Check out the <a href=\"http://"
504
  "wordpress.org/extend/plugins/top-10/faq/\" target=\"_blank\">FAQ</a> for "
505
  "available CSS classes to style."
506
  msgstr ""
507
 
508
- #: admin.inc.php:478 admin.inc.php:544
509
- #, fuzzy
510
- msgid "Save Options"
511
- msgstr "Установки плагіна:"
512
-
513
- #: admin.inc.php:479
514
  #, fuzzy
515
  msgid "Default Options"
516
  msgstr "Установки плагіна:"
517
 
518
- #: admin.inc.php:479
519
  msgid "Do you want to set options to Default?"
520
  msgstr "Скинути налаштування плагіна?"
521
 
522
- #: admin.inc.php:488
523
- msgid "Maintenance"
524
- msgstr ""
525
-
526
- #: admin.inc.php:492
527
  msgid ""
528
  "Over time the Daily Top 10 database grows in size, which reduces the "
529
  "performance of the plugin. Cleaning the database at regular intervals could "
@@ -531,65 +707,65 @@ msgid ""
531
  "will automatically delete entries older than 90 days."
532
  msgstr ""
533
 
534
- #: admin.inc.php:493
535
  msgid ""
536
  "Note: When scheduled maintenance is enabled, WordPress will run the cron job "
537
  "everytime the job is rescheduled (i.e. you change the settings below)."
538
  msgstr ""
539
 
540
- #: admin.inc.php:496
541
  msgid "Enable scheduled maintenance of daily tables:"
542
  msgstr ""
543
 
544
- #: admin.inc.php:500
545
  msgid "Time to run maintenance"
546
  msgstr ""
547
 
548
- #: admin.inc.php:501
549
  msgid "hrs"
550
  msgstr ""
551
 
552
- #: admin.inc.php:501
553
  msgid "min"
554
  msgstr ""
555
 
556
- #: admin.inc.php:503
557
  msgid "How often should the maintenance be run:"
558
  msgstr ""
559
 
560
- #: admin.inc.php:507
561
  msgid "Daily"
562
  msgstr ""
563
 
564
- #: admin.inc.php:511
565
  msgid "Weekly"
566
  msgstr ""
567
 
568
- #: admin.inc.php:515
569
  msgid "Fortnightly"
570
  msgstr ""
571
 
572
- #: admin.inc.php:519
573
  msgid "Monthly"
574
  msgstr ""
575
 
576
- #: admin.inc.php:528
577
  msgid "The cron job has been scheduled. Maintenance will run "
578
  msgstr ""
579
 
580
- #: admin.inc.php:533
581
  msgid "The cron job is missing. Please resave this page to add the job"
582
  msgstr ""
583
 
584
- #: admin.inc.php:538
585
  msgid "Maintenance is turned off"
586
  msgstr ""
587
 
588
- #: admin.inc.php:552
589
  msgid "Reset count"
590
  msgstr "Скинути статистику"
591
 
592
- #: admin.inc.php:555
593
  msgid ""
594
  "This cannot be reversed. Make sure that your database has been backed up "
595
  "before proceeding"
@@ -597,302 +773,308 @@ msgstr ""
597
  "Скидання статистики не може бути обернена. Перед тим, як скидати все, "
598
  "переконайтесь, що у вас є копія вашої бази даних!"
599
 
600
- #: admin.inc.php:558
601
  #, fuzzy
602
  msgid "Reset Popular Posts"
603
  msgstr "Популярні записи"
604
 
605
- #: admin.inc.php:558
606
  msgid "Are you sure you want to reset the popular posts?"
607
  msgstr "Ви впевнені, що хочете скинути статистику для Популярних записів?"
608
 
609
- #: admin.inc.php:559
610
  #, fuzzy
611
  msgid "Reset Daily Popular Posts"
612
  msgstr "Популярні сьогодні записи"
613
 
614
- #: admin.inc.php:559
615
  msgid "Are you sure you want to reset the daily popular posts?"
616
  msgstr ""
617
  "Ви впевнені, що хочете скинути статистику для Популярних сьогодні записів?"
618
 
619
- #: admin.inc.php:560
620
  msgid "Clear duplicates"
621
  msgstr ""
622
 
623
- #: admin.inc.php:560
624
  msgid "This will delete the duplicate entries in the tables. Proceed?"
625
  msgstr "Буде проведено видалення дубльованих запісів з статистики. Продовжити?"
626
 
627
- #: admin.inc.php:612 admin.inc.php:1010
628
- msgid "Popular Posts"
629
- msgstr "Популярні записи"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
630
 
631
- #: admin.inc.php:614 admin.inc.php:713
 
 
 
 
 
 
 
 
 
 
 
 
632
  msgid "Daily Popular Posts"
633
  msgstr "Популярні сьогодні записи"
634
 
635
- #: admin.inc.php:645
636
  msgid "Support the development"
637
  msgstr "Підтримати автора плагіна"
638
 
639
- #: admin.inc.php:652
640
  msgid "Donation for Top 10"
641
  msgstr ""
642
 
643
- #: admin.inc.php:654
644
  msgid "Enter amount in USD: "
645
  msgstr "Скільки ви готові пожертвувати (в USD):"
646
 
647
- #: admin.inc.php:658
648
  #, fuzzy
649
  msgid "Send your donation to the author of Top 10"
650
  msgstr "Відправте пожертву автору"
651
 
652
- #: admin.inc.php:665
653
  msgid "Follow me"
654
  msgstr ""
655
 
656
- #: admin.inc.php:675
657
  #, fuzzy
658
  msgid "Quick links"
659
  msgstr "Корисні посилання"
660
 
661
- #: admin.inc.php:679
662
  #, fuzzy
663
  msgid "Top 10 plugin page"
664
  msgstr "Сторінка плагіна"
665
 
666
- #: admin.inc.php:680
 
 
 
 
667
  msgid "Other plugins"
668
  msgstr "Інші плагіни автора"
669
 
670
- #: admin.inc.php:681
671
  msgid "Ajay's blog"
672
  msgstr "Блог Ajay"
673
 
674
- #: admin.inc.php:682
675
  msgid "FAQ"
676
  msgstr ""
677
 
678
- #: admin.inc.php:683 top-10.php:1345
679
  msgid "Support"
680
  msgstr "Підтримка (англ.)"
681
 
682
- #: admin.inc.php:684
683
  msgid "Reviews"
684
  msgstr ""
685
 
686
- #: admin.inc.php:704 admin.inc.php:707
687
- #, fuzzy
688
- msgid "Top 10 Settings"
689
- msgstr "Налаштування плагіна"
690
-
691
- #: admin.inc.php:704 admin.inc.php:1183
692
- msgid "Top 10"
693
- msgstr "Топ 10 записів"
694
-
695
- #: admin.inc.php:710
696
  #, fuzzy
697
  msgid "Overall Popular Posts"
698
  msgstr "Подивитися всі Популярні записи"
699
 
700
- #: admin.inc.php:882
701
- #, php-format
702
- msgid "Results %1$s to %2$s of %3$s"
703
- msgstr ""
704
-
705
- #: admin.inc.php:886
706
- #, php-format
707
- msgid "Page %s of %s"
708
- msgstr ""
709
-
710
- #: admin.inc.php:898
711
- msgid "View Daily Popular Posts"
712
- msgstr "Подивитися всі Популярні сьогодні записи"
713
-
714
- #: admin.inc.php:901 admin.inc.php:914
715
- msgid "Results per-page:"
716
- msgstr "Результатів на сторінку:"
717
-
718
- #: admin.inc.php:911
719
- msgid "View Overall Popular Posts"
720
- msgstr "Подивитися всі Популярні записи"
721
-
722
- #: admin.inc.php:940
723
- msgid "Previous"
724
- msgstr "Попередня сторінка"
725
-
726
- #: admin.inc.php:968
727
- msgid "Next"
728
- msgstr "Наступна сторінка"
729
-
730
- #: admin.inc.php:1011
731
- msgid "Daily Popular"
732
- msgstr "Популярні сьогодні записи"
733
-
734
- #: admin.inc.php:1029
735
- #, fuzzy
736
- msgid "Total Views"
737
- msgstr "Всього/Сьогодні"
738
-
739
- #: admin.inc.php:1030
740
- #, fuzzy
741
- msgid "Today's Views"
742
- msgstr "Всього/Сьогодні"
743
-
744
- #: admin.inc.php:1031
745
- #, fuzzy
746
- msgid "Views"
747
- msgstr "Всього/Сьогодні"
748
-
749
- #: admin.inc.php:1217
750
- #, fuzzy
751
- msgid "Visit count:"
752
- msgstr "Скинути статистику"
753
-
754
- #: admin.inc.php:1219
755
- msgid ""
756
- "Enter a number above to update the visit count. Leaving the above box blank "
757
- "will set the count to zero"
758
- msgstr ""
759
-
760
- #: admin.inc.php:1229
761
- msgid "Location of thumbnail:"
762
- msgstr ""
763
-
764
- #: admin.inc.php:1231
765
- msgid ""
766
- "Enter the full URL to the image (JPG, PNG or GIF) you'd like to use. This "
767
- "image will be used for the post. It will be resized to the thumbnail size "
768
- "set under Settings &raquo; Related Posts &raquo; Output Options"
769
- msgstr ""
770
-
771
- #: admin.inc.php:1232
772
- msgid "The URL above is saved in the meta field: "
773
- msgstr ""
774
 
775
- #: top-10.php:456
776
- msgid " by "
777
- msgstr ""
778
 
779
- #: top-10.php:550
780
  #, fuzzy
781
  msgid "Popular Posts [Top 10]"
782
  msgstr "Популярні записи"
783
 
784
- #: top-10.php:551
785
  #, fuzzy
786
  msgid "Display popular posts"
787
  msgstr "Популярні сьогодні записи"
788
 
789
- #: top-10.php:577
790
  msgid "Title"
791
  msgstr ""
792
 
793
- #: top-10.php:582
794
  msgid "No. of posts"
795
  msgstr ""
796
 
797
- #: top-10.php:587
798
  msgid "Overall"
799
  msgstr ""
800
 
801
- #: top-10.php:588
802
  msgid "Custom time period (Enter below)"
803
  msgstr ""
804
 
805
- #: top-10.php:593
806
- msgid "Range in number of days (applies only to custom option above)"
 
 
 
 
 
 
 
 
807
  msgstr ""
808
 
809
- #: top-10.php:598
810
  #, fuzzy
811
  msgid "Show count?"
812
  msgstr "Показувати текст запису в списку?"
813
 
814
- #: top-10.php:603
815
  #, fuzzy
816
  msgid "Show excerpt?"
817
  msgstr "Показувати текст запису в списку?"
818
 
819
- #: top-10.php:608
820
  #, fuzzy
821
  msgid "Show author?"
822
  msgstr "Показувати текст запису в списку?"
823
 
824
- #: top-10.php:613
825
  #, fuzzy
826
  msgid "Show date?"
827
  msgstr "Показувати текст запису в списку?"
828
 
829
- #: top-10.php:617
830
- #, fuzzy
831
- msgid "Thumbnail options"
832
- msgstr "Установки превью до записів:"
833
-
834
- #: top-10.php:619
835
  #, fuzzy
836
  msgid "Thumbnails inline, before title"
837
  msgstr "Відображати і превью, і текст"
838
 
839
- #: top-10.php:620
840
  #, fuzzy
841
  msgid "Thumbnails inline, after title"
842
  msgstr "Відображати і превью, і текст"
843
 
844
- #: top-10.php:621
845
  #, fuzzy
846
  msgid "Only thumbnails, no text"
847
  msgstr "Показувати тільки превью, без тексту"
848
 
849
- #: top-10.php:622
850
  #, fuzzy
851
  msgid "No thumbnails, only text."
852
  msgstr "Показувати лише текст, без превью"
853
 
854
- #: top-10.php:627
855
  #, fuzzy
856
  msgid "Thumbnail height"
857
  msgstr "Установки превью до записів:"
858
 
859
- #: top-10.php:632
860
  #, fuzzy
861
  msgid "Thumbnail width"
862
  msgstr "Установки превью до записів:"
863
 
864
- #: top-10.php:772
 
 
 
 
 
 
 
 
 
865
  msgid "<h3>Popular Posts</h3>"
866
  msgstr "<h3>Популярні записи</h3>"
867
 
868
- #: top-10.php:773
869
  msgid "<h3>Daily Popular</h3>"
870
  msgstr "<h3>Популярні сьогодні записи</h3>"
871
 
872
- #: top-10.php:774
873
  #, fuzzy
874
  msgid "No top posts yet"
875
  msgstr "Скинути статистику найпопулярніших записів"
876
 
877
- #: top-10.php:1245
878
  msgid "Once Weekly"
879
  msgstr ""
880
 
881
- #: top-10.php:1249
882
  msgid "Once Fortnightly"
883
  msgstr ""
884
 
885
- #: top-10.php:1253
886
  msgid "Once Monthly"
887
  msgstr ""
888
 
889
- #: top-10.php:1323
890
- msgid "Settings"
891
- msgstr "Налаштування плагіна"
892
 
893
- #: top-10.php:1346
894
- msgid "Donate"
895
- msgstr "Зробити внесок"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
896
 
897
  #, fuzzy
898
  #~ msgid "This option uses JavaScript and will increase your page load time"
2
  msgstr ""
3
  "Project-Id-Version: Top 10\n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2014-12-28 00:57-0000\n"
6
  "PO-Revision-Date: \n"
7
  "Last-Translator: Ajay D'Souza <me@ajaydsouza.com>\n"
8
  "Language-Team: Alyona Lompar <alyona.lompar@aol.com>\n"
12
  "Content-Transfer-Encoding: 8bit\n"
13
  "X-Poedit-KeywordsList: _e;__\n"
14
  "X-Poedit-Basepath: ../\n"
15
+ "X-Generator: Poedit 1.7.1\n"
16
+ "X-Poedit-SourceCharset: UTF-8\n"
17
  "X-Poedit-SearchPath-0: .\n"
18
 
19
+ #: admin/admin-columns.php:30
20
+ #, fuzzy
21
+ msgid "Total Views"
22
+ msgstr "Всього/Сьогодні"
23
+
24
+ #: admin/admin-columns.php:33
25
+ #, fuzzy
26
+ msgid "Today's Views"
27
+ msgstr "Всього/Сьогодні"
28
+
29
+ #: admin/admin-columns.php:36
30
+ #, fuzzy
31
+ msgid "Views"
32
+ msgstr "Всього/Сьогодні"
33
+
34
+ #: admin/admin-dashboard.php:72
35
+ #, php-format
36
+ msgid "Results %1$s to %2$s of %3$s"
37
+ msgstr ""
38
+
39
+ #: admin/admin-dashboard.php:76
40
+ #, php-format
41
+ msgid "Page %s of %s"
42
+ msgstr ""
43
+
44
+ #: admin/admin-dashboard.php:88
45
+ msgid "View Daily Popular Posts"
46
+ msgstr "Подивитися всі Популярні сьогодні записи"
47
+
48
+ #: admin/admin-dashboard.php:91 admin/admin-dashboard.php:104
49
+ msgid "Results per-page:"
50
+ msgstr "Результатів на сторінку:"
51
+
52
+ #: admin/admin-dashboard.php:101
53
+ msgid "View Overall Popular Posts"
54
+ msgstr "Подивитися всі Популярні записи"
55
+
56
+ #: admin/admin-dashboard.php:130
57
+ msgid "Previous"
58
+ msgstr "Попередня сторінка"
59
+
60
+ #: admin/admin-dashboard.php:158
61
+ msgid "Next"
62
+ msgstr "Наступна сторінка"
63
+
64
+ #: admin/admin-dashboard.php:200 admin/admin.php:1145
65
+ msgid "Popular Posts"
66
+ msgstr "Популярні записи"
67
+
68
+ #: admin/admin-dashboard.php:205
69
+ msgid "Daily Popular"
70
+ msgstr "Популярні сьогодні записи"
71
+
72
+ #: admin/admin-metabox.php:38 admin/admin.php:1234
73
+ msgid "Top 10"
74
+ msgstr "Топ 10 записів"
75
+
76
+ #: admin/admin-metabox.php:71
77
+ #, fuzzy
78
+ msgid "Visit count:"
79
+ msgstr "Скинути статистику"
80
+
81
+ #: admin/admin-metabox.php:73
82
+ msgid ""
83
+ "Enter a number above to update the visit count. Leaving the above box blank "
84
+ "will set the count to zero"
85
+ msgstr ""
86
+
87
+ #: admin/admin-metabox.php:83
88
+ msgid "Location of thumbnail:"
89
+ msgstr ""
90
+
91
+ #: admin/admin-metabox.php:85
92
+ msgid ""
93
+ "Enter the full URL to the image (JPG, PNG or GIF) you'd like to use. This "
94
+ "image will be used for the post. It will be resized to the thumbnail size "
95
+ "set under Settings &raquo; Related Posts &raquo; Output Options"
96
+ msgstr ""
97
+
98
+ #: admin/admin-metabox.php:86
99
+ msgid "The URL above is saved in the meta field: "
100
+ msgstr ""
101
+
102
+ #: admin/admin.php:160
103
  msgid "Options saved successfully."
104
  msgstr "Установки збережені."
105
 
106
+ #: admin/admin.php:170
107
  msgid "Options set to Default."
108
  msgstr "Установки скинуті."
109
 
110
+ #: admin/admin.php:176
111
  msgid "Top 10 popular posts reset"
112
  msgstr "Скинути статистику найпопулярніших записів"
113
 
114
+ #: admin/admin.php:182
115
  msgid "Top 10 daily popular posts reset"
116
  msgstr "Скинути статистику найпопулярніших записів за сьогодні"
117
 
118
+ #: admin/admin.php:189
119
  msgid "Duplicate rows cleaned from tables"
120
  msgstr ""
121
 
122
+ #: admin/admin.php:201
123
  msgid "Scheduled maintenance enabled / modified"
124
  msgstr ""
125
 
126
+ #: admin/admin.php:205
127
  msgid "Scheduled maintenance disabled"
128
  msgstr ""
129
 
130
+ #: admin/admin.php:244
131
+ msgid "Counts from selected sites have been imported."
 
132
  msgstr ""
133
 
134
+ #: admin/admin.php:269
135
+ msgid ""
136
+ "Selected tables have been deleted. Note that only imported tables have been "
137
+ "deleted."
138
  msgstr ""
139
 
140
+ #: admin/admin.php:277 admin/admin.php:1234 admin/admin.php:1237
141
+ #, fuzzy
142
+ msgid "Top 10 Settings"
143
+ msgstr "Налаштування плагіна"
144
 
145
+ #: admin/admin.php:289 admin/admin.php:311
146
+ msgid "General options"
147
  msgstr ""
148
 
149
+ #: admin/admin.php:290 admin/admin.php:373
150
+ msgid "Counter and tracker options"
151
  msgstr ""
152
 
153
+ #: admin/admin.php:291 admin/admin.php:478
154
+ msgid "Popular post list options"
 
 
 
155
  msgstr ""
156
 
157
+ #: admin/admin.php:292 admin/admin.php:681
158
+ #: includes/class-top-10-widget.php:103
159
+ #, fuzzy
160
+ msgid "Thumbnail options"
161
+ msgstr "Установки превью до записів:"
162
 
163
+ #: admin/admin.php:293
164
+ msgid "Custom styles"
 
 
165
  msgstr ""
166
 
167
+ #: admin/admin.php:294 admin/admin.php:912
168
+ msgid "Maintenance"
169
  msgstr ""
 
170
 
171
+ #: admin/admin.php:310 admin/admin.php:372 admin/admin.php:477
172
+ #: admin/admin.php:680 admin/admin.php:843 admin/admin.php:911
173
+ #: admin/admin.php:975 admin/admin.php:996 admin/admin.php:1176
174
+ #: admin/admin.php:1196 admin/admin.php:1206
175
+ msgid "Click to toggle"
176
  msgstr ""
177
 
178
+ #: admin/admin.php:327
179
+ msgid "Enable Overall stats"
180
  msgstr ""
181
 
182
+ #: admin/admin.php:333
183
+ msgid "Enable Daily stats"
184
  msgstr ""
185
 
186
+ #: admin/admin.php:339
187
+ msgid "Cache fix:"
188
  msgstr ""
189
 
190
+ #: admin/admin.php:342
191
+ msgid ""
192
+ "This will try to prevent W3 Total Cache and other caching plugins from "
193
+ "caching the tracker script of the plugin. Try toggling this option in case "
194
+ "you find that your posts are not tracked."
195
+ msgstr ""
196
+
197
+ #: admin/admin.php:346
198
+ msgid "Link to Top 10 plugin page"
199
+ msgstr ""
200
 
201
+ #: admin/admin.php:349
202
+ #, fuzzy
203
  msgid ""
204
+ "A link to the plugin is added as an extra list item to the list of popular "
205
+ "posts"
 
206
  msgstr ""
207
+ "Залишити посилання на плагін під списками Популярних записів? Автор плагіна "
208
+ "був би дуже вдячний Вам, якщо Ви її все ж залишите!"
209
 
210
+ #: admin/admin.php:354 admin/admin.php:459 admin/admin.php:662
211
+ #: admin/admin.php:825 admin/admin.php:891 admin/admin.php:968
212
+ #, fuzzy
213
+ msgid "Save Options"
214
+ msgstr "Установки плагіна:"
215
+
216
+ #: admin/admin.php:389
217
  #, fuzzy
218
  msgid "Display number of views on:"
219
  msgstr "Показувати кількість переглядів запису?"
220
 
221
+ #: admin/admin.php:391
222
  msgid "Posts"
223
  msgstr ""
224
 
225
+ #: admin/admin.php:392
226
  #, fuzzy
227
  msgid "Pages"
228
  msgstr "Сторінка"
229
 
230
+ #: admin/admin.php:393
231
  msgid "Home page"
232
  msgstr ""
233
 
234
+ #: admin/admin.php:394
235
  msgid "Feeds"
236
  msgstr ""
237
 
238
+ #: admin/admin.php:395
239
  msgid "Category archives"
240
  msgstr ""
241
 
242
+ #: admin/admin.php:396
243
  msgid "Tag archives"
244
  msgstr ""
245
 
246
+ #: admin/admin.php:397
247
  msgid "Other archives"
248
  msgstr ""
249
 
250
+ #: admin/admin.php:398
251
  msgid ""
252
  "If you choose to disable this, please add <code>&lt;?php if "
253
  "( function_exists ( 'echo_tptn_post_count' ) ) echo_tptn_post_count(); ?&gt;"
254
  "</code> to your template file where you want it displayed"
255
  msgstr ""
256
 
257
+ #: admin/admin.php:402
258
+ #, fuzzy
259
+ msgid "Format to display the post views:"
260
+ msgstr ""
261
+ "У полі нижче ви можете налаштувати формат відображення кількості переглядів "
262
+ "за день, за весь час для записів/сторінок:"
263
+
264
+ #: admin/admin.php:405
265
+ msgid ""
266
+ "Use <code>%totalcount%</code> to display the total count, <code>%dailycount"
267
+ "%</code> to display the daily count and <code>%overallcount%</code> to "
268
+ "display the overall count across all posts on the blog. e.g. the default "
269
+ "options displays <code>[Visited 123 times, 23 visits today]</code>"
270
+ msgstr ""
271
+
272
+ #: admin/admin.php:409
273
+ msgid "What do display when there are no visits?"
274
+ msgstr ""
275
+
276
+ #: admin/admin.php:412
277
+ msgid ""
278
+ "This text applies only when there are 0 hits for the post and it isn't a "
279
+ "single page. e.g. if you display post views on the homepage or archives then "
280
+ "this text will be used. To override this, just enter the same text as above "
281
+ "option."
282
+ msgstr ""
283
+
284
+ #: admin/admin.php:416
285
  msgid "Always display latest post count"
286
  msgstr ""
287
 
288
+ #: admin/admin.php:419
289
  msgid ""
290
  "This option uses JavaScript and will increase your page load time. Turn this "
291
  "off if you are not using caching plugins or are OK with displaying older "
292
  "cached counts."
293
  msgstr ""
294
 
295
+ #: admin/admin.php:423
296
  msgid "Track visits of authors on their own posts?"
297
  msgstr "Враховувати перегляди записів, зроблені їхніми ж авторами?"
298
 
299
+ #: admin/admin.php:426
300
  msgid ""
301
  "Disabling this option will stop authors visits tracked on their own posts"
302
  msgstr ""
303
 
304
+ #: admin/admin.php:430
305
  #, fuzzy
306
  msgid "Track visits of admins?"
307
  msgstr "Враховувати перегляди записів, зроблені їхніми ж авторами?"
308
 
309
+ #: admin/admin.php:433
310
  msgid "Disabling this option will stop admin visits being tracked."
311
  msgstr ""
312
 
313
+ #: admin/admin.php:437
314
  #, fuzzy
315
  msgid "Track visits of Editors?"
316
  msgstr "Враховувати перегляди записів, зроблені їхніми ж авторами?"
317
 
318
+ #: admin/admin.php:440
319
  msgid "Disabling this option will stop editor visits being tracked."
320
  msgstr ""
321
 
322
+ #: admin/admin.php:444
323
  msgid "Display page views on Posts and Pages in Admin"
324
  msgstr ""
325
 
326
+ #: admin/admin.php:447
327
  msgid ""
328
  "Adds three columns called Total Views, Today's Views and Views to All Posts "
329
  "and All Pages"
330
  msgstr ""
331
 
332
+ #: admin/admin.php:451
333
  #, fuzzy
334
  msgid "Show number of views to non-admins"
335
  msgstr "Показувати кількість переглядів сторінки?"
336
 
337
+ #: admin/admin.php:454
338
  msgid ""
339
  "If you disable this then non-admins won't see the above columns or view the "
340
  "independent pages with the top posts"
341
  msgstr ""
342
 
343
+ #: admin/admin.php:494
344
+ msgid "Number of popular posts to display: "
345
+ msgstr "Кількість Популярних записів у списку:"
346
 
347
+ #: admin/admin.php:497
 
348
  msgid ""
349
+ "Maximum number of posts that will be displayed in the list. This option is "
350
+ "used if you don't specify the number of posts in the widget or shortcodes"
351
  msgstr ""
 
 
352
 
353
+ #: admin/admin.php:501
354
+ msgid "Daily popular contains top posts over:"
355
+ msgstr ""
 
356
 
357
+ #: admin/admin.php:503
358
+ msgid "day(s)"
 
359
  msgstr ""
 
 
360
 
361
+ #: admin/admin.php:504
362
+ msgid "hour(s)"
363
+ msgstr ""
364
+
365
+ #: admin/admin.php:505
366
  msgid ""
367
+ "Think of Daily Popular has a custom date range applied as a global setting. "
368
+ "Instead of displaying popular posts from the past day, this setting lets you "
369
+ "display posts for as many days or as few hours as you want. This can be "
370
+ "overridden in the widget."
371
  msgstr ""
 
 
 
372
 
373
+ #: admin/admin.php:509
374
+ msgid "Post types to include in results (including custom post types)"
375
+ msgstr ""
376
+
377
+ #: admin/admin.php:521
378
+ msgid "List of post or page IDs to exclude from the results: "
379
  msgstr ""
380
 
381
+ #: admin/admin.php:523 admin/admin.php:630
382
+ msgid "Enter comma separated list of IDs. e.g. 188,320,500"
383
+ msgstr ""
384
+
385
+ #: admin/admin.php:527
386
+ msgid "Exclude Categories: "
387
+ msgstr "Виключити Категорії:"
388
+
389
+ #: admin/admin.php:542
390
  msgid ""
391
+ "Comma separated list of category slugs. The field above has an autocomplete "
392
+ "so simply start typing in the starting letters and it will prompt you with "
393
+ "options"
 
394
  msgstr ""
395
 
396
+ #: admin/admin.php:547
397
  msgid "Title of popular posts: "
398
  msgstr "Заголовок списку Популярних записів:"
399
 
400
+ #: admin/admin.php:553
401
  msgid "Title of daily popular posts: "
402
  msgstr "Заголовок списку Популярних сьогодні записів:"
403
 
404
+ #: admin/admin.php:559
405
  msgid "When there are no posts, what should be shown?"
406
  msgstr ""
407
 
408
+ #: admin/admin.php:563
409
  msgid "Blank Output"
410
  msgstr ""
411
 
412
+ #: admin/admin.php:567
413
  msgid "Display:"
414
  msgstr ""
415
 
416
+ #: admin/admin.php:572
417
  msgid "Show post excerpt in list?"
418
  msgstr "Показувати текст запису в списку?"
419
 
420
+ #: admin/admin.php:578
421
  msgid "Length of excerpt (in words): "
422
  msgstr "Довжина виведеного тексту (в словах):"
423
 
424
+ #: admin/admin.php:584
425
  #, fuzzy
426
  msgid "Show post author in list?"
427
  msgstr "Показувати текст запису в списку?"
428
 
429
+ #: admin/admin.php:590
430
  #, fuzzy
431
  msgid "Show post date in list?"
432
  msgstr "Показувати текст запису в списку?"
433
 
434
+ #: admin/admin.php:596
435
  msgid "Limit post title length (in characters)"
436
  msgstr ""
437
 
438
+ #: admin/admin.php:602
439
  #, fuzzy
440
  msgid "Show view count in list?"
441
  msgstr "Показувати текст запису в списку?"
442
 
443
+ #: admin/admin.php:608
444
  msgid "Always display latest post count in the daily lists?"
445
  msgstr ""
446
 
447
+ #: admin/admin.php:611
448
  msgid ""
449
  "This option uses JavaScript and will increase your page load time. When you "
450
  "enable this option, the daily widget will not use the options set there, but "
451
  "options will need to be set on this screen."
452
  msgstr ""
453
 
454
+ #: admin/admin.php:615
455
  msgid "Open links in new window"
456
  msgstr ""
457
 
458
+ #: admin/admin.php:621
459
  msgid "Add nofollow attribute to links in the list"
460
  msgstr ""
461
 
462
+ #: admin/admin.php:627
463
  msgid "Exclude display of related posts on these posts / pages"
464
  msgstr ""
465
 
466
+ #: admin/admin.php:634
467
  #, fuzzy
468
  msgid "Customise the list HTML"
469
  msgstr "Установки оформлення списку:"
470
 
471
+ #: admin/admin.php:637
472
  msgid "HTML to display before the list of posts: "
473
  msgstr "HTML-тег, який використовується перед списком:"
474
 
475
+ #: admin/admin.php:643
476
  msgid "HTML to display before each list item: "
477
  msgstr "HTML-тег, який використовується перед кожним пунктом у списку:"
478
 
479
+ #: admin/admin.php:649
480
  msgid "HTML to display after each list item: "
481
  msgstr "HTML-тег, який використовується після кожного пункту в списку:"
482
 
483
+ #: admin/admin.php:655
484
  msgid "HTML to display after the list of posts: "
485
  msgstr "HTML-тег, який використовується після списку:"
486
 
487
+ #: admin/admin.php:696
 
 
 
 
488
  msgid "Location of post thumbnail:"
489
  msgstr ""
490
 
491
+ #: admin/admin.php:700
492
  #, fuzzy
493
  msgid "Display thumbnails inline with posts, before title"
494
  msgstr "Відображати і превью, і текст"
495
 
496
+ #: admin/admin.php:705
497
  #, fuzzy
498
  msgid "Display thumbnails inline with posts, after title"
499
  msgstr "Відображати і превью, і текст"
500
 
501
+ #: admin/admin.php:710
502
  msgid "Display only thumbnails, no text"
503
  msgstr "Показувати тільки превью, без тексту"
504
 
505
+ #: admin/admin.php:715
506
  msgid "Do not display thumbnails, only text."
507
  msgstr "Показувати лише текст, без превью"
508
 
509
+ #: admin/admin.php:719
510
+ msgid "Thumbnail size:"
511
+ msgstr ""
512
+
513
+ #: admin/admin.php:743
514
+ msgid "Custom size"
515
+ msgstr ""
516
+
517
+ #: admin/admin.php:746
518
+ msgid ""
519
+ "You can choose from existing image sizes above or create a custom size. If "
520
+ "you have chosen Custom size above, then enter the width, height and crop "
521
+ "settings below. For best results, use a cropped image."
522
+ msgstr ""
523
+
524
+ #: admin/admin.php:747
525
+ msgid ""
526
+ "If you change the width and/or height below, existing images will not be "
527
+ "automatically resized."
528
+ msgstr ""
529
+
530
+ #: admin/admin.php:748
531
+ #, php-format
532
+ msgid ""
533
+ "I recommend using <a href='%s' target='_blank'>Force Regenerate Thumbnails</"
534
+ "a> or <a href='%s' target='_blank'>Force Regenerate Thumbnails</a> to "
535
+ "regenerate all image sizes."
536
  msgstr ""
537
 
538
+ #: admin/admin.php:751
539
+ msgid "Width of custom thumbnail:"
540
  msgstr ""
541
 
542
+ #: admin/admin.php:756
543
+ msgid "Height of custom thumbnail"
544
+ msgstr ""
545
+
546
+ #: admin/admin.php:761
547
+ msgid "Crop mode:"
548
+ msgstr ""
549
+
550
+ #: admin/admin.php:765
551
+ msgid ""
552
+ "By default, thumbnails will be proportionately cropped. Check this box to "
553
+ "hard crop the thumbnails."
554
+ msgstr ""
555
+
556
+ #: admin/admin.php:766
557
+ #, php-format
558
+ msgid "<a href='%s' target='_blank'>Difference between soft and hard crop</a>"
559
+ msgstr ""
560
+
561
+ #: admin/admin.php:768
562
+ msgid ""
563
+ "Since you're using the default styles set under the Custom Styles section, "
564
+ "the width and height is fixed at 65px and crop mode is enabled."
565
+ msgstr ""
566
+
567
+ #: admin/admin.php:773
568
  msgid "Style attributes / Width and Height HTML attributes:"
569
  msgstr ""
570
 
571
+ #: admin/admin.php:777
572
  msgid "Style attributes are used for width and height."
573
  msgstr ""
574
 
575
+ #: admin/admin.php:782
576
  msgid "HTML width and height attributes are used for width and height."
577
  msgstr ""
578
 
579
+ #: admin/admin.php:786
580
  msgid "Use timthumb to generate thumbnails? "
581
  msgstr ""
582
 
583
+ #: admin/admin.php:789
584
  msgid ""
585
  "If checked, <a href=\"http://www.binarymoon.co.uk/projects/timthumb/\" "
586
  "target=\"_blank\">timthumb</a> will be used to generate thumbnails"
587
  msgstr ""
588
 
589
+ #: admin/admin.php:792
590
  msgid "Quality of thumbnails generated by timthumb:"
591
  msgstr ""
592
 
593
+ #: admin/admin.php:795
594
  msgid ""
595
  "Enter values between 0 and 100 only. 100 is highest quality and the highest "
596
  "file size. Suggested maximum value is 95. Default is 75."
597
  msgstr ""
598
 
599
+ #: admin/admin.php:798
600
  #, fuzzy
601
  msgid "Post thumbnail meta field name: "
602
  msgstr "Установки превью до записів:"
603
 
604
+ #: admin/admin.php:801
605
  msgid ""
606
  "The value of this field should contain the image source and is set in the "
607
  "<em>Add New Post</em> screen"
608
  msgstr ""
609
 
610
+ #: admin/admin.php:804
611
  #, fuzzy
612
  msgid ""
613
  "If the postmeta is not set, then should the plugin extract the first image "
617
  "зображення із запису. Це може злегка збільшити завантаження в перший раз, "
618
  "так як буде створюватися зменшена копія зображення"
619
 
620
+ #: admin/admin.php:807
621
  #, fuzzy
622
  msgid ""
623
  "This could slow down the loading of your page if the first image in the "
627
  "зображення із запису. Це може злегка збільшити завантаження в перший раз, "
628
  "так як буде створюватися зменшена копія зображення"
629
 
630
+ #: admin/admin.php:810
631
  msgid "Use default thumbnail? "
632
  msgstr ""
633
 
634
+ #: admin/admin.php:813
635
  msgid ""
636
  "If checked, when no thumbnail is found, show a default one from the URL "
637
  "below. If not checked and no thumbnail is found, no image will be shown."
638
  msgstr ""
639
 
640
+ #: admin/admin.php:816
641
  msgid "Default thumbnail: "
642
  msgstr ""
643
 
644
+ #: admin/admin.php:820
645
  #, fuzzy
646
  msgid ""
647
  "The plugin will first check if the post contains a thumbnail. If it doesn't "
652
  "заданому раніше мета-полю). Якщо ж превью нема - буде виводитися картинка за "
653
  "замовчунням:"
654
 
655
+ #: admin/admin.php:844
656
  msgid "Custom CSS"
657
  msgstr ""
658
 
659
+ #: admin/admin.php:859
660
  msgid "Use default style included in the plugin?"
661
  msgstr ""
662
 
663
+ #: admin/admin.php:862
664
  msgid ""
665
  "Top 10 includes a default style that makes your popular posts list to look "
666
+ "beautiful. Check the box above if you want to use this."
667
+ msgstr ""
668
+
669
+ #: admin/admin.php:863
670
+ msgid ""
671
+ "Enabling this option will turn on the thumbnails and set their width and "
672
+ "height to 65px. It will also turn off the display of the author, excerpt and "
673
+ "date if already enabled. Disabling this option will not revert any settings."
674
  msgstr ""
675
 
676
+ #: admin/admin.php:864
677
+ #, php-format
678
+ msgid ""
679
+ "You can view the default style at <a href=\"%1$s\" target=\"_blank\">%1$s</a>"
680
+ msgstr ""
681
+
682
+ #: admin/admin.php:867
683
  msgid "Custom CSS to add to header:"
684
  msgstr ""
685
 
686
+ #: admin/admin.php:872
687
  msgid ""
688
  "Do not include <code>style</code> tags. Check out the <a href=\"http://"
689
  "wordpress.org/extend/plugins/top-10/faq/\" target=\"_blank\">FAQ</a> for "
690
  "available CSS classes to style."
691
  msgstr ""
692
 
693
+ #: admin/admin.php:892
 
 
 
 
 
694
  #, fuzzy
695
  msgid "Default Options"
696
  msgstr "Установки плагіна:"
697
 
698
+ #: admin/admin.php:892
699
  msgid "Do you want to set options to Default?"
700
  msgstr "Скинути налаштування плагіна?"
701
 
702
+ #: admin/admin.php:916
 
 
 
 
703
  msgid ""
704
  "Over time the Daily Top 10 database grows in size, which reduces the "
705
  "performance of the plugin. Cleaning the database at regular intervals could "
707
  "will automatically delete entries older than 90 days."
708
  msgstr ""
709
 
710
+ #: admin/admin.php:917
711
  msgid ""
712
  "Note: When scheduled maintenance is enabled, WordPress will run the cron job "
713
  "everytime the job is rescheduled (i.e. you change the settings below)."
714
  msgstr ""
715
 
716
+ #: admin/admin.php:920
717
  msgid "Enable scheduled maintenance of daily tables:"
718
  msgstr ""
719
 
720
+ #: admin/admin.php:924
721
  msgid "Time to run maintenance"
722
  msgstr ""
723
 
724
+ #: admin/admin.php:925
725
  msgid "hrs"
726
  msgstr ""
727
 
728
+ #: admin/admin.php:925
729
  msgid "min"
730
  msgstr ""
731
 
732
+ #: admin/admin.php:927
733
  msgid "How often should the maintenance be run:"
734
  msgstr ""
735
 
736
+ #: admin/admin.php:931
737
  msgid "Daily"
738
  msgstr ""
739
 
740
+ #: admin/admin.php:935
741
  msgid "Weekly"
742
  msgstr ""
743
 
744
+ #: admin/admin.php:939
745
  msgid "Fortnightly"
746
  msgstr ""
747
 
748
+ #: admin/admin.php:943
749
  msgid "Monthly"
750
  msgstr ""
751
 
752
+ #: admin/admin.php:952
753
  msgid "The cron job has been scheduled. Maintenance will run "
754
  msgstr ""
755
 
756
+ #: admin/admin.php:957
757
  msgid "The cron job is missing. Please resave this page to add the job"
758
  msgstr ""
759
 
760
+ #: admin/admin.php:962
761
  msgid "Maintenance is turned off"
762
  msgstr ""
763
 
764
+ #: admin/admin.php:976
765
  msgid "Reset count"
766
  msgstr "Скинути статистику"
767
 
768
+ #: admin/admin.php:979
769
  msgid ""
770
  "This cannot be reversed. Make sure that your database has been backed up "
771
  "before proceeding"
773
  "Скидання статистики не може бути обернена. Перед тим, як скидати все, "
774
  "переконайтесь, що у вас є копія вашої бази даних!"
775
 
776
+ #: admin/admin.php:982
777
  #, fuzzy
778
  msgid "Reset Popular Posts"
779
  msgstr "Популярні записи"
780
 
781
+ #: admin/admin.php:982
782
  msgid "Are you sure you want to reset the popular posts?"
783
  msgstr "Ви впевнені, що хочете скинути статистику для Популярних записів?"
784
 
785
+ #: admin/admin.php:983
786
  #, fuzzy
787
  msgid "Reset Daily Popular Posts"
788
  msgstr "Популярні сьогодні записи"
789
 
790
+ #: admin/admin.php:983
791
  msgid "Are you sure you want to reset the daily popular posts?"
792
  msgstr ""
793
  "Ви впевнені, що хочете скинути статистику для Популярних сьогодні записів?"
794
 
795
+ #: admin/admin.php:984
796
  msgid "Clear duplicates"
797
  msgstr ""
798
 
799
+ #: admin/admin.php:984
800
  msgid "This will delete the duplicate entries in the tables. Proceed?"
801
  msgstr "Буде проведено видалення дубльованих запісів з статистики. Продовжити?"
802
 
803
+ #: admin/admin.php:997
804
+ msgid "WordPress Multisite: Migrate Top 10 v1.x counts to 2.x"
805
+ msgstr ""
806
+
807
+ #: admin/admin.php:1000
808
+ msgid ""
809
+ "If you've been using Top 10 v1.x on multisite, you would have needed to "
810
+ "activate the plugin independently for each site. This would have resulted in "
811
+ "two tables being created for each site in the network. Top 10 v2.x onwards "
812
+ "uses only a single table to record the count, keeping your database clean. "
813
+ "You can use this tool to import the recorded counts from v1.x tables to the "
814
+ "new v2.x table format."
815
+ msgstr ""
816
+
817
+ #: admin/admin.php:1003
818
+ msgid ""
819
+ "If you do not see any tables below, then it means that either all data has "
820
+ "already been imported or no relevant information has been found."
821
+ msgstr ""
822
+
823
+ #: admin/admin.php:1037
824
+ msgid "Blog ID"
825
+ msgstr ""
826
+
827
+ #: admin/admin.php:1040
828
+ msgid "Status"
829
+ msgstr ""
830
+
831
+ #: admin/admin.php:1043
832
+ msgid "Select to import"
833
+ msgstr ""
834
+
835
+ #: admin/admin.php:1053
836
+ msgid "Blog #"
837
+ msgstr ""
838
+
839
+ #: admin/admin.php:1063
840
+ msgid "Not imported"
841
+ msgstr ""
842
+
843
+ #: admin/admin.php:1067
844
+ msgid "Imported"
845
+ msgstr ""
846
 
847
+ #: admin/admin.php:1088
848
+ msgid "Begin import"
849
+ msgstr ""
850
+
851
+ #: admin/admin.php:1089
852
+ msgid "Delete selected tables"
853
+ msgstr ""
854
+
855
+ #: admin/admin.php:1090
856
+ msgid "Delete all imported tables"
857
+ msgstr ""
858
+
859
+ #: admin/admin.php:1147 admin/admin.php:1243
860
  msgid "Daily Popular Posts"
861
  msgstr "Популярні сьогодні записи"
862
 
863
+ #: admin/admin.php:1177
864
  msgid "Support the development"
865
  msgstr "Підтримати автора плагіна"
866
 
867
+ #: admin/admin.php:1184
868
  msgid "Donation for Top 10"
869
  msgstr ""
870
 
871
+ #: admin/admin.php:1186
872
  msgid "Enter amount in USD: "
873
  msgstr "Скільки ви готові пожертвувати (в USD):"
874
 
875
+ #: admin/admin.php:1190
876
  #, fuzzy
877
  msgid "Send your donation to the author of Top 10"
878
  msgstr "Відправте пожертву автору"
879
 
880
+ #: admin/admin.php:1197
881
  msgid "Follow me"
882
  msgstr ""
883
 
884
+ #: admin/admin.php:1207
885
  #, fuzzy
886
  msgid "Quick links"
887
  msgstr "Корисні посилання"
888
 
889
+ #: admin/admin.php:1211
890
  #, fuzzy
891
  msgid "Top 10 plugin page"
892
  msgstr "Сторінка плагіна"
893
 
894
+ #: admin/admin.php:1212
895
+ msgid "Top 10 Github page"
896
+ msgstr ""
897
+
898
+ #: admin/admin.php:1213
899
  msgid "Other plugins"
900
  msgstr "Інші плагіни автора"
901
 
902
+ #: admin/admin.php:1214
903
  msgid "Ajay's blog"
904
  msgstr "Блог Ajay"
905
 
906
+ #: admin/admin.php:1215
907
  msgid "FAQ"
908
  msgstr ""
909
 
910
+ #: admin/admin.php:1216 admin/admin.php:1374
911
  msgid "Support"
912
  msgstr "Підтримка (англ.)"
913
 
914
+ #: admin/admin.php:1217
915
  msgid "Reviews"
916
  msgstr ""
917
 
918
+ #: admin/admin.php:1240
 
 
 
 
 
 
 
 
 
919
  #, fuzzy
920
  msgid "Overall Popular Posts"
921
  msgstr "Подивитися всі Популярні записи"
922
 
923
+ #: admin/admin.php:1351
924
+ msgid "Settings"
925
+ msgstr "Налаштування плагіна"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
926
 
927
+ #: admin/admin.php:1375
928
+ msgid "Donate"
929
+ msgstr "Зробити внесок"
930
 
931
+ #: includes/class-top-10-widget.php:31
932
  #, fuzzy
933
  msgid "Popular Posts [Top 10]"
934
  msgstr "Популярні записи"
935
 
936
+ #: includes/class-top-10-widget.php:32
937
  #, fuzzy
938
  msgid "Display popular posts"
939
  msgstr "Популярні сьогодні записи"
940
 
941
+ #: includes/class-top-10-widget.php:59
942
  msgid "Title"
943
  msgstr ""
944
 
945
+ #: includes/class-top-10-widget.php:64
946
  msgid "No. of posts"
947
  msgstr ""
948
 
949
+ #: includes/class-top-10-widget.php:69
950
  msgid "Overall"
951
  msgstr ""
952
 
953
+ #: includes/class-top-10-widget.php:70
954
  msgid "Custom time period (Enter below)"
955
  msgstr ""
956
 
957
+ #: includes/class-top-10-widget.php:74
958
+ msgid "In days and hours (applies only to custom option above)"
959
+ msgstr ""
960
+
961
+ #: includes/class-top-10-widget.php:76
962
+ msgid "days"
963
+ msgstr ""
964
+
965
+ #: includes/class-top-10-widget.php:79
966
+ msgid "hours"
967
  msgstr ""
968
 
969
+ #: includes/class-top-10-widget.php:84
970
  #, fuzzy
971
  msgid "Show count?"
972
  msgstr "Показувати текст запису в списку?"
973
 
974
+ #: includes/class-top-10-widget.php:89
975
  #, fuzzy
976
  msgid "Show excerpt?"
977
  msgstr "Показувати текст запису в списку?"
978
 
979
+ #: includes/class-top-10-widget.php:94
980
  #, fuzzy
981
  msgid "Show author?"
982
  msgstr "Показувати текст запису в списку?"
983
 
984
+ #: includes/class-top-10-widget.php:99
985
  #, fuzzy
986
  msgid "Show date?"
987
  msgstr "Показувати текст запису в списку?"
988
 
989
+ #: includes/class-top-10-widget.php:105
 
 
 
 
 
990
  #, fuzzy
991
  msgid "Thumbnails inline, before title"
992
  msgstr "Відображати і превью, і текст"
993
 
994
+ #: includes/class-top-10-widget.php:106
995
  #, fuzzy
996
  msgid "Thumbnails inline, after title"
997
  msgstr "Відображати і превью, і текст"
998
 
999
+ #: includes/class-top-10-widget.php:107
1000
  #, fuzzy
1001
  msgid "Only thumbnails, no text"
1002
  msgstr "Показувати тільки превью, без тексту"
1003
 
1004
+ #: includes/class-top-10-widget.php:108
1005
  #, fuzzy
1006
  msgid "No thumbnails, only text."
1007
  msgstr "Показувати лише текст, без превью"
1008
 
1009
+ #: includes/class-top-10-widget.php:113
1010
  #, fuzzy
1011
  msgid "Thumbnail height"
1012
  msgstr "Установки превью до записів:"
1013
 
1014
+ #: includes/class-top-10-widget.php:118
1015
  #, fuzzy
1016
  msgid "Thumbnail width"
1017
  msgstr "Установки превью до записів:"
1018
 
1019
+ #: top-10.php:866
1020
+ msgid " by "
1021
+ msgstr ""
1022
+
1023
+ #: top-10.php:917
1024
+ #, php-format
1025
+ msgid "Popular posts by <a href=\"%s\" rel=\"nofollow\" %s>Top 10 plugin</a>"
1026
+ msgstr ""
1027
+
1028
+ #: top-10.php:1016
1029
  msgid "<h3>Popular Posts</h3>"
1030
  msgstr "<h3>Популярні записи</h3>"
1031
 
1032
+ #: top-10.php:1017
1033
  msgid "<h3>Daily Popular</h3>"
1034
  msgstr "<h3>Популярні сьогодні записи</h3>"
1035
 
1036
+ #: top-10.php:1018
1037
  #, fuzzy
1038
  msgid "No top posts yet"
1039
  msgstr "Скинути статистику найпопулярніших записів"
1040
 
1041
+ #: top-10.php:1668
1042
  msgid "Once Weekly"
1043
  msgstr ""
1044
 
1045
+ #: top-10.php:1672
1046
  msgid "Once Fortnightly"
1047
  msgstr ""
1048
 
1049
+ #: top-10.php:1676
1050
  msgid "Once Monthly"
1051
  msgstr ""
1052
 
1053
+ #: top-10.php:1680
1054
+ msgid "Once quarterly"
1055
+ msgstr ""
1056
 
1057
+ #~ msgid "Daily Popular should contain views of how many days? "
1058
+ #~ msgstr ""
1059
+ #~ "За скільки днів вважати перегляди для списку Популярних сьогодні записів?"
1060
+
1061
+ #, fuzzy
1062
+ #~ msgid "Output options"
1063
+ #~ msgstr "Установки плагіна:"
1064
+
1065
+ #, fuzzy
1066
+ #~ msgid ""
1067
+ #~ "Use <code>%totalcount%</code> to display the total count, <code>"
1068
+ #~ "%dailycount%</code> to display the daily count and <code>%overallcount%</"
1069
+ #~ "code> to display the overall count across all posts on the blog. e.g. the "
1070
+ #~ "default options displays <code>(Visited 123 times, 23 visits today)</code>"
1071
+ #~ msgstr ""
1072
+ #~ "Використовуйте <code>%totalcount%</code> щоб вивести загальне число "
1073
+ #~ "переглядів, а <code>%dailycount%</code> - перегляди за добу. Наприклад: "
1074
+ #~ "<code>(Запис переглянуто 123 рази, сьогодні переглядів - 23)</code>."
1075
+
1076
+ #~ msgid "Post thumbnail options:"
1077
+ #~ msgstr "Установки превью до записів:"
1078
 
1079
  #, fuzzy
1080
  #~ msgid "This option uses JavaScript and will increase your page load time"
readme.txt CHANGED
@@ -4,7 +4,7 @@ Contributors: Ajay
4
  Donate link: http://ajaydsouza.com/donate/
5
  Stable tag: trunk
6
  Requires at least: 3.3
7
- Tested up to: 4.1
8
  License: GPLv2 or later
9
 
10
 
@@ -43,22 +43,36 @@ If you're looking for a plugin to display related, look no further than my other
43
  == Screenshots ==
44
 
45
  1. Top 10 options - General options
46
- 2. Top 10 options - Output options
47
- 3. Top 10 options - Custom styles
48
- 4. Top 10 options - Maintenance
49
- 5. Top 10 options - Reset count
50
- 6. Top 10 widget options
51
- 7. Top 10 Meta box on the Edit Post screen
 
 
52
 
53
 
54
  == Upgrade Notice ==
55
 
56
- = 1.9.10.2 =
57
- * Fixed: Schedules were overwritten when activating the maintenance cron job
 
58
 
59
 
60
  == Changelog ==
61
 
 
 
 
 
 
 
 
 
 
 
 
62
  = 1.9.10.2 =
63
  * Fixed: Schedules were overwritten when activating the maintenance cron job
64
 
4
  Donate link: http://ajaydsouza.com/donate/
5
  Stable tag: trunk
6
  Requires at least: 3.3
7
+ Tested up to: 4.2
8
  License: GPLv2 or later
9
 
10
 
43
  == Screenshots ==
44
 
45
  1. Top 10 options - General options
46
+ 2. Top 10 options - Counter and Tracker options
47
+ 3. Top 10 options - Popular post list options
48
+ 4. Top 10 options - Thumbnail options
49
+ 5. Top 10 options - Custom styles
50
+ 6. Top 10 options - Maintenance
51
+ 7. Top 10 widget options
52
+ 8. Top 10 Meta box on the Edit Post screen
53
+ 9. WordPress Multisite: Import Top 10 v1.x counts
54
 
55
 
56
  == Upgrade Notice ==
57
 
58
+ = 2.0.0 =
59
+ Major update: Multisite support; Better extensions support; Hourly tracking; bug fixes;
60
+ View the Changelog for details;
61
 
62
 
63
  == Changelog ==
64
 
65
+ = 2.0.0 =
66
+ * New: Multisite support. If you're using multisite and have previously activated Top 10 on individual blogs in the network, then head over to **Top 10 Settings** and import the counts from the old Top 10 1.x tables to the new Top 10 v2.0 tables
67
+ * New: Fully extendable lookup query for the top lists. Now you can create your own functions in functions.php or in addon plugins to modify the mySQL query
68
+ * New: Option to use any of the inbuilt thumbnail sizes or create your own custom image size. If a custom size is chosen, then the plugin uses `add_image_size` to register the custom size. I recommend using <a href="https://wordpress.org/plugins/force-regenerate-thumbnails/">Force Regenerate Thumbnails</a>
69
+ * New: Actions and filters in the Top 10 Settings page and in the widget which allows for addons to add more settings
70
+ * Modified: Post tracking is now done on an hourly basis. Date limiting is also on an hourly basis. So, 1 day is actually the last 24 hours and not from midnight anymore!
71
+ * Modified: Update and View counts now use query variables instead of external JavaScript files. Check http://goo.gl/yemvyM for sample functions to restore the old method
72
+ * Modified: Activating the default styles option will automatically set the thumbnail width and height to 65px, disable author and excerpt and enable crop mode for the thumbnails
73
+ * Fixed: Fix schedule overwrite for the cron job
74
+ * Fixed: Incorrect permission lookup in the metabox
75
+
76
  = 1.9.10.2 =
77
  * Fixed: Schedules were overwritten when activating the maintenance cron job
78
 
timthumb/cache/index.html ADDED
File without changes
timthumb/cache/timthumb_cacheLastCleanTime.touch ADDED
File without changes
timthumb/cache/timthumb_int_3c6dbefcc66cc6a760cd6873d4421132.timthumb.txt ADDED
Binary file
timthumb/cache/timthumb_int_ef86ac262092aa5f7d00ee8173dacad6.timthumb.txt ADDED
Binary file
top-10-addcount.js.php CHANGED
@@ -1,6 +1,14 @@
1
  <?php
2
- //"top-10-addcount.js.php" Add count to database
3
- Header("content-type: application/x-javascript");
 
 
 
 
 
 
 
 
4
 
5
  // Force a short-init since we just need core WP, not the entire framework stack
6
  define( 'SHORTINIT', true );
@@ -10,7 +18,7 @@ $wp_config_path = dirname( dirname( dirname( __FILE__ ) ) );
10
  $wp_config_filename = '/wp-load.php';
11
 
12
  // Check if the file exists in the root or one level up
13
- if( !file_exists( $wp_config_path . $wp_config_filename ) ) {
14
  // Just in case the user may have placed wp-config.php one more level up from the root
15
  $wp_config_filename = dirname( $wp_config_path ) . $wp_config_filename;
16
  }
@@ -28,21 +36,22 @@ function tptn_inc_count() {
28
  $table_name = $wpdb->prefix . "top_ten";
29
  $top_ten_daily = $wpdb->prefix . "top_ten_daily";
30
  $str = '';
31
-
32
- $id = intval($_GET['top_ten_id']);
33
- $activate_counter = intval($_GET['activate_counter']);
34
- if($id > 0) {
35
- if ( (1==$activate_counter) || (11==$activate_counter) ) {
36
- $tt = $wpdb->query( $wpdb->prepare("INSERT INTO {$table_name} (postnumber, cntaccess) VALUES('%d', '1') ON DUPLICATE KEY UPDATE cntaccess= cntaccess+1 ", $id ) );
37
- $str .= ($tt === FALSE) ? 'tte' : 'tt'.$tt;
38
  }
39
- if ( (10==$activate_counter) || (11==$activate_counter) ) {
40
- $current_date = gmdate( 'Y-m-d', ( time() + ( get_option( 'gmt_offset' ) * 3600 ) ) );
41
- $ttd = $wpdb->query( $wpdb->prepare("INSERT INTO {$top_ten_daily} (postnumber, cntaccess, dp_date) VALUES('%d', '1', '%s' ) ON DUPLICATE KEY UPDATE cntaccess= cntaccess+1 ", $id, $current_date ) );
42
- $str .= ($ttd === FALSE) ? ' ttde' : ' ttd'.$ttd;
 
43
  }
44
  }
45
- echo '<!-- '.$str.' -->';
46
  }
47
 
48
  ?>
1
  <?php
2
+ /**
3
+ * Add count to database.
4
+ *
5
+ * @package Top_Ten
6
+ * @author Ajay D'Souza <me@ajaydsouza.com>
7
+ * @license GPL-2.0+
8
+ * @link http://ajaydsouza.com
9
+ * @copyright 2008-2014 Ajay D'Souza
10
+ */
11
+ Header( "content-type: application/x-javascript" );
12
 
13
  // Force a short-init since we just need core WP, not the entire framework stack
14
  define( 'SHORTINIT', true );
18
  $wp_config_filename = '/wp-load.php';
19
 
20
  // Check if the file exists in the root or one level up
21
+ if ( ! file_exists( $wp_config_path . $wp_config_filename ) ) {
22
  // Just in case the user may have placed wp-config.php one more level up from the root
23
  $wp_config_filename = dirname( $wp_config_path ) . $wp_config_filename;
24
  }
36
  $table_name = $wpdb->prefix . "top_ten";
37
  $top_ten_daily = $wpdb->prefix . "top_ten_daily";
38
  $str = '';
39
+
40
+ $id = intval( $_GET['top_ten_id'] );
41
+ $activate_counter = intval( $_GET['activate_counter'] );
42
+ if ( $id > 0 ) {
43
+ if ( ( 1 == $activate_counter ) || ( 11 == $activate_counter ) ) {
44
+ $tt = $wpdb->query( $wpdb->prepare( "INSERT INTO {$table_name} (postnumber, cntaccess) VALUES('%d', '1') ON DUPLICATE KEY UPDATE cntaccess= cntaccess+1 ", $id ) );
45
+ $str .= ( $tt === FALSE ) ? 'tte' : 'tt' . $tt;
46
  }
47
+ if ( ( 10 == $activate_counter ) || ( 11 == $activate_counter ) ) {
48
+ $current_date = gmdate( 'Y-m-d H', current_time( 'timestamp', 1 ) );
49
+
50
+ $ttd = $wpdb->query( $wpdb->prepare( "INSERT INTO {$top_ten_daily} (postnumber, cntaccess, dp_date) VALUES('%d', '1', '%s' ) ON DUPLICATE KEY UPDATE cntaccess= cntaccess+1 ", $id, $current_date ) );
51
+ $str .= ($ttd === FALSE) ? ' ttde' : ' ttd' . $ttd;
52
  }
53
  }
54
+ echo '<!-- ' . $str . ' -->';
55
  }
56
 
57
  ?>
top-10-counter.js.php CHANGED
@@ -1,13 +1,21 @@
1
  <?php
2
- //"top-10-counter.js.php" Display number of page views
3
- Header("content-type: application/x-javascript");
 
 
 
 
 
 
 
 
4
 
5
  // Build the wp-config.php path from a plugin/theme
6
  $wp_config_path = dirname( dirname( dirname( __FILE__ ) ) );
7
  $wp_config_filename = '/wp-load.php';
8
 
9
  // Check if the file exists in the root or one level up
10
- if( !file_exists( $wp_config_path . $wp_config_filename ) ) {
11
  // Just in case the user may have placed wp-config.php one more level up from the root
12
  $wp_config_filename = dirname( $wp_config_path ) . $wp_config_filename;
13
  }
@@ -17,18 +25,18 @@ require( $wp_config_filename );
17
  // Include the now instantiated global $wpdb Class for use
18
  global $wpdb;
19
 
20
- $id = intval($_GET['top_ten_id']);
21
 
22
  // Display counter using Ajax
23
  function tptn_disp_count() {
24
  global $wpdb;
25
-
26
- $id = intval($_GET['top_ten_id']);
27
- if($id > 0) {
28
 
29
- $output = get_tptn_post_count($id);
 
30
 
31
- echo 'document.write("'.$output.'")';
 
 
32
  }
33
  }
34
  tptn_disp_count();
1
  <?php
2
+ /**
3
+ * Display number of page views.
4
+ *
5
+ * @package Top_Ten
6
+ * @author Ajay D'Souza <me@ajaydsouza.com>
7
+ * @license GPL-2.0+
8
+ * @link http://ajaydsouza.com
9
+ * @copyright 2008-2014 Ajay D'Souza
10
+ */
11
+ Header( "content-type: application/x-javascript" );
12
 
13
  // Build the wp-config.php path from a plugin/theme
14
  $wp_config_path = dirname( dirname( dirname( __FILE__ ) ) );
15
  $wp_config_filename = '/wp-load.php';
16
 
17
  // Check if the file exists in the root or one level up
18
+ if ( ! file_exists( $wp_config_path . $wp_config_filename ) ) {
19
  // Just in case the user may have placed wp-config.php one more level up from the root
20
  $wp_config_filename = dirname( $wp_config_path ) . $wp_config_filename;
21
  }
25
  // Include the now instantiated global $wpdb Class for use
26
  global $wpdb;
27
 
28
+ $id = intval( $_GET['top_ten_id'] );
29
 
30
  // Display counter using Ajax
31
  function tptn_disp_count() {
32
  global $wpdb;
 
 
 
33
 
34
+ $id = intval( $_GET['top_ten_id'] );
35
+ if ( $id > 0 ) {
36
 
37
+ $output = get_tptn_post_count( $id );
38
+
39
+ echo 'document.write("' . $output . '")';
40
  }
41
  }
42
  tptn_disp_count();
top-10-daily.js.php CHANGED
@@ -1,29 +1,37 @@
1
  <?php
2
- //"top-10-daily.js.php" Display Daily Popular Lists.
3
- Header("content-type: application/x-javascript");
 
 
 
 
 
 
 
 
4
 
5
- if (!function_exists('add_action')) {
6
  $wp_root = '../../..';
7
- if (file_exists($wp_root.'/wp-load.php')) {
8
- require_once($wp_root.'/wp-load.php');
9
  } else {
10
- require_once($wp_root.'/wp-config.php');
11
  }
12
  }
13
 
14
  // Display Top 10 Daily list
15
  function tptn_daily_lists() {
16
- global $wpdb, $siteurl, $tableposts, $id;
17
 
18
- $is_widget = intval($_GET['is_widget']);
19
-
20
- if($is_widget) {
21
- $output = tptn_pop_posts('daily=1&is_widget=1');
22
  } else {
23
- $output = tptn_pop_posts('daily=1&is_widget=0');
24
  }
25
-
26
- echo "document.write('".$output."')";
27
  }
28
  tptn_daily_lists();
29
- ?>
1
  <?php
2
+ /**
3
+ * Display the daily popular lists.
4
+ *
5
+ * @package Top_Ten
6
+ * @author Ajay D'Souza <me@ajaydsouza.com>
7
+ * @license GPL-2.0+
8
+ * @link http://ajaydsouza.com
9
+ * @copyright 2008-2014 Ajay D'Souza
10
+ */
11
+ Header( "content-type: application/x-javascript" );
12
 
13
+ if ( ! function_exists('add_action') ) {
14
  $wp_root = '../../..';
15
+ if ( file_exists($wp_root.'/wp-load.php') ) {
16
+ require_once( $wp_root . '/wp-load.php' );
17
  } else {
18
+ require_once( $wp_root . '/wp-config.php' );
19
  }
20
  }
21
 
22
  // Display Top 10 Daily list
23
  function tptn_daily_lists() {
24
+ global $wpdb, $id;
25
 
26
+ $is_widget = intval( $_GET['is_widget'] );
27
+
28
+ if ( $is_widget ) {
29
+ $output = tptn_pop_posts( 'daily=1&is_widget=1' );
30
  } else {
31
+ $output = tptn_pop_posts( 'daily=1&is_widget=0' );
32
  }
33
+
34
+ echo "document.write('" . $output . "')";
35
  }
36
  tptn_daily_lists();
37
+ ?>
top-10.php CHANGED
@@ -1,24 +1,89 @@
1
  <?php
2
- /*
3
- Plugin Name: Top 10
4
- Version: 1.9.10.2
5
- Plugin URI: http://ajaydsouza.com/wordpress/plugins/top-10/
6
- Description: Count daily and total visits per post and display the most popular posts based on the number of views. Based on the plugin by <a href="http://weblogtoolscollection.com">Mark Ghosh</a>
7
- Author: Ajay D'Souza
8
- Author URI: http://ajaydsouza.com/
9
- */
10
-
11
- if ( ! defined( 'ABSPATH' ) ) die( "Aren't you supposed to come here via WP-Admin?" );
12
- define( 'ALD_TPTN_DIR', dirname( __FILE__ ) );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
13
  define( 'TPTN_LOCAL_NAME', 'tptn' );
14
 
15
- // Guess the location
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
16
  $tptn_path = plugin_dir_path( __FILE__ );
 
 
 
 
 
 
 
 
 
17
  $tptn_url = plugins_url() . '/' . plugin_basename( dirname( __FILE__ ) );
18
 
 
 
 
 
 
 
 
 
19
  global $tptn_db_version;
20
- $tptn_db_version = "3.0";
 
21
 
 
 
 
 
 
 
 
22
  global $tptn_settings;
23
  $tptn_settings = tptn_read_options();
24
 
@@ -26,8 +91,7 @@ $tptn_settings = tptn_read_options();
26
  /**
27
  * Function to load translation files.
28
  *
29
- * @access public
30
- * @return void
31
  */
32
  function tptn_lang_init() {
33
  load_plugin_textdomain( TPTN_LOCAL_NAME, false, dirname( plugin_basename( __FILE__ ) ) . '/languages/' );
@@ -36,43 +100,74 @@ add_action( 'init', 'tptn_lang_init' );
36
 
37
 
38
  /**
39
- * Filter for content to update post views.
40
  *
41
- * @access public
42
- * @param string $content Post content
43
- * @return string Filtered content
 
44
  */
45
  function tptn_add_viewed_count( $content ) {
46
- global $post, $wpdb, $single, $tptn_url, $tptn_path;
47
- $table_name = $wpdb->prefix . "top_ten";
48
 
49
- if ( is_singular() ) {
50
 
51
- global $tptn_settings;
52
 
53
- $current_user = wp_get_current_user();
 
 
 
 
 
 
 
 
 
 
 
 
 
54
  $post_author = ( $current_user->ID == $post->post_author ) ? true : false; // Is the current user the post author?
55
  $current_user_admin = ( current_user_can( 'manage_options' ) ) ? true : false; // Is the current user an admin?
56
- $current_user_editor = ( ( current_user_can( 'edit_others_posts' ) ) && ( ! current_user_can( 'manage_options' ) ) ) ? true : false; // Is the current user pure editor?
57
 
58
  $include_code = true;
59
- if ( ( $post_author ) && ( ! $tptn_settings['track_authors'] ) ) $include_code = false;
60
- if ( ( $current_user_admin ) && ( ! $tptn_settings['track_admins'] ) ) $include_code = false;
61
- if ( ( $current_user_editor ) && ( ! $tptn_settings['track_editors'] ) ) $include_code = false;
 
 
 
 
 
 
62
 
63
  if ( $include_code ) {
 
64
  $output = '';
65
  $id = intval( $post->ID );
66
- $activate_counter = $tptn_settings['activate_overall'] ? 1 : 0;
67
- $activate_counter = $activate_counter + ( $tptn_settings['activate_daily'] ? 10 : 0 );
 
 
68
  if ( $activate_counter > 0 ) {
69
  if ( $tptn_settings['cache_fix'] ) {
70
- $output = '<script type="text/javascript">jQuery.ajax({url: "' .$tptn_url. '/top-10-addcount.js.php", data: {top_ten_id: ' .$id. ', activate_counter: ' . $activate_counter . ', top10_rnd: (new Date()).getTime() + "-" + Math.floor(Math.random()*100000)}});</script>';
71
  } else {
72
- $output = '<script type="text/javascript" src="'.$tptn_url.'/top-10-addcount.js.php?top_ten_id='.$id.'&amp;activate_counter='.$activate_counter.'"></script>';
73
  }
74
  }
 
 
 
 
 
 
 
 
75
  $output = apply_filters( 'tptn_viewed_count', $output );
 
76
  return $content.$output;
77
  } else {
78
  return $content;
@@ -87,23 +182,110 @@ add_filter( 'the_content', 'tptn_add_viewed_count' );
87
  /**
88
  * Enqueue Scripts.
89
  *
90
- * @access public
91
- * @return void
92
  */
93
  function tptn_enqueue_scripts() {
94
- global $tptn_settings;
95
 
96
- if ( $tptn_settings['cache_fix'] ) wp_enqueue_script( 'jquery' );
 
 
97
  }
98
  add_action( 'wp_enqueue_scripts', 'tptn_enqueue_scripts' ); // wp_enqueue_scripts action hook to link only on the front-end
99
 
100
 
101
  /**
102
- * Filter to add visited count to content.
103
  *
104
- * @access public
105
- * @param string $content
106
- * @return string
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
107
  */
108
  function tptn_pc_content( $content ) {
109
  global $single, $post, $tptn_settings;
@@ -115,17 +297,17 @@ function tptn_pc_content( $content ) {
115
  }
116
 
117
  if ( ( is_single() ) && ( $tptn_settings['add_to_content'] ) ) {
118
- return $content.echo_tptn_post_count(0);
119
  } elseif ( ( is_page() ) && ( $tptn_settings['count_on_pages'] ) ) {
120
- return $content.echo_tptn_post_count(0);
121
  } elseif ( ( is_home() ) && ( $tptn_settings['add_to_home'] ) ) {
122
- return $content.echo_tptn_post_count(0);
123
  } elseif ( ( is_category() ) && ( $tptn_settings['add_to_category_archives'] ) ) {
124
- return $content.echo_tptn_post_count(0);
125
  } elseif ( ( is_tag() ) && ( $tptn_settings['add_to_tag_archives'] ) ) {
126
- return $content.echo_tptn_post_count(0);
127
  } elseif ( ( ( is_tax() ) || ( is_author() ) || ( is_date() ) ) && ( $tptn_settings['add_to_archives'] ) ) {
128
- return $content.echo_tptn_post_count(0);
129
  } else {
130
  return $content;
131
  }
@@ -136,9 +318,10 @@ add_filter( 'the_content', 'tptn_pc_content' );
136
  /**
137
  * Filter to add related posts to feeds.
138
  *
139
- * @access public
140
- * @param string $content
141
- * @return string
 
142
  */
143
  function ald_tptn_rss( $content ) {
144
  global $post, $tptn_settings;
@@ -146,7 +329,7 @@ function ald_tptn_rss( $content ) {
146
  $id = intval( $post->ID );
147
 
148
  if ( $tptn_settings['add_to_feed'] ) {
149
- return $content.'<div class="tptn_counter" id="tptn_counter_' . $id . '">' . get_tptn_post_count( $id ) . '</div>';
150
  } else {
151
  return $content;
152
  }
@@ -158,24 +341,46 @@ add_filter( 'the_content_feed', 'ald_tptn_rss' );
158
  /**
159
  * Function to manually display count.
160
  *
161
- * @access public
162
- * @param int|boolean $echo (default: 1)
163
- * @return string
164
  */
165
  function echo_tptn_post_count( $echo = 1 ) {
166
  global $post, $tptn_url, $tptn_path, $tptn_settings;
167
 
 
 
 
 
 
 
 
 
 
 
 
 
 
168
  $id = intval( $post->ID );
169
 
170
  $nonce_action = 'tptn-nonce-' . $id ;
171
  $nonce = wp_create_nonce( $nonce_action );
172
 
173
  if ( $tptn_settings['dynamic_post_count'] ) {
174
- $output = '<div class="tptn_counter" id="tptn_counter_' . $id . '"><script type="text/javascript" data-cfasync="false" src="' . $tptn_url . '/top-10-counter.js.php?top_ten_id='.$id.'&amp;_wpnonce=' . $nonce . '"></script></div>';
175
  } else {
176
  $output = '<div class="tptn_counter" id="tptn_counter_' . $id . '">' . get_tptn_post_count( $id ) . '</div>';
177
  }
178
 
 
 
 
 
 
 
 
 
 
179
  if ( $echo ) {
180
  echo $output;
181
  } else {
@@ -187,19 +392,20 @@ function echo_tptn_post_count( $echo = 1 ) {
187
  /**
188
  * Return the formatted post count for the supplied ID.
189
  *
190
- * @access public
191
- * @param int|string $id Post ID
192
- * @return int|string Formatted post count
 
193
  */
194
- function get_tptn_post_count( $id = FALSE ) {
195
  global $wpdb, $tptn_settings;
196
 
197
- $table_name = $wpdb->prefix . "top_ten";
198
- $table_name_daily = $wpdb->prefix . "top_ten_daily";
199
 
200
  $count_disp_form = stripslashes( $tptn_settings['count_disp_form'] );
201
  $count_disp_form_zero = stripslashes( $tptn_settings['count_disp_form_zero'] );
202
- $totalcntaccess = get_tptn_post_count_only( $id, 'total' );
203
 
204
  if ( $id > 0 ) {
205
 
@@ -246,36 +452,42 @@ function get_tptn_post_count( $id = FALSE ) {
246
  /**
247
  * Returns the post count.
248
  *
249
- * @access public
250
- * @param mixed $id (default: FALSE) Post ID
251
- * @param string $count (default: 'total') Which count to return? total, daily or overall
252
- * @return int Post count
 
253
  */
254
- function get_tptn_post_count_only( $id = FALSE, $count = 'total' ) {
255
- global $wpdb;
256
 
257
- $table_name = $wpdb->prefix . "top_ten";
258
- $table_name_daily = $wpdb->prefix . "top_ten_daily";
259
- global $tptn_settings;
 
 
 
260
 
261
- if($id > 0) {
262
- switch ($count) {
263
  case 'total':
264
- $resultscount = $wpdb->get_row( $wpdb->prepare( "SELECT postnumber, cntaccess FROM {$table_name} WHERE postnumber = %d" , $id ) );
265
- $cntaccess = number_format_i18n((($resultscount) ? $resultscount->cntaccess : 0));
266
  break;
267
  case 'daily':
268
- $daily_range = $tptn_settings['daily_range']-1;
269
- $current_time = gmdate( 'Y-m-d', ( time() + ( get_option( 'gmt_offset' ) * 3600 ) ) );
270
- $current_date = strtotime ( '-'.$daily_range. ' DAY' , strtotime ( $current_time ) );
271
- $current_date = date ( 'Y-m-j' , $current_date );
272
 
273
- $resultscount = $wpdb->get_row( $wpdb->prepare( "SELECT postnumber, SUM(cntaccess) as sumCount FROM {$table_name_daily} WHERE postnumber = %d AND dp_date >= '%s' GROUP BY postnumber ", array($id, $current_date) ) );
274
- $cntaccess = number_format_i18n((($resultscount) ? $resultscount->sumCount : 0));
 
 
 
 
275
  break;
276
  case 'overall':
277
- $resultscount = $wpdb->get_row("SELECT SUM(cntaccess) as sumCount FROM ".$table_name);
278
- $cntaccess = number_format_i18n((($resultscount) ? $resultscount->sumCount : 0));
279
  break;
280
  }
281
  return apply_filters( 'tptn_post_count_only', $cntaccess );
@@ -284,15 +496,26 @@ function get_tptn_post_count_only( $id = FALSE, $count = 'total' ) {
284
  }
285
  }
286
 
 
287
  /**
288
  * Function to return popular posts.
289
  *
290
- * @access public
291
- * @param mixed $args
292
- * @return array|string Array of posts if posts_only = 0 or a formatted string if posts_only = 1
 
293
  */
294
  function tptn_pop_posts( $args ) {
295
- global $wpdb, $siteurl, $tableposts, $id, $tptn_settings;
 
 
 
 
 
 
 
 
 
296
 
297
  $defaults = array(
298
  'is_widget' => FALSE,
@@ -303,18 +526,35 @@ function tptn_pop_posts( $args ) {
303
  'is_shortcode' => FALSE,
304
  'heading' => 1,
305
  );
 
 
306
  $defaults = array_merge( $defaults, $tptn_settings );
307
 
308
  // Parse incomming $args into an array and merge it with $defaults
309
  $args = wp_parse_args( $args, $defaults );
310
 
311
- // OPTIONAL: Declare each item in $args as its own variable i.e. $type, $before.
312
  extract( $args, EXTR_SKIP );
313
 
314
- if ($daily) {
315
- $table_name = $wpdb->prefix . "top_ten_daily";
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
316
  } else {
317
- $table_name = $wpdb->prefix . "top_ten";
318
  }
319
 
320
  $limit = ( $strict_limit ) ? $limit : ( $limit * 5 );
@@ -322,62 +562,128 @@ function tptn_pop_posts( $args ) {
322
  $exclude_categories = explode( ',', $exclude_categories );
323
 
324
  $target_attribute = ( $link_new_window ) ? ' target="_blank" ' : ' '; // Set Target attribute
325
- $rel_attribute = ( $link_nofollow ) ? ' nofollow' : ''; // Set nofollow attribute
326
 
327
  parse_str( $post_types, $post_types ); // Save post types in $post_types variable
328
 
329
- if ( ! $daily ) {
330
- $args = array();
331
- $sql = "SELECT postnumber, cntaccess as sumCount, ID, post_type, post_status ";
332
- $sql .= "FROM {$table_name} INNER JOIN ". $wpdb->posts ." ON postnumber=ID " ;
333
- $sql .= "AND post_status = 'publish' ";
334
- if ( '' != $exclude_post_ids ) {
335
- $sql .= "AND ID NOT IN ({$exclude_post_ids}) ";
336
- }
337
- $sql .= "AND ( ";
338
- $multiple = false;
339
- foreach ( $post_types as $post_type ) {
340
- if ( $multiple ) $sql .= ' OR ';
341
- $sql .= " post_type = '%s' ";
342
- $multiple = true;
343
- $args[] = $post_type; // Add the post types to the $args array
344
- }
345
- $sql .= " ) ";
346
- $sql .= "ORDER BY sumCount DESC LIMIT %d";
347
- $args[] = $limit;
348
- } else {
349
- $current_time = current_time( 'timestamp', 0 );
350
- $current_time = $current_time - ( $daily_range - 1 ) * 3600 * 24;
351
- $current_date = date( 'Y-m-j', $current_time );
352
-
353
- $args = array(
354
- $current_date,
355
- );
356
- $sql = "SELECT postnumber, SUM(cntaccess) as sumCount, dp_date, ID, post_type, post_status ";
357
- $sql .= "FROM {$table_name} INNER JOIN ". $wpdb->posts ." ON postnumber=ID " ;
358
- $sql .= "AND post_status = 'publish' AND dp_date >= '%s' ";
359
- if ( '' != $exclude_post_ids ) {
360
- $sql .= "AND ID NOT IN ({$exclude_post_ids}) ";
361
- }
362
- $sql .= "AND ( ";
363
- $multiple = false;
364
- foreach ( $post_types as $post_type ) {
365
- if ( $multiple ) $sql .= ' OR ';
366
- $sql .= " post_type = '%s' ";
367
- $multiple = true;
368
- $args[] = $post_type; // Add the post types to the $args array
369
- }
370
- $sql .= " ) ";
371
- $sql .= "GROUP BY postnumber ";
372
- $sql .= "ORDER BY sumCount DESC LIMIT %d";
373
- $args[] = $limit;
374
  }
375
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
376
  if ( $posts_only ) { // Return the array of posts only if the variable is set
377
- return apply_filters( 'tptn_pop_posts_array', $wpdb->get_results( $wpdb->prepare( $sql , $args ) , ARRAY_A ) );
 
 
 
 
 
 
 
 
 
 
378
  }
379
 
380
- $results = $wpdb->get_results( $wpdb->prepare( $sql , $args ) );
381
 
382
  $counter = 0;
383
 
@@ -388,9 +694,27 @@ function tptn_pop_posts( $args ) {
388
 
389
  if ( $heading ) {
390
  if ( ! $daily ) {
391
- $output .= '<div id="tptn_related" class="tptn_posts ' . $widget_class . $shortcode_class . '">' . apply_filters( 'tptn_heading_title', $title );
 
 
 
 
 
 
 
 
 
392
  } else {
393
- $output .= '<div id="tptn_related_daily" class="tptn_posts_daily' . $shortcode_class . '">' . apply_filters( 'tptn_heading_title', $title_daily );
 
 
 
 
 
 
 
 
 
394
  }
395
  } else {
396
  if ( ! $daily ) {
@@ -401,12 +725,42 @@ function tptn_pop_posts( $args ) {
401
  }
402
 
403
  if ( $results ) {
 
 
 
 
 
 
 
 
404
  $output .= apply_filters( 'tptn_before_list', $before_list );
 
405
  foreach ( $results as $result ) {
406
  $sumcount = $result->sumCount;
407
- $result = get_post( apply_filters( 'tptn_post_id', $result->ID ) ); // Let's get the Post using the ID
408
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
409
  $categorys = get_the_category( apply_filters( 'tptn_post_cat_id', $result->ID ) ); //Fetch categories of the plugin
 
410
  $p_in_c = false; // Variable to check if post exists in a particular category
411
 
412
  foreach ( $categorys as $cat ) { // Loop to check if post exists in excluded category
@@ -414,20 +768,63 @@ function tptn_pop_posts( $args ) {
414
  if ( $p_in_c ) break; // End loop if post found in category
415
  }
416
 
417
- $title = tptn_max_formatted_content( get_the_title( $result->ID ), $title_length );
 
 
 
 
 
 
 
 
 
 
 
418
 
419
  if ( ! $p_in_c ) {
420
- $output .= apply_filters( 'tptn_before_list_item', $before_list_item, $result->ID );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
421
 
422
  if ( 'after' == $post_thumb_op ) {
423
- $output .= '<a href="' . get_permalink( $result->ID ) . '" rel="bookmark' . $rel_attribute . '" ' . $target_attribute . 'class="tptn_link">'; // Add beginning of link
424
- $output .= '<span class="tptn_title">' . $title . '</span>'; // Add title if post thumbnail is to be displayed after
425
  $output .= '</a>'; // Close the link
426
  }
 
427
  if ( 'inline' == $post_thumb_op || 'after' == $post_thumb_op || 'thumbs_only' == $post_thumb_op ) {
428
- $output .= '<a href="' . get_permalink( $result->ID ) . '" rel="bookmark' . $rel_attribute . '" ' . $target_attribute . 'class="tptn_link">'; // Add beginning of link
 
429
  $output .= tptn_get_the_post_thumbnail( array(
430
- 'postid' => $result->ID,
431
  'thumb_height' => $thumb_height,
432
  'thumb_width' => $thumb_width,
433
  'thumb_meta' => $thumb_meta,
@@ -440,58 +837,120 @@ function tptn_pop_posts( $args ) {
440
  'class' => "tptn_thumb",
441
  'filter' => "tptn_postimage",
442
  ) );
 
443
  $output .= '</a>'; // Close the link
444
  }
 
445
  if ( 'inline' == $post_thumb_op || 'text_only' == $post_thumb_op ) {
446
  $output .= '<span class="tptn_after_thumb">';
447
- $output .= '<a href="' . get_permalink( $result->ID ) . '" rel="bookmark' . $rel_attribute . '" ' . $target_attribute . 'class="tptn_link">'; // Add beginning of link
448
- $output .= '<span class="tptn_title">' . $title . '</span>'; // Add title when required by settings
449
  $output .= '</a>'; // Close the link
450
  }
 
451
  if ( $show_author ) {
452
  $author_info = get_userdata( $result->post_author );
453
  $author_name = ucwords( trim( stripslashes( $author_info->display_name ) ) );
454
  $author_link = get_author_posts_url( $author_info->ID );
455
 
456
- $output .= '<span class="tptn_author"> ' . __( ' by ', TPTN_LOCAL_NAME ).'<a href="' . $author_link . '">' . $author_name . '</a></span> ';
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
457
  }
 
458
  if ( $show_date ) {
459
  $output .= '<span class="tptn_date"> ' . mysql2date( get_option( 'date_format', 'd/m/y' ), $result->post_date ).'</span> ';
460
  }
 
461
  if ( $show_excerpt ) {
462
- $output .= '<span class="tptn_excerpt"> ' . tptn_excerpt( $result->ID, $excerpt_length ).'</span>';
 
 
 
 
463
  }
464
- if ( $disp_list_count ) $output .= ' <span class="tptn_list_count">(' . number_format_i18n( $sumcount ) . ')</span>';
465
 
466
  if ( 'inline' == $post_thumb_op || 'text_only' == $post_thumb_op ) {
467
  $output .= '</span>';
468
  }
469
 
470
- $output .= apply_filters( 'tptn_after_list_item', $after_list_item, $result->ID );
 
 
 
 
 
 
 
 
 
471
  $counter++;
472
  }
473
  if ( $counter == $limit/5 ) break; // End loop when related posts limit is reached
474
  }
475
  if ( $show_credit ) {
476
- $output .= apply_filters( 'tptn_before_list_item', $before_list_item, $result->ID );
477
- $output .= sprintf( 'Popular posts by <a href="http://ajaydsouza.com/wordpress/plugins/top-10/" rel="nofollow">Top 10 plugin</a>', TPTN_LOCAL_NAME );
478
- $output .= apply_filters( 'tptn_after_list_item', $after_list_item, $result->ID );
 
 
 
 
 
 
 
 
 
479
  }
 
 
 
 
 
 
 
 
480
  $output .= apply_filters( 'tptn_after_list', $after_list );
481
  } else {
482
  $output .= ( $blank_output ) ? '' : $blank_output_text;
483
  }
484
  $output .= '</div>';
485
 
486
- return apply_filters( 'tptn_pop_posts', $output );
 
 
 
 
 
 
 
487
  }
488
 
489
 
490
  /**
491
  * Function to echo popular posts.
492
  *
493
- * @access public
494
- * @return void
495
  */
496
  function tptn_show_pop_posts( $args = NULL ) {
497
  echo tptn_pop_posts( $args );
@@ -501,8 +960,7 @@ function tptn_show_pop_posts( $args = NULL ) {
501
  /**
502
  * Function to show daily popular posts.
503
  *
504
- * @access public
505
- * @return void
506
  */
507
  function tptn_show_daily_pop_posts() {
508
  global $tptn_url, $tptn_settings;
@@ -518,11 +976,10 @@ function tptn_show_daily_pop_posts() {
518
  /**
519
  * Function to add CSS to header.
520
  *
521
- * @access public
522
- * @return void
523
  */
524
  function tptn_header() {
525
- global $wpdb, $post, $single, $tptn_settings;
526
 
527
  $tptn_custom_CSS = stripslashes( $tptn_settings['custom_CSS'] );
528
 
@@ -531,223 +988,12 @@ function tptn_header() {
531
  echo '<style type="text/css">' . $tptn_custom_CSS . '</style>';
532
  }
533
  }
534
- add_action('wp_head','tptn_header');
535
-
536
-
537
- /**
538
- * Top 10 Widget.
539
- *
540
- * @extends WP_Widget
541
- */
542
- class Top_Ten_Widget extends WP_Widget {
543
-
544
- /**
545
- * Register widget with WordPress.
546
- */
547
- function __construct() {
548
- parent::__construct(
549
- 'widget_tptn_pop', // Base ID
550
- __( 'Popular Posts [Top 10]', TPTN_LOCAL_NAME ), // Name
551
- array( 'description' => __( 'Display popular posts', TPTN_LOCAL_NAME ), ) // Args
552
- );
553
- }
554
-
555
- /**
556
- * Back-end widget form.
557
- *
558
- * @see WP_Widget::form()
559
- *
560
- * @param array $instance Previously saved values from database.
561
- */
562
- function form( $instance ) {
563
- $title = isset( $instance['title'] ) ? esc_attr( $instance['title'] ) : '';
564
- $limit = isset( $instance['limit'] ) ? esc_attr( $instance['limit'] ) : '';
565
- $disp_list_count = isset( $instance['disp_list_count'] ) ? esc_attr( $instance['disp_list_count'] ) : '';
566
- $show_excerpt = isset( $instance['show_excerpt'] ) ? esc_attr( $instance['show_excerpt'] ) : '';
567
- $show_author = isset( $instance['show_author'] ) ? esc_attr( $instance['show_author'] ) : '';
568
- $show_date = isset( $instance['show_date'] ) ? esc_attr( $instance['show_date'] ) : '';
569
- $post_thumb_op = isset( $instance['post_thumb_op'] ) ? esc_attr( $instance['post_thumb_op'] ) : 'text_only';
570
- $thumb_height = isset( $instance['thumb_height'] ) ? esc_attr( $instance['thumb_height'] ) : '';
571
- $thumb_width = isset( $instance['thumb_width'] ) ? esc_attr( $instance['thumb_width'] ) : '';
572
- $daily = isset( $instance['daily'] ) ? esc_attr( $instance['daily'] ) : 'overall';
573
- $daily_range = isset( $instance['daily_range'] ) ? esc_attr( $instance['daily_range'] ) : '';
574
- ?>
575
- <p>
576
- <label for="<?php echo $this->get_field_id( 'title' ); ?>">
577
- <?php _e( 'Title', TPTN_LOCAL_NAME ); ?>: <input class="widefat" id="<?php echo $this->get_field_id( 'title' ); ?>" name="<?php echo $this->get_field_name( 'title' ); ?>" type="text" value="<?php echo esc_attr( $title ); ?>" />
578
- </label>
579
- </p>
580
- <p>
581
- <label for="<?php echo $this->get_field_id( 'limit' ); ?>">
582
- <?php _e( 'No. of posts', TPTN_LOCAL_NAME ); ?>: <input class="widefat" id="<?php echo $this->get_field_id( 'limit' ); ?>" name="<?php echo $this->get_field_name( 'limit' ); ?>" type="text" value="<?php echo esc_attr( $limit ); ?>" />
583
- </label>
584
- </p>
585
- <p>
586
- <select class="widefat" id="<?php echo $this->get_field_id( 'daily' ); ?>" name="<?php echo $this->get_field_name( 'daily' ); ?>">
587
- <option value="overall" <?php if ( 'overall' == $daily ) echo 'selected="selected"' ?>><?php _e( 'Overall', TPTN_LOCAL_NAME ); ?></option>
588
- <option value="daily" <?php if ( 'daily' == $daily ) echo 'selected="selected"' ?>><?php _e( 'Custom time period (Enter below)', TPTN_LOCAL_NAME ); ?></option>
589
- </select>
590
- </p>
591
- <p>
592
- <label for="<?php echo $this->get_field_id( 'daily_range' ); ?>">
593
- <?php _e( 'Range in number of days (applies only to custom option above)', TPTN_LOCAL_NAME ); ?>: <input class="widefat" id="<?php echo $this->get_field_id( 'daily_range' ); ?>" name="<?php echo $this->get_field_name( 'daily_range' ); ?>" type="text" value="<?php echo esc_attr( $daily_range ); ?>" />
594
- </label>
595
- </p>
596
- <p>
597
- <label for="<?php echo $this->get_field_id( 'disp_list_count' ); ?>">
598
- <input id="<?php echo $this->get_field_id( 'disp_list_count' ); ?>" name="<?php echo $this->get_field_name( 'disp_list_count' ); ?>" type="checkbox" <?php if ( $disp_list_count ) echo 'checked="checked"' ?> /> <?php _e( 'Show count?', TPTN_LOCAL_NAME ); ?>
599
- </label>
600
- </p>
601
- <p>
602
- <label for="<?php echo $this->get_field_id( 'show_excerpt' ); ?>">
603
- <input id="<?php echo $this->get_field_id( 'show_excerpt' ); ?>" name="<?php echo $this->get_field_name( 'show_excerpt' ); ?>" type="checkbox" <?php if ( $show_excerpt ) echo 'checked="checked"' ?> /> <?php _e( 'Show excerpt?', TPTN_LOCAL_NAME ); ?>
604
- </label>
605
- </p>
606
- <p>
607
- <label for="<?php echo $this->get_field_id( 'show_author' ); ?>">
608
- <input id="<?php echo $this->get_field_id( 'show_author' ); ?>" name="<?php echo $this->get_field_name( 'show_author' ); ?>" type="checkbox" <?php if ( $show_author ) echo 'checked="checked"' ?> /> <?php _e( 'Show author?', TPTN_LOCAL_NAME ); ?>
609
- </label>
610
- </p>
611
- <p>
612
- <label for="<?php echo $this->get_field_id( 'show_date' ); ?>">
613
- <input id="<?php echo $this->get_field_id( 'show_date' ); ?>" name="<?php echo $this->get_field_name( 'show_date' ); ?>" type="checkbox" <?php if ( $show_date ) echo 'checked="checked"' ?> /> <?php _e( 'Show date?', TPTN_LOCAL_NAME ); ?>
614
- </label>
615
- </p>
616
- <p>
617
- <?php _e( 'Thumbnail options', TPTN_LOCAL_NAME ); ?>: <br />
618
- <select class="widefat" id="<?php echo $this->get_field_id( 'post_thumb_op' ); ?>" name="<?php echo $this->get_field_name( 'post_thumb_op' ); ?>">
619
- <option value="inline" <?php if ( 'inline' == $post_thumb_op ) echo 'selected="selected"' ?>><?php _e( 'Thumbnails inline, before title',TPTN_LOCAL_NAME ); ?></option>
620
- <option value="after" <?php if ( 'after' == $post_thumb_op ) echo 'selected="selected"' ?>><?php _e( 'Thumbnails inline, after title',TPTN_LOCAL_NAME ); ?></option>
621
- <option value="thumbs_only" <?php if ( 'thumbs_only' == $post_thumb_op ) echo 'selected="selected"' ?>><?php _e( 'Only thumbnails, no text',TPTN_LOCAL_NAME ); ?></option>
622
- <option value="text_only" <?php if ( 'text_only' == $post_thumb_op ) echo 'selected="selected"' ?>><?php _e( 'No thumbnails, only text.',TPTN_LOCAL_NAME ); ?></option>
623
- </select>
624
- </p>
625
- <p>
626
- <label for="<?php echo $this->get_field_id( 'thumb_height' ); ?>">
627
- <?php _e( 'Thumbnail height', TPTN_LOCAL_NAME ); ?>: <input class="widefat" id="<?php echo $this->get_field_id( 'thumb_height' ); ?>" name="<?php echo $this->get_field_name( 'thumb_height' ); ?>" type="text" value="<?php echo esc_attr($thumb_height); ?>" />
628
- </label>
629
- </p>
630
- <p>
631
- <label for="<?php echo $this->get_field_id( 'thumb_width' ); ?>">
632
- <?php _e( 'Thumbnail width', TPTN_LOCAL_NAME ); ?>: <input class="widefat" id="<?php echo $this->get_field_id( 'thumb_width' ); ?>" name="<?php echo $this->get_field_name( 'thumb_width' ); ?>" type="text" value="<?php echo esc_attr( $thumb_width ); ?>" />
633
- </label>
634
- </p>
635
- <?php
636
- } //ending form creation
637
-
638
- /**
639
- * Sanitize widget form values as they are saved.
640
- *
641
- * @see WP_Widget::update()
642
- *
643
- * @param array $new_instance Values just sent to be saved.
644
- * @param array $old_instance Previously saved values from database.
645
- *
646
- * @return array Updated safe values to be saved.
647
- */
648
- function update( $new_instance, $old_instance ) {
649
- $instance = $old_instance;
650
- $instance['title'] = strip_tags( $new_instance['title'] );
651
- $instance['limit'] = $new_instance['limit'];
652
- $instance['daily'] = $new_instance['daily'];
653
- $instance['daily_range'] = strip_tags( $new_instance['daily_range'] );
654
- $instance['disp_list_count'] = isset($new_instance['disp_list_count']) ? true : false;
655
- $instance['show_excerpt'] = isset($new_instance['show_excerpt']) ? true : false;
656
- $instance['show_author'] = isset($new_instance['show_author']) ? true : false;
657
- $instance['show_date'] = isset($new_instance['show_date']) ? true : false;
658
- $instance['post_thumb_op'] = $new_instance['post_thumb_op'];
659
- $instance['thumb_height'] = $new_instance['thumb_height'];
660
- $instance['thumb_width'] = $new_instance['thumb_width'];
661
- return $instance;
662
- } //ending update
663
-
664
- /**
665
- * Front-end display of widget.
666
- *
667
- * @see WP_Widget::widget()
668
- *
669
- * @param array $args Widget arguments.
670
- * @param array $instance Saved values from database.
671
- */
672
- function widget( $args, $instance ) {
673
- global $wpdb, $tptn_url, $tptn_settings;
674
-
675
- extract( $args, EXTR_SKIP );
676
-
677
- $title = apply_filters( 'widget_title', empty( $instance['title'] ) ? strip_tags( $tptn_settings['title'] ) : $instance['title'] );
678
- $limit = $instance['limit'];
679
- if ( empty( $limit ) ) {
680
- $limit = $tptn_settings['limit'];
681
- }
682
-
683
- $daily_range = ( empty( $instance['daily_range'] ) ) ? $tptn_settings['daily_range'] : $instance['daily_range'];
684
-
685
- $daily = ( "daily" == $instance['daily'] ) ? true : false;
686
-
687
- $output = $before_widget;
688
- $output .= $before_title . $title . $after_title;
689
-
690
- if ( $daily ) {
691
- if ( $tptn_settings['d_use_js'] ) {
692
- $output .= '<script type="text/javascript" src="' . $tptn_url . '/top-10-daily.js.php?widget=1"></script>';
693
- } else {
694
- $output .= tptn_pop_posts( array(
695
- 'is_widget' => 1,
696
- 'heading' => 0,
697
- 'limit' => $limit,
698
- 'daily' => 1,
699
- 'daily_range' => $daily_range,
700
- 'show_excerpt' => $instance['show_excerpt'],
701
- 'show_author' => $instance['show_author'],
702
- 'show_date' => $instance['show_date'],
703
- 'post_thumb_op' => $instance['post_thumb_op'],
704
- 'thumb_height' => $instance['thumb_height'],
705
- 'thumb_width' => $instance['thumb_width'],
706
- 'disp_list_count' => $instance['disp_list_count'],
707
- ) );
708
- }
709
- } else {
710
- $output .= tptn_pop_posts( array(
711
- 'is_widget' => 1,
712
- 'heading' => 0,
713
- 'limit' => $limit,
714
- 'daily' => 0,
715
- 'daily_range' => $daily_range,
716
- 'show_excerpt' => $instance['show_excerpt'],
717
- 'show_author' => $instance['show_author'],
718
- 'show_date' => $instance['show_date'],
719
- 'post_thumb_op' => $instance['post_thumb_op'],
720
- 'thumb_height' => $instance['thumb_height'],
721
- 'thumb_width' => $instance['thumb_width'],
722
- 'disp_list_count' => $instance['disp_list_count'],
723
- ) );
724
- }
725
-
726
- $output .= $after_widget;
727
-
728
- echo $output;
729
-
730
- } //ending function widget
731
- }
732
-
733
-
734
- /**
735
- * Initialise the widget.
736
- *
737
- * @access public
738
- * @return void
739
- */
740
- function tptn_register_widget() {
741
- register_widget( 'Top_Ten_Widget' );
742
- }
743
- add_action( 'widgets_init', 'tptn_register_widget', 1 );
744
 
745
 
746
  /**
747
  * Enqueue styles.
748
  *
749
- * @access public
750
- * @return void
751
  */
752
  function tptn_heading_styles() {
753
  global $tptn_settings;
@@ -763,8 +1009,6 @@ add_action( 'wp_enqueue_scripts', 'tptn_heading_styles' );
763
  /**
764
  * Default Options.
765
  *
766
- * @access public
767
- * @return void
768
  */
769
  function tptn_default_options() {
770
  global $tptn_url;
@@ -774,6 +1018,8 @@ function tptn_default_options() {
774
  $blank_output_text = __( 'No top posts yet', TPTN_LOCAL_NAME );
775
  $thumb_default = $tptn_url . '/default.png';
776
 
 
 
777
  // get relevant post types
778
  $args = array (
779
  'public' => true,
@@ -782,7 +1028,14 @@ function tptn_default_options() {
782
  $post_types = http_build_query( get_post_types( $args ), '', '&' );
783
 
784
  $tptn_settings = array (
 
 
 
 
 
785
  'show_credit' => false, // Add link to plugin page of my blog in top posts list
 
 
786
  'add_to_content' => true, // Add post count to content (only on single posts)
787
  'count_on_pages' => true, // Add post count to pages
788
  'add_to_feed' => false, // Add post count to feed (full)
@@ -791,67 +1044,83 @@ function tptn_default_options() {
791
  'add_to_tag_archives' => false, // Add post count to tag archives
792
  'add_to_archives' => false, // Add post count to other archives
793
 
 
 
 
 
794
  'track_authors' => false, // Track Authors visits
795
  'track_admins' => true, // Track Admin visits
796
  'track_editors' => true, // Track Admin visits
797
  'pv_in_admin' => true, // Add an extra column on edit posts/pages to display page views?
798
  'show_count_non_admins' => true, // Show counts to non-admins
799
 
 
 
 
 
 
 
 
 
 
 
 
800
  'blank_output' => false, // Blank output? Default is "blank Output test"
801
  'blank_output_text' => $blank_output_text, // Blank output text
 
 
 
 
 
 
802
  'disp_list_count' => true, // Display count in popular lists?
803
- 'd_use_js' => false, // Use JavaScript for displaying daily posts
804
- 'dynamic_post_count' => true, // Use JavaScript for displaying the post count
805
- 'count_disp_form' => '(Visited %totalcount% time, %dailycount% visit today)', // Format to display the count
806
- 'count_disp_form_zero' => 'No visits yet', // What to display where there are no hits?
807
 
808
- 'title' => $title, // Title of Popular Posts
809
- 'title_daily' => $title_daily, // Title of Daily Popular
810
- 'limit' => '10', // How many posts to display?
811
- 'daily_range' => '1', // Daily Popular will contain posts of how many days?
812
 
 
 
 
 
 
813
  'before_list' => '<ul>', // Before the entire list
814
  'after_list' => '</ul>', // After the entire list
815
  'before_list_item' => '<li>', // Before each list item
816
  'after_list_item' => '</li>', // After each list item
817
 
 
818
  'post_thumb_op' => 'text_only', // Display only text in posts
819
- 'thumb_height' => '50', // Max height of thumbnails
820
- 'thumb_width' => '50', // Max width of thumbnails
 
 
821
  'thumb_html' => 'html', // Use HTML or CSS for width and height of the thumbnail?
 
 
 
 
822
  'thumb_meta' => 'post-image', // Meta field that is used to store the location of default thumbnail image
823
  'scan_images' => true, // Scan post for images
824
  'thumb_default' => $thumb_default, // Default thumbnail image
825
  'thumb_default_show' => true, // Show default thumb if none found (if false, don't show thumb at all)
826
- 'thumb_timthumb' => true, // Use timthumb
827
- 'thumb_timthumb_q' => '75', // Quality attribute for timthumb
828
-
829
- 'show_excerpt' => false, // Show description in list item
830
- 'excerpt_length' => '10', // Length of characters
831
- 'show_date' => false, // Show date in list item
832
- 'show_author' => false, // Show author in list item
833
- 'title_length' => '60', // Limit length of post title
834
-
835
- 'exclude_categories' => '', // Exclude these categories
836
- 'exclude_cat_slugs' => '', // Exclude these categories (slugs)
837
- 'exclude_post_ids' => '', // Comma separated list of page / post IDs that are to be excluded in the results
838
- 'exclude_on_post_ids' => '', // Comma separate list of page/post IDs to not display related posts on
839
 
 
840
  'custom_CSS' => '', // Custom CSS to style the output
841
  'include_default_style' => false, // Include default Top 10 style
842
 
843
- 'activate_daily' => true, // Activate the daily count
844
- 'activate_overall' => true, // activate overall count
845
- 'cache_fix' => false, // Temporary fix for W3 Total Cache
846
- 'post_types' => $post_types, // WordPress custom post types
847
- 'link_new_window' => false, // Open link in new window - Includes target="_blank" to links
848
- 'link_nofollow' => false, // Includes rel="nofollow" to links
849
-
850
  'cron_on' => false, // Run cron daily?
851
  'cron_hour' => '0', // Cron Hour
852
  'cron_min' => '0', // Cron Minute
853
  'cron_recurrence' => 'weekly', // Frequency of cron
854
  );
 
 
 
 
 
 
 
 
855
  return apply_filters( 'tptn_default_options', $tptn_settings );
856
  }
857
 
@@ -865,23 +1134,18 @@ function tptn_default_options() {
865
  function tptn_read_options() {
866
 
867
  // Upgrade table code
868
- global $tptn_db_version;
869
- $installed_ver = get_option( "tptn_db_version" );
870
-
871
- if ( $installed_ver != $tptn_db_version ) {
872
- tptn_activation_hook();
873
- }
874
 
875
  $tptn_settings_changed = false;
876
 
877
  $defaults = tptn_default_options();
878
 
879
- $tptn_settings = array_map( 'stripslashes', (array)get_option( 'ald_tptn_settings' ) );
880
  unset( $tptn_settings[0] ); // produced by the (array) casting when there's nothing in the DB
881
 
882
  foreach ( $defaults as $k=>$v ) {
883
  if ( ! isset( $tptn_settings[$k] ) ) {
884
- $tptn_settings[$k] = $v;
885
  $tptn_settings_changed = true;
886
  }
887
  }
@@ -889,84 +1153,172 @@ function tptn_read_options() {
889
  update_option('ald_tptn_settings', $tptn_settings);
890
  }
891
 
 
 
 
 
 
 
 
892
  return apply_filters( 'tptn_read_options', $tptn_settings );
893
  }
894
 
895
 
896
  /**
897
- * Create tables to store pageviews.
898
  *
899
- * @access public
900
- * @return void
 
 
 
 
901
  */
902
- function tptn_activation_hook() {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
903
  global $wpdb, $tptn_db_version;
904
 
905
- $table_name = $wpdb->prefix . "top_ten";
906
- $table_name_daily = $wpdb->prefix . "top_ten_daily";
 
 
907
 
908
  if ( $wpdb->get_var( "show tables like '$table_name'" ) != $table_name ) {
909
 
910
  $sql = "CREATE TABLE " . $table_name . " (
911
- postnumber int NOT NULL,
912
- cntaccess int NOT NULL,
913
- PRIMARY KEY (postnumber)
 
914
  );";
915
 
916
  require_once( ABSPATH . 'wp-admin/includes/upgrade.php' );
917
  dbDelta( $sql );
918
 
919
- add_option( "tptn_db_version", $tptn_db_version );
920
  }
921
 
922
- if($wpdb->get_var("show tables like '$table_name_daily'") != $table_name_daily) {
923
 
924
  $sql = "CREATE TABLE " . $table_name_daily . " (
925
- postnumber int NOT NULL,
926
- cntaccess int NOT NULL,
927
- dp_date date NOT NULL,
928
- PRIMARY KEY (postnumber, dp_date)
 
929
  );";
930
 
931
- require_once(ABSPATH . 'wp-admin/includes/upgrade.php');
932
- dbDelta($sql);
933
 
934
- add_option("tptn_db_version", $tptn_db_version);
935
  }
936
 
937
  // Upgrade table code
938
- $installed_ver = get_option( "tptn_db_version" );
939
 
940
- if( $installed_ver != $tptn_db_version ) {
941
 
942
- $sql = "ALTER TABLE " . $table_name . " DROP COLUMN accessedid ";
943
- $wpdb->query($sql);
944
- $sql = "ALTER IGNORE TABLE " . $table_name . " ADD PRIMARY KEY (postnumber) ";
945
- $wpdb->query($sql);
946
 
947
- $sql = "ALTER TABLE " . $table_name_daily . " DROP COLUMN accessedid ";
948
- $wpdb->query($sql);
949
- $sql = "ALTER IGNORE TABLE " . $table_name_daily . " ADD PRIMARY KEY (postnumber, dp_date) ";
950
- $wpdb->query($sql);
 
 
 
 
 
 
 
951
 
952
- update_option( "tptn_db_version", $tptn_db_version );
 
 
953
  }
954
 
955
  }
956
- register_activation_hook( __FILE__, 'tptn_activation_hook' );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
957
 
958
 
959
  /**
960
  * Function to call install function if needed.
961
  *
962
- * @access public
963
- * @return void
964
  */
965
  function tptn_update_db_check() {
966
- global $tptn_db_version;
967
 
968
- if (get_site_option('tptn_db_version') != $tptn_db_version) {
969
- tptn_activation_hook();
970
  }
971
  }
972
  add_action( 'plugins_loaded', 'tptn_update_db_check' );
@@ -975,15 +1327,16 @@ add_action( 'plugins_loaded', 'tptn_update_db_check' );
975
  /**
976
  * Function to delete all rows in the posts table.
977
  *
978
- * @access public
979
- * @param bool $daily (default: false)
980
- * @return void
981
  */
982
  function tptn_trunc_count( $daily = false ) {
983
  global $wpdb;
984
 
985
- $table_name = $wpdb->prefix . "top_ten";
986
- if ( $daily ) $table_name .= "_daily";
 
 
987
 
988
  $sql = "TRUNCATE TABLE $table_name";
989
  $wpdb->query( $sql );
@@ -991,44 +1344,46 @@ function tptn_trunc_count( $daily = false ) {
991
 
992
 
993
  /**
994
- * Filter function to resize post thumbnail. Filters out tp10_postimage.
 
 
995
  *
996
- * @access public
997
- * @param string $postimage
998
- * @param string|int $thumb_width
999
- * @param string|int $thumb_height
1000
- * @param string|int $thumb_timthumb
1001
- * @param strint|int $thumb_timthumb_q
1002
- * @return string Post image output
1003
  */
1004
- function tptn_scale_thumbs( $postimage, $thumb_width, $thumb_height, $thumb_timthumb, $thumb_timthumb_q, $post ) {
1005
- global $tptn_url;
1006
 
1007
- if ( $thumb_timthumb ) {
1008
- $new_pi = $tptn_url . '/timthumb/timthumb.php?src=' . urlencode( $postimage ) . '&amp;w=' . $thumb_width . '&amp;h=' . $thumb_height . '&amp;zc=1&amp;q=' . $thumb_timthumb_q;
1009
- } else {
1010
- $new_pi = $postimage;
 
 
 
 
 
 
 
 
1011
  }
1012
- return $new_pi;
1013
  }
1014
- add_filter( 'tptn_postimage', 'tptn_scale_thumbs', 10, 6 );
1015
 
1016
 
1017
  /**
1018
  * Function to get the post thumbnail.
1019
  *
1020
- * @access public
1021
- * @param array $args (default: array()) Query string of options related to thumbnails
1022
- * @return string
1023
  */
1024
  function tptn_get_the_post_thumbnail( $args = array() ) {
1025
 
1026
- global $tptn_url;
1027
 
1028
  $defaults = array(
1029
  'postid' => '',
1030
- 'thumb_height' => '50', // Max height of thumbnails
1031
- 'thumb_width' => '50', // Max width of thumbnails
1032
  'thumb_meta' => 'post-image', // Meta field that is used to store the location of default thumbnail image
1033
  'thumb_html' => 'html', // HTML / CSS for width and height attributes
1034
  'thumb_default' => '', // Default thumbnail image
@@ -1043,56 +1398,95 @@ function tptn_get_the_post_thumbnail( $args = array() ) {
1043
  // Parse incomming $args into an array and merge it with $defaults
1044
  $args = wp_parse_args( $args, $defaults );
1045
 
1046
- // OPTIONAL: Declare each item in $args as its own variable i.e. $type, $before.
1047
  extract( $args, EXTR_SKIP );
1048
 
1049
  $result = get_post( $postid );
1050
- $title = get_the_title( $postid );
1051
 
1052
  $output = '';
1053
- $thumb_html = ( 'css' == $thumb_html ) ? 'style="max-width:' . $thumb_width . 'px;max-height:' . $thumb_height . 'px;"' : 'width="' . $thumb_width . '" height="' .$thumb_height . '"';
1054
 
1055
- if ( function_exists( 'has_post_thumbnail' ) && ( ( '' != wp_get_attachment_image_src( get_post_thumbnail_id( $result->ID ) ) ) || ( false != wp_get_attachment_image_src( get_post_thumbnail_id( $result->ID ) ) ) ) ) {
1056
- $postimage = wp_get_attachment_image_src( get_post_thumbnail_id( $result->ID ) );
1057
-
1058
- if ( ( $postimage[1] < $thumb_width ) || ( $postimage[2] < $thumb_height ) ) {
1059
- $postimage = wp_get_attachment_image_src( get_post_thumbnail_id( $result->ID ) , 'full' );
1060
- }
1061
- $postimage = apply_filters( $filter, $postimage[0], $thumb_width, $thumb_height, $thumb_timthumb, $thumb_timthumb_q, $result );
1062
- $output .= '<img src="' . $postimage . '" alt="' . $title . '" title="' . $title . '" ' . $thumb_html . ' border="0" class="' . $class . '" />';
1063
- } else {
1064
  $postimage = get_post_meta( $result->ID, $thumb_meta, true ); // Check the post meta first
1065
- if ( ! $postimage && $scan_images ) {
1066
- preg_match_all( '/<img.+src=[\'"]([^\'"]+)[\'"].*>/i', $result->post_content, $matches );
1067
- if ( isset( $matches[1][0] ) && $matches[1][0] ) { // any image there?
1068
- $postimage = $matches[1][0]; // we need the first one only!
1069
- }
1070
- }
1071
- if ( ! $postimage ) {
1072
- $postimage = tptn_get_first_image( $result->ID ); // Get the first image
1073
- }
1074
- if ( ! $postimage ) {
1075
- $postimage = get_post_meta( $result->ID, '_video_thumbnail', true ); // If no other thumbnail set, try to get the custom video thumbnail set by the Video Thumbnails plugin
1076
  }
1077
- if ( $thumb_default_show && ! $postimage ) {
1078
- $postimage = $thumb_default; // If no thumb found and settings permit, use default thumb
 
 
 
 
 
 
1079
  }
1080
- if ( $postimage ) {
1081
- $postimage = apply_filters( $filter, $postimage, $thumb_width, $thumb_height, $thumb_timthumb, $thumb_timthumb_q, $result );
1082
- $output .= '<img src="'.$postimage.'" alt="'.$title.'" title="'.$title.'" '.$thumb_html.' border="0" class="'.$class.'" />';
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1083
  }
 
 
 
 
 
1084
  }
1085
 
1086
- return apply_filters( 'tptn_get_the_post_thumbnail', $output );
 
 
 
 
 
 
 
 
1087
  }
1088
 
1089
 
1090
  /**
1091
  * Get the first image in the post.
1092
  *
1093
- * @access public
1094
- * @param mixed $postID Post ID
1095
- * @return string
1096
  */
1097
  function tptn_get_first_image( $postID ) {
1098
  $args = array(
@@ -1110,6 +1504,14 @@ function tptn_get_first_image( $postID ) {
1110
  foreach ( $attachments as $attachment ) {
1111
  $image_attributes = wp_get_attachment_image_src( $attachment->ID, 'thumbnail' ) ? wp_get_attachment_image_src( $attachment->ID, 'thumbnail' ) : wp_get_attachment_image_src( $attachment->ID, 'full' );
1112
 
 
 
 
 
 
 
 
 
1113
  return apply_filters( 'tptn_get_first_image', $image_attributes[0] );
1114
  }
1115
  } else {
@@ -1121,16 +1523,18 @@ function tptn_get_first_image( $postID ) {
1121
  /**
1122
  * Function to create an excerpt for the post.
1123
  *
1124
- * @access public
1125
- * @param int $id Post ID
1126
- * @param int|string $excerpt_length Length of the excerpt in words
1127
- * @return string Excerpt
1128
  */
1129
  function tptn_excerpt( $id, $excerpt_length = 0, $use_excerpt = true ) {
1130
  $content = $excerpt = '';
 
1131
  if ( $use_excerpt ) {
1132
  $content = get_post( $id )->post_excerpt;
1133
  }
 
1134
  if ( '' == $content ) {
1135
  $content = get_post( $id )->post_content;
1136
  }
@@ -1141,6 +1545,16 @@ function tptn_excerpt( $id, $excerpt_length = 0, $use_excerpt = true ) {
1141
  $output = wp_trim_words( $output, $excerpt_length );
1142
  }
1143
 
 
 
 
 
 
 
 
 
 
 
1144
  return apply_filters( 'tptn_excerpt', $output, $id, $excerpt_length, $use_excerpt );
1145
  }
1146
 
@@ -1148,47 +1562,54 @@ function tptn_excerpt( $id, $excerpt_length = 0, $use_excerpt = true ) {
1148
  /**
1149
  * Function to limit content by characters.
1150
  *
1151
- * @access public
1152
- * @param string $content Content to be used to make an excerpt
1153
- * @param int $MaxLength (default: -1) Maximum length of excerpt in characters
1154
- * @return string Formatted content
1155
  */
1156
- function tptn_max_formatted_content( $content, $MaxLength = -1 ) {
1157
  $content = strip_tags( $content ); // Remove CRLFs, leaving space in their wake
1158
 
1159
- if ( ( $MaxLength > 0 ) && ( strlen( $content ) > $MaxLength ) ) {
1160
- $aWords = preg_split( "/[\s]+/", substr( $content, 0, $MaxLength ) );
1161
 
1162
  // Break back down into a string of words, but drop the last one if it's chopped off
1163
- if ( substr( $content, $MaxLength, 1 ) == " " ) {
1164
- $content = implode( " ", $aWords ) . '&hellip;';
1165
  } else {
1166
- $content = implode( " ", array_slice( $aWords, 0, -1 ) ) . '&hellip;';
1167
  }
1168
  }
1169
 
1170
- return apply_filters( 'tptn_max_formatted_content', $content );
 
 
 
 
 
 
 
 
1171
  }
1172
 
1173
 
1174
  /**
1175
  * Function to truncate daily run.
1176
  *
1177
- * @access public
1178
- * @return void
1179
  */
1180
  function ald_tptn_cron() {
1181
  global $tptn_settings, $wpdb;
1182
 
1183
- $table_name_daily = $wpdb->prefix . "top_ten_daily";
1184
 
1185
- $current_time = gmdate( 'Y-m-d', ( time() + ( get_option( 'gmt_offset' ) * 3600 ) ) );
1186
- $current_date = strtotime ( '-90 DAY' , strtotime ( $current_time ) );
1187
- $current_date = date ( 'Y-m-j' , $current_date );
1188
 
1189
  $resultscount = $wpdb->query( $wpdb->prepare(
1190
  "DELETE FROM {$table_name_daily} WHERE dp_date <= '%s' ",
1191
- $current_date
1192
  ) );
1193
 
1194
  }
@@ -1198,21 +1619,18 @@ add_action( 'ald_tptn_hook', 'ald_tptn_cron' );
1198
  /**
1199
  * Function to enable run or actions.
1200
  *
1201
- * @access public
1202
- * @param int $hour
1203
- * @param int $min
1204
- * @param int $recurrence
1205
- * @return void
1206
  */
1207
  function tptn_enable_run( $hour, $min, $recurrence ) {
1208
- if ( function_exists( 'wp_schedule_event' ) ) {
1209
- // Invoke WordPress internal cron
1210
- if ( ! wp_next_scheduled( 'ald_tptn_hook' ) ) {
1211
- wp_schedule_event( mktime( $hour, $min, 0 ), $recurrence, 'ald_tptn_hook' );
1212
- } else {
1213
- wp_clear_scheduled_hook( 'ald_tptn_hook' );
1214
- wp_schedule_event( mktime( $hour, $min, 0 ), $recurrence, 'ald_tptn_hook' );
1215
- }
1216
  }
1217
  }
1218
 
@@ -1220,38 +1638,41 @@ function tptn_enable_run( $hour, $min, $recurrence ) {
1220
  /**
1221
  * Function to disable daily run or actions.
1222
  *
1223
- * @access public
1224
- * @return void
1225
  */
1226
  function tptn_disable_run() {
1227
- if ( function_exists( 'wp_schedule_event' ) ) {
1228
- if ( wp_next_scheduled( 'ald_tptn_hook' ) ) {
1229
- wp_clear_scheduled_hook( 'ald_tptn_hook' );
1230
- }
1231
  }
1232
  }
1233
 
 
1234
  if ( ! function_exists( 'ald_more_reccurences' ) ) :
 
1235
  /**
1236
- * Function to add weekly and fortnightly recurrences - Sample Code courtesy http://blog.slaven.net.au/archives/2007/02/01/timing-is-everything-scheduling-in-wordpress/.
1237
  *
1238
- * @access public
1239
- * @return void
1240
  */
1241
  function ald_more_reccurences( $schedules ) {
1242
  // add a 'weekly' interval
1243
  $schedules['weekly'] = array(
1244
- 'interval' => 604800,
1245
  'display' => __( 'Once Weekly', TPTN_LOCAL_NAME )
1246
  );
1247
  $schedules['fortnightly'] = array(
1248
- 'interval' => 1209600,
1249
  'display' => __( 'Once Fortnightly', TPTN_LOCAL_NAME )
1250
  );
1251
  $schedules['monthly'] = array(
1252
- 'interval' => 2635200,
1253
  'display' => __( 'Once Monthly', TPTN_LOCAL_NAME )
1254
  );
 
 
 
 
1255
  return $schedules;
1256
  }
1257
  add_filter( 'cron_schedules', 'ald_more_reccurences' );
@@ -1262,10 +1683,10 @@ endif;
1262
  /**
1263
  * Creates a shortcode [tptn_list limit="5" heading="1" daily="0"].
1264
  *
1265
- * @access public
1266
- * @param array $atts
1267
- * @param string $content (default: null)
1268
- * @return string Formatted list of posts generated by tptn_pop_posts
1269
  */
1270
  function tptn_shortcode( $atts, $content = null ) {
1271
  global $tptn_settings;
@@ -1287,10 +1708,10 @@ add_shortcode( 'tptn_list', 'tptn_shortcode' );
1287
  /**
1288
  * Creates a shortcode [tptn_views daily="0"].
1289
  *
1290
- * @access public
1291
- * @param array $atts
1292
- * @param string $content (default: null)
1293
- * @return void
1294
  */
1295
  function tptn_shortcode_views( $atts , $content=null ) {
1296
  extract( shortcode_atts( array(
@@ -1302,61 +1723,92 @@ function tptn_shortcode_views( $atts , $content=null ) {
1302
  add_shortcode( 'tptn_views', 'tptn_shortcode_views' );
1303
 
1304
 
1305
- /*********************************************************************
1306
- * Admin interface *
1307
- ********************************************************************/
1308
- // This function adds an Options page in WP Admin
1309
- if ( is_admin() || strstr( $_SERVER['PHP_SELF'], 'wp-admin/' ) ) {
1310
- require_once( ALD_TPTN_DIR . "/admin.inc.php" );
1311
 
1312
- /**
1313
- * Adding WordPress plugin action links.
1314
- *
1315
- * @access public
1316
- * @param mixed $links
1317
- * @return void
1318
- */
1319
- function tptn_plugin_actions_links( $links ) {
 
1320
 
1321
- return array_merge(
1322
- array(
1323
- 'settings' => '<a href="' . admin_url( 'options-general.php?page=tptn_options' ) . '">' . __( 'Settings', TPTN_LOCAL_NAME ) . '</a>'
1324
- ),
1325
- $links
1326
- );
1327
 
1328
- }
1329
- add_filter( 'plugin_action_links_' . plugin_basename( __FILE__ ), 'tptn_plugin_actions_links' );
1330
 
 
 
 
 
1331
 
1332
- /**
1333
- * Add meta links.
1334
- *
1335
- * @access public
1336
- * @param mixed $links
1337
- * @param mixed $file
1338
- * @return void
1339
- */
1340
- function tptn_plugin_actions( $links, $file ) {
1341
- $plugin = plugin_basename( __FILE__ );
1342
 
1343
- // create link
1344
- if ( $file == $plugin ) {
1345
- $links[] = '<a href="http://ajaydsouza.com/support/">' . __( 'Support', TPTN_LOCAL_NAME ) . '</a>';
1346
- $links[] = '<a href="http://ajaydsouza.com/donate/">' . __( 'Donate', TPTN_LOCAL_NAME ) . '</a>';
 
 
 
 
1347
  }
1348
- return $links;
1349
  }
1350
 
1351
- global $wp_version;
 
 
 
 
 
 
 
 
 
 
 
 
 
1352
 
1353
- if ( version_compare( $wp_version, '2.8alpha', '>' ) ) {
1354
- add_filter( 'plugin_row_meta', 'tptn_plugin_actions', 10, 2 ); // only 2.8 and higher
1355
- } else {
1356
- add_filter( 'plugin_action_links', 'tptn_plugin_actions', 10, 2 );
1357
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1358
 
1359
  } // End admin.inc
1360
 
 
 
 
 
 
1361
 
1362
  ?>
1
  <?php
2
+ /**
3
+ * Top 10.
4
+ *
5
+ * Count daily and total visits per post and display the most popular posts based on the number of views.
6
+ *
7
+ * @package Top_Ten
8
+ * @author Ajay D'Souza <me@ajaydsouza.com>
9
+ * @license GPL-2.0+
10
+ * @link http://ajaydsouza.com
11
+ * @copyright 2008-2014 Ajay D'Souza
12
+ *
13
+ * @wordpress-plugin
14
+ * Plugin Name: Top 10
15
+ * Plugin URI: http://ajaydsouza.com/wordpress/plugins/top-10/
16
+ * Description: Count daily and total visits per post and display the most popular posts based on the number of views
17
+ * Version: 2.0.0
18
+ * Author: Ajay D'Souza
19
+ * Author URI: http://ajaydsouza.com
20
+ * Text Domain: tptn
21
+ * License: GPL-2.0+
22
+ * License URI: http://www.gnu.org/licenses/gpl-2.0.txt
23
+ * Domain Path: /languages
24
+ * GitHub Plugin URI: https://github.com/ajaydsouza/top-10/
25
+ */
26
+
27
+ // If this file is called directly, abort.
28
+ if ( ! defined( 'WPINC' ) ) {
29
+ die;
30
+ }
31
+
32
+
33
+ /**
34
+ * Holds the text domain.
35
+ *
36
+ * @since 1.4
37
+ */
38
  define( 'TPTN_LOCAL_NAME', 'tptn' );
39
 
40
+
41
+ /**
42
+ * Holds the filesystem directory path.
43
+ *
44
+ * @since 1.0
45
+ */
46
+ define( 'ALD_TPTN_DIR', dirname( __FILE__ ) );
47
+
48
+
49
+ /**
50
+ * Holds the filesystem directory path (with trailing slash) for Top 10
51
+ *
52
+ * @since 1.5
53
+ *
54
+ * @var string
55
+ */
56
  $tptn_path = plugin_dir_path( __FILE__ );
57
+
58
+
59
+ /**
60
+ * Holds the URL for Top 10
61
+ *
62
+ * @since 1.5
63
+ *
64
+ * @var string
65
+ */
66
  $tptn_url = plugins_url() . '/' . plugin_basename( dirname( __FILE__ ) );
67
 
68
+
69
+ /**
70
+ * Global variable holding the current database version of Top 10
71
+ *
72
+ * @since 1.0
73
+ *
74
+ * @var string
75
+ */
76
  global $tptn_db_version;
77
+ $tptn_db_version = "4.0";
78
+
79
 
80
+ /**
81
+ * Global variable holding the current settings for Top 10
82
+ *
83
+ * @since 1.9.3
84
+ *
85
+ * @var array
86
+ */
87
  global $tptn_settings;
88
  $tptn_settings = tptn_read_options();
89
 
91
  /**
92
  * Function to load translation files.
93
  *
94
+ * @since 1.9.10.1
 
95
  */
96
  function tptn_lang_init() {
97
  load_plugin_textdomain( TPTN_LOCAL_NAME, false, dirname( plugin_basename( __FILE__ ) ) . '/languages/' );
100
 
101
 
102
  /**
103
+ * Function to update the post views for the current post. Filters `the_content`.
104
  *
105
+ * @since 1.0
106
+ *
107
+ * @param string $content Post content
108
+ * @return string Filtered content
109
  */
110
  function tptn_add_viewed_count( $content ) {
111
+ global $post, $wpdb, $single, $tptn_url, $tptn_path, $tptn_settings;
 
112
 
113
+ $table_name = $wpdb->base_prefix . "top_ten";
114
 
115
+ $home_url = home_url( '/' );
116
 
117
+ /**
118
+ * Filter the script URL of the counter.
119
+ *
120
+ * Create a filter function to overwrite the script URL to use the external top-10-counter.js.php
121
+ * You can use $tptn_url . '/top-10-addcount.js.php' as a source
122
+ * $tptn_url is a global variable
123
+ *
124
+ * @since 2.0
125
+ */
126
+ $home_url = apply_filters( 'tptn_add_counter_script_url', $home_url );
127
+
128
+ if ( is_singular() ) {
129
+
130
+ $current_user = wp_get_current_user(); // Let's get the current user
131
  $post_author = ( $current_user->ID == $post->post_author ) ? true : false; // Is the current user the post author?
132
  $current_user_admin = ( current_user_can( 'manage_options' ) ) ? true : false; // Is the current user an admin?
133
+ $current_user_editor = ( ( current_user_can( 'edit_others_posts' ) ) && ( ! current_user_can( 'manage_options' ) ) ) ? true : false; // Is the current user an editor?
134
 
135
  $include_code = true;
136
+ if ( ( $post_author ) && ( ! $tptn_settings['track_authors'] ) ) {
137
+ $include_code = false;
138
+ }
139
+ if ( ( $current_user_admin ) && ( ! $tptn_settings['track_admins'] ) ) {
140
+ $include_code = false;
141
+ }
142
+ if ( ( $current_user_editor ) && ( ! $tptn_settings['track_editors'] ) ) {
143
+ $include_code = false;
144
+ }
145
 
146
  if ( $include_code ) {
147
+
148
  $output = '';
149
  $id = intval( $post->ID );
150
+ $blog_id = get_current_blog_id();
151
+ $activate_counter = $tptn_settings['activate_overall'] ? 1 : 0; // It's 1 if we're updating the overall count
152
+ $activate_counter = $activate_counter + ( $tptn_settings['activate_daily'] ? 10 : 0 ); // It's 10 if we're updating the daily count
153
+
154
  if ( $activate_counter > 0 ) {
155
  if ( $tptn_settings['cache_fix'] ) {
156
+ $output = '<script type="text/javascript">jQuery.ajax({url: "' . $home_url . '", data: {top_ten_id: ' . $id . ', top_ten_blog_id: ' . $blog_id . ', activate_counter: ' . $activate_counter . ', top10_rnd: (new Date()).getTime() + "-" + Math.floor(Math.random()*100000)}});</script>';
157
  } else {
158
+ $output = '<script type="text/javascript" async src="' . $home_url . '?top_ten_id=' . $id . '&amp;top_ten_blog_id=' . $blog_id . '&amp;activate_counter=' . $activate_counter . '"></script>';
159
  }
160
  }
161
+
162
+ /**
163
+ * Filter the counter script
164
+ *
165
+ * @since 1.9.8.5
166
+ *
167
+ * @param string $output Counter script code
168
+ */
169
  $output = apply_filters( 'tptn_viewed_count', $output );
170
+
171
  return $content.$output;
172
  } else {
173
  return $content;
182
  /**
183
  * Enqueue Scripts.
184
  *
185
+ * @since 1.9.7
186
+ *
187
  */
188
  function tptn_enqueue_scripts() {
189
+ global $tptn_settings;
190
 
191
+ if ( $tptn_settings['cache_fix'] ) {
192
+ wp_enqueue_script( 'jquery' );
193
+ }
194
  }
195
  add_action( 'wp_enqueue_scripts', 'tptn_enqueue_scripts' ); // wp_enqueue_scripts action hook to link only on the front-end
196
 
197
 
198
  /**
199
+ * Function to add additional queries to query_vars.
200
  *
201
+ * @since 2.0.0
202
+ *
203
+ * @param array $vars Query variables array
204
+ * @return array $Query variables array with Top 10 parameters appended
205
+ */
206
+ function tptn_query_vars( $vars ) {
207
+ //add these to the list of queryvars that WP gathers
208
+ $vars[] = 'top_ten_id';
209
+ $vars[] = 'top_ten_blog_id';
210
+ $vars[] = 'activate_counter';
211
+ $vars[] = 'view_counter';
212
+ return $vars;
213
+ }
214
+ add_filter( 'query_vars', 'tptn_query_vars' );
215
+
216
+
217
+ /**
218
+ * Function to update the .
219
+ *
220
+ * @since 2.0.0
221
+ *
222
+ * @param object $wp WordPress object
223
+ */
224
+ function tptn_parse_request( $wp ) {
225
+ global $wpdb, $tptn_settings;
226
+
227
+ $table_name = $wpdb->base_prefix . "top_ten";
228
+ $top_ten_daily = $wpdb->base_prefix . "top_ten_daily";
229
+ $str = '';
230
+
231
+ if ( array_key_exists( 'top_ten_id', $wp->query_vars ) && array_key_exists( 'activate_counter', $wp->query_vars ) && $wp->query_vars['top_ten_id'] != '' ) {
232
+
233
+ $id = intval( $wp->query_vars['top_ten_id'] );
234
+ $blog_id = intval( $wp->query_vars['top_ten_blog_id'] );
235
+ $activate_counter = intval( $wp->query_vars['activate_counter'] );
236
+
237
+ if ( $id > 0 ) {
238
+
239
+ if ( ( 1 == $activate_counter ) || ( 11 == $activate_counter ) ) {
240
+
241
+ $tt = $wpdb->query( $wpdb->prepare( "INSERT INTO {$table_name} (postnumber, cntaccess, blog_id) VALUES('%d', '1', '%d') ON DUPLICATE KEY UPDATE cntaccess= cntaccess+1 ", $id, $blog_id ) );
242
+
243
+ $str .= ( FALSE === $tt ) ? 'tte' : 'tt' . $tt;
244
+ }
245
+
246
+ if ( ( 10 == $activate_counter ) || ( 11 == $activate_counter ) ) {
247
+
248
+ $current_date = gmdate( 'Y-m-d H', current_time( 'timestamp', 1 ) );
249
+
250
+ $ttd = $wpdb->query( $wpdb->prepare( "INSERT INTO {$top_ten_daily} (postnumber, cntaccess, dp_date, blog_id) VALUES('%d', '1', '%s', '%d' ) ON DUPLICATE KEY UPDATE cntaccess= cntaccess+1 ", $id, $current_date, $blog_id ) );
251
+
252
+ $str .= ( FALSE === $ttd ) ? ' ttde' : ' ttd' . $ttd;
253
+ }
254
+ }
255
+ Header( "content-type: application/x-javascript" );
256
+ echo '<!-- ' . $str . ' -->';
257
+
258
+ //stop anything else from loading as it is not needed.
259
+ exit;
260
+
261
+ } elseif ( array_key_exists( 'top_ten_id', $wp->query_vars ) && array_key_exists( 'view_counter', $wp->query_vars ) && $wp->query_vars['top_ten_id'] != '' ) {
262
+
263
+ $id = intval( $wp->query_vars['top_ten_id'] );
264
+
265
+ if ( $id > 0 ) {
266
+
267
+ $output = get_tptn_post_count( $id );
268
+
269
+ Header( "content-type: application/x-javascript" );
270
+ echo 'document.write("' . $output . '")';
271
+
272
+ //stop anything else from loading as it is not needed.
273
+ exit;
274
+ }
275
+
276
+ } else {
277
+ return;
278
+ }
279
+ }
280
+ add_action( 'wp', 'tptn_parse_request' );
281
+
282
+
283
+ /**
284
+ * Function to add the viewed count to the post content. Filters `the_content`.
285
+ *
286
+ * @since 1.0
287
+ * @param string $content Post content
288
+ * @return string Filtered post content
289
  */
290
  function tptn_pc_content( $content ) {
291
  global $single, $post, $tptn_settings;
297
  }
298
 
299
  if ( ( is_single() ) && ( $tptn_settings['add_to_content'] ) ) {
300
+ return $content . echo_tptn_post_count( 0 );
301
  } elseif ( ( is_page() ) && ( $tptn_settings['count_on_pages'] ) ) {
302
+ return $content . echo_tptn_post_count( 0 );
303
  } elseif ( ( is_home() ) && ( $tptn_settings['add_to_home'] ) ) {
304
+ return $content . echo_tptn_post_count( 0 );
305
  } elseif ( ( is_category() ) && ( $tptn_settings['add_to_category_archives'] ) ) {
306
+ return $content . echo_tptn_post_count( 0 );
307
  } elseif ( ( is_tag() ) && ( $tptn_settings['add_to_tag_archives'] ) ) {
308
+ return $content . echo_tptn_post_count( 0 );
309
  } elseif ( ( ( is_tax() ) || ( is_author() ) || ( is_date() ) ) && ( $tptn_settings['add_to_archives'] ) ) {
310
+ return $content . echo_tptn_post_count( 0 );
311
  } else {
312
  return $content;
313
  }
318
  /**
319
  * Filter to add related posts to feeds.
320
  *
321
+ * @since 1.9.8
322
+ *
323
+ * @param string $content Post content
324
+ * @return string Filtered post content
325
  */
326
  function ald_tptn_rss( $content ) {
327
  global $post, $tptn_settings;
329
  $id = intval( $post->ID );
330
 
331
  if ( $tptn_settings['add_to_feed'] ) {
332
+ return $content . '<div class="tptn_counter" id="tptn_counter_' . $id . '">' . get_tptn_post_count( $id ) . '</div>';
333
  } else {
334
  return $content;
335
  }
341
  /**
342
  * Function to manually display count.
343
  *
344
+ * @since 1.0
345
+ * @param int|boolean $echo Flag to echo the output?
346
+ * @return string Formatted string if $echo is set to 0|false
347
  */
348
  function echo_tptn_post_count( $echo = 1 ) {
349
  global $post, $tptn_url, $tptn_path, $tptn_settings;
350
 
351
+ $home_url = home_url( '/' );
352
+
353
+ /**
354
+ * Filter the script URL of the counter.
355
+ *
356
+ * Create a filter function to overwrite the script URL to use the external top-10-counter.js.php
357
+ * You can use $tptn_url . '/top-10-counter.js.php' as a source
358
+ * $tptn_url is a global variable
359
+ *
360
+ * @since 2.0
361
+ */
362
+ $home_url = apply_filters( 'tptn_view_counter_script_url', $home_url );
363
+
364
  $id = intval( $post->ID );
365
 
366
  $nonce_action = 'tptn-nonce-' . $id ;
367
  $nonce = wp_create_nonce( $nonce_action );
368
 
369
  if ( $tptn_settings['dynamic_post_count'] ) {
370
+ $output = '<div class="tptn_counter" id="tptn_counter_' . $id . '"><script type="text/javascript" data-cfasync="false" src="' . $home_url . '?top_ten_id='.$id.'&amp;view_counter=1&amp;_wpnonce=' . $nonce . '"></script></div>';
371
  } else {
372
  $output = '<div class="tptn_counter" id="tptn_counter_' . $id . '">' . get_tptn_post_count( $id ) . '</div>';
373
  }
374
 
375
+ /**
376
+ * Filter the viewed count script
377
+ *
378
+ * @since 2.0.0
379
+ *
380
+ * @param string $output Counter viewed count code
381
+ */
382
+ $output = apply_filters( 'tptn_view_post_count', $output );
383
+
384
  if ( $echo ) {
385
  echo $output;
386
  } else {
392
  /**
393
  * Return the formatted post count for the supplied ID.
394
  *
395
+ * @since 1.9.2
396
+ * @param int|string $id Post ID
397
+ * @param int|string $blog_id Blog ID
398
+ * @return int|string Formatted post count
399
  */
400
+ function get_tptn_post_count( $id = FALSE, $blog_id = FALSE ) {
401
  global $wpdb, $tptn_settings;
402
 
403
+ $table_name = $wpdb->base_prefix . "top_ten";
404
+ $table_name_daily = $wpdb->base_prefix . "top_ten_daily";
405
 
406
  $count_disp_form = stripslashes( $tptn_settings['count_disp_form'] );
407
  $count_disp_form_zero = stripslashes( $tptn_settings['count_disp_form_zero'] );
408
+ $totalcntaccess = get_tptn_post_count_only( $id, 'total', $blog_id );
409
 
410
  if ( $id > 0 ) {
411
 
452
  /**
453
  * Returns the post count.
454
  *
455
+ * @since 1.9.8.5
456
+ *
457
+ * @param mixed $id Post ID
458
+ * @param string $count Which count to return? total, daily or overall
459
+ * @return int Post count
460
  */
461
+ function get_tptn_post_count_only( $id = FALSE, $count = 'total', $blog_id = FALSE ) {
462
+ global $wpdb, $tptn_settings;
463
 
464
+ $table_name = $wpdb->base_prefix . "top_ten";
465
+ $table_name_daily = $wpdb->base_prefix . "top_ten_daily";
466
+
467
+ if ( empty( $blog_id ) ) {
468
+ $blog_id = get_current_blog_id();
469
+ }
470
 
471
+ if ( $id > 0 ) {
472
+ switch ( $count ) {
473
  case 'total':
474
+ $resultscount = $wpdb->get_row( $wpdb->prepare( "SELECT postnumber, cntaccess FROM {$table_name} WHERE postnumber = %d AND blog_id = %d " , $id, $blog_id ) );
475
+ $cntaccess = number_format_i18n( ( ( $resultscount ) ? $resultscount->cntaccess : 0 ) );
476
  break;
477
  case 'daily':
478
+ $daily_range = $tptn_settings['daily_range'];
479
+ $hour_range = $tptn_settings['hour_range'];
 
 
480
 
481
+ $current_time = current_time( 'timestamp', 1 );
482
+ $from_date = $current_time - ( $daily_range * DAY_IN_SECONDS + $hour_range * HOUR_IN_SECONDS );
483
+ $from_date = gmdate( 'Y-m-d H' , $from_date );
484
+
485
+ $resultscount = $wpdb->get_row( $wpdb->prepare( "SELECT postnumber, SUM(cntaccess) as sumCount FROM {$table_name_daily} WHERE postnumber = %d AND blog_id = %d AND dp_date >= '%s' GROUP BY postnumber ", array( $id, $blog_id, $from_date ) ) );
486
+ $cntaccess = number_format_i18n( ( ( $resultscount ) ? $resultscount->sumCount : 0 ) );
487
  break;
488
  case 'overall':
489
+ $resultscount = $wpdb->get_row( "SELECT SUM(cntaccess) as sumCount FROM " . $table_name );
490
+ $cntaccess = number_format_i18n( ( ( $resultscount ) ? $resultscount->sumCount : 0 ) );
491
  break;
492
  }
493
  return apply_filters( 'tptn_post_count_only', $cntaccess );
496
  }
497
  }
498
 
499
+
500
  /**
501
  * Function to return popular posts.
502
  *
503
+ * @since 1.5
504
+ *
505
+ * @param mixed $args Arguments array
506
+ * @return array|string Array of posts if posts_only = 0 or a formatted string if posts_only = 1
507
  */
508
  function tptn_pop_posts( $args ) {
509
+ global $wpdb, $id, $tptn_settings;
510
+
511
+ // Initialise some variables
512
+ $fields = '';
513
+ $where = '';
514
+ $join = '';
515
+ $groupby = '';
516
+ $orderby = '';
517
+ $limits = '';
518
+ $match_fields = '';
519
 
520
  $defaults = array(
521
  'is_widget' => FALSE,
526
  'is_shortcode' => FALSE,
527
  'heading' => 1,
528
  );
529
+
530
+ // Merge the $defaults array with the $tptn_settings array
531
  $defaults = array_merge( $defaults, $tptn_settings );
532
 
533
  // Parse incomming $args into an array and merge it with $defaults
534
  $args = wp_parse_args( $args, $defaults );
535
 
536
+ // Declare each item in $args as its own variable i.e. $type, $before.
537
  extract( $args, EXTR_SKIP );
538
 
539
+ $tptn_thumb_size = tptn_get_all_image_sizes( $thumb_size );
540
+
541
+ if ( isset( $tptn_thumb_size['width'] ) ) {
542
+ $thumb_width = $tptn_thumb_size['width'];
543
+ $thumb_height = $tptn_thumb_size['height'];
544
+ }
545
+
546
+ if ( empty( $thumb_width ) ) {
547
+ $thumb_width = $tptn_settings['thumb_width'];
548
+ }
549
+
550
+ if ( empty( $thumb_height ) ) {
551
+ $thumb_height = $tptn_settings['thumb_height'];
552
+ }
553
+
554
+ if ( $daily ) {
555
+ $table_name = $wpdb->base_prefix . "top_ten_daily";
556
  } else {
557
+ $table_name = $wpdb->base_prefix . "top_ten";
558
  }
559
 
560
  $limit = ( $strict_limit ) ? $limit : ( $limit * 5 );
562
  $exclude_categories = explode( ',', $exclude_categories );
563
 
564
  $target_attribute = ( $link_new_window ) ? ' target="_blank" ' : ' '; // Set Target attribute
565
+ $rel_attribute = ( $link_nofollow ) ? 'bookmark nofollow' : 'bookmark'; // Set nofollow attribute
566
 
567
  parse_str( $post_types, $post_types ); // Save post types in $post_types variable
568
 
569
+ if ( empty( $post_types ) ) {
570
+ $post_types = get_post_types( array(
571
+ 'public' => true,
572
+ ) );
573
+ }
574
+
575
+ $blog_id = get_current_blog_id();
576
+
577
+ $current_time = current_time( 'timestamp', 1 );
578
+ $from_date = $current_time - ( $daily_range * DAY_IN_SECONDS + $hour_range * HOUR_IN_SECONDS );
579
+ $from_date = gmdate( 'Y-m-d H' , $from_date );
580
+
581
+ /**
582
+ *
583
+ * We're going to create a mySQL query that is fully extendable which would look something like this:
584
+ * "SELECT $fields FROM $wpdb->posts $join WHERE 1=1 $where $groupby $orderby $limits"
585
+ *
586
+ */
587
+
588
+ // Fields to return
589
+ $fields = " postnumber, ";
590
+ $fields .= ( $daily ) ? "SUM(cntaccess) as sumCount, dp_date, " : "cntaccess as sumCount, ";
591
+ $fields .= "ID ";
592
+
593
+ // Create the JOIN clause
594
+ $join = " INNER JOIN {$wpdb->posts} ON postnumber=ID ";
595
+
596
+ // Create the base WHERE clause
597
+ $where .= $wpdb->prepare( " AND blog_id = %d ", $blog_id ); // Posts need to be from the current blog only
598
+ $where .= " AND $wpdb->posts.post_status = 'publish' "; // Only show published posts
599
+
600
+ if ( $daily ) {
601
+ $where .= $wpdb->prepare( " AND dp_date >= '%s' ", $from_date ); // Only fetch posts that are tracked after this date
 
 
 
 
 
 
 
 
 
 
 
 
602
  }
603
 
604
+ if ( '' != $exclude_post_ids ) {
605
+ $where .= " AND $wpdb->posts.ID NOT IN ({$exclude_post_ids}) ";
606
+ }
607
+ $where .= " AND $wpdb->posts.post_type IN ('" . join( "', '", $post_types ) . "') "; // Array of post types
608
+
609
+ // Create the base GROUP BY clause
610
+ if ( $daily ) {
611
+ $groupby = " postnumber ";
612
+ }
613
+
614
+ // Create the base ORDER BY clause
615
+ $orderby = " sumCount DESC ";
616
+
617
+ // Create the base LIMITS clause
618
+ $limits .= $wpdb->prepare( " LIMIT %d ", $limit );
619
+
620
+ /**
621
+ * Filter the SELECT clause of the query.
622
+ *
623
+ * @param string $fields The SELECT clause of the query.
624
+ */
625
+ $fields = apply_filters( 'tptn_posts_fields', $fields );
626
+
627
+ /**
628
+ * Filter the JOIN clause of the query.
629
+ *
630
+ * @param string $join The JOIN clause of the query.
631
+ */
632
+ $join = apply_filters( 'tptn_posts_join', $join );
633
+
634
+ /**
635
+ * Filter the WHERE clause of the query.
636
+ *
637
+ * @param string $where The WHERE clause of the query.
638
+ */
639
+ $where = apply_filters( 'tptn_posts_where', $where );
640
+
641
+ /**
642
+ * Filter the GROUP BY clause of the query.
643
+ *
644
+ * @param string $groupby The GROUP BY clause of the query.
645
+ */
646
+ $groupby = apply_filters( 'tptn_posts_groupby', $groupby );
647
+
648
+
649
+ /**
650
+ * Filter the ORDER BY clause of the query.
651
+ *
652
+ * @param string $orderby The ORDER BY clause of the query.
653
+ */
654
+ $orderby = apply_filters( 'tptn_posts_orderby', $orderby );
655
+
656
+ /**
657
+ * Filter the LIMIT clause of the query.
658
+ *
659
+ * @param string $limits The LIMIT clause of the query.
660
+ */
661
+ $limits = apply_filters( 'tptn_posts_limits', $limits );
662
+
663
+ if ( ! empty( $groupby ) ) {
664
+ $groupby = " GROUP BY {$groupby} ";
665
+ }
666
+ if ( ! empty( $orderby ) ) {
667
+ $orderby = " ORDER BY {$orderby} ";
668
+ }
669
+
670
+ $sql = "SELECT $fields FROM {$table_name} $join WHERE 1=1 $where $groupby $orderby $limits";
671
+
672
  if ( $posts_only ) { // Return the array of posts only if the variable is set
673
+
674
+ $tptn_pop_posts_array = $wpdb->get_results( $sql , ARRAY_A );
675
+
676
+ /**
677
+ * Filter the array of top post IDs.
678
+ *
679
+ * @since 1.9.8.5
680
+ *
681
+ * @param array $tptn_pop_posts_array Posts array.
682
+ */
683
+ return apply_filters( 'tptn_pop_posts_array', $tptn_pop_posts_array );
684
  }
685
 
686
+ $results = $wpdb->get_results( $sql );
687
 
688
  $counter = 0;
689
 
694
 
695
  if ( $heading ) {
696
  if ( ! $daily ) {
697
+ $output .= '<div id="tptn_related" class="tptn_posts ' . $widget_class . $shortcode_class . '">';
698
+
699
+ /**
700
+ * Filter the title of the Top posts.
701
+ *
702
+ * @since 1.9.5
703
+ *
704
+ * @param string $title Title of the popular posts.
705
+ */
706
+ $output .= apply_filters( 'tptn_heading_title', $title );
707
  } else {
708
+ $output .= '<div id="tptn_related_daily" class="tptn_posts_daily' . $shortcode_class . '">';
709
+
710
+ /**
711
+ * Filter the title of the Top posts.
712
+ *
713
+ * @since 1.9.5
714
+ *
715
+ * @param string $title Title of the popular posts.
716
+ */
717
+ $output .= apply_filters( 'tptn_heading_title', $title_daily );
718
  }
719
  } else {
720
  if ( ! $daily ) {
725
  }
726
 
727
  if ( $results ) {
728
+
729
+ /**
730
+ * Filter the opening tag of the popular posts list
731
+ *
732
+ * @since 1.9.10.1
733
+ *
734
+ * @param string $before_list Opening tag set in the Settings Page
735
+ */
736
  $output .= apply_filters( 'tptn_before_list', $before_list );
737
+
738
  foreach ( $results as $result ) {
739
  $sumcount = $result->sumCount;
 
740
 
741
+ $result = get_post( $result->ID ); // Let's get the Post using the ID
742
+
743
+ /**
744
+ * Filter the post ID for each result. Allows a custom function to hook in and change the ID if needed.
745
+ *
746
+ * @since 1.9.8.5
747
+ *
748
+ * @param int $result->ID ID of the post
749
+ */
750
+ $postid = apply_filters( 'tptn_post_id', $result->ID );
751
+
752
+ /**
753
+ * Filter the post ID for each result. This filtered ID is passed as a parameter to fetch categories.
754
+ *
755
+ * This is useful since you might want to fetch a different set of categories for a linked post ID,
756
+ * typically in the case of plugins that let you set mutiple languages
757
+ *
758
+ * @since 1.9.8.5
759
+ *
760
+ * @param int $result->ID ID of the post
761
+ */
762
  $categorys = get_the_category( apply_filters( 'tptn_post_cat_id', $result->ID ) ); //Fetch categories of the plugin
763
+
764
  $p_in_c = false; // Variable to check if post exists in a particular category
765
 
766
  foreach ( $categorys as $cat ) { // Loop to check if post exists in excluded category
768
  if ( $p_in_c ) break; // End loop if post found in category
769
  }
770
 
771
+ $post_title = tptn_max_formatted_content( get_the_title( $postid ), $title_length );
772
+
773
+ /**
774
+ * Filter the post title of each list item.
775
+ *
776
+ * @since 2.0.0
777
+ *
778
+ * @param string $post_title Post title in the list.
779
+ * @param object $result Object of the current post result
780
+ */
781
+ $post_title = apply_filters( 'tptn_post_title', $post_title, $result );
782
+
783
 
784
  if ( ! $p_in_c ) {
785
+
786
+ /**
787
+ * Filter the opening tag of each list item.
788
+ *
789
+ * @since 1.9.10.1
790
+ *
791
+ * @param string $before_list_item Tag before each list item. Can be defined in the Settings page.
792
+ * @param object $result Object of the current post result
793
+ */
794
+ $output .= apply_filters( 'tptn_before_list_item', $before_list_item, $result );
795
+
796
+ /**
797
+ * Filter the `rel` attribute each list item.
798
+ *
799
+ * @since 1.9.10.1
800
+ *
801
+ * @param string $rel_attribute rel attribute
802
+ * @param object $result Object of the current post result
803
+ */
804
+ $rel_attribute = apply_filters( 'tptn_rel_attribute', $rel_attribute, $result );
805
+
806
+ /**
807
+ * Filter the target attribute each list item.
808
+ *
809
+ * @since 1.9.10.1
810
+ *
811
+ * @param string $target_attribute target attribute
812
+ * @param object $result Object of the current post result
813
+ */
814
+ $target_attribute = apply_filters( 'tptn_rel_attribute', $target_attribute, $result );
815
+
816
 
817
  if ( 'after' == $post_thumb_op ) {
818
+ $output .= '<a href="' . get_permalink( $postid ) . '" rel="' . $rel_attribute . '" ' . $target_attribute . 'class="tptn_link">'; // Add beginning of link
819
+ $output .= '<span class="tptn_title">' . $post_title . '</span>'; // Add title if post thumbnail is to be displayed after
820
  $output .= '</a>'; // Close the link
821
  }
822
+
823
  if ( 'inline' == $post_thumb_op || 'after' == $post_thumb_op || 'thumbs_only' == $post_thumb_op ) {
824
+ $output .= '<a href="' . get_permalink( $postid ) . '" rel="' . $rel_attribute . '" ' . $target_attribute . 'class="tptn_link">'; // Add beginning of link
825
+
826
  $output .= tptn_get_the_post_thumbnail( array(
827
+ 'postid' => $postid,
828
  'thumb_height' => $thumb_height,
829
  'thumb_width' => $thumb_width,
830
  'thumb_meta' => $thumb_meta,
837
  'class' => "tptn_thumb",
838
  'filter' => "tptn_postimage",
839
  ) );
840
+
841
  $output .= '</a>'; // Close the link
842
  }
843
+
844
  if ( 'inline' == $post_thumb_op || 'text_only' == $post_thumb_op ) {
845
  $output .= '<span class="tptn_after_thumb">';
846
+ $output .= '<a href="' . get_permalink( $postid ) . '" rel="' . $rel_attribute . '" ' . $target_attribute . 'class="tptn_link">'; // Add beginning of link
847
+ $output .= '<span class="tptn_title">' . $post_title . '</span>'; // Add title when required by settings
848
  $output .= '</a>'; // Close the link
849
  }
850
+
851
  if ( $show_author ) {
852
  $author_info = get_userdata( $result->post_author );
853
  $author_name = ucwords( trim( stripslashes( $author_info->display_name ) ) );
854
  $author_link = get_author_posts_url( $author_info->ID );
855
 
856
+ /**
857
+ * Filter the author name.
858
+ *
859
+ * @since 1.9.1
860
+ *
861
+ * @param string $author_name Proper name of the post author.
862
+ * @param object $author_info WP_User object of the post author
863
+ */
864
+ $author_name = apply_filters( 'tptn_author_name', $author_name, $author_info );
865
+
866
+ $tptn_author = '<span class="tptn_author"> ' . __( ' by ', TPTN_LOCAL_NAME ).'<a href="' . $author_link . '">' . $author_name . '</a></span> ';
867
+
868
+ /**
869
+ * Filter the text with the author details.
870
+ *
871
+ * @since 2.0.0
872
+ *
873
+ * @param string $tptn_author Formatted string with author details and link
874
+ * @param object $author_info WP_User object of the post author
875
+ */
876
+ $tptn_author = apply_filters( 'tptn_author', $tptn_author, $author_info );
877
+
878
+ $output .= $tptn_author;
879
  }
880
+
881
  if ( $show_date ) {
882
  $output .= '<span class="tptn_date"> ' . mysql2date( get_option( 'date_format', 'd/m/y' ), $result->post_date ).'</span> ';
883
  }
884
+
885
  if ( $show_excerpt ) {
886
+ $output .= '<span class="tptn_excerpt"> ' . tptn_excerpt( $postid, $excerpt_length ).'</span>';
887
+ }
888
+
889
+ if ( $disp_list_count ) {
890
+ $output .= ' <span class="tptn_list_count">(' . number_format_i18n( $sumcount ) . ')</span>';
891
  }
 
892
 
893
  if ( 'inline' == $post_thumb_op || 'text_only' == $post_thumb_op ) {
894
  $output .= '</span>';
895
  }
896
 
897
+ /**
898
+ * Filter the closing tag of each list item.
899
+ *
900
+ * @since 1.9.10.1
901
+ *
902
+ * @param string $after_list_item Tag after each list item. Can be defined in the Settings page.
903
+ * @param object $result Object of the current post result
904
+ */
905
+ $output .= apply_filters( 'tptn_after_list_item', $after_list_item, $result );
906
+
907
  $counter++;
908
  }
909
  if ( $counter == $limit/5 ) break; // End loop when related posts limit is reached
910
  }
911
  if ( $show_credit ) {
912
+
913
+ /** This filter is documented in contextual-related-posts.php */
914
+ $output .= apply_filters( 'tptn_before_list_item', $before_list_item, $result );
915
+
916
+ $output .= sprintf(
917
+ __( 'Popular posts by <a href="%s" rel="nofollow" %s>Top 10 plugin</a>', TPTN_LOCAL_NAME ),
918
+ esc_url( 'http://ajaydsouza.com/wordpress/plugins/top-10/' ),
919
+ $target_attribute
920
+ );
921
+
922
+ /** This filter is documented in contextual-related-posts.php */
923
+ $output .= apply_filters( 'tptn_after_list_item', $after_list_item, $result );
924
  }
925
+
926
+ /**
927
+ * Filter the closing tag of the related posts list
928
+ *
929
+ * @since 1.9.10.1
930
+ *
931
+ * @param string $after_list Closing tag set in the Settings Page
932
+ */
933
  $output .= apply_filters( 'tptn_after_list', $after_list );
934
  } else {
935
  $output .= ( $blank_output ) ? '' : $blank_output_text;
936
  }
937
  $output .= '</div>';
938
 
939
+ /**
940
+ * Filter the output
941
+ *
942
+ * @since 1.9.8.5
943
+ *
944
+ * @param string $output Formatted list of top posts
945
+ */
946
+ return apply_filters( 'tptn_pop_posts', $output, $args );
947
  }
948
 
949
 
950
  /**
951
  * Function to echo popular posts.
952
  *
953
+ * @since 1.0
 
954
  */
955
  function tptn_show_pop_posts( $args = NULL ) {
956
  echo tptn_pop_posts( $args );
960
  /**
961
  * Function to show daily popular posts.
962
  *
963
+ * @since 1.2
 
964
  */
965
  function tptn_show_daily_pop_posts() {
966
  global $tptn_url, $tptn_settings;
976
  /**
977
  * Function to add CSS to header.
978
  *
979
+ * @since 1.9
 
980
  */
981
  function tptn_header() {
982
+ global $tptn_settings;
983
 
984
  $tptn_custom_CSS = stripslashes( $tptn_settings['custom_CSS'] );
985
 
988
  echo '<style type="text/css">' . $tptn_custom_CSS . '</style>';
989
  }
990
  }
991
+ add_action( 'wp_head', 'tptn_header' );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
992
 
993
 
994
  /**
995
  * Enqueue styles.
996
  *
 
 
997
  */
998
  function tptn_heading_styles() {
999
  global $tptn_settings;
1009
  /**
1010
  * Default Options.
1011
  *
 
 
1012
  */
1013
  function tptn_default_options() {
1014
  global $tptn_url;
1018
  $blank_output_text = __( 'No top posts yet', TPTN_LOCAL_NAME );
1019
  $thumb_default = $tptn_url . '/default.png';
1020
 
1021
+ $tptn_get_all_image_sizes = tptn_get_all_image_sizes();
1022
+
1023
  // get relevant post types
1024
  $args = array (
1025
  'public' => true,
1028
  $post_types = http_build_query( get_post_types( $args ), '', '&' );
1029
 
1030
  $tptn_settings = array (
1031
+
1032
+ /* General options */
1033
+ 'activate_daily' => true, // Activate the daily count
1034
+ 'activate_overall' => true, // activate overall count
1035
+ 'cache_fix' => false, // Temporary fix for W3 Total Cache
1036
  'show_credit' => false, // Add link to plugin page of my blog in top posts list
1037
+
1038
+ /* Counter and tracker options */
1039
  'add_to_content' => true, // Add post count to content (only on single posts)
1040
  'count_on_pages' => true, // Add post count to pages
1041
  'add_to_feed' => false, // Add post count to feed (full)
1044
  'add_to_tag_archives' => false, // Add post count to tag archives
1045
  'add_to_archives' => false, // Add post count to other archives
1046
 
1047
+ 'count_disp_form' => '(Visited %totalcount% times, %dailycount% visits today)', // Format to display the count
1048
+ 'count_disp_form_zero' => 'No visits yet', // What to display where there are no hits?
1049
+ 'dynamic_post_count' => false, // Use JavaScript for displaying the post count
1050
+
1051
  'track_authors' => false, // Track Authors visits
1052
  'track_admins' => true, // Track Admin visits
1053
  'track_editors' => true, // Track Admin visits
1054
  'pv_in_admin' => true, // Add an extra column on edit posts/pages to display page views?
1055
  'show_count_non_admins' => true, // Show counts to non-admins
1056
 
1057
+ /* Popular post list options */
1058
+ 'limit' => '10', // How many posts to display?
1059
+ 'daily_range' => '1', // Daily Popular will contain posts of how many days?
1060
+ 'hour_range' => '0', // Daily Popular will contain posts of how many days?
1061
+ 'post_types' => $post_types, // WordPress custom post types
1062
+ 'exclude_categories' => '', // Exclude these categories
1063
+ 'exclude_cat_slugs' => '', // Exclude these categories (slugs)
1064
+ 'exclude_post_ids' => '', // Comma separated list of page / post IDs that are to be excluded in the results
1065
+
1066
+ 'title' => $title, // Title of Popular Posts
1067
+ 'title_daily' => $title_daily, // Title of Daily Popular
1068
  'blank_output' => false, // Blank output? Default is "blank Output test"
1069
  'blank_output_text' => $blank_output_text, // Blank output text
1070
+
1071
+ 'show_excerpt' => false, // Show description in list item
1072
+ 'excerpt_length' => '10', // Length of characters
1073
+ 'show_date' => false, // Show date in list item
1074
+ 'show_author' => false, // Show author in list item
1075
+ 'title_length' => '60', // Limit length of post title
1076
  'disp_list_count' => true, // Display count in popular lists?
 
 
 
 
1077
 
1078
+ 'd_use_js' => false, // Use JavaScript for displaying daily posts - TO BE DEPRECATED
 
 
 
1079
 
1080
+ 'link_new_window' => false, // Open link in new window - Includes target="_blank" to links
1081
+ 'link_nofollow' => false, // Includes rel="nofollow" to links
1082
+ 'exclude_on_post_ids' => '', // Comma separate list of page/post IDs to not display related posts on
1083
+
1084
+ // List HTML options
1085
  'before_list' => '<ul>', // Before the entire list
1086
  'after_list' => '</ul>', // After the entire list
1087
  'before_list_item' => '<li>', // Before each list item
1088
  'after_list_item' => '</li>', // After each list item
1089
 
1090
+ /* Thumbnail options */
1091
  'post_thumb_op' => 'text_only', // Display only text in posts
1092
+ 'thumb_size' => 'tptn_thumbnail', // Default thumbnail size
1093
+ 'thumb_width' => '150', // Max width of thumbnails
1094
+ 'thumb_height' => '150', // Max height of thumbnails
1095
+ 'thumb_crop' => true, // Crop mode. default is hard crop
1096
  'thumb_html' => 'html', // Use HTML or CSS for width and height of the thumbnail?
1097
+
1098
+ 'thumb_timthumb' => false, // Use timthumb - TO BE DEPRECATED
1099
+ 'thumb_timthumb_q' => '75', // Quality attribute for timthumb - TO BE DEPRECATED
1100
+
1101
  'thumb_meta' => 'post-image', // Meta field that is used to store the location of default thumbnail image
1102
  'scan_images' => true, // Scan post for images
1103
  'thumb_default' => $thumb_default, // Default thumbnail image
1104
  'thumb_default_show' => true, // Show default thumb if none found (if false, don't show thumb at all)
 
 
 
 
 
 
 
 
 
 
 
 
 
1105
 
1106
+ /* Custom styles */
1107
  'custom_CSS' => '', // Custom CSS to style the output
1108
  'include_default_style' => false, // Include default Top 10 style
1109
 
1110
+ /* Maintenance cron */
 
 
 
 
 
 
1111
  'cron_on' => false, // Run cron daily?
1112
  'cron_hour' => '0', // Cron Hour
1113
  'cron_min' => '0', // Cron Minute
1114
  'cron_recurrence' => 'weekly', // Frequency of cron
1115
  );
1116
+
1117
+ /**
1118
+ * Filters the default options array.
1119
+ *
1120
+ * @since 1.9.10.1
1121
+ *
1122
+ * @param array $tptn_settings Default options
1123
+ */
1124
  return apply_filters( 'tptn_default_options', $tptn_settings );
1125
  }
1126
 
1134
  function tptn_read_options() {
1135
 
1136
  // Upgrade table code
1137
+ global $tptn_db_version, $network_wide;
 
 
 
 
 
1138
 
1139
  $tptn_settings_changed = false;
1140
 
1141
  $defaults = tptn_default_options();
1142
 
1143
+ $tptn_settings = array_map( 'stripslashes', (array) get_option( 'ald_tptn_settings' ) );
1144
  unset( $tptn_settings[0] ); // produced by the (array) casting when there's nothing in the DB
1145
 
1146
  foreach ( $defaults as $k=>$v ) {
1147
  if ( ! isset( $tptn_settings[$k] ) ) {
1148
+ $tptn_settings[ $k ] = $v;
1149
  $tptn_settings_changed = true;
1150
  }
1151
  }
1153
  update_option('ald_tptn_settings', $tptn_settings);
1154
  }
1155
 
1156
+ /**
1157
+ * Filters the options array.
1158
+ *
1159
+ * @since 1.9.10.1
1160
+ *
1161
+ * @param array $tptn_settings Options read from the database
1162
+ */
1163
  return apply_filters( 'tptn_read_options', $tptn_settings );
1164
  }
1165
 
1166
 
1167
  /**
1168
+ * Fired when the plugin is Network Activated.
1169
  *
1170
+ * @since 1.9.10.1
1171
+ *
1172
+ * @param boolean $network_wide True if WPMU superadmin uses
1173
+ * "Network Activate" action, false if
1174
+ * WPMU is disabled or plugin is
1175
+ * activated on an individual blog.
1176
  */
1177
+ function tptn_activation_hook( $network_wide ) {
1178
+ global $wpdb;
1179
+
1180
+ if ( is_multisite() && $network_wide ) {
1181
+
1182
+ // Get all blogs in the network and activate plugin on each one
1183
+ $blog_ids = $wpdb->get_col( "
1184
+ SELECT blog_id FROM $wpdb->blogs
1185
+ WHERE archived = '0' AND spam = '0' AND deleted = '0'
1186
+ " );
1187
+ foreach ( $blog_ids as $blog_id ) {
1188
+ switch_to_blog( $blog_id );
1189
+ tptn_single_activate();
1190
+ }
1191
+
1192
+ // Switch back to the current blog
1193
+ restore_current_blog();
1194
+
1195
+ } else {
1196
+ tptn_single_activate();
1197
+ }
1198
+ }
1199
+ register_activation_hook( __FILE__, 'tptn_activation_hook' );
1200
+
1201
+
1202
+ /**
1203
+ * Fired for each blog when the plugin is activated.
1204
+ *
1205
+ * @since 2.0.0
1206
+ */
1207
+ function tptn_single_activate() {
1208
  global $wpdb, $tptn_db_version;
1209
 
1210
+ $tptn_settings = tptn_read_options();
1211
+
1212
+ $table_name = $wpdb->base_prefix . "top_ten";
1213
+ $table_name_daily = $wpdb->base_prefix . "top_ten_daily";
1214
 
1215
  if ( $wpdb->get_var( "show tables like '$table_name'" ) != $table_name ) {
1216
 
1217
  $sql = "CREATE TABLE " . $table_name . " (
1218
+ postnumber bigint(20) NOT NULL,
1219
+ cntaccess bigint(20) NOT NULL,
1220
+ blog_id bigint(20) NOT NULL,
1221
+ PRIMARY KEY (postnumber, blog_id)
1222
  );";
1223
 
1224
  require_once( ABSPATH . 'wp-admin/includes/upgrade.php' );
1225
  dbDelta( $sql );
1226
 
1227
+ add_site_option( "tptn_db_version", $tptn_db_version );
1228
  }
1229
 
1230
+ if ( $wpdb->get_var( "show tables like '$table_name_daily'" ) != $table_name_daily ) {
1231
 
1232
  $sql = "CREATE TABLE " . $table_name_daily . " (
1233
+ postnumber bigint(20) NOT NULL,
1234
+ cntaccess bigint(20) NOT NULL,
1235
+ dp_date DATETIME NOT NULL,
1236
+ blog_id bigint(20) NOT NULL,
1237
+ PRIMARY KEY (postnumber, dp_date, blog_id)
1238
  );";
1239
 
1240
+ require_once( ABSPATH . 'wp-admin/includes/upgrade.php' );
1241
+ dbDelta( $sql );
1242
 
1243
+ add_site_option( "tptn_db_version", $tptn_db_version );
1244
  }
1245
 
1246
  // Upgrade table code
1247
+ $installed_ver = get_site_option( "tptn_db_version" );
1248
 
1249
+ if ( $installed_ver != $tptn_db_version ) {
1250
 
1251
+ $wpdb->hide_errors();
 
 
 
1252
 
1253
+ $wpdb->query( "ALTER TABLE " . $table_name . " MODIFY postnumber bigint(20) " );
1254
+ $wpdb->query( "ALTER TABLE " . $table_name_daily . " MODIFY postnumber bigint(20) " );
1255
+ $wpdb->query( "ALTER TABLE " . $table_name . " MODIFY cntaccess bigint(20) " );
1256
+ $wpdb->query( "ALTER TABLE " . $table_name_daily . " MODIFY cntaccess bigint(20) " );
1257
+ $wpdb->query( "ALTER TABLE " . $table_name_daily . " MODIFY dp_date DATETIME " );
1258
+ $wpdb->query( "ALTER TABLE " . $table_name . " DROP PRIMARY KEY, ADD PRIMARY KEY(postnumber, blog_id) " );
1259
+ $wpdb->query( "ALTER TABLE " . $table_name_daily . " DROP PRIMARY KEY, ADD PRIMARY KEY(postnumber, dp_date, blog_id) " );
1260
+ $wpdb->query( "ALTER TABLE " . $table_name . " ADD blog_id bigint(20) NOT NULL " );
1261
+ $wpdb->query( "ALTER TABLE " . $table_name_daily . " ADD blog_id bigint(20) NOT NULL " );
1262
+ $wpdb->query( "UPDATE " . $table_name . " SET blog_id = 1 WHERE blog_id = 0 " );
1263
+ $wpdb->query( "UPDATE " . $table_name_daily . " SET blog_id = 1 WHERE blog_id = 0 " );
1264
 
1265
+ $wpdb->show_errors();
1266
+
1267
+ update_site_option( "tptn_db_version", $tptn_db_version );
1268
  }
1269
 
1270
  }
1271
+
1272
+
1273
+ /**
1274
+ * Fired when a new site is activated with a WPMU environment.
1275
+ *
1276
+ * @since 2.0.0
1277
+ *
1278
+ * @param int $blog_id ID of the new blog.
1279
+ */
1280
+ function tptn_activate_new_site( $blog_id ) {
1281
+
1282
+ if ( 1 !== did_action( 'wpmu_new_blog' ) ) {
1283
+ return;
1284
+ }
1285
+
1286
+ switch_to_blog( $blog_id );
1287
+ tptn_single_activate();
1288
+ restore_current_blog();
1289
+
1290
+ }
1291
+ add_action( 'wpmu_new_blog', 'tptn_activate_new_site' );
1292
+
1293
+
1294
+ /**
1295
+ * Fired when a site is deleted in a WPMU environment.
1296
+ *
1297
+ * @since 2.0.0
1298
+ *
1299
+ * @param array $tables Tables in the blog.
1300
+ */
1301
+ function tptn_on_delete_blog( $tables ) {
1302
+ global $wpdb;
1303
+
1304
+ $tables[] = $wpdb->prefix . "top_ten";
1305
+ $tables[] = $wpdb->prefix . "top_ten_daily";
1306
+
1307
+ return $tables;
1308
+ }
1309
+ add_filter( 'wpmu_drop_tables', 'tptn_on_delete_blog' );
1310
 
1311
 
1312
  /**
1313
  * Function to call install function if needed.
1314
  *
1315
+ * @since 1.9
 
1316
  */
1317
  function tptn_update_db_check() {
1318
+ global $tptn_db_version, $network_wide;
1319
 
1320
+ if ( get_site_option('tptn_db_version') != $tptn_db_version ) {
1321
+ tptn_activation_hook( $network_wide );
1322
  }
1323
  }
1324
  add_action( 'plugins_loaded', 'tptn_update_db_check' );
1327
  /**
1328
  * Function to delete all rows in the posts table.
1329
  *
1330
+ * @since 1.3
1331
+ * @param bool $daily Daily flag
 
1332
  */
1333
  function tptn_trunc_count( $daily = false ) {
1334
  global $wpdb;
1335
 
1336
+ $table_name = $wpdb->base_prefix . "top_ten";
1337
+ if ( $daily ) {
1338
+ $table_name .= "_daily";
1339
+ }
1340
 
1341
  $sql = "TRUNCATE TABLE $table_name";
1342
  $wpdb->query( $sql );
1344
 
1345
 
1346
  /**
1347
+ * Add custom image size of thumbnail. Filters `init`.
1348
+ *
1349
+ * @since 2.0.0
1350
  *
 
 
 
 
 
 
 
1351
  */
1352
+ function tptn_add_image_sizes() {
1353
+ global $tptn_settings;
1354
 
1355
+ if ( ! in_array( $tptn_settings['thumb_size'], get_intermediate_image_sizes() ) ) {
1356
+ $tptn_settings['thumb_size'] = 'tptn_thumbnail';
1357
+ update_option( 'ald_tptn_settings', $tptn_settings );
1358
+ }
1359
+
1360
+ // Add image sizes if 'tptn_thumbnail' is selected or the selected thumbnail size is no longer valid
1361
+ if ( 'tptn_thumbnail' == $tptn_settings['thumb_size'] ) {
1362
+ $width = empty( $tptn_settings['thumb_width'] ) ? 150 : $tptn_settings['thumb_width'];
1363
+ $height = empty( $tptn_settings['thumb_height'] ) ? 150 : $tptn_settings['thumb_height'];
1364
+ $crop = isset( $tptn_settings['thumb_crop'] ) ? $tptn_settings['thumb_crop'] : false;
1365
+
1366
+ add_image_size( 'tptn_thumbnail', $width, $height, $crop );
1367
  }
 
1368
  }
1369
+ add_action( 'init', 'tptn_add_image_sizes' );
1370
 
1371
 
1372
  /**
1373
  * Function to get the post thumbnail.
1374
  *
1375
+ * @since 1.8
1376
+ * @param array $args Query string of options related to thumbnails
1377
+ * @return string Image tag
1378
  */
1379
  function tptn_get_the_post_thumbnail( $args = array() ) {
1380
 
1381
+ global $tptn_url, $tptn_settings;
1382
 
1383
  $defaults = array(
1384
  'postid' => '',
1385
+ 'thumb_height' => '150', // Max height of thumbnails
1386
+ 'thumb_width' => '150', // Max width of thumbnails
1387
  'thumb_meta' => 'post-image', // Meta field that is used to store the location of default thumbnail image
1388
  'thumb_html' => 'html', // HTML / CSS for width and height attributes
1389
  'thumb_default' => '', // Default thumbnail image
1398
  // Parse incomming $args into an array and merge it with $defaults
1399
  $args = wp_parse_args( $args, $defaults );
1400
 
1401
+ // Declare each item in $args as its own variable i.e. $type, $before.
1402
  extract( $args, EXTR_SKIP );
1403
 
1404
  $result = get_post( $postid );
1405
+ $post_title = get_the_title( $postid );
1406
 
1407
  $output = '';
1408
+ $postimage = '';
1409
 
1410
+ // Let's start fetching the thumbnail. First place to look is in the post meta defined in the Settings page
1411
+ if ( ! $postimage ) {
 
 
 
 
 
 
 
1412
  $postimage = get_post_meta( $result->ID, $thumb_meta, true ); // Check the post meta first
1413
+ $pick = 'meta';
1414
+ }
1415
+
1416
+ // If there is no thumbnail found, check the post thumbnail
1417
+ if ( ! $postimage ) {
1418
+ if ( ( false != wp_get_attachment_image_src( get_post_thumbnail_id( $result->ID ) ) ) ) {
1419
+ $postthumb = wp_get_attachment_image_src( get_post_thumbnail_id( $result->ID ), $tptn_settings['thumb_size'] );
1420
+ $postimage = $postthumb[0];
 
 
 
1421
  }
1422
+ $pick = 'featured';
1423
+ }
1424
+
1425
+ // If there is no thumbnail found, fetch the first image in the post, if enabled
1426
+ if ( ! $postimage && $scan_images ) {
1427
+ preg_match_all( '/<img.+src=[\'"]([^\'"]+)[\'"].*>/i', $result->post_content, $matches );
1428
+ if ( isset( $matches[1][0] ) && $matches[1][0] ) { // any image there?
1429
+ $postimage = $matches[1][0]; // we need the first one only!
1430
  }
1431
+ $pick = 'first';
1432
+ }
1433
+
1434
+ // If there is no thumbnail found, fetch the first child image
1435
+ if ( ! $postimage ) {
1436
+ $postimage = tptn_get_first_image( $result->ID ); // Get the first image
1437
+ $pick = 'firstchild';
1438
+ }
1439
+
1440
+ // If no other thumbnail set, try to get the custom video thumbnail set by the Video Thumbnails plugin
1441
+ if ( ! $postimage ) {
1442
+ $postimage = get_post_meta( $result->ID, '_video_thumbnail', true );
1443
+ }
1444
+
1445
+ // If no thumb found and settings permit, use default thumb
1446
+ if ( $thumb_default_show && ! $postimage ) {
1447
+ $postimage = $thumb_default;
1448
+ }
1449
+
1450
+ // Hopefully, we've found a thumbnail by now. If so, run it through the custom filter, check for SSL and create the image tag
1451
+ if ( $postimage ) {
1452
+
1453
+ /**
1454
+ * Get the first image in the post.
1455
+ *
1456
+ * @since 1.8.10
1457
+ *
1458
+ * @param mixed $postID Post ID
1459
+ */
1460
+ $postimage = apply_filters( $filter, $postimage, $thumb_width, $thumb_height, $thumb_timthumb, $thumb_timthumb_q, $result );
1461
+
1462
+ if ( is_ssl() ) {
1463
+ $postimage = preg_replace( '~http://~', 'https://', $postimage );
1464
  }
1465
+
1466
+ $thumb_html = ( 'css' == $thumb_html ) ? 'style="max-width:' . $thumb_width . 'px;max-height:' . $thumb_height . 'px;"' : 'width="' . $thumb_width . '" height="' .$thumb_height . '"';
1467
+
1468
+ $class .= ' tptn_' . $pick;
1469
+ $output .= '<img src="' . $postimage . '" alt="' . $post_title . '" title="' . $post_title . '" ' . $thumb_html . ' class="' . $class . '" />';
1470
  }
1471
 
1472
+ /**
1473
+ * Filters post thumbnail created for Top 10.
1474
+ *
1475
+ * @since 1.9.10.1
1476
+ *
1477
+ * @param array $output Formatted output
1478
+ * @param array $args Argument list
1479
+ */
1480
+ return apply_filters( 'tptn_get_the_post_thumbnail', $output, $args );
1481
  }
1482
 
1483
 
1484
  /**
1485
  * Get the first image in the post.
1486
  *
1487
+ * @since 1.9.8
1488
+ * @param mixed $postID Post ID
1489
+ * @return string Location of thumbnail
1490
  */
1491
  function tptn_get_first_image( $postID ) {
1492
  $args = array(
1504
  foreach ( $attachments as $attachment ) {
1505
  $image_attributes = wp_get_attachment_image_src( $attachment->ID, 'thumbnail' ) ? wp_get_attachment_image_src( $attachment->ID, 'thumbnail' ) : wp_get_attachment_image_src( $attachment->ID, 'full' );
1506
 
1507
+ /**
1508
+ * Filters first child attachment from the post.
1509
+ *
1510
+ * @since 1.9.10.1
1511
+ *
1512
+ * @param array $image_attributes[0] URL of the image
1513
+ * @param int $postID Post ID
1514
+ */
1515
  return apply_filters( 'tptn_get_first_image', $image_attributes[0] );
1516
  }
1517
  } else {
1523
  /**
1524
  * Function to create an excerpt for the post.
1525
  *
1526
+ * @since 1.6
1527
+ * @param int $id Post ID
1528
+ * @param int|string $excerpt_length Length of the excerpt in words
1529
+ * @return string Excerpt
1530
  */
1531
  function tptn_excerpt( $id, $excerpt_length = 0, $use_excerpt = true ) {
1532
  $content = $excerpt = '';
1533
+
1534
  if ( $use_excerpt ) {
1535
  $content = get_post( $id )->post_excerpt;
1536
  }
1537
+
1538
  if ( '' == $content ) {
1539
  $content = get_post( $id )->post_content;
1540
  }
1545
  $output = wp_trim_words( $output, $excerpt_length );
1546
  }
1547
 
1548
+ /**
1549
+ * Filters excerpt generated by tptn.
1550
+ *
1551
+ * @since 1.9.10.1
1552
+ *
1553
+ * @param array $output Formatted excerpt
1554
+ * @param int $id Post ID
1555
+ * @param int $excerpt_length Length of the excerpt
1556
+ * @param boolean $use_excerpt Use the excerpt?
1557
+ */
1558
  return apply_filters( 'tptn_excerpt', $output, $id, $excerpt_length, $use_excerpt );
1559
  }
1560
 
1562
  /**
1563
  * Function to limit content by characters.
1564
  *
1565
+ * @since 1.9.8
1566
+ * @param string $content Content to be used to make an excerpt
1567
+ * @param int $no_of_char Maximum length of excerpt in characters
1568
+ * @return string Formatted content
1569
  */
1570
+ function tptn_max_formatted_content( $content, $no_of_char = -1 ) {
1571
  $content = strip_tags( $content ); // Remove CRLFs, leaving space in their wake
1572
 
1573
+ if ( ( $no_of_char > 0 ) && ( strlen( $content ) > $no_of_char ) ) {
1574
+ $aWords = preg_split( "/[\s]+/", substr( $content, 0, $no_of_char ) );
1575
 
1576
  // Break back down into a string of words, but drop the last one if it's chopped off
1577
+ if ( substr( $content, $no_of_char, 1 ) == " " ) {
1578
+ $content = implode( " ", $aWords );
1579
  } else {
1580
+ $content = implode( " ", array_slice( $aWords, 0, -1 ) ) .'&hellip;';
1581
  }
1582
  }
1583
 
1584
+ /**
1585
+ * Filters formatted content after cropping.
1586
+ *
1587
+ * @since 1.9.10.1
1588
+ *
1589
+ * @param string $content Formatted content
1590
+ * @param int $no_of_char Maximum length of excerpt in characters
1591
+ */
1592
+ return apply_filters( 'tptn_max_formatted_content' , $content, $no_of_char );
1593
  }
1594
 
1595
 
1596
  /**
1597
  * Function to truncate daily run.
1598
  *
1599
+ * @since 1.9.9.1
 
1600
  */
1601
  function ald_tptn_cron() {
1602
  global $tptn_settings, $wpdb;
1603
 
1604
+ $table_name_daily = $wpdb->base_prefix . "top_ten_daily";
1605
 
1606
+ $current_time = current_time( 'timestamp', 1 );
1607
+ $from_date = strtotime( '-90 DAY' , $current_time );
1608
+ $from_date = gmdate( 'Y-m-d H' , $from_date );
1609
 
1610
  $resultscount = $wpdb->query( $wpdb->prepare(
1611
  "DELETE FROM {$table_name_daily} WHERE dp_date <= '%s' ",
1612
+ $from_date
1613
  ) );
1614
 
1615
  }
1619
  /**
1620
  * Function to enable run or actions.
1621
  *
1622
+ * @since 1.9
1623
+ * @param int $hour Hour
1624
+ * @param int $min Minute
1625
+ * @param int $recurrence Frequency
 
1626
  */
1627
  function tptn_enable_run( $hour, $min, $recurrence ) {
1628
+ // Invoke WordPress internal cron
1629
+ if ( ! wp_next_scheduled( 'ald_tptn_hook' ) ) {
1630
+ wp_schedule_event( mktime( $hour, $min, 0 ), $recurrence, 'ald_tptn_hook' );
1631
+ } else {
1632
+ wp_clear_scheduled_hook( 'ald_tptn_hook' );
1633
+ wp_schedule_event( mktime( $hour, $min, 0 ), $recurrence, 'ald_tptn_hook' );
 
 
1634
  }
1635
  }
1636
 
1638
  /**
1639
  * Function to disable daily run or actions.
1640
  *
1641
+ * @since 1.9
 
1642
  */
1643
  function tptn_disable_run() {
1644
+ if ( wp_next_scheduled( 'ald_tptn_hook' ) ) {
1645
+ wp_clear_scheduled_hook( 'ald_tptn_hook' );
 
 
1646
  }
1647
  }
1648
 
1649
+ // Let's declare this conditional function to add more schedules. It will be a generic function across all plugins that I develop
1650
  if ( ! function_exists( 'ald_more_reccurences' ) ) :
1651
+
1652
  /**
1653
+ * Function to add weekly and fortnightly recurrences. Filters `cron_schedules`.
1654
  *
1655
+ * @param array Array of existing schedules
1656
+ * @return array Filtered array with new schedules
1657
  */
1658
  function ald_more_reccurences( $schedules ) {
1659
  // add a 'weekly' interval
1660
  $schedules['weekly'] = array(
1661
+ 'interval' => WEEK_IN_SECONDS,
1662
  'display' => __( 'Once Weekly', TPTN_LOCAL_NAME )
1663
  );
1664
  $schedules['fortnightly'] = array(
1665
+ 'interval' => 2 * WEEK_IN_SECONDS,
1666
  'display' => __( 'Once Fortnightly', TPTN_LOCAL_NAME )
1667
  );
1668
  $schedules['monthly'] = array(
1669
+ 'interval' => 30 * DAY_IN_SECONDS,
1670
  'display' => __( 'Once Monthly', TPTN_LOCAL_NAME )
1671
  );
1672
+ $schedules['quarterly'] = array(
1673
+ 'interval' => 90 * DAY_IN_SECONDS,
1674
+ 'display' => __( 'Once quarterly', TPTN_LOCAL_NAME )
1675
+ );
1676
  return $schedules;
1677
  }
1678
  add_filter( 'cron_schedules', 'ald_more_reccurences' );
1683
  /**
1684
  * Creates a shortcode [tptn_list limit="5" heading="1" daily="0"].
1685
  *
1686
+ * @since 1.9.9
1687
+ * @param array $atts Shortcode attributes
1688
+ * @param string $content Content
1689
+ * @return string Formatted list of posts generated by tptn_pop_posts
1690
  */
1691
  function tptn_shortcode( $atts, $content = null ) {
1692
  global $tptn_settings;
1708
  /**
1709
  * Creates a shortcode [tptn_views daily="0"].
1710
  *
1711
+ * @since 1.9.9
1712
+ * @param array $atts Shortcode attributes
1713
+ * @param string $content Content
1714
+ * @return string Views of the post
1715
  */
1716
  function tptn_shortcode_views( $atts , $content=null ) {
1717
  extract( shortcode_atts( array(
1723
  add_shortcode( 'tptn_views', 'tptn_shortcode_views' );
1724
 
1725
 
 
 
 
 
 
 
1726
 
1727
+ /**
1728
+ * Get all image sizes.
1729
+ *
1730
+ * @since 2.0.0
1731
+ * @param string $size Get specific image size
1732
+ * @return array Image size names along with width, height and crop setting
1733
+ */
1734
+ function tptn_get_all_image_sizes( $size = '' ) {
1735
+ global $_wp_additional_image_sizes;
1736
 
1737
+ /* Get the intermediate image sizes and add the full size to the array. */
1738
+ $intermediate_image_sizes = get_intermediate_image_sizes();
 
 
 
 
1739
 
1740
+ foreach( $intermediate_image_sizes as $_size ) {
1741
+ if ( in_array( $_size, array( 'thumbnail', 'medium', 'large' ) ) ) {
1742
 
1743
+ $sizes[ $_size ]['name'] = $_size;
1744
+ $sizes[ $_size ]['width'] = get_option( $_size . '_size_w' );
1745
+ $sizes[ $_size ]['height'] = get_option( $_size . '_size_h' );
1746
+ $sizes[ $_size ]['crop'] = (bool) get_option( $_size . '_crop' );
1747
 
1748
+ if ( ( 0 == $sizes[ $_size ]['width'] ) && ( 0 == $sizes[ $_size ]['height'] ) ) {
1749
+ unset( $sizes[ $_size ] );
1750
+ }
 
 
 
 
 
 
 
1751
 
1752
+ } elseif ( isset( $_wp_additional_image_sizes[ $_size ] ) ) {
1753
+
1754
+ $sizes[ $_size ] = array(
1755
+ 'name' => $_size,
1756
+ 'width' => $_wp_additional_image_sizes[ $_size ]['width'],
1757
+ 'height' => $_wp_additional_image_sizes[ $_size ]['height'],
1758
+ 'crop' => (bool) $_wp_additional_image_sizes[ $_size ]['crop'],
1759
+ );
1760
  }
 
1761
  }
1762
 
1763
+ /* Get only 1 size if found */
1764
+ if ( $size ) {
1765
+ if ( isset( $sizes[ $size ] ) ) {
1766
+ return $sizes[ $size ];
1767
+ } else {
1768
+ return false;
1769
+ }
1770
+ }
1771
+ return apply_filters( 'tptn_get_all_image_sizes', $sizes );
1772
+ }
1773
+
1774
+ /*----------------------------------------------------------------------------*
1775
+ * WordPress widget
1776
+ *----------------------------------------------------------------------------*/
1777
 
1778
+ /**
1779
+ * Include Widget class.
1780
+ *
1781
+ */
1782
+ require_once( plugin_dir_path( __FILE__ ) . 'includes/class-top-10-widget.php' );
1783
+
1784
+ /**
1785
+ * Initialise the widget.
1786
+ *
1787
+ */
1788
+ function tptn_register_widget() {
1789
+ register_widget( 'Top_Ten_Widget' );
1790
+ }
1791
+ add_action( 'widgets_init', 'tptn_register_widget', 1 );
1792
+
1793
+
1794
+ /*----------------------------------------------------------------------------*
1795
+ * Dashboard and Administrative Functionality
1796
+ *----------------------------------------------------------------------------*/
1797
+
1798
+ // This function adds an Options page in WP Admin
1799
+ if ( is_admin() || strstr( $_SERVER['PHP_SELF'], 'wp-admin/' ) ) {
1800
+
1801
+ require_once( plugin_dir_path( __FILE__ ) . 'admin/admin.php' );
1802
+ require_once( plugin_dir_path( __FILE__ ) . 'admin/admin-metabox.php' );
1803
+ require_once( plugin_dir_path( __FILE__ ) . 'admin/admin-columns.php' );
1804
+ require_once( plugin_dir_path( __FILE__ ) . 'admin/admin-dashboard.php' );
1805
 
1806
  } // End admin.inc
1807
 
1808
+ /*----------------------------------------------------------------------------*
1809
+ * Deprecated functions
1810
+ *----------------------------------------------------------------------------*/
1811
+
1812
+ require_once( plugin_dir_path( __FILE__ ) . 'includes/deprecated.php' );
1813
 
1814
  ?>