Yet Another Related Posts Plugin (YARPP) - Version 3.0.4

Version Description

Download this release

Release Info

Developer mitchoyoshitaka
Plugin Icon 128x128 Yet Another Related Posts Plugin (YARPP)
Version 3.0.4
Comparing to
See all releases

Code changes from version 3.0.3 to 3.0.4

Files changed (6) hide show
  1. includes.php +17 -4
  2. lang/yarpp-nl_NL.mo +0 -0
  3. lang/yarpp-nl_NL.po +551 -0
  4. options.php +8 -8
  5. readme.txt +6 -3
  6. yarpp.php +1 -1
includes.php CHANGED
@@ -126,8 +126,8 @@ function yarpp_activate() {
126
  return 0;
127
  }
128
  }
129
- add_option('yarpp_version','3.03');
130
- update_option('yarpp_version','3.03');
131
  return 1;
132
  }
133
 
@@ -178,8 +178,8 @@ function yarpp_upgrade_check($inuse = false) {
178
  $wpdb->query("ALTER TABLE $wpdb->posts ADD FULLTEXT `yarpp_content` ( `post_content`)"); update_option('yarpp_version','2.03');
179
  }
180
 
181
- if (eregi_replace('[a-z].*$','',get_option('yarpp_version')) < 3.03 or get_option('yarpp_version') != '3.03') {
182
- update_option('yarpp_version','3.03');
183
 
184
  //if (!$inuse)
185
  // echo '<div id="message" class="updated fade" style="background-color: rgb(207, 235, 247);">'.__('<h3>An important message from YARPP:</h3><p>Thank you for upgrading to YARPP 2. YARPP 2.0 adds the much requested ability to limit related entry results by certain tags or categories. 2.0 also brings more fine tuned control of the magic algorithm, letting you specify how the algorithm should consider or not consider entry content, titles, tags, and categories. Make sure to adjust the new settings to your liking and perhaps readjust your threshold.</p><p>For more information, check out the <a href="http://mitcho.com/code/yarpp/">YARPP documentation</a>. (This message will not be displayed again.)</p>','yarpp').'</div>';
@@ -384,4 +384,17 @@ function yarpp_microtime_float()
384
  return ((float)$usec + (float)$sec);
385
  }
386
 
 
 
 
 
 
 
 
 
 
 
 
 
 
387
  ?>
126
  return 0;
127
  }
128
  }
129
+ add_option('yarpp_version','3.04');
130
+ update_option('yarpp_version','3.04');
131
  return 1;
132
  }
133
 
178
  $wpdb->query("ALTER TABLE $wpdb->posts ADD FULLTEXT `yarpp_content` ( `post_content`)"); update_option('yarpp_version','2.03');
179
  }
180
 
181
+ if (eregi_replace('[a-z].*$','',get_option('yarpp_version')) < 3.04 or get_option('yarpp_version') != '3.04') {
182
+ update_option('yarpp_version','3.04');
183
 
184
  //if (!$inuse)
185
  // echo '<div id="message" class="updated fade" style="background-color: rgb(207, 235, 247);">'.__('<h3>An important message from YARPP:</h3><p>Thank you for upgrading to YARPP 2. YARPP 2.0 adds the much requested ability to limit related entry results by certain tags or categories. 2.0 also brings more fine tuned control of the magic algorithm, letting you specify how the algorithm should consider or not consider entry content, titles, tags, and categories. Make sure to adjust the new settings to your liking and perhaps readjust your threshold.</p><p>For more information, check out the <a href="http://mitcho.com/code/yarpp/">YARPP documentation</a>. (This message will not be displayed again.)</p>','yarpp').'</div>';
384
  return ((float)$usec + (float)$sec);
385
  }
386
 
387
+ function yarpp_check_version_json($version) {
388
+ include_once(ABSPATH . WPINC . '/class-snoopy.php');
389
+ if (class_exists('Snoopy')) {
390
+ $snoopy = new Snoopy;
391
+ $snoopy->referer = get_bloginfo('siteurl');
392
+ $result = $snoopy->fetch("http://mitcho.com/code/yarpp/checkversion.php?version=$version");
393
+ if ($result) {
394
+ return $snoopy->results;
395
+ }
396
+ }
397
+ return '{}';
398
+ }
399
+
400
  ?>
