Contextual Related Posts - Version 1.5

Version Description

  • Added an Option to display post thumbnails
  • The output can be completely customised now
Download this release

Release Info

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

Code changes from version 1.4.2 to 1.5

admin.inc.php CHANGED
@@ -33,6 +33,15 @@ 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
 
37
 
38
  $exclude_categories_slugs = explode(", ",$crp_settings[exclude_cat_slugs]);
@@ -105,12 +114,6 @@ function crp_options() {
105
  <input type="textbox" name="limit" id="limit" value="<?php echo attribute_escape(stripslashes($crp_settings[limit])); ?>">
106
  </label>
107
  </p>
108
- <p>
109
- <label>
110
- <?php _e('Title of related posts: ',CRP_LOCAL_NAME); ?>
111
- <input type="textbox" name="title" id="title" value="<?php echo attribute_escape(stripslashes($crp_settings[title])); ?>">
112
- </label>
113
- </p>
114
  <p><?php _e('Exclude Categories: ',CRP_LOCAL_NAME); ?></p>
115
  <div style="position:relative;text-align:left">
116
  <table id="MYCUSTOMFLOATER" class="myCustomFloater" style="position:absolute;top:50px;left:0;background-color:#cecece;display:none;visibility:hidden">
@@ -126,16 +129,6 @@ function crp_options() {
126
  </table>
127
  <textarea class="wickEnabled:MYCUSTOMFLOATER" cols="50" rows="3" wrap="virtual" name="exclude_cat_slugs"><?php echo (stripslashes($crp_settings[exclude_cat_slugs])); ?></textarea>
128
  </div>
129
- <p><?php _e('When there are no posts, what should be shown?',CRP_LOCAL_NAME); ?><br />
130
- <label>
131
- <input type="radio" name="blank_output" value="blank" id="blank_output_0" <?php if ($crp_settings['blank_output']) echo 'checked="checked"' ?> />
132
- <?php _e('Blank Output',CRP_LOCAL_NAME); ?></label>
133
- <br />
134
- <label>
135
- <input type="radio" name="blank_output" value="noposts" id="blank_output_1" <?php if (!$crp_settings['blank_output']) echo 'checked="checked"' ?> />
136
- <?php _e('Display "No Related Posts"',CRP_LOCAL_NAME); ?></label>
137
- <br />
138
- </p>
139
  <p>
140
  <label>
141
  <input type="checkbox" name="add_to_content" id="add_to_content" <?php if ($crp_settings[add_to_content]) echo 'checked="checked"' ?> />
@@ -166,6 +159,85 @@ function crp_options() {
166
  <?php _e('Exclude Pages in Related Posts',CRP_LOCAL_NAME); ?>
167
  </label>
168
  </p>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
169
  <p>
170
  <input type="submit" name="crp_save" id="crp_save" value="Save Options" style="border:#0C0 1px solid" />
171
  <input name="crp_default" type="submit" id="crp_default" value="Default Options" style="border:#F00 1px solid" onclick="if (!confirm('<?php _e('Do you want to set options to Default?',CRP_LOCAL_NAME); ?>')) return false;" />
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'];
39
+ $crp_settings[before_list_item] = $_POST['before_list_item'];
40
+ $crp_settings[after_list_item] = $_POST['after_list_item'];
41
+ $crp_settings[thumb_meta] = $_POST['thumb_meta'];
42
+ $crp_settings[thumb_default] = $_POST['thumb_default'];
43
+ $crp_settings[thumb_height] = ((is_int($_POST['thumb_height'])) ? ($_POST['thumb_height']) : 100);
44
+ $crp_settings[thumb_width] = ((is_int($_POST['thumb_width'])) ? ($_POST['thumb_width']) : 100);
45
 
46
 
47
  $exclude_categories_slugs = explode(", ",$crp_settings[exclude_cat_slugs]);
114
  <input type="textbox" name="limit" id="limit" value="<?php echo attribute_escape(stripslashes($crp_settings[limit])); ?>">
115
  </label>
116
  </p>
 
 
 
 
 
 
117
  <p><?php _e('Exclude Categories: ',CRP_LOCAL_NAME); ?></p>
118
  <div style="position:relative;text-align:left">
119
  <table id="MYCUSTOMFLOATER" class="myCustomFloater" style="position:absolute;top:50px;left:0;background-color:#cecece;display:none;visibility:hidden">
129
  </table>
130
  <textarea class="wickEnabled:MYCUSTOMFLOATER" cols="50" rows="3" wrap="virtual" name="exclude_cat_slugs"><?php echo (stripslashes($crp_settings[exclude_cat_slugs])); ?></textarea>
131
  </div>
 
 
 
 
 
 
 
 
 
 
132
  <p>
133
  <label>
134
  <input type="checkbox" name="add_to_content" id="add_to_content" <?php if ($crp_settings[add_to_content]) echo 'checked="checked"' ?> />
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>
165
+ <p>
166
+ <label>
167
+ <?php _e('Title of related posts: ',CRP_LOCAL_NAME); ?>
168
+ <input type="textbox" name="title" id="title" value="<?php echo attribute_escape(stripslashes($crp_settings[title])); ?>">
169
+ </label>
170
+ </p>
171
+ <p><?php _e('When there are no posts, what should be shown?',CRP_LOCAL_NAME); ?><br />
172
+ <label>
173
+ <input type="radio" name="blank_output" value="blank" id="blank_output_0" <?php if ($crp_settings['blank_output']) echo 'checked="checked"' ?> />
174
+ <?php _e('Blank Output',CRP_LOCAL_NAME); ?></label>
175
+ <br />
176
+ <label>
177
+ <input type="radio" name="blank_output" value="noposts" id="blank_output_1" <?php if (!$crp_settings['blank_output']) echo 'checked="checked"' ?> />
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>
184
+ <?php _e('HTML to display before the list of posts: ',CRP_LOCAL_NAME); ?>
185
+ <input type="textbox" name="before_list" id="before_list" value="<?php echo attribute_escape(stripslashes($crp_settings[before_list])); ?>">
186
+ </label>
187
+ </p>
188
+ <p>
189
+ <label>
190
+ <?php _e('HTML to display before each list item: ',CRP_LOCAL_NAME); ?>
191
+ <input type="textbox" name="before_list_item" id="before_list_item" value="<?php echo attribute_escape(stripslashes($crp_settings[before_list_item])); ?>">
192
+ </label>
193
+ </p>
194
+ <p>
195
+ <label>
196
+ <?php _e('HTML to display after each list item: ',CRP_LOCAL_NAME); ?>
197
+ <input type="textbox" name="after_list_item" id="after_list_item" value="<?php echo attribute_escape(stripslashes($crp_settings[after_list_item])); ?>">
198
+ </label>
199
+ </p>
200
+ <p>
201
+ <label>
202
+ <?php _e('HTML to display after the list of posts: ',CRP_LOCAL_NAME); ?>
203
+ <input type="textbox" name="after_list" id="after_list" value="<?php echo attribute_escape(stripslashes($crp_settings[after_list])); ?>">
204
+ </label>
205
+ </p>
206
+ <h4><?php _e('Post thumbnail options:',CRP_LOCAL_NAME); ?></h4>
207
+ <p>
208
+ <label>
209
+ <input type="radio" name="post_thumb_op" value="inline" id="post_thumb_op_0" <?php if ($crp_settings['post_thumb_op']=='inline') echo 'checked="checked"' ?> />
210
+ <?php _e('Display thumbnails inline with posts',CRP_LOCAL_NAME); ?></label>
211
+ <br />
212
+ <label>
213
+ <input type="radio" name="post_thumb_op" value="thumbs_only" id="post_thumb_op_1" <?php if ($crp_settings['post_thumb_op']=='thumbs_only') echo 'checked="checked"' ?> />
214
+ <?php _e('Display only thumbnails, no text',CRP_LOCAL_NAME); ?></label>
215
+ <br />
216
+ <label>
217
+ <input type="radio" name="post_thumb_op" value="text_only" id="post_thumb_op_2" <?php if ($crp_settings['post_thumb_op']=='text_only') echo 'checked="checked"' ?> />
218
+ <?php _e('Do not display thumbnails, only text.',CRP_LOCAL_NAME); ?></label>
219
+ <br />
220
+ </p>
221
+ <p>
222
+ <label>
223
+ <?php _e('Post thumbnail meta field (the meta should point contain the image source): ',CRP_LOCAL_NAME); ?>
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); ?>
230
+ <input type="textbox" name="thumb_width" id="thumb_width" value="<?php echo attribute_escape(stripslashes($crp_settings[thumb_width])); ?>" style="width:30px">px
231
+ </label>
232
+ <br />
233
+ <label>
234
+ <?php _e('Max height: ',CRP_LOCAL_NAME); ?>
235
+ <input type="textbox" name="thumb_height" id="thumb_height" value="<?php echo attribute_escape(stripslashes($crp_settings[thumb_height])); ?>" style="width:30px">px
236
+ </label>
237
+ </p>
238
+ <p><?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 below:',CRP_LOCAL_NAME); ?>
239
+ <input type="textbox" name="thumb_default" id="thumb_default" value="<?php echo attribute_escape(stripslashes($crp_settings[thumb_default])); ?>" style="width:500px">
240
+ </p>
241
  <p>
242
  <input type="submit" name="crp_save" id="crp_save" value="Save Options" style="border:#0C0 1px solid" />
243
  <input name="crp_default" type="submit" id="crp_default" value="Default Options" style="border:#F00 1px solid" onclick="if (!confirm('<?php _e('Do you want to set options to Default?',CRP_LOCAL_NAME); ?>')) return false;" />
contextual-related-posts.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  Plugin Name: Contextual Related Posts
4
- Version: 1.4.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
@@ -46,7 +46,7 @@ function ald_crp() {
46
  }
47
 
48
 
49
- if (($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 "
@@ -67,7 +67,7 @@ function ald_crp() {
67
 
68
  if($searches){
69
  $output .= (stripslashes($crp_settings[title]));
70
- $output .= '<ul>';
71
  foreach($searches as $search) {
72
  $categorys = get_the_category($search->ID); //Fetch categories of the plugin
73
  $p_in_c = false; // Variable to check if post exists in a particular category
@@ -78,12 +78,30 @@ function ald_crp() {
78
  }
79
 
80
  if (!$p_in_c) {
81
- $output .= '<li><a href="'.get_permalink($search->ID).'" rel="bookmark">'.$title.'</a></li>';
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
82
  $search_counter++;
83
  }
84
  if ($search_counter == $limit) break; // End loop when related posts limit is reached
85
  } //end of foreach loop
86
- $output .= '</ul>';
87
  }else{
88
  $output = '<div id="crp_related">';
89
  $output .= ($crp_settings['blank_output']) ? ' ' : '<p>'.__('No related posts found',CRP_LOCAL_NAME).'</p>';
@@ -123,6 +141,7 @@ function echo_ald_crp() {
123
  // Default Options
124
  function crp_default_options() {
125
  $title = __('<h3>Related Posts:</h3>',CRP_LOCAL_NAME);
 
126
 
127
  $crp_settings = Array (
128
  title => $title, // Add before the content
@@ -134,7 +153,16 @@ function crp_default_options() {
134
  exclude_pages => true, // Exclude Pages
135
  blank_output => true, // Blank output?
136
  exclude_categories => '', // Exclude these categories
137
- exclude_cat_slugs => '', // Exclude these categories
 
 
 
 
 
 
 
 
 
138
  );
139
  return $crp_settings;
140
  }
1
  <?php
2
  /*
3
  Plugin Name: Contextual Related Posts
4
+ Version: 1.5
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
46
  }
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 "
67
 
68
  if($searches){
69
  $output .= (stripslashes($crp_settings[title]));
70
+ $output .= $crp_settings['before_list'];
71
  foreach($searches as $search) {
72
  $categorys = get_the_category($search->ID); //Fetch categories of the plugin
73
  $p_in_c = false; // Variable to check if post exists in a particular category
78
  }
79
 
80
  if (!$p_in_c) {
81
+ $output .= $crp_settings['before_list_item'];
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, 'post-image', 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">';
107
  $output .= ($crp_settings['blank_output']) ? ' ' : '<p>'.__('No related posts found',CRP_LOCAL_NAME).'</p>';
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
153
  exclude_pages => true, // Exclude Pages
154
  blank_output => true, // Blank output?
155
  exclude_categories => '', // Exclude these categories
156
+ exclude_cat_slugs => '', // Exclude these categories (slugs)
157
+ before_list => '<ul>', // Before the entire list
158
+ after_list => '</ul>', // After the entire list
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
  }
default.png ADDED
Binary file
languages/crp-da_DK.mo CHANGED
Binary file
languages/crp-da_DK.po CHANGED
@@ -2,7 +2,7 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Contextual Related Posts 1.4.1\n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2009-08-08 11:39+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"
@@ -17,116 +17,177 @@ msgstr ""
17
  "X-Poedit-Basepath: ../\n"
18
  "X-Poedit-SearchPath-0: .\n"
19
 
20
- #: admin.inc.php:49
21
  msgid "Options saved successfully."
22
  msgstr "Indstillingerne blev gemt."
23
 
24
- #: admin.inc.php:58
25
  msgid "Options set to Default."
26
  msgstr "Indstillingerne sat til standardværdier."
27
 
28
- #: admin.inc.php:73
29
  msgid "Index recreated"
30
  msgstr "Indeks blev gendannet"
31
 
32
- #: admin.inc.php:84
33
  msgid "Support the Development"
34
  msgstr "Støt udviklingen"
35
 
36
- #: admin.inc.php:88
37
  msgid "If you find "
38
  msgstr "Hvis du finder "
39
 
40
- #: admin.inc.php:90
41
  msgid "useful, please do"
42
  msgstr "brugbar, så venligst"
43
 
44
- #: admin.inc.php:91
45
  msgid "drop in your contribution"
46
  msgstr "giv et bidrag"
47
 
48
- #: admin.inc.php:92
49
  msgid "Some reasons why you should."
50
  msgstr "Nogle grunde til, du skulle gøre det."
51
 
52
- #: admin.inc.php:99
53
  msgid "Options:"
54
  msgstr "Indstillinger:"
55
 
56
- #: admin.inc.php:104
57
  msgid "Number of related posts to display: "
58
  msgstr "Antal Lignende indlæg, der skal vises: "
59
 
60
- #: admin.inc.php:110
61
- msgid "Title of related posts: "
62
- msgstr "Titel på Lignende indlæg: "
63
-
64
- #: admin.inc.php:114
65
  msgid "Exclude Categories: "
66
  msgstr "Udelad kategorier: "
67
 
68
- #: admin.inc.php:129
69
- msgid "When there are no posts, what should be shown?"
70
- msgstr "Hvad skal der vises, hvis der ingen indlæg er?"
71
-
72
- #: admin.inc.php:132
73
- msgid "Blank Output"
74
- msgstr "Intet"
75
-
76
- #: admin.inc.php:136
77
- msgid "Display \"No Related Posts\""
78
- msgstr "Vis \"Ingen lignende indlæg\""
79
-
80
- #: admin.inc.php:142
81
  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"
82
  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"
83
 
84
- #: admin.inc.php:148
85
  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"
86
  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"
87
 
88
- #: admin.inc.php:154
89
  msgid "Add related posts to feed"
90
  msgstr "Tilføj Lignende indlæg til feeds"
91
 
92
- #: admin.inc.php:160
93
  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)"
94
  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)"
95
 
96
- #: admin.inc.php:166
97
  msgid "Exclude Pages in Related Posts"
98
  msgstr "Udelad sider i Lignende indlæg"
99
 
 
 
 
 
 
 
 
 
 
100
  #: admin.inc.php:171
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
101
  msgid "Do you want to set options to Default?"
102
  msgstr "Ønsker du at sætte indstillingerne til standardværdierne?"
103
 
104
- #: admin.inc.php:172
105
  msgid "Are you sure you want to recreate the index?"
106
  msgstr "Er du sikker på, du ønsker at gendanne indekset?"
107
 
108
- #: admin.inc.php:197
109
  msgid "Related Posts"
110
  msgstr "Lignende indlæg"
111
 
112
- #: contextual-related-posts.php:89
113
- #: contextual-related-posts.php:93
114
  msgid "No related posts found"
115
  msgstr "Ingen lignende indlæg fundet"
116
 
117
- #: contextual-related-posts.php:125
118
  msgid "<h3>Related Posts:</h3>"
119
  msgstr "<h3>Lignende indlæg:</h3>"
120
 
121
- #: contextual-related-posts.php:190
122
  msgid "Settings"
123
  msgstr "Opsætning"
124
 
125
- #: contextual-related-posts.php:191
126
  msgid "Support"
127
  msgstr "Support"
128
 
129
- #: contextual-related-posts.php:192
130
  msgid "Donate"
131
  msgstr "Donation"
132
 
2
  msgstr ""
3
  "Project-Id-Version: Contextual Related Posts 1.4.1\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: Ajay D'Souza <me@ajaydsouza.com>\n"
8
  "Language-Team: Team Blogos <wordpress@blogos.dk>\n"
17
  "X-Poedit-Basepath: ../\n"
18
  "X-Poedit-SearchPath-0: .\n"
19
 
20
+ #: admin.inc.php:58
21
  msgid "Options saved successfully."
22
  msgstr "Indstillingerne blev gemt."
23
 
24
+ #: admin.inc.php:67
25
  msgid "Options set to Default."
26
  msgstr "Indstillingerne sat til standardværdier."
27
 
28
+ #: admin.inc.php:82
29
  msgid "Index recreated"
30
  msgstr "Indeks blev gendannet"
31
 
32
+ #: admin.inc.php:93
33
  msgid "Support the Development"
34
  msgstr "Støt udviklingen"
35
 
36
+ #: admin.inc.php:97
37
  msgid "If you find "
38
  msgstr "Hvis du finder "
39
 
40
+ #: admin.inc.php:99
41
  msgid "useful, please do"
42
  msgstr "brugbar, så venligst"
43
 
44
+ #: admin.inc.php:100
45
  msgid "drop in your contribution"
46
  msgstr "giv et bidrag"
47
 
48
+ #: admin.inc.php:101
49
  msgid "Some reasons why you should."
50
  msgstr "Nogle grunde til, du skulle gøre det."
51
 
52
+ #: admin.inc.php:108
53
  msgid "Options:"
54
  msgstr "Indstillinger:"
55
 
56
+ #: admin.inc.php:113
57
  msgid "Number of related posts to display: "
58
  msgstr "Antal Lignende indlæg, der skal vises: "
59
 
60
+ #: admin.inc.php:117
 
 
 
 
61
  msgid "Exclude Categories: "
62
  msgstr "Udelad kategorier: "
63
 
64
+ #: 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
+ #: 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
+ #: admin.inc.php:147
73
  msgid "Add related posts to feed"
74
  msgstr "Tilføj Lignende indlæg til feeds"
75
 
76
+ #: 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
+ #: admin.inc.php:159
81
  msgid "Exclude Pages in Related Posts"
82
  msgstr "Udelad sider i Lignende indlæg"
83
 
84
+ #: admin.inc.php:163
85
+ #, fuzzy
86
+ msgid "Output Options:"
87
+ msgstr "Indstillinger:"
88
+
89
+ #: admin.inc.php:167
90
+ msgid "Title of related posts: "
91
+ msgstr "Titel på Lignende indlæg: "
92
+
93
  #: admin.inc.php:171
94
+ msgid "When there are no posts, what should be shown?"
95
+ msgstr "Hvad skal der vises, hvis der ingen indlæg er?"
96
+
97
+ #: admin.inc.php:174
98
+ msgid "Blank Output"
99
+ msgstr "Intet"
100
+
101
+ #: admin.inc.php:178
102
+ msgid "Display \"No Related Posts\""
103
+ msgstr "Vis \"Ingen lignende indlæg\""
104
+
105
+ #: admin.inc.php:181
106
+ msgid "Customize the output:"
107
+ msgstr ""
108
+
109
+ #: admin.inc.php:184
110
+ msgid "HTML to display before the list of posts: "
111
+ msgstr ""
112
+
113
+ #: admin.inc.php:190
114
+ msgid "HTML to display before each list item: "
115
+ msgstr ""
116
+
117
+ #: admin.inc.php:196
118
+ msgid "HTML to display after each list item: "
119
+ msgstr ""
120
+
121
+ #: admin.inc.php:202
122
+ msgid "HTML to display after the list of posts: "
123
+ msgstr ""
124
+
125
+ #: admin.inc.php:206
126
+ msgid "Post thumbnail options:"
127
+ msgstr ""
128
+
129
+ #: admin.inc.php:210
130
+ msgid "Display thumbnails inline with posts"
131
+ msgstr ""
132
+
133
+ #: admin.inc.php:214
134
+ msgid "Display only thumbnails, no text"
135
+ msgstr ""
136
+
137
+ #: admin.inc.php:218
138
+ msgid "Do not display thumbnails, only text."
139
+ msgstr ""
140
+
141
+ #: admin.inc.php:223
142
+ msgid "Post thumbnail meta field (the meta should point contain the image source): "
143
+ msgstr ""
144
+
145
+ #: admin.inc.php:227
146
+ msgid "Thumbnail dimensions:"
147
+ msgstr ""
148
+
149
+ #: admin.inc.php:229
150
+ msgid "Max width: "
151
+ msgstr ""
152
+
153
+ #: admin.inc.php:234
154
+ msgid "Max height: "
155
+ msgstr ""
156
+
157
+ #: admin.inc.php:238
158
+ 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:"
159
+ msgstr ""
160
+
161
+ #: admin.inc.php:243
162
  msgid "Do you want to set options to Default?"
163
  msgstr "Ønsker du at sætte indstillingerne til standardværdierne?"
164
 
165
+ #: admin.inc.php:244
166
  msgid "Are you sure you want to recreate the index?"
167
  msgstr "Er du sikker på, du ønsker at gendanne indekset?"
168
 
169
+ #: admin.inc.php:269
170
  msgid "Related Posts"
171
  msgstr "Lignende indlæg"
172
 
173
+ #: contextual-related-posts.php:107
174
+ #: contextual-related-posts.php:111
175
  msgid "No related posts found"
176
  msgstr "Ingen lignende indlæg fundet"
177
 
178
+ #: contextual-related-posts.php:143
179
  msgid "<h3>Related Posts:</h3>"
180
  msgstr "<h3>Lignende indlæg:</h3>"
181
 
182
+ #: contextual-related-posts.php:218
183
  msgid "Settings"
184
  msgstr "Opsætning"
185
 
186
+ #: contextual-related-posts.php:219
187
  msgid "Support"
188
  msgstr "Support"
189
 
190
+ #: contextual-related-posts.php:220
191
  msgid "Donate"
192
  msgstr "Donation"
193
 
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-08-08 11:39+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,116 +14,176 @@ msgstr ""
14
  "X-Poedit-Basepath: ../\n"
15
  "X-Poedit-SearchPath-0: .\n"
16
 
17
- #: admin.inc.php:49
18
  msgid "Options saved successfully."
19
  msgstr ""
20
 
21
- #: admin.inc.php:58
22
  msgid "Options set to Default."
23
  msgstr ""
24
 
25
- #: admin.inc.php:73
26
  msgid "Index recreated"
27
  msgstr ""
28
 
29
- #: admin.inc.php:84
30
  msgid "Support the Development"
31
  msgstr ""
32
 
33
- #: admin.inc.php:88
34
  msgid "If you find "
35
  msgstr ""
36
 
37
- #: admin.inc.php:90
38
  msgid "useful, please do"
39
  msgstr ""
40
 
41
- #: admin.inc.php:91
42
  msgid "drop in your contribution"
43
  msgstr ""
44
 
45
- #: admin.inc.php:92
46
  msgid "Some reasons why you should."
47
  msgstr ""
48
 
49
- #: admin.inc.php:99
50
  msgid "Options:"
51
  msgstr ""
52
 
53
- #: admin.inc.php:104
54
  msgid "Number of related posts to display: "
55
  msgstr ""
56
 
57
- #: admin.inc.php:110
58
- msgid "Title of related posts: "
59
  msgstr ""
60
 
61
- #: admin.inc.php:114
62
- msgid "Exclude Categories: "
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
63
  msgstr ""
64
 
65
- #: admin.inc.php:129
66
  msgid "When there are no posts, what should be shown?"
67
  msgstr ""
68
 
69
- #: admin.inc.php:132
70
  msgid "Blank Output"
71
  msgstr ""
72
 
73
- #: admin.inc.php:136
74
  msgid "Display \"No Related Posts\""
75
  msgstr ""
76
 
77
- #: admin.inc.php:142
78
- 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"
79
  msgstr ""
80
 
81
- #: admin.inc.php:148
82
- 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"
83
  msgstr ""
84
 
85
- #: admin.inc.php:154
86
- msgid "Add related posts to feed"
87
  msgstr ""
88
 
89
- #: admin.inc.php:160
90
- 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)"
91
  msgstr ""
92
 
93
- #: admin.inc.php:166
94
- msgid "Exclude Pages in Related Posts"
95
  msgstr ""
96
 
97
- #: admin.inc.php:171
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
98
  msgid "Do you want to set options to Default?"
99
  msgstr ""
100
 
101
- #: admin.inc.php:172
102
  msgid "Are you sure you want to recreate the index?"
103
  msgstr ""
104
 
105
- #: admin.inc.php:197
106
  msgid "Related Posts"
107
  msgstr ""
108
 
109
- #: contextual-related-posts.php:89
110
- #: contextual-related-posts.php:93
111
  msgid "No related posts found"
112
  msgstr ""
113
 
114
- #: contextual-related-posts.php:125
115
  msgid "<h3>Related Posts:</h3>"
116
  msgstr ""
117
 
118
- #: contextual-related-posts.php:190
119
  msgid "Settings"
120
  msgstr ""
121
 
122
- #: contextual-related-posts.php:191
123
  msgid "Support"
124
  msgstr ""
125
 
126
- #: contextual-related-posts.php:192
127
  msgid "Donate"
128
  msgstr ""
129
 
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
  "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
 
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-08-08 11:39+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,116 +14,176 @@ msgstr ""
14
  "X-Poedit-Basepath: ../\n"
15
  "X-Poedit-SearchPath-0: .\n"
16
 
17
- #: admin.inc.php:49
18
  msgid "Options saved successfully."
19
  msgstr ""
20
 
21
- #: admin.inc.php:58
22
  msgid "Options set to Default."
23
  msgstr ""
24
 
25
- #: admin.inc.php:73
26
  msgid "Index recreated"
27
  msgstr ""
28
 
29
- #: admin.inc.php:84
30
  msgid "Support the Development"
31
  msgstr ""
32
 
33
- #: admin.inc.php:88
34
  msgid "If you find "
35
  msgstr ""
36
 
37
- #: admin.inc.php:90
38
  msgid "useful, please do"
39
  msgstr ""
40
 
41
- #: admin.inc.php:91
42
  msgid "drop in your contribution"
43
  msgstr ""
44
 
45
- #: admin.inc.php:92
46
  msgid "Some reasons why you should."
47
  msgstr ""
48
 
49
- #: admin.inc.php:99
50
  msgid "Options:"
51
  msgstr ""
52
 
53
- #: admin.inc.php:104
54
  msgid "Number of related posts to display: "
55
  msgstr ""
56
 
57
- #: admin.inc.php:110
58
- msgid "Title of related posts: "
59
  msgstr ""
60
 
61
- #: admin.inc.php:114
62
- msgid "Exclude Categories: "
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
63
  msgstr ""
64
 
65
- #: admin.inc.php:129
66
  msgid "When there are no posts, what should be shown?"
67
  msgstr ""
68
 
69
- #: admin.inc.php:132
70
  msgid "Blank Output"
71
  msgstr ""
72
 
73
- #: admin.inc.php:136
74
  msgid "Display \"No Related Posts\""
75
  msgstr ""
76
 
77
- #: admin.inc.php:142
78
- 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"
79
  msgstr ""
80
 
81
- #: admin.inc.php:148
82
- 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"
83
  msgstr ""
84
 
85
- #: admin.inc.php:154
86
- msgid "Add related posts to feed"
87
  msgstr ""
88
 
89
- #: admin.inc.php:160
90
- 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)"
91
  msgstr ""
92
 
93
- #: admin.inc.php:166
94
- msgid "Exclude Pages in Related Posts"
95
  msgstr ""
96
 
97
- #: admin.inc.php:171
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
98
  msgid "Do you want to set options to Default?"
99
  msgstr ""
100
 
101
- #: admin.inc.php:172
102
  msgid "Are you sure you want to recreate the index?"
103
  msgstr ""
104
 
105
- #: admin.inc.php:197
106
  msgid "Related Posts"
107
  msgstr ""
108
 
109
- #: contextual-related-posts.php:89
110
- #: contextual-related-posts.php:93
111
  msgid "No related posts found"
112
  msgstr ""
113
 
114
- #: contextual-related-posts.php:125
115
  msgid "<h3>Related Posts:</h3>"
116
  msgstr ""
117
 
118
- #: contextual-related-posts.php:190
119
  msgid "Settings"
120
  msgstr ""
121
 
122
- #: contextual-related-posts.php:191
123
  msgid "Support"
124
  msgstr ""
125
 
126
- #: contextual-related-posts.php:192
127
  msgid "Donate"
128
  msgstr ""
129
 
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
  "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
 
languages/crp-it_IT.mo CHANGED
Binary file
languages/crp-it_IT.po CHANGED
@@ -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: 2009-08-08 11:38+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"
@@ -15,116 +15,177 @@ msgstr ""
15
  "X-Poedit-Country: ITALY\n"
16
  "X-Poedit-SearchPath-0: .\n"
17
 
18
- #: admin.inc.php:49
19
  msgid "Options saved successfully."
20
  msgstr "Le opzioni sono state salvate correttamente."
21
 
22
- #: admin.inc.php:58
23
  msgid "Options set to Default."
24
  msgstr "Opzioni impostate alle predefinite."
25
 
26
- #: admin.inc.php:73
27
  msgid "Index recreated"
28
  msgstr "E' stato ricreato l'indice"
29
 
30
- #: admin.inc.php:84
31
  msgid "Support the Development"
32
  msgstr "Sostieni lo sviluppo"
33
 
34
- #: admin.inc.php:88
35
  msgid "If you find "
36
  msgstr "Avessi trovato utile il mio"
37
 
38
- #: admin.inc.php:90
39
  msgid "useful, please do"
40
  msgstr ", effettua"
41
 
42
- #: admin.inc.php:91
43
  msgid "drop in your contribution"
44
  msgstr "una donazione"
45
 
46
- #: admin.inc.php:92
47
  msgid "Some reasons why you should."
48
  msgstr "alcuni motivi affinché tu lo faccia"
49
 
50
- #: admin.inc.php:99
51
  msgid "Options:"
52
  msgstr "Opzioni:"
53
 
54
- #: admin.inc.php:104
55
  msgid "Number of related posts to display: "
56
  msgstr "numero di articoli correlati da mostrare:"
57
 
58
- #: admin.inc.php:110
59
- msgid "Title of related posts: "
60
- msgstr "titolo per gli articoli correlati:"
61
-
62
- #: admin.inc.php:114
63
  msgid "Exclude Categories: "
64
  msgstr "escludi le categorie:"
65
 
66
- #: admin.inc.php:129
67
- msgid "When there are no posts, what should be shown?"
68
- msgstr "Cosa desideri mostrare in assenza di articoli?"
69
-
70
- #: admin.inc.php:132
71
- msgid "Blank Output"
72
- msgstr "nulla"
73
-
74
- #: admin.inc.php:136
75
- msgid "Display \"No Related Posts\""
76
- msgstr "\"Nessun articolo correlato\""
77
-
78
- #: admin.inc.php:142
79
  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"
80
  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"
81
 
82
- #: admin.inc.php:148
83
  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"
84
  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"
85
 
86
- #: admin.inc.php:154
87
  msgid "Add related posts to feed"
88
  msgstr "aggiungi gli articoli correlati al feed"
89
 
90
- #: admin.inc.php:160
91
  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)"
92
  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)"
93
 
94
- #: admin.inc.php:166
95
  msgid "Exclude Pages in Related Posts"
96
  msgstr "Escludi le pagine da Related Posts"
97
 
 
 
 
 
 
 
 
 
 
98
  #: admin.inc.php:171
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
99
  msgid "Do you want to set options to Default?"
100
  msgstr "Sei certo di volere impostare alle opzioni predefinite?"
101
 
102
- #: admin.inc.php:172
103
  msgid "Are you sure you want to recreate the index?"
104
  msgstr "Sei certo di volere ricreare l'indice?"
105
 
106
- #: admin.inc.php:197
107
  msgid "Related Posts"
108
  msgstr "Related Posts"
109
 
110
- #: contextual-related-posts.php:89
111
- #: contextual-related-posts.php:93
112
  msgid "No related posts found"
113
  msgstr "Non é stato trovato alcun articolo correlato"
114
 
115
- #: contextual-related-posts.php:125
116
  msgid "<h3>Related Posts:</h3>"
117
  msgstr "<h3>Related Posts:</h3>"
118
 
119
- #: contextual-related-posts.php:190
120
  msgid "Settings"
121
  msgstr "Impostazioni"
122
 
123
- #: contextual-related-posts.php:191
124
  msgid "Support"
125
  msgstr "Supporto"
126
 
127
- #: contextual-related-posts.php:192
128
  msgid "Donate"
129
  msgstr "Donazioni"
130
 
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: Ajay D'Souza <me@ajaydsouza.com>\n"
8
  "Language-Team: Gianni Diurno | http://gidibao.net/ <gidibao@gmail.com>\n"
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
+ #, fuzzy
84
+ msgid "Output Options:"
85
+ msgstr "Opzioni:"
86
+
87
+ #: admin.inc.php:167
88
+ msgid "Title of related posts: "
89
+ msgstr "titolo per gli articoli correlati:"
90
+
91
  #: admin.inc.php:171
92
+ msgid "When there are no posts, what should be shown?"
93
+ msgstr "Cosa desideri mostrare in assenza di articoli?"
94
+
95
+ #: admin.inc.php:174
96
+ msgid "Blank Output"
97
+ msgstr "nulla"
98
+
99
+ #: admin.inc.php:178
100
+ msgid "Display \"No Related Posts\""
101
+ msgstr "\"Nessun articolo correlato\""
102
+
103
+ #: admin.inc.php:181
104
+ msgid "Customize the output:"
105
+ msgstr ""
106
+
107
+ #: admin.inc.php:184
108
+ msgid "HTML to display before the list of posts: "
109
+ msgstr ""
110
+
111
+ #: admin.inc.php:190
112
+ msgid "HTML to display before each list item: "
113
+ msgstr ""
114
+
115
+ #: admin.inc.php:196
116
+ msgid "HTML to display after each list item: "
117
+ msgstr ""
118
+
119
+ #: admin.inc.php:202
120
+ msgid "HTML to display after the list of posts: "
121
+ msgstr ""
122
+
123
+ #: admin.inc.php:206
124
+ msgid "Post thumbnail options:"
125
+ msgstr ""
126
+
127
+ #: admin.inc.php:210
128
+ msgid "Display thumbnails inline with posts"
129
+ msgstr ""
130
+
131
+ #: admin.inc.php:214
132
+ msgid "Display only thumbnails, no text"
133
+ msgstr ""
134
+
135
+ #: admin.inc.php:218
136
+ msgid "Do not display thumbnails, only text."
137
+ msgstr ""
138
+
139
+ #: admin.inc.php:223
140
+ msgid "Post thumbnail meta field (the meta should point contain the image source): "
141
+ msgstr ""
142
+
143
+ #: admin.inc.php:227
144
+ msgid "Thumbnail dimensions:"
145
+ msgstr ""
146
+
147
+ #: admin.inc.php:229
148
+ msgid "Max width: "
149
+ msgstr ""
150
+
151
+ #: admin.inc.php:234
152
+ msgid "Max height: "
153
+ msgstr ""
154
+
155
+ #: admin.inc.php:238
156
+ 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:"
157
+ msgstr ""
158
+
159
+ #: admin.inc.php:243
160
  msgid "Do you want to set options to Default?"
161
  msgstr "Sei certo di volere impostare alle opzioni predefinite?"
162
 
163
+ #: admin.inc.php:244
164
  msgid "Are you sure you want to recreate the index?"
165
  msgstr "Sei certo di volere ricreare l'indice?"
166
 
167
+ #: admin.inc.php:269
168
  msgid "Related Posts"
169
  msgstr "Related Posts"
170
 
171
+ #: contextual-related-posts.php:107
172
+ #: contextual-related-posts.php:111
173
  msgid "No related posts found"
174
  msgstr "Non é stato trovato alcun articolo correlato"
175
 
176
+ #: contextual-related-posts.php:143
177
  msgid "<h3>Related Posts:</h3>"
178
  msgstr "<h3>Related Posts:</h3>"
179
 
180
+ #: contextual-related-posts.php:218
181
  msgid "Settings"
182
  msgstr "Impostazioni"
183
 
184
+ #: contextual-related-posts.php:219
185
  msgid "Support"
186
  msgstr "Supporto"
187
 
188
+ #: contextual-related-posts.php:220
189
  msgid "Donate"
190
  msgstr "Donazioni"
191
 
readme.txt CHANGED
@@ -4,7 +4,7 @@ Contributors: Ajay, Mark Ghosh
4
  Donate link: http://ajaydsouza.com/donate/
5
  Stable tag: trunk
6
  Requires at least: 2.5
7
- Tested up to: 2.8.2
8
 
9
 
10
  Show user defined number of contextually related posts
@@ -27,10 +27,14 @@ Now, you can choose to exclude posts from certain categories as well as exclude
27
  * Exclude display of related posts on Pages
28
  * Exclude links pages in Related Posts list
29
  * Find related posts based on content and post title
30
-
31
 
32
  == Changelog ==
33
 
 
 
 
 
34
  = 1.4.2 =
35
  * Fixed: Using doublequotes in the title would mess up the screen
36
  * Fixed: Errors when the mySQL index was being regenerated
4
  Donate link: http://ajaydsouza.com/donate/
5
  Stable tag: trunk
6
  Requires at least: 2.5
7
+ Tested up to: 2.9.1
8
 
9
 
10
  Show user defined number of contextually related posts
27
  * Exclude display of related posts on Pages
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 =
35
+ * Added an Option to display post thumbnails
36
+ * The output can be completely customised now
37
+
38
  = 1.4.2 =
39
  * Fixed: Using doublequotes in the title would mess up the screen
40
  * Fixed: Errors when the mySQL index was being regenerated