Contextual Related Posts - Version 2.2.3

Version Description

  • Enhancements:

    • Changed text domain to contextual-related-posts in advance of translate.wordpress.org translation system
    • Improved support for WPML. If available, same language posts will be pulled by default. To restrict to the same language add this code to your theme's functions.php file
    • Removed id tag from related posts HTML output to make it W3C compliant. If you're using the id with your custom styles, please change this to classes i.e. change #crp_related to .crp_related and it should work
  • Bug fixes:

    • All cache entries were not deleted on uninstall
Download this release

Release Info

Developer Ajay
Plugin Icon 128x128 Contextual Related Posts
Version 2.2.3
Comparing to
See all releases

Code changes from version 2.2.2 to 2.2.3

Files changed (59) hide show
  1. README.md +1 -1
  2. admin/admin.php +351 -356
  3. admin/cache.php +53 -55
  4. admin/images/index.php +1 -1
  5. admin/index.php +1 -1
  6. admin/loader.php +74 -74
  7. admin/main-view.php +192 -180
  8. admin/metabox.php +254 -257
  9. admin/sidebar-view.php +30 -17
  10. admin/wick/index.php +1 -1
  11. admin/wick/wick.css +0 -1
  12. admin/wick/wick.js +266 -273
  13. contextual-related-posts.php +1014 -979
  14. css/default-style.css +37 -37
  15. css/index.php +1 -1
  16. includes/class-crp-widget.php +22 -23
  17. includes/deprecated.php +124 -124
  18. includes/index.php +1 -0
  19. includes/media.php +24 -26
  20. includes/modules/index.php +1 -0
  21. includes/modules/manual-posts.php +1 -2
  22. includes/modules/shortcode.php +8 -5
  23. includes/modules/taxonomies.php +3 -3
  24. includes/output-generator.php +16 -16
  25. includes/plugin-activator.php +18 -19
  26. includes/tools.php +11 -14
  27. index.php +1 -1
  28. languages/{crp-da_DK.mo → contextual-related-posts-da_DK.mo} +0 -0
  29. languages/{crp-da_DK.po → contextual-related-posts-da_DK.po} +126 -119
  30. languages/{crp-de_DE.mo → contextual-related-posts-de_DE.mo} +0 -0
  31. languages/{crp-de_DE.po → contextual-related-posts-de_DE.po} +126 -119
  32. languages/{crp-el_GR.mo → contextual-related-posts-el_GR.mo} +0 -0
  33. languages/{crp-el_GR.po → contextual-related-posts-el_GR.po} +127 -120
  34. languages/{crp-en_US.mo → contextual-related-posts-en_US.mo} +0 -0
  35. languages/{crp-en_US.po → contextual-related-posts-en_US.po} +126 -119
  36. languages/{crp-en_US.pot → contextual-related-posts-en_US.pot} +126 -119
  37. languages/{crp-es_ES.mo → contextual-related-posts-es_ES.mo} +0 -0
  38. languages/{crp-es_ES.po → contextual-related-posts-es_ES.po} +126 -119
  39. languages/contextual-related-posts-fr_FR.mo +0 -0
  40. languages/{crp-fr_FR.po → contextual-related-posts-fr_FR.po} +260 -294
  41. languages/{crp-it_IT.mo → contextual-related-posts-it_IT.mo} +0 -0
  42. languages/{crp-it_IT.po → contextual-related-posts-it_IT.po} +126 -119
  43. languages/{crp-lt_LT.mo → contextual-related-posts-lt_LT.mo} +0 -0
  44. languages/{crp-lt_LT.po → contextual-related-posts-lt_LT.po} +126 -119
  45. languages/{crp-nl_NL.mo → contextual-related-posts-nl_NL.mo} +0 -0
  46. languages/{crp-nl_NL.po → contextual-related-posts-nl_NL.po} +126 -119
  47. languages/{crp-pt_BR.mo → contextual-related-posts-pt_BR.mo} +0 -0
  48. languages/{crp-pt_BR.po → contextual-related-posts-pt_BR.po} +128 -169
  49. languages/contextual-related-posts-ro_RO.mo +0 -0
  50. languages/{crp-ro_RO.po → contextual-related-posts-ro_RO.po} +129 -201
  51. languages/{crp-ru_RU.mo → contextual-related-posts-ru_RU.mo} +0 -0
  52. languages/{crp-ru_RU.po → contextual-related-posts-ru_RU.po} +126 -119
  53. languages/{crp-zh_CN.mo → contextual-related-posts-zh_CN.mo} +0 -0
  54. languages/{crp-zh_CN.po → contextual-related-posts-zh_CN.po} +126 -119
  55. languages/crp-fr_FR.mo +0 -0
  56. languages/crp-ro_RO.mo +0 -0
  57. languages/index.php +1 -1
  58. readme.txt +11 -1
  59. uninstall.php +58 -67
README.md CHANGED
@@ -1,4 +1,4 @@
1
- [![Build Status](https://travis-ci.org/WebberZone/contextual-related-posts.svg?branch=master)](https://travis-ci.org/WebberZone/contextual-related-posts)
2
 
3
  # Contextual Related Posts
4
 
1
+ [![Build Status](https://travis-ci.org/WebberZone/contextual-related-posts.svg)](https://travis-ci.org/WebberZone/contextual-related-posts)
2
 
3
  # Contextual Related Posts
4
 
admin/admin.php CHANGED
@@ -1,356 +1,351 @@
1
- <?php
2
- /**
3
- * Contextual Related Posts Admin interface.
4
- *
5
- * This page is accessible via Settings > Contextual Related Posts
6
- *
7
- * @package Contextual_Related_Posts
8
- * @author Ajay D'Souza <me@ajaydsouza.com>
9
- * @license GPL-2.0+
10
- * @link https://webberzone.com
11
- * @copyright 2009-2015 Ajay D'Souza
12
- */
13
-
14
- /**** If this file is called directly, abort. ****/
15
- if ( ! defined( 'WPINC' ) ) {
16
- die;
17
- }
18
-
19
-
20
- /**
21
- * Function generates the plugin settings page.
22
- *
23
- * @since 1.0.1
24
- *
25
- */
26
- function crp_options() {
27
-
28
- global $wpdb, $crp_url;
29
-
30
- $crp_settings = crp_read_options();
31
-
32
- $wp_post_types = get_post_types( array(
33
- 'public' => true,
34
- ) );
35
- parse_str( $crp_settings['post_types'], $post_types );
36
- $posts_types_inc = array_intersect( $wp_post_types, $post_types );
37
-
38
- parse_str( $crp_settings['exclude_on_post_types'], $exclude_on_post_types );
39
- $posts_types_excl = array_intersect( $wp_post_types, $exclude_on_post_types );
40
-
41
- // Temporary check if default styles are off and rounded thumbnails are selected - will be eventually deprecated
42
- // This is a mismatch, so we force it to no style
43
- if ( ( false == $crp_settings['include_default_style'] ) && ( 'rounded_thumbs' == $crp_settings['crp_styles'] ) ) {
44
- $crp_settings['crp_styles'] = 'no_style';
45
- update_option( 'ald_crp_settings', $crp_settings );
46
- }
47
- if ( ( true == $crp_settings['include_default_style'] ) && ( 'rounded_thumbs' != $crp_settings['crp_styles'] ) ) {
48
- $crp_settings['crp_styles'] = 'rounded_thumbs';
49
- update_option( 'ald_crp_settings', $crp_settings );
50
- }
51
-
52
-
53
- if ( ( isset( $_POST['crp_save'] ) ) && ( check_admin_referer( 'crp-plugin-settings' ) ) ) {
54
-
55
- /**** General options ***/
56
- $crp_settings['cache'] = ( isset( $_POST['cache'] ) ? true : false );
57
- $crp_settings['limit'] = intval( $_POST['limit'] );
58
- $crp_settings['daily_range'] = intval( $_POST['daily_range'] );
59
- $crp_settings['match_content'] = ( isset( $_POST['match_content'] ) ? true : false );
60
- $crp_settings['match_content_words'] = intval( $_POST['match_content_words'] );
61
-
62
- $crp_settings['add_to_content'] = ( isset( $_POST['add_to_content'] ) ? true : false );
63
- $crp_settings['add_to_page'] = ( isset( $_POST['add_to_page'] ) ? true : false );
64
- $crp_settings['add_to_feed'] = ( isset( $_POST['add_to_feed'] ) ? true : false );
65
- $crp_settings['add_to_home'] = ( isset( $_POST['add_to_home'] ) ? true : false );
66
- $crp_settings['add_to_category_archives'] = ( isset( $_POST['add_to_category_archives'] ) ? true : false );
67
- $crp_settings['add_to_tag_archives'] = ( isset( $_POST['add_to_tag_archives'] ) ? true : false );
68
- $crp_settings['add_to_archives'] = ( isset( $_POST['add_to_archives'] ) ? true : false );
69
-
70
- $crp_settings['content_filter_priority'] = intval( $_POST['content_filter_priority'] );
71
- $crp_settings['show_metabox'] = ( isset( $_POST['show_metabox'] ) ? true : false );
72
- $crp_settings['show_metabox_admins'] = ( isset( $_POST['show_metabox_admins'] ) ? true : false );
73
- $crp_settings['show_credit'] = ( isset( $_POST['show_credit'] ) ? true : false );
74
-
75
- /**** Output options ****/
76
- $crp_settings['title'] = wp_kses_post( $_POST['title'] );
77
- $crp_settings['blank_output'] = ( ( $_POST['blank_output'] == 'blank' ) ? true : false );
78
- $crp_settings['blank_output_text'] = wp_kses_post( $_POST['blank_output_text'] );
79
-
80
- $crp_settings['show_excerpt'] = ( isset( $_POST['show_excerpt'] ) ? true : false );
81
- $crp_settings['show_date'] = ( isset( $_POST['show_date'] ) ? true : false );
82
- $crp_settings['show_author'] = ( isset( $_POST['show_author'] ) ? true : false );
83
- $crp_settings['excerpt_length'] = intval( $_POST['excerpt_length'] );
84
- $crp_settings['title_length'] = intval( $_POST['title_length'] );
85
-
86
- $crp_settings['link_new_window'] = ( isset( $_POST['link_new_window'] ) ? true : false );
87
- $crp_settings['link_nofollow'] = ( isset( $_POST['link_nofollow'] ) ? true : false );
88
-
89
- $crp_settings['before_list'] = wp_kses_post( $_POST['before_list'] );
90
- $crp_settings['after_list'] = wp_kses_post( $_POST['after_list'] );
91
- $crp_settings['before_list_item'] = wp_kses_post( $_POST['before_list_item'] );
92
- $crp_settings['after_list_item'] = wp_kses_post( $_POST['after_list_item'] );
93
-
94
- $crp_settings['exclude_on_post_ids'] = $_POST['exclude_on_post_ids'] == '' ? '' : implode( ',', array_map( 'intval', explode( ",", $_POST['exclude_on_post_ids'] ) ) );
95
- $crp_settings['exclude_post_ids'] = $_POST['exclude_post_ids'] == '' ? '' : implode( ',', array_map( 'intval', explode( ",", $_POST['exclude_post_ids'] ) ) );
96
-
97
- /**** Thumbnail options ****/
98
- $crp_settings['post_thumb_op'] = wp_kses_post( $_POST['post_thumb_op'] );
99
-
100
- $crp_settings['thumb_size'] = $_POST['thumb_size'];
101
-
102
- if ( 'crp_thumbnail' != $crp_settings['thumb_size'] ) {
103
- $crp_thumb_size = crp_get_all_image_sizes( $crp_settings['thumb_size'] );
104
-
105
- $crp_settings['thumb_height'] = intval( $crp_thumb_size['height'] );
106
- $crp_settings['thumb_width'] = intval( $crp_thumb_size['width'] );
107
- $crp_settings['thumb_crop'] = $crp_thumb_size['crop'];
108
- } else {
109
- $crp_settings['thumb_height'] = intval( $_POST['thumb_height'] );
110
- $crp_settings['thumb_width'] = intval( $_POST['thumb_width'] );
111
- $crp_settings['thumb_crop'] = ( isset( $_POST['thumb_crop'] ) ? true : false );
112
- }
113
-
114
-
115
- $crp_settings['thumb_html'] = $_POST['thumb_html'];
116
-
117
- $crp_settings['thumb_meta'] = ( '' == $_POST['thumb_meta'] ? 'post-image' : wp_kses_post( $_POST['thumb_meta'] ) );
118
- $crp_settings['scan_images'] = ( isset( $_POST['scan_images'] ) ? true : false );
119
- $crp_settings['thumb_default'] = ( ( '' == $_POST['thumb_default'] ) || ( "/default.png" == $_POST['thumb_default'] ) ) ? $crp_url . '/default.png' : $_POST['thumb_default'];
120
- $crp_settings['thumb_default_show'] = ( isset( $_POST['thumb_default_show'] ) ? true : false );
121
-
122
- /**** Feed options ****/
123
- $crp_settings['limit_feed'] = intval( $_POST['limit_feed'] );
124
- $crp_settings['post_thumb_op_feed'] = wp_kses_post( $_POST['post_thumb_op_feed'] );
125
- $crp_settings['thumb_height_feed'] = intval( $_POST['thumb_height_feed'] );
126
- $crp_settings['thumb_width_feed'] = intval( $_POST['thumb_width_feed'] );
127
- $crp_settings['show_excerpt_feed'] = ( isset( $_POST['show_excerpt_feed'] ) ? true : false );
128
-
129
- /**** Styles ****/
130
- $crp_settings['custom_CSS'] = wp_kses_post( $_POST['custom_CSS'] );
131
-
132
- $crp_settings['crp_styles'] = wp_kses_post( $_POST['crp_styles'] );
133
-
134
- if ( 'rounded_thumbs' == $crp_settings['crp_styles'] ) {
135
- $crp_settings['include_default_style'] = true;
136
- $crp_settings['post_thumb_op'] = 'inline';
137
- $crp_settings['show_excerpt'] = false;
138
- $crp_settings['show_author'] = false;
139
- $crp_settings['show_date'] = false;
140
- } elseif ( 'text_only' == $crp_settings['crp_styles'] ) {
141
- $crp_settings['include_default_style'] = false;
142
- $crp_settings['post_thumb_op'] = 'text_only';
143
- } else {
144
- $crp_settings['include_default_style'] = false;
145
- }
146
-
147
- /**** Exclude categories ****/
148
- $exclude_categories_slugs = array_map( 'trim', explode( ",", wp_kses_post( $_POST['exclude_cat_slugs'] ) ) );
149
- $crp_settings['exclude_cat_slugs'] = implode( ", ", $exclude_categories_slugs );
150
-
151
- foreach ( $exclude_categories_slugs as $exclude_categories_slug ) {
152
- $catObj = get_category_by_slug( $exclude_categories_slug );
153
- if ( isset( $catObj->term_taxonomy_id ) ) $exclude_categories[] = $catObj->term_taxonomy_id;
154
- }
155
- $crp_settings['exclude_categories'] = ( isset( $exclude_categories ) ) ? join( ',', $exclude_categories ) : '';
156
-
157
- /**** Post types to include ****/
158
- $wp_post_types = get_post_types( array(
159
- 'public' => true,
160
- ) );
161
- $post_types_arr = ( isset( $_POST['post_types'] ) && is_array( $_POST['post_types'] ) ) ? $_POST['post_types'] : array( 'post' => 'post' );
162
- $post_types = array_intersect( $wp_post_types, $post_types_arr );
163
- $crp_settings['post_types'] = http_build_query( $post_types, '', '&' );
164
-
165
- /**** Post types to exclude display on ****/
166
- $post_types_excl_arr = ( isset( $_POST['exclude_on_post_types'] ) && is_array( $_POST['exclude_on_post_types'] ) ) ? $_POST['exclude_on_post_types'] : array();
167
- $exclude_on_post_types = array_intersect( $wp_post_types, $post_types_excl_arr );
168
- $crp_settings['exclude_on_post_types'] = http_build_query( $exclude_on_post_types, '', '&' );
169
-
170
- /**
171
- * Filters $crp_settings before it is saved into the database
172
- *
173
- * @since 2.0.0
174
- *
175
- * @param array $crp_settings CRP settings
176
- * @param array $_POST POST array that consists of the saved settings
177
- */
178
- $crp_settings = apply_filters( 'crp_save_options', $crp_settings, $_POST );
179
-
180
- /**** Update CRP options into the database ****/
181
- update_option( 'ald_crp_settings', $crp_settings );
182
- $crp_settings = crp_read_options();
183
-
184
- parse_str( $crp_settings['post_types'], $post_types );
185
- $posts_types_inc = array_intersect( $wp_post_types, $post_types );
186
-
187
- parse_str( $crp_settings['exclude_on_post_types'], $exclude_on_post_types );
188
- $posts_types_excl = array_intersect( $wp_post_types, $exclude_on_post_types );
189
-
190
- // Delete the cache
191
- crp_cache_delete();
192
-
193
- /* Echo a success message */
194
- $str = '<div id="message" class="notice is-dismissible updated"><p>'. __( 'Options saved successfully. If enabled, the cache has been cleared.', CRP_LOCAL_NAME ) . '</p>';
195
-
196
- if ( 'rounded_thumbs' == $crp_settings['crp_styles'] ) {
197
- $str .= '<p>'. __( 'Rounded Thumbnails style selected. Author, Excerpt and Date will not be displayed.', CRP_LOCAL_NAME ) . '</p>';
198
- }
199
- if ( 'text_only' == $crp_settings['crp_styles'] ) {
200
- $str .= '<p>'. __( 'Text Only style selected. Thumbnails will not be displayed.', CRP_LOCAL_NAME ) . '</p>';
201
- }
202
- if ( 'crp_thumbnail' != $crp_settings['thumb_size'] ) {
203
- $str .= '<p>'. sprintf( __( 'Pre-built thumbnail size selected. Thumbnail set to %d x %d.', CRP_LOCAL_NAME ), $crp_settings['thumb_width'], $crp_settings['thumb_height'] ) . '</p>';
204
- }
205
-
206
- $str .= '</div>';
207
-
208
- echo $str;
209
- }
210
-
211
- if ( ( isset($_POST['crp_default'] ) ) && ( check_admin_referer( 'crp-plugin-settings' ) ) ) {
212
- delete_option( 'ald_crp_settings' );
213
- $crp_settings = crp_default_options();
214
- update_option( 'ald_crp_settings', $crp_settings );
215
-
216
- $crp_settings = crp_read_options();
217
-
218
- $wp_post_types = get_post_types( array(
219
- 'public' => true,
220
- ) );
221
- parse_str( $crp_settings['post_types'], $post_types );
222
- $posts_types_inc = array_intersect( $wp_post_types, $post_types );
223
-
224
- parse_str( $crp_settings['exclude_on_post_types'], $exclude_on_post_types );
225
- $posts_types_excl = array_intersect( $wp_post_types, $exclude_on_post_types );
226
-
227
- $str = '<div id="message" class="updated fade"><p>'. __( 'Options set to Default.', CRP_LOCAL_NAME ) .'</p></div>';
228
- echo $str;
229
- }
230
-
231
- if ( ( isset( $_POST['crp_recreate'] ) ) && ( check_admin_referer( 'crp-plugin-settings' ) ) ) {
232
-
233
- crp_delete_index();
234
- crp_create_index();
235
-
236
- $str = '<div id="message" class="updated fade"><p>'. __( 'Index recreated', CRP_LOCAL_NAME ) .'</p></div>';
237
- echo $str;
238
- }
239
-
240
- /**** Include the views page ****/
241
- include_once( 'main-view.php' );
242
- }
243
-
244
-
245
- /**
246
- * Add a link under Settings to the plugins settings page.
247
- *
248
- * @version 1.0.1
249
- *
250
- */
251
- function crp_adminmenu() {
252
- $plugin_page = add_options_page(
253
- "Contextual Related Posts",
254
- __( "Related Posts", CRP_LOCAL_NAME ),
255
- 'manage_options',
256
- 'crp_options',
257
- 'crp_options'
258
- );
259
- add_action( 'admin_head-'. $plugin_page, 'crp_adminhead' );
260
- }
261
- add_action( 'admin_menu', 'crp_adminmenu' );
262
-
263
-
264
- /**
265
- * Function to add CSS and JS to the Admin header.
266
- *
267
- * @since 1.2
268
- *
269
- */
270
- function crp_adminhead() {
271
- global $crp_url;
272
- wp_enqueue_script( 'common' );
273
- wp_enqueue_script( 'wp-lists' );
274
- wp_enqueue_script( 'postbox' );
275
- wp_enqueue_script( 'plugin-install' );
276
-
277
- add_thickbox();
278
-
279
- ?>
280
- <style type="text/css">
281
- .postbox .handlediv:before {
282
- right:12px;
283
- font:400 20px/1 dashicons;
284
- speak:none;
285
- display:inline-block;
286
- top:0;
287
- position:relative;
288
- -webkit-font-smoothing:antialiased;
289
- -moz-osx-font-smoothing:grayscale;
290
- text-decoration:none!important;
291
- content:'\f142';
292
- padding:8px 10px;
293
- }
294
- .postbox.closed .handlediv:before {
295
- content: '\f140';
296
- }
297
- .wrap h1:before {
298
- content: "\f237";
299
- display: inline-block;
300
- -webkit-font-smoothing: antialiased;
301
- font: normal 29px/1 'dashicons';
302
- vertical-align: middle;
303
- margin-right: 0.3em;
304
- }
305
- </style>
306
-
307
- <script type="text/javascript">
308
- //<![CDATA[
309
- jQuery(document).ready( function($) {
310
- /**** close postboxes that should be closed ****/
311
- $('.if-js-closed').removeClass('if-js-closed').addClass('closed');
312
- /**** postboxes setup ****/
313
- postboxes.add_postbox_toggles('crp_options');
314
- });
315
- //]]>
316
- </script>
317
-
318
- <link rel="stylesheet" type="text/css" href="<?php echo $crp_url ?>/admin/wick/wick.css" />
319
- <script type="text/javascript" language="JavaScript">
320
- //<![CDATA[
321
- function clearCache() {
322
- /**** since 2.8 ajaxurl is always defined in the admin header and points to admin-ajax.php ****/
323
- jQuery.post(ajaxurl, {action: 'crp_clear_cache'}, function(response, textStatus, jqXHR) {
324
- alert( response.message );
325
- }, 'json');
326
- }
327
-
328
- function checkForm() {
329
- answer = true;
330
- if (siw && siw.selectingSomething)
331
- answer = false;
332
- return answer;
333
- }//
334
-
335
- <?php
336
- function wick_data() {
337
- global $wpdb;
338
-
339
- $categories = get_categories( 'hide_empty=0' );
340
- $str = 'collection = [';
341
- foreach ( $categories as $cat ) {
342
- $str .= "'" . $cat->slug . "',";
343
- }
344
- $str = substr( $str, 0, -1 ); // Remove trailing comma
345
- $str .= '];';
346
-
347
- echo $str;
348
- }
349
- wick_data();
350
- ?>
351
- //]]>
352
- </script>
353
- <script type="text/javascript" src="<?php echo $crp_url ?>/admin/wick/wick.js"></script>
354
- <?php
355
- }
356
-
1
+ <?php
2
+ /**
3
+ * Contextual Related Posts Admin interface.
4
+ *
5
+ * This page is accessible via Settings > Contextual Related Posts
6
+ *
7
+ * @package Contextual_Related_Posts
8
+ * @author Ajay D'Souza <me@ajaydsouza.com>
9
+ * @license GPL-2.0+
10
+ * @link https://webberzone.com
11
+ * @copyright 2009-2015 Ajay D'Souza
12
+ */
13
+
14
+ /**** If this file is called directly, abort. ****/
15
+ if ( ! defined( 'WPINC' ) ) {
16
+ die;
17
+ }
18
+
19
+
20
+ /**
21
+ * Function generates the plugin settings page.
22
+ *
23
+ * @since 1.0.1
24
+ */
25
+ function crp_options() {
26
+
27
+ global $wpdb, $crp_url;
28
+
29
+ $crp_settings = crp_read_options();
30
+
31
+ $wp_post_types = get_post_types( array(
32
+ 'public' => true,
33
+ ) );
34
+ parse_str( $crp_settings['post_types'], $post_types );
35
+ $posts_types_inc = array_intersect( $wp_post_types, $post_types );
36
+
37
+ parse_str( $crp_settings['exclude_on_post_types'], $exclude_on_post_types );
38
+ $posts_types_excl = array_intersect( $wp_post_types, $exclude_on_post_types );
39
+
40
+ // Temporary check if default styles are off and rounded thumbnails are selected - will be eventually deprecated
41
+ // This is a mismatch, so we force it to no style
42
+ if ( ( false == $crp_settings['include_default_style'] ) && ( 'rounded_thumbs' == $crp_settings['crp_styles'] ) ) {
43
+ $crp_settings['crp_styles'] = 'no_style';
44
+ update_option( 'ald_crp_settings', $crp_settings );
45
+ }
46
+ if ( ( true == $crp_settings['include_default_style'] ) && ( 'rounded_thumbs' != $crp_settings['crp_styles'] ) ) {
47
+ $crp_settings['crp_styles'] = 'rounded_thumbs';
48
+ update_option( 'ald_crp_settings', $crp_settings );
49
+ }
50
+
51
+ if ( ( isset( $_POST['crp_save'] ) ) && ( check_admin_referer( 'crp-plugin-settings' ) ) ) {
52
+
53
+ /**** General options ***/
54
+ $crp_settings['cache'] = ( isset( $_POST['cache'] ) ? true : false );
55
+ $crp_settings['limit'] = intval( $_POST['limit'] );
56
+ $crp_settings['daily_range'] = intval( $_POST['daily_range'] );
57
+ $crp_settings['match_content'] = ( isset( $_POST['match_content'] ) ? true : false );
58
+ $crp_settings['match_content_words'] = intval( $_POST['match_content_words'] );
59
+
60
+ $crp_settings['add_to_content'] = ( isset( $_POST['add_to_content'] ) ? true : false );
61
+ $crp_settings['add_to_page'] = ( isset( $_POST['add_to_page'] ) ? true : false );
62
+ $crp_settings['add_to_feed'] = ( isset( $_POST['add_to_feed'] ) ? true : false );
63
+ $crp_settings['add_to_home'] = ( isset( $_POST['add_to_home'] ) ? true : false );
64
+ $crp_settings['add_to_category_archives'] = ( isset( $_POST['add_to_category_archives'] ) ? true : false );
65
+ $crp_settings['add_to_tag_archives'] = ( isset( $_POST['add_to_tag_archives'] ) ? true : false );
66
+ $crp_settings['add_to_archives'] = ( isset( $_POST['add_to_archives'] ) ? true : false );
67
+
68
+ $crp_settings['content_filter_priority'] = intval( $_POST['content_filter_priority'] );
69
+ $crp_settings['show_metabox'] = ( isset( $_POST['show_metabox'] ) ? true : false );
70
+ $crp_settings['show_metabox_admins'] = ( isset( $_POST['show_metabox_admins'] ) ? true : false );
71
+ $crp_settings['show_credit'] = ( isset( $_POST['show_credit'] ) ? true : false );
72
+
73
+ /**** Output options ****/
74
+ $crp_settings['title'] = wp_kses_post( $_POST['title'] );
75
+ $crp_settings['blank_output'] = ( ( $_POST['blank_output'] == 'blank' ) ? true : false );
76
+ $crp_settings['blank_output_text'] = wp_kses_post( $_POST['blank_output_text'] );
77
+
78
+ $crp_settings['show_excerpt'] = ( isset( $_POST['show_excerpt'] ) ? true : false );
79
+ $crp_settings['show_date'] = ( isset( $_POST['show_date'] ) ? true : false );
80
+ $crp_settings['show_author'] = ( isset( $_POST['show_author'] ) ? true : false );
81
+ $crp_settings['excerpt_length'] = intval( $_POST['excerpt_length'] );
82
+ $crp_settings['title_length'] = intval( $_POST['title_length'] );
83
+
84
+ $crp_settings['link_new_window'] = ( isset( $_POST['link_new_window'] ) ? true : false );
85
+ $crp_settings['link_nofollow'] = ( isset( $_POST['link_nofollow'] ) ? true : false );
86
+
87
+ $crp_settings['before_list'] = wp_kses_post( $_POST['before_list'] );
88
+ $crp_settings['after_list'] = wp_kses_post( $_POST['after_list'] );
89
+ $crp_settings['before_list_item'] = wp_kses_post( $_POST['before_list_item'] );
90
+ $crp_settings['after_list_item'] = wp_kses_post( $_POST['after_list_item'] );
91
+
92
+ $crp_settings['exclude_on_post_ids'] = $_POST['exclude_on_post_ids'] == '' ? '' : implode( ',', array_map( 'intval', explode( ',', $_POST['exclude_on_post_ids'] ) ) );
93
+ $crp_settings['exclude_post_ids'] = $_POST['exclude_post_ids'] == '' ? '' : implode( ',', array_map( 'intval', explode( ',', $_POST['exclude_post_ids'] ) ) );
94
+
95
+ /**** Thumbnail options ****/
96
+ $crp_settings['post_thumb_op'] = wp_kses_post( $_POST['post_thumb_op'] );
97
+
98
+ $crp_settings['thumb_size'] = $_POST['thumb_size'];
99
+
100
+ if ( 'crp_thumbnail' != $crp_settings['thumb_size'] ) {
101
+ $crp_thumb_size = crp_get_all_image_sizes( $crp_settings['thumb_size'] );
102
+
103
+ $crp_settings['thumb_height'] = intval( $crp_thumb_size['height'] );
104
+ $crp_settings['thumb_width'] = intval( $crp_thumb_size['width'] );
105
+ $crp_settings['thumb_crop'] = $crp_thumb_size['crop'];
106
+ } else {
107
+ $crp_settings['thumb_height'] = intval( $_POST['thumb_height'] );
108
+ $crp_settings['thumb_width'] = intval( $_POST['thumb_width'] );
109
+ $crp_settings['thumb_crop'] = ( isset( $_POST['thumb_crop'] ) ? true : false );
110
+ }
111
+
112
+ $crp_settings['thumb_html'] = $_POST['thumb_html'];
113
+
114
+ $crp_settings['thumb_meta'] = ( '' == $_POST['thumb_meta'] ? 'post-image' : wp_kses_post( $_POST['thumb_meta'] ) );
115
+ $crp_settings['scan_images'] = ( isset( $_POST['scan_images'] ) ? true : false );
116
+ $crp_settings['thumb_default'] = ( ( '' == $_POST['thumb_default'] ) || ( '/default.png' == $_POST['thumb_default'] ) ) ? $crp_url . '/default.png' : $_POST['thumb_default'];
117
+ $crp_settings['thumb_default_show'] = ( isset( $_POST['thumb_default_show'] ) ? true : false );
118
+
119
+ /**** Feed options ****/
120
+ $crp_settings['limit_feed'] = intval( $_POST['limit_feed'] );
121
+ $crp_settings['post_thumb_op_feed'] = wp_kses_post( $_POST['post_thumb_op_feed'] );
122
+ $crp_settings['thumb_height_feed'] = intval( $_POST['thumb_height_feed'] );
123
+ $crp_settings['thumb_width_feed'] = intval( $_POST['thumb_width_feed'] );
124
+ $crp_settings['show_excerpt_feed'] = ( isset( $_POST['show_excerpt_feed'] ) ? true : false );
125
+
126
+ /**** Styles ****/
127
+ $crp_settings['custom_CSS'] = wp_kses_post( $_POST['custom_CSS'] );
128
+
129
+ $crp_settings['crp_styles'] = wp_kses_post( $_POST['crp_styles'] );
130
+
131
+ if ( 'rounded_thumbs' == $crp_settings['crp_styles'] ) {
132
+ $crp_settings['include_default_style'] = true;
133
+ $crp_settings['post_thumb_op'] = 'inline';
134
+ $crp_settings['show_excerpt'] = false;
135
+ $crp_settings['show_author'] = false;
136
+ $crp_settings['show_date'] = false;
137
+ } elseif ( 'text_only' == $crp_settings['crp_styles'] ) {
138
+ $crp_settings['include_default_style'] = false;
139
+ $crp_settings['post_thumb_op'] = 'text_only';
140
+ } else {
141
+ $crp_settings['include_default_style'] = false;
142
+ }
143
+
144
+ /**** Exclude categories ****/
145
+ $exclude_categories_slugs = array_map( 'trim', explode( ',', wp_kses_post( $_POST['exclude_cat_slugs'] ) ) );
146
+ $crp_settings['exclude_cat_slugs'] = implode( ', ', $exclude_categories_slugs );
147
+
148
+ foreach ( $exclude_categories_slugs as $exclude_categories_slug ) {
149
+ $catObj = get_category_by_slug( $exclude_categories_slug );
150
+ if ( isset( $catObj->term_taxonomy_id ) ) { $exclude_categories[] = $catObj->term_taxonomy_id; }
151
+ }
152
+ $crp_settings['exclude_categories'] = ( isset( $exclude_categories ) ) ? join( ',', $exclude_categories ) : '';
153
+
154
+ /**** Post types to include ****/
155
+ $wp_post_types = get_post_types( array(
156
+ 'public' => true,
157
+ ) );
158
+ $post_types_arr = ( isset( $_POST['post_types'] ) && is_array( $_POST['post_types'] ) ) ? $_POST['post_types'] : array( 'post' => 'post' );
159
+ $post_types = array_intersect( $wp_post_types, $post_types_arr );
160
+ $crp_settings['post_types'] = http_build_query( $post_types, '', '&' );
161
+
162
+ /**** Post types to exclude display on ****/
163
+ $post_types_excl_arr = ( isset( $_POST['exclude_on_post_types'] ) && is_array( $_POST['exclude_on_post_types'] ) ) ? $_POST['exclude_on_post_types'] : array();
164
+ $exclude_on_post_types = array_intersect( $wp_post_types, $post_types_excl_arr );
165
+ $crp_settings['exclude_on_post_types'] = http_build_query( $exclude_on_post_types, '', '&' );
166
+
167
+ /**
168
+ * Filters $crp_settings before it is saved into the database
169
+ *
170
+ * @since 2.0.0
171
+ *
172
+ * @param array $crp_settings CRP settings
173
+ * @param array $_POST POST array that consists of the saved settings
174
+ */
175
+ $crp_settings = apply_filters( 'crp_save_options', $crp_settings, $_POST );
176
+
177
+ /**** Update CRP options into the database ****/
178
+ update_option( 'ald_crp_settings', $crp_settings );
179
+ $crp_settings = crp_read_options();
180
+
181
+ parse_str( $crp_settings['post_types'], $post_types );
182
+ $posts_types_inc = array_intersect( $wp_post_types, $post_types );
183
+
184
+ parse_str( $crp_settings['exclude_on_post_types'], $exclude_on_post_types );
185
+ $posts_types_excl = array_intersect( $wp_post_types, $exclude_on_post_types );
186
+
187
+ // Delete the cache
188
+ crp_cache_delete();
189
+
190
+ /* Echo a success message */
191
+ $str = '<div id="message" class="notice is-dismissible updated"><p>'. __( 'Options saved successfully. If enabled, the cache has been cleared.', 'contextual-related-posts' ) . '</p>';
192
+
193
+ if ( 'rounded_thumbs' == $crp_settings['crp_styles'] ) {
194
+ $str .= '<p>'. __( 'Rounded Thumbnails style selected. Author, Excerpt and Date will not be displayed.', 'contextual-related-posts' ) . '</p>';
195
+ }
196
+ if ( 'text_only' == $crp_settings['crp_styles'] ) {
197
+ $str .= '<p>'. __( 'Text Only style selected. Thumbnails will not be displayed.', 'contextual-related-posts' ) . '</p>';
198
+ }
199
+ if ( 'crp_thumbnail' != $crp_settings['thumb_size'] ) {
200
+ $str .= '<p>'. sprintf( __( 'Pre-built thumbnail size selected. Thumbnail set to %d x %d.', 'contextual-related-posts' ), $crp_settings['thumb_width'], $crp_settings['thumb_height'] ) . '</p>';
201
+ }
202
+
203
+ $str .= '</div>';
204
+
205
+ echo $str;
206
+ }
207
+
208
+ if ( ( isset( $_POST['crp_default'] ) ) && ( check_admin_referer( 'crp-plugin-settings' ) ) ) {
209
+ delete_option( 'ald_crp_settings' );
210
+ $crp_settings = crp_default_options();
211
+ update_option( 'ald_crp_settings', $crp_settings );
212
+
213
+ $crp_settings = crp_read_options();
214
+
215
+ $wp_post_types = get_post_types( array(
216
+ 'public' => true,
217
+ ) );
218
+ parse_str( $crp_settings['post_types'], $post_types );
219
+ $posts_types_inc = array_intersect( $wp_post_types, $post_types );
220
+
221
+ parse_str( $crp_settings['exclude_on_post_types'], $exclude_on_post_types );
222
+ $posts_types_excl = array_intersect( $wp_post_types, $exclude_on_post_types );
223
+
224
+ $str = '<div id="message" class="updated fade"><p>'. __( 'Options set to Default.', 'contextual-related-posts' ) .'</p></div>';
225
+ echo $str;
226
+ }
227
+
228
+ if ( ( isset( $_POST['crp_recreate'] ) ) && ( check_admin_referer( 'crp-plugin-settings' ) ) ) {
229
+
230
+ crp_delete_index();
231
+ crp_create_index();
232
+
233
+ $str = '<div id="message" class="updated fade"><p>'. __( 'Index recreated', 'contextual-related-posts' ) .'</p></div>';
234
+ echo $str;
235
+ }
236
+
237
+ /**** Include the views page ****/
238
+ include_once( 'main-view.php' );
239
+ }
240
+
241
+
242
+ /**
243
+ * Add a link under Settings to the plugins settings page.
244
+ *
245
+ * @version 1.0.1
246
+ */
247
+ function crp_adminmenu() {
248
+ $plugin_page = add_options_page(
249
+ 'Contextual Related Posts',
250
+ __( 'Related Posts', 'contextual-related-posts' ),
251
+ 'manage_options',
252
+ 'crp_options',
253
+ 'crp_options'
254
+ );
255
+ add_action( 'admin_head-'. $plugin_page, 'crp_adminhead' );
256
+ }
257
+ add_action( 'admin_menu', 'crp_adminmenu' );
258
+
259
+
260
+ /**
261
+ * Function to add CSS and JS to the Admin header.
262
+ *
263
+ * @since 1.2
264
+ */
265
+ function crp_adminhead() {
266
+ global $crp_url;
267
+ wp_enqueue_script( 'common' );
268
+ wp_enqueue_script( 'wp-lists' );
269
+ wp_enqueue_script( 'postbox' );
270
+ wp_enqueue_script( 'plugin-install' );
271
+
272
+ add_thickbox();
273
+
274
+ ?>
275
+ <style type="text/css">
276
+ .postbox .handlediv:before {
277
+ right:12px;
278
+ font:400 20px/1 dashicons;
279
+ speak:none;
280
+ display:inline-block;
281
+ top:0;
282
+ position:relative;
283
+ -webkit-font-smoothing:antialiased;
284
+ -moz-osx-font-smoothing:grayscale;
285
+ text-decoration:none!important;
286
+ content:'\f142';
287
+ padding:8px 10px;
288
+ }
289
+ .postbox.closed .handlediv:before {
290
+ content: '\f140';
291
+ }
292
+ .wrap h1:before {
293
+ content: "\f237";
294
+ display: inline-block;
295
+ -webkit-font-smoothing: antialiased;
296
+ font: normal 29px/1 'dashicons';
297
+ vertical-align: middle;
298
+ margin-right: 0.3em;
299
+ }
300
+ </style>
301
+
302
+ <script type="text/javascript">
303
+ //<![CDATA[
304
+ jQuery(document).ready( function($) {
305
+ /**** close postboxes that should be closed ****/
306
+ $('.if-js-closed').removeClass('if-js-closed').addClass('closed');
307
+ /**** postboxes setup ****/
308
+ postboxes.add_postbox_toggles('crp_options');
309
+ });
310
+ //]]>
311
+ </script>
312
+
313
+ <link rel="stylesheet" type="text/css" href="<?php echo $crp_url ?>/admin/wick/wick.css" />
314
+ <script type="text/javascript" language="JavaScript">
315
+ //<![CDATA[
316
+ function clearCache() {
317
+ /**** since 2.8 ajaxurl is always defined in the admin header and points to admin-ajax.php ****/
318
+ jQuery.post(ajaxurl, {action: 'crp_clear_cache'}, function(response, textStatus, jqXHR) {
319
+ alert( response.message );
320
+ }, 'json');
321
+ }
322
+
323
+ function checkForm() {
324
+ answer = true;
325
+ if (siw && siw.selectingSomething)
326
+ answer = false;
327
+ return answer;
328
+ }//
329
+
330
+ <?php
331
+ function wick_data() {
332
+ global $wpdb;
333
+
334
+ $categories = get_categories( 'hide_empty=0' );
335
+ $str = 'collection = [';
336
+ foreach ( $categories as $cat ) {
337
+ $str .= "'" . $cat->slug . "',";
338
+ }
339
+ $str = substr( $str, 0, -1 ); // Remove trailing comma
340
+ $str .= '];';
341
+
342
+ echo $str;
343
+ }
344
+ wick_data();
345
+ ?>
346
+ //]]>
347
+ </script>
348
+ <script type="text/javascript" src="<?php echo $crp_url ?>/admin/wick/wick.js"></script>
349
+ <?php
350
+ }
351
+
 
 
 
 
 
admin/cache.php CHANGED
@@ -1,55 +1,53 @@
1
- <?php
2
- /**
3
- * Contextual Related Posts Cache interface.
4
- *
5
- * @package Contextual_Related_Posts
6
- * @author Ajay D'Souza <me@ajaydsouza.com>
7
- * @license GPL-2.0+
8
- * @link https://webberzone.com
9
- * @copyright 2009-2015 Ajay D'Souza
10
- */
11
-
12
- /**
13
- * Function to clear the CRP Cache with Ajax.
14
- *
15
- * @since 1.8.10
16
- *
17
- */
18
- function crp_ajax_clearcache() {
19
-
20
- global $wpdb;
21
-
22
- $meta_keys = crp_cache_get_keys();
23
- $error = false;
24
-
25
- foreach ( $meta_keys as $meta_key ) {
26
-
27
- $count = $wpdb->query( $wpdb->prepare( "
28
- DELETE FROM {$wpdb->postmeta}
29
- WHERE meta_key = %s
30
- ", $meta_key ) );
31
-
32
- if ( false === $count ) {
33
- $error = true;
34
- } else {
35
- $counter[] = $count;
36
- }
37
-
38
- }
39
-
40
- /**** Did an error occur? ****/
41
- if ( $error ) {
42
- exit( json_encode( array(
43
- 'success' => 0,
44
- 'message' => __('An error occurred clearing the cache. Please contact your site administrator.\n\nError message:\n', CRP_LOCAL_NAME) . $wpdb->print_error(),
45
- ) ) );
46
- } else { // No error, return the number of
47
- exit( json_encode( array(
48
- 'success' => 1,
49
- 'message' => ( array_sum( $counter ) ) . __(' cached row(s) cleared', CRP_LOCAL_NAME),
50
- ) ) );
51
- }
52
- }
53
- add_action( 'wp_ajax_crp_clear_cache', 'crp_ajax_clearcache' );
54
-
55
-
1
+ <?php
2
+ /**
3
+ * Contextual Related Posts Cache interface.
4
+ *
5
+ * @package Contextual_Related_Posts
6
+ * @author Ajay D'Souza <me@ajaydsouza.com>
7
+ * @license GPL-2.0+
8
+ * @link https://webberzone.com
9
+ * @copyright 2009-2015 Ajay D'Souza
10
+ */
11
+
12
+ /**
13
+ * Function to clear the CRP Cache with Ajax.
14
+ *
15
+ * @since 1.8.10
16
+ */
17
+ function crp_ajax_clearcache() {
18
+
19
+ global $wpdb;
20
+
21
+ $meta_keys = crp_cache_get_keys();
22
+ $error = false;
23
+
24
+ foreach ( $meta_keys as $meta_key ) {
25
+
26
+ $count = $wpdb->query( $wpdb->prepare( "
27
+ DELETE FROM {$wpdb->postmeta}
28
+ WHERE meta_key = %s
29
+ ", $meta_key ) );
30
+
31
+ if ( false === $count ) {
32
+ $error = true;
33
+ } else {
34
+ $counter[] = $count;
35
+ }
36
+ }
37
+
38
+ /**** Did an error occur? ****/
39
+ if ( $error ) {
40
+ exit( json_encode( array(
41
+ 'success' => 0,
42
+ 'message' => __( 'An error occurred clearing the cache. Please contact your site administrator.\n\nError message:\n', 'contextual-related-posts' ) . $wpdb->print_error(),
43
+ ) ) );
44
+ } else { // No error, return the number of
45
+ exit( json_encode( array(
46
+ 'success' => 1,
47
+ 'message' => ( array_sum( $counter ) ) . __( ' cached row(s) cleared', 'contextual-related-posts' ),
48
+ ) ) );
49
+ }
50
+ }
51
+ add_action( 'wp_ajax_crp_clear_cache', 'crp_ajax_clearcache' );
52
+
53
+
 
 
admin/images/index.php CHANGED
@@ -1 +1 @@
1
- <?php // Silence is golden
1
+ <?php // Silence is golden
admin/index.php CHANGED
@@ -1 +1 @@
1
- <?php // Silence is golden
1
+ <?php // Silence is golden
admin/loader.php CHANGED
@@ -1,74 +1,74 @@
1
- <?php
2
- /**
3
- * Contextual Related Posts Admin Loader.
4
- *
5
- * @package Contextual_Related_Posts
6
- * @author Ajay D'Souza <me@ajaydsouza.com>
7
- * @license GPL-2.0+
8
- * @link https://webberzone.com
9
- * @copyright 2009-2015 Ajay D'Souza
10
- */
11
-
12
-
13
- /**
14
- * Add link to WordPress plugin action links.
15
- *
16
- * @version 1.8.10
17
- *
18
- * @param array $links
19
- * @return array Links array with our settings link added
20
- */
21
- function crp_plugin_actions_links( $links ) {
22
-
23
- return array_merge( array(
24
- 'settings' => '<a href="' . admin_url( 'options-general.php?page=crp_options' ) . '">' . __( 'Settings', CRP_LOCAL_NAME ) . '</a>'
25
- ), $links );
26
-
27
- }
28
- add_filter( 'plugin_action_links_' . plugin_basename( plugin_dir_path( __DIR__ ) . 'contextual-related-posts.php' ), 'crp_plugin_actions_links' );
29
-
30
-
31
- /**
32
- * Add links to the plugin action row.
33
- *
34
- * @since 1.4
35
- *
36
- * @param array $links
37
- * @param array $file
38
- * @return array Links array with our links added
39
- */
40
- function crp_plugin_actions( $links, $file ) {
41
-
42
- $plugin = plugin_basename( plugin_dir_path( __DIR__ ) . 'contextual-related-posts.php' );
43
-
44
- /**** Add links ****/
45
- if ( $file == $plugin ) {
46
- $links[] = '<a href="http://wordpress.org/support/plugin/contextual-related-posts">' . __( 'Support', CRP_LOCAL_NAME ) . '</a>';
47
- $links[] = '<a href="https://ajaydsouza.com/donate/">' . __( 'Donate', CRP_LOCAL_NAME ) . '</a>';
48
- $links[] = '<a href="https://github.com/WebberZone/contextual-related-posts">' . __( 'Contribute', CRP_LOCAL_NAME ) . '</a>';
49
- }
50
- return $links;
51
- }
52
- add_filter( 'plugin_row_meta', 'crp_plugin_actions', 10, 2 ); // only 2.8 and higher
53
-
54
-
55
-
56
- /**
57
- * Function to add a notice to the admin page.
58
- *
59
- * @since 1.8
60
- *
61
- * @return string Echoed string
62
- */
63
- function crp_admin_notice() {
64
- $plugin_settings_page = '<a href="' . admin_url( 'options-general.php?page=crp_options' ) . '">' . __( 'plugin settings page', CRP_LOCAL_NAME ) . '</a>';
65
-
66
- if ( ! current_user_can( 'manage_options' ) ) return;
67
-
68
- echo '<div class="error">
69
- <p>' . __( "Contextual Related Posts plugin has just been installed / upgraded. Please visit the {$plugin_settings_page} to configure.", CRP_LOCAL_NAME ).'</p>
70
- </div>';
71
- }
72
- // add_action( 'admin_notices', 'crp_admin_notice' );
73
-
74
-
1
+ <?php
2
+ /**
3
+ * Contextual Related Posts Admin Loader.
4
+ *
5
+ * @package Contextual_Related_Posts
6
+ * @author Ajay D'Souza <me@ajaydsouza.com>
7
+ * @license GPL-2.0+
8
+ * @link https://webberzone.com
9
+ * @copyright 2009-2015 Ajay D'Souza
10
+ */
11
+
12
+
13
+ /**
14
+ * Add link to WordPress plugin action links.
15
+ *
16
+ * @version 1.8.10
17
+ *
18
+ * @param array $links
19
+ * @return array Links array with our settings link added
20
+ */
21
+ function crp_plugin_actions_links( $links ) {
22
+
23
+ return array_merge( array(
24
+ 'settings' => '<a href="' . admin_url( 'options-general.php?page=crp_options' ) . '">' . __( 'Settings', 'contextual-related-posts' ) . '</a>',
25
+ ), $links );
26
+
27
+ }
28
+ add_filter( 'plugin_action_links_' . plugin_basename( plugin_dir_path( __DIR__ ) . 'contextual-related-posts.php' ), 'crp_plugin_actions_links' );
29
+
30
+
31
+ /**
32
+ * Add links to the plugin action row.
33
+ *
34
+ * @since 1.4
35
+ *
36
+ * @param array $links
37
+ * @param array $file
38
+ * @return array Links array with our links added
39
+ */
40
+ function crp_plugin_actions( $links, $file ) {
41
+
42
+ $plugin = plugin_basename( plugin_dir_path( __DIR__ ) . 'contextual-related-posts.php' );
43
+
44
+ /**** Add links ****/
45
+ if ( $file == $plugin ) {
46
+ $links[] = '<a href="http://wordpress.org/support/plugin/contextual-related-posts">' . __( 'Support', 'contextual-related-posts' ) . '</a>';
47
+ $links[] = '<a href="https://ajaydsouza.com/donate/">' . __( 'Donate', 'contextual-related-posts' ) . '</a>';
48
+ $links[] = '<a href="https://github.com/WebberZone/contextual-related-posts">' . __( 'Contribute', 'contextual-related-posts' ) . '</a>';
49
+ }
50
+ return $links;
51
+ }
52
+ add_filter( 'plugin_row_meta', 'crp_plugin_actions', 10, 2 ); // only 2.8 and higher
53
+
54
+
55
+
56
+ /**
57
+ * Function to add a notice to the admin page.
58
+ *
59
+ * @since 1.8
60
+ *
61
+ * @return string Echoed string
62
+ */
63
+ function crp_admin_notice() {
64
+ $plugin_settings_page = '<a href="' . admin_url( 'options-general.php?page=crp_options' ) . '">' . __( 'plugin settings page', 'contextual-related-posts' ) . '</a>';
65
+
66
+ if ( ! current_user_can( 'manage_options' ) ) { return; }
67
+
68
+ echo '<div class="error">
69
+ <p>' . __( "Contextual Related Posts plugin has just been installed / upgraded. Please visit the {$plugin_settings_page} to configure.", 'contextual-related-posts' ).'</p>
70
+ </div>';
71
+ }
72
+ // add_action( 'admin_notices', 'crp_admin_notice' );
73
+
74
+
admin/main-view.php CHANGED
@@ -29,12 +29,12 @@ if ( ! defined( 'WPINC' ) ) {
29
  do_action( 'crp_admin_nav_bar_before' )
30
  ?>
31
 
32
- <li><a href="#genopdiv"><?php _e( 'General options', CRP_LOCAL_NAME ); ?></a> | </li>
33
- <li><a href="#tuneopdiv"><?php _e( 'List tuning options', CRP_LOCAL_NAME ); ?></a> | </li>
34
- <li><a href="#outputopdiv"><?php _e( 'Output options', CRP_LOCAL_NAME ); ?></a> | </li>
35
- <li><a href="#thumbopdiv"><?php _e( 'Thumbnail options', CRP_LOCAL_NAME ); ?></a> | </li>
36
- <li><a href="#customcssdiv"><?php _e( 'Styles', CRP_LOCAL_NAME ); ?></a> | </li>
37
- <li><a href="#feedopdiv"><?php _e( 'Feed options', CRP_LOCAL_NAME ); ?></a></li>
38
 
39
  <?php
40
  /**
@@ -52,7 +52,7 @@ if ( ! defined( 'WPINC' ) ) {
52
  <form method="post" id="crp_options" name="crp_options" onsubmit="return checkForm()">
53
 
54
  <div id="genopdiv" class="postbox"><div class="handlediv" title="Click to toggle"><br /></div>
55
- <h3 class='hndle'><span><?php _e( 'General options', CRP_LOCAL_NAME ); ?></span></h3>
56
  <div class="inside">
57
 
58
  <table class="form-table">
@@ -68,53 +68,53 @@ if ( ! defined( 'WPINC' ) ) {
68
  do_action( 'crp_admin_general_options_before', $crp_settings );
69
  ?>
70
 
71
- <tr><th scope="row"><label for="cache"><?php _e( 'Cache output?', CRP_LOCAL_NAME ); ?></label></th>
72
- <td><input type="checkbox" name="cache" id="cache" <?php if ( $crp_settings['cache'] ) echo 'checked="checked"' ?> />
73
- <p class="description"><?php _e( 'Enabling this option will cache the related posts output when the post is visited the first time. The cache is cleaned when you save this page.', CRP_LOCAL_NAME ); ?></p>
74
- <p class="description"><?php _e( 'The CRP cache works independently and in addition to any of your caching plugins like WP Super Cache or W3 Total Cache. It is recommended that you enable this on your blog.', CRP_LOCAL_NAME ); ?></p>
75
- <p><input type="button" value="<?php _e( 'Clear cache', CRP_LOCAL_NAME ) ?>" onclick="return clearCache();" class="button-secondary" /></p>
76
  </td>
77
  </tr>
78
 
79
- <tr><th scope="row"><?php _e( 'Automatically add related posts to:', CRP_LOCAL_NAME ); ?></th>
80
  <td>
81
- <label><input type="checkbox" name="add_to_content" id="add_to_content" <?php if ( $crp_settings['add_to_content'] ) echo 'checked="checked"' ?> /> <?php _e( 'Posts', CRP_LOCAL_NAME ); ?></label><br />
82
- <label><input type="checkbox" name="add_to_page" id="add_to_page" <?php if ( $crp_settings['add_to_page'] ) echo 'checked="checked"' ?> /> <?php _e( 'Pages', CRP_LOCAL_NAME ); ?></label><br />
83
- <label><input type="checkbox" name="add_to_home" id="add_to_home" <?php if ( $crp_settings['add_to_home'] ) echo 'checked="checked"' ?> /> <?php _e( 'Home page', CRP_LOCAL_NAME ); ?></label></label><br />
84
- <label><input type="checkbox" name="add_to_feed" id="add_to_feed" <?php if ( $crp_settings['add_to_feed'] ) echo 'checked="checked"' ?> /> <?php _e( 'Feeds', CRP_LOCAL_NAME ); ?></label></label><br />
85
- <label><input type="checkbox" name="add_to_category_archives" id="add_to_category_archives" <?php if ( $crp_settings['add_to_category_archives'] ) echo 'checked="checked"' ?> /> <?php _e( 'Category archives', CRP_LOCAL_NAME ); ?></label><br />
86
- <label><input type="checkbox" name="add_to_tag_archives" id="add_to_tag_archives" <?php if ( $crp_settings['add_to_tag_archives'] ) echo 'checked="checked"' ?> /> <?php _e( 'Tag archives', CRP_LOCAL_NAME ); ?></label></label><br />
87
- <label><input type="checkbox" name="add_to_archives" id="add_to_archives" <?php if ( $crp_settings['add_to_archives'] ) echo 'checked="checked"' ?> /> <?php _e( 'Other archives', CRP_LOCAL_NAME ); ?></label></label>
88
- <p class="description"><?php _e( "If you choose to disable this, please add <code>&lt;?php if ( function_exists( 'echo_ald_crp' ) ) echo_ald_crp(); ?&gt;</code> to your template file where you want it displayed", CRP_LOCAL_NAME ); ?></p>
89
  </td>
90
  </tr>
91
 
92
- <tr><th scope="row"><label for="content_filter_priority"><?php _e( 'Display location priority:', CRP_LOCAL_NAME ); ?></label></th>
93
  <td>
94
  <input type="textbox" name="content_filter_priority" id="content_filter_priority" value="<?php echo esc_attr( stripslashes( $crp_settings['content_filter_priority'] ) ); ?>" />
95
- <p class="description"><?php _e( 'If you select to automatically add the related posts, CRP will hook into the Content Filter at a priority as specified in this option.', CRP_LOCAL_NAME ); ?></p>
96
- <p class="description"><?php _e( 'A higher number will cause the related posts to be processed later and move their display further down after the post content. Any number below 10 is not recommended.', CRP_LOCAL_NAME ); ?></p>
97
  </td>
98
  </tr>
99
 
100
- <tr><th scope="row"><label for="show_metabox"><?php _e( "Show metabox:", CRP_LOCAL_NAME ); ?></label></th>
101
  <td>
102
- <input type="checkbox" name="show_metabox" id="show_metabox" <?php if ( $crp_settings['show_metabox'] ) echo 'checked="checked"' ?> />
103
- <p class="description"><?php _e( 'This will add the Contextual Related Posts metabox on Edit Posts or Add New Posts screens. Also applies to Pages and Custom Post Types.', CRP_LOCAL_NAME ); ?></p>
104
  </td>
105
  </tr>
106
 
107
- <tr><th scope="row"><label for="show_metabox_admins"><?php _e( "Limit metabox to Admins only:", CRP_LOCAL_NAME ); ?></label></th>
108
  <td>
109
- <input type="checkbox" name="show_metabox_admins" id="show_metabox_admins" <?php if ( $crp_settings['show_metabox_admins'] ) echo 'checked="checked"' ?> />
110
- <p class="description"><?php _e( 'If this is selected, the metabox will be hidden from anyone who is not an Admin. Otherwise, by default, Contributors and above will be able to see the metabox. This applies only if the above option is selected.', CRP_LOCAL_NAME ); ?></p>
111
  </td>
112
  </tr>
113
 
114
- <tr><th scope="row"><label for="show_credit"><?php _e( "Tell the world you're using Contextual Related Posts:", CRP_LOCAL_NAME ); ?></label></th>
115
  <td>
116
- <input type="checkbox" name="show_credit" id="show_credit" <?php if ( $crp_settings['show_credit'] ) echo 'checked="checked"' ?> /> <?php _e( ' <em>Optional</em>', CRP_LOCAL_NAME ); ?>
117
- <p class="description"><?php _e( 'Adds a nofollow link to Contextual Related Posts homepage as the last time in the list.', CRP_LOCAL_NAME ); ?></p>
118
  </td>
119
  </tr>
120
 
@@ -132,14 +132,14 @@ if ( ! defined( 'WPINC' ) ) {
132
  </table>
133
 
134
  <p>
135
- <input type="submit" name="crp_save" id="crp_genop_save" value="<?php _e( 'Save Options', CRP_LOCAL_NAME ); ?>" class="button button-primary" />
136
  </p>
137
 
138
  </div> <!-- // inside -->
139
  </div> <!-- // genopdiv -->
140
 
141
  <div id="tuneopdiv" class="postbox"><div class="handlediv" title="Click to toggle"><br /></div>
142
- <h3 class='hndle'><span><?php _e( 'List tuning options', CRP_LOCAL_NAME ); ?></span></h3>
143
  <div class="inside">
144
 
145
  <table class="form-table">
@@ -155,50 +155,50 @@ if ( ! defined( 'WPINC' ) ) {
155
  do_action( 'crp_admin_tuning_options_before', $crp_settings );
156
  ?>
157
 
158
- <tr><th scope="row"><label for="limit"><?php _e( 'Number of related posts to display: ', CRP_LOCAL_NAME ); ?></label></th>
159
  <td>
160
  <input type="textbox" name="limit" id="limit" value="<?php echo esc_attr( stripslashes( $crp_settings['limit'] ) ); ?>">
161
- <p class="description"><?php _e( 'Maximum number of posts that will be displayed. The actual number may be smaller if less related posts are found.', CRP_LOCAL_NAME ); ?></p>
162
  </td>
163
  </tr>
164
 
165
- <tr><th scope="row"><label for="daily_range"><?php _e( 'Related posts should be newer than:', CRP_LOCAL_NAME ); ?></label></th>
166
  <td>
167
- <input type="textbox" name="daily_range" id="daily_range" value="<?php echo esc_attr( stripslashes( $crp_settings['daily_range'] ) ); ?>"><?php _e( 'days', CRP_LOCAL_NAME ); ?>
168
- <p class="description"><?php _e( 'This sets the cutoff period for which posts will be displayed. e.g. setting it to 365 will show related posts from the last year only. Set to 0 to disable limiting posts by date.', CRP_LOCAL_NAME ); ?></p>
169
  </td>
170
  </tr>
171
 
172
- <tr><th scope="row"><label for="match_content"><?php _e( 'Find related posts based on content as well as title:', CRP_LOCAL_NAME ); ?></label></th>
173
- <td><input type="checkbox" name="match_content" id="match_content" <?php if ( $crp_settings['match_content'] ) echo 'checked="checked"' ?> />
174
- <p class="description"><?php _e( 'If unchecked, only posts titles are used. I recommend using a caching plugin or enabling "Cache output" above if you enable this. Each site is different, so toggle this option to see which setting gives you better quality related posts.', CRP_LOCAL_NAME ); ?></p>
175
  </td>
176
  </tr>
177
 
178
- <tr><th scope="row"><label for="match_content_words"><?php _e( 'Limit content to be compared:', CRP_LOCAL_NAME ); ?></label></th>
179
- <td><input type="textbox" name="match_content_words" id="match_content_words" value="<?php echo esc_attr(stripslashes($crp_settings['match_content_words'])); ?>">
180
- <p class="description"><?php _e( 'This sets the maximum words of the content that will be matched. Set to 0 for no limit. Only applies if you active the above option.', CRP_LOCAL_NAME ); ?></p>
181
  </td>
182
  </tr>
183
 
184
- <tr><th scope="row"><?php _e( 'Post types to include in results:', CRP_LOCAL_NAME ); ?></th>
185
  <td>
186
  <?php foreach ( $wp_post_types as $wp_post_type ) { ?>
187
  <label>
188
  <input type="checkbox" name="post_types[]" value="<?php echo $wp_post_type; ?>" <?php if ( in_array( $wp_post_type, $posts_types_inc ) ) { echo ' checked="checked" '; } ?> /><?php echo $wp_post_type; ?>
189
  </label>&nbsp;&nbsp;
190
  <?php } ?>
191
- <p class="description"><?php _e( 'These post types will be displayed in the list. Includes custom post types.', CRP_LOCAL_NAME ); ?></p>
192
  </td>
193
  </tr>
194
 
195
- <tr><th scope="row"><label for="exclude_post_ids"><?php _e( 'List of post or page IDs to exclude from the results:', CRP_LOCAL_NAME ); ?></label></th>
196
  <td><input type="textbox" name="exclude_post_ids" id="exclude_post_ids" value="<?php echo esc_attr( stripslashes( $crp_settings['exclude_post_ids'] ) ); ?>" style="width:250px">
197
- <p class="description"><?php _e( 'Comma separated list of post, page or custom post type IDs. e.g. 188,320,500', CRP_LOCAL_NAME ); ?></p>
198
  </td>
199
  </tr>
200
 
201
- <tr><th scope="row"><label for="exclude_cat_slugs"><?php _e( 'Categories to exclude from the results: ', CRP_LOCAL_NAME ); ?></label></th>
202
  <td>
203
  <div style="position:relative;text-align:left">
204
  <table id="MYCUSTOMFLOATER" class="myCustomFloater" style="position:absolute;top:50px;left:0;background-color:#cecece;display:none;visibility:hidden">
@@ -210,8 +210,18 @@ if ( ! defined( 'WPINC' ) ) {
210
  </table>
211
  <textarea class="wickEnabled:MYCUSTOMFLOATER" cols="50" rows="3" wrap="virtual" name="exclude_cat_slugs"><?php echo ( stripslashes( $crp_settings['exclude_cat_slugs'] ) ); ?></textarea>
212
  </div>
213
- <p class="description"><?php _e( 'Comma separated list of category slugs. The field above has an autocomplete so simply start typing in the beginning of your category name and it will prompt you with options.', CRP_LOCAL_NAME ); ?></p>
214
- <p class="description highlight"><?php _e( "Excluded category IDs are:", CRP_LOCAL_NAME ); echo " " . $crp_settings['exclude_categories']; ?></p>
 
 
 
 
 
 
 
 
 
 
215
  </td>
216
  </tr>
217
 
@@ -229,14 +239,14 @@ if ( ! defined( 'WPINC' ) ) {
229
  </table>
230
 
231
  <p>
232
- <input type="submit" name="crp_save" id="crp_tuneop_save" value="<?php _e( 'Save Options', CRP_LOCAL_NAME ); ?>" class="button button-primary" />
233
  </p>
234
 
235
  </div> <!-- // inside -->
236
  </div> <!-- // tuneopdiv -->
237
 
238
  <div id="outputopdiv" class="postbox"><div class="handlediv" title="Click to toggle"><br /></div>
239
- <h3 class='hndle'><span><?php _e( 'Output options', CRP_LOCAL_NAME ); ?></span></h3>
240
  <div class="inside">
241
 
242
  <table class="form-table">
@@ -252,83 +262,83 @@ if ( ! defined( 'WPINC' ) ) {
252
  do_action( 'crp_admin_output_options_before', $crp_settings );
253
  ?>
254
 
255
- <tr><th scope="row"><label for="title"><?php _e( 'Title of related posts:', CRP_LOCAL_NAME ); ?></label></th>
256
  <td>
257
  <input type="textbox" name="title" id="title" value="<?php echo esc_attr( stripslashes( $crp_settings['title'] ) ); ?>" style="width:250px" />
258
- <p class="description"><?php _e( 'This is the main heading of the related posts. You can also display the current post title by using <code>%postname%</code>. e.g. <code>Related Posts to %postname%</code>', CRP_LOCAL_NAME ); ?></p>
259
  </td>
260
  </tr>
261
 
262
- <tr><th scope="row"><label for="blank_output"><?php _e( 'When there are no posts, what should be shown?', CRP_LOCAL_NAME ); ?></label></th>
263
  <td>
264
  <label>
265
- <input type="radio" name="blank_output" value="blank" id="blank_output_0" <?php if ( $crp_settings['blank_output'] ) echo 'checked="checked"' ?> />
266
- <?php _e( 'Blank Output', CRP_LOCAL_NAME ); ?>
267
  </label>
268
  <br />
269
  <label>
270
- <input type="radio" name="blank_output" value="customs" id="blank_output_1" <?php if ( ! $crp_settings['blank_output'] ) echo 'checked="checked"' ?> />
271
- <?php _e( 'Display:', CRP_LOCAL_NAME ); ?>
272
  </label>
273
  <input type="textbox" name="blank_output_text" id="blank_output_text" value="<?php echo esc_attr( stripslashes( $crp_settings['blank_output_text'] ) ); ?>" style="width:250px" />
274
  </td>
275
  </tr>
276
 
277
- <tr><th scope="row"><label for="show_excerpt"><?php _e( 'Show post excerpt in list?', CRP_LOCAL_NAME ); ?></label></th>
278
  <td>
279
- <input type="checkbox" name="show_excerpt" id="show_excerpt" <?php if ( $crp_settings['show_excerpt'] ) echo 'checked="checked"' ?> />
280
- <p class="description"><?php printf( __( "Displays the excerpt of the post. If you do not provide an explicit excerpt to a post (in the post editor's optional excerpt field), it will display an automatic excerpt which refers to the first %d words of the post's content", CRP_LOCAL_NAME ), $crp_settings['excerpt_length'] ); ?></p>
281
 
282
  <?php if ( 'rounded_thumbs' == $crp_settings['crp_styles'] ) { ?>
283
- <p style="color: #F00"><?php _e( "Rounded Thumbnails style selected under the Custom Styles. Excerpt display is disabled.", CRP_LOCAL_NAME ); ?></p>
284
  <?php } ?>
285
  </td>
286
  </tr>
287
 
288
- <tr><th scope="row"><label for="excerpt_length"><?php _e( 'Length of excerpt (in words):', CRP_LOCAL_NAME ); ?></label></th>
289
  <td>
290
  <input type="textbox" name="excerpt_length" id="excerpt_length" value="<?php echo stripslashes( $crp_settings['excerpt_length'] ); ?>" />
291
  </td>
292
  </tr>
293
 
294
- <tr><th scope="row"><label for="show_author"><?php _e( 'Show post author in list?', CRP_LOCAL_NAME ); ?></label></th>
295
  <td>
296
- <input type="checkbox" name="show_author" id="show_author" <?php if ( $crp_settings['show_author'] ) echo 'checked="checked"' ?> />
297
- <p class="description"><?php _e( 'Displays the author name prefixed with "by". e.g. by John Doe', CRP_LOCAL_NAME ); ?></p>
298
 
299
  <?php if ( 'rounded_thumbs' == $crp_settings['crp_styles'] ) { ?>
300
- <p style="color: #F00"><?php _e( "Rounded Thumbnails style selected under the Custom Styles. Author display is disabled.", CRP_LOCAL_NAME ); ?></p>
301
  <?php } ?>
302
  </td>
303
  </tr>
304
 
305
- <tr><th scope="row"><label for="show_date"><?php _e( 'Show post date in list?', CRP_LOCAL_NAME ); ?></label></th>
306
  <td>
307
- <input type="checkbox" name="show_date" id="show_date" <?php if ( $crp_settings['show_date'] ) echo 'checked="checked"' ?> />
308
- <p class="description"><?php _e( "Displays the date of the post. Uses the same date format set in General Options", CRP_LOCAL_NAME ); ?></p>
309
 
310
  <?php if ( 'rounded_thumbs' == $crp_settings['crp_styles'] ) { ?>
311
- <p style="color: #F00"><?php _e( "Rounded Thumbnails style selected under the Custom Styles. Date display is disabled.", CRP_LOCAL_NAME ); ?></p>
312
  <?php } ?>
313
  </td>
314
  </tr>
315
 
316
- <tr><th scope="row"><label for="title_length"><?php _e( 'Limit post title length (in characters)', CRP_LOCAL_NAME ); ?></label></th>
317
  <td>
318
  <input type="textbox" name="title_length" id="title_length" value="<?php echo stripslashes( $crp_settings['title_length'] ); ?>" />
319
- <p class="description"><?php _e( "Any title longer than the number of characters set above will be cut and appended with an ellipsis (&hellip;)", CRP_LOCAL_NAME ); ?></p>
320
  </td>
321
  </tr>
322
 
323
- <tr><th scope="row"><label for="link_new_window"><?php _e( 'Open links in new window', CRP_LOCAL_NAME ); ?></label></th>
324
  <td>
325
- <input type="checkbox" name="link_new_window" id="link_new_window" <?php if ( $crp_settings['link_new_window'] ) echo 'checked="checked"' ?> /
326
  ></td>
327
  </tr>
328
 
329
- <tr><th scope="row"><label for="link_nofollow"><?php _e( 'Add nofollow attribute to links in the list', CRP_LOCAL_NAME ); ?></label></th>
330
  <td>
331
- <input type="checkbox" name="link_nofollow" id="link_nofollow" <?php if ( $crp_settings['link_nofollow'] ) echo 'checked="checked"' ?> />
332
  </td>
333
  </tr>
334
 
@@ -359,22 +369,22 @@ if ( ! defined( 'WPINC' ) ) {
359
  ?>
360
 
361
  <tr>
362
- <th scope="row" colspan="2" style="background: #eee; padding-left: 5px;"><?php _e( 'Exclusion settings:', CRP_LOCAL_NAME ); ?></th>
363
  </tr>
364
- <tr><th scope="row"><label for="exclude_on_post_ids"><?php _e( 'Exclude display of related posts on these posts / pages', CRP_LOCAL_NAME ); ?></label></th>
365
  <td>
366
  <input type="textbox" name="exclude_on_post_ids" id="exclude_on_post_ids" value="<?php echo esc_attr( stripslashes( $crp_settings['exclude_on_post_ids'] ) ); ?>" style="width:250px">
367
- <p class="description"><?php _e( 'Comma separated list of post, page or custom post type IDs. e.g. 188,320,500', CRP_LOCAL_NAME ); ?></p>
368
  </td>
369
  </tr>
370
- <tr><th scope="row"><?php _e( 'Exclude display of related posts on these post types.', CRP_LOCAL_NAME ); ?></th>
371
  <td>
372
  <?php foreach ( $wp_post_types as $wp_post_type ) { ?>
373
  <label>
374
  <input type="checkbox" name="exclude_on_post_types[]" value="<?php echo $wp_post_type; ?>" <?php if ( in_array( $wp_post_type, $posts_types_excl ) ) { echo ' checked="checked" '; } ?> /><?php echo $wp_post_type; ?>
375
  </label>&nbsp;&nbsp;
376
  <?php } ?>
377
- <p class="description"><?php _e( 'The related posts will not display on any of the above selected post types', CRP_LOCAL_NAME ); ?></p>
378
  </td>
379
  </tr>
380
 
@@ -404,18 +414,18 @@ if ( ! defined( 'WPINC' ) ) {
404
  do_action( 'crp_admin_customize_options_before', $crp_settings );
405
  ?>
406
 
407
- <tr><th scope="row" colspan="2" style="background: #eee; padding-left: 5px;"><?php _e( 'Customize the output:', CRP_LOCAL_NAME ); ?></th>
408
  </tr>
409
- <tr><th scope="row"><label for="before_list"><?php _e( 'HTML to display before the list of posts: ', CRP_LOCAL_NAME ); ?></label></th>
410
  <td><input type="textbox" name="before_list" id="before_list" value="<?php echo esc_attr( stripslashes( $crp_settings['before_list'] ) ); ?>" style="width:250px" /></td>
411
  </tr>
412
- <tr><th scope="row"><label for="before_list_item"><?php _e( 'HTML to display before each list item: ', CRP_LOCAL_NAME ); ?></label></th>
413
  <td><input type="textbox" name="before_list_item" id="before_list_item" value="<?php echo esc_attr( stripslashes( $crp_settings['before_list_item'] ) ); ?>" style="width:250px" /></td>
414
  </tr>
415
- <tr><th scope="row"><label for="after_list_item"><?php _e( 'HTML to display after each list item: ', CRP_LOCAL_NAME ); ?></label></th>
416
  <td><input type="textbox" name="after_list_item" id="after_list_item" value="<?php echo esc_attr( stripslashes( $crp_settings['after_list_item'] ) ); ?>" style="width:250px" /></td>
417
  </tr>
418
- <tr><th scope="row"><label for="after_list"><?php _e( 'HTML to display after the list of posts: ', CRP_LOCAL_NAME ); ?></label></th>
419
  <td><input type="textbox" name="after_list" id="after_list" value="<?php echo esc_attr( stripslashes( $crp_settings['after_list'] ) ); ?>" style="width:250px" /></td>
420
  </tr>
421
 
@@ -433,14 +443,14 @@ if ( ! defined( 'WPINC' ) ) {
433
  </table>
434
 
435
  <p>
436
- <input type="submit" name="crp_save" id="crp_outputop_save" value="<?php _e( 'Save Options', CRP_LOCAL_NAME ); ?>" class="button button-primary" />
437
  </p>
438
 
439
  </div> <!-- // inside -->
440
  </div> <!-- // outputopdiv -->
441
 
442
  <div id="thumbopdiv" class="postbox"><div class="handlediv" title="Click to toggle"><br /></div>
443
- <h3 class='hndle'><span><?php _e( 'Thumbnail options', CRP_LOCAL_NAME ); ?></span></h3>
444
  <div class="inside">
445
 
446
  <table class="form-table">
@@ -456,46 +466,46 @@ if ( ! defined( 'WPINC' ) ) {
456
  do_action( 'crp_admin_thumb_options_before', $crp_settings );
457
  ?>
458
 
459
- <tr><th scope="row"><label for="post_thumb_op"><?php _e( 'Location of post thumbnail:', CRP_LOCAL_NAME ); ?></label></th>
460
  <td>
461
  <label>
462
- <input type="radio" name="post_thumb_op" value="inline" id="post_thumb_op_0" <?php if ( 'inline' == $crp_settings['post_thumb_op'] ) echo 'checked="checked"' ?> />
463
- <?php _e( 'Display thumbnails inline with posts, before title', CRP_LOCAL_NAME ); ?></label>
464
  <br />
465
  <label>
466
- <input type="radio" name="post_thumb_op" value="after" id="post_thumb_op_1" <?php if ( 'after' == $crp_settings['post_thumb_op'] ) echo 'checked="checked"' ?> />
467
- <?php _e( 'Display thumbnails inline with posts, after title', CRP_LOCAL_NAME ); ?></label>
468
  <br />
469
  <label>
470
- <input type="radio" name="post_thumb_op" value="thumbs_only" id="post_thumb_op_2" <?php if ( 'thumbs_only' == $crp_settings['post_thumb_op'] ) echo 'checked="checked"' ?> />
471
- <?php _e( 'Display only thumbnails, no text', CRP_LOCAL_NAME ); ?></label>
472
  <br />
473
  <label>
474
- <input type="radio" name="post_thumb_op" value="text_only" id="post_thumb_op_3" <?php if ( 'text_only' == $crp_settings['post_thumb_op'] ) echo 'checked="checked"' ?> />
475
- <?php _e( 'Do not display thumbnails, only text.', CRP_LOCAL_NAME ); ?></label>
476
 
477
  <?php if ( 'no_style' != $crp_settings['crp_styles'] ) { ?>
478
- <p style="color: #F00"><?php _e( "This setting cannot be changed because an inbuilt style has been selected under the Styles section. If you would like to change this option, please select <strong>No styles</strong> under the Styles section.", CRP_LOCAL_NAME ); ?></p>
479
  <?php } ?>
480
  </td>
481
  </tr>
482
- <tr><th scope="row"><?php _e( 'Thumbnail size:', CRP_LOCAL_NAME ); ?></th>
483
  <td>
484
  <?php
485
  $crp_get_all_image_sizes = crp_get_all_image_sizes();
486
- if ( isset( $crp_get_all_image_sizes['crp_thumbnail'] ) ) {
487
- unset( $crp_get_all_image_sizes['crp_thumbnail'] );
488
- }
489
 
490
- foreach( $crp_get_all_image_sizes as $size ) :
491
  ?>
492
- <label>
493
- <input type="radio" name="thumb_size" value="<?php echo $size['name'] ?>" id="<?php echo $size['name'] ?>" <?php if ( $crp_settings['thumb_size'] == $size['name'] ) echo 'checked="checked"' ?> />
494
- <?php echo $size['name']; ?> ( <?php echo $size['width']; ?>x<?php echo $size['height']; ?>
495
- <?php
496
- if ( $size['crop'] ) {
497
- echo "cropped";
498
- }
499
  ?>
500
  )
501
  </label>
@@ -503,72 +513,74 @@ if ( ! defined( 'WPINC' ) ) {
503
  <?php endforeach; ?>
504
 
505
  <label>
506
- <input type="radio" name="thumb_size" value="crp_thumbnail" id="crp_thumbnail" <?php if ( $crp_settings['thumb_size'] == 'crp_thumbnail' ) echo 'checked="checked"' ?> /> <?php _e( 'Custom size', CRP_LOCAL_NAME ); ?>
507
  </label>
508
  <p class="description">
509
- <?php _e( 'You can choose from existing image sizes above or create a custom size.', CRP_LOCAL_NAME ); ?><br /><br />
510
- <?php _e( 'If you choose an existing size, then the width, height and crop mode settings in the three options below will be automatically updated to reflect the correct dimensions of the setting.', CRP_LOCAL_NAME ); ?><br />
511
- <?php _e( "If you have chosen Custom size above, then enter the width, height and crop settings below. For best results, use a cropped image with the same width and height. The default setting is 150x150 cropped image.", CRP_LOCAL_NAME ); ?><br /><br />
512
- <?php _e( "Any changes to the thumbnail settings doesn't automatically resize existing images.", CRP_LOCAL_NAME ); ?>
513
- <?php printf( __( "I recommend using <a href='%s' class='thickbox'>OTF Regenerate Thumbnails</a> or <a href='%s' class='thickbox'>Regenerate Thumbnails</a> to regenerate all image sizes.", CRP_LOCAL_NAME ), self_admin_url( 'plugin-install.php?tab=plugin-information&amp;plugin=otf-regenerate-thumbnails&amp;TB_iframe=true&amp;width=600&amp;height=550' ), self_admin_url( 'plugin-install.php?tab=plugin-information&amp;plugin=regenerate-thumbnails&amp;TB_iframe=true&amp;width=600&amp;height=550' ) ); ?>
514
  </p>
515
  </td>
516
  </tr>
517
- <tr><th scope="row"><label for="thumb_width"><?php _e( 'Width of the thumbnail:', CRP_LOCAL_NAME ); ?></label></th>
518
  <td><input type="textbox" name="thumb_width" id="thumb_width" value="<?php echo esc_attr( stripslashes( $crp_settings['thumb_width'] ) ); ?>" style="width:50px" />px</td>
519
  </tr>
520
- <tr><th scope="row"><label for="thumb_height"><?php _e( 'Height of the thumbnail: ', CRP_LOCAL_NAME ); ?></label></th>
521
  <td>
522
  <input type="textbox" name="thumb_height" id="thumb_height" value="<?php echo esc_attr( stripslashes( $crp_settings['thumb_height'] ) ); ?>" style="width:50px" />px
523
  </td>
524
  </tr>
525
- <tr><th scope="row"><label for="thumb_crop"><?php _e( 'Crop mode:', CRP_LOCAL_NAME ); ?></label></th>
526
  <td>
527
- <input type="checkbox" name="thumb_crop" id="thumb_crop" <?php if ( $crp_settings['thumb_crop'] ) echo 'checked="checked"' ?> />
528
  <p class="description">
529
- <?php _e( "By default, thumbnails will be hard cropped. Uncheck this box to proportionately/soft crop the thumbnails.", CRP_LOCAL_NAME ); ?>
530
- <?php printf( __( "<a href='%s' target='_blank'>Difference between soft and hard crop</a>", CRP_LOCAL_NAME ), 'http://www.davidtan.org/wordpress-hard-crop-vs-soft-crop-difference-comparison-example/' ); ?>
531
  </p>
532
  </td>
533
  </tr>
534
- <tr><th scope="row"><label for="thumb_html"><?php _e( 'Image size attributes:', CRP_LOCAL_NAME ); ?></label></th>
535
  <td>
536
  <label>
537
- <input type="radio" name="thumb_html" value="css" id="thumb_html_0" <?php if ( 'css' == $crp_settings['thumb_html'] ) echo 'checked="checked"' ?> />
538
- <?php _e( 'Style attributes are used for width and height.', CRP_LOCAL_NAME ); echo ' <code>style="max-width:' . $crp_settings['thumb_width'] . 'px;max-height:' . $crp_settings['thumb_height'] . 'px;"</code>'; ?>
 
539
  </label>
540
  <br />
541
  <label>
542
- <input type="radio" name="thumb_html" value="html" id="thumb_html_1" <?php if ( 'html' == $crp_settings['thumb_html'] ) echo 'checked="checked"' ?> />
543
- <?php _e( 'HTML width and height attributes are used for width and height.', CRP_LOCAL_NAME ); echo ' <code>width="' . $crp_settings['thumb_width'] . '" height="' . $crp_settings['thumb_height'] . '"</code>'; ?>
 
544
  </label>
545
  <br />
546
  <label>
547
- <input type="radio" name="thumb_html" value="none" id="thumb_html_1" <?php if ( 'none' == $crp_settings['thumb_html'] ) echo 'checked="checked"' ?> />
548
- <?php _e( 'No HTML or Style attributes set for width and height', CRP_LOCAL_NAME ); ?>
549
  </label>
550
  <br />
551
  </td>
552
  </tr>
553
- <tr><th scope="row"><label for="thumb_meta"><?php _e( 'Post thumbnail meta field name:', CRP_LOCAL_NAME ); ?></label></th>
554
  <td><input type="textbox" name="thumb_meta" id="thumb_meta" value="<?php echo esc_attr( stripslashes( $crp_settings['thumb_meta'] ) ); ?>">
555
- <p class="description"><?php _e( 'The value of this field should contain a direct link to the image. This is set in the meta box in the <em>Add New Post</em> screen.', CRP_LOCAL_NAME ); ?></p>
556
  </td>
557
  </tr>
558
- <tr><th scope="row"><label for="scan_images"><?php _e( 'Extract the first image from the post?', CRP_LOCAL_NAME ); ?></label></th>
559
- <td><input type="checkbox" name="scan_images" id="scan_images" <?php if ( $crp_settings['scan_images'] ) echo 'checked="checked"' ?> />
560
- <p class="description"><?php _e( 'This will only happen if there is no post thumbnail set and no image URL is specified in the meta field.', CRP_LOCAL_NAME ); ?></p>
561
  </td>
562
  </tr>
563
- <tr><th scope="row"><label for="thumb_default_show"><?php _e( 'Use default thumbnail?', CRP_LOCAL_NAME ); ?></label></th>
564
- <td><input type="checkbox" name="thumb_default_show" id="thumb_default_show" <?php if ( $crp_settings['thumb_default_show'] ) echo 'checked="checked"' ?> />
565
- <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.', CRP_LOCAL_NAME ); ?></p>
566
  </td>
567
  </tr>
568
- <tr><th scope="row"><label for="thumb_default"><?php _e( 'Default thumbnail:', CRP_LOCAL_NAME ); ?></label></th>
569
  <td><input type="textbox" name="thumb_default" id="thumb_default" value="<?php echo esc_attr( stripslashes( $crp_settings['thumb_default'] ) ); ?>" style="width:100%">
570
- <?php if( '' != $crp_settings['thumb_default'] ) echo "<img src='{$crp_settings['thumb_default']}' style='max-width:200px' />"; ?>
571
- <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.", CRP_LOCAL_NAME ); ?></p>
572
  </td>
573
  </tr>
574
 
@@ -586,14 +598,14 @@ if ( ! defined( 'WPINC' ) ) {
586
  </table>
587
 
588
  <p>
589
- <input type="submit" name="crp_save" id="crp_thumbop_save" value="<?php _e( 'Save Options', CRP_LOCAL_NAME ); ?>" class="button button-primary" />
590
  </p>
591
 
592
  </div> <!-- // inside -->
593
  </div> <!-- // outputopdiv -->
594
 
595
  <div id="customcssdiv" class="postbox"><div class="handlediv" title="Click to toggle"><br /></div>
596
- <h3 class='hndle'><span><?php _e( 'Styles', CRP_LOCAL_NAME ); ?></span></h3>
597
  <div class="inside">
598
 
599
  <table class="form-table">
@@ -609,26 +621,26 @@ if ( ! defined( 'WPINC' ) ) {
609
  do_action( 'crp_admin_custom_styles_before', $crp_settings );
610
  ?>
611
 
612
- <tr><th scope="row"><?php _e( 'Style of the related posts:', CRP_LOCAL_NAME ); ?></th>
613
  <td>
614
  <label>
615
- <input type="radio" name="crp_styles" value="no_style" id="crp_styles_1" <?php if ( 'no_style' == $crp_settings['crp_styles'] ) echo 'checked="checked"' ?> /> <?php _e( 'No styles', CRP_LOCAL_NAME ); ?>
616
  </label>
617
- <p class="description"><?php _e( 'Select this option if you plan to add your own styles', CRP_LOCAL_NAME ); ?></p>
618
  <br />
619
 
620
  <label>
621
- <input type="radio" name="crp_styles" value="rounded_thumbs" id="crp_styles_0" <?php if ( $crp_settings['include_default_style'] && ( 'rounded_thumbs' == $crp_settings['crp_styles'] ) ) echo 'checked="checked"' ?> /> <?php _e( 'Rounded Thumbnails', CRP_LOCAL_NAME ); ?>
622
  </label>
623
  <p class="description"><img src="<?php echo plugins_url( 'admin/images/crp-rounded-thumbs.png', dirname( __FILE__ ) ); ?>" /></p>
624
- <p class="description"><?php _e( 'Enabling this option will turn on the thumbnails and set their width and height to 150px. It will also turn off the display of the author, excerpt and date if already enabled. Disabling this option will not revert any settings.', CRP_LOCAL_NAME ); ?></p>
625
- <p class="description"><?php printf( __( 'You can view the default style at <a href="%1$s" target="_blank">%1$s</a>', CRP_LOCAL_NAME ), esc_url( 'https://github.com/WebberZone/contextual-related-posts/blob/master/css/default-style.css' ) ); ?></p>
626
  <br />
627
 
628
  <label>
629
- <input type="radio" name="crp_styles" value="text_only" id="crp_styles_1" <?php if ( 'text_only' == $crp_settings['crp_styles'] ) echo 'checked="checked"' ?> /> <?php _e( 'Text only', CRP_LOCAL_NAME ); ?>
630
  </label>
631
- <p class="description"><?php _e( 'Enabling this option will disable thumbnails and no longer include the default style sheet included in the plugin.', CRP_LOCAL_NAME ); ?></p>
632
 
633
  <?php
634
  /**
@@ -643,11 +655,11 @@ if ( ! defined( 'WPINC' ) ) {
643
 
644
  </td>
645
  </tr>
646
- <tr><th scope="row" colspan="2"><?php _e( 'Custom CSS to add to header:', CRP_LOCAL_NAME ); ?></th>
647
  </tr>
648
  <tr>
649
  <td scope="row" colspan="2"><textarea name="custom_CSS" id="custom_CSS" rows="15" cols="80" style="width:100%"><?php echo stripslashes( $crp_settings['custom_CSS'] ); ?></textarea>
650
- <p class="description"><?php _e( 'Do not include <code>style</code> tags. Check out the <a href="http://wordpress.org/extend/plugins/contextual-related-posts/faq/" target="_blank">FAQ</a> for available CSS classes to style.', CRP_LOCAL_NAME ); ?></p>
651
  </td></tr>
652
 
653
  <?php
@@ -664,14 +676,14 @@ if ( ! defined( 'WPINC' ) ) {
664
  </table>
665
 
666
  <p>
667
- <input type="submit" name="crp_save" id="crp_customcss_save" value="<?php _e( 'Save Options', CRP_LOCAL_NAME ); ?>" class="button button-primary" />
668
  </p>
669
 
670
  </div> <!-- // inside -->
671
  </div> <!-- // customcssdiv -->
672
 
673
  <div id="feedopdiv" class="postbox"><div class="handlediv" title="Click to toggle"><br /></div>
674
- <h3 class='hndle'><span><?php _e( 'Feed options', CRP_LOCAL_NAME ); ?></span></h3>
675
  <div class="inside">
676
 
677
  <table class="form-table">
@@ -687,38 +699,38 @@ if ( ! defined( 'WPINC' ) ) {
687
  do_action( 'crp_admin_feed_options_before', $crp_settings );
688
  ?>
689
 
690
- <tr><th scope="row" colspan="2"><?php _e( 'Below options override the related posts settings for your blog feed. These only apply if you have selected to add related posts to Feeds in the General Options tab.', CRP_LOCAL_NAME ); ?></th>
691
  </tr>
692
- <tr><th scope="row"><label for="limit_feed"><?php _e( 'Number of related posts to display: ', CRP_LOCAL_NAME ); ?></label></th>
693
  <td><input type="textbox" name="limit_feed" id="limit_feed" value="<?php echo esc_attr( stripslashes( $crp_settings['limit_feed'] ) ); ?>"></td>
694
  </tr>
695
- <tr><th scope="row"><label for="show_excerpt_feed"><?php _e( 'Show post excerpt in list?', CRP_LOCAL_NAME ); ?></label></th>
696
- <td><input type="checkbox" name="show_excerpt_feed" id="show_excerpt_feed" <?php if ( $crp_settings['show_excerpt_feed'] ) echo 'checked="checked"' ?> /></td>
697
  </tr>
698
- <tr><th scope="row"><label for="post_thumb_op_feed"><?php _e( 'Location of post thumbnail:', CRP_LOCAL_NAME ); ?></label></th>
699
  <td>
700
  <label>
701
- <input type="radio" name="post_thumb_op_feed" value="inline" id="post_thumb_op_feed_0" <?php if ( 'inline' == $crp_settings['post_thumb_op_feed'] ) echo 'checked="checked"' ?> />
702
- <?php _e( 'Display thumbnails inline with posts, before title', CRP_LOCAL_NAME ); ?></label>
703
  <br />
704
  <label>
705
- <input type="radio" name="post_thumb_op_feed" value="after" id="post_thumb_op_feed_1" <?php if ( 'after' == $crp_settings['post_thumb_op_feed'] ) echo 'checked="checked"' ?> />
706
- <?php _e( 'Display thumbnails inline with posts, after title', CRP_LOCAL_NAME ); ?></label>
707
  <br />
708
  <label>
709
- <input type="radio" name="post_thumb_op_feed" value="thumbs_only" id="post_thumb_op_feed_2" <?php if ( 'thumbs_only' == $crp_settings['post_thumb_op_feed'] ) echo 'checked="checked"' ?> />
710
- <?php _e( 'Display only thumbnails, no text', CRP_LOCAL_NAME ); ?></label>
711
  <br />
712
  <label>
713
- <input type="radio" name="post_thumb_op_feed" value="text_only" id="post_thumb_op_feed_3" <?php if ( 'text_only' == $crp_settings['post_thumb_op_feed'] ) echo 'checked="checked"' ?> />
714
- <?php _e( 'Do not display thumbnails, only text.', CRP_LOCAL_NAME ); ?></label>
715
  <br />
716
  </td>
717
  </tr>
718
- <tr><th scope="row"><label for="thumb_width_feed"><?php _e( 'Maximum width of the thumbnail: ', CRP_LOCAL_NAME ); ?></label></th>
719
  <td><input type="textbox" name="thumb_width_feed" id="thumb_width_feed" value="<?php echo esc_attr( stripslashes( $crp_settings['thumb_width_feed'] ) ); ?>" style="width:50px" />px</td>
720
  </tr>
721
- <tr><th scope="row"><label for="thumb_height_feed"><?php _e( 'Maximum height of the thumbnail: ', CRP_LOCAL_NAME ); ?></label></th>
722
  <td><input type="textbox" name="thumb_height_feed" id="thumb_height_feed" value="<?php echo esc_attr( stripslashes( $crp_settings['thumb_height_feed'] ) ); ?>" style="width:50px" />px</td>
723
  </tr>
724
 
@@ -736,7 +748,7 @@ if ( ! defined( 'WPINC' ) ) {
736
  </table>
737
 
738
  <p>
739
- <input type="submit" name="crp_save" id="crp_feedop_save" value="<?php _e( 'Save Options', CRP_LOCAL_NAME ); ?>" class="button button-primary" />
740
  </p>
741
 
742
  </div> <!-- // inside -->
@@ -752,14 +764,14 @@ if ( ! defined( 'WPINC' ) ) {
752
  ?>
753
 
754
  <p>
755
- <input type="submit" name="crp_save" id="crp_save" value="<?php _e( 'Save Options', CRP_LOCAL_NAME ); ?>" class="button button-primary" />
756
- <input name="crp_default" type="submit" id="crp_default" value="<?php _e( 'Default Options', CRP_LOCAL_NAME ); ?>" class="button button-secondary" onclick="if (!confirm('<?php _e( "Do you want to set options to Default?", CRP_LOCAL_NAME ); ?>')) return false;" />
757
- <input name="crp_recreate" type="submit" id="crp_recreate" value="<?php _e( 'Recreate Index', CRP_LOCAL_NAME ); ?>" class="button button-secondary" onclick="if (!confirm('<?php _e( "Are you sure you want to recreate the index?", CRP_LOCAL_NAME ); ?>')) return false;" />
758
  </p>
759
 
760
  <?php if ( ! $wpdb->get_results( "SHOW INDEX FROM {$wpdb->posts} where Key_name = 'crp_related'" ) || ! $wpdb->get_results( "SHOW INDEX FROM {$wpdb->posts} where Key_name = 'crp_related_title'" ) || ! $wpdb->get_results( "SHOW INDEX FROM {$wpdb->posts} where Key_name = 'crp_related_content'" ) ) { ?>
761
  <div class="notice error">
762
- <?php _e( 'One or more FULLTEXT indices are missing. Please hit the <a href="#crp_recreate">Recreate Index button</a> at the bottom of the page to fix this.', CRP_LOCAL_NAME ); ?>
763
  </div>
764
  <?php } ?>
765
  <?php wp_nonce_field( 'crp-plugin-settings' ) ?>
@@ -768,7 +780,7 @@ if ( ! defined( 'WPINC' ) ) {
768
  <div id="postbox-container-1" class="postbox-container">
769
  <div id="side-sortables" class="meta-box-sortables ui-sortable">
770
 
771
- <?php include_once( 'sidebar-view.php' ); ?>
772
 
773
  </div><!-- /side-sortables -->
774
  </div><!-- /postbox-container-1 -->
29
  do_action( 'crp_admin_nav_bar_before' )
30
  ?>
31
 
32
+ <li><a href="#genopdiv"><?php _e( 'General options', 'contextual-related-posts' ); ?></a> | </li>
33
+ <li><a href="#tuneopdiv"><?php _e( 'List tuning options', 'contextual-related-posts' ); ?></a> | </li>
34
+ <li><a href="#outputopdiv"><?php _e( 'Output options', 'contextual-related-posts' ); ?></a> | </li>
35
+ <li><a href="#thumbopdiv"><?php _e( 'Thumbnail options', 'contextual-related-posts' ); ?></a> | </li>
36
+ <li><a href="#customcssdiv"><?php _e( 'Styles', 'contextual-related-posts' ); ?></a> | </li>
37
+ <li><a href="#feedopdiv"><?php _e( 'Feed options', 'contextual-related-posts' ); ?></a></li>
38
 
39
  <?php
40
  /**
52
  <form method="post" id="crp_options" name="crp_options" onsubmit="return checkForm()">
53
 
54
  <div id="genopdiv" class="postbox"><div class="handlediv" title="Click to toggle"><br /></div>
55
+ <h3 class='hndle'><span><?php _e( 'General options', 'contextual-related-posts' ); ?></span></h3>
56
  <div class="inside">
57
 
58
  <table class="form-table">
68
  do_action( 'crp_admin_general_options_before', $crp_settings );
69
  ?>
70
 
71
+ <tr><th scope="row"><label for="cache"><?php _e( 'Cache output?', 'contextual-related-posts' ); ?></label></th>
72
+ <td><input type="checkbox" name="cache" id="cache" <?php if ( $crp_settings['cache'] ) { echo 'checked="checked"'; } ?> />
73
+ <p class="description"><?php _e( 'Enabling this option will cache the related posts output when the post is visited the first time. The cache is cleaned when you save this page.', 'contextual-related-posts' ); ?></p>
74
+ <p class="description"><?php _e( 'The CRP cache works independently and in addition to any of your caching plugins like WP Super Cache or W3 Total Cache. It is recommended that you enable this on your blog.', 'contextual-related-posts' ); ?></p>
75
+ <p><input type="button" value="<?php _e( 'Clear cache', 'contextual-related-posts' ) ?>" onclick="return clearCache();" class="button-secondary" /></p>
76
  </td>
77
  </tr>
78
 
79
+ <tr><th scope="row"><?php _e( 'Automatically add related posts to:', 'contextual-related-posts' ); ?></th>
80
  <td>
81
+ <label><input type="checkbox" name="add_to_content" id="add_to_content" <?php if ( $crp_settings['add_to_content'] ) { echo 'checked="checked"'; } ?> /> <?php _e( 'Posts', 'contextual-related-posts' ); ?></label><br />
82
+ <label><input type="checkbox" name="add_to_page" id="add_to_page" <?php if ( $crp_settings['add_to_page'] ) { echo 'checked="checked"'; } ?> /> <?php _e( 'Pages', 'contextual-related-posts' ); ?></label><br />
83
+ <label><input type="checkbox" name="add_to_home" id="add_to_home" <?php if ( $crp_settings['add_to_home'] ) { echo 'checked="checked"'; } ?> /> <?php _e( 'Home page', 'contextual-related-posts' ); ?></label></label><br />
84
+ <label><input type="checkbox" name="add_to_feed" id="add_to_feed" <?php if ( $crp_settings['add_to_feed'] ) { echo 'checked="checked"'; } ?> /> <?php _e( 'Feeds', 'contextual-related-posts' ); ?></label></label><br />
85
+ <label><input type="checkbox" name="add_to_category_archives" id="add_to_category_archives" <?php if ( $crp_settings['add_to_category_archives'] ) { echo 'checked="checked"'; } ?> /> <?php _e( 'Category archives', 'contextual-related-posts' ); ?></label><br />
86
+ <label><input type="checkbox" name="add_to_tag_archives" id="add_to_tag_archives" <?php if ( $crp_settings['add_to_tag_archives'] ) { echo 'checked="checked"'; } ?> /> <?php _e( 'Tag archives', 'contextual-related-posts' ); ?></label></label><br />
87
+ <label><input type="checkbox" name="add_to_archives" id="add_to_archives" <?php if ( $crp_settings['add_to_archives'] ) { echo 'checked="checked"'; } ?> /> <?php _e( 'Other archives', 'contextual-related-posts' ); ?></label></label>
88
+ <p class="description"><?php _e( "If you choose to disable this, please add <code>&lt;?php if ( function_exists( 'echo_ald_crp' ) ) echo_ald_crp(); ?&gt;</code> to your template file where you want it displayed", 'contextual-related-posts' ); ?></p>
89
  </td>
90
  </tr>
91
 
92
+ <tr><th scope="row"><label for="content_filter_priority"><?php _e( 'Display location priority:', 'contextual-related-posts' ); ?></label></th>
93
  <td>
94
  <input type="textbox" name="content_filter_priority" id="content_filter_priority" value="<?php echo esc_attr( stripslashes( $crp_settings['content_filter_priority'] ) ); ?>" />
95
+ <p class="description"><?php _e( 'If you select to automatically add the related posts, CRP will hook into the Content Filter at a priority as specified in this option.', 'contextual-related-posts' ); ?></p>
96
+ <p class="description"><?php _e( 'A higher number will cause the related posts to be processed later and move their display further down after the post content. Any number below 10 is not recommended.', 'contextual-related-posts' ); ?></p>
97
  </td>
98
  </tr>
99
 
100
+ <tr><th scope="row"><label for="show_metabox"><?php _e( 'Show metabox:', 'contextual-related-posts' ); ?></label></th>
101
  <td>
102
+ <input type="checkbox" name="show_metabox" id="show_metabox" <?php if ( $crp_settings['show_metabox'] ) { echo 'checked="checked"'; } ?> />
103
+ <p class="description"><?php _e( 'This will add the Contextual Related Posts metabox on Edit Posts or Add New Posts screens. Also applies to Pages and Custom Post Types.', 'contextual-related-posts' ); ?></p>
104
  </td>
105
  </tr>
106
 
107
+ <tr><th scope="row"><label for="show_metabox_admins"><?php _e( 'Limit metabox to Admins only:', 'contextual-related-posts' ); ?></label></th>
108
  <td>
109
+ <input type="checkbox" name="show_metabox_admins" id="show_metabox_admins" <?php if ( $crp_settings['show_metabox_admins'] ) { echo 'checked="checked"'; } ?> />
110
+ <p class="description"><?php _e( 'If this is selected, the metabox will be hidden from anyone who is not an Admin. Otherwise, by default, Contributors and above will be able to see the metabox. This applies only if the above option is selected.', 'contextual-related-posts' ); ?></p>
111
  </td>
112
  </tr>
113
 
114
+ <tr><th scope="row"><label for="show_credit"><?php _e( "Tell the world you're using Contextual Related Posts:", 'contextual-related-posts' ); ?></label></th>
115
  <td>
116
+ <input type="checkbox" name="show_credit" id="show_credit" <?php if ( $crp_settings['show_credit'] ) { echo 'checked="checked"'; } ?> /> <?php _e( ' <em>Optional</em>', 'contextual-related-posts' ); ?>
117
+ <p class="description"><?php _e( 'Adds a nofollow link to Contextual Related Posts homepage as the last time in the list.', 'contextual-related-posts' ); ?></p>
118
  </td>
119
  </tr>
120
 
132
  </table>
133
 
134
  <p>
135
+ <input type="submit" name="crp_save" id="crp_genop_save" value="<?php _e( 'Save Options', 'contextual-related-posts' ); ?>" class="button button-primary" />
136
  </p>
137
 
138
  </div> <!-- // inside -->
139
  </div> <!-- // genopdiv -->
140
 
141
  <div id="tuneopdiv" class="postbox"><div class="handlediv" title="Click to toggle"><br /></div>
142
+ <h3 class='hndle'><span><?php _e( 'List tuning options', 'contextual-related-posts' ); ?></span></h3>
143
  <div class="inside">
144
 
145
  <table class="form-table">
155
  do_action( 'crp_admin_tuning_options_before', $crp_settings );
156
  ?>
157
 
158
+ <tr><th scope="row"><label for="limit"><?php _e( 'Number of related posts to display: ', 'contextual-related-posts' ); ?></label></th>
159
  <td>
160
  <input type="textbox" name="limit" id="limit" value="<?php echo esc_attr( stripslashes( $crp_settings['limit'] ) ); ?>">
161
+ <p class="description"><?php _e( 'Maximum number of posts that will be displayed. The actual number may be smaller if less related posts are found.', 'contextual-related-posts' ); ?></p>
162
  </td>
163
  </tr>
164
 
165
+ <tr><th scope="row"><label for="daily_range"><?php _e( 'Related posts should be newer than:', 'contextual-related-posts' ); ?></label></th>
166
  <td>
167
+ <input type="textbox" name="daily_range" id="daily_range" value="<?php echo esc_attr( stripslashes( $crp_settings['daily_range'] ) ); ?>"><?php _e( 'days', 'contextual-related-posts' ); ?>
168
+ <p class="description"><?php _e( 'This sets the cutoff period for which posts will be displayed. e.g. setting it to 365 will show related posts from the last year only. Set to 0 to disable limiting posts by date.', 'contextual-related-posts' ); ?></p>
169
  </td>
170
  </tr>
171
 
172
+ <tr><th scope="row"><label for="match_content"><?php _e( 'Find related posts based on content as well as title:', 'contextual-related-posts' ); ?></label></th>
173
+ <td><input type="checkbox" name="match_content" id="match_content" <?php if ( $crp_settings['match_content'] ) { echo 'checked="checked"'; } ?> />
174
+ <p class="description"><?php _e( 'If unchecked, only posts titles are used. I recommend using a caching plugin or enabling "Cache output" above if you enable this. Each site is different, so toggle this option to see which setting gives you better quality related posts.', 'contextual-related-posts' ); ?></p>
175
  </td>
176
  </tr>
177
 
178
+ <tr><th scope="row"><label for="match_content_words"><?php _e( 'Limit content to be compared:', 'contextual-related-posts' ); ?></label></th>
179
+ <td><input type="textbox" name="match_content_words" id="match_content_words" value="<?php echo esc_attr( stripslashes( $crp_settings['match_content_words'] ) ); ?>">
180
+ <p class="description"><?php _e( 'This sets the maximum words of the content that will be matched. Set to 0 for no limit. Only applies if you active the above option.', 'contextual-related-posts' ); ?></p>
181
  </td>
182
  </tr>
183
 
184
+ <tr><th scope="row"><?php _e( 'Post types to include in results:', 'contextual-related-posts' ); ?></th>
185
  <td>
186
  <?php foreach ( $wp_post_types as $wp_post_type ) { ?>
187
  <label>
188
  <input type="checkbox" name="post_types[]" value="<?php echo $wp_post_type; ?>" <?php if ( in_array( $wp_post_type, $posts_types_inc ) ) { echo ' checked="checked" '; } ?> /><?php echo $wp_post_type; ?>
189
  </label>&nbsp;&nbsp;
190
  <?php } ?>
191
+ <p class="description"><?php _e( 'These post types will be displayed in the list. Includes custom post types.', 'contextual-related-posts' ); ?></p>
192
  </td>
193
  </tr>
194
 
195
+ <tr><th scope="row"><label for="exclude_post_ids"><?php _e( 'List of post or page IDs to exclude from the results:', 'contextual-related-posts' ); ?></label></th>
196
  <td><input type="textbox" name="exclude_post_ids" id="exclude_post_ids" value="<?php echo esc_attr( stripslashes( $crp_settings['exclude_post_ids'] ) ); ?>" style="width:250px">
197
+ <p class="description"><?php _e( 'Comma separated list of post, page or custom post type IDs. e.g. 188,320,500', 'contextual-related-posts' ); ?></p>
198
  </td>
199
  </tr>
200
 
201
+ <tr><th scope="row"><label for="exclude_cat_slugs"><?php _e( 'Categories to exclude from the results: ', 'contextual-related-posts' ); ?></label></th>
202
  <td>
203
  <div style="position:relative;text-align:left">
204
  <table id="MYCUSTOMFLOATER" class="myCustomFloater" style="position:absolute;top:50px;left:0;background-color:#cecece;display:none;visibility:hidden">
210
  </table>
211
  <textarea class="wickEnabled:MYCUSTOMFLOATER" cols="50" rows="3" wrap="virtual" name="exclude_cat_slugs"><?php echo ( stripslashes( $crp_settings['exclude_cat_slugs'] ) ); ?></textarea>
212
  </div>
213
+ <p class="description"><?php _e( 'Comma separated list of category slugs. The field above has an autocomplete so simply start typing in the beginning of your category name and it will prompt you with options.', 'contextual-related-posts' ); ?></p>
214
+ <p class="description highlight">
215
+ <?php
216
+ _e( 'Excluded category IDs are:', 'contextual-related-posts' );
217
+ echo ' ' . $crp_settings['exclude_categories'];
218
+ ?>
219
+ </p>
220
+ <p class="description">
221
+ <?php
222
+ _e( 'These might differ from the IDs visible in the Categories page which use the <code>term_id</code>. CRP uses the <code>term_taxonomy_id</code> which is unique to this taxonomy.', 'contextual-related-posts' );
223
+ ?>
224
+ </p>
225
  </td>
226
  </tr>
227
 
239
  </table>
240
 
241
  <p>
242
+ <input type="submit" name="crp_save" id="crp_tuneop_save" value="<?php _e( 'Save Options', 'contextual-related-posts' ); ?>" class="button button-primary" />
243
  </p>
244
 
245
  </div> <!-- // inside -->
246
  </div> <!-- // tuneopdiv -->
247
 
248
  <div id="outputopdiv" class="postbox"><div class="handlediv" title="Click to toggle"><br /></div>
249
+ <h3 class='hndle'><span><?php _e( 'Output options', 'contextual-related-posts' ); ?></span></h3>
250
  <div class="inside">
251
 
252
  <table class="form-table">
262
  do_action( 'crp_admin_output_options_before', $crp_settings );
263
  ?>
264
 
265
+ <tr><th scope="row"><label for="title"><?php _e( 'Title of related posts:', 'contextual-related-posts' ); ?></label></th>
266
  <td>
267
  <input type="textbox" name="title" id="title" value="<?php echo esc_attr( stripslashes( $crp_settings['title'] ) ); ?>" style="width:250px" />
268
+ <p class="description"><?php _e( 'This is the main heading of the related posts. You can also display the current post title by using <code>%postname%</code>. e.g. <code>Related Posts to %postname%</code>', 'contextual-related-posts' ); ?></p>
269
  </td>
270
  </tr>
271
 
272
+ <tr><th scope="row"><label for="blank_output"><?php _e( 'When there are no posts, what should be shown?', 'contextual-related-posts' ); ?></label></th>
273
  <td>
274
  <label>
275
+ <input type="radio" name="blank_output" value="blank" id="blank_output_0" <?php if ( $crp_settings['blank_output'] ) { echo 'checked="checked"'; } ?> />
276
+ <?php _e( 'Blank Output', 'contextual-related-posts' ); ?>
277
  </label>
278
  <br />
279
  <label>
280
+ <input type="radio" name="blank_output" value="customs" id="blank_output_1" <?php if ( ! $crp_settings['blank_output'] ) { echo 'checked="checked"'; } ?> />
281
+ <?php _e( 'Display:', 'contextual-related-posts' ); ?>
282
  </label>
283
  <input type="textbox" name="blank_output_text" id="blank_output_text" value="<?php echo esc_attr( stripslashes( $crp_settings['blank_output_text'] ) ); ?>" style="width:250px" />
284
  </td>
285
  </tr>
286
 
287
+ <tr><th scope="row"><label for="show_excerpt"><?php _e( 'Show post excerpt in list?', 'contextual-related-posts' ); ?></label></th>
288
  <td>
289
+ <input type="checkbox" name="show_excerpt" id="show_excerpt" <?php if ( $crp_settings['show_excerpt'] ) { echo 'checked="checked"'; } ?> />
290
+ <p class="description"><?php printf( __( "Displays the excerpt of the post. If you do not provide an explicit excerpt to a post (in the post editor's optional excerpt field), it will display an automatic excerpt which refers to the first %d words of the post's content", 'contextual-related-posts' ), $crp_settings['excerpt_length'] ); ?></p>
291
 
292
  <?php if ( 'rounded_thumbs' == $crp_settings['crp_styles'] ) { ?>
293
+ <p style="color: #F00"><?php _e( 'Rounded Thumbnails style selected under the Custom Styles. Excerpt display is disabled.', 'contextual-related-posts' ); ?></p>
294
  <?php } ?>
295
  </td>
296
  </tr>
297
 
298
+ <tr><th scope="row"><label for="excerpt_length"><?php _e( 'Length of excerpt (in words):', 'contextual-related-posts' ); ?></label></th>
299
  <td>
300
  <input type="textbox" name="excerpt_length" id="excerpt_length" value="<?php echo stripslashes( $crp_settings['excerpt_length'] ); ?>" />
301
  </td>
302
  </tr>
303
 
304
+ <tr><th scope="row"><label for="show_author"><?php _e( 'Show post author in list?', 'contextual-related-posts' ); ?></label></th>
305
  <td>
306
+ <input type="checkbox" name="show_author" id="show_author" <?php if ( $crp_settings['show_author'] ) { echo 'checked="checked"'; } ?> />
307
+ <p class="description"><?php _e( 'Displays the author name prefixed with "by". e.g. by John Doe', 'contextual-related-posts' ); ?></p>
308
 
309
  <?php if ( 'rounded_thumbs' == $crp_settings['crp_styles'] ) { ?>
310
+ <p style="color: #F00"><?php _e( 'Rounded Thumbnails style selected under the Custom Styles. Author display is disabled.', 'contextual-related-posts' ); ?></p>
311
  <?php } ?>
312
  </td>
313
  </tr>
314
 
315
+ <tr><th scope="row"><label for="show_date"><?php _e( 'Show post date in list?', 'contextual-related-posts' ); ?></label></th>
316
  <td>
317
+ <input type="checkbox" name="show_date" id="show_date" <?php if ( $crp_settings['show_date'] ) { echo 'checked="checked"'; } ?> />
318
+ <p class="description"><?php _e( 'Displays the date of the post. Uses the same date format set in General Options', 'contextual-related-posts' ); ?></p>
319
 
320
  <?php if ( 'rounded_thumbs' == $crp_settings['crp_styles'] ) { ?>
321
+ <p style="color: #F00"><?php _e( 'Rounded Thumbnails style selected under the Custom Styles. Date display is disabled.', 'contextual-related-posts' ); ?></p>
322
  <?php } ?>
323
  </td>
324
  </tr>
325
 
326
+ <tr><th scope="row"><label for="title_length"><?php _e( 'Limit post title length (in characters)', 'contextual-related-posts' ); ?></label></th>
327
  <td>
328
  <input type="textbox" name="title_length" id="title_length" value="<?php echo stripslashes( $crp_settings['title_length'] ); ?>" />
329
+ <p class="description"><?php _e( 'Any title longer than the number of characters set above will be cut and appended with an ellipsis (&hellip;)', 'contextual-related-posts' ); ?></p>
330
  </td>
331
  </tr>
332
 
333
+ <tr><th scope="row"><label for="link_new_window"><?php _e( 'Open links in new window', 'contextual-related-posts' ); ?></label></th>
334
  <td>
335
+ <input type="checkbox" name="link_new_window" id="link_new_window" <?php if ( $crp_settings['link_new_window'] ) { echo 'checked="checked"'; } ?> /
336
  ></td>
337
  </tr>
338
 
339
+ <tr><th scope="row"><label for="link_nofollow"><?php _e( 'Add nofollow attribute to links in the list', 'contextual-related-posts' ); ?></label></th>
340
  <td>
341
+ <input type="checkbox" name="link_nofollow" id="link_nofollow" <?php if ( $crp_settings['link_nofollow'] ) { echo 'checked="checked"'; } ?> />
342
  </td>
343
  </tr>
344
 
369
  ?>
370
 
371
  <tr>
372
+ <th scope="row" colspan="2" style="background: #eee; padding-left: 5px;"><?php _e( 'Exclusion settings:', 'contextual-related-posts' ); ?></th>
373
  </tr>
374
+ <tr><th scope="row"><label for="exclude_on_post_ids"><?php _e( 'Exclude display of related posts on these posts / pages', 'contextual-related-posts' ); ?></label></th>
375
  <td>
376
  <input type="textbox" name="exclude_on_post_ids" id="exclude_on_post_ids" value="<?php echo esc_attr( stripslashes( $crp_settings['exclude_on_post_ids'] ) ); ?>" style="width:250px">
377
+ <p class="description"><?php _e( 'Comma separated list of post, page or custom post type IDs. e.g. 188,320,500', 'contextual-related-posts' ); ?></p>
378
  </td>
379
  </tr>
380
+ <tr><th scope="row"><?php _e( 'Exclude display of related posts on these post types.', 'contextual-related-posts' ); ?></th>
381
  <td>
382
  <?php foreach ( $wp_post_types as $wp_post_type ) { ?>
383
  <label>
384
  <input type="checkbox" name="exclude_on_post_types[]" value="<?php echo $wp_post_type; ?>" <?php if ( in_array( $wp_post_type, $posts_types_excl ) ) { echo ' checked="checked" '; } ?> /><?php echo $wp_post_type; ?>
385
  </label>&nbsp;&nbsp;
386
  <?php } ?>
387
+ <p class="description"><?php _e( 'The related posts will not display on any of the above selected post types', 'contextual-related-posts' ); ?></p>
388
  </td>
389
  </tr>
390
 
414
  do_action( 'crp_admin_customize_options_before', $crp_settings );
415
  ?>
416
 
417
+ <tr><th scope="row" colspan="2" style="background: #eee; padding-left: 5px;"><?php _e( 'Customize the output:', 'contextual-related-posts' ); ?></th>
418
  </tr>
419
+ <tr><th scope="row"><label for="before_list"><?php _e( 'HTML to display before the list of posts: ', 'contextual-related-posts' ); ?></label></th>
420
  <td><input type="textbox" name="before_list" id="before_list" value="<?php echo esc_attr( stripslashes( $crp_settings['before_list'] ) ); ?>" style="width:250px" /></td>
421
  </tr>
422
+ <tr><th scope="row"><label for="before_list_item"><?php _e( 'HTML to display before each list item: ', 'contextual-related-posts' ); ?></label></th>
423
  <td><input type="textbox" name="before_list_item" id="before_list_item" value="<?php echo esc_attr( stripslashes( $crp_settings['before_list_item'] ) ); ?>" style="width:250px" /></td>
424
  </tr>
425
+ <tr><th scope="row"><label for="after_list_item"><?php _e( 'HTML to display after each list item: ', 'contextual-related-posts' ); ?></label></th>
426
  <td><input type="textbox" name="after_list_item" id="after_list_item" value="<?php echo esc_attr( stripslashes( $crp_settings['after_list_item'] ) ); ?>" style="width:250px" /></td>
427
  </tr>
428
+ <tr><th scope="row"><label for="after_list"><?php _e( 'HTML to display after the list of posts: ', 'contextual-related-posts' ); ?></label></th>
429
  <td><input type="textbox" name="after_list" id="after_list" value="<?php echo esc_attr( stripslashes( $crp_settings['after_list'] ) ); ?>" style="width:250px" /></td>
430
  </tr>
431
 
443
  </table>
444
 
445
  <p>
446
+ <input type="submit" name="crp_save" id="crp_outputop_save" value="<?php _e( 'Save Options', 'contextual-related-posts' ); ?>" class="button button-primary" />
447
  </p>
448
 
449
  </div> <!-- // inside -->
450
  </div> <!-- // outputopdiv -->
451
 
452
  <div id="thumbopdiv" class="postbox"><div class="handlediv" title="Click to toggle"><br /></div>
453
+ <h3 class='hndle'><span><?php _e( 'Thumbnail options', 'contextual-related-posts' ); ?></span></h3>
454
  <div class="inside">
455
 
456
  <table class="form-table">
466
  do_action( 'crp_admin_thumb_options_before', $crp_settings );
467
  ?>
468
 
469
+ <tr><th scope="row"><label for="post_thumb_op"><?php _e( 'Location of post thumbnail:', 'contextual-related-posts' ); ?></label></th>
470
  <td>
471
  <label>
472
+ <input type="radio" name="post_thumb_op" value="inline" id="post_thumb_op_0" <?php if ( 'inline' == $crp_settings['post_thumb_op'] ) { echo 'checked="checked"'; } ?> />
473
+ <?php _e( 'Display thumbnails inline with posts, before title', 'contextual-related-posts' ); ?></label>
474
  <br />
475
  <label>
476
+ <input type="radio" name="post_thumb_op" value="after" id="post_thumb_op_1" <?php if ( 'after' == $crp_settings['post_thumb_op'] ) { echo 'checked="checked"'; } ?> />
477
+ <?php _e( 'Display thumbnails inline with posts, after title', 'contextual-related-posts' ); ?></label>
478
  <br />
479
  <label>
480
+ <input type="radio" name="post_thumb_op" value="thumbs_only" id="post_thumb_op_2" <?php if ( 'thumbs_only' == $crp_settings['post_thumb_op'] ) { echo 'checked="checked"'; } ?> />
481
+ <?php _e( 'Display only thumbnails, no text', 'contextual-related-posts' ); ?></label>
482
  <br />
483
  <label>
484
+ <input type="radio" name="post_thumb_op" value="text_only" id="post_thumb_op_3" <?php if ( 'text_only' == $crp_settings['post_thumb_op'] ) { echo 'checked="checked"'; } ?> />
485
+ <?php _e( 'Do not display thumbnails, only text.', 'contextual-related-posts' ); ?></label>
486
 
487
  <?php if ( 'no_style' != $crp_settings['crp_styles'] ) { ?>
488
+ <p style="color: #F00"><?php _e( 'This setting cannot be changed because an inbuilt style has been selected under the Styles section. If you would like to change this option, please select <strong>No styles</strong> under the Styles section.', 'contextual-related-posts' ); ?></p>
489
  <?php } ?>
490
  </td>
491
  </tr>
492
+ <tr><th scope="row"><?php _e( 'Thumbnail size:', 'contextual-related-posts' ); ?></th>
493
  <td>
494
  <?php
495
  $crp_get_all_image_sizes = crp_get_all_image_sizes();
496
+ if ( isset( $crp_get_all_image_sizes['crp_thumbnail'] ) ) {
497
+ unset( $crp_get_all_image_sizes['crp_thumbnail'] );
498
+ }
499
 
500
+ foreach ( $crp_get_all_image_sizes as $size ) :
501
  ?>
502
+ <label>
503
+ <input type="radio" name="thumb_size" value="<?php echo $size['name'] ?>" id="<?php echo $size['name'] ?>" <?php if ( $crp_settings['thumb_size'] == $size['name'] ) { echo 'checked="checked"'; } ?> />
504
+ <?php echo $size['name']; ?> ( <?php echo $size['width']; ?>x<?php echo $size['height']; ?>
505
+ <?php
506
+ if ( $size['crop'] ) {
507
+ echo 'cropped';
508
+ }
509
  ?>
510
  )
511
  </label>
513
  <?php endforeach; ?>
514
 
515
  <label>
516
+ <input type="radio" name="thumb_size" value="crp_thumbnail" id="crp_thumbnail" <?php if ( $crp_settings['thumb_size'] == 'crp_thumbnail' ) { echo 'checked="checked"'; } ?> /> <?php _e( 'Custom size', 'contextual-related-posts' ); ?>
517
  </label>
518
  <p class="description">
519
+ <?php _e( 'You can choose from existing image sizes above or create a custom size.', 'contextual-related-posts' ); ?><br /><br />
520
+ <?php _e( 'If you choose an existing size, then the width, height and crop mode settings in the three options below will be automatically updated to reflect the correct dimensions of the setting.', 'contextual-related-posts' ); ?><br />
521
+ <?php _e( 'If you have chosen Custom size above, then enter the width, height and crop settings below. For best results, use a cropped image with the same width and height. The default setting is 150x150 cropped image.', 'contextual-related-posts' ); ?><br /><br />
522
+ <?php _e( "Any changes to the thumbnail settings doesn't automatically resize existing images.", 'contextual-related-posts' ); ?>
523
+ <?php printf( __( "I recommend using <a href='%s' class='thickbox'>OTF Regenerate Thumbnails</a> or <a href='%s' class='thickbox'>Regenerate Thumbnails</a> to regenerate all image sizes.", 'contextual-related-posts' ), self_admin_url( 'plugin-install.php?tab=plugin-information&amp;plugin=otf-regenerate-thumbnails&amp;TB_iframe=true&amp;width=600&amp;height=550' ), self_admin_url( 'plugin-install.php?tab=plugin-information&amp;plugin=regenerate-thumbnails&amp;TB_iframe=true&amp;width=600&amp;height=550' ) ); ?>
524
  </p>
525
  </td>
526
  </tr>
527
+ <tr><th scope="row"><label for="thumb_width"><?php _e( 'Width of the thumbnail:', 'contextual-related-posts' ); ?></label></th>
528
  <td><input type="textbox" name="thumb_width" id="thumb_width" value="<?php echo esc_attr( stripslashes( $crp_settings['thumb_width'] ) ); ?>" style="width:50px" />px</td>
529
  </tr>
530
+ <tr><th scope="row"><label for="thumb_height"><?php _e( 'Height of the thumbnail: ', 'contextual-related-posts' ); ?></label></th>
531
  <td>
532
  <input type="textbox" name="thumb_height" id="thumb_height" value="<?php echo esc_attr( stripslashes( $crp_settings['thumb_height'] ) ); ?>" style="width:50px" />px
533
  </td>
534
  </tr>
535
+ <tr><th scope="row"><label for="thumb_crop"><?php _e( 'Crop mode:', 'contextual-related-posts' ); ?></label></th>
536
  <td>
537
+ <input type="checkbox" name="thumb_crop" id="thumb_crop" <?php if ( $crp_settings['thumb_crop'] ) { echo 'checked="checked"'; } ?> />
538
  <p class="description">
539
+ <?php _e( 'By default, thumbnails will be hard cropped. Uncheck this box to proportionately/soft crop the thumbnails.', 'contextual-related-posts' ); ?>
540
+ <?php printf( __( "<a href='%s' target='_blank'>Difference between soft and hard crop</a>", 'contextual-related-posts' ), 'http://www.davidtan.org/wordpress-hard-crop-vs-soft-crop-difference-comparison-example/' ); ?>
541
  </p>
542
  </td>
543
  </tr>
544
+ <tr><th scope="row"><label for="thumb_html"><?php _e( 'Image size attributes:', 'contextual-related-posts' ); ?></label></th>
545
  <td>
546
  <label>
547
+ <input type="radio" name="thumb_html" value="css" id="thumb_html_0" <?php if ( 'css' == $crp_settings['thumb_html'] ) { echo 'checked="checked"'; } ?> />
548
+ <?php _e( 'Style attributes are used for width and height.', 'contextual-related-posts' );
549
+ echo ' <code>style="max-width:' . $crp_settings['thumb_width'] . 'px;max-height:' . $crp_settings['thumb_height'] . 'px;"</code>'; ?>
550
  </label>
551
  <br />
552
  <label>
553
+ <input type="radio" name="thumb_html" value="html" id="thumb_html_1" <?php if ( 'html' == $crp_settings['thumb_html'] ) { echo 'checked="checked"'; } ?> />
554
+ <?php _e( 'HTML width and height attributes are used for width and height.', 'contextual-related-posts' );
555
+ echo ' <code>width="' . $crp_settings['thumb_width'] . '" height="' . $crp_settings['thumb_height'] . '"</code>'; ?>
556
  </label>
557
  <br />
558
  <label>
559
+ <input type="radio" name="thumb_html" value="none" id="thumb_html_1" <?php if ( 'none' == $crp_settings['thumb_html'] ) { echo 'checked="checked"'; } ?> />
560
+ <?php _e( 'No HTML or Style attributes set for width and height', 'contextual-related-posts' ); ?>
561
  </label>
562
  <br />
563
  </td>
564
  </tr>
565
+ <tr><th scope="row"><label for="thumb_meta"><?php _e( 'Post thumbnail meta field name:', 'contextual-related-posts' ); ?></label></th>
566
  <td><input type="textbox" name="thumb_meta" id="thumb_meta" value="<?php echo esc_attr( stripslashes( $crp_settings['thumb_meta'] ) ); ?>">
567
+ <p class="description"><?php _e( 'The value of this field should contain a direct link to the image. This is set in the meta box in the <em>Add New Post</em> screen.', 'contextual-related-posts' ); ?></p>
568
  </td>
569
  </tr>
570
+ <tr><th scope="row"><label for="scan_images"><?php _e( 'Extract the first image from the post?', 'contextual-related-posts' ); ?></label></th>
571
+ <td><input type="checkbox" name="scan_images" id="scan_images" <?php if ( $crp_settings['scan_images'] ) { echo 'checked="checked"'; } ?> />
572
+ <p class="description"><?php _e( 'This will only happen if there is no post thumbnail set and no image URL is specified in the meta field.', 'contextual-related-posts' ); ?></p>
573
  </td>
574
  </tr>
575
+ <tr><th scope="row"><label for="thumb_default_show"><?php _e( 'Use default thumbnail?', 'contextual-related-posts' ); ?></label></th>
576
+ <td><input type="checkbox" name="thumb_default_show" id="thumb_default_show" <?php if ( $crp_settings['thumb_default_show'] ) { echo 'checked="checked"'; } ?> />
577
+ <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.', 'contextual-related-posts' ); ?></p>
578
  </td>
579
  </tr>
580
+ <tr><th scope="row"><label for="thumb_default"><?php _e( 'Default thumbnail:', 'contextual-related-posts' ); ?></label></th>
581
  <td><input type="textbox" name="thumb_default" id="thumb_default" value="<?php echo esc_attr( stripslashes( $crp_settings['thumb_default'] ) ); ?>" style="width:100%">
582
+ <?php if ( '' != $crp_settings['thumb_default'] ) { echo "<img src='{$crp_settings['thumb_default']}' style='max-width:200px' />"; } ?>
583
+ <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.", 'contextual-related-posts' ); ?></p>
584
  </td>
585
  </tr>
586
 
598
  </table>
599
 
600
  <p>
601
+ <input type="submit" name="crp_save" id="crp_thumbop_save" value="<?php _e( 'Save Options', 'contextual-related-posts' ); ?>" class="button button-primary" />
602
  </p>
603
 
604
  </div> <!-- // inside -->
605
  </div> <!-- // outputopdiv -->
606
 
607
  <div id="customcssdiv" class="postbox"><div class="handlediv" title="Click to toggle"><br /></div>
608
+ <h3 class='hndle'><span><?php _e( 'Styles', 'contextual-related-posts' ); ?></span></h3>
609
  <div class="inside">
610
 
611
  <table class="form-table">
621
  do_action( 'crp_admin_custom_styles_before', $crp_settings );
622
  ?>
623
 
624
+ <tr><th scope="row"><?php _e( 'Style of the related posts:', 'contextual-related-posts' ); ?></th>
625
  <td>
626
  <label>
627
+ <input type="radio" name="crp_styles" value="no_style" id="crp_styles_1" <?php if ( 'no_style' == $crp_settings['crp_styles'] ) { echo 'checked="checked"'; } ?> /> <?php _e( 'No styles', 'contextual-related-posts' ); ?>
628
  </label>
629
+ <p class="description"><?php _e( 'Select this option if you plan to add your own styles', 'contextual-related-posts' ); ?></p>
630
  <br />
631
 
632
  <label>
633
+ <input type="radio" name="crp_styles" value="rounded_thumbs" id="crp_styles_0" <?php if ( $crp_settings['include_default_style'] && ( 'rounded_thumbs' == $crp_settings['crp_styles'] ) ) { echo 'checked="checked"'; } ?> /> <?php _e( 'Rounded Thumbnails', 'contextual-related-posts' ); ?>
634
  </label>
635
  <p class="description"><img src="<?php echo plugins_url( 'admin/images/crp-rounded-thumbs.png', dirname( __FILE__ ) ); ?>" /></p>
636
+ <p class="description"><?php _e( 'Enabling this option will turn on the thumbnails and set their width and height to 150px. It will also turn off the display of the author, excerpt and date if already enabled. Disabling this option will not revert any settings.', 'contextual-related-posts' ); ?></p>
637
+ <p class="description"><?php printf( __( 'You can view the default style at <a href="%1$s" target="_blank">%1$s</a>', 'contextual-related-posts' ), esc_url( 'https://github.com/WebberZone/contextual-related-posts/blob/master/css/default-style.css' ) ); ?></p>
638
  <br />
639
 
640
  <label>
641
+ <input type="radio" name="crp_styles" value="text_only" id="crp_styles_1" <?php if ( 'text_only' == $crp_settings['crp_styles'] ) { echo 'checked="checked"'; } ?> /> <?php _e( 'Text only', 'contextual-related-posts' ); ?>
642
  </label>
643
+ <p class="description"><?php _e( 'Enabling this option will disable thumbnails and no longer include the default style sheet included in the plugin.', 'contextual-related-posts' ); ?></p>
644
 
645
  <?php
646
  /**
655
 
656
  </td>
657
  </tr>
658
+ <tr><th scope="row" colspan="2"><?php _e( 'Custom CSS to add to header:', 'contextual-related-posts' ); ?></th>
659
  </tr>
660
  <tr>
661
  <td scope="row" colspan="2"><textarea name="custom_CSS" id="custom_CSS" rows="15" cols="80" style="width:100%"><?php echo stripslashes( $crp_settings['custom_CSS'] ); ?></textarea>
662
+ <p class="description"><?php _e( 'Do not include <code>style</code> tags. Check out the <a href="http://wordpress.org/extend/plugins/contextual-related-posts/faq/" target="_blank">FAQ</a> for available CSS classes to style.', 'contextual-related-posts' ); ?></p>
663
  </td></tr>
664
 
665
  <?php
676
  </table>
677
 
678
  <p>
679
+ <input type="submit" name="crp_save" id="crp_customcss_save" value="<?php _e( 'Save Options', 'contextual-related-posts' ); ?>" class="button button-primary" />
680
  </p>
681
 
682
  </div> <!-- // inside -->
683
  </div> <!-- // customcssdiv -->
684
 
685
  <div id="feedopdiv" class="postbox"><div class="handlediv" title="Click to toggle"><br /></div>
686
+ <h3 class='hndle'><span><?php _e( 'Feed options', 'contextual-related-posts' ); ?></span></h3>
687
  <div class="inside">
688
 
689
  <table class="form-table">
699
  do_action( 'crp_admin_feed_options_before', $crp_settings );
700
  ?>
701
 
702
+ <tr><th scope="row" colspan="2"><?php _e( 'Below options override the related posts settings for your blog feed. These only apply if you have selected to add related posts to Feeds in the General Options tab.', 'contextual-related-posts' ); ?></th>
703
  </tr>
704
+ <tr><th scope="row"><label for="limit_feed"><?php _e( 'Number of related posts to display: ', 'contextual-related-posts' ); ?></label></th>
705
  <td><input type="textbox" name="limit_feed" id="limit_feed" value="<?php echo esc_attr( stripslashes( $crp_settings['limit_feed'] ) ); ?>"></td>
706
  </tr>
707
+ <tr><th scope="row"><label for="show_excerpt_feed"><?php _e( 'Show post excerpt in list?', 'contextual-related-posts' ); ?></label></th>
708
+ <td><input type="checkbox" name="show_excerpt_feed" id="show_excerpt_feed" <?php if ( $crp_settings['show_excerpt_feed'] ) { echo 'checked="checked"'; } ?> /></td>
709
  </tr>
710
+ <tr><th scope="row"><label for="post_thumb_op_feed"><?php _e( 'Location of post thumbnail:', 'contextual-related-posts' ); ?></label></th>
711
  <td>
712
  <label>
713
+ <input type="radio" name="post_thumb_op_feed" value="inline" id="post_thumb_op_feed_0" <?php if ( 'inline' == $crp_settings['post_thumb_op_feed'] ) { echo 'checked="checked"'; } ?> />
714
+ <?php _e( 'Display thumbnails inline with posts, before title', 'contextual-related-posts' ); ?></label>
715
  <br />
716
  <label>
717
+ <input type="radio" name="post_thumb_op_feed" value="after" id="post_thumb_op_feed_1" <?php if ( 'after' == $crp_settings['post_thumb_op_feed'] ) { echo 'checked="checked"'; } ?> />
718
+ <?php _e( 'Display thumbnails inline with posts, after title', 'contextual-related-posts' ); ?></label>
719
  <br />
720
  <label>
721
+ <input type="radio" name="post_thumb_op_feed" value="thumbs_only" id="post_thumb_op_feed_2" <?php if ( 'thumbs_only' == $crp_settings['post_thumb_op_feed'] ) { echo 'checked="checked"'; } ?> />
722
+ <?php _e( 'Display only thumbnails, no text', 'contextual-related-posts' ); ?></label>
723
  <br />
724
  <label>
725
+ <input type="radio" name="post_thumb_op_feed" value="text_only" id="post_thumb_op_feed_3" <?php if ( 'text_only' == $crp_settings['post_thumb_op_feed'] ) { echo 'checked="checked"'; } ?> />
726
+ <?php _e( 'Do not display thumbnails, only text.', 'contextual-related-posts' ); ?></label>
727
  <br />
728
  </td>
729
  </tr>
730
+ <tr><th scope="row"><label for="thumb_width_feed"><?php _e( 'Maximum width of the thumbnail: ', 'contextual-related-posts' ); ?></label></th>
731
  <td><input type="textbox" name="thumb_width_feed" id="thumb_width_feed" value="<?php echo esc_attr( stripslashes( $crp_settings['thumb_width_feed'] ) ); ?>" style="width:50px" />px</td>
732
  </tr>
733
+ <tr><th scope="row"><label for="thumb_height_feed"><?php _e( 'Maximum height of the thumbnail: ', 'contextual-related-posts' ); ?></label></th>
734
  <td><input type="textbox" name="thumb_height_feed" id="thumb_height_feed" value="<?php echo esc_attr( stripslashes( $crp_settings['thumb_height_feed'] ) ); ?>" style="width:50px" />px</td>
735
  </tr>
736
 
748
  </table>
749
 
750
  <p>
751
+ <input type="submit" name="crp_save" id="crp_feedop_save" value="<?php _e( 'Save Options', 'contextual-related-posts' ); ?>" class="button button-primary" />
752
  </p>
753
 
754
  </div> <!-- // inside -->
764
  ?>
765
 
766
  <p>
767
+ <input type="submit" name="crp_save" id="crp_save" value="<?php _e( 'Save Options', 'contextual-related-posts' ); ?>" class="button button-primary" />
768
+ <input name="crp_default" type="submit" id="crp_default" value="<?php _e( 'Default Options', 'contextual-related-posts' ); ?>" class="button button-secondary" onclick="if (!confirm('<?php _e( 'Do you want to set options to Default?', 'contextual-related-posts' ); ?>')) return false;" />
769
+ <input name="crp_recreate" type="submit" id="crp_recreate" value="<?php _e( 'Recreate Index', 'contextual-related-posts' ); ?>" class="button button-secondary" onclick="if (!confirm('<?php _e( 'Are you sure you want to recreate the index?', 'contextual-related-posts' ); ?>')) return false;" />
770
  </p>
771
 
772
  <?php if ( ! $wpdb->get_results( "SHOW INDEX FROM {$wpdb->posts} where Key_name = 'crp_related'" ) || ! $wpdb->get_results( "SHOW INDEX FROM {$wpdb->posts} where Key_name = 'crp_related_title'" ) || ! $wpdb->get_results( "SHOW INDEX FROM {$wpdb->posts} where Key_name = 'crp_related_content'" ) ) { ?>
773
  <div class="notice error">
774
+ <?php _e( 'One or more FULLTEXT indices are missing. Please hit the <a href="#crp_recreate">Recreate Index button</a> at the bottom of the page to fix this.', 'contextual-related-posts' ); ?>
775
  </div>
776
  <?php } ?>
777
  <?php wp_nonce_field( 'crp-plugin-settings' ) ?>
780
  <div id="postbox-container-1" class="postbox-container">
781
  <div id="side-sortables" class="meta-box-sortables ui-sortable">
782
 
783
+ <?php include_once( 'sidebar-view.php' ); ?>
784
 
785
  </div><!-- /side-sortables -->
786
  </div><!-- /postbox-container-1 -->
admin/metabox.php CHANGED
@@ -1,257 +1,254 @@
1
- <?php
2
- /**
3
- * Contextual Related Posts Metabox interface.
4
- *
5
- *
6
- * @package Contextual_Related_Posts
7
- * @author Ajay D'Souza <me@ajaydsouza.com>
8
- * @license GPL-2.0+
9
- * @link https://webberzone.com
10
- * @copyright 2009-2015 Ajay D'Souza
11
- */
12
-
13
- /**** If this file is called directly, abort. ****/
14
- if ( ! defined( 'WPINC' ) ) {
15
- die;
16
- }
17
-
18
- /**
19
- * Function to add meta box in Write screens of Post, Page and Custom Post Types.
20
- *
21
- * @since 1.9.1
22
- *
23
- * @param text $post_type
24
- * @param object $post
25
- */
26
- function crp_add_meta_box( $post_type, $post ) {
27
- global $crp_settings;
28
-
29
- // If metaboxes are disabled, then exit
30
- if ( ! $crp_settings['show_metabox'] ) return;
31
-
32
- // If current user isn't an admin and we're restricting metaboxes to admins only, then exit
33
- if ( ! current_user_can( 'manage_options' ) && $crp_settings['show_metabox_admins'] ) return;
34
-
35
- $args = array(
36
- 'public' => true,
37
- );
38
- $post_types = get_post_types( $args );
39
-
40
- /**
41
- * Filter post types on which the meta box is displayed
42
- *
43
- * @since 2.2.0
44
- *
45
- * @param array $post_types Array of post types
46
- */
47
- $post_types = apply_filters( 'crp_meta_box_post_types', $post_types );
48
-
49
- if ( in_array( $post_type, $post_types ) ) {
50
-
51
- add_meta_box(
52
- 'crp_metabox',
53
- 'Contextual Related Posts',
54
- 'crp_call_meta_box',
55
- $post_type,
56
- 'advanced',
57
- 'default'
58
- );
59
- }
60
- }
61
- add_action( 'add_meta_boxes', 'crp_add_meta_box' , 10, 2 );
62
-
63
-
64
- /**
65
- * Function to call the meta box.
66
- *
67
- * @since 1.9.1
68
- *
69
- */
70
- function crp_call_meta_box() {
71
- global $post, $crp_settings;
72
-
73
- /**** Add an nonce field so we can check for it later. ****/
74
- wp_nonce_field( 'crp_meta_box', 'crp_meta_box_nonce' );
75
-
76
- /**** Get the thumbnail settings. The name of the meta key is defined in thumb_meta parameter of the CRP Settings array ****/
77
- $crp_thumb_meta = get_post_meta( $post->ID, $crp_settings['thumb_meta'], true );
78
- $value = ( $crp_thumb_meta ) ? $crp_thumb_meta : '';
79
-
80
- /**** Get related posts specific meta ****/
81
- $crp_post_meta = get_post_meta( $post->ID, 'crp_post_meta', true );
82
-
83
- // Disable option
84
- if ( isset( $crp_post_meta['crp_disable_here'] ) ) {
85
- $crp_disable_here = $crp_post_meta['crp_disable_here'];
86
- } else {
87
- $crp_disable_here = 0;
88
- }
89
-
90
- // Manual related
91
- if ( isset( $crp_post_meta['manual_related'] ) ) {
92
- $manual_related = $crp_post_meta['manual_related'];
93
- } else {
94
- $manual_related = '';
95
- }
96
- $manual_related_array = explode( "," , $manual_related );
97
-
98
- ?>
99
- <p>
100
- <label for="thumb_meta"><?php _e( "Location of thumbnail:", CRP_LOCAL_NAME ); ?></label>
101
- <input type="text" id="thumb_meta" name="thumb_meta" value="<?php echo esc_attr( $value ) ?>" style="width:100%" />
102
- <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", CRP_LOCAL_NAME ); ?></em>
103
- <em><?php _e( "The URL above is saved in the meta field:", CRP_LOCAL_NAME ); ?></em> <strong><?php echo $crp_settings['thumb_meta']; ?></strong>
104
- </p>
105
-
106
- <p>
107
- <?php if ( function_exists( 'tptn_add_viewed_count' ) ) { ?>
108
- <em style="color:red"><?php _e( "You have Top 10 WordPress Plugin installed. If you are trying to modify the thumbnail, then you'll need to make the same change in the Top 10 meta box on this page.", CRP_LOCAL_NAME ); ?></em>
109
- <?php } ?>
110
- </p>
111
-
112
- <?php
113
- if ( $crp_thumb_meta ) {
114
- echo '<img src="' . $value . '" style="max-width:100%" />';
115
- }
116
- ?>
117
-
118
- <p>
119
- <label for="crp_disable_here"><?php _e( "Disable Related Posts display:", CRP_LOCAL_NAME ); ?></label>
120
- <input type="checkbox" id="crp_disable_here" name="crp_disable_here" <?php if ( 1 == $crp_disable_here ) { echo ' checked="checked" '; } ?> />
121
- <br />
122
- <em><?php _e( "If this is checked, then Contextual Related Posts will not automatically insert the related posts at the end of post content.", CRP_LOCAL_NAME ); ?></em>
123
- </p>
124
-
125
-
126
- <p>
127
- <label for="thumb_meta"><?php _e( "Manual related posts:", CRP_LOCAL_NAME ); ?></label>
128
- <input type="text" id="manual_related" name="manual_related" value="<?php echo esc_attr( $manual_related ) ?>" style="width:100%" />
129
- <em><?php _e( "Comma separated list of post, page or custom post type IDs. e.g. 188,320,500. These will be given preference over the related posts generated by the plugin.", CRP_LOCAL_NAME ); ?></em>
130
- <em><?php _e( "Once you enter the list above and save this page, the plugin will display the titles of the posts below for your reference. Only IDs corresponding to published posts or custom post types will be retained.", CRP_LOCAL_NAME ); ?></em>
131
- </p>
132
-
133
- <?php if ( ! empty( $manual_related ) ) { ?>
134
-
135
- <strong><?php _e( "Manual related posts:", CRP_LOCAL_NAME ); ?></strong>
136
- <ol>
137
- <?php
138
- foreach ( $manual_related_array as $manual_related_post ) {
139
-
140
- echo '<li>';
141
-
142
- $title = get_the_title( $manual_related_post );
143
- echo '<a href="' . get_permalink( $manual_related_post ) . '" target="_blank" title="' . $title . '" class="wherego_title">' . $title . '</a>. ';
144
- _e( "This post type is:" );
145
- echo " <em>" . get_post_type( $manual_related_post ) . "</em>";
146
-
147
- echo '</li>';
148
- }
149
- ?>
150
- </ol>
151
- <?php } ?>
152
-
153
-
154
- <?php
155
- /**
156
- * Action triggered when displaying Contextual Related Posts meta box
157
- *
158
- * @since 2.2
159
- *
160
- * @param object $post Post object
161
- */
162
- do_action( 'crp_call_meta_box', $post );
163
- }
164
-
165
-
166
- /**
167
- * Function to save the meta box.
168
- *
169
- * @since 1.9.1
170
- *
171
- * @param mixed $post_id
172
- */
173
- function crp_save_meta_box( $post_id ) {
174
- global $crp_settings;
175
-
176
- $crp_post_meta = array();
177
-
178
- /**** Bail if we're doing an auto save ****/
179
- if ( defined( 'DOING_AUTOSAVE' ) && DOING_AUTOSAVE ) return;
180
-
181
- /**** if our nonce isn't there, or we can't verify it, bail ****/
182
- if ( ! isset( $_POST['crp_meta_box_nonce'] ) || ! wp_verify_nonce( $_POST['crp_meta_box_nonce'], 'crp_meta_box' ) ) return;
183
-
184
- /**** if our current user can't edit this post, bail ****/
185
- if ( ! current_user_can( 'edit_posts' ) ) return;
186
-
187
- /**** Now we can start saving ****/
188
- if ( isset( $_POST['thumb_meta'] ) ) {
189
- $thumb_meta = $_POST['thumb_meta'] == '' ? '' : ( $_POST['thumb_meta'] );
190
- }
191
-
192
- $crp_thumb_meta = get_post_meta( $post_id, $crp_settings['thumb_meta'], true );
193
-
194
- if ( $crp_thumb_meta && '' != $crp_thumb_meta ) {
195
- $gotmeta = true;
196
- } else {
197
- $gotmeta = false;
198
- }
199
-
200
- if ( $gotmeta && '' != $thumb_meta ) {
201
- update_post_meta( $post_id, $crp_settings['thumb_meta'], $thumb_meta );
202
- } elseif ( ! $gotmeta && '' != $thumb_meta ) {
203
- add_post_meta( $post_id, $crp_settings['thumb_meta'], $thumb_meta );
204
- } else {
205
- delete_post_meta( $post_id, $crp_settings['thumb_meta'] );
206
- }
207
-
208
- // Disable posts
209
- if ( isset( $_POST['crp_disable_here'] ) ) {
210
- $crp_post_meta['crp_disable_here'] = 1;
211
- } else {
212
- $crp_post_meta['crp_disable_here'] = 0;
213
- }
214
-
215
- // Save Manual related posts
216
- if ( isset( $_POST['manual_related'] ) ) {
217
-
218
- $manual_related_array = array_map( 'intval', explode( ",", $_POST['manual_related'] ) );
219
-
220
- foreach ( $manual_related_array as $key => $value ) {
221
- if ( 'publish' != get_post_status( $value ) ) {
222
- unset( $manual_related_array[$key] );
223
- }
224
- }
225
- $crp_post_meta['manual_related'] = implode( ',', $manual_related_array );
226
- }
227
-
228
- /**
229
- * Filter the CRP Post meta variable which contains post-specific settings
230
- *
231
- * @since 2.2.0
232
- *
233
- * @param array $crp_post_meta CRP post-specific settings
234
- * @param int $post_id Post ID
235
- */
236
- $crp_post_meta = apply_filters( 'crp_post_meta', $crp_post_meta, $post_id );
237
-
238
- $crp_post_meta_filtered = array_filter( $crp_post_meta );
239
-
240
- /**** Now we can start saving ****/
241
- if ( empty( $crp_post_meta_filtered ) ) { // Checks if all the array items are 0 or empty
242
- delete_post_meta( $post_id, 'crp_post_meta' ); // Delete the post meta if no options are set
243
- } else {
244
- update_post_meta( $post_id, 'crp_post_meta', $crp_post_meta );
245
- }
246
-
247
- /**
248
- * Action triggered when saving Contextual Related Posts meta box settings
249
- *
250
- * @since 2.2
251
- *
252
- * @param int $post_id Post ID
253
- */
254
- do_action( 'crp_save_meta_box', $post_id );
255
- }
256
- add_action( 'save_post', 'crp_save_meta_box' );
257
-
1
+ <?php
2
+ /**
3
+ * Contextual Related Posts Metabox interface.
4
+ *
5
+ * @package Contextual_Related_Posts
6
+ * @author Ajay D'Souza <me@ajaydsouza.com>
7
+ * @license GPL-2.0+
8
+ * @link https://webberzone.com
9
+ * @copyright 2009-2015 Ajay D'Souza
10
+ */
11
+
12
+ /**** If this file is called directly, abort. ****/
13
+ if ( ! defined( 'WPINC' ) ) {
14
+ die;
15
+ }
16
+
17
+ /**
18
+ * Function to add meta box in Write screens of Post, Page and Custom Post Types.
19
+ *
20
+ * @since 1.9.1
21
+ *
22
+ * @param text $post_type
23
+ * @param object $post
24
+ */
25
+ function crp_add_meta_box( $post_type, $post ) {
26
+ global $crp_settings;
27
+
28
+ // If metaboxes are disabled, then exit
29
+ if ( ! $crp_settings['show_metabox'] ) { return; }
30
+
31
+ // If current user isn't an admin and we're restricting metaboxes to admins only, then exit
32
+ if ( ! current_user_can( 'manage_options' ) && $crp_settings['show_metabox_admins'] ) { return; }
33
+
34
+ $args = array(
35
+ 'public' => true,
36
+ );
37
+ $post_types = get_post_types( $args );
38
+
39
+ /**
40
+ * Filter post types on which the meta box is displayed
41
+ *
42
+ * @since 2.2.0
43
+ *
44
+ * @param array $post_types Array of post types
45
+ */
46
+ $post_types = apply_filters( 'crp_meta_box_post_types', $post_types );
47
+
48
+ if ( in_array( $post_type, $post_types ) ) {
49
+
50
+ add_meta_box(
51
+ 'crp_metabox',
52
+ 'Contextual Related Posts',
53
+ 'crp_call_meta_box',
54
+ $post_type,
55
+ 'advanced',
56
+ 'default'
57
+ );
58
+ }
59
+ }
60
+ add_action( 'add_meta_boxes', 'crp_add_meta_box' , 10, 2 );
61
+
62
+
63
+ /**
64
+ * Function to call the meta box.
65
+ *
66
+ * @since 1.9.1
67
+ */
68
+ function crp_call_meta_box() {
69
+ global $post, $crp_settings;
70
+
71
+ /**** Add an nonce field so we can check for it later. ****/
72
+ wp_nonce_field( 'crp_meta_box', 'crp_meta_box_nonce' );
73
+
74
+ /**** Get the thumbnail settings. The name of the meta key is defined in thumb_meta parameter of the CRP Settings array ****/
75
+ $crp_thumb_meta = get_post_meta( $post->ID, $crp_settings['thumb_meta'], true );
76
+ $value = ( $crp_thumb_meta ) ? $crp_thumb_meta : '';
77
+
78
+ /**** Get related posts specific meta ****/
79
+ $crp_post_meta = get_post_meta( $post->ID, 'crp_post_meta', true );
80
+
81
+ // Disable option
82
+ if ( isset( $crp_post_meta['crp_disable_here'] ) ) {
83
+ $crp_disable_here = $crp_post_meta['crp_disable_here'];
84
+ } else {
85
+ $crp_disable_here = 0;
86
+ }
87
+
88
+ // Manual related
89
+ if ( isset( $crp_post_meta['manual_related'] ) ) {
90
+ $manual_related = $crp_post_meta['manual_related'];
91
+ } else {
92
+ $manual_related = '';
93
+ }
94
+ $manual_related_array = explode( ',' , $manual_related );
95
+
96
+ ?>
97
+ <p>
98
+ <label for="crp_disable_here"><strong><?php _e( 'Disable Related Posts display:', 'contextual-related-posts' ); ?></strong></label>
99
+ <input type="checkbox" id="crp_disable_here" name="crp_disable_here" <?php if ( 1 == $crp_disable_here ) { echo ' checked="checked" '; } ?> />
100
+ <br />
101
+ <em><?php _e( 'If this is checked, then Contextual Related Posts will not automatically insert the related posts at the end of post content.', 'contextual-related-posts' ); ?></em>
102
+ </p>
103
+
104
+
105
+ <p>
106
+ <label for="thumb_meta"><strong><?php _e( 'Manual related posts:', 'contextual-related-posts' ); ?></strong></label>
107
+ <input type="text" id="manual_related" name="manual_related" value="<?php echo esc_attr( $manual_related ) ?>" style="width:100%" />
108
+ <em><?php _e( 'Comma separated list of post, page or custom post type IDs. e.g. 188,320,500. These will be given preference over the related posts generated by the plugin.', 'contextual-related-posts' ); ?></em>
109
+ <em><?php _e( 'Once you enter the list above and save this page, the plugin will display the titles of the posts below for your reference. Only IDs corresponding to published posts or custom post types will be retained.', 'contextual-related-posts' ); ?></em>
110
+ </p>
111
+
112
+ <?php if ( ! empty( $manual_related ) ) { ?>
113
+
114
+ <strong><?php _e( 'Manual related posts:', 'contextual-related-posts' ); ?></strong>
115
+ <ol>
116
+ <?php
117
+ foreach ( $manual_related_array as $manual_related_post ) {
118
+
119
+ echo '<li>';
120
+
121
+ $title = get_the_title( $manual_related_post );
122
+ echo '<a href="' . get_permalink( $manual_related_post ) . '" target="_blank" title="' . $title . '" class="wherego_title">' . $title . '</a>. ';
123
+ _e( 'This post type is:' );
124
+ echo ' <em>' . get_post_type( $manual_related_post ) . '</em>';
125
+
126
+ echo '</li>';
127
+ }
128
+ ?>
129
+ </ol>
130
+ <?php } ?>
131
+
132
+ <p>
133
+ <label for="thumb_meta"><strong><?php _e( 'Location of thumbnail:', 'contextual-related-posts' ); ?></strong></label>
134
+ <input type="text" id="thumb_meta" name="thumb_meta" value="<?php echo esc_attr( $value ) ?>" style="width:100%" />
135
+ <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", 'contextual-related-posts' ); ?></em>
136
+ <em><?php _e( 'The URL above is saved in the meta field:', 'contextual-related-posts' ); ?></em> <strong><?php echo $crp_settings['thumb_meta']; ?></strong>
137
+ </p>
138
+
139
+ <p>
140
+ <?php if ( function_exists( 'tptn_add_viewed_count' ) ) { ?>
141
+ <em style="color:red"><?php _e( "You have Top 10 WordPress Plugin installed. If you are trying to modify the thumbnail, then you'll need to make the same change in the Top 10 meta box on this page.", 'contextual-related-posts' ); ?></em>
142
+ <?php } ?>
143
+ </p>
144
+
145
+ <?php
146
+ if ( $crp_thumb_meta ) {
147
+ echo '<img src="' . $value . '" style="max-width:100%" />';
148
+ }
149
+ ?>
150
+
151
+ <?php
152
+ /**
153
+ * Action triggered when displaying Contextual Related Posts meta box
154
+ *
155
+ * @since 2.2
156
+ *
157
+ * @param object $post Post object
158
+ */
159
+ do_action( 'crp_call_meta_box', $post );
160
+ }
161
+
162
+
163
+ /**
164
+ * Function to save the meta box.
165
+ *
166
+ * @since 1.9.1
167
+ *
168
+ * @param mixed $post_id
169
+ */
170
+ function crp_save_meta_box( $post_id ) {
171
+ global $crp_settings;
172
+
173
+ $crp_post_meta = array();
174
+
175
+ /**** Bail if we're doing an auto save ****/
176
+ if ( defined( 'DOING_AUTOSAVE' ) && DOING_AUTOSAVE ) { return; }
177
+
178
+ /**** if our nonce isn't there, or we can't verify it, bail ****/
179
+ if ( ! isset( $_POST['crp_meta_box_nonce'] ) || ! wp_verify_nonce( $_POST['crp_meta_box_nonce'], 'crp_meta_box' ) ) { return; }
180
+
181
+ /**** if our current user can't edit this post, bail ****/
182
+ if ( ! current_user_can( 'edit_posts' ) ) { return; }
183
+
184
+ /**** Now we can start saving ****/
185
+ if ( isset( $_POST['thumb_meta'] ) ) {
186
+ $thumb_meta = $_POST['thumb_meta'] == '' ? '' : ( $_POST['thumb_meta'] );
187
+ }
188
+
189
+ $crp_thumb_meta = get_post_meta( $post_id, $crp_settings['thumb_meta'], true );
190
+
191
+ if ( $crp_thumb_meta && '' != $crp_thumb_meta ) {
192
+ $gotmeta = true;
193
+ } else {
194
+ $gotmeta = false;
195
+ }
196
+
197
+ if ( $gotmeta && '' != $thumb_meta ) {
198
+ update_post_meta( $post_id, $crp_settings['thumb_meta'], $thumb_meta );
199
+ } elseif ( ! $gotmeta && '' != $thumb_meta ) {
200
+ add_post_meta( $post_id, $crp_settings['thumb_meta'], $thumb_meta );
201
+ } else {
202
+ delete_post_meta( $post_id, $crp_settings['thumb_meta'] );
203
+ }
204
+
205
+ // Disable posts
206
+ if ( isset( $_POST['crp_disable_here'] ) ) {
207
+ $crp_post_meta['crp_disable_here'] = 1;
208
+ } else {
209
+ $crp_post_meta['crp_disable_here'] = 0;
210
+ }
211
+
212
+ // Save Manual related posts
213
+ if ( isset( $_POST['manual_related'] ) ) {
214
+
215
+ $manual_related_array = array_map( 'intval', explode( ',', $_POST['manual_related'] ) );
216
+
217
+ foreach ( $manual_related_array as $key => $value ) {
218
+ if ( 'publish' != get_post_status( $value ) ) {
219
+ unset( $manual_related_array[ $key ] );
220
+ }
221
+ }
222
+ $crp_post_meta['manual_related'] = implode( ',', $manual_related_array );
223
+ }
224
+
225
+ /**
226
+ * Filter the CRP Post meta variable which contains post-specific settings
227
+ *
228
+ * @since 2.2.0
229
+ *
230
+ * @param array $crp_post_meta CRP post-specific settings
231
+ * @param int $post_id Post ID
232
+ */
233
+ $crp_post_meta = apply_filters( 'crp_post_meta', $crp_post_meta, $post_id );
234
+
235
+ $crp_post_meta_filtered = array_filter( $crp_post_meta );
236
+
237
+ /**** Now we can start saving ****/
238
+ if ( empty( $crp_post_meta_filtered ) ) { // Checks if all the array items are 0 or empty
239
+ delete_post_meta( $post_id, 'crp_post_meta' ); // Delete the post meta if no options are set
240
+ } else {
241
+ update_post_meta( $post_id, 'crp_post_meta', $crp_post_meta );
242
+ }
243
+
244
+ /**
245
+ * Action triggered when saving Contextual Related Posts meta box settings
246
+ *
247
+ * @since 2.2
248
+ *
249
+ * @param int $post_id Post ID
250
+ */
251
+ do_action( 'crp_save_meta_box', $post_id );
252
+ }
253
+ add_action( 'save_post', 'crp_save_meta_box' );
254
+
 
 
 
admin/sidebar-view.php CHANGED
@@ -17,20 +17,20 @@ if ( ! defined( 'WPINC' ) ) {
17
  ?>
18
 
19
  <div id="donatediv" class="postbox"><div class="handlediv" title="Click to toggle"><br /></div>
20
- <h3 class='hndle'><span><?php _e( 'Support the development', CRP_LOCAL_NAME ); ?></span></h3>
21
  <div class="inside">
22
  <div id="donate-form">
23
  <form action="https://www.paypal.com/cgi-bin/webscr" method="post">
24
  <input type="hidden" name="cmd" value="_xclick">
25
  <input type="hidden" name="business" value="donate@ajaydsouza.com">
26
  <input type="hidden" name="lc" value="IN">
27
- <input type="hidden" name="item_name" value="<?php _e( 'Donation for Contextual Related Posts', CRP_LOCAL_NAME ); ?>">
28
  <input type="hidden" name="item_number" value="crp_plugin_settings">
29
- <strong><?php _e( 'Enter amount in USD:', CRP_LOCAL_NAME ); ?></strong> <input name="amount" value="10.00" size="6" type="text"><br />
30
  <input type="hidden" name="currency_code" value="USD">
31
  <input type="hidden" name="button_subtype" value="services">
32
  <input type="hidden" name="bn" value="PP-BuyNowBF:btn_donate_LG.gif:NonHosted">
33
- <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', CRP_LOCAL_NAME ); ?> Contextual Related Posts?">
34
  <img alt="" border="0" src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1">
35
  </form>
36
  </div>
@@ -38,29 +38,42 @@ if ( ! defined( 'WPINC' ) ) {
38
  </div>
39
 
40
  <div id="followdiv" class="postbox"><div class="handlediv" title="Click to toggle"><br /></div>
41
- <h3 class='hndle'><span><?php _e( 'Follow me', CRP_LOCAL_NAME ); ?></span></h3>
42
  <div class="inside">
43
- <div id="follow-us">
44
- <iframe src="//www.facebook.com/plugins/likebox.php?href=https%3A%2F%2Fwww.facebook.com%2Fajaydsouzacom&amp;width=292&amp;height=62&amp;colorscheme=light&amp;show_faces=false&amp;header=true&amp;stream=false&amp;show_border=true&amp;appId=151693118297567" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:292px; height:62px;" allowTransparency="true"></iframe>
45
- <br /><br />
46
- <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>
47
  <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>
48
  </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
49
  </div>
50
  </div>
51
 
52
  <div id="qlinksdiv" class="postbox"><div class="handlediv" title="Click to toggle"><br /></div>
53
- <h3 class='hndle'><span><?php _e( 'Quick links', CRP_LOCAL_NAME ); ?></span></h3>
54
  <div class="inside">
55
  <div id="quick-links">
56
  <ul>
57
- <li><a href="https://webberzone.com/plugins/contextual-related-posts/"><?php _e( 'Plugin homepage', CRP_LOCAL_NAME ); ?></a></li>
58
- <li><a href="https://wordpress.org/plugins/contextual-related-posts/faq/"><?php _e( 'FAQ', CRP_LOCAL_NAME ); ?></a></li>
59
- <li><a href="http://wordpress.org/support/plugin/contextual-related-posts"><?php _e( 'Support', CRP_LOCAL_NAME ); ?></a></li>
60
- <li><a href="https://wordpress.org/support/view/plugin-reviews/contextual-related-posts"><?php _e( 'Reviews', CRP_LOCAL_NAME ); ?></a></li>
61
- <li><a href="https://github.com/WebberZone/contextual-related-posts"><?php _e( 'Github repository', CRP_LOCAL_NAME ); ?></a></li>
62
- <li><a href="https://webberzone.com/plugins/"><?php _e( 'Other plugins', CRP_LOCAL_NAME ); ?></a></li>
63
- <li><a href="https://webberzone.com/"><?php _e( "Ajay's blog", CRP_LOCAL_NAME ); ?></a></li>
64
  </ul>
65
  </div>
66
  </div>
17
  ?>
18
 
19
  <div id="donatediv" class="postbox"><div class="handlediv" title="Click to toggle"><br /></div>
20
+ <h3 class='hndle'><span><?php _e( 'Support the development', 'contextual-related-posts' ); ?></span></h3>
21
  <div class="inside">
22
  <div id="donate-form">
23
  <form action="https://www.paypal.com/cgi-bin/webscr" method="post">
24
  <input type="hidden" name="cmd" value="_xclick">
25
  <input type="hidden" name="business" value="donate@ajaydsouza.com">
26
  <input type="hidden" name="lc" value="IN">
27
+ <input type="hidden" name="item_name" value="<?php _e( 'Donation for Contextual Related Posts', 'contextual-related-posts' ); ?>">
28
  <input type="hidden" name="item_number" value="crp_plugin_settings">
29
+ <strong><?php _e( 'Enter amount in USD:', 'contextual-related-posts' ); ?></strong> <input name="amount" value="10.00" size="6" type="text"><br />
30
  <input type="hidden" name="currency_code" value="USD">
31
  <input type="hidden" name="button_subtype" value="services">
32
  <input type="hidden" name="bn" value="PP-BuyNowBF:btn_donate_LG.gif:NonHosted">
33
+ <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', 'contextual-related-posts' ); ?> Contextual Related Posts?">
34
  <img alt="" border="0" src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1">
35
  </form>
36
  </div>
38
  </div>
39
 
40
  <div id="followdiv" class="postbox"><div class="handlediv" title="Click to toggle"><br /></div>
41
+ <h3 class='hndle'><span><?php _e( 'Follow me', 'contextual-related-posts' ); ?></span></h3>
42
  <div class="inside">
43
+ <div id="twitter">
44
+ <div style="text-align:center"><a href="https://twitter.com/WebberZoneWP" class="twitter-follow-button" data-show-count="false" data-size="large" data-dnt="true">Follow @WebberZoneWP</a>
 
 
45
  <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>
46
  </div>
47
+ <div id="facebook">
48
+ <div id="fb-root"></div>
49
+ <script>
50
+ //<![CDATA[
51
+ (function(d, s, id) {
52
+ var js, fjs = d.getElementsByTagName(s)[0];
53
+ if (d.getElementById(id)) return;
54
+ js = d.createElement(s); js.id = id;
55
+ js.src = "//connect.facebook.net/en_US/sdk.js#xfbml=1&version=v2.4&appId=458036114376706";
56
+ fjs.parentNode.insertBefore(js, fjs);
57
+ }(document, 'script', 'facebook-jssdk'));
58
+ //]]>
59
+ </script>
60
+ <div class="fb-page" data-href="https://www.facebook.com/WebberZone" data-small-header="false" data-adapt-container-width="true" data-hide-cover="false" data-show-facepile="false" data-show-posts="false"><div class="fb-xfbml-parse-ignore"><blockquote cite="https://www.facebook.com/WebberZone"><a href="https://www.facebook.com/WebberZone">WebberZone</a></blockquote></div></div>
61
+ </div>
62
  </div>
63
  </div>
64
 
65
  <div id="qlinksdiv" class="postbox"><div class="handlediv" title="Click to toggle"><br /></div>
66
+ <h3 class='hndle'><span><?php _e( 'Quick links', 'contextual-related-posts' ); ?></span></h3>
67
  <div class="inside">
68
  <div id="quick-links">
69
  <ul>
70
+ <li><a href="https://webberzone.com/plugins/contextual-related-posts/"><?php _e( 'Plugin homepage', 'contextual-related-posts' ); ?></a></li>
71
+ <li><a href="https://wordpress.org/plugins/contextual-related-posts/faq/"><?php _e( 'FAQ', 'contextual-related-posts' ); ?></a></li>
72
+ <li><a href="http://wordpress.org/support/plugin/contextual-related-posts"><?php _e( 'Support', 'contextual-related-posts' ); ?></a></li>
73
+ <li><a href="https://wordpress.org/support/view/plugin-reviews/contextual-related-posts"><?php _e( 'Reviews', 'contextual-related-posts' ); ?></a></li>
74
+ <li><a href="https://github.com/WebberZone/contextual-related-posts"><?php _e( 'Github repository', 'contextual-related-posts' ); ?></a></li>
75
+ <li><a href="https://webberzone.com/plugins/"><?php _e( 'Other plugins', 'contextual-related-posts' ); ?></a></li>
76
+ <li><a href="https://webberzone.com/"><?php _e( "Ajay's blog", 'contextual-related-posts' ); ?></a></li>
77
  </ul>
78
  </div>
79
  </div>
admin/wick/index.php CHANGED
@@ -1 +1 @@
1
- <?php // Silence is golden
1
+ <?php // Silence is golden
admin/wick/wick.css CHANGED
@@ -48,4 +48,3 @@ padding:0;margin:0;
48
  .siwCredit {
49
  margin:0;padding:0;margin-top:10px;font-size:0.7em;color:black;
50
  }
51
-
48
  .siwCredit {
49
  margin:0;padding:0;margin-top:10px;font-size:0.7em;color:black;
50
  }
 
admin/wick/wick.js CHANGED
@@ -14,37 +14,37 @@ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
14
  */
15
  /* start dhtml building blocks */
16
  function freezeEvent(e) {
17
- if (e.preventDefault) e.preventDefault();
18
- e.returnValue = false;
19
- e.cancelBubble = true;
20
- if (e.stopPropagation) e.stopPropagation();
21
- return false;
22
  }//freezeEvent
23
 
24
  function isWithinNode(e,i,c,t,obj) {
25
- answer = false;
26
- te = e;
27
- while(te && !answer) {
28
- if ((te.id && (te.id == i)) || (te.className && (te.className == i+"Class"))
29
- || (!t && c && te.className && (te.className == c))
30
- || (!t && c && te.className && (te.className.indexOf(c) != -1))
31
  || (t && te.tagName && (te.tagName.toLowerCase() == t))
32
  || (obj && (te == obj))
33
  ) {
34
- answer = te;
35
- } else {
36
- te = te.parentNode;
 
37
  }
38
- }
39
- return te;
40
  }//isWithinNode
41
 
42
  function getEvent(event) {
43
- return (event ? event : window.event);
44
  }//getEvent()
45
 
46
  function getEventElement(e) {
47
- return (e.srcElement ? e.srcElement: (e.target ? e.target : e.currentTarget));
48
  }//getEventElement()
49
 
50
  function findElementPosX(obj) {
@@ -54,10 +54,10 @@ function findElementPosX(obj) {
54
  curleft += obj.offsetLeft;
55
  obj = obj.offsetParent;
56
  }
57
- }//if offsetParent exists
58
- else if (obj.x)
59
  curleft += obj.x
60
- return curleft;
61
  }//findElementPosX
62
 
63
  function findElementPosY(obj) {
@@ -67,159 +67,158 @@ function findElementPosY(obj) {
67
  curtop += obj.offsetTop;
68
  obj = obj.offsetParent;
69
  }
70
- }//if offsetParent exists
71
- else if (obj.y)
72
  curtop += obj.y
73
- return curtop;
74
  }//findElementPosY
75
 
76
  /* end dhtml building blocks */
77
 
78
  function handleKeyPress(event) {
79
- e = getEvent(event);
80
- eL = getEventElement(e);
81
 
82
- upEl = isWithinNode(eL,null,"wickEnabled",null,null);
83
 
84
- kc = e["keyCode"];
85
 
86
- if (siw && ((kc == 13) || (kc == 9))) {
87
- siw.selectingSomething = true;
88
- if (siw.isSafari) siw.inputBox.blur(); //hack to "wake up" safari
89
- siw.inputBox.focus();
90
- siw.inputBox.value = siw.inputBox.value.replace(/[ \r\n\t\f\s]+$/gi,' ');
91
- hideSmartInputFloater();
92
- } else if (upEl && (kc != 38) && (kc != 40) && (kc != 37) && (kc != 39) && (kc != 13) && (kc != 27)) {
93
- if (!siw || (siw && !siw.selectingSomething)) {
94
- processSmartInput(upEl);
 
 
 
95
  }
96
- } else if (siw && siw.inputBox) {
97
- siw.inputBox.focus(); //kinda part of the hack.
98
- }
99
 
100
  }//handleKeyPress()
101
 
102
 
103
  function handleKeyDown(event) {
104
- e = getEvent(event);
105
- eL = getEventElement(e);
106
-
107
- if (siw && (kc = e["keyCode"])) {
108
- if (kc == 40) {
109
- siw.selectingSomething = true;
110
- freezeEvent(e);
111
- if (siw.isGecko) siw.inputBox.blur(); /* Gecko hack */
112
- selectNextSmartInputMatchItem();
113
- } else if (kc == 38) {
114
- siw.selectingSomething = true;
115
- freezeEvent(e);
116
- if (siw.isGecko) siw.inputBox.blur();
117
- selectPreviousSmartInputMatchItem();
118
- } else if ((kc == 13) || (kc == 9)) {
119
- siw.selectingSomething = true;
120
- activateCurrentSmartInputMatch();
121
- freezeEvent(e);
122
- } else if (kc == 27) {
123
- hideSmartInputFloater();
124
- freezeEvent(e);
125
- } else {
126
- siw.selectingSomething = false;
 
127
  }
128
- }
129
 
130
  }//handleKeyDown()
131
 
132
  function handleFocus(event) {
133
- e = getEvent(event);
134
- eL = getEventElement(e);
135
- if (focEl = isWithinNode(eL,null,"wickEnabled",null,null)) {
136
- if (!siw || (siw && !siw.selectingSomething)) processSmartInput(focEl);
137
  }
138
  }//handleFocus()
139
 
140
  function handleBlur(event) {
141
- e = getEvent(event);
142
- eL = getEventElement(e);
143
- if (blurEl = isWithinNode(eL,null,"wickEnabled",null,null)) {
144
- if (siw && !siw.selectingSomething) hideSmartInputFloater();
145
  }
146
  }//handleBlur()
147
 
148
  function handleClick(event) {
149
- e2 = getEvent(event);
150
- eL2 = getEventElement(e2);
151
  if (siw && siw.selectingSomething) {
152
  selectFromMouseClick();
153
  }
154
  }//handleClick()
155
 
156
  function handleMouseOver(event) {
157
- e = getEvent(event);
158
- eL = getEventElement(e);
159
- if (siw && (mEl = isWithinNode(eL,null,"matchedSmartInputItem",null,null))) {
160
  siw.selectingSomething = true;
161
- selectFromMouseOver(mEl);
162
- } else if (isWithinNode(eL,null,"siwCredit",null,null)) {
163
  siw.selectingSomething = true;
164
- }else if (siw) {
165
  siw.selectingSomething = false;
166
  }
167
  }//handleMouseOver
168
 
169
  function showSmartInputFloater() {
170
- if (!siw.floater.style.display || (siw.floater.style.display=="none")) {
171
- if (!siw.customFloater) {
172
- x = findElementPosX(siw.inputBox);
173
- y = findElementPosY(siw.inputBox) + siw.inputBox.offsetHeight;
174
- //hack: browser-specific adjustments.
175
- if (!siw.isGecko && !siw.isWinIE) x += 8;
176
- if (!siw.isGecko && !siw.isWinIE) y += 10;
177
- siw.floater.style.left = x;
178
- siw.floater.style.top = y;
179
- } else {
180
- //you may
181
- //do additional things for your custom floater
182
- //beyond setting display and visibility
 
 
 
183
  }
184
- siw.floater.style.display="block";
185
- siw.floater.style.visibility="visible";
186
- }
187
  }//showSmartInputFloater()
188
 
189
  function hideSmartInputFloater() {
190
- if (siw) {
191
- siw.floater.style.display="none";
192
- siw.floater.style.visibility="hidden";
193
- siw = null;
194
- }//siw exists
195
  }//hideSmartInputFloater
196
 
197
  function processSmartInput(inputBox) {
198
- if (!siw) siw = new smartInputWindow();
199
- siw.inputBox = inputBox;
200
-
201
- classData = inputBox.className.split(" ");
202
- siwDirectives = null;
203
- for (i=0;(!siwDirectives && classData[i]);i++) {
204
- if (classData[i].indexOf("wickEnabled") != -1)
205
- siwDirectives = classData[i];
206
- }
207
-
208
- if (siwDirectives && (siwDirectives.indexOf(":") != -1)) {
209
- siw.customFloater = true;
210
- newFloaterId = siwDirectives.split(":")[1];
211
- siw.floater = document.getElementById(newFloaterId);
212
- siw.floaterContent = siw.floater.getElementsByTagName("div")[0];
213
- }
214
 
 
 
 
 
 
 
215
 
216
- setSmartInputData();
217
- if (siw.matchCollection && (siw.matchCollection.length > 0)) selectSmartInputMatchItem(0);
218
- content = getSmartInputBoxContent();
219
- if (content) {
220
- modifySmartInputBoxContent(content);
221
- showSmartInputFloater();
222
- } else hideSmartInputFloater();
223
  }//processSmartInput()
224
 
225
  function smartInputMatch(cleanValue, value) {
@@ -229,69 +228,67 @@ function smartInputMatch(cleanValue, value) {
229
  }//smartInputMatch
230
 
231
  function simplify(s) {
232
- return s.toLowerCase().replace(/^[ \s\f\t\n\r]+/,'').replace(/[ \s\f\t\n\r]+$/,'');
233
- //.replace(/[�,�,�,�,\u00E9,\u00E8,\u00EA,\u00EB]/gi,"e").replace(/[�,�,\u00E0,\u00E2]/gi,"a").
234
  }//simplify
235
 
236
  function getUserInputToMatch(s) {
237
- a = s;
238
- fields = s.split(",");
239
- if (fields.length > 0) a = fields[fields.length - 1];
240
- return a;
241
  }//getUserInputToMatch
242
 
243
  function getUserInputBase() {
244
- s = siw.inputBox.value;
245
- a = s;
246
- if ((lastComma = s.lastIndexOf(",")) != -1) {
247
- a = a.replace(/^(.*\,[ \r\n\t\f\s]*).*$/i,'$1');
248
- }
249
- else
250
- a = "";
251
- return a;
252
  }//getUserInputBase()
253
 
254
  function runMatchingLogic(userInput, standalone) {
255
- userInput = simplify(userInput);
256
- uifc = userInput.charAt(0).toLowerCase();
257
- if (uifc == '"') uifc = (n = userInput.charAt(1)) ? n.toLowerCase() : "z";
258
- if (standalone) userInput = uifc;
259
- if (siw) siw.matchCollection = new Array();
260
  pointerToCollectionToUse = collection;
261
- if (siw && siw.revisedCollection && (siw.revisedCollection.length > 0) && siw.lastUserInput && (userInput.indexOf(siw.lastUserInput) == 0)) {
262
  pointerToCollectionToUse = siw.revisedCollection;
263
  } else if (collectionIndex[userInput] && (collectionIndex[userInput].length > 0)) {
264
  pointerToCollectionToUse = collectionIndex[userInput];
265
  } else if (collectionIndex[uifc] && (collectionIndex[uifc].length > 0)) {
266
  pointerToCollectionToUse = collectionIndex[uifc];
267
- } else if (siw && (userInput.length == 1) && (!collectionIndex[uifc])) {
268
  siw.buildIndex = true;
269
  } else if (siw) {
270
  siw.buildIndex = false;
271
  }
272
-
273
  tempCollection = new Array();
274
 
275
- re1m = new RegExp("^([ \"\>\<\-]*)("+userInput+")","i");
276
- re2m = new RegExp("([ \"\>\<\-]+)("+userInput+")","i");
277
- re1 = new RegExp("^([ \"\}\{\-]*)("+userInput+")","gi");
278
- re2 = new RegExp("([ \"\}\{\-]+)("+userInput+")","gi");
279
-
280
- for (i=0,j=0;(i<pointerToCollectionToUse.length);i++) {
281
- displayMatches = ((!standalone) && (j < siw.MAX_MATCHES));
282
  entry = pointerToCollectionToUse[i];
283
- mEntry = simplify(entry);
284
- if (!standalone && (mEntry.indexOf(userInput) == 0)) {
285
- userInput = userInput.replace(/\>/gi,'\\}').replace(/\< ?/gi,'\\{');
286
- re = new RegExp("(" + userInput + ")","i");
287
  if (displayMatches) {
288
- siw.matchCollection[j] = new smartInputMatch(entry, mEntry.replace(/\>/gi,'}').replace(/\< ?/gi,'{').replace(re,"<b>$1</b>"));
289
  }
290
  tempCollection[j] = entry;
291
- j++;
292
- } else if (mEntry.match(re1m) || mEntry.match(re2m)) {
293
- if (!standalone && displayMatches) {
294
- siw.matchCollection[j] = new smartInputMatch(entry, mEntry.replace(/\>/gi,'}').replace(/\</gi,'{').replace(re1,"$1<b>$2</b>").replace(re2,"$1<b>$2</b>"));
295
  }
296
  tempCollection[j] = entry;
297
  j++;
@@ -299,76 +296,76 @@ function runMatchingLogic(userInput, standalone) {
299
  }//loop thru collection
300
  if (siw) {
301
  siw.lastUserInput = userInput;
302
- siw.revisedCollection = tempCollection.join(",").split(",");
303
- collectionIndex[userInput] = tempCollection.join(",").split(",");
304
  }
305
  if (standalone || siw.buildIndex) {
306
- collectionIndex[uifc] = tempCollection.join(",").split(",");
307
- if (siw) siw.buildIndex = false;
308
  }
309
  }//runMatchingLogic
310
 
311
  function setSmartInputData() {
312
- if (siw) {
313
- orgUserInput = siw.inputBox.value;
314
- orgUserInput = getUserInputToMatch(orgUserInput);
315
- userInput = orgUserInput.toLowerCase().replace(/[\r\n\t\f\s]+/gi,' ').replace(/^ +/gi,'').replace(/ +$/gi,'').replace(/ +/gi,' ').replace(/\\/gi,'').replace(/\[/gi,'').replace(/\(/gi,'').replace(/\./gi,'\.').replace(/\?/gi,'');
316
- if (userInput && (userInput != "") && (userInput != '"')) {
317
- runMatchingLogic(userInput);
318
- }//if userinput not blank and is meaningful
319
- else {
320
- siw.matchCollection = null;
321
- }
322
- }//siw exists ... uhmkaaayyyyy
323
  }//setSmartInputData
324
 
325
  function getSmartInputBoxContent() {
326
- a = null;
327
- if (siw && siw.matchCollection && (siw.matchCollection.length > 0)) {
328
- a = '';
329
- for (i = 0;i < siw.matchCollection.length; i++) {
330
- selectedString = siw.matchCollection[i].isSelected ? ' selectedSmartInputItem' : '';
331
- a += '<p class="matchedSmartInputItem' + selectedString + '">' + siw.matchCollection[i].value.replace(/\{ */gi,"&lt;").replace(/\} */gi,"&gt;") + '</p>';
332
- }//
333
- }//siw exists
334
- return a;
335
  }//getSmartInputBoxContent
336
 
337
  function modifySmartInputBoxContent(content) {
338
- //todo: remove credits 'cuz no one gives a shit ;] - done
339
- siw.floaterContent.innerHTML = '<div id="smartInputResults">' + content + (siw.showCredit ? ('<p class="siwCredit">Powered By: <a target="PhrawgBlog" href="http://chrisholland.blogspot.com/?from=smartinput&ref='+escape(location.href)+'">Chris Holland</a></p>') : '') +'</div>';
340
- siw.matchListDisplay = document.getElementById("smartInputResults");
341
  }//modifySmartInputBoxContent()
342
 
343
  function selectFromMouseOver(o) {
344
- currentIndex = getCurrentlySelectedSmartInputItem();
345
- if (currentIndex != null) deSelectSmartInputMatchItem(currentIndex);
346
- newIndex = getIndexFromElement(o);
347
- selectSmartInputMatchItem(newIndex);
348
- modifySmartInputBoxContent(getSmartInputBoxContent());
349
  }//selectFromMouseOver
350
 
351
  function selectFromMouseClick() {
352
- activateCurrentSmartInputMatch();
353
- siw.inputBox.focus();
354
- hideSmartInputFloater();
355
  }//selectFromMouseClick
356
 
357
  function getIndexFromElement(o) {
358
- index = 0;
359
- while(o = o.previousSibling) {
360
- index++;
361
- }//
362
- return index;
363
  }//getIndexFromElement
364
 
365
  function getCurrentlySelectedSmartInputItem() {
366
- answer = null;
367
- for (i = 0; ((i < siw.matchCollection.length) && !answer) ; i++) {
368
- if (siw.matchCollection[i].isSelected)
369
- answer = i;
370
- }//
371
- return answer;
372
  }//getCurrentlySelectedSmartInputItem
373
 
374
  function selectSmartInputMatchItem(index) {
@@ -380,31 +377,27 @@ function deSelectSmartInputMatchItem(index) {
380
  }//deSelectSmartInputMatchItem()
381
 
382
  function selectNextSmartInputMatchItem() {
383
- currentIndex = getCurrentlySelectedSmartInputItem();
384
- if (currentIndex != null) {
385
- deSelectSmartInputMatchItem(currentIndex);
386
- if ((currentIndex + 1) < siw.matchCollection.length)
387
- selectSmartInputMatchItem(currentIndex + 1);
388
- else
389
- selectSmartInputMatchItem(0);
390
- } else {
391
- selectSmartInputMatchItem(0);
392
- }
393
- modifySmartInputBoxContent(getSmartInputBoxContent());
394
  }//selectNextSmartInputMatchItem
395
 
396
  function selectPreviousSmartInputMatchItem() {
397
- currentIndex = getCurrentlySelectedSmartInputItem();
398
- if (currentIndex != null) {
399
- deSelectSmartInputMatchItem(currentIndex);
400
- if ((currentIndex - 1) >= 0)
401
- selectSmartInputMatchItem(currentIndex - 1);
402
- else
403
- selectSmartInputMatchItem(siw.matchCollection.length - 1);
404
- } else {
405
- selectSmartInputMatchItem(siw.matchCollection.length - 1);
406
- }
407
- modifySmartInputBoxContent(getSmartInputBoxContent());
408
  }//selectPreviousSmartInputMatchItem
409
 
410
  function activateCurrentSmartInputMatch() {
@@ -413,56 +406,56 @@ function activateCurrentSmartInputMatch() {
413
  addedValue = siw.matchCollection[selIndex].cleanValue;
414
  theString = (baseValue ? baseValue : "") + addedValue + ", ";
415
  siw.inputBox.value = theString;
416
- runMatchingLogic(addedValue, true);
417
  }
418
  }//activateCurrentSmartInputMatch
419
 
420
  function smartInputWindow () {
421
  this.customFloater = false;
422
- this.floater = document.getElementById("smartInputFloater");
423
- this.floaterContent = document.getElementById("smartInputFloaterContent");
424
  this.selectedSmartInputItem = null;
425
  this.MAX_MATCHES = 15;
426
- this.isGecko = (navigator.userAgent.indexOf("Gecko/200") != -1);
427
- this.isSafari = (navigator.userAgent.indexOf("Safari") != -1);
428
- this.isWinIE = ((navigator.userAgent.indexOf("Win") != -1 ) && (navigator.userAgent.indexOf("MSIE") != -1 ));
429
  this.showCredit = false;
430
  }//smartInputWindow Object
431
 
432
  function registerSmartInputListeners() {
433
- inputs = document.getElementsByTagName("input");
434
- texts = document.getElementsByTagName("textarea");
435
- allinputs = new Array();
436
- z = 0;
437
- y = 0;
438
- while(inputs[z]) {
439
- allinputs[z] = inputs[z];
440
- z++;
441
- }//
442
- while(texts[y]) {
443
- allinputs[z] = texts[y];
444
- z++;
445
- y++;
446
- }//
447
-
448
- for (i=0; i < allinputs.length;i++) {
449
- if ((c = allinputs[i].className) && (c == "wickEnabled")) {
450
- allinputs[i].setAttribute("autocomplete","OFF");
451
- allinputs[i].onfocus = handleFocus;
452
- allinputs[i].onblur = handleBlur;
453
- allinputs[i].onkeydown = handleKeyDown;
454
- allinputs[i].onkeyup = handleKeyPress;
455
- }
456
- }//loop thru inputs
457
  }//registerSmartInputListeners
458
 
459
  siw = null;
460
 
461
  if (document.addEventListener) {
462
- document.addEventListener("keydown", handleKeyDown, false);
463
- document.addEventListener("keyup", handleKeyPress, false);
464
- document.addEventListener("mouseup", handleClick, false);
465
- document.addEventListener("mouseover", handleMouseOver, false);
466
  } else {
467
  document.onkeydown = handleKeyDown;
468
  document.onkeyup = handleKeyPress;
@@ -472,21 +465,21 @@ if (document.addEventListener) {
472
 
473
  registerSmartInputListeners();
474
 
475
- document.write (
476
- '<table id="smartInputFloater" class="floater" cellpadding="0" cellspacing="0"><tr><td id="smartInputFloaterContent" nowrap="nowrap">'
477
- +'<\/td><\/tr><\/table>'
478
  );
479
 
480
- //note: instruct users to the fact that no commas should be present in entries.
481
- //it would make things insanely messy.
482
- //this is why i'm filtering commas here:
483
- for (x=0;x<collection.length;x++) {
484
- collection[x] = collection[x].replace(/\,/gi,'');
485
  }//
486
 
487
  collectionIndex = new Array();
488
 
489
  ds = "";
490
  function debug(s) {
491
- ds += ( s + "\n");
492
  }
14
  */
15
  /* start dhtml building blocks */
16
  function freezeEvent(e) {
17
+ if (e.preventDefault) { e.preventDefault(); }
18
+ e.returnValue = false;
19
+ e.cancelBubble = true;
20
+ if (e.stopPropagation) { e.stopPropagation(); }
21
+ return false;
22
  }//freezeEvent
23
 
24
  function isWithinNode(e,i,c,t,obj) {
25
+ answer = false;
26
+ te = e;
27
+ while (te && ! answer) {
28
+ if ((te.id && (te.id == i)) || (te.className && (te.className == i + "Class"))
29
+ || ( ! t && c && te.className && (te.className == c))
30
+ || ( ! t && c && te.className && (te.className.indexOf( c ) != -1))
31
  || (t && te.tagName && (te.tagName.toLowerCase() == t))
32
  || (obj && (te == obj))
33
  ) {
34
+ answer = te;
35
+ } else {
36
+ te = te.parentNode;
37
+ }
38
  }
39
+ return te;
 
40
  }//isWithinNode
41
 
42
  function getEvent(event) {
43
+ return (event ? event : window.event);
44
  }//getEvent()
45
 
46
  function getEventElement(e) {
47
+ return (e.srcElement ? e.srcElement: (e.target ? e.target : e.currentTarget));
48
  }//getEventElement()
49
 
50
  function findElementPosX(obj) {
54
  curleft += obj.offsetLeft;
55
  obj = obj.offsetParent;
56
  }
57
+ } //if offsetParent exists
58
+ else if (obj.x) {
59
  curleft += obj.x
60
+ return curleft; }
61
  }//findElementPosX
62
 
63
  function findElementPosY(obj) {
67
  curtop += obj.offsetTop;
68
  obj = obj.offsetParent;
69
  }
70
+ } //if offsetParent exists
71
+ else if (obj.y) {
72
  curtop += obj.y
73
+ return curtop; }
74
  }//findElementPosY
75
 
76
  /* end dhtml building blocks */
77
 
78
  function handleKeyPress(event) {
79
+ e = getEvent( event );
80
+ eL = getEventElement( e );
81
 
82
+ upEl = isWithinNode( eL,null,"wickEnabled",null,null );
83
 
84
+ kc = e["keyCode"];
85
 
86
+ if (siw && ((kc == 13) || (kc == 9))) {
87
+ siw.selectingSomething = true;
88
+ if (siw.isSafari) { siw.inputBox.blur(); // hack to "wake up" safari
89
+ } siw.inputBox.focus();
90
+ siw.inputBox.value = siw.inputBox.value.replace( /[ \r\n\t\f\s]+$/gi,' ' );
91
+ hideSmartInputFloater();
92
+ } else if (upEl && (kc != 38) && (kc != 40) && (kc != 37) && (kc != 39) && (kc != 13) && (kc != 27)) {
93
+ if ( ! siw || (siw && ! siw.selectingSomething)) {
94
+ processSmartInput( upEl );
95
+ }
96
+ } else if (siw && siw.inputBox) {
97
+ siw.inputBox.focus(); // kinda part of the hack.
98
  }
 
 
 
99
 
100
  }//handleKeyPress()
101
 
102
 
103
  function handleKeyDown(event) {
104
+ e = getEvent( event );
105
+ eL = getEventElement( e );
106
+
107
+ if (siw && (kc = e["keyCode"])) {
108
+ if (kc == 40) {
109
+ siw.selectingSomething = true;
110
+ freezeEvent( e );
111
+ if (siw.isGecko) { siw.inputBox.blur(); } /* Gecko hack */
112
+ selectNextSmartInputMatchItem();
113
+ } else if (kc == 38) {
114
+ siw.selectingSomething = true;
115
+ freezeEvent( e );
116
+ if (siw.isGecko) { siw.inputBox.blur(); }
117
+ selectPreviousSmartInputMatchItem();
118
+ } else if ((kc == 13) || (kc == 9)) {
119
+ siw.selectingSomething = true;
120
+ activateCurrentSmartInputMatch();
121
+ freezeEvent( e );
122
+ } else if (kc == 27) {
123
+ hideSmartInputFloater();
124
+ freezeEvent( e );
125
+ } else {
126
+ siw.selectingSomething = false;
127
+ }
128
  }
 
129
 
130
  }//handleKeyDown()
131
 
132
  function handleFocus(event) {
133
+ e = getEvent( event );
134
+ eL = getEventElement( e );
135
+ if (focEl = isWithinNode( eL,null,"wickEnabled",null,null )) {
136
+ if ( ! siw || (siw && ! siw.selectingSomething)) { processSmartInput( focEl ); }
137
  }
138
  }//handleFocus()
139
 
140
  function handleBlur(event) {
141
+ e = getEvent( event );
142
+ eL = getEventElement( e );
143
+ if (blurEl = isWithinNode( eL,null,"wickEnabled",null,null )) {
144
+ if (siw && ! siw.selectingSomething) { hideSmartInputFloater(); }
145
  }
146
  }//handleBlur()
147
 
148
  function handleClick(event) {
149
+ e2 = getEvent( event );
150
+ eL2 = getEventElement( e2 );
151
  if (siw && siw.selectingSomething) {
152
  selectFromMouseClick();
153
  }
154
  }//handleClick()
155
 
156
  function handleMouseOver(event) {
157
+ e = getEvent( event );
158
+ eL = getEventElement( e );
159
+ if (siw && (mEl = isWithinNode( eL,null,"matchedSmartInputItem",null,null ))) {
160
  siw.selectingSomething = true;
161
+ selectFromMouseOver( mEl );
162
+ } else if (isWithinNode( eL,null,"siwCredit",null,null )) {
163
  siw.selectingSomething = true;
164
+ } else if (siw) {
165
  siw.selectingSomething = false;
166
  }
167
  }//handleMouseOver
168
 
169
  function showSmartInputFloater() {
170
+ if ( ! siw.floater.style.display || (siw.floater.style.display == "none")) {
171
+ if ( ! siw.customFloater) {
172
+ x = findElementPosX( siw.inputBox );
173
+ y = findElementPosY( siw.inputBox ) + siw.inputBox.offsetHeight;
174
+ // hack: browser-specific adjustments.
175
+ if ( ! siw.isGecko && ! siw.isWinIE) { x += 8; }
176
+ if ( ! siw.isGecko && ! siw.isWinIE) { y += 10; }
177
+ siw.floater.style.left = x;
178
+ siw.floater.style.top = y;
179
+ } else {
180
+ // you may
181
+ // do additional things for your custom floater
182
+ // beyond setting display and visibility
183
+ }
184
+ siw.floater.style.display = "block";
185
+ siw.floater.style.visibility = "visible";
186
  }
 
 
 
187
  }//showSmartInputFloater()
188
 
189
  function hideSmartInputFloater() {
190
+ if (siw) {
191
+ siw.floater.style.display = "none";
192
+ siw.floater.style.visibility = "hidden";
193
+ siw = null;
194
+ }//siw exists
195
  }//hideSmartInputFloater
196
 
197
  function processSmartInput(inputBox) {
198
+ if ( ! siw) { siw = new smartInputWindow(); }
199
+ siw.inputBox = inputBox;
200
+
201
+ classData = inputBox.className.split( " " );
202
+ siwDirectives = null;
203
+ for (i = 0;( ! siwDirectives && classData[i]);i++) {
204
+ if (classData[i].indexOf( "wickEnabled" ) != -1) {
205
+ siwDirectives = classData[i]; }
206
+ }
 
 
 
 
 
 
 
207
 
208
+ if (siwDirectives && (siwDirectives.indexOf( ":" ) != -1)) {
209
+ siw.customFloater = true;
210
+ newFloaterId = siwDirectives.split( ":" )[1];
211
+ siw.floater = document.getElementById( newFloaterId );
212
+ siw.floaterContent = siw.floater.getElementsByTagName( "div" )[0];
213
+ }
214
 
215
+ setSmartInputData();
216
+ if (siw.matchCollection && (siw.matchCollection.length > 0)) { selectSmartInputMatchItem( 0 ); }
217
+ content = getSmartInputBoxContent();
218
+ if (content) {
219
+ modifySmartInputBoxContent( content );
220
+ showSmartInputFloater();
221
+ } else { hideSmartInputFloater(); }
222
  }//processSmartInput()
223
 
224
  function smartInputMatch(cleanValue, value) {
228
  }//smartInputMatch
229
 
230
  function simplify(s) {
231
+ return s.toLowerCase().replace( /^[ \s\f\t\n\r]+/,'' ).replace( /[ \s\f\t\n\r]+$/,'' );
232
+ // .replace(/[�,�,�,�,\u00E9,\u00E8,\u00EA,\u00EB]/gi,"e").replace(/[�,�,\u00E0,\u00E2]/gi,"a").
233
  }//simplify
234
 
235
  function getUserInputToMatch(s) {
236
+ a = s;
237
+ fields = s.split( "," );
238
+ if (fields.length > 0) { a = fields[fields.length - 1]; }
239
+ return a;
240
  }//getUserInputToMatch
241
 
242
  function getUserInputBase() {
243
+ s = siw.inputBox.value;
244
+ a = s;
245
+ if ((lastComma = s.lastIndexOf( "," )) != -1) {
246
+ a = a.replace( /^(.*\,[ \r\n\t\f\s]*).*$/i,'$1' );
247
+ } else { a = ""; }
248
+ return a;
 
 
249
  }//getUserInputBase()
250
 
251
  function runMatchingLogic(userInput, standalone) {
252
+ userInput = simplify( userInput );
253
+ uifc = userInput.charAt( 0 ).toLowerCase();
254
+ if (uifc == '"') { uifc = (n = userInput.charAt( 1 )) ? n.toLowerCase() : "z"; }
255
+ if (standalone) { userInput = uifc; }
256
+ if (siw) { siw.matchCollection = new Array(); }
257
  pointerToCollectionToUse = collection;
258
+ if (siw && siw.revisedCollection && (siw.revisedCollection.length > 0) && siw.lastUserInput && (userInput.indexOf( siw.lastUserInput ) == 0)) {
259
  pointerToCollectionToUse = siw.revisedCollection;
260
  } else if (collectionIndex[userInput] && (collectionIndex[userInput].length > 0)) {
261
  pointerToCollectionToUse = collectionIndex[userInput];
262
  } else if (collectionIndex[uifc] && (collectionIndex[uifc].length > 0)) {
263
  pointerToCollectionToUse = collectionIndex[uifc];
264
+ } else if (siw && (userInput.length == 1) && ( ! collectionIndex[uifc])) {
265
  siw.buildIndex = true;
266
  } else if (siw) {
267
  siw.buildIndex = false;
268
  }
269
+
270
  tempCollection = new Array();
271
 
272
+ re1m = new RegExp( "^([ \"\>\<\-]*)(" + userInput + ")","i" );
273
+ re2m = new RegExp( "([ \"\>\<\-]+)(" + userInput + ")","i" );
274
+ re1 = new RegExp( "^([ \"\}\{\-]*)(" + userInput + ")","gi" );
275
+ re2 = new RegExp( "([ \"\}\{\-]+)(" + userInput + ")","gi" );
276
+
277
+ for (i = 0,j = 0;(i < pointerToCollectionToUse.length);i++) {
278
+ displayMatches = (( ! standalone) && (j < siw.MAX_MATCHES));
279
  entry = pointerToCollectionToUse[i];
280
+ mEntry = simplify( entry );
281
+ if ( ! standalone && (mEntry.indexOf( userInput ) == 0)) {
282
+ userInput = userInput.replace( /\>/gi,'\\}' ).replace( /\< ?/gi,'\\{' );
283
+ re = new RegExp( "(" + userInput + ")","i" );
284
  if (displayMatches) {
285
+ siw.matchCollection[j] = new smartInputMatch( entry, mEntry.replace( /\>/gi,'}' ).replace( /\< ?/gi,'{' ).replace( re,"<b>$1</b>" ) );
286
  }
287
  tempCollection[j] = entry;
288
+ j++;
289
+ } else if (mEntry.match( re1m ) || mEntry.match( re2m )) {
290
+ if ( ! standalone && displayMatches) {
291
+ siw.matchCollection[j] = new smartInputMatch( entry, mEntry.replace( /\>/gi,'}' ).replace( /\</gi,'{' ).replace( re1,"$1<b>$2</b>" ).replace( re2,"$1<b>$2</b>" ) );
292
  }
293
  tempCollection[j] = entry;
294
  j++;
296
  }//loop thru collection
297
  if (siw) {
298
  siw.lastUserInput = userInput;
299
+ siw.revisedCollection = tempCollection.join( "," ).split( "," );
300
+ collectionIndex[userInput] = tempCollection.join( "," ).split( "," );
301
  }
302
  if (standalone || siw.buildIndex) {
303
+ collectionIndex[uifc] = tempCollection.join( "," ).split( "," );
304
+ if (siw) { siw.buildIndex = false; }
305
  }
306
  }//runMatchingLogic
307
 
308
  function setSmartInputData() {
309
+ if (siw) {
310
+ orgUserInput = siw.inputBox.value;
311
+ orgUserInput = getUserInputToMatch( orgUserInput );
312
+ userInput = orgUserInput.toLowerCase().replace( /[\r\n\t\f\s]+/gi,' ' ).replace( /^ +/gi,'' ).replace( / +$/gi,'' ).replace( / +/gi,' ' ).replace( /\\/gi,'' ).replace( /\[/gi,'' ).replace( /\(/gi,'' ).replace( /\./gi,'\.' ).replace( /\?/gi,'' );
313
+ if (userInput && (userInput != "") && (userInput != '"')) {
314
+ runMatchingLogic( userInput );
315
+ } //if userinput not blank and is meaningful
316
+ else {
317
+ siw.matchCollection = null;
318
+ }
319
+ }//siw exists ... uhmkaaayyyyy
320
  }//setSmartInputData
321
 
322
  function getSmartInputBoxContent() {
323
+ a = null;
324
+ if (siw && siw.matchCollection && (siw.matchCollection.length > 0)) {
325
+ a = '';
326
+ for (i = 0;i < siw.matchCollection.length; i++) {
327
+ selectedString = siw.matchCollection[i].isSelected ? ' selectedSmartInputItem' : '';
328
+ a += '<p class="matchedSmartInputItem' + selectedString + '">' + siw.matchCollection[i].value.replace( /\{ */gi,"&lt;" ).replace( /\} */gi,"&gt;" ) + '</p>';
329
+ }//
330
+ }//siw exists
331
+ return a;
332
  }//getSmartInputBoxContent
333
 
334
  function modifySmartInputBoxContent(content) {
335
+ // todo: remove credits 'cuz no one gives a shit ;] - done
336
+ siw.floaterContent.innerHTML = '<div id="smartInputResults">' + content + (siw.showCredit ? ('<p class="siwCredit">Powered By: <a target="PhrawgBlog" href="http://chrisholland.blogspot.com/?from=smartinput&ref=' + escape( location.href ) + '">Chris Holland</a></p>') : '') + '</div>';
337
+ siw.matchListDisplay = document.getElementById( "smartInputResults" );
338
  }//modifySmartInputBoxContent()
339
 
340
  function selectFromMouseOver(o) {
341
+ currentIndex = getCurrentlySelectedSmartInputItem();
342
+ if (currentIndex != null) { deSelectSmartInputMatchItem( currentIndex ); }
343
+ newIndex = getIndexFromElement( o );
344
+ selectSmartInputMatchItem( newIndex );
345
+ modifySmartInputBoxContent( getSmartInputBoxContent() );
346
  }//selectFromMouseOver
347
 
348
  function selectFromMouseClick() {
349
+ activateCurrentSmartInputMatch();
350
+ siw.inputBox.focus();
351
+ hideSmartInputFloater();
352
  }//selectFromMouseClick
353
 
354
  function getIndexFromElement(o) {
355
+ index = 0;
356
+ while (o = o.previousSibling) {
357
+ index++;
358
+ }//
359
+ return index;
360
  }//getIndexFromElement
361
 
362
  function getCurrentlySelectedSmartInputItem() {
363
+ answer = null;
364
+ for (i = 0; ((i < siw.matchCollection.length) && ! answer) ; i++) {
365
+ if (siw.matchCollection[i].isSelected) {
366
+ answer = i; }
367
+ }//
368
+ return answer;
369
  }//getCurrentlySelectedSmartInputItem
370
 
371
  function selectSmartInputMatchItem(index) {
377
  }//deSelectSmartInputMatchItem()
378
 
379
  function selectNextSmartInputMatchItem() {
380
+ currentIndex = getCurrentlySelectedSmartInputItem();
381
+ if (currentIndex != null) {
382
+ deSelectSmartInputMatchItem( currentIndex );
383
+ if ((currentIndex + 1) < siw.matchCollection.length) {
384
+ selectSmartInputMatchItem( currentIndex + 1 ); } else { selectSmartInputMatchItem( 0 ); }
385
+ } else {
386
+ selectSmartInputMatchItem( 0 );
387
+ }
388
+ modifySmartInputBoxContent( getSmartInputBoxContent() );
 
 
389
  }//selectNextSmartInputMatchItem
390
 
391
  function selectPreviousSmartInputMatchItem() {
392
+ currentIndex = getCurrentlySelectedSmartInputItem();
393
+ if (currentIndex != null) {
394
+ deSelectSmartInputMatchItem( currentIndex );
395
+ if ((currentIndex - 1) >= 0) {
396
+ selectSmartInputMatchItem( currentIndex - 1 ); } else { selectSmartInputMatchItem( siw.matchCollection.length - 1 ); }
397
+ } else {
398
+ selectSmartInputMatchItem( siw.matchCollection.length - 1 );
399
+ }
400
+ modifySmartInputBoxContent( getSmartInputBoxContent() );
 
 
401
  }//selectPreviousSmartInputMatchItem
402
 
403
  function activateCurrentSmartInputMatch() {
406
  addedValue = siw.matchCollection[selIndex].cleanValue;
407
  theString = (baseValue ? baseValue : "") + addedValue + ", ";
408
  siw.inputBox.value = theString;
409
+ runMatchingLogic( addedValue, true );
410
  }
411
  }//activateCurrentSmartInputMatch
412
 
413
  function smartInputWindow () {
414
  this.customFloater = false;
415
+ this.floater = document.getElementById( "smartInputFloater" );
416
+ this.floaterContent = document.getElementById( "smartInputFloaterContent" );
417
  this.selectedSmartInputItem = null;
418
  this.MAX_MATCHES = 15;
419
+ this.isGecko = (navigator.userAgent.indexOf( "Gecko/200" ) != -1);
420
+ this.isSafari = (navigator.userAgent.indexOf( "Safari" ) != -1);
421
+ this.isWinIE = ((navigator.userAgent.indexOf( "Win" ) != -1 ) && (navigator.userAgent.indexOf( "MSIE" ) != -1 ));
422
  this.showCredit = false;
423
  }//smartInputWindow Object
424
 
425
  function registerSmartInputListeners() {
426
+ inputs = document.getElementsByTagName( "input" );
427
+ texts = document.getElementsByTagName( "textarea" );
428
+ allinputs = new Array();
429
+ z = 0;
430
+ y = 0;
431
+ while (inputs[z]) {
432
+ allinputs[z] = inputs[z];
433
+ z++;
434
+ }//
435
+ while (texts[y]) {
436
+ allinputs[z] = texts[y];
437
+ z++;
438
+ y++;
439
+ }//
440
+
441
+ for (i = 0; i < allinputs.length;i++) {
442
+ if ((c = allinputs[i].className) && (c == "wickEnabled")) {
443
+ allinputs[i].setAttribute( "autocomplete","OFF" );
444
+ allinputs[i].onfocus = handleFocus;
445
+ allinputs[i].onblur = handleBlur;
446
+ allinputs[i].onkeydown = handleKeyDown;
447
+ allinputs[i].onkeyup = handleKeyPress;
448
+ }
449
+ }//loop thru inputs
450
  }//registerSmartInputListeners
451
 
452
  siw = null;
453
 
454
  if (document.addEventListener) {
455
+ document.addEventListener( "keydown", handleKeyDown, false );
456
+ document.addEventListener( "keyup", handleKeyPress, false );
457
+ document.addEventListener( "mouseup", handleClick, false );
458
+ document.addEventListener( "mouseover", handleMouseOver, false );
459
  } else {
460
  document.onkeydown = handleKeyDown;
461
  document.onkeyup = handleKeyPress;
465
 
466
  registerSmartInputListeners();
467
 
468
+ document.write(
469
+ '<table id="smartInputFloater" class="floater" cellpadding="0" cellspacing="0"><tr><td id="smartInputFloaterContent" nowrap="nowrap">'
470
+ + '<\/td><\/tr><\/table>'
471
  );
472
 
473
+ // note: instruct users to the fact that no commas should be present in entries.
474
+ // it would make things insanely messy.
475
+ // this is why i'm filtering commas here:
476
+ for (x = 0;x < collection.length;x++) {
477
+ collection[x] = collection[x].replace( /\,/gi,'' );
478
  }//
479
 
480
  collectionIndex = new Array();
481
 
482
  ds = "";
483
  function debug(s) {
484
+ ds += ( s + "\n");
485
  }
contextual-related-posts.php CHANGED
@@ -1,979 +1,1014 @@
1
- <?php
2
- /**
3
- * Contextual Related Posts.
4
- *
5
- * Contextual Related Posts is the best related posts plugin for WordPress that
6
- * allows you to display a list of related posts on your website and in your feed.
7
- *
8
- * @package Contextual_Related_Posts
9
- * @author Ajay D'Souza <me@ajaydsouza.com>
10
- * @license GPL-2.0+
11
- * @link https://webberzone.com
12
- * @copyright 2009-2015 Ajay D'Souza
13
- *
14
- * @wordpress-plugin
15
- * Plugin Name: Contextual Related Posts
16
- * Plugin URI: https://webberzone.com/plugins/contextual-related-posts/
17
- * Description: Display a set of related posts on your website or in your feed. Increase reader retention and reduce bounce rates
18
- * Version: 2.2.2
19
- * Author: WebberZone
20
- * Author URI: https://webberzone.com
21
- * Text Domain: crp
22
- * License: GPL-2.0+
23
- * License URI: http://www.gnu.org/licenses/gpl-2.0.txt
24
- * Domain Path: /languages
25
- * GitHub Plugin URI: https://github.com/WebberZone/contextual-related-posts/
26
- */
27
-
28
- // If this file is called directly, abort.
29
- if ( ! defined( 'WPINC' ) ) {
30
- die;
31
- }
32
-
33
-
34
- /**
35
- * Holds the text domain.
36
- *
37
- * @since 1.4
38
- */
39
- define( 'CRP_LOCAL_NAME', 'crp' );
40
-
41
- /**
42
- * Holds the filesystem directory path (with trailing slash) for CRP
43
- *
44
- * @since 1.2
45
- *
46
- * @var string
47
- */
48
- $crp_path = plugin_dir_path( __FILE__ );
49
-
50
- /**
51
- * Holds the URL for CRP
52
- *
53
- * @since 1.2
54
- *
55
- * @var string
56
- */
57
- $crp_url = plugins_url() . '/' . plugin_basename( dirname( __FILE__ ) );
58
-
59
- /**
60
- * Global variable holding the current settings for Contextual Related Posts
61
- *
62
- * @since 1.8.10
63
- *
64
- * @var array
65
- */
66
- global $crp_settings;
67
- $crp_settings = crp_read_options();
68
-
69
-
70
- /**
71
- * Initialises text domain for l10n.
72
- *
73
- * @since 2.2.0
74
- */
75
- function crp_lang_init() {
76
- load_plugin_textdomain( CRP_LOCAL_NAME, false, dirname( plugin_basename( __FILE__ ) ) . '/languages/' );
77
- }
78
- add_action( 'plugins_loaded', 'crp_lang_init' );
79
-
80
-
81
- /**
82
- * Main function to generate the related posts output
83
- *
84
- * @since 1.0.1
85
- *
86
- * @param array $args Parameters in a query string format
87
- * @return string HTML formatted list of related posts
88
- */
89
- function get_crp( $args = array() ) {
90
- global $wpdb, $post, $crp_settings;
91
-
92
- // if set, save $exclude_categories
93
- if ( isset( $args['exclude_categories'] ) && '' != $args['exclude_categories'] ) {
94
- $exclude_categories = explode( ",", $args['exclude_categories'] );
95
- $args['strict_limit'] = FALSE;
96
- }
97
-
98
- $defaults = array(
99
- 'is_widget' => FALSE,
100
- 'is_manual' => FALSE,
101
- 'echo' => TRUE,
102
- 'heading' => TRUE,
103
- );
104
- $defaults = array_merge( $defaults, $crp_settings );
105
-
106
- // Parse incomming $args into an array and merge it with $defaults
107
- $args = wp_parse_args( $args, $defaults );
108
-
109
- //Support caching to speed up retrieval
110
- if ( ! empty( $args['cache'] ) ) {
111
- $meta_key = 'crp_related_posts';
112
- if ( $args['is_widget'] ) {
113
- $meta_key .= '_widget';
114
- }
115
- if ( $args['is_manual'] ) {
116
- $meta_key .= '_manual';
117
- }
118
- if ( is_feed() ) {
119
- $meta_key .= '_feed';
120
- }
121
- $output = get_post_meta( $post->ID, $meta_key, true );
122
- if ( $output ) {
123
- return $output;
124
- }
125
- }
126
-
127
- // Retrieve the list of posts
128
- $results = get_crp_posts_id( array_merge( $args, array(
129
- 'postid' => $post->ID,
130
- 'strict_limit' => ( isset( $args['strict_limit'] ) ) ? $args['strict_limit'] : TRUE,
131
- ) ) );
132
-
133
- $output = ( is_singular() ) ? '<div id="crp_related" class="crp_related' . ( $args['is_widget'] ? '_widget' : '' ) . '">' : '<div class="crp_related' . ( $args['is_widget'] ? '_widget' : '' ) . '">';
134
-
135
- if ( $results ) {
136
- $loop_counter = 0;
137
-
138
- $output .= crp_heading_title( $args );
139
-
140
- $output .= crp_before_list( $args );
141
-
142
- // We need this for WPML support
143
- $processed_results = array();
144
-
145
- foreach ( $results as $result ) {
146
-
147
- /* Support WPML */
148
- $resultid = crp_object_id_cur_lang( $result->ID );
149
-
150
- if ( in_array( $resultid, $processed_results ) ) {
151
- continue;
152
- }
153
-
154
- array_push( $processed_results, $resultid );
155
-
156
- /**
157
- * Filter the post ID for each result. Allows a custom function to hook in and change the ID if needed.
158
- *
159
- * @since 1.9
160
- *
161
- * @param int $result->ID ID of the post
162
- */
163
- $resultid = apply_filters( 'crp_post_id', $result->ID );
164
-
165
- $result = get_post( $resultid ); // Let's get the Post using the ID
166
-
167
- // Process the category exclusion if passed in the shortcode
168
- if ( isset( $exclude_categories ) ) {
169
-
170
- $categorys = get_the_category( $result->ID ); //Fetch categories of the plugin
171
-
172
- $p_in_c = false; // Variable to check if post exists in a particular category
173
- foreach ( $categorys as $cat ) { // Loop to check if post exists in excluded category
174
- $p_in_c = ( in_array( $cat->cat_ID, $exclude_categories ) ) ? true : false;
175
- if ( $p_in_c ) break; // Skip loop execution and go to the next step
176
- }
177
- if ( $p_in_c ) continue; // Skip loop execution and go to the next step
178
- }
179
-
180
- $output .= crp_before_list_item( $args, $result );
181
-
182
- $output .= crp_list_link( $args, $result );
183
-
184
- if ( $args['show_author'] ) {
185
- $output .= crp_author( $args, $result );
186
- }
187
-
188
- if ( $args['show_date'] ) {
189
- $output .= '<span class="crp_date"> ' . mysql2date( get_option( 'date_format', 'd/m/y' ), $result->post_date ) . '</span> ';
190
- }
191
-
192
- if ( $args['show_excerpt'] ) {
193
- $output .= '<span class="crp_excerpt"> ' . crp_excerpt( $result->ID, $args['excerpt_length'] ) . '</span>';
194
- }
195
-
196
- $loop_counter++;
197
-
198
- $output .= crp_after_list_item( $args, $result );
199
-
200
- if ( $loop_counter == $args['limit'] ) break; // End loop when related posts limit is reached
201
- } //end of foreach loop
202
-
203
- if ( $args['show_credit'] ) {
204
-
205
- $output .= crp_before_list_item( $args, $result );
206
-
207
- $output .= sprintf( __( 'Powered by <a href="%s" rel="nofollow">Contextual Related Posts</a>', CRP_LOCAL_NAME ), esc_url( 'https://webberzone.com/plugins/contextual-related-posts/' ) );
208
-
209
- $output .= crp_after_list_item( $args, $result );
210
-
211
- }
212
-
213
- $output .= crp_after_list( $args );
214
-
215
- $clearfix = '<div class="crp_clear"></div>';
216
-
217
- /**
218
- * Filter the clearfix div tag. This is included after the closing tag to clear any miscellaneous floating elements;
219
- *
220
- * @since 2.0.0
221
- *
222
- * @param string $clearfix Contains: <div style="clear:both"></div>
223
- */
224
- $output .= apply_filters( 'crp_clearfix', $clearfix );
225
-
226
- } else {
227
- $output .= ( $args['blank_output'] ) ? ' ' : '<p>' . $args['blank_output_text'] . '</p>';
228
- }
229
-
230
- // Check if the opening list tag is missing in the output, it means all of our results were eliminated cause of the category filter
231
- if ( false === ( strpos( $output, $args['before_list_item'] ) ) ) {
232
- $output = '<div id="crp_related">';
233
- $output .= ( $args['blank_output'] ) ? ' ' : '<p>' . $args['blank_output_text'] . '</p>';
234
- }
235
-
236
- $output .= '</div>'; // closing div of 'crp_related'
237
-
238
-
239
- //Support caching to speed up retrieval
240
- if ( ! empty( $args['cache'] ) ) {
241
- update_post_meta( $post->ID, $meta_key, $output, '' );
242
- }
243
-
244
- /**
245
- * Filter the output
246
- *
247
- * @since 1.9.1
248
- *
249
- * @param string $output Formatted list of related posts
250
- * @param array $args Complete set of arguments
251
- */
252
- return apply_filters( 'get_crp', $output, $args );
253
- }
254
-
255
-
256
- /**
257
- * Fetch related posts IDs.
258
- *
259
- * @since 1.9
260
- *
261
- * @param array $args
262
- * @return object $results
263
- */
264
- function get_crp_posts_id( $args = array() ) {
265
- global $wpdb, $post, $crp_settings;
266
-
267
- // Initialise some variables
268
- $fields = '';
269
- $where = '';
270
- $join = '';
271
- $groupby = '';
272
- $orderby = '';
273
- $having = '';
274
- $limits = '';
275
- $match_fields = '';
276
-
277
- $defaults = array(
278
- 'postid' => FALSE,
279
- 'strict_limit' => TRUE,
280
- );
281
- $defaults = array_merge( $defaults, $crp_settings );
282
-
283
- // Parse incoming $args into an array and merge it with $defaults
284
- $args = wp_parse_args( $args, $defaults );
285
-
286
- // Fix the thumb size in case it is missing
287
- $crp_thumb_size = crp_get_all_image_sizes( $args['thumb_size'] );
288
-
289
- if ( isset( $crp_thumb_size['width'] ) ) {
290
- $thumb_width = $crp_thumb_size['width'];
291
- $thumb_height = $crp_thumb_size['height'];
292
- }
293
-
294
- if ( empty( $thumb_width ) ) {
295
- $thumb_width = $crp_settings['thumb_width'];
296
- }
297
-
298
- if ( empty( $thumb_height ) ) {
299
- $thumb_height = $crp_settings['thumb_height'];
300
- }
301
-
302
- $post = ( empty( $args['postid'] ) ) ? $post : get_post( $args['postid'] );
303
-
304
- $limit = ( $args['strict_limit'] ) ? $args['limit'] : ( $args['limit'] * 3 );
305
-
306
- // Save post types in $post_types variable
307
- parse_str( $args['post_types'], $post_types );
308
-
309
- /**
310
- * Filter the post_type clause of the query.
311
- *
312
- * @since 2.2.0
313
- *
314
- * @param array $post_types Array of post types to filter by
315
- * @param int $post->ID Post ID
316
- */
317
- $post_types = apply_filters( 'crp_posts_post_types', $post_types, $post->ID );
318
-
319
- // Are we matching only the title or the post content as well?
320
- $match_fields = array(
321
- 'post_title',
322
- );
323
-
324
- $match_fields_content = array(
325
- $post->post_title,
326
- );
327
-
328
- if( $args['match_content'] ) {
329
-
330
- $match_fields[] = 'post_content';
331
- $match_fields_content[] = crp_excerpt( $post->ID, $args['match_content_words'], false );
332
- }
333
-
334
- /**
335
- * Filter the fields that are to be matched.
336
- *
337
- * @since 2.2.0
338
- *
339
- * @param array $match_fields Array of fields to be matched
340
- * @param int $post->ID Post ID
341
- */
342
- $match_fields = apply_filters( 'crp_posts_match_fields', $match_fields, $post->ID );
343
-
344
- /**
345
- * Filter the content of the fields that are to be matched.
346
- *
347
- * @since 2.2.0
348
- *
349
- * @param array $match_fields_content Array of content of fields to be matched
350
- * @param int $post->ID Post ID
351
- */
352
- $match_fields_content = apply_filters( 'crp_posts_match_fields_content', $match_fields_content, $post->ID );
353
-
354
- // Convert our arrays into their corresponding strings after they have been filtered
355
- $match_fields = implode( ",", $match_fields );
356
- $stuff = implode( " ", $match_fields_content );
357
-
358
- // Make sure the post is not from the future
359
- $time_difference = get_option( 'gmt_offset' );
360
- $now = gmdate( "Y-m-d H:i:s", ( time() + ( $time_difference * 3600 ) ) );
361
-
362
- // Limit the related posts by time
363
- $current_time = current_time( 'timestamp', 0 );
364
- $from_date = $current_time - ( $args['daily_range'] * DAY_IN_SECONDS );
365
- $from_date = gmdate( 'Y-m-d H:i:s' , $from_date );
366
-
367
- // Create the SQL query to fetch the related posts from the database
368
- if ( is_int( $post->ID ) ) {
369
-
370
- // Fields to return
371
- $fields = " $wpdb->posts.ID ";
372
-
373
- // Create the base MATCH clause
374
- $match = $wpdb->prepare( " AND MATCH (" . $match_fields . ") AGAINST ('%s') ", $stuff ); // FULLTEXT matching algorithm
375
-
376
- /**
377
- * Filter the MATCH clause of the query.
378
- *
379
- * @since 2.1.0
380
- *
381
- * @param string $match The MATCH section of the WHERE clause of the query
382
- * @param string $stuff String to match fulltext with
383
- * @param int $post->ID Post ID
384
- */
385
- $match = apply_filters( 'crp_posts_match', $match, $stuff, $post->ID );
386
-
387
- // Create the maximum date limit
388
- $now_clause = $wpdb->prepare( " AND $wpdb->posts.post_date < '%s' ", $now ); // Show posts before today
389
-
390
- /**
391
- * Filter the Maximum date clause of the query.
392
- *
393
- * @since 2.1.0
394
- *
395
- * @param string $now_clause The Maximum date of the WHERE clause of the query.
396
- * @param int $post->ID Post ID
397
- */
398
- $now_clause = apply_filters( 'crp_posts_now_date', $now_clause, $post->ID );
399
-
400
- // Create the minimum date limit
401
- $from_clause = ( 0 == $args['daily_range'] ) ? '' : $wpdb->prepare( " AND $wpdb->posts.post_date >= '%s' ", $from_date ); // Show posts after the date specified
402
-
403
- /**
404
- * Filter the Maximum date clause of the query.
405
- *
406
- * @since 2.1.0
407
- *
408
- * @param string $from_clause The Minimum date of the WHERE clause of the query.
409
- * @param int $post->ID Post ID
410
- */
411
- $from_clause = apply_filters( 'crp_posts_from_date', $from_clause, $post->ID );
412
-
413
- // Create the base WHERE clause
414
- $where = $match;
415
- $where .= $now_clause;
416
- $where .= $from_clause;
417
- $where .= " AND $wpdb->posts.post_status = 'publish' "; // Only show published posts
418
- $where .= $wpdb->prepare( " AND $wpdb->posts.ID != %d ", $post->ID ); // Show posts after the date specified
419
- if ( '' != $args['exclude_post_ids'] ) {
420
- $where .= " AND $wpdb->posts.ID NOT IN (" . $args['exclude_post_ids'] . ") ";
421
- }
422
- $where .= " AND $wpdb->posts.post_type IN ('" . join( "', '", $post_types ) . "') "; // Array of post types
423
-
424
- // Create the base LIMITS clause
425
- $limits .= $wpdb->prepare( " LIMIT %d ", $limit );
426
-
427
- /**
428
- * Filter the SELECT clause of the query.
429
- *
430
- * @since 2.0.0
431
- *
432
- * @param string $fields The SELECT clause of the query.
433
- * @param int $post->ID Post ID
434
- */
435
- $fields = apply_filters( 'crp_posts_fields', $fields, $post->ID );
436
-
437
- /**
438
- * Filter the JOIN clause of the query.
439
- *
440
- * @since 2.0.0
441
- *
442
- * @param string $join The JOIN clause of the query.
443
- * @param int $post->ID Post ID
444
- */
445
- $join = apply_filters( 'crp_posts_join', $join, $post->ID );
446
-
447
- /**
448
- * Filter the WHERE clause of the query.
449
- *
450
- * @since 2.0.0
451
- *
452
- * @param string $where The WHERE clause of the query.
453
- * @param int $post->ID Post ID
454
- */
455
- $where = apply_filters( 'crp_posts_where', $where, $post->ID );
456
-
457
- /**
458
- * Filter the GROUP BY clause of the query.
459
- *
460
- * @since 2.0.0
461
- *
462
- * @param string $groupby The GROUP BY clause of the query.
463
- * @param int $post->ID Post ID
464
- */
465
- $groupby = apply_filters( 'crp_posts_groupby', $groupby, $post->ID );
466
-
467
- /**
468
- * Filter the HAVING clause of the query.
469
- *
470
- * @since 2.2.0
471
- *
472
- * @param string $having The HAVING clause of the query.
473
- * @param int $post->ID Post ID
474
- */
475
- $having = apply_filters( 'crp_posts_having', $having, $post->ID );
476
-
477
- /**
478
- * Filter the ORDER BY clause of the query.
479
- *
480
- * @since 2.0.0
481
- *
482
- * @param string $orderby The ORDER BY clause of the query.
483
- * @param int $post->ID Post ID
484
- */
485
- $orderby = apply_filters( 'crp_posts_orderby', $orderby, $post->ID );
486
-
487
- /**
488
- * Filter the LIMIT clause of the query.
489
- *
490
- * @since 2.0.0
491
- *
492
- * @param string $limits The LIMIT clause of the query.
493
- * @param int $post->ID Post ID
494
- */
495
- $limits = apply_filters( 'crp_posts_limits', $limits, $post->ID );
496
-
497
- if ( ! empty( $groupby ) ) {
498
- $groupby = 'GROUP BY ' . $groupby;
499
- }
500
-
501
- if ( ! empty( $having ) ) {
502
- $having = 'HAVING ' . $having;
503
- }
504
-
505
- if ( !empty( $orderby ) ) {
506
- $orderby = 'ORDER BY ' . $orderby;
507
- }
508
-
509
- $sql = "SELECT DISTINCT $fields FROM $wpdb->posts $join WHERE 1=1 $where $groupby $having $orderby $limits";
510
- $results = $wpdb->get_results( $sql );
511
- } else {
512
- $results = false;
513
- }
514
-
515
- /**
516
- * Filter object containing the post IDs.
517
- *
518
- * @since 1.9
519
- *
520
- * @param object $results Object containing the related post IDs
521
- */
522
- return apply_filters( 'get_crp_posts_id', $results );
523
- }
524
-
525
-
526
- /**
527
- * Content function with user defined filter.
528
- *
529
- * @since 1.9
530
- *
531
- */
532
- function crp_content_prepare_filter() {
533
- global $crp_settings;
534
-
535
- $priority = isset ( $crp_settings['content_filter_priority'] ) ? $crp_settings['content_filter_priority'] : 10;
536
-
537
- add_filter( 'the_content', 'crp_content_filter', $priority );
538
- }
539
- add_action( 'template_redirect', 'crp_content_prepare_filter' );
540
-
541
-
542
- /**
543
- * Filter for 'the_content' to add the related posts.
544
- *
545
- * @since 1.0.1
546
- *
547
- * @param string $content
548
- * @return string After the filter has been processed
549
- */
550
- function crp_content_filter( $content ) {
551
-
552
- global $post, $crp_settings;
553
-
554
- // Return if it's not in the loop or in the main query
555
- if ( ! in_the_loop() && ! is_main_query() ) {
556
- return $content;
557
- }
558
-
559
- // If this post ID is in the DO NOT DISPLAY list
560
- $exclude_on_post_ids = explode( ',', $crp_settings['exclude_on_post_ids'] );
561
- if ( in_array( $post->ID, $exclude_on_post_ids ) ) return $content; // Exit without adding related posts
562
-
563
- // If this post type is in the DO NOT DISPLAY list
564
- parse_str( $crp_settings['exclude_on_post_types'], $exclude_on_post_types ); // Save post types in $exclude_on_post_types variable
565
- if ( in_array( $post->post_type, $exclude_on_post_types ) ) return $content; // Exit without adding related posts
566
-
567
- // If the DO NOT DISPLAY meta field is set
568
- $crp_post_meta = get_post_meta( $post->ID, 'crp_post_meta', true );
569
-
570
- if ( isset( $crp_post_meta['crp_disable_here'] ) ) {
571
- $crp_disable_here = $crp_post_meta['crp_disable_here'];
572
- } else {
573
- $crp_disable_here = 0;
574
- }
575
-
576
- if ( $crp_disable_here ) return $content;
577
-
578
- // Else add the content
579
- if ( ( is_single() ) && ( $crp_settings['add_to_content'] ) ) {
580
- return $content.get_crp( 'is_widget=0' );
581
- } elseif ( ( is_page() ) && ( $crp_settings['add_to_page'] ) ) {
582
- return $content.get_crp( 'is_widget=0' );
583
- } elseif ( ( is_home() ) && ( $crp_settings['add_to_home'] ) ) {
584
- return $content.get_crp( 'is_widget=0' );
585
- } elseif ( ( is_category() ) && ( $crp_settings['add_to_category_archives'] ) ) {
586
- return $content.get_crp( 'is_widget=0' );
587
- } elseif ( ( is_tag() ) && ( $crp_settings['add_to_tag_archives'] ) ) {
588
- return $content.get_crp( 'is_widget=0' );
589
- } elseif ( ( ( is_tax() ) || ( is_author() ) || ( is_date() ) ) && ( $crp_settings['add_to_archives'] ) ) {
590
- return $content.get_crp( 'is_widget=0' );
591
- } else {
592
- return $content;
593
- }
594
- }
595
-
596
-
597
- /**
598
- * Filter to add related posts to feeds.
599
- *
600
- * @since 1.8.4
601
- *
602
- * @param string $content
603
- * @return string Formatted content
604
- */
605
- function crp_rss_filter( $content ) {
606
- global $post, $crp_settings;
607
-
608
- $limit_feed = $crp_settings['limit_feed'];
609
- $show_excerpt_feed = $crp_settings['show_excerpt_feed'];
610
- $post_thumb_op_feed = $crp_settings['post_thumb_op_feed'];
611
-
612
- if ( $crp_settings['add_to_feed'] ) {
613
- $output = $content;
614
- $output .= get_crp( 'is_widget=0&limit='.$limit_feed.'&show_excerpt='.$show_excerpt_feed.'&post_thumb_op='.$post_thumb_op_feed );
615
- return $output;
616
- } else {
617
- return $content;
618
- }
619
- }
620
- add_filter( 'the_excerpt_rss', 'crp_rss_filter' );
621
- add_filter( 'the_content_feed', 'crp_rss_filter' );
622
-
623
-
624
- /**
625
- * Echos the related posts. Used for manual install
626
- *
627
- * @since 1.0.1
628
- *
629
- * @param string List of arguments to control the output
630
- */
631
- function echo_crp( $args = array() ) {
632
-
633
- $defaults = array(
634
- 'is_manual' => TRUE,
635
- );
636
-
637
- // Parse incomming $args into an array and merge it with $defaults
638
- $args = wp_parse_args( $args, $defaults );
639
-
640
- echo get_crp( $args );
641
- }
642
-
643
-
644
- /**
645
- * Enqueue styles.
646
- *
647
- * @since 1.9
648
- *
649
- */
650
- function crp_heading_styles() {
651
- global $crp_settings;
652
-
653
- if ( 'rounded_thumbs' == $crp_settings['crp_styles'] ) {
654
- wp_register_style( 'crp-style-rounded-thumbs', plugins_url( 'css/default-style.css', __FILE__ ) );
655
- wp_enqueue_style( 'crp-style-rounded-thumbs' );
656
-
657
-
658
- $custom_css = "
659
- .crp_related a {
660
- width: {$crp_settings['thumb_width']}px;
661
- height: {$crp_settings['thumb_height']}px;
662
- text-decoration: none;
663
- }
664
- .crp_related img {
665
- max-width: {$crp_settings['thumb_width']}px;
666
- margin: auto;
667
- }
668
- .crp_related .crp_title {
669
- width: " . ( $crp_settings['thumb_width'] - 6 ) . "px;
670
- }
671
- ";
672
-
673
- wp_add_inline_style( 'crp-style-rounded-thumbs', $custom_css );
674
-
675
- }
676
- }
677
- add_action( 'wp_enqueue_scripts', 'crp_heading_styles' );
678
-
679
-
680
- /**
681
- * Default options.
682
- *
683
- * @since 1.0.1
684
- *
685
- * @return array Default options
686
- */
687
- function crp_default_options() {
688
-
689
- $title = __( '<h3>Related Posts:</h3>', CRP_LOCAL_NAME );
690
-
691
- $blank_output_text = __( 'No related posts found', CRP_LOCAL_NAME );
692
-
693
- $thumb_default = plugins_url( 'default.png' , __FILE__ );
694
-
695
- // Set default post types to post and page
696
- $post_types = array(
697
- 'post' => 'post',
698
- 'page' => 'page',
699
- );
700
- $post_types = http_build_query( $post_types, '', '&' );
701
-
702
- $crp_settings = array(
703
- // General options
704
- 'cache' => false, // Cache output for faster page load
705
-
706
- 'add_to_content' => true, // Add related posts to content (only on single posts)
707
- 'add_to_page' => true, // Add related posts to content (only on single pages)
708
- 'add_to_feed' => false, // Add related posts to feed (full)
709
- 'add_to_home' => false, // Add related posts to home page
710
- 'add_to_category_archives' => false, // Add related posts to category archives
711
- 'add_to_tag_archives' => false, // Add related posts to tag archives
712
- 'add_to_archives' => false, // Add related posts to other archives
713
-
714
- 'content_filter_priority' => 10, // Content priority
715
- 'show_metabox' => true, // Show metabox to admins
716
- 'show_metabox_admins' => false, // Limit to admins as well
717
-
718
- 'show_credit' => false, // Link to this plugin's page?
719
-
720
- // List tuning options
721
- 'limit' => '6', // How many posts to display?
722
- 'daily_range' => '1095', // How old posts should be displayed?
723
-
724
- 'match_content' => true, // Match against post content as well as title
725
- 'match_content_words' => '0', // How many characters of content should be matched? 0 for all chars
726
-
727
- 'post_types' => $post_types, // WordPress custom post types
728
-
729
- 'exclude_categories' => '', // Exclude these categories
730
- 'exclude_cat_slugs' => '', // Exclude these categories (slugs)
731
- 'exclude_post_ids' => '', // Comma separated list of page / post IDs that are to be excluded in the results
732
-
733
- // Output options
734
- 'title' => $title, // Add before the content
735
- 'blank_output' => true, // Blank output?
736
- 'blank_output_text' => $blank_output_text, // Blank output text
737
-
738
- 'show_excerpt' => false, // Show post excerpt in list item
739
- 'show_date' => false, // Show date in list item
740
- 'show_author' => false, // Show author in list item
741
- 'excerpt_length' => '10', // Length of characters
742
- 'title_length' => '60', // Limit length of post title
743
-
744
- 'link_new_window' => false, // Open link in new window - Includes target="_blank" to links
745
- 'link_nofollow' => false, // Includes rel="nofollow" to links
746
-
747
- 'before_list' => '<ul>', // Before the entire list
748
- 'after_list' => '</ul>', // After the entire list
749
- 'before_list_item' => '<li>', // Before each list item
750
- 'after_list_item' => '</li>', // After each list item
751
-
752
- 'exclude_on_post_ids' => '', // Comma separate list of page/post IDs to not display related posts on
753
- 'exclude_on_post_types' => '', // WordPress custom post types
754
-
755
- // Thumbnail options
756
- 'post_thumb_op' => 'inline', // Default option to display text and no thumbnails in posts
757
- 'thumb_size' => 'crp_thumbnail', // Default thumbnail size
758
- 'thumb_height' => '150', // Height of thumbnails
759
- 'thumb_width' => '150', // Width of thumbnails
760
- 'thumb_crop' => true, // Crop mode. default is hard crop
761
- 'thumb_html' => 'html', // Use HTML or CSS for width and height of the thumbnail?
762
- 'thumb_meta' => 'post-image', // Meta field that is used to store the location of default thumbnail image
763
- 'scan_images' => true, // Scan post for images
764
- 'thumb_default' => $thumb_default, // Default thumbnail image
765
- 'thumb_default_show' => true, // Show default thumb if none found (if false, don't show thumb at all)
766
-
767
- // Feed options
768
- 'limit_feed' => '5', // How many posts to display in feeds
769
- 'post_thumb_op_feed' => 'text_only', // Default option to display text and no thumbnails in Feeds
770
- 'thumb_height_feed' => '50', // Height of thumbnails in feed
771
- 'thumb_width_feed' => '50', // Width of thumbnails in feed
772
- 'show_excerpt_feed' => false, // Show description in list item in feed
773
-
774
- // Custom styles
775
- 'custom_CSS' => '', // Custom CSS to style the output
776
- 'include_default_style' => true, // Include default style - Will be DEPRECATED in the next version
777
- 'crp_styles' => 'rounded_thumbs' // Defaault style is rounded thubnails
778
- );
779
-
780
-
781
- /**
782
- * Filters the default options array.
783
- *
784
- * @since 1.9.1
785
- *
786
- * @param array $crp_settings Default options
787
- */
788
- return apply_filters( 'crp_default_options', $crp_settings );
789
- }
790
-
791
-
792
- /**
793
- * Function to read options from the database.
794
- *
795
- * @since 1.0.1
796
- *
797
- * @return array Contextual Related Posts options
798
- */
799
- function crp_read_options() {
800
- $crp_settings_changed = false;
801
-
802
- $defaults = crp_default_options();
803
-
804
- $crp_settings = array_map( 'stripslashes', (array) get_option( 'ald_crp_settings') );
805
- unset( $crp_settings[0] ); // produced by the (array) casting when there's nothing in the DB
806
-
807
- foreach ( $defaults as $k=>$v ) {
808
- if ( ! isset( $crp_settings[ $k ] ) ) {
809
- $crp_settings[ $k ] = $v;
810
- }
811
- $crp_settings_changed = true;
812
- }
813
- if ( true == $crp_settings_changed ) {
814
- update_option('ald_crp_settings', $crp_settings);
815
- }
816
-
817
- /**
818
- * Filters the options array.
819
- *
820
- * @since 1.9.1
821
- *
822
- * @param array $crp_settings Options read from the database
823
- */
824
- return apply_filters( 'crp_read_options', $crp_settings );
825
- }
826
-
827
-
828
- /**
829
- * Filter for wp_head to include the custom CSS.
830
- *
831
- * @since 1.8.4
832
- *
833
- * @return string Echoed string with the CSS output in the Header
834
- */
835
- function crp_header() {
836
- global $wpdb, $post, $crp_settings;
837
-
838
- $crp_custom_CSS = stripslashes( $crp_settings['custom_CSS'] );
839
-
840
- // Add CSS to header
841
- if ( '' != $crp_custom_CSS ) {
842
- if ( ( is_single() ) ) {
843
- echo '<style type="text/css">'.$crp_custom_CSS.'</style>';
844
- } elseif((is_page())) {
845
- echo '<style type="text/css">'.$crp_custom_CSS.'</style>';
846
- } elseif ( ( is_home() ) && ( $crp_settings['add_to_home'] ) ) {
847
- echo '<style type="text/css">'.$crp_custom_CSS.'</style>';
848
- } elseif ( ( is_category() ) && ( $crp_settings['add_to_category_archives'] ) ) {
849
- echo '<style type="text/css">'.$crp_custom_CSS.'</style>';
850
- } elseif ( ( is_tag() ) && ( $crp_settings['add_to_tag_archives'] ) ) {
851
- echo '<style type="text/css">'.$crp_custom_CSS.'</style>';
852
- } elseif( ( ( is_tax() ) || ( is_author() ) || ( is_date() ) ) && ( $crp_settings['add_to_archives'] ) ) {
853
- echo '<style type="text/css">'.$crp_custom_CSS.'</style>';
854
- } elseif ( is_active_widget( false, false, 'CRP_Widget', true ) ) {
855
- echo '<style type="text/css">'.$crp_custom_CSS.'</style>';
856
- }
857
- }
858
- }
859
- add_action( 'wp_head', 'crp_header' );
860
-
861
-
862
- /*----------------------------------------------------------------------------*
863
- * Activate the plugin
864
- *----------------------------------------------------------------------------*/
865
-
866
- /**
867
- * The code that runs during plugin activation.
868
- * This action is documented in includes/class-plugin-name-activator.php
869
- *
870
- * @since 2.2.0
871
- *
872
- */
873
- function activate_crp( $network_wide ) {
874
- require_once plugin_dir_path( __FILE__ ) . 'includes/plugin-activator.php';
875
- crp_activate( $network_wide );
876
- }
877
- register_activation_hook( __FILE__, 'activate_crp' );
878
-
879
-
880
- /**
881
- * Fired when a new site is activated with a WPMU environment.
882
- *
883
- * @since 2.0.0
884
- *
885
- * @param int $blog_id ID of the new blog.
886
- */
887
- function crp_activate_new_site( $blog_id ) {
888
-
889
- if ( 1 !== did_action( 'wpmu_new_blog' ) ) {
890
- return;
891
- }
892
-
893
- require_once plugin_dir_path( __FILE__ ) . 'includes/plugin-activator.php';
894
-
895
- switch_to_blog( $blog_id );
896
- crp_single_activate();
897
- restore_current_blog();
898
-
899
- }
900
- add_action( 'wpmu_new_blog', 'crp_activate_new_site' );
901
-
902
-
903
-
904
- /**
905
- * Returns the object identifier for the current language (WPML).
906
- *
907
- * @since 2.1.0
908
- *
909
- * @param $post_id Post ID
910
- */
911
- function crp_object_id_cur_lang( $post_id ) {
912
-
913
- if ( function_exists( 'wpml_object_id' ) ) {
914
- $post_id = wpml_object_id( $post_id, 'post', TRUE );
915
- } elseif ( function_exists( 'icl_object_id' ) ) {
916
- $post_id = icl_object_id( $post_id, 'post', TRUE );
917
- }
918
-
919
- /**
920
- * Filters object ID for current language (WPML).
921
- *
922
- * @since 2.1.0
923
- *
924
- * @param int $post_id Post ID
925
- */
926
- return apply_filters( 'crp_object_id_cur_lang', $post_id );
927
- }
928
-
929
-
930
- /*----------------------------------------------------------------------------*
931
- * WordPress widget
932
- *----------------------------------------------------------------------------*/
933
-
934
- /**
935
- * Initialise the widget.
936
- *
937
- * @since 1.9.1
938
- *
939
- */
940
- function register_crp_widget() {
941
- require_once( plugin_dir_path( __FILE__ ) . 'includes/class-crp-widget.php' );
942
-
943
- register_widget( 'CRP_Widget' );
944
- }
945
- add_action( 'widgets_init', 'register_crp_widget' );
946
-
947
-
948
- /*----------------------------------------------------------------------------*
949
- * CRP modules & includes
950
- *----------------------------------------------------------------------------*/
951
-
952
- require_once( plugin_dir_path( __FILE__ ) . 'includes/output-generator.php' );
953
- require_once( plugin_dir_path( __FILE__ ) . 'includes/media.php' );
954
- require_once( plugin_dir_path( __FILE__ ) . 'includes/tools.php' );
955
- require_once( plugin_dir_path( __FILE__ ) . 'includes/modules/manual-posts.php' );
956
- require_once( plugin_dir_path( __FILE__ ) . 'includes/modules/shortcode.php' );
957
- require_once( plugin_dir_path( __FILE__ ) . 'includes/modules/taxonomies.php' );
958
-
959
-
960
- /*----------------------------------------------------------------------------*
961
- * Dashboard and Administrative Functionality
962
- *----------------------------------------------------------------------------*/
963
-
964
- if ( is_admin() || strstr( $_SERVER['PHP_SELF'], 'wp-admin/' ) ) {
965
-
966
- require_once( plugin_dir_path( __FILE__ ) . 'admin/admin.php' );
967
- require_once( plugin_dir_path( __FILE__ ) . 'admin/loader.php' );
968
- require_once( plugin_dir_path( __FILE__ ) . 'admin/metabox.php' );
969
- require_once( plugin_dir_path( __FILE__ ) . 'admin/cache.php' );
970
-
971
- } // End admin.inc
972
-
973
-
974
- /*----------------------------------------------------------------------------*
975
- * Deprecated functions
976
- *----------------------------------------------------------------------------*/
977
-
978
- require_once( plugin_dir_path( __FILE__ ) . 'includes/deprecated.php' );
979
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Contextual Related Posts.
4
+ *
5
+ * Contextual Related Posts is the best related posts plugin for WordPress that
6
+ * allows you to display a list of related posts on your website and in your feed.
7
+ *
8
+ * @package Contextual_Related_Posts
9
+ * @author Ajay D'Souza <me@ajaydsouza.com>
10
+ * @license GPL-2.0+
11
+ * @link https://webberzone.com
12
+ * @copyright 2009-2015 Ajay D'Souza
13
+ *
14
+ * @wordpress-plugin
15
+ * Plugin Name: Contextual Related Posts
16
+ * Plugin URI: https://webberzone.com/plugins/contextual-related-posts/
17
+ * Description: Display a set of related posts on your website or in your feed. Increase reader retention and reduce bounce rates
18
+ * Version: 2.2.3
19
+ * Author: WebberZone
20
+ * Author URI: https://webberzone.com
21
+ * License: GPL-2.0+
22
+ * License URI: http://www.gnu.org/licenses/gpl-2.0.txt
23
+ * Text Domain: contextual-related-posts
24
+ * Domain Path: /languages
25
+ * GitHub Plugin URI: https://github.com/WebberZone/contextual-related-posts/
26
+ */
27
+
28
+ // If this file is called directly, abort.
29
+ if ( ! defined( 'WPINC' ) ) {
30
+ die;
31
+ }
32
+
33
+
34
+ /**
35
+ * Holds the text domain.
36
+ *
37
+ * @since 1.4
38
+ */
39
+ define( 'CRP_LOCAL_NAME', 'crp' );
40
+
41
+ /**
42
+ * Holds the filesystem directory path (with trailing slash) for CRP
43
+ *
44
+ * @since 1.2
45
+ *
46
+ * @var string
47
+ */
48
+ $crp_path = plugin_dir_path( __FILE__ );
49
+
50
+ /**
51
+ * Holds the URL for CRP
52
+ *
53
+ * @since 1.2
54
+ *
55
+ * @var string
56
+ */
57
+ $crp_url = plugins_url() . '/' . plugin_basename( dirname( __FILE__ ) );
58
+
59
+ /**
60
+ * Global variable holding the current settings for Contextual Related Posts
61
+ *
62
+ * @since 1.8.10
63
+ *
64
+ * @var array
65
+ */
66
+ global $crp_settings;
67
+ $crp_settings = crp_read_options();
68
+
69
+
70
+ /**
71
+ * Initialises text domain for l10n.
72
+ *
73
+ * @since 2.2.0
74
+ */
75
+ function crp_lang_init() {
76
+ load_plugin_textdomain( CRP_LOCAL_NAME, false, dirname( plugin_basename( __FILE__ ) ) . '/languages/' );
77
+ }
78
+ add_action( 'plugins_loaded', 'crp_lang_init' );
79
+
80
+
81
+ /**
82
+ * Main function to generate the related posts output
83
+ *
84
+ * @since 1.0.1
85
+ *
86
+ * @param array $args Parameters in a query string format
87
+ * @return string HTML formatted list of related posts
88
+ */
89
+ function get_crp( $args = array() ) {
90
+ global $wpdb, $post, $crp_settings;
91
+
92
+ // if set, save $exclude_categories
93
+ if ( isset( $args['exclude_categories'] ) && '' != $args['exclude_categories'] ) {
94
+ $exclude_categories = explode( ',', $args['exclude_categories'] );
95
+ $args['strict_limit'] = false;
96
+ }
97
+ $defaults = array(
98
+ 'is_widget' => false,
99
+ 'is_shortcode' => false,
100
+ 'is_manual' => false,
101
+ 'echo' => true,
102
+ 'heading' => true,
103
+ );
104
+ $defaults = array_merge( $defaults, $crp_settings );
105
+
106
+ // Parse incomming $args into an array and merge it with $defaults
107
+ $args = wp_parse_args( $args, $defaults );
108
+
109
+ // WPML support.
110
+ if ( function_exists( 'wpml_object_id_filter' ) || function_exists( 'icl_object_id' ) ) {
111
+ $args['strict_limit'] = false;
112
+ }
113
+
114
+ // Support caching to speed up retrieval
115
+ if ( ! empty( $args['cache'] ) ) {
116
+ $meta_key = 'crp_related_posts';
117
+ if ( $args['is_widget'] ) {
118
+ $meta_key .= '_widget';
119
+ }
120
+ if ( $args['is_manual'] ) {
121
+ $meta_key .= '_manual';
122
+ }
123
+ if ( is_feed() ) {
124
+ $meta_key .= '_feed';
125
+ }
126
+ $output = get_post_meta( $post->ID, $meta_key, true );
127
+ if ( $output ) {
128
+ return $output;
129
+ }
130
+ }
131
+
132
+ // Retrieve the list of posts
133
+ $results = get_crp_posts_id( array_merge( $args, array(
134
+ 'postid' => $post->ID,
135
+ 'strict_limit' => ( isset( $args['strict_limit'] ) ) ? $args['strict_limit'] : true,
136
+ ) ) );
137
+
138
+ $widget_class = $args['is_widget'] ? 'crp_related_widget' : 'crp_related ';
139
+ $shortcode_class = $args['is_shortcode'] ? 'crp_related_shortcode ' : '';
140
+
141
+ $post_classes = $widget_class . $shortcode_class;
142
+
143
+ /**
144
+ * Filter the classes added to the div wrapper of the Top 10.
145
+ *
146
+ * @since 2.2.3
147
+ *
148
+ * @param string $post_classes Post classes string.
149
+ */
150
+ $post_classes = apply_filters( 'crp_post_class', $post_classes );
151
+
152
+ $output = '<div class="' . $post_classes . '">';
153
+
154
+ if ( $results ) {
155
+ $loop_counter = 0;
156
+
157
+ $output .= crp_heading_title( $args );
158
+
159
+ $output .= crp_before_list( $args );
160
+
161
+ // We need this for WPML support
162
+ $processed_results = array();
163
+
164
+ foreach ( $results as $result ) {
165
+
166
+ /* Support WPML */
167
+ $resultid = crp_object_id_cur_lang( $result->ID );
168
+
169
+ // If this is NULL or already processed ID or matches current post then skip processing this loop.
170
+ if ( ! $resultid || in_array( $resultid, $processed_results ) || intval( $resultid ) === intval( $post->ID ) ) {
171
+ continue;
172
+ }
173
+
174
+ // Push the current ID into the array to ensure we're not repeating it
175
+ array_push( $processed_results, $resultid );
176
+
177
+ /**
178
+ * Filter the post ID for each result. Allows a custom function to hook in and change the ID if needed.
179
+ *
180
+ * @since 1.9
181
+ *
182
+ * @param int $resultid ID of the post
183
+ */
184
+ $resultid = apply_filters( 'crp_post_id', $resultid );
185
+
186
+ $result = get_post( $resultid ); // Let's get the Post using the ID
187
+
188
+ // Process the category exclusion if passed in the shortcode
189
+ if ( isset( $exclude_categories ) ) {
190
+
191
+ $categorys = get_the_category( $result->ID ); // Fetch categories of the plugin
192
+
193
+ $p_in_c = false; // Variable to check if post exists in a particular category
194
+ foreach ( $categorys as $cat ) { // Loop to check if post exists in excluded category
195
+ $p_in_c = ( in_array( $cat->cat_ID, $exclude_categories ) ) ? true : false;
196
+ if ( $p_in_c ) {
197
+ break; // Skip loop execution and go to the next step
198
+ }
199
+ }
200
+ if ( $p_in_c ) { continue; // Skip loop execution and go to the next step
201
+ }
202
+ }
203
+
204
+ $output .= crp_before_list_item( $args, $result );
205
+
206
+ $output .= crp_list_link( $args, $result );
207
+
208
+ if ( $args['show_author'] ) {
209
+ $output .= crp_author( $args, $result );
210
+ }
211
+
212
+ if ( $args['show_date'] ) {
213
+ $output .= '<span class="crp_date"> ' . mysql2date( get_option( 'date_format', 'd/m/y' ), $result->post_date ) . '</span> ';
214
+ }
215
+
216
+ if ( $args['show_excerpt'] ) {
217
+ $output .= '<span class="crp_excerpt"> ' . crp_excerpt( $result->ID, $args['excerpt_length'] ) . '</span>';
218
+ }
219
+
220
+ $loop_counter++;
221
+
222
+ $output .= crp_after_list_item( $args, $result );
223
+
224
+ if ( $loop_counter == $args['limit'] ) { break; // End loop when related posts limit is reached
225
+ }
226
+ } //end of foreach loop
227
+
228
+ if ( $args['show_credit'] ) {
229
+
230
+ $output .= crp_before_list_item( $args, $result );
231
+
232
+ $output .= sprintf( __( 'Powered by <a href="%s" rel="nofollow">Contextual Related Posts</a>', 'contextual-related-posts' ), esc_url( 'https://webberzone.com/plugins/contextual-related-posts/' ) );
233
+
234
+ $output .= crp_after_list_item( $args, $result );
235
+
236
+ }
237
+
238
+ $output .= crp_after_list( $args );
239
+
240
+ $clearfix = '<div class="crp_clear"></div>';
241
+
242
+ /**
243
+ * Filter the clearfix div tag. This is included after the closing tag to clear any miscellaneous floating elements;
244
+ *
245
+ * @since 2.0.0
246
+ *
247
+ * @param string $clearfix Contains: <div style="clear:both"></div>
248
+ */
249
+ $output .= apply_filters( 'crp_clearfix', $clearfix );
250
+
251
+ } else {
252
+ $output .= ( $args['blank_output'] ) ? ' ' : '<p>' . $args['blank_output_text'] . '</p>';
253
+ }
254
+
255
+ // Check if the opening list tag is missing in the output, it means all of our results were eliminated cause of the category filter
256
+ if ( false === ( strpos( $output, $args['before_list_item'] ) ) ) {
257
+ $output = '<div id="crp_related">';
258
+ $output .= ( $args['blank_output'] ) ? ' ' : '<p>' . $args['blank_output_text'] . '</p>';
259
+ }
260
+
261
+ $output .= '</div>'; // closing div of 'crp_related'
262
+
263
+ // Support caching to speed up retrieval
264
+ if ( ! empty( $args['cache'] ) ) {
265
+ update_post_meta( $post->ID, $meta_key, $output, '' );
266
+ }
267
+
268
+ /**
269
+ * Filter the output
270
+ *
271
+ * @since 1.9.1
272
+ *
273
+ * @param string $output Formatted list of related posts
274
+ * @param array $args Complete set of arguments
275
+ */
276
+ return apply_filters( 'get_crp', $output, $args );
277
+ }
278
+
279
+
280
+ /**
281
+ * Fetch related posts IDs.
282
+ *
283
+ * @since 1.9
284
+ *
285
+ * @param array $args
286
+ * @return object $results
287
+ */
288
+ function get_crp_posts_id( $args = array() ) {
289
+ global $wpdb, $post, $crp_settings;
290
+
291
+ // Initialise some variables
292
+ $fields = '';
293
+ $where = '';
294
+ $join = '';
295
+ $groupby = '';
296
+ $orderby = '';
297
+ $having = '';
298
+ $limits = '';
299
+ $match_fields = '';
300
+
301
+ $defaults = array(
302
+ 'postid' => false,
303
+ 'strict_limit' => true,
304
+ );
305
+ $defaults = array_merge( $defaults, $crp_settings );
306
+
307
+ // Parse incoming $args into an array and merge it with $defaults
308
+ $args = wp_parse_args( $args, $defaults );
309
+
310
+ // Fix the thumb size in case it is missing
311
+ $crp_thumb_size = crp_get_all_image_sizes( $args['thumb_size'] );
312
+
313
+ if ( isset( $crp_thumb_size['width'] ) ) {
314
+ $thumb_width = $crp_thumb_size['width'];
315
+ $thumb_height = $crp_thumb_size['height'];
316
+ }
317
+
318
+ if ( empty( $thumb_width ) ) {
319
+ $thumb_width = $crp_settings['thumb_width'];
320
+ }
321
+
322
+ if ( empty( $thumb_height ) ) {
323
+ $thumb_height = $crp_settings['thumb_height'];
324
+ }
325
+
326
+ $post = ( empty( $args['postid'] ) ) ? $post : get_post( $args['postid'] );
327
+
328
+ $limit = ( $args['strict_limit'] ) ? $args['limit'] : ( $args['limit'] * 3 );
329
+
330
+ // Save post types in $post_types variable
331
+ parse_str( $args['post_types'], $post_types );
332
+
333
+ /**
334
+ * Filter the post_type clause of the query.
335
+ *
336
+ * @since 2.2.0
337
+ *
338
+ * @param array $post_types Array of post types to filter by
339
+ * @param int $post->ID Post ID
340
+ */
341
+ $post_types = apply_filters( 'crp_posts_post_types', $post_types, $post->ID );
342
+
343
+ // Are we matching only the title or the post content as well?
344
+ $match_fields = array(
345
+ 'post_title',
346
+ );
347
+
348
+ $match_fields_content = array(
349
+ $post->post_title,
350
+ );
351
+
352
+ if ( $args['match_content'] ) {
353
+
354
+ $match_fields[] = 'post_content';
355
+ $match_fields_content[] = crp_excerpt( $post->ID, $args['match_content_words'], false );
356
+ }
357
+
358
+ /**
359
+ * Filter the fields that are to be matched.
360
+ *
361
+ * @since 2.2.0
362
+ *
363
+ * @param array $match_fields Array of fields to be matched
364
+ * @param int $post->ID Post ID
365
+ */
366
+ $match_fields = apply_filters( 'crp_posts_match_fields', $match_fields, $post->ID );
367
+
368
+ /**
369
+ * Filter the content of the fields that are to be matched.
370
+ *
371
+ * @since 2.2.0
372
+ *
373
+ * @param array $match_fields_content Array of content of fields to be matched
374
+ * @param int $post->ID Post ID
375
+ */
376
+ $match_fields_content = apply_filters( 'crp_posts_match_fields_content', $match_fields_content, $post->ID );
377
+
378
+ // Convert our arrays into their corresponding strings after they have been filtered
379
+ $match_fields = implode( ',', $match_fields );
380
+ $stuff = implode( ' ', $match_fields_content );
381
+
382
+ // Make sure the post is not from the future
383
+ $time_difference = get_option( 'gmt_offset' );
384
+ $now = gmdate( 'Y-m-d H:i:s', ( time() + ( $time_difference * 3600 ) ) );
385
+
386
+ // Limit the related posts by time
387
+ $current_time = current_time( 'timestamp', 0 );
388
+ $from_date = $current_time - ( $args['daily_range'] * DAY_IN_SECONDS );
389
+ $from_date = gmdate( 'Y-m-d H:i:s' , $from_date );
390
+
391
+ // Create the SQL query to fetch the related posts from the database
392
+ if ( is_int( $post->ID ) ) {
393
+
394
+ // Fields to return
395
+ $fields = " $wpdb->posts.ID ";
396
+
397
+ // Create the base MATCH clause
398
+ $match = $wpdb->prepare( ' AND MATCH (' . $match_fields . ") AGAINST ('%s') ", $stuff ); // FULLTEXT matching algorithm
399
+
400
+ /**
401
+ * Filter the MATCH clause of the query.
402
+ *
403
+ * @since 2.1.0
404
+ *
405
+ * @param string $match The MATCH section of the WHERE clause of the query
406
+ * @param string $stuff String to match fulltext with
407
+ * @param int $post->ID Post ID
408
+ */
409
+ $match = apply_filters( 'crp_posts_match', $match, $stuff, $post->ID );
410
+
411
+ // Create the maximum date limit
412
+ $now_clause = $wpdb->prepare( " AND $wpdb->posts.post_date < '%s' ", $now ); // Show posts before today
413
+
414
+ /**
415
+ * Filter the Maximum date clause of the query.
416
+ *
417
+ * @since 2.1.0
418
+ *
419
+ * @param string $now_clause The Maximum date of the WHERE clause of the query.
420
+ * @param int $post->ID Post ID
421
+ */
422
+ $now_clause = apply_filters( 'crp_posts_now_date', $now_clause, $post->ID );
423
+
424
+ // Create the minimum date limit
425
+ $from_clause = ( 0 == $args['daily_range'] ) ? '' : $wpdb->prepare( " AND $wpdb->posts.post_date >= '%s' ", $from_date ); // Show posts after the date specified
426
+
427
+ /**
428
+ * Filter the Maximum date clause of the query.
429
+ *
430
+ * @since 2.1.0
431
+ *
432
+ * @param string $from_clause The Minimum date of the WHERE clause of the query.
433
+ * @param int $post->ID Post ID
434
+ */
435
+ $from_clause = apply_filters( 'crp_posts_from_date', $from_clause, $post->ID );
436
+
437
+ // Create the base WHERE clause
438
+ $where = $match;
439
+ $where .= $now_clause;
440
+ $where .= $from_clause;
441
+ $where .= " AND $wpdb->posts.post_status = 'publish' "; // Only show published posts
442
+ $where .= $wpdb->prepare( " AND $wpdb->posts.ID != %d ", $post->ID ); // Show posts after the date specified
443
+ if ( '' != $args['exclude_post_ids'] ) {
444
+ $where .= " AND $wpdb->posts.ID NOT IN (" . $args['exclude_post_ids'] . ') ';
445
+ }
446
+ $where .= " AND $wpdb->posts.post_type IN ('" . join( "', '", $post_types ) . "') "; // Array of post types
447
+
448
+ // Create the base LIMITS clause
449
+ $limits .= $wpdb->prepare( ' LIMIT %d ', $limit );
450
+
451
+ /**
452
+ * Filter the SELECT clause of the query.
453
+ *
454
+ * @since 2.0.0
455
+ *
456
+ * @param string $fields The SELECT clause of the query.
457
+ * @param int $post->ID Post ID
458
+ */
459
+ $fields = apply_filters( 'crp_posts_fields', $fields, $post->ID );
460
+
461
+ /**
462
+ * Filter the JOIN clause of the query.
463
+ *
464
+ * @since 2.0.0
465
+ *
466
+ * @param string $join The JOIN clause of the query.
467
+ * @param int $post->ID Post ID
468
+ */
469
+ $join = apply_filters( 'crp_posts_join', $join, $post->ID );
470
+
471
+ /**
472
+ * Filter the WHERE clause of the query.
473
+ *
474
+ * @since 2.0.0
475
+ *
476
+ * @param string $where The WHERE clause of the query.
477
+ * @param int $post->ID Post ID
478
+ */
479
+ $where = apply_filters( 'crp_posts_where', $where, $post->ID );
480
+
481
+ /**
482
+ * Filter the GROUP BY clause of the query.
483
+ *
484
+ * @since 2.0.0
485
+ *
486
+ * @param string $groupby The GROUP BY clause of the query.
487
+ * @param int $post->ID Post ID
488
+ */
489
+ $groupby = apply_filters( 'crp_posts_groupby', $groupby, $post->ID );
490
+
491
+ /**
492
+ * Filter the HAVING clause of the query.
493
+ *
494
+ * @since 2.2.0
495
+ *
496
+ * @param string $having The HAVING clause of the query.
497
+ * @param int $post->ID Post ID
498
+ */
499
+ $having = apply_filters( 'crp_posts_having', $having, $post->ID );
500
+
501
+ /**
502
+ * Filter the ORDER BY clause of the query.
503
+ *
504
+ * @since 2.0.0
505
+ *
506
+ * @param string $orderby The ORDER BY clause of the query.
507
+ * @param int $post->ID Post ID
508
+ */
509
+ $orderby = apply_filters( 'crp_posts_orderby', $orderby, $post->ID );
510
+
511
+ /**
512
+ * Filter the LIMIT clause of the query.
513
+ *
514
+ * @since 2.0.0
515
+ *
516
+ * @param string $limits The LIMIT clause of the query.
517
+ * @param int $post->ID Post ID
518
+ */
519
+ $limits = apply_filters( 'crp_posts_limits', $limits, $post->ID );
520
+
521
+ if ( ! empty( $groupby ) ) {
522
+ $groupby = 'GROUP BY ' . $groupby;
523
+ }
524
+
525
+ if ( ! empty( $having ) ) {
526
+ $having = 'HAVING ' . $having;
527
+ }
528
+
529
+ if ( ! empty( $orderby ) ) {
530
+ $orderby = 'ORDER BY ' . $orderby;
531
+ }
532
+
533
+ $sql = "SELECT DISTINCT $fields FROM $wpdb->posts $join WHERE 1=1 $where $groupby $having $orderby $limits";
534
+ $results = $wpdb->get_results( $sql );
535
+ } else {
536
+ $results = false;
537
+ }
538
+
539
+ /**
540
+ * Filter object containing the post IDs.
541
+ *
542
+ * @since 1.9
543
+ *
544
+ * @param object $results Object containing the related post IDs
545
+ */
546
+ return apply_filters( 'get_crp_posts_id', $results );
547
+ }
548
+
549
+
550
+ /**
551
+ * Content function with user defined filter.
552
+ *
553
+ * @since 1.9
554
+ */
555
+ function crp_content_prepare_filter() {
556
+ global $crp_settings;
557
+
558
+ $priority = isset( $crp_settings['content_filter_priority'] ) ? $crp_settings['content_filter_priority'] : 10;
559
+
560
+ add_filter( 'the_content', 'crp_content_filter', $priority );
561
+ }
562
+ add_action( 'template_redirect', 'crp_content_prepare_filter' );
563
+
564
+
565
+ /**
566
+ * Filter for 'the_content' to add the related posts.
567
+ *
568
+ * @since 1.0.1
569
+ *
570
+ * @param string $content
571
+ * @return string After the filter has been processed
572
+ */
573
+ function crp_content_filter( $content ) {
574
+
575
+ global $post, $crp_settings;
576
+
577
+ // Return if it's not in the loop or in the main query
578
+ if ( ! in_the_loop() && ! is_main_query() ) {
579
+ return $content;
580
+ }
581
+
582
+ // If this post ID is in the DO NOT DISPLAY list
583
+ $exclude_on_post_ids = explode( ',', $crp_settings['exclude_on_post_ids'] );
584
+ if ( in_array( $post->ID, $exclude_on_post_ids ) ) { return $content; // Exit without adding related posts
585
+ }
586
+ // If this post type is in the DO NOT DISPLAY list
587
+ parse_str( $crp_settings['exclude_on_post_types'], $exclude_on_post_types ); // Save post types in $exclude_on_post_types variable
588
+ if ( in_array( $post->post_type, $exclude_on_post_types ) ) { return $content; // Exit without adding related posts
589
+ }
590
+ // If the DO NOT DISPLAY meta field is set
591
+ $crp_post_meta = get_post_meta( $post->ID, 'crp_post_meta', true );
592
+
593
+ if ( isset( $crp_post_meta['crp_disable_here'] ) ) {
594
+ $crp_disable_here = $crp_post_meta['crp_disable_here'];
595
+ } else {
596
+ $crp_disable_here = 0;
597
+ }
598
+
599
+ if ( $crp_disable_here ) { return $content; }
600
+
601
+ // Else add the content
602
+ if ( ( is_single() ) && ( $crp_settings['add_to_content'] ) ) {
603
+ return $content.get_crp( 'is_widget=0' );
604
+ } elseif ( ( is_page() ) && ( $crp_settings['add_to_page'] ) ) {
605
+ return $content.get_crp( 'is_widget=0' );
606
+ } elseif ( ( is_home() ) && ( $crp_settings['add_to_home'] ) ) {
607
+ return $content.get_crp( 'is_widget=0' );
608
+ } elseif ( ( is_category() ) && ( $crp_settings['add_to_category_archives'] ) ) {
609
+ return $content.get_crp( 'is_widget=0' );
610
+ } elseif ( ( is_tag() ) && ( $crp_settings['add_to_tag_archives'] ) ) {
611
+ return $content.get_crp( 'is_widget=0' );
612
+ } elseif ( ( ( is_tax() ) || ( is_author() ) || ( is_date() ) ) && ( $crp_settings['add_to_archives'] ) ) {
613
+ return $content.get_crp( 'is_widget=0' );
614
+ } else {
615
+ return $content;
616
+ }
617
+ }
618
+
619
+
620
+ /**
621
+ * Filter to add related posts to feeds.
622
+ *
623
+ * @since 1.8.4
624
+ *
625
+ * @param string $content
626
+ * @return string Formatted content
627
+ */
628
+ function crp_rss_filter( $content ) {
629
+ global $post, $crp_settings;
630
+
631
+ $limit_feed = $crp_settings['limit_feed'];
632
+ $show_excerpt_feed = $crp_settings['show_excerpt_feed'];
633
+ $post_thumb_op_feed = $crp_settings['post_thumb_op_feed'];
634
+
635
+ if ( $crp_settings['add_to_feed'] ) {
636
+ $output = $content;
637
+ $output .= get_crp( 'is_widget=0&limit='.$limit_feed.'&show_excerpt='.$show_excerpt_feed.'&post_thumb_op='.$post_thumb_op_feed );
638
+ return $output;
639
+ } else {
640
+ return $content;
641
+ }
642
+ }
643
+ add_filter( 'the_excerpt_rss', 'crp_rss_filter' );
644
+ add_filter( 'the_content_feed', 'crp_rss_filter' );
645
+
646
+
647
+ /**
648
+ * Echos the related posts. Used for manual install
649
+ *
650
+ * @since 1.0.1
651
+ *
652
+ * @param string List of arguments to control the output
653
+ */
654
+ function echo_crp( $args = array() ) {
655
+
656
+ $defaults = array(
657
+ 'is_manual' => true,
658
+ );
659
+
660
+ // Parse incomming $args into an array and merge it with $defaults
661
+ $args = wp_parse_args( $args, $defaults );
662
+
663
+ echo get_crp( $args );
664
+ }
665
+
666
+
667
+ /**
668
+ * Enqueue styles.
669
+ *
670
+ * @since 1.9
671
+ */
672
+ function crp_heading_styles() {
673
+ global $crp_settings;
674
+
675
+ if ( 'rounded_thumbs' == $crp_settings['crp_styles'] ) {
676
+ wp_register_style( 'crp-style-rounded-thumbs', plugins_url( 'css/default-style.css', __FILE__ ) );
677
+ wp_enqueue_style( 'crp-style-rounded-thumbs' );
678
+
679
+ $custom_css = "
680
+ .crp_related a {
681
+ width: {$crp_settings['thumb_width']}px;
682
+ height: {$crp_settings['thumb_height']}px;
683
+ text-decoration: none;
684
+ }
685
+ .crp_related img {
686
+ max-width: {$crp_settings['thumb_width']}px;
687
+ margin: auto;
688
+ }
689
+ .crp_related .crp_title {
690
+ width: " . ( $crp_settings['thumb_width'] - 6 ) . 'px;
691
+ }
692
+ ';
693
+
694
+ wp_add_inline_style( 'crp-style-rounded-thumbs', $custom_css );
695
+
696
+ }
697
+ }
698
+ add_action( 'wp_enqueue_scripts', 'crp_heading_styles' );
699
+
700
+
701
+ /**
702
+ * Default options.
703
+ *
704
+ * @since 1.0.1
705
+ *
706
+ * @return array Default options
707
+ */
708
+ function crp_default_options() {
709
+
710
+ $title = __( '<h3>Related Posts:</h3>', 'contextual-related-posts' );
711
+
712
+ $blank_output_text = __( 'No related posts found', 'contextual-related-posts' );
713
+
714
+ $thumb_default = plugins_url( 'default.png' , __FILE__ );
715
+
716
+ // Set default post types to post and page
717
+ $post_types = array(
718
+ 'post' => 'post',
719
+ 'page' => 'page',
720
+ );
721
+ $post_types = http_build_query( $post_types, '', '&' );
722
+
723
+ $crp_settings = array(
724
+ // General options
725
+ 'cache' => false, // Cache output for faster page load
726
+
727
+ 'add_to_content' => true, // Add related posts to content (only on single posts)
728
+ 'add_to_page' => true, // Add related posts to content (only on single pages)
729
+ 'add_to_feed' => false, // Add related posts to feed (full)
730
+ 'add_to_home' => false, // Add related posts to home page
731
+ 'add_to_category_archives' => false, // Add related posts to category archives
732
+ 'add_to_tag_archives' => false, // Add related posts to tag archives
733
+ 'add_to_archives' => false, // Add related posts to other archives
734
+
735
+ 'content_filter_priority' => 10, // Content priority
736
+ 'show_metabox' => true, // Show metabox to admins
737
+ 'show_metabox_admins' => false, // Limit to admins as well
738
+
739
+ 'show_credit' => false, // Link to this plugin's page?
740
+
741
+ // List tuning options
742
+ 'limit' => '6', // How many posts to display?
743
+ 'daily_range' => '1095', // How old posts should be displayed?
744
+
745
+ 'match_content' => true, // Match against post content as well as title
746
+ 'match_content_words' => '0', // How many characters of content should be matched? 0 for all chars
747
+
748
+ 'post_types' => $post_types, // WordPress custom post types
749
+
750
+ 'exclude_categories' => '', // Exclude these categories
751
+ 'exclude_cat_slugs' => '', // Exclude these categories (slugs)
752
+ 'exclude_post_ids' => '', // Comma separated list of page / post IDs that are to be excluded in the results
753
+
754
+ // Output options
755
+ 'title' => $title, // Add before the content
756
+ 'blank_output' => true, // Blank output?
757
+ 'blank_output_text' => $blank_output_text, // Blank output text
758
+
759
+ 'show_excerpt' => false, // Show post excerpt in list item
760
+ 'show_date' => false, // Show date in list item
761
+ 'show_author' => false, // Show author in list item
762
+ 'excerpt_length' => '10', // Length of characters
763
+ 'title_length' => '60', // Limit length of post title
764
+
765
+ 'link_new_window' => false, // Open link in new window - Includes target="_blank" to links
766
+ 'link_nofollow' => false, // Includes rel="nofollow" to links
767
+
768
+ 'before_list' => '<ul>', // Before the entire list
769
+ 'after_list' => '</ul>', // After the entire list
770
+ 'before_list_item' => '<li>', // Before each list item
771
+ 'after_list_item' => '</li>', // After each list item
772
+
773
+ 'exclude_on_post_ids' => '', // Comma separate list of page/post IDs to not display related posts on
774
+ 'exclude_on_post_types' => '', // WordPress custom post types
775
+
776
+ // Thumbnail options
777
+ 'post_thumb_op' => 'inline', // Default option to display text and no thumbnails in posts
778
+ 'thumb_size' => 'crp_thumbnail', // Default thumbnail size
779
+ 'thumb_height' => '150', // Height of thumbnails
780
+ 'thumb_width' => '150', // Width of thumbnails
781
+ 'thumb_crop' => true, // Crop mode. default is hard crop
782
+ 'thumb_html' => 'html', // Use HTML or CSS for width and height of the thumbnail?
783
+ 'thumb_meta' => 'post-image', // Meta field that is used to store the location of default thumbnail image
784
+ 'scan_images' => true, // Scan post for images
785
+ 'thumb_default' => $thumb_default, // Default thumbnail image
786
+ 'thumb_default_show' => true, // Show default thumb if none found (if false, don't show thumb at all)
787
+
788
+ // Feed options
789
+ 'limit_feed' => '5', // How many posts to display in feeds
790
+ 'post_thumb_op_feed' => 'text_only', // Default option to display text and no thumbnails in Feeds
791
+ 'thumb_height_feed' => '50', // Height of thumbnails in feed
792
+ 'thumb_width_feed' => '50', // Width of thumbnails in feed
793
+ 'show_excerpt_feed' => false, // Show description in list item in feed
794
+
795
+ // Custom styles
796
+ 'custom_CSS' => '', // Custom CSS to style the output
797
+ 'include_default_style' => true, // Include default style - Will be DEPRECATED in the next version
798
+ 'crp_styles' => 'rounded_thumbs',// Defaault style is rounded thubnails
799
+ );
800
+
801
+ /**
802
+ * Filters the default options array.
803
+ *
804
+ * @since 1.9.1
805
+ *
806
+ * @param array $crp_settings Default options
807
+ */
808
+ return apply_filters( 'crp_default_options', $crp_settings );
809
+ }
810
+
811
+
812
+ /**
813
+ * Function to read options from the database.
814
+ *
815
+ * @since 1.0.1
816
+ *
817
+ * @return array Contextual Related Posts options
818
+ */
819
+ function crp_read_options() {
820
+ $crp_settings_changed = false;
821
+
822
+ $defaults = crp_default_options();
823
+
824
+ $crp_settings = array_map( 'stripslashes', (array) get_option( 'ald_crp_settings' ) );
825
+ unset( $crp_settings[0] ); // produced by the (array) casting when there's nothing in the DB
826
+
827
+ foreach ( $defaults as $k => $v ) {
828
+ if ( ! isset( $crp_settings[ $k ] ) ) {
829
+ $crp_settings[ $k ] = $v;
830
+ }
831
+ $crp_settings_changed = true;
832
+ }
833
+ if ( true == $crp_settings_changed ) {
834
+ update_option( 'ald_crp_settings', $crp_settings );
835
+ }
836
+
837
+ /**
838
+ * Filters the options array.
839
+ *
840
+ * @since 1.9.1
841
+ *
842
+ * @param array $crp_settings Options read from the database
843
+ */
844
+ return apply_filters( 'crp_read_options', $crp_settings );
845
+ }
846
+
847
+
848
+ /**
849
+ * Filter for wp_head to include the custom CSS.
850
+ *
851
+ * @since 1.8.4
852
+ *
853
+ * @return string Echoed string with the CSS output in the Header
854
+ */
855
+ function crp_header() {
856
+ global $wpdb, $post, $crp_settings;
857
+
858
+ $crp_custom_CSS = stripslashes( $crp_settings['custom_CSS'] );
859
+
860
+ // Add CSS to header
861
+ if ( '' != $crp_custom_CSS ) {
862
+ if ( ( is_single() ) ) {
863
+ echo '<style type="text/css">'.$crp_custom_CSS.'</style>';
864
+ } elseif ( (is_page()) ) {
865
+ echo '<style type="text/css">'.$crp_custom_CSS.'</style>';
866
+ } elseif ( ( is_home() ) && ( $crp_settings['add_to_home'] ) ) {
867
+ echo '<style type="text/css">'.$crp_custom_CSS.'</style>';
868
+ } elseif ( ( is_category() ) && ( $crp_settings['add_to_category_archives'] ) ) {
869
+ echo '<style type="text/css">'.$crp_custom_CSS.'</style>';
870
+ } elseif ( ( is_tag() ) && ( $crp_settings['add_to_tag_archives'] ) ) {
871
+ echo '<style type="text/css">'.$crp_custom_CSS.'</style>';
872
+ } elseif ( ( ( is_tax() ) || ( is_author() ) || ( is_date() ) ) && ( $crp_settings['add_to_archives'] ) ) {
873
+ echo '<style type="text/css">'.$crp_custom_CSS.'</style>';
874
+ } elseif ( is_active_widget( false, false, 'CRP_Widget', true ) ) {
875
+ echo '<style type="text/css">'.$crp_custom_CSS.'</style>';
876
+ }
877
+ }
878
+ }
879
+ add_action( 'wp_head', 'crp_header' );
880
+
881
+
882
+ /*
883
+ ----------------------------------------------------------------------------*
884
+ * Activate the plugin
885
+ *----------------------------------------------------------------------------*/
886
+
887
+ /**
888
+ * The code that runs during plugin activation.
889
+ * This action is documented in includes/class-plugin-name-activator.php
890
+ *
891
+ * @since 2.2.0
892
+ */
893
+ function activate_crp( $network_wide ) {
894
+ require_once plugin_dir_path( __FILE__ ) . 'includes/plugin-activator.php';
895
+ crp_activate( $network_wide );
896
+ }
897
+ register_activation_hook( __FILE__, 'activate_crp' );
898
+
899
+
900
+ /**
901
+ * Fired when a new site is activated with a WPMU environment.
902
+ *
903
+ * @since 2.0.0
904
+ *
905
+ * @param int $blog_id ID of the new blog.
906
+ */
907
+ function crp_activate_new_site( $blog_id ) {
908
+
909
+ if ( 1 !== did_action( 'wpmu_new_blog' ) ) {
910
+ return;
911
+ }
912
+
913
+ require_once plugin_dir_path( __FILE__ ) . 'includes/plugin-activator.php';
914
+
915
+ switch_to_blog( $blog_id );
916
+ crp_single_activate();
917
+ restore_current_blog();
918
+
919
+ }
920
+ add_action( 'wpmu_new_blog', 'crp_activate_new_site' );
921
+
922
+
923
+
924
+ /**
925
+ * Returns the object identifier for the current language (WPML).
926
+ *
927
+ * @since 2.1.0
928
+ *
929
+ * @param $post_id Post ID
930
+ */
931
+ function crp_object_id_cur_lang( $post_id ) {
932
+
933
+ $return_original_if_missing = true;
934
+
935
+ /**
936
+ * Filter to modify if the original language ID is returned.
937
+ *
938
+ * @since 2.2.3
939
+ *
940
+ * @param bool $return_original_if_missing
941
+ * @param int $post_id Post ID
942
+ */
943
+ $return_original_if_missing = apply_filters( 'crp_wpml_return_original', $return_original_if_missing, $post_id );
944
+
945
+ if ( function_exists( 'wpml_object_id_filter' ) ) {
946
+ $post_id = wpml_object_id_filter( $post_id, 'any', $return_original_if_missing );
947
+ } elseif ( function_exists( 'icl_object_id' ) ) {
948
+ $post_id = icl_object_id( $post_id, 'any', $return_original_if_missing );
949
+ }
950
+
951
+ /**
952
+ * Filters object ID for current language (WPML).
953
+ *
954
+ * @since 2.1.0
955
+ *
956
+ * @param int $post_id Post ID
957
+ */
958
+ return apply_filters( 'crp_object_id_cur_lang', $post_id );
959
+ }
960
+
961
+
962
+ /*
963
+ ----------------------------------------------------------------------------*
964
+ * WordPress widget
965
+ *----------------------------------------------------------------------------*/
966
+
967
+ /**
968
+ * Initialise the widget.
969
+ *
970
+ * @since 1.9.1
971
+ */
972
+ function register_crp_widget() {
973
+ require_once( plugin_dir_path( __FILE__ ) . 'includes/class-crp-widget.php' );
974
+
975
+ register_widget( 'CRP_Widget' );
976
+ }
977
+ add_action( 'widgets_init', 'register_crp_widget' );
978
+
979
+
980
+ /*
981
+ ----------------------------------------------------------------------------*
982
+ * CRP modules & includes
983
+ *----------------------------------------------------------------------------*/
984
+
985
+ require_once( plugin_dir_path( __FILE__ ) . 'includes/output-generator.php' );
986
+ require_once( plugin_dir_path( __FILE__ ) . 'includes/media.php' );
987
+ require_once( plugin_dir_path( __FILE__ ) . 'includes/tools.php' );
988
+ require_once( plugin_dir_path( __FILE__ ) . 'includes/modules/manual-posts.php' );
989
+ require_once( plugin_dir_path( __FILE__ ) . 'includes/modules/shortcode.php' );
990
+ require_once( plugin_dir_path( __FILE__ ) . 'includes/modules/taxonomies.php' );
991
+
992
+
993
+ /*
994
+ ----------------------------------------------------------------------------*
995
+ * Dashboard and Administrative Functionality
996
+ *----------------------------------------------------------------------------*/
997
+
998
+ if ( is_admin() || strstr( $_SERVER['PHP_SELF'], 'wp-admin/' ) ) {
999
+
1000
+ require_once( plugin_dir_path( __FILE__ ) . 'admin/admin.php' );
1001
+ require_once( plugin_dir_path( __FILE__ ) . 'admin/loader.php' );
1002
+ require_once( plugin_dir_path( __FILE__ ) . 'admin/metabox.php' );
1003
+ require_once( plugin_dir_path( __FILE__ ) . 'admin/cache.php' );
1004
+
1005
+ } // End admin.inc
1006
+
1007
+
1008
+ /*
1009
+ ----------------------------------------------------------------------------*
1010
+ * Deprecated functions
1011
+ *----------------------------------------------------------------------------*/
1012
+
1013
+ require_once( plugin_dir_path( __FILE__ ) . 'includes/deprecated.php' );
1014
+
css/default-style.css CHANGED
@@ -1,30 +1,30 @@
1
  .crp_related {
2
- clear: both;
3
- margin: 10px 0;
4
  }
5
  .crp_related h3 {
6
- margin: 0 !important;
7
  }
8
  .crp_related ul {
9
- list-style: none;
10
- float: left;
11
- margin: 0 !important;
12
- padding: 0 !important;
13
  }
14
  .crp_related li, .crp_related a {
15
- float: left;
16
- overflow: hidden;
17
- position: relative;
18
- text-align: center;
19
  }
20
  .crp_related li {
21
- margin: 5px !important;
22
- border: 1px solid #ddd;
23
- padding: 6px;
24
  }
25
  .crp_related li:hover {
26
- background: #eee;
27
- border-color: #bbb;
28
  }
29
  /*.crp_related a {
30
  width: 150px;
@@ -32,40 +32,40 @@
32
  text-decoration: none;
33
  }*/
34
  .crp_related a:hover {
35
- text-decoration: none;
36
  }
37
  /*.crp_related img {
38
  max-width: 150px;
39
  margin: auto;
40
  }*/
41
  .crp_related .crp_title {
42
- position: absolute;
43
- height: inherit;
44
- bottom: 6px;
45
- left: 6px;
46
- padding: 3px;
47
  /* width: 144px; = 150px - (3px * 2) */
48
- color: #fff;
49
- font-size: .9em;
50
- text-shadow: #000 .1em .1em .2em;
51
- background: rgb(0.5, 0.5, 0.5);
52
- background: rgba(0, 0, 0, 0.5);
53
  }
54
  .crp_related li:hover .crp_title {
55
- background: rgb(0.2, 0.2, 0.2);
56
- background: rgba(0, 0, 0, 0.8);
57
  }
58
 
59
  .crp_related .crp_thumb, .crp_related li, .crp_related .crp_title {
60
- vertical-align: bottom;
61
- -webkit-box-shadow: 0 1px 2px rgba(0,0,0,.4);
62
- -moz-box-shadow: 0 1px 2px rgba(0,0,0,.4);
63
- box-shadow: 0 1px 2px rgba(0,0,0,.4);
64
- -webkit-border-radius: 7px;
65
- -moz-border-radius: 7px;
66
- border-radius: 7px;
67
  }
68
 
69
  .crp_clear {
70
  clear: both;
71
- }
1
  .crp_related {
2
+ clear: both;
3
+ margin: 10px 0;
4
  }
5
  .crp_related h3 {
6
+ margin: 0 !important;
7
  }
8
  .crp_related ul {
9
+ list-style: none;
10
+ float: left;
11
+ margin: 0 !important;
12
+ padding: 0 !important;
13
  }
14
  .crp_related li, .crp_related a {
15
+ float: left;
16
+ overflow: hidden;
17
+ position: relative;
18
+ text-align: center;
19
  }
20
  .crp_related li {
21
+ margin: 5px !important;
22
+ border: 1px solid #ddd;
23
+ padding: 6px;
24
  }
25
  .crp_related li:hover {
26
+ background: #eee;
27
+ border-color: #bbb;
28
  }
29
  /*.crp_related a {
30
  width: 150px;
32
  text-decoration: none;
33
  }*/
34
  .crp_related a:hover {
35
+ text-decoration: none;
36
  }
37
  /*.crp_related img {
38
  max-width: 150px;
39
  margin: auto;
40
  }*/
41
  .crp_related .crp_title {
42
+ position: absolute;
43
+ height: inherit;
44
+ bottom: 6px;
45
+ left: 6px;
46
+ padding: 3px;
47
  /* width: 144px; = 150px - (3px * 2) */
48
+ color: #fff;
49
+ font-size: .9em;
50
+ text-shadow: 1000 .1em .1em .2em;
51
+ background: rgb(0.5, 0.5, 0.5);
52
+ background: rgba(0, 0, 0, 0.5);
53
  }
54
  .crp_related li:hover .crp_title {
55
+ background: rgb(0.2, 0.2, 0.2);
56
+ background: rgba(0, 0, 0, 0.8);
57
  }
58
 
59
  .crp_related .crp_thumb, .crp_related li, .crp_related .crp_title {
60
+ vertical-align: bottom;
61
+ -webkit-box-shadow: 0 1px 2px rgba(0,0,0,.4);
62
+ -moz-box-shadow: 0 1px 2px rgba(0,0,0,.4);
63
+ box-shadow: 0 1px 2px rgba(0,0,0,.4);
64
+ -webkit-border-radius: 7px;
65
+ -moz-border-radius: 7px;
66
+ border-radius: 7px;
67
  }
68
 
69
  .crp_clear {
70
  clear: both;
71
+ }
css/index.php CHANGED
@@ -1 +1 @@
1
- <?php // Silence is golden
1
+ <?php // Silence is golden
includes/class-crp-widget.php CHANGED
@@ -30,8 +30,8 @@ class CRP_Widget extends WP_Widget {
30
  function __construct() {
31
  parent::__construct(
32
  'widget_crp', // Base ID
33
- __( 'Related Posts [CRP]', CRP_LOCAL_NAME ), // Name
34
- array( 'description' => __( 'Display Related Posts', CRP_LOCAL_NAME ), ) // Args
35
  );
36
  }
37
 
@@ -40,7 +40,7 @@ class CRP_Widget extends WP_Widget {
40
  *
41
  * @see WP_Widget::form()
42
  *
43
- * @param array $instance Previously saved values from database.
44
  */
45
  public function form( $instance ) {
46
  $title = isset( $instance['title'] ) ? esc_attr( $instance['title'] ) : '';
@@ -66,55 +66,55 @@ class CRP_Widget extends WP_Widget {
66
  ?>
67
  <p>
68
  <label for="<?php echo $this->get_field_id( 'title' ); ?>">
69
- <?php _e( 'Title', CRP_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 ); ?>" />
70
  </label>
71
  </p>
72
  <p>
73
  <label for="<?php echo $this->get_field_id( 'limit' ); ?>">
74
- <?php _e( 'No. of posts', CRP_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 ); ?>" />
75
  </label>
76
  </p>
77
  <p>
78
  <label for="<?php echo $this->get_field_id( 'show_excerpt' ); ?>">
79
- <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?', CRP_LOCAL_NAME ); ?>
80
  </label>
81
  </p>
82
  <p>
83
  <label for="<?php echo $this->get_field_id( 'show_author' ); ?>">
84
- <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?', CRP_LOCAL_NAME ); ?>
85
  </label>
86
  </p>
87
  <p>
88
  <label for="<?php echo $this->get_field_id( 'show_date' ); ?>">
89
- <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?', CRP_LOCAL_NAME ); ?>
90
  </label>
91
  </p>
92
  <p>
93
- <?php _e( 'Thumbnail options', CRP_LOCAL_NAME ); ?>: <br />
94
  <select class="widefat" id="<?php echo $this->get_field_id( 'post_thumb_op' ); ?>" name="<?php echo $this->get_field_name( 'post_thumb_op' ); ?>">
95
- <option value="inline" <?php if ( 'inline' == $post_thumb_op ) echo 'selected="selected"' ?>><?php _e( 'Thumbnails inline, before title', CRP_LOCAL_NAME ); ?></option>
96
- <option value="after" <?php if ( 'after' == $post_thumb_op ) echo 'selected="selected"' ?>><?php _e( 'Thumbnails inline, after title', CRP_LOCAL_NAME ); ?></option>
97
- <option value="thumbs_only" <?php if ( 'thumbs_only' == $post_thumb_op ) echo 'selected="selected"' ?>><?php _e( 'Only thumbnails, no text', CRP_LOCAL_NAME ); ?></option>
98
- <option value="text_only" <?php if ( 'text_only' == $post_thumb_op ) echo 'selected="selected"' ?>><?php _e( 'No thumbnails, only text.', CRP_LOCAL_NAME ); ?></option>
99
  </select>
100
  </p>
101
  <p>
102
  <label for="<?php echo $this->get_field_id( 'thumb_height' ); ?>">
103
- <?php _e( 'Thumbnail height', CRP_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 ); ?>" />
104
  </label>
105
  </p>
106
  <p>
107
  <label for="<?php echo $this->get_field_id( 'thumb_width' ); ?>">
108
- <?php _e( 'Thumbnail width', CRP_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 ); ?>" />
109
  </label>
110
  </p>
111
 
112
- <p><?php _e( 'Post types to include:', CRP_LOCAL_NAME ); ?><br />
113
 
114
  <?php foreach ( $wp_post_types as $wp_post_type ) { ?>
115
 
116
  <label>
117
- <input id="<?php echo $this->get_field_id( 'post_types' ); ?>" name="<?php echo $this->get_field_name( 'post_types' ); ?>[]" type="checkbox" value="<?php echo $wp_post_type; ?>" <?php if ( in_array( $wp_post_type, $posts_types_inc ) ) echo 'checked="checked"' ?> />
118
  <?php echo $wp_post_type; ?>
119
  </label>
120
  <br />
@@ -141,8 +141,8 @@ class CRP_Widget extends WP_Widget {
141
  *
142
  * @see WP_Widget::update()
143
  *
144
- * @param array $new_instance Values just sent to be saved.
145
- * @param array $old_instance Previously saved values from database.
146
  *
147
  * @return array Updated safe values to be saved.
148
  */
@@ -182,8 +182,8 @@ class CRP_Widget extends WP_Widget {
182
  *
183
  * @see WP_Widget::widget()
184
  *
185
- * @param array $args Widget arguments.
186
- * @param array $instance Saved values from database.
187
  */
188
  public function widget( $args, $instance ) {
189
  global $wpdb, $post, $crp_settings;
@@ -199,7 +199,7 @@ class CRP_Widget extends WP_Widget {
199
 
200
  if ( ( ( is_single() ) && ( ! is_single( $exclude_on_post_ids ) ) ) || ( ( is_page() ) && ( ! is_page( $exclude_on_post_ids ) ) ) ) {
201
 
202
- $title = apply_filters( 'widget_title', empty( $instance['title'] ) ? strip_tags( str_replace( "%postname%", $post->post_title, $crp_settings['title'] ) ) : $instance['title'] );
203
 
204
  $limit = isset( $instance['limit'] ) ? $instance['limit'] : $crp_settings['limit'];
205
  if ( empty( $limit ) ) {
@@ -235,7 +235,6 @@ class CRP_Widget extends WP_Widget {
235
  */
236
  $arguments = apply_filters( 'crp_widget_options' , $arguments );
237
 
238
-
239
  $output = $before_widget;
240
  $output .= $before_title . $title . $after_title;
241
  $output .= get_crp( $arguments );
30
  function __construct() {
31
  parent::__construct(
32
  'widget_crp', // Base ID
33
+ __( 'Related Posts [CRP]', 'contextual-related-posts' ), // Name
34
+ array( 'description' => __( 'Display Related Posts', 'contextual-related-posts' ) ) // Args
35
  );
36
  }
37
 
40
  *
41
  * @see WP_Widget::form()
42
  *
43
+ * @param array $instance Previously saved values from database.
44
  */
45
  public function form( $instance ) {
46
  $title = isset( $instance['title'] ) ? esc_attr( $instance['title'] ) : '';
66
  ?>
67
  <p>
68
  <label for="<?php echo $this->get_field_id( 'title' ); ?>">
69
+ <?php _e( 'Title', 'contextual-related-posts' ); ?>: <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 ); ?>" />
70
  </label>
71
  </p>
72
  <p>
73
  <label for="<?php echo $this->get_field_id( 'limit' ); ?>">
74
+ <?php _e( 'No. of posts', 'contextual-related-posts' ); ?>: <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 ); ?>" />
75
  </label>
76
  </p>
77
  <p>
78
  <label for="<?php echo $this->get_field_id( 'show_excerpt' ); ?>">
79
+ <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?', 'contextual-related-posts' ); ?>
80
  </label>
81
  </p>
82
  <p>
83
  <label for="<?php echo $this->get_field_id( 'show_author' ); ?>">
84
+ <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?', 'contextual-related-posts' ); ?>
85
  </label>
86
  </p>
87
  <p>
88
  <label for="<?php echo $this->get_field_id( 'show_date' ); ?>">
89
+ <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?', 'contextual-related-posts' ); ?>
90
  </label>
91
  </p>
92
  <p>
93
+ <?php _e( 'Thumbnail options', 'contextual-related-posts' ); ?>: <br />
94
  <select class="widefat" id="<?php echo $this->get_field_id( 'post_thumb_op' ); ?>" name="<?php echo $this->get_field_name( 'post_thumb_op' ); ?>">
95
+ <option value="inline" <?php if ( 'inline' == $post_thumb_op ) { echo 'selected="selected"'; } ?>><?php _e( 'Thumbnails inline, before title', 'contextual-related-posts' ); ?></option>
96
+ <option value="after" <?php if ( 'after' == $post_thumb_op ) { echo 'selected="selected"'; } ?>><?php _e( 'Thumbnails inline, after title', 'contextual-related-posts' ); ?></option>
97
+ <option value="thumbs_only" <?php if ( 'thumbs_only' == $post_thumb_op ) { echo 'selected="selected"'; } ?>><?php _e( 'Only thumbnails, no text', 'contextual-related-posts' ); ?></option>
98
+ <option value="text_only" <?php if ( 'text_only' == $post_thumb_op ) { echo 'selected="selected"'; } ?>><?php _e( 'No thumbnails, only text.', 'contextual-related-posts' ); ?></option>
99
  </select>
100
  </p>
101
  <p>
102
  <label for="<?php echo $this->get_field_id( 'thumb_height' ); ?>">
103
+ <?php _e( 'Thumbnail height', 'contextual-related-posts' ); ?>: <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 ); ?>" />
104
  </label>
105
  </p>
106
  <p>
107
  <label for="<?php echo $this->get_field_id( 'thumb_width' ); ?>">
108
+ <?php _e( 'Thumbnail width', 'contextual-related-posts' ); ?>: <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 ); ?>" />
109
  </label>
110
  </p>
111
 
112
+ <p><?php _e( 'Post types to include:', 'contextual-related-posts' ); ?><br />
113
 
114
  <?php foreach ( $wp_post_types as $wp_post_type ) { ?>
115
 
116
  <label>
117
+ <input id="<?php echo $this->get_field_id( 'post_types' ); ?>" name="<?php echo $this->get_field_name( 'post_types' ); ?>[]" type="checkbox" value="<?php echo $wp_post_type; ?>" <?php if ( in_array( $wp_post_type, $posts_types_inc ) ) { echo 'checked="checked"'; } ?> />
118
  <?php echo $wp_post_type; ?>
119
  </label>
120
  <br />
141
  *
142
  * @see WP_Widget::update()
143
  *
144
+ * @param array $new_instance Values just sent to be saved.
145
+ * @param array $old_instance Previously saved values from database.
146
  *
147
  * @return array Updated safe values to be saved.
148
  */
182
  *
183
  * @see WP_Widget::widget()
184
  *
185
+ * @param array $args Widget arguments.
186
+ * @param array $instance Saved values from database.
187
  */
188
  public function widget( $args, $instance ) {
189
  global $wpdb, $post, $crp_settings;
199
 
200
  if ( ( ( is_single() ) && ( ! is_single( $exclude_on_post_ids ) ) ) || ( ( is_page() ) && ( ! is_page( $exclude_on_post_ids ) ) ) ) {
201
 
202
+ $title = apply_filters( 'widget_title', empty( $instance['title'] ) ? strip_tags( str_replace( '%postname%', $post->post_title, $crp_settings['title'] ) ) : $instance['title'] );
203
 
204
  $limit = isset( $instance['limit'] ) ? $instance['limit'] : $crp_settings['limit'];
205
  if ( empty( $limit ) ) {
235
  */
236
  $arguments = apply_filters( 'crp_widget_options' , $arguments );
237
 
 
238
  $output = $before_widget;
239
  $output .= $before_title . $title . $after_title;
240
  $output .= get_crp( $arguments );
includes/deprecated.php CHANGED
@@ -1,124 +1,124 @@
1
- <?php
2
- /**
3
- * Deprecated functions from Contextual Related Posts. 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 Contextual_Related_Posts
8
- */
9
-
10
-
11
- /**
12
- * Fetch related posts.
13
- *
14
- * @since 1.8.6
15
- *
16
- * @deprecated v2.0.0
17
- * @see get_crp_posts_id
18
- *
19
- * @param int $postid (default: FALSE) The post ID for which you want the posts for
20
- * @param int $limit (default: FALSE) Maximum posts to retreive
21
- * @param boolean $strict_limit (default: TRUE) Setting to true will fetch exactly as per limit above
22
- * @return object Object with Post IDs
23
- */
24
- function get_crp_posts( $postid = FALSE, $limit = FALSE, $strict_limit = TRUE ) {
25
-
26
- _deprecated_function( __FUNCTION__, '2.0.0', 'get_crp_posts_id()' );
27
-
28
- $results = get_crp_posts_id( array(
29
- 'postid' => $postid,
30
- 'limit' => $limit,
31
- 'strict_limit' => $strict_limit
32
- ) );
33
-
34
- /**
35
- * Filter object containing the post IDs.
36
- *
37
- * @since 1.9
38
- *
39
- * @param object $results Object containing the related post IDs
40
- */
41
- return apply_filters( 'get_crp_posts', $results );
42
- }
43
-
44
-
45
- /**
46
- * Main function to generate the related posts output
47
- *
48
- * @since 1.0.1
49
- * @deprecated 2.2.0
50
- * @see get_crp
51
- *
52
- * @param array $args Parameters in a query string format
53
- * @return string HTML formatted list of related posts
54
- */
55
- function ald_crp( $args = array() ) {
56
-
57
- _deprecated_function( __FUNCTION__, '2.2.0', 'get_crp()' );
58
-
59
- $output = get_crp( $args );
60
-
61
- /**
62
- * Filter the output
63
- *
64
- * @since 1.9.1
65
- *
66
- * @param string $output Formatted list of related posts
67
- * @param array $args Complete set of arguments
68
- */
69
- return apply_filters( 'ald_crp', $output, $args );
70
- }
71
-
72
-
73
- /**
74
- * Filter for 'the_content' to add the related posts.
75
- *
76
- * @since 1.0.1
77
- * @deprecated 2.2.0
78
- * @see crp_content_filter
79
- *
80
- * @param string $content
81
- * @return string After the filter has been processed
82
- */
83
- function ald_crp_content( $content ) {
84
-
85
- _deprecated_function( __FUNCTION__, '2.2.0', 'crp_content_filter()' );
86
-
87
- return crp_content_filter( $content );
88
- }
89
-
90
-
91
- /**
92
- * Filter to add related posts to feeds.
93
- *
94
- * @since 1.8.4
95
- * @deprecated 2.2.0
96
- * @see crp_rss_filter
97
- *
98
- * @param string $content
99
- * @return string Formatted content
100
- */
101
- function ald_crp_rss( $content ) {
102
-
103
- _deprecated_function( __FUNCTION__, '2.2.0', 'crp_rss_filter()' );
104
-
105
- return crp_content_filter( $content );
106
- }
107
-
108
-
109
- /**
110
- * Manual install of the related posts.
111
- *
112
- * @since 1.0.1
113
- * @deprecated 2.2.0
114
- * @see echo_crp
115
- *
116
- * @param string List of arguments to control the output
117
- */
118
- function echo_ald_crp( $args = array() ) {
119
-
120
- _deprecated_function( __FUNCTION__, '2.2.0', 'echo_crp()' );
121
-
122
- echo_crp( $args );
123
- }
124
-
1
+ <?php
2
+ /**
3
+ * Deprecated functions from Contextual Related Posts. 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 Contextual_Related_Posts
8
+ */
9
+
10
+
11
+ /**
12
+ * Fetch related posts.
13
+ *
14
+ * @since 1.8.6
15
+ *
16
+ * @deprecated v2.0.0
17
+ * @see get_crp_posts_id
18
+ *
19
+ * @param int $postid (default: FALSE) The post ID for which you want the posts for
20
+ * @param int $limit (default: FALSE) Maximum posts to retreive
21
+ * @param boolean $strict_limit (default: TRUE) Setting to true will fetch exactly as per limit above
22
+ * @return object Object with Post IDs
23
+ */
24
+ function get_crp_posts( $postid = false, $limit = false, $strict_limit = true ) {
25
+
26
+ _deprecated_function( __FUNCTION__, '2.0.0', 'get_crp_posts_id()' );
27
+
28
+ $results = get_crp_posts_id( array(
29
+ 'postid' => $postid,
30
+ 'limit' => $limit,
31
+ 'strict_limit' => $strict_limit,
32
+ ) );
33
+
34
+ /**
35
+ * Filter object containing the post IDs.
36
+ *
37
+ * @since 1.9
38
+ *
39
+ * @param object $results Object containing the related post IDs
40
+ */
41
+ return apply_filters( 'get_crp_posts', $results );
42
+ }
43
+
44
+
45
+ /**
46
+ * Main function to generate the related posts output
47
+ *
48
+ * @since 1.0.1
49
+ * @deprecated 2.2.0
50
+ * @see get_crp
51
+ *
52
+ * @param array $args Parameters in a query string format
53
+ * @return string HTML formatted list of related posts
54
+ */
55
+ function ald_crp( $args = array() ) {
56
+
57
+ _deprecated_function( __FUNCTION__, '2.2.0', 'get_crp()' );
58
+
59
+ $output = get_crp( $args );
60
+
61
+ /**
62
+ * Filter the output
63
+ *
64
+ * @since 1.9.1
65
+ *
66
+ * @param string $output Formatted list of related posts
67
+ * @param array $args Complete set of arguments
68
+ */
69
+ return apply_filters( 'ald_crp', $output, $args );
70
+ }
71
+
72
+
73
+ /**
74
+ * Filter for 'the_content' to add the related posts.
75
+ *
76
+ * @since 1.0.1
77
+ * @deprecated 2.2.0
78
+ * @see crp_content_filter
79
+ *
80
+ * @param string $content
81
+ * @return string After the filter has been processed
82
+ */
83
+ function ald_crp_content( $content ) {
84
+
85
+ _deprecated_function( __FUNCTION__, '2.2.0', 'crp_content_filter()' );
86
+
87
+ return crp_content_filter( $content );
88
+ }
89
+
90
+
91
+ /**
92
+ * Filter to add related posts to feeds.
93
+ *
94
+ * @since 1.8.4
95
+ * @deprecated 2.2.0
96
+ * @see crp_rss_filter
97
+ *
98
+ * @param string $content
99
+ * @return string Formatted content
100
+ */
101
+ function ald_crp_rss( $content ) {
102
+
103
+ _deprecated_function( __FUNCTION__, '2.2.0', 'crp_rss_filter()' );
104
+
105
+ return crp_content_filter( $content );
106
+ }
107
+
108
+
109
+ /**
110
+ * Manual install of the related posts.
111
+ *
112
+ * @since 1.0.1
113
+ * @deprecated 2.2.0
114
+ * @see echo_crp
115
+ *
116
+ * @param string List of arguments to control the output
117
+ */
118
+ function echo_ald_crp( $args = array() ) {
119
+
120
+ _deprecated_function( __FUNCTION__, '2.2.0', 'echo_crp()' );
121
+
122
+ echo_crp( $args );
123
+ }
124
+
includes/index.php ADDED
@@ -0,0 +1 @@
 
1
+ <?php // Silence is golden
includes/media.php CHANGED
@@ -14,7 +14,6 @@
14
  * Add custom image size of thumbnail. Filters `init`.
15
  *
16
  * @since 2.0.0
17
- *
18
  */
19
  function crp_add_image_sizes() {
20
  global $crp_settings;
@@ -41,7 +40,7 @@ add_action( 'init', 'crp_add_image_sizes' );
41
  *
42
  * @since 1.7
43
  *
44
- * @param array|string $args Array / Query string with arguments post thumbnails
45
  * @return string Output with the post thumbnail
46
  */
47
  function crp_get_the_post_thumbnail( $args = array() ) {
@@ -65,15 +64,15 @@ function crp_get_the_post_thumbnail( $args = array() ) {
65
 
66
  // Issue notice for deprecated arguments
67
  if ( isset( $args['thumb_timthumb'] ) ) {
68
- _deprecated_argument( __FUNCTION__, '2.1', __( 'thumb_timthumb argument has been deprecated', CRP_LOCAL_NAME ) );
69
  }
70
 
71
  if ( isset( $args['thumb_timthumb_q'] ) ) {
72
- _deprecated_argument( __FUNCTION__, '2.1', __( 'thumb_timthumb_q argument has been deprecated', CRP_LOCAL_NAME ) );
73
  }
74
 
75
  if ( isset( $args['filter'] ) ) {
76
- _deprecated_argument( __FUNCTION__, '2.1', __( 'filter argument has been deprecated', CRP_LOCAL_NAME ) );
77
  }
78
 
79
  $result = get_post( $args['postid'] );
@@ -100,7 +99,7 @@ function crp_get_the_post_thumbnail( $args = array() ) {
100
 
101
  // If there is no thumbnail found, check the post thumbnail
102
  if ( ! $postimage ) {
103
- if ( false != get_post_thumbnail_id( $result->ID ) ) {
104
  $postthumb = wp_get_attachment_image_src( get_post_thumbnail_id( $result->ID ), $crp_settings['thumb_size'] );
105
  $postimage = $postthumb[0];
106
  }
@@ -288,7 +287,7 @@ function crp_get_first_image( $postID ) {
288
  *
289
  * @since 2.1
290
  *
291
- * @param string $attachment_url Attachment URL
292
  * @return int Attachment ID
293
  */
294
  function crp_get_attachment_id_from_url( $attachment_url = '' ) {
@@ -334,7 +333,7 @@ function crp_get_attachment_id_from_url( $attachment_url = '' ) {
334
  * Get all image sizes.
335
  *
336
  * @since 2.0.0
337
- * @param string $size Get specific image size
338
  * @return array Image size names along with width, height and crop setting
339
  */
340
  function crp_get_all_image_sizes( $size = '' ) {
@@ -343,37 +342,36 @@ function crp_get_all_image_sizes( $size = '' ) {
343
  /* Get the intermediate image sizes and add the full size to the array. */
344
  $intermediate_image_sizes = get_intermediate_image_sizes();
345
 
346
- foreach( $intermediate_image_sizes as $_size ) {
347
- if ( in_array( $_size, array( 'thumbnail', 'medium', 'large' ) ) ) {
348
 
349
- $sizes[ $_size ]['name'] = $_size;
350
- $sizes[ $_size ]['width'] = get_option( $_size . '_size_w' );
351
- $sizes[ $_size ]['height'] = get_option( $_size . '_size_h' );
352
- $sizes[ $_size ]['crop'] = (bool) get_option( $_size . '_crop' );
353
 
354
  if ( ( 0 == $sizes[ $_size ]['width'] ) && ( 0 == $sizes[ $_size ]['height'] ) ) {
355
  unset( $sizes[ $_size ] );
356
  }
 
357
 
358
- } elseif ( isset( $_wp_additional_image_sizes[ $_size ] ) ) {
359
-
360
- $sizes[ $_size ] = array(
361
  'name' => $_size,
362
- 'width' => $_wp_additional_image_sizes[ $_size ]['width'],
363
- 'height' => $_wp_additional_image_sizes[ $_size ]['height'],
364
- 'crop' => (bool) $_wp_additional_image_sizes[ $_size ]['crop'],
365
- );
366
  }
367
  }
368
 
369
  /* Get only 1 size if found */
370
- if ( $size ) {
371
- if ( isset( $sizes[ $size ] ) ) {
372
  return $sizes[ $size ];
373
- } else {
374
  return false;
375
- }
376
- }
377
 
378
  /**
379
  * Filters array of image sizes.
14
  * Add custom image size of thumbnail. Filters `init`.
15
  *
16
  * @since 2.0.0
 
17
  */
18
  function crp_add_image_sizes() {
19
  global $crp_settings;
40
  *
41
  * @since 1.7
42
  *
43
+ * @param array|string $args Array / Query string with arguments post thumbnails
44
  * @return string Output with the post thumbnail
45
  */
46
  function crp_get_the_post_thumbnail( $args = array() ) {
64
 
65
  // Issue notice for deprecated arguments
66
  if ( isset( $args['thumb_timthumb'] ) ) {
67
+ _deprecated_argument( __FUNCTION__, '2.1', __( 'thumb_timthumb argument has been deprecated', 'contextual-related-posts' ) );
68
  }
69
 
70
  if ( isset( $args['thumb_timthumb_q'] ) ) {
71
+ _deprecated_argument( __FUNCTION__, '2.1', __( 'thumb_timthumb_q argument has been deprecated', 'contextual-related-posts' ) );
72
  }
73
 
74
  if ( isset( $args['filter'] ) ) {
75
+ _deprecated_argument( __FUNCTION__, '2.1', __( 'filter argument has been deprecated', 'contextual-related-posts' ) );
76
  }
77
 
78
  $result = get_post( $args['postid'] );
99
 
100
  // If there is no thumbnail found, check the post thumbnail
101
  if ( ! $postimage ) {
102
+ if ( false != get_post_thumbnail_id( $result->ID ) ) {
103
  $postthumb = wp_get_attachment_image_src( get_post_thumbnail_id( $result->ID ), $crp_settings['thumb_size'] );
104
  $postimage = $postthumb[0];
105
  }
287
  *
288
  * @since 2.1
289
  *
290
+ * @param string $attachment_url Attachment URL
291
  * @return int Attachment ID
292
  */
293
  function crp_get_attachment_id_from_url( $attachment_url = '' ) {
333
  * Get all image sizes.
334
  *
335
  * @since 2.0.0
336
+ * @param string $size Get specific image size
337
  * @return array Image size names along with width, height and crop setting
338
  */
339
  function crp_get_all_image_sizes( $size = '' ) {
342
  /* Get the intermediate image sizes and add the full size to the array. */
343
  $intermediate_image_sizes = get_intermediate_image_sizes();
344
 
345
+ foreach ( $intermediate_image_sizes as $_size ) {
346
+ if ( in_array( $_size, array( 'thumbnail', 'medium', 'large' ) ) ) {
347
 
348
+ $sizes[ $_size ]['name'] = $_size;
349
+ $sizes[ $_size ]['width'] = get_option( $_size . '_size_w' );
350
+ $sizes[ $_size ]['height'] = get_option( $_size . '_size_h' );
351
+ $sizes[ $_size ]['crop'] = (bool) get_option( $_size . '_crop' );
352
 
353
  if ( ( 0 == $sizes[ $_size ]['width'] ) && ( 0 == $sizes[ $_size ]['height'] ) ) {
354
  unset( $sizes[ $_size ] );
355
  }
356
+ } elseif ( isset( $_wp_additional_image_sizes[ $_size ] ) ) {
357
 
358
+ $sizes[ $_size ] = array(
 
 
359
  'name' => $_size,
360
+ 'width' => $_wp_additional_image_sizes[ $_size ]['width'],
361
+ 'height' => $_wp_additional_image_sizes[ $_size ]['height'],
362
+ 'crop' => (bool) $_wp_additional_image_sizes[ $_size ]['crop'],
363
+ );
364
  }
365
  }
366
 
367
  /* Get only 1 size if found */
368
+ if ( $size ) {
369
+ if ( isset( $sizes[ $size ] ) ) {
370
  return $sizes[ $size ];
371
+ } else {
372
  return false;
373
+ }
374
+ }
375
 
376
  /**
377
  * Filters array of image sizes.
includes/modules/index.php ADDED
@@ -0,0 +1 @@
 
1
+ <?php // Silence is golden
includes/modules/manual-posts.php CHANGED
@@ -20,7 +20,7 @@ if ( ! defined( 'WPINC' ) ) {
20
  *
21
  * @since 2.2.0
22
  *
23
- * @param object $results Original object array with post results
24
  * @return object Updated object array with post results
25
  */
26
  function crp_manual_posts( $results ) {
@@ -38,7 +38,6 @@ function crp_manual_posts( $results ) {
38
  */
39
  $fields = apply_filters( 'crp_posts_fields', $fields, $post->ID );
40
 
41
-
42
  $sql = "SELECT DISTINCT $fields FROM $wpdb->posts
43
  WHERE 1=1
44
  AND {$wpdb->posts}.ID IN ({$crp_post_meta['manual_related']})
20
  *
21
  * @since 2.2.0
22
  *
23
+ * @param object $results Original object array with post results
24
  * @return object Updated object array with post results
25
  */
26
  function crp_manual_posts( $results ) {
38
  */
39
  $fields = apply_filters( 'crp_posts_fields', $fields, $post->ID );
40
 
 
41
  $sql = "SELECT DISTINCT $fields FROM $wpdb->posts
42
  WHERE 1=1
43
  AND {$wpdb->posts}.ID IN ({$crp_post_meta['manual_related']})
includes/modules/shortcode.php CHANGED
@@ -20,17 +20,20 @@ if ( ! defined( 'WPINC' ) ) {
20
  *
21
  * @since 1.8.6
22
  *
23
- * @param array $atts Shortcode attributes
24
- * @param string $content (default: null)
25
  * @return Related Posts
26
  */
27
  function crp_shortcode( $atts, $content = null ) {
28
  global $crp_settings;
29
 
30
  $atts = shortcode_atts( array_merge(
31
- $crp_settings,
32
- array( 'heading' => 1 )
33
- ), $atts, 'crp' );
 
 
 
34
 
35
  return get_crp( $atts );
36
  }
20
  *
21
  * @since 1.8.6
22
  *
23
+ * @param array $atts Shortcode attributes
24
+ * @param string $content (default: null)
25
  * @return Related Posts
26
  */
27
  function crp_shortcode( $atts, $content = null ) {
28
  global $crp_settings;
29
 
30
  $atts = shortcode_atts( array_merge(
31
+ $crp_settings,
32
+ array(
33
+ 'heading' => 1,
34
+ 'is_shortcode' => 1,
35
+ )
36
+ ), $atts, 'crp' );
37
 
38
  return get_crp( $atts );
39
  }
includes/modules/taxonomies.php CHANGED
@@ -20,7 +20,7 @@ if ( ! defined( 'WPINC' ) ) {
20
  *
21
  * @since 1.0.0
22
  *
23
- * @param mixed $join
24
  * @return string Filtered CRP JOIN clause
25
  */
26
  function crp_exclude_categories_join( $join ) {
@@ -44,7 +44,7 @@ add_filter( 'crp_posts_join', 'crp_exclude_categories_join' );
44
  *
45
  * @since 1.0.0
46
  *
47
- * @param mixed $where
48
  * @return string Filtered CRP WHERE clause
49
  */
50
  function crp_exclude_categories_where( $where ) {
@@ -60,7 +60,7 @@ function crp_exclude_categories_where( $where ) {
60
 
61
  $sql = $where;
62
 
63
- $sql .= " AND $wpdb->posts.ID NOT IN (
64
  SELECT object_id
65
  FROM $wpdb->term_relationships
66
  WHERE term_taxonomy_id IN ($terms)
20
  *
21
  * @since 1.0.0
22
  *
23
+ * @param mixed $join
24
  * @return string Filtered CRP JOIN clause
25
  */
26
  function crp_exclude_categories_join( $join ) {
44
  *
45
  * @since 1.0.0
46
  *
47
+ * @param mixed $where
48
  * @return string Filtered CRP WHERE clause
49
  */
50
  function crp_exclude_categories_where( $where ) {
60
 
61
  $sql = $where;
62
 
63
+ $sql .= " AND $wpdb->posts.ID NOT IN (
64
  SELECT object_id
65
  FROM $wpdb->term_relationships
66
  WHERE term_taxonomy_id IN ($terms)
includes/output-generator.php CHANGED
@@ -19,7 +19,7 @@ if ( ! defined( 'WPINC' ) ) {
19
  *
20
  * @since 2.2.0
21
  *
22
- * @param array $args Array of arguments
23
  * @return string Space separated list of link attributes
24
  */
25
  function crp_link_attributes( $args ) {
@@ -55,7 +55,7 @@ function crp_link_attributes( $args ) {
55
  *
56
  * @since 2.2.0
57
  *
58
- * @param array $args Array of arguments
59
  * @return string Space separated list of link attributes
60
  */
61
  function crp_heading_title( $args ) {
@@ -64,7 +64,7 @@ function crp_heading_title( $args ) {
64
  $title = '';
65
 
66
  if ( $args['heading'] && ! $args['is_widget'] ) {
67
- $title = str_replace( "%postname%", $post->post_title, $args['title'] ); // Replace %postname% with the title of the current post
68
  }
69
 
70
  /**
@@ -84,7 +84,7 @@ function crp_heading_title( $args ) {
84
  *
85
  * @since 2.2.0
86
  *
87
- * @param array $args Array of arguments
88
  * @return string Space separated list of link attributes
89
  */
90
  function crp_before_list( $args ) {
@@ -109,7 +109,7 @@ function crp_before_list( $args ) {
109
  *
110
  * @since 2.2.0
111
  *
112
- * @param array $args Array of arguments
113
  * @return string Space separated list of link attributes
114
  */
115
  function crp_after_list( $args ) {
@@ -134,8 +134,8 @@ function crp_after_list( $args ) {
134
  *
135
  * @since 2.2.0
136
  *
137
- * @param array $args Array of arguments
138
- * @param object $result Object of the current post result
139
  * @return string Space separated list of link attributes
140
  */
141
  function crp_before_list_item( $args, $result ) {
@@ -161,8 +161,8 @@ function crp_before_list_item( $args, $result ) {
161
  *
162
  * @since 2.2.0
163
  *
164
- * @param array $args Array of arguments
165
- * @param object $result Object of the current post result
166
  * @return string Space separated list of link attributes
167
  */
168
  function crp_after_list_item( $args, $result ) {
@@ -188,8 +188,8 @@ function crp_after_list_item( $args, $result ) {
188
  *
189
  * @since 2.2.0
190
  *
191
- * @param array $args Array of arguments
192
- * @param object $result Object of the current post result
193
  * @return string Space separated list of link attributes
194
  */
195
  function crp_title( $args, $result ) {
@@ -215,8 +215,8 @@ function crp_title( $args, $result ) {
215
  *
216
  * @since 2.2.0
217
  *
218
- * @param array $args Array of arguments
219
- * @param object $result Object of the current post result
220
  * @return string Space separated list of link attributes
221
  */
222
  function crp_author( $args, $result ) {
@@ -235,7 +235,7 @@ function crp_author( $args, $result ) {
235
  */
236
  $author_name = apply_filters( 'crp_author_name', $author_name, $author_info );
237
 
238
- $crp_author = '<span class="crp_author"> ' . __( ' by ', CRP_LOCAL_NAME ) . '<a href="' . $author_link . '">' . $author_name . '</a></span> ';
239
 
240
  /**
241
  * Filter the text with the author details.
@@ -257,8 +257,8 @@ function crp_author( $args, $result ) {
257
  *
258
  * @since 2.2.0
259
  *
260
- * @param array $args Array of arguments
261
- * @param object $result Object of the current post result
262
  * @return string Space separated list of link attributes
263
  */
264
  function crp_list_link( $args, $result ) {
19
  *
20
  * @since 2.2.0
21
  *
22
+ * @param array $args Array of arguments
23
  * @return string Space separated list of link attributes
24
  */
25
  function crp_link_attributes( $args ) {
55
  *
56
  * @since 2.2.0
57
  *
58
+ * @param array $args Array of arguments
59
  * @return string Space separated list of link attributes
60
  */
61
  function crp_heading_title( $args ) {
64
  $title = '';
65
 
66
  if ( $args['heading'] && ! $args['is_widget'] ) {
67
+ $title = str_replace( '%postname%', $post->post_title, $args['title'] ); // Replace %postname% with the title of the current post
68
  }
69
 
70
  /**
84
  *
85
  * @since 2.2.0
86
  *
87
+ * @param array $args Array of arguments
88
  * @return string Space separated list of link attributes
89
  */
90
  function crp_before_list( $args ) {
109
  *
110
  * @since 2.2.0
111
  *
112
+ * @param array $args Array of arguments
113
  * @return string Space separated list of link attributes
114
  */
115
  function crp_after_list( $args ) {
134
  *
135
  * @since 2.2.0
136
  *
137
+ * @param array $args Array of arguments
138
+ * @param object $result Object of the current post result
139
  * @return string Space separated list of link attributes
140
  */
141
  function crp_before_list_item( $args, $result ) {
161
  *
162
  * @since 2.2.0
163
  *
164
+ * @param array $args Array of arguments
165
+ * @param object $result Object of the current post result
166
  * @return string Space separated list of link attributes
167
  */
168
  function crp_after_list_item( $args, $result ) {
188
  *
189
  * @since 2.2.0
190
  *
191
+ * @param array $args Array of arguments
192
+ * @param object $result Object of the current post result
193
  * @return string Space separated list of link attributes
194
  */
195
  function crp_title( $args, $result ) {
215
  *
216
  * @since 2.2.0
217
  *
218
+ * @param array $args Array of arguments
219
+ * @param object $result Object of the current post result
220
  * @return string Space separated list of link attributes
221
  */
222
  function crp_author( $args, $result ) {
235
  */
236
  $author_name = apply_filters( 'crp_author_name', $author_name, $author_info );
237
 
238
+ $crp_author = '<span class="crp_author"> ' . __( ' by ', 'contextual-related-posts' ) . '<a href="' . $author_link . '">' . $author_name . '</a></span> ';
239
 
240
  /**
241
  * Filter the text with the author details.
257
  *
258
  * @since 2.2.0
259
  *
260
+ * @param array $args Array of arguments
261
+ * @param object $result Object of the current post result
262
  * @return string Space separated list of link attributes
263
  */
264
  function crp_list_link( $args, $result ) {
includes/plugin-activator.php CHANGED
@@ -14,32 +14,32 @@
14
  *
15
  * @since 1.0.1
16
  *
17
- * @param boolean $network_wide True if WPMU superadmin uses
18
- * "Network Activate" action, false if
19
- * WPMU is disabled or plugin is
20
- * activated on an individual blog.
21
  */
22
  function crp_activate( $network_wide ) {
23
- global $wpdb;
24
 
25
- if ( is_multisite() && $network_wide ) {
26
 
27
- // Get all blogs in the network and activate plugin on each one
28
- $blog_ids = $wpdb->get_col( "
29
  SELECT blog_id FROM $wpdb->blogs
30
  WHERE archived = '0' AND spam = '0' AND deleted = '0'
31
  " );
32
- foreach ( $blog_ids as $blog_id ) {
33
- switch_to_blog( $blog_id );
34
  crp_single_activate();
35
- }
36
 
37
- // Switch back to the current blog
38
- restore_current_blog();
39
 
40
- } else {
41
- crp_single_activate();
42
- }
43
  }
44
 
45
 
@@ -47,19 +47,18 @@ function crp_activate( $network_wide ) {
47
  * Fired for each blog when the plugin is activated.
48
  *
49
  * @since 2.0.0
50
- *
51
  */
52
  function crp_single_activate() {
53
  global $wpdb;
54
 
55
  $crp_settings = crp_read_options();
56
 
57
- $wpdb->hide_errors();
58
 
59
  crp_delete_index();
60
  crp_create_index();
61
 
62
- $wpdb->show_errors();
63
 
64
  }
65
 
14
  *
15
  * @since 1.0.1
16
  *
17
+ * @param boolean $network_wide True if WPMU superadmin uses
18
+ * "Network Activate" action, false if
19
+ * WPMU is disabled or plugin is
20
+ * activated on an individual blog.
21
  */
22
  function crp_activate( $network_wide ) {
23
+ global $wpdb;
24
 
25
+ if ( is_multisite() && $network_wide ) {
26
 
27
+ // Get all blogs in the network and activate plugin on each one
28
+ $blog_ids = $wpdb->get_col( "
29
  SELECT blog_id FROM $wpdb->blogs
30
  WHERE archived = '0' AND spam = '0' AND deleted = '0'
31
  " );
32
+ foreach ( $blog_ids as $blog_id ) {
33
+ switch_to_blog( $blog_id );
34
  crp_single_activate();
35
+ }
36
 
37
+ // Switch back to the current blog
38
+ restore_current_blog();
39
 
40
+ } else {
41
+ crp_single_activate();
42
+ }
43
  }
44
 
45
 
47
  * Fired for each blog when the plugin is activated.
48
  *
49
  * @since 2.0.0
 
50
  */
51
  function crp_single_activate() {
52
  global $wpdb;
53
 
54
  $crp_settings = crp_read_options();
55
 
56
+ $wpdb->hide_errors();
57
 
58
  crp_delete_index();
59
  crp_create_index();
60
 
61
+ $wpdb->show_errors();
62
 
63
  }
64
 
includes/tools.php CHANGED
@@ -14,7 +14,7 @@
14
  *
15
  * @since 1.6
16
  *
17
- * @param int $id Post ID
18
  * @param int|string $excerpt_length Length of the excerpt in words
19
  * @return string Excerpt
20
  */
@@ -53,21 +53,21 @@ function crp_excerpt( $id, $excerpt_length = 0, $use_excerpt = true ) {
53
  *
54
  * @since 1.8.4
55
  *
56
- * @param string $content Content to be used to make an excerpt
57
- * @param int $no_of_char Maximum length of excerpt in characters
58
  * @return string Formatted content
59
  */
60
  function crp_max_formatted_content( $content, $no_of_char = -1 ) {
61
  $content = strip_tags( $content ); // Remove CRLFs, leaving space in their wake
62
 
63
  if ( ( $no_of_char > 0 ) && ( strlen( $content ) > $no_of_char ) ) {
64
- $aWords = preg_split( "/[\s]+/", substr( $content, 0, $no_of_char ) );
65
 
66
  // Break back down into a string of words, but drop the last one if it's chopped off
67
- if ( substr( $content, $no_of_char, 1 ) == " " ) {
68
- $content = implode( " ", $aWords );
69
  } else {
70
- $content = implode( " ", array_slice( $aWords, 0, -1 ) ) .'&hellip;';
71
  }
72
  }
73
 
@@ -86,7 +86,7 @@ function crp_max_formatted_content( $content, $no_of_char = -1 ) {
86
  /**
87
  * Delete the CRP cache.
88
  *
89
- * @param array $meta_keys
90
  */
91
  function crp_cache_delete( $meta_keys = array() ) {
92
 
@@ -105,7 +105,6 @@ function crp_cache_delete( $meta_keys = array() ) {
105
 
106
  /**
107
  * Get the default meta keys used for the cache
108
- *
109
  */
110
  function crp_cache_get_keys() {
111
 
@@ -131,12 +130,11 @@ function crp_cache_get_keys() {
131
  * Create the FULLTEXT index.
132
  *
133
  * @since 2.2.1
134
- *
135
  */
136
  function crp_create_index() {
137
  global $wpdb;
138
 
139
- $wpdb->hide_errors();
140
 
141
  // If we're running mySQL v5.6, convert the WPDB posts table to InnoDB, since InnoDB supports FULLTEXT from v5.6 onwards
142
  if ( version_compare( 5.6, $wpdb->db_version(), '<=' ) ) {
@@ -174,12 +172,11 @@ function crp_create_index() {
174
  * Delete the FULLTEXT index.
175
  *
176
  * @since 2.2.1
177
- *
178
  */
179
  function crp_delete_index() {
180
  global $wpdb;
181
 
182
- $wpdb->hide_errors();
183
 
184
  if ( $wpdb->get_results( "SHOW INDEX FROM {$wpdb->posts} where Key_name = 'crp_related'" ) ) {
185
  $wpdb->query( "ALTER TABLE {$wpdb->posts} DROP INDEX crp_related" );
@@ -191,7 +188,7 @@ function crp_delete_index() {
191
  $wpdb->query( "ALTER TABLE {$wpdb->posts} DROP INDEX crp_related_content" );
192
  }
193
 
194
- $wpdb->show_errors();
195
 
196
  }
197
 
14
  *
15
  * @since 1.6
16
  *
17
+ * @param int $id Post ID
18
  * @param int|string $excerpt_length Length of the excerpt in words
19
  * @return string Excerpt
20
  */
53
  *
54
  * @since 1.8.4
55
  *
56
+ * @param string $content Content to be used to make an excerpt
57
+ * @param int $no_of_char Maximum length of excerpt in characters
58
  * @return string Formatted content
59
  */
60
  function crp_max_formatted_content( $content, $no_of_char = -1 ) {
61
  $content = strip_tags( $content ); // Remove CRLFs, leaving space in their wake
62
 
63
  if ( ( $no_of_char > 0 ) && ( strlen( $content ) > $no_of_char ) ) {
64
+ $aWords = preg_split( '/[\s]+/', substr( $content, 0, $no_of_char ) );
65
 
66
  // Break back down into a string of words, but drop the last one if it's chopped off
67
+ if ( substr( $content, $no_of_char, 1 ) == ' ' ) {
68
+ $content = implode( ' ', $aWords );
69
  } else {
70
+ $content = implode( ' ', array_slice( $aWords, 0, -1 ) ) .'&hellip;';
71
  }
72
  }
73
 
86
  /**
87
  * Delete the CRP cache.
88
  *
89
+ * @param array $meta_keys
90
  */
91
  function crp_cache_delete( $meta_keys = array() ) {
92
 
105
 
106
  /**
107
  * Get the default meta keys used for the cache
 
108
  */
109
  function crp_cache_get_keys() {
110
 
130
  * Create the FULLTEXT index.
131
  *
132
  * @since 2.2.1
 
133
  */
134
  function crp_create_index() {
135
  global $wpdb;
136
 
137
+ $wpdb->hide_errors();
138
 
139
  // If we're running mySQL v5.6, convert the WPDB posts table to InnoDB, since InnoDB supports FULLTEXT from v5.6 onwards
140
  if ( version_compare( 5.6, $wpdb->db_version(), '<=' ) ) {
172
  * Delete the FULLTEXT index.
173
  *
174
  * @since 2.2.1
 
175
  */
176
  function crp_delete_index() {
177
  global $wpdb;
178
 
179
+ $wpdb->hide_errors();
180
 
181
  if ( $wpdb->get_results( "SHOW INDEX FROM {$wpdb->posts} where Key_name = 'crp_related'" ) ) {
182
  $wpdb->query( "ALTER TABLE {$wpdb->posts} DROP INDEX crp_related" );
188
  $wpdb->query( "ALTER TABLE {$wpdb->posts} DROP INDEX crp_related_content" );
189
  }
190
 
191
+ $wpdb->show_errors();
192
 
193
  }
194
 
index.php CHANGED
@@ -1 +1 @@
1
- <?php // Silence is golden
1
+ <?php // Silence is golden
languages/{crp-da_DK.mo → contextual-related-posts-da_DK.mo} RENAMED
Binary file
languages/{crp-da_DK.po → contextual-related-posts-da_DK.po} RENAMED
@@ -2,7 +2,7 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Contextual Related Posts 1.5.1\n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2015-09-05 11:13+0100\n"
6
  "PO-Revision-Date: \n"
7
  "Last-Translator: Ajay D'Souza <me@ajaydsouza.com>\n"
8
  "Language-Team: Team Blogos <wordpress@blogos.dk>\n"
@@ -18,30 +18,30 @@ msgstr ""
18
  "X-Generator: Poedit 1.8.4\n"
19
  "X-Poedit-SearchPath-0: .\n"
20
 
21
- #: admin/admin.php:190
22
  msgid "Options saved successfully. If enabled, the cache has been cleared."
23
  msgstr ""
24
 
25
- #: admin/admin.php:193
26
  msgid ""
27
  "Rounded Thumbnails style selected. Author, Excerpt and Date will not be "
28
  "displayed."
29
  msgstr ""
30
 
31
- #: admin/admin.php:196
32
  msgid "Text Only style selected. Thumbnails will not be displayed."
33
  msgstr ""
34
 
35
- #: admin/admin.php:199
36
  #, php-format
37
  msgid "Pre-built thumbnail size selected. Thumbnail set to %d x %d."
38
  msgstr ""
39
 
40
- #: admin/admin.php:223
41
  msgid "Options set to Default."
42
  msgstr "Indstillingerne sat til standardværdier."
43
 
44
- #: admin/admin.php:232
45
  msgid "Index recreated"
46
  msgstr "Indeks blev gendannet"
47
 
@@ -49,13 +49,13 @@ msgstr "Indeks blev gendannet"
49
  msgid "Related Posts"
50
  msgstr "Related Posts (Lignende indlæg)"
51
 
52
- #: admin/cache.php:44
53
  msgid ""
54
  "An error occurred clearing the cache. Please contact your site administrator."
55
  "\\n\\nError message:\\n"
56
  msgstr ""
57
 
58
- #: admin/cache.php:49
59
  msgid " cached row(s) cleared"
60
  msgstr ""
61
 
@@ -63,7 +63,7 @@ msgstr ""
63
  msgid "Settings"
64
  msgstr "Opsætning"
65
 
66
- #: admin/loader.php:46 admin/sidebar-view.php:59
67
  msgid "Support"
68
  msgstr "Support"
69
 
@@ -87,22 +87,22 @@ msgstr ""
87
  msgid "List tuning options"
88
  msgstr ""
89
 
90
- #: admin/main-view.php:34 admin/main-view.php:239
91
  #, fuzzy
92
  msgid "Output options"
93
  msgstr "Indstillinger for output:"
94
 
95
- #: admin/main-view.php:35 admin/main-view.php:443
96
  #: includes/class-crp-widget.php:93
97
  #, fuzzy
98
  msgid "Thumbnail options"
99
  msgstr "Indstillinger for indlægsminiaturer:"
100
 
101
- #: admin/main-view.php:36 admin/main-view.php:596
102
  msgid "Styles"
103
  msgstr ""
104
 
105
- #: admin/main-view.php:37 admin/main-view.php:674
106
  #, fuzzy
107
  msgid "Feed options"
108
  msgstr "Indstillinger:"
@@ -226,14 +226,14 @@ msgid ""
226
  "in the list."
227
  msgstr "Related Posts (Lignende indlæg)"
228
 
229
- #: admin/main-view.php:135 admin/main-view.php:232 admin/main-view.php:436
230
- #: admin/main-view.php:589 admin/main-view.php:667 admin/main-view.php:739
231
- #: admin/main-view.php:755
232
  #, fuzzy
233
  msgid "Save Options"
234
  msgstr "Indstillinger:"
235
 
236
- #: admin/main-view.php:158 admin/main-view.php:692
237
  msgid "Number of related posts to display: "
238
  msgstr "Antal Lignende indlæg, der skal vises: "
239
 
@@ -293,7 +293,7 @@ msgstr ""
293
  msgid "List of post or page IDs to exclude from the results:"
294
  msgstr ""
295
 
296
- #: admin/main-view.php:197 admin/main-view.php:367
297
  msgid ""
298
  "Comma separated list of post, page or custom post type IDs. e.g. 188,320,500"
299
  msgstr ""
@@ -309,38 +309,45 @@ msgid ""
309
  "prompt you with options."
310
  msgstr ""
311
 
312
- #: admin/main-view.php:214
313
  msgid "Excluded category IDs are:"
314
  msgstr ""
315
 
316
- #: admin/main-view.php:255
 
 
 
 
 
 
 
317
  msgid "Title of related posts:"
318
  msgstr ""
319
 
320
- #: admin/main-view.php:258
321
  msgid ""
322
  "This is the main heading of the related posts. You can also display the "
323
  "current post title by using <code>%postname%</code>. e.g. <code>Related "
324
  "Posts to %postname%</code>"
325
  msgstr ""
326
 
327
- #: admin/main-view.php:262
328
  msgid "When there are no posts, what should be shown?"
329
  msgstr "Hvad skal der vises, hvis der ingen indlæg er?"
330
 
331
- #: admin/main-view.php:266
332
  msgid "Blank Output"
333
  msgstr "Intet"
334
 
335
- #: admin/main-view.php:271
336
  msgid "Display:"
337
  msgstr ""
338
 
339
- #: admin/main-view.php:277 admin/main-view.php:695
340
  msgid "Show post excerpt in list?"
341
  msgstr ""
342
 
343
- #: admin/main-view.php:280
344
  #, php-format
345
  msgid ""
346
  "Displays the excerpt of the post. If you do not provide an explicit excerpt "
@@ -348,165 +355,165 @@ msgid ""
348
  "automatic excerpt which refers to the first %d words of the post's content"
349
  msgstr ""
350
 
351
- #: admin/main-view.php:283
352
  msgid ""
353
  "Rounded Thumbnails style selected under the Custom Styles. Excerpt display "
354
  "is disabled."
355
  msgstr ""
356
 
357
- #: admin/main-view.php:288
358
  msgid "Length of excerpt (in words):"
359
  msgstr ""
360
 
361
- #: admin/main-view.php:294
362
  msgid "Show post author in list?"
363
  msgstr ""
364
 
365
- #: admin/main-view.php:297
366
  msgid "Displays the author name prefixed with \"by\". e.g. by John Doe"
367
  msgstr ""
368
 
369
- #: admin/main-view.php:300
370
  msgid ""
371
  "Rounded Thumbnails style selected under the Custom Styles. Author display is "
372
  "disabled."
373
  msgstr ""
374
 
375
- #: admin/main-view.php:305
376
  msgid "Show post date in list?"
377
  msgstr ""
378
 
379
- #: admin/main-view.php:308
380
  msgid ""
381
  "Displays the date of the post. Uses the same date format set in General "
382
  "Options"
383
  msgstr ""
384
 
385
- #: admin/main-view.php:311
386
  msgid ""
387
  "Rounded Thumbnails style selected under the Custom Styles. Date display is "
388
  "disabled."
389
  msgstr ""
390
 
391
- #: admin/main-view.php:316
392
  msgid "Limit post title length (in characters)"
393
  msgstr ""
394
 
395
- #: admin/main-view.php:319
396
  msgid ""
397
  "Any title longer than the number of characters set above will be cut and "
398
  "appended with an ellipsis (&hellip;)"
399
  msgstr ""
400
 
401
- #: admin/main-view.php:323
402
  msgid "Open links in new window"
403
  msgstr ""
404
 
405
- #: admin/main-view.php:329
406
  msgid "Add nofollow attribute to links in the list"
407
  msgstr ""
408
 
409
- #: admin/main-view.php:362
410
  msgid "Exclusion settings:"
411
  msgstr ""
412
 
413
- #: admin/main-view.php:364
414
  #, fuzzy
415
  msgid "Exclude display of related posts on these posts / pages"
416
  msgstr "Tilføj Lignende indlæg til feeds"
417
 
418
- #: admin/main-view.php:370
419
  #, fuzzy
420
  msgid "Exclude display of related posts on these post types."
421
  msgstr "Tilføj Lignende indlæg til feeds"
422
 
423
- #: admin/main-view.php:377
424
  msgid ""
425
  "The related posts will not display on any of the above selected post types"
426
  msgstr ""
427
 
428
- #: admin/main-view.php:407
429
  msgid "Customize the output:"
430
  msgstr "Tilpas outputtet:"
431
 
432
- #: admin/main-view.php:409
433
  msgid "HTML to display before the list of posts: "
434
  msgstr "HTML, der skal vises før listen med indlæg: "
435
 
436
- #: admin/main-view.php:412
437
  msgid "HTML to display before each list item: "
438
  msgstr "HTML, der skal vises før hvert punkt på listen: "
439
 
440
- #: admin/main-view.php:415
441
  msgid "HTML to display after each list item: "
442
  msgstr "HTML, der skal vises efter hvert punkt på listen: "
443
 
444
- #: admin/main-view.php:418
445
  msgid "HTML to display after the list of posts: "
446
  msgstr "HTML, der skal vises efter listen med indlæg: "
447
 
448
- #: admin/main-view.php:459 admin/main-view.php:698
449
  msgid "Location of post thumbnail:"
450
  msgstr ""
451
 
452
- #: admin/main-view.php:463 admin/main-view.php:702
453
  #, fuzzy
454
  msgid "Display thumbnails inline with posts, before title"
455
  msgstr "Vis miniaturer inline med indlæg"
456
 
457
- #: admin/main-view.php:467 admin/main-view.php:706
458
  #, fuzzy
459
  msgid "Display thumbnails inline with posts, after title"
460
  msgstr "Vis miniaturer inline med indlæg"
461
 
462
- #: admin/main-view.php:471 admin/main-view.php:710
463
  msgid "Display only thumbnails, no text"
464
  msgstr "Vis kun miniaturer, ingen tekst"
465
 
466
- #: admin/main-view.php:475 admin/main-view.php:714
467
  msgid "Do not display thumbnails, only text."
468
  msgstr "Vis ikke miniaturer, kun tekst."
469
 
470
- #: admin/main-view.php:478
471
  msgid ""
472
  "This setting cannot be changed because an inbuilt style has been selected "
473
  "under the Styles section. If you would like to change this option, please "
474
  "select <strong>No styles</strong> under the Styles section."
475
  msgstr ""
476
 
477
- #: admin/main-view.php:482
478
  msgid "Thumbnail size:"
479
  msgstr ""
480
 
481
- #: admin/main-view.php:506
482
  msgid "Custom size"
483
  msgstr ""
484
 
485
- #: admin/main-view.php:509
486
  msgid "You can choose from existing image sizes above or create a custom size."
487
  msgstr ""
488
 
489
- #: admin/main-view.php:510
490
  msgid ""
491
  "If you choose an existing size, then the width, height and crop mode "
492
  "settings in the three options below will be automatically updated to reflect "
493
  "the correct dimensions of the setting."
494
  msgstr ""
495
 
496
- #: admin/main-view.php:511
497
  msgid ""
498
  "If you have chosen Custom size above, then enter the width, height and crop "
499
  "settings below. For best results, use a cropped image with the same width "
500
  "and height. The default setting is 150x150 cropped image."
501
  msgstr ""
502
 
503
- #: admin/main-view.php:512
504
  msgid ""
505
  "Any changes to the thumbnail settings doesn't automatically resize existing "
506
  "images."
507
  msgstr ""
508
 
509
- #: admin/main-view.php:513
510
  #, php-format
511
  msgid ""
512
  "I recommend using <a href='%s' class='thickbox'>OTF Regenerate Thumbnails</"
@@ -514,82 +521,82 @@ msgid ""
514
  "all image sizes."
515
  msgstr ""
516
 
517
- #: admin/main-view.php:517
518
  msgid "Width of the thumbnail:"
519
  msgstr ""
520
 
521
- #: admin/main-view.php:520
522
  msgid "Height of the thumbnail: "
523
  msgstr ""
524
 
525
- #: admin/main-view.php:525
526
  msgid "Crop mode:"
527
  msgstr ""
528
 
529
- #: admin/main-view.php:529
530
  msgid ""
531
  "By default, thumbnails will be hard cropped. Uncheck this box to "
532
  "proportionately/soft crop the thumbnails."
533
  msgstr ""
534
 
535
- #: admin/main-view.php:530
536
  #, php-format
537
  msgid "<a href='%s' target='_blank'>Difference between soft and hard crop</a>"
538
  msgstr ""
539
 
540
- #: admin/main-view.php:534
541
  msgid "Image size attributes:"
542
  msgstr ""
543
 
544
- #: admin/main-view.php:538
545
  msgid "Style attributes are used for width and height."
546
  msgstr ""
547
 
548
- #: admin/main-view.php:543
549
  msgid "HTML width and height attributes are used for width and height."
550
  msgstr ""
551
 
552
- #: admin/main-view.php:548
553
  msgid "No HTML or Style attributes set for width and height"
554
  msgstr ""
555
 
556
- #: admin/main-view.php:553
557
  #, fuzzy
558
  msgid "Post thumbnail meta field name:"
559
  msgstr "Indstillinger for indlægsminiaturer:"
560
 
561
- #: admin/main-view.php:555
562
  msgid ""
563
  "The value of this field should contain a direct link to the image. This is "
564
  "set in the meta box in the <em>Add New Post</em> screen."
565
  msgstr ""
566
 
567
- #: admin/main-view.php:558
568
  msgid "Extract the first image from the post?"
569
  msgstr ""
570
 
571
- #: admin/main-view.php:560
572
  msgid ""
573
  "This will only happen if there is no post thumbnail set and no image URL is "
574
  "specified in the meta field."
575
  msgstr ""
576
 
577
- #: admin/main-view.php:563
578
  msgid "Use default thumbnail?"
579
  msgstr ""
580
 
581
- #: admin/main-view.php:565
582
  msgid ""
583
  "If checked, when no thumbnail is found, show a default one from the URL "
584
  "below. If not checked and no thumbnail is found, no image will be shown."
585
  msgstr ""
586
 
587
- #: admin/main-view.php:568
588
  #, fuzzy
589
  msgid "Default thumbnail:"
590
  msgstr "Indstillinger for output:"
591
 
592
- #: admin/main-view.php:571
593
  #, fuzzy
594
  msgid ""
595
  "The plugin will first check if the post contains a thumbnail. If it doesn't "
@@ -600,23 +607,23 @@ msgstr ""
600
  "indlægget ikke gør det, tjekker pluginnet metafeltet. Hvis dette ikke "
601
  "findes, vil det vise standardbilledet specificeret nedenfor:"
602
 
603
- #: admin/main-view.php:612
604
  msgid "Style of the related posts:"
605
  msgstr ""
606
 
607
- #: admin/main-view.php:615
608
  msgid "No styles"
609
  msgstr ""
610
 
611
- #: admin/main-view.php:617
612
  msgid "Select this option if you plan to add your own styles"
613
  msgstr ""
614
 
615
- #: admin/main-view.php:621
616
  msgid "Rounded Thumbnails"
617
  msgstr ""
618
 
619
- #: admin/main-view.php:624
620
  msgid ""
621
  "Enabling this option will turn on the thumbnails and set their width and "
622
  "height to 150px. It will also turn off the display of the author, excerpt "
@@ -624,123 +631,123 @@ msgid ""
624
  "settings."
625
  msgstr ""
626
 
627
- #: admin/main-view.php:625
628
  #, php-format
629
  msgid ""
630
  "You can view the default style at <a href=\"%1$s\" target=\"_blank\">%1$s</a>"
631
  msgstr ""
632
 
633
- #: admin/main-view.php:629
634
  msgid "Text only"
635
  msgstr ""
636
 
637
- #: admin/main-view.php:631
638
  msgid ""
639
  "Enabling this option will disable thumbnails and no longer include the "
640
  "default style sheet included in the plugin."
641
  msgstr ""
642
 
643
- #: admin/main-view.php:646
644
  msgid "Custom CSS to add to header:"
645
  msgstr ""
646
 
647
- #: admin/main-view.php:650
648
  msgid ""
649
  "Do not include <code>style</code> tags. Check out the <a href=\"http://"
650
  "wordpress.org/extend/plugins/contextual-related-posts/faq/\" target=\"_blank"
651
  "\">FAQ</a> for available CSS classes to style."
652
  msgstr ""
653
 
654
- #: admin/main-view.php:690
655
  msgid ""
656
  "Below options override the related posts settings for your blog feed. These "
657
  "only apply if you have selected to add related posts to Feeds in the General "
658
  "Options tab."
659
  msgstr ""
660
 
661
- #: admin/main-view.php:718
662
  msgid "Maximum width of the thumbnail: "
663
  msgstr ""
664
 
665
- #: admin/main-view.php:721
666
  msgid "Maximum height of the thumbnail: "
667
  msgstr ""
668
 
669
- #: admin/main-view.php:756
670
  #, fuzzy
671
  msgid "Default Options"
672
  msgstr "Indstillinger for output:"
673
 
674
- #: admin/main-view.php:756
675
  msgid "Do you want to set options to Default?"
676
  msgstr "Ønsker du at sætte indstillingerne til standardværdierne?"
677
 
678
- #: admin/main-view.php:757
679
  msgid "Recreate Index"
680
  msgstr ""
681
 
682
- #: admin/main-view.php:757
683
  msgid "Are you sure you want to recreate the index?"
684
  msgstr "Er du sikker på, du ønsker at gendanne indekset?"
685
 
686
- #: admin/main-view.php:762
687
  msgid ""
688
  "One or more FULLTEXT indices are missing. Please hit the <a href="
689
  "\"#crp_recreate\">Recreate Index button</a> at the bottom of the page to fix "
690
  "this."
691
  msgstr ""
692
 
693
- #: admin/metabox.php:100
694
  msgid "Location of thumbnail:"
695
  msgstr ""
696
 
697
- #: admin/metabox.php:102
698
  msgid ""
699
  "Enter the full URL to the image (JPG, PNG or GIF) you'd like to use. This "
700
  "image will be used for the post. It will be resized to the thumbnail size "
701
  "set under Settings &raquo; Related Posts &raquo; Output Options"
702
  msgstr ""
703
 
704
- #: admin/metabox.php:103
705
  msgid "The URL above is saved in the meta field:"
706
  msgstr ""
707
 
708
- #: admin/metabox.php:108
709
  msgid ""
710
  "You have Top 10 WordPress Plugin installed. If you are trying to modify the "
711
  "thumbnail, then you'll need to make the same change in the Top 10 meta box "
712
  "on this page."
713
  msgstr ""
714
 
715
- #: admin/metabox.php:119
716
  msgid "Disable Related Posts display:"
717
  msgstr ""
718
 
719
- #: admin/metabox.php:122
720
  msgid ""
721
  "If this is checked, then Contextual Related Posts will not automatically "
722
  "insert the related posts at the end of post content."
723
  msgstr ""
724
 
725
- #: admin/metabox.php:127 admin/metabox.php:135
726
  msgid "Manual related posts:"
727
  msgstr ""
728
 
729
- #: admin/metabox.php:129
730
  msgid ""
731
  "Comma separated list of post, page or custom post type IDs. e.g. "
732
  "188,320,500. These will be given preference over the related posts generated "
733
  "by the plugin."
734
  msgstr ""
735
 
736
- #: admin/metabox.php:130
737
  msgid ""
738
  "Once you enter the list above and save this page, the plugin will display "
739
  "the titles of the posts below for your reference. Only IDs corresponding to "
740
  "published posts or custom post types will be retained."
741
  msgstr ""
742
 
743
- #: admin/metabox.php:144
744
  msgid "This post type is:"
745
  msgstr ""
746
 
@@ -766,44 +773,44 @@ msgstr ""
766
  msgid "Follow me"
767
  msgstr ""
768
 
769
- #: admin/sidebar-view.php:53
770
  msgid "Quick links"
771
  msgstr ""
772
 
773
- #: admin/sidebar-view.php:57
774
  msgid "Plugin homepage"
775
  msgstr ""
776
 
777
- #: admin/sidebar-view.php:58
778
  msgid "FAQ"
779
  msgstr ""
780
 
781
- #: admin/sidebar-view.php:60
782
  msgid "Reviews"
783
  msgstr ""
784
 
785
- #: admin/sidebar-view.php:61
786
  msgid "Github repository"
787
  msgstr ""
788
 
789
- #: admin/sidebar-view.php:62
790
  msgid "Other plugins"
791
  msgstr ""
792
 
793
- #: admin/sidebar-view.php:63
794
  msgid "Ajay's blog"
795
  msgstr ""
796
 
797
- #: contextual-related-posts.php:178
798
  #, php-format
799
  msgid "Powered by <a href=\"%s\" rel=\"nofollow\">Contextual Related Posts</a>"
800
  msgstr ""
801
 
802
- #: contextual-related-posts.php:659
803
  msgid "<h3>Related Posts:</h3>"
804
  msgstr "<h3>Lignende indlæg:</h3>"
805
 
806
- #: contextual-related-posts.php:661
807
  #, fuzzy
808
  msgid "No related posts found"
809
  msgstr "Ingen lignende indlæg fundet"
@@ -872,15 +879,15 @@ msgstr "Indstillinger for indlægsminiaturer:"
872
  msgid "Post types to include:"
873
  msgstr ""
874
 
875
- #: includes/media-handler.php:68
876
  msgid "thumb_timthumb argument has been deprecated"
877
  msgstr ""
878
 
879
- #: includes/media-handler.php:72
880
  msgid "thumb_timthumb_q argument has been deprecated"
881
  msgstr ""
882
 
883
- #: includes/media-handler.php:76
884
  msgid "filter argument has been deprecated"
885
  msgstr ""
886
 
2
  msgstr ""
3
  "Project-Id-Version: Contextual Related Posts 1.5.1\n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2015-09-27 13:34+0100\n"
6
  "PO-Revision-Date: \n"
7
  "Last-Translator: Ajay D'Souza <me@ajaydsouza.com>\n"
8
  "Language-Team: Team Blogos <wordpress@blogos.dk>\n"
18
  "X-Generator: Poedit 1.8.4\n"
19
  "X-Poedit-SearchPath-0: .\n"
20
 
21
+ #: admin/admin.php:191
22
  msgid "Options saved successfully. If enabled, the cache has been cleared."
23
  msgstr ""
24
 
25
+ #: admin/admin.php:194
26
  msgid ""
27
  "Rounded Thumbnails style selected. Author, Excerpt and Date will not be "
28
  "displayed."
29
  msgstr ""
30
 
31
+ #: admin/admin.php:197
32
  msgid "Text Only style selected. Thumbnails will not be displayed."
33
  msgstr ""
34
 
35
+ #: admin/admin.php:200
36
  #, php-format
37
  msgid "Pre-built thumbnail size selected. Thumbnail set to %d x %d."
38
  msgstr ""
39
 
40
+ #: admin/admin.php:224
41
  msgid "Options set to Default."
42
  msgstr "Indstillingerne sat til standardværdier."
43
 
44
+ #: admin/admin.php:233
45
  msgid "Index recreated"
46
  msgstr "Indeks blev gendannet"
47
 
49
  msgid "Related Posts"
50
  msgstr "Related Posts (Lignende indlæg)"
51
 
52
+ #: admin/cache.php:42
53
  msgid ""
54
  "An error occurred clearing the cache. Please contact your site administrator."
55
  "\\n\\nError message:\\n"
56
  msgstr ""
57
 
58
+ #: admin/cache.php:47
59
  msgid " cached row(s) cleared"
60
  msgstr ""
61
 
63
  msgid "Settings"
64
  msgstr "Opsætning"
65
 
66
+ #: admin/loader.php:46 admin/sidebar-view.php:72
67
  msgid "Support"
68
  msgstr "Support"
69
 
87
  msgid "List tuning options"
88
  msgstr ""
89
 
90
+ #: admin/main-view.php:34 admin/main-view.php:249
91
  #, fuzzy
92
  msgid "Output options"
93
  msgstr "Indstillinger for output:"
94
 
95
+ #: admin/main-view.php:35 admin/main-view.php:453
96
  #: includes/class-crp-widget.php:93
97
  #, fuzzy
98
  msgid "Thumbnail options"
99
  msgstr "Indstillinger for indlægsminiaturer:"
100
 
101
+ #: admin/main-view.php:36 admin/main-view.php:608
102
  msgid "Styles"
103
  msgstr ""
104
 
105
+ #: admin/main-view.php:37 admin/main-view.php:686
106
  #, fuzzy
107
  msgid "Feed options"
108
  msgstr "Indstillinger:"
226
  "in the list."
227
  msgstr "Related Posts (Lignende indlæg)"
228
 
229
+ #: admin/main-view.php:135 admin/main-view.php:242 admin/main-view.php:446
230
+ #: admin/main-view.php:601 admin/main-view.php:679 admin/main-view.php:751
231
+ #: admin/main-view.php:767
232
  #, fuzzy
233
  msgid "Save Options"
234
  msgstr "Indstillinger:"
235
 
236
+ #: admin/main-view.php:158 admin/main-view.php:704
237
  msgid "Number of related posts to display: "
238
  msgstr "Antal Lignende indlæg, der skal vises: "
239
 
293
  msgid "List of post or page IDs to exclude from the results:"
294
  msgstr ""
295
 
296
+ #: admin/main-view.php:197 admin/main-view.php:377
297
  msgid ""
298
  "Comma separated list of post, page or custom post type IDs. e.g. 188,320,500"
299
  msgstr ""
309
  "prompt you with options."
310
  msgstr ""
311
 
312
+ #: admin/main-view.php:216
313
  msgid "Excluded category IDs are:"
314
  msgstr ""
315
 
316
+ #: admin/main-view.php:222
317
+ msgid ""
318
+ "These might differ from the IDs visible in the Categories page which use the "
319
+ "<code>term_id</code>. CRP uses the <code>term_taxonomy_id</code> which is "
320
+ "unique to this taxonomy."
321
+ msgstr ""
322
+
323
+ #: admin/main-view.php:265
324
  msgid "Title of related posts:"
325
  msgstr ""
326
 
327
+ #: admin/main-view.php:268
328
  msgid ""
329
  "This is the main heading of the related posts. You can also display the "
330
  "current post title by using <code>%postname%</code>. e.g. <code>Related "
331
  "Posts to %postname%</code>"
332
  msgstr ""
333
 
334
+ #: admin/main-view.php:272
335
  msgid "When there are no posts, what should be shown?"
336
  msgstr "Hvad skal der vises, hvis der ingen indlæg er?"
337
 
338
+ #: admin/main-view.php:276
339
  msgid "Blank Output"
340
  msgstr "Intet"
341
 
342
+ #: admin/main-view.php:281
343
  msgid "Display:"
344
  msgstr ""
345
 
346
+ #: admin/main-view.php:287 admin/main-view.php:707
347
  msgid "Show post excerpt in list?"
348
  msgstr ""
349
 
350
+ #: admin/main-view.php:290
351
  #, php-format
352
  msgid ""
353
  "Displays the excerpt of the post. If you do not provide an explicit excerpt "
355
  "automatic excerpt which refers to the first %d words of the post's content"
356
  msgstr ""
357
 
358
+ #: admin/main-view.php:293
359
  msgid ""
360
  "Rounded Thumbnails style selected under the Custom Styles. Excerpt display "
361
  "is disabled."
362
  msgstr ""
363
 
364
+ #: admin/main-view.php:298
365
  msgid "Length of excerpt (in words):"
366
  msgstr ""
367
 
368
+ #: admin/main-view.php:304
369
  msgid "Show post author in list?"
370
  msgstr ""
371
 
372
+ #: admin/main-view.php:307
373
  msgid "Displays the author name prefixed with \"by\". e.g. by John Doe"
374
  msgstr ""
375
 
376
+ #: admin/main-view.php:310
377
  msgid ""
378
  "Rounded Thumbnails style selected under the Custom Styles. Author display is "
379
  "disabled."
380
  msgstr ""
381
 
382
+ #: admin/main-view.php:315
383
  msgid "Show post date in list?"
384
  msgstr ""
385
 
386
+ #: admin/main-view.php:318
387
  msgid ""
388
  "Displays the date of the post. Uses the same date format set in General "
389
  "Options"
390
  msgstr ""
391
 
392
+ #: admin/main-view.php:321
393
  msgid ""
394
  "Rounded Thumbnails style selected under the Custom Styles. Date display is "
395
  "disabled."
396
  msgstr ""
397
 
398
+ #: admin/main-view.php:326
399
  msgid "Limit post title length (in characters)"
400
  msgstr ""
401
 
402
+ #: admin/main-view.php:329
403
  msgid ""
404
  "Any title longer than the number of characters set above will be cut and "
405
  "appended with an ellipsis (&hellip;)"
406
  msgstr ""
407
 
408
+ #: admin/main-view.php:333
409
  msgid "Open links in new window"
410
  msgstr ""
411
 
412
+ #: admin/main-view.php:339
413
  msgid "Add nofollow attribute to links in the list"
414
  msgstr ""
415
 
416
+ #: admin/main-view.php:372
417
  msgid "Exclusion settings:"
418
  msgstr ""
419
 
420
+ #: admin/main-view.php:374
421
  #, fuzzy
422
  msgid "Exclude display of related posts on these posts / pages"
423
  msgstr "Tilføj Lignende indlæg til feeds"
424
 
425
+ #: admin/main-view.php:380
426
  #, fuzzy
427
  msgid "Exclude display of related posts on these post types."
428
  msgstr "Tilføj Lignende indlæg til feeds"
429
 
430
+ #: admin/main-view.php:387
431
  msgid ""
432
  "The related posts will not display on any of the above selected post types"
433
  msgstr ""
434
 
435
+ #: admin/main-view.php:417
436
  msgid "Customize the output:"
437
  msgstr "Tilpas outputtet:"
438
 
439
+ #: admin/main-view.php:419
440
  msgid "HTML to display before the list of posts: "
441
  msgstr "HTML, der skal vises før listen med indlæg: "
442
 
443
+ #: admin/main-view.php:422
444
  msgid "HTML to display before each list item: "
445
  msgstr "HTML, der skal vises før hvert punkt på listen: "
446
 
447
+ #: admin/main-view.php:425
448
  msgid "HTML to display after each list item: "
449
  msgstr "HTML, der skal vises efter hvert punkt på listen: "
450
 
451
+ #: admin/main-view.php:428
452
  msgid "HTML to display after the list of posts: "
453
  msgstr "HTML, der skal vises efter listen med indlæg: "
454
 
455
+ #: admin/main-view.php:469 admin/main-view.php:710
456
  msgid "Location of post thumbnail:"
457
  msgstr ""
458
 
459
+ #: admin/main-view.php:473 admin/main-view.php:714
460
  #, fuzzy
461
  msgid "Display thumbnails inline with posts, before title"
462
  msgstr "Vis miniaturer inline med indlæg"
463
 
464
+ #: admin/main-view.php:477 admin/main-view.php:718
465
  #, fuzzy
466
  msgid "Display thumbnails inline with posts, after title"
467
  msgstr "Vis miniaturer inline med indlæg"
468
 
469
+ #: admin/main-view.php:481 admin/main-view.php:722
470
  msgid "Display only thumbnails, no text"
471
  msgstr "Vis kun miniaturer, ingen tekst"
472
 
473
+ #: admin/main-view.php:485 admin/main-view.php:726
474
  msgid "Do not display thumbnails, only text."
475
  msgstr "Vis ikke miniaturer, kun tekst."
476
 
477
+ #: admin/main-view.php:488
478
  msgid ""
479
  "This setting cannot be changed because an inbuilt style has been selected "
480
  "under the Styles section. If you would like to change this option, please "
481
  "select <strong>No styles</strong> under the Styles section."
482
  msgstr ""
483
 
484
+ #: admin/main-view.php:492
485
  msgid "Thumbnail size:"
486
  msgstr ""
487
 
488
+ #: admin/main-view.php:516
489
  msgid "Custom size"
490
  msgstr ""
491
 
492
+ #: admin/main-view.php:519
493
  msgid "You can choose from existing image sizes above or create a custom size."
494
  msgstr ""
495
 
496
+ #: admin/main-view.php:520
497
  msgid ""
498
  "If you choose an existing size, then the width, height and crop mode "
499
  "settings in the three options below will be automatically updated to reflect "
500
  "the correct dimensions of the setting."
501
  msgstr ""
502
 
503
+ #: admin/main-view.php:521
504
  msgid ""
505
  "If you have chosen Custom size above, then enter the width, height and crop "
506
  "settings below. For best results, use a cropped image with the same width "
507
  "and height. The default setting is 150x150 cropped image."
508
  msgstr ""
509
 
510
+ #: admin/main-view.php:522
511
  msgid ""
512
  "Any changes to the thumbnail settings doesn't automatically resize existing "
513
  "images."
514
  msgstr ""
515
 
516
+ #: admin/main-view.php:523
517
  #, php-format
518
  msgid ""
519
  "I recommend using <a href='%s' class='thickbox'>OTF Regenerate Thumbnails</"
521
  "all image sizes."
522
  msgstr ""
523
 
524
+ #: admin/main-view.php:527
525
  msgid "Width of the thumbnail:"
526
  msgstr ""
527
 
528
+ #: admin/main-view.php:530
529
  msgid "Height of the thumbnail: "
530
  msgstr ""
531
 
532
+ #: admin/main-view.php:535
533
  msgid "Crop mode:"
534
  msgstr ""
535
 
536
+ #: admin/main-view.php:539
537
  msgid ""
538
  "By default, thumbnails will be hard cropped. Uncheck this box to "
539
  "proportionately/soft crop the thumbnails."
540
  msgstr ""
541
 
542
+ #: admin/main-view.php:540
543
  #, php-format
544
  msgid "<a href='%s' target='_blank'>Difference between soft and hard crop</a>"
545
  msgstr ""
546
 
547
+ #: admin/main-view.php:544
548
  msgid "Image size attributes:"
549
  msgstr ""
550
 
551
+ #: admin/main-view.php:548
552
  msgid "Style attributes are used for width and height."
553
  msgstr ""
554
 
555
+ #: admin/main-view.php:554
556
  msgid "HTML width and height attributes are used for width and height."
557
  msgstr ""
558
 
559
+ #: admin/main-view.php:560
560
  msgid "No HTML or Style attributes set for width and height"
561
  msgstr ""
562
 
563
+ #: admin/main-view.php:565
564
  #, fuzzy
565
  msgid "Post thumbnail meta field name:"
566
  msgstr "Indstillinger for indlægsminiaturer:"
567
 
568
+ #: admin/main-view.php:567
569
  msgid ""
570
  "The value of this field should contain a direct link to the image. This is "
571
  "set in the meta box in the <em>Add New Post</em> screen."
572
  msgstr ""
573
 
574
+ #: admin/main-view.php:570
575
  msgid "Extract the first image from the post?"
576
  msgstr ""
577
 
578
+ #: admin/main-view.php:572
579
  msgid ""
580
  "This will only happen if there is no post thumbnail set and no image URL is "
581
  "specified in the meta field."
582
  msgstr ""
583
 
584
+ #: admin/main-view.php:575
585
  msgid "Use default thumbnail?"
586
  msgstr ""
587
 
588
+ #: admin/main-view.php:577
589
  msgid ""
590
  "If checked, when no thumbnail is found, show a default one from the URL "
591
  "below. If not checked and no thumbnail is found, no image will be shown."
592
  msgstr ""
593
 
594
+ #: admin/main-view.php:580
595
  #, fuzzy
596
  msgid "Default thumbnail:"
597
  msgstr "Indstillinger for output:"
598
 
599
+ #: admin/main-view.php:583
600
  #, fuzzy
601
  msgid ""
602
  "The plugin will first check if the post contains a thumbnail. If it doesn't "
607
  "indlægget ikke gør det, tjekker pluginnet metafeltet. Hvis dette ikke "
608
  "findes, vil det vise standardbilledet specificeret nedenfor:"
609
 
610
+ #: admin/main-view.php:624
611
  msgid "Style of the related posts:"
612
  msgstr ""
613
 
614
+ #: admin/main-view.php:627
615
  msgid "No styles"
616
  msgstr ""
617
 
618
+ #: admin/main-view.php:629
619
  msgid "Select this option if you plan to add your own styles"
620
  msgstr ""
621
 
622
+ #: admin/main-view.php:633
623
  msgid "Rounded Thumbnails"
624
  msgstr ""
625
 
626
+ #: admin/main-view.php:636
627
  msgid ""
628
  "Enabling this option will turn on the thumbnails and set their width and "
629
  "height to 150px. It will also turn off the display of the author, excerpt "
631
  "settings."
632
  msgstr ""
633
 
634
+ #: admin/main-view.php:637
635
  #, php-format
636
  msgid ""
637
  "You can view the default style at <a href=\"%1$s\" target=\"_blank\">%1$s</a>"
638
  msgstr ""
639
 
640
+ #: admin/main-view.php:641
641
  msgid "Text only"
642
  msgstr ""
643
 
644
+ #: admin/main-view.php:643
645
  msgid ""
646
  "Enabling this option will disable thumbnails and no longer include the "
647
  "default style sheet included in the plugin."
648
  msgstr ""
649
 
650
+ #: admin/main-view.php:658
651
  msgid "Custom CSS to add to header:"
652
  msgstr ""
653
 
654
+ #: admin/main-view.php:662
655
  msgid ""
656
  "Do not include <code>style</code> tags. Check out the <a href=\"http://"
657
  "wordpress.org/extend/plugins/contextual-related-posts/faq/\" target=\"_blank"
658
  "\">FAQ</a> for available CSS classes to style."
659
  msgstr ""
660
 
661
+ #: admin/main-view.php:702
662
  msgid ""
663
  "Below options override the related posts settings for your blog feed. These "
664
  "only apply if you have selected to add related posts to Feeds in the General "
665
  "Options tab."
666
  msgstr ""
667
 
668
+ #: admin/main-view.php:730
669
  msgid "Maximum width of the thumbnail: "
670
  msgstr ""
671
 
672
+ #: admin/main-view.php:733
673
  msgid "Maximum height of the thumbnail: "
674
  msgstr ""
675
 
676
+ #: admin/main-view.php:768
677
  #, fuzzy
678
  msgid "Default Options"
679
  msgstr "Indstillinger for output:"
680
 
681
+ #: admin/main-view.php:768
682
  msgid "Do you want to set options to Default?"
683
  msgstr "Ønsker du at sætte indstillingerne til standardværdierne?"
684
 
685
+ #: admin/main-view.php:769
686
  msgid "Recreate Index"
687
  msgstr ""
688
 
689
+ #: admin/main-view.php:769
690
  msgid "Are you sure you want to recreate the index?"
691
  msgstr "Er du sikker på, du ønsker at gendanne indekset?"
692
 
693
+ #: admin/main-view.php:774
694
  msgid ""
695
  "One or more FULLTEXT indices are missing. Please hit the <a href="
696
  "\"#crp_recreate\">Recreate Index button</a> at the bottom of the page to fix "
697
  "this."
698
  msgstr ""
699
 
700
+ #: admin/metabox.php:98
701
  msgid "Location of thumbnail:"
702
  msgstr ""
703
 
704
+ #: admin/metabox.php:100
705
  msgid ""
706
  "Enter the full URL to the image (JPG, PNG or GIF) you'd like to use. This "
707
  "image will be used for the post. It will be resized to the thumbnail size "
708
  "set under Settings &raquo; Related Posts &raquo; Output Options"
709
  msgstr ""
710
 
711
+ #: admin/metabox.php:101
712
  msgid "The URL above is saved in the meta field:"
713
  msgstr ""
714
 
715
+ #: admin/metabox.php:106
716
  msgid ""
717
  "You have Top 10 WordPress Plugin installed. If you are trying to modify the "
718
  "thumbnail, then you'll need to make the same change in the Top 10 meta box "
719
  "on this page."
720
  msgstr ""
721
 
722
+ #: admin/metabox.php:117
723
  msgid "Disable Related Posts display:"
724
  msgstr ""
725
 
726
+ #: admin/metabox.php:120
727
  msgid ""
728
  "If this is checked, then Contextual Related Posts will not automatically "
729
  "insert the related posts at the end of post content."
730
  msgstr ""
731
 
732
+ #: admin/metabox.php:125 admin/metabox.php:133
733
  msgid "Manual related posts:"
734
  msgstr ""
735
 
736
+ #: admin/metabox.php:127
737
  msgid ""
738
  "Comma separated list of post, page or custom post type IDs. e.g. "
739
  "188,320,500. These will be given preference over the related posts generated "
740
  "by the plugin."
741
  msgstr ""
742
 
743
+ #: admin/metabox.php:128
744
  msgid ""
745
  "Once you enter the list above and save this page, the plugin will display "
746
  "the titles of the posts below for your reference. Only IDs corresponding to "
747
  "published posts or custom post types will be retained."
748
  msgstr ""
749
 
750
+ #: admin/metabox.php:142
751
  msgid "This post type is:"
752
  msgstr ""
753
 
773
  msgid "Follow me"
774
  msgstr ""
775
 
776
+ #: admin/sidebar-view.php:66
777
  msgid "Quick links"
778
  msgstr ""
779
 
780
+ #: admin/sidebar-view.php:70
781
  msgid "Plugin homepage"
782
  msgstr ""
783
 
784
+ #: admin/sidebar-view.php:71
785
  msgid "FAQ"
786
  msgstr ""
787
 
788
+ #: admin/sidebar-view.php:73
789
  msgid "Reviews"
790
  msgstr ""
791
 
792
+ #: admin/sidebar-view.php:74
793
  msgid "Github repository"
794
  msgstr ""
795
 
796
+ #: admin/sidebar-view.php:75
797
  msgid "Other plugins"
798
  msgstr ""
799
 
800
+ #: admin/sidebar-view.php:76
801
  msgid "Ajay's blog"
802
  msgstr ""
803
 
804
+ #: contextual-related-posts.php:232
805
  #, php-format
806
  msgid "Powered by <a href=\"%s\" rel=\"nofollow\">Contextual Related Posts</a>"
807
  msgstr ""
808
 
809
+ #: contextual-related-posts.php:710
810
  msgid "<h3>Related Posts:</h3>"
811
  msgstr "<h3>Lignende indlæg:</h3>"
812
 
813
+ #: contextual-related-posts.php:712
814
  #, fuzzy
815
  msgid "No related posts found"
816
  msgstr "Ingen lignende indlæg fundet"
879
  msgid "Post types to include:"
880
  msgstr ""
881
 
882
+ #: includes/media.php:67
883
  msgid "thumb_timthumb argument has been deprecated"
884
  msgstr ""
885
 
886
+ #: includes/media.php:71
887
  msgid "thumb_timthumb_q argument has been deprecated"
888
  msgstr ""
889
 
890
+ #: includes/media.php:75
891
  msgid "filter argument has been deprecated"
892
  msgstr ""
893
 
languages/{crp-de_DE.mo → contextual-related-posts-de_DE.mo} RENAMED
Binary file
languages/{crp-de_DE.po → contextual-related-posts-de_DE.po} RENAMED
@@ -2,7 +2,7 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Contextual Related Posts\n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2015-09-05 11:13+0100\n"
6
  "PO-Revision-Date: \n"
7
  "Last-Translator: Ajay D'Souza <me@ajaydsouza.com>\n"
8
  "Language-Team: me@ajaydsouza.com\n"
@@ -17,30 +17,30 @@ msgstr ""
17
  "X-Poedit-SourceCharset: UTF-8\n"
18
  "X-Poedit-SearchPath-0: .\n"
19
 
20
- #: admin/admin.php:190
21
  msgid "Options saved successfully. If enabled, the cache has been cleared."
22
  msgstr ""
23
 
24
- #: admin/admin.php:193
25
  msgid ""
26
  "Rounded Thumbnails style selected. Author, Excerpt and Date will not be "
27
  "displayed."
28
  msgstr ""
29
 
30
- #: admin/admin.php:196
31
  msgid "Text Only style selected. Thumbnails will not be displayed."
32
  msgstr ""
33
 
34
- #: admin/admin.php:199
35
  #, php-format
36
  msgid "Pre-built thumbnail size selected. Thumbnail set to %d x %d."
37
  msgstr ""
38
 
39
- #: admin/admin.php:223
40
  msgid "Options set to Default."
41
  msgstr "Optionen auf die Voreinstellungen gesetzt."
42
 
43
- #: admin/admin.php:232
44
  msgid "Index recreated"
45
  msgstr "Index neu aufgebaut"
46
 
@@ -48,7 +48,7 @@ msgstr "Index neu aufgebaut"
48
  msgid "Related Posts"
49
  msgstr "Ähnliche Beiträge"
50
 
51
- #: admin/cache.php:44
52
  msgid ""
53
  "An error occurred clearing the cache. Please contact your site administrator."
54
  "\\n\\nError message:\\n"
@@ -56,7 +56,7 @@ msgstr ""
56
  "Ein Fehler trat beim Löschen des Caches auf. Bitte kontaktiere den "
57
  "Administrator der Seite.\\n\\nError message:\\n"
58
 
59
- #: admin/cache.php:49
60
  msgid " cached row(s) cleared"
61
  msgstr "Die Reihe(n) im Cache wurde(n) gelöscht"
62
 
@@ -64,7 +64,7 @@ msgstr "Die Reihe(n) im Cache wurde(n) gelöscht"
64
  msgid "Settings"
65
  msgstr "Einstellungen"
66
 
67
- #: admin/loader.php:46 admin/sidebar-view.php:59
68
  msgid "Support"
69
  msgstr "Support"
70
 
@@ -88,20 +88,20 @@ msgstr "Allgemeine Optionen"
88
  msgid "List tuning options"
89
  msgstr ""
90
 
91
- #: admin/main-view.php:34 admin/main-view.php:239
92
  msgid "Output options"
93
  msgstr "Ausgabe Einstellungen"
94
 
95
- #: admin/main-view.php:35 admin/main-view.php:443
96
  #: includes/class-crp-widget.php:93
97
  msgid "Thumbnail options"
98
  msgstr "Optionen des Vorschaubildes"
99
 
100
- #: admin/main-view.php:36 admin/main-view.php:596
101
  msgid "Styles"
102
  msgstr ""
103
 
104
- #: admin/main-view.php:37 admin/main-view.php:674
105
  msgid "Feed options"
106
  msgstr "Feed Einstellungen"
107
 
@@ -227,13 +227,13 @@ msgid ""
227
  msgstr ""
228
  "Fügt einen nofollow Link zu Homepage von Contextual Related Posts hinzu."
229
 
230
- #: admin/main-view.php:135 admin/main-view.php:232 admin/main-view.php:436
231
- #: admin/main-view.php:589 admin/main-view.php:667 admin/main-view.php:739
232
- #: admin/main-view.php:755
233
  msgid "Save Options"
234
  msgstr "Optionen speichern"
235
 
236
- #: admin/main-view.php:158 admin/main-view.php:692
237
  msgid "Number of related posts to display: "
238
  msgstr "Anzahl der ähnlichen Beiträge, die angezeigt werden sollen:"
239
 
@@ -303,7 +303,7 @@ msgstr ""
303
  "Liste deine Beitrags- oder Seiten-IDs auf, die aus den Ergebnissen "
304
  "ausgeschlossen werden sollen:"
305
 
306
- #: admin/main-view.php:197 admin/main-view.php:367
307
  msgid ""
308
  "Comma separated list of post, page or custom post type IDs. e.g. 188,320,500"
309
  msgstr ""
@@ -325,15 +325,22 @@ msgstr ""
325
  "Autovervollständigung, beginne einfach zu tippen und du bekommst Kategorien "
326
  "vorgeschlagen."
327
 
328
- #: admin/main-view.php:214
329
  msgid "Excluded category IDs are:"
330
  msgstr ""
331
 
332
- #: admin/main-view.php:255
 
 
 
 
 
 
 
333
  msgid "Title of related posts:"
334
  msgstr ""
335
 
336
- #: admin/main-view.php:258
337
  msgid ""
338
  "This is the main heading of the related posts. You can also display the "
339
  "current post title by using <code>%postname%</code>. e.g. <code>Related "
@@ -343,24 +350,24 @@ msgstr ""
343
  "aktuellen Beitragstitel anzeigen lassen mit <code>%postname%</code>. "
344
  "Beispielsweise: <code>Ähnliche Beiträge zu %postname%</code>"
345
 
346
- #: admin/main-view.php:262
347
  msgid "When there are no posts, what should be shown?"
348
  msgstr ""
349
  "Wenn keine ähnlichen Beiträge gefunden wurden, was soll angezeigt werden?"
350
 
351
- #: admin/main-view.php:266
352
  msgid "Blank Output"
353
  msgstr "Gar nichts"
354
 
355
- #: admin/main-view.php:271
356
  msgid "Display:"
357
  msgstr "Zeige an:"
358
 
359
- #: admin/main-view.php:277 admin/main-view.php:695
360
  msgid "Show post excerpt in list?"
361
  msgstr "Soll ein Auszug in der Liste angezeigt werden?"
362
 
363
- #: admin/main-view.php:280
364
  #, php-format
365
  msgid ""
366
  "Displays the excerpt of the post. If you do not provide an explicit excerpt "
@@ -368,81 +375,81 @@ msgid ""
368
  "automatic excerpt which refers to the first %d words of the post's content"
369
  msgstr ""
370
 
371
- #: admin/main-view.php:283
372
  msgid ""
373
  "Rounded Thumbnails style selected under the Custom Styles. Excerpt display "
374
  "is disabled."
375
  msgstr ""
376
 
377
- #: admin/main-view.php:288
378
  msgid "Length of excerpt (in words):"
379
  msgstr ""
380
 
381
- #: admin/main-view.php:294
382
  msgid "Show post author in list?"
383
  msgstr "Zeige den Autor des Beitrags an in der Liste?"
384
 
385
- #: admin/main-view.php:297
386
  msgid "Displays the author name prefixed with \"by\". e.g. by John Doe"
387
  msgstr ""
388
 
389
- #: admin/main-view.php:300
390
  msgid ""
391
  "Rounded Thumbnails style selected under the Custom Styles. Author display is "
392
  "disabled."
393
  msgstr ""
394
 
395
- #: admin/main-view.php:305
396
  msgid "Show post date in list?"
397
  msgstr "Zeige das Datum des Beitrags in der Liste an?"
398
 
399
- #: admin/main-view.php:308
400
  msgid ""
401
  "Displays the date of the post. Uses the same date format set in General "
402
  "Options"
403
  msgstr ""
404
 
405
- #: admin/main-view.php:311
406
  msgid ""
407
  "Rounded Thumbnails style selected under the Custom Styles. Date display is "
408
  "disabled."
409
  msgstr ""
410
 
411
- #: admin/main-view.php:316
412
  msgid "Limit post title length (in characters)"
413
  msgstr "Begrenze den Titel des Beitrags (in Zeichen)"
414
 
415
- #: admin/main-view.php:319
416
  msgid ""
417
  "Any title longer than the number of characters set above will be cut and "
418
  "appended with an ellipsis (&hellip;)"
419
  msgstr ""
420
 
421
- #: admin/main-view.php:323
422
  msgid "Open links in new window"
423
  msgstr "Öffne die Links in einem neuen Fenster"
424
 
425
- #: admin/main-view.php:329
426
  msgid "Add nofollow attribute to links in the list"
427
  msgstr "Füge nofollow zu den Links aus der Liste hinzu"
428
 
429
- #: admin/main-view.php:362
430
  #, fuzzy
431
  msgid "Exclusion settings:"
432
  msgstr "Einstellungen des Plugins"
433
 
434
- #: admin/main-view.php:364
435
  msgid "Exclude display of related posts on these posts / pages"
436
  msgstr ""
437
  "Schließe auf diesen Beiträgen / Seiten die Anzeige der ähnliche Beiträge aus"
438
 
439
- #: admin/main-view.php:370
440
  #, fuzzy
441
  msgid "Exclude display of related posts on these post types."
442
  msgstr ""
443
  "Schließe auf diesen Beiträgen / Seiten die Anzeige der ähnliche Beiträge aus"
444
 
445
- #: admin/main-view.php:377
446
  #, fuzzy
447
  msgid ""
448
  "The related posts will not display on any of the above selected post types"
@@ -450,86 +457,86 @@ msgstr ""
450
  "Diese Beitragsarten werden in der Liste angezeigt. Einschließlich "
451
  "benutzerdefinierter Beitragsarten (custom post types)."
452
 
453
- #: admin/main-view.php:407
454
  msgid "Customize the output:"
455
  msgstr "Passe die Ausgabe an:"
456
 
457
- #: admin/main-view.php:409
458
  msgid "HTML to display before the list of posts: "
459
  msgstr "HTML vor der Liste ähnlicher Beiträge:"
460
 
461
- #: admin/main-view.php:412
462
  msgid "HTML to display before each list item: "
463
  msgstr "HTML-Code vor jedem Listenelement:"
464
 
465
- #: admin/main-view.php:415
466
  msgid "HTML to display after each list item: "
467
  msgstr "HTML-Code nach jedem Listenelement:"
468
 
469
- #: admin/main-view.php:418
470
  msgid "HTML to display after the list of posts: "
471
  msgstr "HTML-Code nach der Liste ähnlicher Beiträge:"
472
 
473
- #: admin/main-view.php:459 admin/main-view.php:698
474
  msgid "Location of post thumbnail:"
475
  msgstr "Ort der Beitragsvorschaubilder"
476
 
477
- #: admin/main-view.php:463 admin/main-view.php:702
478
  msgid "Display thumbnails inline with posts, before title"
479
  msgstr "Zeige die Vorschaubilder inline mit den Beiträgen an; vor dem Titel"
480
 
481
- #: admin/main-view.php:467 admin/main-view.php:706
482
  msgid "Display thumbnails inline with posts, after title"
483
  msgstr "Zeige die Vorschaubilder inline mit den Beiträgen an; nach dem Titel"
484
 
485
- #: admin/main-view.php:471 admin/main-view.php:710
486
  msgid "Display only thumbnails, no text"
487
  msgstr "Zeige nur die Vorschaubilder an; keinen Text"
488
 
489
- #: admin/main-view.php:475 admin/main-view.php:714
490
  msgid "Do not display thumbnails, only text."
491
  msgstr "Zeige keine Vorschaubilder an; nur Text"
492
 
493
- #: admin/main-view.php:478
494
  msgid ""
495
  "This setting cannot be changed because an inbuilt style has been selected "
496
  "under the Styles section. If you would like to change this option, please "
497
  "select <strong>No styles</strong> under the Styles section."
498
  msgstr ""
499
 
500
- #: admin/main-view.php:482
501
  msgid "Thumbnail size:"
502
  msgstr ""
503
 
504
- #: admin/main-view.php:506
505
  msgid "Custom size"
506
  msgstr ""
507
 
508
- #: admin/main-view.php:509
509
  msgid "You can choose from existing image sizes above or create a custom size."
510
  msgstr ""
511
 
512
- #: admin/main-view.php:510
513
  msgid ""
514
  "If you choose an existing size, then the width, height and crop mode "
515
  "settings in the three options below will be automatically updated to reflect "
516
  "the correct dimensions of the setting."
517
  msgstr ""
518
 
519
- #: admin/main-view.php:511
520
  msgid ""
521
  "If you have chosen Custom size above, then enter the width, height and crop "
522
  "settings below. For best results, use a cropped image with the same width "
523
  "and height. The default setting is 150x150 cropped image."
524
  msgstr ""
525
 
526
- #: admin/main-view.php:512
527
  msgid ""
528
  "Any changes to the thumbnail settings doesn't automatically resize existing "
529
  "images."
530
  msgstr ""
531
 
532
- #: admin/main-view.php:513
533
  #, php-format
534
  msgid ""
535
  "I recommend using <a href='%s' class='thickbox'>OTF Regenerate Thumbnails</"
@@ -537,75 +544,75 @@ msgid ""
537
  "all image sizes."
538
  msgstr ""
539
 
540
- #: admin/main-view.php:517
541
  msgid "Width of the thumbnail:"
542
  msgstr ""
543
 
544
- #: admin/main-view.php:520
545
  msgid "Height of the thumbnail: "
546
  msgstr ""
547
 
548
- #: admin/main-view.php:525
549
  msgid "Crop mode:"
550
  msgstr ""
551
 
552
- #: admin/main-view.php:529
553
  msgid ""
554
  "By default, thumbnails will be hard cropped. Uncheck this box to "
555
  "proportionately/soft crop the thumbnails."
556
  msgstr ""
557
 
558
- #: admin/main-view.php:530
559
  #, php-format
560
  msgid "<a href='%s' target='_blank'>Difference between soft and hard crop</a>"
561
  msgstr ""
562
 
563
- #: admin/main-view.php:534
564
  msgid "Image size attributes:"
565
  msgstr ""
566
 
567
- #: admin/main-view.php:538
568
  #, fuzzy
569
  msgid "Style attributes are used for width and height."
570
  msgstr ""
571
  "CSS Attribute werden für Breite und Höhe benutzt. <code>style=\"max-width:"
572
 
573
- #: admin/main-view.php:543
574
  #, fuzzy
575
  msgid "HTML width and height attributes are used for width and height."
576
  msgstr "HTML Attribute werden für Breite und Höhe benutzt. <code>width=\""
577
 
578
- #: admin/main-view.php:548
579
  msgid "No HTML or Style attributes set for width and height"
580
  msgstr ""
581
 
582
- #: admin/main-view.php:553
583
  #, fuzzy
584
  msgid "Post thumbnail meta field name:"
585
  msgstr "Name des benutzerdefiniertes Feld des Vorschaubildes:"
586
 
587
- #: admin/main-view.php:555
588
  msgid ""
589
  "The value of this field should contain a direct link to the image. This is "
590
  "set in the meta box in the <em>Add New Post</em> screen."
591
  msgstr ""
592
 
593
- #: admin/main-view.php:558
594
  msgid "Extract the first image from the post?"
595
  msgstr ""
596
 
597
- #: admin/main-view.php:560
598
  msgid ""
599
  "This will only happen if there is no post thumbnail set and no image URL is "
600
  "specified in the meta field."
601
  msgstr ""
602
 
603
- #: admin/main-view.php:563
604
  #, fuzzy
605
  msgid "Use default thumbnail?"
606
  msgstr "Benutze das Standard-Vorschaubild?"
607
 
608
- #: admin/main-view.php:565
609
  msgid ""
610
  "If checked, when no thumbnail is found, show a default one from the URL "
611
  "below. If not checked and no thumbnail is found, no image will be shown."
@@ -614,12 +621,12 @@ msgstr ""
614
  "unterhalb geladen. Wenn es nicht ausgewählt ist und kein Vorschaubild "
615
  "gefunden wird, wird kein Vorschaubild angezeigt."
616
 
617
- #: admin/main-view.php:568
618
  #, fuzzy
619
  msgid "Default thumbnail:"
620
  msgstr "Standard-Vorschaubild: "
621
 
622
- #: admin/main-view.php:571
623
  #, fuzzy
624
  msgid ""
625
  "The plugin will first check if the post contains a thumbnail. If it doesn't "
@@ -631,23 +638,23 @@ msgstr ""
631
  "eingetragen ist, wird das Standard-Vorschaubild benutzt, das oben definiert "
632
  "wurde"
633
 
634
- #: admin/main-view.php:612
635
  msgid "Style of the related posts:"
636
  msgstr ""
637
 
638
- #: admin/main-view.php:615
639
  msgid "No styles"
640
  msgstr ""
641
 
642
- #: admin/main-view.php:617
643
  msgid "Select this option if you plan to add your own styles"
644
  msgstr ""
645
 
646
- #: admin/main-view.php:621
647
  msgid "Rounded Thumbnails"
648
  msgstr ""
649
 
650
- #: admin/main-view.php:624
651
  msgid ""
652
  "Enabling this option will turn on the thumbnails and set their width and "
653
  "height to 150px. It will also turn off the display of the author, excerpt "
@@ -655,27 +662,27 @@ msgid ""
655
  "settings."
656
  msgstr ""
657
 
658
- #: admin/main-view.php:625
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/main-view.php:629
665
  msgid "Text only"
666
  msgstr ""
667
 
668
- #: admin/main-view.php:631
669
  msgid ""
670
  "Enabling this option will disable thumbnails and no longer include the "
671
  "default style sheet included in the plugin."
672
  msgstr ""
673
 
674
- #: admin/main-view.php:646
675
  msgid "Custom CSS to add to header:"
676
  msgstr "Eigenes CSS, das im Header-Bereich hinzugefügt werden soll:"
677
 
678
- #: admin/main-view.php:650
679
  msgid ""
680
  "Do not include <code>style</code> tags. Check out the <a href=\"http://"
681
  "wordpress.org/extend/plugins/contextual-related-posts/faq/\" target=\"_blank"
@@ -685,7 +692,7 @@ msgstr ""
685
  "wordpress.org/extend/plugins/contextual-related-posts/faq/\" target=\"_blank"
686
  "\">FAQ</a> (en) für benutzbare CSS Klassen an."
687
 
688
- #: admin/main-view.php:690
689
  msgid ""
690
  "Below options override the related posts settings for your blog feed. These "
691
  "only apply if you have selected to add related posts to Feeds in the General "
@@ -696,89 +703,89 @@ msgstr ""
696
  "allgemeinen Einstellungen ausgewählt hast, dass ähnliche Beiträge auch in "
697
  "den Feeds angezeigt werden sollen. "
698
 
699
- #: admin/main-view.php:718
700
  msgid "Maximum width of the thumbnail: "
701
  msgstr "Maximale Breite der Vorschaubilder:"
702
 
703
- #: admin/main-view.php:721
704
  msgid "Maximum height of the thumbnail: "
705
  msgstr "Maximale Höhe der Vorschaubilder:"
706
 
707
- #: admin/main-view.php:756
708
  msgid "Default Options"
709
  msgstr "Standardoptionen"
710
 
711
- #: admin/main-view.php:756
712
  msgid "Do you want to set options to Default?"
713
  msgstr "Möchtest du Einstellungen zurücksetzen?"
714
 
715
- #: admin/main-view.php:757
716
  msgid "Recreate Index"
717
  msgstr "Erstelle den Index neu"
718
 
719
- #: admin/main-view.php:757
720
  msgid "Are you sure you want to recreate the index?"
721
  msgstr "Bist du sicher, den Index neu zu erstellen?"
722
 
723
- #: admin/main-view.php:762
724
  msgid ""
725
  "One or more FULLTEXT indices are missing. Please hit the <a href="
726
  "\"#crp_recreate\">Recreate Index button</a> at the bottom of the page to fix "
727
  "this."
728
  msgstr ""
729
 
730
- #: admin/metabox.php:100
731
  #, fuzzy
732
  msgid "Location of thumbnail:"
733
  msgstr "Ort der Beitragsvorschaubilder"
734
 
735
- #: admin/metabox.php:102
736
  msgid ""
737
  "Enter the full URL to the image (JPG, PNG or GIF) you'd like to use. This "
738
  "image will be used for the post. It will be resized to the thumbnail size "
739
  "set under Settings &raquo; Related Posts &raquo; Output Options"
740
  msgstr ""
741
 
742
- #: admin/metabox.php:103
743
  msgid "The URL above is saved in the meta field:"
744
  msgstr ""
745
 
746
- #: admin/metabox.php:108
747
  msgid ""
748
  "You have Top 10 WordPress Plugin installed. If you are trying to modify the "
749
  "thumbnail, then you'll need to make the same change in the Top 10 meta box "
750
  "on this page."
751
  msgstr ""
752
 
753
- #: admin/metabox.php:119
754
  msgid "Disable Related Posts display:"
755
  msgstr ""
756
 
757
- #: admin/metabox.php:122
758
  msgid ""
759
  "If this is checked, then Contextual Related Posts will not automatically "
760
  "insert the related posts at the end of post content."
761
  msgstr ""
762
 
763
- #: admin/metabox.php:127 admin/metabox.php:135
764
  msgid "Manual related posts:"
765
  msgstr ""
766
 
767
- #: admin/metabox.php:129
768
  msgid ""
769
  "Comma separated list of post, page or custom post type IDs. e.g. "
770
  "188,320,500. These will be given preference over the related posts generated "
771
  "by the plugin."
772
  msgstr ""
773
 
774
- #: admin/metabox.php:130
775
  msgid ""
776
  "Once you enter the list above and save this page, the plugin will display "
777
  "the titles of the posts below for your reference. Only IDs corresponding to "
778
  "published posts or custom post types will be retained."
779
  msgstr ""
780
 
781
- #: admin/metabox.php:144
782
  msgid "This post type is:"
783
  msgstr ""
784
 
@@ -804,45 +811,45 @@ msgstr "Schicke dein Geschenk an den Entwickler von"
804
  msgid "Follow me"
805
  msgstr ""
806
 
807
- #: admin/sidebar-view.php:53
808
  #, fuzzy
809
  msgid "Quick links"
810
  msgstr "Quick Links"
811
 
812
- #: admin/sidebar-view.php:57
813
  msgid "Plugin homepage"
814
  msgstr ""
815
 
816
- #: admin/sidebar-view.php:58
817
  msgid "FAQ"
818
  msgstr "FAQ"
819
 
820
- #: admin/sidebar-view.php:60
821
  msgid "Reviews"
822
  msgstr "Rezensionen"
823
 
824
- #: admin/sidebar-view.php:61
825
  msgid "Github repository"
826
  msgstr ""
827
 
828
- #: admin/sidebar-view.php:62
829
  msgid "Other plugins"
830
  msgstr "Andere Plugins"
831
 
832
- #: admin/sidebar-view.php:63
833
  msgid "Ajay's blog"
834
  msgstr "Ajay's Blog"
835
 
836
- #: contextual-related-posts.php:178
837
  #, php-format
838
  msgid "Powered by <a href=\"%s\" rel=\"nofollow\">Contextual Related Posts</a>"
839
  msgstr ""
840
 
841
- #: contextual-related-posts.php:659
842
  msgid "<h3>Related Posts:</h3>"
843
  msgstr "<h3>Ähnliche Beiträge:</h3>"
844
 
845
- #: contextual-related-posts.php:661
846
  msgid "No related posts found"
847
  msgstr "Es wurden keine ähnlichen Beiträge gefunden"
848
 
@@ -903,15 +910,15 @@ msgstr "Breite des Vorschaubildes"
903
  msgid "Post types to include:"
904
  msgstr ""
905
 
906
- #: includes/media-handler.php:68
907
  msgid "thumb_timthumb argument has been deprecated"
908
  msgstr ""
909
 
910
- #: includes/media-handler.php:72
911
  msgid "thumb_timthumb_q argument has been deprecated"
912
  msgstr ""
913
 
914
- #: includes/media-handler.php:76
915
  msgid "filter argument has been deprecated"
916
  msgstr ""
917
 
2
  msgstr ""
3
  "Project-Id-Version: Contextual Related Posts\n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2015-09-27 13:34+0100\n"
6
  "PO-Revision-Date: \n"
7
  "Last-Translator: Ajay D'Souza <me@ajaydsouza.com>\n"
8
  "Language-Team: me@ajaydsouza.com\n"
17
  "X-Poedit-SourceCharset: UTF-8\n"
18
  "X-Poedit-SearchPath-0: .\n"
19
 
20
+ #: admin/admin.php:191
21
  msgid "Options saved successfully. If enabled, the cache has been cleared."
22
  msgstr ""
23
 
24
+ #: admin/admin.php:194
25
  msgid ""
26
  "Rounded Thumbnails style selected. Author, Excerpt and Date will not be "
27
  "displayed."
28
  msgstr ""
29
 
30
+ #: admin/admin.php:197
31
  msgid "Text Only style selected. Thumbnails will not be displayed."
32
  msgstr ""
33
 
34
+ #: admin/admin.php:200
35
  #, php-format
36
  msgid "Pre-built thumbnail size selected. Thumbnail set to %d x %d."
37
  msgstr ""
38
 
39
+ #: admin/admin.php:224
40
  msgid "Options set to Default."
41
  msgstr "Optionen auf die Voreinstellungen gesetzt."
42
 
43
+ #: admin/admin.php:233
44
  msgid "Index recreated"
45
  msgstr "Index neu aufgebaut"
46
 
48
  msgid "Related Posts"
49
  msgstr "Ähnliche Beiträge"
50
 
51
+ #: admin/cache.php:42
52
  msgid ""
53
  "An error occurred clearing the cache. Please contact your site administrator."
54
  "\\n\\nError message:\\n"
56
  "Ein Fehler trat beim Löschen des Caches auf. Bitte kontaktiere den "
57
  "Administrator der Seite.\\n\\nError message:\\n"
58
 
59
+ #: admin/cache.php:47
60
  msgid " cached row(s) cleared"
61
  msgstr "Die Reihe(n) im Cache wurde(n) gelöscht"
62
 
64
  msgid "Settings"
65
  msgstr "Einstellungen"
66
 
67
+ #: admin/loader.php:46 admin/sidebar-view.php:72
68
  msgid "Support"
69
  msgstr "Support"
70
 
88
  msgid "List tuning options"
89
  msgstr ""
90
 
91
+ #: admin/main-view.php:34 admin/main-view.php:249
92
  msgid "Output options"
93
  msgstr "Ausgabe Einstellungen"
94
 
95
+ #: admin/main-view.php:35 admin/main-view.php:453
96
  #: includes/class-crp-widget.php:93
97
  msgid "Thumbnail options"
98
  msgstr "Optionen des Vorschaubildes"
99
 
100
+ #: admin/main-view.php:36 admin/main-view.php:608
101
  msgid "Styles"
102
  msgstr ""
103
 
104
+ #: admin/main-view.php:37 admin/main-view.php:686
105
  msgid "Feed options"
106
  msgstr "Feed Einstellungen"
107
 
227
  msgstr ""
228
  "Fügt einen nofollow Link zu Homepage von Contextual Related Posts hinzu."
229
 
230
+ #: admin/main-view.php:135 admin/main-view.php:242 admin/main-view.php:446
231
+ #: admin/main-view.php:601 admin/main-view.php:679 admin/main-view.php:751
232
+ #: admin/main-view.php:767
233
  msgid "Save Options"
234
  msgstr "Optionen speichern"
235
 
236
+ #: admin/main-view.php:158 admin/main-view.php:704
237
  msgid "Number of related posts to display: "
238
  msgstr "Anzahl der ähnlichen Beiträge, die angezeigt werden sollen:"
239
 
303
  "Liste deine Beitrags- oder Seiten-IDs auf, die aus den Ergebnissen "
304
  "ausgeschlossen werden sollen:"
305
 
306
+ #: admin/main-view.php:197 admin/main-view.php:377
307
  msgid ""
308
  "Comma separated list of post, page or custom post type IDs. e.g. 188,320,500"
309
  msgstr ""
325
  "Autovervollständigung, beginne einfach zu tippen und du bekommst Kategorien "
326
  "vorgeschlagen."
327
 
328
+ #: admin/main-view.php:216
329
  msgid "Excluded category IDs are:"
330
  msgstr ""
331
 
332
+ #: admin/main-view.php:222
333
+ msgid ""
334
+ "These might differ from the IDs visible in the Categories page which use the "
335
+ "<code>term_id</code>. CRP uses the <code>term_taxonomy_id</code> which is "
336
+ "unique to this taxonomy."
337
+ msgstr ""
338
+
339
+ #: admin/main-view.php:265
340
  msgid "Title of related posts:"
341
  msgstr ""
342
 
343
+ #: admin/main-view.php:268
344
  msgid ""
345
  "This is the main heading of the related posts. You can also display the "
346
  "current post title by using <code>%postname%</code>. e.g. <code>Related "
350
  "aktuellen Beitragstitel anzeigen lassen mit <code>%postname%</code>. "
351
  "Beispielsweise: <code>Ähnliche Beiträge zu %postname%</code>"
352
 
353
+ #: admin/main-view.php:272
354
  msgid "When there are no posts, what should be shown?"
355
  msgstr ""
356
  "Wenn keine ähnlichen Beiträge gefunden wurden, was soll angezeigt werden?"
357
 
358
+ #: admin/main-view.php:276
359
  msgid "Blank Output"
360
  msgstr "Gar nichts"
361
 
362
+ #: admin/main-view.php:281
363
  msgid "Display:"
364
  msgstr "Zeige an:"
365
 
366
+ #: admin/main-view.php:287 admin/main-view.php:707
367
  msgid "Show post excerpt in list?"
368
  msgstr "Soll ein Auszug in der Liste angezeigt werden?"
369
 
370
+ #: admin/main-view.php:290
371
  #, php-format
372
  msgid ""
373
  "Displays the excerpt of the post. If you do not provide an explicit excerpt "
375
  "automatic excerpt which refers to the first %d words of the post's content"
376
  msgstr ""
377
 
378
+ #: admin/main-view.php:293
379
  msgid ""
380
  "Rounded Thumbnails style selected under the Custom Styles. Excerpt display "
381
  "is disabled."
382
  msgstr ""
383
 
384
+ #: admin/main-view.php:298
385
  msgid "Length of excerpt (in words):"
386
  msgstr ""
387
 
388
+ #: admin/main-view.php:304
389
  msgid "Show post author in list?"
390
  msgstr "Zeige den Autor des Beitrags an in der Liste?"
391
 
392
+ #: admin/main-view.php:307
393
  msgid "Displays the author name prefixed with \"by\". e.g. by John Doe"
394
  msgstr ""
395
 
396
+ #: admin/main-view.php:310
397
  msgid ""
398
  "Rounded Thumbnails style selected under the Custom Styles. Author display is "
399
  "disabled."
400
  msgstr ""
401
 
402
+ #: admin/main-view.php:315
403
  msgid "Show post date in list?"
404
  msgstr "Zeige das Datum des Beitrags in der Liste an?"
405
 
406
+ #: admin/main-view.php:318
407
  msgid ""
408
  "Displays the date of the post. Uses the same date format set in General "
409
  "Options"
410
  msgstr ""
411
 
412
+ #: admin/main-view.php:321
413
  msgid ""
414
  "Rounded Thumbnails style selected under the Custom Styles. Date display is "
415
  "disabled."
416
  msgstr ""
417
 
418
+ #: admin/main-view.php:326
419
  msgid "Limit post title length (in characters)"
420
  msgstr "Begrenze den Titel des Beitrags (in Zeichen)"
421
 
422
+ #: admin/main-view.php:329
423
  msgid ""
424
  "Any title longer than the number of characters set above will be cut and "
425
  "appended with an ellipsis (&hellip;)"
426
  msgstr ""
427
 
428
+ #: admin/main-view.php:333
429
  msgid "Open links in new window"
430
  msgstr "Öffne die Links in einem neuen Fenster"
431
 
432
+ #: admin/main-view.php:339
433
  msgid "Add nofollow attribute to links in the list"
434
  msgstr "Füge nofollow zu den Links aus der Liste hinzu"
435
 
436
+ #: admin/main-view.php:372
437
  #, fuzzy
438
  msgid "Exclusion settings:"
439
  msgstr "Einstellungen des Plugins"
440
 
441
+ #: admin/main-view.php:374
442
  msgid "Exclude display of related posts on these posts / pages"
443
  msgstr ""
444
  "Schließe auf diesen Beiträgen / Seiten die Anzeige der ähnliche Beiträge aus"
445
 
446
+ #: admin/main-view.php:380
447
  #, fuzzy
448
  msgid "Exclude display of related posts on these post types."
449
  msgstr ""
450
  "Schließe auf diesen Beiträgen / Seiten die Anzeige der ähnliche Beiträge aus"
451
 
452
+ #: admin/main-view.php:387
453
  #, fuzzy
454
  msgid ""
455
  "The related posts will not display on any of the above selected post types"
457
  "Diese Beitragsarten werden in der Liste angezeigt. Einschließlich "
458
  "benutzerdefinierter Beitragsarten (custom post types)."
459
 
460
+ #: admin/main-view.php:417
461
  msgid "Customize the output:"
462
  msgstr "Passe die Ausgabe an:"
463
 
464
+ #: admin/main-view.php:419
465
  msgid "HTML to display before the list of posts: "
466
  msgstr "HTML vor der Liste ähnlicher Beiträge:"
467
 
468
+ #: admin/main-view.php:422
469
  msgid "HTML to display before each list item: "
470
  msgstr "HTML-Code vor jedem Listenelement:"
471
 
472
+ #: admin/main-view.php:425
473
  msgid "HTML to display after each list item: "
474
  msgstr "HTML-Code nach jedem Listenelement:"
475
 
476
+ #: admin/main-view.php:428
477
  msgid "HTML to display after the list of posts: "
478
  msgstr "HTML-Code nach der Liste ähnlicher Beiträge:"
479
 
480
+ #: admin/main-view.php:469 admin/main-view.php:710
481
  msgid "Location of post thumbnail:"
482
  msgstr "Ort der Beitragsvorschaubilder"
483
 
484
+ #: admin/main-view.php:473 admin/main-view.php:714
485
  msgid "Display thumbnails inline with posts, before title"
486
  msgstr "Zeige die Vorschaubilder inline mit den Beiträgen an; vor dem Titel"
487
 
488
+ #: admin/main-view.php:477 admin/main-view.php:718
489
  msgid "Display thumbnails inline with posts, after title"
490
  msgstr "Zeige die Vorschaubilder inline mit den Beiträgen an; nach dem Titel"
491
 
492
+ #: admin/main-view.php:481 admin/main-view.php:722
493
  msgid "Display only thumbnails, no text"
494
  msgstr "Zeige nur die Vorschaubilder an; keinen Text"
495
 
496
+ #: admin/main-view.php:485 admin/main-view.php:726
497
  msgid "Do not display thumbnails, only text."
498
  msgstr "Zeige keine Vorschaubilder an; nur Text"
499
 
500
+ #: admin/main-view.php:488
501
  msgid ""
502
  "This setting cannot be changed because an inbuilt style has been selected "
503
  "under the Styles section. If you would like to change this option, please "
504
  "select <strong>No styles</strong> under the Styles section."
505
  msgstr ""
506
 
507
+ #: admin/main-view.php:492
508
  msgid "Thumbnail size:"
509
  msgstr ""
510
 
511
+ #: admin/main-view.php:516
512
  msgid "Custom size"
513
  msgstr ""
514
 
515
+ #: admin/main-view.php:519
516
  msgid "You can choose from existing image sizes above or create a custom size."
517
  msgstr ""
518
 
519
+ #: admin/main-view.php:520
520
  msgid ""
521
  "If you choose an existing size, then the width, height and crop mode "
522
  "settings in the three options below will be automatically updated to reflect "
523
  "the correct dimensions of the setting."
524
  msgstr ""
525
 
526
+ #: admin/main-view.php:521
527
  msgid ""
528
  "If you have chosen Custom size above, then enter the width, height and crop "
529
  "settings below. For best results, use a cropped image with the same width "
530
  "and height. The default setting is 150x150 cropped image."
531
  msgstr ""
532
 
533
+ #: admin/main-view.php:522
534
  msgid ""
535
  "Any changes to the thumbnail settings doesn't automatically resize existing "
536
  "images."
537
  msgstr ""
538
 
539
+ #: admin/main-view.php:523
540
  #, php-format
541
  msgid ""
542
  "I recommend using <a href='%s' class='thickbox'>OTF Regenerate Thumbnails</"
544
  "all image sizes."
545
  msgstr ""
546
 
547
+ #: admin/main-view.php:527
548
  msgid "Width of the thumbnail:"
549
  msgstr ""
550
 
551
+ #: admin/main-view.php:530
552
  msgid "Height of the thumbnail: "
553
  msgstr ""
554
 
555
+ #: admin/main-view.php:535
556
  msgid "Crop mode:"
557
  msgstr ""
558
 
559
+ #: admin/main-view.php:539
560
  msgid ""
561
  "By default, thumbnails will be hard cropped. Uncheck this box to "
562
  "proportionately/soft crop the thumbnails."
563
  msgstr ""
564
 
565
+ #: admin/main-view.php:540
566
  #, php-format
567
  msgid "<a href='%s' target='_blank'>Difference between soft and hard crop</a>"
568
  msgstr ""
569
 
570
+ #: admin/main-view.php:544
571
  msgid "Image size attributes:"
572
  msgstr ""
573
 
574
+ #: admin/main-view.php:548
575
  #, fuzzy
576
  msgid "Style attributes are used for width and height."
577
  msgstr ""
578
  "CSS Attribute werden für Breite und Höhe benutzt. <code>style=\"max-width:"
579
 
580
+ #: admin/main-view.php:554
581
  #, fuzzy
582
  msgid "HTML width and height attributes are used for width and height."
583
  msgstr "HTML Attribute werden für Breite und Höhe benutzt. <code>width=\""
584
 
585
+ #: admin/main-view.php:560
586
  msgid "No HTML or Style attributes set for width and height"
587
  msgstr ""
588
 
589
+ #: admin/main-view.php:565
590
  #, fuzzy
591
  msgid "Post thumbnail meta field name:"
592
  msgstr "Name des benutzerdefiniertes Feld des Vorschaubildes:"
593
 
594
+ #: admin/main-view.php:567
595
  msgid ""
596
  "The value of this field should contain a direct link to the image. This is "
597
  "set in the meta box in the <em>Add New Post</em> screen."
598
  msgstr ""
599
 
600
+ #: admin/main-view.php:570
601
  msgid "Extract the first image from the post?"
602
  msgstr ""
603
 
604
+ #: admin/main-view.php:572
605
  msgid ""
606
  "This will only happen if there is no post thumbnail set and no image URL is "
607
  "specified in the meta field."
608
  msgstr ""
609
 
610
+ #: admin/main-view.php:575
611
  #, fuzzy
612
  msgid "Use default thumbnail?"
613
  msgstr "Benutze das Standard-Vorschaubild?"
614
 
615
+ #: admin/main-view.php:577
616
  msgid ""
617
  "If checked, when no thumbnail is found, show a default one from the URL "
618
  "below. If not checked and no thumbnail is found, no image will be shown."
621
  "unterhalb geladen. Wenn es nicht ausgewählt ist und kein Vorschaubild "
622
  "gefunden wird, wird kein Vorschaubild angezeigt."
623
 
624
+ #: admin/main-view.php:580
625
  #, fuzzy
626
  msgid "Default thumbnail:"
627
  msgstr "Standard-Vorschaubild: "
628
 
629
+ #: admin/main-view.php:583
630
  #, fuzzy
631
  msgid ""
632
  "The plugin will first check if the post contains a thumbnail. If it doesn't "
638
  "eingetragen ist, wird das Standard-Vorschaubild benutzt, das oben definiert "
639
  "wurde"
640
 
641
+ #: admin/main-view.php:624
642
  msgid "Style of the related posts:"
643
  msgstr ""
644
 
645
+ #: admin/main-view.php:627
646
  msgid "No styles"
647
  msgstr ""
648
 
649
+ #: admin/main-view.php:629
650
  msgid "Select this option if you plan to add your own styles"
651
  msgstr ""
652
 
653
+ #: admin/main-view.php:633
654
  msgid "Rounded Thumbnails"
655
  msgstr ""
656
 
657
+ #: admin/main-view.php:636
658
  msgid ""
659
  "Enabling this option will turn on the thumbnails and set their width and "
660
  "height to 150px. It will also turn off the display of the author, excerpt "
662
  "settings."
663
  msgstr ""
664
 
665
+ #: admin/main-view.php:637
666
  #, php-format
667
  msgid ""
668
  "You can view the default style at <a href=\"%1$s\" target=\"_blank\">%1$s</a>"
669
  msgstr ""
670
 
671
+ #: admin/main-view.php:641
672
  msgid "Text only"
673
  msgstr ""
674
 
675
+ #: admin/main-view.php:643
676
  msgid ""
677
  "Enabling this option will disable thumbnails and no longer include the "
678
  "default style sheet included in the plugin."
679
  msgstr ""
680
 
681
+ #: admin/main-view.php:658
682
  msgid "Custom CSS to add to header:"
683
  msgstr "Eigenes CSS, das im Header-Bereich hinzugefügt werden soll:"
684
 
685
+ #: admin/main-view.php:662
686
  msgid ""
687
  "Do not include <code>style</code> tags. Check out the <a href=\"http://"
688
  "wordpress.org/extend/plugins/contextual-related-posts/faq/\" target=\"_blank"
692
  "wordpress.org/extend/plugins/contextual-related-posts/faq/\" target=\"_blank"
693
  "\">FAQ</a> (en) für benutzbare CSS Klassen an."
694
 
695
+ #: admin/main-view.php:702
696
  msgid ""
697
  "Below options override the related posts settings for your blog feed. These "
698
  "only apply if you have selected to add related posts to Feeds in the General "
703
  "allgemeinen Einstellungen ausgewählt hast, dass ähnliche Beiträge auch in "
704
  "den Feeds angezeigt werden sollen. "
705
 
706
+ #: admin/main-view.php:730
707
  msgid "Maximum width of the thumbnail: "
708
  msgstr "Maximale Breite der Vorschaubilder:"
709
 
710
+ #: admin/main-view.php:733
711
  msgid "Maximum height of the thumbnail: "
712
  msgstr "Maximale Höhe der Vorschaubilder:"
713
 
714
+ #: admin/main-view.php:768
715
  msgid "Default Options"
716
  msgstr "Standardoptionen"
717
 
718
+ #: admin/main-view.php:768
719
  msgid "Do you want to set options to Default?"
720
  msgstr "Möchtest du Einstellungen zurücksetzen?"
721
 
722
+ #: admin/main-view.php:769
723
  msgid "Recreate Index"
724
  msgstr "Erstelle den Index neu"
725
 
726
+ #: admin/main-view.php:769
727
  msgid "Are you sure you want to recreate the index?"
728
  msgstr "Bist du sicher, den Index neu zu erstellen?"
729
 
730
+ #: admin/main-view.php:774
731
  msgid ""
732
  "One or more FULLTEXT indices are missing. Please hit the <a href="
733
  "\"#crp_recreate\">Recreate Index button</a> at the bottom of the page to fix "
734
  "this."
735
  msgstr ""
736
 
737
+ #: admin/metabox.php:98
738
  #, fuzzy
739
  msgid "Location of thumbnail:"
740
  msgstr "Ort der Beitragsvorschaubilder"
741
 
742
+ #: admin/metabox.php:100
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/metabox.php:101
750
  msgid "The URL above is saved in the meta field:"
751
  msgstr ""
752
 
753
+ #: admin/metabox.php:106
754
  msgid ""
755
  "You have Top 10 WordPress Plugin installed. If you are trying to modify the "
756
  "thumbnail, then you'll need to make the same change in the Top 10 meta box "
757
  "on this page."
758
  msgstr ""
759
 
760
+ #: admin/metabox.php:117
761
  msgid "Disable Related Posts display:"
762
  msgstr ""
763
 
764
+ #: admin/metabox.php:120
765
  msgid ""
766
  "If this is checked, then Contextual Related Posts will not automatically "
767
  "insert the related posts at the end of post content."
768
  msgstr ""
769
 
770
+ #: admin/metabox.php:125 admin/metabox.php:133
771
  msgid "Manual related posts:"
772
  msgstr ""
773
 
774
+ #: admin/metabox.php:127
775
  msgid ""
776
  "Comma separated list of post, page or custom post type IDs. e.g. "
777
  "188,320,500. These will be given preference over the related posts generated "
778
  "by the plugin."
779
  msgstr ""
780
 
781
+ #: admin/metabox.php:128
782
  msgid ""
783
  "Once you enter the list above and save this page, the plugin will display "
784
  "the titles of the posts below for your reference. Only IDs corresponding to "
785
  "published posts or custom post types will be retained."
786
  msgstr ""
787
 
788
+ #: admin/metabox.php:142
789
  msgid "This post type is:"
790
  msgstr ""
791
 
811
  msgid "Follow me"
812
  msgstr ""
813
 
814
+ #: admin/sidebar-view.php:66
815
  #, fuzzy
816
  msgid "Quick links"
817
  msgstr "Quick Links"
818
 
819
+ #: admin/sidebar-view.php:70
820
  msgid "Plugin homepage"
821
  msgstr ""
822
 
823
+ #: admin/sidebar-view.php:71
824
  msgid "FAQ"
825
  msgstr "FAQ"
826
 
827
+ #: admin/sidebar-view.php:73
828
  msgid "Reviews"
829
  msgstr "Rezensionen"
830
 
831
+ #: admin/sidebar-view.php:74
832
  msgid "Github repository"
833
  msgstr ""
834
 
835
+ #: admin/sidebar-view.php:75
836
  msgid "Other plugins"
837
  msgstr "Andere Plugins"
838
 
839
+ #: admin/sidebar-view.php:76
840
  msgid "Ajay's blog"
841
  msgstr "Ajay's Blog"
842
 
843
+ #: contextual-related-posts.php:232
844
  #, php-format
845
  msgid "Powered by <a href=\"%s\" rel=\"nofollow\">Contextual Related Posts</a>"
846
  msgstr ""
847
 
848
+ #: contextual-related-posts.php:710
849
  msgid "<h3>Related Posts:</h3>"
850
  msgstr "<h3>Ähnliche Beiträge:</h3>"
851
 
852
+ #: contextual-related-posts.php:712
853
  msgid "No related posts found"
854
  msgstr "Es wurden keine ähnlichen Beiträge gefunden"
855
 
910
  msgid "Post types to include:"
911
  msgstr ""
912
 
913
+ #: includes/media.php:67
914
  msgid "thumb_timthumb argument has been deprecated"
915
  msgstr ""
916
 
917
+ #: includes/media.php:71
918
  msgid "thumb_timthumb_q argument has been deprecated"
919
  msgstr ""
920
 
921
+ #: includes/media.php:75
922
  msgid "filter argument has been deprecated"
923
  msgstr ""
924
 
languages/{crp-el_GR.mo → contextual-related-posts-el_GR.mo} RENAMED
Binary file
languages/{crp-el_GR.po → contextual-related-posts-el_GR.po} RENAMED
@@ -5,8 +5,8 @@ msgid ""
5
  msgstr ""
6
  "Project-Id-Version: Contextual Related Posts\n"
7
  "Report-Msgid-Bugs-To: \n"
8
- "POT-Creation-Date: 2015-09-05 11:13+0100\n"
9
- "PO-Revision-Date: 2015-09-05 11:13+0100\n"
10
  "Last-Translator: Ajay D'Souza <me@ajaydsouza.com>\n"
11
  "Language-Team: Greek (http://www.transifex.com/projects/p/contextual-related-"
12
  "posts/language/el/)\n"
@@ -21,30 +21,30 @@ msgstr ""
21
  "X-Poedit-SourceCharset: UTF-8\n"
22
  "X-Poedit-SearchPath-0: .\n"
23
 
24
- #: admin/admin.php:190
25
  msgid "Options saved successfully. If enabled, the cache has been cleared."
26
  msgstr ""
27
 
28
- #: admin/admin.php:193
29
  msgid ""
30
  "Rounded Thumbnails style selected. Author, Excerpt and Date will not be "
31
  "displayed."
32
  msgstr ""
33
 
34
- #: admin/admin.php:196
35
  msgid "Text Only style selected. Thumbnails will not be displayed."
36
  msgstr ""
37
 
38
- #: admin/admin.php:199
39
  #, php-format
40
  msgid "Pre-built thumbnail size selected. Thumbnail set to %d x %d."
41
  msgstr ""
42
 
43
- #: admin/admin.php:223
44
  msgid "Options set to Default."
45
  msgstr "Οι επιλογές ορίστηκαν ως Προεπιλογή."
46
 
47
- #: admin/admin.php:232
48
  msgid "Index recreated"
49
  msgstr ""
50
 
@@ -52,7 +52,7 @@ msgstr ""
52
  msgid "Related Posts"
53
  msgstr "Σχετικά Άρθρα"
54
 
55
- #: admin/cache.php:44
56
  msgid ""
57
  "An error occurred clearing the cache. Please contact your site administrator."
58
  "\\n\\nError message:\\n"
@@ -60,7 +60,7 @@ msgstr ""
60
  "Προέκυψε σφάλμα κατά τον καθαρισμό των προσωρινών αρχείων. Παρακαλώ "
61
  "επικοινωνήστε με το διαχειριστή του ιστότοπου σας.\\n\\nΜήνυμα σφάλματος:\\n"
62
 
63
- #: admin/cache.php:49
64
  msgid " cached row(s) cleared"
65
  msgstr "οι σειρά(ές) προσωρινών δεδομένων καθαρίστηκαν"
66
 
@@ -68,7 +68,7 @@ msgstr "οι σειρά(ές) προσωρινών δεδομένων καθαρ
68
  msgid "Settings"
69
  msgstr "Ρυθμίσεις"
70
 
71
- #: admin/loader.php:46 admin/sidebar-view.php:59
72
  msgid "Support"
73
  msgstr "Υποστήριξη"
74
 
@@ -92,20 +92,20 @@ msgstr "Γενικές επιλογές"
92
  msgid "List tuning options"
93
  msgstr ""
94
 
95
- #: admin/main-view.php:34 admin/main-view.php:239
96
  msgid "Output options"
97
  msgstr ""
98
 
99
- #: admin/main-view.php:35 admin/main-view.php:443
100
  #: includes/class-crp-widget.php:93
101
  msgid "Thumbnail options"
102
  msgstr "Επιλογές μικρογραφιών"
103
 
104
- #: admin/main-view.php:36 admin/main-view.php:596
105
  msgid "Styles"
106
  msgstr ""
107
 
108
- #: admin/main-view.php:37 admin/main-view.php:674
109
  msgid "Feed options"
110
  msgstr "Επιλογές καναλιού"
111
 
@@ -224,13 +224,13 @@ msgid ""
224
  "in the list."
225
  msgstr ""
226
 
227
- #: admin/main-view.php:135 admin/main-view.php:232 admin/main-view.php:436
228
- #: admin/main-view.php:589 admin/main-view.php:667 admin/main-view.php:739
229
- #: admin/main-view.php:755
230
  msgid "Save Options"
231
  msgstr "Αποθήκευση επιλογών"
232
 
233
- #: admin/main-view.php:158 admin/main-view.php:692
234
  msgid "Number of related posts to display: "
235
  msgstr "Αριθμός σχετικών άρθρων για προβολή:"
236
 
@@ -294,7 +294,7 @@ msgstr ""
294
  msgid "List of post or page IDs to exclude from the results:"
295
  msgstr "Κατάλογος ID άρθρων ή σελίδων για να αποκλείσετε από τα αποτελέσματα:"
296
 
297
- #: admin/main-view.php:197 admin/main-view.php:367
298
  msgid ""
299
  "Comma separated list of post, page or custom post type IDs. e.g. 188,320,500"
300
  msgstr ""
@@ -312,38 +312,45 @@ msgid ""
312
  "prompt you with options."
313
  msgstr ""
314
 
315
- #: admin/main-view.php:214
316
  msgid "Excluded category IDs are:"
317
  msgstr ""
318
 
319
- #: admin/main-view.php:255
 
 
 
 
 
 
 
320
  msgid "Title of related posts:"
321
  msgstr ""
322
 
323
- #: admin/main-view.php:258
324
  msgid ""
325
  "This is the main heading of the related posts. You can also display the "
326
  "current post title by using <code>%postname%</code>. e.g. <code>Related "
327
  "Posts to %postname%</code>"
328
  msgstr ""
329
 
330
- #: admin/main-view.php:262
331
  msgid "When there are no posts, what should be shown?"
332
  msgstr ""
333
 
334
- #: admin/main-view.php:266
335
  msgid "Blank Output"
336
  msgstr ""
337
 
338
- #: admin/main-view.php:271
339
  msgid "Display:"
340
  msgstr "Προβολή:"
341
 
342
- #: admin/main-view.php:277 admin/main-view.php:695
343
  msgid "Show post excerpt in list?"
344
  msgstr "Προβολή αποσπασμάτων άρθρων σε κατάλογο;"
345
 
346
- #: admin/main-view.php:280
347
  #, php-format
348
  msgid ""
349
  "Displays the excerpt of the post. If you do not provide an explicit excerpt "
@@ -351,35 +358,35 @@ msgid ""
351
  "automatic excerpt which refers to the first %d words of the post's content"
352
  msgstr ""
353
 
354
- #: admin/main-view.php:283
355
  msgid ""
356
  "Rounded Thumbnails style selected under the Custom Styles. Excerpt display "
357
  "is disabled."
358
  msgstr ""
359
 
360
- #: admin/main-view.php:288
361
  msgid "Length of excerpt (in words):"
362
  msgstr ""
363
 
364
- #: admin/main-view.php:294
365
  msgid "Show post author in list?"
366
  msgstr "Προβολή συντάκτη άρθρου σε κατάλογο;"
367
 
368
- #: admin/main-view.php:297
369
  msgid "Displays the author name prefixed with \"by\". e.g. by John Doe"
370
  msgstr ""
371
 
372
- #: admin/main-view.php:300
373
  msgid ""
374
  "Rounded Thumbnails style selected under the Custom Styles. Author display is "
375
  "disabled."
376
  msgstr ""
377
 
378
- #: admin/main-view.php:305
379
  msgid "Show post date in list?"
380
  msgstr "Προβολή ημερομηνίας άρθρου σε κατάλογο;"
381
 
382
- #: admin/main-view.php:308
383
  msgid ""
384
  "Displays the date of the post. Uses the same date format set in General "
385
  "Options"
@@ -387,129 +394,129 @@ msgstr ""
387
  "Προβάλλει την ημερομηνία του άρθρου. Χρησιμοποιεί την ίδια μορφοποίηση "
388
  "ημερομηνίας που ορίστηκε στις Γενικές Επιλογές"
389
 
390
- #: admin/main-view.php:311
391
  msgid ""
392
  "Rounded Thumbnails style selected under the Custom Styles. Date display is "
393
  "disabled."
394
  msgstr ""
395
 
396
- #: admin/main-view.php:316
397
  msgid "Limit post title length (in characters)"
398
  msgstr "Όριο μήκους τίτλου άρθρου (σε χαρακτήρες)"
399
 
400
- #: admin/main-view.php:319
401
  msgid ""
402
  "Any title longer than the number of characters set above will be cut and "
403
  "appended with an ellipsis (&hellip;)"
404
  msgstr ""
405
 
406
- #: admin/main-view.php:323
407
  msgid "Open links in new window"
408
  msgstr "Άνοιγμα συνδέσμων σε νέο παράθυρο"
409
 
410
- #: admin/main-view.php:329
411
  msgid "Add nofollow attribute to links in the list"
412
  msgstr ""
413
 
414
- #: admin/main-view.php:362
415
  msgid "Exclusion settings:"
416
  msgstr "Ρυθμίσεις αποκλεισμού:"
417
 
418
- #: admin/main-view.php:364
419
  msgid "Exclude display of related posts on these posts / pages"
420
  msgstr "Αποκλεισμός προβολής σχετικών άρθρων σε αυτά τα άρθρα / σελίδες"
421
 
422
- #: admin/main-view.php:370
423
  msgid "Exclude display of related posts on these post types."
424
  msgstr "Αποκλεισμός προβολής σχετικών άρθρων σε αυτούς τους τύπους άρθρων."
425
 
426
- #: admin/main-view.php:377
427
  msgid ""
428
  "The related posts will not display on any of the above selected post types"
429
  msgstr ""
430
  "Τα σχετικά άρθρα δε θα προβάλλονται σε κανέναν από τους παραπάνω "
431
  "επιλεγμένους τύπους άρθρων"
432
 
433
- #: admin/main-view.php:407
434
  msgid "Customize the output:"
435
  msgstr ""
436
 
437
- #: admin/main-view.php:409
438
  msgid "HTML to display before the list of posts: "
439
  msgstr "HTML για προβολή πριν τον κατάλογο άρθρων:"
440
 
441
- #: admin/main-view.php:412
442
  msgid "HTML to display before each list item: "
443
  msgstr "HTML για προβολή πριν από κάθε στοιχείο καταλόγου:"
444
 
445
- #: admin/main-view.php:415
446
  msgid "HTML to display after each list item: "
447
  msgstr "HTML για προβολή μετά από κάθε στοιχείο καταλόγου:"
448
 
449
- #: admin/main-view.php:418
450
  msgid "HTML to display after the list of posts: "
451
  msgstr "HTML για προβολή μετά τον κατάλογο άρθρων:"
452
 
453
- #: admin/main-view.php:459 admin/main-view.php:698
454
  msgid "Location of post thumbnail:"
455
  msgstr "Τοποθεσία μικρογραφίας άρθρου:"
456
 
457
- #: admin/main-view.php:463 admin/main-view.php:702
458
  msgid "Display thumbnails inline with posts, before title"
459
  msgstr "Προβολή μικρογραφιών σε σειρά με τα άρθρα, πριν τον τίτλο"
460
 
461
- #: admin/main-view.php:467 admin/main-view.php:706
462
  msgid "Display thumbnails inline with posts, after title"
463
  msgstr "Προβολή μικρογραφιών σε σειρά με τα άρθρα, μετά τον τίτλο"
464
 
465
- #: admin/main-view.php:471 admin/main-view.php:710
466
  msgid "Display only thumbnails, no text"
467
  msgstr "Προβολή μόνο μικρογραφιών, όχι κείμενο"
468
 
469
- #: admin/main-view.php:475 admin/main-view.php:714
470
  msgid "Do not display thumbnails, only text."
471
  msgstr "Όχι προβολή μικρογραφιών, μόνο κείμενο."
472
 
473
- #: admin/main-view.php:478
474
  msgid ""
475
  "This setting cannot be changed because an inbuilt style has been selected "
476
  "under the Styles section. If you would like to change this option, please "
477
  "select <strong>No styles</strong> under the Styles section."
478
  msgstr ""
479
 
480
- #: admin/main-view.php:482
481
  msgid "Thumbnail size:"
482
  msgstr ""
483
 
484
- #: admin/main-view.php:506
485
  msgid "Custom size"
486
  msgstr ""
487
 
488
- #: admin/main-view.php:509
489
  msgid "You can choose from existing image sizes above or create a custom size."
490
  msgstr ""
491
 
492
- #: admin/main-view.php:510
493
  msgid ""
494
  "If you choose an existing size, then the width, height and crop mode "
495
  "settings in the three options below will be automatically updated to reflect "
496
  "the correct dimensions of the setting."
497
  msgstr ""
498
 
499
- #: admin/main-view.php:511
500
  msgid ""
501
  "If you have chosen Custom size above, then enter the width, height and crop "
502
  "settings below. For best results, use a cropped image with the same width "
503
  "and height. The default setting is 150x150 cropped image."
504
  msgstr ""
505
 
506
- #: admin/main-view.php:512
507
  msgid ""
508
  "Any changes to the thumbnail settings doesn't automatically resize existing "
509
  "images."
510
  msgstr ""
511
 
512
- #: admin/main-view.php:513
513
  #, php-format
514
  msgid ""
515
  "I recommend using <a href='%s' class='thickbox'>OTF Regenerate Thumbnails</"
@@ -517,103 +524,103 @@ msgid ""
517
  "all image sizes."
518
  msgstr ""
519
 
520
- #: admin/main-view.php:517
521
  msgid "Width of the thumbnail:"
522
  msgstr ""
523
 
524
- #: admin/main-view.php:520
525
  msgid "Height of the thumbnail: "
526
  msgstr ""
527
 
528
- #: admin/main-view.php:525
529
  msgid "Crop mode:"
530
  msgstr "Περικοπή:"
531
 
532
- #: admin/main-view.php:529
533
  msgid ""
534
  "By default, thumbnails will be hard cropped. Uncheck this box to "
535
  "proportionately/soft crop the thumbnails."
536
  msgstr ""
537
 
538
- #: admin/main-view.php:530
539
  #, php-format
540
  msgid "<a href='%s' target='_blank'>Difference between soft and hard crop</a>"
541
  msgstr ""
542
 
543
- #: admin/main-view.php:534
544
  msgid "Image size attributes:"
545
  msgstr ""
546
 
547
- #: admin/main-view.php:538
548
  msgid "Style attributes are used for width and height."
549
  msgstr ""
550
 
551
- #: admin/main-view.php:543
552
  msgid "HTML width and height attributes are used for width and height."
553
  msgstr ""
554
 
555
- #: admin/main-view.php:548
556
  msgid "No HTML or Style attributes set for width and height"
557
  msgstr ""
558
 
559
- #: admin/main-view.php:553
560
  msgid "Post thumbnail meta field name:"
561
  msgstr ""
562
 
563
- #: admin/main-view.php:555
564
  msgid ""
565
  "The value of this field should contain a direct link to the image. This is "
566
  "set in the meta box in the <em>Add New Post</em> screen."
567
  msgstr ""
568
 
569
- #: admin/main-view.php:558
570
  msgid "Extract the first image from the post?"
571
  msgstr ""
572
 
573
- #: admin/main-view.php:560
574
  msgid ""
575
  "This will only happen if there is no post thumbnail set and no image URL is "
576
  "specified in the meta field."
577
  msgstr ""
578
 
579
- #: admin/main-view.php:563
580
  msgid "Use default thumbnail?"
581
  msgstr "Χρήση προεπιλεγμένης μικρογραφίας;"
582
 
583
- #: admin/main-view.php:565
584
  msgid ""
585
  "If checked, when no thumbnail is found, show a default one from the URL "
586
  "below. If not checked and no thumbnail is found, no image will be shown."
587
  msgstr ""
588
 
589
- #: admin/main-view.php:568
590
  msgid "Default thumbnail:"
591
  msgstr ""
592
 
593
- #: admin/main-view.php:571
594
  msgid ""
595
  "The plugin will first check if the post contains a thumbnail. If it doesn't "
596
  "then it will check the meta field. If this is not available, then it will "
597
  "show the default image as specified above."
598
  msgstr ""
599
 
600
- #: admin/main-view.php:612
601
  msgid "Style of the related posts:"
602
  msgstr ""
603
 
604
- #: admin/main-view.php:615
605
  msgid "No styles"
606
  msgstr ""
607
 
608
- #: admin/main-view.php:617
609
  msgid "Select this option if you plan to add your own styles"
610
  msgstr ""
611
 
612
- #: admin/main-view.php:621
613
  msgid "Rounded Thumbnails"
614
  msgstr ""
615
 
616
- #: admin/main-view.php:624
617
  msgid ""
618
  "Enabling this option will turn on the thumbnails and set their width and "
619
  "height to 150px. It will also turn off the display of the author, excerpt "
@@ -621,122 +628,122 @@ msgid ""
621
  "settings."
622
  msgstr ""
623
 
624
- #: admin/main-view.php:625
625
  #, php-format
626
  msgid ""
627
  "You can view the default style at <a href=\"%1$s\" target=\"_blank\">%1$s</a>"
628
  msgstr ""
629
 
630
- #: admin/main-view.php:629
631
  msgid "Text only"
632
  msgstr ""
633
 
634
- #: admin/main-view.php:631
635
  msgid ""
636
  "Enabling this option will disable thumbnails and no longer include the "
637
  "default style sheet included in the plugin."
638
  msgstr ""
639
 
640
- #: admin/main-view.php:646
641
  msgid "Custom CSS to add to header:"
642
  msgstr "Σύνδεσμος CSS για προσθήκη στην επικεφαλίδα:"
643
 
644
- #: admin/main-view.php:650
645
  msgid ""
646
  "Do not include <code>style</code> tags. Check out the <a href=\"http://"
647
  "wordpress.org/extend/plugins/contextual-related-posts/faq/\" target=\"_blank"
648
  "\">FAQ</a> for available CSS classes to style."
649
  msgstr ""
650
 
651
- #: admin/main-view.php:690
652
  msgid ""
653
  "Below options override the related posts settings for your blog feed. These "
654
  "only apply if you have selected to add related posts to Feeds in the General "
655
  "Options tab."
656
  msgstr ""
657
 
658
- #: admin/main-view.php:718
659
  msgid "Maximum width of the thumbnail: "
660
  msgstr "Μέγιστο πλάτος της μικρογραφίας:"
661
 
662
- #: admin/main-view.php:721
663
  msgid "Maximum height of the thumbnail: "
664
  msgstr "Μέγιστο ύψος της μικρογραφίας:"
665
 
666
- #: admin/main-view.php:756
667
  msgid "Default Options"
668
  msgstr "Προεπιλεγμένες Επιλογές "
669
 
670
- #: admin/main-view.php:756
671
  msgid "Do you want to set options to Default?"
672
  msgstr "Θέλετε να ορίσετε τις επιλογές ως Προεπιλογές;"
673
 
674
- #: admin/main-view.php:757
675
  msgid "Recreate Index"
676
  msgstr ""
677
 
678
- #: admin/main-view.php:757
679
  msgid "Are you sure you want to recreate the index?"
680
  msgstr ""
681
 
682
- #: admin/main-view.php:762
683
  msgid ""
684
  "One or more FULLTEXT indices are missing. Please hit the <a href="
685
  "\"#crp_recreate\">Recreate Index button</a> at the bottom of the page to fix "
686
  "this."
687
  msgstr ""
688
 
689
- #: admin/metabox.php:100
690
  msgid "Location of thumbnail:"
691
  msgstr "Τοποθεσία μικρογραφίας:"
692
 
693
- #: admin/metabox.php:102
694
  msgid ""
695
  "Enter the full URL to the image (JPG, PNG or GIF) you'd like to use. This "
696
  "image will be used for the post. It will be resized to the thumbnail size "
697
  "set under Settings &raquo; Related Posts &raquo; Output Options"
698
  msgstr ""
699
 
700
- #: admin/metabox.php:103
701
  msgid "The URL above is saved in the meta field:"
702
  msgstr ""
703
 
704
- #: admin/metabox.php:108
705
  msgid ""
706
  "You have Top 10 WordPress Plugin installed. If you are trying to modify the "
707
  "thumbnail, then you'll need to make the same change in the Top 10 meta box "
708
  "on this page."
709
  msgstr ""
710
 
711
- #: admin/metabox.php:119
712
  msgid "Disable Related Posts display:"
713
  msgstr ""
714
 
715
- #: admin/metabox.php:122
716
  msgid ""
717
  "If this is checked, then Contextual Related Posts will not automatically "
718
  "insert the related posts at the end of post content."
719
  msgstr ""
720
 
721
- #: admin/metabox.php:127 admin/metabox.php:135
722
  msgid "Manual related posts:"
723
  msgstr ""
724
 
725
- #: admin/metabox.php:129
726
  msgid ""
727
  "Comma separated list of post, page or custom post type IDs. e.g. "
728
  "188,320,500. These will be given preference over the related posts generated "
729
  "by the plugin."
730
  msgstr ""
731
 
732
- #: admin/metabox.php:130
733
  msgid ""
734
  "Once you enter the list above and save this page, the plugin will display "
735
  "the titles of the posts below for your reference. Only IDs corresponding to "
736
  "published posts or custom post types will be retained."
737
  msgstr ""
738
 
739
- #: admin/metabox.php:144
740
  msgid "This post type is:"
741
  msgstr ""
742
 
@@ -760,44 +767,44 @@ msgstr "Αποστολή της δωρεάς σας στον συντάκτη τ
760
  msgid "Follow me"
761
  msgstr ""
762
 
763
- #: admin/sidebar-view.php:53
764
  msgid "Quick links"
765
  msgstr ""
766
 
767
- #: admin/sidebar-view.php:57
768
  msgid "Plugin homepage"
769
  msgstr ""
770
 
771
- #: admin/sidebar-view.php:58
772
  msgid "FAQ"
773
  msgstr "Κοινές απορίες"
774
 
775
- #: admin/sidebar-view.php:60
776
  msgid "Reviews"
777
  msgstr "Κριτικές"
778
 
779
- #: admin/sidebar-view.php:61
780
  msgid "Github repository"
781
  msgstr "Αποθετήριο Github"
782
 
783
- #: admin/sidebar-view.php:62
784
  msgid "Other plugins"
785
  msgstr "Άλλα πρόσθετα"
786
 
787
- #: admin/sidebar-view.php:63
788
  msgid "Ajay's blog"
789
  msgstr ""
790
 
791
- #: contextual-related-posts.php:178
792
  #, php-format
793
  msgid "Powered by <a href=\"%s\" rel=\"nofollow\">Contextual Related Posts</a>"
794
  msgstr ""
795
 
796
- #: contextual-related-posts.php:659
797
  msgid "<h3>Related Posts:</h3>"
798
  msgstr "<h3>Σχετικά Άρθρα:</h3>"
799
 
800
- #: contextual-related-posts.php:661
801
  msgid "No related posts found"
802
  msgstr "Δεν βρέθηκαν σχετικά άρθρα."
803
 
@@ -857,15 +864,15 @@ msgstr "Πλάτος μικρογραφίας "
857
  msgid "Post types to include:"
858
  msgstr ""
859
 
860
- #: includes/media-handler.php:68
861
  msgid "thumb_timthumb argument has been deprecated"
862
  msgstr ""
863
 
864
- #: includes/media-handler.php:72
865
  msgid "thumb_timthumb_q argument has been deprecated"
866
  msgstr ""
867
 
868
- #: includes/media-handler.php:76
869
  msgid "filter argument has been deprecated"
870
  msgstr ""
871
 
5
  msgstr ""
6
  "Project-Id-Version: Contextual Related Posts\n"
7
  "Report-Msgid-Bugs-To: \n"
8
+ "POT-Creation-Date: 2015-09-27 13:34+0100\n"
9
+ "PO-Revision-Date: 2015-09-27 13:34+0100\n"
10
  "Last-Translator: Ajay D'Souza <me@ajaydsouza.com>\n"
11
  "Language-Team: Greek (http://www.transifex.com/projects/p/contextual-related-"
12
  "posts/language/el/)\n"
21
  "X-Poedit-SourceCharset: UTF-8\n"
22
  "X-Poedit-SearchPath-0: .\n"
23
 
24
+ #: admin/admin.php:191
25
  msgid "Options saved successfully. If enabled, the cache has been cleared."
26
  msgstr ""
27
 
28
+ #: admin/admin.php:194
29
  msgid ""
30
  "Rounded Thumbnails style selected. Author, Excerpt and Date will not be "
31
  "displayed."
32
  msgstr ""
33
 
34
+ #: admin/admin.php:197
35
  msgid "Text Only style selected. Thumbnails will not be displayed."
36
  msgstr ""
37
 
38
+ #: admin/admin.php:200
39
  #, php-format
40
  msgid "Pre-built thumbnail size selected. Thumbnail set to %d x %d."
41
  msgstr ""
42
 
43
+ #: admin/admin.php:224
44
  msgid "Options set to Default."
45
  msgstr "Οι επιλογές ορίστηκαν ως Προεπιλογή."
46
 
47
+ #: admin/admin.php:233
48
  msgid "Index recreated"
49
  msgstr ""
50
 
52
  msgid "Related Posts"
53
  msgstr "Σχετικά Άρθρα"
54
 
55
+ #: admin/cache.php:42
56
  msgid ""
57
  "An error occurred clearing the cache. Please contact your site administrator."
58
  "\\n\\nError message:\\n"
60
  "Προέκυψε σφάλμα κατά τον καθαρισμό των προσωρινών αρχείων. Παρακαλώ "
61
  "επικοινωνήστε με το διαχειριστή του ιστότοπου σας.\\n\\nΜήνυμα σφάλματος:\\n"
62
 
63
+ #: admin/cache.php:47
64
  msgid " cached row(s) cleared"
65
  msgstr "οι σειρά(ές) προσωρινών δεδομένων καθαρίστηκαν"
66
 
68
  msgid "Settings"
69
  msgstr "Ρυθμίσεις"
70
 
71
+ #: admin/loader.php:46 admin/sidebar-view.php:72
72
  msgid "Support"
73
  msgstr "Υποστήριξη"
74
 
92
  msgid "List tuning options"
93
  msgstr ""
94
 
95
+ #: admin/main-view.php:34 admin/main-view.php:249
96
  msgid "Output options"
97
  msgstr ""
98
 
99
+ #: admin/main-view.php:35 admin/main-view.php:453
100
  #: includes/class-crp-widget.php:93
101
  msgid "Thumbnail options"
102
  msgstr "Επιλογές μικρογραφιών"
103
 
104
+ #: admin/main-view.php:36 admin/main-view.php:608
105
  msgid "Styles"
106
  msgstr ""
107
 
108
+ #: admin/main-view.php:37 admin/main-view.php:686
109
  msgid "Feed options"
110
  msgstr "Επιλογές καναλιού"
111
 
224
  "in the list."
225
  msgstr ""
226
 
227
+ #: admin/main-view.php:135 admin/main-view.php:242 admin/main-view.php:446
228
+ #: admin/main-view.php:601 admin/main-view.php:679 admin/main-view.php:751
229
+ #: admin/main-view.php:767
230
  msgid "Save Options"
231
  msgstr "Αποθήκευση επιλογών"
232
 
233
+ #: admin/main-view.php:158 admin/main-view.php:704
234
  msgid "Number of related posts to display: "
235
  msgstr "Αριθμός σχετικών άρθρων για προβολή:"
236
 
294
  msgid "List of post or page IDs to exclude from the results:"
295
  msgstr "Κατάλογος ID άρθρων ή σελίδων για να αποκλείσετε από τα αποτελέσματα:"
296
 
297
+ #: admin/main-view.php:197 admin/main-view.php:377
298
  msgid ""
299
  "Comma separated list of post, page or custom post type IDs. e.g. 188,320,500"
300
  msgstr ""
312
  "prompt you with options."
313
  msgstr ""
314
 
315
+ #: admin/main-view.php:216
316
  msgid "Excluded category IDs are:"
317
  msgstr ""
318
 
319
+ #: admin/main-view.php:222
320
+ msgid ""
321
+ "These might differ from the IDs visible in the Categories page which use the "
322
+ "<code>term_id</code>. CRP uses the <code>term_taxonomy_id</code> which is "
323
+ "unique to this taxonomy."
324
+ msgstr ""
325
+
326
+ #: admin/main-view.php:265
327
  msgid "Title of related posts:"
328
  msgstr ""
329
 
330
+ #: admin/main-view.php:268
331
  msgid ""
332
  "This is the main heading of the related posts. You can also display the "
333
  "current post title by using <code>%postname%</code>. e.g. <code>Related "
334
  "Posts to %postname%</code>"
335
  msgstr ""
336
 
337
+ #: admin/main-view.php:272
338
  msgid "When there are no posts, what should be shown?"
339
  msgstr ""
340
 
341
+ #: admin/main-view.php:276
342
  msgid "Blank Output"
343
  msgstr ""
344
 
345
+ #: admin/main-view.php:281
346
  msgid "Display:"
347
  msgstr "Προβολή:"
348
 
349
+ #: admin/main-view.php:287 admin/main-view.php:707
350
  msgid "Show post excerpt in list?"
351
  msgstr "Προβολή αποσπασμάτων άρθρων σε κατάλογο;"
352
 
353
+ #: admin/main-view.php:290
354
  #, php-format
355
  msgid ""
356
  "Displays the excerpt of the post. If you do not provide an explicit excerpt "
358
  "automatic excerpt which refers to the first %d words of the post's content"
359
  msgstr ""
360
 
361
+ #: admin/main-view.php:293
362
  msgid ""
363
  "Rounded Thumbnails style selected under the Custom Styles. Excerpt display "
364
  "is disabled."
365
  msgstr ""
366
 
367
+ #: admin/main-view.php:298
368
  msgid "Length of excerpt (in words):"
369
  msgstr ""
370
 
371
+ #: admin/main-view.php:304
372
  msgid "Show post author in list?"
373
  msgstr "Προβολή συντάκτη άρθρου σε κατάλογο;"
374
 
375
+ #: admin/main-view.php:307
376
  msgid "Displays the author name prefixed with \"by\". e.g. by John Doe"
377
  msgstr ""
378
 
379
+ #: admin/main-view.php:310
380
  msgid ""
381
  "Rounded Thumbnails style selected under the Custom Styles. Author display is "
382
  "disabled."
383
  msgstr ""
384
 
385
+ #: admin/main-view.php:315
386
  msgid "Show post date in list?"
387
  msgstr "Προβολή ημερομηνίας άρθρου σε κατάλογο;"
388
 
389
+ #: admin/main-view.php:318
390
  msgid ""
391
  "Displays the date of the post. Uses the same date format set in General "
392
  "Options"
394
  "Προβάλλει την ημερομηνία του άρθρου. Χρησιμοποιεί την ίδια μορφοποίηση "
395
  "ημερομηνίας που ορίστηκε στις Γενικές Επιλογές"
396
 
397
+ #: admin/main-view.php:321
398
  msgid ""
399
  "Rounded Thumbnails style selected under the Custom Styles. Date display is "
400
  "disabled."
401
  msgstr ""
402
 
403
+ #: admin/main-view.php:326
404
  msgid "Limit post title length (in characters)"
405
  msgstr "Όριο μήκους τίτλου άρθρου (σε χαρακτήρες)"
406
 
407
+ #: admin/main-view.php:329
408
  msgid ""
409
  "Any title longer than the number of characters set above will be cut and "
410
  "appended with an ellipsis (&hellip;)"
411
  msgstr ""
412
 
413
+ #: admin/main-view.php:333
414
  msgid "Open links in new window"
415
  msgstr "Άνοιγμα συνδέσμων σε νέο παράθυρο"
416
 
417
+ #: admin/main-view.php:339
418
  msgid "Add nofollow attribute to links in the list"
419
  msgstr ""
420
 
421
+ #: admin/main-view.php:372
422
  msgid "Exclusion settings:"
423
  msgstr "Ρυθμίσεις αποκλεισμού:"
424
 
425
+ #: admin/main-view.php:374
426
  msgid "Exclude display of related posts on these posts / pages"
427
  msgstr "Αποκλεισμός προβολής σχετικών άρθρων σε αυτά τα άρθρα / σελίδες"
428
 
429
+ #: admin/main-view.php:380
430
  msgid "Exclude display of related posts on these post types."
431
  msgstr "Αποκλεισμός προβολής σχετικών άρθρων σε αυτούς τους τύπους άρθρων."
432
 
433
+ #: admin/main-view.php:387
434
  msgid ""
435
  "The related posts will not display on any of the above selected post types"
436
  msgstr ""
437
  "Τα σχετικά άρθρα δε θα προβάλλονται σε κανέναν από τους παραπάνω "
438
  "επιλεγμένους τύπους άρθρων"
439
 
440
+ #: admin/main-view.php:417
441
  msgid "Customize the output:"
442
  msgstr ""
443
 
444
+ #: admin/main-view.php:419
445
  msgid "HTML to display before the list of posts: "
446
  msgstr "HTML για προβολή πριν τον κατάλογο άρθρων:"
447
 
448
+ #: admin/main-view.php:422
449
  msgid "HTML to display before each list item: "
450
  msgstr "HTML για προβολή πριν από κάθε στοιχείο καταλόγου:"
451
 
452
+ #: admin/main-view.php:425
453
  msgid "HTML to display after each list item: "
454
  msgstr "HTML για προβολή μετά από κάθε στοιχείο καταλόγου:"
455
 
456
+ #: admin/main-view.php:428
457
  msgid "HTML to display after the list of posts: "
458
  msgstr "HTML για προβολή μετά τον κατάλογο άρθρων:"
459
 
460
+ #: admin/main-view.php:469 admin/main-view.php:710
461
  msgid "Location of post thumbnail:"
462
  msgstr "Τοποθεσία μικρογραφίας άρθρου:"
463
 
464
+ #: admin/main-view.php:473 admin/main-view.php:714
465
  msgid "Display thumbnails inline with posts, before title"
466
  msgstr "Προβολή μικρογραφιών σε σειρά με τα άρθρα, πριν τον τίτλο"
467
 
468
+ #: admin/main-view.php:477 admin/main-view.php:718
469
  msgid "Display thumbnails inline with posts, after title"
470
  msgstr "Προβολή μικρογραφιών σε σειρά με τα άρθρα, μετά τον τίτλο"
471
 
472
+ #: admin/main-view.php:481 admin/main-view.php:722
473
  msgid "Display only thumbnails, no text"
474
  msgstr "Προβολή μόνο μικρογραφιών, όχι κείμενο"
475
 
476
+ #: admin/main-view.php:485 admin/main-view.php:726
477
  msgid "Do not display thumbnails, only text."
478
  msgstr "Όχι προβολή μικρογραφιών, μόνο κείμενο."
479
 
480
+ #: admin/main-view.php:488
481
  msgid ""
482
  "This setting cannot be changed because an inbuilt style has been selected "
483
  "under the Styles section. If you would like to change this option, please "
484
  "select <strong>No styles</strong> under the Styles section."
485
  msgstr ""
486
 
487
+ #: admin/main-view.php:492
488
  msgid "Thumbnail size:"
489
  msgstr ""
490
 
491
+ #: admin/main-view.php:516
492
  msgid "Custom size"
493
  msgstr ""
494
 
495
+ #: admin/main-view.php:519
496
  msgid "You can choose from existing image sizes above or create a custom size."
497
  msgstr ""
498
 
499
+ #: admin/main-view.php:520
500
  msgid ""
501
  "If you choose an existing size, then the width, height and crop mode "
502
  "settings in the three options below will be automatically updated to reflect "
503
  "the correct dimensions of the setting."
504
  msgstr ""
505
 
506
+ #: admin/main-view.php:521
507
  msgid ""
508
  "If you have chosen Custom size above, then enter the width, height and crop "
509
  "settings below. For best results, use a cropped image with the same width "
510
  "and height. The default setting is 150x150 cropped image."
511
  msgstr ""
512
 
513
+ #: admin/main-view.php:522
514
  msgid ""
515
  "Any changes to the thumbnail settings doesn't automatically resize existing "
516
  "images."
517
  msgstr ""
518
 
519
+ #: admin/main-view.php:523
520
  #, php-format
521
  msgid ""
522
  "I recommend using <a href='%s' class='thickbox'>OTF Regenerate Thumbnails</"
524
  "all image sizes."
525
  msgstr ""
526
 
527
+ #: admin/main-view.php:527
528
  msgid "Width of the thumbnail:"
529
  msgstr ""
530
 
531
+ #: admin/main-view.php:530
532
  msgid "Height of the thumbnail: "
533
  msgstr ""
534
 
535
+ #: admin/main-view.php:535
536
  msgid "Crop mode:"
537
  msgstr "Περικοπή:"
538
 
539
+ #: admin/main-view.php:539
540
  msgid ""
541
  "By default, thumbnails will be hard cropped. Uncheck this box to "
542
  "proportionately/soft crop the thumbnails."
543
  msgstr ""
544
 
545
+ #: admin/main-view.php:540
546
  #, php-format
547
  msgid "<a href='%s' target='_blank'>Difference between soft and hard crop</a>"
548
  msgstr ""
549
 
550
+ #: admin/main-view.php:544
551
  msgid "Image size attributes:"
552
  msgstr ""
553
 
554
+ #: admin/main-view.php:548
555
  msgid "Style attributes are used for width and height."
556
  msgstr ""
557
 
558
+ #: admin/main-view.php:554
559
  msgid "HTML width and height attributes are used for width and height."
560
  msgstr ""
561
 
562
+ #: admin/main-view.php:560
563
  msgid "No HTML or Style attributes set for width and height"
564
  msgstr ""
565
 
566
+ #: admin/main-view.php:565
567
  msgid "Post thumbnail meta field name:"
568
  msgstr ""
569
 
570
+ #: admin/main-view.php:567
571
  msgid ""
572
  "The value of this field should contain a direct link to the image. This is "
573
  "set in the meta box in the <em>Add New Post</em> screen."
574
  msgstr ""
575
 
576
+ #: admin/main-view.php:570
577
  msgid "Extract the first image from the post?"
578
  msgstr ""
579
 
580
+ #: admin/main-view.php:572
581
  msgid ""
582
  "This will only happen if there is no post thumbnail set and no image URL is "
583
  "specified in the meta field."
584
  msgstr ""
585
 
586
+ #: admin/main-view.php:575
587
  msgid "Use default thumbnail?"
588
  msgstr "Χρήση προεπιλεγμένης μικρογραφίας;"
589
 
590
+ #: admin/main-view.php:577
591
  msgid ""
592
  "If checked, when no thumbnail is found, show a default one from the URL "
593
  "below. If not checked and no thumbnail is found, no image will be shown."
594
  msgstr ""
595
 
596
+ #: admin/main-view.php:580
597
  msgid "Default thumbnail:"
598
  msgstr ""
599
 
600
+ #: admin/main-view.php:583
601
  msgid ""
602
  "The plugin will first check if the post contains a thumbnail. If it doesn't "
603
  "then it will check the meta field. If this is not available, then it will "
604
  "show the default image as specified above."
605
  msgstr ""
606
 
607
+ #: admin/main-view.php:624
608
  msgid "Style of the related posts:"
609
  msgstr ""
610
 
611
+ #: admin/main-view.php:627
612
  msgid "No styles"
613
  msgstr ""
614
 
615
+ #: admin/main-view.php:629
616
  msgid "Select this option if you plan to add your own styles"
617
  msgstr ""
618
 
619
+ #: admin/main-view.php:633
620
  msgid "Rounded Thumbnails"
621
  msgstr ""
622
 
623
+ #: admin/main-view.php:636
624
  msgid ""
625
  "Enabling this option will turn on the thumbnails and set their width and "
626
  "height to 150px. It will also turn off the display of the author, excerpt "
628
  "settings."
629
  msgstr ""
630
 
631
+ #: admin/main-view.php:637
632
  #, php-format
633
  msgid ""
634
  "You can view the default style at <a href=\"%1$s\" target=\"_blank\">%1$s</a>"
635
  msgstr ""
636
 
637
+ #: admin/main-view.php:641
638
  msgid "Text only"
639
  msgstr ""
640
 
641
+ #: admin/main-view.php:643
642
  msgid ""
643
  "Enabling this option will disable thumbnails and no longer include the "
644
  "default style sheet included in the plugin."
645
  msgstr ""
646
 
647
+ #: admin/main-view.php:658
648
  msgid "Custom CSS to add to header:"
649
  msgstr "Σύνδεσμος CSS για προσθήκη στην επικεφαλίδα:"
650
 
651
+ #: admin/main-view.php:662
652
  msgid ""
653
  "Do not include <code>style</code> tags. Check out the <a href=\"http://"
654
  "wordpress.org/extend/plugins/contextual-related-posts/faq/\" target=\"_blank"
655
  "\">FAQ</a> for available CSS classes to style."
656
  msgstr ""
657
 
658
+ #: admin/main-view.php:702
659
  msgid ""
660
  "Below options override the related posts settings for your blog feed. These "
661
  "only apply if you have selected to add related posts to Feeds in the General "
662
  "Options tab."
663
  msgstr ""
664
 
665
+ #: admin/main-view.php:730
666
  msgid "Maximum width of the thumbnail: "
667
  msgstr "Μέγιστο πλάτος της μικρογραφίας:"
668
 
669
+ #: admin/main-view.php:733
670
  msgid "Maximum height of the thumbnail: "
671
  msgstr "Μέγιστο ύψος της μικρογραφίας:"
672
 
673
+ #: admin/main-view.php:768
674
  msgid "Default Options"
675
  msgstr "Προεπιλεγμένες Επιλογές "
676
 
677
+ #: admin/main-view.php:768
678
  msgid "Do you want to set options to Default?"
679
  msgstr "Θέλετε να ορίσετε τις επιλογές ως Προεπιλογές;"
680
 
681
+ #: admin/main-view.php:769
682
  msgid "Recreate Index"
683
  msgstr ""
684
 
685
+ #: admin/main-view.php:769
686
  msgid "Are you sure you want to recreate the index?"
687
  msgstr ""
688
 
689
+ #: admin/main-view.php:774
690
  msgid ""
691
  "One or more FULLTEXT indices are missing. Please hit the <a href="
692
  "\"#crp_recreate\">Recreate Index button</a> at the bottom of the page to fix "
693
  "this."
694
  msgstr ""
695
 
696
+ #: admin/metabox.php:98
697
  msgid "Location of thumbnail:"
698
  msgstr "Τοποθεσία μικρογραφίας:"
699
 
700
+ #: admin/metabox.php:100
701
  msgid ""
702
  "Enter the full URL to the image (JPG, PNG or GIF) you'd like to use. This "
703
  "image will be used for the post. It will be resized to the thumbnail size "
704
  "set under Settings &raquo; Related Posts &raquo; Output Options"
705
  msgstr ""
706
 
707
+ #: admin/metabox.php:101
708
  msgid "The URL above is saved in the meta field:"
709
  msgstr ""
710
 
711
+ #: admin/metabox.php:106
712
  msgid ""
713
  "You have Top 10 WordPress Plugin installed. If you are trying to modify the "
714
  "thumbnail, then you'll need to make the same change in the Top 10 meta box "
715
  "on this page."
716
  msgstr ""
717
 
718
+ #: admin/metabox.php:117
719
  msgid "Disable Related Posts display:"
720
  msgstr ""
721
 
722
+ #: admin/metabox.php:120
723
  msgid ""
724
  "If this is checked, then Contextual Related Posts will not automatically "
725
  "insert the related posts at the end of post content."
726
  msgstr ""
727
 
728
+ #: admin/metabox.php:125 admin/metabox.php:133
729
  msgid "Manual related posts:"
730
  msgstr ""
731
 
732
+ #: admin/metabox.php:127
733
  msgid ""
734
  "Comma separated list of post, page or custom post type IDs. e.g. "
735
  "188,320,500. These will be given preference over the related posts generated "
736
  "by the plugin."
737
  msgstr ""
738
 
739
+ #: admin/metabox.php:128
740
  msgid ""
741
  "Once you enter the list above and save this page, the plugin will display "
742
  "the titles of the posts below for your reference. Only IDs corresponding to "
743
  "published posts or custom post types will be retained."
744
  msgstr ""
745
 
746
+ #: admin/metabox.php:142
747
  msgid "This post type is:"
748
  msgstr ""
749
 
767
  msgid "Follow me"
768
  msgstr ""
769
 
770
+ #: admin/sidebar-view.php:66
771
  msgid "Quick links"
772
  msgstr ""
773
 
774
+ #: admin/sidebar-view.php:70
775
  msgid "Plugin homepage"
776
  msgstr ""
777
 
778
+ #: admin/sidebar-view.php:71
779
  msgid "FAQ"
780
  msgstr "Κοινές απορίες"
781
 
782
+ #: admin/sidebar-view.php:73
783
  msgid "Reviews"
784
  msgstr "Κριτικές"
785
 
786
+ #: admin/sidebar-view.php:74
787
  msgid "Github repository"
788
  msgstr "Αποθετήριο Github"
789
 
790
+ #: admin/sidebar-view.php:75
791
  msgid "Other plugins"
792
  msgstr "Άλλα πρόσθετα"
793
 
794
+ #: admin/sidebar-view.php:76
795
  msgid "Ajay's blog"
796
  msgstr ""
797
 
798
+ #: contextual-related-posts.php:232
799
  #, php-format
800
  msgid "Powered by <a href=\"%s\" rel=\"nofollow\">Contextual Related Posts</a>"
801
  msgstr ""
802
 
803
+ #: contextual-related-posts.php:710
804
  msgid "<h3>Related Posts:</h3>"
805
  msgstr "<h3>Σχετικά Άρθρα:</h3>"
806
 
807
+ #: contextual-related-posts.php:712
808
  msgid "No related posts found"
809
  msgstr "Δεν βρέθηκαν σχετικά άρθρα."
810
 
864
  msgid "Post types to include:"
865
  msgstr ""
866
 
867
+ #: includes/media.php:67
868
  msgid "thumb_timthumb argument has been deprecated"
869
  msgstr ""
870
 
871
+ #: includes/media.php:71
872
  msgid "thumb_timthumb_q argument has been deprecated"
873
  msgstr ""
874
 
875
+ #: includes/media.php:75
876
  msgid "filter argument has been deprecated"
877
  msgstr ""
878
 
languages/{crp-en_US.mo → contextual-related-posts-en_US.mo} RENAMED
Binary file
languages/{crp-en_US.po → contextual-related-posts-en_US.po} RENAMED
@@ -2,7 +2,7 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Contextual Related Posts\n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2015-09-05 11:13+0100\n"
6
  "PO-Revision-Date: \n"
7
  "Last-Translator: Ajay D'Souza <me@ajaydsouza.com>\n"
8
  "Language-Team: WebberZone <plugins@webberzone.com>\n"
@@ -17,30 +17,30 @@ msgstr ""
17
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
18
  "X-Poedit-SearchPath-0: .\n"
19
 
20
- #: admin/admin.php:190
21
  msgid "Options saved successfully. If enabled, the cache has been cleared."
22
  msgstr ""
23
 
24
- #: admin/admin.php:193
25
  msgid ""
26
  "Rounded Thumbnails style selected. Author, Excerpt and Date will not be "
27
  "displayed."
28
  msgstr ""
29
 
30
- #: admin/admin.php:196
31
  msgid "Text Only style selected. Thumbnails will not be displayed."
32
  msgstr ""
33
 
34
- #: admin/admin.php:199
35
  #, php-format
36
  msgid "Pre-built thumbnail size selected. Thumbnail set to %d x %d."
37
  msgstr ""
38
 
39
- #: admin/admin.php:223
40
  msgid "Options set to Default."
41
  msgstr ""
42
 
43
- #: admin/admin.php:232
44
  msgid "Index recreated"
45
  msgstr ""
46
 
@@ -48,13 +48,13 @@ msgstr ""
48
  msgid "Related Posts"
49
  msgstr ""
50
 
51
- #: admin/cache.php:44
52
  msgid ""
53
  "An error occurred clearing the cache. Please contact your site administrator."
54
  "\\n\\nError message:\\n"
55
  msgstr ""
56
 
57
- #: admin/cache.php:49
58
  msgid " cached row(s) cleared"
59
  msgstr ""
60
 
@@ -62,7 +62,7 @@ msgstr ""
62
  msgid "Settings"
63
  msgstr ""
64
 
65
- #: admin/loader.php:46 admin/sidebar-view.php:59
66
  msgid "Support"
67
  msgstr ""
68
 
@@ -86,20 +86,20 @@ msgstr ""
86
  msgid "List tuning options"
87
  msgstr ""
88
 
89
- #: admin/main-view.php:34 admin/main-view.php:239
90
  msgid "Output options"
91
  msgstr ""
92
 
93
- #: admin/main-view.php:35 admin/main-view.php:443
94
  #: includes/class-crp-widget.php:93
95
  msgid "Thumbnail options"
96
  msgstr ""
97
 
98
- #: admin/main-view.php:36 admin/main-view.php:596
99
  msgid "Styles"
100
  msgstr ""
101
 
102
- #: admin/main-view.php:37 admin/main-view.php:674
103
  msgid "Feed options"
104
  msgstr ""
105
 
@@ -215,13 +215,13 @@ msgid ""
215
  "in the list."
216
  msgstr ""
217
 
218
- #: admin/main-view.php:135 admin/main-view.php:232 admin/main-view.php:436
219
- #: admin/main-view.php:589 admin/main-view.php:667 admin/main-view.php:739
220
- #: admin/main-view.php:755
221
  msgid "Save Options"
222
  msgstr ""
223
 
224
- #: admin/main-view.php:158 admin/main-view.php:692
225
  msgid "Number of related posts to display: "
226
  msgstr ""
227
 
@@ -281,7 +281,7 @@ msgstr ""
281
  msgid "List of post or page IDs to exclude from the results:"
282
  msgstr ""
283
 
284
- #: admin/main-view.php:197 admin/main-view.php:367
285
  msgid ""
286
  "Comma separated list of post, page or custom post type IDs. e.g. 188,320,500"
287
  msgstr ""
@@ -297,38 +297,45 @@ msgid ""
297
  "prompt you with options."
298
  msgstr ""
299
 
300
- #: admin/main-view.php:214
301
  msgid "Excluded category IDs are:"
302
  msgstr ""
303
 
304
- #: admin/main-view.php:255
 
 
 
 
 
 
 
305
  msgid "Title of related posts:"
306
  msgstr ""
307
 
308
- #: admin/main-view.php:258
309
  msgid ""
310
  "This is the main heading of the related posts. You can also display the "
311
  "current post title by using <code>%postname%</code>. e.g. <code>Related "
312
  "Posts to %postname%</code>"
313
  msgstr ""
314
 
315
- #: admin/main-view.php:262
316
  msgid "When there are no posts, what should be shown?"
317
  msgstr ""
318
 
319
- #: admin/main-view.php:266
320
  msgid "Blank Output"
321
  msgstr ""
322
 
323
- #: admin/main-view.php:271
324
  msgid "Display:"
325
  msgstr ""
326
 
327
- #: admin/main-view.php:277 admin/main-view.php:695
328
  msgid "Show post excerpt in list?"
329
  msgstr ""
330
 
331
- #: admin/main-view.php:280
332
  #, php-format
333
  msgid ""
334
  "Displays the excerpt of the post. If you do not provide an explicit excerpt "
@@ -336,161 +343,161 @@ msgid ""
336
  "automatic excerpt which refers to the first %d words of the post's content"
337
  msgstr ""
338
 
339
- #: admin/main-view.php:283
340
  msgid ""
341
  "Rounded Thumbnails style selected under the Custom Styles. Excerpt display "
342
  "is disabled."
343
  msgstr ""
344
 
345
- #: admin/main-view.php:288
346
  msgid "Length of excerpt (in words):"
347
  msgstr ""
348
 
349
- #: admin/main-view.php:294
350
  msgid "Show post author in list?"
351
  msgstr ""
352
 
353
- #: admin/main-view.php:297
354
  msgid "Displays the author name prefixed with \"by\". e.g. by John Doe"
355
  msgstr ""
356
 
357
- #: admin/main-view.php:300
358
  msgid ""
359
  "Rounded Thumbnails style selected under the Custom Styles. Author display is "
360
  "disabled."
361
  msgstr ""
362
 
363
- #: admin/main-view.php:305
364
  msgid "Show post date in list?"
365
  msgstr ""
366
 
367
- #: admin/main-view.php:308
368
  msgid ""
369
  "Displays the date of the post. Uses the same date format set in General "
370
  "Options"
371
  msgstr ""
372
 
373
- #: admin/main-view.php:311
374
  msgid ""
375
  "Rounded Thumbnails style selected under the Custom Styles. Date display is "
376
  "disabled."
377
  msgstr ""
378
 
379
- #: admin/main-view.php:316
380
  msgid "Limit post title length (in characters)"
381
  msgstr ""
382
 
383
- #: admin/main-view.php:319
384
  msgid ""
385
  "Any title longer than the number of characters set above will be cut and "
386
  "appended with an ellipsis (&hellip;)"
387
  msgstr ""
388
 
389
- #: admin/main-view.php:323
390
  msgid "Open links in new window"
391
  msgstr ""
392
 
393
- #: admin/main-view.php:329
394
  msgid "Add nofollow attribute to links in the list"
395
  msgstr ""
396
 
397
- #: admin/main-view.php:362
398
  msgid "Exclusion settings:"
399
  msgstr ""
400
 
401
- #: admin/main-view.php:364
402
  msgid "Exclude display of related posts on these posts / pages"
403
  msgstr ""
404
 
405
- #: admin/main-view.php:370
406
  msgid "Exclude display of related posts on these post types."
407
  msgstr ""
408
 
409
- #: admin/main-view.php:377
410
  msgid ""
411
  "The related posts will not display on any of the above selected post types"
412
  msgstr ""
413
 
414
- #: admin/main-view.php:407
415
  msgid "Customize the output:"
416
  msgstr ""
417
 
418
- #: admin/main-view.php:409
419
  msgid "HTML to display before the list of posts: "
420
  msgstr ""
421
 
422
- #: admin/main-view.php:412
423
  msgid "HTML to display before each list item: "
424
  msgstr ""
425
 
426
- #: admin/main-view.php:415
427
  msgid "HTML to display after each list item: "
428
  msgstr ""
429
 
430
- #: admin/main-view.php:418
431
  msgid "HTML to display after the list of posts: "
432
  msgstr ""
433
 
434
- #: admin/main-view.php:459 admin/main-view.php:698
435
  msgid "Location of post thumbnail:"
436
  msgstr ""
437
 
438
- #: admin/main-view.php:463 admin/main-view.php:702
439
  msgid "Display thumbnails inline with posts, before title"
440
  msgstr ""
441
 
442
- #: admin/main-view.php:467 admin/main-view.php:706
443
  msgid "Display thumbnails inline with posts, after title"
444
  msgstr ""
445
 
446
- #: admin/main-view.php:471 admin/main-view.php:710
447
  msgid "Display only thumbnails, no text"
448
  msgstr ""
449
 
450
- #: admin/main-view.php:475 admin/main-view.php:714
451
  msgid "Do not display thumbnails, only text."
452
  msgstr ""
453
 
454
- #: admin/main-view.php:478
455
  msgid ""
456
  "This setting cannot be changed because an inbuilt style has been selected "
457
  "under the Styles section. If you would like to change this option, please "
458
  "select <strong>No styles</strong> under the Styles section."
459
  msgstr ""
460
 
461
- #: admin/main-view.php:482
462
  msgid "Thumbnail size:"
463
  msgstr ""
464
 
465
- #: admin/main-view.php:506
466
  msgid "Custom size"
467
  msgstr ""
468
 
469
- #: admin/main-view.php:509
470
  msgid "You can choose from existing image sizes above or create a custom size."
471
  msgstr ""
472
 
473
- #: admin/main-view.php:510
474
  msgid ""
475
  "If you choose an existing size, then the width, height and crop mode "
476
  "settings in the three options below will be automatically updated to reflect "
477
  "the correct dimensions of the setting."
478
  msgstr ""
479
 
480
- #: admin/main-view.php:511
481
  msgid ""
482
  "If you have chosen Custom size above, then enter the width, height and crop "
483
  "settings below. For best results, use a cropped image with the same width "
484
  "and height. The default setting is 150x150 cropped image."
485
  msgstr ""
486
 
487
- #: admin/main-view.php:512
488
  msgid ""
489
  "Any changes to the thumbnail settings doesn't automatically resize existing "
490
  "images."
491
  msgstr ""
492
 
493
- #: admin/main-view.php:513
494
  #, php-format
495
  msgid ""
496
  "I recommend using <a href='%s' class='thickbox'>OTF Regenerate Thumbnails</"
@@ -498,103 +505,103 @@ msgid ""
498
  "all image sizes."
499
  msgstr ""
500
 
501
- #: admin/main-view.php:517
502
  msgid "Width of the thumbnail:"
503
  msgstr ""
504
 
505
- #: admin/main-view.php:520
506
  msgid "Height of the thumbnail: "
507
  msgstr ""
508
 
509
- #: admin/main-view.php:525
510
  msgid "Crop mode:"
511
  msgstr ""
512
 
513
- #: admin/main-view.php:529
514
  msgid ""
515
  "By default, thumbnails will be hard cropped. Uncheck this box to "
516
  "proportionately/soft crop the thumbnails."
517
  msgstr ""
518
 
519
- #: admin/main-view.php:530
520
  #, php-format
521
  msgid "<a href='%s' target='_blank'>Difference between soft and hard crop</a>"
522
  msgstr ""
523
 
524
- #: admin/main-view.php:534
525
  msgid "Image size attributes:"
526
  msgstr ""
527
 
528
- #: admin/main-view.php:538
529
  msgid "Style attributes are used for width and height."
530
  msgstr ""
531
 
532
- #: admin/main-view.php:543
533
  msgid "HTML width and height attributes are used for width and height."
534
  msgstr ""
535
 
536
- #: admin/main-view.php:548
537
  msgid "No HTML or Style attributes set for width and height"
538
  msgstr ""
539
 
540
- #: admin/main-view.php:553
541
  msgid "Post thumbnail meta field name:"
542
  msgstr ""
543
 
544
- #: admin/main-view.php:555
545
  msgid ""
546
  "The value of this field should contain a direct link to the image. This is "
547
  "set in the meta box in the <em>Add New Post</em> screen."
548
  msgstr ""
549
 
550
- #: admin/main-view.php:558
551
  msgid "Extract the first image from the post?"
552
  msgstr ""
553
 
554
- #: admin/main-view.php:560
555
  msgid ""
556
  "This will only happen if there is no post thumbnail set and no image URL is "
557
  "specified in the meta field."
558
  msgstr ""
559
 
560
- #: admin/main-view.php:563
561
  msgid "Use default thumbnail?"
562
  msgstr ""
563
 
564
- #: admin/main-view.php:565
565
  msgid ""
566
  "If checked, when no thumbnail is found, show a default one from the URL "
567
  "below. If not checked and no thumbnail is found, no image will be shown."
568
  msgstr ""
569
 
570
- #: admin/main-view.php:568
571
  msgid "Default thumbnail:"
572
  msgstr ""
573
 
574
- #: admin/main-view.php:571
575
  msgid ""
576
  "The plugin will first check if the post contains a thumbnail. If it doesn't "
577
  "then it will check the meta field. If this is not available, then it will "
578
  "show the default image as specified above."
579
  msgstr ""
580
 
581
- #: admin/main-view.php:612
582
  msgid "Style of the related posts:"
583
  msgstr ""
584
 
585
- #: admin/main-view.php:615
586
  msgid "No styles"
587
  msgstr ""
588
 
589
- #: admin/main-view.php:617
590
  msgid "Select this option if you plan to add your own styles"
591
  msgstr ""
592
 
593
- #: admin/main-view.php:621
594
  msgid "Rounded Thumbnails"
595
  msgstr ""
596
 
597
- #: admin/main-view.php:624
598
  msgid ""
599
  "Enabling this option will turn on the thumbnails and set their width and "
600
  "height to 150px. It will also turn off the display of the author, excerpt "
@@ -602,122 +609,122 @@ msgid ""
602
  "settings."
603
  msgstr ""
604
 
605
- #: admin/main-view.php:625
606
  #, php-format
607
  msgid ""
608
  "You can view the default style at <a href=\"%1$s\" target=\"_blank\">%1$s</a>"
609
  msgstr ""
610
 
611
- #: admin/main-view.php:629
612
  msgid "Text only"
613
  msgstr ""
614
 
615
- #: admin/main-view.php:631
616
  msgid ""
617
  "Enabling this option will disable thumbnails and no longer include the "
618
  "default style sheet included in the plugin."
619
  msgstr ""
620
 
621
- #: admin/main-view.php:646
622
  msgid "Custom CSS to add to header:"
623
  msgstr ""
624
 
625
- #: admin/main-view.php:650
626
  msgid ""
627
  "Do not include <code>style</code> tags. Check out the <a href=\"http://"
628
  "wordpress.org/extend/plugins/contextual-related-posts/faq/\" target=\"_blank"
629
  "\">FAQ</a> for available CSS classes to style."
630
  msgstr ""
631
 
632
- #: admin/main-view.php:690
633
  msgid ""
634
  "Below options override the related posts settings for your blog feed. These "
635
  "only apply if you have selected to add related posts to Feeds in the General "
636
  "Options tab."
637
  msgstr ""
638
 
639
- #: admin/main-view.php:718
640
  msgid "Maximum width of the thumbnail: "
641
  msgstr ""
642
 
643
- #: admin/main-view.php:721
644
  msgid "Maximum height of the thumbnail: "
645
  msgstr ""
646
 
647
- #: admin/main-view.php:756
648
  msgid "Default Options"
649
  msgstr ""
650
 
651
- #: admin/main-view.php:756
652
  msgid "Do you want to set options to Default?"
653
  msgstr ""
654
 
655
- #: admin/main-view.php:757
656
  msgid "Recreate Index"
657
  msgstr ""
658
 
659
- #: admin/main-view.php:757
660
  msgid "Are you sure you want to recreate the index?"
661
  msgstr ""
662
 
663
- #: admin/main-view.php:762
664
  msgid ""
665
  "One or more FULLTEXT indices are missing. Please hit the <a href="
666
  "\"#crp_recreate\">Recreate Index button</a> at the bottom of the page to fix "
667
  "this."
668
  msgstr ""
669
 
670
- #: admin/metabox.php:100
671
  msgid "Location of thumbnail:"
672
  msgstr ""
673
 
674
- #: admin/metabox.php:102
675
  msgid ""
676
  "Enter the full URL to the image (JPG, PNG or GIF) you'd like to use. This "
677
  "image will be used for the post. It will be resized to the thumbnail size "
678
  "set under Settings &raquo; Related Posts &raquo; Output Options"
679
  msgstr ""
680
 
681
- #: admin/metabox.php:103
682
  msgid "The URL above is saved in the meta field:"
683
  msgstr ""
684
 
685
- #: admin/metabox.php:108
686
  msgid ""
687
  "You have Top 10 WordPress Plugin installed. If you are trying to modify the "
688
  "thumbnail, then you'll need to make the same change in the Top 10 meta box "
689
  "on this page."
690
  msgstr ""
691
 
692
- #: admin/metabox.php:119
693
  msgid "Disable Related Posts display:"
694
  msgstr ""
695
 
696
- #: admin/metabox.php:122
697
  msgid ""
698
  "If this is checked, then Contextual Related Posts will not automatically "
699
  "insert the related posts at the end of post content."
700
  msgstr ""
701
 
702
- #: admin/metabox.php:127 admin/metabox.php:135
703
  msgid "Manual related posts:"
704
  msgstr ""
705
 
706
- #: admin/metabox.php:129
707
  msgid ""
708
  "Comma separated list of post, page or custom post type IDs. e.g. "
709
  "188,320,500. These will be given preference over the related posts generated "
710
  "by the plugin."
711
  msgstr ""
712
 
713
- #: admin/metabox.php:130
714
  msgid ""
715
  "Once you enter the list above and save this page, the plugin will display "
716
  "the titles of the posts below for your reference. Only IDs corresponding to "
717
  "published posts or custom post types will be retained."
718
  msgstr ""
719
 
720
- #: admin/metabox.php:144
721
  msgid "This post type is:"
722
  msgstr ""
723
 
@@ -741,44 +748,44 @@ msgstr ""
741
  msgid "Follow me"
742
  msgstr ""
743
 
744
- #: admin/sidebar-view.php:53
745
  msgid "Quick links"
746
  msgstr ""
747
 
748
- #: admin/sidebar-view.php:57
749
  msgid "Plugin homepage"
750
  msgstr ""
751
 
752
- #: admin/sidebar-view.php:58
753
  msgid "FAQ"
754
  msgstr ""
755
 
756
- #: admin/sidebar-view.php:60
757
  msgid "Reviews"
758
  msgstr ""
759
 
760
- #: admin/sidebar-view.php:61
761
  msgid "Github repository"
762
  msgstr ""
763
 
764
- #: admin/sidebar-view.php:62
765
  msgid "Other plugins"
766
  msgstr ""
767
 
768
- #: admin/sidebar-view.php:63
769
  msgid "Ajay's blog"
770
  msgstr ""
771
 
772
- #: contextual-related-posts.php:178
773
  #, php-format
774
  msgid "Powered by <a href=\"%s\" rel=\"nofollow\">Contextual Related Posts</a>"
775
  msgstr ""
776
 
777
- #: contextual-related-posts.php:659
778
  msgid "<h3>Related Posts:</h3>"
779
  msgstr ""
780
 
781
- #: contextual-related-posts.php:661
782
  msgid "No related posts found"
783
  msgstr ""
784
 
@@ -838,15 +845,15 @@ msgstr ""
838
  msgid "Post types to include:"
839
  msgstr ""
840
 
841
- #: includes/media-handler.php:68
842
  msgid "thumb_timthumb argument has been deprecated"
843
  msgstr ""
844
 
845
- #: includes/media-handler.php:72
846
  msgid "thumb_timthumb_q argument has been deprecated"
847
  msgstr ""
848
 
849
- #: includes/media-handler.php:76
850
  msgid "filter argument has been deprecated"
851
  msgstr ""
852
 
2
  msgstr ""
3
  "Project-Id-Version: Contextual Related Posts\n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2015-09-27 13:34+0100\n"
6
  "PO-Revision-Date: \n"
7
  "Last-Translator: Ajay D'Souza <me@ajaydsouza.com>\n"
8
  "Language-Team: WebberZone <plugins@webberzone.com>\n"
17
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
18
  "X-Poedit-SearchPath-0: .\n"
19
 
20
+ #: admin/admin.php:191
21
  msgid "Options saved successfully. If enabled, the cache has been cleared."
22
  msgstr ""
23
 
24
+ #: admin/admin.php:194
25
  msgid ""
26
  "Rounded Thumbnails style selected. Author, Excerpt and Date will not be "
27
  "displayed."
28
  msgstr ""
29
 
30
+ #: admin/admin.php:197
31
  msgid "Text Only style selected. Thumbnails will not be displayed."
32
  msgstr ""
33
 
34
+ #: admin/admin.php:200
35
  #, php-format
36
  msgid "Pre-built thumbnail size selected. Thumbnail set to %d x %d."
37
  msgstr ""
38
 
39
+ #: admin/admin.php:224
40
  msgid "Options set to Default."
41
  msgstr ""
42
 
43
+ #: admin/admin.php:233
44
  msgid "Index recreated"
45
  msgstr ""
46
 
48
  msgid "Related Posts"
49
  msgstr ""
50
 
51
+ #: admin/cache.php:42
52
  msgid ""
53
  "An error occurred clearing the cache. Please contact your site administrator."
54
  "\\n\\nError message:\\n"
55
  msgstr ""
56
 
57
+ #: admin/cache.php:47
58
  msgid " cached row(s) cleared"
59
  msgstr ""
60
 
62
  msgid "Settings"
63
  msgstr ""
64
 
65
+ #: admin/loader.php:46 admin/sidebar-view.php:72
66
  msgid "Support"
67
  msgstr ""
68
 
86
  msgid "List tuning options"
87
  msgstr ""
88
 
89
+ #: admin/main-view.php:34 admin/main-view.php:249
90
  msgid "Output options"
91
  msgstr ""
92
 
93
+ #: admin/main-view.php:35 admin/main-view.php:453
94
  #: includes/class-crp-widget.php:93
95
  msgid "Thumbnail options"
96
  msgstr ""
97
 
98
+ #: admin/main-view.php:36 admin/main-view.php:608
99
  msgid "Styles"
100
  msgstr ""
101
 
102
+ #: admin/main-view.php:37 admin/main-view.php:686
103
  msgid "Feed options"
104
  msgstr ""
105
 
215
  "in the list."
216
  msgstr ""
217
 
218
+ #: admin/main-view.php:135 admin/main-view.php:242 admin/main-view.php:446
219
+ #: admin/main-view.php:601 admin/main-view.php:679 admin/main-view.php:751
220
+ #: admin/main-view.php:767
221
  msgid "Save Options"
222
  msgstr ""
223
 
224
+ #: admin/main-view.php:158 admin/main-view.php:704
225
  msgid "Number of related posts to display: "
226
  msgstr ""
227
 
281
  msgid "List of post or page IDs to exclude from the results:"
282
  msgstr ""
283
 
284
+ #: admin/main-view.php:197 admin/main-view.php:377
285
  msgid ""
286
  "Comma separated list of post, page or custom post type IDs. e.g. 188,320,500"
287
  msgstr ""
297
  "prompt you with options."
298
  msgstr ""
299
 
300
+ #: admin/main-view.php:216
301
  msgid "Excluded category IDs are:"
302
  msgstr ""
303
 
304
+ #: admin/main-view.php:222
305
+ msgid ""
306
+ "These might differ from the IDs visible in the Categories page which use the "
307
+ "<code>term_id</code>. CRP uses the <code>term_taxonomy_id</code> which is "
308
+ "unique to this taxonomy."
309
+ msgstr ""
310
+
311
+ #: admin/main-view.php:265
312
  msgid "Title of related posts:"
313
  msgstr ""
314
 
315
+ #: admin/main-view.php:268
316
  msgid ""
317
  "This is the main heading of the related posts. You can also display the "
318
  "current post title by using <code>%postname%</code>. e.g. <code>Related "
319
  "Posts to %postname%</code>"
320
  msgstr ""
321
 
322
+ #: admin/main-view.php:272
323
  msgid "When there are no posts, what should be shown?"
324
  msgstr ""
325
 
326
+ #: admin/main-view.php:276
327
  msgid "Blank Output"
328
  msgstr ""
329
 
330
+ #: admin/main-view.php:281
331
  msgid "Display:"
332
  msgstr ""
333
 
334
+ #: admin/main-view.php:287 admin/main-view.php:707
335
  msgid "Show post excerpt in list?"
336
  msgstr ""
337
 
338
+ #: admin/main-view.php:290
339
  #, php-format
340
  msgid ""
341
  "Displays the excerpt of the post. If you do not provide an explicit excerpt "
343
  "automatic excerpt which refers to the first %d words of the post's content"
344
  msgstr ""
345
 
346
+ #: admin/main-view.php:293
347
  msgid ""
348
  "Rounded Thumbnails style selected under the Custom Styles. Excerpt display "
349
  "is disabled."
350
  msgstr ""
351
 
352
+ #: admin/main-view.php:298
353
  msgid "Length of excerpt (in words):"
354
  msgstr ""
355
 
356
+ #: admin/main-view.php:304
357
  msgid "Show post author in list?"
358
  msgstr ""
359
 
360
+ #: admin/main-view.php:307
361
  msgid "Displays the author name prefixed with \"by\". e.g. by John Doe"
362
  msgstr ""
363
 
364
+ #: admin/main-view.php:310
365
  msgid ""
366
  "Rounded Thumbnails style selected under the Custom Styles. Author display is "
367
  "disabled."
368
  msgstr ""
369
 
370
+ #: admin/main-view.php:315
371
  msgid "Show post date in list?"
372
  msgstr ""
373
 
374
+ #: admin/main-view.php:318
375
  msgid ""
376
  "Displays the date of the post. Uses the same date format set in General "
377
  "Options"
378
  msgstr ""
379
 
380
+ #: admin/main-view.php:321
381
  msgid ""
382
  "Rounded Thumbnails style selected under the Custom Styles. Date display is "
383
  "disabled."
384
  msgstr ""
385
 
386
+ #: admin/main-view.php:326
387
  msgid "Limit post title length (in characters)"
388
  msgstr ""
389
 
390
+ #: admin/main-view.php:329
391
  msgid ""
392
  "Any title longer than the number of characters set above will be cut and "
393
  "appended with an ellipsis (&hellip;)"
394
  msgstr ""
395
 
396
+ #: admin/main-view.php:333
397
  msgid "Open links in new window"
398
  msgstr ""
399
 
400
+ #: admin/main-view.php:339
401
  msgid "Add nofollow attribute to links in the list"
402
  msgstr ""
403
 
404
+ #: admin/main-view.php:372
405
  msgid "Exclusion settings:"
406
  msgstr ""
407
 
408
+ #: admin/main-view.php:374
409
  msgid "Exclude display of related posts on these posts / pages"
410
  msgstr ""
411
 
412
+ #: admin/main-view.php:380
413
  msgid "Exclude display of related posts on these post types."
414
  msgstr ""
415
 
416
+ #: admin/main-view.php:387
417
  msgid ""
418
  "The related posts will not display on any of the above selected post types"
419
  msgstr ""
420
 
421
+ #: admin/main-view.php:417
422
  msgid "Customize the output:"
423
  msgstr ""
424
 
425
+ #: admin/main-view.php:419
426
  msgid "HTML to display before the list of posts: "
427
  msgstr ""
428
 
429
+ #: admin/main-view.php:422
430
  msgid "HTML to display before each list item: "
431
  msgstr ""
432
 
433
+ #: admin/main-view.php:425
434
  msgid "HTML to display after each list item: "
435
  msgstr ""
436
 
437
+ #: admin/main-view.php:428
438
  msgid "HTML to display after the list of posts: "
439
  msgstr ""
440
 
441
+ #: admin/main-view.php:469 admin/main-view.php:710
442
  msgid "Location of post thumbnail:"
443
  msgstr ""
444
 
445
+ #: admin/main-view.php:473 admin/main-view.php:714
446
  msgid "Display thumbnails inline with posts, before title"
447
  msgstr ""
448
 
449
+ #: admin/main-view.php:477 admin/main-view.php:718
450
  msgid "Display thumbnails inline with posts, after title"
451
  msgstr ""
452
 
453
+ #: admin/main-view.php:481 admin/main-view.php:722
454
  msgid "Display only thumbnails, no text"
455
  msgstr ""
456
 
457
+ #: admin/main-view.php:485 admin/main-view.php:726
458
  msgid "Do not display thumbnails, only text."
459
  msgstr ""
460
 
461
+ #: admin/main-view.php:488
462
  msgid ""
463
  "This setting cannot be changed because an inbuilt style has been selected "
464
  "under the Styles section. If you would like to change this option, please "
465
  "select <strong>No styles</strong> under the Styles section."
466
  msgstr ""
467
 
468
+ #: admin/main-view.php:492
469
  msgid "Thumbnail size:"
470
  msgstr ""
471
 
472
+ #: admin/main-view.php:516
473
  msgid "Custom size"
474
  msgstr ""
475
 
476
+ #: admin/main-view.php:519
477
  msgid "You can choose from existing image sizes above or create a custom size."
478
  msgstr ""
479
 
480
+ #: admin/main-view.php:520
481
  msgid ""
482
  "If you choose an existing size, then the width, height and crop mode "
483
  "settings in the three options below will be automatically updated to reflect "
484
  "the correct dimensions of the setting."
485
  msgstr ""
486
 
487
+ #: admin/main-view.php:521
488
  msgid ""
489
  "If you have chosen Custom size above, then enter the width, height and crop "
490
  "settings below. For best results, use a cropped image with the same width "
491
  "and height. The default setting is 150x150 cropped image."
492
  msgstr ""
493
 
494
+ #: admin/main-view.php:522
495
  msgid ""
496
  "Any changes to the thumbnail settings doesn't automatically resize existing "
497
  "images."
498
  msgstr ""
499
 
500
+ #: admin/main-view.php:523
501
  #, php-format
502
  msgid ""
503
  "I recommend using <a href='%s' class='thickbox'>OTF Regenerate Thumbnails</"
505
  "all image sizes."
506
  msgstr ""
507
 
508
+ #: admin/main-view.php:527
509
  msgid "Width of the thumbnail:"
510
  msgstr ""
511
 
512
+ #: admin/main-view.php:530
513
  msgid "Height of the thumbnail: "
514
  msgstr ""
515
 
516
+ #: admin/main-view.php:535
517
  msgid "Crop mode:"
518
  msgstr ""
519
 
520
+ #: admin/main-view.php:539
521
  msgid ""
522
  "By default, thumbnails will be hard cropped. Uncheck this box to "
523
  "proportionately/soft crop the thumbnails."
524
  msgstr ""
525
 
526
+ #: admin/main-view.php:540
527
  #, php-format
528
  msgid "<a href='%s' target='_blank'>Difference between soft and hard crop</a>"
529
  msgstr ""
530
 
531
+ #: admin/main-view.php:544
532
  msgid "Image size attributes:"
533
  msgstr ""
534
 
535
+ #: admin/main-view.php:548
536
  msgid "Style attributes are used for width and height."
537
  msgstr ""
538
 
539
+ #: admin/main-view.php:554
540
  msgid "HTML width and height attributes are used for width and height."
541
  msgstr ""
542
 
543
+ #: admin/main-view.php:560
544
  msgid "No HTML or Style attributes set for width and height"
545
  msgstr ""
546
 
547
+ #: admin/main-view.php:565
548
  msgid "Post thumbnail meta field name:"
549
  msgstr ""
550
 
551
+ #: admin/main-view.php:567
552
  msgid ""
553
  "The value of this field should contain a direct link to the image. This is "
554
  "set in the meta box in the <em>Add New Post</em> screen."
555
  msgstr ""
556
 
557
+ #: admin/main-view.php:570
558
  msgid "Extract the first image from the post?"
559
  msgstr ""
560
 
561
+ #: admin/main-view.php:572
562
  msgid ""
563
  "This will only happen if there is no post thumbnail set and no image URL is "
564
  "specified in the meta field."
565
  msgstr ""
566
 
567
+ #: admin/main-view.php:575
568
  msgid "Use default thumbnail?"
569
  msgstr ""
570
 
571
+ #: admin/main-view.php:577
572
  msgid ""
573
  "If checked, when no thumbnail is found, show a default one from the URL "
574
  "below. If not checked and no thumbnail is found, no image will be shown."
575
  msgstr ""
576
 
577
+ #: admin/main-view.php:580
578
  msgid "Default thumbnail:"
579
  msgstr ""
580
 
581
+ #: admin/main-view.php:583
582
  msgid ""
583
  "The plugin will first check if the post contains a thumbnail. If it doesn't "
584
  "then it will check the meta field. If this is not available, then it will "
585
  "show the default image as specified above."
586
  msgstr ""
587
 
588
+ #: admin/main-view.php:624
589
  msgid "Style of the related posts:"
590
  msgstr ""
591
 
592
+ #: admin/main-view.php:627
593
  msgid "No styles"
594
  msgstr ""
595
 
596
+ #: admin/main-view.php:629
597
  msgid "Select this option if you plan to add your own styles"
598
  msgstr ""
599
 
600
+ #: admin/main-view.php:633
601
  msgid "Rounded Thumbnails"
602
  msgstr ""
603
 
604
+ #: admin/main-view.php:636
605
  msgid ""
606
  "Enabling this option will turn on the thumbnails and set their width and "
607
  "height to 150px. It will also turn off the display of the author, excerpt "
609
  "settings."
610
  msgstr ""
611
 
612
+ #: admin/main-view.php:637
613
  #, php-format
614
  msgid ""
615
  "You can view the default style at <a href=\"%1$s\" target=\"_blank\">%1$s</a>"
616
  msgstr ""
617
 
618
+ #: admin/main-view.php:641
619
  msgid "Text only"
620
  msgstr ""
621
 
622
+ #: admin/main-view.php:643
623
  msgid ""
624
  "Enabling this option will disable thumbnails and no longer include the "
625
  "default style sheet included in the plugin."
626
  msgstr ""
627
 
628
+ #: admin/main-view.php:658
629
  msgid "Custom CSS to add to header:"
630
  msgstr ""
631
 
632
+ #: admin/main-view.php:662
633
  msgid ""
634
  "Do not include <code>style</code> tags. Check out the <a href=\"http://"
635
  "wordpress.org/extend/plugins/contextual-related-posts/faq/\" target=\"_blank"
636
  "\">FAQ</a> for available CSS classes to style."
637
  msgstr ""
638
 
639
+ #: admin/main-view.php:702
640
  msgid ""
641
  "Below options override the related posts settings for your blog feed. These "
642
  "only apply if you have selected to add related posts to Feeds in the General "
643
  "Options tab."
644
  msgstr ""
645
 
646
+ #: admin/main-view.php:730
647
  msgid "Maximum width of the thumbnail: "
648
  msgstr ""
649
 
650
+ #: admin/main-view.php:733
651
  msgid "Maximum height of the thumbnail: "
652
  msgstr ""
653
 
654
+ #: admin/main-view.php:768
655
  msgid "Default Options"
656
  msgstr ""
657
 
658
+ #: admin/main-view.php:768
659
  msgid "Do you want to set options to Default?"
660
  msgstr ""
661
 
662
+ #: admin/main-view.php:769
663
  msgid "Recreate Index"
664
  msgstr ""
665
 
666
+ #: admin/main-view.php:769
667
  msgid "Are you sure you want to recreate the index?"
668
  msgstr ""
669
 
670
+ #: admin/main-view.php:774
671
  msgid ""
672
  "One or more FULLTEXT indices are missing. Please hit the <a href="
673
  "\"#crp_recreate\">Recreate Index button</a> at the bottom of the page to fix "
674
  "this."
675
  msgstr ""
676
 
677
+ #: admin/metabox.php:98
678
  msgid "Location of thumbnail:"
679
  msgstr ""
680
 
681
+ #: admin/metabox.php:100
682
  msgid ""
683
  "Enter the full URL to the image (JPG, PNG or GIF) you'd like to use. This "
684
  "image will be used for the post. It will be resized to the thumbnail size "
685
  "set under Settings &raquo; Related Posts &raquo; Output Options"
686
  msgstr ""
687
 
688
+ #: admin/metabox.php:101
689
  msgid "The URL above is saved in the meta field:"
690
  msgstr ""
691
 
692
+ #: admin/metabox.php:106
693
  msgid ""
694
  "You have Top 10 WordPress Plugin installed. If you are trying to modify the "
695
  "thumbnail, then you'll need to make the same change in the Top 10 meta box "
696
  "on this page."
697
  msgstr ""
698
 
699
+ #: admin/metabox.php:117
700
  msgid "Disable Related Posts display:"
701
  msgstr ""
702
 
703
+ #: admin/metabox.php:120
704
  msgid ""
705
  "If this is checked, then Contextual Related Posts will not automatically "
706
  "insert the related posts at the end of post content."
707
  msgstr ""
708
 
709
+ #: admin/metabox.php:125 admin/metabox.php:133
710
  msgid "Manual related posts:"
711
  msgstr ""
712
 
713
+ #: admin/metabox.php:127
714
  msgid ""
715
  "Comma separated list of post, page or custom post type IDs. e.g. "
716
  "188,320,500. These will be given preference over the related posts generated "
717
  "by the plugin."
718
  msgstr ""
719
 
720
+ #: admin/metabox.php:128
721
  msgid ""
722
  "Once you enter the list above and save this page, the plugin will display "
723
  "the titles of the posts below for your reference. Only IDs corresponding to "
724
  "published posts or custom post types will be retained."
725
  msgstr ""
726
 
727
+ #: admin/metabox.php:142
728
  msgid "This post type is:"
729
  msgstr ""
730
 
748
  msgid "Follow me"
749
  msgstr ""
750
 
751
+ #: admin/sidebar-view.php:66
752
  msgid "Quick links"
753
  msgstr ""
754
 
755
+ #: admin/sidebar-view.php:70
756
  msgid "Plugin homepage"
757
  msgstr ""
758
 
759
+ #: admin/sidebar-view.php:71
760
  msgid "FAQ"
761
  msgstr ""
762
 
763
+ #: admin/sidebar-view.php:73
764
  msgid "Reviews"
765
  msgstr ""
766
 
767
+ #: admin/sidebar-view.php:74
768
  msgid "Github repository"
769
  msgstr ""
770
 
771
+ #: admin/sidebar-view.php:75
772
  msgid "Other plugins"
773
  msgstr ""
774
 
775
+ #: admin/sidebar-view.php:76
776
  msgid "Ajay's blog"
777
  msgstr ""
778
 
779
+ #: contextual-related-posts.php:232
780
  #, php-format
781
  msgid "Powered by <a href=\"%s\" rel=\"nofollow\">Contextual Related Posts</a>"
782
  msgstr ""
783
 
784
+ #: contextual-related-posts.php:710
785
  msgid "<h3>Related Posts:</h3>"
786
  msgstr ""
787
 
788
+ #: contextual-related-posts.php:712
789
  msgid "No related posts found"
790
  msgstr ""
791
 
845
  msgid "Post types to include:"
846
  msgstr ""
847
 
848
+ #: includes/media.php:67
849
  msgid "thumb_timthumb argument has been deprecated"
850
  msgstr ""
851
 
852
+ #: includes/media.php:71
853
  msgid "thumb_timthumb_q argument has been deprecated"
854
  msgstr ""
855
 
856
+ #: includes/media.php:75
857
  msgid "filter argument has been deprecated"
858
  msgstr ""
859
 
languages/{crp-en_US.pot → contextual-related-posts-en_US.pot} RENAMED
@@ -3,7 +3,7 @@ msgid ""
3
  msgstr ""
4
  "Project-Id-Version: Contextual Related Posts\n"
5
  "Report-Msgid-Bugs-To: \n"
6
- "POT-Creation-Date: 2015-09-05 11:13+0100\n"
7
  "PO-Revision-Date: \n"
8
  "Last-Translator: Ajay D'Souza <me@ajaydsouza.com>\n"
9
  "Language-Team: plugins@webberzone.com\n"
@@ -17,30 +17,30 @@ msgstr ""
17
  "X-Poedit-SourceCharset: UTF-8\n"
18
  "X-Poedit-SearchPath-0: .\n"
19
 
20
- #: admin/admin.php:190
21
  msgid "Options saved successfully. If enabled, the cache has been cleared."
22
  msgstr ""
23
 
24
- #: admin/admin.php:193
25
  msgid ""
26
  "Rounded Thumbnails style selected. Author, Excerpt and Date will not be "
27
  "displayed."
28
  msgstr ""
29
 
30
- #: admin/admin.php:196
31
  msgid "Text Only style selected. Thumbnails will not be displayed."
32
  msgstr ""
33
 
34
- #: admin/admin.php:199
35
  #, php-format
36
  msgid "Pre-built thumbnail size selected. Thumbnail set to %d x %d."
37
  msgstr ""
38
 
39
- #: admin/admin.php:223
40
  msgid "Options set to Default."
41
  msgstr ""
42
 
43
- #: admin/admin.php:232
44
  msgid "Index recreated"
45
  msgstr ""
46
 
@@ -48,13 +48,13 @@ msgstr ""
48
  msgid "Related Posts"
49
  msgstr ""
50
 
51
- #: admin/cache.php:44
52
  msgid ""
53
  "An error occurred clearing the cache. Please contact your site administrator."
54
  "\\n\\nError message:\\n"
55
  msgstr ""
56
 
57
- #: admin/cache.php:49
58
  msgid " cached row(s) cleared"
59
  msgstr ""
60
 
@@ -62,7 +62,7 @@ msgstr ""
62
  msgid "Settings"
63
  msgstr ""
64
 
65
- #: admin/loader.php:46 admin/sidebar-view.php:59
66
  msgid "Support"
67
  msgstr ""
68
 
@@ -86,20 +86,20 @@ msgstr ""
86
  msgid "List tuning options"
87
  msgstr ""
88
 
89
- #: admin/main-view.php:34 admin/main-view.php:239
90
  msgid "Output options"
91
  msgstr ""
92
 
93
- #: admin/main-view.php:35 admin/main-view.php:443
94
  #: includes/class-crp-widget.php:93
95
  msgid "Thumbnail options"
96
  msgstr ""
97
 
98
- #: admin/main-view.php:36 admin/main-view.php:596
99
  msgid "Styles"
100
  msgstr ""
101
 
102
- #: admin/main-view.php:37 admin/main-view.php:674
103
  msgid "Feed options"
104
  msgstr ""
105
 
@@ -215,13 +215,13 @@ msgid ""
215
  "in the list."
216
  msgstr ""
217
 
218
- #: admin/main-view.php:135 admin/main-view.php:232 admin/main-view.php:436
219
- #: admin/main-view.php:589 admin/main-view.php:667 admin/main-view.php:739
220
- #: admin/main-view.php:755
221
  msgid "Save Options"
222
  msgstr ""
223
 
224
- #: admin/main-view.php:158 admin/main-view.php:692
225
  msgid "Number of related posts to display: "
226
  msgstr ""
227
 
@@ -281,7 +281,7 @@ msgstr ""
281
  msgid "List of post or page IDs to exclude from the results:"
282
  msgstr ""
283
 
284
- #: admin/main-view.php:197 admin/main-view.php:367
285
  msgid ""
286
  "Comma separated list of post, page or custom post type IDs. e.g. 188,320,500"
287
  msgstr ""
@@ -297,38 +297,45 @@ msgid ""
297
  "prompt you with options."
298
  msgstr ""
299
 
300
- #: admin/main-view.php:214
301
  msgid "Excluded category IDs are:"
302
  msgstr ""
303
 
304
- #: admin/main-view.php:255
 
 
 
 
 
 
 
305
  msgid "Title of related posts:"
306
  msgstr ""
307
 
308
- #: admin/main-view.php:258
309
  msgid ""
310
  "This is the main heading of the related posts. You can also display the "
311
  "current post title by using <code>%postname%</code>. e.g. <code>Related "
312
  "Posts to %postname%</code>"
313
  msgstr ""
314
 
315
- #: admin/main-view.php:262
316
  msgid "When there are no posts, what should be shown?"
317
  msgstr ""
318
 
319
- #: admin/main-view.php:266
320
  msgid "Blank Output"
321
  msgstr ""
322
 
323
- #: admin/main-view.php:271
324
  msgid "Display:"
325
  msgstr ""
326
 
327
- #: admin/main-view.php:277 admin/main-view.php:695
328
  msgid "Show post excerpt in list?"
329
  msgstr ""
330
 
331
- #: admin/main-view.php:280
332
  #, php-format
333
  msgid ""
334
  "Displays the excerpt of the post. If you do not provide an explicit excerpt "
@@ -336,161 +343,161 @@ msgid ""
336
  "automatic excerpt which refers to the first %d words of the post's content"
337
  msgstr ""
338
 
339
- #: admin/main-view.php:283
340
  msgid ""
341
  "Rounded Thumbnails style selected under the Custom Styles. Excerpt display "
342
  "is disabled."
343
  msgstr ""
344
 
345
- #: admin/main-view.php:288
346
  msgid "Length of excerpt (in words):"
347
  msgstr ""
348
 
349
- #: admin/main-view.php:294
350
  msgid "Show post author in list?"
351
  msgstr ""
352
 
353
- #: admin/main-view.php:297
354
  msgid "Displays the author name prefixed with \"by\". e.g. by John Doe"
355
  msgstr ""
356
 
357
- #: admin/main-view.php:300
358
  msgid ""
359
  "Rounded Thumbnails style selected under the Custom Styles. Author display is "
360
  "disabled."
361
  msgstr ""
362
 
363
- #: admin/main-view.php:305
364
  msgid "Show post date in list?"
365
  msgstr ""
366
 
367
- #: admin/main-view.php:308
368
  msgid ""
369
  "Displays the date of the post. Uses the same date format set in General "
370
  "Options"
371
  msgstr ""
372
 
373
- #: admin/main-view.php:311
374
  msgid ""
375
  "Rounded Thumbnails style selected under the Custom Styles. Date display is "
376
  "disabled."
377
  msgstr ""
378
 
379
- #: admin/main-view.php:316
380
  msgid "Limit post title length (in characters)"
381
  msgstr ""
382
 
383
- #: admin/main-view.php:319
384
  msgid ""
385
  "Any title longer than the number of characters set above will be cut and "
386
  "appended with an ellipsis (&hellip;)"
387
  msgstr ""
388
 
389
- #: admin/main-view.php:323
390
  msgid "Open links in new window"
391
  msgstr ""
392
 
393
- #: admin/main-view.php:329
394
  msgid "Add nofollow attribute to links in the list"
395
  msgstr ""
396
 
397
- #: admin/main-view.php:362
398
  msgid "Exclusion settings:"
399
  msgstr ""
400
 
401
- #: admin/main-view.php:364
402
  msgid "Exclude display of related posts on these posts / pages"
403
  msgstr ""
404
 
405
- #: admin/main-view.php:370
406
  msgid "Exclude display of related posts on these post types."
407
  msgstr ""
408
 
409
- #: admin/main-view.php:377
410
  msgid ""
411
  "The related posts will not display on any of the above selected post types"
412
  msgstr ""
413
 
414
- #: admin/main-view.php:407
415
  msgid "Customize the output:"
416
  msgstr ""
417
 
418
- #: admin/main-view.php:409
419
  msgid "HTML to display before the list of posts: "
420
  msgstr ""
421
 
422
- #: admin/main-view.php:412
423
  msgid "HTML to display before each list item: "
424
  msgstr ""
425
 
426
- #: admin/main-view.php:415
427
  msgid "HTML to display after each list item: "
428
  msgstr ""
429
 
430
- #: admin/main-view.php:418
431
  msgid "HTML to display after the list of posts: "
432
  msgstr ""
433
 
434
- #: admin/main-view.php:459 admin/main-view.php:698
435
  msgid "Location of post thumbnail:"
436
  msgstr ""
437
 
438
- #: admin/main-view.php:463 admin/main-view.php:702
439
  msgid "Display thumbnails inline with posts, before title"
440
  msgstr ""
441
 
442
- #: admin/main-view.php:467 admin/main-view.php:706
443
  msgid "Display thumbnails inline with posts, after title"
444
  msgstr ""
445
 
446
- #: admin/main-view.php:471 admin/main-view.php:710
447
  msgid "Display only thumbnails, no text"
448
  msgstr ""
449
 
450
- #: admin/main-view.php:475 admin/main-view.php:714
451
  msgid "Do not display thumbnails, only text."
452
  msgstr ""
453
 
454
- #: admin/main-view.php:478
455
  msgid ""
456
  "This setting cannot be changed because an inbuilt style has been selected "
457
  "under the Styles section. If you would like to change this option, please "
458
  "select <strong>No styles</strong> under the Styles section."
459
  msgstr ""
460
 
461
- #: admin/main-view.php:482
462
  msgid "Thumbnail size:"
463
  msgstr ""
464
 
465
- #: admin/main-view.php:506
466
  msgid "Custom size"
467
  msgstr ""
468
 
469
- #: admin/main-view.php:509
470
  msgid "You can choose from existing image sizes above or create a custom size."
471
  msgstr ""
472
 
473
- #: admin/main-view.php:510
474
  msgid ""
475
  "If you choose an existing size, then the width, height and crop mode "
476
  "settings in the three options below will be automatically updated to reflect "
477
  "the correct dimensions of the setting."
478
  msgstr ""
479
 
480
- #: admin/main-view.php:511
481
  msgid ""
482
  "If you have chosen Custom size above, then enter the width, height and crop "
483
  "settings below. For best results, use a cropped image with the same width "
484
  "and height. The default setting is 150x150 cropped image."
485
  msgstr ""
486
 
487
- #: admin/main-view.php:512
488
  msgid ""
489
  "Any changes to the thumbnail settings doesn't automatically resize existing "
490
  "images."
491
  msgstr ""
492
 
493
- #: admin/main-view.php:513
494
  #, php-format
495
  msgid ""
496
  "I recommend using <a href='%s' class='thickbox'>OTF Regenerate Thumbnails</"
@@ -498,103 +505,103 @@ msgid ""
498
  "all image sizes."
499
  msgstr ""
500
 
501
- #: admin/main-view.php:517
502
  msgid "Width of the thumbnail:"
503
  msgstr ""
504
 
505
- #: admin/main-view.php:520
506
  msgid "Height of the thumbnail: "
507
  msgstr ""
508
 
509
- #: admin/main-view.php:525
510
  msgid "Crop mode:"
511
  msgstr ""
512
 
513
- #: admin/main-view.php:529
514
  msgid ""
515
  "By default, thumbnails will be hard cropped. Uncheck this box to "
516
  "proportionately/soft crop the thumbnails."
517
  msgstr ""
518
 
519
- #: admin/main-view.php:530
520
  #, php-format
521
  msgid "<a href='%s' target='_blank'>Difference between soft and hard crop</a>"
522
  msgstr ""
523
 
524
- #: admin/main-view.php:534
525
  msgid "Image size attributes:"
526
  msgstr ""
527
 
528
- #: admin/main-view.php:538
529
  msgid "Style attributes are used for width and height."
530
  msgstr ""
531
 
532
- #: admin/main-view.php:543
533
  msgid "HTML width and height attributes are used for width and height."
534
  msgstr ""
535
 
536
- #: admin/main-view.php:548
537
  msgid "No HTML or Style attributes set for width and height"
538
  msgstr ""
539
 
540
- #: admin/main-view.php:553
541
  msgid "Post thumbnail meta field name:"
542
  msgstr ""
543
 
544
- #: admin/main-view.php:555
545
  msgid ""
546
  "The value of this field should contain a direct link to the image. This is "
547
  "set in the meta box in the <em>Add New Post</em> screen."
548
  msgstr ""
549
 
550
- #: admin/main-view.php:558
551
  msgid "Extract the first image from the post?"
552
  msgstr ""
553
 
554
- #: admin/main-view.php:560
555
  msgid ""
556
  "This will only happen if there is no post thumbnail set and no image URL is "
557
  "specified in the meta field."
558
  msgstr ""
559
 
560
- #: admin/main-view.php:563
561
  msgid "Use default thumbnail?"
562
  msgstr ""
563
 
564
- #: admin/main-view.php:565
565
  msgid ""
566
  "If checked, when no thumbnail is found, show a default one from the URL "
567
  "below. If not checked and no thumbnail is found, no image will be shown."
568
  msgstr ""
569
 
570
- #: admin/main-view.php:568
571
  msgid "Default thumbnail:"
572
  msgstr ""
573
 
574
- #: admin/main-view.php:571
575
  msgid ""
576
  "The plugin will first check if the post contains a thumbnail. If it doesn't "
577
  "then it will check the meta field. If this is not available, then it will "
578
  "show the default image as specified above."
579
  msgstr ""
580
 
581
- #: admin/main-view.php:612
582
  msgid "Style of the related posts:"
583
  msgstr ""
584
 
585
- #: admin/main-view.php:615
586
  msgid "No styles"
587
  msgstr ""
588
 
589
- #: admin/main-view.php:617
590
  msgid "Select this option if you plan to add your own styles"
591
  msgstr ""
592
 
593
- #: admin/main-view.php:621
594
  msgid "Rounded Thumbnails"
595
  msgstr ""
596
 
597
- #: admin/main-view.php:624
598
  msgid ""
599
  "Enabling this option will turn on the thumbnails and set their width and "
600
  "height to 150px. It will also turn off the display of the author, excerpt "
@@ -602,122 +609,122 @@ msgid ""
602
  "settings."
603
  msgstr ""
604
 
605
- #: admin/main-view.php:625
606
  #, php-format
607
  msgid ""
608
  "You can view the default style at <a href=\"%1$s\" target=\"_blank\">%1$s</a>"
609
  msgstr ""
610
 
611
- #: admin/main-view.php:629
612
  msgid "Text only"
613
  msgstr ""
614
 
615
- #: admin/main-view.php:631
616
  msgid ""
617
  "Enabling this option will disable thumbnails and no longer include the "
618
  "default style sheet included in the plugin."
619
  msgstr ""
620
 
621
- #: admin/main-view.php:646
622
  msgid "Custom CSS to add to header:"
623
  msgstr ""
624
 
625
- #: admin/main-view.php:650
626
  msgid ""
627
  "Do not include <code>style</code> tags. Check out the <a href=\"http://"
628
  "wordpress.org/extend/plugins/contextual-related-posts/faq/\" target=\"_blank"
629
  "\">FAQ</a> for available CSS classes to style."
630
  msgstr ""
631
 
632
- #: admin/main-view.php:690
633
  msgid ""
634
  "Below options override the related posts settings for your blog feed. These "
635
  "only apply if you have selected to add related posts to Feeds in the General "
636
  "Options tab."
637
  msgstr ""
638
 
639
- #: admin/main-view.php:718
640
  msgid "Maximum width of the thumbnail: "
641
  msgstr ""
642
 
643
- #: admin/main-view.php:721
644
  msgid "Maximum height of the thumbnail: "
645
  msgstr ""
646
 
647
- #: admin/main-view.php:756
648
  msgid "Default Options"
649
  msgstr ""
650
 
651
- #: admin/main-view.php:756
652
  msgid "Do you want to set options to Default?"
653
  msgstr ""
654
 
655
- #: admin/main-view.php:757
656
  msgid "Recreate Index"
657
  msgstr ""
658
 
659
- #: admin/main-view.php:757
660
  msgid "Are you sure you want to recreate the index?"
661
  msgstr ""
662
 
663
- #: admin/main-view.php:762
664
  msgid ""
665
  "One or more FULLTEXT indices are missing. Please hit the <a href="
666
  "\"#crp_recreate\">Recreate Index button</a> at the bottom of the page to fix "
667
  "this."
668
  msgstr ""
669
 
670
- #: admin/metabox.php:100
671
  msgid "Location of thumbnail:"
672
  msgstr ""
673
 
674
- #: admin/metabox.php:102
675
  msgid ""
676
  "Enter the full URL to the image (JPG, PNG or GIF) you'd like to use. This "
677
  "image will be used for the post. It will be resized to the thumbnail size "
678
  "set under Settings &raquo; Related Posts &raquo; Output Options"
679
  msgstr ""
680
 
681
- #: admin/metabox.php:103
682
  msgid "The URL above is saved in the meta field:"
683
  msgstr ""
684
 
685
- #: admin/metabox.php:108
686
  msgid ""
687
  "You have Top 10 WordPress Plugin installed. If you are trying to modify the "
688
  "thumbnail, then you'll need to make the same change in the Top 10 meta box "
689
  "on this page."
690
  msgstr ""
691
 
692
- #: admin/metabox.php:119
693
  msgid "Disable Related Posts display:"
694
  msgstr ""
695
 
696
- #: admin/metabox.php:122
697
  msgid ""
698
  "If this is checked, then Contextual Related Posts will not automatically "
699
  "insert the related posts at the end of post content."
700
  msgstr ""
701
 
702
- #: admin/metabox.php:127 admin/metabox.php:135
703
  msgid "Manual related posts:"
704
  msgstr ""
705
 
706
- #: admin/metabox.php:129
707
  msgid ""
708
  "Comma separated list of post, page or custom post type IDs. e.g. "
709
  "188,320,500. These will be given preference over the related posts generated "
710
  "by the plugin."
711
  msgstr ""
712
 
713
- #: admin/metabox.php:130
714
  msgid ""
715
  "Once you enter the list above and save this page, the plugin will display "
716
  "the titles of the posts below for your reference. Only IDs corresponding to "
717
  "published posts or custom post types will be retained."
718
  msgstr ""
719
 
720
- #: admin/metabox.php:144
721
  msgid "This post type is:"
722
  msgstr ""
723
 
@@ -741,44 +748,44 @@ msgstr ""
741
  msgid "Follow me"
742
  msgstr ""
743
 
744
- #: admin/sidebar-view.php:53
745
  msgid "Quick links"
746
  msgstr ""
747
 
748
- #: admin/sidebar-view.php:57
749
  msgid "Plugin homepage"
750
  msgstr ""
751
 
752
- #: admin/sidebar-view.php:58
753
  msgid "FAQ"
754
  msgstr ""
755
 
756
- #: admin/sidebar-view.php:60
757
  msgid "Reviews"
758
  msgstr ""
759
 
760
- #: admin/sidebar-view.php:61
761
  msgid "Github repository"
762
  msgstr ""
763
 
764
- #: admin/sidebar-view.php:62
765
  msgid "Other plugins"
766
  msgstr ""
767
 
768
- #: admin/sidebar-view.php:63
769
  msgid "Ajay's blog"
770
  msgstr ""
771
 
772
- #: contextual-related-posts.php:178
773
  #, php-format
774
  msgid "Powered by <a href=\"%s\" rel=\"nofollow\">Contextual Related Posts</a>"
775
  msgstr ""
776
 
777
- #: contextual-related-posts.php:659
778
  msgid "<h3>Related Posts:</h3>"
779
  msgstr ""
780
 
781
- #: contextual-related-posts.php:661
782
  msgid "No related posts found"
783
  msgstr ""
784
 
@@ -838,15 +845,15 @@ msgstr ""
838
  msgid "Post types to include:"
839
  msgstr ""
840
 
841
- #: includes/media-handler.php:68
842
  msgid "thumb_timthumb argument has been deprecated"
843
  msgstr ""
844
 
845
- #: includes/media-handler.php:72
846
  msgid "thumb_timthumb_q argument has been deprecated"
847
  msgstr ""
848
 
849
- #: includes/media-handler.php:76
850
  msgid "filter argument has been deprecated"
851
  msgstr ""
852
 
3
  msgstr ""
4
  "Project-Id-Version: Contextual Related Posts\n"
5
  "Report-Msgid-Bugs-To: \n"
6
+ "POT-Creation-Date: 2015-09-27 13:34+0100\n"
7
  "PO-Revision-Date: \n"
8
  "Last-Translator: Ajay D'Souza <me@ajaydsouza.com>\n"
9
  "Language-Team: plugins@webberzone.com\n"
17
  "X-Poedit-SourceCharset: UTF-8\n"
18
  "X-Poedit-SearchPath-0: .\n"
19
 
20
+ #: admin/admin.php:191
21
  msgid "Options saved successfully. If enabled, the cache has been cleared."
22
  msgstr ""
23
 
24
+ #: admin/admin.php:194
25
  msgid ""
26
  "Rounded Thumbnails style selected. Author, Excerpt and Date will not be "
27
  "displayed."
28
  msgstr ""
29
 
30
+ #: admin/admin.php:197
31
  msgid "Text Only style selected. Thumbnails will not be displayed."
32
  msgstr ""
33
 
34
+ #: admin/admin.php:200
35
  #, php-format
36
  msgid "Pre-built thumbnail size selected. Thumbnail set to %d x %d."
37
  msgstr ""
38
 
39
+ #: admin/admin.php:224
40
  msgid "Options set to Default."
41
  msgstr ""
42
 
43
+ #: admin/admin.php:233
44
  msgid "Index recreated"
45
  msgstr ""
46
 
48
  msgid "Related Posts"
49
  msgstr ""
50
 
51
+ #: admin/cache.php:42
52
  msgid ""
53
  "An error occurred clearing the cache. Please contact your site administrator."
54
  "\\n\\nError message:\\n"
55
  msgstr ""
56
 
57
+ #: admin/cache.php:47
58
  msgid " cached row(s) cleared"
59
  msgstr ""
60
 
62
  msgid "Settings"
63
  msgstr ""
64
 
65
+ #: admin/loader.php:46 admin/sidebar-view.php:72
66
  msgid "Support"
67
  msgstr ""
68
 
86
  msgid "List tuning options"
87
  msgstr ""
88
 
89
+ #: admin/main-view.php:34 admin/main-view.php:249
90
  msgid "Output options"
91
  msgstr ""
92
 
93
+ #: admin/main-view.php:35 admin/main-view.php:453
94
  #: includes/class-crp-widget.php:93
95
  msgid "Thumbnail options"
96
  msgstr ""
97
 
98
+ #: admin/main-view.php:36 admin/main-view.php:608
99
  msgid "Styles"
100
  msgstr ""
101
 
102
+ #: admin/main-view.php:37 admin/main-view.php:686
103
  msgid "Feed options"
104
  msgstr ""
105
 
215
  "in the list."
216
  msgstr ""
217
 
218
+ #: admin/main-view.php:135 admin/main-view.php:242 admin/main-view.php:446
219
+ #: admin/main-view.php:601 admin/main-view.php:679 admin/main-view.php:751
220
+ #: admin/main-view.php:767
221
  msgid "Save Options"
222
  msgstr ""
223
 
224
+ #: admin/main-view.php:158 admin/main-view.php:704
225
  msgid "Number of related posts to display: "
226
  msgstr ""
227
 
281
  msgid "List of post or page IDs to exclude from the results:"
282
  msgstr ""
283
 
284
+ #: admin/main-view.php:197 admin/main-view.php:377
285
  msgid ""
286
  "Comma separated list of post, page or custom post type IDs. e.g. 188,320,500"
287
  msgstr ""
297
  "prompt you with options."
298
  msgstr ""
299
 
300
+ #: admin/main-view.php:216
301
  msgid "Excluded category IDs are:"
302
  msgstr ""
303
 
304
+ #: admin/main-view.php:222
305
+ msgid ""
306
+ "These might differ from the IDs visible in the Categories page which use the "
307
+ "<code>term_id</code>. CRP uses the <code>term_taxonomy_id</code> which is "
308
+ "unique to this taxonomy."
309
+ msgstr ""
310
+
311
+ #: admin/main-view.php:265
312
  msgid "Title of related posts:"
313
  msgstr ""
314
 
315
+ #: admin/main-view.php:268
316
  msgid ""
317
  "This is the main heading of the related posts. You can also display the "
318
  "current post title by using <code>%postname%</code>. e.g. <code>Related "
319
  "Posts to %postname%</code>"
320
  msgstr ""
321
 
322
+ #: admin/main-view.php:272
323
  msgid "When there are no posts, what should be shown?"
324
  msgstr ""
325
 
326
+ #: admin/main-view.php:276
327
  msgid "Blank Output"
328
  msgstr ""
329
 
330
+ #: admin/main-view.php:281
331
  msgid "Display:"
332
  msgstr ""
333
 
334
+ #: admin/main-view.php:287 admin/main-view.php:707
335
  msgid "Show post excerpt in list?"
336
  msgstr ""
337
 
338
+ #: admin/main-view.php:290
339
  #, php-format
340
  msgid ""
341
  "Displays the excerpt of the post. If you do not provide an explicit excerpt "
343
  "automatic excerpt which refers to the first %d words of the post's content"
344
  msgstr ""
345
 
346
+ #: admin/main-view.php:293
347
  msgid ""
348
  "Rounded Thumbnails style selected under the Custom Styles. Excerpt display "
349
  "is disabled."
350
  msgstr ""
351
 
352
+ #: admin/main-view.php:298
353
  msgid "Length of excerpt (in words):"
354
  msgstr ""
355
 
356
+ #: admin/main-view.php:304
357
  msgid "Show post author in list?"
358
  msgstr ""
359
 
360
+ #: admin/main-view.php:307
361
  msgid "Displays the author name prefixed with \"by\". e.g. by John Doe"
362
  msgstr ""
363
 
364
+ #: admin/main-view.php:310
365
  msgid ""
366
  "Rounded Thumbnails style selected under the Custom Styles. Author display is "
367
  "disabled."
368
  msgstr ""
369
 
370
+ #: admin/main-view.php:315
371
  msgid "Show post date in list?"
372
  msgstr ""
373
 
374
+ #: admin/main-view.php:318
375
  msgid ""
376
  "Displays the date of the post. Uses the same date format set in General "
377
  "Options"
378
  msgstr ""
379
 
380
+ #: admin/main-view.php:321
381
  msgid ""
382
  "Rounded Thumbnails style selected under the Custom Styles. Date display is "
383
  "disabled."
384
  msgstr ""
385
 
386
+ #: admin/main-view.php:326
387
  msgid "Limit post title length (in characters)"
388
  msgstr ""
389
 
390
+ #: admin/main-view.php:329
391
  msgid ""
392
  "Any title longer than the number of characters set above will be cut and "
393
  "appended with an ellipsis (&hellip;)"
394
  msgstr ""
395
 
396
+ #: admin/main-view.php:333
397
  msgid "Open links in new window"
398
  msgstr ""
399
 
400
+ #: admin/main-view.php:339
401
  msgid "Add nofollow attribute to links in the list"
402
  msgstr ""
403
 
404
+ #: admin/main-view.php:372
405
  msgid "Exclusion settings:"
406
  msgstr ""
407
 
408
+ #: admin/main-view.php:374
409
  msgid "Exclude display of related posts on these posts / pages"
410
  msgstr ""
411
 
412
+ #: admin/main-view.php:380
413
  msgid "Exclude display of related posts on these post types."
414
  msgstr ""
415
 
416
+ #: admin/main-view.php:387
417
  msgid ""
418
  "The related posts will not display on any of the above selected post types"
419
  msgstr ""
420
 
421
+ #: admin/main-view.php:417
422
  msgid "Customize the output:"
423
  msgstr ""
424
 
425
+ #: admin/main-view.php:419
426
  msgid "HTML to display before the list of posts: "
427
  msgstr ""
428
 
429
+ #: admin/main-view.php:422
430
  msgid "HTML to display before each list item: "
431
  msgstr ""
432
 
433
+ #: admin/main-view.php:425
434
  msgid "HTML to display after each list item: "
435
  msgstr ""
436
 
437
+ #: admin/main-view.php:428
438
  msgid "HTML to display after the list of posts: "
439
  msgstr ""
440
 
441
+ #: admin/main-view.php:469 admin/main-view.php:710
442
  msgid "Location of post thumbnail:"
443
  msgstr ""
444
 
445
+ #: admin/main-view.php:473 admin/main-view.php:714
446
  msgid "Display thumbnails inline with posts, before title"
447
  msgstr ""
448
 
449
+ #: admin/main-view.php:477 admin/main-view.php:718
450
  msgid "Display thumbnails inline with posts, after title"
451
  msgstr ""
452
 
453
+ #: admin/main-view.php:481 admin/main-view.php:722
454
  msgid "Display only thumbnails, no text"
455
  msgstr ""
456
 
457
+ #: admin/main-view.php:485 admin/main-view.php:726
458
  msgid "Do not display thumbnails, only text."
459
  msgstr ""
460
 
461
+ #: admin/main-view.php:488
462
  msgid ""
463
  "This setting cannot be changed because an inbuilt style has been selected "
464
  "under the Styles section. If you would like to change this option, please "
465
  "select <strong>No styles</strong> under the Styles section."
466
  msgstr ""
467
 
468
+ #: admin/main-view.php:492
469
  msgid "Thumbnail size:"
470
  msgstr ""
471
 
472
+ #: admin/main-view.php:516
473
  msgid "Custom size"
474
  msgstr ""
475
 
476
+ #: admin/main-view.php:519
477
  msgid "You can choose from existing image sizes above or create a custom size."
478
  msgstr ""
479
 
480
+ #: admin/main-view.php:520
481
  msgid ""
482
  "If you choose an existing size, then the width, height and crop mode "
483
  "settings in the three options below will be automatically updated to reflect "
484
  "the correct dimensions of the setting."
485
  msgstr ""
486
 
487
+ #: admin/main-view.php:521
488
  msgid ""
489
  "If you have chosen Custom size above, then enter the width, height and crop "
490
  "settings below. For best results, use a cropped image with the same width "
491
  "and height. The default setting is 150x150 cropped image."
492
  msgstr ""
493
 
494
+ #: admin/main-view.php:522
495
  msgid ""
496
  "Any changes to the thumbnail settings doesn't automatically resize existing "
497
  "images."
498
  msgstr ""
499
 
500
+ #: admin/main-view.php:523
501
  #, php-format
502
  msgid ""
503
  "I recommend using <a href='%s' class='thickbox'>OTF Regenerate Thumbnails</"
505
  "all image sizes."
506
  msgstr ""
507
 
508
+ #: admin/main-view.php:527
509
  msgid "Width of the thumbnail:"
510
  msgstr ""
511
 
512
+ #: admin/main-view.php:530
513
  msgid "Height of the thumbnail: "
514
  msgstr ""
515
 
516
+ #: admin/main-view.php:535
517
  msgid "Crop mode:"
518
  msgstr ""
519
 
520
+ #: admin/main-view.php:539
521
  msgid ""
522
  "By default, thumbnails will be hard cropped. Uncheck this box to "
523
  "proportionately/soft crop the thumbnails."
524
  msgstr ""
525
 
526
+ #: admin/main-view.php:540
527
  #, php-format
528
  msgid "<a href='%s' target='_blank'>Difference between soft and hard crop</a>"
529
  msgstr ""
530
 
531
+ #: admin/main-view.php:544
532
  msgid "Image size attributes:"
533
  msgstr ""
534
 
535
+ #: admin/main-view.php:548
536
  msgid "Style attributes are used for width and height."
537
  msgstr ""
538
 
539
+ #: admin/main-view.php:554
540
  msgid "HTML width and height attributes are used for width and height."
541
  msgstr ""
542
 
543
+ #: admin/main-view.php:560
544
  msgid "No HTML or Style attributes set for width and height"
545
  msgstr ""
546
 
547
+ #: admin/main-view.php:565
548
  msgid "Post thumbnail meta field name:"
549
  msgstr ""
550
 
551
+ #: admin/main-view.php:567
552
  msgid ""
553
  "The value of this field should contain a direct link to the image. This is "
554
  "set in the meta box in the <em>Add New Post</em> screen."
555
  msgstr ""
556
 
557
+ #: admin/main-view.php:570
558
  msgid "Extract the first image from the post?"
559
  msgstr ""
560
 
561
+ #: admin/main-view.php:572
562
  msgid ""
563
  "This will only happen if there is no post thumbnail set and no image URL is "
564
  "specified in the meta field."
565
  msgstr ""
566
 
567
+ #: admin/main-view.php:575
568
  msgid "Use default thumbnail?"
569
  msgstr ""
570
 
571
+ #: admin/main-view.php:577
572
  msgid ""
573
  "If checked, when no thumbnail is found, show a default one from the URL "
574
  "below. If not checked and no thumbnail is found, no image will be shown."
575
  msgstr ""
576
 
577
+ #: admin/main-view.php:580
578
  msgid "Default thumbnail:"
579
  msgstr ""
580
 
581
+ #: admin/main-view.php:583
582
  msgid ""
583
  "The plugin will first check if the post contains a thumbnail. If it doesn't "
584
  "then it will check the meta field. If this is not available, then it will "
585
  "show the default image as specified above."
586
  msgstr ""
587
 
588
+ #: admin/main-view.php:624
589
  msgid "Style of the related posts:"
590
  msgstr ""
591
 
592
+ #: admin/main-view.php:627
593
  msgid "No styles"
594
  msgstr ""
595
 
596
+ #: admin/main-view.php:629
597
  msgid "Select this option if you plan to add your own styles"
598
  msgstr ""
599
 
600
+ #: admin/main-view.php:633
601
  msgid "Rounded Thumbnails"
602
  msgstr ""
603
 
604
+ #: admin/main-view.php:636
605
  msgid ""
606
  "Enabling this option will turn on the thumbnails and set their width and "
607
  "height to 150px. It will also turn off the display of the author, excerpt "
609
  "settings."
610
  msgstr ""
611
 
612
+ #: admin/main-view.php:637
613
  #, php-format
614
  msgid ""
615
  "You can view the default style at <a href=\"%1$s\" target=\"_blank\">%1$s</a>"
616
  msgstr ""
617
 
618
+ #: admin/main-view.php:641
619
  msgid "Text only"
620
  msgstr ""
621
 
622
+ #: admin/main-view.php:643
623
  msgid ""
624
  "Enabling this option will disable thumbnails and no longer include the "
625
  "default style sheet included in the plugin."
626
  msgstr ""
627
 
628
+ #: admin/main-view.php:658
629
  msgid "Custom CSS to add to header:"
630
  msgstr ""
631
 
632
+ #: admin/main-view.php:662
633
  msgid ""
634
  "Do not include <code>style</code> tags. Check out the <a href=\"http://"
635
  "wordpress.org/extend/plugins/contextual-related-posts/faq/\" target=\"_blank"
636
  "\">FAQ</a> for available CSS classes to style."
637
  msgstr ""
638
 
639
+ #: admin/main-view.php:702
640
  msgid ""
641
  "Below options override the related posts settings for your blog feed. These "
642
  "only apply if you have selected to add related posts to Feeds in the General "
643
  "Options tab."
644
  msgstr ""
645
 
646
+ #: admin/main-view.php:730
647
  msgid "Maximum width of the thumbnail: "
648
  msgstr ""
649
 
650
+ #: admin/main-view.php:733
651
  msgid "Maximum height of the thumbnail: "
652
  msgstr ""
653
 
654
+ #: admin/main-view.php:768
655
  msgid "Default Options"
656
  msgstr ""
657
 
658
+ #: admin/main-view.php:768
659
  msgid "Do you want to set options to Default?"
660
  msgstr ""
661
 
662
+ #: admin/main-view.php:769
663
  msgid "Recreate Index"
664
  msgstr ""
665
 
666
+ #: admin/main-view.php:769
667
  msgid "Are you sure you want to recreate the index?"
668
  msgstr ""
669
 
670
+ #: admin/main-view.php:774
671
  msgid ""
672
  "One or more FULLTEXT indices are missing. Please hit the <a href="
673
  "\"#crp_recreate\">Recreate Index button</a> at the bottom of the page to fix "
674
  "this."
675
  msgstr ""
676
 
677
+ #: admin/metabox.php:98
678
  msgid "Location of thumbnail:"
679
  msgstr ""
680
 
681
+ #: admin/metabox.php:100
682
  msgid ""
683
  "Enter the full URL to the image (JPG, PNG or GIF) you'd like to use. This "
684
  "image will be used for the post. It will be resized to the thumbnail size "
685
  "set under Settings &raquo; Related Posts &raquo; Output Options"
686
  msgstr ""
687
 
688
+ #: admin/metabox.php:101
689
  msgid "The URL above is saved in the meta field:"
690
  msgstr ""
691
 
692
+ #: admin/metabox.php:106
693
  msgid ""
694
  "You have Top 10 WordPress Plugin installed. If you are trying to modify the "
695
  "thumbnail, then you'll need to make the same change in the Top 10 meta box "
696
  "on this page."
697
  msgstr ""
698
 
699
+ #: admin/metabox.php:117
700
  msgid "Disable Related Posts display:"
701
  msgstr ""
702
 
703
+ #: admin/metabox.php:120
704
  msgid ""
705
  "If this is checked, then Contextual Related Posts will not automatically "
706
  "insert the related posts at the end of post content."
707
  msgstr ""
708
 
709
+ #: admin/metabox.php:125 admin/metabox.php:133
710
  msgid "Manual related posts:"
711
  msgstr ""
712
 
713
+ #: admin/metabox.php:127
714
  msgid ""
715
  "Comma separated list of post, page or custom post type IDs. e.g. "
716
  "188,320,500. These will be given preference over the related posts generated "
717
  "by the plugin."
718
  msgstr ""
719
 
720
+ #: admin/metabox.php:128
721
  msgid ""
722
  "Once you enter the list above and save this page, the plugin will display "
723
  "the titles of the posts below for your reference. Only IDs corresponding to "
724
  "published posts or custom post types will be retained."
725
  msgstr ""
726
 
727
+ #: admin/metabox.php:142
728
  msgid "This post type is:"
729
  msgstr ""
730
 
748
  msgid "Follow me"
749
  msgstr ""
750
 
751
+ #: admin/sidebar-view.php:66
752
  msgid "Quick links"
753
  msgstr ""
754
 
755
+ #: admin/sidebar-view.php:70
756
  msgid "Plugin homepage"
757
  msgstr ""
758
 
759
+ #: admin/sidebar-view.php:71
760
  msgid "FAQ"
761
  msgstr ""
762
 
763
+ #: admin/sidebar-view.php:73
764
  msgid "Reviews"
765
  msgstr ""
766
 
767
+ #: admin/sidebar-view.php:74
768
  msgid "Github repository"
769
  msgstr ""
770
 
771
+ #: admin/sidebar-view.php:75
772
  msgid "Other plugins"
773
  msgstr ""
774
 
775
+ #: admin/sidebar-view.php:76
776
  msgid "Ajay's blog"
777
  msgstr ""
778
 
779
+ #: contextual-related-posts.php:232
780
  #, php-format
781
  msgid "Powered by <a href=\"%s\" rel=\"nofollow\">Contextual Related Posts</a>"
782
  msgstr ""
783
 
784
+ #: contextual-related-posts.php:710
785
  msgid "<h3>Related Posts:</h3>"
786
  msgstr ""
787
 
788
+ #: contextual-related-posts.php:712
789
  msgid "No related posts found"
790
  msgstr ""
791
 
845
  msgid "Post types to include:"
846
  msgstr ""
847
 
848
+ #: includes/media.php:67
849
  msgid "thumb_timthumb argument has been deprecated"
850
  msgstr ""
851
 
852
+ #: includes/media.php:71
853
  msgid "thumb_timthumb_q argument has been deprecated"
854
  msgstr ""
855
 
856
+ #: includes/media.php:75
857
  msgid "filter argument has been deprecated"
858
  msgstr ""
859
 
languages/{crp-es_ES.mo → contextual-related-posts-es_ES.mo} RENAMED
Binary file
languages/{crp-es_ES.po → contextual-related-posts-es_ES.po} RENAMED
@@ -2,7 +2,7 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Contextual Related Posts\n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2015-09-05 11:13+0100\n"
6
  "PO-Revision-Date: \n"
7
  "Last-Translator: Ajay D'Souza <me@ajaydsouza.com>\n"
8
  "Language-Team: \n"
@@ -16,30 +16,30 @@ msgstr ""
16
  "X-Poedit-SourceCharset: UTF-8\n"
17
  "X-Poedit-SearchPath-0: .\n"
18
 
19
- #: admin/admin.php:190
20
  msgid "Options saved successfully. If enabled, the cache has been cleared."
21
  msgstr ""
22
 
23
- #: admin/admin.php:193
24
  msgid ""
25
  "Rounded Thumbnails style selected. Author, Excerpt and Date will not be "
26
  "displayed."
27
  msgstr ""
28
 
29
- #: admin/admin.php:196
30
  msgid "Text Only style selected. Thumbnails will not be displayed."
31
  msgstr ""
32
 
33
- #: admin/admin.php:199
34
  #, php-format
35
  msgid "Pre-built thumbnail size selected. Thumbnail set to %d x %d."
36
  msgstr ""
37
 
38
- #: admin/admin.php:223
39
  msgid "Options set to Default."
40
  msgstr "Restablecer opciones originales"
41
 
42
- #: admin/admin.php:232
43
  msgid "Index recreated"
44
  msgstr "Recrear el Index"
45
 
@@ -47,13 +47,13 @@ msgstr "Recrear el Index"
47
  msgid "Related Posts"
48
  msgstr "Post Relacionados"
49
 
50
- #: admin/cache.php:44
51
  msgid ""
52
  "An error occurred clearing the cache. Please contact your site administrator."
53
  "\\n\\nError message:\\n"
54
  msgstr ""
55
 
56
- #: admin/cache.php:49
57
  msgid " cached row(s) cleared"
58
  msgstr ""
59
 
@@ -61,7 +61,7 @@ msgstr ""
61
  msgid "Settings"
62
  msgstr "Opciones"
63
 
64
- #: admin/loader.php:46 admin/sidebar-view.php:59
65
  msgid "Support"
66
  msgstr "Soporte"
67
 
@@ -86,22 +86,22 @@ msgstr ""
86
  msgid "List tuning options"
87
  msgstr ""
88
 
89
- #: admin/main-view.php:34 admin/main-view.php:239
90
  #, fuzzy
91
  msgid "Output options"
92
  msgstr "Opciones de Salida:"
93
 
94
- #: admin/main-view.php:35 admin/main-view.php:443
95
  #: includes/class-crp-widget.php:93
96
  #, fuzzy
97
  msgid "Thumbnail options"
98
  msgstr "Opciones de miniaturas en el post:"
99
 
100
- #: admin/main-view.php:36 admin/main-view.php:596
101
  msgid "Styles"
102
  msgstr ""
103
 
104
- #: admin/main-view.php:37 admin/main-view.php:674
105
  #, fuzzy
106
  msgid "Feed options"
107
  msgstr "Opciones:"
@@ -225,14 +225,14 @@ msgid ""
225
  "in the list."
226
  msgstr "Posts relacionados contextualmente"
227
 
228
- #: admin/main-view.php:135 admin/main-view.php:232 admin/main-view.php:436
229
- #: admin/main-view.php:589 admin/main-view.php:667 admin/main-view.php:739
230
- #: admin/main-view.php:755
231
  #, fuzzy
232
  msgid "Save Options"
233
  msgstr "Opciones:"
234
 
235
- #: admin/main-view.php:158 admin/main-view.php:692
236
  msgid "Number of related posts to display: "
237
  msgstr "Número de posts relacionados a mostrar:"
238
 
@@ -292,7 +292,7 @@ msgstr ""
292
  msgid "List of post or page IDs to exclude from the results:"
293
  msgstr ""
294
 
295
- #: admin/main-view.php:197 admin/main-view.php:367
296
  msgid ""
297
  "Comma separated list of post, page or custom post type IDs. e.g. 188,320,500"
298
  msgstr ""
@@ -308,38 +308,45 @@ msgid ""
308
  "prompt you with options."
309
  msgstr ""
310
 
311
- #: admin/main-view.php:214
312
  msgid "Excluded category IDs are:"
313
  msgstr ""
314
 
315
- #: admin/main-view.php:255
 
 
 
 
 
 
 
316
  msgid "Title of related posts:"
317
  msgstr ""
318
 
319
- #: admin/main-view.php:258
320
  msgid ""
321
  "This is the main heading of the related posts. You can also display the "
322
  "current post title by using <code>%postname%</code>. e.g. <code>Related "
323
  "Posts to %postname%</code>"
324
  msgstr ""
325
 
326
- #: admin/main-view.php:262
327
  msgid "When there are no posts, what should be shown?"
328
  msgstr "Cuando no hay posts, ¿Qué se debe mostrar?"
329
 
330
- #: admin/main-view.php:266
331
  msgid "Blank Output"
332
  msgstr "Salida vacía"
333
 
334
- #: admin/main-view.php:271
335
  msgid "Display:"
336
  msgstr ""
337
 
338
- #: admin/main-view.php:277 admin/main-view.php:695
339
  msgid "Show post excerpt in list?"
340
  msgstr "¿Mostrar extracto con los items?"
341
 
342
- #: admin/main-view.php:280
343
  #, php-format
344
  msgid ""
345
  "Displays the excerpt of the post. If you do not provide an explicit excerpt "
@@ -347,168 +354,168 @@ msgid ""
347
  "automatic excerpt which refers to the first %d words of the post's content"
348
  msgstr ""
349
 
350
- #: admin/main-view.php:283
351
  msgid ""
352
  "Rounded Thumbnails style selected under the Custom Styles. Excerpt display "
353
  "is disabled."
354
  msgstr ""
355
 
356
- #: admin/main-view.php:288
357
  msgid "Length of excerpt (in words):"
358
  msgstr ""
359
 
360
- #: admin/main-view.php:294
361
  #, fuzzy
362
  msgid "Show post author in list?"
363
  msgstr "¿Mostrar extracto con los items?"
364
 
365
- #: admin/main-view.php:297
366
  msgid "Displays the author name prefixed with \"by\". e.g. by John Doe"
367
  msgstr ""
368
 
369
- #: admin/main-view.php:300
370
  msgid ""
371
  "Rounded Thumbnails style selected under the Custom Styles. Author display is "
372
  "disabled."
373
  msgstr ""
374
 
375
- #: admin/main-view.php:305
376
  #, fuzzy
377
  msgid "Show post date in list?"
378
  msgstr "¿Mostrar extracto con los items?"
379
 
380
- #: admin/main-view.php:308
381
  msgid ""
382
  "Displays the date of the post. Uses the same date format set in General "
383
  "Options"
384
  msgstr ""
385
 
386
- #: admin/main-view.php:311
387
  msgid ""
388
  "Rounded Thumbnails style selected under the Custom Styles. Date display is "
389
  "disabled."
390
  msgstr ""
391
 
392
- #: admin/main-view.php:316
393
  msgid "Limit post title length (in characters)"
394
  msgstr ""
395
 
396
- #: admin/main-view.php:319
397
  msgid ""
398
  "Any title longer than the number of characters set above will be cut and "
399
  "appended with an ellipsis (&hellip;)"
400
  msgstr ""
401
 
402
- #: admin/main-view.php:323
403
  msgid "Open links in new window"
404
  msgstr ""
405
 
406
- #: admin/main-view.php:329
407
  msgid "Add nofollow attribute to links in the list"
408
  msgstr ""
409
 
410
- #: admin/main-view.php:362
411
  #, fuzzy
412
  msgid "Exclusion settings:"
413
  msgstr "sitio del plugin"
414
 
415
- #: admin/main-view.php:364
416
  #, fuzzy
417
  msgid "Exclude display of related posts on these posts / pages"
418
  msgstr "Agregar posts relacionados al feed"
419
 
420
- #: admin/main-view.php:370
421
  #, fuzzy
422
  msgid "Exclude display of related posts on these post types."
423
  msgstr "Agregar posts relacionados al feed"
424
 
425
- #: admin/main-view.php:377
426
  msgid ""
427
  "The related posts will not display on any of the above selected post types"
428
  msgstr ""
429
 
430
- #: admin/main-view.php:407
431
  msgid "Customize the output:"
432
  msgstr "Personalizar la salida:"
433
 
434
- #: admin/main-view.php:409
435
  msgid "HTML to display before the list of posts: "
436
  msgstr "HTML a mostrar antes de todos los items:"
437
 
438
- #: admin/main-view.php:412
439
  msgid "HTML to display before each list item: "
440
  msgstr "HTML a mostrar antes de cada item:"
441
 
442
- #: admin/main-view.php:415
443
  msgid "HTML to display after each list item: "
444
  msgstr "HTML a mostrar despues de cada item:"
445
 
446
- #: admin/main-view.php:418
447
  msgid "HTML to display after the list of posts: "
448
  msgstr "HTML a mostrar despues de todos los items:"
449
 
450
- #: admin/main-view.php:459 admin/main-view.php:698
451
  msgid "Location of post thumbnail:"
452
  msgstr ""
453
 
454
- #: admin/main-view.php:463 admin/main-view.php:702
455
  #, fuzzy
456
  msgid "Display thumbnails inline with posts, before title"
457
  msgstr "Miniaturas en línea con los posts"
458
 
459
- #: admin/main-view.php:467 admin/main-view.php:706
460
  #, fuzzy
461
  msgid "Display thumbnails inline with posts, after title"
462
  msgstr "Miniaturas en línea con los posts"
463
 
464
- #: admin/main-view.php:471 admin/main-view.php:710
465
  msgid "Display only thumbnails, no text"
466
  msgstr "Solo miniaturas, sin texto"
467
 
468
- #: admin/main-view.php:475 admin/main-view.php:714
469
  msgid "Do not display thumbnails, only text."
470
  msgstr "No mostrar miniaturas, solo texto."
471
 
472
- #: admin/main-view.php:478
473
  msgid ""
474
  "This setting cannot be changed because an inbuilt style has been selected "
475
  "under the Styles section. If you would like to change this option, please "
476
  "select <strong>No styles</strong> under the Styles section."
477
  msgstr ""
478
 
479
- #: admin/main-view.php:482
480
  msgid "Thumbnail size:"
481
  msgstr ""
482
 
483
- #: admin/main-view.php:506
484
  msgid "Custom size"
485
  msgstr ""
486
 
487
- #: admin/main-view.php:509
488
  msgid "You can choose from existing image sizes above or create a custom size."
489
  msgstr ""
490
 
491
- #: admin/main-view.php:510
492
  msgid ""
493
  "If you choose an existing size, then the width, height and crop mode "
494
  "settings in the three options below will be automatically updated to reflect "
495
  "the correct dimensions of the setting."
496
  msgstr ""
497
 
498
- #: admin/main-view.php:511
499
  msgid ""
500
  "If you have chosen Custom size above, then enter the width, height and crop "
501
  "settings below. For best results, use a cropped image with the same width "
502
  "and height. The default setting is 150x150 cropped image."
503
  msgstr ""
504
 
505
- #: admin/main-view.php:512
506
  msgid ""
507
  "Any changes to the thumbnail settings doesn't automatically resize existing "
508
  "images."
509
  msgstr ""
510
 
511
- #: admin/main-view.php:513
512
  #, php-format
513
  msgid ""
514
  "I recommend using <a href='%s' class='thickbox'>OTF Regenerate Thumbnails</"
@@ -516,82 +523,82 @@ msgid ""
516
  "all image sizes."
517
  msgstr ""
518
 
519
- #: admin/main-view.php:517
520
  msgid "Width of the thumbnail:"
521
  msgstr ""
522
 
523
- #: admin/main-view.php:520
524
  msgid "Height of the thumbnail: "
525
  msgstr ""
526
 
527
- #: admin/main-view.php:525
528
  msgid "Crop mode:"
529
  msgstr ""
530
 
531
- #: admin/main-view.php:529
532
  msgid ""
533
  "By default, thumbnails will be hard cropped. Uncheck this box to "
534
  "proportionately/soft crop the thumbnails."
535
  msgstr ""
536
 
537
- #: admin/main-view.php:530
538
  #, php-format
539
  msgid "<a href='%s' target='_blank'>Difference between soft and hard crop</a>"
540
  msgstr ""
541
 
542
- #: admin/main-view.php:534
543
  msgid "Image size attributes:"
544
  msgstr ""
545
 
546
- #: admin/main-view.php:538
547
  msgid "Style attributes are used for width and height."
548
  msgstr ""
549
 
550
- #: admin/main-view.php:543
551
  msgid "HTML width and height attributes are used for width and height."
552
  msgstr ""
553
 
554
- #: admin/main-view.php:548
555
  msgid "No HTML or Style attributes set for width and height"
556
  msgstr ""
557
 
558
- #: admin/main-view.php:553
559
  #, fuzzy
560
  msgid "Post thumbnail meta field name:"
561
  msgstr "Opciones de miniaturas en el post:"
562
 
563
- #: admin/main-view.php:555
564
  msgid ""
565
  "The value of this field should contain a direct link to the image. This is "
566
  "set in the meta box in the <em>Add New Post</em> screen."
567
  msgstr ""
568
 
569
- #: admin/main-view.php:558
570
  msgid "Extract the first image from the post?"
571
  msgstr ""
572
 
573
- #: admin/main-view.php:560
574
  msgid ""
575
  "This will only happen if there is no post thumbnail set and no image URL is "
576
  "specified in the meta field."
577
  msgstr ""
578
 
579
- #: admin/main-view.php:563
580
  msgid "Use default thumbnail?"
581
  msgstr ""
582
 
583
- #: admin/main-view.php:565
584
  msgid ""
585
  "If checked, when no thumbnail is found, show a default one from the URL "
586
  "below. If not checked and no thumbnail is found, no image will be shown."
587
  msgstr ""
588
 
589
- #: admin/main-view.php:568
590
  #, fuzzy
591
  msgid "Default thumbnail:"
592
  msgstr "Opciones de Salida:"
593
 
594
- #: admin/main-view.php:571
595
  #, fuzzy
596
  msgid ""
597
  "The plugin will first check if the post contains a thumbnail. If it doesn't "
@@ -602,23 +609,23 @@ msgstr ""
602
  "ninguno verificará el campo meta. Si no está disponible, entonces mostrará "
603
  "la imágen padrón especificada a continuación:"
604
 
605
- #: admin/main-view.php:612
606
  msgid "Style of the related posts:"
607
  msgstr ""
608
 
609
- #: admin/main-view.php:615
610
  msgid "No styles"
611
  msgstr ""
612
 
613
- #: admin/main-view.php:617
614
  msgid "Select this option if you plan to add your own styles"
615
  msgstr ""
616
 
617
- #: admin/main-view.php:621
618
  msgid "Rounded Thumbnails"
619
  msgstr ""
620
 
621
- #: admin/main-view.php:624
622
  msgid ""
623
  "Enabling this option will turn on the thumbnails and set their width and "
624
  "height to 150px. It will also turn off the display of the author, excerpt "
@@ -626,123 +633,123 @@ msgid ""
626
  "settings."
627
  msgstr ""
628
 
629
- #: admin/main-view.php:625
630
  #, php-format
631
  msgid ""
632
  "You can view the default style at <a href=\"%1$s\" target=\"_blank\">%1$s</a>"
633
  msgstr ""
634
 
635
- #: admin/main-view.php:629
636
  msgid "Text only"
637
  msgstr ""
638
 
639
- #: admin/main-view.php:631
640
  msgid ""
641
  "Enabling this option will disable thumbnails and no longer include the "
642
  "default style sheet included in the plugin."
643
  msgstr ""
644
 
645
- #: admin/main-view.php:646
646
  msgid "Custom CSS to add to header:"
647
  msgstr ""
648
 
649
- #: admin/main-view.php:650
650
  msgid ""
651
  "Do not include <code>style</code> tags. Check out the <a href=\"http://"
652
  "wordpress.org/extend/plugins/contextual-related-posts/faq/\" target=\"_blank"
653
  "\">FAQ</a> for available CSS classes to style."
654
  msgstr ""
655
 
656
- #: admin/main-view.php:690
657
  msgid ""
658
  "Below options override the related posts settings for your blog feed. These "
659
  "only apply if you have selected to add related posts to Feeds in the General "
660
  "Options tab."
661
  msgstr ""
662
 
663
- #: admin/main-view.php:718
664
  msgid "Maximum width of the thumbnail: "
665
  msgstr ""
666
 
667
- #: admin/main-view.php:721
668
  msgid "Maximum height of the thumbnail: "
669
  msgstr ""
670
 
671
- #: admin/main-view.php:756
672
  #, fuzzy
673
  msgid "Default Options"
674
  msgstr "Opciones de Salida:"
675
 
676
- #: admin/main-view.php:756
677
  msgid "Do you want to set options to Default?"
678
  msgstr "¿Quieres resetear las opciones?"
679
 
680
- #: admin/main-view.php:757
681
  msgid "Recreate Index"
682
  msgstr ""
683
 
684
- #: admin/main-view.php:757
685
  msgid "Are you sure you want to recreate the index?"
686
  msgstr "¿Está seguro que quiere recrear el index?"
687
 
688
- #: admin/main-view.php:762
689
  msgid ""
690
  "One or more FULLTEXT indices are missing. Please hit the <a href="
691
  "\"#crp_recreate\">Recreate Index button</a> at the bottom of the page to fix "
692
  "this."
693
  msgstr ""
694
 
695
- #: admin/metabox.php:100
696
  msgid "Location of thumbnail:"
697
  msgstr ""
698
 
699
- #: admin/metabox.php:102
700
  msgid ""
701
  "Enter the full URL to the image (JPG, PNG or GIF) you'd like to use. This "
702
  "image will be used for the post. It will be resized to the thumbnail size "
703
  "set under Settings &raquo; Related Posts &raquo; Output Options"
704
  msgstr ""
705
 
706
- #: admin/metabox.php:103
707
  msgid "The URL above is saved in the meta field:"
708
  msgstr ""
709
 
710
- #: admin/metabox.php:108
711
  msgid ""
712
  "You have Top 10 WordPress Plugin installed. If you are trying to modify the "
713
  "thumbnail, then you'll need to make the same change in the Top 10 meta box "
714
  "on this page."
715
  msgstr ""
716
 
717
- #: admin/metabox.php:119
718
  msgid "Disable Related Posts display:"
719
  msgstr ""
720
 
721
- #: admin/metabox.php:122
722
  msgid ""
723
  "If this is checked, then Contextual Related Posts will not automatically "
724
  "insert the related posts at the end of post content."
725
  msgstr ""
726
 
727
- #: admin/metabox.php:127 admin/metabox.php:135
728
  msgid "Manual related posts:"
729
  msgstr ""
730
 
731
- #: admin/metabox.php:129
732
  msgid ""
733
  "Comma separated list of post, page or custom post type IDs. e.g. "
734
  "188,320,500. These will be given preference over the related posts generated "
735
  "by the plugin."
736
  msgstr ""
737
 
738
- #: admin/metabox.php:130
739
  msgid ""
740
  "Once you enter the list above and save this page, the plugin will display "
741
  "the titles of the posts below for your reference. Only IDs corresponding to "
742
  "published posts or custom post types will be retained."
743
  msgstr ""
744
 
745
- #: admin/metabox.php:144
746
  msgid "This post type is:"
747
  msgstr ""
748
 
@@ -768,45 +775,45 @@ msgstr "Enviar tu donación al autor de"
768
  msgid "Follow me"
769
  msgstr ""
770
 
771
- #: admin/sidebar-view.php:53
772
  #, fuzzy
773
  msgid "Quick links"
774
  msgstr "Links rápidos"
775
 
776
- #: admin/sidebar-view.php:57
777
  msgid "Plugin homepage"
778
  msgstr ""
779
 
780
- #: admin/sidebar-view.php:58
781
  msgid "FAQ"
782
  msgstr ""
783
 
784
- #: admin/sidebar-view.php:60
785
  msgid "Reviews"
786
  msgstr ""
787
 
788
- #: admin/sidebar-view.php:61
789
  msgid "Github repository"
790
  msgstr ""
791
 
792
- #: admin/sidebar-view.php:62
793
  msgid "Other plugins"
794
  msgstr "Otros plugins"
795
 
796
- #: admin/sidebar-view.php:63
797
  msgid "Ajay's blog"
798
  msgstr ""
799
 
800
- #: contextual-related-posts.php:178
801
  #, php-format
802
  msgid "Powered by <a href=\"%s\" rel=\"nofollow\">Contextual Related Posts</a>"
803
  msgstr ""
804
 
805
- #: contextual-related-posts.php:659
806
  msgid "<h3>Related Posts:</h3>"
807
  msgstr "<h3>Post Relacionados:</h3>"
808
 
809
- #: contextual-related-posts.php:661
810
  #, fuzzy
811
  msgid "No related posts found"
812
  msgstr "No hay posts relacionados"
@@ -877,15 +884,15 @@ msgstr "Opciones de miniaturas en el post:"
877
  msgid "Post types to include:"
878
  msgstr ""
879
 
880
- #: includes/media-handler.php:68
881
  msgid "thumb_timthumb argument has been deprecated"
882
  msgstr ""
883
 
884
- #: includes/media-handler.php:72
885
  msgid "thumb_timthumb_q argument has been deprecated"
886
  msgstr ""
887
 
888
- #: includes/media-handler.php:76
889
  msgid "filter argument has been deprecated"
890
  msgstr ""
891
 
2
  msgstr ""
3
  "Project-Id-Version: Contextual Related Posts\n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2015-09-27 13:34+0100\n"
6
  "PO-Revision-Date: \n"
7
  "Last-Translator: Ajay D'Souza <me@ajaydsouza.com>\n"
8
  "Language-Team: \n"
16
  "X-Poedit-SourceCharset: UTF-8\n"
17
  "X-Poedit-SearchPath-0: .\n"
18
 
19
+ #: admin/admin.php:191
20
  msgid "Options saved successfully. If enabled, the cache has been cleared."
21
  msgstr ""
22
 
23
+ #: admin/admin.php:194
24
  msgid ""
25
  "Rounded Thumbnails style selected. Author, Excerpt and Date will not be "
26
  "displayed."
27
  msgstr ""
28
 
29
+ #: admin/admin.php:197
30
  msgid "Text Only style selected. Thumbnails will not be displayed."
31
  msgstr ""
32
 
33
+ #: admin/admin.php:200
34
  #, php-format
35
  msgid "Pre-built thumbnail size selected. Thumbnail set to %d x %d."
36
  msgstr ""
37
 
38
+ #: admin/admin.php:224
39
  msgid "Options set to Default."
40
  msgstr "Restablecer opciones originales"
41
 
42
+ #: admin/admin.php:233
43
  msgid "Index recreated"
44
  msgstr "Recrear el Index"
45
 
47
  msgid "Related Posts"
48
  msgstr "Post Relacionados"
49
 
50
+ #: admin/cache.php:42
51
  msgid ""
52
  "An error occurred clearing the cache. Please contact your site administrator."
53
  "\\n\\nError message:\\n"
54
  msgstr ""
55
 
56
+ #: admin/cache.php:47
57
  msgid " cached row(s) cleared"
58
  msgstr ""
59
 
61
  msgid "Settings"
62
  msgstr "Opciones"
63
 
64
+ #: admin/loader.php:46 admin/sidebar-view.php:72
65
  msgid "Support"
66
  msgstr "Soporte"
67
 
86
  msgid "List tuning options"
87
  msgstr ""
88
 
89
+ #: admin/main-view.php:34 admin/main-view.php:249
90
  #, fuzzy
91
  msgid "Output options"
92
  msgstr "Opciones de Salida:"
93
 
94
+ #: admin/main-view.php:35 admin/main-view.php:453
95
  #: includes/class-crp-widget.php:93
96
  #, fuzzy
97
  msgid "Thumbnail options"
98
  msgstr "Opciones de miniaturas en el post:"
99
 
100
+ #: admin/main-view.php:36 admin/main-view.php:608
101
  msgid "Styles"
102
  msgstr ""
103
 
104
+ #: admin/main-view.php:37 admin/main-view.php:686
105
  #, fuzzy
106
  msgid "Feed options"
107
  msgstr "Opciones:"
225
  "in the list."
226
  msgstr "Posts relacionados contextualmente"
227
 
228
+ #: admin/main-view.php:135 admin/main-view.php:242 admin/main-view.php:446
229
+ #: admin/main-view.php:601 admin/main-view.php:679 admin/main-view.php:751
230
+ #: admin/main-view.php:767
231
  #, fuzzy
232
  msgid "Save Options"
233
  msgstr "Opciones:"
234
 
235
+ #: admin/main-view.php:158 admin/main-view.php:704
236
  msgid "Number of related posts to display: "
237
  msgstr "Número de posts relacionados a mostrar:"
238
 
292
  msgid "List of post or page IDs to exclude from the results:"
293
  msgstr ""
294
 
295
+ #: admin/main-view.php:197 admin/main-view.php:377
296
  msgid ""
297
  "Comma separated list of post, page or custom post type IDs. e.g. 188,320,500"
298
  msgstr ""
308
  "prompt you with options."
309
  msgstr ""
310
 
311
+ #: admin/main-view.php:216
312
  msgid "Excluded category IDs are:"
313
  msgstr ""
314
 
315
+ #: admin/main-view.php:222
316
+ msgid ""
317
+ "These might differ from the IDs visible in the Categories page which use the "
318
+ "<code>term_id</code>. CRP uses the <code>term_taxonomy_id</code> which is "
319
+ "unique to this taxonomy."
320
+ msgstr ""
321
+
322
+ #: admin/main-view.php:265
323
  msgid "Title of related posts:"
324
  msgstr ""
325
 
326
+ #: admin/main-view.php:268
327
  msgid ""
328
  "This is the main heading of the related posts. You can also display the "
329
  "current post title by using <code>%postname%</code>. e.g. <code>Related "
330
  "Posts to %postname%</code>"
331
  msgstr ""
332
 
333
+ #: admin/main-view.php:272
334
  msgid "When there are no posts, what should be shown?"
335
  msgstr "Cuando no hay posts, ¿Qué se debe mostrar?"
336
 
337
+ #: admin/main-view.php:276
338
  msgid "Blank Output"
339
  msgstr "Salida vacía"
340
 
341
+ #: admin/main-view.php:281
342
  msgid "Display:"
343
  msgstr ""
344
 
345
+ #: admin/main-view.php:287 admin/main-view.php:707
346
  msgid "Show post excerpt in list?"
347
  msgstr "¿Mostrar extracto con los items?"
348
 
349
+ #: admin/main-view.php:290
350
  #, php-format
351
  msgid ""
352
  "Displays the excerpt of the post. If you do not provide an explicit excerpt "
354
  "automatic excerpt which refers to the first %d words of the post's content"
355
  msgstr ""
356
 
357
+ #: admin/main-view.php:293
358
  msgid ""
359
  "Rounded Thumbnails style selected under the Custom Styles. Excerpt display "
360
  "is disabled."
361
  msgstr ""
362
 
363
+ #: admin/main-view.php:298
364
  msgid "Length of excerpt (in words):"
365
  msgstr ""
366
 
367
+ #: admin/main-view.php:304
368
  #, fuzzy
369
  msgid "Show post author in list?"
370
  msgstr "¿Mostrar extracto con los items?"
371
 
372
+ #: admin/main-view.php:307
373
  msgid "Displays the author name prefixed with \"by\". e.g. by John Doe"
374
  msgstr ""
375
 
376
+ #: admin/main-view.php:310
377
  msgid ""
378
  "Rounded Thumbnails style selected under the Custom Styles. Author display is "
379
  "disabled."
380
  msgstr ""
381
 
382
+ #: admin/main-view.php:315
383
  #, fuzzy
384
  msgid "Show post date in list?"
385
  msgstr "¿Mostrar extracto con los items?"
386
 
387
+ #: admin/main-view.php:318
388
  msgid ""
389
  "Displays the date of the post. Uses the same date format set in General "
390
  "Options"
391
  msgstr ""
392
 
393
+ #: admin/main-view.php:321
394
  msgid ""
395
  "Rounded Thumbnails style selected under the Custom Styles. Date display is "
396
  "disabled."
397
  msgstr ""
398
 
399
+ #: admin/main-view.php:326
400
  msgid "Limit post title length (in characters)"
401
  msgstr ""
402
 
403
+ #: admin/main-view.php:329
404
  msgid ""
405
  "Any title longer than the number of characters set above will be cut and "
406
  "appended with an ellipsis (&hellip;)"
407
  msgstr ""
408
 
409
+ #: admin/main-view.php:333
410
  msgid "Open links in new window"
411
  msgstr ""
412
 
413
+ #: admin/main-view.php:339
414
  msgid "Add nofollow attribute to links in the list"
415
  msgstr ""
416
 
417
+ #: admin/main-view.php:372
418
  #, fuzzy
419
  msgid "Exclusion settings:"
420
  msgstr "sitio del plugin"
421
 
422
+ #: admin/main-view.php:374
423
  #, fuzzy
424
  msgid "Exclude display of related posts on these posts / pages"
425
  msgstr "Agregar posts relacionados al feed"
426
 
427
+ #: admin/main-view.php:380
428
  #, fuzzy
429
  msgid "Exclude display of related posts on these post types."
430
  msgstr "Agregar posts relacionados al feed"
431
 
432
+ #: admin/main-view.php:387
433
  msgid ""
434
  "The related posts will not display on any of the above selected post types"
435
  msgstr ""
436
 
437
+ #: admin/main-view.php:417
438
  msgid "Customize the output:"
439
  msgstr "Personalizar la salida:"
440
 
441
+ #: admin/main-view.php:419
442
  msgid "HTML to display before the list of posts: "
443
  msgstr "HTML a mostrar antes de todos los items:"
444
 
445
+ #: admin/main-view.php:422
446
  msgid "HTML to display before each list item: "
447
  msgstr "HTML a mostrar antes de cada item:"
448
 
449
+ #: admin/main-view.php:425
450
  msgid "HTML to display after each list item: "
451
  msgstr "HTML a mostrar despues de cada item:"
452
 
453
+ #: admin/main-view.php:428
454
  msgid "HTML to display after the list of posts: "
455
  msgstr "HTML a mostrar despues de todos los items:"
456
 
457
+ #: admin/main-view.php:469 admin/main-view.php:710
458
  msgid "Location of post thumbnail:"
459
  msgstr ""
460
 
461
+ #: admin/main-view.php:473 admin/main-view.php:714
462
  #, fuzzy
463
  msgid "Display thumbnails inline with posts, before title"
464
  msgstr "Miniaturas en línea con los posts"
465
 
466
+ #: admin/main-view.php:477 admin/main-view.php:718
467
  #, fuzzy
468
  msgid "Display thumbnails inline with posts, after title"
469
  msgstr "Miniaturas en línea con los posts"
470
 
471
+ #: admin/main-view.php:481 admin/main-view.php:722
472
  msgid "Display only thumbnails, no text"
473
  msgstr "Solo miniaturas, sin texto"
474
 
475
+ #: admin/main-view.php:485 admin/main-view.php:726
476
  msgid "Do not display thumbnails, only text."
477
  msgstr "No mostrar miniaturas, solo texto."
478
 
479
+ #: admin/main-view.php:488
480
  msgid ""
481
  "This setting cannot be changed because an inbuilt style has been selected "
482
  "under the Styles section. If you would like to change this option, please "
483
  "select <strong>No styles</strong> under the Styles section."
484
  msgstr ""
485
 
486
+ #: admin/main-view.php:492
487
  msgid "Thumbnail size:"
488
  msgstr ""
489
 
490
+ #: admin/main-view.php:516
491
  msgid "Custom size"
492
  msgstr ""
493
 
494
+ #: admin/main-view.php:519
495
  msgid "You can choose from existing image sizes above or create a custom size."
496
  msgstr ""
497
 
498
+ #: admin/main-view.php:520
499
  msgid ""
500
  "If you choose an existing size, then the width, height and crop mode "
501
  "settings in the three options below will be automatically updated to reflect "
502
  "the correct dimensions of the setting."
503
  msgstr ""
504
 
505
+ #: admin/main-view.php:521
506
  msgid ""
507
  "If you have chosen Custom size above, then enter the width, height and crop "
508
  "settings below. For best results, use a cropped image with the same width "
509
  "and height. The default setting is 150x150 cropped image."
510
  msgstr ""
511
 
512
+ #: admin/main-view.php:522
513
  msgid ""
514
  "Any changes to the thumbnail settings doesn't automatically resize existing "
515
  "images."
516
  msgstr ""
517
 
518
+ #: admin/main-view.php:523
519
  #, php-format
520
  msgid ""
521
  "I recommend using <a href='%s' class='thickbox'>OTF Regenerate Thumbnails</"
523
  "all image sizes."
524
  msgstr ""
525
 
526
+ #: admin/main-view.php:527
527
  msgid "Width of the thumbnail:"
528
  msgstr ""
529
 
530
+ #: admin/main-view.php:530
531
  msgid "Height of the thumbnail: "
532
  msgstr ""
533
 
534
+ #: admin/main-view.php:535
535
  msgid "Crop mode:"
536
  msgstr ""
537
 
538
+ #: admin/main-view.php:539
539
  msgid ""
540
  "By default, thumbnails will be hard cropped. Uncheck this box to "
541
  "proportionately/soft crop the thumbnails."
542
  msgstr ""
543
 
544
+ #: admin/main-view.php:540
545
  #, php-format
546
  msgid "<a href='%s' target='_blank'>Difference between soft and hard crop</a>"
547
  msgstr ""
548
 
549
+ #: admin/main-view.php:544
550
  msgid "Image size attributes:"
551
  msgstr ""
552
 
553
+ #: admin/main-view.php:548
554
  msgid "Style attributes are used for width and height."
555
  msgstr ""
556
 
557
+ #: admin/main-view.php:554
558
  msgid "HTML width and height attributes are used for width and height."
559
  msgstr ""
560
 
561
+ #: admin/main-view.php:560
562
  msgid "No HTML or Style attributes set for width and height"
563
  msgstr ""
564
 
565
+ #: admin/main-view.php:565
566
  #, fuzzy
567
  msgid "Post thumbnail meta field name:"
568
  msgstr "Opciones de miniaturas en el post:"
569
 
570
+ #: admin/main-view.php:567
571
  msgid ""
572
  "The value of this field should contain a direct link to the image. This is "
573
  "set in the meta box in the <em>Add New Post</em> screen."
574
  msgstr ""
575
 
576
+ #: admin/main-view.php:570
577
  msgid "Extract the first image from the post?"
578
  msgstr ""
579
 
580
+ #: admin/main-view.php:572
581
  msgid ""
582
  "This will only happen if there is no post thumbnail set and no image URL is "
583
  "specified in the meta field."
584
  msgstr ""
585
 
586
+ #: admin/main-view.php:575
587
  msgid "Use default thumbnail?"
588
  msgstr ""
589
 
590
+ #: admin/main-view.php:577
591
  msgid ""
592
  "If checked, when no thumbnail is found, show a default one from the URL "
593
  "below. If not checked and no thumbnail is found, no image will be shown."
594
  msgstr ""
595
 
596
+ #: admin/main-view.php:580
597
  #, fuzzy
598
  msgid "Default thumbnail:"
599
  msgstr "Opciones de Salida:"
600
 
601
+ #: admin/main-view.php:583
602
  #, fuzzy
603
  msgid ""
604
  "The plugin will first check if the post contains a thumbnail. If it doesn't "
609
  "ninguno verificará el campo meta. Si no está disponible, entonces mostrará "
610
  "la imágen padrón especificada a continuación:"
611
 
612
+ #: admin/main-view.php:624
613
  msgid "Style of the related posts:"
614
  msgstr ""
615
 
616
+ #: admin/main-view.php:627
617
  msgid "No styles"
618
  msgstr ""
619
 
620
+ #: admin/main-view.php:629
621
  msgid "Select this option if you plan to add your own styles"
622
  msgstr ""
623
 
624
+ #: admin/main-view.php:633
625
  msgid "Rounded Thumbnails"
626
  msgstr ""
627
 
628
+ #: admin/main-view.php:636
629
  msgid ""
630
  "Enabling this option will turn on the thumbnails and set their width and "
631
  "height to 150px. It will also turn off the display of the author, excerpt "
633
  "settings."
634
  msgstr ""
635
 
636
+ #: admin/main-view.php:637
637
  #, php-format
638
  msgid ""
639
  "You can view the default style at <a href=\"%1$s\" target=\"_blank\">%1$s</a>"
640
  msgstr ""
641
 
642
+ #: admin/main-view.php:641
643
  msgid "Text only"
644
  msgstr ""
645
 
646
+ #: admin/main-view.php:643
647
  msgid ""
648
  "Enabling this option will disable thumbnails and no longer include the "
649
  "default style sheet included in the plugin."
650
  msgstr ""
651
 
652
+ #: admin/main-view.php:658
653
  msgid "Custom CSS to add to header:"
654
  msgstr ""
655
 
656
+ #: admin/main-view.php:662
657
  msgid ""
658
  "Do not include <code>style</code> tags. Check out the <a href=\"http://"
659
  "wordpress.org/extend/plugins/contextual-related-posts/faq/\" target=\"_blank"
660
  "\">FAQ</a> for available CSS classes to style."
661
  msgstr ""
662
 
663
+ #: admin/main-view.php:702
664
  msgid ""
665
  "Below options override the related posts settings for your blog feed. These "
666
  "only apply if you have selected to add related posts to Feeds in the General "
667
  "Options tab."
668
  msgstr ""
669
 
670
+ #: admin/main-view.php:730
671
  msgid "Maximum width of the thumbnail: "
672
  msgstr ""
673
 
674
+ #: admin/main-view.php:733
675
  msgid "Maximum height of the thumbnail: "
676
  msgstr ""
677
 
678
+ #: admin/main-view.php:768
679
  #, fuzzy
680
  msgid "Default Options"
681
  msgstr "Opciones de Salida:"
682
 
683
+ #: admin/main-view.php:768
684
  msgid "Do you want to set options to Default?"
685
  msgstr "¿Quieres resetear las opciones?"
686
 
687
+ #: admin/main-view.php:769
688
  msgid "Recreate Index"
689
  msgstr ""
690
 
691
+ #: admin/main-view.php:769
692
  msgid "Are you sure you want to recreate the index?"
693
  msgstr "¿Está seguro que quiere recrear el index?"
694
 
695
+ #: admin/main-view.php:774
696
  msgid ""
697
  "One or more FULLTEXT indices are missing. Please hit the <a href="
698
  "\"#crp_recreate\">Recreate Index button</a> at the bottom of the page to fix "
699
  "this."
700
  msgstr ""
701
 
702
+ #: admin/metabox.php:98
703
  msgid "Location of thumbnail:"
704
  msgstr ""
705
 
706
+ #: admin/metabox.php:100
707
  msgid ""
708
  "Enter the full URL to the image (JPG, PNG or GIF) you'd like to use. This "
709
  "image will be used for the post. It will be resized to the thumbnail size "
710
  "set under Settings &raquo; Related Posts &raquo; Output Options"
711
  msgstr ""
712
 
713
+ #: admin/metabox.php:101
714
  msgid "The URL above is saved in the meta field:"
715
  msgstr ""
716
 
717
+ #: admin/metabox.php:106
718
  msgid ""
719
  "You have Top 10 WordPress Plugin installed. If you are trying to modify the "
720
  "thumbnail, then you'll need to make the same change in the Top 10 meta box "
721
  "on this page."
722
  msgstr ""
723
 
724
+ #: admin/metabox.php:117
725
  msgid "Disable Related Posts display:"
726
  msgstr ""
727
 
728
+ #: admin/metabox.php:120
729
  msgid ""
730
  "If this is checked, then Contextual Related Posts will not automatically "
731
  "insert the related posts at the end of post content."
732
  msgstr ""
733
 
734
+ #: admin/metabox.php:125 admin/metabox.php:133
735
  msgid "Manual related posts:"
736
  msgstr ""
737
 
738
+ #: admin/metabox.php:127
739
  msgid ""
740
  "Comma separated list of post, page or custom post type IDs. e.g. "
741
  "188,320,500. These will be given preference over the related posts generated "
742
  "by the plugin."
743
  msgstr ""
744
 
745
+ #: admin/metabox.php:128
746
  msgid ""
747
  "Once you enter the list above and save this page, the plugin will display "
748
  "the titles of the posts below for your reference. Only IDs corresponding to "
749
  "published posts or custom post types will be retained."
750
  msgstr ""
751
 
752
+ #: admin/metabox.php:142
753
  msgid "This post type is:"
754
  msgstr ""
755
 
775
  msgid "Follow me"
776
  msgstr ""
777
 
778
+ #: admin/sidebar-view.php:66
779
  #, fuzzy
780
  msgid "Quick links"
781
  msgstr "Links rápidos"
782
 
783
+ #: admin/sidebar-view.php:70
784
  msgid "Plugin homepage"
785
  msgstr ""
786
 
787
+ #: admin/sidebar-view.php:71
788
  msgid "FAQ"
789
  msgstr ""
790
 
791
+ #: admin/sidebar-view.php:73
792
  msgid "Reviews"
793
  msgstr ""
794
 
795
+ #: admin/sidebar-view.php:74
796
  msgid "Github repository"
797
  msgstr ""
798
 
799
+ #: admin/sidebar-view.php:75
800
  msgid "Other plugins"
801
  msgstr "Otros plugins"
802
 
803
+ #: admin/sidebar-view.php:76
804
  msgid "Ajay's blog"
805
  msgstr ""
806
 
807
+ #: contextual-related-posts.php:232
808
  #, php-format
809
  msgid "Powered by <a href=\"%s\" rel=\"nofollow\">Contextual Related Posts</a>"
810
  msgstr ""
811
 
812
+ #: contextual-related-posts.php:710
813
  msgid "<h3>Related Posts:</h3>"
814
  msgstr "<h3>Post Relacionados:</h3>"
815
 
816
+ #: contextual-related-posts.php:712
817
  #, fuzzy
818
  msgid "No related posts found"
819
  msgstr "No hay posts relacionados"
884
  msgid "Post types to include:"
885
  msgstr ""
886
 
887
+ #: includes/media.php:67
888
  msgid "thumb_timthumb argument has been deprecated"
889
  msgstr ""
890
 
891
+ #: includes/media.php:71
892
  msgid "thumb_timthumb_q argument has been deprecated"
893
  msgstr ""
894
 
895
+ #: includes/media.php:75
896
  msgid "filter argument has been deprecated"
897
  msgstr ""
898
 
languages/contextual-related-posts-fr_FR.mo ADDED
Binary file
languages/{crp-fr_FR.po → contextual-related-posts-fr_FR.po} RENAMED
@@ -1,16 +1,17 @@
1
  #
2
  # Translators:
3
  # Franck, 2015
4
- # FxB <fxb@wp-translations.org>, 2014
 
5
  # Jean-Christophe Brebion <pro@jcbrebion.com>, 2014-2015
6
  msgid ""
7
  msgstr ""
8
  "Project-Id-Version: Contextual Related Posts\n"
9
  "Report-Msgid-Bugs-To: \n"
10
- "POT-Creation-Date: 2015-09-05 11:13+0100\n"
11
- "PO-Revision-Date: 2015-09-05 11:13+0100\n"
12
  "Last-Translator: Ajay D'Souza <me@ajaydsouza.com>\n"
13
- "Language-Team: French (France) (http://www.transifex.com/projects/p/"
14
  "contextual-related-posts/language/fr_FR/)\n"
15
  "Language: fr_FR\n"
16
  "MIME-Version: 1.0\n"
@@ -23,30 +24,36 @@ msgstr ""
23
  "X-Poedit-SourceCharset: UTF-8\n"
24
  "X-Poedit-SearchPath-0: .\n"
25
 
26
- #: admin/admin.php:190
27
  msgid "Options saved successfully. If enabled, the cache has been cleared."
28
  msgstr ""
 
29
 
30
- #: admin/admin.php:193
31
  msgid ""
32
  "Rounded Thumbnails style selected. Author, Excerpt and Date will not be "
33
  "displayed."
34
  msgstr ""
 
 
35
 
36
- #: admin/admin.php:196
37
  msgid "Text Only style selected. Thumbnails will not be displayed."
38
  msgstr ""
 
 
39
 
40
- #: admin/admin.php:199
41
  #, php-format
42
  msgid "Pre-built thumbnail size selected. Thumbnail set to %d x %d."
43
  msgstr ""
 
44
 
45
- #: admin/admin.php:223
46
  msgid "Options set to Default."
47
  msgstr "Options remises à la valeur par défaut."
48
 
49
- #: admin/admin.php:232
50
  msgid "Index recreated"
51
  msgstr "Index recrée"
52
 
@@ -54,7 +61,7 @@ msgstr "Index recrée"
54
  msgid "Related Posts"
55
  msgstr "Articles relatifs"
56
 
57
- #: admin/cache.php:44
58
  msgid ""
59
  "An error occurred clearing the cache. Please contact your site administrator."
60
  "\\n\\nError message:\\n"
@@ -62,7 +69,7 @@ msgstr ""
62
  "Une erreur s'est produite lors du nettoyage du cache. Veuillez contacter "
63
  "l'administrateur de votre site.\\n\\nMessage d'erreur :\\n"
64
 
65
- #: admin/cache.php:49
66
  msgid " cached row(s) cleared"
67
  msgstr "rang(s) en cache nettoyé(s)"
68
 
@@ -70,13 +77,13 @@ msgstr "rang(s) en cache nettoyé(s)"
70
  msgid "Settings"
71
  msgstr "Réglages"
72
 
73
- #: admin/loader.php:46 admin/sidebar-view.php:59
74
  msgid "Support"
75
  msgstr "Aide"
76
 
77
  #: admin/loader.php:47
78
  msgid "Donate"
79
- msgstr "Don"
80
 
81
  #: admin/loader.php:48
82
  msgid "Contribute"
@@ -92,22 +99,22 @@ msgstr "Options générales"
92
 
93
  #: admin/main-view.php:33 admin/main-view.php:142
94
  msgid "List tuning options"
95
- msgstr "Liste des options de réglages"
96
 
97
- #: admin/main-view.php:34 admin/main-view.php:239
98
  msgid "Output options"
99
  msgstr "Options de sortie"
100
 
101
- #: admin/main-view.php:35 admin/main-view.php:443
102
  #: includes/class-crp-widget.php:93
103
  msgid "Thumbnail options"
104
  msgstr "Options de la miniature"
105
 
106
- #: admin/main-view.php:36 admin/main-view.php:596
107
  msgid "Styles"
108
- msgstr ""
109
 
110
- #: admin/main-view.php:37 admin/main-view.php:674
111
  msgid "Feed options"
112
  msgstr "Options du flux"
113
 
@@ -130,14 +137,17 @@ msgid ""
130
  "plugins like WP Super Cache or W3 Total Cache. It is recommended that you "
131
  "enable this on your blog."
132
  msgstr ""
 
 
 
133
 
134
  #: admin/main-view.php:75
135
  msgid "Clear cache"
136
- msgstr "Vider le cache"
137
 
138
  #: admin/main-view.php:79
139
  msgid "Automatically add related posts to:"
140
- msgstr ""
141
 
142
  #: admin/main-view.php:81
143
  msgid "Posts"
@@ -161,7 +171,7 @@ msgstr "Archives de catégorie"
161
 
162
  #: admin/main-view.php:86
163
  msgid "Tag archives"
164
- msgstr "Archives de mot-clef"
165
 
166
  #: admin/main-view.php:87
167
  msgid "Other archives"
@@ -179,13 +189,16 @@ msgstr ""
179
 
180
  #: admin/main-view.php:92
181
  msgid "Display location priority:"
182
- msgstr ""
183
 
184
  #: admin/main-view.php:95
185
  msgid ""
186
  "If you select to automatically add the related posts, CRP will hook into the "
187
  "Content Filter at a priority as specified in this option."
188
  msgstr ""
 
 
 
189
 
190
  #: admin/main-view.php:96
191
  msgid ""
@@ -193,20 +206,26 @@ msgid ""
193
  "their display further down after the post content. Any number below 10 is "
194
  "not recommended."
195
  msgstr ""
 
 
 
196
 
197
  #: admin/main-view.php:100
198
  msgid "Show metabox:"
199
- msgstr ""
200
 
201
  #: admin/main-view.php:103
202
  msgid ""
203
  "This will add the Contextual Related Posts metabox on Edit Posts or Add New "
204
  "Posts screens. Also applies to Pages and Custom Post Types."
205
  msgstr ""
 
 
 
206
 
207
  #: admin/main-view.php:107
208
  msgid "Limit metabox to Admins only:"
209
- msgstr ""
210
 
211
  #: admin/main-view.php:110
212
  msgid ""
@@ -214,6 +233,10 @@ msgid ""
214
  "Admin. Otherwise, by default, Contributors and above will be able to see the "
215
  "metabox. This applies only if the above option is selected."
216
  msgstr ""
 
 
 
 
217
 
218
  #: admin/main-view.php:114
219
  msgid "Tell the world you're using Contextual Related Posts:"
@@ -231,13 +254,13 @@ msgstr ""
231
  "Ajoute un lien nofollow vers la page d'accueil de Contextual Related Posts "
232
  "comme la dernière fois dans la liste."
233
 
234
- #: admin/main-view.php:135 admin/main-view.php:232 admin/main-view.php:436
235
- #: admin/main-view.php:589 admin/main-view.php:667 admin/main-view.php:739
236
- #: admin/main-view.php:755
237
  msgid "Save Options"
238
  msgstr "Sauvegarder les options"
239
 
240
- #: admin/main-view.php:158 admin/main-view.php:692
241
  msgid "Number of related posts to display: "
242
  msgstr "Nombre d'articles relatifs à afficher :"
243
 
@@ -263,6 +286,10 @@ msgid ""
263
  "it to 365 will show related posts from the last year only. Set to 0 to "
264
  "disable limiting posts by date."
265
  msgstr ""
 
 
 
 
266
 
267
  #: admin/main-view.php:172
268
  msgid "Find related posts based on content as well as title:"
@@ -275,16 +302,24 @@ msgid ""
275
  "different, so toggle this option to see which setting gives you better "
276
  "quality related posts."
277
  msgstr ""
 
 
 
 
 
278
 
279
  #: admin/main-view.php:178
280
  msgid "Limit content to be compared:"
281
- msgstr ""
282
 
283
  #: admin/main-view.php:180
284
  msgid ""
285
  "This sets the maximum words of the content that will be matched. Set to 0 "
286
  "for no limit. Only applies if you active the above option."
287
  msgstr ""
 
 
 
288
 
289
  #: admin/main-view.php:184
290
  msgid "Post types to include in results:"
@@ -301,7 +336,7 @@ msgstr ""
301
  msgid "List of post or page IDs to exclude from the results:"
302
  msgstr "La liste des IDs d'articles ou de pages à exclure des résultats :"
303
 
304
- #: admin/main-view.php:197 admin/main-view.php:367
305
  msgid ""
306
  "Comma separated list of post, page or custom post type IDs. e.g. 188,320,500"
307
  msgstr ""
@@ -318,19 +353,26 @@ msgid ""
318
  "so simply start typing in the beginning of your category name and it will "
319
  "prompt you with options."
320
  msgstr ""
321
- "Une liste séparée par des virgules d'identifiant de catégories. Le champ "
322
- "possède l'auto-remplissage, commencez à remplir le début du nom de la "
323
  "catégorie pour voir des résultats s'afficher."
324
 
325
- #: admin/main-view.php:214
326
  msgid "Excluded category IDs are:"
 
 
 
 
 
 
 
327
  msgstr ""
328
 
329
- #: admin/main-view.php:255
330
  msgid "Title of related posts:"
331
- msgstr ""
332
 
333
- #: admin/main-view.php:258
334
  msgid ""
335
  "This is the main heading of the related posts. You can also display the "
336
  "current post title by using <code>%postname%</code>. e.g. <code>Related "
@@ -340,23 +382,23 @@ msgstr ""
340
  "afficher le titre de l'article en utilisant <code>%postname%</code>. p.ex. "
341
  "<code>Articles relatifs à %postname%</code>"
342
 
343
- #: admin/main-view.php:262
344
  msgid "When there are no posts, what should be shown?"
345
  msgstr "Quand il n'y a aucun article, qu'est-ce qui doit être affiché ?"
346
 
347
- #: admin/main-view.php:266
348
  msgid "Blank Output"
349
  msgstr "Sortie vide"
350
 
351
- #: admin/main-view.php:271
352
  msgid "Display:"
353
  msgstr "Affichage :"
354
 
355
- #: admin/main-view.php:277 admin/main-view.php:695
356
  msgid "Show post excerpt in list?"
357
  msgstr "Afficher l'extrait de l'article en liste ?"
358
 
359
- #: admin/main-view.php:280
360
  #, php-format
361
  msgid ""
362
  "Displays the excerpt of the post. If you do not provide an explicit excerpt "
@@ -368,36 +410,40 @@ msgstr ""
368
  "extrait automatique sera affiché qui prendra en compte les premiers %d mots "
369
  "du contenu de celui-ci."
370
 
371
- #: admin/main-view.php:283
372
  msgid ""
373
  "Rounded Thumbnails style selected under the Custom Styles. Excerpt display "
374
  "is disabled."
375
  msgstr ""
 
 
376
 
377
- #: admin/main-view.php:288
378
  msgid "Length of excerpt (in words):"
379
- msgstr ""
380
 
381
- #: admin/main-view.php:294
382
  msgid "Show post author in list?"
383
  msgstr "Afficher l'auteur de l'article en liste ?"
384
 
385
- #: admin/main-view.php:297
386
  msgid "Displays the author name prefixed with \"by\". e.g. by John Doe"
387
  msgstr ""
388
  "Affiche le nom de l'auteur préfixé avec \"de\". p.ex. de Pierre Paul Jacques"
389
 
390
- #: admin/main-view.php:300
391
  msgid ""
392
  "Rounded Thumbnails style selected under the Custom Styles. Author display is "
393
  "disabled."
394
  msgstr ""
 
 
395
 
396
- #: admin/main-view.php:305
397
  msgid "Show post date in list?"
398
  msgstr "Afficher la date de l'article en liste ?"
399
 
400
- #: admin/main-view.php:308
401
  msgid ""
402
  "Displays the date of the post. Uses the same date format set in General "
403
  "Options"
@@ -405,149 +451,171 @@ msgstr ""
405
  "Affiche la date de l'article. Utilise le même format que celui de vos "
406
  "options générales"
407
 
408
- #: admin/main-view.php:311
409
  msgid ""
410
  "Rounded Thumbnails style selected under the Custom Styles. Date display is "
411
  "disabled."
412
  msgstr ""
 
 
413
 
414
- #: admin/main-view.php:316
415
  msgid "Limit post title length (in characters)"
416
  msgstr "Limiter la longueur du titre de l'article (en caractères)"
417
 
418
- #: admin/main-view.php:319
419
  msgid ""
420
  "Any title longer than the number of characters set above will be cut and "
421
  "appended with an ellipsis (&hellip;)"
422
  msgstr ""
 
 
423
 
424
- #: admin/main-view.php:323
425
  msgid "Open links in new window"
426
  msgstr "Ouvrir les liens dans une nouvelle fenêtre"
427
 
428
- #: admin/main-view.php:329
429
  msgid "Add nofollow attribute to links in the list"
430
  msgstr "Ajouter un attribut de nofollow aux liens de la liste"
431
 
432
- #: admin/main-view.php:362
433
  msgid "Exclusion settings:"
434
  msgstr "Réglages d'exclusion :"
435
 
436
- #: admin/main-view.php:364
437
  msgid "Exclude display of related posts on these posts / pages"
438
  msgstr "Exclure l'affichage des articles relatifs sur ces articles / pages"
439
 
440
- #: admin/main-view.php:370
441
  msgid "Exclude display of related posts on these post types."
442
  msgstr "Exclure l'affichage des articles relatifs sur ces types d'articles."
443
 
444
- #: admin/main-view.php:377
445
  msgid ""
446
  "The related posts will not display on any of the above selected post types"
447
  msgstr ""
448
  "Les articles relatifs ne seront pas affichés sur aucun des types d'articles "
449
- "ci-dessus "
450
 
451
- #: admin/main-view.php:407
452
  msgid "Customize the output:"
453
  msgstr "Personnaliser la sortie :"
454
 
455
- #: admin/main-view.php:409
456
  msgid "HTML to display before the list of posts: "
457
  msgstr "HTML à afficher avant la liste des articles :"
458
 
459
- #: admin/main-view.php:412
460
  msgid "HTML to display before each list item: "
461
  msgstr "HTML à afficher avant chaque élément de la liste :"
462
 
463
- #: admin/main-view.php:415
464
  msgid "HTML to display after each list item: "
465
  msgstr "HTML à afficher après chaque élément de la liste :"
466
 
467
- #: admin/main-view.php:418
468
  msgid "HTML to display after the list of posts: "
469
  msgstr "HTML à afficher après la liste d'articles :"
470
 
471
- #: admin/main-view.php:459 admin/main-view.php:698
472
  msgid "Location of post thumbnail:"
473
  msgstr "Emplacement de la miniature de l'article :"
474
 
475
- #: admin/main-view.php:463 admin/main-view.php:702
476
  msgid "Display thumbnails inline with posts, before title"
477
  msgstr "Afficher les miniatures avec l'article, avant le titre"
478
 
479
- #: admin/main-view.php:467 admin/main-view.php:706
480
  msgid "Display thumbnails inline with posts, after title"
481
  msgstr "Afficher les miniatures avec l'article, après le titre"
482
 
483
- #: admin/main-view.php:471 admin/main-view.php:710
484
  msgid "Display only thumbnails, no text"
485
- msgstr "Que les miniatures, pas de texte"
486
 
487
- #: admin/main-view.php:475 admin/main-view.php:714
488
  msgid "Do not display thumbnails, only text."
489
- msgstr "Pas de miniature, que le texte"
490
 
491
- #: admin/main-view.php:478
492
  msgid ""
493
  "This setting cannot be changed because an inbuilt style has been selected "
494
  "under the Styles section. If you would like to change this option, please "
495
  "select <strong>No styles</strong> under the Styles section."
496
  msgstr ""
 
 
 
497
 
498
- #: admin/main-view.php:482
499
  msgid "Thumbnail size:"
500
  msgstr "Taille des miniatures&nbsp;:"
501
 
502
- #: admin/main-view.php:506
503
  msgid "Custom size"
504
  msgstr "Taille personnalisée"
505
 
506
- #: admin/main-view.php:509
507
  msgid "You can choose from existing image sizes above or create a custom size."
508
  msgstr ""
 
 
509
 
510
- #: admin/main-view.php:510
511
  msgid ""
512
  "If you choose an existing size, then the width, height and crop mode "
513
  "settings in the three options below will be automatically updated to reflect "
514
  "the correct dimensions of the setting."
515
  msgstr ""
 
 
 
 
516
 
517
- #: admin/main-view.php:511
518
  msgid ""
519
  "If you have chosen Custom size above, then enter the width, height and crop "
520
  "settings below. For best results, use a cropped image with the same width "
521
  "and height. The default setting is 150x150 cropped image."
522
  msgstr ""
 
 
 
 
523
 
524
- #: admin/main-view.php:512
525
  msgid ""
526
  "Any changes to the thumbnail settings doesn't automatically resize existing "
527
  "images."
528
  msgstr ""
 
 
529
 
530
- #: admin/main-view.php:513
531
  #, php-format
532
  msgid ""
533
  "I recommend using <a href='%s' class='thickbox'>OTF Regenerate Thumbnails</"
534
  "a> or <a href='%s' class='thickbox'>Regenerate Thumbnails</a> to regenerate "
535
  "all image sizes."
536
  msgstr ""
 
 
 
537
 
538
- #: admin/main-view.php:517
539
  msgid "Width of the thumbnail:"
540
- msgstr "Largeur des miniatures&nbsp;:"
541
 
542
- #: admin/main-view.php:520
543
  msgid "Height of the thumbnail: "
544
- msgstr "Hauteur des miniatures&nbsp;:"
545
 
546
- #: admin/main-view.php:525
547
  msgid "Crop mode:"
548
- msgstr "Mode de recadrage:"
549
 
550
- #: admin/main-view.php:529
551
  msgid ""
552
  "By default, thumbnails will be hard cropped. Uncheck this box to "
553
  "proportionately/soft crop the thumbnails."
@@ -555,45 +623,48 @@ msgstr ""
555
  "Par défaut, les miniatures seront recadrées de façon non proportionnée. "
556
  "Décochez cette case pour recadrer de façon proportionnée les miniatures. "
557
 
558
- #: admin/main-view.php:530
559
  #, php-format
560
  msgid "<a href='%s' target='_blank'>Difference between soft and hard crop</a>"
561
  msgstr ""
562
- "<a href='%s' target='_blank'>La différence entre le soft le hard crop</a>"
 
563
 
564
- #: admin/main-view.php:534
565
  msgid "Image size attributes:"
566
- msgstr ""
567
 
568
- #: admin/main-view.php:538
569
  msgid "Style attributes are used for width and height."
570
  msgstr "Les attributs de style sont utilisés pour la hauteur et la largeur."
571
 
572
- #: admin/main-view.php:543
573
  msgid "HTML width and height attributes are used for width and height."
574
  msgstr ""
575
- "Les attributs HTML de hauteur et largeur sont utilisés pour la hauteur et la "
576
- "largeur."
577
 
578
- #: admin/main-view.php:548
579
  msgid "No HTML or Style attributes set for width and height"
580
- msgstr ""
581
 
582
- #: admin/main-view.php:553
583
  msgid "Post thumbnail meta field name:"
584
- msgstr "Nom du champ méta de la miniature de l'article"
585
 
586
- #: admin/main-view.php:555
587
  msgid ""
588
  "The value of this field should contain a direct link to the image. This is "
589
  "set in the meta box in the <em>Add New Post</em> screen."
590
  msgstr ""
 
 
591
 
592
- #: admin/main-view.php:558
593
  msgid "Extract the first image from the post?"
594
  msgstr "Extraire la première image de l'article ?"
595
 
596
- #: admin/main-view.php:560
597
  msgid ""
598
  "This will only happen if there is no post thumbnail set and no image URL is "
599
  "specified in the meta field."
@@ -601,11 +672,11 @@ msgstr ""
601
  "Cela se produit uniquement que s'il n'y a aucune miniature d'article et "
602
  "qu'aucune URL d'image n'est spécifiée dans le champ des métadonnées."
603
 
604
- #: admin/main-view.php:563
605
  msgid "Use default thumbnail?"
606
  msgstr "Utiliser la miniature par défaut ?"
607
 
608
- #: admin/main-view.php:565
609
  msgid ""
610
  "If checked, when no thumbnail is found, show a default one from the URL "
611
  "below. If not checked and no thumbnail is found, no image will be shown."
@@ -614,11 +685,11 @@ msgstr ""
614
  "dessous est utilisée. Si décoché et qu'aucune miniature n'est trouvée, "
615
  "aucune image ne sera affichée."
616
 
617
- #: admin/main-view.php:568
618
  msgid "Default thumbnail:"
619
- msgstr "Miniature par défaut"
620
 
621
- #: admin/main-view.php:571
622
  msgid ""
623
  "The plugin will first check if the post contains a thumbnail. If it doesn't "
624
  "then it will check the meta field. If this is not available, then it will "
@@ -629,55 +700,59 @@ msgstr ""
629
  "toujours disponible, alors elle affichera l'image par défaut comme indiquée "
630
  "ci-dessus."
631
 
632
- #: admin/main-view.php:612
633
  msgid "Style of the related posts:"
634
- msgstr ""
635
 
636
- #: admin/main-view.php:615
637
  msgid "No styles"
638
- msgstr ""
639
 
640
- #: admin/main-view.php:617
641
  msgid "Select this option if you plan to add your own styles"
642
- msgstr ""
643
 
644
- #: admin/main-view.php:621
645
  msgid "Rounded Thumbnails"
646
- msgstr ""
647
 
648
- #: admin/main-view.php:624
649
  msgid ""
650
  "Enabling this option will turn on the thumbnails and set their width and "
651
  "height to 150px. It will also turn off the display of the author, excerpt "
652
  "and date if already enabled. Disabling this option will not revert any "
653
  "settings."
654
  msgstr ""
655
- "L'activation de cette option activera automatiquement les miniatures et "
656
- "réglera leurs largeurs et leurs hauteurs à 150px. Cela desactivera aussi "
657
- "l'affichage de l'auteur, l'extrait et de la date s'ils sont déjà activés. La "
658
- "désactivation de cette option ne réinitialisera aucun réglage."
659
 
660
- #: admin/main-view.php:625
661
  #, php-format
662
  msgid ""
663
  "You can view the default style at <a href=\"%1$s\" target=\"_blank\">%1$s</a>"
664
  msgstr ""
 
 
665
 
666
- #: admin/main-view.php:629
667
  msgid "Text only"
668
- msgstr ""
669
 
670
- #: admin/main-view.php:631
671
  msgid ""
672
  "Enabling this option will disable thumbnails and no longer include the "
673
  "default style sheet included in the plugin."
674
  msgstr ""
 
 
675
 
676
- #: admin/main-view.php:646
677
  msgid "Custom CSS to add to header:"
678
- msgstr "CSS personnalisé a ajouter dans l'en-tête :"
679
 
680
- #: admin/main-view.php:650
681
  msgid ""
682
  "Do not include <code>style</code> tags. Check out the <a href=\"http://"
683
  "wordpress.org/extend/plugins/contextual-related-posts/faq/\" target=\"_blank"
@@ -687,52 +762,55 @@ msgstr ""
687
  "\"http://wordpress.org/extend/plugins/contextual-related-posts/faq/\" target="
688
  "\"_blank\">FAQ</a> pour connaitre les classes de style CSS disponibles."
689
 
690
- #: admin/main-view.php:690
691
  msgid ""
692
  "Below options override the related posts settings for your blog feed. These "
693
  "only apply if you have selected to add related posts to Feeds in the General "
694
  "Options tab."
695
  msgstr ""
696
  "Les options ci-dessous remplacent les réglages des articles relatifs pour "
697
- "les flux de votre blog. Celles-ci ne s'appliquent si vous avez choisi "
698
  "d'ajouter des articles relatifs à vos flux dans l'onglet Options générales."
699
 
700
- #: admin/main-view.php:718
701
  msgid "Maximum width of the thumbnail: "
702
  msgstr "Largeur maximale de la miniature :"
703
 
704
- #: admin/main-view.php:721
705
  msgid "Maximum height of the thumbnail: "
706
  msgstr "Hauteur maximale de la miniature :"
707
 
708
- #: admin/main-view.php:756
709
  msgid "Default Options"
710
- msgstr "options par défaut"
711
 
712
- #: admin/main-view.php:756
713
  msgid "Do you want to set options to Default?"
714
  msgstr "Voulez-vous réinitialiser les options à leurs valeurs par défaut ?"
715
 
716
- #: admin/main-view.php:757
717
  msgid "Recreate Index"
718
  msgstr "Recréer l'index"
719
 
720
- #: admin/main-view.php:757
721
  msgid "Are you sure you want to recreate the index?"
722
  msgstr "Voulez-vous vraiment recréer l'index ?"
723
 
724
- #: admin/main-view.php:762
725
  msgid ""
726
  "One or more FULLTEXT indices are missing. Please hit the <a href="
727
  "\"#crp_recreate\">Recreate Index button</a> at the bottom of the page to fix "
728
  "this."
729
  msgstr ""
 
 
 
730
 
731
- #: admin/metabox.php:100
732
  msgid "Location of thumbnail:"
733
  msgstr "Emplacement de la miniature :"
734
 
735
- #: admin/metabox.php:102
736
  msgid ""
737
  "Enter the full URL to the image (JPG, PNG or GIF) you'd like to use. This "
738
  "image will be used for the post. It will be resized to the thumbnail size "
@@ -742,48 +820,60 @@ msgstr ""
742
  "utiliser. Cette image sera utilisée pour l'article. Elle sera redimensionnée "
743
  "en fonction des dimensions réglées dans les réglages des options de sortie"
744
 
745
- #: admin/metabox.php:103
746
  msgid "The URL above is saved in the meta field:"
747
- msgstr ""
748
 
749
- #: admin/metabox.php:108
750
  msgid ""
751
  "You have Top 10 WordPress Plugin installed. If you are trying to modify the "
752
  "thumbnail, then you'll need to make the same change in the Top 10 meta box "
753
  "on this page."
754
  msgstr ""
 
 
 
755
 
756
- #: admin/metabox.php:119
757
  msgid "Disable Related Posts display:"
758
- msgstr ""
759
 
760
- #: admin/metabox.php:122
761
  msgid ""
762
  "If this is checked, then Contextual Related Posts will not automatically "
763
  "insert the related posts at the end of post content."
764
  msgstr ""
 
 
765
 
766
- #: admin/metabox.php:127 admin/metabox.php:135
767
  msgid "Manual related posts:"
768
- msgstr ""
769
 
770
- #: admin/metabox.php:129
771
  msgid ""
772
  "Comma separated list of post, page or custom post type IDs. e.g. "
773
  "188,320,500. These will be given preference over the related posts generated "
774
  "by the plugin."
775
  msgstr ""
 
 
 
776
 
777
- #: admin/metabox.php:130
778
  msgid ""
779
  "Once you enter the list above and save this page, the plugin will display "
780
  "the titles of the posts below for your reference. Only IDs corresponding to "
781
  "published posts or custom post types will be retained."
782
  msgstr ""
 
 
 
 
783
 
784
- #: admin/metabox.php:144
785
  msgid "This post type is:"
786
- msgstr ""
787
 
788
  #: admin/sidebar-view.php:20
789
  msgid "Support the development"
@@ -805,45 +895,45 @@ msgstr "Envoyez votre don à l'auteur de"
805
  msgid "Follow me"
806
  msgstr "Suivez-moi"
807
 
808
- #: admin/sidebar-view.php:53
809
  msgid "Quick links"
810
  msgstr "Liens rapides"
811
 
812
- #: admin/sidebar-view.php:57
813
  msgid "Plugin homepage"
814
- msgstr ""
815
 
816
- #: admin/sidebar-view.php:58
817
  msgid "FAQ"
818
  msgstr "FAQ"
819
 
820
- #: admin/sidebar-view.php:60
821
  msgid "Reviews"
822
  msgstr "Avis"
823
 
824
- #: admin/sidebar-view.php:61
825
  msgid "Github repository"
826
- msgstr "Dépot Github"
827
 
828
- #: admin/sidebar-view.php:62
829
  msgid "Other plugins"
830
  msgstr "Autres extensions"
831
 
832
- #: admin/sidebar-view.php:63
833
  msgid "Ajay's blog"
834
  msgstr "Blog de Ajay"
835
 
836
- #: contextual-related-posts.php:178
837
  #, php-format
838
  msgid "Powered by <a href=\"%s\" rel=\"nofollow\">Contextual Related Posts</a>"
839
  msgstr ""
840
  "Propulsé par <a href=\"%s\" rel=\"nofollow\">Contextual Related Posts</a>"
841
 
842
- #: contextual-related-posts.php:659
843
  msgid "<h3>Related Posts:</h3>"
844
  msgstr "<h3>Articles relatifs :</h3>"
845
 
846
- #: contextual-related-posts.php:661
847
  msgid "No related posts found"
848
  msgstr "Aucun article relatif trouvé."
849
 
@@ -893,152 +983,28 @@ msgstr "Pas de miniature, que le texte"
893
 
894
  #: includes/class-crp-widget.php:103
895
  msgid "Thumbnail height"
896
- msgstr "Hauteur de la vignette"
897
 
898
  #: includes/class-crp-widget.php:108
899
  msgid "Thumbnail width"
900
- msgstr "Largeur des vignettes"
901
 
902
  #: includes/class-crp-widget.php:112
903
  msgid "Post types to include:"
904
- msgstr ""
905
 
906
- #: includes/media-handler.php:68
907
  msgid "thumb_timthumb argument has been deprecated"
908
  msgstr "L'argument thumb_timthumb est devenu obsolète"
909
 
910
- #: includes/media-handler.php:72
911
  msgid "thumb_timthumb_q argument has been deprecated"
912
  msgstr "L'argument thumb_timthumb_q est devenu obsolète"
913
 
914
- #: includes/media-handler.php:76
915
  msgid "filter argument has been deprecated"
916
  msgstr "L'argument filter est devenu obsolète"
917
 
918
  #: includes/output-generator.php:238
919
  msgid " by "
920
  msgstr " par"
921
-
922
- #~ msgid "Contextual Related Posts"
923
- #~ msgstr "Articles relatifs contextuels"
924
-
925
- #~ msgid "Contextual Related Posts plugin page"
926
- #~ msgstr "Page de l'extension Contextual Related Posts"
927
-
928
- #~ msgid "Options saved successfully."
929
- #~ msgstr "Options sauvegardées avec succès."
930
-
931
- #~ msgid "The URL above is saved in the meta field: "
932
- #~ msgstr "L'URL ci-dessus est sauvegardée dans les champs méta :"
933
-
934
- #~ msgid "Custom styles"
935
- #~ msgstr "Styles personnalisés"
936
-
937
- #~ msgid "Add related posts to:"
938
- #~ msgstr "Ajouter les articles relatifs aux :"
939
-
940
- #~ msgid "Content filter priority:"
941
- #~ msgstr "Priorité du filtrage du contenu :"
942
-
943
- #~ msgid ""
944
- #~ "A higher number will cause the content above to be processed after other "
945
- #~ "filters. Number below 10 is not recommended."
946
- #~ msgstr ""
947
- #~ "Un nombre plus élevé fera que le contenu ci-dessus sera traité après les "
948
- #~ "autres filtres. Un nombre inférieur à 10 n'est pas recommandé."
949
-
950
- #~ msgid ""
951
- #~ "This sets the cutoff period for which posts will be displayed. e.g. "
952
- #~ "setting it to 365 will show related posts from the last year only. Set it "
953
- #~ "to 0 to disable limiting posts."
954
- #~ msgstr ""
955
- #~ "Ceci définit la période de coupure durant laquelle les articles seront "
956
- #~ "affichés. Le mettre par exemple à 365 affichera les articles similaires "
957
- #~ "de la dernière année seulement. Réglez-le à 0 pour désactiver cette "
958
- #~ "limitation."
959
-
960
- #~ msgid ""
961
- #~ "If unchecked, only posts titles are used. I recommend using a caching "
962
- #~ "plugin or enabling \"Cache output\" above if you enable this."
963
- #~ msgstr ""
964
- #~ "Si décoché, seuls les titres des articles sont utilisés. Je recommande "
965
- #~ "d'utiliser une extension de mise en cache ou d'activer le « Cache de "
966
- #~ "sortie » ci-dessus si vous l'activez."
967
-
968
- #~ msgid "Limit content to be compared"
969
- #~ msgstr "Limiter le contenu à comparer"
970
-
971
- #~ msgid ""
972
- #~ "This sets the maximum words of the content that will be matched. 0 means "
973
- #~ "no limit."
974
- #~ msgstr ""
975
- #~ "Ceci définit le maximum de mots du contenu qui seront mis en "
976
- #~ "correspondance. Mettre 0 pour aucune limite."
977
-
978
- #~ msgid "Title of related posts: "
979
- #~ msgstr "Titre des articles relatifs :"
980
-
981
- #~ msgid "Length of excerpt (in words): "
982
- #~ msgstr "Longueur de l'extrait (en mots) :"
983
-
984
- #~ msgid ""
985
- #~ "Any title longer than the number of characters set above will be cut and "
986
- #~ "appended with a &helip;"
987
- #~ msgstr ""
988
- #~ "Tous les titres plus long que le nombre de caractères seront coupés et un "
989
- #~ "&helip; sera ajouté."
990
-
991
- #~ msgid ""
992
- #~ "You can choose from existing image sizes above or create a custom size. "
993
- #~ "If you have chosen Custom size above, then enter the width, height and "
994
- #~ "crop settings below. For best results, use a cropped image."
995
- #~ msgstr ""
996
- #~ "Vous pouvez choisir parmi les tailles d'images existantes ci-dessus ou "
997
- #~ "créer une taille personnalisée. Si vous avez choisi la taille "
998
- #~ "personnalisée ci-dessus, alors entrez la largeur, puis la hauteur et les "
999
- #~ "réglages de recadrage ci-dessous. Pour de meilleurs résultats, utilisez "
1000
- #~ "une image recadrée."
1001
-
1002
- #~ msgid ""
1003
- #~ "If you change the width, height or crop mode below, existing images will "
1004
- #~ "not be automatically resized."
1005
- #~ msgstr ""
1006
- #~ "Si vous modifiez la largeur, hauteur ou mode de recadrage ci-dessous, les "
1007
- #~ "images existantes ne seront pas redimensionnées automatiquement."
1008
-
1009
- #~ msgid "Style attributes / Width and Height HTML attributes:"
1010
- #~ msgstr "Attributs de style / Attributs HTML de largeur et de hauteur :"
1011
-
1012
- #~ msgid ""
1013
- #~ "The value of this field should contain the image source and is set in the "
1014
- #~ "<em>Add New Post</em> screen"
1015
- #~ msgstr ""
1016
- #~ "La valeur de ce champ doit contenir la source de l'image et se trouve "
1017
- #~ "dans l'écran <em>Ajouter un nouvel article</em>"
1018
-
1019
- #~ msgid "Use default style included in the plugin?"
1020
- #~ msgstr "Utiliser les styles par défaut inclus dans l'extension ?"
1021
-
1022
- #~ msgid ""
1023
- #~ "Contextual Related Posts includes a default style that makes your popular "
1024
- #~ "posts list to look beautiful. Check the box above if you want to use this."
1025
- #~ msgstr ""
1026
- #~ "Contextual Related Posts inclut un style par défaut qui rend votre liste "
1027
- #~ "d'articles populaires plus belle. Cochez la case ci-dessus si vous "
1028
- #~ "désirez l'utiliser."
1029
-
1030
- #~ msgid ""
1031
- #~ "I recommend using <a href='%s' target='_blank'>OTF Regenerate Thumbnails</"
1032
- #~ "a> or <a href='%s' target='_blank'>Regenerate Thumbnails</a> to "
1033
- #~ "regenerate all image sizes."
1034
- #~ msgstr ""
1035
- #~ "Je recommande d'utiliser les extensions <a href='%s' target='_blank'>OTF "
1036
- #~ "Regenerate Thumbnails</a> ou <a href='%s' target='_blank'>Regenerate "
1037
- #~ "Thumbnails</a> pour régénérer toutes les tailles d'image."
1038
-
1039
- #~ msgid ""
1040
- #~ "Since you're using the default styles set under the Custom Styles "
1041
- #~ "section, the width and height is fixed at 150px"
1042
- #~ msgstr ""
1043
- #~ "Puisque vous utilisez les styles par défaut défini dans la section Styles "
1044
- #~ "personnalisés, la largeur et la hauteur sont fixées à 150px"
1
  #
2
  # Translators:
3
  # Franck, 2015
4
+ # FX Bénard <fxb@wp-translations.org>, 2015
5
+ # FX Bénard <fxb@wp-translations.org>, 2014
6
  # Jean-Christophe Brebion <pro@jcbrebion.com>, 2014-2015
7
  msgid ""
8
  msgstr ""
9
  "Project-Id-Version: Contextual Related Posts\n"
10
  "Report-Msgid-Bugs-To: \n"
11
+ "POT-Creation-Date: 2015-09-27 13:33+0100\n"
12
+ "PO-Revision-Date: 2015-09-27 13:33+0100\n"
13
  "Last-Translator: Ajay D'Souza <me@ajaydsouza.com>\n"
14
+ "Language-Team: French (France) (http://www.transifex.com/wp-translations/"
15
  "contextual-related-posts/language/fr_FR/)\n"
16
  "Language: fr_FR\n"
17
  "MIME-Version: 1.0\n"
24
  "X-Poedit-SourceCharset: UTF-8\n"
25
  "X-Poedit-SearchPath-0: .\n"
26
 
27
+ #: admin/admin.php:191
28
  msgid "Options saved successfully. If enabled, the cache has been cleared."
29
  msgstr ""
30
+ "Les options ont bien été sauvegardées. Si actif, le cache a été nettoyé."
31
 
32
+ #: admin/admin.php:194
33
  msgid ""
34
  "Rounded Thumbnails style selected. Author, Excerpt and Date will not be "
35
  "displayed."
36
  msgstr ""
37
+ "Le style \"Miniatures arrondies\" est sélectionné. L'auteur, l'extrait et la "
38
+ "date ne seront pas affichés."
39
 
40
+ #: admin/admin.php:197
41
  msgid "Text Only style selected. Thumbnails will not be displayed."
42
  msgstr ""
43
+ "Le style \"Texte uniquement\" est sélectionné. Les miniatures ne seront pas "
44
+ "affichées."
45
 
46
+ #: admin/admin.php:200
47
  #, php-format
48
  msgid "Pre-built thumbnail size selected. Thumbnail set to %d x %d."
49
  msgstr ""
50
+ "La miniature intégrée est sélectionnée. Sa taille est définie à %d x %d."
51
 
52
+ #: admin/admin.php:224
53
  msgid "Options set to Default."
54
  msgstr "Options remises à la valeur par défaut."
55
 
56
+ #: admin/admin.php:233
57
  msgid "Index recreated"
58
  msgstr "Index recrée"
59
 
61
  msgid "Related Posts"
62
  msgstr "Articles relatifs"
63
 
64
+ #: admin/cache.php:42
65
  msgid ""
66
  "An error occurred clearing the cache. Please contact your site administrator."
67
  "\\n\\nError message:\\n"
69
  "Une erreur s'est produite lors du nettoyage du cache. Veuillez contacter "
70
  "l'administrateur de votre site.\\n\\nMessage d'erreur :\\n"
71
 
72
+ #: admin/cache.php:47
73
  msgid " cached row(s) cleared"
74
  msgstr "rang(s) en cache nettoyé(s)"
75
 
77
  msgid "Settings"
78
  msgstr "Réglages"
79
 
80
+ #: admin/loader.php:46 admin/sidebar-view.php:72
81
  msgid "Support"
82
  msgstr "Aide"
83
 
84
  #: admin/loader.php:47
85
  msgid "Donate"
86
+ msgstr "Faire un don"
87
 
88
  #: admin/loader.php:48
89
  msgid "Contribute"
99
 
100
  #: admin/main-view.php:33 admin/main-view.php:142
101
  msgid "List tuning options"
102
+ msgstr "Liste des options de personnalisation"
103
 
104
+ #: admin/main-view.php:34 admin/main-view.php:249
105
  msgid "Output options"
106
  msgstr "Options de sortie"
107
 
108
+ #: admin/main-view.php:35 admin/main-view.php:453
109
  #: includes/class-crp-widget.php:93
110
  msgid "Thumbnail options"
111
  msgstr "Options de la miniature"
112
 
113
+ #: admin/main-view.php:36 admin/main-view.php:608
114
  msgid "Styles"
115
+ msgstr "Styles"
116
 
117
+ #: admin/main-view.php:37 admin/main-view.php:686
118
  msgid "Feed options"
119
  msgstr "Options du flux"
120
 
137
  "plugins like WP Super Cache or W3 Total Cache. It is recommended that you "
138
  "enable this on your blog."
139
  msgstr ""
140
+ "Le cache de CRP fonctionne indépendamment et en plus de l'une de vos "
141
+ "extension de cache comme WP Super Cache ou W3 Total Cache. Il vous est "
142
+ "recommandé de l'activer sur votre blog."
143
 
144
  #: admin/main-view.php:75
145
  msgid "Clear cache"
146
+ msgstr "Nettoyer le cache"
147
 
148
  #: admin/main-view.php:79
149
  msgid "Automatically add related posts to:"
150
+ msgstr "Ajouter automatiquement les articles relatifs aux :"
151
 
152
  #: admin/main-view.php:81
153
  msgid "Posts"
171
 
172
  #: admin/main-view.php:86
173
  msgid "Tag archives"
174
+ msgstr "Archives d'étiquette"
175
 
176
  #: admin/main-view.php:87
177
  msgid "Other archives"
189
 
190
  #: admin/main-view.php:92
191
  msgid "Display location priority:"
192
+ msgstr "Afficher la priorité de l'emplacement&nbsp;:"
193
 
194
  #: admin/main-view.php:95
195
  msgid ""
196
  "If you select to automatically add the related posts, CRP will hook into the "
197
  "Content Filter at a priority as specified in this option."
198
  msgstr ""
199
+ "Si vous choisissez d'ajouter automatiquement les messages relatifs, CRP "
200
+ "accrochera dans le filtre de contenu à avec la priorité spécifiée dans cette "
201
+ "option."
202
 
203
  #: admin/main-view.php:96
204
  msgid ""
206
  "their display further down after the post content. Any number below 10 is "
207
  "not recommended."
208
  msgstr ""
209
+ "Un nombre plus élevé entraînera les articles concernés à être traités plus "
210
+ "tard et déplacer leur affichage plus bas après le contenu du message. Une "
211
+ "valeur inférieure à 10 est déconseillée."
212
 
213
  #: admin/main-view.php:100
214
  msgid "Show metabox:"
215
+ msgstr "Afficher la boîte méta&nbsp;:"
216
 
217
  #: admin/main-view.php:103
218
  msgid ""
219
  "This will add the Contextual Related Posts metabox on Edit Posts or Add New "
220
  "Posts screens. Also applies to Pages and Custom Post Types."
221
  msgstr ""
222
+ "Cela ajoutera la boîte méta Contextual Related Posts sur \"Modifier les "
223
+ "articles\" ou \"Ajouter des écrans de nouveaux articles\". Cela s'applique "
224
+ "également aux pages et types de contenu personnalisé."
225
 
226
  #: admin/main-view.php:107
227
  msgid "Limit metabox to Admins only:"
228
+ msgstr "Limiter la boîte méta uniquement aux admins&nbsp;;"
229
 
230
  #: admin/main-view.php:110
231
  msgid ""
233
  "Admin. Otherwise, by default, Contributors and above will be able to see the "
234
  "metabox. This applies only if the above option is selected."
235
  msgstr ""
236
+ "Si cette option est sélectionnée, la boîte méta sera cachée de toute "
237
+ "personne qui est pas un administrateur. Sinon, par défaut, contributeurs et "
238
+ "supérieur seront en mesure de voir la boîte méta. Cela ne s'applique "
239
+ "uniquement que si l'option ci-dessus est sélectionnée."
240
 
241
  #: admin/main-view.php:114
242
  msgid "Tell the world you're using Contextual Related Posts:"
254
  "Ajoute un lien nofollow vers la page d'accueil de Contextual Related Posts "
255
  "comme la dernière fois dans la liste."
256
 
257
+ #: admin/main-view.php:135 admin/main-view.php:242 admin/main-view.php:446
258
+ #: admin/main-view.php:601 admin/main-view.php:679 admin/main-view.php:751
259
+ #: admin/main-view.php:767
260
  msgid "Save Options"
261
  msgstr "Sauvegarder les options"
262
 
263
+ #: admin/main-view.php:158 admin/main-view.php:704
264
  msgid "Number of related posts to display: "
265
  msgstr "Nombre d'articles relatifs à afficher :"
266
 
286
  "it to 365 will show related posts from the last year only. Set to 0 to "
287
  "disable limiting posts by date."
288
  msgstr ""
289
+ "Ceci définit la période de coupure pendant laquelle les articles seront "
290
+ "affichés. La fixer par exemple à 365 affichera les messages relatifs de la "
291
+ "dernière année seulement. Mettre à 0 pour désactiver la limitation "
292
+ "d'articles par jour."
293
 
294
  #: admin/main-view.php:172
295
  msgid "Find related posts based on content as well as title:"
302
  "different, so toggle this option to see which setting gives you better "
303
  "quality related posts."
304
  msgstr ""
305
+ "Si c'est décoché, seuls les titres des articles sont utilisés. Je recommande "
306
+ "d'utiliser une extension de mise en cache ou activer la \"mise en cache de "
307
+ "la sortie\" ci-dessus si vous l'activez. Chaque site est différent, donc "
308
+ "changer cette option pour voir ce qui donne des articles relatifs de "
309
+ "meilleure qualité."
310
 
311
  #: admin/main-view.php:178
312
  msgid "Limit content to be compared:"
313
+ msgstr "Limite de contenu à comparer&nbsp;:"
314
 
315
  #: admin/main-view.php:180
316
  msgid ""
317
  "This sets the maximum words of the content that will be matched. Set to 0 "
318
  "for no limit. Only applies if you active the above option."
319
  msgstr ""
320
+ "Ceci définit le maximum de mots du contenu qui devront correspondre. Mettre "
321
+ "à 0 pour aucune limite. Ne s'applique uniquement que si vous activez "
322
+ "l'option ci-dessus."
323
 
324
  #: admin/main-view.php:184
325
  msgid "Post types to include in results:"
336
  msgid "List of post or page IDs to exclude from the results:"
337
  msgstr "La liste des IDs d'articles ou de pages à exclure des résultats :"
338
 
339
+ #: admin/main-view.php:197 admin/main-view.php:377
340
  msgid ""
341
  "Comma separated list of post, page or custom post type IDs. e.g. 188,320,500"
342
  msgstr ""
353
  "so simply start typing in the beginning of your category name and it will "
354
  "prompt you with options."
355
  msgstr ""
356
+ "Une liste séparée par des virgules d'identifiants de catégorie. Le champ "
357
+ "utilise l'auto-complétion, commencez à remplir le début du nom de la "
358
  "catégorie pour voir des résultats s'afficher."
359
 
360
+ #: admin/main-view.php:216
361
  msgid "Excluded category IDs are:"
362
+ msgstr "Les IDs des catégories exclues sont&nbsp;:"
363
+
364
+ #: admin/main-view.php:222
365
+ msgid ""
366
+ "These might differ from the IDs visible in the Categories page which use the "
367
+ "<code>term_id</code>. CRP uses the <code>term_taxonomy_id</code> which is "
368
+ "unique to this taxonomy."
369
  msgstr ""
370
 
371
+ #: admin/main-view.php:265
372
  msgid "Title of related posts:"
373
+ msgstr "Titre des articles relatifs :"
374
 
375
+ #: admin/main-view.php:268
376
  msgid ""
377
  "This is the main heading of the related posts. You can also display the "
378
  "current post title by using <code>%postname%</code>. e.g. <code>Related "
382
  "afficher le titre de l'article en utilisant <code>%postname%</code>. p.ex. "
383
  "<code>Articles relatifs à %postname%</code>"
384
 
385
+ #: admin/main-view.php:272
386
  msgid "When there are no posts, what should be shown?"
387
  msgstr "Quand il n'y a aucun article, qu'est-ce qui doit être affiché ?"
388
 
389
+ #: admin/main-view.php:276
390
  msgid "Blank Output"
391
  msgstr "Sortie vide"
392
 
393
+ #: admin/main-view.php:281
394
  msgid "Display:"
395
  msgstr "Affichage :"
396
 
397
+ #: admin/main-view.php:287 admin/main-view.php:707
398
  msgid "Show post excerpt in list?"
399
  msgstr "Afficher l'extrait de l'article en liste ?"
400
 
401
+ #: admin/main-view.php:290
402
  #, php-format
403
  msgid ""
404
  "Displays the excerpt of the post. If you do not provide an explicit excerpt "
410
  "extrait automatique sera affiché qui prendra en compte les premiers %d mots "
411
  "du contenu de celui-ci."
412
 
413
+ #: admin/main-view.php:293
414
  msgid ""
415
  "Rounded Thumbnails style selected under the Custom Styles. Excerpt display "
416
  "is disabled."
417
  msgstr ""
418
+ "Le style \"Miniatures arrondies\" est sélectionné sous les styles "
419
+ "personnalisés. L'affichage de l'extrait est désactivé."
420
 
421
+ #: admin/main-view.php:298
422
  msgid "Length of excerpt (in words):"
423
+ msgstr "Longueur de l'extrait (en mots)&nbsp;:"
424
 
425
+ #: admin/main-view.php:304
426
  msgid "Show post author in list?"
427
  msgstr "Afficher l'auteur de l'article en liste ?"
428
 
429
+ #: admin/main-view.php:307
430
  msgid "Displays the author name prefixed with \"by\". e.g. by John Doe"
431
  msgstr ""
432
  "Affiche le nom de l'auteur préfixé avec \"de\". p.ex. de Pierre Paul Jacques"
433
 
434
+ #: admin/main-view.php:310
435
  msgid ""
436
  "Rounded Thumbnails style selected under the Custom Styles. Author display is "
437
  "disabled."
438
  msgstr ""
439
+ "Le style \"Miniatures arrondies\" est sélectionné sous les styles "
440
+ "personnalisés. L'affichage de l'auteur est désactivé."
441
 
442
+ #: admin/main-view.php:315
443
  msgid "Show post date in list?"
444
  msgstr "Afficher la date de l'article en liste ?"
445
 
446
+ #: admin/main-view.php:318
447
  msgid ""
448
  "Displays the date of the post. Uses the same date format set in General "
449
  "Options"
451
  "Affiche la date de l'article. Utilise le même format que celui de vos "
452
  "options générales"
453
 
454
+ #: admin/main-view.php:321
455
  msgid ""
456
  "Rounded Thumbnails style selected under the Custom Styles. Date display is "
457
  "disabled."
458
  msgstr ""
459
+ "Le style \"Miniatures arrondies\" est sélectionné sous les styles "
460
+ "personnalisés. L'affichage de la date est désactivé."
461
 
462
+ #: admin/main-view.php:326
463
  msgid "Limit post title length (in characters)"
464
  msgstr "Limiter la longueur du titre de l'article (en caractères)"
465
 
466
+ #: admin/main-view.php:329
467
  msgid ""
468
  "Any title longer than the number of characters set above will be cut and "
469
  "appended with an ellipsis (&hellip;)"
470
  msgstr ""
471
+ "Tous les titres plus longs que le nombre de caractères définis ci-dessus "
472
+ "seront coupés et une ellipse (&hellip;) sera ajoutée."
473
 
474
+ #: admin/main-view.php:333
475
  msgid "Open links in new window"
476
  msgstr "Ouvrir les liens dans une nouvelle fenêtre"
477
 
478
+ #: admin/main-view.php:339
479
  msgid "Add nofollow attribute to links in the list"
480
  msgstr "Ajouter un attribut de nofollow aux liens de la liste"
481
 
482
+ #: admin/main-view.php:372
483
  msgid "Exclusion settings:"
484
  msgstr "Réglages d'exclusion :"
485
 
486
+ #: admin/main-view.php:374
487
  msgid "Exclude display of related posts on these posts / pages"
488
  msgstr "Exclure l'affichage des articles relatifs sur ces articles / pages"
489
 
490
+ #: admin/main-view.php:380
491
  msgid "Exclude display of related posts on these post types."
492
  msgstr "Exclure l'affichage des articles relatifs sur ces types d'articles."
493
 
494
+ #: admin/main-view.php:387
495
  msgid ""
496
  "The related posts will not display on any of the above selected post types"
497
  msgstr ""
498
  "Les articles relatifs ne seront pas affichés sur aucun des types d'articles "
499
+ "ci-dessus."
500
 
501
+ #: admin/main-view.php:417
502
  msgid "Customize the output:"
503
  msgstr "Personnaliser la sortie :"
504
 
505
+ #: admin/main-view.php:419
506
  msgid "HTML to display before the list of posts: "
507
  msgstr "HTML à afficher avant la liste des articles :"
508
 
509
+ #: admin/main-view.php:422
510
  msgid "HTML to display before each list item: "
511
  msgstr "HTML à afficher avant chaque élément de la liste :"
512
 
513
+ #: admin/main-view.php:425
514
  msgid "HTML to display after each list item: "
515
  msgstr "HTML à afficher après chaque élément de la liste :"
516
 
517
+ #: admin/main-view.php:428
518
  msgid "HTML to display after the list of posts: "
519
  msgstr "HTML à afficher après la liste d'articles :"
520
 
521
+ #: admin/main-view.php:469 admin/main-view.php:710
522
  msgid "Location of post thumbnail:"
523
  msgstr "Emplacement de la miniature de l'article :"
524
 
525
+ #: admin/main-view.php:473 admin/main-view.php:714
526
  msgid "Display thumbnails inline with posts, before title"
527
  msgstr "Afficher les miniatures avec l'article, avant le titre"
528
 
529
+ #: admin/main-view.php:477 admin/main-view.php:718
530
  msgid "Display thumbnails inline with posts, after title"
531
  msgstr "Afficher les miniatures avec l'article, après le titre"
532
 
533
+ #: admin/main-view.php:481 admin/main-view.php:722
534
  msgid "Display only thumbnails, no text"
535
+ msgstr "N'afficher que les miniatures, pas de texte"
536
 
537
+ #: admin/main-view.php:485 admin/main-view.php:726
538
  msgid "Do not display thumbnails, only text."
539
+ msgstr "Ne pas afficher de miniature, que le texte"
540
 
541
+ #: admin/main-view.php:488
542
  msgid ""
543
  "This setting cannot be changed because an inbuilt style has been selected "
544
  "under the Styles section. If you would like to change this option, please "
545
  "select <strong>No styles</strong> under the Styles section."
546
  msgstr ""
547
+ "Ce paramètre ne peut pas être modifié en raison d'un style intégré qui a été "
548
+ "sélectionné dans la section Styles. Si vous souhaitez modifier cette option, "
549
+ "veuillez sélectionnez <strong>Pas de styles</strong> dans la section Styles."
550
 
551
+ #: admin/main-view.php:492
552
  msgid "Thumbnail size:"
553
  msgstr "Taille des miniatures&nbsp;:"
554
 
555
+ #: admin/main-view.php:516
556
  msgid "Custom size"
557
  msgstr "Taille personnalisée"
558
 
559
+ #: admin/main-view.php:519
560
  msgid "You can choose from existing image sizes above or create a custom size."
561
  msgstr ""
562
+ "Vous pouvez choisir parmi les tailles d'images existantes ci-dessus ou créer "
563
+ "un format personnalisé."
564
 
565
+ #: admin/main-view.php:520
566
  msgid ""
567
  "If you choose an existing size, then the width, height and crop mode "
568
  "settings in the three options below will be automatically updated to reflect "
569
  "the correct dimensions of the setting."
570
  msgstr ""
571
+ "Si vous choisissez une taille existante, alors les réglages de la largeur, "
572
+ "la hauteur et du mode de recadrage dans les trois options ci-dessous seront "
573
+ "automatiquement mise à jour pour refléter les dimensions correctes de la "
574
+ "configuration."
575
 
576
+ #: admin/main-view.php:521
577
  msgid ""
578
  "If you have chosen Custom size above, then enter the width, height and crop "
579
  "settings below. For best results, use a cropped image with the same width "
580
  "and height. The default setting is 150x150 cropped image."
581
  msgstr ""
582
+ "Si vous avez choisi la taille personnalisée ci-dessus, alors entrez la "
583
+ "largeur, la hauteur et les paramètres de recadrage ci-dessous. Pour de "
584
+ "meilleurs résultats, utilisez une image recadrée avec les mêmes largeur et "
585
+ "hauteur. Le réglage par défaut est 150x150 image recadrée."
586
 
587
+ #: admin/main-view.php:522
588
  msgid ""
589
  "Any changes to the thumbnail settings doesn't automatically resize existing "
590
  "images."
591
  msgstr ""
592
+ "Les modifications apportées aux paramètres de miniatures ne redimensionnent "
593
+ "pas automatiquement les images existantes."
594
 
595
+ #: admin/main-view.php:523
596
  #, php-format
597
  msgid ""
598
  "I recommend using <a href='%s' class='thickbox'>OTF Regenerate Thumbnails</"
599
  "a> or <a href='%s' class='thickbox'>Regenerate Thumbnails</a> to regenerate "
600
  "all image sizes."
601
  msgstr ""
602
+ "Je recommande d'utiliser <a href='%s' class='thickbox'>OTF Regenerate "
603
+ "Thumbnails</a> ou <a href='%s' class='thickbox'>Regenerate Thumbnails</a> "
604
+ "pour régénérer toutes les tailles d'image ."
605
 
606
+ #: admin/main-view.php:527
607
  msgid "Width of the thumbnail:"
608
+ msgstr "Largeur de la miniature&nbsp;:"
609
 
610
+ #: admin/main-view.php:530
611
  msgid "Height of the thumbnail: "
612
+ msgstr "Hauteur de la miniature&nbsp;:"
613
 
614
+ #: admin/main-view.php:535
615
  msgid "Crop mode:"
616
+ msgstr "Mode de recadrage&nbsp;:"
617
 
618
+ #: admin/main-view.php:539
619
  msgid ""
620
  "By default, thumbnails will be hard cropped. Uncheck this box to "
621
  "proportionately/soft crop the thumbnails."
623
  "Par défaut, les miniatures seront recadrées de façon non proportionnée. "
624
  "Décochez cette case pour recadrer de façon proportionnée les miniatures. "
625
 
626
+ #: admin/main-view.php:540
627
  #, php-format
628
  msgid "<a href='%s' target='_blank'>Difference between soft and hard crop</a>"
629
  msgstr ""
630
+ "<a href='%s' target='_blank'>La différence entre le redimensionnement soft "
631
+ "et hard.</a>"
632
 
633
+ #: admin/main-view.php:544
634
  msgid "Image size attributes:"
635
+ msgstr "Attributs de taille de l'image :"
636
 
637
+ #: admin/main-view.php:548
638
  msgid "Style attributes are used for width and height."
639
  msgstr "Les attributs de style sont utilisés pour la hauteur et la largeur."
640
 
641
+ #: admin/main-view.php:554
642
  msgid "HTML width and height attributes are used for width and height."
643
  msgstr ""
644
+ "Les attributs HTML de hauteur et de largeur sont utilisés pour la hauteur et "
645
+ "la largeur."
646
 
647
+ #: admin/main-view.php:560
648
  msgid "No HTML or Style attributes set for width and height"
649
+ msgstr "Aucun attribut HTML ou de style utilisé pour la hauteur et la largeur"
650
 
651
+ #: admin/main-view.php:565
652
  msgid "Post thumbnail meta field name:"
653
+ msgstr "Nom du champ méta de la miniature de l'article&nbsp:;"
654
 
655
+ #: admin/main-view.php:567
656
  msgid ""
657
  "The value of this field should contain a direct link to the image. This is "
658
  "set in the meta box in the <em>Add New Post</em> screen."
659
  msgstr ""
660
+ "La valeur de ce champ doit contenir un lien direct vers l'image. Ceci est "
661
+ "défini dans la boîte méta dans l'écran <em>Ajouter un nouvel article</em>."
662
 
663
+ #: admin/main-view.php:570
664
  msgid "Extract the first image from the post?"
665
  msgstr "Extraire la première image de l'article ?"
666
 
667
+ #: admin/main-view.php:572
668
  msgid ""
669
  "This will only happen if there is no post thumbnail set and no image URL is "
670
  "specified in the meta field."
672
  "Cela se produit uniquement que s'il n'y a aucune miniature d'article et "
673
  "qu'aucune URL d'image n'est spécifiée dans le champ des métadonnées."
674
 
675
+ #: admin/main-view.php:575
676
  msgid "Use default thumbnail?"
677
  msgstr "Utiliser la miniature par défaut ?"
678
 
679
+ #: admin/main-view.php:577
680
  msgid ""
681
  "If checked, when no thumbnail is found, show a default one from the URL "
682
  "below. If not checked and no thumbnail is found, no image will be shown."
685
  "dessous est utilisée. Si décoché et qu'aucune miniature n'est trouvée, "
686
  "aucune image ne sera affichée."
687
 
688
+ #: admin/main-view.php:580
689
  msgid "Default thumbnail:"
690
+ msgstr "Miniature par défaut&nbsp;:"
691
 
692
+ #: admin/main-view.php:583
693
  msgid ""
694
  "The plugin will first check if the post contains a thumbnail. If it doesn't "
695
  "then it will check the meta field. If this is not available, then it will "
700
  "toujours disponible, alors elle affichera l'image par défaut comme indiquée "
701
  "ci-dessus."
702
 
703
+ #: admin/main-view.php:624
704
  msgid "Style of the related posts:"
705
+ msgstr "Style des articles relatifs :"
706
 
707
+ #: admin/main-view.php:627
708
  msgid "No styles"
709
+ msgstr "Aucun style"
710
 
711
+ #: admin/main-view.php:629
712
  msgid "Select this option if you plan to add your own styles"
713
+ msgstr "Sélectionner cette option si vous comptez ajouter vos propres styles."
714
 
715
+ #: admin/main-view.php:633
716
  msgid "Rounded Thumbnails"
717
+ msgstr "Miniatures arrondies"
718
 
719
+ #: admin/main-view.php:636
720
  msgid ""
721
  "Enabling this option will turn on the thumbnails and set their width and "
722
  "height to 150px. It will also turn off the display of the author, excerpt "
723
  "and date if already enabled. Disabling this option will not revert any "
724
  "settings."
725
  msgstr ""
726
+ "L'activation de cette option activera les miniatures et réglera leur largeur "
727
+ "et leur hauteur à 150px. Cela désactivera aussi l'affichage de l'auteur, de "
728
+ "l'extrait et de la date s'ils sont déjà activés. La désactivation de cette "
729
+ "option ne réinitialisera aucun réglage."
730
 
731
+ #: admin/main-view.php:637
732
  #, php-format
733
  msgid ""
734
  "You can view the default style at <a href=\"%1$s\" target=\"_blank\">%1$s</a>"
735
  msgstr ""
736
+ "Vous pouvez voir le style par défaut sur <a href=\"%1$s\" target=\"_blank\">"
737
+ "%1$s</a>."
738
 
739
+ #: admin/main-view.php:641
740
  msgid "Text only"
741
+ msgstr "Texte seul"
742
 
743
+ #: admin/main-view.php:643
744
  msgid ""
745
  "Enabling this option will disable thumbnails and no longer include the "
746
  "default style sheet included in the plugin."
747
  msgstr ""
748
+ "L'activation de cette option désactivera les miniatures et le style par "
749
+ "défaut de l'extension. "
750
 
751
+ #: admin/main-view.php:658
752
  msgid "Custom CSS to add to header:"
753
+ msgstr "CSS personnalisé à ajouter dans l'en-tête :"
754
 
755
+ #: admin/main-view.php:662
756
  msgid ""
757
  "Do not include <code>style</code> tags. Check out the <a href=\"http://"
758
  "wordpress.org/extend/plugins/contextual-related-posts/faq/\" target=\"_blank"
762
  "\"http://wordpress.org/extend/plugins/contextual-related-posts/faq/\" target="
763
  "\"_blank\">FAQ</a> pour connaitre les classes de style CSS disponibles."
764
 
765
+ #: admin/main-view.php:702
766
  msgid ""
767
  "Below options override the related posts settings for your blog feed. These "
768
  "only apply if you have selected to add related posts to Feeds in the General "
769
  "Options tab."
770
  msgstr ""
771
  "Les options ci-dessous remplacent les réglages des articles relatifs pour "
772
+ "les flux de votre blog. Celles-ci ne s'appliquent que si vous avez choisi "
773
  "d'ajouter des articles relatifs à vos flux dans l'onglet Options générales."
774
 
775
+ #: admin/main-view.php:730
776
  msgid "Maximum width of the thumbnail: "
777
  msgstr "Largeur maximale de la miniature :"
778
 
779
+ #: admin/main-view.php:733
780
  msgid "Maximum height of the thumbnail: "
781
  msgstr "Hauteur maximale de la miniature :"
782
 
783
+ #: admin/main-view.php:768
784
  msgid "Default Options"
785
+ msgstr "Options par défaut"
786
 
787
+ #: admin/main-view.php:768
788
  msgid "Do you want to set options to Default?"
789
  msgstr "Voulez-vous réinitialiser les options à leurs valeurs par défaut ?"
790
 
791
+ #: admin/main-view.php:769
792
  msgid "Recreate Index"
793
  msgstr "Recréer l'index"
794
 
795
+ #: admin/main-view.php:769
796
  msgid "Are you sure you want to recreate the index?"
797
  msgstr "Voulez-vous vraiment recréer l'index ?"
798
 
799
+ #: admin/main-view.php:774
800
  msgid ""
801
  "One or more FULLTEXT indices are missing. Please hit the <a href="
802
  "\"#crp_recreate\">Recreate Index button</a> at the bottom of the page to fix "
803
  "this."
804
  msgstr ""
805
+ "Un ou plusieurs indices FULLTEXT sont manquants. Veuillez appuyer sur le <a "
806
+ "href=\"#crp_recreate\">Bouton recréer l'indice</a> en bas de la page pour "
807
+ "corriger ce problème."
808
 
809
+ #: admin/metabox.php:98
810
  msgid "Location of thumbnail:"
811
  msgstr "Emplacement de la miniature :"
812
 
813
+ #: admin/metabox.php:100
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 "
820
  "utiliser. Cette image sera utilisée pour l'article. Elle sera redimensionnée "
821
  "en fonction des dimensions réglées dans les réglages des options de sortie"
822
 
823
+ #: admin/metabox.php:101
824
  msgid "The URL above is saved in the meta field:"
825
+ msgstr "L'URL ci-dessus est sauvegardée dans les champs méta&nbsp;:"
826
 
827
+ #: admin/metabox.php:106
828
  msgid ""
829
  "You have Top 10 WordPress Plugin installed. If you are trying to modify the "
830
  "thumbnail, then you'll need to make the same change in the Top 10 meta box "
831
  "on this page."
832
  msgstr ""
833
+ "Vous avez installé l'extension WordPress Top 10. Si vous essayez de modifier "
834
+ "la miniature, alors vous aurez besoin de faire le même changement dans la "
835
+ "boîte méta Top 10 sur cette page."
836
 
837
+ #: admin/metabox.php:117
838
  msgid "Disable Related Posts display:"
839
+ msgstr "Désactiver l'affichage des articles relatifs&nbsp;:"
840
 
841
+ #: admin/metabox.php:120
842
  msgid ""
843
  "If this is checked, then Contextual Related Posts will not automatically "
844
  "insert the related posts at the end of post content."
845
  msgstr ""
846
+ "Si cette case est cochée, alors Contextual Related Posts n'insérera pas "
847
+ "automatiquement les articles relatifs à la fin du contenu de l'article."
848
 
849
+ #: admin/metabox.php:125 admin/metabox.php:133
850
  msgid "Manual related posts:"
851
+ msgstr "Articles relatifs manuels&nbsp;:"
852
 
853
+ #: admin/metabox.php:127
854
  msgid ""
855
  "Comma separated list of post, page or custom post type IDs. e.g. "
856
  "188,320,500. These will be given preference over the related posts generated "
857
  "by the plugin."
858
  msgstr ""
859
+ "Une liste des identifiants des articles, pages ou types de contenu "
860
+ "personnalisé séparés par des virgules. Par exemple 188,320,500. Ceux-ci "
861
+ "auront la préférence sur les articles relatifs générés par l'extension."
862
 
863
+ #: admin/metabox.php:128
864
  msgid ""
865
  "Once you enter the list above and save this page, the plugin will display "
866
  "the titles of the posts below for your reference. Only IDs corresponding to "
867
  "published posts or custom post types will be retained."
868
  msgstr ""
869
+ "Une fois que vous avez saisi dans la liste ci-dessus et enregistré cette "
870
+ "page, l'extension affichera les titres des messages ci-dessous pour votre "
871
+ "référence. Seuls les identifiants correspondant aux articles publiés ou "
872
+ "types de contenu personnalisé seront conservés."
873
 
874
+ #: admin/metabox.php:142
875
  msgid "This post type is:"
876
+ msgstr "Ce type d'article est&nbsp;:"
877
 
878
  #: admin/sidebar-view.php:20
879
  msgid "Support the development"
895
  msgid "Follow me"
896
  msgstr "Suivez-moi"
897
 
898
+ #: admin/sidebar-view.php:66
899
  msgid "Quick links"
900
  msgstr "Liens rapides"
901
 
902
+ #: admin/sidebar-view.php:70
903
  msgid "Plugin homepage"
904
+ msgstr "Page d'accueil de l'extension"
905
 
906
+ #: admin/sidebar-view.php:71
907
  msgid "FAQ"
908
  msgstr "FAQ"
909
 
910
+ #: admin/sidebar-view.php:73
911
  msgid "Reviews"
912
  msgstr "Avis"
913
 
914
+ #: admin/sidebar-view.php:74
915
  msgid "Github repository"
916
+ msgstr "Dépôt Github"
917
 
918
+ #: admin/sidebar-view.php:75
919
  msgid "Other plugins"
920
  msgstr "Autres extensions"
921
 
922
+ #: admin/sidebar-view.php:76
923
  msgid "Ajay's blog"
924
  msgstr "Blog de Ajay"
925
 
926
+ #: contextual-related-posts.php:232
927
  #, php-format
928
  msgid "Powered by <a href=\"%s\" rel=\"nofollow\">Contextual Related Posts</a>"
929
  msgstr ""
930
  "Propulsé par <a href=\"%s\" rel=\"nofollow\">Contextual Related Posts</a>"
931
 
932
+ #: contextual-related-posts.php:710
933
  msgid "<h3>Related Posts:</h3>"
934
  msgstr "<h3>Articles relatifs :</h3>"
935
 
936
+ #: contextual-related-posts.php:712
937
  msgid "No related posts found"
938
  msgstr "Aucun article relatif trouvé."
939
 
983
 
984
  #: includes/class-crp-widget.php:103
985
  msgid "Thumbnail height"
986
+ msgstr "Hauteur de la miniature"
987
 
988
  #: includes/class-crp-widget.php:108
989
  msgid "Thumbnail width"
990
+ msgstr "Largeur de la miniature"
991
 
992
  #: includes/class-crp-widget.php:112
993
  msgid "Post types to include:"
994
+ msgstr "Types d'articles à inclure&nbsp;:"
995
 
996
+ #: includes/media.php:67
997
  msgid "thumb_timthumb argument has been deprecated"
998
  msgstr "L'argument thumb_timthumb est devenu obsolète"
999
 
1000
+ #: includes/media.php:71
1001
  msgid "thumb_timthumb_q argument has been deprecated"
1002
  msgstr "L'argument thumb_timthumb_q est devenu obsolète"
1003
 
1004
+ #: includes/media.php:75
1005
  msgid "filter argument has been deprecated"
1006
  msgstr "L'argument filter est devenu obsolète"
1007
 
1008
  #: includes/output-generator.php:238
1009
  msgid " by "
1010
  msgstr " par"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
languages/{crp-it_IT.mo → contextual-related-posts-it_IT.mo} RENAMED
Binary file
languages/{crp-it_IT.po → contextual-related-posts-it_IT.po} RENAMED
@@ -2,7 +2,7 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Contextual Related Posts in italiano\n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2015-09-05 11:13+0100\n"
6
  "PO-Revision-Date: \n"
7
  "Last-Translator: Ajay D'Souza <me@ajaydsouza.com>\n"
8
  "Language-Team: Gianni Diurno | http://gidibao.net/ <gidibao@gmail.com>\n"
@@ -16,30 +16,30 @@ msgstr ""
16
  "X-Poedit-SourceCharset: UTF-8\n"
17
  "X-Poedit-SearchPath-0: .\n"
18
 
19
- #: admin/admin.php:190
20
  msgid "Options saved successfully. If enabled, the cache has been cleared."
21
  msgstr ""
22
 
23
- #: admin/admin.php:193
24
  msgid ""
25
  "Rounded Thumbnails style selected. Author, Excerpt and Date will not be "
26
  "displayed."
27
  msgstr ""
28
 
29
- #: admin/admin.php:196
30
  msgid "Text Only style selected. Thumbnails will not be displayed."
31
  msgstr ""
32
 
33
- #: admin/admin.php:199
34
  #, php-format
35
  msgid "Pre-built thumbnail size selected. Thumbnail set to %d x %d."
36
  msgstr ""
37
 
38
- #: admin/admin.php:223
39
  msgid "Options set to Default."
40
  msgstr "Opzioni impostate alle predefinite."
41
 
42
- #: admin/admin.php:232
43
  msgid "Index recreated"
44
  msgstr "E' stato ricreato l'indice"
45
 
@@ -47,13 +47,13 @@ msgstr "E' stato ricreato l'indice"
47
  msgid "Related Posts"
48
  msgstr "Related Posts"
49
 
50
- #: admin/cache.php:44
51
  msgid ""
52
  "An error occurred clearing the cache. Please contact your site administrator."
53
  "\\n\\nError message:\\n"
54
  msgstr ""
55
 
56
- #: admin/cache.php:49
57
  msgid " cached row(s) cleared"
58
  msgstr ""
59
 
@@ -61,7 +61,7 @@ msgstr ""
61
  msgid "Settings"
62
  msgstr "Impostazioni"
63
 
64
- #: admin/loader.php:46 admin/sidebar-view.php:59
65
  msgid "Support"
66
  msgstr "Supporto"
67
 
@@ -87,22 +87,22 @@ msgstr "Le opzioni sono state salvate con successo."
87
  msgid "List tuning options"
88
  msgstr ""
89
 
90
- #: admin/main-view.php:34 admin/main-view.php:239
91
  #, fuzzy
92
  msgid "Output options"
93
  msgstr "Le opzioni sono state salvate con successo."
94
 
95
- #: admin/main-view.php:35 admin/main-view.php:443
96
  #: includes/class-crp-widget.php:93
97
  #, fuzzy
98
  msgid "Thumbnail options"
99
  msgstr "Opzioni miniature articolo:"
100
 
101
- #: admin/main-view.php:36 admin/main-view.php:596
102
  msgid "Styles"
103
  msgstr ""
104
 
105
- #: admin/main-view.php:37 admin/main-view.php:674
106
  #, fuzzy
107
  msgid "Feed options"
108
  msgstr "Le opzioni sono state salvate con successo."
@@ -229,14 +229,14 @@ msgid ""
229
  "in the list."
230
  msgstr "Contextual Related Posts "
231
 
232
- #: admin/main-view.php:135 admin/main-view.php:232 admin/main-view.php:436
233
- #: admin/main-view.php:589 admin/main-view.php:667 admin/main-view.php:739
234
- #: admin/main-view.php:755
235
  #, fuzzy
236
  msgid "Save Options"
237
  msgstr "Le opzioni sono state salvate con successo."
238
 
239
- #: admin/main-view.php:158 admin/main-view.php:692
240
  msgid "Number of related posts to display: "
241
  msgstr "numero di articoli correlati da mostrare:"
242
 
@@ -301,7 +301,7 @@ msgstr ""
301
  msgid "List of post or page IDs to exclude from the results:"
302
  msgstr "Escludi categorie:"
303
 
304
- #: admin/main-view.php:197 admin/main-view.php:367
305
  msgid ""
306
  "Comma separated list of post, page or custom post type IDs. e.g. 188,320,500"
307
  msgstr ""
@@ -318,39 +318,46 @@ msgid ""
318
  "prompt you with options."
319
  msgstr ""
320
 
321
- #: admin/main-view.php:214
322
  msgid "Excluded category IDs are:"
323
  msgstr ""
324
 
325
- #: admin/main-view.php:255
 
 
 
 
 
 
 
326
  msgid "Title of related posts:"
327
  msgstr ""
328
 
329
- #: admin/main-view.php:258
330
  msgid ""
331
  "This is the main heading of the related posts. You can also display the "
332
  "current post title by using <code>%postname%</code>. e.g. <code>Related "
333
  "Posts to %postname%</code>"
334
  msgstr ""
335
 
336
- #: admin/main-view.php:262
337
  msgid "When there are no posts, what should be shown?"
338
  msgstr "Cosa desideri mostrare in assenza di articoli?"
339
 
340
- #: admin/main-view.php:266
341
  msgid "Blank Output"
342
  msgstr "nulla"
343
 
344
- #: admin/main-view.php:271
345
  #, fuzzy
346
  msgid "Display:"
347
  msgstr "Numero degli articoli più popolari da mostrare:"
348
 
349
- #: admin/main-view.php:277 admin/main-view.php:695
350
  msgid "Show post excerpt in list?"
351
  msgstr "Desideri mostrare gli estratti?"
352
 
353
- #: admin/main-view.php:280
354
  #, php-format
355
  msgid ""
356
  "Displays the excerpt of the post. If you do not provide an explicit excerpt "
@@ -358,169 +365,169 @@ msgid ""
358
  "automatic excerpt which refers to the first %d words of the post's content"
359
  msgstr ""
360
 
361
- #: admin/main-view.php:283
362
  msgid ""
363
  "Rounded Thumbnails style selected under the Custom Styles. Excerpt display "
364
  "is disabled."
365
  msgstr ""
366
 
367
- #: admin/main-view.php:288
368
  msgid "Length of excerpt (in words):"
369
  msgstr ""
370
 
371
- #: admin/main-view.php:294
372
  #, fuzzy
373
  msgid "Show post author in list?"
374
  msgstr "Desideri mostrare gli estratti?"
375
 
376
- #: admin/main-view.php:297
377
  msgid "Displays the author name prefixed with \"by\". e.g. by John Doe"
378
  msgstr ""
379
 
380
- #: admin/main-view.php:300
381
  msgid ""
382
  "Rounded Thumbnails style selected under the Custom Styles. Author display is "
383
  "disabled."
384
  msgstr ""
385
 
386
- #: admin/main-view.php:305
387
  #, fuzzy
388
  msgid "Show post date in list?"
389
  msgstr "Desideri mostrare gli estratti?"
390
 
391
- #: admin/main-view.php:308
392
  msgid ""
393
  "Displays the date of the post. Uses the same date format set in General "
394
  "Options"
395
  msgstr ""
396
 
397
- #: admin/main-view.php:311
398
  msgid ""
399
  "Rounded Thumbnails style selected under the Custom Styles. Date display is "
400
  "disabled."
401
  msgstr ""
402
 
403
- #: admin/main-view.php:316
404
  msgid "Limit post title length (in characters)"
405
  msgstr ""
406
 
407
- #: admin/main-view.php:319
408
  msgid ""
409
  "Any title longer than the number of characters set above will be cut and "
410
  "appended with an ellipsis (&hellip;)"
411
  msgstr ""
412
 
413
- #: admin/main-view.php:323
414
  msgid "Open links in new window"
415
  msgstr ""
416
 
417
- #: admin/main-view.php:329
418
  msgid "Add nofollow attribute to links in the list"
419
  msgstr ""
420
 
421
- #: admin/main-view.php:362
422
  #, fuzzy
423
  msgid "Exclusion settings:"
424
  msgstr "Impostazioni"
425
 
426
- #: admin/main-view.php:364
427
  #, fuzzy
428
  msgid "Exclude display of related posts on these posts / pages"
429
  msgstr "aggiungi gli articoli correlati al feed"
430
 
431
- #: admin/main-view.php:370
432
  #, fuzzy
433
  msgid "Exclude display of related posts on these post types."
434
  msgstr "aggiungi gli articoli correlati al feed"
435
 
436
- #: admin/main-view.php:377
437
  msgid ""
438
  "The related posts will not display on any of the above selected post types"
439
  msgstr ""
440
 
441
- #: admin/main-view.php:407
442
  msgid "Customize the output:"
443
  msgstr "Personalizzazione output:"
444
 
445
- #: admin/main-view.php:409
446
  msgid "HTML to display before the list of posts: "
447
  msgstr "HTML da mostrare davanti alla lista degli articoli:"
448
 
449
- #: admin/main-view.php:412
450
  msgid "HTML to display before each list item: "
451
  msgstr "HTML da mostrare davanti ad ogni singola lista:"
452
 
453
- #: admin/main-view.php:415
454
  msgid "HTML to display after each list item: "
455
  msgstr "HTML da mostrare dopo ogni lista:"
456
 
457
- #: admin/main-view.php:418
458
  msgid "HTML to display after the list of posts: "
459
  msgstr "HTML da mostrare dopo la lista degli articoli:"
460
 
461
- #: admin/main-view.php:459 admin/main-view.php:698
462
  #, fuzzy
463
  msgid "Location of post thumbnail:"
464
  msgstr "Opzioni miniature articolo:"
465
 
466
- #: admin/main-view.php:463 admin/main-view.php:702
467
  #, fuzzy
468
  msgid "Display thumbnails inline with posts, before title"
469
  msgstr "Mostra gli articoli con le miniature inline prima del titolo"
470
 
471
- #: admin/main-view.php:467 admin/main-view.php:706
472
  #, fuzzy
473
  msgid "Display thumbnails inline with posts, after title"
474
  msgstr "Mostra gli articoli con le miniature inline dopo il titolo"
475
 
476
- #: admin/main-view.php:471 admin/main-view.php:710
477
  msgid "Display only thumbnails, no text"
478
  msgstr "Mostra le sole miniature, nessun testo"
479
 
480
- #: admin/main-view.php:475 admin/main-view.php:714
481
  msgid "Do not display thumbnails, only text."
482
  msgstr "Non mostrare le miniature, solo testo."
483
 
484
- #: admin/main-view.php:478
485
  msgid ""
486
  "This setting cannot be changed because an inbuilt style has been selected "
487
  "under the Styles section. If you would like to change this option, please "
488
  "select <strong>No styles</strong> under the Styles section."
489
  msgstr ""
490
 
491
- #: admin/main-view.php:482
492
  msgid "Thumbnail size:"
493
  msgstr ""
494
 
495
- #: admin/main-view.php:506
496
  msgid "Custom size"
497
  msgstr ""
498
 
499
- #: admin/main-view.php:509
500
  msgid "You can choose from existing image sizes above or create a custom size."
501
  msgstr ""
502
 
503
- #: admin/main-view.php:510
504
  msgid ""
505
  "If you choose an existing size, then the width, height and crop mode "
506
  "settings in the three options below will be automatically updated to reflect "
507
  "the correct dimensions of the setting."
508
  msgstr ""
509
 
510
- #: admin/main-view.php:511
511
  msgid ""
512
  "If you have chosen Custom size above, then enter the width, height and crop "
513
  "settings below. For best results, use a cropped image with the same width "
514
  "and height. The default setting is 150x150 cropped image."
515
  msgstr ""
516
 
517
- #: admin/main-view.php:512
518
  msgid ""
519
  "Any changes to the thumbnail settings doesn't automatically resize existing "
520
  "images."
521
  msgstr ""
522
 
523
- #: admin/main-view.php:513
524
  #, php-format
525
  msgid ""
526
  "I recommend using <a href='%s' class='thickbox'>OTF Regenerate Thumbnails</"
@@ -528,71 +535,71 @@ msgid ""
528
  "all image sizes."
529
  msgstr ""
530
 
531
- #: admin/main-view.php:517
532
  msgid "Width of the thumbnail:"
533
  msgstr ""
534
 
535
- #: admin/main-view.php:520
536
  msgid "Height of the thumbnail: "
537
  msgstr ""
538
 
539
- #: admin/main-view.php:525
540
  msgid "Crop mode:"
541
  msgstr ""
542
 
543
- #: admin/main-view.php:529
544
  msgid ""
545
  "By default, thumbnails will be hard cropped. Uncheck this box to "
546
  "proportionately/soft crop the thumbnails."
547
  msgstr ""
548
 
549
- #: admin/main-view.php:530
550
  #, php-format
551
  msgid "<a href='%s' target='_blank'>Difference between soft and hard crop</a>"
552
  msgstr ""
553
 
554
- #: admin/main-view.php:534
555
  msgid "Image size attributes:"
556
  msgstr ""
557
 
558
- #: admin/main-view.php:538
559
  msgid "Style attributes are used for width and height."
560
  msgstr ""
561
 
562
- #: admin/main-view.php:543
563
  msgid "HTML width and height attributes are used for width and height."
564
  msgstr ""
565
 
566
- #: admin/main-view.php:548
567
  msgid "No HTML or Style attributes set for width and height"
568
  msgstr ""
569
 
570
- #: admin/main-view.php:553
571
  #, fuzzy
572
  msgid "Post thumbnail meta field name:"
573
  msgstr "Opzioni miniature articolo:"
574
 
575
- #: admin/main-view.php:555
576
  msgid ""
577
  "The value of this field should contain a direct link to the image. This is "
578
  "set in the meta box in the <em>Add New Post</em> screen."
579
  msgstr ""
580
 
581
- #: admin/main-view.php:558
582
  msgid "Extract the first image from the post?"
583
  msgstr ""
584
 
585
- #: admin/main-view.php:560
586
  msgid ""
587
  "This will only happen if there is no post thumbnail set and no image URL is "
588
  "specified in the meta field."
589
  msgstr ""
590
 
591
- #: admin/main-view.php:563
592
  msgid "Use default thumbnail?"
593
  msgstr ""
594
 
595
- #: admin/main-view.php:565
596
  #, fuzzy
597
  msgid ""
598
  "If checked, when no thumbnail is found, show a default one from the URL "
@@ -601,12 +608,12 @@ msgstr ""
601
  "Se attiva, in assenza di miniatura ne mostrerà una predefinita da URL qui "
602
  "sotto. Se inattiva e senza miniatura, non verrà mostrata nessuna immagine."
603
 
604
- #: admin/main-view.php:568
605
  #, fuzzy
606
  msgid "Default thumbnail:"
607
  msgstr "Opzioni impostate alle predefinite."
608
 
609
- #: admin/main-view.php:571
610
  #, fuzzy
611
  msgid ""
612
  "The plugin will first check if the post contains a thumbnail. If it doesn't "
@@ -618,23 +625,23 @@ msgstr ""
618
  "meta. Qualora non fosse disponibile, mostrerà l'immagine predefinita come "
619
  "specificato qui sotto:"
620
 
621
- #: admin/main-view.php:612
622
  msgid "Style of the related posts:"
623
  msgstr ""
624
 
625
- #: admin/main-view.php:615
626
  msgid "No styles"
627
  msgstr ""
628
 
629
- #: admin/main-view.php:617
630
  msgid "Select this option if you plan to add your own styles"
631
  msgstr ""
632
 
633
- #: admin/main-view.php:621
634
  msgid "Rounded Thumbnails"
635
  msgstr ""
636
 
637
- #: admin/main-view.php:624
638
  msgid ""
639
  "Enabling this option will turn on the thumbnails and set their width and "
640
  "height to 150px. It will also turn off the display of the author, excerpt "
@@ -642,126 +649,126 @@ msgid ""
642
  "settings."
643
  msgstr ""
644
 
645
- #: admin/main-view.php:625
646
  #, php-format
647
  msgid ""
648
  "You can view the default style at <a href=\"%1$s\" target=\"_blank\">%1$s</a>"
649
  msgstr ""
650
 
651
- #: admin/main-view.php:629
652
  msgid "Text only"
653
  msgstr ""
654
 
655
- #: admin/main-view.php:631
656
  msgid ""
657
  "Enabling this option will disable thumbnails and no longer include the "
658
  "default style sheet included in the plugin."
659
  msgstr ""
660
 
661
- #: admin/main-view.php:646
662
  msgid "Custom CSS to add to header:"
663
  msgstr ""
664
 
665
- #: admin/main-view.php:650
666
  msgid ""
667
  "Do not include <code>style</code> tags. Check out the <a href=\"http://"
668
  "wordpress.org/extend/plugins/contextual-related-posts/faq/\" target=\"_blank"
669
  "\">FAQ</a> for available CSS classes to style."
670
  msgstr ""
671
 
672
- #: admin/main-view.php:690
673
  msgid ""
674
  "Below options override the related posts settings for your blog feed. These "
675
  "only apply if you have selected to add related posts to Feeds in the General "
676
  "Options tab."
677
  msgstr ""
678
 
679
- #: admin/main-view.php:718
680
  #, fuzzy
681
  msgid "Maximum width of the thumbnail: "
682
  msgstr "Opzioni miniature articolo:"
683
 
684
- #: admin/main-view.php:721
685
  #, fuzzy
686
  msgid "Maximum height of the thumbnail: "
687
  msgstr "Opzioni miniature articolo:"
688
 
689
- #: admin/main-view.php:756
690
  #, fuzzy
691
  msgid "Default Options"
692
  msgstr "Opzioni impostate alle predefinite."
693
 
694
- #: admin/main-view.php:756
695
  msgid "Do you want to set options to Default?"
696
  msgstr "Sei certo di volere impostare alle opzioni predefinite?"
697
 
698
- #: admin/main-view.php:757
699
  msgid "Recreate Index"
700
  msgstr ""
701
 
702
- #: admin/main-view.php:757
703
  msgid "Are you sure you want to recreate the index?"
704
  msgstr "Sei certo di volere ricreare l'indice?"
705
 
706
- #: admin/main-view.php:762
707
  msgid ""
708
  "One or more FULLTEXT indices are missing. Please hit the <a href="
709
  "\"#crp_recreate\">Recreate Index button</a> at the bottom of the page to fix "
710
  "this."
711
  msgstr ""
712
 
713
- #: admin/metabox.php:100
714
  #, fuzzy
715
  msgid "Location of thumbnail:"
716
  msgstr "Opzioni miniature articolo:"
717
 
718
- #: admin/metabox.php:102
719
  msgid ""
720
  "Enter the full URL to the image (JPG, PNG or GIF) you'd like to use. This "
721
  "image will be used for the post. It will be resized to the thumbnail size "
722
  "set under Settings &raquo; Related Posts &raquo; Output Options"
723
  msgstr ""
724
 
725
- #: admin/metabox.php:103
726
  msgid "The URL above is saved in the meta field:"
727
  msgstr ""
728
 
729
- #: admin/metabox.php:108
730
  msgid ""
731
  "You have Top 10 WordPress Plugin installed. If you are trying to modify the "
732
  "thumbnail, then you'll need to make the same change in the Top 10 meta box "
733
  "on this page."
734
  msgstr ""
735
 
736
- #: admin/metabox.php:119
737
  msgid "Disable Related Posts display:"
738
  msgstr ""
739
 
740
- #: admin/metabox.php:122
741
  msgid ""
742
  "If this is checked, then Contextual Related Posts will not automatically "
743
  "insert the related posts at the end of post content."
744
  msgstr ""
745
 
746
- #: admin/metabox.php:127 admin/metabox.php:135
747
  msgid "Manual related posts:"
748
  msgstr ""
749
 
750
- #: admin/metabox.php:129
751
  msgid ""
752
  "Comma separated list of post, page or custom post type IDs. e.g. "
753
  "188,320,500. These will be given preference over the related posts generated "
754
  "by the plugin."
755
  msgstr ""
756
 
757
- #: admin/metabox.php:130
758
  msgid ""
759
  "Once you enter the list above and save this page, the plugin will display "
760
  "the titles of the posts below for your reference. Only IDs corresponding to "
761
  "published posts or custom post types will be retained."
762
  msgstr ""
763
 
764
- #: admin/metabox.php:144
765
  msgid "This post type is:"
766
  msgstr ""
767
 
@@ -787,45 +794,45 @@ msgstr "Invia la tua donazione all'autore di"
787
  msgid "Follow me"
788
  msgstr ""
789
 
790
- #: admin/sidebar-view.php:53
791
  #, fuzzy
792
  msgid "Quick links"
793
  msgstr "Collegamenti veloci"
794
 
795
- #: admin/sidebar-view.php:57
796
  msgid "Plugin homepage"
797
  msgstr ""
798
 
799
- #: admin/sidebar-view.php:58
800
  msgid "FAQ"
801
  msgstr ""
802
 
803
- #: admin/sidebar-view.php:60
804
  msgid "Reviews"
805
  msgstr ""
806
 
807
- #: admin/sidebar-view.php:61
808
  msgid "Github repository"
809
  msgstr ""
810
 
811
- #: admin/sidebar-view.php:62
812
  msgid "Other plugins"
813
  msgstr "Altri plugin"
814
 
815
- #: admin/sidebar-view.php:63
816
  msgid "Ajay's blog"
817
  msgstr "Il blog di Ajay"
818
 
819
- #: contextual-related-posts.php:178
820
  #, php-format
821
  msgid "Powered by <a href=\"%s\" rel=\"nofollow\">Contextual Related Posts</a>"
822
  msgstr ""
823
 
824
- #: contextual-related-posts.php:659
825
  msgid "<h3>Related Posts:</h3>"
826
  msgstr "<h3>Related Posts:</h3>"
827
 
828
- #: contextual-related-posts.php:661
829
  #, fuzzy
830
  msgid "No related posts found"
831
  msgstr "Non é stato trovato alcun articolo correlato"
@@ -899,15 +906,15 @@ msgstr "Opzioni miniature articolo:"
899
  msgid "Post types to include:"
900
  msgstr ""
901
 
902
- #: includes/media-handler.php:68
903
  msgid "thumb_timthumb argument has been deprecated"
904
  msgstr ""
905
 
906
- #: includes/media-handler.php:72
907
  msgid "thumb_timthumb_q argument has been deprecated"
908
  msgstr ""
909
 
910
- #: includes/media-handler.php:76
911
  msgid "filter argument has been deprecated"
912
  msgstr ""
913
 
2
  msgstr ""
3
  "Project-Id-Version: Contextual Related Posts in italiano\n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2015-09-27 13:33+0100\n"
6
  "PO-Revision-Date: \n"
7
  "Last-Translator: Ajay D'Souza <me@ajaydsouza.com>\n"
8
  "Language-Team: Gianni Diurno | http://gidibao.net/ <gidibao@gmail.com>\n"
16
  "X-Poedit-SourceCharset: UTF-8\n"
17
  "X-Poedit-SearchPath-0: .\n"
18
 
19
+ #: admin/admin.php:191
20
  msgid "Options saved successfully. If enabled, the cache has been cleared."
21
  msgstr ""
22
 
23
+ #: admin/admin.php:194
24
  msgid ""
25
  "Rounded Thumbnails style selected. Author, Excerpt and Date will not be "
26
  "displayed."
27
  msgstr ""
28
 
29
+ #: admin/admin.php:197
30
  msgid "Text Only style selected. Thumbnails will not be displayed."
31
  msgstr ""
32
 
33
+ #: admin/admin.php:200
34
  #, php-format
35
  msgid "Pre-built thumbnail size selected. Thumbnail set to %d x %d."
36
  msgstr ""
37
 
38
+ #: admin/admin.php:224
39
  msgid "Options set to Default."
40
  msgstr "Opzioni impostate alle predefinite."
41
 
42
+ #: admin/admin.php:233
43
  msgid "Index recreated"
44
  msgstr "E' stato ricreato l'indice"
45
 
47
  msgid "Related Posts"
48
  msgstr "Related Posts"
49
 
50
+ #: admin/cache.php:42
51
  msgid ""
52
  "An error occurred clearing the cache. Please contact your site administrator."
53
  "\\n\\nError message:\\n"
54
  msgstr ""
55
 
56
+ #: admin/cache.php:47
57
  msgid " cached row(s) cleared"
58
  msgstr ""
59
 
61
  msgid "Settings"
62
  msgstr "Impostazioni"
63
 
64
+ #: admin/loader.php:46 admin/sidebar-view.php:72
65
  msgid "Support"
66
  msgstr "Supporto"
67
 
87
  msgid "List tuning options"
88
  msgstr ""
89
 
90
+ #: admin/main-view.php:34 admin/main-view.php:249
91
  #, fuzzy
92
  msgid "Output options"
93
  msgstr "Le opzioni sono state salvate con successo."
94
 
95
+ #: admin/main-view.php:35 admin/main-view.php:453
96
  #: includes/class-crp-widget.php:93
97
  #, fuzzy
98
  msgid "Thumbnail options"
99
  msgstr "Opzioni miniature articolo:"
100
 
101
+ #: admin/main-view.php:36 admin/main-view.php:608
102
  msgid "Styles"
103
  msgstr ""
104
 
105
+ #: admin/main-view.php:37 admin/main-view.php:686
106
  #, fuzzy
107
  msgid "Feed options"
108
  msgstr "Le opzioni sono state salvate con successo."
229
  "in the list."
230
  msgstr "Contextual Related Posts "
231
 
232
+ #: admin/main-view.php:135 admin/main-view.php:242 admin/main-view.php:446
233
+ #: admin/main-view.php:601 admin/main-view.php:679 admin/main-view.php:751
234
+ #: admin/main-view.php:767
235
  #, fuzzy
236
  msgid "Save Options"
237
  msgstr "Le opzioni sono state salvate con successo."
238
 
239
+ #: admin/main-view.php:158 admin/main-view.php:704
240
  msgid "Number of related posts to display: "
241
  msgstr "numero di articoli correlati da mostrare:"
242
 
301
  msgid "List of post or page IDs to exclude from the results:"
302
  msgstr "Escludi categorie:"
303
 
304
+ #: admin/main-view.php:197 admin/main-view.php:377
305
  msgid ""
306
  "Comma separated list of post, page or custom post type IDs. e.g. 188,320,500"
307
  msgstr ""
318
  "prompt you with options."
319
  msgstr ""
320
 
321
+ #: admin/main-view.php:216
322
  msgid "Excluded category IDs are:"
323
  msgstr ""
324
 
325
+ #: admin/main-view.php:222
326
+ msgid ""
327
+ "These might differ from the IDs visible in the Categories page which use the "
328
+ "<code>term_id</code>. CRP uses the <code>term_taxonomy_id</code> which is "
329
+ "unique to this taxonomy."
330
+ msgstr ""
331
+
332
+ #: admin/main-view.php:265
333
  msgid "Title of related posts:"
334
  msgstr ""
335
 
336
+ #: admin/main-view.php:268
337
  msgid ""
338
  "This is the main heading of the related posts. You can also display the "
339
  "current post title by using <code>%postname%</code>. e.g. <code>Related "
340
  "Posts to %postname%</code>"
341
  msgstr ""
342
 
343
+ #: admin/main-view.php:272
344
  msgid "When there are no posts, what should be shown?"
345
  msgstr "Cosa desideri mostrare in assenza di articoli?"
346
 
347
+ #: admin/main-view.php:276
348
  msgid "Blank Output"
349
  msgstr "nulla"
350
 
351
+ #: admin/main-view.php:281
352
  #, fuzzy
353
  msgid "Display:"
354
  msgstr "Numero degli articoli più popolari da mostrare:"
355
 
356
+ #: admin/main-view.php:287 admin/main-view.php:707
357
  msgid "Show post excerpt in list?"
358
  msgstr "Desideri mostrare gli estratti?"
359
 
360
+ #: admin/main-view.php:290
361
  #, php-format
362
  msgid ""
363
  "Displays the excerpt of the post. If you do not provide an explicit excerpt "
365
  "automatic excerpt which refers to the first %d words of the post's content"
366
  msgstr ""
367
 
368
+ #: admin/main-view.php:293
369
  msgid ""
370
  "Rounded Thumbnails style selected under the Custom Styles. Excerpt display "
371
  "is disabled."
372
  msgstr ""
373
 
374
+ #: admin/main-view.php:298
375
  msgid "Length of excerpt (in words):"
376
  msgstr ""
377
 
378
+ #: admin/main-view.php:304
379
  #, fuzzy
380
  msgid "Show post author in list?"
381
  msgstr "Desideri mostrare gli estratti?"
382
 
383
+ #: admin/main-view.php:307
384
  msgid "Displays the author name prefixed with \"by\". e.g. by John Doe"
385
  msgstr ""
386
 
387
+ #: admin/main-view.php:310
388
  msgid ""
389
  "Rounded Thumbnails style selected under the Custom Styles. Author display is "
390
  "disabled."
391
  msgstr ""
392
 
393
+ #: admin/main-view.php:315
394
  #, fuzzy
395
  msgid "Show post date in list?"
396
  msgstr "Desideri mostrare gli estratti?"
397
 
398
+ #: admin/main-view.php:318
399
  msgid ""
400
  "Displays the date of the post. Uses the same date format set in General "
401
  "Options"
402
  msgstr ""
403
 
404
+ #: admin/main-view.php:321
405
  msgid ""
406
  "Rounded Thumbnails style selected under the Custom Styles. Date display is "
407
  "disabled."
408
  msgstr ""
409
 
410
+ #: admin/main-view.php:326
411
  msgid "Limit post title length (in characters)"
412
  msgstr ""
413
 
414
+ #: admin/main-view.php:329
415
  msgid ""
416
  "Any title longer than the number of characters set above will be cut and "
417
  "appended with an ellipsis (&hellip;)"
418
  msgstr ""
419
 
420
+ #: admin/main-view.php:333
421
  msgid "Open links in new window"
422
  msgstr ""
423
 
424
+ #: admin/main-view.php:339
425
  msgid "Add nofollow attribute to links in the list"
426
  msgstr ""
427
 
428
+ #: admin/main-view.php:372
429
  #, fuzzy
430
  msgid "Exclusion settings:"
431
  msgstr "Impostazioni"
432
 
433
+ #: admin/main-view.php:374
434
  #, fuzzy
435
  msgid "Exclude display of related posts on these posts / pages"
436
  msgstr "aggiungi gli articoli correlati al feed"
437
 
438
+ #: admin/main-view.php:380
439
  #, fuzzy
440
  msgid "Exclude display of related posts on these post types."
441
  msgstr "aggiungi gli articoli correlati al feed"
442
 
443
+ #: admin/main-view.php:387
444
  msgid ""
445
  "The related posts will not display on any of the above selected post types"
446
  msgstr ""
447
 
448
+ #: admin/main-view.php:417
449
  msgid "Customize the output:"
450
  msgstr "Personalizzazione output:"
451
 
452
+ #: admin/main-view.php:419
453
  msgid "HTML to display before the list of posts: "
454
  msgstr "HTML da mostrare davanti alla lista degli articoli:"
455
 
456
+ #: admin/main-view.php:422
457
  msgid "HTML to display before each list item: "
458
  msgstr "HTML da mostrare davanti ad ogni singola lista:"
459
 
460
+ #: admin/main-view.php:425
461
  msgid "HTML to display after each list item: "
462
  msgstr "HTML da mostrare dopo ogni lista:"
463
 
464
+ #: admin/main-view.php:428
465
  msgid "HTML to display after the list of posts: "
466
  msgstr "HTML da mostrare dopo la lista degli articoli:"
467
 
468
+ #: admin/main-view.php:469 admin/main-view.php:710
469
  #, fuzzy
470
  msgid "Location of post thumbnail:"
471
  msgstr "Opzioni miniature articolo:"
472
 
473
+ #: admin/main-view.php:473 admin/main-view.php:714
474
  #, fuzzy
475
  msgid "Display thumbnails inline with posts, before title"
476
  msgstr "Mostra gli articoli con le miniature inline prima del titolo"
477
 
478
+ #: admin/main-view.php:477 admin/main-view.php:718
479
  #, fuzzy
480
  msgid "Display thumbnails inline with posts, after title"
481
  msgstr "Mostra gli articoli con le miniature inline dopo il titolo"
482
 
483
+ #: admin/main-view.php:481 admin/main-view.php:722
484
  msgid "Display only thumbnails, no text"
485
  msgstr "Mostra le sole miniature, nessun testo"
486
 
487
+ #: admin/main-view.php:485 admin/main-view.php:726
488
  msgid "Do not display thumbnails, only text."
489
  msgstr "Non mostrare le miniature, solo testo."
490
 
491
+ #: admin/main-view.php:488
492
  msgid ""
493
  "This setting cannot be changed because an inbuilt style has been selected "
494
  "under the Styles section. If you would like to change this option, please "
495
  "select <strong>No styles</strong> under the Styles section."
496
  msgstr ""
497
 
498
+ #: admin/main-view.php:492
499
  msgid "Thumbnail size:"
500
  msgstr ""
501
 
502
+ #: admin/main-view.php:516
503
  msgid "Custom size"
504
  msgstr ""
505
 
506
+ #: admin/main-view.php:519
507
  msgid "You can choose from existing image sizes above or create a custom size."
508
  msgstr ""
509
 
510
+ #: admin/main-view.php:520
511
  msgid ""
512
  "If you choose an existing size, then the width, height and crop mode "
513
  "settings in the three options below will be automatically updated to reflect "
514
  "the correct dimensions of the setting."
515
  msgstr ""
516
 
517
+ #: admin/main-view.php:521
518
  msgid ""
519
  "If you have chosen Custom size above, then enter the width, height and crop "
520
  "settings below. For best results, use a cropped image with the same width "
521
  "and height. The default setting is 150x150 cropped image."
522
  msgstr ""
523
 
524
+ #: admin/main-view.php:522
525
  msgid ""
526
  "Any changes to the thumbnail settings doesn't automatically resize existing "
527
  "images."
528
  msgstr ""
529
 
530
+ #: admin/main-view.php:523
531
  #, php-format
532
  msgid ""
533
  "I recommend using <a href='%s' class='thickbox'>OTF Regenerate Thumbnails</"
535
  "all image sizes."
536
  msgstr ""
537
 
538
+ #: admin/main-view.php:527
539
  msgid "Width of the thumbnail:"
540
  msgstr ""
541
 
542
+ #: admin/main-view.php:530
543
  msgid "Height of the thumbnail: "
544
  msgstr ""
545
 
546
+ #: admin/main-view.php:535
547
  msgid "Crop mode:"
548
  msgstr ""
549
 
550
+ #: admin/main-view.php:539
551
  msgid ""
552
  "By default, thumbnails will be hard cropped. Uncheck this box to "
553
  "proportionately/soft crop the thumbnails."
554
  msgstr ""
555
 
556
+ #: admin/main-view.php:540
557
  #, php-format
558
  msgid "<a href='%s' target='_blank'>Difference between soft and hard crop</a>"
559
  msgstr ""
560
 
561
+ #: admin/main-view.php:544
562
  msgid "Image size attributes:"
563
  msgstr ""
564
 
565
+ #: admin/main-view.php:548
566
  msgid "Style attributes are used for width and height."
567
  msgstr ""
568
 
569
+ #: admin/main-view.php:554
570
  msgid "HTML width and height attributes are used for width and height."
571
  msgstr ""
572
 
573
+ #: admin/main-view.php:560
574
  msgid "No HTML or Style attributes set for width and height"
575
  msgstr ""
576
 
577
+ #: admin/main-view.php:565
578
  #, fuzzy
579
  msgid "Post thumbnail meta field name:"
580
  msgstr "Opzioni miniature articolo:"
581
 
582
+ #: admin/main-view.php:567
583
  msgid ""
584
  "The value of this field should contain a direct link to the image. This is "
585
  "set in the meta box in the <em>Add New Post</em> screen."
586
  msgstr ""
587
 
588
+ #: admin/main-view.php:570
589
  msgid "Extract the first image from the post?"
590
  msgstr ""
591
 
592
+ #: admin/main-view.php:572
593
  msgid ""
594
  "This will only happen if there is no post thumbnail set and no image URL is "
595
  "specified in the meta field."
596
  msgstr ""
597
 
598
+ #: admin/main-view.php:575
599
  msgid "Use default thumbnail?"
600
  msgstr ""
601
 
602
+ #: admin/main-view.php:577
603
  #, fuzzy
604
  msgid ""
605
  "If checked, when no thumbnail is found, show a default one from the URL "
608
  "Se attiva, in assenza di miniatura ne mostrerà una predefinita da URL qui "
609
  "sotto. Se inattiva e senza miniatura, non verrà mostrata nessuna immagine."
610
 
611
+ #: admin/main-view.php:580
612
  #, fuzzy
613
  msgid "Default thumbnail:"
614
  msgstr "Opzioni impostate alle predefinite."
615
 
616
+ #: admin/main-view.php:583
617
  #, fuzzy
618
  msgid ""
619
  "The plugin will first check if the post contains a thumbnail. If it doesn't "
625
  "meta. Qualora non fosse disponibile, mostrerà l'immagine predefinita come "
626
  "specificato qui sotto:"
627
 
628
+ #: admin/main-view.php:624
629
  msgid "Style of the related posts:"
630
  msgstr ""
631
 
632
+ #: admin/main-view.php:627
633
  msgid "No styles"
634
  msgstr ""
635
 
636
+ #: admin/main-view.php:629
637
  msgid "Select this option if you plan to add your own styles"
638
  msgstr ""
639
 
640
+ #: admin/main-view.php:633
641
  msgid "Rounded Thumbnails"
642
  msgstr ""
643
 
644
+ #: admin/main-view.php:636
645
  msgid ""
646
  "Enabling this option will turn on the thumbnails and set their width and "
647
  "height to 150px. It will also turn off the display of the author, excerpt "
649
  "settings."
650
  msgstr ""
651
 
652
+ #: admin/main-view.php:637
653
  #, php-format
654
  msgid ""
655
  "You can view the default style at <a href=\"%1$s\" target=\"_blank\">%1$s</a>"
656
  msgstr ""
657
 
658
+ #: admin/main-view.php:641
659
  msgid "Text only"
660
  msgstr ""
661
 
662
+ #: admin/main-view.php:643
663
  msgid ""
664
  "Enabling this option will disable thumbnails and no longer include the "
665
  "default style sheet included in the plugin."
666
  msgstr ""
667
 
668
+ #: admin/main-view.php:658
669
  msgid "Custom CSS to add to header:"
670
  msgstr ""
671
 
672
+ #: admin/main-view.php:662
673
  msgid ""
674
  "Do not include <code>style</code> tags. Check out the <a href=\"http://"
675
  "wordpress.org/extend/plugins/contextual-related-posts/faq/\" target=\"_blank"
676
  "\">FAQ</a> for available CSS classes to style."
677
  msgstr ""
678
 
679
+ #: admin/main-view.php:702
680
  msgid ""
681
  "Below options override the related posts settings for your blog feed. These "
682
  "only apply if you have selected to add related posts to Feeds in the General "
683
  "Options tab."
684
  msgstr ""
685
 
686
+ #: admin/main-view.php:730
687
  #, fuzzy
688
  msgid "Maximum width of the thumbnail: "
689
  msgstr "Opzioni miniature articolo:"
690
 
691
+ #: admin/main-view.php:733
692
  #, fuzzy
693
  msgid "Maximum height of the thumbnail: "
694
  msgstr "Opzioni miniature articolo:"
695
 
696
+ #: admin/main-view.php:768
697
  #, fuzzy
698
  msgid "Default Options"
699
  msgstr "Opzioni impostate alle predefinite."
700
 
701
+ #: admin/main-view.php:768
702
  msgid "Do you want to set options to Default?"
703
  msgstr "Sei certo di volere impostare alle opzioni predefinite?"
704
 
705
+ #: admin/main-view.php:769
706
  msgid "Recreate Index"
707
  msgstr ""
708
 
709
+ #: admin/main-view.php:769
710
  msgid "Are you sure you want to recreate the index?"
711
  msgstr "Sei certo di volere ricreare l'indice?"
712
 
713
+ #: admin/main-view.php:774
714
  msgid ""
715
  "One or more FULLTEXT indices are missing. Please hit the <a href="
716
  "\"#crp_recreate\">Recreate Index button</a> at the bottom of the page to fix "
717
  "this."
718
  msgstr ""
719
 
720
+ #: admin/metabox.php:98
721
  #, fuzzy
722
  msgid "Location of thumbnail:"
723
  msgstr "Opzioni miniature articolo:"
724
 
725
+ #: admin/metabox.php:100
726
  msgid ""
727
  "Enter the full URL to the image (JPG, PNG or GIF) you'd like to use. This "
728
  "image will be used for the post. It will be resized to the thumbnail size "
729
  "set under Settings &raquo; Related Posts &raquo; Output Options"
730
  msgstr ""
731
 
732
+ #: admin/metabox.php:101
733
  msgid "The URL above is saved in the meta field:"
734
  msgstr ""
735
 
736
+ #: admin/metabox.php:106
737
  msgid ""
738
  "You have Top 10 WordPress Plugin installed. If you are trying to modify the "
739
  "thumbnail, then you'll need to make the same change in the Top 10 meta box "
740
  "on this page."
741
  msgstr ""
742
 
743
+ #: admin/metabox.php:117
744
  msgid "Disable Related Posts display:"
745
  msgstr ""
746
 
747
+ #: admin/metabox.php:120
748
  msgid ""
749
  "If this is checked, then Contextual Related Posts will not automatically "
750
  "insert the related posts at the end of post content."
751
  msgstr ""
752
 
753
+ #: admin/metabox.php:125 admin/metabox.php:133
754
  msgid "Manual related posts:"
755
  msgstr ""
756
 
757
+ #: admin/metabox.php:127
758
  msgid ""
759
  "Comma separated list of post, page or custom post type IDs. e.g. "
760
  "188,320,500. These will be given preference over the related posts generated "
761
  "by the plugin."
762
  msgstr ""
763
 
764
+ #: admin/metabox.php:128
765
  msgid ""
766
  "Once you enter the list above and save this page, the plugin will display "
767
  "the titles of the posts below for your reference. Only IDs corresponding to "
768
  "published posts or custom post types will be retained."
769
  msgstr ""
770
 
771
+ #: admin/metabox.php:142
772
  msgid "This post type is:"
773
  msgstr ""
774
 
794
  msgid "Follow me"
795
  msgstr ""
796
 
797
+ #: admin/sidebar-view.php:66
798
  #, fuzzy
799
  msgid "Quick links"
800
  msgstr "Collegamenti veloci"
801
 
802
+ #: admin/sidebar-view.php:70
803
  msgid "Plugin homepage"
804
  msgstr ""
805
 
806
+ #: admin/sidebar-view.php:71
807
  msgid "FAQ"
808
  msgstr ""
809
 
810
+ #: admin/sidebar-view.php:73
811
  msgid "Reviews"
812
  msgstr ""
813
 
814
+ #: admin/sidebar-view.php:74
815
  msgid "Github repository"
816
  msgstr ""
817
 
818
+ #: admin/sidebar-view.php:75
819
  msgid "Other plugins"
820
  msgstr "Altri plugin"
821
 
822
+ #: admin/sidebar-view.php:76
823
  msgid "Ajay's blog"
824
  msgstr "Il blog di Ajay"
825
 
826
+ #: contextual-related-posts.php:232
827
  #, php-format
828
  msgid "Powered by <a href=\"%s\" rel=\"nofollow\">Contextual Related Posts</a>"
829
  msgstr ""
830
 
831
+ #: contextual-related-posts.php:710
832
  msgid "<h3>Related Posts:</h3>"
833
  msgstr "<h3>Related Posts:</h3>"
834
 
835
+ #: contextual-related-posts.php:712
836
  #, fuzzy
837
  msgid "No related posts found"
838
  msgstr "Non é stato trovato alcun articolo correlato"
906
  msgid "Post types to include:"
907
  msgstr ""
908
 
909
+ #: includes/media.php:67
910
  msgid "thumb_timthumb argument has been deprecated"
911
  msgstr ""
912
 
913
+ #: includes/media.php:71
914
  msgid "thumb_timthumb_q argument has been deprecated"
915
  msgstr ""
916
 
917
+ #: includes/media.php:75
918
  msgid "filter argument has been deprecated"
919
  msgstr ""
920
 
languages/{crp-lt_LT.mo → contextual-related-posts-lt_LT.mo} RENAMED
Binary file
languages/{crp-lt_LT.po → contextual-related-posts-lt_LT.po} RENAMED
@@ -2,7 +2,7 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Contextual Related Posts\n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2015-09-05 11:13+0100\n"
6
  "PO-Revision-Date: \n"
7
  "Last-Translator: Ajay D'Souza <me@ajaydsouza.com>\n"
8
  "Language-Team: me@ajaydsouza.com\n"
@@ -16,30 +16,30 @@ msgstr ""
16
  "X-Poedit-SourceCharset: UTF-8\n"
17
  "X-Poedit-SearchPath-0: .\n"
18
 
19
- #: admin/admin.php:190
20
  msgid "Options saved successfully. If enabled, the cache has been cleared."
21
  msgstr ""
22
 
23
- #: admin/admin.php:193
24
  msgid ""
25
  "Rounded Thumbnails style selected. Author, Excerpt and Date will not be "
26
  "displayed."
27
  msgstr ""
28
 
29
- #: admin/admin.php:196
30
  msgid "Text Only style selected. Thumbnails will not be displayed."
31
  msgstr ""
32
 
33
- #: admin/admin.php:199
34
  #, php-format
35
  msgid "Pre-built thumbnail size selected. Thumbnail set to %d x %d."
36
  msgstr ""
37
 
38
- #: admin/admin.php:223
39
  msgid "Options set to Default."
40
  msgstr "Opcijas iestatīts uz Default."
41
 
42
- #: admin/admin.php:232
43
  msgid "Index recreated"
44
  msgstr "indekss pārbūvēts"
45
 
@@ -47,13 +47,13 @@ msgstr "indekss pārbūvēts"
47
  msgid "Related Posts"
48
  msgstr "Related Posts"
49
 
50
- #: admin/cache.php:44
51
  msgid ""
52
  "An error occurred clearing the cache. Please contact your site administrator."
53
  "\\n\\nError message:\\n"
54
  msgstr ""
55
 
56
- #: admin/cache.php:49
57
  msgid " cached row(s) cleared"
58
  msgstr ""
59
 
@@ -61,7 +61,7 @@ msgstr ""
61
  msgid "Settings"
62
  msgstr "iestatījumi"
63
 
64
- #: admin/loader.php:46 admin/sidebar-view.php:59
65
  msgid "Support"
66
  msgstr "atbalstīt"
67
 
@@ -86,20 +86,20 @@ msgstr "Настройки сохранены."
86
  msgid "List tuning options"
87
  msgstr ""
88
 
89
- #: admin/main-view.php:34 admin/main-view.php:239
90
  msgid "Output options"
91
  msgstr "Izejas opcijas:"
92
 
93
- #: admin/main-view.php:35 admin/main-view.php:443
94
  #: includes/class-crp-widget.php:93
95
  msgid "Thumbnail options"
96
  msgstr "sīktēlu iespējas"
97
 
98
- #: admin/main-view.php:36 admin/main-view.php:596
99
  msgid "Styles"
100
  msgstr ""
101
 
102
- #: admin/main-view.php:37 admin/main-view.php:674
103
  msgid "Feed options"
104
  msgstr "Iespējas:"
105
 
@@ -224,13 +224,13 @@ msgid ""
224
  "in the list."
225
  msgstr "Konteksta saistītus amatus"
226
 
227
- #: admin/main-view.php:135 admin/main-view.php:232 admin/main-view.php:436
228
- #: admin/main-view.php:589 admin/main-view.php:667 admin/main-view.php:739
229
- #: admin/main-view.php:755
230
  msgid "Save Options"
231
  msgstr "Saglabāt opcijas"
232
 
233
- #: admin/main-view.php:158 admin/main-view.php:692
234
  msgid "Number of related posts to display: "
235
  msgstr "Skaits saistītus amatus, lai parādītu:"
236
 
@@ -294,7 +294,7 @@ msgstr ""
294
  msgid "List of post or page IDs to exclude from the results:"
295
  msgstr "Исключить рубрики:"
296
 
297
- #: admin/main-view.php:197 admin/main-view.php:367
298
  msgid ""
299
  "Comma separated list of post, page or custom post type IDs. e.g. 188,320,500"
300
  msgstr ""
@@ -311,39 +311,46 @@ msgid ""
311
  "prompt you with options."
312
  msgstr ""
313
 
314
- #: admin/main-view.php:214
315
  msgid "Excluded category IDs are:"
316
  msgstr ""
317
 
318
- #: admin/main-view.php:255
 
 
 
 
 
 
 
319
  msgid "Title of related posts:"
320
  msgstr ""
321
 
322
- #: admin/main-view.php:258
323
  msgid ""
324
  "This is the main heading of the related posts. You can also display the "
325
  "current post title by using <code>%postname%</code>. e.g. <code>Related "
326
  "Posts to %postname%</code>"
327
  msgstr ""
328
 
329
- #: admin/main-view.php:262
330
  msgid "When there are no posts, what should be shown?"
331
  msgstr "Ja nav amati, kas būtu redzams?"
332
 
333
- #: admin/main-view.php:266
334
  msgid "Blank Output"
335
  msgstr "tukša izeja"
336
 
337
- #: admin/main-view.php:271
338
  #, fuzzy
339
  msgid "Display:"
340
  msgstr "Количество Популярных записей в списке:"
341
 
342
- #: admin/main-view.php:277 admin/main-view.php:695
343
  msgid "Show post excerpt in list?"
344
  msgstr "Rādīt post izvilkumu sarakstā?"
345
 
346
- #: admin/main-view.php:280
347
  #, php-format
348
  msgid ""
349
  "Displays the excerpt of the post. If you do not provide an explicit excerpt "
@@ -351,166 +358,166 @@ msgid ""
351
  "automatic excerpt which refers to the first %d words of the post's content"
352
  msgstr ""
353
 
354
- #: admin/main-view.php:283
355
  msgid ""
356
  "Rounded Thumbnails style selected under the Custom Styles. Excerpt display "
357
  "is disabled."
358
  msgstr ""
359
 
360
- #: admin/main-view.php:288
361
  msgid "Length of excerpt (in words):"
362
  msgstr ""
363
 
364
- #: admin/main-view.php:294
365
  #, fuzzy
366
  msgid "Show post author in list?"
367
  msgstr "Показывать текст записи в списке?"
368
 
369
- #: admin/main-view.php:297
370
  msgid "Displays the author name prefixed with \"by\". e.g. by John Doe"
371
  msgstr ""
372
 
373
- #: admin/main-view.php:300
374
  msgid ""
375
  "Rounded Thumbnails style selected under the Custom Styles. Author display is "
376
  "disabled."
377
  msgstr ""
378
 
379
- #: admin/main-view.php:305
380
  #, fuzzy
381
  msgid "Show post date in list?"
382
  msgstr "Показывать текст записи в списке?"
383
 
384
- #: admin/main-view.php:308
385
  msgid ""
386
  "Displays the date of the post. Uses the same date format set in General "
387
  "Options"
388
  msgstr ""
389
 
390
- #: admin/main-view.php:311
391
  msgid ""
392
  "Rounded Thumbnails style selected under the Custom Styles. Date display is "
393
  "disabled."
394
  msgstr ""
395
 
396
- #: admin/main-view.php:316
397
  msgid "Limit post title length (in characters)"
398
  msgstr ""
399
 
400
- #: admin/main-view.php:319
401
  msgid ""
402
  "Any title longer than the number of characters set above will be cut and "
403
  "appended with an ellipsis (&hellip;)"
404
  msgstr ""
405
 
406
- #: admin/main-view.php:323
407
  msgid "Open links in new window"
408
  msgstr ""
409
 
410
- #: admin/main-view.php:329
411
  msgid "Add nofollow attribute to links in the list"
412
  msgstr ""
413
 
414
- #: admin/main-view.php:362
415
  #, fuzzy
416
  msgid "Exclusion settings:"
417
  msgstr "spraudnis iestatījumu lapa"
418
 
419
- #: admin/main-view.php:364
420
  msgid "Exclude display of related posts on these posts / pages"
421
  msgstr "Pievienot saistītus amatus barībā"
422
 
423
- #: admin/main-view.php:370
424
  #, fuzzy
425
  msgid "Exclude display of related posts on these post types."
426
  msgstr "Pievienot saistītus amatus barībā"
427
 
428
- #: admin/main-view.php:377
429
  msgid ""
430
  "The related posts will not display on any of the above selected post types"
431
  msgstr ""
432
 
433
- #: admin/main-view.php:407
434
  msgid "Customize the output:"
435
  msgstr "Pielāgot izejas:"
436
 
437
- #: admin/main-view.php:409
438
  msgid "HTML to display before the list of posts: "
439
  msgstr "HTML, lai parādītu, pirms amatu sarakstu:"
440
 
441
- #: admin/main-view.php:412
442
  msgid "HTML to display before each list item: "
443
  msgstr "HTML, lai parādītu pirms katras saraksta elementa:"
444
 
445
- #: admin/main-view.php:415
446
  msgid "HTML to display after each list item: "
447
  msgstr "HTML, lai parādītu pēc katra saraksta elementa:"
448
 
449
- #: admin/main-view.php:418
450
  msgid "HTML to display after the list of posts: "
451
  msgstr "HTML, lai parādītu pēc amatu sarakstā:"
452
 
453
- #: admin/main-view.php:459 admin/main-view.php:698
454
  #, fuzzy
455
  msgid "Location of post thumbnail:"
456
  msgstr "Настройки превью к записям:"
457
 
458
- #: admin/main-view.php:463 admin/main-view.php:702
459
  msgid "Display thumbnails inline with posts, before title"
460
  msgstr "Rādīt skices ar ziņojumiem"
461
 
462
- #: admin/main-view.php:467 admin/main-view.php:706
463
  msgid "Display thumbnails inline with posts, after title"
464
  msgstr "Rādīt sīktēlus saskaņā ar soobscheniyamiazat skicēm ar ziņojumiem"
465
 
466
- #: admin/main-view.php:471 admin/main-view.php:710
467
  msgid "Display only thumbnails, no text"
468
  msgstr "Attēlotu tikai sīktēlus, teksts"
469
 
470
- #: admin/main-view.php:475 admin/main-view.php:714
471
  msgid "Do not display thumbnails, only text."
472
  msgstr "Nerādīt sīktēlus, tikai tekstu."
473
 
474
- #: admin/main-view.php:478
475
  msgid ""
476
  "This setting cannot be changed because an inbuilt style has been selected "
477
  "under the Styles section. If you would like to change this option, please "
478
  "select <strong>No styles</strong> under the Styles section."
479
  msgstr ""
480
 
481
- #: admin/main-view.php:482
482
  msgid "Thumbnail size:"
483
  msgstr ""
484
 
485
- #: admin/main-view.php:506
486
  msgid "Custom size"
487
  msgstr ""
488
 
489
- #: admin/main-view.php:509
490
  msgid "You can choose from existing image sizes above or create a custom size."
491
  msgstr ""
492
 
493
- #: admin/main-view.php:510
494
  msgid ""
495
  "If you choose an existing size, then the width, height and crop mode "
496
  "settings in the three options below will be automatically updated to reflect "
497
  "the correct dimensions of the setting."
498
  msgstr ""
499
 
500
- #: admin/main-view.php:511
501
  msgid ""
502
  "If you have chosen Custom size above, then enter the width, height and crop "
503
  "settings below. For best results, use a cropped image with the same width "
504
  "and height. The default setting is 150x150 cropped image."
505
  msgstr ""
506
 
507
- #: admin/main-view.php:512
508
  msgid ""
509
  "Any changes to the thumbnail settings doesn't automatically resize existing "
510
  "images."
511
  msgstr ""
512
 
513
- #: admin/main-view.php:513
514
  #, php-format
515
  msgid ""
516
  "I recommend using <a href='%s' class='thickbox'>OTF Regenerate Thumbnails</"
@@ -518,71 +525,71 @@ msgid ""
518
  "all image sizes."
519
  msgstr ""
520
 
521
- #: admin/main-view.php:517
522
  msgid "Width of the thumbnail:"
523
  msgstr ""
524
 
525
- #: admin/main-view.php:520
526
  msgid "Height of the thumbnail: "
527
  msgstr ""
528
 
529
- #: admin/main-view.php:525
530
  msgid "Crop mode:"
531
  msgstr ""
532
 
533
- #: admin/main-view.php:529
534
  msgid ""
535
  "By default, thumbnails will be hard cropped. Uncheck this box to "
536
  "proportionately/soft crop the thumbnails."
537
  msgstr ""
538
 
539
- #: admin/main-view.php:530
540
  #, php-format
541
  msgid "<a href='%s' target='_blank'>Difference between soft and hard crop</a>"
542
  msgstr ""
543
 
544
- #: admin/main-view.php:534
545
  msgid "Image size attributes:"
546
  msgstr ""
547
 
548
- #: admin/main-view.php:538
549
  msgid "Style attributes are used for width and height."
550
  msgstr ""
551
 
552
- #: admin/main-view.php:543
553
  msgid "HTML width and height attributes are used for width and height."
554
  msgstr ""
555
 
556
- #: admin/main-view.php:548
557
  msgid "No HTML or Style attributes set for width and height"
558
  msgstr ""
559
 
560
- #: admin/main-view.php:553
561
  #, fuzzy
562
  msgid "Post thumbnail meta field name:"
563
  msgstr "Attēlu rīki post:"
564
 
565
- #: admin/main-view.php:555
566
  msgid ""
567
  "The value of this field should contain a direct link to the image. This is "
568
  "set in the meta box in the <em>Add New Post</em> screen."
569
  msgstr ""
570
 
571
- #: admin/main-view.php:558
572
  msgid "Extract the first image from the post?"
573
  msgstr ""
574
 
575
- #: admin/main-view.php:560
576
  msgid ""
577
  "This will only happen if there is no post thumbnail set and no image URL is "
578
  "specified in the meta field."
579
  msgstr ""
580
 
581
- #: admin/main-view.php:563
582
  msgid "Use default thumbnail?"
583
  msgstr ""
584
 
585
- #: admin/main-view.php:565
586
  #, fuzzy
587
  msgid ""
588
  "If checked, when no thumbnail is found, show a default one from the URL "
@@ -592,12 +599,12 @@ msgstr ""
592
  "добавлено стандартное изображение. Если превью задано к записи - будет "
593
  "отображаться только оно."
594
 
595
- #: admin/main-view.php:568
596
  #, fuzzy
597
  msgid "Default thumbnail:"
598
  msgstr "noklusējuma opcijas"
599
 
600
- #: admin/main-view.php:571
601
  #, fuzzy
602
  msgid ""
603
  "The plugin will first check if the post contains a thumbnail. If it doesn't "
@@ -608,23 +615,23 @@ msgstr ""
608
  "būs pārbaudīt meta laukā. Ja šāda informācija nav pieejama, tad tas rādīs "
609
  "noklusējuma attēlu, kā minēts iepriekš"
610
 
611
- #: admin/main-view.php:612
612
  msgid "Style of the related posts:"
613
  msgstr ""
614
 
615
- #: admin/main-view.php:615
616
  msgid "No styles"
617
  msgstr ""
618
 
619
- #: admin/main-view.php:617
620
  msgid "Select this option if you plan to add your own styles"
621
  msgstr ""
622
 
623
- #: admin/main-view.php:621
624
  msgid "Rounded Thumbnails"
625
  msgstr ""
626
 
627
- #: admin/main-view.php:624
628
  msgid ""
629
  "Enabling this option will turn on the thumbnails and set their width and "
630
  "height to 150px. It will also turn off the display of the author, excerpt "
@@ -632,125 +639,125 @@ msgid ""
632
  "settings."
633
  msgstr ""
634
 
635
- #: admin/main-view.php:625
636
  #, php-format
637
  msgid ""
638
  "You can view the default style at <a href=\"%1$s\" target=\"_blank\">%1$s</a>"
639
  msgstr ""
640
 
641
- #: admin/main-view.php:629
642
  msgid "Text only"
643
  msgstr ""
644
 
645
- #: admin/main-view.php:631
646
  msgid ""
647
  "Enabling this option will disable thumbnails and no longer include the "
648
  "default style sheet included in the plugin."
649
  msgstr ""
650
 
651
- #: admin/main-view.php:646
652
  msgid "Custom CSS to add to header:"
653
  msgstr ""
654
 
655
- #: admin/main-view.php:650
656
  msgid ""
657
  "Do not include <code>style</code> tags. Check out the <a href=\"http://"
658
  "wordpress.org/extend/plugins/contextual-related-posts/faq/\" target=\"_blank"
659
  "\">FAQ</a> for available CSS classes to style."
660
  msgstr ""
661
 
662
- #: admin/main-view.php:690
663
  msgid ""
664
  "Below options override the related posts settings for your blog feed. These "
665
  "only apply if you have selected to add related posts to Feeds in the General "
666
  "Options tab."
667
  msgstr ""
668
 
669
- #: admin/main-view.php:718
670
  #, fuzzy
671
  msgid "Maximum width of the thumbnail: "
672
  msgstr "Настройки превью к записям:"
673
 
674
- #: admin/main-view.php:721
675
  #, fuzzy
676
  msgid "Maximum height of the thumbnail: "
677
  msgstr "Настройки превью к записям:"
678
 
679
- #: admin/main-view.php:756
680
  msgid "Default Options"
681
  msgstr "noklusējuma opcijas"
682
 
683
- #: admin/main-view.php:756
684
  msgid "Do you want to set options to Default?"
685
  msgstr "Vai jūs vēlaties, lai uzstādītu iespējas Default?"
686
 
687
- #: admin/main-view.php:757
688
  msgid "Recreate Index"
689
  msgstr ""
690
 
691
- #: admin/main-view.php:757
692
  msgid "Are you sure you want to recreate the index?"
693
  msgstr "Vai jūs tiešām vēlaties, lai atjaunotu indeksu?"
694
 
695
- #: admin/main-view.php:762
696
  msgid ""
697
  "One or more FULLTEXT indices are missing. Please hit the <a href="
698
  "\"#crp_recreate\">Recreate Index button</a> at the bottom of the page to fix "
699
  "this."
700
  msgstr ""
701
 
702
- #: admin/metabox.php:100
703
  #, fuzzy
704
  msgid "Location of thumbnail:"
705
  msgstr "Настройки превью к записям:"
706
 
707
- #: admin/metabox.php:102
708
  msgid ""
709
  "Enter the full URL to the image (JPG, PNG or GIF) you'd like to use. This "
710
  "image will be used for the post. It will be resized to the thumbnail size "
711
  "set under Settings &raquo; Related Posts &raquo; Output Options"
712
  msgstr ""
713
 
714
- #: admin/metabox.php:103
715
  msgid "The URL above is saved in the meta field:"
716
  msgstr ""
717
 
718
- #: admin/metabox.php:108
719
  msgid ""
720
  "You have Top 10 WordPress Plugin installed. If you are trying to modify the "
721
  "thumbnail, then you'll need to make the same change in the Top 10 meta box "
722
  "on this page."
723
  msgstr ""
724
 
725
- #: admin/metabox.php:119
726
  msgid "Disable Related Posts display:"
727
  msgstr ""
728
 
729
- #: admin/metabox.php:122
730
  msgid ""
731
  "If this is checked, then Contextual Related Posts will not automatically "
732
  "insert the related posts at the end of post content."
733
  msgstr ""
734
 
735
- #: admin/metabox.php:127 admin/metabox.php:135
736
  msgid "Manual related posts:"
737
  msgstr ""
738
 
739
- #: admin/metabox.php:129
740
  msgid ""
741
  "Comma separated list of post, page or custom post type IDs. e.g. "
742
  "188,320,500. These will be given preference over the related posts generated "
743
  "by the plugin."
744
  msgstr ""
745
 
746
- #: admin/metabox.php:130
747
  msgid ""
748
  "Once you enter the list above and save this page, the plugin will display "
749
  "the titles of the posts below for your reference. Only IDs corresponding to "
750
  "published posts or custom post types will be retained."
751
  msgstr ""
752
 
753
- #: admin/metabox.php:144
754
  msgid "This post type is:"
755
  msgstr ""
756
 
@@ -776,45 +783,45 @@ msgstr "Sūtiet savu ziedojumu autoram"
776
  msgid "Follow me"
777
  msgstr ""
778
 
779
- #: admin/sidebar-view.php:53
780
  #, fuzzy
781
  msgid "Quick links"
782
  msgstr "Ātrās saites"
783
 
784
- #: admin/sidebar-view.php:57
785
  msgid "Plugin homepage"
786
  msgstr ""
787
 
788
- #: admin/sidebar-view.php:58
789
  msgid "FAQ"
790
  msgstr ""
791
 
792
- #: admin/sidebar-view.php:60
793
  msgid "Reviews"
794
  msgstr ""
795
 
796
- #: admin/sidebar-view.php:61
797
  msgid "Github repository"
798
  msgstr ""
799
 
800
- #: admin/sidebar-view.php:62
801
  msgid "Other plugins"
802
  msgstr "citas plugins"
803
 
804
- #: admin/sidebar-view.php:63
805
  msgid "Ajay's blog"
806
  msgstr "Ajay blogs"
807
 
808
- #: contextual-related-posts.php:178
809
  #, php-format
810
  msgid "Powered by <a href=\"%s\" rel=\"nofollow\">Contextual Related Posts</a>"
811
  msgstr ""
812
 
813
- #: contextual-related-posts.php:659
814
  msgid "<h3>Related Posts:</h3>"
815
  msgstr "<h3>saistīta posts:</h3>"
816
 
817
- #: contextual-related-posts.php:661
818
  msgid "No related posts found"
819
  msgstr "Nr saistītus amatus atrasts"
820
 
@@ -879,15 +886,15 @@ msgstr "Thumbnail platums"
879
  msgid "Post types to include:"
880
  msgstr ""
881
 
882
- #: includes/media-handler.php:68
883
  msgid "thumb_timthumb argument has been deprecated"
884
  msgstr ""
885
 
886
- #: includes/media-handler.php:72
887
  msgid "thumb_timthumb_q argument has been deprecated"
888
  msgstr ""
889
 
890
- #: includes/media-handler.php:76
891
  msgid "filter argument has been deprecated"
892
  msgstr ""
893
 
2
  msgstr ""
3
  "Project-Id-Version: Contextual Related Posts\n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2015-09-27 13:33+0100\n"
6
  "PO-Revision-Date: \n"
7
  "Last-Translator: Ajay D'Souza <me@ajaydsouza.com>\n"
8
  "Language-Team: me@ajaydsouza.com\n"
16
  "X-Poedit-SourceCharset: UTF-8\n"
17
  "X-Poedit-SearchPath-0: .\n"
18
 
19
+ #: admin/admin.php:191
20
  msgid "Options saved successfully. If enabled, the cache has been cleared."
21
  msgstr ""
22
 
23
+ #: admin/admin.php:194
24
  msgid ""
25
  "Rounded Thumbnails style selected. Author, Excerpt and Date will not be "
26
  "displayed."
27
  msgstr ""
28
 
29
+ #: admin/admin.php:197
30
  msgid "Text Only style selected. Thumbnails will not be displayed."
31
  msgstr ""
32
 
33
+ #: admin/admin.php:200
34
  #, php-format
35
  msgid "Pre-built thumbnail size selected. Thumbnail set to %d x %d."
36
  msgstr ""
37
 
38
+ #: admin/admin.php:224
39
  msgid "Options set to Default."
40
  msgstr "Opcijas iestatīts uz Default."
41
 
42
+ #: admin/admin.php:233
43
  msgid "Index recreated"
44
  msgstr "indekss pārbūvēts"
45
 
47
  msgid "Related Posts"
48
  msgstr "Related Posts"
49
 
50
+ #: admin/cache.php:42
51
  msgid ""
52
  "An error occurred clearing the cache. Please contact your site administrator."
53
  "\\n\\nError message:\\n"
54
  msgstr ""
55
 
56
+ #: admin/cache.php:47
57
  msgid " cached row(s) cleared"
58
  msgstr ""
59
 
61
  msgid "Settings"
62
  msgstr "iestatījumi"
63
 
64
+ #: admin/loader.php:46 admin/sidebar-view.php:72
65
  msgid "Support"
66
  msgstr "atbalstīt"
67
 
86
  msgid "List tuning options"
87
  msgstr ""
88
 
89
+ #: admin/main-view.php:34 admin/main-view.php:249
90
  msgid "Output options"
91
  msgstr "Izejas opcijas:"
92
 
93
+ #: admin/main-view.php:35 admin/main-view.php:453
94
  #: includes/class-crp-widget.php:93
95
  msgid "Thumbnail options"
96
  msgstr "sīktēlu iespējas"
97
 
98
+ #: admin/main-view.php:36 admin/main-view.php:608
99
  msgid "Styles"
100
  msgstr ""
101
 
102
+ #: admin/main-view.php:37 admin/main-view.php:686
103
  msgid "Feed options"
104
  msgstr "Iespējas:"
105
 
224
  "in the list."
225
  msgstr "Konteksta saistītus amatus"
226
 
227
+ #: admin/main-view.php:135 admin/main-view.php:242 admin/main-view.php:446
228
+ #: admin/main-view.php:601 admin/main-view.php:679 admin/main-view.php:751
229
+ #: admin/main-view.php:767
230
  msgid "Save Options"
231
  msgstr "Saglabāt opcijas"
232
 
233
+ #: admin/main-view.php:158 admin/main-view.php:704
234
  msgid "Number of related posts to display: "
235
  msgstr "Skaits saistītus amatus, lai parādītu:"
236
 
294
  msgid "List of post or page IDs to exclude from the results:"
295
  msgstr "Исключить рубрики:"
296
 
297
+ #: admin/main-view.php:197 admin/main-view.php:377
298
  msgid ""
299
  "Comma separated list of post, page or custom post type IDs. e.g. 188,320,500"
300
  msgstr ""
311
  "prompt you with options."
312
  msgstr ""
313
 
314
+ #: admin/main-view.php:216
315
  msgid "Excluded category IDs are:"
316
  msgstr ""
317
 
318
+ #: admin/main-view.php:222
319
+ msgid ""
320
+ "These might differ from the IDs visible in the Categories page which use the "
321
+ "<code>term_id</code>. CRP uses the <code>term_taxonomy_id</code> which is "
322
+ "unique to this taxonomy."
323
+ msgstr ""
324
+
325
+ #: admin/main-view.php:265
326
  msgid "Title of related posts:"
327
  msgstr ""
328
 
329
+ #: admin/main-view.php:268
330
  msgid ""
331
  "This is the main heading of the related posts. You can also display the "
332
  "current post title by using <code>%postname%</code>. e.g. <code>Related "
333
  "Posts to %postname%</code>"
334
  msgstr ""
335
 
336
+ #: admin/main-view.php:272
337
  msgid "When there are no posts, what should be shown?"
338
  msgstr "Ja nav amati, kas būtu redzams?"
339
 
340
+ #: admin/main-view.php:276
341
  msgid "Blank Output"
342
  msgstr "tukša izeja"
343
 
344
+ #: admin/main-view.php:281
345
  #, fuzzy
346
  msgid "Display:"
347
  msgstr "Количество Популярных записей в списке:"
348
 
349
+ #: admin/main-view.php:287 admin/main-view.php:707
350
  msgid "Show post excerpt in list?"
351
  msgstr "Rādīt post izvilkumu sarakstā?"
352
 
353
+ #: admin/main-view.php:290
354
  #, php-format
355
  msgid ""
356
  "Displays the excerpt of the post. If you do not provide an explicit excerpt "
358
  "automatic excerpt which refers to the first %d words of the post's content"
359
  msgstr ""
360
 
361
+ #: admin/main-view.php:293
362
  msgid ""
363
  "Rounded Thumbnails style selected under the Custom Styles. Excerpt display "
364
  "is disabled."
365
  msgstr ""
366
 
367
+ #: admin/main-view.php:298
368
  msgid "Length of excerpt (in words):"
369
  msgstr ""
370
 
371
+ #: admin/main-view.php:304
372
  #, fuzzy
373
  msgid "Show post author in list?"
374
  msgstr "Показывать текст записи в списке?"
375
 
376
+ #: admin/main-view.php:307
377
  msgid "Displays the author name prefixed with \"by\". e.g. by John Doe"
378
  msgstr ""
379
 
380
+ #: admin/main-view.php:310
381
  msgid ""
382
  "Rounded Thumbnails style selected under the Custom Styles. Author display is "
383
  "disabled."
384
  msgstr ""
385
 
386
+ #: admin/main-view.php:315
387
  #, fuzzy
388
  msgid "Show post date in list?"
389
  msgstr "Показывать текст записи в списке?"
390
 
391
+ #: admin/main-view.php:318
392
  msgid ""
393
  "Displays the date of the post. Uses the same date format set in General "
394
  "Options"
395
  msgstr ""
396
 
397
+ #: admin/main-view.php:321
398
  msgid ""
399
  "Rounded Thumbnails style selected under the Custom Styles. Date display is "
400
  "disabled."
401
  msgstr ""
402
 
403
+ #: admin/main-view.php:326
404
  msgid "Limit post title length (in characters)"
405
  msgstr ""
406
 
407
+ #: admin/main-view.php:329
408
  msgid ""
409
  "Any title longer than the number of characters set above will be cut and "
410
  "appended with an ellipsis (&hellip;)"
411
  msgstr ""
412
 
413
+ #: admin/main-view.php:333
414
  msgid "Open links in new window"
415
  msgstr ""
416
 
417
+ #: admin/main-view.php:339
418
  msgid "Add nofollow attribute to links in the list"
419
  msgstr ""
420
 
421
+ #: admin/main-view.php:372
422
  #, fuzzy
423
  msgid "Exclusion settings:"
424
  msgstr "spraudnis iestatījumu lapa"
425
 
426
+ #: admin/main-view.php:374
427
  msgid "Exclude display of related posts on these posts / pages"
428
  msgstr "Pievienot saistītus amatus barībā"
429
 
430
+ #: admin/main-view.php:380
431
  #, fuzzy
432
  msgid "Exclude display of related posts on these post types."
433
  msgstr "Pievienot saistītus amatus barībā"
434
 
435
+ #: admin/main-view.php:387
436
  msgid ""
437
  "The related posts will not display on any of the above selected post types"
438
  msgstr ""
439
 
440
+ #: admin/main-view.php:417
441
  msgid "Customize the output:"
442
  msgstr "Pielāgot izejas:"
443
 
444
+ #: admin/main-view.php:419
445
  msgid "HTML to display before the list of posts: "
446
  msgstr "HTML, lai parādītu, pirms amatu sarakstu:"
447
 
448
+ #: admin/main-view.php:422
449
  msgid "HTML to display before each list item: "
450
  msgstr "HTML, lai parādītu pirms katras saraksta elementa:"
451
 
452
+ #: admin/main-view.php:425
453
  msgid "HTML to display after each list item: "
454
  msgstr "HTML, lai parādītu pēc katra saraksta elementa:"
455
 
456
+ #: admin/main-view.php:428
457
  msgid "HTML to display after the list of posts: "
458
  msgstr "HTML, lai parādītu pēc amatu sarakstā:"
459
 
460
+ #: admin/main-view.php:469 admin/main-view.php:710
461
  #, fuzzy
462
  msgid "Location of post thumbnail:"
463
  msgstr "Настройки превью к записям:"
464
 
465
+ #: admin/main-view.php:473 admin/main-view.php:714
466
  msgid "Display thumbnails inline with posts, before title"
467
  msgstr "Rādīt skices ar ziņojumiem"
468
 
469
+ #: admin/main-view.php:477 admin/main-view.php:718
470
  msgid "Display thumbnails inline with posts, after title"
471
  msgstr "Rādīt sīktēlus saskaņā ar soobscheniyamiazat skicēm ar ziņojumiem"
472
 
473
+ #: admin/main-view.php:481 admin/main-view.php:722
474
  msgid "Display only thumbnails, no text"
475
  msgstr "Attēlotu tikai sīktēlus, teksts"
476
 
477
+ #: admin/main-view.php:485 admin/main-view.php:726
478
  msgid "Do not display thumbnails, only text."
479
  msgstr "Nerādīt sīktēlus, tikai tekstu."
480
 
481
+ #: admin/main-view.php:488
482
  msgid ""
483
  "This setting cannot be changed because an inbuilt style has been selected "
484
  "under the Styles section. If you would like to change this option, please "
485
  "select <strong>No styles</strong> under the Styles section."
486
  msgstr ""
487
 
488
+ #: admin/main-view.php:492
489
  msgid "Thumbnail size:"
490
  msgstr ""
491
 
492
+ #: admin/main-view.php:516
493
  msgid "Custom size"
494
  msgstr ""
495
 
496
+ #: admin/main-view.php:519
497
  msgid "You can choose from existing image sizes above or create a custom size."
498
  msgstr ""
499
 
500
+ #: admin/main-view.php:520
501
  msgid ""
502
  "If you choose an existing size, then the width, height and crop mode "
503
  "settings in the three options below will be automatically updated to reflect "
504
  "the correct dimensions of the setting."
505
  msgstr ""
506
 
507
+ #: admin/main-view.php:521
508
  msgid ""
509
  "If you have chosen Custom size above, then enter the width, height and crop "
510
  "settings below. For best results, use a cropped image with the same width "
511
  "and height. The default setting is 150x150 cropped image."
512
  msgstr ""
513
 
514
+ #: admin/main-view.php:522
515
  msgid ""
516
  "Any changes to the thumbnail settings doesn't automatically resize existing "
517
  "images."
518
  msgstr ""
519
 
520
+ #: admin/main-view.php:523
521
  #, php-format
522
  msgid ""
523
  "I recommend using <a href='%s' class='thickbox'>OTF Regenerate Thumbnails</"
525
  "all image sizes."
526
  msgstr ""
527
 
528
+ #: admin/main-view.php:527
529
  msgid "Width of the thumbnail:"
530
  msgstr ""
531
 
532
+ #: admin/main-view.php:530
533
  msgid "Height of the thumbnail: "
534
  msgstr ""
535
 
536
+ #: admin/main-view.php:535
537
  msgid "Crop mode:"
538
  msgstr ""
539
 
540
+ #: admin/main-view.php:539
541
  msgid ""
542
  "By default, thumbnails will be hard cropped. Uncheck this box to "
543
  "proportionately/soft crop the thumbnails."
544
  msgstr ""
545
 
546
+ #: admin/main-view.php:540
547
  #, php-format
548
  msgid "<a href='%s' target='_blank'>Difference between soft and hard crop</a>"
549
  msgstr ""
550
 
551
+ #: admin/main-view.php:544
552
  msgid "Image size attributes:"
553
  msgstr ""
554
 
555
+ #: admin/main-view.php:548
556
  msgid "Style attributes are used for width and height."
557
  msgstr ""
558
 
559
+ #: admin/main-view.php:554
560
  msgid "HTML width and height attributes are used for width and height."
561
  msgstr ""
562
 
563
+ #: admin/main-view.php:560
564
  msgid "No HTML or Style attributes set for width and height"
565
  msgstr ""
566
 
567
+ #: admin/main-view.php:565
568
  #, fuzzy
569
  msgid "Post thumbnail meta field name:"
570
  msgstr "Attēlu rīki post:"
571
 
572
+ #: admin/main-view.php:567
573
  msgid ""
574
  "The value of this field should contain a direct link to the image. This is "
575
  "set in the meta box in the <em>Add New Post</em> screen."
576
  msgstr ""
577
 
578
+ #: admin/main-view.php:570
579
  msgid "Extract the first image from the post?"
580
  msgstr ""
581
 
582
+ #: admin/main-view.php:572
583
  msgid ""
584
  "This will only happen if there is no post thumbnail set and no image URL is "
585
  "specified in the meta field."
586
  msgstr ""
587
 
588
+ #: admin/main-view.php:575
589
  msgid "Use default thumbnail?"
590
  msgstr ""
591
 
592
+ #: admin/main-view.php:577
593
  #, fuzzy
594
  msgid ""
595
  "If checked, when no thumbnail is found, show a default one from the URL "
599
  "добавлено стандартное изображение. Если превью задано к записи - будет "
600
  "отображаться только оно."
601
 
602
+ #: admin/main-view.php:580
603
  #, fuzzy
604
  msgid "Default thumbnail:"
605
  msgstr "noklusējuma opcijas"
606
 
607
+ #: admin/main-view.php:583
608
  #, fuzzy
609
  msgid ""
610
  "The plugin will first check if the post contains a thumbnail. If it doesn't "
615
  "būs pārbaudīt meta laukā. Ja šāda informācija nav pieejama, tad tas rādīs "
616
  "noklusējuma attēlu, kā minēts iepriekš"
617
 
618
+ #: admin/main-view.php:624
619
  msgid "Style of the related posts:"
620
  msgstr ""
621
 
622
+ #: admin/main-view.php:627
623
  msgid "No styles"
624
  msgstr ""
625
 
626
+ #: admin/main-view.php:629
627
  msgid "Select this option if you plan to add your own styles"
628
  msgstr ""
629
 
630
+ #: admin/main-view.php:633
631
  msgid "Rounded Thumbnails"
632
  msgstr ""
633
 
634
+ #: admin/main-view.php:636
635
  msgid ""
636
  "Enabling this option will turn on the thumbnails and set their width and "
637
  "height to 150px. It will also turn off the display of the author, excerpt "
639
  "settings."
640
  msgstr ""
641
 
642
+ #: admin/main-view.php:637
643
  #, php-format
644
  msgid ""
645
  "You can view the default style at <a href=\"%1$s\" target=\"_blank\">%1$s</a>"
646
  msgstr ""
647
 
648
+ #: admin/main-view.php:641
649
  msgid "Text only"
650
  msgstr ""
651
 
652
+ #: admin/main-view.php:643
653
  msgid ""
654
  "Enabling this option will disable thumbnails and no longer include the "
655
  "default style sheet included in the plugin."
656
  msgstr ""
657
 
658
+ #: admin/main-view.php:658
659
  msgid "Custom CSS to add to header:"
660
  msgstr ""
661
 
662
+ #: admin/main-view.php:662
663
  msgid ""
664
  "Do not include <code>style</code> tags. Check out the <a href=\"http://"
665
  "wordpress.org/extend/plugins/contextual-related-posts/faq/\" target=\"_blank"
666
  "\">FAQ</a> for available CSS classes to style."
667
  msgstr ""
668
 
669
+ #: admin/main-view.php:702
670
  msgid ""
671
  "Below options override the related posts settings for your blog feed. These "
672
  "only apply if you have selected to add related posts to Feeds in the General "
673
  "Options tab."
674
  msgstr ""
675
 
676
+ #: admin/main-view.php:730
677
  #, fuzzy
678
  msgid "Maximum width of the thumbnail: "
679
  msgstr "Настройки превью к записям:"
680
 
681
+ #: admin/main-view.php:733
682
  #, fuzzy
683
  msgid "Maximum height of the thumbnail: "
684
  msgstr "Настройки превью к записям:"
685
 
686
+ #: admin/main-view.php:768
687
  msgid "Default Options"
688
  msgstr "noklusējuma opcijas"
689
 
690
+ #: admin/main-view.php:768
691
  msgid "Do you want to set options to Default?"
692
  msgstr "Vai jūs vēlaties, lai uzstādītu iespējas Default?"
693
 
694
+ #: admin/main-view.php:769
695
  msgid "Recreate Index"
696
  msgstr ""
697
 
698
+ #: admin/main-view.php:769
699
  msgid "Are you sure you want to recreate the index?"
700
  msgstr "Vai jūs tiešām vēlaties, lai atjaunotu indeksu?"
701
 
702
+ #: admin/main-view.php:774
703
  msgid ""
704
  "One or more FULLTEXT indices are missing. Please hit the <a href="
705
  "\"#crp_recreate\">Recreate Index button</a> at the bottom of the page to fix "
706
  "this."
707
  msgstr ""
708
 
709
+ #: admin/metabox.php:98
710
  #, fuzzy
711
  msgid "Location of thumbnail:"
712
  msgstr "Настройки превью к записям:"
713
 
714
+ #: admin/metabox.php:100
715
  msgid ""
716
  "Enter the full URL to the image (JPG, PNG or GIF) you'd like to use. This "
717
  "image will be used for the post. It will be resized to the thumbnail size "
718
  "set under Settings &raquo; Related Posts &raquo; Output Options"
719
  msgstr ""
720
 
721
+ #: admin/metabox.php:101
722
  msgid "The URL above is saved in the meta field:"
723
  msgstr ""
724
 
725
+ #: admin/metabox.php:106
726
  msgid ""
727
  "You have Top 10 WordPress Plugin installed. If you are trying to modify the "
728
  "thumbnail, then you'll need to make the same change in the Top 10 meta box "
729
  "on this page."
730
  msgstr ""
731
 
732
+ #: admin/metabox.php:117
733
  msgid "Disable Related Posts display:"
734
  msgstr ""
735
 
736
+ #: admin/metabox.php:120
737
  msgid ""
738
  "If this is checked, then Contextual Related Posts will not automatically "
739
  "insert the related posts at the end of post content."
740
  msgstr ""
741
 
742
+ #: admin/metabox.php:125 admin/metabox.php:133
743
  msgid "Manual related posts:"
744
  msgstr ""
745
 
746
+ #: admin/metabox.php:127
747
  msgid ""
748
  "Comma separated list of post, page or custom post type IDs. e.g. "
749
  "188,320,500. These will be given preference over the related posts generated "
750
  "by the plugin."
751
  msgstr ""
752
 
753
+ #: admin/metabox.php:128
754
  msgid ""
755
  "Once you enter the list above and save this page, the plugin will display "
756
  "the titles of the posts below for your reference. Only IDs corresponding to "
757
  "published posts or custom post types will be retained."
758
  msgstr ""
759
 
760
+ #: admin/metabox.php:142
761
  msgid "This post type is:"
762
  msgstr ""
763
 
783
  msgid "Follow me"
784
  msgstr ""
785
 
786
+ #: admin/sidebar-view.php:66
787
  #, fuzzy
788
  msgid "Quick links"
789
  msgstr "Ātrās saites"
790
 
791
+ #: admin/sidebar-view.php:70
792
  msgid "Plugin homepage"
793
  msgstr ""
794
 
795
+ #: admin/sidebar-view.php:71
796
  msgid "FAQ"
797
  msgstr ""
798
 
799
+ #: admin/sidebar-view.php:73
800
  msgid "Reviews"
801
  msgstr ""
802
 
803
+ #: admin/sidebar-view.php:74
804
  msgid "Github repository"
805
  msgstr ""
806
 
807
+ #: admin/sidebar-view.php:75
808
  msgid "Other plugins"
809
  msgstr "citas plugins"
810
 
811
+ #: admin/sidebar-view.php:76
812
  msgid "Ajay's blog"
813
  msgstr "Ajay blogs"
814
 
815
+ #: contextual-related-posts.php:232
816
  #, php-format
817
  msgid "Powered by <a href=\"%s\" rel=\"nofollow\">Contextual Related Posts</a>"
818
  msgstr ""
819
 
820
+ #: contextual-related-posts.php:710
821
  msgid "<h3>Related Posts:</h3>"
822
  msgstr "<h3>saistīta posts:</h3>"
823
 
824
+ #: contextual-related-posts.php:712
825
  msgid "No related posts found"
826
  msgstr "Nr saistītus amatus atrasts"
827
 
886
  msgid "Post types to include:"
887
  msgstr ""
888
 
889
+ #: includes/media.php:67
890
  msgid "thumb_timthumb argument has been deprecated"
891
  msgstr ""
892
 
893
+ #: includes/media.php:71
894
  msgid "thumb_timthumb_q argument has been deprecated"
895
  msgstr ""
896
 
897
+ #: includes/media.php:75
898
  msgid "filter argument has been deprecated"
899
  msgstr ""
900
 
languages/{crp-nl_NL.mo → contextual-related-posts-nl_NL.mo} RENAMED
Binary file
languages/{crp-nl_NL.po → contextual-related-posts-nl_NL.po} RENAMED
@@ -2,7 +2,7 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Contextual Related Posts\n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2015-09-05 11:13+0100\n"
6
  "PO-Revision-Date: \n"
7
  "Last-Translator: Ajay D'Souza <me@ajaydsouza.com>\n"
8
  "Language-Team: http://WPwebshop.com <info@wppg.me>\n"
@@ -17,30 +17,30 @@ msgstr ""
17
  "X-Generator: Poedit 1.8.4\n"
18
  "X-Poedit-SearchPath-0: .\n"
19
 
20
- #: admin/admin.php:190
21
  msgid "Options saved successfully. If enabled, the cache has been cleared."
22
  msgstr ""
23
 
24
- #: admin/admin.php:193
25
  msgid ""
26
  "Rounded Thumbnails style selected. Author, Excerpt and Date will not be "
27
  "displayed."
28
  msgstr ""
29
 
30
- #: admin/admin.php:196
31
  msgid "Text Only style selected. Thumbnails will not be displayed."
32
  msgstr ""
33
 
34
- #: admin/admin.php:199
35
  #, php-format
36
  msgid "Pre-built thumbnail size selected. Thumbnail set to %d x %d."
37
  msgstr ""
38
 
39
- #: admin/admin.php:223
40
  msgid "Options set to Default."
41
  msgstr "Opties ingesteld op standaard."
42
 
43
- #: admin/admin.php:232
44
  msgid "Index recreated"
45
  msgstr "Index opnieuw gemaakt"
46
 
@@ -48,13 +48,13 @@ msgstr "Index opnieuw gemaakt"
48
  msgid "Related Posts"
49
  msgstr "Gerelateerde Berichten"
50
 
51
- #: admin/cache.php:44
52
  msgid ""
53
  "An error occurred clearing the cache. Please contact your site administrator."
54
  "\\n\\nError message:\\n"
55
  msgstr ""
56
 
57
- #: admin/cache.php:49
58
  msgid " cached row(s) cleared"
59
  msgstr ""
60
 
@@ -62,7 +62,7 @@ msgstr ""
62
  msgid "Settings"
63
  msgstr "Instellingen"
64
 
65
- #: admin/loader.php:46 admin/sidebar-view.php:59
66
  msgid "Support"
67
  msgstr "Ondersteuning"
68
 
@@ -88,22 +88,22 @@ msgstr "Opties succesvol opgeslagen."
88
  msgid "List tuning options"
89
  msgstr ""
90
 
91
- #: admin/main-view.php:34 admin/main-view.php:239
92
  #, fuzzy
93
  msgid "Output options"
94
  msgstr "Opties succesvol opgeslagen."
95
 
96
- #: admin/main-view.php:35 admin/main-view.php:443
97
  #: includes/class-crp-widget.php:93
98
  #, fuzzy
99
  msgid "Thumbnail options"
100
  msgstr "Bericht miniatuurafbeelding opties:"
101
 
102
- #: admin/main-view.php:36 admin/main-view.php:596
103
  msgid "Styles"
104
  msgstr ""
105
 
106
- #: admin/main-view.php:37 admin/main-view.php:674
107
  #, fuzzy
108
  msgid "Feed options"
109
  msgstr "Opties succesvol opgeslagen."
@@ -230,14 +230,14 @@ msgid ""
230
  "in the list."
231
  msgstr "Contextual Related Posts "
232
 
233
- #: admin/main-view.php:135 admin/main-view.php:232 admin/main-view.php:436
234
- #: admin/main-view.php:589 admin/main-view.php:667 admin/main-view.php:739
235
- #: admin/main-view.php:755
236
  #, fuzzy
237
  msgid "Save Options"
238
  msgstr "Opties succesvol opgeslagen."
239
 
240
- #: admin/main-view.php:158 admin/main-view.php:692
241
  msgid "Number of related posts to display: "
242
  msgstr "Aantal weer te geven gerelateerde berichten:"
243
 
@@ -298,7 +298,7 @@ msgstr ""
298
  msgid "List of post or page IDs to exclude from the results:"
299
  msgstr ""
300
 
301
- #: admin/main-view.php:197 admin/main-view.php:367
302
  msgid ""
303
  "Comma separated list of post, page or custom post type IDs. e.g. 188,320,500"
304
  msgstr ""
@@ -314,39 +314,46 @@ msgid ""
314
  "prompt you with options."
315
  msgstr ""
316
 
317
- #: admin/main-view.php:214
318
  msgid "Excluded category IDs are:"
319
  msgstr ""
320
 
321
- #: admin/main-view.php:255
 
 
 
 
 
 
 
322
  msgid "Title of related posts:"
323
  msgstr ""
324
 
325
- #: admin/main-view.php:258
326
  msgid ""
327
  "This is the main heading of the related posts. You can also display the "
328
  "current post title by using <code>%postname%</code>. e.g. <code>Related "
329
  "Posts to %postname%</code>"
330
  msgstr ""
331
 
332
- #: admin/main-view.php:262
333
  msgid "When there are no posts, what should be shown?"
334
  msgstr "Wat moet er weergegeven worden wanneer er geen berichten zijn?"
335
 
336
- #: admin/main-view.php:266
337
  msgid "Blank Output"
338
  msgstr "Lege Output"
339
 
340
- #: admin/main-view.php:271
341
  #, fuzzy
342
  msgid "Display:"
343
  msgstr "Aantal populaire berichten om weer te geven:"
344
 
345
- #: admin/main-view.php:277 admin/main-view.php:695
346
  msgid "Show post excerpt in list?"
347
  msgstr "Laat bericht uittreksel zien in lijst?"
348
 
349
- #: admin/main-view.php:280
350
  #, php-format
351
  msgid ""
352
  "Displays the excerpt of the post. If you do not provide an explicit excerpt "
@@ -354,169 +361,169 @@ msgid ""
354
  "automatic excerpt which refers to the first %d words of the post's content"
355
  msgstr ""
356
 
357
- #: admin/main-view.php:283
358
  msgid ""
359
  "Rounded Thumbnails style selected under the Custom Styles. Excerpt display "
360
  "is disabled."
361
  msgstr ""
362
 
363
- #: admin/main-view.php:288
364
  msgid "Length of excerpt (in words):"
365
  msgstr ""
366
 
367
- #: admin/main-view.php:294
368
  #, fuzzy
369
  msgid "Show post author in list?"
370
  msgstr "Laat bericht samenvatting zien in lijst?"
371
 
372
- #: admin/main-view.php:297
373
  msgid "Displays the author name prefixed with \"by\". e.g. by John Doe"
374
  msgstr ""
375
 
376
- #: admin/main-view.php:300
377
  msgid ""
378
  "Rounded Thumbnails style selected under the Custom Styles. Author display is "
379
  "disabled."
380
  msgstr ""
381
 
382
- #: admin/main-view.php:305
383
  #, fuzzy
384
  msgid "Show post date in list?"
385
  msgstr "Laat bericht samenvatting zien in lijst?"
386
 
387
- #: admin/main-view.php:308
388
  msgid ""
389
  "Displays the date of the post. Uses the same date format set in General "
390
  "Options"
391
  msgstr ""
392
 
393
- #: admin/main-view.php:311
394
  msgid ""
395
  "Rounded Thumbnails style selected under the Custom Styles. Date display is "
396
  "disabled."
397
  msgstr ""
398
 
399
- #: admin/main-view.php:316
400
  msgid "Limit post title length (in characters)"
401
  msgstr ""
402
 
403
- #: admin/main-view.php:319
404
  msgid ""
405
  "Any title longer than the number of characters set above will be cut and "
406
  "appended with an ellipsis (&hellip;)"
407
  msgstr ""
408
 
409
- #: admin/main-view.php:323
410
  msgid "Open links in new window"
411
  msgstr ""
412
 
413
- #: admin/main-view.php:329
414
  msgid "Add nofollow attribute to links in the list"
415
  msgstr ""
416
 
417
- #: admin/main-view.php:362
418
  #, fuzzy
419
  msgid "Exclusion settings:"
420
  msgstr "Instellingen"
421
 
422
- #: admin/main-view.php:364
423
  #, fuzzy
424
  msgid "Exclude display of related posts on these posts / pages"
425
  msgstr "Voeg gerelateerde berichten toe aan feed"
426
 
427
- #: admin/main-view.php:370
428
  #, fuzzy
429
  msgid "Exclude display of related posts on these post types."
430
  msgstr "Voeg gerelateerde berichten toe aan feed"
431
 
432
- #: admin/main-view.php:377
433
  msgid ""
434
  "The related posts will not display on any of the above selected post types"
435
  msgstr ""
436
 
437
- #: admin/main-view.php:407
438
  msgid "Customize the output:"
439
  msgstr "Aanpassen van de output:"
440
 
441
- #: admin/main-view.php:409
442
  msgid "HTML to display before the list of posts: "
443
  msgstr "Weer te geven HTML voor de berichtenlijst:"
444
 
445
- #: admin/main-view.php:412
446
  msgid "HTML to display before each list item: "
447
  msgstr "Weer te geven HTML voor elk item in de lijst:"
448
 
449
- #: admin/main-view.php:415
450
  msgid "HTML to display after each list item: "
451
  msgstr "Weer te geven HTML na elk item in de lijst:"
452
 
453
- #: admin/main-view.php:418
454
  msgid "HTML to display after the list of posts: "
455
  msgstr "Weer te geven HTML na de berichtenlijst:"
456
 
457
- #: admin/main-view.php:459 admin/main-view.php:698
458
  #, fuzzy
459
  msgid "Location of post thumbnail:"
460
  msgstr "Bericht miniatuurafbeelding opties:"
461
 
462
- #: admin/main-view.php:463 admin/main-view.php:702
463
  #, fuzzy
464
  msgid "Display thumbnails inline with posts, before title"
465
  msgstr "Toon miniatuurafbeeldingen inline met berichten"
466
 
467
- #: admin/main-view.php:467 admin/main-view.php:706
468
  #, fuzzy
469
  msgid "Display thumbnails inline with posts, after title"
470
  msgstr "Toon miniatuurafbeeldingen inline met berichten"
471
 
472
- #: admin/main-view.php:471 admin/main-view.php:710
473
  msgid "Display only thumbnails, no text"
474
  msgstr "Alleen miniatuurafbeeldingen weergeven, geen tekst"
475
 
476
- #: admin/main-view.php:475 admin/main-view.php:714
477
  msgid "Do not display thumbnails, only text."
478
  msgstr "Geen miniatuurafbeeldingen weergeven, alleen tekst."
479
 
480
- #: admin/main-view.php:478
481
  msgid ""
482
  "This setting cannot be changed because an inbuilt style has been selected "
483
  "under the Styles section. If you would like to change this option, please "
484
  "select <strong>No styles</strong> under the Styles section."
485
  msgstr ""
486
 
487
- #: admin/main-view.php:482
488
  msgid "Thumbnail size:"
489
  msgstr ""
490
 
491
- #: admin/main-view.php:506
492
  msgid "Custom size"
493
  msgstr ""
494
 
495
- #: admin/main-view.php:509
496
  msgid "You can choose from existing image sizes above or create a custom size."
497
  msgstr ""
498
 
499
- #: admin/main-view.php:510
500
  msgid ""
501
  "If you choose an existing size, then the width, height and crop mode "
502
  "settings in the three options below will be automatically updated to reflect "
503
  "the correct dimensions of the setting."
504
  msgstr ""
505
 
506
- #: admin/main-view.php:511
507
  msgid ""
508
  "If you have chosen Custom size above, then enter the width, height and crop "
509
  "settings below. For best results, use a cropped image with the same width "
510
  "and height. The default setting is 150x150 cropped image."
511
  msgstr ""
512
 
513
- #: admin/main-view.php:512
514
  msgid ""
515
  "Any changes to the thumbnail settings doesn't automatically resize existing "
516
  "images."
517
  msgstr ""
518
 
519
- #: admin/main-view.php:513
520
  #, php-format
521
  msgid ""
522
  "I recommend using <a href='%s' class='thickbox'>OTF Regenerate Thumbnails</"
@@ -524,83 +531,83 @@ msgid ""
524
  "all image sizes."
525
  msgstr ""
526
 
527
- #: admin/main-view.php:517
528
  msgid "Width of the thumbnail:"
529
  msgstr ""
530
 
531
- #: admin/main-view.php:520
532
  msgid "Height of the thumbnail: "
533
  msgstr ""
534
 
535
- #: admin/main-view.php:525
536
  msgid "Crop mode:"
537
  msgstr ""
538
 
539
- #: admin/main-view.php:529
540
  msgid ""
541
  "By default, thumbnails will be hard cropped. Uncheck this box to "
542
  "proportionately/soft crop the thumbnails."
543
  msgstr ""
544
 
545
- #: admin/main-view.php:530
546
  #, php-format
547
  msgid "<a href='%s' target='_blank'>Difference between soft and hard crop</a>"
548
  msgstr ""
549
 
550
- #: admin/main-view.php:534
551
  msgid "Image size attributes:"
552
  msgstr ""
553
 
554
- #: admin/main-view.php:538
555
  msgid "Style attributes are used for width and height."
556
  msgstr ""
557
 
558
- #: admin/main-view.php:543
559
  msgid "HTML width and height attributes are used for width and height."
560
  msgstr ""
561
 
562
- #: admin/main-view.php:548
563
  msgid "No HTML or Style attributes set for width and height"
564
  msgstr ""
565
 
566
- #: admin/main-view.php:553
567
  #, fuzzy
568
  msgid "Post thumbnail meta field name:"
569
  msgstr "Berichtopties miniatuurafbeelding:"
570
 
571
- #: admin/main-view.php:555
572
  msgid ""
573
  "The value of this field should contain a direct link to the image. This is "
574
  "set in the meta box in the <em>Add New Post</em> screen."
575
  msgstr ""
576
 
577
- #: admin/main-view.php:558
578
  msgid "Extract the first image from the post?"
579
  msgstr ""
580
 
581
- #: admin/main-view.php:560
582
  msgid ""
583
  "This will only happen if there is no post thumbnail set and no image URL is "
584
  "specified in the meta field."
585
  msgstr ""
586
 
587
- #: admin/main-view.php:563
588
  #, fuzzy
589
  msgid "Use default thumbnail?"
590
  msgstr "Bericht miniatuurafbeelding opties:"
591
 
592
- #: admin/main-view.php:565
593
  msgid ""
594
  "If checked, when no thumbnail is found, show a default one from the URL "
595
  "below. If not checked and no thumbnail is found, no image will be shown."
596
  msgstr ""
597
 
598
- #: admin/main-view.php:568
599
  #, fuzzy
600
  msgid "Default thumbnail:"
601
  msgstr "Bericht miniatuurafbeelding opties:"
602
 
603
- #: admin/main-view.php:571
604
  #, fuzzy
605
  msgid ""
606
  "The plugin will first check if the post contains a thumbnail. If it doesn't "
@@ -612,23 +619,23 @@ msgstr ""
612
  "miniatuurafbeelding bevat wordt de standaard afbeelding getoond zoals "
613
  "hieronder aangegeven:"
614
 
615
- #: admin/main-view.php:612
616
  msgid "Style of the related posts:"
617
  msgstr ""
618
 
619
- #: admin/main-view.php:615
620
  msgid "No styles"
621
  msgstr ""
622
 
623
- #: admin/main-view.php:617
624
  msgid "Select this option if you plan to add your own styles"
625
  msgstr ""
626
 
627
- #: admin/main-view.php:621
628
  msgid "Rounded Thumbnails"
629
  msgstr ""
630
 
631
- #: admin/main-view.php:624
632
  msgid ""
633
  "Enabling this option will turn on the thumbnails and set their width and "
634
  "height to 150px. It will also turn off the display of the author, excerpt "
@@ -636,126 +643,126 @@ msgid ""
636
  "settings."
637
  msgstr ""
638
 
639
- #: admin/main-view.php:625
640
  #, php-format
641
  msgid ""
642
  "You can view the default style at <a href=\"%1$s\" target=\"_blank\">%1$s</a>"
643
  msgstr ""
644
 
645
- #: admin/main-view.php:629
646
  msgid "Text only"
647
  msgstr ""
648
 
649
- #: admin/main-view.php:631
650
  msgid ""
651
  "Enabling this option will disable thumbnails and no longer include the "
652
  "default style sheet included in the plugin."
653
  msgstr ""
654
 
655
- #: admin/main-view.php:646
656
  msgid "Custom CSS to add to header:"
657
  msgstr ""
658
 
659
- #: admin/main-view.php:650
660
  msgid ""
661
  "Do not include <code>style</code> tags. Check out the <a href=\"http://"
662
  "wordpress.org/extend/plugins/contextual-related-posts/faq/\" target=\"_blank"
663
  "\">FAQ</a> for available CSS classes to style."
664
  msgstr ""
665
 
666
- #: admin/main-view.php:690
667
  msgid ""
668
  "Below options override the related posts settings for your blog feed. These "
669
  "only apply if you have selected to add related posts to Feeds in the General "
670
  "Options tab."
671
  msgstr ""
672
 
673
- #: admin/main-view.php:718
674
  #, fuzzy
675
  msgid "Maximum width of the thumbnail: "
676
  msgstr "Bericht miniatuurafbeelding opties:"
677
 
678
- #: admin/main-view.php:721
679
  #, fuzzy
680
  msgid "Maximum height of the thumbnail: "
681
  msgstr "Bericht miniatuurafbeelding opties:"
682
 
683
- #: admin/main-view.php:756
684
  #, fuzzy
685
  msgid "Default Options"
686
  msgstr "Opties ingesteld op Standaard."
687
 
688
- #: admin/main-view.php:756
689
  msgid "Do you want to set options to Default?"
690
  msgstr "Wil je opties terug naar standaard instellen?"
691
 
692
- #: admin/main-view.php:757
693
  msgid "Recreate Index"
694
  msgstr ""
695
 
696
- #: admin/main-view.php:757
697
  msgid "Are you sure you want to recreate the index?"
698
  msgstr "Weet je zeker dat je de index opnieuw wilt creeëren?"
699
 
700
- #: admin/main-view.php:762
701
  msgid ""
702
  "One or more FULLTEXT indices are missing. Please hit the <a href="
703
  "\"#crp_recreate\">Recreate Index button</a> at the bottom of the page to fix "
704
  "this."
705
  msgstr ""
706
 
707
- #: admin/metabox.php:100
708
  #, fuzzy
709
  msgid "Location of thumbnail:"
710
  msgstr "Bericht miniatuurafbeelding opties:"
711
 
712
- #: admin/metabox.php:102
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/metabox.php:103
720
  msgid "The URL above is saved in the meta field:"
721
  msgstr ""
722
 
723
- #: admin/metabox.php:108
724
  msgid ""
725
  "You have Top 10 WordPress Plugin installed. If you are trying to modify the "
726
  "thumbnail, then you'll need to make the same change in the Top 10 meta box "
727
  "on this page."
728
  msgstr ""
729
 
730
- #: admin/metabox.php:119
731
  msgid "Disable Related Posts display:"
732
  msgstr ""
733
 
734
- #: admin/metabox.php:122
735
  msgid ""
736
  "If this is checked, then Contextual Related Posts will not automatically "
737
  "insert the related posts at the end of post content."
738
  msgstr ""
739
 
740
- #: admin/metabox.php:127 admin/metabox.php:135
741
  msgid "Manual related posts:"
742
  msgstr ""
743
 
744
- #: admin/metabox.php:129
745
  msgid ""
746
  "Comma separated list of post, page or custom post type IDs. e.g. "
747
  "188,320,500. These will be given preference over the related posts generated "
748
  "by the plugin."
749
  msgstr ""
750
 
751
- #: admin/metabox.php:130
752
  msgid ""
753
  "Once you enter the list above and save this page, the plugin will display "
754
  "the titles of the posts below for your reference. Only IDs corresponding to "
755
  "published posts or custom post types will be retained."
756
  msgstr ""
757
 
758
- #: admin/metabox.php:144
759
  msgid "This post type is:"
760
  msgstr ""
761
 
@@ -781,45 +788,45 @@ msgstr "Stuur je donatie aan de auteur van"
781
  msgid "Follow me"
782
  msgstr ""
783
 
784
- #: admin/sidebar-view.php:53
785
  #, fuzzy
786
  msgid "Quick links"
787
  msgstr "Quick links"
788
 
789
- #: admin/sidebar-view.php:57
790
  msgid "Plugin homepage"
791
  msgstr ""
792
 
793
- #: admin/sidebar-view.php:58
794
  msgid "FAQ"
795
  msgstr ""
796
 
797
- #: admin/sidebar-view.php:60
798
  msgid "Reviews"
799
  msgstr ""
800
 
801
- #: admin/sidebar-view.php:61
802
  msgid "Github repository"
803
  msgstr ""
804
 
805
- #: admin/sidebar-view.php:62
806
  msgid "Other plugins"
807
  msgstr "Andere plugins"
808
 
809
- #: admin/sidebar-view.php:63
810
  msgid "Ajay's blog"
811
  msgstr "Ajay's blog"
812
 
813
- #: contextual-related-posts.php:178
814
  #, php-format
815
  msgid "Powered by <a href=\"%s\" rel=\"nofollow\">Contextual Related Posts</a>"
816
  msgstr ""
817
 
818
- #: contextual-related-posts.php:659
819
  msgid "<h3>Related Posts:</h3>"
820
  msgstr "<h3>Gerelateerde Berichten:</h3>"
821
 
822
- #: contextual-related-posts.php:661
823
  #, fuzzy
824
  msgid "No related posts found"
825
  msgstr "Populaire Berichten"
@@ -893,15 +900,15 @@ msgstr "Bericht miniatuurafbeelding opties:"
893
  msgid "Post types to include:"
894
  msgstr ""
895
 
896
- #: includes/media-handler.php:68
897
  msgid "thumb_timthumb argument has been deprecated"
898
  msgstr ""
899
 
900
- #: includes/media-handler.php:72
901
  msgid "thumb_timthumb_q argument has been deprecated"
902
  msgstr ""
903
 
904
- #: includes/media-handler.php:76
905
  msgid "filter argument has been deprecated"
906
  msgstr ""
907
 
2
  msgstr ""
3
  "Project-Id-Version: Contextual Related Posts\n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2015-09-27 13:33+0100\n"
6
  "PO-Revision-Date: \n"
7
  "Last-Translator: Ajay D'Souza <me@ajaydsouza.com>\n"
8
  "Language-Team: http://WPwebshop.com <info@wppg.me>\n"
17
  "X-Generator: Poedit 1.8.4\n"
18
  "X-Poedit-SearchPath-0: .\n"
19
 
20
+ #: admin/admin.php:191
21
  msgid "Options saved successfully. If enabled, the cache has been cleared."
22
  msgstr ""
23
 
24
+ #: admin/admin.php:194
25
  msgid ""
26
  "Rounded Thumbnails style selected. Author, Excerpt and Date will not be "
27
  "displayed."
28
  msgstr ""
29
 
30
+ #: admin/admin.php:197
31
  msgid "Text Only style selected. Thumbnails will not be displayed."
32
  msgstr ""
33
 
34
+ #: admin/admin.php:200
35
  #, php-format
36
  msgid "Pre-built thumbnail size selected. Thumbnail set to %d x %d."
37
  msgstr ""
38
 
39
+ #: admin/admin.php:224
40
  msgid "Options set to Default."
41
  msgstr "Opties ingesteld op standaard."
42
 
43
+ #: admin/admin.php:233
44
  msgid "Index recreated"
45
  msgstr "Index opnieuw gemaakt"
46
 
48
  msgid "Related Posts"
49
  msgstr "Gerelateerde Berichten"
50
 
51
+ #: admin/cache.php:42
52
  msgid ""
53
  "An error occurred clearing the cache. Please contact your site administrator."
54
  "\\n\\nError message:\\n"
55
  msgstr ""
56
 
57
+ #: admin/cache.php:47
58
  msgid " cached row(s) cleared"
59
  msgstr ""
60
 
62
  msgid "Settings"
63
  msgstr "Instellingen"
64
 
65
+ #: admin/loader.php:46 admin/sidebar-view.php:72
66
  msgid "Support"
67
  msgstr "Ondersteuning"
68
 
88
  msgid "List tuning options"
89
  msgstr ""
90
 
91
+ #: admin/main-view.php:34 admin/main-view.php:249
92
  #, fuzzy
93
  msgid "Output options"
94
  msgstr "Opties succesvol opgeslagen."
95
 
96
+ #: admin/main-view.php:35 admin/main-view.php:453
97
  #: includes/class-crp-widget.php:93
98
  #, fuzzy
99
  msgid "Thumbnail options"
100
  msgstr "Bericht miniatuurafbeelding opties:"
101
 
102
+ #: admin/main-view.php:36 admin/main-view.php:608
103
  msgid "Styles"
104
  msgstr ""
105
 
106
+ #: admin/main-view.php:37 admin/main-view.php:686
107
  #, fuzzy
108
  msgid "Feed options"
109
  msgstr "Opties succesvol opgeslagen."
230
  "in the list."
231
  msgstr "Contextual Related Posts "
232
 
233
+ #: admin/main-view.php:135 admin/main-view.php:242 admin/main-view.php:446
234
+ #: admin/main-view.php:601 admin/main-view.php:679 admin/main-view.php:751
235
+ #: admin/main-view.php:767
236
  #, fuzzy
237
  msgid "Save Options"
238
  msgstr "Opties succesvol opgeslagen."
239
 
240
+ #: admin/main-view.php:158 admin/main-view.php:704
241
  msgid "Number of related posts to display: "
242
  msgstr "Aantal weer te geven gerelateerde berichten:"
243
 
298
  msgid "List of post or page IDs to exclude from the results:"
299
  msgstr ""
300
 
301
+ #: admin/main-view.php:197 admin/main-view.php:377
302
  msgid ""
303
  "Comma separated list of post, page or custom post type IDs. e.g. 188,320,500"
304
  msgstr ""
314
  "prompt you with options."
315
  msgstr ""
316
 
317
+ #: admin/main-view.php:216
318
  msgid "Excluded category IDs are:"
319
  msgstr ""
320
 
321
+ #: admin/main-view.php:222
322
+ msgid ""
323
+ "These might differ from the IDs visible in the Categories page which use the "
324
+ "<code>term_id</code>. CRP uses the <code>term_taxonomy_id</code> which is "
325
+ "unique to this taxonomy."
326
+ msgstr ""
327
+
328
+ #: admin/main-view.php:265
329
  msgid "Title of related posts:"
330
  msgstr ""
331
 
332
+ #: admin/main-view.php:268
333
  msgid ""
334
  "This is the main heading of the related posts. You can also display the "
335
  "current post title by using <code>%postname%</code>. e.g. <code>Related "
336
  "Posts to %postname%</code>"
337
  msgstr ""
338
 
339
+ #: admin/main-view.php:272
340
  msgid "When there are no posts, what should be shown?"
341
  msgstr "Wat moet er weergegeven worden wanneer er geen berichten zijn?"
342
 
343
+ #: admin/main-view.php:276
344
  msgid "Blank Output"
345
  msgstr "Lege Output"
346
 
347
+ #: admin/main-view.php:281
348
  #, fuzzy
349
  msgid "Display:"
350
  msgstr "Aantal populaire berichten om weer te geven:"
351
 
352
+ #: admin/main-view.php:287 admin/main-view.php:707
353
  msgid "Show post excerpt in list?"
354
  msgstr "Laat bericht uittreksel zien in lijst?"
355
 
356
+ #: admin/main-view.php:290
357
  #, php-format
358
  msgid ""
359
  "Displays the excerpt of the post. If you do not provide an explicit excerpt "
361
  "automatic excerpt which refers to the first %d words of the post's content"
362
  msgstr ""
363
 
364
+ #: admin/main-view.php:293
365
  msgid ""
366
  "Rounded Thumbnails style selected under the Custom Styles. Excerpt display "
367
  "is disabled."
368
  msgstr ""
369
 
370
+ #: admin/main-view.php:298
371
  msgid "Length of excerpt (in words):"
372
  msgstr ""
373
 
374
+ #: admin/main-view.php:304
375
  #, fuzzy
376
  msgid "Show post author in list?"
377
  msgstr "Laat bericht samenvatting zien in lijst?"
378
 
379
+ #: admin/main-view.php:307
380
  msgid "Displays the author name prefixed with \"by\". e.g. by John Doe"
381
  msgstr ""
382
 
383
+ #: admin/main-view.php:310
384
  msgid ""
385
  "Rounded Thumbnails style selected under the Custom Styles. Author display is "
386
  "disabled."
387
  msgstr ""
388
 
389
+ #: admin/main-view.php:315
390
  #, fuzzy
391
  msgid "Show post date in list?"
392
  msgstr "Laat bericht samenvatting zien in lijst?"
393
 
394
+ #: admin/main-view.php:318
395
  msgid ""
396
  "Displays the date of the post. Uses the same date format set in General "
397
  "Options"
398
  msgstr ""
399
 
400
+ #: admin/main-view.php:321
401
  msgid ""
402
  "Rounded Thumbnails style selected under the Custom Styles. Date display is "
403
  "disabled."
404
  msgstr ""
405
 
406
+ #: admin/main-view.php:326
407
  msgid "Limit post title length (in characters)"
408
  msgstr ""
409
 
410
+ #: admin/main-view.php:329
411
  msgid ""
412
  "Any title longer than the number of characters set above will be cut and "
413
  "appended with an ellipsis (&hellip;)"
414
  msgstr ""
415
 
416
+ #: admin/main-view.php:333
417
  msgid "Open links in new window"
418
  msgstr ""
419
 
420
+ #: admin/main-view.php:339
421
  msgid "Add nofollow attribute to links in the list"
422
  msgstr ""
423
 
424
+ #: admin/main-view.php:372
425
  #, fuzzy
426
  msgid "Exclusion settings:"
427
  msgstr "Instellingen"
428
 
429
+ #: admin/main-view.php:374
430
  #, fuzzy
431
  msgid "Exclude display of related posts on these posts / pages"
432
  msgstr "Voeg gerelateerde berichten toe aan feed"
433
 
434
+ #: admin/main-view.php:380
435
  #, fuzzy
436
  msgid "Exclude display of related posts on these post types."
437
  msgstr "Voeg gerelateerde berichten toe aan feed"
438
 
439
+ #: admin/main-view.php:387
440
  msgid ""
441
  "The related posts will not display on any of the above selected post types"
442
  msgstr ""
443
 
444
+ #: admin/main-view.php:417
445
  msgid "Customize the output:"
446
  msgstr "Aanpassen van de output:"
447
 
448
+ #: admin/main-view.php:419
449
  msgid "HTML to display before the list of posts: "
450
  msgstr "Weer te geven HTML voor de berichtenlijst:"
451
 
452
+ #: admin/main-view.php:422
453
  msgid "HTML to display before each list item: "
454
  msgstr "Weer te geven HTML voor elk item in de lijst:"
455
 
456
+ #: admin/main-view.php:425
457
  msgid "HTML to display after each list item: "
458
  msgstr "Weer te geven HTML na elk item in de lijst:"
459
 
460
+ #: admin/main-view.php:428
461
  msgid "HTML to display after the list of posts: "
462
  msgstr "Weer te geven HTML na de berichtenlijst:"
463
 
464
+ #: admin/main-view.php:469 admin/main-view.php:710
465
  #, fuzzy
466
  msgid "Location of post thumbnail:"
467
  msgstr "Bericht miniatuurafbeelding opties:"
468
 
469
+ #: admin/main-view.php:473 admin/main-view.php:714
470
  #, fuzzy
471
  msgid "Display thumbnails inline with posts, before title"
472
  msgstr "Toon miniatuurafbeeldingen inline met berichten"
473
 
474
+ #: admin/main-view.php:477 admin/main-view.php:718
475
  #, fuzzy
476
  msgid "Display thumbnails inline with posts, after title"
477
  msgstr "Toon miniatuurafbeeldingen inline met berichten"
478
 
479
+ #: admin/main-view.php:481 admin/main-view.php:722
480
  msgid "Display only thumbnails, no text"
481
  msgstr "Alleen miniatuurafbeeldingen weergeven, geen tekst"
482
 
483
+ #: admin/main-view.php:485 admin/main-view.php:726
484
  msgid "Do not display thumbnails, only text."
485
  msgstr "Geen miniatuurafbeeldingen weergeven, alleen tekst."
486
 
487
+ #: admin/main-view.php:488
488
  msgid ""
489
  "This setting cannot be changed because an inbuilt style has been selected "
490
  "under the Styles section. If you would like to change this option, please "
491
  "select <strong>No styles</strong> under the Styles section."
492
  msgstr ""
493
 
494
+ #: admin/main-view.php:492
495
  msgid "Thumbnail size:"
496
  msgstr ""
497
 
498
+ #: admin/main-view.php:516
499
  msgid "Custom size"
500
  msgstr ""
501
 
502
+ #: admin/main-view.php:519
503
  msgid "You can choose from existing image sizes above or create a custom size."
504
  msgstr ""
505
 
506
+ #: admin/main-view.php:520
507
  msgid ""
508
  "If you choose an existing size, then the width, height and crop mode "
509
  "settings in the three options below will be automatically updated to reflect "
510
  "the correct dimensions of the setting."
511
  msgstr ""
512
 
513
+ #: admin/main-view.php:521
514
  msgid ""
515
  "If you have chosen Custom size above, then enter the width, height and crop "
516
  "settings below. For best results, use a cropped image with the same width "
517
  "and height. The default setting is 150x150 cropped image."
518
  msgstr ""
519
 
520
+ #: admin/main-view.php:522
521
  msgid ""
522
  "Any changes to the thumbnail settings doesn't automatically resize existing "
523
  "images."
524
  msgstr ""
525
 
526
+ #: admin/main-view.php:523
527
  #, php-format
528
  msgid ""
529
  "I recommend using <a href='%s' class='thickbox'>OTF Regenerate Thumbnails</"
531
  "all image sizes."
532
  msgstr ""
533
 
534
+ #: admin/main-view.php:527
535
  msgid "Width of the thumbnail:"
536
  msgstr ""
537
 
538
+ #: admin/main-view.php:530
539
  msgid "Height of the thumbnail: "
540
  msgstr ""
541
 
542
+ #: admin/main-view.php:535
543
  msgid "Crop mode:"
544
  msgstr ""
545
 
546
+ #: admin/main-view.php:539
547
  msgid ""
548
  "By default, thumbnails will be hard cropped. Uncheck this box to "
549
  "proportionately/soft crop the thumbnails."
550
  msgstr ""
551
 
552
+ #: admin/main-view.php:540
553
  #, php-format
554
  msgid "<a href='%s' target='_blank'>Difference between soft and hard crop</a>"
555
  msgstr ""
556
 
557
+ #: admin/main-view.php:544
558
  msgid "Image size attributes:"
559
  msgstr ""
560
 
561
+ #: admin/main-view.php:548
562
  msgid "Style attributes are used for width and height."
563
  msgstr ""
564
 
565
+ #: admin/main-view.php:554
566
  msgid "HTML width and height attributes are used for width and height."
567
  msgstr ""
568
 
569
+ #: admin/main-view.php:560
570
  msgid "No HTML or Style attributes set for width and height"
571
  msgstr ""
572
 
573
+ #: admin/main-view.php:565
574
  #, fuzzy
575
  msgid "Post thumbnail meta field name:"
576
  msgstr "Berichtopties miniatuurafbeelding:"
577
 
578
+ #: admin/main-view.php:567
579
  msgid ""
580
  "The value of this field should contain a direct link to the image. This is "
581
  "set in the meta box in the <em>Add New Post</em> screen."
582
  msgstr ""
583
 
584
+ #: admin/main-view.php:570
585
  msgid "Extract the first image from the post?"
586
  msgstr ""
587
 
588
+ #: admin/main-view.php:572
589
  msgid ""
590
  "This will only happen if there is no post thumbnail set and no image URL is "
591
  "specified in the meta field."
592
  msgstr ""
593
 
594
+ #: admin/main-view.php:575
595
  #, fuzzy
596
  msgid "Use default thumbnail?"
597
  msgstr "Bericht miniatuurafbeelding opties:"
598
 
599
+ #: admin/main-view.php:577
600
  msgid ""
601
  "If checked, when no thumbnail is found, show a default one from the URL "
602
  "below. If not checked and no thumbnail is found, no image will be shown."
603
  msgstr ""
604
 
605
+ #: admin/main-view.php:580
606
  #, fuzzy
607
  msgid "Default thumbnail:"
608
  msgstr "Bericht miniatuurafbeelding opties:"
609
 
610
+ #: admin/main-view.php:583
611
  #, fuzzy
612
  msgid ""
613
  "The plugin will first check if the post contains a thumbnail. If it doesn't "
619
  "miniatuurafbeelding bevat wordt de standaard afbeelding getoond zoals "
620
  "hieronder aangegeven:"
621
 
622
+ #: admin/main-view.php:624
623
  msgid "Style of the related posts:"
624
  msgstr ""
625
 
626
+ #: admin/main-view.php:627
627
  msgid "No styles"
628
  msgstr ""
629
 
630
+ #: admin/main-view.php:629
631
  msgid "Select this option if you plan to add your own styles"
632
  msgstr ""
633
 
634
+ #: admin/main-view.php:633
635
  msgid "Rounded Thumbnails"
636
  msgstr ""
637
 
638
+ #: admin/main-view.php:636
639
  msgid ""
640
  "Enabling this option will turn on the thumbnails and set their width and "
641
  "height to 150px. It will also turn off the display of the author, excerpt "
643
  "settings."
644
  msgstr ""
645
 
646
+ #: admin/main-view.php:637
647
  #, php-format
648
  msgid ""
649
  "You can view the default style at <a href=\"%1$s\" target=\"_blank\">%1$s</a>"
650
  msgstr ""
651
 
652
+ #: admin/main-view.php:641
653
  msgid "Text only"
654
  msgstr ""
655
 
656
+ #: admin/main-view.php:643
657
  msgid ""
658
  "Enabling this option will disable thumbnails and no longer include the "
659
  "default style sheet included in the plugin."
660
  msgstr ""
661
 
662
+ #: admin/main-view.php:658
663
  msgid "Custom CSS to add to header:"
664
  msgstr ""
665
 
666
+ #: admin/main-view.php:662
667
  msgid ""
668
  "Do not include <code>style</code> tags. Check out the <a href=\"http://"
669
  "wordpress.org/extend/plugins/contextual-related-posts/faq/\" target=\"_blank"
670
  "\">FAQ</a> for available CSS classes to style."
671
  msgstr ""
672
 
673
+ #: admin/main-view.php:702
674
  msgid ""
675
  "Below options override the related posts settings for your blog feed. These "
676
  "only apply if you have selected to add related posts to Feeds in the General "
677
  "Options tab."
678
  msgstr ""
679
 
680
+ #: admin/main-view.php:730
681
  #, fuzzy
682
  msgid "Maximum width of the thumbnail: "
683
  msgstr "Bericht miniatuurafbeelding opties:"
684
 
685
+ #: admin/main-view.php:733
686
  #, fuzzy
687
  msgid "Maximum height of the thumbnail: "
688
  msgstr "Bericht miniatuurafbeelding opties:"
689
 
690
+ #: admin/main-view.php:768
691
  #, fuzzy
692
  msgid "Default Options"
693
  msgstr "Opties ingesteld op Standaard."
694
 
695
+ #: admin/main-view.php:768
696
  msgid "Do you want to set options to Default?"
697
  msgstr "Wil je opties terug naar standaard instellen?"
698
 
699
+ #: admin/main-view.php:769
700
  msgid "Recreate Index"
701
  msgstr ""
702
 
703
+ #: admin/main-view.php:769
704
  msgid "Are you sure you want to recreate the index?"
705
  msgstr "Weet je zeker dat je de index opnieuw wilt creeëren?"
706
 
707
+ #: admin/main-view.php:774
708
  msgid ""
709
  "One or more FULLTEXT indices are missing. Please hit the <a href="
710
  "\"#crp_recreate\">Recreate Index button</a> at the bottom of the page to fix "
711
  "this."
712
  msgstr ""
713
 
714
+ #: admin/metabox.php:98
715
  #, fuzzy
716
  msgid "Location of thumbnail:"
717
  msgstr "Bericht miniatuurafbeelding opties:"
718
 
719
+ #: admin/metabox.php:100
720
  msgid ""
721
  "Enter the full URL to the image (JPG, PNG or GIF) you'd like to use. This "
722
  "image will be used for the post. It will be resized to the thumbnail size "
723
  "set under Settings &raquo; Related Posts &raquo; Output Options"
724
  msgstr ""
725
 
726
+ #: admin/metabox.php:101
727
  msgid "The URL above is saved in the meta field:"
728
  msgstr ""
729
 
730
+ #: admin/metabox.php:106
731
  msgid ""
732
  "You have Top 10 WordPress Plugin installed. If you are trying to modify the "
733
  "thumbnail, then you'll need to make the same change in the Top 10 meta box "
734
  "on this page."
735
  msgstr ""
736
 
737
+ #: admin/metabox.php:117
738
  msgid "Disable Related Posts display:"
739
  msgstr ""
740
 
741
+ #: admin/metabox.php:120
742
  msgid ""
743
  "If this is checked, then Contextual Related Posts will not automatically "
744
  "insert the related posts at the end of post content."
745
  msgstr ""
746
 
747
+ #: admin/metabox.php:125 admin/metabox.php:133
748
  msgid "Manual related posts:"
749
  msgstr ""
750
 
751
+ #: admin/metabox.php:127
752
  msgid ""
753
  "Comma separated list of post, page or custom post type IDs. e.g. "
754
  "188,320,500. These will be given preference over the related posts generated "
755
  "by the plugin."
756
  msgstr ""
757
 
758
+ #: admin/metabox.php:128
759
  msgid ""
760
  "Once you enter the list above and save this page, the plugin will display "
761
  "the titles of the posts below for your reference. Only IDs corresponding to "
762
  "published posts or custom post types will be retained."
763
  msgstr ""
764
 
765
+ #: admin/metabox.php:142
766
  msgid "This post type is:"
767
  msgstr ""
768
 
788
  msgid "Follow me"
789
  msgstr ""
790
 
791
+ #: admin/sidebar-view.php:66
792
  #, fuzzy
793
  msgid "Quick links"
794
  msgstr "Quick links"
795
 
796
+ #: admin/sidebar-view.php:70
797
  msgid "Plugin homepage"
798
  msgstr ""
799
 
800
+ #: admin/sidebar-view.php:71
801
  msgid "FAQ"
802
  msgstr ""
803
 
804
+ #: admin/sidebar-view.php:73
805
  msgid "Reviews"
806
  msgstr ""
807
 
808
+ #: admin/sidebar-view.php:74
809
  msgid "Github repository"
810
  msgstr ""
811
 
812
+ #: admin/sidebar-view.php:75
813
  msgid "Other plugins"
814
  msgstr "Andere plugins"
815
 
816
+ #: admin/sidebar-view.php:76
817
  msgid "Ajay's blog"
818
  msgstr "Ajay's blog"
819
 
820
+ #: contextual-related-posts.php:232
821
  #, php-format
822
  msgid "Powered by <a href=\"%s\" rel=\"nofollow\">Contextual Related Posts</a>"
823
  msgstr ""
824
 
825
+ #: contextual-related-posts.php:710
826
  msgid "<h3>Related Posts:</h3>"
827
  msgstr "<h3>Gerelateerde Berichten:</h3>"
828
 
829
+ #: contextual-related-posts.php:712
830
  #, fuzzy
831
  msgid "No related posts found"
832
  msgstr "Populaire Berichten"
900
  msgid "Post types to include:"
901
  msgstr ""
902
 
903
+ #: includes/media.php:67
904
  msgid "thumb_timthumb argument has been deprecated"
905
  msgstr ""
906
 
907
+ #: includes/media.php:71
908
  msgid "thumb_timthumb_q argument has been deprecated"
909
  msgstr ""
910
 
911
+ #: includes/media.php:75
912
  msgid "filter argument has been deprecated"
913
  msgstr ""
914
 
languages/{crp-pt_BR.mo → contextual-related-posts-pt_BR.mo} RENAMED
Binary file
languages/{crp-pt_BR.po → contextual-related-posts-pt_BR.po} RENAMED
@@ -4,10 +4,10 @@ msgid ""
4
  msgstr ""
5
  "Project-Id-Version: Contextual Related Posts\n"
6
  "Report-Msgid-Bugs-To: \n"
7
- "POT-Creation-Date: 2015-09-05 11:13+0100\n"
8
- "PO-Revision-Date: 2015-09-05 11:13+0100\n"
9
  "Last-Translator: Ajay D'Souza <me@ajaydsouza.com>\n"
10
- "Language-Team: Portuguese (Brazil) (http://www.transifex.com/projects/p/"
11
  "contextual-related-posts/language/pt_BR/)\n"
12
  "Language: pt_BR\n"
13
  "MIME-Version: 1.0\n"
@@ -20,30 +20,30 @@ msgstr ""
20
  "X-Poedit-SourceCharset: UTF-8\n"
21
  "X-Poedit-SearchPath-0: .\n"
22
 
23
- #: admin/admin.php:190
24
  msgid "Options saved successfully. If enabled, the cache has been cleared."
25
  msgstr ""
26
 
27
- #: admin/admin.php:193
28
  msgid ""
29
  "Rounded Thumbnails style selected. Author, Excerpt and Date will not be "
30
  "displayed."
31
  msgstr ""
32
 
33
- #: admin/admin.php:196
34
  msgid "Text Only style selected. Thumbnails will not be displayed."
35
  msgstr ""
36
 
37
- #: admin/admin.php:199
38
  #, php-format
39
  msgid "Pre-built thumbnail size selected. Thumbnail set to %d x %d."
40
  msgstr ""
41
 
42
- #: admin/admin.php:223
43
  msgid "Options set to Default."
44
  msgstr "Opções redefinidas ao padrão."
45
 
46
- #: admin/admin.php:232
47
  msgid "Index recreated"
48
  msgstr "O índice foi recriado"
49
 
@@ -51,7 +51,7 @@ msgstr "O índice foi recriado"
51
  msgid "Related Posts"
52
  msgstr "Posts Relacionados"
53
 
54
- #: admin/cache.php:44
55
  msgid ""
56
  "An error occurred clearing the cache. Please contact your site administrator."
57
  "\\n\\nError message:\\n"
@@ -59,7 +59,7 @@ msgstr ""
59
  "Ocorreu um erro ao limpar o cache. Entre em contato com seu administrador do "
60
  "site.\\n\\nMensagem de Erro: \\n"
61
 
62
- #: admin/cache.php:49
63
  msgid " cached row(s) cleared"
64
  msgstr " linha(s) de cache limpa(s)"
65
 
@@ -67,7 +67,7 @@ msgstr " linha(s) de cache limpa(s)"
67
  msgid "Settings"
68
  msgstr "Configurações"
69
 
70
- #: admin/loader.php:46 admin/sidebar-view.php:59
71
  msgid "Support"
72
  msgstr "Suporte"
73
 
@@ -91,20 +91,20 @@ msgstr "Opções gerais"
91
  msgid "List tuning options"
92
  msgstr ""
93
 
94
- #: admin/main-view.php:34 admin/main-view.php:239
95
  msgid "Output options"
96
  msgstr "Opções de Resultado"
97
 
98
- #: admin/main-view.php:35 admin/main-view.php:443
99
  #: includes/class-crp-widget.php:93
100
  msgid "Thumbnail options"
101
  msgstr "Opções de miniatura"
102
 
103
- #: admin/main-view.php:36 admin/main-view.php:596
104
  msgid "Styles"
105
  msgstr ""
106
 
107
- #: admin/main-view.php:37 admin/main-view.php:674
108
  msgid "Feed options"
109
  msgstr "Opções de Feed"
110
 
@@ -222,13 +222,13 @@ msgstr ""
222
  "Adiciona um link nofollow à página inicial de Posts Relacionados Contextuais "
223
  "na última vez da lista."
224
 
225
- #: admin/main-view.php:135 admin/main-view.php:232 admin/main-view.php:436
226
- #: admin/main-view.php:589 admin/main-view.php:667 admin/main-view.php:739
227
- #: admin/main-view.php:755
228
  msgid "Save Options"
229
  msgstr "Salvar Opções"
230
 
231
- #: admin/main-view.php:158 admin/main-view.php:692
232
  msgid "Number of related posts to display: "
233
  msgstr "Número de posts relacionados a exibir?"
234
 
@@ -288,7 +288,7 @@ msgstr ""
288
  msgid "List of post or page IDs to exclude from the results:"
289
  msgstr ""
290
 
291
- #: admin/main-view.php:197 admin/main-view.php:367
292
  msgid ""
293
  "Comma separated list of post, page or custom post type IDs. e.g. 188,320,500"
294
  msgstr ""
@@ -304,38 +304,45 @@ msgid ""
304
  "prompt you with options."
305
  msgstr ""
306
 
307
- #: admin/main-view.php:214
308
  msgid "Excluded category IDs are:"
309
  msgstr ""
310
 
311
- #: admin/main-view.php:255
 
 
 
 
 
 
 
312
  msgid "Title of related posts:"
313
  msgstr ""
314
 
315
- #: admin/main-view.php:258
316
  msgid ""
317
  "This is the main heading of the related posts. You can also display the "
318
  "current post title by using <code>%postname%</code>. e.g. <code>Related Posts "
319
  "to %postname%</code>"
320
  msgstr ""
321
 
322
- #: admin/main-view.php:262
323
  msgid "When there are no posts, what should be shown?"
324
  msgstr "O que mostrar quando não houver nenhum post relacionado?"
325
 
326
- #: admin/main-view.php:266
327
  msgid "Blank Output"
328
  msgstr "Resultado em Branco"
329
 
330
- #: admin/main-view.php:271
331
  msgid "Display:"
332
  msgstr "Mostrar:"
333
 
334
- #: admin/main-view.php:277 admin/main-view.php:695
335
  msgid "Show post excerpt in list?"
336
  msgstr "Lista de resumos dos posts?"
337
 
338
- #: admin/main-view.php:280
339
  #, php-format
340
  msgid ""
341
  "Displays the excerpt of the post. If you do not provide an explicit excerpt "
@@ -343,161 +350,161 @@ msgid ""
343
  "automatic excerpt which refers to the first %d words of the post's content"
344
  msgstr ""
345
 
346
- #: admin/main-view.php:283
347
  msgid ""
348
  "Rounded Thumbnails style selected under the Custom Styles. Excerpt display is "
349
  "disabled."
350
  msgstr ""
351
 
352
- #: admin/main-view.php:288
353
  msgid "Length of excerpt (in words):"
354
  msgstr ""
355
 
356
- #: admin/main-view.php:294
357
  msgid "Show post author in list?"
358
  msgstr "Mostra o autor do post na lista?"
359
 
360
- #: admin/main-view.php:297
361
  msgid "Displays the author name prefixed with \"by\". e.g. by John Doe"
362
  msgstr ""
363
 
364
- #: admin/main-view.php:300
365
  msgid ""
366
  "Rounded Thumbnails style selected under the Custom Styles. Author display is "
367
  "disabled."
368
  msgstr ""
369
 
370
- #: admin/main-view.php:305
371
  msgid "Show post date in list?"
372
  msgstr "Mostrar data do post na lista?"
373
 
374
- #: admin/main-view.php:308
375
  msgid ""
376
  "Displays the date of the post. Uses the same date format set in General "
377
  "Options"
378
  msgstr ""
379
 
380
- #: admin/main-view.php:311
381
  msgid ""
382
  "Rounded Thumbnails style selected under the Custom Styles. Date display is "
383
  "disabled."
384
  msgstr ""
385
 
386
- #: admin/main-view.php:316
387
  msgid "Limit post title length (in characters)"
388
  msgstr "Limite do título do post (em caracteres)"
389
 
390
- #: admin/main-view.php:319
391
  msgid ""
392
  "Any title longer than the number of characters set above will be cut and "
393
  "appended with an ellipsis (&hellip;)"
394
  msgstr ""
395
 
396
- #: admin/main-view.php:323
397
  msgid "Open links in new window"
398
  msgstr "Abrir links numa nova janela"
399
 
400
- #: admin/main-view.php:329
401
  msgid "Add nofollow attribute to links in the list"
402
  msgstr "Adicionar atributo nofollow aos links na lista"
403
 
404
- #: admin/main-view.php:362
405
  msgid "Exclusion settings:"
406
  msgstr "Configurações de exclusão:"
407
 
408
- #: admin/main-view.php:364
409
  msgid "Exclude display of related posts on these posts / pages"
410
  msgstr "Não exibir posts relacionados nestes posts/páginas?"
411
 
412
- #: admin/main-view.php:370
413
  msgid "Exclude display of related posts on these post types."
414
  msgstr "Excluir exibição de posts relacionados nestes tipos de post."
415
 
416
- #: admin/main-view.php:377
417
  msgid ""
418
  "The related posts will not display on any of the above selected post types"
419
  msgstr ""
420
 
421
- #: admin/main-view.php:407
422
  msgid "Customize the output:"
423
  msgstr "Personalizar o resultado:"
424
 
425
- #: admin/main-view.php:409
426
  msgid "HTML to display before the list of posts: "
427
  msgstr "HTML para exibir antes da lista de posts: "
428
 
429
- #: admin/main-view.php:412
430
  msgid "HTML to display before each list item: "
431
  msgstr "HTML para exibir antes de cada item da lista: "
432
 
433
- #: admin/main-view.php:415
434
  msgid "HTML to display after each list item: "
435
  msgstr "HTML para exibir depois de cada item da lista: "
436
 
437
- #: admin/main-view.php:418
438
  msgid "HTML to display after the list of posts: "
439
  msgstr "HTML para exibir depois da lista de posts: "
440
 
441
- #: admin/main-view.php:459 admin/main-view.php:698
442
  msgid "Location of post thumbnail:"
443
  msgstr "Localização da miniatura do post:"
444
 
445
- #: admin/main-view.php:463 admin/main-view.php:702
446
  msgid "Display thumbnails inline with posts, before title"
447
  msgstr ""
448
 
449
- #: admin/main-view.php:467 admin/main-view.php:706
450
  msgid "Display thumbnails inline with posts, after title"
451
  msgstr ""
452
 
453
- #: admin/main-view.php:471 admin/main-view.php:710
454
  msgid "Display only thumbnails, no text"
455
  msgstr "Mostrar somente miniaturas, sem texto"
456
 
457
- #: admin/main-view.php:475 admin/main-view.php:714
458
  msgid "Do not display thumbnails, only text."
459
  msgstr "Não mostrar miniaturas, somente texto"
460
 
461
- #: admin/main-view.php:478
462
  msgid ""
463
  "This setting cannot be changed because an inbuilt style has been selected "
464
  "under the Styles section. If you would like to change this option, please "
465
  "select <strong>No styles</strong> under the Styles section."
466
  msgstr ""
467
 
468
- #: admin/main-view.php:482
469
  msgid "Thumbnail size:"
470
  msgstr ""
471
 
472
- #: admin/main-view.php:506
473
  msgid "Custom size"
474
  msgstr ""
475
 
476
- #: admin/main-view.php:509
477
  msgid "You can choose from existing image sizes above or create a custom size."
478
  msgstr ""
479
 
480
- #: admin/main-view.php:510
481
  msgid ""
482
  "If you choose an existing size, then the width, height and crop mode settings "
483
  "in the three options below will be automatically updated to reflect the "
484
  "correct dimensions of the setting."
485
  msgstr ""
486
 
487
- #: admin/main-view.php:511
488
  msgid ""
489
  "If you have chosen Custom size above, then enter the width, height and crop "
490
  "settings below. For best results, use a cropped image with the same width and "
491
  "height. The default setting is 150x150 cropped image."
492
  msgstr ""
493
 
494
- #: admin/main-view.php:512
495
  msgid ""
496
  "Any changes to the thumbnail settings doesn't automatically resize existing "
497
  "images."
498
  msgstr ""
499
 
500
- #: admin/main-view.php:513
501
  #, php-format
502
  msgid ""
503
  "I recommend using <a href='%s' class='thickbox'>OTF Regenerate Thumbnails</a> "
@@ -505,60 +512,60 @@ msgid ""
505
  "image sizes."
506
  msgstr ""
507
 
508
- #: admin/main-view.php:517
509
  msgid "Width of the thumbnail:"
510
  msgstr ""
511
 
512
- #: admin/main-view.php:520
513
  msgid "Height of the thumbnail: "
514
  msgstr ""
515
 
516
- #: admin/main-view.php:525
517
  msgid "Crop mode:"
518
  msgstr "Modo de recorte:"
519
 
520
- #: admin/main-view.php:529
521
  msgid ""
522
  "By default, thumbnails will be hard cropped. Uncheck this box to "
523
  "proportionately/soft crop the thumbnails."
524
  msgstr ""
525
 
526
- #: admin/main-view.php:530
527
  #, php-format
528
  msgid "<a href='%s' target='_blank'>Difference between soft and hard crop</a>"
529
  msgstr ""
530
 
531
- #: admin/main-view.php:534
532
  msgid "Image size attributes:"
533
  msgstr ""
534
 
535
- #: admin/main-view.php:538
536
  msgid "Style attributes are used for width and height."
537
  msgstr ""
538
 
539
- #: admin/main-view.php:543
540
  msgid "HTML width and height attributes are used for width and height."
541
  msgstr ""
542
 
543
- #: admin/main-view.php:548
544
  msgid "No HTML or Style attributes set for width and height"
545
  msgstr ""
546
 
547
- #: admin/main-view.php:553
548
  msgid "Post thumbnail meta field name:"
549
  msgstr "Nome do campo meta da miniatura do post:"
550
 
551
- #: admin/main-view.php:555
552
  msgid ""
553
  "The value of this field should contain a direct link to the image. This is "
554
  "set in the meta box in the <em>Add New Post</em> screen."
555
  msgstr ""
556
 
557
- #: admin/main-view.php:558
558
  msgid "Extract the first image from the post?"
559
  msgstr "Extrair a primeira imagem do post?"
560
 
561
- #: admin/main-view.php:560
562
  msgid ""
563
  "This will only happen if there is no post thumbnail set and no image URL is "
564
  "specified in the meta field."
@@ -566,11 +573,11 @@ msgstr ""
566
  "Isso só acontecerá se não houver nenhum conjunto de miniaturas de post e "
567
  "nenhuma URL de imagem for definido no campo meta."
568
 
569
- #: admin/main-view.php:563
570
  msgid "Use default thumbnail?"
571
  msgstr "Usar miniatura padrão?"
572
 
573
- #: admin/main-view.php:565
574
  msgid ""
575
  "If checked, when no thumbnail is found, show a default one from the URL "
576
  "below. If not checked and no thumbnail is found, no image will be shown."
@@ -579,11 +586,11 @@ msgstr ""
579
  "URL abaixo. Se desmarcada e não encontrar nenhuma miniatura, a imagem não "
580
  "será exibida."
581
 
582
- #: admin/main-view.php:568
583
  msgid "Default thumbnail:"
584
  msgstr "Miniatura padrão:"
585
 
586
- #: admin/main-view.php:571
587
  msgid ""
588
  "The plugin will first check if the post contains a thumbnail. If it doesn't "
589
  "then it will check the meta field. If this is not available, then it will "
@@ -593,23 +600,23 @@ msgstr ""
593
  "ele irá verificar o campo de meta. Se este não estiver disponível, então "
594
  "mostrará a imagem padrão conforme especificado acima."
595
 
596
- #: admin/main-view.php:612
597
  msgid "Style of the related posts:"
598
  msgstr ""
599
 
600
- #: admin/main-view.php:615
601
  msgid "No styles"
602
  msgstr ""
603
 
604
- #: admin/main-view.php:617
605
  msgid "Select this option if you plan to add your own styles"
606
  msgstr ""
607
 
608
- #: admin/main-view.php:621
609
  msgid "Rounded Thumbnails"
610
  msgstr ""
611
 
612
- #: admin/main-view.php:624
613
  msgid ""
614
  "Enabling this option will turn on the thumbnails and set their width and "
615
  "height to 150px. It will also turn off the display of the author, excerpt and "
@@ -620,27 +627,27 @@ msgstr ""
620
  "já estejam habilitados. Desabilitar esta opção não irá reverter quaisquer "
621
  "configurações."
622
 
623
- #: admin/main-view.php:625
624
  #, php-format
625
  msgid ""
626
  "You can view the default style at <a href=\"%1$s\" target=\"_blank\">%1$s</a>"
627
  msgstr ""
628
 
629
- #: admin/main-view.php:629
630
  msgid "Text only"
631
  msgstr ""
632
 
633
- #: admin/main-view.php:631
634
  msgid ""
635
  "Enabling this option will disable thumbnails and no longer include the "
636
  "default style sheet included in the plugin."
637
  msgstr ""
638
 
639
- #: admin/main-view.php:646
640
  msgid "Custom CSS to add to header:"
641
  msgstr "CSS personalizado para adicionar ao cabeçalho:"
642
 
643
- #: admin/main-view.php:650
644
  msgid ""
645
  "Do not include <code>style</code> tags. Check out the <a href=\"http://"
646
  "wordpress.org/extend/plugins/contextual-related-posts/faq/\" target=\"_blank"
@@ -650,49 +657,49 @@ msgstr ""
650
  "wordpress.org/extend/plugins/contextual-related-posts/faq/\" target=\"_blank"
651
  "\">FAQ</a> para saber as classes CSS disponíveis para estilizar."
652
 
653
- #: admin/main-view.php:690
654
  msgid ""
655
  "Below options override the related posts settings for your blog feed. These "
656
  "only apply if you have selected to add related posts to Feeds in the General "
657
  "Options tab."
658
  msgstr ""
659
 
660
- #: admin/main-view.php:718
661
  msgid "Maximum width of the thumbnail: "
662
  msgstr "Largura máxima da miniatura:"
663
 
664
- #: admin/main-view.php:721
665
  msgid "Maximum height of the thumbnail: "
666
  msgstr "Altura máxima da miniatura:"
667
 
668
- #: admin/main-view.php:756
669
  msgid "Default Options"
670
  msgstr "Opções Padrão"
671
 
672
- #: admin/main-view.php:756
673
  msgid "Do you want to set options to Default?"
674
  msgstr "Você quer definir opções para o padrão?"
675
 
676
- #: admin/main-view.php:757
677
  msgid "Recreate Index"
678
  msgstr "Recriar Índice"
679
 
680
- #: admin/main-view.php:757
681
  msgid "Are you sure you want to recreate the index?"
682
  msgstr "Tem certeza de que deseja recriar o índice?"
683
 
684
- #: admin/main-view.php:762
685
  msgid ""
686
  "One or more FULLTEXT indices are missing. Please hit the <a href="
687
  "\"#crp_recreate\">Recreate Index button</a> at the bottom of the page to fix "
688
  "this."
689
  msgstr ""
690
 
691
- #: admin/metabox.php:100
692
  msgid "Location of thumbnail:"
693
  msgstr "Localização da miniatura:"
694
 
695
- #: admin/metabox.php:102
696
  msgid ""
697
  "Enter the full URL to the image (JPG, PNG or GIF) you'd like to use. This "
698
  "image will be used for the post. It will be resized to the thumbnail size set "
@@ -703,45 +710,45 @@ msgstr ""
703
  "tamanho da miniatura definido em Configurações &raquo; Posts Relacionados "
704
  "&raquo; Opções de Saída"
705
 
706
- #: admin/metabox.php:103
707
  msgid "The URL above is saved in the meta field:"
708
  msgstr ""
709
 
710
- #: admin/metabox.php:108
711
  msgid ""
712
  "You have Top 10 WordPress Plugin installed. If you are trying to modify the "
713
  "thumbnail, then you'll need to make the same change in the Top 10 meta box on "
714
  "this page."
715
  msgstr ""
716
 
717
- #: admin/metabox.php:119
718
  msgid "Disable Related Posts display:"
719
  msgstr ""
720
 
721
- #: admin/metabox.php:122
722
  msgid ""
723
  "If this is checked, then Contextual Related Posts will not automatically "
724
  "insert the related posts at the end of post content."
725
  msgstr ""
726
 
727
- #: admin/metabox.php:127 admin/metabox.php:135
728
  msgid "Manual related posts:"
729
  msgstr ""
730
 
731
- #: admin/metabox.php:129
732
  msgid ""
733
  "Comma separated list of post, page or custom post type IDs. e.g. 188,320,500. "
734
  "These will be given preference over the related posts generated by the plugin."
735
  msgstr ""
736
 
737
- #: admin/metabox.php:130
738
  msgid ""
739
  "Once you enter the list above and save this page, the plugin will display the "
740
  "titles of the posts below for your reference. Only IDs corresponding to "
741
  "published posts or custom post types will be retained."
742
  msgstr ""
743
 
744
- #: admin/metabox.php:144
745
  msgid "This post type is:"
746
  msgstr ""
747
 
@@ -765,45 +772,45 @@ msgstr "Envie sua doação para o autor de"
765
  msgid "Follow me"
766
  msgstr "Siga-me"
767
 
768
- #: admin/sidebar-view.php:53
769
  msgid "Quick links"
770
  msgstr "Links Rápidos"
771
 
772
- #: admin/sidebar-view.php:57
773
  msgid "Plugin homepage"
774
  msgstr ""
775
 
776
- #: admin/sidebar-view.php:58
777
  msgid "FAQ"
778
  msgstr "FAQ"
779
 
780
- #: admin/sidebar-view.php:60
781
  msgid "Reviews"
782
  msgstr "Avaliações"
783
 
784
- #: admin/sidebar-view.php:61
785
  msgid "Github repository"
786
  msgstr "Repositório no Github."
787
 
788
- #: admin/sidebar-view.php:62
789
  msgid "Other plugins"
790
  msgstr "Outros plugins"
791
 
792
- #: admin/sidebar-view.php:63
793
  msgid "Ajay's blog"
794
  msgstr "Blog do Ajay"
795
 
796
- #: contextual-related-posts.php:178
797
  #, php-format
798
  msgid "Powered by <a href=\"%s\" rel=\"nofollow\">Contextual Related Posts</a>"
799
  msgstr ""
800
  "Gerado por <a href=\"%s\" rel=\"nofollow\">Posts Relacionados Contextuais</a>"
801
 
802
- #: contextual-related-posts.php:659
803
  msgid "<h3>Related Posts:</h3>"
804
  msgstr "<h3>Posts Relacionados:</h3>"
805
 
806
- #: contextual-related-posts.php:661
807
  msgid "No related posts found"
808
  msgstr "Nenhum post relacionado foi encontrado"
809
 
@@ -863,66 +870,18 @@ msgstr "Largura da miniatura"
863
  msgid "Post types to include:"
864
  msgstr ""
865
 
866
- #: includes/media-handler.php:68
867
  msgid "thumb_timthumb argument has been deprecated"
868
  msgstr ""
869
 
870
- #: includes/media-handler.php:72
871
  msgid "thumb_timthumb_q argument has been deprecated"
872
  msgstr ""
873
 
874
- #: includes/media-handler.php:76
875
  msgid "filter argument has been deprecated"
876
  msgstr ""
877
 
878
  #: includes/output-generator.php:238
879
  msgid " by "
880
  msgstr "por"
881
-
882
- #~ msgid "Contextual Related Posts"
883
- #~ msgstr "Posts Relacionados Contextuais"
884
-
885
- #~ msgid "Contextual Related Posts plugin page"
886
- #~ msgstr "Página do plugin Posts Relacionados Contextuais"
887
-
888
- #~ msgid "Options saved successfully."
889
- #~ msgstr "Opções salvas com sucesso."
890
-
891
- #~ msgid "The URL above is saved in the meta field: "
892
- #~ msgstr "A URL acima é salvo no campo de meta:"
893
-
894
- #~ msgid "Custom styles"
895
- #~ msgstr "Estilos personalizados"
896
-
897
- #~ msgid "Add related posts to:"
898
- #~ msgstr "Adicionar posts relacionados a:"
899
-
900
- #~ msgid "Content filter priority:"
901
- #~ msgstr "Prioridade do filtro de prioridade:"
902
-
903
- #~ msgid "Limit content to be compared"
904
- #~ msgstr "Limitar conteúdo a ser comparado"
905
-
906
- #~ msgid "Title of related posts: "
907
- #~ msgstr "Título dos posts relacionados:"
908
-
909
- #~ msgid "Length of excerpt (in words): "
910
- #~ msgstr "Tamanho do resumo (em palavras):"
911
-
912
- #~ msgid ""
913
- #~ "The value of this field should contain the image source and is set in the "
914
- #~ "<em>Add New Post</em> screen"
915
- #~ msgstr ""
916
- #~ "O valor deste campo deve conter a fonte de imagem e está definida na tela "
917
- #~ "<em>Adicionar Novo Post</em>"
918
-
919
- #~ msgid "Use default style included in the plugin?"
920
- #~ msgstr "Use o estilo padrão incluído no plugin?"
921
-
922
- #~ msgid ""
923
- #~ "Contextual Related Posts includes a default style that makes your popular "
924
- #~ "posts list to look beautiful. Check the box above if you want to use this."
925
- #~ msgstr ""
926
- #~ "Posts Relacionados Contextuais inclui um estilo padrão que faz sua lista "
927
- #~ "de posts populares ficar linda. Marque a caixa acima se você quiser usar "
928
- #~ "isto."
4
  msgstr ""
5
  "Project-Id-Version: Contextual Related Posts\n"
6
  "Report-Msgid-Bugs-To: \n"
7
+ "POT-Creation-Date: 2015-09-27 13:33+0100\n"
8
+ "PO-Revision-Date: 2015-09-27 13:33+0100\n"
9
  "Last-Translator: Ajay D'Souza <me@ajaydsouza.com>\n"
10
+ "Language-Team: Portuguese (Brazil) (http://www.transifex.com/wp-translations/"
11
  "contextual-related-posts/language/pt_BR/)\n"
12
  "Language: pt_BR\n"
13
  "MIME-Version: 1.0\n"
20
  "X-Poedit-SourceCharset: UTF-8\n"
21
  "X-Poedit-SearchPath-0: .\n"
22
 
23
+ #: admin/admin.php:191
24
  msgid "Options saved successfully. If enabled, the cache has been cleared."
25
  msgstr ""
26
 
27
+ #: admin/admin.php:194
28
  msgid ""
29
  "Rounded Thumbnails style selected. Author, Excerpt and Date will not be "
30
  "displayed."
31
  msgstr ""
32
 
33
+ #: admin/admin.php:197
34
  msgid "Text Only style selected. Thumbnails will not be displayed."
35
  msgstr ""
36
 
37
+ #: admin/admin.php:200
38
  #, php-format
39
  msgid "Pre-built thumbnail size selected. Thumbnail set to %d x %d."
40
  msgstr ""
41
 
42
+ #: admin/admin.php:224
43
  msgid "Options set to Default."
44
  msgstr "Opções redefinidas ao padrão."
45
 
46
+ #: admin/admin.php:233
47
  msgid "Index recreated"
48
  msgstr "O índice foi recriado"
49
 
51
  msgid "Related Posts"
52
  msgstr "Posts Relacionados"
53
 
54
+ #: admin/cache.php:42
55
  msgid ""
56
  "An error occurred clearing the cache. Please contact your site administrator."
57
  "\\n\\nError message:\\n"
59
  "Ocorreu um erro ao limpar o cache. Entre em contato com seu administrador do "
60
  "site.\\n\\nMensagem de Erro: \\n"
61
 
62
+ #: admin/cache.php:47
63
  msgid " cached row(s) cleared"
64
  msgstr " linha(s) de cache limpa(s)"
65
 
67
  msgid "Settings"
68
  msgstr "Configurações"
69
 
70
+ #: admin/loader.php:46 admin/sidebar-view.php:72
71
  msgid "Support"
72
  msgstr "Suporte"
73
 
91
  msgid "List tuning options"
92
  msgstr ""
93
 
94
+ #: admin/main-view.php:34 admin/main-view.php:249
95
  msgid "Output options"
96
  msgstr "Opções de Resultado"
97
 
98
+ #: admin/main-view.php:35 admin/main-view.php:453
99
  #: includes/class-crp-widget.php:93
100
  msgid "Thumbnail options"
101
  msgstr "Opções de miniatura"
102
 
103
+ #: admin/main-view.php:36 admin/main-view.php:608
104
  msgid "Styles"
105
  msgstr ""
106
 
107
+ #: admin/main-view.php:37 admin/main-view.php:686
108
  msgid "Feed options"
109
  msgstr "Opções de Feed"
110
 
222
  "Adiciona um link nofollow à página inicial de Posts Relacionados Contextuais "
223
  "na última vez da lista."
224
 
225
+ #: admin/main-view.php:135 admin/main-view.php:242 admin/main-view.php:446
226
+ #: admin/main-view.php:601 admin/main-view.php:679 admin/main-view.php:751
227
+ #: admin/main-view.php:767
228
  msgid "Save Options"
229
  msgstr "Salvar Opções"
230
 
231
+ #: admin/main-view.php:158 admin/main-view.php:704
232
  msgid "Number of related posts to display: "
233
  msgstr "Número de posts relacionados a exibir?"
234
 
288
  msgid "List of post or page IDs to exclude from the results:"
289
  msgstr ""
290
 
291
+ #: admin/main-view.php:197 admin/main-view.php:377
292
  msgid ""
293
  "Comma separated list of post, page or custom post type IDs. e.g. 188,320,500"
294
  msgstr ""
304
  "prompt you with options."
305
  msgstr ""
306
 
307
+ #: admin/main-view.php:216
308
  msgid "Excluded category IDs are:"
309
  msgstr ""
310
 
311
+ #: admin/main-view.php:222
312
+ msgid ""
313
+ "These might differ from the IDs visible in the Categories page which use the "
314
+ "<code>term_id</code>. CRP uses the <code>term_taxonomy_id</code> which is "
315
+ "unique to this taxonomy."
316
+ msgstr ""
317
+
318
+ #: admin/main-view.php:265
319
  msgid "Title of related posts:"
320
  msgstr ""
321
 
322
+ #: admin/main-view.php:268
323
  msgid ""
324
  "This is the main heading of the related posts. You can also display the "
325
  "current post title by using <code>%postname%</code>. e.g. <code>Related Posts "
326
  "to %postname%</code>"
327
  msgstr ""
328
 
329
+ #: admin/main-view.php:272
330
  msgid "When there are no posts, what should be shown?"
331
  msgstr "O que mostrar quando não houver nenhum post relacionado?"
332
 
333
+ #: admin/main-view.php:276
334
  msgid "Blank Output"
335
  msgstr "Resultado em Branco"
336
 
337
+ #: admin/main-view.php:281
338
  msgid "Display:"
339
  msgstr "Mostrar:"
340
 
341
+ #: admin/main-view.php:287 admin/main-view.php:707
342
  msgid "Show post excerpt in list?"
343
  msgstr "Lista de resumos dos posts?"
344
 
345
+ #: admin/main-view.php:290
346
  #, php-format
347
  msgid ""
348
  "Displays the excerpt of the post. If you do not provide an explicit excerpt "
350
  "automatic excerpt which refers to the first %d words of the post's content"
351
  msgstr ""
352
 
353
+ #: admin/main-view.php:293
354
  msgid ""
355
  "Rounded Thumbnails style selected under the Custom Styles. Excerpt display is "
356
  "disabled."
357
  msgstr ""
358
 
359
+ #: admin/main-view.php:298
360
  msgid "Length of excerpt (in words):"
361
  msgstr ""
362
 
363
+ #: admin/main-view.php:304
364
  msgid "Show post author in list?"
365
  msgstr "Mostra o autor do post na lista?"
366
 
367
+ #: admin/main-view.php:307
368
  msgid "Displays the author name prefixed with \"by\". e.g. by John Doe"
369
  msgstr ""
370
 
371
+ #: admin/main-view.php:310
372
  msgid ""
373
  "Rounded Thumbnails style selected under the Custom Styles. Author display is "
374
  "disabled."
375
  msgstr ""
376
 
377
+ #: admin/main-view.php:315
378
  msgid "Show post date in list?"
379
  msgstr "Mostrar data do post na lista?"
380
 
381
+ #: admin/main-view.php:318
382
  msgid ""
383
  "Displays the date of the post. Uses the same date format set in General "
384
  "Options"
385
  msgstr ""
386
 
387
+ #: admin/main-view.php:321
388
  msgid ""
389
  "Rounded Thumbnails style selected under the Custom Styles. Date display is "
390
  "disabled."
391
  msgstr ""
392
 
393
+ #: admin/main-view.php:326
394
  msgid "Limit post title length (in characters)"
395
  msgstr "Limite do título do post (em caracteres)"
396
 
397
+ #: admin/main-view.php:329
398
  msgid ""
399
  "Any title longer than the number of characters set above will be cut and "
400
  "appended with an ellipsis (&hellip;)"
401
  msgstr ""
402
 
403
+ #: admin/main-view.php:333
404
  msgid "Open links in new window"
405
  msgstr "Abrir links numa nova janela"
406
 
407
+ #: admin/main-view.php:339
408
  msgid "Add nofollow attribute to links in the list"
409
  msgstr "Adicionar atributo nofollow aos links na lista"
410
 
411
+ #: admin/main-view.php:372
412
  msgid "Exclusion settings:"
413
  msgstr "Configurações de exclusão:"
414
 
415
+ #: admin/main-view.php:374
416
  msgid "Exclude display of related posts on these posts / pages"
417
  msgstr "Não exibir posts relacionados nestes posts/páginas?"
418
 
419
+ #: admin/main-view.php:380
420
  msgid "Exclude display of related posts on these post types."
421
  msgstr "Excluir exibição de posts relacionados nestes tipos de post."
422
 
423
+ #: admin/main-view.php:387
424
  msgid ""
425
  "The related posts will not display on any of the above selected post types"
426
  msgstr ""
427
 
428
+ #: admin/main-view.php:417
429
  msgid "Customize the output:"
430
  msgstr "Personalizar o resultado:"
431
 
432
+ #: admin/main-view.php:419
433
  msgid "HTML to display before the list of posts: "
434
  msgstr "HTML para exibir antes da lista de posts: "
435
 
436
+ #: admin/main-view.php:422
437
  msgid "HTML to display before each list item: "
438
  msgstr "HTML para exibir antes de cada item da lista: "
439
 
440
+ #: admin/main-view.php:425
441
  msgid "HTML to display after each list item: "
442
  msgstr "HTML para exibir depois de cada item da lista: "
443
 
444
+ #: admin/main-view.php:428
445
  msgid "HTML to display after the list of posts: "
446
  msgstr "HTML para exibir depois da lista de posts: "
447
 
448
+ #: admin/main-view.php:469 admin/main-view.php:710
449
  msgid "Location of post thumbnail:"
450
  msgstr "Localização da miniatura do post:"
451
 
452
+ #: admin/main-view.php:473 admin/main-view.php:714
453
  msgid "Display thumbnails inline with posts, before title"
454
  msgstr ""
455
 
456
+ #: admin/main-view.php:477 admin/main-view.php:718
457
  msgid "Display thumbnails inline with posts, after title"
458
  msgstr ""
459
 
460
+ #: admin/main-view.php:481 admin/main-view.php:722
461
  msgid "Display only thumbnails, no text"
462
  msgstr "Mostrar somente miniaturas, sem texto"
463
 
464
+ #: admin/main-view.php:485 admin/main-view.php:726
465
  msgid "Do not display thumbnails, only text."
466
  msgstr "Não mostrar miniaturas, somente texto"
467
 
468
+ #: admin/main-view.php:488
469
  msgid ""
470
  "This setting cannot be changed because an inbuilt style has been selected "
471
  "under the Styles section. If you would like to change this option, please "
472
  "select <strong>No styles</strong> under the Styles section."
473
  msgstr ""
474
 
475
+ #: admin/main-view.php:492
476
  msgid "Thumbnail size:"
477
  msgstr ""
478
 
479
+ #: admin/main-view.php:516
480
  msgid "Custom size"
481
  msgstr ""
482
 
483
+ #: admin/main-view.php:519
484
  msgid "You can choose from existing image sizes above or create a custom size."
485
  msgstr ""
486
 
487
+ #: admin/main-view.php:520
488
  msgid ""
489
  "If you choose an existing size, then the width, height and crop mode settings "
490
  "in the three options below will be automatically updated to reflect the "
491
  "correct dimensions of the setting."
492
  msgstr ""
493
 
494
+ #: admin/main-view.php:521
495
  msgid ""
496
  "If you have chosen Custom size above, then enter the width, height and crop "
497
  "settings below. For best results, use a cropped image with the same width and "
498
  "height. The default setting is 150x150 cropped image."
499
  msgstr ""
500
 
501
+ #: admin/main-view.php:522
502
  msgid ""
503
  "Any changes to the thumbnail settings doesn't automatically resize existing "
504
  "images."
505
  msgstr ""
506
 
507
+ #: admin/main-view.php:523
508
  #, php-format
509
  msgid ""
510
  "I recommend using <a href='%s' class='thickbox'>OTF Regenerate Thumbnails</a> "
512
  "image sizes."
513
  msgstr ""
514
 
515
+ #: admin/main-view.php:527
516
  msgid "Width of the thumbnail:"
517
  msgstr ""
518
 
519
+ #: admin/main-view.php:530
520
  msgid "Height of the thumbnail: "
521
  msgstr ""
522
 
523
+ #: admin/main-view.php:535
524
  msgid "Crop mode:"
525
  msgstr "Modo de recorte:"
526
 
527
+ #: admin/main-view.php:539
528
  msgid ""
529
  "By default, thumbnails will be hard cropped. Uncheck this box to "
530
  "proportionately/soft crop the thumbnails."
531
  msgstr ""
532
 
533
+ #: admin/main-view.php:540
534
  #, php-format
535
  msgid "<a href='%s' target='_blank'>Difference between soft and hard crop</a>"
536
  msgstr ""
537
 
538
+ #: admin/main-view.php:544
539
  msgid "Image size attributes:"
540
  msgstr ""
541
 
542
+ #: admin/main-view.php:548
543
  msgid "Style attributes are used for width and height."
544
  msgstr ""
545
 
546
+ #: admin/main-view.php:554
547
  msgid "HTML width and height attributes are used for width and height."
548
  msgstr ""
549
 
550
+ #: admin/main-view.php:560
551
  msgid "No HTML or Style attributes set for width and height"
552
  msgstr ""
553
 
554
+ #: admin/main-view.php:565
555
  msgid "Post thumbnail meta field name:"
556
  msgstr "Nome do campo meta da miniatura do post:"
557
 
558
+ #: admin/main-view.php:567
559
  msgid ""
560
  "The value of this field should contain a direct link to the image. This is "
561
  "set in the meta box in the <em>Add New Post</em> screen."
562
  msgstr ""
563
 
564
+ #: admin/main-view.php:570
565
  msgid "Extract the first image from the post?"
566
  msgstr "Extrair a primeira imagem do post?"
567
 
568
+ #: admin/main-view.php:572
569
  msgid ""
570
  "This will only happen if there is no post thumbnail set and no image URL is "
571
  "specified in the meta field."
573
  "Isso só acontecerá se não houver nenhum conjunto de miniaturas de post e "
574
  "nenhuma URL de imagem for definido no campo meta."
575
 
576
+ #: admin/main-view.php:575
577
  msgid "Use default thumbnail?"
578
  msgstr "Usar miniatura padrão?"
579
 
580
+ #: admin/main-view.php:577
581
  msgid ""
582
  "If checked, when no thumbnail is found, show a default one from the URL "
583
  "below. If not checked and no thumbnail is found, no image will be shown."
586
  "URL abaixo. Se desmarcada e não encontrar nenhuma miniatura, a imagem não "
587
  "será exibida."
588
 
589
+ #: admin/main-view.php:580
590
  msgid "Default thumbnail:"
591
  msgstr "Miniatura padrão:"
592
 
593
+ #: admin/main-view.php:583
594
  msgid ""
595
  "The plugin will first check if the post contains a thumbnail. If it doesn't "
596
  "then it will check the meta field. If this is not available, then it will "
600
  "ele irá verificar o campo de meta. Se este não estiver disponível, então "
601
  "mostrará a imagem padrão conforme especificado acima."
602
 
603
+ #: admin/main-view.php:624
604
  msgid "Style of the related posts:"
605
  msgstr ""
606
 
607
+ #: admin/main-view.php:627
608
  msgid "No styles"
609
  msgstr ""
610
 
611
+ #: admin/main-view.php:629
612
  msgid "Select this option if you plan to add your own styles"
613
  msgstr ""
614
 
615
+ #: admin/main-view.php:633
616
  msgid "Rounded Thumbnails"
617
  msgstr ""
618
 
619
+ #: admin/main-view.php:636
620
  msgid ""
621
  "Enabling this option will turn on the thumbnails and set their width and "
622
  "height to 150px. It will also turn off the display of the author, excerpt and "
627
  "já estejam habilitados. Desabilitar esta opção não irá reverter quaisquer "
628
  "configurações."
629
 
630
+ #: admin/main-view.php:637
631
  #, php-format
632
  msgid ""
633
  "You can view the default style at <a href=\"%1$s\" target=\"_blank\">%1$s</a>"
634
  msgstr ""
635
 
636
+ #: admin/main-view.php:641
637
  msgid "Text only"
638
  msgstr ""
639
 
640
+ #: admin/main-view.php:643
641
  msgid ""
642
  "Enabling this option will disable thumbnails and no longer include the "
643
  "default style sheet included in the plugin."
644
  msgstr ""
645
 
646
+ #: admin/main-view.php:658
647
  msgid "Custom CSS to add to header:"
648
  msgstr "CSS personalizado para adicionar ao cabeçalho:"
649
 
650
+ #: admin/main-view.php:662
651
  msgid ""
652
  "Do not include <code>style</code> tags. Check out the <a href=\"http://"
653
  "wordpress.org/extend/plugins/contextual-related-posts/faq/\" target=\"_blank"
657
  "wordpress.org/extend/plugins/contextual-related-posts/faq/\" target=\"_blank"
658
  "\">FAQ</a> para saber as classes CSS disponíveis para estilizar."
659
 
660
+ #: admin/main-view.php:702
661
  msgid ""
662
  "Below options override the related posts settings for your blog feed. These "
663
  "only apply if you have selected to add related posts to Feeds in the General "
664
  "Options tab."
665
  msgstr ""
666
 
667
+ #: admin/main-view.php:730
668
  msgid "Maximum width of the thumbnail: "
669
  msgstr "Largura máxima da miniatura:"
670
 
671
+ #: admin/main-view.php:733
672
  msgid "Maximum height of the thumbnail: "
673
  msgstr "Altura máxima da miniatura:"
674
 
675
+ #: admin/main-view.php:768
676
  msgid "Default Options"
677
  msgstr "Opções Padrão"
678
 
679
+ #: admin/main-view.php:768
680
  msgid "Do you want to set options to Default?"
681
  msgstr "Você quer definir opções para o padrão?"
682
 
683
+ #: admin/main-view.php:769
684
  msgid "Recreate Index"
685
  msgstr "Recriar Índice"
686
 
687
+ #: admin/main-view.php:769
688
  msgid "Are you sure you want to recreate the index?"
689
  msgstr "Tem certeza de que deseja recriar o índice?"
690
 
691
+ #: admin/main-view.php:774
692
  msgid ""
693
  "One or more FULLTEXT indices are missing. Please hit the <a href="
694
  "\"#crp_recreate\">Recreate Index button</a> at the bottom of the page to fix "
695
  "this."
696
  msgstr ""
697
 
698
+ #: admin/metabox.php:98
699
  msgid "Location of thumbnail:"
700
  msgstr "Localização da miniatura:"
701
 
702
+ #: admin/metabox.php:100
703
  msgid ""
704
  "Enter the full URL to the image (JPG, PNG or GIF) you'd like to use. This "
705
  "image will be used for the post. It will be resized to the thumbnail size set "
710
  "tamanho da miniatura definido em Configurações &raquo; Posts Relacionados "
711
  "&raquo; Opções de Saída"
712
 
713
+ #: admin/metabox.php:101
714
  msgid "The URL above is saved in the meta field:"
715
  msgstr ""
716
 
717
+ #: admin/metabox.php:106
718
  msgid ""
719
  "You have Top 10 WordPress Plugin installed. If you are trying to modify the "
720
  "thumbnail, then you'll need to make the same change in the Top 10 meta box on "
721
  "this page."
722
  msgstr ""
723
 
724
+ #: admin/metabox.php:117
725
  msgid "Disable Related Posts display:"
726
  msgstr ""
727
 
728
+ #: admin/metabox.php:120
729
  msgid ""
730
  "If this is checked, then Contextual Related Posts will not automatically "
731
  "insert the related posts at the end of post content."
732
  msgstr ""
733
 
734
+ #: admin/metabox.php:125 admin/metabox.php:133
735
  msgid "Manual related posts:"
736
  msgstr ""
737
 
738
+ #: admin/metabox.php:127
739
  msgid ""
740
  "Comma separated list of post, page or custom post type IDs. e.g. 188,320,500. "
741
  "These will be given preference over the related posts generated by the plugin."
742
  msgstr ""
743
 
744
+ #: admin/metabox.php:128
745
  msgid ""
746
  "Once you enter the list above and save this page, the plugin will display the "
747
  "titles of the posts below for your reference. Only IDs corresponding to "
748
  "published posts or custom post types will be retained."
749
  msgstr ""
750
 
751
+ #: admin/metabox.php:142
752
  msgid "This post type is:"
753
  msgstr ""
754
 
772
  msgid "Follow me"
773
  msgstr "Siga-me"
774
 
775
+ #: admin/sidebar-view.php:66
776
  msgid "Quick links"
777
  msgstr "Links Rápidos"
778
 
779
+ #: admin/sidebar-view.php:70
780
  msgid "Plugin homepage"
781
  msgstr ""
782
 
783
+ #: admin/sidebar-view.php:71
784
  msgid "FAQ"
785
  msgstr "FAQ"
786
 
787
+ #: admin/sidebar-view.php:73
788
  msgid "Reviews"
789
  msgstr "Avaliações"
790
 
791
+ #: admin/sidebar-view.php:74
792
  msgid "Github repository"
793
  msgstr "Repositório no Github."
794
 
795
+ #: admin/sidebar-view.php:75
796
  msgid "Other plugins"
797
  msgstr "Outros plugins"
798
 
799
+ #: admin/sidebar-view.php:76
800
  msgid "Ajay's blog"
801
  msgstr "Blog do Ajay"
802
 
803
+ #: contextual-related-posts.php:232
804
  #, php-format
805
  msgid "Powered by <a href=\"%s\" rel=\"nofollow\">Contextual Related Posts</a>"
806
  msgstr ""
807
  "Gerado por <a href=\"%s\" rel=\"nofollow\">Posts Relacionados Contextuais</a>"
808
 
809
+ #: contextual-related-posts.php:710
810
  msgid "<h3>Related Posts:</h3>"
811
  msgstr "<h3>Posts Relacionados:</h3>"
812
 
813
+ #: contextual-related-posts.php:712
814
  msgid "No related posts found"
815
  msgstr "Nenhum post relacionado foi encontrado"
816
 
870
  msgid "Post types to include:"
871
  msgstr ""
872
 
873
+ #: includes/media.php:67
874
  msgid "thumb_timthumb argument has been deprecated"
875
  msgstr ""
876
 
877
+ #: includes/media.php:71
878
  msgid "thumb_timthumb_q argument has been deprecated"
879
  msgstr ""
880
 
881
+ #: includes/media.php:75
882
  msgid "filter argument has been deprecated"
883
  msgstr ""
884
 
885
  #: includes/output-generator.php:238
886
  msgid " by "
887
  msgstr "por"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
languages/contextual-related-posts-ro_RO.mo ADDED
Binary file
languages/{crp-ro_RO.po → contextual-related-posts-ro_RO.po} RENAMED
@@ -5,10 +5,10 @@ msgid ""
5
  msgstr ""
6
  "Project-Id-Version: Contextual Related Posts\n"
7
  "Report-Msgid-Bugs-To: \n"
8
- "POT-Creation-Date: 2015-09-05 11:13+0100\n"
9
- "PO-Revision-Date: 2015-09-05 11:13+0100\n"
10
  "Last-Translator: Ajay D'Souza <me@ajaydsouza.com>\n"
11
- "Language-Team: Romanian (Romania) (http://www.transifex.com/projects/p/"
12
  "contextual-related-posts/language/ro_RO/)\n"
13
  "Language: ro_RO\n"
14
  "MIME-Version: 1.0\n"
@@ -22,30 +22,30 @@ msgstr ""
22
  "X-Poedit-SourceCharset: UTF-8\n"
23
  "X-Poedit-SearchPath-0: .\n"
24
 
25
- #: admin/admin.php:190
26
  msgid "Options saved successfully. If enabled, the cache has been cleared."
27
  msgstr ""
28
 
29
- #: admin/admin.php:193
30
  msgid ""
31
  "Rounded Thumbnails style selected. Author, Excerpt and Date will not be "
32
  "displayed."
33
  msgstr ""
34
 
35
- #: admin/admin.php:196
36
  msgid "Text Only style selected. Thumbnails will not be displayed."
37
  msgstr ""
38
 
39
- #: admin/admin.php:199
40
  #, php-format
41
  msgid "Pre-built thumbnail size selected. Thumbnail set to %d x %d."
42
  msgstr ""
43
 
44
- #: admin/admin.php:223
45
  msgid "Options set to Default."
46
  msgstr "Opțiuni setate ca predefinite."
47
 
48
- #: admin/admin.php:232
49
  msgid "Index recreated"
50
  msgstr "Index recreat"
51
 
@@ -53,7 +53,7 @@ msgstr "Index recreat"
53
  msgid "Related Posts"
54
  msgstr "Articole asociate"
55
 
56
- #: admin/cache.php:44
57
  msgid ""
58
  "An error occurred clearing the cache. Please contact your site administrator."
59
  "\\n\\nError message:\\n"
@@ -61,7 +61,7 @@ msgstr ""
61
  "A apărut o eroare în timpul golirii cache-ului. Vă rugăm să contactați "
62
  "administratorul site-ului.\\n\\nMesaj de eroare:\\n"
63
 
64
- #: admin/cache.php:49
65
  msgid " cached row(s) cleared"
66
  msgstr "rând(uri) cache golit(e)"
67
 
@@ -69,7 +69,7 @@ msgstr "rând(uri) cache golit(e)"
69
  msgid "Settings"
70
  msgstr "Setări"
71
 
72
- #: admin/loader.php:46 admin/sidebar-view.php:59
73
  msgid "Support"
74
  msgstr "Asistenţă"
75
 
@@ -79,7 +79,7 @@ msgstr "Donați"
79
 
80
  #: admin/loader.php:48
81
  msgid "Contribute"
82
- msgstr ""
83
 
84
  #: admin/loader.php:64
85
  msgid "plugin settings page"
@@ -93,20 +93,20 @@ msgstr "Opțiuni generale"
93
  msgid "List tuning options"
94
  msgstr ""
95
 
96
- #: admin/main-view.php:34 admin/main-view.php:239
97
  msgid "Output options"
98
  msgstr "Opțiuni de afișare"
99
 
100
- #: admin/main-view.php:35 admin/main-view.php:443
101
  #: includes/class-crp-widget.php:93
102
  msgid "Thumbnail options"
103
  msgstr "Opțiuni imagini miniatură"
104
 
105
- #: admin/main-view.php:36 admin/main-view.php:596
106
  msgid "Styles"
107
  msgstr ""
108
 
109
- #: admin/main-view.php:37 admin/main-view.php:674
110
  msgid "Feed options"
111
  msgstr "Opțiuni flux"
112
 
@@ -232,13 +232,13 @@ msgstr ""
232
  "Adaugă ca ultima in listă o legatură nofollow catre pagina principală a "
233
  "Contextual Related Posts."
234
 
235
- #: admin/main-view.php:135 admin/main-view.php:232 admin/main-view.php:436
236
- #: admin/main-view.php:589 admin/main-view.php:667 admin/main-view.php:739
237
- #: admin/main-view.php:755
238
  msgid "Save Options"
239
  msgstr "Salvați opțiunile"
240
 
241
- #: admin/main-view.php:158 admin/main-view.php:692
242
  msgid "Number of related posts to display: "
243
  msgstr "Numărul de articole asociate de afișat."
244
 
@@ -302,7 +302,7 @@ msgstr ""
302
  msgid "List of post or page IDs to exclude from the results:"
303
  msgstr "Listă de ID-uri de articol sau pagină de exclus din rezultate:"
304
 
305
- #: admin/main-view.php:197 admin/main-view.php:367
306
  msgid ""
307
  "Comma separated list of post, page or custom post type IDs. e.g. 188,320,500"
308
  msgstr ""
@@ -323,15 +323,22 @@ msgstr ""
323
  "utilizează autocompletare, asa că începeți să tastați numele categoriei "
324
  "dorite și vi se vor afișa opțiunile."
325
 
326
- #: admin/main-view.php:214
327
  msgid "Excluded category IDs are:"
328
  msgstr ""
329
 
330
- #: admin/main-view.php:255
 
 
 
 
 
 
 
331
  msgid "Title of related posts:"
332
  msgstr ""
333
 
334
- #: admin/main-view.php:258
335
  msgid ""
336
  "This is the main heading of the related posts. You can also display the "
337
  "current post title by using <code>%postname%</code>. e.g. <code>Related "
@@ -341,23 +348,23 @@ msgstr ""
341
  "asemenea titlul articolului curent folosind <code>%postname%</code>. "
342
  "Exemplu: <code>Articole asociate cu %postname%</code>"
343
 
344
- #: admin/main-view.php:262
345
  msgid "When there are no posts, what should be shown?"
346
  msgstr "Ce se va afișa cănd nu există articole?"
347
 
348
- #: admin/main-view.php:266
349
  msgid "Blank Output"
350
  msgstr "Afișaj gol"
351
 
352
- #: admin/main-view.php:271
353
  msgid "Display:"
354
  msgstr "Afișare:"
355
 
356
- #: admin/main-view.php:277 admin/main-view.php:695
357
  msgid "Show post excerpt in list?"
358
  msgstr "Arată extrasul articolului in listă?"
359
 
360
- #: admin/main-view.php:280
361
  #, php-format
362
  msgid ""
363
  "Displays the excerpt of the post. If you do not provide an explicit excerpt "
@@ -368,165 +375,165 @@ msgstr ""
368
  "opțional al editorului ), va fi generat un extras automat ce va conține "
369
  "primele %d cuvinte din conținutul articolului."
370
 
371
- #: admin/main-view.php:283
372
  msgid ""
373
  "Rounded Thumbnails style selected under the Custom Styles. Excerpt display "
374
  "is disabled."
375
  msgstr ""
376
 
377
- #: admin/main-view.php:288
378
  msgid "Length of excerpt (in words):"
379
  msgstr ""
380
 
381
- #: admin/main-view.php:294
382
  msgid "Show post author in list?"
383
  msgstr "Afișați autorul articolului în listă?"
384
 
385
- #: admin/main-view.php:297
386
  msgid "Displays the author name prefixed with \"by\". e.g. by John Doe"
387
  msgstr "Afișează numele autorului cu prefixul \"de\". Exemplu: de John Doe"
388
 
389
- #: admin/main-view.php:300
390
  msgid ""
391
  "Rounded Thumbnails style selected under the Custom Styles. Author display is "
392
  "disabled."
393
  msgstr ""
394
 
395
- #: admin/main-view.php:305
396
  msgid "Show post date in list?"
397
  msgstr "Afișați data articolului în listă?"
398
 
399
- #: admin/main-view.php:308
400
  msgid ""
401
  "Displays the date of the post. Uses the same date format set in General "
402
  "Options"
403
  msgstr ""
404
  "Afișează data articolului. Utilizează formatul setat in Opțiuni Generale."
405
 
406
- #: admin/main-view.php:311
407
  msgid ""
408
  "Rounded Thumbnails style selected under the Custom Styles. Date display is "
409
  "disabled."
410
  msgstr ""
411
 
412
- #: admin/main-view.php:316
413
  msgid "Limit post title length (in characters)"
414
  msgstr "Limita titlului articolului (în caractere)"
415
 
416
- #: admin/main-view.php:319
417
  msgid ""
418
  "Any title longer than the number of characters set above will be cut and "
419
  "appended with an ellipsis (&hellip;)"
420
  msgstr ""
421
 
422
- #: admin/main-view.php:323
423
  msgid "Open links in new window"
424
  msgstr "Se deschide într-o fereastră nouă"
425
 
426
- #: admin/main-view.php:329
427
  msgid "Add nofollow attribute to links in the list"
428
  msgstr "Adaugă atribut nofollow legăturilor din listă"
429
 
430
- #: admin/main-view.php:362
431
  msgid "Exclusion settings:"
432
  msgstr "Setări de excludere:"
433
 
434
- #: admin/main-view.php:364
435
  msgid "Exclude display of related posts on these posts / pages"
436
  msgstr "Exclude afișarea articolelor asociate pentru aceste articole / pagini"
437
 
438
- #: admin/main-view.php:370
439
  msgid "Exclude display of related posts on these post types."
440
  msgstr ""
441
  "Exclude afișarea articolelor asociate pentru aceste tipuri de articole."
442
 
443
- #: admin/main-view.php:377
444
  msgid ""
445
  "The related posts will not display on any of the above selected post types"
446
  msgstr ""
447
  "Articolele asociate nu vor fi afișate pentru niciunul dintre tipurile de "
448
  "articole selectate mai sus"
449
 
450
- #: admin/main-view.php:407
451
  msgid "Customize the output:"
452
  msgstr "Personalizați afișajul:"
453
 
454
- #: admin/main-view.php:409
455
  msgid "HTML to display before the list of posts: "
456
  msgstr "Cod HTML de afișat înaintea listei de articole:"
457
 
458
- #: admin/main-view.php:412
459
  msgid "HTML to display before each list item: "
460
  msgstr "Cod HTML de afișat înaintea fiecarei intrari din listă:"
461
 
462
- #: admin/main-view.php:415
463
  msgid "HTML to display after each list item: "
464
  msgstr "Cod HTML de afișat după fiecare intrare din listă:"
465
 
466
- #: admin/main-view.php:418
467
  msgid "HTML to display after the list of posts: "
468
  msgstr "Cod HTML de afișat după lista de articole:"
469
 
470
- #: admin/main-view.php:459 admin/main-view.php:698
471
  msgid "Location of post thumbnail:"
472
  msgstr "Poziția imaginii miniatură:"
473
 
474
- #: admin/main-view.php:463 admin/main-view.php:702
475
  msgid "Display thumbnails inline with posts, before title"
476
  msgstr "Afișează imagini miniatură în linie cu articolele, înaintea titlului"
477
 
478
- #: admin/main-view.php:467 admin/main-view.php:706
479
  msgid "Display thumbnails inline with posts, after title"
480
  msgstr "Afișează imagini miniatură în linie cu articolele, după titlu"
481
 
482
- #: admin/main-view.php:471 admin/main-view.php:710
483
  msgid "Display only thumbnails, no text"
484
  msgstr "Afișează doar imagini miniatură, fără text"
485
 
486
- #: admin/main-view.php:475 admin/main-view.php:714
487
  msgid "Do not display thumbnails, only text."
488
  msgstr "Nu afișează imagini miniatură, doar text."
489
 
490
- #: admin/main-view.php:478
491
  msgid ""
492
  "This setting cannot be changed because an inbuilt style has been selected "
493
  "under the Styles section. If you would like to change this option, please "
494
  "select <strong>No styles</strong> under the Styles section."
495
  msgstr ""
496
 
497
- #: admin/main-view.php:482
498
  msgid "Thumbnail size:"
499
  msgstr ""
500
 
501
- #: admin/main-view.php:506
502
  msgid "Custom size"
503
  msgstr ""
504
 
505
- #: admin/main-view.php:509
506
  msgid "You can choose from existing image sizes above or create a custom size."
507
  msgstr ""
508
 
509
- #: admin/main-view.php:510
510
  msgid ""
511
  "If you choose an existing size, then the width, height and crop mode "
512
  "settings in the three options below will be automatically updated to reflect "
513
  "the correct dimensions of the setting."
514
  msgstr ""
515
 
516
- #: admin/main-view.php:511
517
  msgid ""
518
  "If you have chosen Custom size above, then enter the width, height and crop "
519
  "settings below. For best results, use a cropped image with the same width "
520
  "and height. The default setting is 150x150 cropped image."
521
  msgstr ""
522
 
523
- #: admin/main-view.php:512
524
  msgid ""
525
  "Any changes to the thumbnail settings doesn't automatically resize existing "
526
  "images."
527
  msgstr ""
528
 
529
- #: admin/main-view.php:513
530
  #, php-format
531
  msgid ""
532
  "I recommend using <a href='%s' class='thickbox'>OTF Regenerate Thumbnails</"
@@ -534,62 +541,62 @@ msgid ""
534
  "all image sizes."
535
  msgstr ""
536
 
537
- #: admin/main-view.php:517
538
  msgid "Width of the thumbnail:"
539
  msgstr ""
540
 
541
- #: admin/main-view.php:520
542
  msgid "Height of the thumbnail: "
543
  msgstr ""
544
 
545
- #: admin/main-view.php:525
546
  msgid "Crop mode:"
547
  msgstr ""
548
 
549
- #: admin/main-view.php:529
550
  msgid ""
551
  "By default, thumbnails will be hard cropped. Uncheck this box to "
552
  "proportionately/soft crop the thumbnails."
553
  msgstr ""
554
 
555
- #: admin/main-view.php:530
556
  #, php-format
557
  msgid "<a href='%s' target='_blank'>Difference between soft and hard crop</a>"
558
  msgstr ""
559
 
560
- #: admin/main-view.php:534
561
  msgid "Image size attributes:"
562
  msgstr ""
563
 
564
- #: admin/main-view.php:538
565
  msgid "Style attributes are used for width and height."
566
  msgstr "Atributele de stil sunt folosite pentru lățime și înălțime."
567
 
568
- #: admin/main-view.php:543
569
  msgid "HTML width and height attributes are used for width and height."
570
  msgstr ""
571
  "Atributele HTML de lătime și înălțime sunt folosite pentru lățime și "
572
  "înălțime."
573
 
574
- #: admin/main-view.php:548
575
  msgid "No HTML or Style attributes set for width and height"
576
  msgstr ""
577
 
578
- #: admin/main-view.php:553
579
  msgid "Post thumbnail meta field name:"
580
  msgstr "Numele câmpului meta al imaginii miniatură a articolului:"
581
 
582
- #: admin/main-view.php:555
583
  msgid ""
584
  "The value of this field should contain a direct link to the image. This is "
585
  "set in the meta box in the <em>Add New Post</em> screen."
586
  msgstr ""
587
 
588
- #: admin/main-view.php:558
589
  msgid "Extract the first image from the post?"
590
  msgstr "Extrageți prima imagine din articol?"
591
 
592
- #: admin/main-view.php:560
593
  msgid ""
594
  "This will only happen if there is no post thumbnail set and no image URL is "
595
  "specified in the meta field."
@@ -597,11 +604,11 @@ msgstr ""
597
  "Asta se va întâmpla doar daca nu exista o imagine miniatură setata și nu a "
598
  "fost specificată adresa URL a unei imagini in câmpul meta."
599
 
600
- #: admin/main-view.php:563
601
  msgid "Use default thumbnail?"
602
  msgstr "Folosiți imaginea miniatură predefinită?"
603
 
604
- #: admin/main-view.php:565
605
  msgid ""
606
  "If checked, when no thumbnail is found, show a default one from the URL "
607
  "below. If not checked and no thumbnail is found, no image will be shown."
@@ -610,11 +617,11 @@ msgstr ""
610
  "adresa URL de mai jos. Daca nu bifați și nu se găsește o imagine miniatură, "
611
  "nicio imagine nu va fi afișată."
612
 
613
- #: admin/main-view.php:568
614
  msgid "Default thumbnail:"
615
  msgstr "Imagine miniatură predefinită:"
616
 
617
- #: admin/main-view.php:571
618
  msgid ""
619
  "The plugin will first check if the post contains a thumbnail. If it doesn't "
620
  "then it will check the meta field. If this is not available, then it will "
@@ -624,23 +631,23 @@ msgstr ""
624
  "nu, va verifica câmpul meta. Dacă acesta nu este disponibil, va afișa "
625
  "imaginea predefinită specificată mai deasupra."
626
 
627
- #: admin/main-view.php:612
628
  msgid "Style of the related posts:"
629
  msgstr ""
630
 
631
- #: admin/main-view.php:615
632
  msgid "No styles"
633
  msgstr ""
634
 
635
- #: admin/main-view.php:617
636
  msgid "Select this option if you plan to add your own styles"
637
  msgstr ""
638
 
639
- #: admin/main-view.php:621
640
  msgid "Rounded Thumbnails"
641
  msgstr ""
642
 
643
- #: admin/main-view.php:624
644
  msgid ""
645
  "Enabling this option will turn on the thumbnails and set their width and "
646
  "height to 150px. It will also turn off the display of the author, excerpt "
@@ -648,27 +655,27 @@ msgid ""
648
  "settings."
649
  msgstr ""
650
 
651
- #: admin/main-view.php:625
652
  #, php-format
653
  msgid ""
654
  "You can view the default style at <a href=\"%1$s\" target=\"_blank\">%1$s</a>"
655
  msgstr ""
656
 
657
- #: admin/main-view.php:629
658
  msgid "Text only"
659
  msgstr ""
660
 
661
- #: admin/main-view.php:631
662
  msgid ""
663
  "Enabling this option will disable thumbnails and no longer include the "
664
  "default style sheet included in the plugin."
665
  msgstr ""
666
 
667
- #: admin/main-view.php:646
668
  msgid "Custom CSS to add to header:"
669
  msgstr "Cod CSS personalizat de adăugat în header:"
670
 
671
- #: admin/main-view.php:650
672
  msgid ""
673
  "Do not include <code>style</code> tags. Check out the <a href=\"http://"
674
  "wordpress.org/extend/plugins/contextual-related-posts/faq/\" target=\"_blank"
@@ -678,7 +685,7 @@ msgstr ""
678
  "\"http://wordpress.org/extend/plugins/contextual-related-posts/faq/\" target="
679
  "\"_blank\">Întrebări / Răspunsuri</a> pentru clasele disponibile stilizării."
680
 
681
- #: admin/main-view.php:690
682
  msgid ""
683
  "Below options override the related posts settings for your blog feed. These "
684
  "only apply if you have selected to add related posts to Feeds in the General "
@@ -688,42 +695,42 @@ msgstr ""
688
  "blogului. Acestea se aplică doar dacă ați selectat adăugarea articolelor "
689
  "asociatele la Flux in sectiunea de Setări Generale."
690
 
691
- #: admin/main-view.php:718
692
  msgid "Maximum width of the thumbnail: "
693
  msgstr "Lățimea maximă a imaginii miniatură:"
694
 
695
- #: admin/main-view.php:721
696
  msgid "Maximum height of the thumbnail: "
697
  msgstr "Înălțimea maximăa a imaginii miniatură:"
698
 
699
- #: admin/main-view.php:756
700
  msgid "Default Options"
701
  msgstr "Opțiuni predefinite"
702
 
703
- #: admin/main-view.php:756
704
  msgid "Do you want to set options to Default?"
705
  msgstr "Doriți încărcarea opțiunilor predefinite?"
706
 
707
- #: admin/main-view.php:757
708
  msgid "Recreate Index"
709
  msgstr "Recreare index"
710
 
711
- #: admin/main-view.php:757
712
  msgid "Are you sure you want to recreate the index?"
713
  msgstr "Sunteți sigur că doriți recrearea indexului?"
714
 
715
- #: admin/main-view.php:762
716
  msgid ""
717
  "One or more FULLTEXT indices are missing. Please hit the <a href="
718
  "\"#crp_recreate\">Recreate Index button</a> at the bottom of the page to fix "
719
  "this."
720
  msgstr ""
721
 
722
- #: admin/metabox.php:100
723
  msgid "Location of thumbnail:"
724
  msgstr "Poziția imaginii miniatură:"
725
 
726
- #: admin/metabox.php:102
727
  msgid ""
728
  "Enter the full URL to the image (JPG, PNG or GIF) you'd like to use. This "
729
  "image will be used for the post. It will be resized to the thumbnail size "
@@ -734,46 +741,46 @@ msgstr ""
734
  "redimensionată la dimensiunile imaginii miniatura, setate in sectiunea "
735
  "\"Setări &raquo; Articole asociate &raquo; Opțiuni afișaj\"."
736
 
737
- #: admin/metabox.php:103
738
  msgid "The URL above is saved in the meta field:"
739
  msgstr ""
740
 
741
- #: admin/metabox.php:108
742
  msgid ""
743
  "You have Top 10 WordPress Plugin installed. If you are trying to modify the "
744
  "thumbnail, then you'll need to make the same change in the Top 10 meta box "
745
  "on this page."
746
  msgstr ""
747
 
748
- #: admin/metabox.php:119
749
  msgid "Disable Related Posts display:"
750
  msgstr ""
751
 
752
- #: admin/metabox.php:122
753
  msgid ""
754
  "If this is checked, then Contextual Related Posts will not automatically "
755
  "insert the related posts at the end of post content."
756
  msgstr ""
757
 
758
- #: admin/metabox.php:127 admin/metabox.php:135
759
  msgid "Manual related posts:"
760
  msgstr ""
761
 
762
- #: admin/metabox.php:129
763
  msgid ""
764
  "Comma separated list of post, page or custom post type IDs. e.g. "
765
  "188,320,500. These will be given preference over the related posts generated "
766
  "by the plugin."
767
  msgstr ""
768
 
769
- #: admin/metabox.php:130
770
  msgid ""
771
  "Once you enter the list above and save this page, the plugin will display "
772
  "the titles of the posts below for your reference. Only IDs corresponding to "
773
  "published posts or custom post types will be retained."
774
  msgstr ""
775
 
776
- #: admin/metabox.php:144
777
  msgid "This post type is:"
778
  msgstr ""
779
 
@@ -797,44 +804,44 @@ msgstr "Trimiteți donația dumneavoastră autorului"
797
  msgid "Follow me"
798
  msgstr "Urmăriți-mă"
799
 
800
- #: admin/sidebar-view.php:53
801
  msgid "Quick links"
802
  msgstr "Legături rapide"
803
 
804
- #: admin/sidebar-view.php:57
805
  msgid "Plugin homepage"
806
  msgstr ""
807
 
808
- #: admin/sidebar-view.php:58
809
  msgid "FAQ"
810
  msgstr "Întrebări/Răspunsuri"
811
 
812
- #: admin/sidebar-view.php:60
813
  msgid "Reviews"
814
  msgstr "Recenzii"
815
 
816
- #: admin/sidebar-view.php:61
817
  msgid "Github repository"
818
  msgstr "Depozit Github"
819
 
820
- #: admin/sidebar-view.php:62
821
  msgid "Other plugins"
822
  msgstr "Alte module"
823
 
824
- #: admin/sidebar-view.php:63
825
  msgid "Ajay's blog"
826
  msgstr "Blogul lui Ajay"
827
 
828
- #: contextual-related-posts.php:178
829
  #, php-format
830
  msgid "Powered by <a href=\"%s\" rel=\"nofollow\">Contextual Related Posts</a>"
831
  msgstr ""
832
 
833
- #: contextual-related-posts.php:659
834
  msgid "<h3>Related Posts:</h3>"
835
  msgstr "<h3>Articole asociate:</h3>"
836
 
837
- #: contextual-related-posts.php:661
838
  msgid "No related posts found"
839
  msgstr "Nu au fost găsite articole asociate"
840
 
@@ -894,97 +901,18 @@ msgstr "Lățime imagine miniatură"
894
  msgid "Post types to include:"
895
  msgstr ""
896
 
897
- #: includes/media-handler.php:68
898
  msgid "thumb_timthumb argument has been deprecated"
899
  msgstr ""
900
 
901
- #: includes/media-handler.php:72
902
  msgid "thumb_timthumb_q argument has been deprecated"
903
  msgstr ""
904
 
905
- #: includes/media-handler.php:76
906
  msgid "filter argument has been deprecated"
907
  msgstr ""
908
 
909
  #: includes/output-generator.php:238
910
  msgid " by "
911
  msgstr "de"
912
-
913
- #~ msgid "Contextual Related Posts"
914
- #~ msgstr "Contextual Related Posts"
915
-
916
- #~ msgid "Contextual Related Posts plugin page"
917
- #~ msgstr "Pagina modulului Contextual Related Posts"
918
-
919
- #~ msgid "Options saved successfully."
920
- #~ msgstr "Opțiuni salvate cu succes."
921
-
922
- #~ msgid "The URL above is saved in the meta field: "
923
- #~ msgstr "Adresa URL de mai sus este salvată în câmpul meta:"
924
-
925
- #~ msgid "Custom styles"
926
- #~ msgstr "Stiluri personalizate"
927
-
928
- #~ msgid "Add related posts to:"
929
- #~ msgstr "Adaugă articolele asociate la:"
930
-
931
- #~ msgid "Content filter priority:"
932
- #~ msgstr "Prioritate filtru de conținut:"
933
-
934
- #~ msgid ""
935
- #~ "A higher number will cause the content above to be processed after other "
936
- #~ "filters. Number below 10 is not recommended."
937
- #~ msgstr ""
938
- #~ "Un număr mare va determina procesarea conținutului de deasupra după alte "
939
- #~ "filtre. Nu recomandăm un numar sub 10."
940
-
941
- #~ msgid ""
942
- #~ "If unchecked, only posts titles are used. I recommend using a caching "
943
- #~ "plugin or enabling \"Cache output\" above if you enable this."
944
- #~ msgstr ""
945
- #~ "Dacă nu bifați, doar titlurile articolelor vor fi folosite. Recomandăm "
946
- #~ "utilizarea unui modul de Cache sau activarea \"Ieșirii Cache\" de mai sus "
947
- #~ "dacă alegeti să bifați aici."
948
-
949
- #~ msgid "Limit content to be compared"
950
- #~ msgstr "Limitare conținut pentru comparație"
951
-
952
- #~ msgid ""
953
- #~ "This sets the maximum words of the content that will be matched. 0 means "
954
- #~ "no limit."
955
- #~ msgstr ""
956
- #~ "Setează numărul maxim de cuvinte din conținut pentru comparare. 0 "
957
- #~ "inseamnă 'fară limită'."
958
-
959
- #~ msgid "Title of related posts: "
960
- #~ msgstr "Titlul articolelor asociate:"
961
-
962
- #~ msgid "Length of excerpt (in words): "
963
- #~ msgstr "Lungimea extrasului (în cuvinte):"
964
-
965
- #~ msgid ""
966
- #~ "Any title longer than the number of characters set above will be cut and "
967
- #~ "appended with a &helip;"
968
- #~ msgstr ""
969
- #~ "Orice titlu mai lung decât numarul de caractere setat deasupra va fi "
970
- #~ "truncheat și se va încheia cu &helip;"
971
-
972
- #~ msgid "Style attributes / Width and Height HTML attributes:"
973
- #~ msgstr "Atribute de stil / Atribute HTML de lățime și înălțime:"
974
-
975
- #~ msgid ""
976
- #~ "The value of this field should contain the image source and is set in the "
977
- #~ "<em>Add New Post</em> screen"
978
- #~ msgstr ""
979
- #~ "Valoarea acestui câmp ar trebui să conțină sursa imaginii și este setată "
980
- #~ "in ecranul de <em>Adaugare articol nou</em>"
981
-
982
- #~ msgid "Use default style included in the plugin?"
983
- #~ msgstr "Utilizați stilurile predefinite incluse în modul?"
984
-
985
- #~ msgid ""
986
- #~ "Since you're using the default styles set under the Custom Styles "
987
- #~ "section, the width and height is fixed at 150px"
988
- #~ msgstr ""
989
- #~ "Deoarece utilizați stilurile predefinite setate în secțiunea Stiluri "
990
- #~ "Personalizate, lățimea și înalțimea sunt fixe, de 150px"
5
  msgstr ""
6
  "Project-Id-Version: Contextual Related Posts\n"
7
  "Report-Msgid-Bugs-To: \n"
8
+ "POT-Creation-Date: 2015-09-27 13:33+0100\n"
9
+ "PO-Revision-Date: 2015-09-27 13:33+0100\n"
10
  "Last-Translator: Ajay D'Souza <me@ajaydsouza.com>\n"
11
+ "Language-Team: Romanian (Romania) (http://www.transifex.com/wp-translations/"
12
  "contextual-related-posts/language/ro_RO/)\n"
13
  "Language: ro_RO\n"
14
  "MIME-Version: 1.0\n"
22
  "X-Poedit-SourceCharset: UTF-8\n"
23
  "X-Poedit-SearchPath-0: .\n"
24
 
25
+ #: admin/admin.php:191
26
  msgid "Options saved successfully. If enabled, the cache has been cleared."
27
  msgstr ""
28
 
29
+ #: admin/admin.php:194
30
  msgid ""
31
  "Rounded Thumbnails style selected. Author, Excerpt and Date will not be "
32
  "displayed."
33
  msgstr ""
34
 
35
+ #: admin/admin.php:197
36
  msgid "Text Only style selected. Thumbnails will not be displayed."
37
  msgstr ""
38
 
39
+ #: admin/admin.php:200
40
  #, php-format
41
  msgid "Pre-built thumbnail size selected. Thumbnail set to %d x %d."
42
  msgstr ""
43
 
44
+ #: admin/admin.php:224
45
  msgid "Options set to Default."
46
  msgstr "Opțiuni setate ca predefinite."
47
 
48
+ #: admin/admin.php:233
49
  msgid "Index recreated"
50
  msgstr "Index recreat"
51
 
53
  msgid "Related Posts"
54
  msgstr "Articole asociate"
55
 
56
+ #: admin/cache.php:42
57
  msgid ""
58
  "An error occurred clearing the cache. Please contact your site administrator."
59
  "\\n\\nError message:\\n"
61
  "A apărut o eroare în timpul golirii cache-ului. Vă rugăm să contactați "
62
  "administratorul site-ului.\\n\\nMesaj de eroare:\\n"
63
 
64
+ #: admin/cache.php:47
65
  msgid " cached row(s) cleared"
66
  msgstr "rând(uri) cache golit(e)"
67
 
69
  msgid "Settings"
70
  msgstr "Setări"
71
 
72
+ #: admin/loader.php:46 admin/sidebar-view.php:72
73
  msgid "Support"
74
  msgstr "Asistenţă"
75
 
79
 
80
  #: admin/loader.php:48
81
  msgid "Contribute"
82
+ msgstr "Contribuie"
83
 
84
  #: admin/loader.php:64
85
  msgid "plugin settings page"
93
  msgid "List tuning options"
94
  msgstr ""
95
 
96
+ #: admin/main-view.php:34 admin/main-view.php:249
97
  msgid "Output options"
98
  msgstr "Opțiuni de afișare"
99
 
100
+ #: admin/main-view.php:35 admin/main-view.php:453
101
  #: includes/class-crp-widget.php:93
102
  msgid "Thumbnail options"
103
  msgstr "Opțiuni imagini miniatură"
104
 
105
+ #: admin/main-view.php:36 admin/main-view.php:608
106
  msgid "Styles"
107
  msgstr ""
108
 
109
+ #: admin/main-view.php:37 admin/main-view.php:686
110
  msgid "Feed options"
111
  msgstr "Opțiuni flux"
112
 
232
  "Adaugă ca ultima in listă o legatură nofollow catre pagina principală a "
233
  "Contextual Related Posts."
234
 
235
+ #: admin/main-view.php:135 admin/main-view.php:242 admin/main-view.php:446
236
+ #: admin/main-view.php:601 admin/main-view.php:679 admin/main-view.php:751
237
+ #: admin/main-view.php:767
238
  msgid "Save Options"
239
  msgstr "Salvați opțiunile"
240
 
241
+ #: admin/main-view.php:158 admin/main-view.php:704
242
  msgid "Number of related posts to display: "
243
  msgstr "Numărul de articole asociate de afișat."
244
 
302
  msgid "List of post or page IDs to exclude from the results:"
303
  msgstr "Listă de ID-uri de articol sau pagină de exclus din rezultate:"
304
 
305
+ #: admin/main-view.php:197 admin/main-view.php:377
306
  msgid ""
307
  "Comma separated list of post, page or custom post type IDs. e.g. 188,320,500"
308
  msgstr ""
323
  "utilizează autocompletare, asa că începeți să tastați numele categoriei "
324
  "dorite și vi se vor afișa opțiunile."
325
 
326
+ #: admin/main-view.php:216
327
  msgid "Excluded category IDs are:"
328
  msgstr ""
329
 
330
+ #: admin/main-view.php:222
331
+ msgid ""
332
+ "These might differ from the IDs visible in the Categories page which use the "
333
+ "<code>term_id</code>. CRP uses the <code>term_taxonomy_id</code> which is "
334
+ "unique to this taxonomy."
335
+ msgstr ""
336
+
337
+ #: admin/main-view.php:265
338
  msgid "Title of related posts:"
339
  msgstr ""
340
 
341
+ #: admin/main-view.php:268
342
  msgid ""
343
  "This is the main heading of the related posts. You can also display the "
344
  "current post title by using <code>%postname%</code>. e.g. <code>Related "
348
  "asemenea titlul articolului curent folosind <code>%postname%</code>. "
349
  "Exemplu: <code>Articole asociate cu %postname%</code>"
350
 
351
+ #: admin/main-view.php:272
352
  msgid "When there are no posts, what should be shown?"
353
  msgstr "Ce se va afișa cănd nu există articole?"
354
 
355
+ #: admin/main-view.php:276
356
  msgid "Blank Output"
357
  msgstr "Afișaj gol"
358
 
359
+ #: admin/main-view.php:281
360
  msgid "Display:"
361
  msgstr "Afișare:"
362
 
363
+ #: admin/main-view.php:287 admin/main-view.php:707
364
  msgid "Show post excerpt in list?"
365
  msgstr "Arată extrasul articolului in listă?"
366
 
367
+ #: admin/main-view.php:290
368
  #, php-format
369
  msgid ""
370
  "Displays the excerpt of the post. If you do not provide an explicit excerpt "
375
  "opțional al editorului ), va fi generat un extras automat ce va conține "
376
  "primele %d cuvinte din conținutul articolului."
377
 
378
+ #: admin/main-view.php:293
379
  msgid ""
380
  "Rounded Thumbnails style selected under the Custom Styles. Excerpt display "
381
  "is disabled."
382
  msgstr ""
383
 
384
+ #: admin/main-view.php:298
385
  msgid "Length of excerpt (in words):"
386
  msgstr ""
387
 
388
+ #: admin/main-view.php:304
389
  msgid "Show post author in list?"
390
  msgstr "Afișați autorul articolului în listă?"
391
 
392
+ #: admin/main-view.php:307
393
  msgid "Displays the author name prefixed with \"by\". e.g. by John Doe"
394
  msgstr "Afișează numele autorului cu prefixul \"de\". Exemplu: de John Doe"
395
 
396
+ #: admin/main-view.php:310
397
  msgid ""
398
  "Rounded Thumbnails style selected under the Custom Styles. Author display is "
399
  "disabled."
400
  msgstr ""
401
 
402
+ #: admin/main-view.php:315
403
  msgid "Show post date in list?"
404
  msgstr "Afișați data articolului în listă?"
405
 
406
+ #: admin/main-view.php:318
407
  msgid ""
408
  "Displays the date of the post. Uses the same date format set in General "
409
  "Options"
410
  msgstr ""
411
  "Afișează data articolului. Utilizează formatul setat in Opțiuni Generale."
412
 
413
+ #: admin/main-view.php:321
414
  msgid ""
415
  "Rounded Thumbnails style selected under the Custom Styles. Date display is "
416
  "disabled."
417
  msgstr ""
418
 
419
+ #: admin/main-view.php:326
420
  msgid "Limit post title length (in characters)"
421
  msgstr "Limita titlului articolului (în caractere)"
422
 
423
+ #: admin/main-view.php:329
424
  msgid ""
425
  "Any title longer than the number of characters set above will be cut and "
426
  "appended with an ellipsis (&hellip;)"
427
  msgstr ""
428
 
429
+ #: admin/main-view.php:333
430
  msgid "Open links in new window"
431
  msgstr "Se deschide într-o fereastră nouă"
432
 
433
+ #: admin/main-view.php:339
434
  msgid "Add nofollow attribute to links in the list"
435
  msgstr "Adaugă atribut nofollow legăturilor din listă"
436
 
437
+ #: admin/main-view.php:372
438
  msgid "Exclusion settings:"
439
  msgstr "Setări de excludere:"
440
 
441
+ #: admin/main-view.php:374
442
  msgid "Exclude display of related posts on these posts / pages"
443
  msgstr "Exclude afișarea articolelor asociate pentru aceste articole / pagini"
444
 
445
+ #: admin/main-view.php:380
446
  msgid "Exclude display of related posts on these post types."
447
  msgstr ""
448
  "Exclude afișarea articolelor asociate pentru aceste tipuri de articole."
449
 
450
+ #: admin/main-view.php:387
451
  msgid ""
452
  "The related posts will not display on any of the above selected post types"
453
  msgstr ""
454
  "Articolele asociate nu vor fi afișate pentru niciunul dintre tipurile de "
455
  "articole selectate mai sus"
456
 
457
+ #: admin/main-view.php:417
458
  msgid "Customize the output:"
459
  msgstr "Personalizați afișajul:"
460
 
461
+ #: admin/main-view.php:419
462
  msgid "HTML to display before the list of posts: "
463
  msgstr "Cod HTML de afișat înaintea listei de articole:"
464
 
465
+ #: admin/main-view.php:422
466
  msgid "HTML to display before each list item: "
467
  msgstr "Cod HTML de afișat înaintea fiecarei intrari din listă:"
468
 
469
+ #: admin/main-view.php:425
470
  msgid "HTML to display after each list item: "
471
  msgstr "Cod HTML de afișat după fiecare intrare din listă:"
472
 
473
+ #: admin/main-view.php:428
474
  msgid "HTML to display after the list of posts: "
475
  msgstr "Cod HTML de afișat după lista de articole:"
476
 
477
+ #: admin/main-view.php:469 admin/main-view.php:710
478
  msgid "Location of post thumbnail:"
479
  msgstr "Poziția imaginii miniatură:"
480
 
481
+ #: admin/main-view.php:473 admin/main-view.php:714
482
  msgid "Display thumbnails inline with posts, before title"
483
  msgstr "Afișează imagini miniatură în linie cu articolele, înaintea titlului"
484
 
485
+ #: admin/main-view.php:477 admin/main-view.php:718
486
  msgid "Display thumbnails inline with posts, after title"
487
  msgstr "Afișează imagini miniatură în linie cu articolele, după titlu"
488
 
489
+ #: admin/main-view.php:481 admin/main-view.php:722
490
  msgid "Display only thumbnails, no text"
491
  msgstr "Afișează doar imagini miniatură, fără text"
492
 
493
+ #: admin/main-view.php:485 admin/main-view.php:726
494
  msgid "Do not display thumbnails, only text."
495
  msgstr "Nu afișează imagini miniatură, doar text."
496
 
497
+ #: admin/main-view.php:488
498
  msgid ""
499
  "This setting cannot be changed because an inbuilt style has been selected "
500
  "under the Styles section. If you would like to change this option, please "
501
  "select <strong>No styles</strong> under the Styles section."
502
  msgstr ""
503
 
504
+ #: admin/main-view.php:492
505
  msgid "Thumbnail size:"
506
  msgstr ""
507
 
508
+ #: admin/main-view.php:516
509
  msgid "Custom size"
510
  msgstr ""
511
 
512
+ #: admin/main-view.php:519
513
  msgid "You can choose from existing image sizes above or create a custom size."
514
  msgstr ""
515
 
516
+ #: admin/main-view.php:520
517
  msgid ""
518
  "If you choose an existing size, then the width, height and crop mode "
519
  "settings in the three options below will be automatically updated to reflect "
520
  "the correct dimensions of the setting."
521
  msgstr ""
522
 
523
+ #: admin/main-view.php:521
524
  msgid ""
525
  "If you have chosen Custom size above, then enter the width, height and crop "
526
  "settings below. For best results, use a cropped image with the same width "
527
  "and height. The default setting is 150x150 cropped image."
528
  msgstr ""
529
 
530
+ #: admin/main-view.php:522
531
  msgid ""
532
  "Any changes to the thumbnail settings doesn't automatically resize existing "
533
  "images."
534
  msgstr ""
535
 
536
+ #: admin/main-view.php:523
537
  #, php-format
538
  msgid ""
539
  "I recommend using <a href='%s' class='thickbox'>OTF Regenerate Thumbnails</"
541
  "all image sizes."
542
  msgstr ""
543
 
544
+ #: admin/main-view.php:527
545
  msgid "Width of the thumbnail:"
546
  msgstr ""
547
 
548
+ #: admin/main-view.php:530
549
  msgid "Height of the thumbnail: "
550
  msgstr ""
551
 
552
+ #: admin/main-view.php:535
553
  msgid "Crop mode:"
554
  msgstr ""
555
 
556
+ #: admin/main-view.php:539
557
  msgid ""
558
  "By default, thumbnails will be hard cropped. Uncheck this box to "
559
  "proportionately/soft crop the thumbnails."
560
  msgstr ""
561
 
562
+ #: admin/main-view.php:540
563
  #, php-format
564
  msgid "<a href='%s' target='_blank'>Difference between soft and hard crop</a>"
565
  msgstr ""
566
 
567
+ #: admin/main-view.php:544
568
  msgid "Image size attributes:"
569
  msgstr ""
570
 
571
+ #: admin/main-view.php:548
572
  msgid "Style attributes are used for width and height."
573
  msgstr "Atributele de stil sunt folosite pentru lățime și înălțime."
574
 
575
+ #: admin/main-view.php:554
576
  msgid "HTML width and height attributes are used for width and height."
577
  msgstr ""
578
  "Atributele HTML de lătime și înălțime sunt folosite pentru lățime și "
579
  "înălțime."
580
 
581
+ #: admin/main-view.php:560
582
  msgid "No HTML or Style attributes set for width and height"
583
  msgstr ""
584
 
585
+ #: admin/main-view.php:565
586
  msgid "Post thumbnail meta field name:"
587
  msgstr "Numele câmpului meta al imaginii miniatură a articolului:"
588
 
589
+ #: admin/main-view.php:567
590
  msgid ""
591
  "The value of this field should contain a direct link to the image. This is "
592
  "set in the meta box in the <em>Add New Post</em> screen."
593
  msgstr ""
594
 
595
+ #: admin/main-view.php:570
596
  msgid "Extract the first image from the post?"
597
  msgstr "Extrageți prima imagine din articol?"
598
 
599
+ #: admin/main-view.php:572
600
  msgid ""
601
  "This will only happen if there is no post thumbnail set and no image URL is "
602
  "specified in the meta field."
604
  "Asta se va întâmpla doar daca nu exista o imagine miniatură setata și nu a "
605
  "fost specificată adresa URL a unei imagini in câmpul meta."
606
 
607
+ #: admin/main-view.php:575
608
  msgid "Use default thumbnail?"
609
  msgstr "Folosiți imaginea miniatură predefinită?"
610
 
611
+ #: admin/main-view.php:577
612
  msgid ""
613
  "If checked, when no thumbnail is found, show a default one from the URL "
614
  "below. If not checked and no thumbnail is found, no image will be shown."
617
  "adresa URL de mai jos. Daca nu bifați și nu se găsește o imagine miniatură, "
618
  "nicio imagine nu va fi afișată."
619
 
620
+ #: admin/main-view.php:580
621
  msgid "Default thumbnail:"
622
  msgstr "Imagine miniatură predefinită:"
623
 
624
+ #: admin/main-view.php:583
625
  msgid ""
626
  "The plugin will first check if the post contains a thumbnail. If it doesn't "
627
  "then it will check the meta field. If this is not available, then it will "
631
  "nu, va verifica câmpul meta. Dacă acesta nu este disponibil, va afișa "
632
  "imaginea predefinită specificată mai deasupra."
633
 
634
+ #: admin/main-view.php:624
635
  msgid "Style of the related posts:"
636
  msgstr ""
637
 
638
+ #: admin/main-view.php:627
639
  msgid "No styles"
640
  msgstr ""
641
 
642
+ #: admin/main-view.php:629
643
  msgid "Select this option if you plan to add your own styles"
644
  msgstr ""
645
 
646
+ #: admin/main-view.php:633
647
  msgid "Rounded Thumbnails"
648
  msgstr ""
649
 
650
+ #: admin/main-view.php:636
651
  msgid ""
652
  "Enabling this option will turn on the thumbnails and set their width and "
653
  "height to 150px. It will also turn off the display of the author, excerpt "
655
  "settings."
656
  msgstr ""
657
 
658
+ #: admin/main-view.php:637
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/main-view.php:641
665
  msgid "Text only"
666
  msgstr ""
667
 
668
+ #: admin/main-view.php:643
669
  msgid ""
670
  "Enabling this option will disable thumbnails and no longer include the "
671
  "default style sheet included in the plugin."
672
  msgstr ""
673
 
674
+ #: admin/main-view.php:658
675
  msgid "Custom CSS to add to header:"
676
  msgstr "Cod CSS personalizat de adăugat în header:"
677
 
678
+ #: admin/main-view.php:662
679
  msgid ""
680
  "Do not include <code>style</code> tags. Check out the <a href=\"http://"
681
  "wordpress.org/extend/plugins/contextual-related-posts/faq/\" target=\"_blank"
685
  "\"http://wordpress.org/extend/plugins/contextual-related-posts/faq/\" target="
686
  "\"_blank\">Întrebări / Răspunsuri</a> pentru clasele disponibile stilizării."
687
 
688
+ #: admin/main-view.php:702
689
  msgid ""
690
  "Below options override the related posts settings for your blog feed. These "
691
  "only apply if you have selected to add related posts to Feeds in the General "
695
  "blogului. Acestea se aplică doar dacă ați selectat adăugarea articolelor "
696
  "asociatele la Flux in sectiunea de Setări Generale."
697
 
698
+ #: admin/main-view.php:730
699
  msgid "Maximum width of the thumbnail: "
700
  msgstr "Lățimea maximă a imaginii miniatură:"
701
 
702
+ #: admin/main-view.php:733
703
  msgid "Maximum height of the thumbnail: "
704
  msgstr "Înălțimea maximăa a imaginii miniatură:"
705
 
706
+ #: admin/main-view.php:768
707
  msgid "Default Options"
708
  msgstr "Opțiuni predefinite"
709
 
710
+ #: admin/main-view.php:768
711
  msgid "Do you want to set options to Default?"
712
  msgstr "Doriți încărcarea opțiunilor predefinite?"
713
 
714
+ #: admin/main-view.php:769
715
  msgid "Recreate Index"
716
  msgstr "Recreare index"
717
 
718
+ #: admin/main-view.php:769
719
  msgid "Are you sure you want to recreate the index?"
720
  msgstr "Sunteți sigur că doriți recrearea indexului?"
721
 
722
+ #: admin/main-view.php:774
723
  msgid ""
724
  "One or more FULLTEXT indices are missing. Please hit the <a href="
725
  "\"#crp_recreate\">Recreate Index button</a> at the bottom of the page to fix "
726
  "this."
727
  msgstr ""
728
 
729
+ #: admin/metabox.php:98
730
  msgid "Location of thumbnail:"
731
  msgstr "Poziția imaginii miniatură:"
732
 
733
+ #: admin/metabox.php:100
734
  msgid ""
735
  "Enter the full URL to the image (JPG, PNG or GIF) you'd like to use. This "
736
  "image will be used for the post. It will be resized to the thumbnail size "
741
  "redimensionată la dimensiunile imaginii miniatura, setate in sectiunea "
742
  "\"Setări &raquo; Articole asociate &raquo; Opțiuni afișaj\"."
743
 
744
+ #: admin/metabox.php:101
745
  msgid "The URL above is saved in the meta field:"
746
  msgstr ""
747
 
748
+ #: admin/metabox.php:106
749
  msgid ""
750
  "You have Top 10 WordPress Plugin installed. If you are trying to modify the "
751
  "thumbnail, then you'll need to make the same change in the Top 10 meta box "
752
  "on this page."
753
  msgstr ""
754
 
755
+ #: admin/metabox.php:117
756
  msgid "Disable Related Posts display:"
757
  msgstr ""
758
 
759
+ #: admin/metabox.php:120
760
  msgid ""
761
  "If this is checked, then Contextual Related Posts will not automatically "
762
  "insert the related posts at the end of post content."
763
  msgstr ""
764
 
765
+ #: admin/metabox.php:125 admin/metabox.php:133
766
  msgid "Manual related posts:"
767
  msgstr ""
768
 
769
+ #: admin/metabox.php:127
770
  msgid ""
771
  "Comma separated list of post, page or custom post type IDs. e.g. "
772
  "188,320,500. These will be given preference over the related posts generated "
773
  "by the plugin."
774
  msgstr ""
775
 
776
+ #: admin/metabox.php:128
777
  msgid ""
778
  "Once you enter the list above and save this page, the plugin will display "
779
  "the titles of the posts below for your reference. Only IDs corresponding to "
780
  "published posts or custom post types will be retained."
781
  msgstr ""
782
 
783
+ #: admin/metabox.php:142
784
  msgid "This post type is:"
785
  msgstr ""
786
 
804
  msgid "Follow me"
805
  msgstr "Urmăriți-mă"
806
 
807
+ #: admin/sidebar-view.php:66
808
  msgid "Quick links"
809
  msgstr "Legături rapide"
810
 
811
+ #: admin/sidebar-view.php:70
812
  msgid "Plugin homepage"
813
  msgstr ""
814
 
815
+ #: admin/sidebar-view.php:71
816
  msgid "FAQ"
817
  msgstr "Întrebări/Răspunsuri"
818
 
819
+ #: admin/sidebar-view.php:73
820
  msgid "Reviews"
821
  msgstr "Recenzii"
822
 
823
+ #: admin/sidebar-view.php:74
824
  msgid "Github repository"
825
  msgstr "Depozit Github"
826
 
827
+ #: admin/sidebar-view.php:75
828
  msgid "Other plugins"
829
  msgstr "Alte module"
830
 
831
+ #: admin/sidebar-view.php:76
832
  msgid "Ajay's blog"
833
  msgstr "Blogul lui Ajay"
834
 
835
+ #: contextual-related-posts.php:232
836
  #, php-format
837
  msgid "Powered by <a href=\"%s\" rel=\"nofollow\">Contextual Related Posts</a>"
838
  msgstr ""
839
 
840
+ #: contextual-related-posts.php:710
841
  msgid "<h3>Related Posts:</h3>"
842
  msgstr "<h3>Articole asociate:</h3>"
843
 
844
+ #: contextual-related-posts.php:712
845
  msgid "No related posts found"
846
  msgstr "Nu au fost găsite articole asociate"
847
 
901
  msgid "Post types to include:"
902
  msgstr ""
903
 
904
+ #: includes/media.php:67
905
  msgid "thumb_timthumb argument has been deprecated"
906
  msgstr ""
907
 
908
+ #: includes/media.php:71
909
  msgid "thumb_timthumb_q argument has been deprecated"
910
  msgstr ""
911
 
912
+ #: includes/media.php:75
913
  msgid "filter argument has been deprecated"
914
  msgstr ""
915
 
916
  #: includes/output-generator.php:238
917
  msgid " by "
918
  msgstr "de"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
languages/{crp-ru_RU.mo → contextual-related-posts-ru_RU.mo} RENAMED
Binary file
languages/{crp-ru_RU.po → contextual-related-posts-ru_RU.po} RENAMED
@@ -2,7 +2,7 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Contextual Related Posts\n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2015-09-05 11:13+0100\n"
6
  "PO-Revision-Date: \n"
7
  "Last-Translator: Ajay D'Souza <me@ajaydsouza.com>\n"
8
  "Language-Team: me@ajaydsouza.com\n"
@@ -16,30 +16,30 @@ msgstr ""
16
  "X-Poedit-SourceCharset: UTF-8\n"
17
  "X-Poedit-SearchPath-0: .\n"
18
 
19
- #: admin/admin.php:190
20
  msgid "Options saved successfully. If enabled, the cache has been cleared."
21
  msgstr ""
22
 
23
- #: admin/admin.php:193
24
  msgid ""
25
  "Rounded Thumbnails style selected. Author, Excerpt and Date will not be "
26
  "displayed."
27
  msgstr ""
28
 
29
- #: admin/admin.php:196
30
  msgid "Text Only style selected. Thumbnails will not be displayed."
31
  msgstr ""
32
 
33
- #: admin/admin.php:199
34
  #, php-format
35
  msgid "Pre-built thumbnail size selected. Thumbnail set to %d x %d."
36
  msgstr ""
37
 
38
- #: admin/admin.php:223
39
  msgid "Options set to Default."
40
  msgstr "Опции возвращены к стандартным"
41
 
42
- #: admin/admin.php:232
43
  msgid "Index recreated"
44
  msgstr "Индекс воссоздан"
45
 
@@ -47,13 +47,13 @@ msgstr "Индекс воссоздан"
47
  msgid "Related Posts"
48
  msgstr "Похожие посты"
49
 
50
- #: admin/cache.php:44
51
  msgid ""
52
  "An error occurred clearing the cache. Please contact your site administrator."
53
  "\\n\\nError message:\\n"
54
  msgstr ""
55
 
56
- #: admin/cache.php:49
57
  msgid " cached row(s) cleared"
58
  msgstr ""
59
 
@@ -61,7 +61,7 @@ msgstr ""
61
  msgid "Settings"
62
  msgstr "Настройки"
63
 
64
- #: admin/loader.php:46 admin/sidebar-view.php:59
65
  msgid "Support"
66
  msgstr "Поддержка"
67
 
@@ -87,22 +87,22 @@ msgstr "Izejas opcijas:"
87
  msgid "List tuning options"
88
  msgstr ""
89
 
90
- #: admin/main-view.php:34 admin/main-view.php:239
91
  #, fuzzy
92
  msgid "Output options"
93
  msgstr "Izejas opcijas:"
94
 
95
- #: admin/main-view.php:35 admin/main-view.php:443
96
  #: includes/class-crp-widget.php:93
97
  #, fuzzy
98
  msgid "Thumbnail options"
99
  msgstr "sīktēlu iespējas"
100
 
101
- #: admin/main-view.php:36 admin/main-view.php:596
102
  msgid "Styles"
103
  msgstr ""
104
 
105
- #: admin/main-view.php:37 admin/main-view.php:674
106
  #, fuzzy
107
  msgid "Feed options"
108
  msgstr "Iespējas:"
@@ -231,14 +231,14 @@ msgid ""
231
  "in the list."
232
  msgstr "Контекстные похожие посты"
233
 
234
- #: admin/main-view.php:135 admin/main-view.php:232 admin/main-view.php:436
235
- #: admin/main-view.php:589 admin/main-view.php:667 admin/main-view.php:739
236
- #: admin/main-view.php:755
237
  #, fuzzy
238
  msgid "Save Options"
239
  msgstr "Saglabāt opcijas"
240
 
241
- #: admin/main-view.php:158 admin/main-view.php:692
242
  msgid "Number of related posts to display: "
243
  msgstr "Количество отображаемых похожих постов:"
244
 
@@ -302,7 +302,7 @@ msgstr ""
302
  msgid "List of post or page IDs to exclude from the results:"
303
  msgstr "Исключить рубрики:"
304
 
305
- #: admin/main-view.php:197 admin/main-view.php:367
306
  msgid ""
307
  "Comma separated list of post, page or custom post type IDs. e.g. 188,320,500"
308
  msgstr ""
@@ -319,39 +319,46 @@ msgid ""
319
  "prompt you with options."
320
  msgstr ""
321
 
322
- #: admin/main-view.php:214
323
  msgid "Excluded category IDs are:"
324
  msgstr ""
325
 
326
- #: admin/main-view.php:255
 
 
 
 
 
 
 
327
  msgid "Title of related posts:"
328
  msgstr ""
329
 
330
- #: admin/main-view.php:258
331
  msgid ""
332
  "This is the main heading of the related posts. You can also display the "
333
  "current post title by using <code>%postname%</code>. e.g. <code>Related "
334
  "Posts to %postname%</code>"
335
  msgstr ""
336
 
337
- #: admin/main-view.php:262
338
  msgid "When there are no posts, what should be shown?"
339
  msgstr "Когда нет сообщений, что должно быть показано?"
340
 
341
- #: admin/main-view.php:266
342
  msgid "Blank Output"
343
  msgstr "Пустой выход"
344
 
345
- #: admin/main-view.php:271
346
  #, fuzzy
347
  msgid "Display:"
348
  msgstr "Количество Популярных записей в списке:"
349
 
350
- #: admin/main-view.php:277 admin/main-view.php:695
351
  msgid "Show post excerpt in list?"
352
  msgstr "Показать выдержки из поста в списке?"
353
 
354
- #: admin/main-view.php:280
355
  #, php-format
356
  msgid ""
357
  "Displays the excerpt of the post. If you do not provide an explicit excerpt "
@@ -359,169 +366,169 @@ msgid ""
359
  "automatic excerpt which refers to the first %d words of the post's content"
360
  msgstr ""
361
 
362
- #: admin/main-view.php:283
363
  msgid ""
364
  "Rounded Thumbnails style selected under the Custom Styles. Excerpt display "
365
  "is disabled."
366
  msgstr ""
367
 
368
- #: admin/main-view.php:288
369
  msgid "Length of excerpt (in words):"
370
  msgstr ""
371
 
372
- #: admin/main-view.php:294
373
  #, fuzzy
374
  msgid "Show post author in list?"
375
  msgstr "Показывать текст записи в списке?"
376
 
377
- #: admin/main-view.php:297
378
  msgid "Displays the author name prefixed with \"by\". e.g. by John Doe"
379
  msgstr ""
380
 
381
- #: admin/main-view.php:300
382
  msgid ""
383
  "Rounded Thumbnails style selected under the Custom Styles. Author display is "
384
  "disabled."
385
  msgstr ""
386
 
387
- #: admin/main-view.php:305
388
  #, fuzzy
389
  msgid "Show post date in list?"
390
  msgstr "Показывать текст записи в списке?"
391
 
392
- #: admin/main-view.php:308
393
  msgid ""
394
  "Displays the date of the post. Uses the same date format set in General "
395
  "Options"
396
  msgstr ""
397
 
398
- #: admin/main-view.php:311
399
  msgid ""
400
  "Rounded Thumbnails style selected under the Custom Styles. Date display is "
401
  "disabled."
402
  msgstr ""
403
 
404
- #: admin/main-view.php:316
405
  msgid "Limit post title length (in characters)"
406
  msgstr ""
407
 
408
- #: admin/main-view.php:319
409
  msgid ""
410
  "Any title longer than the number of characters set above will be cut and "
411
  "appended with an ellipsis (&hellip;)"
412
  msgstr ""
413
 
414
- #: admin/main-view.php:323
415
  msgid "Open links in new window"
416
  msgstr ""
417
 
418
- #: admin/main-view.php:329
419
  msgid "Add nofollow attribute to links in the list"
420
  msgstr ""
421
 
422
- #: admin/main-view.php:362
423
  #, fuzzy
424
  msgid "Exclusion settings:"
425
  msgstr "spraudnis iestatījumu lapa"
426
 
427
- #: admin/main-view.php:364
428
  #, fuzzy
429
  msgid "Exclude display of related posts on these posts / pages"
430
  msgstr "Pievienot saistītus amatus barībā"
431
 
432
- #: admin/main-view.php:370
433
  #, fuzzy
434
  msgid "Exclude display of related posts on these post types."
435
  msgstr "Pievienot saistītus amatus barībā"
436
 
437
- #: admin/main-view.php:377
438
  msgid ""
439
  "The related posts will not display on any of the above selected post types"
440
  msgstr ""
441
 
442
- #: admin/main-view.php:407
443
  msgid "Customize the output:"
444
  msgstr "Настройки выхода:"
445
 
446
- #: admin/main-view.php:409
447
  msgid "HTML to display before the list of posts: "
448
  msgstr "HTML для показа перед списком сообщений: "
449
 
450
- #: admin/main-view.php:412
451
  msgid "HTML to display before each list item: "
452
  msgstr "HTML для показа перед каждым элементом списка: "
453
 
454
- #: admin/main-view.php:415
455
  msgid "HTML to display after each list item: "
456
  msgstr "HTML для отображения после каждого элемента списка: "
457
 
458
- #: admin/main-view.php:418
459
  msgid "HTML to display after the list of posts: "
460
  msgstr "HTML для отображения после списка сообщений: "
461
 
462
- #: admin/main-view.php:459 admin/main-view.php:698
463
  #, fuzzy
464
  msgid "Location of post thumbnail:"
465
  msgstr "Настройки превью к записям:"
466
 
467
- #: admin/main-view.php:463 admin/main-view.php:702
468
  #, fuzzy
469
  msgid "Display thumbnails inline with posts, before title"
470
  msgstr "Отображать превью к записи сразу перед заголовком"
471
 
472
- #: admin/main-view.php:467 admin/main-view.php:706
473
  #, fuzzy
474
  msgid "Display thumbnails inline with posts, after title"
475
  msgstr "Отображать превью к записи сразу после заголовка"
476
 
477
- #: admin/main-view.php:471 admin/main-view.php:710
478
  msgid "Display only thumbnails, no text"
479
  msgstr "Показывать только изображения, без текста"
480
 
481
- #: admin/main-view.php:475 admin/main-view.php:714
482
  msgid "Do not display thumbnails, only text."
483
  msgstr "Не показывать изображения, только текст"
484
 
485
- #: admin/main-view.php:478
486
  msgid ""
487
  "This setting cannot be changed because an inbuilt style has been selected "
488
  "under the Styles section. If you would like to change this option, please "
489
  "select <strong>No styles</strong> under the Styles section."
490
  msgstr ""
491
 
492
- #: admin/main-view.php:482
493
  msgid "Thumbnail size:"
494
  msgstr ""
495
 
496
- #: admin/main-view.php:506
497
  msgid "Custom size"
498
  msgstr ""
499
 
500
- #: admin/main-view.php:509
501
  msgid "You can choose from existing image sizes above or create a custom size."
502
  msgstr ""
503
 
504
- #: admin/main-view.php:510
505
  msgid ""
506
  "If you choose an existing size, then the width, height and crop mode "
507
  "settings in the three options below will be automatically updated to reflect "
508
  "the correct dimensions of the setting."
509
  msgstr ""
510
 
511
- #: admin/main-view.php:511
512
  msgid ""
513
  "If you have chosen Custom size above, then enter the width, height and crop "
514
  "settings below. For best results, use a cropped image with the same width "
515
  "and height. The default setting is 150x150 cropped image."
516
  msgstr ""
517
 
518
- #: admin/main-view.php:512
519
  msgid ""
520
  "Any changes to the thumbnail settings doesn't automatically resize existing "
521
  "images."
522
  msgstr ""
523
 
524
- #: admin/main-view.php:513
525
  #, php-format
526
  msgid ""
527
  "I recommend using <a href='%s' class='thickbox'>OTF Regenerate Thumbnails</"
@@ -529,71 +536,71 @@ msgid ""
529
  "all image sizes."
530
  msgstr ""
531
 
532
- #: admin/main-view.php:517
533
  msgid "Width of the thumbnail:"
534
  msgstr ""
535
 
536
- #: admin/main-view.php:520
537
  msgid "Height of the thumbnail: "
538
  msgstr ""
539
 
540
- #: admin/main-view.php:525
541
  msgid "Crop mode:"
542
  msgstr ""
543
 
544
- #: admin/main-view.php:529
545
  msgid ""
546
  "By default, thumbnails will be hard cropped. Uncheck this box to "
547
  "proportionately/soft crop the thumbnails."
548
  msgstr ""
549
 
550
- #: admin/main-view.php:530
551
  #, php-format
552
  msgid "<a href='%s' target='_blank'>Difference between soft and hard crop</a>"
553
  msgstr ""
554
 
555
- #: admin/main-view.php:534
556
  msgid "Image size attributes:"
557
  msgstr ""
558
 
559
- #: admin/main-view.php:538
560
  msgid "Style attributes are used for width and height."
561
  msgstr ""
562
 
563
- #: admin/main-view.php:543
564
  msgid "HTML width and height attributes are used for width and height."
565
  msgstr ""
566
 
567
- #: admin/main-view.php:548
568
  msgid "No HTML or Style attributes set for width and height"
569
  msgstr ""
570
 
571
- #: admin/main-view.php:553
572
  #, fuzzy
573
  msgid "Post thumbnail meta field name:"
574
  msgstr "Attēlu rīki post:"
575
 
576
- #: admin/main-view.php:555
577
  msgid ""
578
  "The value of this field should contain a direct link to the image. This is "
579
  "set in the meta box in the <em>Add New Post</em> screen."
580
  msgstr ""
581
 
582
- #: admin/main-view.php:558
583
  msgid "Extract the first image from the post?"
584
  msgstr ""
585
 
586
- #: admin/main-view.php:560
587
  msgid ""
588
  "This will only happen if there is no post thumbnail set and no image URL is "
589
  "specified in the meta field."
590
  msgstr ""
591
 
592
- #: admin/main-view.php:563
593
  msgid "Use default thumbnail?"
594
  msgstr ""
595
 
596
- #: admin/main-view.php:565
597
  #, fuzzy
598
  msgid ""
599
  "If checked, when no thumbnail is found, show a default one from the URL "
@@ -603,12 +610,12 @@ msgstr ""
603
  "добавлено стандартное изображение. Если превью задано к записи - будет "
604
  "отображаться только оно."
605
 
606
- #: admin/main-view.php:568
607
  #, fuzzy
608
  msgid "Default thumbnail:"
609
  msgstr "noklusējuma opcijas"
610
 
611
- #: admin/main-view.php:571
612
  #, fuzzy
613
  msgid ""
614
  "The plugin will first check if the post contains a thumbnail. If it doesn't "
@@ -619,23 +626,23 @@ msgstr ""
619
  "būs pārbaudīt meta laukā. Ja šāda informācija nav pieejama, tad tas rādīs "
620
  "noklusējuma attēlu, kā minēts iepriekš"
621
 
622
- #: admin/main-view.php:612
623
  msgid "Style of the related posts:"
624
  msgstr ""
625
 
626
- #: admin/main-view.php:615
627
  msgid "No styles"
628
  msgstr ""
629
 
630
- #: admin/main-view.php:617
631
  msgid "Select this option if you plan to add your own styles"
632
  msgstr ""
633
 
634
- #: admin/main-view.php:621
635
  msgid "Rounded Thumbnails"
636
  msgstr ""
637
 
638
- #: admin/main-view.php:624
639
  msgid ""
640
  "Enabling this option will turn on the thumbnails and set their width and "
641
  "height to 150px. It will also turn off the display of the author, excerpt "
@@ -643,127 +650,127 @@ msgid ""
643
  "settings."
644
  msgstr ""
645
 
646
- #: admin/main-view.php:625
647
  #, php-format
648
  msgid ""
649
  "You can view the default style at <a href=\"%1$s\" target=\"_blank\">%1$s</a>"
650
  msgstr ""
651
 
652
- #: admin/main-view.php:629
653
  msgid "Text only"
654
  msgstr ""
655
 
656
- #: admin/main-view.php:631
657
  msgid ""
658
  "Enabling this option will disable thumbnails and no longer include the "
659
  "default style sheet included in the plugin."
660
  msgstr ""
661
 
662
- #: admin/main-view.php:646
663
  msgid "Custom CSS to add to header:"
664
  msgstr ""
665
 
666
- #: admin/main-view.php:650
667
  msgid ""
668
  "Do not include <code>style</code> tags. Check out the <a href=\"http://"
669
  "wordpress.org/extend/plugins/contextual-related-posts/faq/\" target=\"_blank"
670
  "\">FAQ</a> for available CSS classes to style."
671
  msgstr ""
672
 
673
- #: admin/main-view.php:690
674
  msgid ""
675
  "Below options override the related posts settings for your blog feed. These "
676
  "only apply if you have selected to add related posts to Feeds in the General "
677
  "Options tab."
678
  msgstr ""
679
 
680
- #: admin/main-view.php:718
681
  #, fuzzy
682
  msgid "Maximum width of the thumbnail: "
683
  msgstr "Thumbnail platums"
684
 
685
- #: admin/main-view.php:721
686
  #, fuzzy
687
  msgid "Maximum height of the thumbnail: "
688
  msgstr "sīktēls augstums"
689
 
690
- #: admin/main-view.php:756
691
  #, fuzzy
692
  msgid "Default Options"
693
  msgstr "noklusējuma opcijas"
694
 
695
- #: admin/main-view.php:756
696
  msgid "Do you want to set options to Default?"
697
  msgstr "Вы хотите задать параметры по умолчанию?"
698
 
699
- #: admin/main-view.php:757
700
  #, fuzzy
701
  msgid "Recreate Index"
702
  msgstr "Vai jūs tiešām vēlaties, lai atjaunotu indeksu?"
703
 
704
- #: admin/main-view.php:757
705
  msgid "Are you sure you want to recreate the index?"
706
  msgstr "Вы уверены, что хотите воссоздать индекс?"
707
 
708
- #: admin/main-view.php:762
709
  msgid ""
710
  "One or more FULLTEXT indices are missing. Please hit the <a href="
711
  "\"#crp_recreate\">Recreate Index button</a> at the bottom of the page to fix "
712
  "this."
713
  msgstr ""
714
 
715
- #: admin/metabox.php:100
716
  #, fuzzy
717
  msgid "Location of thumbnail:"
718
  msgstr "Настройки превью к записям:"
719
 
720
- #: admin/metabox.php:102
721
  msgid ""
722
  "Enter the full URL to the image (JPG, PNG or GIF) you'd like to use. This "
723
  "image will be used for the post. It will be resized to the thumbnail size "
724
  "set under Settings &raquo; Related Posts &raquo; Output Options"
725
  msgstr ""
726
 
727
- #: admin/metabox.php:103
728
  msgid "The URL above is saved in the meta field:"
729
  msgstr ""
730
 
731
- #: admin/metabox.php:108
732
  msgid ""
733
  "You have Top 10 WordPress Plugin installed. If you are trying to modify the "
734
  "thumbnail, then you'll need to make the same change in the Top 10 meta box "
735
  "on this page."
736
  msgstr ""
737
 
738
- #: admin/metabox.php:119
739
  msgid "Disable Related Posts display:"
740
  msgstr ""
741
 
742
- #: admin/metabox.php:122
743
  msgid ""
744
  "If this is checked, then Contextual Related Posts will not automatically "
745
  "insert the related posts at the end of post content."
746
  msgstr ""
747
 
748
- #: admin/metabox.php:127 admin/metabox.php:135
749
  msgid "Manual related posts:"
750
  msgstr ""
751
 
752
- #: admin/metabox.php:129
753
  msgid ""
754
  "Comma separated list of post, page or custom post type IDs. e.g. "
755
  "188,320,500. These will be given preference over the related posts generated "
756
  "by the plugin."
757
  msgstr ""
758
 
759
- #: admin/metabox.php:130
760
  msgid ""
761
  "Once you enter the list above and save this page, the plugin will display "
762
  "the titles of the posts below for your reference. Only IDs corresponding to "
763
  "published posts or custom post types will be retained."
764
  msgstr ""
765
 
766
- #: admin/metabox.php:144
767
  msgid "This post type is:"
768
  msgstr ""
769
 
@@ -789,45 +796,45 @@ msgstr "Отправить пожертвование автору"
789
  msgid "Follow me"
790
  msgstr ""
791
 
792
- #: admin/sidebar-view.php:53
793
  #, fuzzy
794
  msgid "Quick links"
795
  msgstr "Быстрые ссылки"
796
 
797
- #: admin/sidebar-view.php:57
798
  msgid "Plugin homepage"
799
  msgstr ""
800
 
801
- #: admin/sidebar-view.php:58
802
  msgid "FAQ"
803
  msgstr ""
804
 
805
- #: admin/sidebar-view.php:60
806
  msgid "Reviews"
807
  msgstr ""
808
 
809
- #: admin/sidebar-view.php:61
810
  msgid "Github repository"
811
  msgstr ""
812
 
813
- #: admin/sidebar-view.php:62
814
  msgid "Other plugins"
815
  msgstr "Другие плагины"
816
 
817
- #: admin/sidebar-view.php:63
818
  msgid "Ajay's blog"
819
  msgstr "Блог автора (Ajay, английский язык)"
820
 
821
- #: contextual-related-posts.php:178
822
  #, php-format
823
  msgid "Powered by <a href=\"%s\" rel=\"nofollow\">Contextual Related Posts</a>"
824
  msgstr ""
825
 
826
- #: contextual-related-posts.php:659
827
  msgid "<h3>Related Posts:</h3>"
828
  msgstr "<h3>Похожие посты:</h3>"
829
 
830
- #: contextual-related-posts.php:661
831
  #, fuzzy
832
  msgid "No related posts found"
833
  msgstr "Nr saistītus amatus atrasts"
@@ -901,15 +908,15 @@ msgstr "Thumbnail platums"
901
  msgid "Post types to include:"
902
  msgstr ""
903
 
904
- #: includes/media-handler.php:68
905
  msgid "thumb_timthumb argument has been deprecated"
906
  msgstr ""
907
 
908
- #: includes/media-handler.php:72
909
  msgid "thumb_timthumb_q argument has been deprecated"
910
  msgstr ""
911
 
912
- #: includes/media-handler.php:76
913
  msgid "filter argument has been deprecated"
914
  msgstr ""
915
 
2
  msgstr ""
3
  "Project-Id-Version: Contextual Related Posts\n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2015-09-27 13:33+0100\n"
6
  "PO-Revision-Date: \n"
7
  "Last-Translator: Ajay D'Souza <me@ajaydsouza.com>\n"
8
  "Language-Team: me@ajaydsouza.com\n"
16
  "X-Poedit-SourceCharset: UTF-8\n"
17
  "X-Poedit-SearchPath-0: .\n"
18
 
19
+ #: admin/admin.php:191
20
  msgid "Options saved successfully. If enabled, the cache has been cleared."
21
  msgstr ""
22
 
23
+ #: admin/admin.php:194
24
  msgid ""
25
  "Rounded Thumbnails style selected. Author, Excerpt and Date will not be "
26
  "displayed."
27
  msgstr ""
28
 
29
+ #: admin/admin.php:197
30
  msgid "Text Only style selected. Thumbnails will not be displayed."
31
  msgstr ""
32
 
33
+ #: admin/admin.php:200
34
  #, php-format
35
  msgid "Pre-built thumbnail size selected. Thumbnail set to %d x %d."
36
  msgstr ""
37
 
38
+ #: admin/admin.php:224
39
  msgid "Options set to Default."
40
  msgstr "Опции возвращены к стандартным"
41
 
42
+ #: admin/admin.php:233
43
  msgid "Index recreated"
44
  msgstr "Индекс воссоздан"
45
 
47
  msgid "Related Posts"
48
  msgstr "Похожие посты"
49
 
50
+ #: admin/cache.php:42
51
  msgid ""
52
  "An error occurred clearing the cache. Please contact your site administrator."
53
  "\\n\\nError message:\\n"
54
  msgstr ""
55
 
56
+ #: admin/cache.php:47
57
  msgid " cached row(s) cleared"
58
  msgstr ""
59
 
61
  msgid "Settings"
62
  msgstr "Настройки"
63
 
64
+ #: admin/loader.php:46 admin/sidebar-view.php:72
65
  msgid "Support"
66
  msgstr "Поддержка"
67
 
87
  msgid "List tuning options"
88
  msgstr ""
89
 
90
+ #: admin/main-view.php:34 admin/main-view.php:249
91
  #, fuzzy
92
  msgid "Output options"
93
  msgstr "Izejas opcijas:"
94
 
95
+ #: admin/main-view.php:35 admin/main-view.php:453
96
  #: includes/class-crp-widget.php:93
97
  #, fuzzy
98
  msgid "Thumbnail options"
99
  msgstr "sīktēlu iespējas"
100
 
101
+ #: admin/main-view.php:36 admin/main-view.php:608
102
  msgid "Styles"
103
  msgstr ""
104
 
105
+ #: admin/main-view.php:37 admin/main-view.php:686
106
  #, fuzzy
107
  msgid "Feed options"
108
  msgstr "Iespējas:"
231
  "in the list."
232
  msgstr "Контекстные похожие посты"
233
 
234
+ #: admin/main-view.php:135 admin/main-view.php:242 admin/main-view.php:446
235
+ #: admin/main-view.php:601 admin/main-view.php:679 admin/main-view.php:751
236
+ #: admin/main-view.php:767
237
  #, fuzzy
238
  msgid "Save Options"
239
  msgstr "Saglabāt opcijas"
240
 
241
+ #: admin/main-view.php:158 admin/main-view.php:704
242
  msgid "Number of related posts to display: "
243
  msgstr "Количество отображаемых похожих постов:"
244
 
302
  msgid "List of post or page IDs to exclude from the results:"
303
  msgstr "Исключить рубрики:"
304
 
305
+ #: admin/main-view.php:197 admin/main-view.php:377
306
  msgid ""
307
  "Comma separated list of post, page or custom post type IDs. e.g. 188,320,500"
308
  msgstr ""
319
  "prompt you with options."
320
  msgstr ""
321
 
322
+ #: admin/main-view.php:216
323
  msgid "Excluded category IDs are:"
324
  msgstr ""
325
 
326
+ #: admin/main-view.php:222
327
+ msgid ""
328
+ "These might differ from the IDs visible in the Categories page which use the "
329
+ "<code>term_id</code>. CRP uses the <code>term_taxonomy_id</code> which is "
330
+ "unique to this taxonomy."
331
+ msgstr ""
332
+
333
+ #: admin/main-view.php:265
334
  msgid "Title of related posts:"
335
  msgstr ""
336
 
337
+ #: admin/main-view.php:268
338
  msgid ""
339
  "This is the main heading of the related posts. You can also display the "
340
  "current post title by using <code>%postname%</code>. e.g. <code>Related "
341
  "Posts to %postname%</code>"
342
  msgstr ""
343
 
344
+ #: admin/main-view.php:272
345
  msgid "When there are no posts, what should be shown?"
346
  msgstr "Когда нет сообщений, что должно быть показано?"
347
 
348
+ #: admin/main-view.php:276
349
  msgid "Blank Output"
350
  msgstr "Пустой выход"
351
 
352
+ #: admin/main-view.php:281
353
  #, fuzzy
354
  msgid "Display:"
355
  msgstr "Количество Популярных записей в списке:"
356
 
357
+ #: admin/main-view.php:287 admin/main-view.php:707
358
  msgid "Show post excerpt in list?"
359
  msgstr "Показать выдержки из поста в списке?"
360
 
361
+ #: admin/main-view.php:290
362
  #, php-format
363
  msgid ""
364
  "Displays the excerpt of the post. If you do not provide an explicit excerpt "
366
  "automatic excerpt which refers to the first %d words of the post's content"
367
  msgstr ""
368
 
369
+ #: admin/main-view.php:293
370
  msgid ""
371
  "Rounded Thumbnails style selected under the Custom Styles. Excerpt display "
372
  "is disabled."
373
  msgstr ""
374
 
375
+ #: admin/main-view.php:298
376
  msgid "Length of excerpt (in words):"
377
  msgstr ""
378
 
379
+ #: admin/main-view.php:304
380
  #, fuzzy
381
  msgid "Show post author in list?"
382
  msgstr "Показывать текст записи в списке?"
383
 
384
+ #: admin/main-view.php:307
385
  msgid "Displays the author name prefixed with \"by\". e.g. by John Doe"
386
  msgstr ""
387
 
388
+ #: admin/main-view.php:310
389
  msgid ""
390
  "Rounded Thumbnails style selected under the Custom Styles. Author display is "
391
  "disabled."
392
  msgstr ""
393
 
394
+ #: admin/main-view.php:315
395
  #, fuzzy
396
  msgid "Show post date in list?"
397
  msgstr "Показывать текст записи в списке?"
398
 
399
+ #: admin/main-view.php:318
400
  msgid ""
401
  "Displays the date of the post. Uses the same date format set in General "
402
  "Options"
403
  msgstr ""
404
 
405
+ #: admin/main-view.php:321
406
  msgid ""
407
  "Rounded Thumbnails style selected under the Custom Styles. Date display is "
408
  "disabled."
409
  msgstr ""
410
 
411
+ #: admin/main-view.php:326
412
  msgid "Limit post title length (in characters)"
413
  msgstr ""
414
 
415
+ #: admin/main-view.php:329
416
  msgid ""
417
  "Any title longer than the number of characters set above will be cut and "
418
  "appended with an ellipsis (&hellip;)"
419
  msgstr ""
420
 
421
+ #: admin/main-view.php:333
422
  msgid "Open links in new window"
423
  msgstr ""
424
 
425
+ #: admin/main-view.php:339
426
  msgid "Add nofollow attribute to links in the list"
427
  msgstr ""
428
 
429
+ #: admin/main-view.php:372
430
  #, fuzzy
431
  msgid "Exclusion settings:"
432
  msgstr "spraudnis iestatījumu lapa"
433
 
434
+ #: admin/main-view.php:374
435
  #, fuzzy
436
  msgid "Exclude display of related posts on these posts / pages"
437
  msgstr "Pievienot saistītus amatus barībā"
438
 
439
+ #: admin/main-view.php:380
440
  #, fuzzy
441
  msgid "Exclude display of related posts on these post types."
442
  msgstr "Pievienot saistītus amatus barībā"
443
 
444
+ #: admin/main-view.php:387
445
  msgid ""
446
  "The related posts will not display on any of the above selected post types"
447
  msgstr ""
448
 
449
+ #: admin/main-view.php:417
450
  msgid "Customize the output:"
451
  msgstr "Настройки выхода:"
452
 
453
+ #: admin/main-view.php:419
454
  msgid "HTML to display before the list of posts: "
455
  msgstr "HTML для показа перед списком сообщений: "
456
 
457
+ #: admin/main-view.php:422
458
  msgid "HTML to display before each list item: "
459
  msgstr "HTML для показа перед каждым элементом списка: "
460
 
461
+ #: admin/main-view.php:425
462
  msgid "HTML to display after each list item: "
463
  msgstr "HTML для отображения после каждого элемента списка: "
464
 
465
+ #: admin/main-view.php:428
466
  msgid "HTML to display after the list of posts: "
467
  msgstr "HTML для отображения после списка сообщений: "
468
 
469
+ #: admin/main-view.php:469 admin/main-view.php:710
470
  #, fuzzy
471
  msgid "Location of post thumbnail:"
472
  msgstr "Настройки превью к записям:"
473
 
474
+ #: admin/main-view.php:473 admin/main-view.php:714
475
  #, fuzzy
476
  msgid "Display thumbnails inline with posts, before title"
477
  msgstr "Отображать превью к записи сразу перед заголовком"
478
 
479
+ #: admin/main-view.php:477 admin/main-view.php:718
480
  #, fuzzy
481
  msgid "Display thumbnails inline with posts, after title"
482
  msgstr "Отображать превью к записи сразу после заголовка"
483
 
484
+ #: admin/main-view.php:481 admin/main-view.php:722
485
  msgid "Display only thumbnails, no text"
486
  msgstr "Показывать только изображения, без текста"
487
 
488
+ #: admin/main-view.php:485 admin/main-view.php:726
489
  msgid "Do not display thumbnails, only text."
490
  msgstr "Не показывать изображения, только текст"
491
 
492
+ #: admin/main-view.php:488
493
  msgid ""
494
  "This setting cannot be changed because an inbuilt style has been selected "
495
  "under the Styles section. If you would like to change this option, please "
496
  "select <strong>No styles</strong> under the Styles section."
497
  msgstr ""
498
 
499
+ #: admin/main-view.php:492
500
  msgid "Thumbnail size:"
501
  msgstr ""
502
 
503
+ #: admin/main-view.php:516
504
  msgid "Custom size"
505
  msgstr ""
506
 
507
+ #: admin/main-view.php:519
508
  msgid "You can choose from existing image sizes above or create a custom size."
509
  msgstr ""
510
 
511
+ #: admin/main-view.php:520
512
  msgid ""
513
  "If you choose an existing size, then the width, height and crop mode "
514
  "settings in the three options below will be automatically updated to reflect "
515
  "the correct dimensions of the setting."
516
  msgstr ""
517
 
518
+ #: admin/main-view.php:521
519
  msgid ""
520
  "If you have chosen Custom size above, then enter the width, height and crop "
521
  "settings below. For best results, use a cropped image with the same width "
522
  "and height. The default setting is 150x150 cropped image."
523
  msgstr ""
524
 
525
+ #: admin/main-view.php:522
526
  msgid ""
527
  "Any changes to the thumbnail settings doesn't automatically resize existing "
528
  "images."
529
  msgstr ""
530
 
531
+ #: admin/main-view.php:523
532
  #, php-format
533
  msgid ""
534
  "I recommend using <a href='%s' class='thickbox'>OTF Regenerate Thumbnails</"
536
  "all image sizes."
537
  msgstr ""
538
 
539
+ #: admin/main-view.php:527
540
  msgid "Width of the thumbnail:"
541
  msgstr ""
542
 
543
+ #: admin/main-view.php:530
544
  msgid "Height of the thumbnail: "
545
  msgstr ""
546
 
547
+ #: admin/main-view.php:535
548
  msgid "Crop mode:"
549
  msgstr ""
550
 
551
+ #: admin/main-view.php:539
552
  msgid ""
553
  "By default, thumbnails will be hard cropped. Uncheck this box to "
554
  "proportionately/soft crop the thumbnails."
555
  msgstr ""
556
 
557
+ #: admin/main-view.php:540
558
  #, php-format
559
  msgid "<a href='%s' target='_blank'>Difference between soft and hard crop</a>"
560
  msgstr ""
561
 
562
+ #: admin/main-view.php:544
563
  msgid "Image size attributes:"
564
  msgstr ""
565
 
566
+ #: admin/main-view.php:548
567
  msgid "Style attributes are used for width and height."
568
  msgstr ""
569
 
570
+ #: admin/main-view.php:554
571
  msgid "HTML width and height attributes are used for width and height."
572
  msgstr ""
573
 
574
+ #: admin/main-view.php:560
575
  msgid "No HTML or Style attributes set for width and height"
576
  msgstr ""
577
 
578
+ #: admin/main-view.php:565
579
  #, fuzzy
580
  msgid "Post thumbnail meta field name:"
581
  msgstr "Attēlu rīki post:"
582
 
583
+ #: admin/main-view.php:567
584
  msgid ""
585
  "The value of this field should contain a direct link to the image. This is "
586
  "set in the meta box in the <em>Add New Post</em> screen."
587
  msgstr ""
588
 
589
+ #: admin/main-view.php:570
590
  msgid "Extract the first image from the post?"
591
  msgstr ""
592
 
593
+ #: admin/main-view.php:572
594
  msgid ""
595
  "This will only happen if there is no post thumbnail set and no image URL is "
596
  "specified in the meta field."
597
  msgstr ""
598
 
599
+ #: admin/main-view.php:575
600
  msgid "Use default thumbnail?"
601
  msgstr ""
602
 
603
+ #: admin/main-view.php:577
604
  #, fuzzy
605
  msgid ""
606
  "If checked, when no thumbnail is found, show a default one from the URL "
610
  "добавлено стандартное изображение. Если превью задано к записи - будет "
611
  "отображаться только оно."
612
 
613
+ #: admin/main-view.php:580
614
  #, fuzzy
615
  msgid "Default thumbnail:"
616
  msgstr "noklusējuma opcijas"
617
 
618
+ #: admin/main-view.php:583
619
  #, fuzzy
620
  msgid ""
621
  "The plugin will first check if the post contains a thumbnail. If it doesn't "
626
  "būs pārbaudīt meta laukā. Ja šāda informācija nav pieejama, tad tas rādīs "
627
  "noklusējuma attēlu, kā minēts iepriekš"
628
 
629
+ #: admin/main-view.php:624
630
  msgid "Style of the related posts:"
631
  msgstr ""
632
 
633
+ #: admin/main-view.php:627
634
  msgid "No styles"
635
  msgstr ""
636
 
637
+ #: admin/main-view.php:629
638
  msgid "Select this option if you plan to add your own styles"
639
  msgstr ""
640
 
641
+ #: admin/main-view.php:633
642
  msgid "Rounded Thumbnails"
643
  msgstr ""
644
 
645
+ #: admin/main-view.php:636
646
  msgid ""
647
  "Enabling this option will turn on the thumbnails and set their width and "
648
  "height to 150px. It will also turn off the display of the author, excerpt "
650
  "settings."
651
  msgstr ""
652
 
653
+ #: admin/main-view.php:637
654
  #, php-format
655
  msgid ""
656
  "You can view the default style at <a href=\"%1$s\" target=\"_blank\">%1$s</a>"
657
  msgstr ""
658
 
659
+ #: admin/main-view.php:641
660
  msgid "Text only"
661
  msgstr ""
662
 
663
+ #: admin/main-view.php:643
664
  msgid ""
665
  "Enabling this option will disable thumbnails and no longer include the "
666
  "default style sheet included in the plugin."
667
  msgstr ""
668
 
669
+ #: admin/main-view.php:658
670
  msgid "Custom CSS to add to header:"
671
  msgstr ""
672
 
673
+ #: admin/main-view.php:662
674
  msgid ""
675
  "Do not include <code>style</code> tags. Check out the <a href=\"http://"
676
  "wordpress.org/extend/plugins/contextual-related-posts/faq/\" target=\"_blank"
677
  "\">FAQ</a> for available CSS classes to style."
678
  msgstr ""
679
 
680
+ #: admin/main-view.php:702
681
  msgid ""
682
  "Below options override the related posts settings for your blog feed. These "
683
  "only apply if you have selected to add related posts to Feeds in the General "
684
  "Options tab."
685
  msgstr ""
686
 
687
+ #: admin/main-view.php:730
688
  #, fuzzy
689
  msgid "Maximum width of the thumbnail: "
690
  msgstr "Thumbnail platums"
691
 
692
+ #: admin/main-view.php:733
693
  #, fuzzy
694
  msgid "Maximum height of the thumbnail: "
695
  msgstr "sīktēls augstums"
696
 
697
+ #: admin/main-view.php:768
698
  #, fuzzy
699
  msgid "Default Options"
700
  msgstr "noklusējuma opcijas"
701
 
702
+ #: admin/main-view.php:768
703
  msgid "Do you want to set options to Default?"
704
  msgstr "Вы хотите задать параметры по умолчанию?"
705
 
706
+ #: admin/main-view.php:769
707
  #, fuzzy
708
  msgid "Recreate Index"
709
  msgstr "Vai jūs tiešām vēlaties, lai atjaunotu indeksu?"
710
 
711
+ #: admin/main-view.php:769
712
  msgid "Are you sure you want to recreate the index?"
713
  msgstr "Вы уверены, что хотите воссоздать индекс?"
714
 
715
+ #: admin/main-view.php:774
716
  msgid ""
717
  "One or more FULLTEXT indices are missing. Please hit the <a href="
718
  "\"#crp_recreate\">Recreate Index button</a> at the bottom of the page to fix "
719
  "this."
720
  msgstr ""
721
 
722
+ #: admin/metabox.php:98
723
  #, fuzzy
724
  msgid "Location of thumbnail:"
725
  msgstr "Настройки превью к записям:"
726
 
727
+ #: admin/metabox.php:100
728
  msgid ""
729
  "Enter the full URL to the image (JPG, PNG or GIF) you'd like to use. This "
730
  "image will be used for the post. It will be resized to the thumbnail size "
731
  "set under Settings &raquo; Related Posts &raquo; Output Options"
732
  msgstr ""
733
 
734
+ #: admin/metabox.php:101
735
  msgid "The URL above is saved in the meta field:"
736
  msgstr ""
737
 
738
+ #: admin/metabox.php:106
739
  msgid ""
740
  "You have Top 10 WordPress Plugin installed. If you are trying to modify the "
741
  "thumbnail, then you'll need to make the same change in the Top 10 meta box "
742
  "on this page."
743
  msgstr ""
744
 
745
+ #: admin/metabox.php:117
746
  msgid "Disable Related Posts display:"
747
  msgstr ""
748
 
749
+ #: admin/metabox.php:120
750
  msgid ""
751
  "If this is checked, then Contextual Related Posts will not automatically "
752
  "insert the related posts at the end of post content."
753
  msgstr ""
754
 
755
+ #: admin/metabox.php:125 admin/metabox.php:133
756
  msgid "Manual related posts:"
757
  msgstr ""
758
 
759
+ #: admin/metabox.php:127
760
  msgid ""
761
  "Comma separated list of post, page or custom post type IDs. e.g. "
762
  "188,320,500. These will be given preference over the related posts generated "
763
  "by the plugin."
764
  msgstr ""
765
 
766
+ #: admin/metabox.php:128
767
  msgid ""
768
  "Once you enter the list above and save this page, the plugin will display "
769
  "the titles of the posts below for your reference. Only IDs corresponding to "
770
  "published posts or custom post types will be retained."
771
  msgstr ""
772
 
773
+ #: admin/metabox.php:142
774
  msgid "This post type is:"
775
  msgstr ""
776
 
796
  msgid "Follow me"
797
  msgstr ""
798
 
799
+ #: admin/sidebar-view.php:66
800
  #, fuzzy
801
  msgid "Quick links"
802
  msgstr "Быстрые ссылки"
803
 
804
+ #: admin/sidebar-view.php:70
805
  msgid "Plugin homepage"
806
  msgstr ""
807
 
808
+ #: admin/sidebar-view.php:71
809
  msgid "FAQ"
810
  msgstr ""
811
 
812
+ #: admin/sidebar-view.php:73
813
  msgid "Reviews"
814
  msgstr ""
815
 
816
+ #: admin/sidebar-view.php:74
817
  msgid "Github repository"
818
  msgstr ""
819
 
820
+ #: admin/sidebar-view.php:75
821
  msgid "Other plugins"
822
  msgstr "Другие плагины"
823
 
824
+ #: admin/sidebar-view.php:76
825
  msgid "Ajay's blog"
826
  msgstr "Блог автора (Ajay, английский язык)"
827
 
828
+ #: contextual-related-posts.php:232
829
  #, php-format
830
  msgid "Powered by <a href=\"%s\" rel=\"nofollow\">Contextual Related Posts</a>"
831
  msgstr ""
832
 
833
+ #: contextual-related-posts.php:710
834
  msgid "<h3>Related Posts:</h3>"
835
  msgstr "<h3>Похожие посты:</h3>"
836
 
837
+ #: contextual-related-posts.php:712
838
  #, fuzzy
839
  msgid "No related posts found"
840
  msgstr "Nr saistītus amatus atrasts"
908
  msgid "Post types to include:"
909
  msgstr ""
910
 
911
+ #: includes/media.php:67
912
  msgid "thumb_timthumb argument has been deprecated"
913
  msgstr ""
914
 
915
+ #: includes/media.php:71
916
  msgid "thumb_timthumb_q argument has been deprecated"
917
  msgstr ""
918
 
919
+ #: includes/media.php:75
920
  msgid "filter argument has been deprecated"
921
  msgstr ""
922
 
languages/{crp-zh_CN.mo → contextual-related-posts-zh_CN.mo} RENAMED
Binary file
languages/{crp-zh_CN.po → contextual-related-posts-zh_CN.po} RENAMED
@@ -2,7 +2,7 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Contextual Related Posts\n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2015-09-05 11:13+0100\n"
6
  "PO-Revision-Date: \n"
7
  "Last-Translator: Ajay D'Souza <me@ajaydsouza.com>\n"
8
  "Language-Team: \n"
@@ -16,30 +16,30 @@ msgstr ""
16
  "X-Poedit-SourceCharset: UTF-8\n"
17
  "X-Poedit-SearchPath-0: .\n"
18
 
19
- #: admin/admin.php:190
20
  msgid "Options saved successfully. If enabled, the cache has been cleared."
21
  msgstr ""
22
 
23
- #: admin/admin.php:193
24
  msgid ""
25
  "Rounded Thumbnails style selected. Author, Excerpt and Date will not be "
26
  "displayed."
27
  msgstr ""
28
 
29
- #: admin/admin.php:196
30
  msgid "Text Only style selected. Thumbnails will not be displayed."
31
  msgstr ""
32
 
33
- #: admin/admin.php:199
34
  #, php-format
35
  msgid "Pre-built thumbnail size selected. Thumbnail set to %d x %d."
36
  msgstr ""
37
 
38
- #: admin/admin.php:223
39
  msgid "Options set to Default."
40
  msgstr "已重置设置。"
41
 
42
- #: admin/admin.php:232
43
  msgid "Index recreated"
44
  msgstr "已重新创建索引"
45
 
@@ -47,13 +47,13 @@ msgstr "已重新创建索引"
47
  msgid "Related Posts"
48
  msgstr "相关日志"
49
 
50
- #: admin/cache.php:44
51
  msgid ""
52
  "An error occurred clearing the cache. Please contact your site administrator."
53
  "\\n\\nError message:\\n"
54
  msgstr ""
55
 
56
- #: admin/cache.php:49
57
  msgid " cached row(s) cleared"
58
  msgstr ""
59
 
@@ -61,7 +61,7 @@ msgstr ""
61
  msgid "Settings"
62
  msgstr "设置"
63
 
64
- #: admin/loader.php:46 admin/sidebar-view.php:59
65
  msgid "Support"
66
  msgstr "技术支持"
67
 
@@ -85,21 +85,21 @@ msgstr "一般设置"
85
  msgid "List tuning options"
86
  msgstr ""
87
 
88
- #: admin/main-view.php:34 admin/main-view.php:239
89
  #, fuzzy
90
  msgid "Output options"
91
  msgstr "显示设置"
92
 
93
- #: admin/main-view.php:35 admin/main-view.php:443
94
  #: includes/class-crp-widget.php:93
95
  msgid "Thumbnail options"
96
  msgstr "缩略图设置:"
97
 
98
- #: admin/main-view.php:36 admin/main-view.php:596
99
  msgid "Styles"
100
  msgstr ""
101
 
102
- #: admin/main-view.php:37 admin/main-view.php:674
103
  #, fuzzy
104
  msgid "Feed options"
105
  msgstr "一般设置"
@@ -221,13 +221,13 @@ msgid ""
221
  "in the list."
222
  msgstr "相关日志"
223
 
224
- #: admin/main-view.php:135 admin/main-view.php:232 admin/main-view.php:436
225
- #: admin/main-view.php:589 admin/main-view.php:667 admin/main-view.php:739
226
- #: admin/main-view.php:755
227
  msgid "Save Options"
228
  msgstr "保存设置"
229
 
230
- #: admin/main-view.php:158 admin/main-view.php:692
231
  msgid "Number of related posts to display: "
232
  msgstr "相关日志数量:"
233
 
@@ -291,7 +291,7 @@ msgstr "被索引的日志类型(包含自定义日志类型)"
291
  msgid "List of post or page IDs to exclude from the results:"
292
  msgstr "排除的文章或页面 ID:"
293
 
294
- #: admin/main-view.php:197 admin/main-view.php:367
295
  msgid ""
296
  "Comma separated list of post, page or custom post type IDs. e.g. 188,320,500"
297
  msgstr ""
@@ -308,38 +308,45 @@ msgid ""
308
  "prompt you with options."
309
  msgstr ""
310
 
311
- #: admin/main-view.php:214
312
  msgid "Excluded category IDs are:"
313
  msgstr ""
314
 
315
- #: admin/main-view.php:255
 
 
 
 
 
 
 
316
  msgid "Title of related posts:"
317
  msgstr ""
318
 
319
- #: admin/main-view.php:258
320
  msgid ""
321
  "This is the main heading of the related posts. You can also display the "
322
  "current post title by using <code>%postname%</code>. e.g. <code>Related "
323
  "Posts to %postname%</code>"
324
  msgstr ""
325
 
326
- #: admin/main-view.php:262
327
  msgid "When there are no posts, what should be shown?"
328
  msgstr "当不存在相关日志时,显示什么?"
329
 
330
- #: admin/main-view.php:266
331
  msgid "Blank Output"
332
  msgstr "不显示"
333
 
334
- #: admin/main-view.php:271
335
  msgid "Display:"
336
  msgstr ""
337
 
338
- #: admin/main-view.php:277 admin/main-view.php:695
339
  msgid "Show post excerpt in list?"
340
  msgstr "是否显示日志摘要?"
341
 
342
- #: admin/main-view.php:280
343
  #, php-format
344
  msgid ""
345
  "Displays the excerpt of the post. If you do not provide an explicit excerpt "
@@ -347,167 +354,167 @@ msgid ""
347
  "automatic excerpt which refers to the first %d words of the post's content"
348
  msgstr ""
349
 
350
- #: admin/main-view.php:283
351
  msgid ""
352
  "Rounded Thumbnails style selected under the Custom Styles. Excerpt display "
353
  "is disabled."
354
  msgstr ""
355
 
356
- #: admin/main-view.php:288
357
  msgid "Length of excerpt (in words):"
358
  msgstr ""
359
 
360
- #: admin/main-view.php:294
361
  #, fuzzy
362
  msgid "Show post author in list?"
363
  msgstr "是否显示日志摘要?"
364
 
365
- #: admin/main-view.php:297
366
  msgid "Displays the author name prefixed with \"by\". e.g. by John Doe"
367
  msgstr ""
368
 
369
- #: admin/main-view.php:300
370
  msgid ""
371
  "Rounded Thumbnails style selected under the Custom Styles. Author display is "
372
  "disabled."
373
  msgstr ""
374
 
375
- #: admin/main-view.php:305
376
  #, fuzzy
377
  msgid "Show post date in list?"
378
  msgstr "是否显示日志摘要?"
379
 
380
- #: admin/main-view.php:308
381
  msgid ""
382
  "Displays the date of the post. Uses the same date format set in General "
383
  "Options"
384
  msgstr ""
385
 
386
- #: admin/main-view.php:311
387
  msgid ""
388
  "Rounded Thumbnails style selected under the Custom Styles. Date display is "
389
  "disabled."
390
  msgstr ""
391
 
392
- #: admin/main-view.php:316
393
  msgid "Limit post title length (in characters)"
394
  msgstr ""
395
 
396
- #: admin/main-view.php:319
397
  msgid ""
398
  "Any title longer than the number of characters set above will be cut and "
399
  "appended with an ellipsis (&hellip;)"
400
  msgstr ""
401
 
402
- #: admin/main-view.php:323
403
  msgid "Open links in new window"
404
  msgstr ""
405
 
406
- #: admin/main-view.php:329
407
  msgid "Add nofollow attribute to links in the list"
408
  msgstr ""
409
 
410
- #: admin/main-view.php:362
411
  #, fuzzy
412
  msgid "Exclusion settings:"
413
  msgstr "插件设置页面"
414
 
415
- #: admin/main-view.php:364
416
  #, fuzzy
417
  msgid "Exclude display of related posts on these posts / pages"
418
  msgstr "添加相关日志到页面里"
419
 
420
- #: admin/main-view.php:370
421
  #, fuzzy
422
  msgid "Exclude display of related posts on these post types."
423
  msgstr "添加相关日志到页面里"
424
 
425
- #: admin/main-view.php:377
426
  #, fuzzy
427
  msgid ""
428
  "The related posts will not display on any of the above selected post types"
429
  msgstr "被索引的日志类型(包含自定义日志类型)"
430
 
431
- #: admin/main-view.php:407
432
  msgid "Customize the output:"
433
  msgstr "自定义显示:"
434
 
435
- #: admin/main-view.php:409
436
  msgid "HTML to display before the list of posts: "
437
  msgstr "显示在每篇日志后面的 HTML 标签:"
438
 
439
- #: admin/main-view.php:412
440
  msgid "HTML to display before each list item: "
441
  msgstr "显示在每篇日志后面的 HTML 标签:"
442
 
443
- #: admin/main-view.php:415
444
  msgid "HTML to display after each list item: "
445
  msgstr "显示在日志列表前面的 HTML 标签:"
446
 
447
- #: admin/main-view.php:418
448
  msgid "HTML to display after the list of posts: "
449
  msgstr "显示在日志列表后面的 HTML 标签:"
450
 
451
- #: admin/main-view.php:459 admin/main-view.php:698
452
  msgid "Location of post thumbnail:"
453
  msgstr "日志缩略图位置:"
454
 
455
- #: admin/main-view.php:463 admin/main-view.php:702
456
  msgid "Display thumbnails inline with posts, before title"
457
  msgstr "在标题前显示缩略图"
458
 
459
- #: admin/main-view.php:467 admin/main-view.php:706
460
  msgid "Display thumbnails inline with posts, after title"
461
  msgstr "在标题后显示缩略图"
462
 
463
- #: admin/main-view.php:471 admin/main-view.php:710
464
  msgid "Display only thumbnails, no text"
465
  msgstr "不显示文本,只显示缩略图"
466
 
467
- #: admin/main-view.php:475 admin/main-view.php:714
468
  msgid "Do not display thumbnails, only text."
469
  msgstr "不显示缩略图,只显示文本"
470
 
471
- #: admin/main-view.php:478
472
  msgid ""
473
  "This setting cannot be changed because an inbuilt style has been selected "
474
  "under the Styles section. If you would like to change this option, please "
475
  "select <strong>No styles</strong> under the Styles section."
476
  msgstr ""
477
 
478
- #: admin/main-view.php:482
479
  msgid "Thumbnail size:"
480
  msgstr ""
481
 
482
- #: admin/main-view.php:506
483
  msgid "Custom size"
484
  msgstr ""
485
 
486
- #: admin/main-view.php:509
487
  msgid "You can choose from existing image sizes above or create a custom size."
488
  msgstr ""
489
 
490
- #: admin/main-view.php:510
491
  msgid ""
492
  "If you choose an existing size, then the width, height and crop mode "
493
  "settings in the three options below will be automatically updated to reflect "
494
  "the correct dimensions of the setting."
495
  msgstr ""
496
 
497
- #: admin/main-view.php:511
498
  msgid ""
499
  "If you have chosen Custom size above, then enter the width, height and crop "
500
  "settings below. For best results, use a cropped image with the same width "
501
  "and height. The default setting is 150x150 cropped image."
502
  msgstr ""
503
 
504
- #: admin/main-view.php:512
505
  msgid ""
506
  "Any changes to the thumbnail settings doesn't automatically resize existing "
507
  "images."
508
  msgstr ""
509
 
510
- #: admin/main-view.php:513
511
  #, php-format
512
  msgid ""
513
  "I recommend using <a href='%s' class='thickbox'>OTF Regenerate Thumbnails</"
@@ -515,84 +522,84 @@ msgid ""
515
  "all image sizes."
516
  msgstr ""
517
 
518
- #: admin/main-view.php:517
519
  msgid "Width of the thumbnail:"
520
  msgstr ""
521
 
522
- #: admin/main-view.php:520
523
  msgid "Height of the thumbnail: "
524
  msgstr ""
525
 
526
- #: admin/main-view.php:525
527
  msgid "Crop mode:"
528
  msgstr ""
529
 
530
- #: admin/main-view.php:529
531
  msgid ""
532
  "By default, thumbnails will be hard cropped. Uncheck this box to "
533
  "proportionately/soft crop the thumbnails."
534
  msgstr ""
535
 
536
- #: admin/main-view.php:530
537
  #, php-format
538
  msgid "<a href='%s' target='_blank'>Difference between soft and hard crop</a>"
539
  msgstr ""
540
 
541
- #: admin/main-view.php:534
542
  msgid "Image size attributes:"
543
  msgstr ""
544
 
545
- #: admin/main-view.php:538
546
  msgid "Style attributes are used for width and height."
547
  msgstr ""
548
 
549
- #: admin/main-view.php:543
550
  msgid "HTML width and height attributes are used for width and height."
551
  msgstr ""
552
 
553
- #: admin/main-view.php:548
554
  msgid "No HTML or Style attributes set for width and height"
555
  msgstr ""
556
 
557
- #: admin/main-view.php:553
558
  #, fuzzy
559
  msgid "Post thumbnail meta field name:"
560
  msgstr "日志缩略图自定义栏目的名称:"
561
 
562
- #: admin/main-view.php:555
563
  msgid ""
564
  "The value of this field should contain a direct link to the image. This is "
565
  "set in the meta box in the <em>Add New Post</em> screen."
566
  msgstr ""
567
 
568
- #: admin/main-view.php:558
569
  msgid "Extract the first image from the post?"
570
  msgstr ""
571
 
572
- #: admin/main-view.php:560
573
  msgid ""
574
  "This will only happen if there is no post thumbnail set and no image URL is "
575
  "specified in the meta field."
576
  msgstr ""
577
 
578
- #: admin/main-view.php:563
579
  #, fuzzy
580
  msgid "Use default thumbnail?"
581
  msgstr "是否使用默认缩略图?"
582
 
583
- #: admin/main-view.php:565
584
  msgid ""
585
  "If checked, when no thumbnail is found, show a default one from the URL "
586
  "below. If not checked and no thumbnail is found, no image will be shown."
587
  msgstr ""
588
  "勾选此项,当不存在缩略图时,显示以下默认缩略图,不勾选则不显示任何图像。"
589
 
590
- #: admin/main-view.php:568
591
  #, fuzzy
592
  msgid "Default thumbnail:"
593
  msgstr "默认缩略图:"
594
 
595
- #: admin/main-view.php:571
596
  #, fuzzy
597
  msgid ""
598
  "The plugin will first check if the post contains a thumbnail. If it doesn't "
@@ -602,23 +609,23 @@ msgstr ""
602
  "本插件按先后顺序检测日志本身、缩略图自定义栏目是否含有缩略图,若不存在,则显"
603
  "示上面默认图像"
604
 
605
- #: admin/main-view.php:612
606
  msgid "Style of the related posts:"
607
  msgstr ""
608
 
609
- #: admin/main-view.php:615
610
  msgid "No styles"
611
  msgstr ""
612
 
613
- #: admin/main-view.php:617
614
  msgid "Select this option if you plan to add your own styles"
615
  msgstr ""
616
 
617
- #: admin/main-view.php:621
618
  msgid "Rounded Thumbnails"
619
  msgstr ""
620
 
621
- #: admin/main-view.php:624
622
  msgid ""
623
  "Enabling this option will turn on the thumbnails and set their width and "
624
  "height to 150px. It will also turn off the display of the author, excerpt "
@@ -626,27 +633,27 @@ msgid ""
626
  "settings."
627
  msgstr ""
628
 
629
- #: admin/main-view.php:625
630
  #, php-format
631
  msgid ""
632
  "You can view the default style at <a href=\"%1$s\" target=\"_blank\">%1$s</a>"
633
  msgstr ""
634
 
635
- #: admin/main-view.php:629
636
  msgid "Text only"
637
  msgstr ""
638
 
639
- #: admin/main-view.php:631
640
  msgid ""
641
  "Enabling this option will disable thumbnails and no longer include the "
642
  "default style sheet included in the plugin."
643
  msgstr ""
644
 
645
- #: admin/main-view.php:646
646
  msgid "Custom CSS to add to header:"
647
  msgstr "添加自定义 CSS 到 header:"
648
 
649
- #: admin/main-view.php:650
650
  #, fuzzy
651
  msgid ""
652
  "Do not include <code>style</code> tags. Check out the <a href=\"http://"
@@ -656,96 +663,96 @@ msgstr ""
656
  "不要使用 <code>style</code> 标签。请查看 <a href=\"http://wordpress.org/"
657
  "extend/plugins/contextual-related-posts/faq/\">FAQ</a> 中可用的 CSS classes。"
658
 
659
- #: admin/main-view.php:690
660
  msgid ""
661
  "Below options override the related posts settings for your blog feed. These "
662
  "only apply if you have selected to add related posts to Feeds in the General "
663
  "Options tab."
664
  msgstr ""
665
 
666
- #: admin/main-view.php:718
667
  msgid "Maximum width of the thumbnail: "
668
  msgstr "缩略图最大宽度"
669
 
670
- #: admin/main-view.php:721
671
  msgid "Maximum height of the thumbnail: "
672
  msgstr "缩略图最大高度"
673
 
674
- #: admin/main-view.php:756
675
  msgid "Default Options"
676
  msgstr "默认设置"
677
 
678
- #: admin/main-view.php:756
679
  msgid "Do you want to set options to Default?"
680
  msgstr "是否要重置设置?"
681
 
682
- #: admin/main-view.php:757
683
  msgid "Recreate Index"
684
  msgstr "重建索引"
685
 
686
- #: admin/main-view.php:757
687
  msgid "Are you sure you want to recreate the index?"
688
  msgstr "是否要重建索引?"
689
 
690
- #: admin/main-view.php:762
691
  msgid ""
692
  "One or more FULLTEXT indices are missing. Please hit the <a href="
693
  "\"#crp_recreate\">Recreate Index button</a> at the bottom of the page to fix "
694
  "this."
695
  msgstr ""
696
 
697
- #: admin/metabox.php:100
698
  #, fuzzy
699
  msgid "Location of thumbnail:"
700
  msgstr "日志缩略图位置:"
701
 
702
- #: admin/metabox.php:102
703
  msgid ""
704
  "Enter the full URL to the image (JPG, PNG or GIF) you'd like to use. This "
705
  "image will be used for the post. It will be resized to the thumbnail size "
706
  "set under Settings &raquo; Related Posts &raquo; Output Options"
707
  msgstr ""
708
 
709
- #: admin/metabox.php:103
710
  msgid "The URL above is saved in the meta field:"
711
  msgstr ""
712
 
713
- #: admin/metabox.php:108
714
  msgid ""
715
  "You have Top 10 WordPress Plugin installed. If you are trying to modify the "
716
  "thumbnail, then you'll need to make the same change in the Top 10 meta box "
717
  "on this page."
718
  msgstr ""
719
 
720
- #: admin/metabox.php:119
721
  msgid "Disable Related Posts display:"
722
  msgstr ""
723
 
724
- #: admin/metabox.php:122
725
  msgid ""
726
  "If this is checked, then Contextual Related Posts will not automatically "
727
  "insert the related posts at the end of post content."
728
  msgstr ""
729
 
730
- #: admin/metabox.php:127 admin/metabox.php:135
731
  msgid "Manual related posts:"
732
  msgstr ""
733
 
734
- #: admin/metabox.php:129
735
  msgid ""
736
  "Comma separated list of post, page or custom post type IDs. e.g. "
737
  "188,320,500. These will be given preference over the related posts generated "
738
  "by the plugin."
739
  msgstr ""
740
 
741
- #: admin/metabox.php:130
742
  msgid ""
743
  "Once you enter the list above and save this page, the plugin will display "
744
  "the titles of the posts below for your reference. Only IDs corresponding to "
745
  "published posts or custom post types will be retained."
746
  msgstr ""
747
 
748
- #: admin/metabox.php:144
749
  msgid "This post type is:"
750
  msgstr ""
751
 
@@ -771,45 +778,45 @@ msgstr "捐赠给作者"
771
  msgid "Follow me"
772
  msgstr ""
773
 
774
- #: admin/sidebar-view.php:53
775
  #, fuzzy
776
  msgid "Quick links"
777
  msgstr "快捷链接"
778
 
779
- #: admin/sidebar-view.php:57
780
  msgid "Plugin homepage"
781
  msgstr ""
782
 
783
- #: admin/sidebar-view.php:58
784
  msgid "FAQ"
785
  msgstr ""
786
 
787
- #: admin/sidebar-view.php:60
788
  msgid "Reviews"
789
  msgstr ""
790
 
791
- #: admin/sidebar-view.php:61
792
  msgid "Github repository"
793
  msgstr ""
794
 
795
- #: admin/sidebar-view.php:62
796
  msgid "Other plugins"
797
  msgstr "其他插件"
798
 
799
- #: admin/sidebar-view.php:63
800
  msgid "Ajay's blog"
801
  msgstr "Ajay 的博客"
802
 
803
- #: contextual-related-posts.php:178
804
  #, php-format
805
  msgid "Powered by <a href=\"%s\" rel=\"nofollow\">Contextual Related Posts</a>"
806
  msgstr ""
807
 
808
- #: contextual-related-posts.php:659
809
  msgid "<h3>Related Posts:</h3>"
810
  msgstr "<h3>相关日志:</h3>"
811
 
812
- #: contextual-related-posts.php:661
813
  #, fuzzy
814
  msgid "No related posts found"
815
  msgstr "没有发现相关日志"
@@ -874,15 +881,15 @@ msgstr "缩略图设置:"
874
  msgid "Post types to include:"
875
  msgstr ""
876
 
877
- #: includes/media-handler.php:68
878
  msgid "thumb_timthumb argument has been deprecated"
879
  msgstr ""
880
 
881
- #: includes/media-handler.php:72
882
  msgid "thumb_timthumb_q argument has been deprecated"
883
  msgstr ""
884
 
885
- #: includes/media-handler.php:76
886
  msgid "filter argument has been deprecated"
887
  msgstr ""
888
 
2
  msgstr ""
3
  "Project-Id-Version: Contextual Related Posts\n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2015-09-27 13:33+0100\n"
6
  "PO-Revision-Date: \n"
7
  "Last-Translator: Ajay D'Souza <me@ajaydsouza.com>\n"
8
  "Language-Team: \n"
16
  "X-Poedit-SourceCharset: UTF-8\n"
17
  "X-Poedit-SearchPath-0: .\n"
18
 
19
+ #: admin/admin.php:191
20
  msgid "Options saved successfully. If enabled, the cache has been cleared."
21
  msgstr ""
22
 
23
+ #: admin/admin.php:194
24
  msgid ""
25
  "Rounded Thumbnails style selected. Author, Excerpt and Date will not be "
26
  "displayed."
27
  msgstr ""
28
 
29
+ #: admin/admin.php:197
30
  msgid "Text Only style selected. Thumbnails will not be displayed."
31
  msgstr ""
32
 
33
+ #: admin/admin.php:200
34
  #, php-format
35
  msgid "Pre-built thumbnail size selected. Thumbnail set to %d x %d."
36
  msgstr ""
37
 
38
+ #: admin/admin.php:224
39
  msgid "Options set to Default."
40
  msgstr "已重置设置。"
41
 
42
+ #: admin/admin.php:233
43
  msgid "Index recreated"
44
  msgstr "已重新创建索引"
45
 
47
  msgid "Related Posts"
48
  msgstr "相关日志"
49
 
50
+ #: admin/cache.php:42
51
  msgid ""
52
  "An error occurred clearing the cache. Please contact your site administrator."
53
  "\\n\\nError message:\\n"
54
  msgstr ""
55
 
56
+ #: admin/cache.php:47
57
  msgid " cached row(s) cleared"
58
  msgstr ""
59
 
61
  msgid "Settings"
62
  msgstr "设置"
63
 
64
+ #: admin/loader.php:46 admin/sidebar-view.php:72
65
  msgid "Support"
66
  msgstr "技术支持"
67
 
85
  msgid "List tuning options"
86
  msgstr ""
87
 
88
+ #: admin/main-view.php:34 admin/main-view.php:249
89
  #, fuzzy
90
  msgid "Output options"
91
  msgstr "显示设置"
92
 
93
+ #: admin/main-view.php:35 admin/main-view.php:453
94
  #: includes/class-crp-widget.php:93
95
  msgid "Thumbnail options"
96
  msgstr "缩略图设置:"
97
 
98
+ #: admin/main-view.php:36 admin/main-view.php:608
99
  msgid "Styles"
100
  msgstr ""
101
 
102
+ #: admin/main-view.php:37 admin/main-view.php:686
103
  #, fuzzy
104
  msgid "Feed options"
105
  msgstr "一般设置"
221
  "in the list."
222
  msgstr "相关日志"
223
 
224
+ #: admin/main-view.php:135 admin/main-view.php:242 admin/main-view.php:446
225
+ #: admin/main-view.php:601 admin/main-view.php:679 admin/main-view.php:751
226
+ #: admin/main-view.php:767
227
  msgid "Save Options"
228
  msgstr "保存设置"
229
 
230
+ #: admin/main-view.php:158 admin/main-view.php:704
231
  msgid "Number of related posts to display: "
232
  msgstr "相关日志数量:"
233
 
291
  msgid "List of post or page IDs to exclude from the results:"
292
  msgstr "排除的文章或页面 ID:"
293
 
294
+ #: admin/main-view.php:197 admin/main-view.php:377
295
  msgid ""
296
  "Comma separated list of post, page or custom post type IDs. e.g. 188,320,500"
297
  msgstr ""
308
  "prompt you with options."
309
  msgstr ""
310
 
311
+ #: admin/main-view.php:216
312
  msgid "Excluded category IDs are:"
313
  msgstr ""
314
 
315
+ #: admin/main-view.php:222
316
+ msgid ""
317
+ "These might differ from the IDs visible in the Categories page which use the "
318
+ "<code>term_id</code>. CRP uses the <code>term_taxonomy_id</code> which is "
319
+ "unique to this taxonomy."
320
+ msgstr ""
321
+
322
+ #: admin/main-view.php:265
323
  msgid "Title of related posts:"
324
  msgstr ""
325
 
326
+ #: admin/main-view.php:268
327
  msgid ""
328
  "This is the main heading of the related posts. You can also display the "
329
  "current post title by using <code>%postname%</code>. e.g. <code>Related "
330
  "Posts to %postname%</code>"
331
  msgstr ""
332
 
333
+ #: admin/main-view.php:272
334
  msgid "When there are no posts, what should be shown?"
335
  msgstr "当不存在相关日志时,显示什么?"
336
 
337
+ #: admin/main-view.php:276
338
  msgid "Blank Output"
339
  msgstr "不显示"
340
 
341
+ #: admin/main-view.php:281
342
  msgid "Display:"
343
  msgstr ""
344
 
345
+ #: admin/main-view.php:287 admin/main-view.php:707
346
  msgid "Show post excerpt in list?"
347
  msgstr "是否显示日志摘要?"
348
 
349
+ #: admin/main-view.php:290
350
  #, php-format
351
  msgid ""
352
  "Displays the excerpt of the post. If you do not provide an explicit excerpt "
354
  "automatic excerpt which refers to the first %d words of the post's content"
355
  msgstr ""
356
 
357
+ #: admin/main-view.php:293
358
  msgid ""
359
  "Rounded Thumbnails style selected under the Custom Styles. Excerpt display "
360
  "is disabled."
361
  msgstr ""
362
 
363
+ #: admin/main-view.php:298
364
  msgid "Length of excerpt (in words):"
365
  msgstr ""
366
 
367
+ #: admin/main-view.php:304
368
  #, fuzzy
369
  msgid "Show post author in list?"
370
  msgstr "是否显示日志摘要?"
371
 
372
+ #: admin/main-view.php:307
373
  msgid "Displays the author name prefixed with \"by\". e.g. by John Doe"
374
  msgstr ""
375
 
376
+ #: admin/main-view.php:310
377
  msgid ""
378
  "Rounded Thumbnails style selected under the Custom Styles. Author display is "
379
  "disabled."
380
  msgstr ""
381
 
382
+ #: admin/main-view.php:315
383
  #, fuzzy
384
  msgid "Show post date in list?"
385
  msgstr "是否显示日志摘要?"
386
 
387
+ #: admin/main-view.php:318
388
  msgid ""
389
  "Displays the date of the post. Uses the same date format set in General "
390
  "Options"
391
  msgstr ""
392
 
393
+ #: admin/main-view.php:321
394
  msgid ""
395
  "Rounded Thumbnails style selected under the Custom Styles. Date display is "
396
  "disabled."
397
  msgstr ""
398
 
399
+ #: admin/main-view.php:326
400
  msgid "Limit post title length (in characters)"
401
  msgstr ""
402
 
403
+ #: admin/main-view.php:329
404
  msgid ""
405
  "Any title longer than the number of characters set above will be cut and "
406
  "appended with an ellipsis (&hellip;)"
407
  msgstr ""
408
 
409
+ #: admin/main-view.php:333
410
  msgid "Open links in new window"
411
  msgstr ""
412
 
413
+ #: admin/main-view.php:339
414
  msgid "Add nofollow attribute to links in the list"
415
  msgstr ""
416
 
417
+ #: admin/main-view.php:372
418
  #, fuzzy
419
  msgid "Exclusion settings:"
420
  msgstr "插件设置页面"
421
 
422
+ #: admin/main-view.php:374
423
  #, fuzzy
424
  msgid "Exclude display of related posts on these posts / pages"
425
  msgstr "添加相关日志到页面里"
426
 
427
+ #: admin/main-view.php:380
428
  #, fuzzy
429
  msgid "Exclude display of related posts on these post types."
430
  msgstr "添加相关日志到页面里"
431
 
432
+ #: admin/main-view.php:387
433
  #, fuzzy
434
  msgid ""
435
  "The related posts will not display on any of the above selected post types"
436
  msgstr "被索引的日志类型(包含自定义日志类型)"
437
 
438
+ #: admin/main-view.php:417
439
  msgid "Customize the output:"
440
  msgstr "自定义显示:"
441
 
442
+ #: admin/main-view.php:419
443
  msgid "HTML to display before the list of posts: "
444
  msgstr "显示在每篇日志后面的 HTML 标签:"
445
 
446
+ #: admin/main-view.php:422
447
  msgid "HTML to display before each list item: "
448
  msgstr "显示在每篇日志后面的 HTML 标签:"
449
 
450
+ #: admin/main-view.php:425
451
  msgid "HTML to display after each list item: "
452
  msgstr "显示在日志列表前面的 HTML 标签:"
453
 
454
+ #: admin/main-view.php:428
455
  msgid "HTML to display after the list of posts: "
456
  msgstr "显示在日志列表后面的 HTML 标签:"
457
 
458
+ #: admin/main-view.php:469 admin/main-view.php:710
459
  msgid "Location of post thumbnail:"
460
  msgstr "日志缩略图位置:"
461
 
462
+ #: admin/main-view.php:473 admin/main-view.php:714
463
  msgid "Display thumbnails inline with posts, before title"
464
  msgstr "在标题前显示缩略图"
465
 
466
+ #: admin/main-view.php:477 admin/main-view.php:718
467
  msgid "Display thumbnails inline with posts, after title"
468
  msgstr "在标题后显示缩略图"
469
 
470
+ #: admin/main-view.php:481 admin/main-view.php:722
471
  msgid "Display only thumbnails, no text"
472
  msgstr "不显示文本,只显示缩略图"
473
 
474
+ #: admin/main-view.php:485 admin/main-view.php:726
475
  msgid "Do not display thumbnails, only text."
476
  msgstr "不显示缩略图,只显示文本"
477
 
478
+ #: admin/main-view.php:488
479
  msgid ""
480
  "This setting cannot be changed because an inbuilt style has been selected "
481
  "under the Styles section. If you would like to change this option, please "
482
  "select <strong>No styles</strong> under the Styles section."
483
  msgstr ""
484
 
485
+ #: admin/main-view.php:492
486
  msgid "Thumbnail size:"
487
  msgstr ""
488
 
489
+ #: admin/main-view.php:516
490
  msgid "Custom size"
491
  msgstr ""
492
 
493
+ #: admin/main-view.php:519
494
  msgid "You can choose from existing image sizes above or create a custom size."
495
  msgstr ""
496
 
497
+ #: admin/main-view.php:520
498
  msgid ""
499
  "If you choose an existing size, then the width, height and crop mode "
500
  "settings in the three options below will be automatically updated to reflect "
501
  "the correct dimensions of the setting."
502
  msgstr ""
503
 
504
+ #: admin/main-view.php:521
505
  msgid ""
506
  "If you have chosen Custom size above, then enter the width, height and crop "
507
  "settings below. For best results, use a cropped image with the same width "
508
  "and height. The default setting is 150x150 cropped image."
509
  msgstr ""
510
 
511
+ #: admin/main-view.php:522
512
  msgid ""
513
  "Any changes to the thumbnail settings doesn't automatically resize existing "
514
  "images."
515
  msgstr ""
516
 
517
+ #: admin/main-view.php:523
518
  #, php-format
519
  msgid ""
520
  "I recommend using <a href='%s' class='thickbox'>OTF Regenerate Thumbnails</"
522
  "all image sizes."
523
  msgstr ""
524
 
525
+ #: admin/main-view.php:527
526
  msgid "Width of the thumbnail:"
527
  msgstr ""
528
 
529
+ #: admin/main-view.php:530
530
  msgid "Height of the thumbnail: "
531
  msgstr ""
532
 
533
+ #: admin/main-view.php:535
534
  msgid "Crop mode:"
535
  msgstr ""
536
 
537
+ #: admin/main-view.php:539
538
  msgid ""
539
  "By default, thumbnails will be hard cropped. Uncheck this box to "
540
  "proportionately/soft crop the thumbnails."
541
  msgstr ""
542
 
543
+ #: admin/main-view.php:540
544
  #, php-format
545
  msgid "<a href='%s' target='_blank'>Difference between soft and hard crop</a>"
546
  msgstr ""
547
 
548
+ #: admin/main-view.php:544
549
  msgid "Image size attributes:"
550
  msgstr ""
551
 
552
+ #: admin/main-view.php:548
553
  msgid "Style attributes are used for width and height."
554
  msgstr ""
555
 
556
+ #: admin/main-view.php:554
557
  msgid "HTML width and height attributes are used for width and height."
558
  msgstr ""
559
 
560
+ #: admin/main-view.php:560
561
  msgid "No HTML or Style attributes set for width and height"
562
  msgstr ""
563
 
564
+ #: admin/main-view.php:565
565
  #, fuzzy
566
  msgid "Post thumbnail meta field name:"
567
  msgstr "日志缩略图自定义栏目的名称:"
568
 
569
+ #: admin/main-view.php:567
570
  msgid ""
571
  "The value of this field should contain a direct link to the image. This is "
572
  "set in the meta box in the <em>Add New Post</em> screen."
573
  msgstr ""
574
 
575
+ #: admin/main-view.php:570
576
  msgid "Extract the first image from the post?"
577
  msgstr ""
578
 
579
+ #: admin/main-view.php:572
580
  msgid ""
581
  "This will only happen if there is no post thumbnail set and no image URL is "
582
  "specified in the meta field."
583
  msgstr ""
584
 
585
+ #: admin/main-view.php:575
586
  #, fuzzy
587
  msgid "Use default thumbnail?"
588
  msgstr "是否使用默认缩略图?"
589
 
590
+ #: admin/main-view.php:577
591
  msgid ""
592
  "If checked, when no thumbnail is found, show a default one from the URL "
593
  "below. If not checked and no thumbnail is found, no image will be shown."
594
  msgstr ""
595
  "勾选此项,当不存在缩略图时,显示以下默认缩略图,不勾选则不显示任何图像。"
596
 
597
+ #: admin/main-view.php:580
598
  #, fuzzy
599
  msgid "Default thumbnail:"
600
  msgstr "默认缩略图:"
601
 
602
+ #: admin/main-view.php:583
603
  #, fuzzy
604
  msgid ""
605
  "The plugin will first check if the post contains a thumbnail. If it doesn't "
609
  "本插件按先后顺序检测日志本身、缩略图自定义栏目是否含有缩略图,若不存在,则显"
610
  "示上面默认图像"
611
 
612
+ #: admin/main-view.php:624
613
  msgid "Style of the related posts:"
614
  msgstr ""
615
 
616
+ #: admin/main-view.php:627
617
  msgid "No styles"
618
  msgstr ""
619
 
620
+ #: admin/main-view.php:629
621
  msgid "Select this option if you plan to add your own styles"
622
  msgstr ""
623
 
624
+ #: admin/main-view.php:633
625
  msgid "Rounded Thumbnails"
626
  msgstr ""
627
 
628
+ #: admin/main-view.php:636
629
  msgid ""
630
  "Enabling this option will turn on the thumbnails and set their width and "
631
  "height to 150px. It will also turn off the display of the author, excerpt "
633
  "settings."
634
  msgstr ""
635
 
636
+ #: admin/main-view.php:637
637
  #, php-format
638
  msgid ""
639
  "You can view the default style at <a href=\"%1$s\" target=\"_blank\">%1$s</a>"
640
  msgstr ""
641
 
642
+ #: admin/main-view.php:641
643
  msgid "Text only"
644
  msgstr ""
645
 
646
+ #: admin/main-view.php:643
647
  msgid ""
648
  "Enabling this option will disable thumbnails and no longer include the "
649
  "default style sheet included in the plugin."
650
  msgstr ""
651
 
652
+ #: admin/main-view.php:658
653
  msgid "Custom CSS to add to header:"
654
  msgstr "添加自定义 CSS 到 header:"
655
 
656
+ #: admin/main-view.php:662
657
  #, fuzzy
658
  msgid ""
659
  "Do not include <code>style</code> tags. Check out the <a href=\"http://"
663
  "不要使用 <code>style</code> 标签。请查看 <a href=\"http://wordpress.org/"
664
  "extend/plugins/contextual-related-posts/faq/\">FAQ</a> 中可用的 CSS classes。"
665
 
666
+ #: admin/main-view.php:702
667
  msgid ""
668
  "Below options override the related posts settings for your blog feed. These "
669
  "only apply if you have selected to add related posts to Feeds in the General "
670
  "Options tab."
671
  msgstr ""
672
 
673
+ #: admin/main-view.php:730
674
  msgid "Maximum width of the thumbnail: "
675
  msgstr "缩略图最大宽度"
676
 
677
+ #: admin/main-view.php:733
678
  msgid "Maximum height of the thumbnail: "
679
  msgstr "缩略图最大高度"
680
 
681
+ #: admin/main-view.php:768
682
  msgid "Default Options"
683
  msgstr "默认设置"
684
 
685
+ #: admin/main-view.php:768
686
  msgid "Do you want to set options to Default?"
687
  msgstr "是否要重置设置?"
688
 
689
+ #: admin/main-view.php:769
690
  msgid "Recreate Index"
691
  msgstr "重建索引"
692
 
693
+ #: admin/main-view.php:769
694
  msgid "Are you sure you want to recreate the index?"
695
  msgstr "是否要重建索引?"
696
 
697
+ #: admin/main-view.php:774
698
  msgid ""
699
  "One or more FULLTEXT indices are missing. Please hit the <a href="
700
  "\"#crp_recreate\">Recreate Index button</a> at the bottom of the page to fix "
701
  "this."
702
  msgstr ""
703
 
704
+ #: admin/metabox.php:98
705
  #, fuzzy
706
  msgid "Location of thumbnail:"
707
  msgstr "日志缩略图位置:"
708
 
709
+ #: admin/metabox.php:100
710
  msgid ""
711
  "Enter the full URL to the image (JPG, PNG or GIF) you'd like to use. This "
712
  "image will be used for the post. It will be resized to the thumbnail size "
713
  "set under Settings &raquo; Related Posts &raquo; Output Options"
714
  msgstr ""
715
 
716
+ #: admin/metabox.php:101
717
  msgid "The URL above is saved in the meta field:"
718
  msgstr ""
719
 
720
+ #: admin/metabox.php:106
721
  msgid ""
722
  "You have Top 10 WordPress Plugin installed. If you are trying to modify the "
723
  "thumbnail, then you'll need to make the same change in the Top 10 meta box "
724
  "on this page."
725
  msgstr ""
726
 
727
+ #: admin/metabox.php:117
728
  msgid "Disable Related Posts display:"
729
  msgstr ""
730
 
731
+ #: admin/metabox.php:120
732
  msgid ""
733
  "If this is checked, then Contextual Related Posts will not automatically "
734
  "insert the related posts at the end of post content."
735
  msgstr ""
736
 
737
+ #: admin/metabox.php:125 admin/metabox.php:133
738
  msgid "Manual related posts:"
739
  msgstr ""
740
 
741
+ #: admin/metabox.php:127
742
  msgid ""
743
  "Comma separated list of post, page or custom post type IDs. e.g. "
744
  "188,320,500. These will be given preference over the related posts generated "
745
  "by the plugin."
746
  msgstr ""
747
 
748
+ #: admin/metabox.php:128
749
  msgid ""
750
  "Once you enter the list above and save this page, the plugin will display "
751
  "the titles of the posts below for your reference. Only IDs corresponding to "
752
  "published posts or custom post types will be retained."
753
  msgstr ""
754
 
755
+ #: admin/metabox.php:142
756
  msgid "This post type is:"
757
  msgstr ""
758
 
778
  msgid "Follow me"
779
  msgstr ""
780
 
781
+ #: admin/sidebar-view.php:66
782
  #, fuzzy
783
  msgid "Quick links"
784
  msgstr "快捷链接"
785
 
786
+ #: admin/sidebar-view.php:70
787
  msgid "Plugin homepage"
788
  msgstr ""
789
 
790
+ #: admin/sidebar-view.php:71
791
  msgid "FAQ"
792
  msgstr ""
793
 
794
+ #: admin/sidebar-view.php:73
795
  msgid "Reviews"
796
  msgstr ""
797
 
798
+ #: admin/sidebar-view.php:74
799
  msgid "Github repository"
800
  msgstr ""
801
 
802
+ #: admin/sidebar-view.php:75
803
  msgid "Other plugins"
804
  msgstr "其他插件"
805
 
806
+ #: admin/sidebar-view.php:76
807
  msgid "Ajay's blog"
808
  msgstr "Ajay 的博客"
809
 
810
+ #: contextual-related-posts.php:232
811
  #, php-format
812
  msgid "Powered by <a href=\"%s\" rel=\"nofollow\">Contextual Related Posts</a>"
813
  msgstr ""
814
 
815
+ #: contextual-related-posts.php:710
816
  msgid "<h3>Related Posts:</h3>"
817
  msgstr "<h3>相关日志:</h3>"
818
 
819
+ #: contextual-related-posts.php:712
820
  #, fuzzy
821
  msgid "No related posts found"
822
  msgstr "没有发现相关日志"
881
  msgid "Post types to include:"
882
  msgstr ""
883
 
884
+ #: includes/media.php:67
885
  msgid "thumb_timthumb argument has been deprecated"
886
  msgstr ""
887
 
888
+ #: includes/media.php:71
889
  msgid "thumb_timthumb_q argument has been deprecated"
890
  msgstr ""
891
 
892
+ #: includes/media.php:75
893
  msgid "filter argument has been deprecated"
894
  msgstr ""
895
 
languages/crp-fr_FR.mo DELETED
Binary file
languages/crp-ro_RO.mo DELETED
Binary file
languages/index.php CHANGED
@@ -1 +1 @@
1
- <?php // Silence is golden
1
+ <?php // Silence is golden
readme.txt CHANGED
@@ -178,6 +178,16 @@ In addition to the above, the shortcode takes every option that the plugin suppo
178
 
179
  == Changelog ==
180
 
 
 
 
 
 
 
 
 
 
 
181
  = 2.2.2 =
182
 
183
  * Features:
@@ -280,7 +290,7 @@ For the changelog of earlier versions, please refer to the separate changelog.tx
280
 
281
  == Upgrade Notice ==
282
 
283
- = 2.2.2 =
284
  * New features. Deprecated functions. Upgrade highly recommended. Please do verify your settings after the upgrade.
285
  Check the Changelog for more details
286
 
178
 
179
  == Changelog ==
180
 
181
+ = 2.2.3 =
182
+
183
+ * Enhancements:
184
+ * Changed text domain to `contextual-related-posts` in advance of translate.wordpress.org translation system
185
+ * Improved support for WPML. If available, same language posts will be pulled by default. To restrict to the same language [add this code](https://gist.github.com/ajaydsouza/9b1bc56cec79295e784c) to your theme's functions.php file
186
+ * Removed `id` tag from related posts HTML output to make it W3C compliant. If you're using the id with your custom styles, please change this to classes i.e. change `#crp_related` to `.crp_related` and it should work
187
+
188
+ * Bug fixes:
189
+ * All cache entries were not deleted on uninstall
190
+
191
  = 2.2.2 =
192
 
193
  * Features:
290
 
291
  == Upgrade Notice ==
292
 
293
+ = 2.2.3 =
294
  * New features. Deprecated functions. Upgrade highly recommended. Please do verify your settings after the upgrade.
295
  Check the Changelog for more details
296
 
uninstall.php CHANGED
@@ -1,67 +1,58 @@
1
- <?php
2
- /**
3
- * Fired when the plugin is uninstalled
4
- *
5
- * @package Contextual_Related_Posts
6
- */
7
-
8
- if ( !defined( 'WP_UNINSTALL_PLUGIN' ) ) {
9
- exit();
10
- }
11
-
12
-
13
- global $wpdb;
14
-
15
- $option_name = 'ald_crp_settings';
16
-
17
- if ( !is_multisite() ) {
18
-
19
- $wpdb->query( "ALTER TABLE " . $wpdb->posts . " DROP INDEX crp_related" );
20
- $wpdb->query( "ALTER TABLE " . $wpdb->posts . " DROP INDEX crp_related_title" );
21
- $wpdb->query( "ALTER TABLE " . $wpdb->posts . " DROP INDEX crp_related_content" );
22
-
23
- $wpdb->query("
24
- DELETE FROM " . $wpdb->postmeta . "
25
- WHERE meta_key='crp_related_posts'
26
- ");
27
-
28
- $wpdb->query("
29
- DELETE FROM " . $wpdb->postmeta . "
30
- WHERE meta_key='crp_related_posts_widget'
31
- ");
32
-
33
- delete_option( $option_name );
34
-
35
- } else {
36
-
37
- // Get all blogs in the network and activate plugin on each one
38
- $blog_ids = $wpdb->get_col( "
39
- SELECT blog_id FROM $wpdb->blogs
40
- WHERE archived = '0' AND spam = '0' AND deleted = '0'
41
- " );
42
- foreach ( $blog_ids as $blog_id ) {
43
- switch_to_blog( $blog_id );
44
-
45
- $wpdb->query( "ALTER TABLE " . $wpdb->posts . " DROP INDEX crp_related" );
46
- $wpdb->query( "ALTER TABLE " . $wpdb->posts . " DROP INDEX crp_related_title" );
47
- $wpdb->query( "ALTER TABLE " . $wpdb->posts . " DROP INDEX crp_related_content" );
48
-
49
- $wpdb->query("
50
- DELETE FROM " . $wpdb->postmeta . "
51
- WHERE meta_key='crp_related_posts'
52
- ");
53
-
54
- $wpdb->query("
55
- DELETE FROM " . $wpdb->postmeta . "
56
- WHERE meta_key='crp_related_posts_widget'
57
- ");
58
-
59
- delete_option( $option_name );
60
-
61
- }
62
-
63
- // Switch back to the current blog
64
- restore_current_blog();
65
-
66
- }
67
- ?>
1
+ <?php
2
+ /**
3
+ * Fired when the plugin is uninstalled
4
+ *
5
+ * @package Contextual_Related_Posts
6
+ */
7
+
8
+ if ( ! defined( 'WP_UNINSTALL_PLUGIN' ) ) {
9
+ exit;
10
+ }
11
+
12
+
13
+ global $wpdb;
14
+
15
+ $option_name = 'ald_crp_settings';
16
+
17
+ if ( ! is_multisite() ) {
18
+
19
+ $wpdb->query( "ALTER TABLE {$wpdb->posts} DROP INDEX crp_related" );
20
+ $wpdb->query( "ALTER TABLE {$wpdb->posts} DROP INDEX crp_related_title" );
21
+ $wpdb->query( "ALTER TABLE {$wpdb->posts} DROP INDEX crp_related_content" );
22
+
23
+ $wpdb->query( "
24
+ DELETE FROM {$wpdb->postmeta}
25
+ WHERE meta_key LIKE 'crp_related_posts%'
26
+ " );
27
+
28
+ delete_option( $option_name );
29
+
30
+ } else {
31
+
32
+ // Get all blogs in the network and activate plugin on each one
33
+ $blog_ids = $wpdb->get_col( "
34
+ SELECT blog_id FROM $wpdb->blogs
35
+ WHERE archived = '0' AND spam = '0' AND deleted = '0'
36
+ " );
37
+
38
+ foreach ( $blog_ids as $blog_id ) {
39
+ switch_to_blog( $blog_id );
40
+
41
+ $wpdb->query( "ALTER TABLE {$wpdb->posts} DROP INDEX crp_related" );
42
+ $wpdb->query( "ALTER TABLE {$wpdb->posts} DROP INDEX crp_related_title" );
43
+ $wpdb->query( "ALTER TABLE {$wpdb->posts} DROP INDEX crp_related_content" );
44
+
45
+ $wpdb->query( "
46
+ DELETE FROM {$wpdb->postmeta}
47
+ WHERE meta_key LIKE 'crp_related_posts%'
48
+ " );
49
+
50
+ delete_option( $option_name );
51
+
52
+ }
53
+
54
+ // Switch back to the current blog
55
+ restore_current_blog();
56
+
57
+ }
58
+