lang/yarpp-nl_NL.mo ADDED
Binary file
lang/yarpp-nl_NL.po ADDED
@@ -0,0 +1,551 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: Yet Another Related Posts Plugin v3.0.2\n"
4
+ "PO-Revision-Date: 2009-04-27 21:12+0200\n"
5
+ "Last-Translator: admin <werf75@gmail.com>\n"
6
+ "MIME-Version: 1.0\n"
7
+ "Content-Type: text/plain; charset=UTF-8\n"
8
+ "Content-Transfer-Encoding: 8bit\n"
9
+ "Plural-Forms: nplurals=2; plural=n != 1;\n"
10
+ "X-Poedit-Language: Dutch\n"
11
+ "X-Poedit-Country: NETHERLANDS\n"
12
+ "X-Poedit-SourceCharset: utf-8\n"
13
+ "X-Poedit-KeywordsList: __;_e;__ngettext:1,2;__ngettext_noop:1,2;_c\n"
14
+ "X-Poedit-Basepath: ../\n"
15
+ "X-Poedit-SearchPath-0: ."
16
+
17
+ #: includes.php:94
18
+ msgid "MySQL error on adding yarpp_title"
19
+ msgstr "MySQL fout bij toevoegen yarpp_title"
20
+
21
+ #: includes.php:99
22
+ msgid "MySQL error on adding yarpp_content"
23
+ msgstr "MySQL fout bij toevoegen yarpp_content"
24
+
25
+ #: includes.php:110
26
+ msgid "MySQL error on creating yarpp_keyword_cache table"
27
+ msgstr "MySQL fout bij aanmaken yarpp_keyword_cache tabel"
28
+
29
+ #: includes.php:121
30
+ msgid "MySQL error on creating yarpp_related_cache table"
31
+ msgstr "MySQL fout bij aanmaken yarpp_related_cache tabel"
32
+
33
+ #: includes.php:185
34
+ msgid "<h3>An important message from YARPP:</h3><p>Thank you for upgrading to YARPP 2. YARPP 2.0 adds the much requested ability to limit related entry results by certain tags or categories. 2.0 also brings more fine tuned control of the magic algorithm, letting you specify how the algorithm should consider or not consider entry content, titles, tags, and categories. Make sure to adjust the new settings to your liking and perhaps readjust your threshold.</p><p>For more information, check out the <a href=\"http://mitcho.com/code/yarpp/\">YARPP documentation</a>. (This message will not be displayed again.)</p>"
35
+ msgstr "<h3>Een belangrijk bericht van YARPP:</h3><p>Bedankt voor het bijwerken naar YARPP 2. YARPP 2.0 heeft de veelgevraagde mogelijkheid om gerelateerde bijdragen te beperken door labels en categorieën. 2.0 brengt ook betere controle van het magische algoritme, die de mogelijkheid biedt hoe het algoritme al dan niet moet overwegen vanuit de inhoud, titels, labels en categorieën. Wees zeker om de nieuwe instellingen naar wens te gebruiken en misschien enkele instellingen bijstellen.</p><p>Voor meer informatie kijk op <a href=\"http://mitcho.com/code/yarpp/\">YARPP documentatie</a>.(Dit bericht wordt niet weer getoond.)</p>"
36
+
37
+ #: includes.php:197
38
+ #: includes.php:197
39
+ msgid "Related Posts (YARPP)"
40
+ msgstr "Gerelateerde bijdragen (YARPP)"
41
+
42
+ #: includes.php:224
43
+ #: yarpp.php:31
44
+ #: yarpp.php:31
45
+ msgid "Related Posts"
46
+ msgstr "Gerelateerde bijdragen"
47
+
48
+ #: includes.php:229
49
+ msgid "YARPP"
50
+ msgstr "YARPP"
51
+
52
+ #: magic.php:71
53
+ msgid "Example post "
54
+ msgstr "Voorbeeld bijdrage"
55
+
56
+ #: magic.php:322
57
+ #: options.php:458
58
+ #: options.php:521
59
+ msgid "Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>."
60
+ msgstr "Gerelateerde bijdragen mogelijk gemaakt door <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>."
61
+
62
+ #: options.php:10
63
+ msgid "Please move the YARPP template files into your theme to complete installation. Simply move the sample template files (currently in <code>wp-content/plugins/yet-another-related-posts-plugin/yarpp-templates/</code>) to the <code>TEMPLATEPATH</code> directory."
64
+ msgstr "Alsjeblieft: verplaats de YARPP sjabloonbestanden naar de map waar je thema staat, om de installatie te voltooien. De sjabloonbestanden (nu in <code>wp-content/plugins/yet-another-related-posts-plugin/yarpp-templates/</code>) kunnen verplaatst worden naar de <code>TEMPLATEPATH</code> map."
65
+
66
+ #: options.php:15
67
+ msgid "No YARPP template files were found in your theme (<code>TEMPLATEPATH</code>) so the templating feature has been turned off."
68
+ msgstr "Er zijn geen YARPP sjabloonbestanden gevonden in je thema (<code>TEMPLATEPATH</code>) met als gevolg dat de sjabloonmogelijkheid uitgeschakeld is."
69
+
70
+ #: options.php:26
71
+ msgid "The MyISAM check has been overridden. You may now use the \"consider titles\" and \"consider bodies\" relatedness criteria."
72
+ msgstr "De MyISAM controle is overgeslagen. Je kunt nu de \"overweeg titels\" en \"overweeg bijdrage\" criteria relateren."
73
+
74
+ #: options.php:35
75
+ #, php-format
76
+ msgid "YARPP's \"consider titles\" and \"consider bodies\" relatedness criteria require your <code>%s</code> table to use the <a href='http://dev.mysql.com/doc/refman/5.0/en/storage-engines.html'>MyISAM storage engine</a>, but the table seems to be using the <code>%s</code> engine. These two options have been disabled."
77
+ msgstr "YARPP's \"Overweeg titels\" en \"overweeg bijdragen\" gerelateerdheidscriteria vereisen je <code>%s</code> tabel om de <a href='http://dev.mysql.com/doc/refman/5.0/en/storage-engines.html'>MyISAM engine</a> te gebruiken, maar de tabel lijkt de <code>%s</code> engine te gebruiken. Deze twee opties zijn uitgeschakeld."
78
+
79
+ #: options.php:37
80
+ #, php-format
81
+ msgid "To restore these features, please update your <code>%s</code> table by executing the following SQL directive: <code>ALTER TABLE `%s` ENGINE = MyISAM;</code> . No data will be erased by altering the table's engine, although there are performance implications."
82
+ msgstr "Om de mogelijkheden te herstellen, werk je <code>%s</code> tabel bij door het volgende SQL uit te voeren:<code>ALTER TABLE `%s` ENGINE = MyISAM;</code> .Er zullen geen gegevens gewist worden door de tabel-engine te wijzigen, maar er kunnen snelheidsproblemen optreden. "
83
+
84
+ #: options.php:39
85
+ #, php-format
86
+ msgid "If, despite this check, you are sure that <code>%s</code> is using the MyISAM engine, press this magic button:"
87
+ msgstr "Als, ondanks deze controle, je zeker bent dat <code>%s</code> gebruikt maakt van de MyISAM engine, klik op de magische knop:"
88
+
89
+ #: options.php:42
90
+ msgid "Trust me. Let me use MyISAM features."
91
+ msgstr "Vertrouw me. Laat mij MyISAM mogelijkheden gebruiken."
92
+
93
+ #: options.php:65
94
+ msgid "The YARPP database had an error but has been fixed."
95
+ msgstr "De YARPP database had een foutje maar is hersteld."
96
+
97
+ #: options.php:67
98
+ msgid "The YARPP database has an error which could not be fixed."
99
+ msgstr "De YARPP database heeft en fout die niet opgelost kon worden."
100
+
101
+ #: options.php:81
102
+ #: options.php:84
103
+ #: options.php:126
104
+ #: options.php:530
105
+ msgid "Related posts cache status"
106
+ msgstr "Gerelateerde bijdragen cache status"
107
+
108
+ #: options.php:81
109
+ msgid "Your related posts cache is incomplete. Please build your cache from the <A>related posts status pane</a>."
110
+ msgstr "Je gerelateerde bijdrage cache is niet compleet. Alsjeblieft herbouw je cache vanuit het <A>gerelateerde bijdragen status paneel<A>."
111
+
112
+ #: options.php:84
113
+ msgid "Your related posts cache is empty. Please build your cache from the <A>related posts status pane</a>."
114
+ msgstr "Je gerelateerde bijdragen cache is leeg. Alsjeblieft bouw de cache op vanuit het <A>gerelateerde bijdrage status paneel</a>."
115
+
116
+ #: options.php:125
117
+ msgid "Options saved!"
118
+ msgstr "Instellingen opgeslagen!"
119
+
120
+ #: options.php:127
121
+ msgid "If you updated the \"pool\" options or \"relatedness\" options displayed, please rebuild your cache now from the <A>related posts status pane</a>."
122
+ msgstr "Als je de getoonde \"zwembad\" opties of \"gerelateerdheid\" opties bijwerkt, bouw de cache dan ook opnieuw op vanuit het <A>gerelateerde bijdrage status paneel</a>."
123
+
124
+ #: options.php:147
125
+ msgid "word"
126
+ msgstr "woord"
127
+
128
+ #: options.php:148
129
+ msgid "tag"
130
+ msgstr "label"
131
+
132
+ #: options.php:149
133
+ msgid "category"
134
+ msgstr "categorie"
135
+
136
+ #: options.php:153
137
+ #: options.php:170
138
+ #: options.php:182
139
+ msgid "do not consider"
140
+ msgstr "overweeg niet"
141
+
142
+ #: options.php:154
143
+ #: options.php:171
144
+ #: options.php:184
145
+ msgid "consider"
146
+ msgstr "overweeg"
147
+
148
+ #: options.php:156
149
+ #: options.php:186
150
+ #, php-format
151
+ msgid "require at least one %s in common"
152
+ msgstr "ten minste een % s overeenkomstig"
153
+
154
+ #: options.php:158
155
+ #: options.php:188
156
+ #, php-format
157
+ msgid "require more than one %s in common"
158
+ msgstr "vereist meer dan een % s overeenkomstig"
159
+
160
+ #: options.php:172
161
+ msgid "consider with extra weight"
162
+ msgstr "overweeg met extra gewicht"
163
+
164
+ #: options.php:200
165
+ msgid "Yet Another Related Posts Plugin version history (RSS 2.0)"
166
+ msgstr "Yet Another Posts Plugin versie geschiedenis (RSS 2.0)"
167
+
168
+ #: options.php:254
169
+ msgid "Yet Another Related Posts Plugin Options"
170
+ msgstr "Yet Another Related Posts Plugin opties"
171
+
172
+ #: options.php:271
173
+ #: options.php:271
174
+ msgid "Donate to mitcho (Michael Yoshitaka Erlewine) for this plugin via PayPal"
175
+ msgstr "Doneer mitcho (Michael Yoshitaka Erlewine) voor deze plugin via PayPal"
176
+
177
+ #: options.php:273
178
+ msgid "by <a href=\"http://mitcho.com/code/\">mitcho (Michael 芳貴 Erlewine)</a>"
179
+ msgstr "door <a href=\"http://mitcho.com/code/\">mitcho (Michael 芳貴 Erlewine)</a>"
180
+
181
+ #: options.php:273
182
+ msgid "Follow <a href=\"http://twitter.com/yarpp/\">Yet Another Related Posts Plugin on Twitter</a>"
183
+ msgstr "Volg <a href=\"http://twitter.com/yarpp/\">Yet Another Related Posts Plugin op Twitter</a>"
184
+
185
+ #: options.php:278
186
+ msgid "\"The Pool\""
187
+ msgstr "\"Het zwembad\""
188
+
189
+ #: options.php:279
190
+ msgid "\"The Pool\" refers to the pool of posts and pages that are candidates for display as related to the current entry."
191
+ msgstr "\"Het zwembad\" verwijst naar het bad met bijdragen en pagina's die kandidaat zijn voor het vertonen als gerelateerd."
192
+
193
+ #: options.php:284
194
+ msgid "Disallow by category:"
195
+ msgstr "Uitschakelen per categorie:"
196
+
197
+ #: options.php:286
198
+ msgid "Disallow by tag:"
199
+ msgstr "Uitschakelen bij label:"
200
+
201
+ #: options.php:288
202
+ msgid "Show password protected posts?"
203
+ msgstr "Toon paswoordbeveiligde bijdragen?"
204
+
205
+ #: options.php:289
206
+ msgid "Show only previous posts?"
207
+ msgstr "Toon alleen vorige bijdragen?"
208
+
209
+ #: options.php:294
210
+ msgid "day(s)"
211
+ msgstr "dag (en)"
212
+
213
+ #: options.php:295
214
+ msgid "week(s)"
215
+ msgstr "we(e)k(en)"
216
+
217
+ #: options.php:296
218
+ msgid "month(s)"
219
+ msgstr "maand (en)"
220
+
221
+ #: options.php:298
222
+ msgid "Show only posts from the past NUMBER UNITS"
223
+ msgstr "Toon alleen bijdragen van de afgelopen AANTAL EENHEDEN"
224
+
225
+ #: options.php:306
226
+ msgid "\"Relatedness\" options"
227
+ msgstr "\"Gerelateerdheid\" opties"
228
+
229
+ #: options.php:308
230
+ #, php-format
231
+ msgid "YARPP is different than the <a href=\"http://wasabi.pbwiki.com/Related%20Entries\">previous plugins it is based on</a> as it limits the related posts list by (1) a maximum number and (2) a <em>match threshold</em>."
232
+ msgstr "YARPP is anders dan waar de <a href=\"http://wasabi.pbwiki.com/Related%20Entries\">vorige plugins op gebaseerd zijn</a> omdat het de gerelateerde bijdragen sorteert door (1) een maximum aantal en (2) een <em>overeenkomst-drempel</em>."
233
+
234
+ #: options.php:308
235
+ #: options.php:322
236
+ #: options.php:405
237
+ #: options.php:410
238
+ #: options.php:457
239
+ #: options.php:469
240
+ #: options.php:470
241
+ #: options.php:474
242
+ #: options.php:520
243
+ #: options.php:531
244
+ msgid "more&gt;"
245
+ msgstr "meer&gt;"
246
+
247
+ #: options.php:308
248
+ msgid "The higher the match threshold, the more restrictive, and you get less related posts overall. The default match threshold is 5. If you want to find an appropriate match threshhold, take a look at some post's related posts display and their scores. You can see what kinds of related posts are being picked up and with what kind of match scores, and determine an appropriate threshold for your site."
249
+ msgstr "Hoe hoger de overeenkomstdrempel hoe meer restricties en hoe minder gerelateerde bijdragen. De standaard overeenkomstdrempel is 5. Als je zoekt naar een goede drempel bekijk dan enkele gerelateerde bijdragen van de bijdragen en de scores. Je kunt zien wat voor soort gerelateerde er zijn opgepikt, wat de soort overeenkomst is en zo een juiste drempel instellen voor je website."
250
+
251
+ #: options.php:313
252
+ msgid "Match threshold:"
253
+ msgstr "Overeenkomst-drempel:"
254
+
255
+ #: options.php:314
256
+ msgid "Titles: "
257
+ msgstr "Titels:"
258
+
259
+ #: options.php:316
260
+ msgid "Bodies: "
261
+ msgstr "Bijdragen:"
262
+
263
+ #: options.php:318
264
+ msgid "Tags: "
265
+ msgstr "Labels:"
266
+
267
+ #: options.php:320
268
+ msgid "Categories: "
269
+ msgstr "Categorieën:"
270
+
271
+ #: options.php:322
272
+ msgid "Cross-relate posts and pages?"
273
+ msgstr "Kruislinken van bijdragen en pagina&#39;s?"
274
+
275
+ #: options.php:322
276
+ msgid "When the \"Cross-relate posts and pages\" option is selected, the <code>related_posts()</code>, <code>related_pages()</code>, and <code>related_entries()</code> all will give the same output, returning both related pages and posts."
277
+ msgstr "Wanneer de \"Kruislinken van bijdragen en pagina&#39;s\" optie is ingeschakeld <code>related_posts()</code>, <code>related_pages()</code> en <code>related_entries()</code> zullen allemaal dezelfde uitkomst geven en zowel gerelateerde pagina&#39;s a;s bijdragen tonen."
278
+
279
+ #: options.php:387
280
+ msgid "There is a new beta (VERSION) of Yet Another Related Posts Plugin. You can <A>download it here</a> at your own risk."
281
+ msgstr "Er is een nieuwe beta (VERSION) van Yet Another Related Posts Plugin. Je kunt het <A>Hier downloaden</a> op eigen risico."
282
+
283
+ #: options.php:389
284
+ msgid "There is a new version (VERSION) of Yet Another Related Posts Plugin available! You can <A>download it here</a>."
285
+ msgstr "Er is een nieuwe versie (VERSION) van Yet Another Related Posts Plugin beschikbaar! Je kunt het <A>hier downloaden</a>. "
286
+
287
+ #: options.php:401
288
+ msgid "Display options <small>for your website</small>"
289
+ msgstr "Toon opties <small> voor je website </small>"
290
+
291
+ #: options.php:405
292
+ msgid "Automatically display related posts?"
293
+ msgstr "Automatisch gerelateerde bijdragen tonen?"
294
+
295
+ #: options.php:405
296
+ msgid "This option automatically displays related posts right after the content on single entry pages. If this option is off, you will need to manually insert <code>related_posts()</code> or variants (<code>related_pages()</code> and <code>related_entries()</code>) into your theme files."
297
+ msgstr "Deze optie toont automatisch gerelateerde bijdragen meteen na de inhoud van een bijdrage op een enkele pagina. Als deze optie is uitgeschakeld zul je de voglende code handmatig in moeten voegen: <code>related_posts()</code> of variaties (<code>related_pages()</code> en <code>related_entries()</code>) in je themabestanden."
298
+
299
+ #: options.php:406
300
+ msgid "Website display code example"
301
+ msgstr "Websitevertoning code voorbeeld"
302
+
303
+ #: options.php:406
304
+ #: options.php:471
305
+ msgid "(Update options to reload.)"
306
+ msgstr "(Bewaar opties om te herladen.)"
307
+
308
+ #: options.php:409
309
+ #: options.php:473
310
+ msgid "Maximum number of related posts:"
311
+ msgstr "Maximum aantal gerelateerde bijdragen:"
312
+
313
+ #: options.php:410
314
+ #: options.php:474
315
+ msgid "Display using a custom template file"
316
+ msgstr "Toon met een eigen sjabloonbestand"
317
+
318
+ #: options.php:410
319
+ #: options.php:474
320
+ #: options.php:527
321
+ msgid "NEW!"
322
+ msgstr "NIEUW!"
323
+
324
+ #: options.php:410
325
+ #: options.php:474
326
+ msgid "This advanced option gives you full power to customize how your related posts are displayed. Templates (stored in your theme folder) are written in PHP."
327
+ msgstr "Deze uitgebreide opties geeft je volledige kracht om te kiezen hoe de gerelateerde bijdragen getoond worden. Sjablonen (opgeslagen in de map van je thema) zijn geschreven in PHP."
328
+
329
+ #: options.php:412
330
+ #: options.php:476
331
+ msgid "Template file:"
332
+ msgstr "Sjabloonbestand:"
333
+
334
+ #: options.php:422
335
+ msgid "Before / after related entries:"
336
+ msgstr "Voor / na gerelateerde bijdrages:"
337
+
338
+ #: options.php:423
339
+ #: options.php:428
340
+ #: options.php:437
341
+ #: options.php:487
342
+ #: options.php:492
343
+ #: options.php:501
344
+ msgid "For example:"
345
+ msgstr "Bijvoorbeeld:"
346
+
347
+ #: options.php:427
348
+ #: options.php:491
349
+ msgid "Before / after each related entry:"
350
+ msgstr "Voor / na elke gerelateerde bijdrage:"
351
+
352
+ #: options.php:431
353
+ #: options.php:495
354
+ msgid "Show excerpt?"
355
+ msgstr "Toon uittreksel?"
356
+
357
+ #: options.php:432
358
+ #: options.php:496
359
+ msgid "Excerpt length (No. of words):"
360
+ msgstr "Lengte uittreksel (aantal woorden):"
361
+
362
+ #: options.php:436
363
+ msgid "Before / after (Excerpt):"
364
+ msgstr "Voor / na (uittreksel):"
365
+
366
+ #: options.php:442
367
+ #: options.php:506
368
+ msgid "Order results:"
369
+ msgstr "Sorteer resultaten:"
370
+
371
+ #: options.php:444
372
+ #: options.php:508
373
+ msgid "score (high relevance to low)"
374
+ msgstr "Waardering (hoge naar lage relevantie)"
375
+
376
+ #: options.php:445
377
+ #: options.php:509
378
+ msgid "score (low relevance to high)"
379
+ msgstr "Waardering (lage naar hoge relevantie)"
380
+
381
+ #: options.php:446
382
+ #: options.php:510
383
+ msgid "date (new to old)"
384
+ msgstr "datum (nieuw naar oud)"
385
+
386
+ #: options.php:447
387
+ #: options.php:511
388
+ msgid "date (old to new)"
389
+ msgstr "datum (oud naar nieuw)"
390
+
391
+ #: options.php:448
392
+ #: options.php:512
393
+ msgid "title (alphabetical)"
394
+ msgstr "titel (alfabetisch)"
395
+
396
+ #: options.php:449
397
+ #: options.php:513
398
+ msgid "title (reverse alphabetical)"
399
+ msgstr "titel (omgekeerd alfabetisch)"
400
+
401
+ #: options.php:454
402
+ #: options.php:518
403
+ msgid "Default display if no results:"
404
+ msgstr "Standaard tonen indien geen resultaten:"
405
+
406
+ #: options.php:456
407
+ #: options.php:520
408
+ msgid "Help promote Yet Another Related Posts Plugin?"
409
+ msgstr "Help Yet Another Related Posts Plugin promoten?"
410
+
411
+ #: options.php:458
412
+ #: options.php:521
413
+ #, php-format
414
+ msgid "This option will add the code %s. Try turning it on, updating your options, and see the code in the code example to the right. These links and donations are greatly appreciated."
415
+ msgstr "Deze optie voegt de code %s toe. Probeer het aan te zetten, je opties bij te werken en zie de code in het codevoorbeeld rechts. Deze links en donaties worden gewaardeerd."
416
+
417
+ #: options.php:464
418
+ msgid "Display options <small>for RSS</small>"
419
+ msgstr "Vertoningsopties <small>voor RSS</small>"
420
+
421
+ #: options.php:469
422
+ msgid "Display related posts in feeds?"
423
+ msgstr "Toon gerelateerde bijdragen in feeds?"
424
+
425
+ #: options.php:469
426
+ msgid "This option displays related posts at the end of each item in your RSS and Atom feeds. No template changes are needed."
427
+ msgstr "Deze optie toont gerelateerde bijdragen aan het einde van ieder item in je RSS en ATOM feeds. Sjabloonwijzigingen niet nodig."
428
+
429
+ #: options.php:470
430
+ msgid "Display related posts in the descriptions?"
431
+ msgstr "Toon gerelateerde bijdragen in de omschrijving?"
432
+
433
+ #: options.php:470
434
+ msgid "This option displays the related posts in the RSS description fields, not just the content. If your feeds are set up to only display excerpts, however, only the description field is used, so this option is required for any display at all."
435
+ msgstr "Deze optie toont de gerelateerde bijdragen in de RSS beschrijving, niet alleen de inhoud. Als je feed is ingesteld om alleen uittreksels te tonen, hoe dan ook, alleen het omschrijvingsveld wordt gebruikt, dus deze optie is vereist voor iedere vertoning."
436
+
437
+ #: options.php:471
438
+ msgid "RSS display code example"
439
+ msgstr "Voorbeeld RSS-vertoningscode "
440
+
441
+ #: options.php:486
442
+ msgid "Before / after related entries display:"
443
+ msgstr "Voor / na gerelateerde bijdragen toon:"
444
+
445
+ #: options.php:500
446
+ msgid "Before / after (excerpt):"
447
+ msgstr "Voor / na (uittreksel):"
448
+
449
+ #: options.php:527
450
+ msgid "Advanced"
451
+ msgstr "Geavanceerd"
452
+
453
+ #: options.php:530
454
+ msgid "Show cache status"
455
+ msgstr "Toon cache status"
456
+
457
+ #: options.php:531
458
+ msgid "When the cache is incomplete, compute related posts on the fly?"
459
+ msgstr "Als de cache incompleet is, zoek gerelateerde bijdragen gaandeweg?"
460
+
461
+ #: options.php:532
462
+ msgid "If a displayed post's related posts are not cached and this option is on, YARPP will compute them on the fly. Do not turn this option on if you have a high-traffic site.<br />If this option is off and a post's related posts have not been cached, it will display as if it has no related posts."
463
+ msgstr "Als de gerelateerde bijdragen van een bijdrage niet gecached zijn en deze optie is ingeschakeld, YARPP zal ze gaandeweg zoeken. Schakel deze optie niet in als je een druk bezochte website hebt. <br />Als deze optie is uitgeschakeld en gerelateerde bijdragen van een bijdrage is niet gecached zal het lijken alsof er geen gerelateerde bijdragen zijn."
464
+
465
+ #: options.php:562
466
+ msgid "'MIN minute(s) and SEC second(s) remaining'"
467
+ msgstr "'MIN minu(u)t(en) en SEC seconde(n) resterend'"
468
+
469
+ #: options.php:564
470
+ msgid "'SEC second(s) remaining'"
471
+ msgstr "'SEC seconde(n) resterend'"
472
+
473
+ #: options.php:568
474
+ msgid "Your related posts cache is now complete."
475
+ msgstr "Je gerelateerde bijdrage cache is nu compleet."
476
+
477
+ #: options.php:568
478
+ msgid "The SQL queries took SEC seconds."
479
+ msgstr "De SQL opdrachten nam SEC seconden."
480
+
481
+ #: options.php:575
482
+ msgid "There was an error while constructing the related posts for TITLE"
483
+ msgstr "Er was een fout bij het maken van de gerelateerde bijdragen voor TITLE"
484
+
485
+ #: options.php:577
486
+ #: options.php:583
487
+ msgid "Constructing the related posts timed out."
488
+ msgstr "Aanmaken van gerelateerde bijdragen duurde te lang."
489
+
490
+ #: options.php:580
491
+ #: options.php:585
492
+ msgid "Try to continue..."
493
+ msgstr "Probeer door te gaan ..."
494
+
495
+ #: options.php:593
496
+ msgid "Your related posts cache is PERCENT% complete."
497
+ msgstr "Je gerelateerde bijdrage cache is PERCENT% compleet."
498
+
499
+ #: options.php:599
500
+ msgid "starting..."
501
+ msgstr "starten ..."
502
+
503
+ #: options.php:606
504
+ msgid "Update options"
505
+ msgstr "Opties bijwerken"
506
+
507
+ #: options.php:607
508
+ msgid "Do you really want to reset your configuration?"
509
+ msgstr "Wil je echt de instellingen herstellen?"
510
+
511
+ #: options.php:607
512
+ msgid "Reset options"
513
+ msgstr "Opties herstellen"
514
+
515
+ #: services.php:59
516
+ msgid "You cannot rebuild the YARPP cache."
517
+ msgstr "Je kunt niet de YARPP cache herbouwen."
518
+
519
+ #: template-builtin.php:35
520
+ #, php-format
521
+ msgid "%f is the YARPP match score between the current entry and this related entry. You are seeing this value because you are logged in to WordPress as an administrator. It is not shown to regular visitors."
522
+ msgstr "%f is de YARPP overeenkomst tussen de huidige bijdrage en de gerelateerde bijdrage. Je ziet deze resultaten omdat je ingelogd bent in WordPress als Administrator. Dit wordt niet getoond aan normale bezoekers."
523
+
524
+ #: template-metabox.php:12
525
+ msgid "These are the related entries for this entry. Updating this post may change these related posts."
526
+ msgstr "Er zijn gerelateerde bijdragen voor deze bijdrage. Het bijwerken van deze bijdrage kan de gerelateerde bijdragen veranderen."
527
+
528
+ #: template-metabox.php:25
529
+ msgid "Whether all of these related entries are actually displayed and how they are displayed depends on your YARPP display options."
530
+ msgstr "Of al deze gelateerde bijdragen getoond worden op de manier zoals je ze getoond wilt hebben hangt af van je YARPP instellingen."
531
+
532
+ #: includes.php:26
533
+ #: includes.php:37
534
+ #: template-metabox.php:27
535
+ msgid "No related posts."
536
+ msgstr "Geen gerelateerde bijdragen."
537
+
538
+ #: includes.php:24
539
+ #: includes.php:35
540
+ msgid "Related posts:"
541
+ msgstr "Gerelateerde bijdragen"
542
+
543
+ #: options.php:423
544
+ #: options.php:428
545
+ #: options.php:437
546
+ #: options.php:487
547
+ #: options.php:492
548
+ #: options.php:501
549
+ msgid " or "
550
+ msgstr "of"
551
+
options.php CHANGED
@@ -259,7 +259,7 @@ function load_display_discats() {
259
  $pos = strpos($display_version,'.')+2;
260
  $display_version = substr($display_version,0,$pos).'.'.substr($display_version,$pos);
261
  }
