Contextual Related Posts - Version 1.6

Version Description

  • New: The plugin extracts the first image in the post and displays that if the post thumbnail and the post-image meta field is missing
  • New: Display excerpts in the list
  • New: Credit link to the CRP page added. You can choose to turn this off, though I would appreciate if you leave it on.
  • Updated: All parts of the list are now wrapped in classes for easy CSS customisation
Download this release

Release Info

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

Code changes from version 1.5.2 to 1.6

admin-styles.css ADDED
@@ -0,0 +1,69 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #options-div
2
+ {
3
+ width:570px;
4
+ overflow:hidden;
5
+ display:block;
6
+ float:left;
7
+ margin:0;
8
+ padding:10px;
9
+ }
10
+
11
+ #side
12
+ {
13
+ width:300px;
14
+ min-height:440px;
15
+ margin-left:610px;
16
+ padding:10px;
17
+ }
18
+
19
+ #side .side-widget
20
+ {
21
+ background:#FFF;
22
+ border:solid 1px #DDD;
23
+ margin-bottom:10px;
24
+ border-width:0 1px 1px;
25
+ }
26
+
27
+ .side-widget span.title
28
+ {
29
+ background: #E6EADB;
30
+ border: #E1D6C6 1px solid;
31
+ border-bottom: #F3F6ED 0px solid;
32
+ color: #676E04;
33
+ font-size: 1em;
34
+ font-weight: bold;
35
+ height: 22px;
36
+ padding: 2px;
37
+ text-align: center;
38
+ display: block;
39
+ }
40
+
41
+ .side-widget p
42
+ {
43
+ padding:10px;
44
+ }
45
+
46
+ .side-widget ul
47
+ {
48
+ margin:10px 5px 5px;
49
+ }
50
+
51
+ .side-widget ul li
52
+ {
53
+ list-style:square;
54
+ padding-bottom:3px;
55
+ margin-left:20px;
56
+ }
57
+
58
+ .side-widget span.rss-date
59
+ {
60
+ color:#999;
61
+ font:normal normal 10px/12px Georgia, "Times New Roman", Times, serif;
62
+ }
63
+
64
+ #donate-form
65
+ {
66
+ background:#c9defa;
67
+ padding:10px;
68
+ text-align: center;
69
+ }
admin.inc.php CHANGED
@@ -4,18 +4,6 @@
4
  *********************************************************************/
5
  if (!defined('ABSPATH')) die("Aren't you supposed to come here via WP-Admin?");
6
 
