Yet Another Related Posts Plugin (YARPP) - Version 3.0b3

Version Description

Download this release

Release Info

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

Code changes from version 3.0b2 to 3.0b3

lang/words-de_DE.php DELETED
@@ -1,5 +0,0 @@
1
- <?php
2
-
3
- $overusedwords = array('1','2','3','4','5','6','7','8','9','0', '10','der','die','und','in','den','von','zu','das','mit','sich','des','auf','f�r','ist','im','dem','nicht','ein','eine','als','auch','es','an','werden','aus','er','hat','da�','dass','sie','nach','wird','bei','einer','um','am','sind','noch','wie','einem','�ber','einen','so','zum','war','haben','nur','oder','aber','vor','zur','bis','mehr','durch','man','sein','wurde','sei','in','Prozent','hatte','kann','gegen','vom','k�nnen','schon','wenn','habe','seine','ihre','dann','unter','wir','soll','ich','eines','Jahr','zwei','Jahren','diese','dieser','wieder','keine','Uhr','seiner','worden','will','zwischen','immer','Millionen','was','sagte','gibt','alle','diesem','seit','mu�','muss','wurden','beim','doch','jetzt','waren','drei','Jahre','neue','neuen','damit','bereits','da','ihr','seinen','m�ssen','ab','ihrer','ohne','sondern','selbst','ersten','nun','etwa');
4
-
5
- ?>
lang/words-en_US.php DELETED
@@ -1,5 +0,0 @@
1
- <?php
2
-
3
- $overusedwords = array( '', 'a', 'an', 'the', 'and', 'of', 'i', 'to', 'is', 'in', 'with', 'for', 'as', 'that', 'on', 'at', 'this', 'my', 'was', 'our', 'it', 'you', 'we', '1', '2', '3', '4', '5', '6', '7', '8', '9', '0', '10', 'about', 'after', 'all', 'almost', 'along', 'also', 'amp', 'another', 'any', 'are', 'area', 'around', 'available', 'back', 'be', 'because', 'been', 'being', 'best', 'better', 'big', 'bit', 'both', 'but', 'by', 'c', 'came', 'can', 'capable', 'control', 'could', 'course', 'd', 'dan', 'day', 'decided', 'did', 'didn', 'different', 'div', 'do', 'doesn', 'don', 'down', 'drive', 'e', 'each', 'easily', 'easy', 'edition', 'end', 'enough', 'even', 'every', 'example', 'few', 'find', 'first', 'found', 'from', 'get', 'go', 'going', 'good', 'got', 'gt', 'had', 'hard', 'has', 'have', 'he', 'her', 'here', 'how', 'if', 'into', 'isn', 'just', 'know', 'last', 'left', 'li', 'like', 'little', 'll', 'long', 'look', 'lot', 'lt', 'm', 'made', 'make', 'many', 'mb', 'me', 'menu', 'might', 'mm', 'more', 'most', 'much', 'name', 'nbsp', 'need', 'new', 'no', 'not', 'now', 'number', 'off', 'old', 'one', 'only', 'or', 'original', 'other', 'out', 'over', 'part', 'place', 'point', 'pretty', 'probably', 'problem', 'put', 'quite', 'quot', 'r', 're', 'really', 'results', 'right', 's', 'same', 'saw', 'see', 'set', 'several', 'she', 'sherree', 'should', 'since', 'size', 'small', 'so', 'some', 'something', 'special', 'still', 'stuff', 'such', 'sure', 'system', 't', 'take', 'than', 'their', 'them', 'then', 'there', 'these', 'they', 'thing', 'things', 'think', 'those', 'though', 'through', 'time', 'today', 'together', 'too', 'took', 'two', 'up', 'us', 'use', 'used', 'using', 've', 'very', 'want', 'way', 'well', 'went', 'were', 'what', 'when', 'where', 'which', 'while', 'white', 'who', 'will', 'would', 'your');
4
-
5
- ?>
lang/yarpp-de_DE.mo DELETED
Binary file
lang/yarpp-de_DE.po DELETED
@@ -1,395 +0,0 @@
1
- msgid ""
2
- msgstr ""
3
- "Project-Id-Version: YARPP_DE\n"
4
- "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2008-11-17 14:23+0100\n"
6
- "PO-Revision-Date: \n"
7
- "Last-Translator: Michael Kalina <m.kalina@3th.be>\n"
8
- "Language-Team: Michael Kalina <m.kalina@3th.be>\n"
9
- "MIME-Version: 1.0\n"
10
- "Content-Type: text/plain; charset=UTF-8\n"
11
- "Content-Transfer-Encoding: 8bit\n"
12
- "X-Poedit-Language: German\n"
13
- "X-Poedit-Country: GERMANY\n"
14
- "X-Poedit-SourceCharset: utf-8\n"
15
- "X-Poedit-KeywordsList: _e;__\n"
16
- "X-Poedit-Basepath: .\n"
17
- "X-Poedit-SearchPath-0: .\n"
18
- ": "
19
-
20
- #: includes.php:74
21
- msgid "MySQL error on adding yarpp_title"
22
- msgstr "MySQL-Fehler beim Hinzufügen von \"yarpp_title\""
23
-
24
- #: includes.php:79
25
- msgid "MySQL error on adding yarpp_content"
26
- msgstr "MySQL-Fehler beim Hinzufügen von \"yarpp_content\""
27
-
28
- #: includes.php:133
29
- 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>"
30
- msgstr "<h3>Nachricht von YARPP</h3><p>Danke fürs Upgrade auf YARPP 2. Diese Version bringt Verbesserungen im magischen Algorithmus, lässt Sie Einstellungen in der Gewichtung der verschiedenen Stichwörter oder Kategorien vornehmen, berücksichtigt Einstellungen zum Gebrauch bestimmter Ausschlussregeln und lässt Sie bestimmen, wie stark die Variablen \"Inhalt\", \"Überschrift\", \"Stichwörter\" und \"Kategorien\" berücksichtigt werden. Mehr Informationen gibt es in der <a href=\"http://mitcho.com/code/yarpp/\">YARPP Dokumentation</a>.</p><p>Diese Nachricht erscheint nie wieder!</p>"
31
-
32
- #: includes.php:154
33
- #: includes.php:154
34
- msgid "Related Posts (YARPP)"
35
- msgstr "Related Posts (YARPP)"
36
-
37
- #: includes.php:173
38
- msgid "Related Posts"
39
- msgstr "Ähnliche Beiträge"
40
-
41
- #: includes.php:178
42
- msgid "YARPP"
43
- msgstr "YARPP"
44
-
45
- #: magic.php:210
46
- #, php-format
47
- 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."
48
- msgstr "%f ist die von YARPP ermittelte Übereinstimmung zwischen diesem und dem ähnlichen Artikel (Relevanz-Wert). Sie sehen diesen Wert, weil Sie als WordPress-Administrator eingeloggt sind. Normale Besucher sehen ihn nicht."
49
-
50
- #: options.php:307
51
- #: options.php:349
52
- #: options.php:368
53
- #: options.php:412
54
- #: magic.php:219
55
- msgid "Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>."
56
- msgstr "Ähnliche Artikel bereitgestellt von <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>."
57
-
58
- #: options.php:8
59
- msgid "The MyISAM check has been overridden. You may now use the \"consider titles\" and \"consider bodies\" relatedness criteria."
60
- msgstr "Der MyISAM-Check wurde außer Kraft gesetzt. Sie können nun \"consider titles\" und \"consider bodies\" als Kriterium für die Relevanz verwenden."
61
-
62
- #: options.php:17
63
- #, php-format
64
- 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."
65
- msgstr "YARPPs \"consider titles\" und \"consider bodies\" Kriterien zur Relevanz verlangen, dass Ihre <code>%s</code> Tabelle die <a href='http://dev.mysql.com/doc/refman/5.0/en/storage-engines.html'>MyISAM Storage Engine</a> verwendet, die Tabelle scheint aber die <code>%s</code>-Engine zu verwenden. Die zwei Einstellungen wurden deaktiviert."
66
-
67
- #: options.php:19
68
- #, php-format
69
- 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."
70
- msgstr "Um dieses Feature wiederherzustellen, führen Sie den Code <code>%s</code> mit dem SQL-Befehl aus: <code>ALTER TABLE `%s` ENGINE = MyISAM;</code>."
71
-
72
- #: options.php:21
73
- #, php-format
74
- msgid "If, despite this check, you are sure that <code>%s</code> is using the MyISAM engine, press this magic button:"
75
- msgstr "Wenn Sie, selbst nach diesem Check, sicher sind, dass <code>%s</code> die MyISAM-Engine benutzt, klicken Sie den magischen Button:"
76
-
77
- #: options.php:24
78
- msgid "Trust me. Let me use MyISAM features."
79
- msgstr "Glauben Sie mir. Lassen Sie mich MyISAM-Features nutzen."
80
-
81
- #: options.php:47
82
- msgid "The YARPP database had an error but has been fixed."
83
- msgstr "Die YARPP-Datenbank hatte einen Fehler, der allerdings behoben werden konnte."
84
-
85
- #: options.php:49
86
- msgid "The YARPP database has an error which could not be fixed."
87
- msgstr "Die YARPP-Datenbank hat einen Fehler, der nicht behoben werden kann."
88
-
89
- #: options.php:121
90
- #: options.php:138
91
- #: options.php:150
92
- msgid "do not consider"
93
- msgstr "nicht berücksichtigen"
94
-
95
- #: options.php:122
96
- #: options.php:139
97
- #: options.php:152
98
- msgid "consider"
99
- msgstr "berücksichtigen"
100
-
101
- #: options.php:140
102
- msgid "consider with extra weight"
103
- msgstr "besonders berücksichtigen"
104
-
105
- #: options.php:168
106
- msgid "Yet Another Related Posts Plugin version history (RSS 2.0)"
107
- msgstr "YARPP-Versionsverlauf (RSS 2.0)"
108
-
109
- #: options.php:183
110
- #: options.php:183
111
- msgid "Donate to mitcho (Michael Yoshitaka Erlewine) for this plugin via PayPal"
112
- msgstr "An mitcho (Michael Yoshitaka Erlewine) für die Entwicklung des Plugins via PayPal spenden"
113
-
114
- #: options.php:186
115
- msgid "Yet Another Related Posts Plugin Options"
116
- msgstr "YARPP Einstellungen"
117
-
118
- #: options.php:202
119
- #, php-format
120
- msgid "by <a href=\"http://mitcho.com/code/\">mitcho (Michael 芳貴 Erlewine)</a> and based on the fabulous work of <a href=\"http://peter.mapledesign.co.uk/weblog/archives/wordpress-related-posts-plugin\">Peter Bower</a>, <a href=\"http://wasabi.pbwiki.com/Related%20Entries\">Alexander Malov &amp; Mike Lu</a>."
121
- msgstr "Das Team: <a href=\"http://mitcho.com/code/\">mitcho (Michael 芳貴 Erlewine)</a> (Programmierung), <a href=\"http://3th.be/\">Michael Kalina</a> (Deutsche Übersetzung)."
122
-
123
- #: options.php:206
124
- msgid "\"The Pool\""
125
- msgstr "\"Pool\""
126
-
127
- #: options.php:207
128
- msgid "\"The Pool\" refers to the pool of posts and pages that are candidates for display as related to the current entry."
129
- msgstr "Das Plugin berücksichtigt alle Artikel und Seiten, die in diesem \"Pool\" angeführt (oder nicht ausgeschlossen) sind."
130
-
131
- #: options.php:212
132
- msgid "Disallow by category:"
133
- msgstr "Kategorien ausschließen:"
134
-
135
- #: options.php:221
136
- msgid "Disallow by tag:"
137
- msgstr "Tags ausschließen:"
138
-
139
- #: options.php:230
140
- msgid "Show password protected posts?"
141
- msgstr "Durch ein Passwort gesicherte Artikel anzeigen?"
142
-
143
- #: options.php:231
144
- msgid "Show only previous posts?"
145
- msgstr "Nur in der Vergangenheit liegende Artikel berücksichtigen?"
146
-
147
- #: options.php:236
148
- msgid "\"Relatedness\" options"
149
- msgstr "Ähnlichkeitseinstellungen"
150
-
151
- #: options.php:237
152
- #, php-format
153
- 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>."
154
- msgstr "YARPP funktioniert ein wenig anders als <a href=\"http://wasabi.pbwiki.com/Related%20Entries\">andere Plugins mit ähnlicher Funktionalität</a>: YARPP berücksichtigt nicht nur die von Ihnen angegebene maximale Anzahl von Beiträgen, sondern auch den Wert \"Relevanz\"."
155
-
156
- #: options.php:237
157
- #: options.php:251
158
- #: options.php:309
159
- #: options.php:348
160
- #: options.php:371
161
- #: options.php:411
162
- msgid "more&gt;"
163
- msgstr "?"
164
-
165
-
166
- #: options.php:242
167
- msgid "Match threshold:"
168
- msgstr "Relevanz:"
169
-
170
- #: options.php:243
171
- msgid "Titles: "
172
- msgstr "Überschriften:"
173
-
174
- #: options.php:245
175
- msgid "Bodies: "
176
- msgstr "Textkörper:"
177
-
178
- #: options.php:247
179
- msgid "Tags: "
180
- msgstr "Tags:"
181
-
182
- #: options.php:249
183
- msgid "Categories: "
184
- msgstr "Kategorien:"
185
-
186
- #: options.php:251
187
- msgid "Cross-relate posts and pages?"
188
- msgstr "Artikel und Seiten gemeinsam ausgeben?"
189
-
190
- #: options.php:251
191
- 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."
192
- msgstr "Ist die Option \"Artikel und Seiten gemeinsam ausgeben\" aktiviert, geben die Funktionen <code>related_posts()</code>, <code>related_pages()</code>, und <code>related_entries()</code> daselbe aus: In den ähnlichen Beiträgen tauchen sowohl Artikel als auch Seiten auf!"
193
-
194
- #: options.php:293
195
- msgid "Display options <small>for your website</small>"
196
- msgstr "Darstellung <small>(Website)</small>"
197
-
198
- #: options.php:302
199
- msgid "PERMALINK"
200
- msgstr "PERMALINK"
201
-
202
- #: options.php:302
203
- #: options.php:363
204
- #: options.php:363
205
- msgid "RELATED TITLE"
206
- msgstr "ÄHNLICHER TITEL"
207
-
208
- #: options.php:309
209
- msgid "Automatically display related posts?"
210
- msgstr "Ähnliche Beiträge automatisch anzeigen?"
211
-
212
- #: options.php:309
213
- 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."
214
- msgstr "Wenn aktiviert, hängt YARPP die Ausgabe ähnlicher Beiträge einfach an den aktuellen Artikel an. Ist sie deaktiviert, müssen Sie sich um die Darstellung im Template mit den Funktionn <code>related_posts()</code> oder Varianten (<code>related_pages()</code> oder <code>related_entries()</code>) selbst kümmern."
215
-
216
- #: options.php:310
217
- msgid "Website display code example"
218
- msgstr "Quellcode-Beispiel für die Website-Anzeige"
219
-
220
- #: options.php:310
221
- #: options.php:372
222
- msgid "(Update options to reload.)"
223
- msgstr "Um Ihre Einstellungen hier zu sehen, müssen Sie die Einstellungen vorher sichern!"
224
-
225
- #: options.php:312
226
- #: options.php:374
227
- msgid "Maximum number of related posts:"
228
- msgstr "Maximale Anzahl von Beiträgen:"
229
-
230
- #: options.php:314
231
- msgid "Before / after related entries:"
232
- msgstr "Quellcode vor/nach den ähnlichen Beiträgen:"
233
-
234
- #: options.php:315
235
- #: options.php:320
236
- #: options.php:329
237
- #: options.php:378
238
- #: options.php:383
239
- #: options.php:392
240
- msgid "For example:"
241
- msgstr "Bsp.:"
242
-
243
- #: options.php:319
244
- #: options.php:382
245
- msgid "Before / after each related entry:"
246
- msgstr "Quellcode vor/nach den jeweiligen Beiträgen:"
247
-
248
- #: options.php:323
249
- #: options.php:386
250
- msgid "Show excerpt?"
251
- msgstr "Exzerpt anzeigen?"
252
-
253
- #: options.php:324
254
- #: options.php:387
255
- msgid "Excerpt length (No. of words):"
256
- msgstr "Länge des Exzerpts (Anzahl der Wörter):"
257
-
258
- #: options.php:328
259
- msgid "Before / after (Excerpt):"
260
- msgstr "Quellcode vor/nach den jeweiligen Exzerpten:"
261
-
262
- #: options.php:334
263
- #: options.php:397
264
- msgid "Order results:"
265
- msgstr "Anzeigereihenfolge:"
266
-
267
- #: options.php:336
268
- #: options.php:399
269
- msgid "score (high relevance to low)"
270
- msgstr "Relevanz (höchste nach niedrigste)"
271
-
272
- #: options.php:337
273
- #: options.php:400
274
- msgid "score (low relevance to high)"
275
- msgstr "Relevanz (niedrigste nach höchste)"
276
-
277
- #: options.php:338
278
- #: options.php:401
279
- msgid "date (new to old)"
280
- msgstr "Zeitstempel (aktuell nach alt)"
281
-
282
- #: options.php:339
283
- #: options.php:402
284
- msgid "date (old to new)"
285
- msgstr "Zeitstempel (alt nach aktuell)"
286
-
287
- #: options.php:340
288
- #: options.php:403
289
- msgid "title (alphabetical)"
290
- msgstr "Überschrift (A-Z)"
291
-
292
- #: options.php:341
293
- #: options.php:404
294
- msgid "title (reverse alphabetical)"
295
- msgstr "Überschrift (Z-A)"
296
-
297
- #: options.php:346
298
- #: options.php:409
299
- msgid "Default display if no results:"
300
- msgstr "Quellcode bei 0 relevanten Artikeln:"
301
-
302
-
303
-
304
- #: options.php:347
305
- #: options.php:411
306
- msgid "Help promote Yet Another Related Posts Plugin?"
307
- msgstr "YARPP dezent bewerben?"
308
-
309
- #: options.php:349
310
- #: options.php:412
311
- #, php-format
312
- 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."
313
- msgstr "Wenn aktiviert, steht eine kurzer Hinweis zu Autor und Plugin unter den Ergebnissen der ähnlichen Beiträge. Der Code %s wird hinzugefügt."
314
-
315
- #: options.php:354
316
- msgid "Display options <small>for RSS</small>"
317
- msgstr "Darstellung <small>(RSS)</small>"
318
-
319
- #: options.php:370
320
- msgid "Display related posts in feeds?"
321
- msgstr "Ähnliche Beiträge in Newsfeeds anzeigen?"
322
-
323
-
324
- #: options.php:371
325
- msgid "Display related posts in the descriptions?"
326
- msgstr "Ähnliche Beiträge in Descriptions anzeigen?"
327
-
328
- #: options.php:371
329
- 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."
330
- msgstr "Zeigt die ähnlichen Beiträge auch in den RSS-Descriptions an, nicht nur im Content."
331
-
332
- #: options.php:372
333
- msgid "RSS display code example"
334
- msgstr "RSS-Anzeigebeispiel"
335
-
336
- #: options.php:377
337
- msgid "Before / after related entries display:"
338
- msgstr "Quellcode vor/nach den ähnlichen Beiträgen:"
339
-
340
- #: options.php:391
341
- msgid "Before / after (excerpt):"
342
- msgstr "Quellcode vor/nach dem Exzerpt:"
343
-
344
- #: options.php:115
345
- msgid "word"
346
- msgstr ""
347
-
348
- #: options.php:116
349
- msgid "tag"
350
- msgstr ""
351
-
352
- #: options.php:117
353
- msgid "category"
354
- msgstr ""
355
-
356
- #: options.php:124
357
- #: options.php:154
358
- #, php-format
359
- msgid "require at least one %s in common"
360
- msgstr ""
361
-
362
- #: options.php:126
363
- #: options.php:156
364
- #, php-format
365
- msgid "require more than one %s in common"
366
- msgstr ""
367
-
368
- #: options.php:95
369
- msgid "Options saved!"
370
- msgstr ""
371
-
372
- #: options.php:237
373
- 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."
374
- msgstr ""
375
-
376
- #: options.php:419
377
- msgid "Update options"
378
- msgstr ""
379
-
380
- #: options.php:420
381
- msgid "Do you really want to reset your configuration?"
382
- msgstr ""
383
-
384
- #: options.php:420
385
- msgid "Reset options"
386
- msgstr ""
387
-
388
- #~ 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, I recommend you turn on the \"show admins the match scores\" setting below. That way, 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."
389
- #~ msgstr "Je höher Sie den Wert \"Relevanz\" setzen, desto restriktiver arbeitet YARPP. Der Standardwert liegt bei 5. Wenn gar keine oder zuwenige Artikel angezeigt werden, setzen Sie ihn auf 3.5 oder gar 1 herunter. Für die Feinabstimmung aktivieren Sie die Option \"Administratoren den Wert der Relevanz anzeigen\" und stimmen den Wert auf Ihre Anforderungen ab."
390
- #~ msgid "Show admins (user level > 8) the match scores?"
391
- #~ msgstr "Administratoren (User Level > 8) den Wert der Relevanz anzeigen?"
392
- #~ msgid "With this option on, each related entry's total 'match score' (all above the threshold, set above) are displayed after each entry title, <em>if you are an administrator and logged in.</em> Even if you see these values, your visitors will not."
393
- #~ msgstr "Wenn aktiviert, sehen nur eingeloggte Administratoren (nicht die Besucher!) neben jeder Beitragsüberschrift den Übereinstimmungswert."
394
- #~ msgid "This option displays related posts at the end of each item in your RSS and Atom feeds. No template changes are needed."
395
- #~ msgstr "Zeigt ähnliche Beiträge in RSS- und Atom-Feeds an."
lang/yarpp-ja.mo DELETED
Binary file
lang/yarpp-ja.po DELETED
@@ -1,380 +0,0 @@
1
- msgid ""
2
- msgstr ""
3
- "Project-Id-Version: Yet Another Related Posts Plugin v2.1.1\n"
4
- "PO-Revision-Date: 2008-11-07 10:34-0500\n"
5
- "Last-Translator: mitcho <mitcho@mitcho.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=1; plural=0;\n"
10
- "X-Poedit-Language: Japanese\n"
11
- "X-Poedit-Country: JAPAN\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:74
18
- msgid "MySQL error on adding yarpp_title"
19
- msgstr "yarpp_title インデックス作成時にエラー発生。"
20
-
21
- #: includes.php:79
22
- msgid "MySQL error on adding yarpp_content"
23
- msgstr "yarpp_content インデックス作成時にエラー発生。"
24
-
25
- #: includes.php:133
26
- 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>"
27
- msgstr ""
28
-
29
- #: includes.php:173
30
- msgid "Related Posts"
31
- msgstr "関連記事"
32
-
33
- #: includes.php:178
34
- msgid "YARPP"
35
- msgstr ""
36
-
37
- #: options.php:17
38
- #, php-format
39
- 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."
40
- msgstr "YARPPの関連スコア計算の「タイトルを検討する」、「内容を検討する」オプションはデータベースの<code>%s</code>テーブルが <a href='http://dev.mysql.com/doc/refman/4.1/ja/myisam.html'>MyISAM</a> でなければ使用できません。 <code>%s</code>テーブルは現在<code>%s</code>ストーレージエンジンを使用しているので、このふたつのオプションは使えません。"
41
-
42
- #: options.php:19
43
- #, php-format
44
- 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."
45
- msgstr "このオプションを使用したければ、<code>%s</code>テーブルに対してこのようなクエリを実行してください:<code>ALTER TABLE `%s` ENGINE = MyISAM;</code>。このクエリはデータは一切消しません。"
46
-
47
- #: options.php:21
48
- #, php-format
49
- msgid "If, despite this check, you are sure that <code>%s</code> is using the MyISAM engine, press this magic button:"
50
- msgstr "<code>%s</code>テーブルが絶対MyISAMを使用していると思う方はこちらの魔法のボタンをどうぞ:"
51
-
52
- #: options.php:24
53
- msgid "Trust me. Let me use MyISAM features."
54
- msgstr "MyISAM を使ってます。嘘じゃないから。"
55
-
56
- #: options.php:47
57
- msgid "The YARPP database had an error but has been fixed."
58
- msgstr "YARPPのデータベースは修正されました。"
59
-
60
- #: options.php:49
61
- msgid "The YARPP database has an error which could not be fixed."
62
- msgstr "YARPPのデータベースに修正できないエラーが発生しました。"
63
-
64
- #: options.php:115
65
- msgid "word"
66
- msgstr ""
67
-
68
- #: options.php:116
69
- msgid "tag"
70
- msgstr "タグ"
71
-
72
- #: options.php:117
73
- msgid "category"
74
- msgstr "カテゴリー"
75
-
76
- #: options.php:121
77
- #: options.php:138
78
- #: options.php:150
79
- msgid "do not consider"
80
- msgstr "検討しない"
81
-
82
- #: options.php:122
83
- #: options.php:139
84
- #: options.php:152
85
- msgid "consider"
86
- msgstr "検討する"
87
-
88
- #: options.php:124
89
- #: options.php:154
90
- #, php-format
91
- msgid "require at least one %s in common"
92
- msgstr "共有の%sをひとつ以上必要とする"
93
-
94
- #: options.php:126
95
- #: options.php:156
96
- #, php-format
97
- msgid "require more than one %s in common"
98
- msgstr "共有の%sをふたつ以上必要とする"
99
-
100
- #: options.php:140
101
- msgid "consider with extra weight"
102
- msgstr "検討する(重要視)"
103
-
104
- #: options.php:168
105
- msgid "Yet Another Related Posts Plugin version history (RSS 2.0)"
106
- msgstr "関連記事プラグイン (YARPP) 更新履歴 (RSS 2.0)"
107
-
108
- #: options.php:183
109
- #: options.php:183
110
- msgid "Donate to mitcho (Michael Yoshitaka Erlewine) for this plugin via PayPal"
111
- msgstr "YARPPの作成者(ミッチョ)にPayPalで寄付をする"
112
-
113
- #: options.php:186
114
- msgid "Yet Another Related Posts Plugin Options"
115
- msgstr "関連記事 (YARPP) 設定"
116
-
117
- #: options.php:202
118
- #, php-format
119
- msgid "by <a href=\"http://mitcho.com/code/\">mitcho (Michael 芳貴 Erlewine)</a> and based on the fabulous work of <a href=\"http://peter.mapledesign.co.uk/weblog/archives/wordpress-related-posts-plugin\">Peter Bower</a>, <a href=\"http://wasabi.pbwiki.com/Related%20Entries\">Alexander Malov &amp; Mike Lu</a>."
120
- msgstr "作成者: <a href=\"http://mitcho.com/\">ミッチョ (アーリーワイン・マイケル芳貴)</a>"
121
-
122
- #: options.php:206
123
- msgid "\"The Pool\""
124
- msgstr "フィルター設定"
125
-
126
- #: options.php:207
127
- msgid "\"The Pool\" refers to the pool of posts and pages that are candidates for display as related to the current entry."
128
- msgstr "関連記事として表示したい記事を制限します。"
129
-
130
- #: options.php:212
131
- msgid "Disallow by category:"
132
- msgstr "このカテゴリーの記事を表示しない"
133
-
134
- #: options.php:221
135
- msgid "Disallow by tag:"
136
- msgstr "このタグの記事を表示しない"
137
-
138
- #: options.php:230
139
- msgid "Show password protected posts?"
140
- msgstr "パスワードで保護されている記事も表示"
141
-
142
- #: options.php:231
143
- msgid "Show only previous posts?"
144
- msgstr "過去の記事だけを表示"
145
-
146
- #: options.php:236
147
- msgid "\"Relatedness\" options"
148
- msgstr "関連スコア設定"
149
-
150
- #: options.php:237
151
- #, php-format
152
- 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>."
153
- msgstr "この関連記事プラグイン(YARPP)は各対象記事の関連スコアを計算し、ある関連スコア以上の記事だけを表示します。"
154
-
155
- #: options.php:242
156
- msgid "Match threshold:"
157
- msgstr "表示する最低関連スコア"
158
-
159
- #: options.php:243
160
- msgid "Titles: "
161
- msgstr "タイトル:"
162
-
163
- #: options.php:245
164
- msgid "Bodies: "
165
- msgstr "内容:"
166
-
167
- #: options.php:247
168
- msgid "Tags: "
169
- msgstr "タグ:"
170
-
171
- #: options.php:249
172
- msgid "Categories: "
173
- msgstr "カテゴリー:"
174
-
175
- #: options.php:251
176
- msgid "Cross-relate posts and pages?"
177
- msgstr "記事とページを関連づける"
178
-
179
- #: options.php:251
180
- 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."
181
- msgstr "「記事とページを関連づける」が有効の場合は <code>related_posts()</code>、 <code>related_pages()</code> と <code>related_entries()</code> は全て記事とページを両方「関連記事/ページ」として表示します。"
182
-
183
- #: options.php:293
184
- msgid "Display options <small>for your website</small>"
185
- msgstr "表示設定 <small>ウェブサイト用</small>"
186
-
187
- #: options.php:302
188
- #: options.php:363
189
- #: options.php:363
190
- msgid "RELATED TITLE"
191
- msgstr "関連記事タイトル"
192
-
193
- #: options.php:307
194
- #: options.php:349
195
- #: options.php:368
196
- #: options.php:412
197
- #: magic.php:219
198
- msgid "Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>."
199
- msgstr "関連記事は<a href='http://mitcho.com/code/yarpp/'>YARPP関連記事プラグイン</a>によって表示されています。"
200
-
201
- #: options.php:309
202
- msgid "Automatically display related posts?"
203
- msgstr "自動的に関連記事を表示する"
204
-
205
- #: options.php:309
206
- 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."
207
- msgstr "単体記事表示時に自動的に関連記事を表示します。この自動表示を無効にすると、テーマファイルに<code>related_posts()</code>を入れる必要があります。"
208
-
209
- #: options.php:310
210
- msgid "Website display code example"
211
- msgstr "ウェブサイト表示のソース例"
212
-
213
- #: options.php:310
214
- #: options.php:372
215
- msgid "(Update options to reload.)"
216
- msgstr "(設定保存時に更新されます)"
217
-
218
- #: options.php:312
219
- #: options.php:374
220
- msgid "Maximum number of related posts:"
221
- msgstr "一度に表示する関連記事数"
222
-
223
- #: options.php:314
224
- msgid "Before / after related entries:"
225
- msgstr "関連記事表示を囲むタグ:"
226
-
227
- #: options.php:315
228
- #: options.php:320
229
- #: options.php:329
230
- #: options.php:378
231
- #: options.php:383
232
- #: options.php:392
233
- msgid "For example:"
234
- msgstr "例:"
235
-
236
- #: options.php:319
237
- #: options.php:382
238
- msgid "Before / after each related entry:"
239
- msgstr "各関連記事を囲むタグ:"
240
-
241
- #: options.php:323
242
- #: options.php:386
243
- msgid "Show excerpt?"
244
- msgstr "抜粋を表示?"
245
-
246
- #: options.php:324
247
- #: options.php:387
248
- msgid "Excerpt length (No. of words):"
249
- msgstr "抜粋の長さ(単語数):"
250
-
251
- #: options.php:328
252
- msgid "Before / after (Excerpt):"
253
- msgstr "抜粋を囲むタグ:"
254
-
255
- #: options.php:334
256
- #: options.php:397
257
- msgid "Order results:"
258
- msgstr "表示順番:"
259
-
260
- #: options.php:336
261
- #: options.php:399
262
- msgid "score (high relevance to low)"
263
- msgstr "関連スコアの高い順"
264
-
265
- #: options.php:337
266
- #: options.php:400
267
- msgid "score (low relevance to high)"
268
- msgstr "関連スコアの低い順"
269
-
270
- #: options.php:338
271
- #: options.php:401
272
- msgid "date (new to old)"
273
- msgstr "新しい日付順(降順)"
274
-
275
- #: options.php:339
276
- #: options.php:402
277
- msgid "date (old to new)"
278
- msgstr "古い日付順(昇順)"
279
-
280
- #: options.php:340
281
- #: options.php:403
282
- msgid "title (alphabetical)"
283
- msgstr "タイトル順(昇順)"
284
-
285
- #: options.php:341
286
- #: options.php:404
287
- msgid "title (reverse alphabetical)"
288
- msgstr "タイトル順(降順)"
289
-
290
- #: options.php:346
291
- #: options.php:409
292
- msgid "Default display if no results:"
293
- msgstr "関連記事がない時のメッセージ"
294
-
295
- #: options.php:347
296
- #: options.php:411
297
- msgid "Help promote Yet Another Related Posts Plugin?"
298
- msgstr "この関連記事プラグイン(YARPP)を宣伝しますか?"
299
-
300
- #: options.php:349
301
- #: options.php:412
302
- #, php-format
303
- 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."
304
- msgstr "関連記事表示の下に「%s」というコードを挿入します。"
305
-
306
- #: options.php:354
307
- msgid "Display options <small>for RSS</small>"
308
- msgstr "表示設定 <small>RSS/Atom フィード用</small>"
309
-
310
- #: options.php:370
311
- msgid "Display related posts in feeds?"
312
- msgstr "自動的にフィードで関連記事を表示する"
313
-
314
- #: options.php:371
315
- msgid "Display related posts in the descriptions?"
316
- msgstr "フィード内の抜粋にも自動的に関連記事を表示する"
317
-
318
- #: options.php:371
319
- 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."
320
- msgstr "フィード内の全文表示に関連記事を表示するだけでなく、フィード内の抜粋でも関連記事が表示されます。WordPressの設定によりフィードに抜粋のみを表示している場合は、このオプションが無効の場合関連記事がフィード内で表示されません。"
321
-
322
- #: options.php:372
323
- msgid "RSS display code example"
324
- msgstr "RSS表示のソース例"
325
-
326
- #: options.php:377
327
- msgid "Before / after related entries display:"
328
- msgstr "関連記事表示を囲むタグ:"
329
-
330
- #: options.php:391
331
- msgid "Before / after (excerpt):"
332
- msgstr "抜粋を囲むタグ:"
333
-
334
- #: magic.php:210
335
- #, php-format
336
- 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."
337
- msgstr "%fは現在表示の記事とこの関連記事の関連スコアです。この関連スコアはログイン済みのサイト管理者のみに表示されます。"
338
-
339
- #: includes.php:154
340
- #: includes.php:154
341
- msgid "Related Posts (YARPP)"
342
- msgstr "関連記事 (YARPP)"
343
-
344
- #: options.php:8
345
- msgid "The MyISAM check has been overridden. You may now use the \"consider titles\" and \"consider bodies\" relatedness criteria."
346
- msgstr "MyISAM専用機能を強制的に有効にしました。「タイトルを検討」と「内容を検討」機能が使えるようになりました。"
347
-
348
- #: options.php:302
349
- msgid "PERMALINK"
350
- msgstr "パーマリンク"
351
-
352
- #: options.php:237
353
- #: options.php:251
354
- #: options.php:309
355
- #: options.php:348
356
- #: options.php:371
357
- #: options.php:411
358
- msgid "more&gt;"
359
- msgstr "(説明)"
360
-
361
- #: options.php:95
362
- msgid "Options saved!"
363
- msgstr "設定の変更は保存されました。"
364
-
365
- #: options.php:420
366
- msgid "Do you really want to reset your configuration?"
367
- msgstr "本当に初期設定に戻りますか?"
368
-
369
- #: options.php:419
370
- msgid "Update options"
371
- msgstr "変更を保存"
372
-
373
- #: options.php:237
374
- 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."
375
- msgstr "より関連性の高い記事だけを表示したい場合は、最低関連スコアを上げてください。初期設定は5です。"
376
-
377
- #: options.php:420
378
- msgid "Reset options"
379
- msgstr "初期設定に戻る"
380
-
lang/yarpp-zh_CN.mo DELETED
Binary file
lang/yarpp-zh_CN.po DELETED
@@ -1,380 +0,0 @@
1
- msgid ""
2
- msgstr ""
3
- "Project-Id-Version: Yet Another Related Posts Plugin v2.1.3\n"
4
- "PO-Revision-Date: 2008-11-10 08:40-0600\n"
5
- "Last-Translator: Jor <mail@jorwang.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=1;\n"
10
- "X-Poedit-Language: Chinese\n"
11
- "X-Poedit-Country: PEOPLE'S REPUBLIC OF CHINA\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:74
18
- msgid "MySQL error on adding yarpp_title"
19
- msgstr "在添加 yarpp_title 时 MySQL 发生错误"
20
-
21
- #: includes.php:79
22
- msgid "MySQL error on adding yarpp_content"
23
- msgstr "在添加 yarpp_content 时 MySQL 发生错误"
24
-
25
- #: includes.php:133
26
- 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>"
27
- msgstr "<h3>关于 YARPP 的重要信息:</h3><p>感谢您升级到 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>更多信息,请查阅 <a href=\"http://mitcho.com/code/yarpp/\">YARPP 官方手册</a>. (本条信息不会再次出现。)</p>"
28
-
29
- #: includes.php:154
30
- #: includes.php:154
31
- msgid "Related Posts (YARPP)"
32
- msgstr "关联文章 (YARPP)"
33
-
34
- #: includes.php:173
35
- msgid "Related Posts"
36
- msgstr "Related Posts"
37
-
38
- #: includes.php:178
39
- msgid "YARPP"
40
- msgstr "YARPP"
41
-
42
- #: magic.php:210
43
- #, php-format
44
- 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."
45
- msgstr "YARPP 中的 %f 是指当前文章和关联文章之间的匹配程度。当您以管理员的身份登录时才能查阅,游客等其他权限是不能查阅的。"
46
-
47
- #: options.php:307
48
- #: options.php:349
49
- #: options.php:368
50
- #: options.php:412
51
- #: magic.php:219
52
- msgid "Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>."
53
- msgstr "Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>."
54
-
55
- #: options.php:8
56
- msgid "The MyISAM check has been overridden. You may now use the \"consider titles\" and \"consider bodies\" relatedness criteria."
57
- msgstr "The MyISAM check has been overridden. You may now use the \"consider titles\" and \"consider bodies\" relatedness criteria."
58
-
59
- #: options.php:17
60
- #, php-format
61
- 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."
62
- msgstr "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."
63
-
64
- #: options.php:19
65
- #, php-format
66
- 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."
67
- msgstr "如果要恢复这些功能,请在您的 <code>%s</code> 表执行下列SQL指令: <code>ALTER TABLE `%s` ENGINE = MyISAM;</code> 。该操作将修改数据库,但不会损坏您的其它设置。"
68
-
69
- #: options.php:21
70
- #, php-format
71
- msgid "If, despite this check, you are sure that <code>%s</code> is using the MyISAM engine, press this magic button:"
72
- msgstr "同意后 <code>%s</code> 将使用 MyISAM 引擎:"
73
-
74
- #: options.php:24
75
- msgid "Trust me. Let me use MyISAM features."
76
- msgstr "Trust me. Let me use MyISAM features."
77
-
78
- #: options.php:47
79
- msgid "The YARPP database had an error but has been fixed."
80
- msgstr "YARPP 数据库中的错误已被修复。"
81
-
82
- #: options.php:49
83
- msgid "The YARPP database has an error which could not be fixed."
84
- msgstr "YARPP 数据库中出现一个错误,无法修复。"
85
-
86
- #: options.php:121
87
- #: options.php:138
88
- #: options.php:150
89
- msgid "do not consider"
90
- msgstr "不参考"
91
-
92
- #: options.php:122
93
- #: options.php:139
94
- #: options.php:152
95
- msgid "consider"
96
- msgstr "参考"
97
-
98
- #: options.php:140
99
- msgid "consider with extra weight"
100
- msgstr "作为主要参考指标"
101
-
102
- #: options.php:168
103
- msgid "Yet Another Related Posts Plugin version history (RSS 2.0)"
104
- msgstr "Yet Another Related Posts Plugin 版本历史 (RSS 2.0)"
105
-
106
- #: options.php:183
107
- #: options.php:183
108
- msgid "Donate to mitcho (Michael Yoshitaka Erlewine) for this plugin via PayPal"
109
- msgstr "通过 PayPal 给插件作者 mitcho (Michael Yoshitaka Erlewine) 捐赠"
110
-
111
- #: options.php:186
112
- msgid "Yet Another Related Posts Plugin Options"
113
- msgstr "Yet Another Related Posts Plugin 设置"
114
-
115
- #: options.php:202
116
- #, php-format
117
- msgid "by <a href=\"http://mitcho.com/code/\">mitcho (Michael 芳貴 Erlewine)</a> and based on the fabulous work of <a href=\"http://peter.mapledesign.co.uk/weblog/archives/wordpress-related-posts-plugin\">Peter Bower</a>, <a href=\"http://wasabi.pbwiki.com/Related%20Entries\">Alexander Malov &amp; Mike Lu</a>."
118
- msgstr "by <a href=\"http://mitcho.com/code/\">mitcho (Michael 芳貴 Erlewine)</a> and based on the fabulous work of <a href=\"http://peter.mapledesign.co.uk/weblog/archives/wordpress-related-posts-plugin\">Peter Bower</a>, <a href=\"http://wasabi.pbwiki.com/Related%20Entries\">Alexander Malov &amp; Mike Lu</a>. 简体中文翻译:<a href=\"http://jorwang.com/\">Jor Wang</a>."
119
-
120
- #: options.php:206
121
- msgid "\"The Pool\""
122
- msgstr "全局设置"
123
-
124
- #: options.php:207
125
- msgid "\"The Pool\" refers to the pool of posts and pages that are candidates for display as related to the current entry."
126
- msgstr "您可以在“全局设置”里排除某特定分类或标签,今后 YARPP 在筛选关联文章时将不列出已排除项目中的文章。"
127
-
128
- #: options.php:212
129
- msgid "Disallow by category:"
130
- msgstr "禁止关联以下分类:"
131
-
132
- #: options.php:221
133
- msgid "Disallow by tag:"
134
- msgstr "禁止关联以下标签:"
135
-
136
- #: options.php:230
137
- msgid "Show password protected posts?"
138
- msgstr "显示加密日志?"
139
-
140
- #: options.php:231
141
- msgid "Show only previous posts?"
142
- msgstr "只显示以前的日志?"
143
-
144
- #: options.php:236
145
- msgid "\"Relatedness\" options"
146
- msgstr "关联设置"
147
-
148
- #: options.php:237
149
- #, php-format
150
- 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>."
151
- msgstr "关联文章(YARPP)不同于<a href=\"http://wasabi.pbwiki.com/Related%20Entries\">以往的关联文章插件</a>,它有更先进的关联算法。您可以通过设置最大显示条目和匹配值使文章之间的匹配度更为精准。"
152
-
153
- #: options.php:242
154
- msgid "Match threshold:"
155
- msgstr "匹配值:"
156
-
157
- #: options.php:243
158
- msgid "Titles: "
159
- msgstr "标题:"
160
-
161
- #: options.php:245
162
- msgid "Bodies: "
163
- msgstr "正文:"
164
-
165
- #: options.php:247
166
- msgid "Tags: "
167
- msgstr "标签:"
168
-
169
- #: options.php:249
170
- msgid "Categories: "
171
- msgstr "分类:"
172
-
173
- #: options.php:251
174
- msgid "Cross-relate posts and pages?"
175
- msgstr "固定页面参与关联?"
176
-
177
- #: options.php:251
178
- 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."
179
- msgstr "选中该项后,<code>related_posts()</code>, <code>related_pages()</code>, 和 <code>related_entries()</code> 这些代码的输出结果相同。"
180
-
181
- #: options.php:293
182
- msgid "Display options <small>for your website</small>"
183
- msgstr "显示设置"
184
-
185
- #: options.php:302
186
- msgid "PERMALINK"
187
- msgstr "PERMALINK"
188
-
189
- #: options.php:302
190
- #: options.php:363
191
- #: options.php:363
192
- msgid "RELATED TITLE"
193
- msgstr "RELATED TITLE"
194
-
195
- #: options.php:309
196
- msgid "Automatically display related posts?"
197
- msgstr "自动插入关联文章?"
198
-
199
- #: options.php:309
200
- 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."
201
- msgstr "根据右侧的代码示例,自动插入关联文章到您的页面中,当您取消该选项时,需要通过手工加入代码 <code>related_posts()</code> 或者根据需求插入 (<code>related_pages()</code> and <code>related_entries()</code>) 到您的模板文件中。"
202
-
203
- #: options.php:310
204
- msgid "Website display code example"
205
- msgstr "网站显示的代码示例"
206
-
207
- #: options.php:310
208
- #: options.php:372
209
- msgid "(Update options to reload.)"
210
- msgstr "(更新设置后生效。)"
211
-
212
- #: options.php:312
213
- #: options.php:374
214
- msgid "Maximum number of related posts:"
215
- msgstr "最多关联篇数"
216
-
217
- #: options.php:314
218
- msgid "Before / after related entries:"
219
- msgstr "主体起止标签"
220
-
221
- #: options.php:315
222
- #: options.php:320
223
- #: options.php:329
224
- #: options.php:378
225
- #: options.php:383
226
- #: options.php:392
227
- msgid "For example:"
228
- msgstr "例如:"
229
-
230
- #: options.php:319
231
- #: options.php:382
232
- msgid "Before / after each related entry:"
233
- msgstr "条目起止标签"
234
-
235
- #: options.php:323
236
- #: options.php:386
237
- msgid "Show excerpt?"
238
- msgstr "显示摘要?"
239
-
240
- #: options.php:324
241
- #: options.php:387
242
- msgid "Excerpt length (No. of words):"
243
- msgstr "摘要字符数"
244
-
245
- #: options.php:328
246
- msgid "Before / after (Excerpt):"
247
- msgstr "摘要起止标签:"
248
-
249
- #: options.php:334
250
- #: options.php:397
251
- msgid "Order results:"
252
- msgstr "排序方式:"
253
-
254
- #: options.php:336
255
- #: options.php:399
256
- msgid "score (high relevance to low)"
257
- msgstr "匹配值(有高到低)"
258
-
259
- #: options.php:337
260
- #: options.php:400
261
- msgid "score (low relevance to high)"
262
- msgstr "匹配值(由低到高)"
263
-
264
- #: options.php:338
265
- #: options.php:401
266
- msgid "date (new to old)"
267
- msgstr "日期(由新到旧)"
268
-
269
- #: options.php:339
270
- #: options.php:402
271
- msgid "date (old to new)"
272
- msgstr "日期(由旧到新)"
273
-
274
- #: options.php:340
275
- #: options.php:403
276
- msgid "title (alphabetical)"
277
- msgstr "标题(按字母顺序排列)"
278
-
279
- #: options.php:341
280
- #: options.php:404
281
- msgid "title (reverse alphabetical)"
282
- msgstr "标题(按逆向字母排列)"
283
-
284
- #: options.php:346
285
- #: options.php:409
286
- msgid "Default display if no results:"
287
- msgstr "无匹配时:"
288
-
289
- #: options.php:347
290
- #: options.php:411
291
- msgid "Help promote Yet Another Related Posts Plugin?"
292
- msgstr "帮助推广关联文章(YARPP)插件?"
293
-
294
- #: options.php:349
295
- #: options.php:412
296
- #, php-format
297
- 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."
298
- msgstr "选中该项后会在模板中加入以下代码:%s. 设置更新后可以在右侧的代码示例看到。真诚地感谢您的推广或捐赠。"
299
-
300
- #: options.php:354
301
- msgid "Display options <small>for RSS</small>"
302
- msgstr "RSS 相关设置"
303
-
304
- #: options.php:370
305
- msgid "Display related posts in feeds?"
306
- msgstr "在文章底部显示?"
307
-
308
- #: options.php:371
309
- msgid "Display related posts in the descriptions?"
310
- msgstr "在摘要中显示?(当RSS只输出摘要时)"
311
-
312
- #: options.php:371
313
- 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."
314
- msgstr "该选项将会在 RSS 的摘要区中插入关联文章,而不是在正文区中。如果您的 RSS 只输出摘要,请选择该项。"
315
-
316
- #: options.php:372
317
- msgid "RSS display code example"
318
- msgstr "RSS 显示的代码示例"
319
-
320
- #: options.php:377
321
- msgid "Before / after related entries display:"
322
- msgstr "主体起止标签:"
323
-
324
- #: options.php:391
325
- msgid "Before / after (excerpt):"
326
- msgstr "摘要起止标签:"
327
-
328
- #: options.php:237
329
- #: options.php:251
330
- #: options.php:309
331
- #: options.php:348
332
- #: options.php:371
333
- #: options.php:411
334
- msgid "more&gt;"
335
- msgstr "更多&gt;"
336
-
337
- #: options.php:115
338
- msgid "word"
339
- msgstr "字符"
340
-
341
- #: options.php:116
342
- msgid "tag"
343
- msgstr "标签"
344
-
345
- #: options.php:117
346
- msgid "category"
347
- msgstr "分类"
348
-
349
- #: options.php:124
350
- #: options.php:154
351
- #, php-format
352
- msgid "require at least one %s in common"
353
- msgstr "至少从一个%s中考虑关联"
354
-
355
- #: options.php:126
356
- #: options.php:156
357
- #, php-format
358
- msgid "require more than one %s in common"
359
- msgstr "至少从一个以上%s中考虑关联"
360
-
361
- #: options.php:95
362
- msgid "Options saved!"
363
- msgstr "保存成功!"
364
-
365
- #: options.php:237
366
- 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."
367
- msgstr "只简单的几步设置,就能精准得到您想要的关联文章。这里默认的匹配值为5 。如果你想找到合适您网站的的匹配值,我建议你打开 ”对管理员(权限>8的用户)显示匹配值” 这个设置,这样可以更容易找到适合您网站的匹配值。"
368
-
369
- #: options.php:419
370
- msgid "Update options"
371
- msgstr "保存设置"
372
-
373
- #: options.php:420
374
- msgid "Do you really want to reset your configuration?"
375
- msgstr "请注意!您确定重置所有的设置吗?"
376
-
377
- #: options.php:420
378
- msgid "Reset options"
379
- msgstr "重置设置"
380
-
yet-another-related-posts-plugin/includes.php CHANGED
@@ -126,8 +126,8 @@ function yarpp_activate() {
126
return 0;
127
}
128
}
129
- add_option('yarpp_version','3.0b2');
130
- update_option('yarpp_version','3.0b2');
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].*#x27;,'',get_option('yarpp_version')) < 3.0 or get_option('yarpp_version') != '3.0b2') {
182
- update_option('yarpp_version','3.0b2');
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>';
126
return 0;
127
}
128
}
129
+ add_option('yarpp_version','3.0b3');
130
+ update_option('yarpp_version','3.0b3');
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].*#x27;,'',get_option('yarpp_version')) < 3.0 or get_option('yarpp_version') != '3.0b3') {
182
+ update_option('yarpp_version','3.0b3');
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>';
yet-another-related-posts-plugin/magic.php CHANGED
@@ -1,5 +1,55 @@
1
<?php
2
3
function yarpp_sql($type,$args,$giveresults = true,$reference_ID=false,$domain='website') {
4
global $wpdb, $post, $yarpp_debug;
5
@@ -254,8 +304,38 @@ function yarpp_related_exist($type,$args,$reference_ID=false) {
254
return $result > 0 ? true: false;
255
}
256
257
function yarpp_cache_enforce($type=array('post'),$reference_ID,$force=false) {
258
- global $wpdb, $yarpp_debug;
259
260
$timeout = 600;
261
@@ -268,10 +348,25 @@ function yarpp_cache_enforce($type=array('post'),$reference_ID,$force=false) {
268
269
yarpp_cache_keywords($reference_ID);
270
271
$wpdb->query("delete from {$wpdb->prefix}yarpp_related_cache where reference_ID = $reference_ID");
272
273
$wpdb->query("insert into {$wpdb->prefix}yarpp_related_cache (reference_ID,ID,score) ".yarpp_sql($type,array(),true,$reference_ID)." on duplicate key update date = now()");
274
- if ($wpdb->rows_affected and $yarpp_debug) echo "<!--YARPP just set the cache.-->";
275
if (!$wpdb->rows_affected) {
276
$wpdb->query("insert into {$wpdb->prefix}yarpp_related_cache (reference_ID,ID,score) values ($reference_ID,0,0)");
277
if (!$wpdb->rows_affected)
1
<?php
2
3
+ //=TEMPLATING/DISPLAY===========
4
+
5
+ function yarpp_set_score_override_flag($q) {
6
+ global $yarpp_time, $yarpp_score_override;
7
+ if ($yarpp_time) {
8
+ if ($q->query_vars['orderby'] == 'score')
9
+ $yarpp_score_override = true;
10
+ else
11
+ $yarpp_score_override = false;
12
+ }
13
+ }
14
+
15
+ function yarpp_join_filter($arg) {
16
+ global $wpdb, $yarpp_time;
17
+ if ($yarpp_time) {
18
+ $arg .= " join {$wpdb->prefix}yarpp_related_cache as yarpp using (ID)";
19
+ }
20
+ return $arg;
21
+ }
22
+
23
+ function yarpp_where_filter($arg) {
24
+ global $wpdb, $yarpp_time;
25
+ $threshold = yarpp_get_option('threshold');
26
+ if ($yarpp_time) {
27
+ $arg = str_replace("$wpdb->posts.ID = ","yarpp.score > $threshold and yarpp.reference_ID = ",$arg);
28
+ if (yarpp_get_option("recent_only"))
29
+ $arg .= " and post_date > date_sub(now(), interval ".yarpp_get_option("recent_number")." ".yarpp_get_option("recent_units").") ";
30
+ echo "<!--YARPP TEST: $arg-->";
31
+ }
32
+ return $arg;
33
+ }
34
+
35
+ function yarpp_orderby_filter($arg) {
36
+ global $wpdb, $yarpp_time, $yarpp_score_override;
37
+ if ($yarpp_time and $yarpp_score_override) {
38
+ $arg = str_replace("$wpdb->posts.post_date","yarpp.score",$arg);
39
+ }
40
+ return $arg;
41
+ }
42
+
43
+ function yarpp_fields_filter($arg) {
44
+ global $wpdb, $yarpp_time;
45
+ if ($yarpp_time) {
46
+ $arg .= ", yarpp.score";
47
+ }
48
+ return $arg;
49
+ }
50
+
51
+ //=CACHING===========
52
+
53
function yarpp_sql($type,$args,$giveresults = true,$reference_ID=false,$domain='website') {
54
global $wpdb, $post, $yarpp_debug;
55
304
return $result > 0 ? true: false;
305
}
306
307
+ // these are the post ID's which have been updated in this caching cycle
308
+ $yarpp_updated_posts = array();
309
+ // here's a queue of posts whose related posts should be enforced
310
+ $yarpp_caching_queue = array();
311
+
312
+ function yarpp_save_cache($post_ID,$force=true) {
313
+ global $wpdb, $yarpp_caching_queue, $yarpp_updated_posts;
314
+ $parent_ID = $wpdb->get_var("select post_parent from $wpdb->posts where ID='$post_ID'");
315
+ if ($parent_ID != $post_ID and $parent_ID)
316
+ $post_ID = $parent_ID;
317
+ if (yarpp_get_option('cross_relate'))
318
+ $type = array('post','page');
319
+ else
320
+ $type = array('post');
321
+
322
+ // add it to the queue
323
+ array_push($yarpp_caching_queue,$post_ID);
324
+
325
+ // go through the queue
326
+ while ($ID = array_pop($yarpp_caching_queue)) {
327
+ if (array_search($ID,$yarpp_updated_posts) === false) {
328
+ //echo "YARPP updating $ID<br/>";
329
+ //echo "YARPP QUEUE: ".print_r($yarpp_caching_queue,true)."<br/>";
330
+ //echo "YARPP UPDATED: ".print_r($yarpp_updated_posts,true)."<br/>";
331
+ yarpp_cache_enforce($type,$ID,$force);
332
+ array_push($yarpp_updated_posts,$ID);
333
+ }
334
+ }
335
+ }
336
+
337
function yarpp_cache_enforce($type=array('post'),$reference_ID,$force=false) {
338
+ global $wpdb, $yarpp_debug, $yarpp_caching_queue;
339
340
$timeout = 600;
341
348
349
yarpp_cache_keywords($reference_ID);
350
351
+ // let's first record the current related posts for this reference ID
352
+ $old_relations = $wpdb->get_col("select ID from {$wpdb->prefix}yarpp_related_cache where reference_ID = $reference_ID and ID != 0");
353
+ array_push($old_relations,0);
354
+
355
+ // now clear out the cruft
356
$wpdb->query("delete from {$wpdb->prefix}yarpp_related_cache where reference_ID = $reference_ID");
357
358
+ // let's update the related posts
359
$wpdb->query("insert into {$wpdb->prefix}yarpp_related_cache (reference_ID,ID,score) ".yarpp_sql($type,array(),true,$reference_ID)." on duplicate key update date = now()");
360
+
361
+ if ($wpdb->rows_affected and $yarpp_debug) echo "<!--YARPP just set the cache for post $reference_ID-->";
362
+
363
+ // if changes were made, let's find out which ones are new. We'll want to then add add these to the queue so their related posts can also be updated.
364
+ if ($wpdb->rows_affected) {
365
+ $new_relations = $wpdb->get_col("select ID from {$wpdb->prefix}yarpp_related_cache where reference_ID = $reference_ID and ID not in (".implode(',',$old_relations).")");
366
+ //echo "YARPP added (select ID from {$wpdb->prefix}yarpp_related_cache where reference_ID = $reference_ID and ID not in (".implode(',',$old_relations).")): ".print_r($new_relations,true)."<br/>";
367
+ $yarpp_caching_queue = array_merge($yarpp_caching_queue,$new_relations);
368
+ }
369
+
370
if (!$wpdb->rows_affected) {
371
$wpdb->query("insert into {$wpdb->prefix}yarpp_related_cache (reference_ID,ID,score) values ($reference_ID,0,0)");
372
if (!$wpdb->rows_affected)
yet-another-related-posts-plugin/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 the related entries based on a unique algorithm using titles, post bodies, tags, and categories. Now with RSS feed support!
6
- Version: 3.0b2
7
Author: mitcho (Michael Yoshitaka Erlewine)
8
Author URI: http://mitcho.com/
9
*/
@@ -39,66 +39,9 @@ function yarpp_metabox() {
39
}
40
41
add_action('save_post','yarpp_save_cache');
42
- function yarpp_save_cache($post_ID,$force=true) {
43
- global $wpdb;
44
- $parent_ID = $wpdb->get_var("select post_parent from $wpdb->posts where ID='$post_ID'");
45
- if ($parent_ID != $post_ID and $parent_ID)
46
- $post_ID = $parent_ID;
47
- if (yarpp_get_option('cross_relate'))
48
- $type = array('post','page');
49
- else
50
- $type = array('post');
51
- yarpp_cache_enforce($type,$post_ID,$force);
52
- }
53
-
54
- //==TEMPLATING
55
56
add_filter('posts_join','yarpp_join_filter');
57
add_filter('posts_where','yarpp_where_filter');
58
add_filter('posts_orderby','yarpp_orderby_filter');
59
add_filter('posts_fields','yarpp_fields_filter');
60
add_action('parse_query','yarpp_set_score_override_flag'); // sets the score override flag.
61
-
62
- function yarpp_set_score_override_flag($q) {
63
- global $yarpp_time, $yarpp_score_override;
64
- if ($yarpp_time) {
65
- if ($q->query_vars['orderby'] == 'score')
66
- $yarpp_score_override = true;
67
- else
68
- $yarpp_score_override = false;
69
- }
70
- }
71
-
72
- function yarpp_join_filter($arg) {
73
- global $wpdb, $yarpp_time;
74
- if ($yarpp_time) {
75
- $arg .= " join {$wpdb->prefix}yarpp_related_cache as yarpp using (ID)";
76
- }
77
- return $arg;
78
- }
79
-
80
- function yarpp_where_filter($arg) {
81
- global $wpdb, $yarpp_time;
82
- $threshold = yarpp_get_option('threshold');
83
- if ($yarpp_time) {
84
- $arg = str_replace("$wpdb->posts.ID = ","yarpp.score > $threshold and yarpp.reference_ID = ",$arg);
85
- }
86
- return $arg;
87
- }
88
-
89
- function yarpp_orderby_filter($arg) {
90
- global $wpdb, $yarpp_time, $yarpp_score_override;
91
- if ($yarpp_time and $yarpp_score_override) {
92
- $arg = str_replace("$wpdb->posts.post_date","yarpp.score",$arg);
93
- }
94
- return $arg;
95
- }
96
-
97
- function yarpp_fields_filter($arg) {
98
- global $wpdb, $yarpp_time;
99
- if ($yarpp_time) {
100
- $arg .= ", yarpp.score";
101
- }
102
- return $arg;
103
- }
104
-
3
Plugin Name: Yet Another Related Posts Plugin
4
Plugin URI: http://mitcho.com/code/yarpp/
5
Description: Returns a list of the related entries based on a unique algorithm using titles, post bodies, tags, and categories. Now with RSS feed support!
6
+ Version: 3.0b3
7
Author: mitcho (Michael Yoshitaka Erlewine)
8
Author URI: http://mitcho.com/
9
*/
39
}
40
41
add_action('save_post','yarpp_save_cache');
42
43
add_filter('posts_join','yarpp_join_filter');
44
add_filter('posts_where','yarpp_where_filter');
45
add_filter('posts_orderby','yarpp_orderby_filter');
46
add_filter('posts_fields','yarpp_fields_filter');
47
add_action('parse_query','yarpp_set_score_override_flag'); // sets the score override flag.