262
- echo $display_version;
263
  ?></small>
264
  </h2>
265
 
@@ -380,13 +380,13 @@ function load_display_discats() {
380
  yarppBuildRequest();
381
  });
382
 
383
- var yarpp_json = <?php echo yarpp_check_version_json($display_version)?>;
384
-
385
- if (yarpp_json.result == 'newbeta')
386
- jQuery('#yarpp-version').addClass('updated').html(<?php echo "'<p>".str_replace('VERSION',"'+yarpp_json.beta.version+'",str_replace('<A>',"<a href=\"'+yarpp_json.beta.url+'\">",addslashes(__("There is a new beta (VERSION) of Yet Another Related Posts Plugin. You can <A>download it here</a> at your own risk.","yarpp"))))."</p>'"?>).show();
387
- if (yarpp_json.result == 'new')
388
- jQuery('#yarpp-version').addClass('updated').html(<?php echo "'<p>".str_replace('VERSION',"'+yarpp_json.current.version+'",str_replace('<A>',"<a href=\"'+yarpp_json.current.url+'\">",addslashes(__("There is a new version (VERSION) of Yet Another Related Posts Plugin available! You can <A>download it here</a>.","yarpp"))))."</p>'"?>).show();
389
-
390
  }
391
 
392
  jQuery(document).ready(yarpp_js_init);