7
- if (!defined('CRP_LOCAL_NAME')) define('CRP_LOCAL_NAME', 'better-search');
8
-
9
- // Pre-2.6 compatibility
10
- if ( !defined('WP_CONTENT_URL') )
11
- define( 'WP_CONTENT_URL', get_option('siteurl') . '/wp-content');
12
- if ( !defined('WP_CONTENT_DIR') )
13
- define( 'WP_CONTENT_DIR', ABSPATH . 'wp-content' );
14
- // Guess the location
15
- $crp_path = WP_CONTENT_DIR.'/plugins/'.plugin_basename(dirname(__FILE__));
16
- $crp_url = WP_CONTENT_URL.'/plugins/'.plugin_basename(dirname(__FILE__));
17
-
18
-
19
  function crp_options() {
20
 
21
  global $wpdb;
@@ -33,6 +21,7 @@ function crp_options() {
33
  $crp_settings[match_content] = (($_POST['match_content']) ? true : false);
34
  $crp_settings[exclude_pages] = (($_POST['exclude_pages']) ? true : false);
35
  $crp_settings[blank_output] = (($_POST['blank_output'] == 'blank' ) ? true : false);
 
36
  $crp_settings[post_thumb_op] = $_POST['post_thumb_op'];
37
  $crp_settings[before_list] = $_POST['before_list'];
38
  $crp_settings[after_list] = $_POST['after_list'];
@@ -42,7 +31,10 @@ function crp_options() {
42
  $crp_settings[thumb_default] = $_POST['thumb_default'];
43
  $crp_settings[thumb_height] = intval($_POST['thumb_height']);
44
  $crp_settings[thumb_width] = intval($_POST['thumb_width']);
45
-
 
 
 
46
 
47
  $exclude_categories_slugs = explode(", ",$crp_settings[exclude_cat_slugs]);
48
 
@@ -86,21 +78,7 @@ function crp_options() {
86
 
87
  <div class="wrap">
88
  <h2>Contextual Related Posts</h2>
89
- <div style="border: #ccc 1px solid; padding: 10px">
90
- <fieldset class="options">
91
- <legend>
92
- <h3>
93
- <?php _e('Support the Development',CRP_LOCAL_NAME); ?>
94
- </h3>
95
- </legend>
96
- <p>
97
- <?php _e('If you find ',CRP_LOCAL_NAME); ?>
98
- <a href="http://ajaydsouza.com/wordpress/plugins/contextual-related-posts/">Contextual Related Posts</a>
99
- <?php _e('useful, please do',CRP_LOCAL_NAME); ?>
100
- <a href="https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&amp;business=donate@ajaydsouza.com&amp;item_name=Related%20Posts%20(From%20WP-Admin)&amp;no_shipping=1&amp;return=http://ajaydsouza.com/wordpress/plugins/contextual-related-posts/&amp;cancel_return=http://ajaydsouza.com/wordpress/plugins/contextual-related-posts/&amp;cn=Note%20to%20Author&amp;tax=0&amp;currency_code=USD&amp;bn=PP-DonationsBF&amp;charset=UTF-8" title="Donate via PayPal"><?php _e('drop in your contribution',CRP_LOCAL_NAME); ?></a>.
101
- (<a href="http://ajaydsouza.com/donate/"><?php _e('Some reasons why you should.',CRP_LOCAL_NAME); ?></a>)</p>
102
- </fieldset>
103
- </div>
104
  <form method="post" id="crp_options" name="crp_options" style="border: #ccc 1px solid; padding: 10px" onsubmit="return checkForm()">
105
  <fieldset class="options">
106
  <legend>
@@ -159,6 +137,12 @@ function crp_options() {
159
  <?php _e('Exclude Pages in Related Posts',CRP_LOCAL_NAME); ?>
160
  </label>
161
  </p>
 
 
 
 
 
 
162
  <h4>
163
  <?php _e('Output Options:',CRP_LOCAL_NAME); ?>
164
  </h4>
@@ -178,6 +162,18 @@ function crp_options() {
178
  <?php _e('Display "No Related Posts"',CRP_LOCAL_NAME); ?></label>
179
  <br />
180
  </p>
 
 
 
 
 
 
 
 
 
 
 
 
181
  <h4><?php _e('Customize the output:',CRP_LOCAL_NAME); ?></h4>
182
  <p>
183
  <label>
@@ -224,6 +220,12 @@ function crp_options() {
224
  <input type="textbox" name="thumb_meta" id="thumb_meta" value="<?php echo attribute_escape(stripslashes($crp_settings[thumb_meta])); ?>">
225
  </label>
226
  </p>
 
 
 
 
 
 
227
  <p><strong><?php _e('Thumbnail dimensions:',CRP_LOCAL_NAME); ?></strong><br />
228
  <label>
229
  <?php _e('Max width: ',CRP_LOCAL_NAME); ?>
@@ -245,6 +247,44 @@ function crp_options() {
245
  </p>
246
  </fieldset>
247
  </form>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
248
  </div>
249
  <?php
250
 
@@ -266,7 +306,7 @@ function crp_adminmenu() {
266
  }
267
 
268
  if ((function_exists('add_options_page'))&&($crp_is_admin)) {
269
- $plugin_page = add_options_page(__("Related Posts", CRP_LOCAL_NAME), __("Related Posts", CRP_LOCAL_NAME), 9, 'crp_options', 'crp_options');
270
  add_action( 'admin_head-'. $plugin_page, 'crp_adminhead' );
271
  }
272
 
@@ -278,6 +318,7 @@ function crp_adminhead() {
278
 
279
  ?>
280
  <link rel="stylesheet" type="text/css" href="<?php echo $crp_url ?>/wick/wick.css" />
 
281
  <script type="text/javascript" language="JavaScript">
282
  function checkForm() {
283
  answer = true;
4
  *********************************************************************/
5
  if (!defined('ABSPATH')) die("Aren't you supposed to come here via WP-Admin?");
6
 
 
 
 
 
 
 
 
 
 
 
 
 
7
  function crp_options() {
8
 
9
  global $wpdb;
21
  $crp_settings[match_content] = (($_POST['match_content']) ? true : false);
22
  $crp_settings[exclude_pages] = (($_POST['exclude_pages']) ? true : false);
23
  $crp_settings[blank_output] = (($_POST['blank_output'] == 'blank' ) ? true : false);
24
+ $crp_settings[blank_output_text] = $_POST['blank_output_text'];
25
  $crp_settings[post_thumb_op] = $_POST['post_thumb_op'];
26
  $crp_settings[before_list] = $_POST['before_list'];
27
  $crp_settings[after_list] = $_POST['after_list'];
31
  $crp_settings[thumb_default] = $_POST['thumb_default'];
32
  $crp_settings[thumb_height] = intval($_POST['thumb_height']);
33
  $crp_settings[thumb_width] = intval($_POST['thumb_width']);
34
+ $crp_settings[scan_images] = (($_POST['scan_images']) ? true : false);
35
+ $crp_settings[show_excerpt] = (($_POST['show_excerpt']) ? true : false);
36
+ $crp_settings[excerpt_length] = intval($_POST['excerpt_length']);
37
+ $crp_settings[show_credit] = (($_POST['show_credit']) ? true : false);
38
 
39
  $exclude_categories_slugs = explode(", ",$crp_settings[exclude_cat_slugs]);
40
 
78
 
79
  <div class="wrap">
80
  <h2>Contextual Related Posts</h2>
81
+ <div id="options-div">
 
 
 
 
 
 
 
 
 
 
 
 
 
 
82
  <form method="post" id="crp_options" name="crp_options" style="border: #ccc 1px solid; padding: 10px" onsubmit="return checkForm()">
83
  <fieldset class="options">
84
  <legend>
137
  <?php _e('Exclude Pages in Related Posts',CRP_LOCAL_NAME); ?>
138
  </label>
139
  </p>
140
+ <p>
141
+ <label>
142
+ <input type="checkbox" name="show_credit" id="show_credit" <?php if ($crp_settings[show_credit]) echo 'checked="checked"' ?> />
143
+ <?php _e('Append link to this plugin as item. Optional, but would be nice to give me some link love',CRP_LOCAL_NAME); ?>
144
+ </label>
145
+ </p>
146
  <h4>
147
  <?php _e('Output Options:',CRP_LOCAL_NAME); ?>
148
  </h4>
162
  <?php _e('Display "No Related Posts"',CRP_LOCAL_NAME); ?></label>
163
  <br />
164
  </p>
165
+ <p>
166
+ <label>
167
+ <input type="checkbox" name="show_excerpt" id="show_excerpt" <?php if ($crp_settings[show_excerpt]) echo 'checked="checked"' ?> />
168
+ <strong><?php _e('Show post excerpt in list?',CRP_LOCAL_NAME); ?></strong>
169
+ </label>
170
+ </p>
171
+ <p>
172
+ <label>
173
+ <?php _e('Length of excerpt (in words): ',CRP_LOCAL_NAME); ?>
174
+ <input type="textbox" name="excerpt_length" id="excerpt_length" value="<?php echo stripslashes($crp_settings[excerpt_length]); ?>">
175
+ </label>
176
+ </p>
177
  <h4><?php _e('Customize the output:',CRP_LOCAL_NAME); ?></h4>
178
  <p>
179
  <label>
220
  <input type="textbox" name="thumb_meta" id="thumb_meta" value="<?php echo attribute_escape(stripslashes($crp_settings[thumb_meta])); ?>">
221
  </label>
222
  </p>
223
+ <p>
224
+ <label>
225
+ <input type="checkbox" name="scan_images" id="scan_images" <?php if ($crp_settings[scan_images]) echo 'checked="checked"' ?> />
226
+ <?php _e('If the postmeta is not set, then should the plugin extract the first image from the post. This can slow down the loading of your post if the first image in the related posts is large in file-size',CRP_LOCAL_NAME); ?>
227
+ </label>
228
+ </p>
229
  <p><strong><?php _e('Thumbnail dimensions:',CRP_LOCAL_NAME); ?></strong><br />
230
  <label>
231
  <?php _e('Max width: ',CRP_LOCAL_NAME); ?>
247
  </p>
248
  </fieldset>
249
  </form>
250
+ </div>
251
+
252
+ <div id="side">
253
+ <div class="side-widget">
254
+ <span class="title"><?php _e('Quick links') ?></span>
255
+ <ul>
256
+ <li><a href="http://ajaydsouza.com/wordpress/plugins/contextual-related-posts/"><?php _e('Contextual Related Posts ');_e('plugin page',CRP_LOCAL_NAME) ?></a></li>
257
+ <li><a href="http://ajaydsouza.com/wordpress/plugins/"><?php _e('Other plugins',CRP_LOCAL_NAME) ?></a></li>
258
+ <li><a href="http://ajaydsouza.com/"><?php _e('Ajay\'s blog',CRP_LOCAL_NAME) ?></a></li>
259
+ <li><a href="http://ajaydsouza.org"><?php _e('Support forum',CRP_LOCAL_NAME) ?></a></li>
260
+ <li><a href="http://twitter.com/ajaydsouza"><?php _e('Follow @ajaydsouza on Twitter',CRP_LOCAL_NAME) ?></a></li>
261
+ </ul>
262
+ </div>
263
+ <div class="side-widget">
264
+ <span class="title"><?php _e('Recent developments',CRP_LOCAL_NAME) ?></span>
265
+ <?php require_once(ABSPATH . WPINC . '/rss.php'); wp_widget_rss_output('http://ajaydsouza.com/archives/category/wordpress/plugins/feed/', array('items' => 5, 'show_author' => 0, 'show_date' => 1));
266
+ ?>
267
+ </div>
268
+ <div class="side-widget">
269
+ <span class="title"><?php _e('Support the development',CRP_LOCAL_NAME) ?></span>
270
+ <div id="donate-form">
271
+ <form action="https://www.paypal.com/cgi-bin/webscr" method="post">
272
+ <input type="hidden" name="cmd" value="_xclick">
273
+ <input type="hidden" name="business" value="KGVN7LJLLZCMY">
274
+ <input type="hidden" name="lc" value="IN">
275
+ <input type="hidden" name="item_name" value="Donation for Contextual Related Posts">
276
+ <input type="hidden" name="item_number" value="crp">
277
+ <strong><?php _e('Enter amount in USD: ',CRP_LOCAL_NAME) ?></strong> <input name="amount" value="10.00" size="6" type="text"><br />
278
+ <input type="hidden" name="currency_code" value="USD">
279
+ <input type="hidden" name="button_subtype" value="services">
280
+ <input type="hidden" name="bn" value="PP-BuyNowBF:btn_donate_LG.gif:NonHosted">
281
+ <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?">
282
+ <img alt="" border="0" src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1">
283
+ </form>
284
+ </div>
285
+ </div>
286
+ </div>
287
+
288
  </div>
289
  <?php
290
 
306
  }
307
 
308
  if ((function_exists('add_options_page'))&&($crp_is_admin)) {
309
+ $plugin_page = add_options_page(__("Contextual Related Posts", CRP_LOCAL_NAME), __("Related Posts", CRP_LOCAL_NAME), 9, 'crp_options', 'crp_options');
310
  add_action( 'admin_head-'. $plugin_page, 'crp_adminhead' );
311
  }
312
 
318
 
319
  ?>
320
  <link rel="stylesheet" type="text/css" href="<?php echo $crp_url ?>/wick/wick.css" />
321
+ <link rel="stylesheet" type="text/css" href="<?php echo $crp_url ?>/admin-styles.css" />
322
  <script type="text/javascript" language="JavaScript">
323
  function checkForm() {
324
  answer = true;
contextual-related-posts.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  Plugin Name: Contextual Related Posts
4
- Version: 1.5.2
5
  Plugin URI: http://ajaydsouza.com/wordpress/plugins/contextual-related-posts/
6
  Description: Show user defined number of contextually related posts. Based on the plugin by <a href="http://weblogtoolscollection.com">Mark Ghosh</a>. <a href="options-general.php?page=crp_options">Configure...</a>
7
  Author: Ajay D'Souza
@@ -13,6 +13,20 @@ if (!defined('ABSPATH')) die("Aren't you supposed to come here via WP-Admin?");
13
  define('ALD_crp_DIR', dirname(__FILE__));
14
  define('CRP_LOCAL_NAME', 'crp');
15
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
16
  function ald_crp_init() {
17
  //* Begin Localization Code */
18
  $crp_localizationName = CRP_LOCAL_NAME;
@@ -47,7 +61,7 @@ function ald_crp() {
47
 
48
 
49
  if ((is_int($post->ID))&&($stuff != '')) {
50
- $sql = "SELECT DISTINCT ID,post_title,post_date,"
51
  . "MATCH(post_title,post_content) AGAINST ('".$stuff."') AS score "
52
  . "FROM ".$wpdb->posts." WHERE "
53
  . "MATCH (post_title,post_content) AGAINST ('".$stuff."') "
@@ -82,25 +96,37 @@ function ald_crp() {
82
  if (($crp_settings['post_thumb_op']=='inline')||($crp_settings['post_thumb_op']=='thumbs_only')) {
83
  $output .= '<a href="'.get_permalink($search->ID).'" rel="bookmark">';
84
  if ((function_exists('has_post_thumbnail')) && (has_post_thumbnail($search->ID))) {
85
- $output .= get_the_post_thumbnail( $search->ID, array($crp_settings[thumb_width],$crp_settings[thumb_height]), array('title' => $title,'alt' => $title));
86
  } else {
87
  $postimage = get_post_meta($search->ID, $crp_settings[thumb_meta], true);
88
- if ($postimage) {
89
- $output .= '<img src="'.$postimage.'" alt="'.$title.'" title="'.$title.'" width="'.$crp_settings[thumb_width].'" height="'.$crp_settings[thumb_height].'" />';
90
- } else {
91
- $output .= '<img src="'.$crp_settings[thumb_default].'" alt="'.$title.'" title="'.$title.'" width="'.$crp_settings[thumb_width].'" height="'.$crp_settings[thumb_height].'" />';
 
 
92
  }
 
 
93
  }
94
  $output .= '</a> ';
95
  }
96
  if (($crp_settings['post_thumb_op']=='inline')||($crp_settings['post_thumb_op']=='text_only')) {
97
- $output .= '<a href="'.get_permalink($search->ID).'" rel="bookmark">'.$title.'</a>';
 
 
 
98
  }
99
  $output .= $crp_settings['after_list_item'];
100
  $search_counter++;
101
  }
102
  if ($search_counter == $limit) break; // End loop when related posts limit is reached
103
  } //end of foreach loop
 
 
 
 
 
104
  $output .= $crp_settings['after_list'];
105
  }else{
106
  $output = '<div id="crp_related">';
@@ -140,8 +166,9 @@ function echo_ald_crp() {
140
 
141
  // Default Options
142
  function crp_default_options() {
 
143
  $title = __('<h3>Related Posts:</h3>',CRP_LOCAL_NAME);
144
- $thumb_default = get_bloginfo('wpurl').'/wp-content/plugins/contextual-related-posts/default.png';
145
 
146
  $crp_settings = Array (
147
  title => $title, // Add before the content
@@ -149,6 +176,7 @@ function crp_default_options() {
149
  add_to_page => false, // Add related posts to content (only on single pages)
150
  add_to_feed => true, // Add related posts to feed
151
  limit => '5', // How many posts to display?
 
152
  match_content => true, // Match against post content as well as title
153
  exclude_pages => true, // Exclude Pages
154
  blank_output => true, // Blank output?
@@ -159,10 +187,13 @@ function crp_default_options() {
159
  before_list_item => '<li>', // Before each list item
160
  after_list_item => '</li>', // After each list item
161
  post_thumb_op => 'text_only', // Display only text in posts
162
- thumb_height => '100', // Height of thumbnails
163
- thumb_width => '100', // Width of thumbnails
164
  thumb_meta => 'post-image', // Meta field that is used to store the location of default thumbnail image
165
  thumb_default => $thumb_default, // Default thumbnail image
 
 
 
166
  );
167
  return $crp_settings;
168
  }
@@ -204,10 +235,29 @@ if (function_exists('register_activation_hook')) {
204
  register_activation_hook(__FILE__,'ald_crp_activate');
205
  }
206
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
207
  // This function adds an Options page in WP Admin
208
  if (is_admin() || strstr($_SERVER['PHP_SELF'], 'wp-admin/')) {
209
  require_once(ALD_crp_DIR . "/admin.inc.php");
210
- }
211
 
212
  // Add meta links
213
  function crp_plugin_actions( $links, $file ) {
@@ -215,7 +265,7 @@ function crp_plugin_actions( $links, $file ) {
215
 
216
  // create link
217
  if ($file == $plugin) {
218
- $links[] = '<a href="' . admin_url( 'options-general.php?page=crp_options' ) . '">' . __('Settings', crp_LOCAL_NAME ) . '</a>';
219
  $links[] = '<a href="http://ajaydsouza.org">' . __('Support', CRP_LOCAL_NAME ) . '</a>';
220
  $links[] = '<a href="http://ajaydsouza.com/donate/">' . __('Donate', CRP_LOCAL_NAME ) . '</a>';
221
  }
@@ -226,5 +276,6 @@ if ( version_compare( $wp_version, '2.8alpha', '>' ) )
226
  add_filter( 'plugin_row_meta', 'crp_plugin_actions', 10, 2 ); // only 2.8 and higher
227
  else add_filter( 'plugin_action_links', 'crp_plugin_actions', 10, 2 );
228
 
 
229
 
230
  ?>
1
  <?php
2
  /*
3
  Plugin Name: Contextual Related Posts
4
+ Version: 1.6
5
  Plugin URI: http://ajaydsouza.com/wordpress/plugins/contextual-related-posts/
6
  Description: Show user defined number of contextually related posts. Based on the plugin by <a href="http://weblogtoolscollection.com">Mark Ghosh</a>. <a href="options-general.php?page=crp_options">Configure...</a>
7
  Author: Ajay D'Souza
13
  define('ALD_crp_DIR', dirname(__FILE__));
14
  define('CRP_LOCAL_NAME', 'crp');
15
 
16
+ // Pre-2.6 compatibility
17
+ if ( ! defined( 'WP_CONTENT_URL' ) )
18
+ define( 'WP_CONTENT_URL', get_option( 'siteurl' ) . '/wp-content' );
19
+ if ( ! defined( 'WP_CONTENT_DIR' ) )
20
+ define( 'WP_CONTENT_DIR', ABSPATH . 'wp-content' );
21
+ if ( ! defined( 'WP_PLUGIN_URL' ) )
22
+ define( 'WP_PLUGIN_URL', WP_CONTENT_URL. '/plugins' );
23
+ if ( ! defined( 'WP_PLUGIN_DIR' ) )
24
+ define( 'WP_PLUGIN_DIR', WP_CONTENT_DIR . '/plugins' );
25
+
26
+ // Guess the location
27
+ $crp_path = WP_PLUGIN_DIR.'/'.plugin_basename(dirname(__FILE__));
28
+ $crp_url = WP_PLUGIN_URL.'/'.plugin_basename(dirname(__FILE__));
29
+
30
  function ald_crp_init() {
31
  //* Begin Localization Code */
32
  $crp_localizationName = CRP_LOCAL_NAME;
61
 
62
 
63
  if ((is_int($post->ID))&&($stuff != '')) {
64
+ $sql = "SELECT DISTINCT ID,post_title,post_date,post_content,"
65
  . "MATCH(post_title,post_content) AGAINST ('".$stuff."') AS score "
66
  . "FROM ".$wpdb->posts." WHERE "
67
  . "MATCH (post_title,post_content) AGAINST ('".$stuff."') "
96
  if (($crp_settings['post_thumb_op']=='inline')||($crp_settings['post_thumb_op']=='thumbs_only')) {
97
  $output .= '<a href="'.get_permalink($search->ID).'" rel="bookmark">';
98
  if ((function_exists('has_post_thumbnail')) && (has_post_thumbnail($search->ID))) {
99
+ $output .= get_the_post_thumbnail( $search->ID, array($crp_settings[thumb_width],$crp_settings[thumb_height]), array('title' => $title,'alt' => $title,'class' => 'crp_thumb'));
100
  } else {
101
  $postimage = get_post_meta($search->ID, $crp_settings[thumb_meta], true);
102
+ if ((!$postimage)&&($crp_settings['scan_images'])) {
103
+ preg_match_all( '|<img.*?src=[\'"](.*?)[\'"].*?>|i', $search->post_content, $matches );
104
+ // any image there?
105
+ if( isset( $matches ) && $matches[1][0] ) {
106
+ $postimage = $matches[1][0]; // we need the first one only!
107
+ }
108
  }
109
+ if (!$postimage) $postimage = $crp_settings[thumb_default];
110
+ $output .= '<img src="'.$postimage.'" alt="'.$title.'" title="'.$title.'" width="'.$crp_settings[thumb_width].'" height="'.$crp_settings[thumb_height].'" class="crp_thumb" />';
111
  }
112
  $output .= '</a> ';
113
  }
114
  if (($crp_settings['post_thumb_op']=='inline')||($crp_settings['post_thumb_op']=='text_only')) {
115
+ $output .= '<a href="'.get_permalink($search->ID).'" rel="bookmark" class="crp_title">'.$title.'</a>';
116
+ }
117
+ if ($crp_settings['show_excerpt']) {
118
+ $output .= '<span class="crp_excerpt"> '.crp_excerpt($search->post_content,$crp_settings['excerpt_length']).'</span>';
119
  }
120
  $output .= $crp_settings['after_list_item'];
121
  $search_counter++;
122
  }
123
  if ($search_counter == $limit) break; // End loop when related posts limit is reached
124
  } //end of foreach loop
125
+ if ($crp_settings['show_credit']) {
126
+ $output .= $crp_settings['before_list_item'];
127
+ $output .= __('Powered by',CRP_LOCAL_NAME);
128
+ $output .= ' <a href="http://ajaydsouza.com/wordpress/plugins/contextual-related-posts/">Contextual Related Posts</a>'.$crp_settings['after_list_item'];
129
+ }
130
  $output .= $crp_settings['after_list'];
131
  }else{
132
  $output = '<div id="crp_related">';
166
 
167
  // Default Options
168
  function crp_default_options() {
169
+ global $crp_url;
170
  $title = __('<h3>Related Posts:</h3>',CRP_LOCAL_NAME);
171
+ $thumb_default = $crp_url.'/default.png';
172
 
173
  $crp_settings = Array (
174
  title => $title, // Add before the content
176
  add_to_page => false, // Add related posts to content (only on single pages)
177
  add_to_feed => true, // Add related posts to feed
178
  limit => '5', // How many posts to display?
179
+ show_credit => true, // Link to this plugin's page?
180
  match_content => true, // Match against post content as well as title
181
  exclude_pages => true, // Exclude Pages
182
  blank_output => true, // Blank output?
187
  before_list_item => '<li>', // Before each list item
188
  after_list_item => '</li>', // After each list item
189
  post_thumb_op => 'text_only', // Display only text in posts
190
+ thumb_height => '50', // Height of thumbnails
191
+ thumb_width => '50', // Width of thumbnails
192
  thumb_meta => 'post-image', // Meta field that is used to store the location of default thumbnail image
193
  thumb_default => $thumb_default, // Default thumbnail image
194
+ scan_images => false, // Scan post for images
195
+ show_excerpt => false, // Show description in list item
196
+ excerpt_length => '10', // Length of characters
197
  );
198
  return $crp_settings;
199
  }
235
  register_activation_hook(__FILE__,'ald_crp_activate');
236
  }
237
 
238
+ function crp_excerpt($content,$excerpt_length){
239
+ $out = strip_tags($content);
240
+ $blah = explode(' ',$out);
241
+ if (!$excerpt_length) $excerpt_length = 10;
242
+ if(count($blah) > $excerpt_length){
243
+ $k = $excerpt_length;
244
+ $use_dotdotdot = 1;
245
+ }else{
246
+ $k = count($blah);
247
+ $use_dotdotdot = 0;
248
+ }
249
+ $excerpt = '';
250
+ for($i=0; $i<$k; $i++){
251
+ $excerpt .= $blah[$i].' ';
252
+ }
253
+ $excerpt .= ($use_dotdotdot) ? '...' : '';
254
+ $out = $excerpt;
255
+ return $out;
256
+ }
257
+
258
  // This function adds an Options page in WP Admin
259
  if (is_admin() || strstr($_SERVER['PHP_SELF'], 'wp-admin/')) {
260
  require_once(ALD_crp_DIR . "/admin.inc.php");
 
261
 
262
  // Add meta links
263
  function crp_plugin_actions( $links, $file ) {
265
 
266
  // create link
267
  if ($file == $plugin) {
268
+ $links[] = '<a href="' . admin_url( 'options-general.php?page=crp_options' ) . '">' . __('Settings', CRP_LOCAL_NAME ) . '</a>';
269
  $links[] = '<a href="http://ajaydsouza.org">' . __('Support', CRP_LOCAL_NAME ) . '</a>';
270
  $links[] = '<a href="http://ajaydsouza.com/donate/">' . __('Donate', CRP_LOCAL_NAME ) . '</a>';
271
  }
276
  add_filter( 'plugin_row_meta', 'crp_plugin_actions', 10, 2 ); // only 2.8 and higher
277
  else add_filter( 'plugin_action_links', 'crp_plugin_actions', 10, 2 );
278
 
279
+ }
280
 
281
  ?>
languages/crp-da_DK.mo CHANGED
Binary file
languages/crp-da_DK.po CHANGED
@@ -2,9 +2,9 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Contextual Related Posts 1.5.1\n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2010-01-09 10:16+0100\n"
6
  "PO-Revision-Date: \n"
7
- "Last-Translator: Team Blogos <wordpress@blogos.dk>\n"
8
  "Language-Team: Team Blogos <wordpress@blogos.dk>\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
@@ -17,176 +17,237 @@ msgstr ""
17
  "X-Poedit-Basepath: d:\\wordpress\\plugins\\contextual-related-posts\n"
18
  "X-Poedit-SearchPath-0: d:\\wordpress\\plugins\\contextual-related-posts\n"
19
 
20
- #: d:\wordpress\plugins\contextual-related-posts/admin.inc.php:58
21
  msgid "Options saved successfully."
22
  msgstr "Indstillingerne blev gemt."
23
 
24
- #: d:\wordpress\plugins\contextual-related-posts/admin.inc.php:67
25
  msgid "Options set to Default."
26
  msgstr "Indstillingerne sat til standardværdier."
27
 
28
- #: d:\wordpress\plugins\contextual-related-posts/admin.inc.php:82
29
  msgid "Index recreated"
30
  msgstr "Indeks blev gendannet"
31
 
32
- #: d:\wordpress\plugins\contextual-related-posts/admin.inc.php:93
33
- msgid "Support the Development"
34
- msgstr "Støt udviklingen"
35
-
36
- #: d:\wordpress\plugins\contextual-related-posts/admin.inc.php:97
37
- msgid "If you find "
38
- msgstr "Hvis du finder "
39
-
40
- #: d:\wordpress\plugins\contextual-related-posts/admin.inc.php:99
41
- msgid "useful, please do"
42
- msgstr "brugbar, så venligst"
43
-
44
- #: d:\wordpress\plugins\contextual-related-posts/admin.inc.php:100
45
- msgid "drop in your contribution"
46
- msgstr "giv et bidrag"
47
-
48
- #: d:\wordpress\plugins\contextual-related-posts/admin.inc.php:101
49
- msgid "Some reasons why you should."
50
- msgstr "Nogle grunde til, du skulle gøre det."
51
-
52
- #: d:\wordpress\plugins\contextual-related-posts/admin.inc.php:108
53
  msgid "Options:"
54
  msgstr "Indstillinger:"
55
 
56
- #: d:\wordpress\plugins\contextual-related-posts/admin.inc.php:113
57
  msgid "Number of related posts to display: "
58
  msgstr "Antal Lignende indlæg, der skal vises: "
59
 
60
- #: d:\wordpress\plugins\contextual-related-posts/admin.inc.php:117
61
  msgid "Exclude Categories: "
62
  msgstr "Udelad kategorier: "
63
 
64
- #: d:\wordpress\plugins\contextual-related-posts/admin.inc.php:135
65
  msgid "Add related posts to the post content on single posts. <br />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"
66
  msgstr "Tilføj Lignende indlæg til indlæggenes indhold i enkelt-indlæg. <br />Hvis du vælger at deaktivere dette, skal du tilføje <code>&lt;?php if(function_exists('echo_ald_crp')) echo_ald_crp(); ?&gt;</code> til din skabelonfil, hvor du ønsker de lignende indlæg vist"
67
 
68
- #: d:\wordpress\plugins\contextual-related-posts/admin.inc.php:141
69
  msgid "Add related posts to pages. <br />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"
70
  msgstr "Tilføj Lignende indlæg til statiske sider. <br />Hvis du vælger at deaktivere dette, skal du tilføje <code>&lt;?php if(function_exists('echo_ald_crp')) echo_ald_crp(); ?&gt;</code> til din skabelonfil, hvor du ønsker de lignende indlæg vist"
71
 
72
- #: d:\wordpress\plugins\contextual-related-posts/admin.inc.php:147
73
  msgid "Add related posts to feed"
74
  msgstr "Tilføj Lignende indlæg til feeds"
75
 
76
- #: d:\wordpress\plugins\contextual-related-posts/admin.inc.php:153
77
  msgid "Find related posts based on content as well as title. If unchecked, only posts titles are used. (I recommend using a caching plugin if you enable this)"
78
  msgstr "Find Lignende indlæg ud fra såvel indhold som titel. Hvis umarkeret, bruges kun indlæggenes titler (jeg anbefaler et cache-plugin, hvis du aktiverer dette)"
79
 
80
- #: d:\wordpress\plugins\contextual-related-posts/admin.inc.php:159
81
  msgid "Exclude Pages in Related Posts"
82
  msgstr "Udelad sider i Lignende indlæg"
83
 
84
- #: d:\wordpress\plugins\contextual-related-posts/admin.inc.php:163
 
 
 
 
85
  msgid "Output Options:"
86
  msgstr "Indstillinger for output:"
87
 
88
- #: d:\wordpress\plugins\contextual-related-posts/admin.inc.php:167
89
  msgid "Title of related posts: "
90
  msgstr "Titel på Lignende indlæg: "
91
 
92
- #: d:\wordpress\plugins\contextual-related-posts/admin.inc.php:171
93
  msgid "When there are no posts, what should be shown?"
94
  msgstr "Hvad skal der vises, hvis der ingen indlæg er?"
95
 
96
- #: d:\wordpress\plugins\contextual-related-posts/admin.inc.php:174
97
  msgid "Blank Output"
98
  msgstr "Intet"
99
 
100
- #: d:\wordpress\plugins\contextual-related-posts/admin.inc.php:178
101
  msgid "Display \"No Related Posts\""
102
  msgstr "Vis \"Ingen lignende indlæg\""
103
 
104
- #: d:\wordpress\plugins\contextual-related-posts/admin.inc.php:181
 
 
 
 
 
 
 
 
105
  msgid "Customize the output:"
106
  msgstr "Tilpas outputtet:"
107
 
108
- #: d:\wordpress\plugins\contextual-related-posts/admin.inc.php:184
109
  msgid "HTML to display before the list of posts: "
110
  msgstr "HTML, der skal vises før listen med indlæg: "
111
 
112
- #: d:\wordpress\plugins\contextual-related-posts/admin.inc.php:190
113
  msgid "HTML to display before each list item: "
114
  msgstr "HTML, der skal vises før hvert punkt på listen: "
115
 
116
- #: d:\wordpress\plugins\contextual-related-posts/admin.inc.php:196
117
  msgid "HTML to display after each list item: "
118
  msgstr "HTML, der skal vises efter hvert punkt på listen: "
119
 
120
- #: d:\wordpress\plugins\contextual-related-posts/admin.inc.php:202
121
  msgid "HTML to display after the list of posts: "
122
  msgstr "HTML, der skal vises efter listen med indlæg: "
123
 
124
- #: d:\wordpress\plugins\contextual-related-posts/admin.inc.php:206
125
  msgid "Post thumbnail options:"
126
  msgstr "Indstillinger for indlægsminiaturer:"
127
 
128
- #: d:\wordpress\plugins\contextual-related-posts/admin.inc.php:210
129
  msgid "Display thumbnails inline with posts"
130
  msgstr "Vis miniaturer inline med indlæg"
131
 
132
- #: d:\wordpress\plugins\contextual-related-posts/admin.inc.php:214
133
  msgid "Display only thumbnails, no text"
134
  msgstr "Vis kun miniaturer, ingen tekst"
135
 
136
- #: d:\wordpress\plugins\contextual-related-posts/admin.inc.php:218
137
  msgid "Do not display thumbnails, only text."
138
  msgstr "Vis ikke miniaturer, kun tekst."
139
 
140
- #: d:\wordpress\plugins\contextual-related-posts/admin.inc.php:223
141
  msgid "Post thumbnail meta field (the meta should point contain the image source): "
142
  msgstr "Metafelt for indlægsminiaturer (metafeltet skal indeholde URL&#39;en til billedet): "
143
 
144
- #: d:\wordpress\plugins\contextual-related-posts/admin.inc.php:227
 
 
 
 
145
  msgid "Thumbnail dimensions:"
146
  msgstr "Miniaturedimensioner:"
147
 
148
- #: d:\wordpress\plugins\contextual-related-posts/admin.inc.php:229
149
  msgid "Max width: "
150
  msgstr "Max bredde: "
151
 
152
- #: d:\wordpress\plugins\contextual-related-posts/admin.inc.php:234
153
  msgid "Max height: "
154
  msgstr "Max højde: "
155
 
156
- #: d:\wordpress\plugins\contextual-related-posts/admin.inc.php:238
157
  msgid "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 below:"
158
  msgstr "Pluginnet tjekker først, om indlægget indeholder en miniature. Hvis indlægget ikke gør det, tjekker pluginnet metafeltet. Hvis dette ikke findes, vil det vise standardbilledet specificeret nedenfor:"
159
 
160
- #: d:\wordpress\plugins\contextual-related-posts/admin.inc.php:243
161
  msgid "Do you want to set options to Default?"
162
  msgstr "Ønsker du at sætte indstillingerne til standardværdierne?"
163
 
164
- #: d:\wordpress\plugins\contextual-related-posts/admin.inc.php:244
165
  msgid "Are you sure you want to recreate the index?"
166
  msgstr "Er du sikker på, du ønsker at gendanne indekset?"
167
 
168
- #: d:\wordpress\plugins\contextual-related-posts/admin.inc.php:269
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
169
  msgid "Related Posts"
170
  msgstr "Related Posts (Lignende indlæg)"
171
 
172
- #: d:\wordpress\plugins\contextual-related-posts/contextual-related-posts.php:107
173
- #: d:\wordpress\plugins\contextual-related-posts/contextual-related-posts.php:111
 
 
 
 
174
  msgid "No related posts found"
175
  msgstr "Ingen lignende indlæg fundet"
176
 
177
- #: d:\wordpress\plugins\contextual-related-posts/contextual-related-posts.php:143
178
  msgid "<h3>Related Posts:</h3>"
179
  msgstr "<h3>Lignende indlæg:</h3>"
180
 
181
- #: d:\wordpress\plugins\contextual-related-posts/contextual-related-posts.php:218
182
  msgid "Settings"
183
  msgstr "Opsætning"
184
 
185
- #: d:\wordpress\plugins\contextual-related-posts/contextual-related-posts.php:219
186
  msgid "Support"
187
  msgstr "Support"
188
 
189
- #: d:\wordpress\plugins\contextual-related-posts/contextual-related-posts.php:220
190
  msgid "Donate"
191
  msgstr "Donation"
192
 
 
 
 
 
 
 
 
 
 
2
  msgstr ""
3
  "Project-Id-Version: Contextual Related Posts 1.5.1\n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2010-01-18 23:54+0530\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"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
17
  "X-Poedit-Basepath: d:\\wordpress\\plugins\\contextual-related-posts\n"
18
  "X-Poedit-SearchPath-0: d:\\wordpress\\plugins\\contextual-related-posts\n"
19
 
20
+ #: admin.inc.php:50
21
  msgid "Options saved successfully."
22
  msgstr "Indstillingerne blev gemt."
23
 
24
+ #: admin.inc.php:59
25
  msgid "Options set to Default."
26
  msgstr "Indstillingerne sat til standardværdier."
27
 
28
+ #: admin.inc.php:74
29
  msgid "Index recreated"
30
  msgstr "Indeks blev gendannet"
31
 
32
+ #: admin.inc.php:86
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
33
  msgid "Options:"
34
  msgstr "Indstillinger:"
35
 
36
+ #: admin.inc.php:91
37
  msgid "Number of related posts to display: "
38
  msgstr "Antal Lignende indlæg, der skal vises: "
39
 
40
+ #: admin.inc.php:95
41
  msgid "Exclude Categories: "
42
  msgstr "Udelad kategorier: "
43
 
44
+ #: admin.inc.php:113
45
  msgid "Add related posts to the post content on single posts. <br />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"
46
  msgstr "Tilføj Lignende indlæg til indlæggenes indhold i enkelt-indlæg. <br />Hvis du vælger at deaktivere dette, skal du tilføje <code>&lt;?php if(function_exists('echo_ald_crp')) echo_ald_crp(); ?&gt;</code> til din skabelonfil, hvor du ønsker de lignende indlæg vist"
47
 
48
+ #: admin.inc.php:119
49
  msgid "Add related posts to pages. <br />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"
50
  msgstr "Tilføj Lignende indlæg til statiske sider. <br />Hvis du vælger at deaktivere dette, skal du tilføje <code>&lt;?php if(function_exists('echo_ald_crp')) echo_ald_crp(); ?&gt;</code> til din skabelonfil, hvor du ønsker de lignende indlæg vist"
51
 
52
+ #: admin.inc.php:125
53
  msgid "Add related posts to feed"
54
  msgstr "Tilføj Lignende indlæg til feeds"
55
 
56
+ #: admin.inc.php:131
57
  msgid "Find related posts based on content as well as title. If unchecked, only posts titles are used. (I recommend using a caching plugin if you enable this)"
58
  msgstr "Find Lignende indlæg ud fra såvel indhold som titel. Hvis umarkeret, bruges kun indlæggenes titler (jeg anbefaler et cache-plugin, hvis du aktiverer dette)"
59
 
60
+ #: admin.inc.php:137
61
  msgid "Exclude Pages in Related Posts"
62
  msgstr "Udelad sider i Lignende indlæg"
63
 
64
+ #: admin.inc.php:143
65
+ msgid "Append link to this plugin as item. Optional, but would be nice to give me some link love"
66
+ msgstr ""
67
+
68
+ #: admin.inc.php:147
69
  msgid "Output Options:"
70
  msgstr "Indstillinger for output:"
71
 
72
+ #: admin.inc.php:151
73
  msgid "Title of related posts: "
74
  msgstr "Titel på Lignende indlæg: "
75
 
76
+ #: admin.inc.php:155
77
  msgid "When there are no posts, what should be shown?"
78
  msgstr "Hvad skal der vises, hvis der ingen indlæg er?"
79
 
80
+ #: admin.inc.php:158
81
  msgid "Blank Output"
82
  msgstr "Intet"
83
 
84
+ #: admin.inc.php:162
85
  msgid "Display \"No Related Posts\""
86
  msgstr "Vis \"Ingen lignende indlæg\""
87
 
88
+ #: admin.inc.php:168
89
+ msgid "Show post excerpt in list?"
90
+ msgstr ""
91
+
92
+ #: admin.inc.php:173
93
+ msgid "Length of excerpt (in words): "
94
+ msgstr ""
95
+
96
+ #: admin.inc.php:177
97
  msgid "Customize the output:"
98
  msgstr "Tilpas outputtet:"
99
 
100
+ #: admin.inc.php:180
101
  msgid "HTML to display before the list of posts: "
102
  msgstr "HTML, der skal vises før listen med indlæg: "
103
 
104
+ #: admin.inc.php:186
105
  msgid "HTML to display before each list item: "
106
  msgstr "HTML, der skal vises før hvert punkt på listen: "
107
 
108
+ #: admin.inc.php:192
109
  msgid "HTML to display after each list item: "
110
  msgstr "HTML, der skal vises efter hvert punkt på listen: "
111
 
112
+ #: admin.inc.php:198
113
  msgid "HTML to display after the list of posts: "
114
  msgstr "HTML, der skal vises efter listen med indlæg: "
115
 
116
+ #: admin.inc.php:202
117
  msgid "Post thumbnail options:"
118
  msgstr "Indstillinger for indlægsminiaturer:"
119
 
120
+ #: admin.inc.php:206
121
  msgid "Display thumbnails inline with posts"
122
  msgstr "Vis miniaturer inline med indlæg"
123
 
124
+ #: admin.inc.php:210
125
  msgid "Display only thumbnails, no text"
126
  msgstr "Vis kun miniaturer, ingen tekst"
127
 
128
+ #: admin.inc.php:214
129
  msgid "Do not display thumbnails, only text."
130
  msgstr "Vis ikke miniaturer, kun tekst."
131
 
132
+ #: admin.inc.php:219
133
  msgid "Post thumbnail meta field (the meta should point contain the image source): "
134
  msgstr "Metafelt for indlægsminiaturer (metafeltet skal indeholde URL&#39;en til billedet): "
135
 
136
+ #: admin.inc.php:226
137
+ msgid "If the postmeta is not set, then should the plugin extract the first image from the post. This can slow down the loading of your post if the first image in the related posts is large in file-size"
138
+ msgstr ""
139
+
140
+ #: admin.inc.php:229
141
  msgid "Thumbnail dimensions:"
142
  msgstr "Miniaturedimensioner:"
143
 
144
+ #: admin.inc.php:231
145
  msgid "Max width: "
146
  msgstr "Max bredde: "
147
 
148
+ #: admin.inc.php:236
149
  msgid "Max height: "
150
  msgstr "Max højde: "
151
 
152
+ #: admin.inc.php:240
153
  msgid "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 below:"
154
  msgstr "Pluginnet tjekker først, om indlægget indeholder en miniature. Hvis indlægget ikke gør det, tjekker pluginnet metafeltet. Hvis dette ikke findes, vil det vise standardbilledet specificeret nedenfor:"
155
 
156
+ #: admin.inc.php:245
157
  msgid "Do you want to set options to Default?"
158
  msgstr "Ønsker du at sætte indstillingerne til standardværdierne?"
159
 
160
+ #: admin.inc.php:246
161
  msgid "Are you sure you want to recreate the index?"
162
  msgstr "Er du sikker på, du ønsker at gendanne indekset?"
163
 
164
+ #: admin.inc.php:254
165
+ msgid "Quick links"
166
+ msgstr ""
167
+
168
+ #: admin.inc.php:256
169
+ #, fuzzy
170
+ msgid "Contextual Related Posts "
171
+ msgstr "Related Posts (Lignende indlæg)"
172
+
173
+ #: admin.inc.php:256
174
+ msgid "plugin page"
175
+ msgstr ""
176
+
177
+ #: admin.inc.php:257
178
+ msgid "Other plugins"
179
+ msgstr ""
180
+
181
+ #: admin.inc.php:258
182
+ msgid "Ajay's blog"
183
+ msgstr ""
184
+
185
+ #: admin.inc.php:259
186
+ #, fuzzy
187
+ msgid "Support forum"
188
+ msgstr "Support"
189
+
190
+ #: admin.inc.php:260
191
+ msgid "Follow @ajaydsouza on Twitter"
192
+ msgstr ""
193
+
194
+ #: admin.inc.php:264
195
+ msgid "Recent developments"
196
+ msgstr ""
197
+
198
+ #: admin.inc.php:269
199
+ #, fuzzy
200
+ msgid "Support the development"
201
+ msgstr "Støt udviklingen"
202
+
203
+ #: admin.inc.php:277
204
+ msgid "Enter amount in USD: "
205
+ msgstr ""
206
+
207
+ #: admin.inc.php:281
208
+ msgid "Send your donation to the author of"
209
+ msgstr ""
210
+
211
+ #: admin.inc.php:309
212
+ #, fuzzy
213
+ msgid "Contextual Related Posts"
214
+ msgstr "Related Posts (Lignende indlæg)"
215
+
216
+ #: admin.inc.php:309
217
  msgid "Related Posts"
218
  msgstr "Related Posts (Lignende indlæg)"
219
 
220
+ #: contextual-related-posts.php:127
221
+ msgid "Powered by"
222
+ msgstr ""
223
+
224
+ #: contextual-related-posts.php:133
225
+ #: contextual-related-posts.php:137
226
  msgid "No related posts found"
227
  msgstr "Ingen lignende indlæg fundet"
228
 
229
+ #: contextual-related-posts.php:170
230
  msgid "<h3>Related Posts:</h3>"
231
  msgstr "<h3>Lignende indlæg:</h3>"
232
 
233
+ #: contextual-related-posts.php:268
234
  msgid "Settings"
235
  msgstr "Opsætning"
236
 
237
+ #: contextual-related-posts.php:269
238
  msgid "Support"
239
  msgstr "Support"
240
 
241
+ #: contextual-related-posts.php:270
242
  msgid "Donate"
243
  msgstr "Donation"
244
 
245
+ #~ msgid "If you find "
246
+ #~ msgstr "Hvis du finder "
247
+ #~ msgid "useful, please do"
248
+ #~ msgstr "brugbar, så venligst"
249
+ #~ msgid "drop in your contribution"
250
+ #~ msgstr "giv et bidrag"
251
+ #~ msgid "Some reasons why you should."
252
+ #~ msgstr "Nogle grunde til, du skulle gøre det."
253
+
languages/crp-en_US.mo CHANGED
Binary file
languages/crp-en_US.po CHANGED
@@ -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: 2009-12-24 17:04+0530\n"
6
  "PO-Revision-Date: \n"
7
  "Last-Translator: Ajay D'Souza <me@ajaydsouza.com>\n"
8
  "Language-Team: <me@ajaydsouza.com>\n"
@@ -14,176 +14,224 @@ msgstr ""
14
  "X-Poedit-Basepath: ../\n"
15
  "X-Poedit-SearchPath-0: .\n"
16
 
17
- #: admin.inc.php:58
18
  msgid "Options saved successfully."
19
  msgstr ""
20
 
21
- #: admin.inc.php:67
22
  msgid "Options set to Default."
23
  msgstr ""
24
 
25
- #: admin.inc.php:82
26
  msgid "Index recreated"
27
  msgstr ""
28
 
29
- #: admin.inc.php:93
30
- msgid "Support the Development"
31
- msgstr ""
32
-
33
- #: admin.inc.php:97
34
- msgid "If you find "
35
- msgstr ""
36
-
37
- #: admin.inc.php:99
38
- msgid "useful, please do"
39
- msgstr ""
40
-
41
- #: admin.inc.php:100
42
- msgid "drop in your contribution"
43
- msgstr ""
44
-
45
- #: admin.inc.php:101
46
- msgid "Some reasons why you should."
47
- msgstr ""
48
-
49
- #: admin.inc.php:108
50
  msgid "Options:"
51
  msgstr ""
52
 
53
- #: admin.inc.php:113
54
  msgid "Number of related posts to display: "
55
  msgstr ""
56
 
57
- #: admin.inc.php:117
58
  msgid "Exclude Categories: "
59
  msgstr ""
60
 
61
- #: admin.inc.php:135
62
  msgid "Add related posts to the post content on single posts. <br />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"
63
  msgstr ""
64
 
65
- #: admin.inc.php:141
66
  msgid "Add related posts to pages. <br />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"
67
  msgstr ""
68
 
69
- #: admin.inc.php:147
70
  msgid "Add related posts to feed"
71
  msgstr ""
72
 
73
- #: admin.inc.php:153
74
  msgid "Find related posts based on content as well as title. If unchecked, only posts titles are used. (I recommend using a caching plugin if you enable this)"
75
  msgstr ""
76
 
77
- #: admin.inc.php:159
78
  msgid "Exclude Pages in Related Posts"
79
  msgstr ""
80
 
81
- #: admin.inc.php:163
 
 
 
 
82
  msgid "Output Options:"
83
  msgstr ""
84
 
85
- #: admin.inc.php:167
86
  msgid "Title of related posts: "
87
  msgstr ""
88
 
89
- #: admin.inc.php:171
90
  msgid "When there are no posts, what should be shown?"
91
  msgstr ""
92
 
93
- #: admin.inc.php:174
94
  msgid "Blank Output"
95
  msgstr ""
96
 
97
- #: admin.inc.php:178
98
  msgid "Display \"No Related Posts\""
99
  msgstr ""
100
 
101
- #: admin.inc.php:181
 
 
 
 
 
 
 
 
102
  msgid "Customize the output:"
103
  msgstr ""
104
 
105
- #: admin.inc.php:184
106
  msgid "HTML to display before the list of posts: "
107
  msgstr ""
108
 
109
- #: admin.inc.php:190
110
  msgid "HTML to display before each list item: "
111
  msgstr ""
112
 
113
- #: admin.inc.php:196
114
  msgid "HTML to display after each list item: "
115
  msgstr ""
116
 
117
- #: admin.inc.php:202
118
  msgid "HTML to display after the list of posts: "
119
  msgstr ""
120
 
121
- #: admin.inc.php:206
122
  msgid "Post thumbnail options:"
123
  msgstr ""
124
 
125
- #: admin.inc.php:210
126
  msgid "Display thumbnails inline with posts"
127
  msgstr ""
128
 
129
- #: admin.inc.php:214
130
  msgid "Display only thumbnails, no text"
131
  msgstr ""
132
 
133
- #: admin.inc.php:218
134
  msgid "Do not display thumbnails, only text."
135
  msgstr ""
136
 
137
- #: admin.inc.php:223
138
  msgid "Post thumbnail meta field (the meta should point contain the image source): "
139
  msgstr ""
140
 
141
- #: admin.inc.php:227
142
- msgid "Thumbnail dimensions:"
143
  msgstr ""
144
 
145
  #: admin.inc.php:229
 
 
 
 
146
  msgid "Max width: "
147
  msgstr ""
148
 
149
- #: admin.inc.php:234
150
  msgid "Max height: "
151
  msgstr ""
152
 
153
- #: admin.inc.php:238
154
  msgid "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 below:"
155
  msgstr ""
156
 
157
- #: admin.inc.php:243
158
  msgid "Do you want to set options to Default?"
159
  msgstr ""
160
 
161
- #: admin.inc.php:244
162
  msgid "Are you sure you want to recreate the index?"
163
  msgstr ""
164
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
165
  #: admin.inc.php:269
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
166
  msgid "Related Posts"
167
  msgstr ""
168
 
169
- #: contextual-related-posts.php:107
170
- #: contextual-related-posts.php:111
 
 
 
 
171
  msgid "No related posts found"
172
  msgstr ""
173
 
174
- #: contextual-related-posts.php:143
175
  msgid "<h3>Related Posts:</h3>"
176
  msgstr ""
177
 
178
- #: contextual-related-posts.php:218
179
  msgid "Settings"
180
  msgstr ""
181
 
182
- #: contextual-related-posts.php:219
183
  msgid "Support"
184
  msgstr ""
185
 
186
- #: contextual-related-posts.php:220
187
  msgid "Donate"
188
  msgstr ""
189
 
2
  msgstr ""
3
  "Project-Id-Version: Contextual Related Posts\n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2010-01-18 23:54+0530\n"
6
  "PO-Revision-Date: \n"
7
  "Last-Translator: Ajay D'Souza <me@ajaydsouza.com>\n"
8
  "Language-Team: <me@ajaydsouza.com>\n"
14
  "X-Poedit-Basepath: ../\n"
15
  "X-Poedit-SearchPath-0: .\n"
16
 
17
+ #: admin.inc.php:50
18
  msgid "Options saved successfully."
19
  msgstr ""
20
 
21
+ #: admin.inc.php:59
22
  msgid "Options set to Default."
23
  msgstr ""
24
 
25
+ #: admin.inc.php:74
26
  msgid "Index recreated"
27
  msgstr ""
28
 
29
+ #: admin.inc.php:86
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
30
  msgid "Options:"
31
  msgstr ""
32
 
33
+ #: admin.inc.php:91
34
  msgid "Number of related posts to display: "
35
  msgstr ""
36
 
37
+ #: admin.inc.php:95
38
  msgid "Exclude Categories: "
39
  msgstr ""
40
 
41
+ #: admin.inc.php:113
42
  msgid "Add related posts to the post content on single posts. <br />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"
43
  msgstr ""
44
 
45
+ #: admin.inc.php:119
46
  msgid "Add related posts to pages. <br />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"
47
  msgstr ""
48
 
49
+ #: admin.inc.php:125
50
  msgid "Add related posts to feed"
51
  msgstr ""
52
 
53
+ #: admin.inc.php:131
54
  msgid "Find related posts based on content as well as title. If unchecked, only posts titles are used. (I recommend using a caching plugin if you enable this)"
55
  msgstr ""
56
 
57
+ #: admin.inc.php:137
58
  msgid "Exclude Pages in Related Posts"
59
  msgstr ""
60
 
61
+ #: admin.inc.php:143
62
+ msgid "Append link to this plugin as item. Optional, but would be nice to give me some link love"
63
+ msgstr ""
64
+
65
+ #: admin.inc.php:147
66
  msgid "Output Options:"
67
  msgstr ""
68
 
69
+ #: admin.inc.php:151
70
  msgid "Title of related posts: "
71
  msgstr ""
72
 
73
+ #: admin.inc.php:155
74
  msgid "When there are no posts, what should be shown?"
75
  msgstr ""
76
 
77
+ #: admin.inc.php:158
78
  msgid "Blank Output"
79
  msgstr ""
80
 
81
+ #: admin.inc.php:162
82
  msgid "Display \"No Related Posts\""
83
  msgstr ""
84
 
85
+ #: admin.inc.php:168
86
+ msgid "Show post excerpt in list?"
87
+ msgstr ""
88
+
89
+ #: admin.inc.php:173
90
+ msgid "Length of excerpt (in words): "
91
+ msgstr ""
92
+
93
+ #: admin.inc.php:177
94
  msgid "Customize the output:"
95
  msgstr ""
96
 
97
+ #: admin.inc.php:180
98
  msgid "HTML to display before the list of posts: "
99
  msgstr ""
100
 
101
+ #: admin.inc.php:186
102
  msgid "HTML to display before each list item: "
103
  msgstr ""
104
 
105
+ #: admin.inc.php:192
106
  msgid "HTML to display after each list item: "
107
  msgstr ""
108
 
109
+ #: admin.inc.php:198
110
  msgid "HTML to display after the list of posts: "
111
  msgstr ""
112
 
113
+ #: admin.inc.php:202
114
  msgid "Post thumbnail options:"
115
  msgstr ""
116
 
117
+ #: admin.inc.php:206
118
  msgid "Display thumbnails inline with posts"
119
  msgstr ""
120
 
121
+ #: admin.inc.php:210
122
  msgid "Display only thumbnails, no text"
123
  msgstr ""
124
 
125
+ #: admin.inc.php:214
126
  msgid "Do not display thumbnails, only text."
127
  msgstr ""
128
 
129
+ #: admin.inc.php:219
130
  msgid "Post thumbnail meta field (the meta should point contain the image source): "
131
  msgstr ""
132
 
133
+ #: admin.inc.php:226
134
+ msgid "If the postmeta is not set, then should the plugin extract the first image from the post. This can slow down the loading of your post if the first image in the related posts is large in file-size"
135
  msgstr ""
136
 
137
  #: admin.inc.php:229
138
+ msgid "Thumbnail dimensions:"
139
+ msgstr ""
140
+
141
+ #: admin.inc.php:231
142
  msgid "Max width: "
143
  msgstr ""
144
 
145
+ #: admin.inc.php:236
146
  msgid "Max height: "
147
  msgstr ""
148
 
149
+ #: admin.inc.php:240
150
  msgid "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 below:"
151
  msgstr ""
152
 
153
+ #: admin.inc.php:245
154
  msgid "Do you want to set options to Default?"
155
  msgstr ""
156
 
157
+ #: admin.inc.php:246
158
  msgid "Are you sure you want to recreate the index?"
159
  msgstr ""
160
 
161
+ #: admin.inc.php:254
162
+ msgid "Quick links"
163
+ msgstr ""
164
+
165
+ #: admin.inc.php:256
166
+ msgid "Contextual Related Posts "
167
+ msgstr ""
168
+
169
+ #: admin.inc.php:256
170
+ msgid "plugin page"
171
+ msgstr ""
172
+
173
+ #: admin.inc.php:257
174
+ msgid "Other plugins"
175
+ msgstr ""
176
+
177
+ #: admin.inc.php:258
178
+ msgid "Ajay's blog"
179
+ msgstr ""
180
+
181
+ #: admin.inc.php:259
182
+ msgid "Support forum"
183
+ msgstr ""
184
+
185
+ #: admin.inc.php:260
186
+ msgid "Follow @ajaydsouza on Twitter"
187
+ msgstr ""
188
+
189
+ #: admin.inc.php:264
190
+ msgid "Recent developments"
191
+ msgstr ""
192
+
193
  #: admin.inc.php:269
194
+ msgid "Support the development"
195
+ msgstr ""
196
+
197
+ #: admin.inc.php:277
198
+ msgid "Enter amount in USD: "
199
+ msgstr ""
200
+
201
+ #: admin.inc.php:281
202
+ msgid "Send your donation to the author of"
203
+ msgstr ""
204
+
205
+ #: admin.inc.php:309
206
+ msgid "Contextual Related Posts"
207
+ msgstr ""
208
+
209
+ #: admin.inc.php:309
210
  msgid "Related Posts"
211
  msgstr ""
212
 
213
+ #: contextual-related-posts.php:127
214
+ msgid "Powered by"
215
+ msgstr ""
216
+
217
+ #: contextual-related-posts.php:133
218
+ #: contextual-related-posts.php:137
219
  msgid "No related posts found"
220
  msgstr ""
221
 
222
+ #: contextual-related-posts.php:170
223
  msgid "<h3>Related Posts:</h3>"
224
  msgstr ""
225
 
226
+ #: contextual-related-posts.php:268
227
  msgid "Settings"
228
  msgstr ""
229
 
230
+ #: contextual-related-posts.php:269
231
  msgid "Support"
232
  msgstr ""
233
 
234
+ #: contextual-related-posts.php:270
235
  msgid "Donate"
236
  msgstr ""
237
 
languages/crp-en_US.pot CHANGED
@@ -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: 2009-12-24 17:04+0530\n"
6
  "PO-Revision-Date: \n"
7
  "Last-Translator: Ajay D'Souza <me@ajaydsouza.com>\n"
8
  "Language-Team: <me@ajaydsouza.com>\n"
@@ -14,176 +14,224 @@ msgstr ""
14
  "X-Poedit-Basepath: ../\n"
15
  "X-Poedit-SearchPath-0: .\n"
16
 
17
- #: admin.inc.php:58
18
  msgid "Options saved successfully."
19
  msgstr ""
20
 
21
- #: admin.inc.php:67
22
  msgid "Options set to Default."
23
  msgstr ""
24
 
25
- #: admin.inc.php:82
26
  msgid "Index recreated"
27
  msgstr ""
28
 
29
- #: admin.inc.php:93
30
- msgid "Support the Development"
31
- msgstr ""
32
-
33
- #: admin.inc.php:97
34
- msgid "If you find "
35
- msgstr ""
36
-
37
- #: admin.inc.php:99
38
- msgid "useful, please do"
39
- msgstr ""
40
-
41
- #: admin.inc.php:100
42
- msgid "drop in your contribution"
43
- msgstr ""
44
-
45
- #: admin.inc.php:101
46
- msgid "Some reasons why you should."
47
- msgstr ""
48
-
49
- #: admin.inc.php:108
50
  msgid "Options:"
51
  msgstr ""
52
 
53
- #: admin.inc.php:113
54
  msgid "Number of related posts to display: "
55
  msgstr ""
56
 
57
- #: admin.inc.php:117
58
  msgid "Exclude Categories: "
59
  msgstr ""
60
 
61
- #: admin.inc.php:135
62
  msgid "Add related posts to the post content on single posts. <br />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"
63
  msgstr ""
64
 
65
- #: admin.inc.php:141
66
  msgid "Add related posts to pages. <br />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"
67
  msgstr ""
68
 
69
- #: admin.inc.php:147
70
  msgid "Add related posts to feed"
71
  msgstr ""
72
 
73
- #: admin.inc.php:153
74
  msgid "Find related posts based on content as well as title. If unchecked, only posts titles are used. (I recommend using a caching plugin if you enable this)"
75
  msgstr ""
76
 
77
- #: admin.inc.php:159
78
  msgid "Exclude Pages in Related Posts"
79
  msgstr ""
80
 
81
- #: admin.inc.php:163
 
 
 
 
82
  msgid "Output Options:"
83
  msgstr ""
84
 
85
- #: admin.inc.php:167
86
  msgid "Title of related posts: "
87
  msgstr ""
88
 
89
- #: admin.inc.php:171
90
  msgid "When there are no posts, what should be shown?"
91
  msgstr ""
92
 
93
- #: admin.inc.php:174
94
  msgid "Blank Output"
95
  msgstr ""
96
 
97
- #: admin.inc.php:178
98
  msgid "Display \"No Related Posts\""
99
  msgstr ""
100
 
101
- #: admin.inc.php:181
 
 
 
 
 
 
 
 
102
  msgid "Customize the output:"
103
  msgstr ""
104
 
105
- #: admin.inc.php:184
106
  msgid "HTML to display before the list of posts: "
107
  msgstr ""
108
 
109
- #: admin.inc.php:190
110
  msgid "HTML to display before each list item: "
111
  msgstr ""
112
 
113
- #: admin.inc.php:196
114
  msgid "HTML to display after each list item: "
115
  msgstr ""
116
 
117
- #: admin.inc.php:202
118
  msgid "HTML to display after the list of posts: "
119
  msgstr ""
120
 
121
- #: admin.inc.php:206
122
  msgid "Post thumbnail options:"
123
  msgstr ""
124
 
125
- #: admin.inc.php:210
126
  msgid "Display thumbnails inline with posts"
127
  msgstr ""
128
 
129
- #: admin.inc.php:214
130
  msgid "Display only thumbnails, no text"
131
  msgstr ""
132
 
133
- #: admin.inc.php:218
134
  msgid "Do not display thumbnails, only text."
135
  msgstr ""
136
 
137
- #: admin.inc.php:223
138
  msgid "Post thumbnail meta field (the meta should point contain the image source): "
139
  msgstr ""
140
 
141
- #: admin.inc.php:227
142
- msgid "Thumbnail dimensions:"
143
  msgstr ""
144
 
145
  #: admin.inc.php:229
 
 
 
 
146
  msgid "Max width: "
147
  msgstr ""
148
 
149
- #: admin.inc.php:234
150
  msgid "Max height: "
151
  msgstr ""
152
 
153
- #: admin.inc.php:238
154
  msgid "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 below:"
155
  msgstr ""
156
 
157
- #: admin.inc.php:243
158
  msgid "Do you want to set options to Default?"
159
  msgstr ""
160
 
161
- #: admin.inc.php:244
162
  msgid "Are you sure you want to recreate the index?"
163
  msgstr ""
164
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
165
  #: admin.inc.php:269
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
166
  msgid "Related Posts"
167
  msgstr ""
168
 
169
- #: contextual-related-posts.php:107
170
- #: contextual-related-posts.php:111
 
 
 
 
171
  msgid "No related posts found"
172
  msgstr ""
173
 
174
- #: contextual-related-posts.php:143
175
  msgid "<h3>Related Posts:</h3>"
176
  msgstr ""
177
 
178
- #: contextual-related-posts.php:218
179
  msgid "Settings"
180
  msgstr ""
181
 
182
- #: contextual-related-posts.php:219
183
  msgid "Support"
184
  msgstr ""
185
 
186
- #: contextual-related-posts.php:220
187
  msgid "Donate"
188
  msgstr ""
189
 
2
  msgstr ""
3
  "Project-Id-Version: Contextual Related Posts\n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2010-01-18 23:54+0530\n"
6
  "PO-Revision-Date: \n"
7
  "Last-Translator: Ajay D'Souza <me@ajaydsouza.com>\n"
8
  "Language-Team: <me@ajaydsouza.com>\n"
14
  "X-Poedit-Basepath: ../\n"
15
  "X-Poedit-SearchPath-0: .\n"
16
 
17
+ #: admin.inc.php:50
18
  msgid "Options saved successfully."
19
  msgstr ""
20
 
21
+ #: admin.inc.php:59
22
  msgid "Options set to Default."
23
  msgstr ""
24
 
25
+ #: admin.inc.php:74
26
  msgid "Index recreated"
27
  msgstr ""
28
 
29
+ #: admin.inc.php:86
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
30
  msgid "Options:"
31
  msgstr ""
32
 
33
+ #: admin.inc.php:91
34
  msgid "Number of related posts to display: "
35
  msgstr ""
36
 
37
+ #: admin.inc.php:95
38
  msgid "Exclude Categories: "
39
  msgstr ""
40
 
41
+ #: admin.inc.php:113
42
  msgid "Add related posts to the post content on single posts. <br />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"
43
  msgstr ""
44
 
45
+ #: admin.inc.php:119
46
  msgid "Add related posts to pages. <br />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"
47
  msgstr ""
48
 
49
+ #: admin.inc.php:125
50
  msgid "Add related posts to feed"
51
  msgstr ""
52
 
53
+ #: admin.inc.php:131
54
  msgid "Find related posts based on content as well as title. If unchecked, only posts titles are used. (I recommend using a caching plugin if you enable this)"
55
  msgstr ""
56
 
57
+ #: admin.inc.php:137
58
  msgid "Exclude Pages in Related Posts"
59
  msgstr ""
60
 
61
+ #: admin.inc.php:143
62
+ msgid "Append link to this plugin as item. Optional, but would be nice to give me some link love"
63
+ msgstr ""
64
+
65
+ #: admin.inc.php:147
66
  msgid "Output Options:"
67
  msgstr ""
68
 
69
+ #: admin.inc.php:151
70
  msgid "Title of related posts: "
71
  msgstr ""
72
 
73
+ #: admin.inc.php:155
74
  msgid "When there are no posts, what should be shown?"
75
  msgstr ""
76
 
77
+ #: admin.inc.php:158
78
  msgid "Blank Output"
79
  msgstr ""
80
 
81
+ #: admin.inc.php:162
82
  msgid "Display \"No Related Posts\""
83
  msgstr ""
84
 
85
+ #: admin.inc.php:168
86
+ msgid "Show post excerpt in list?"
87
+ msgstr ""
88
+
89
+ #: admin.inc.php:173
90
+ msgid "Length of excerpt (in words): "
91
+ msgstr ""
92
+
93
+ #: admin.inc.php:177
94
  msgid "Customize the output:"
95
  msgstr ""
96
 
97
+ #: admin.inc.php:180
98
  msgid "HTML to display before the list of posts: "
99
  msgstr ""
100
 
101
+ #: admin.inc.php:186
102
  msgid "HTML to display before each list item: "
103
  msgstr ""
104
 
105
+ #: admin.inc.php:192
106
  msgid "HTML to display after each list item: "
107
  msgstr ""
108
 
109
+ #: admin.inc.php:198
110
  msgid "HTML to display after the list of posts: "
111
  msgstr ""
112
 
113
+ #: admin.inc.php:202
114
  msgid "Post thumbnail options:"
115
  msgstr ""
116
 
117
+ #: admin.inc.php:206
118
  msgid "Display thumbnails inline with posts"
119
  msgstr ""
120
 
121
+ #: admin.inc.php:210
122
  msgid "Display only thumbnails, no text"
123
  msgstr ""
124
 
125
+ #: admin.inc.php:214
126
  msgid "Do not display thumbnails, only text."
127
  msgstr ""
128
 
129
+ #: admin.inc.php:219
130
  msgid "Post thumbnail meta field (the meta should point contain the image source): "
131
  msgstr ""
132
 
133
+ #: admin.inc.php:226
134
+ msgid "If the postmeta is not set, then should the plugin extract the first image from the post. This can slow down the loading of your post if the first image in the related posts is large in file-size"
135
  msgstr ""
136
 
137
  #: admin.inc.php:229
138
+ msgid "Thumbnail dimensions:"
139
+ msgstr ""
140
+
141
+ #: admin.inc.php:231
142
  msgid "Max width: "
143
  msgstr ""
144
 
145
+ #: admin.inc.php:236
146
  msgid "Max height: "
147
  msgstr ""
148
 
149
+ #: admin.inc.php:240
150
  msgid "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 below:"
151
  msgstr ""
152
 
153
+ #: admin.inc.php:245
154
  msgid "Do you want to set options to Default?"
155
  msgstr ""
156
 
157
+ #: admin.inc.php:246
158
  msgid "Are you sure you want to recreate the index?"
159
  msgstr ""
160
 
161
+ #: admin.inc.php:254
162
+ msgid "Quick links"
163
+ msgstr ""
164
+
165
+ #: admin.inc.php:256
166
+ msgid "Contextual Related Posts "
167
+ msgstr ""
168
+
169
+ #: admin.inc.php:256
170
+ msgid "plugin page"
171
+ msgstr ""
172
+
173
+ #: admin.inc.php:257
174
+ msgid "Other plugins"
175
+ msgstr ""
176
+
177
+ #: admin.inc.php:258
178
+ msgid "Ajay's blog"
179
+ msgstr ""
180
+
181
+ #: admin.inc.php:259
182
+ msgid "Support forum"
183
+ msgstr ""
184
+
185
+ #: admin.inc.php:260
186
+ msgid "Follow @ajaydsouza on Twitter"
187
+ msgstr ""
188
+
189
+ #: admin.inc.php:264
190
+ msgid "Recent developments"
191
+ msgstr ""
192
+
193
  #: admin.inc.php:269
194
+ msgid "Support the development"
195
+ msgstr ""
196
+
197
+ #: admin.inc.php:277
198
+ msgid "Enter amount in USD: "
199
+ msgstr ""
200
+
201
+ #: admin.inc.php:281
202
+ msgid "Send your donation to the author of"
203
+ msgstr ""
204
+
205
+ #: admin.inc.php:309
206
+ msgid "Contextual Related Posts"
207
+ msgstr ""
208
+
209
+ #: admin.inc.php:309
210
  msgid "Related Posts"
211
  msgstr ""
212
 
213
+ #: contextual-related-posts.php:127
214
+ msgid "Powered by"
215
+ msgstr ""
216
+
217
+ #: contextual-related-posts.php:133
218
+ #: contextual-related-posts.php:137
219
  msgid "No related posts found"
220
  msgstr ""
221
 
222
+ #: contextual-related-posts.php:170
223
  msgid "<h3>Related Posts:</h3>"
224
  msgstr ""
225
 
226
+ #: contextual-related-posts.php:268
227
  msgid "Settings"
228
  msgstr ""
229
 
230
+ #: contextual-related-posts.php:269
231
  msgid "Support"
232
  msgstr ""
233
 
234
+ #: contextual-related-posts.php:270
235
  msgid "Donate"
236
  msgstr ""
237
 
languages/crp-it_IT.mo CHANGED
Binary file
languages/crp-it_IT.po CHANGED
@@ -2,9 +2,9 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Contextual Related Posts in italiano\n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2009-12-24 17:05+0530\n"
6
  "PO-Revision-Date: \n"
7
- "Last-Translator: Gianni Diurno (aka gidibao) <gidibao@gmail.com>\n"
8
  "Language-Team: Gianni Diurno | http://gidibao.net/ <gidibao@gmail.com>\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
@@ -15,182 +15,228 @@ msgstr ""
15
  "X-Poedit-Country: ITALY\n"
16
  "X-Poedit-SearchPath-0: .\n"
17
 
18
- #: admin.inc.php:58
19
  msgid "Options saved successfully."
20
  msgstr "Le opzioni sono state salvate correttamente."
21
 
22
- #: admin.inc.php:67
23
  msgid "Options set to Default."
24
  msgstr "Opzioni impostate alle predefinite."
25
 
26
- #: admin.inc.php:82
27
  msgid "Index recreated"
28
  msgstr "E' stato ricreato l'indice"
29
 
30
- #: admin.inc.php:93
31
- msgid "Support the Development"
32
- msgstr "Sostieni lo sviluppo"
33
-
34
- #: admin.inc.php:97
35
- msgid "If you find "
36
- msgstr "Avessi trovato utile il mio"
37
-
38
- #: admin.inc.php:99
39
- msgid "useful, please do"
40
- msgstr ", effettua"
41
-
42
- #: admin.inc.php:100
43
- msgid "drop in your contribution"
44
- msgstr "una donazione"
45
-
46
- #: admin.inc.php:101
47
- msgid "Some reasons why you should."
48
- msgstr "alcuni motivi affinché tu lo faccia"
49
-
50
- #: admin.inc.php:108
51
  msgid "Options:"
52
  msgstr "Opzioni:"
53
 
54
- #: admin.inc.php:113
55
  msgid "Number of related posts to display: "
56
  msgstr "numero di articoli correlati da mostrare:"
57
 
58
- #: admin.inc.php:117
59
  msgid "Exclude Categories: "
60
  msgstr "escludi le categorie:"
61
 
62
- #: admin.inc.php:135
63
  msgid "Add related posts to the post content on single posts. <br />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"
64
  msgstr "aggiungi gli articoli correlati ai contenuti del post (articoli singoli). <br />oppure disattiva ed inserisci <code>&lt;?php if(function_exists('echo_ald_crp')) echo_ald_crp(); ?&gt;</code> nel tuo template laddove desideri che siano visualizzati"
65
 
66
- #: admin.inc.php:141
67
  msgid "Add related posts to pages. <br />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"
68
  msgstr "aggiungi gli articoli correlati alle pagine. <br />oppure disattiva ed inserisci <code>&lt;?php if(function_exists('echo_ald_crp')) echo_ald_crp(); ?&gt;</code> nel tuo template laddove desideri che siano visualizzati"
69
 
70
- #: admin.inc.php:147
71
  msgid "Add related posts to feed"
72
  msgstr "aggiungi gli articoli correlati al feed"
73
 
74
- #: admin.inc.php:153
75
  msgid "Find related posts based on content as well as title. If unchecked, only posts titles are used. (I recommend using a caching plugin if you enable this)"
76
  msgstr "Ricerca degli articoli correlati in relazione al contenuto ed al titolo. Se disattivata, verranno utilizzati i soli titoli dei post. (in questo caso é preferibile attivare un plugin per la cache)"
77
 
78
- #: admin.inc.php:159
79
  msgid "Exclude Pages in Related Posts"
80
  msgstr "Escludi le pagine da Related Posts"
81
 
82
- #: admin.inc.php:163
 
 
 
 
83
  msgid "Output Options:"
84
  msgstr "Opzioni output:"
85
 
86
- #: admin.inc.php:167
87
  msgid "Title of related posts: "
88
  msgstr "titolo per gli articoli correlati:"
89
 
90
- #: admin.inc.php:171
91
  msgid "When there are no posts, what should be shown?"
92
  msgstr "Cosa desideri mostrare in assenza di articoli?"
93
 
94
- #: admin.inc.php:174
95
  msgid "Blank Output"
96
  msgstr "nulla"
97
 
98
- #: admin.inc.php:178
99
  msgid "Display \"No Related Posts\""
100
  msgstr "\"Nessun articolo correlato\""
101
 
102
- #: admin.inc.php:181
 
 
 
 
 
 
 
 
103
  msgid "Customize the output:"
104
  msgstr "Personalizzazione output:"
105
 
106
- #: admin.inc.php:184
107
  msgid "HTML to display before the list of posts: "
108
  msgstr "HTML da mostrare davanti alla lista degli articoli:"
109
 
110
- #: admin.inc.php:190
111
  msgid "HTML to display before each list item: "
112
  msgstr "HTML da mostrare davanti ad ogni singola lista:"
113
 
114
- #: admin.inc.php:196
115
  msgid "HTML to display after each list item: "
116
  msgstr "HTML da mostrare dopo ogni lista:"
117
 
118
- #: admin.inc.php:202
119
  msgid "HTML to display after the list of posts: "
120
  msgstr "HTML da mostrare dopo la lista degli articoli:"
121
 
122
- #: admin.inc.php:206
123
  msgid "Post thumbnail options:"
124
  msgstr "Opzioni miniature articolo:"
125
 
126
- #: admin.inc.php:210
127
  msgid "Display thumbnails inline with posts"
128
  msgstr "Mostra gli articoli con le miniature inline"
129
 
130
- #: admin.inc.php:214
131
  msgid "Display only thumbnails, no text"
132
  msgstr "Mostra le sole miniature, nessun testo"
133
 
134
- #: admin.inc.php:218
135
  msgid "Do not display thumbnails, only text."
136
  msgstr "Non mostrare le miniature, solo testo."
137
 
138
- #: admin.inc.php:223
139
  msgid "Post thumbnail meta field (the meta should point contain the image source): "
140
  msgstr "Campo meta per le miniature (il valore deve puntare alla immagine):"
141
 
142
- #: admin.inc.php:227
 
 
 
 
143
  msgid "Thumbnail dimensions:"
144
  msgstr "Dimensione miniature:"
145
 
146
- #: admin.inc.php:229
147
  msgid "Max width: "
148
  msgstr "Larghezza massima:"
149
 
150
- #: admin.inc.php:234
151
  msgid "Max height: "
152
  msgstr "Altezza massima:"
153
 
154
- #: admin.inc.php:238
155
  msgid "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 below:"
156
  msgstr "Come prima operazione, il plugin controllerà la presenza di una miniatura nell'articolo. Nel caso in cui non fosse presente, verificherà il campo meta. Qualora non fosse disponibile, mostrerà l'immagine predefinita come specificato qui sotto:"
157
 
158
- #: admin.inc.php:243
159
  msgid "Do you want to set options to Default?"
160
  msgstr "Sei certo di volere impostare alle opzioni predefinite?"
161
 
162
- #: admin.inc.php:244
163
  msgid "Are you sure you want to recreate the index?"
164
  msgstr "Sei certo di volere ricreare l'indice?"
165
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
166
  #: admin.inc.php:269
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
167
  msgid "Related Posts"
168
  msgstr "Related Posts"
169
 
170
- #: contextual-related-posts.php:107
171
- #: contextual-related-posts.php:111
 
 
 
 
172
  msgid "No related posts found"
173
  msgstr "Non é stato trovato alcun articolo correlato"
174
 
175
- #: contextual-related-posts.php:143
176
  msgid "<h3>Related Posts:</h3>"
177
  msgstr "<h3>Related Posts:</h3>"
178
 
179
- #: contextual-related-posts.php:218
180
  msgid "Settings"
181
  msgstr "Impostazioni"
182
 
183
- #: contextual-related-posts.php:219
184
  msgid "Support"
185
  msgstr "Supporto"
186
 
187
- #: contextual-related-posts.php:220
188
  msgid "Donate"
189
  msgstr "Donazioni"
190
 
191
- #~ msgid ""
192
- #~ "Do you want to set options to Default? If you don't have a copy of the "
193
- #~ "username, please hit Cancel and copy it first."
194
- #~ msgstr ""
195
- #~ " Non avessi una copia del nome utente, premi Annulla e fai una copia."
196
-
2
  msgstr ""
3
  "Project-Id-Version: Contextual Related Posts in italiano\n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2010-01-18 23:54+0530\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"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
15
  "X-Poedit-Country: ITALY\n"
16
  "X-Poedit-SearchPath-0: .\n"
17
 
18
+ #: admin.inc.php:50
19
  msgid "Options saved successfully."
20
  msgstr "Le opzioni sono state salvate correttamente."
21
 
22
+ #: admin.inc.php:59
23
  msgid "Options set to Default."
24
  msgstr "Opzioni impostate alle predefinite."
25
 
26
+ #: admin.inc.php:74
27
  msgid "Index recreated"
28
  msgstr "E' stato ricreato l'indice"
29
 
30
+ #: admin.inc.php:86
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
31
  msgid "Options:"
32
  msgstr "Opzioni:"
33
 
34
+ #: admin.inc.php:91
35
  msgid "Number of related posts to display: "
36
  msgstr "numero di articoli correlati da mostrare:"
37
 
38
+ #: admin.inc.php:95
39
  msgid "Exclude Categories: "
40
  msgstr "escludi le categorie:"
41
 
42
+ #: admin.inc.php:113
43
  msgid "Add related posts to the post content on single posts. <br />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"
44
  msgstr "aggiungi gli articoli correlati ai contenuti del post (articoli singoli). <br />oppure disattiva ed inserisci <code>&lt;?php if(function_exists('echo_ald_crp')) echo_ald_crp(); ?&gt;</code> nel tuo template laddove desideri che siano visualizzati"
45
 
46
+ #: admin.inc.php:119
47
  msgid "Add related posts to pages. <br />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"
48
  msgstr "aggiungi gli articoli correlati alle pagine. <br />oppure disattiva ed inserisci <code>&lt;?php if(function_exists('echo_ald_crp')) echo_ald_crp(); ?&gt;</code> nel tuo template laddove desideri che siano visualizzati"
49
 
50
+ #: admin.inc.php:125
51
  msgid "Add related posts to feed"
52
  msgstr "aggiungi gli articoli correlati al feed"
53
 
54
+ #: admin.inc.php:131
55
  msgid "Find related posts based on content as well as title. If unchecked, only posts titles are used. (I recommend using a caching plugin if you enable this)"
56
  msgstr "Ricerca degli articoli correlati in relazione al contenuto ed al titolo. Se disattivata, verranno utilizzati i soli titoli dei post. (in questo caso é preferibile attivare un plugin per la cache)"
57
 
58
+ #: admin.inc.php:137
59
  msgid "Exclude Pages in Related Posts"
60
  msgstr "Escludi le pagine da Related Posts"
61
 
62
+ #: admin.inc.php:143
63
+ msgid "Append link to this plugin as item. Optional, but would be nice to give me some link love"
64
+ msgstr ""
65
+
66
+ #: admin.inc.php:147
67
  msgid "Output Options:"
68
  msgstr "Opzioni output:"
69
 
70
+ #: admin.inc.php:151
71
  msgid "Title of related posts: "
72
  msgstr "titolo per gli articoli correlati:"
73
 
74
+ #: admin.inc.php:155
75
  msgid "When there are no posts, what should be shown?"
76
  msgstr "Cosa desideri mostrare in assenza di articoli?"
77
 
78
+ #: admin.inc.php:158
79
  msgid "Blank Output"
80
  msgstr "nulla"
81
 
82
+ #: admin.inc.php:162
83
  msgid "Display \"No Related Posts\""
84
  msgstr "\"Nessun articolo correlato\""
85
 
86
+ #: admin.inc.php:168
87
+ msgid "Show post excerpt in list?"
88
+ msgstr ""
89
+
90
+ #: admin.inc.php:173
91
+ msgid "Length of excerpt (in words): "
92
+ msgstr ""
93
+
94
+ #: admin.inc.php:177
95
  msgid "Customize the output:"
96
  msgstr "Personalizzazione output:"
97
 
98
+ #: admin.inc.php:180
99
  msgid "HTML to display before the list of posts: "
100
  msgstr "HTML da mostrare davanti alla lista degli articoli:"
101
 
102
+ #: admin.inc.php:186
103
  msgid "HTML to display before each list item: "
104
  msgstr "HTML da mostrare davanti ad ogni singola lista:"
105
 
106
+ #: admin.inc.php:192
107
  msgid "HTML to display after each list item: "
108
  msgstr "HTML da mostrare dopo ogni lista:"
109
 
110
+ #: admin.inc.php:198
111
  msgid "HTML to display after the list of posts: "
112
  msgstr "HTML da mostrare dopo la lista degli articoli:"
113
 
114
+ #: admin.inc.php:202
115
  msgid "Post thumbnail options:"
116
  msgstr "Opzioni miniature articolo:"
117
 
118
+ #: admin.inc.php:206
119
  msgid "Display thumbnails inline with posts"
120
  msgstr "Mostra gli articoli con le miniature inline"
121
 
122
+ #: admin.inc.php:210
123
  msgid "Display only thumbnails, no text"
124
  msgstr "Mostra le sole miniature, nessun testo"
125
 
126
+ #: admin.inc.php:214
127
  msgid "Do not display thumbnails, only text."
128
  msgstr "Non mostrare le miniature, solo testo."
129
 
130
+ #: admin.inc.php:219
131
  msgid "Post thumbnail meta field (the meta should point contain the image source): "
132
  msgstr "Campo meta per le miniature (il valore deve puntare alla immagine):"
133
 
134
+ #: admin.inc.php:226
135
+ msgid "If the postmeta is not set, then should the plugin extract the first image from the post. This can slow down the loading of your post if the first image in the related posts is large in file-size"
136
+ msgstr ""
137
+
138
+ #: admin.inc.php:229
139
  msgid "Thumbnail dimensions:"
140
  msgstr "Dimensione miniature:"
141
 
142
+ #: admin.inc.php:231
143
  msgid "Max width: "
144
  msgstr "Larghezza massima:"
145
 
146
+ #: admin.inc.php:236
147
  msgid "Max height: "
148
  msgstr "Altezza massima:"
149
 
150
+ #: admin.inc.php:240
151
  msgid "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 below:"
152
  msgstr "Come prima operazione, il plugin controllerà la presenza di una miniatura nell'articolo. Nel caso in cui non fosse presente, verificherà il campo meta. Qualora non fosse disponibile, mostrerà l'immagine predefinita come specificato qui sotto:"
153
 
154
+ #: admin.inc.php:245
155
  msgid "Do you want to set options to Default?"
156
  msgstr "Sei certo di volere impostare alle opzioni predefinite?"
157
 
158
+ #: admin.inc.php:246
159
  msgid "Are you sure you want to recreate the index?"
160
  msgstr "Sei certo di volere ricreare l'indice?"
161
 
162
+ #: admin.inc.php:254
163
+ msgid "Quick links"
164
+ msgstr ""
165
+
166
+ #: admin.inc.php:256
167
+ #, fuzzy
168
+ msgid "Contextual Related Posts "
169
+ msgstr "Related Posts"
170
+
171
+ #: admin.inc.php:256
172
+ msgid "plugin page"
173
+ msgstr ""
174
+
175
+ #: admin.inc.php:257
176
+ msgid "Other plugins"
177
+ msgstr ""
178
+
179
+ #: admin.inc.php:258
180
+ msgid "Ajay's blog"
181
+ msgstr ""
182
+
183
+ #: admin.inc.php:259
184
+ #, fuzzy
185
+ msgid "Support forum"
186
+ msgstr "Supporto"
187
+
188
+ #: admin.inc.php:260
189
+ msgid "Follow @ajaydsouza on Twitter"
190
+ msgstr ""
191
+
192
+ #: admin.inc.php:264
193
+ msgid "Recent developments"
194
+ msgstr ""
195
+
196
  #: admin.inc.php:269
197
+ #, fuzzy
198
+ msgid "Support the development"
199
+ msgstr "Sostieni lo sviluppo"
200
+
201
+ #: admin.inc.php:277
202
+ msgid "Enter amount in USD: "
203
+ msgstr ""
204
+
205
+ #: admin.inc.php:281
206
+ msgid "Send your donation to the author of"
207
+ msgstr ""
208
+
209
+ #: admin.inc.php:309
210
+ #, fuzzy
211
+ msgid "Contextual Related Posts"
212
+ msgstr "Related Posts"
213
+
214
+ #: admin.inc.php:309
215
  msgid "Related Posts"
216
  msgstr "Related Posts"
217
 
218
+ #: contextual-related-posts.php:127
219
+ msgid "Powered by"
220
+ msgstr ""
221
+
222
+ #: contextual-related-posts.php:133
223
+ #: contextual-related-posts.php:137
224
  msgid "No related posts found"
225
  msgstr "Non é stato trovato alcun articolo correlato"
226
 
227
+ #: contextual-related-posts.php:170
228
  msgid "<h3>Related Posts:</h3>"
229
  msgstr "<h3>Related Posts:</h3>"
230
 
231
+ #: contextual-related-posts.php:268
232
  msgid "Settings"
233
  msgstr "Impostazioni"
234
 
235
+ #: contextual-related-posts.php:269
236
  msgid "Support"
237
  msgstr "Supporto"
238
 
239
+ #: contextual-related-posts.php:270
240
  msgid "Donate"
241
  msgstr "Donazioni"
242
 
 
 
 
 
 
 
readme.txt CHANGED
@@ -28,9 +28,16 @@ Now, you can choose to exclude posts from certain categories as well as exclude
28
  * Exclude links pages in Related Posts list
29
  * Find related posts based on content and post title
30
  * Option to display post thumbnails. WordPress 2.9 thumbnails need to be activated in your themes "functions.php"
 
31
 
32
  == Changelog ==
33
 
 
 
 
 
 
 
34
  = 1.5.2 =
35
  * Fixed: Fixed display of post thumbnails using postmeta field
36
 
28
  * Exclude links pages in Related Posts list
29
  * Find related posts based on content and post title
30
  * Option to display post thumbnails. WordPress 2.9 thumbnails need to be activated in your themes "functions.php"
31
+ * Display excerpts in post. You can customize the length of the excerpt
32
 
33
  == Changelog ==
34
 
35
+ = 1.6 =
36
+ * New: The plugin extracts the first image in the post and displays that if the post thumbnail and the post-image meta field is missing
37
+ * New: Display excerpts in the list
38
+ * New: Credit link to the CRP page added. You can choose to turn this off, though I would appreciate if you leave it on.
39
+ * Updated: All parts of the list are now wrapped in classes for easy CSS customisation
40
+
41
  = 1.5.2 =
42
  * Fixed: Fixed display of post thumbnails using postmeta field
43