259
  $pos = strpos($display_version,'.')+2;
260
  $display_version = substr($display_version,0,$pos).'.'.substr($display_version,$pos);
261
  }
262
+ echo $display_version;
263
  ?></small>
264
  </h2>
265
 
380
  yarppBuildRequest();
381
  });
382
 
383
+ version = jQuery('#yarpp-version').html();
384
+
385
+ var json = <?php echo yarpp_check_version_json($display_version); ?>;
386
+ if (json.result == 'newbeta')
387
+ jQuery('#yarpp-version').addClass('updated').html(<?php echo "'<p>".str_replace('VERSION',"'+json.beta.version+'",str_replace('<A>',"<a href=\"'+json.beta.url+'\">",addslashes(__("There is a new beta (VERSION) of Yet Another Related Posts Plugin. You can <A>download it here</a> at your own risk.","yarpp"))))."</p>'"?>).show();
388
+ if (json.result == 'new')
389
+ jQuery('#yarpp-version').addClass('updated').html(<?php echo "'<p>".str_replace('VERSION',"'+json.current.version+'",str_replace('<A>',"<a href=\"'+json.current.url+'\">",addslashes(__("There is a new version (VERSION) of Yet Another Related Posts Plugin available! You can <A>download it here</a>.","yarpp"))))."</p>'"?>).show();
390
  }
391
 
392
  jQuery(document).ready(yarpp_js_init);
readme.txt CHANGED
@@ -7,7 +7,7 @@ Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=66G4D
7
  Tags: related, posts, post, pages, page, RSS, feed, feeds
8
  Requires at least: 2.3
9
  Tested up to: 2.7.2
10
- Stable tag: 3.0.3
11
 
12
  Returns a list of related entries based on a unique algorithm for display on your blog and RSS feeds. A templating feature allows customization of the display.
13
 
@@ -113,6 +113,7 @@ YARPP is currently localized in the following languages:
113
  * Japanese (`ja`) by myself (yarpp at mitcho dot com)
114
  * Swedish (`sv_SE`) by Max Elander (yarpp-sv at mitcho dot com)
115
  * Polish (`pl_PL`) by [Perfecta](http://perfecta.pro/wp-pl/)
 
116
 
117
  We already have localizers lined up for the following languages:
118
 
@@ -231,8 +232,10 @@ If you are a bilingual speaker of English and another language and an avid user
231
  * Reinstated the 3.0.1 bugfix for includes
232
  * Bugfix: Fixed encoding issue in keyword caching algorithm
233
  * Bugfix: One SQL query assumed `wp_` prefix on tables
234
- * Adding Polish localization
235
  * Added note on DISQUS in readme
236
  * Making some extra strings localizable
237
  * Bugfix: [a problem with the Italian localization](http://wordpress.org/support/topic/265952)
238
-
 
 
7
  Tags: related, posts, post, pages, page, RSS, feed, feeds
8
  Requires at least: 2.3
9
  Tested up to: 2.7.2
10
+ Stable tag: 3.0.4
11
 
12
  Returns a list of related entries based on a unique algorithm for display on your blog and RSS feeds. A templating feature allows customization of the display.
13
 
113
  * Japanese (`ja`) by myself (yarpp at mitcho dot com)
114
  * Swedish (`sv_SE`) by Max Elander (yarpp-sv at mitcho dot com)
115
  * Polish (`pl_PL`) by [Perfecta](http://perfecta.pro/wp-pl/)
116
+ * Dutch (`nl_NL`) by Sybrand van der Werf (yarpp-nl at mitcho dot com)
117
 
118
  We already have localizers lined up for the following languages:
119
 
232
  * Reinstated the 3.0.1 bugfix for includes
233
  * Bugfix: Fixed encoding issue in keyword caching algorithm
234
  * Bugfix: One SQL query assumed `wp_` prefix on tables
235
+ * Added Polish localization
236
  * Added note on DISQUS in readme
237
  * Making some extra strings localizable
238
  * Bugfix: [a problem with the Italian localization](http://wordpress.org/support/topic/265952)
239
+ * 3.0.4
240
+ * A fix to the version checking in the options page - now uses Snoopy
241
+ * Adding Dutch localization
yarpp.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Yet Another Related Posts Plugin
4
  Plugin URI: http://mitcho.com/code/yarpp/
5
  Description: Returns a list of related entries based on a unique algorithm for display on your blog and RSS feeds. A templating feature allows customization of the display.
6
- Version: 3.0.3
7
  Author: mitcho (Michael Yoshitaka Erlewine)
8
  Author URI: http://mitcho.com/
9
  Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=66G4DATK4999L&item_name=mitcho%2ecom%2fcode%3a%20donate%20to%20Michael%20Yoshitaka%20Erlewine&no_shipping=0&no_note=1&tax=0&currency_code=USD&lc=US&charset=UTF%2d8
3
  Plugin Name: Yet Another Related Posts Plugin
4
  Plugin URI: http://mitcho.com/code/yarpp/
5
  Description: Returns a list of related entries based on a unique algorithm for display on your blog and RSS feeds. A templating feature allows customization of the display.
6
+ Version: 3.0.4
7
  Author: mitcho (Michael Yoshitaka Erlewine)
8
  Author URI: http://mitcho.com/
9
  Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=66G4DATK4999L&item_name=mitcho%2ecom%2fcode%3a%20donate%20to%20Michael%20Yoshitaka%20Erlewine&no_shipping=0&no_note=1&tax=0&currency_code=USD&lc=US&charset=UTF%2d8