Yet Another Related Posts Plugin (YARPP) - Version 4.0

Version Description

  • New thumbnail template option!
    • No PHP requiredjust visit the settings page
    • Edit your theme's CSS file to modify the styling
  • Auto display settings changes:
    • Easily choose which post types you want related posts to display on
    • Added an "also display in archives" option
  • Bugfix: uses of related_posts_exist() and get_related() without explicit reference ID parameter would incorrectly return no related posts.
  • Changes to the output HTML:
    • All YARPP output is now wrapped in a div with class yarpp-related, yarpp-related-widget, or yarpp-related-rss as appropriate (by request). If there are no results, a yarpp-related-none class is added.
    • The "related posts brought to you by YARPP" text is only added if there were results.
  • Refinements to settings UI:
    • A new design for the template chooser
    • Example code display is now hidden by default; turn them back on from the "screen options" tab.
    • A new "copy templates" button allows one-button installation of bundled templates into the current theme, if filesystem permissions make it possible.
    • Header information in YARPP custom templates are now displayed to users in the settings UI. Available fields are Template Name, Description, Author, Author URI, in the same format as plugin and theme file headers. See bundled templates for examples.
  • Code cleanup:
    • Settings screen UI have been rewritten to use divs rather than tables!
    • Inline help in settings screen now use WordPress pointers
    • Removed keyword cache table, as it does not ctually improve performance much and the overhead of an additional table is not worth it.
  • Default option changes:
    • Default result count is now 4
    • Default match threshold is now 4
    • Default for "before related entries" heading uses h3 instead of p
  • Added yarpp_map_post_types filter to programmatically specify what post types should be looked at for automatic displays
  • Added option to send YARPP setting and usage information back to YARPP (off by default). This information will be used to make more informed decisions about future YARPP development. More info available in the settings.
Download this release

Release Info

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

Code changes from version 4.0b9 to 4.0

class-admin.php CHANGED
@@ -85,8 +85,6 @@ class YARPP_Admin {
85
current_user_can('manage_options') &&
86
!get_user_option( 'yarpp_saw_optin' )
87
) {
88
- $user = get_current_user_id();
89
- update_user_option( $user, 'yarpp_saw_optin', true );
90
add_action( 'admin_notices', array( $this, 'optin_notice' ) );
91
}
92
@@ -171,9 +169,9 @@ class YARPP_Admin {
171
echo '</p>';
172
}
173
174
- echo '<p>' . "If you opt-in, the following information is sent back to YARPP:" . '</p>';
175
echo '<div id="optin_data_frame"></div>';
176
- echo '<p>' . "In addition, YARPP also loads an invisible pixel image with your YARPP results to know how often YARPP is being used." . '</p>';
177
}
178
179
function print_optin_button() {
@@ -198,14 +196,21 @@ class YARPP_Admin {
198
}
199
200
function optin_notice( $pool = null ) {
201
echo '<div class="updated fade"><p>';
202
203
// @todo i18n
204
- if ( is_null( $pool ) );
205
$pool = $this->core->get_option( 'pools[message]' );
206
switch ( $pool ) {
207
case 0:
208
- echo "Help make YARPP better by sending information about YARPP's settings and usage statistics.";
209
break;
210
case 1:
211
echo sprintf( __( "With your permission, YARPP will send information about YARPP's settings, usage, and environment back to a central server at %s.", 'yarpp' ), '<code>yarpp.org</code>') . ' ';
@@ -218,14 +223,13 @@ class YARPP_Admin {
218
echo "This information will be used to improve YARPP in the future and help decide future development decisions for YARPP.";
219
break;
220
case 3:
221
- echo "YARPP can automatically collect diagnostic and usage information from your site and send it to YARPP's author for analysis. The information is sent only with your consent. ";
222
- echo '<strong>' . "Contributing this data will help make YARPP better for you and for other YARPP users." . '</strong>';
223
break;
224
case 4:
225
echo "<strong>We'd like your help making YARPP awesome.</strong> Is it OK if YARPP occasionally collects some data about your site and its use of YARPP?";
226
break;
227
case 5:
228
- echo "Would you like to help make YARPP better by sharing some technical information with YARPP's author?";
229
break;
230
}
231
85
current_user_can('manage_options') &&
86
!get_user_option( 'yarpp_saw_optin' )
87
) {
88
add_action( 'admin_notices', array( $this, 'optin_notice' ) );
89
}
90
169
echo '</p>';
170
}
171
172
+ echo '<p>' . __( "If you opt-in, the following information is sent back to YARPP:", 'yarpp' ) . '</p>';
173
echo '<div id="optin_data_frame"></div>';
174
+ echo '<p>' . __( "In addition, YARPP also loads an invisible pixel image with your YARPP results to know how often YARPP is being used.", 'yarpp' ) . '</p>';
175
}
176
177
function print_optin_button() {
196
}
197
198
function optin_notice( $pool = null ) {
199
+ $screen = get_current_screen();
200
+ if ( is_null($screen) || $screen->id == 'settings_page_yarpp' )
201
+ return;
202
+
203
+ $user = get_current_user_id();
204
+ update_user_option( $user, 'yarpp_saw_optin', true );
205
+
206
echo '<div class="updated fade"><p>';
207
208
// @todo i18n
209
+ if ( is_null( $pool ) )
210
$pool = $this->core->get_option( 'pools[message]' );
211
switch ( $pool ) {
212
case 0:
213
+ echo "<strong>Help make YARPP better</strong> by sending information about YARPP's settings and usage statistics.";
214
break;
215
case 1:
216
echo sprintf( __( "With your permission, YARPP will send information about YARPP's settings, usage, and environment back to a central server at %s.", 'yarpp' ), '<code>yarpp.org</code>') . ' ';
223
echo "This information will be used to improve YARPP in the future and help decide future development decisions for YARPP.";
224
break;
225
case 3:
226
+ echo "<strong>Help make YARPP awesome</strong> by allowing it to collect information about your site and how it uses YARPP.";
227
break;
228
case 4:
229
echo "<strong>We'd like your help making YARPP awesome.</strong> Is it OK if YARPP occasionally collects some data about your site and its use of YARPP?";
230
break;
231
case 5:
232
+ echo "Would you like to help make YARPP better by sharing some technical information with YARPP?";
233
break;
234
}
235
class-core.php CHANGED
@@ -751,8 +751,7 @@ class YARPP {
751
$this->prep_query( $current_query->is_feed );
752
$related_query = $wp_query; // backwards compatibility
753
$related_count = $related_query->post_count;
754
-
755
- // @todo: add these classes after the fact and include information about whether any results were given
756
$output = "<div class='";
757
if ( 'website' == $domain )
758
$output .= "yarpp-related";
751
$this->prep_query( $current_query->is_feed );
752
$related_query = $wp_query; // backwards compatibility
753
$related_count = $related_query->post_count;
754
+
755
$output = "<div class='";
756
if ( 'website' == $domain )
757
$output .= "yarpp-related";
class-widget.php CHANGED
@@ -18,6 +18,9 @@ class YARPP_Widget extends WP_Widget {
18
if ( isset($instance['use_template']) )
19
$instance['template'] = $instance['use_template'] ? $instance['template_file'] : false;
20
21
if ( $yarpp->get_option('cross_relate') )
22
$instance['post_type'] = $yarpp->get_post_types();
23
else if ( 'page' == get_post_type() )
@@ -38,12 +41,21 @@ class YARPP_Widget extends WP_Widget {
38
echo $after_widget;
39
}
40
41
- function update($new_instance, $old_instance) {
42
$instance = array(
43
'promote_yarpp' => isset($new_instance['promote_yarpp']),
44
- 'template' => isset($new_instance['use_template']) ? $new_instance['template_file'] : false
45
);
46
- // @todo add thumbnails support
47
48
if ( !!$instance['template'] ) // don't save the title change.
49
$instance['title'] = $old_instance['title'];
@@ -66,15 +78,24 @@ class YARPP_Widget extends WP_Widget {
66
if ( isset($instance['use_template']) )
67
$instance['template'] = $instance['template_file'];
68
69
- ?>
70
- <p><label for="<?php echo $this->get_field_id('title'); ?>"><?php _e('Title:'); ?> <input class="widefat" id="<?php echo $this->get_field_id('title'); ?>" name="<?php echo $this->get_field_name('title'); ?>" type="text" value="<?php echo esc_attr($instance['title']); ?>" /></label></p>
71
72
- <?php // if there are YARPP templates installed...
73
- $templates = $yarpp->admin->get_templates();
74
- if ( count($templates) ): ?>
75
76
- <p><input class="checkbox" id="<?php echo $this->get_field_id('use_template'); ?>" name="<?php echo $this->get_field_name('use_template'); ?>" type="checkbox" <?php checked(!!$instance['template']) ?> /> <label for="<?php echo $this->get_field_id('use_template'); ?>"><?php _e("Display using a custom template file",'yarpp');?></label></p>
77
- <p id="<?php echo $this->get_field_id('template_file_p'); ?>"><label for="<?php echo $this->get_field_id('template_file'); ?>"><?php _e("Template file:",'yarpp');?></label> <select name="<?php echo $this->get_field_name('template_file'); ?>" id="<?php echo $this->get_field_id('template_file'); ?>">
78
<?php foreach ($templates as $template): ?>
79
<option value='<?php echo esc_attr($template['basename']); ?>'<?php selected($template['basename'], $instance['template']);?>><?php echo esc_html($template['name']); ?></option>
80
<?php endforeach; ?>
@@ -82,19 +103,16 @@ class YARPP_Widget extends WP_Widget {
82
<script type="text/javascript">
83
jQuery(function($) {
84
function ensureTemplateChoice() {
85
- if ($('#<?php echo $this->get_field_id('use_template'); ?>').attr('checked')) {
86
- $('#<?php echo $this->get_field_id('title'); ?>').attr('disabled',true);
87
- $('#<?php echo $this->get_field_id('template_file_p'); ?>').show();
88
- } else {
89
- $('#<?php echo $this->get_field_id('title'); ?>').attr('disabled',false);
90
- $('#<?php echo $this->get_field_id('template_file_p'); ?>').hide();
91
- }
92
}
93
- $('#<?php echo $this->get_field_id('use_template'); ?>').change(ensureTemplateChoice);
94
ensureTemplateChoice();
95
});
96
</script>
97
- <?php endif; ?>
98
99
<p><input class="checkbox" id="<?php echo $this->get_field_id('promote_yarpp'); ?>" name="<?php echo $this->get_field_name('promote_yarpp'); ?>" type="checkbox" <?php checked($instance['promote_yarpp']) ?> /> <label for="<?php echo $this->get_field_id('promote_yarpp'); ?>"><?php _e("Help promote Yet Another Related Posts Plugin?",'yarpp'); ?></label></p>
100
<?php
18
if ( isset($instance['use_template']) )
19
$instance['template'] = $instance['use_template'] ? $instance['template_file'] : false;
20
21
+ // $choice = false === $instance['template'] ? 'builtin' :
22
+ // ( $instance['template'] == 'thumbnails' ? 'thumbnails' : 'custom' );
23
+
24
if ( $yarpp->get_option('cross_relate') )
25
$instance['post_type'] = $yarpp->get_post_types();
26
else if ( 'page' == get_post_type() )
41
echo $after_widget;
42
}
43
44
+ function update($new_instance, $old_instance) {
45
+ if ( $new_instance['use_template'] == 'builtin' )
46
+ $template = false;
47
+ if ( $new_instance['use_template'] == 'thumbnails' )
48
+ $template = 'thumbnails';
49
+ if ( $new_instance['use_template'] == 'custom' )
50
+ $template = $new_instance['template_file'];
51
+
52
$instance = array(
53
'promote_yarpp' => isset($new_instance['promote_yarpp']),
54
+ 'template' => $template
55
);
56
+
57
+ $choice = false === $instance['template'] ? 'builtin' :
58
+ ( $instance['template'] == 'thumbnails' ? 'thumbnails' : 'custom' );
59
60
if ( !!$instance['template'] ) // don't save the title change.
61
$instance['title'] = $old_instance['title'];
78
if ( isset($instance['use_template']) )
79
$instance['template'] = $instance['template_file'];
80
81
+ // if there are YARPP templates installed...
82
+ $templates = $yarpp->admin->get_templates();
83
+ if ( count($templates) ):
84
+ $choice = false === $instance['template'] ? 'builtin' :
85
+ ( $instance['template'] == 'thumbnails' ? 'thumbnails' : 'custom' );
86
+ ?>
87
+
88
+ <p>
89
+ <label style="padding-right: 10px;" for="<?php echo $this->get_field_id('use_template_builtin'); ?>"><input id="<?php echo $this->get_field_id('use_template_builtin'); ?>" name="<?php echo $this->get_field_name('use_template'); ?>" type="radio" value="builtin" <?php checked( $choice == 'builtin' ) ?> /> <?php _e( "List", 'yarpp' ); ?></label>
90
+
91
+ <label style="padding-right: 10px;" for="<?php echo $this->get_field_id('use_template_thumbnails'); ?>"><input id="<?php echo $this->get_field_id('use_template_thumbnails'); ?>" name="<?php echo $this->get_field_name('use_template'); ?>" type="radio" value="thumbnails" <?php checked( $choice == 'thumbnails' ) ?> /> <?php _e( "Thumbnails", 'yarpp' ); ?></label>
92
+
93
+ <label style="padding-right: 10px;" for="<?php echo $this->get_field_id('use_template_custom'); ?>"><input id="<?php echo $this->get_field_id('use_template_custom'); ?>" name="<?php echo $this->get_field_name('use_template'); ?>" type="radio" value="custom" <?php checked( $choice == 'custom' ) ?> /> <?php _e( "Custom", 'yarpp' ); ?></label>
94
+ </p>
95
96
+ <p><label for="<?php echo $this->get_field_id('title'); ?>"><?php _e('Title:'); ?> <input class="widefat" id="<?php echo $this->get_field_id('title'); ?>" name="<?php echo $this->get_field_name('title'); ?>" type="text" value="<?php echo esc_attr($instance['title']); ?>" /></label></p>
97
98
+ <p><label for="<?php echo $this->get_field_id('template_file'); ?>"><?php _e("Template file:",'yarpp');?></label> <select name="<?php echo $this->get_field_name('template_file'); ?>" id="<?php echo $this->get_field_id('template_file'); ?>">
99
<?php foreach ($templates as $template): ?>
100
<option value='<?php echo esc_attr($template['basename']); ?>'<?php selected($template['basename'], $instance['template']);?>><?php echo esc_html($template['name']); ?></option>
101
<?php endforeach; ?>
103
<script type="text/javascript">
104
jQuery(function($) {
105
function ensureTemplateChoice() {
106
+ var custom = $('#<?php echo $this->get_field_id('use_template_custom'); ?>').prop('checked');
107
+ var builtin = $('#<?php echo $this->get_field_id('use_template_builtin'); ?>').prop('checked');
108
+ $('#<?php echo $this->get_field_id('title'); ?>').closest('p').toggle(!!builtin);
109
+ $('#<?php echo $this->get_field_id('template_file'); ?>').closest('p').toggle(!!custom);
110
}
111
+ $('input[name="<?php echo $this->get_field_name('use_template'); ?>"]').change(ensureTemplateChoice);
112
ensureTemplateChoice();
113
});
114
</script>
115
+ <?php endif; ?>
116
117
<p><input class="checkbox" id="<?php echo $this->get_field_id('promote_yarpp'); ?>" name="<?php echo $this->get_field_name('promote_yarpp'); ?>" type="checkbox" <?php checked($instance['promote_yarpp']) ?> /> <label for="<?php echo $this->get_field_id('promote_yarpp'); ?>"><?php _e("Help promote Yet Another Related Posts Plugin?",'yarpp'); ?></label></p>
118
<?php
lang/yarpp-ja.mo CHANGED
Binary file
lang/yarpp-ja_JP.po CHANGED
@@ -1,9 +1,9 @@
1
msgid ""
2
msgstr ""
3
- "Project-Id-Version: Yet Another Related Posts Plugin v2.1.1\n"
4
"Report-Msgid-Bugs-To: \n"
5
"POT-Creation-Date: \n"
6
- "PO-Revision-Date: 2008-11-07 10:34-0500\n"
7
"Last-Translator: mitcho <mitcho@mitcho.com>\n"
8
"Language-Team: \n"
9
"MIME-Version: 1.0\n"
@@ -19,323 +19,303 @@ msgstr ""
19
"X-Poedit-SearchPath-0: .\n"
20
"X-Textdomain-Support: yes"
21
22
- #: class-admin.php:63
23
#@ yarpp
24
msgid "Related Posts"
25
msgstr "関連記事"
26
27
- #: options.php:54
28
#, php-format
29
#@ yarpp
30
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."
31
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>ストーレージエンジンを使用しているので、このふたつのオプションは使えません。"
32
33
- #: options.php:56
34
#, php-format
35
#@ yarpp
36
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."
37
msgstr "このオプションを使用したければ、<code>%s</code>テーブルに対してこのようなクエリを実行してください:<code>ALTER TABLE `%s` ENGINE = MyISAM;</code>。このクエリはデータは一切消しません。"
38
39
- #: options.php:58
40
#, php-format
41
#@ yarpp
42
msgid "If, despite this check, you are sure that <code>%s</code> is using the MyISAM engine, press this magic button:"
43
msgstr "<code>%s</code>テーブルが絶対MyISAMを使用していると思う方はこちらの魔法のボタンをどうぞ:"
44
45
- #: options.php:61
46
#@ yarpp
47
msgid "Trust me. Let me use MyISAM features."
48
msgstr "MyISAM を使ってます。嘘じゃないから。"
49
50
- #: options.php:76
51
#@ yarpp
52
msgid "The YARPP database had an error but has been fixed."
53
msgstr "YARPPのデータベースは修正されました。"
54
55
- #: options.php:78
56
#@ yarpp
57
msgid "The YARPP database has an error which could not be fixed."
58
msgstr "YARPPのデータベースに修正できないエラーが発生しました。"
59
60
- #: options-meta-boxes.php:47
61
- #: options-meta-boxes.php:59
62
#@ yarpp
63
msgid "do not consider"
64
msgstr "検討しない"
65
66
- #: options-meta-boxes.php:48
67
- #: options-meta-boxes.php:60
68
#@ yarpp
69
msgid "consider"
70
msgstr "検討する"
71
72
- #: options-meta-boxes.php:50
73
#, php-format
74
#@ yarpp
75
msgid "require at least one %s in common"
76
msgstr "共有の%sをひとつ以上必要とする"
77
78
- #: options-meta-boxes.php:51
79
#, php-format
80
#@ yarpp
81
msgid "require more than one %s in common"
82
msgstr "共有の%sをふたつ以上必要とする"
83
84
- #: options-meta-boxes.php:49
85
- #: options-meta-boxes.php:61
86
#@ yarpp
87
msgid "consider with extra weight"
88
msgstr "検討する(重要視)"
89
90
- #: options-meta-boxes.php:301
91
#@ default
92
#@ yarpp
93
msgid "Donate to mitcho (Michael Yoshitaka Erlewine) for this plugin via PayPal"
94
msgstr "YARPPの作成者(ミッチョ)にPayPalで寄付をする"
95
96
- #: options.php:139
97
#@ yarpp
98
msgid "Yet Another Related Posts Plugin Options"
99
msgstr "関連記事 (YARPP) 設定"
100
101
- #: options-meta-boxes.php:147
102
#@ yarpp
103
msgid "\"The Pool\""
104
msgstr "フィルター設定"
105
106
- #: options-meta-boxes.php:109
107
#@ yarpp
108
msgid "\"The Pool\" refers to the pool of posts and pages that are candidates for display as related to the current entry."
109
msgstr "関連記事として表示したい記事を制限します。"
110
111
- #: options-meta-boxes.php:118
112
#@ yarpp
113
msgid "Show password protected posts?"
114
msgstr "パスワードで保護されている記事も表示"
115
116
- #: options-meta-boxes.php:170
117
#@ yarpp
118
msgid "Show only previous posts?"
119
msgstr "過去の記事だけを表示"
120
121
- #: options-meta-boxes.php:178
122
#@ yarpp
123
msgid "\"Relatedness\" options"
124
msgstr "関連スコア設定"
125
126
- #: options-meta-boxes.php:159
127
#@ yarpp
128
msgid "Match threshold:"
129
msgstr "表示する最低関連スコア"
130
131
- #: options-meta-boxes.php:160
132
#@ yarpp
133
msgid "Titles: "
134
msgstr "タイトル:"
135
136
- #: options-meta-boxes.php:162
137
#@ yarpp
138
msgid "Bodies: "
139
msgstr "内容:"
140
141
- #: options-meta-boxes.php:235
142
#@ yarpp
143
msgid "Display options <small>for your website</small>"
144
msgstr "表示設定 <small>ウェブサイト用</small>"
145
146
- #: options-meta-boxes.php:187
147
- #@ yarpp
148
- msgid "Automatically display related posts?"
149
- msgstr "自動的に関連記事を表示する"
150
-
151
- #: options-meta-boxes.php:187
152
#@ yarpp
153
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."
154
msgstr "単体記事表示時に自動的に関連記事を表示します。この自動表示を無効にすると、テーマファイルに<code>related_posts()</code>を入れる必要があります。"
155
156
- #: options-meta-boxes.php:188
157
#@ yarpp
158
msgid "Website display code example"
159
msgstr "ウェブサイト表示のソース例"
160
161
- #: options-meta-boxes.php:188
162
- #: options-meta-boxes.php:244
163
#@ yarpp
164
msgid "(Update options to reload.)"
165
msgstr "(設定保存時に更新されます)"
166
167
- #: options-meta-boxes.php:190
168
- #: options-meta-boxes.php:249
169
#@ yarpp
170
msgid "Maximum number of related posts:"
171
msgstr "一度に表示する関連記事数"
172
173
- #: options-meta-boxes.php:207
174
- #: options-meta-boxes.php:270
175
#@ yarpp
176
msgid "Before / after related entries:"
177
msgstr "関連記事表示を囲むタグ:"
178
179
- #: options-meta-boxes.php:207
180
- #: options-meta-boxes.php:208
181
- #: options-meta-boxes.php:216
182
- #: options-meta-boxes.php:270
183
- #: options-meta-boxes.php:271
184
- #: options-meta-boxes.php:276
185
#@ yarpp
186
msgid "For example:"
187
msgstr "例:"
188
189
- #: options-meta-boxes.php:208
190
- #: options-meta-boxes.php:271
191
#@ yarpp
192
msgid "Before / after each related entry:"
193
msgstr "各関連記事を囲むタグ:"
194
195
- #: options-meta-boxes.php:210
196
- #: options-meta-boxes.php:273
197
#@ yarpp
198
msgid "Show excerpt?"
199
msgstr "抜粋を表示?"
200
201
- #: options-meta-boxes.php:211
202
- #: options-meta-boxes.php:274
203
#@ yarpp
204
msgid "Excerpt length (No. of words):"
205
msgstr "抜粋の長さ(単語数):"
206
207
- #: options-meta-boxes.php:215
208
- #@ yarpp
209
- msgid "Before / after (Excerpt):"
210
- msgstr "抜粋を囲むタグ:"
211
-
212
- #: options-meta-boxes.php:68
213
#@ yarpp
214
msgid "Order results:"
215
msgstr "表示順番:"
216
217
- #: options-meta-boxes.php:71
218
#@ yarpp
219
msgid "score (high relevance to low)"
220
msgstr "関連スコアの高い順"
221
222
- #: options-meta-boxes.php:72
223
#@ yarpp
224
msgid "score (low relevance to high)"
225
msgstr "関連スコアの低い順"
226
227
- #: options-meta-boxes.php:73
228
#@ yarpp
229
msgid "date (new to old)"
230
msgstr "新しい日付順(降順)"
231
232
- #: options-meta-boxes.php:74
233
#@ yarpp
234
msgid "date (old to new)"
235
msgstr "古い日付順(昇順)"
236
237
- #: options-meta-boxes.php:75
238
#@ yarpp
239
msgid "title (alphabetical)"
240
msgstr "タイトル順(昇順)"
241
242
- #: options-meta-boxes.php:76
243
#@ yarpp
244
msgid "title (reverse alphabetical)"
245
msgstr "タイトル順(降順)"
246
247
- #: options-meta-boxes.php:223
248
- #: options-meta-boxes.php:280
249
#@ yarpp
250
msgid "Default display if no results:"
251
- msgstr "関連記事がない時のメッセージ"
252
253
- #: class-widget.php:95
254
- #: options-meta-boxes.php:226
255
- #: options-meta-boxes.php:282
256
#@ yarpp
257
msgid "Help promote Yet Another Related Posts Plugin?"
258
msgstr "この関連記事プラグイン(YARPP)を宣伝しますか?"
259
260
- #: options-meta-boxes.php:228
261
- #: options-meta-boxes.php:283
262
#, php-format
263
#@ yarpp
264
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."
265
msgstr "関連記事表示の下に「%s」というコードを挿入します。"
266
267
- #: options-meta-boxes.php:290
268
#@ yarpp
269
msgid "Display options <small>for RSS</small>"
270
msgstr "表示設定 <small>RSS/Atom フィード用</small>"
271
272
- #: options-meta-boxes.php:244
273
#@ yarpp
274
msgid "Display related posts in feeds?"
275
msgstr "自動的にフィードで関連記事を表示する"
276
277
- #: options-meta-boxes.php:246
278
#@ yarpp
279
msgid "Display related posts in the descriptions?"
280
msgstr "フィード内の抜粋にも自動的に関連記事を表示する"
281
282
- #: options-meta-boxes.php:246
283
#@ yarpp
284
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."
285
msgstr "フィード内の全文表示に関連記事を表示するだけでなく、フィード内の抜粋でも関連記事が表示されます。WordPressの設定によりフィードに抜粋のみを表示している場合は、このオプションが無効の場合関連記事がフィード内で表示されません。"
286
287
- #: options-meta-boxes.php:244
288
#@ yarpp
289
msgid "RSS display code example"
290
msgstr "RSS表示のソース例"
291
292
- #: options-meta-boxes.php:276
293
#@ yarpp
294
msgid "Before / after (excerpt):"
295
msgstr "抜粋を囲むタグ:"
296
297
- #: template-builtin.php:21
298
#, php-format
299
#@ yarpp
300
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."
301
msgstr "%fは現在表示の記事とこの関連記事の関連スコアです。この関連スコアはログイン済みのサイト管理者のみに表示されます。"
302
303
- #: class-admin.php:55
304
#: class-widget.php:7
305
- #: class-widget.php:56
306
#@ yarpp
307
msgid "Related Posts (YARPP)"
308
msgstr "関連記事 (YARPP)"
309
310
- #: options.php:46
311
#@ yarpp
312
msgid "The MyISAM check has been overridden. You may now use the \"consider titles\" and \"consider bodies\" relatedness criteria."
313
msgstr "MyISAM専用機能を強制的に有効にしました。「タイトルを検討」と「内容を検討」機能が使えるようになりました。"
314
315
- #: options-meta-boxes.php:17
316
- #: options-meta-boxes.php:113
317
- #: options-meta-boxes.php:153
318
- #: options-meta-boxes.php:169
319
- #: options-meta-boxes.php:187
320
- #: options-meta-boxes.php:227
321
- #: options-meta-boxes.php:244
322
- #: options-meta-boxes.php:246
323
- #: options-meta-boxes.php:282
324
- #@ yarpp
325
- msgid "more&gt;"
326
- msgstr "(説明)"
327
-
328
- #: options.php:133
329
#@ yarpp
330
msgid "Options saved!"
331
msgstr "設定の変更は保存されました。"
332
333
- #: options-meta-boxes.php:153
334
#@ yarpp
335
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."
336
msgstr "より関連性の高い記事だけを表示したい場合は、最低関連スコアを上げてください。初期設定は5です。"
337
338
- #: class-cache.php:522
339
#@ yarpp
340
msgid "Example post "
341
msgstr "例:"
@@ -352,191 +332,336 @@ msgstr "関連記事候補が全て表示されるかどうかは YARPP (関連
352
353
#: class-core.php:73
354
#: class-core.php:83
355
- #: class-core.php:269
356
- #: class-core.php:280
357
#: template-metabox.php:30
358
#: template-widget.php:13
359
#@ yarpp
360
msgid "No related posts."
361
msgstr "関連記事はありません。"
362
363
- #: options-meta-boxes.php:129
364
#@ yarpp
365
msgid "day(s)"
366
msgstr "日間"
367
368
- #: options-meta-boxes.php:130
369
#@ yarpp
370
msgid "week(s)"
371
msgstr "週間"
372
373
- #: options-meta-boxes.php:131
374
#@ yarpp
375
msgid "month(s)"
376
msgstr "ヶ月間"
377
378
- #: options-meta-boxes.php:137
379
#@ yarpp
380
msgid "Show only posts from the past NUMBER UNITS"
381
msgstr "過去 NUMBER UNITS の記事だけを表示"
382
383
- #: class-widget.php:72
384
- #: options-meta-boxes.php:17
385
#@ yarpp
386
msgid "Display using a custom template file"
387
msgstr "テンプレートを使って表示"
388
389
- #: class-widget.php:73
390
- #: options-meta-boxes.php:196
391
- #: options-meta-boxes.php:257
392
#@ yarpp
393
msgid "Template file:"
394
msgstr "テンプレートファイル:"
395
396
- #: options-meta-boxes.php:244
397
#@ yarpp
398
msgid "This option displays related posts at the end of each item in your RSS and Atom feeds. No template changes are needed."
399
msgstr "RSSとAtomフィード内に関連記事を表示。テーマの変更は必要ありません。"
400
401
- #: options-meta-boxes.php:17
402
#@ yarpp
403
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."
404
msgstr "この新機能で関連記事の表示を完全にカスタマイズする事が出来ます。テンプレートファイルは PHP でかき、使用テーマのフォルダにいれます。"
405
406
#: class-core.php:71
407
#: class-core.php:81
408
- #: class-core.php:267
409
- #: class-core.php:278
410
#@ yarpp
411
msgid "Related posts:"
412
msgstr "関連記事:"
413
414
- #: options-meta-boxes.php:207
415
- #: options-meta-boxes.php:208
416
- #: options-meta-boxes.php:216
417
- #: options-meta-boxes.php:270
418
- #: options-meta-boxes.php:271
419
- #: options-meta-boxes.php:276
420
#@ yarpp
421
msgid " or "
422
msgstr "、"
423
424
- #: class-admin.php:136
425
#@ default
426
msgid "Settings"
427
msgstr "設定"
428
429
- #: class-widget.php:66
430
#@ default
431
msgid "Title:"
432
msgstr ""
433
434
- #: class-admin.php:162
435
#@ yarpp
436
msgid "Related entries may be displayed once you save your entry"
437
msgstr "関連記事は保存後更新されます。"
438
439
- #: class-core.php:564
440
- #: class-core.php:679
441
- #: options-meta-boxes.php:228
442
- #: options-meta-boxes.php:283
443
#, php-format
444
#@ yarpp
445
msgid "Related posts brought to you by <a href='%s'>Yet Another Related Posts Plugin</a>."
446
msgstr "関連記事は<a href='%s'>YARPP関連記事プラグイン</a>によって表示されています。"
447
448
- #: options-meta-boxes.php:153
449
#@ yarpp
450
msgid "YARPP limits the related posts list by (1) a maximum number and (2) a <em>match threshold</em>."
451
msgstr "この関連記事プラグイン(YARPP)は各対象記事の関連スコアを計算し、ある関連スコア以上の記事だけを表示します。"
452
453
- #: options-meta-boxes.php:297
454
#@ yarpp
455
msgid "YARPP Forum"
456
msgstr "YARPP フォーラム"
457
458
- #: options-meta-boxes.php:298
459
#@ yarpp
460
msgid "YARPP on Twitter"
461
msgstr "YARPP Twitter"
462
463
- #: options-meta-boxes.php:299
464
#@ yarpp
465
msgid "YARPP on the Web"
466
msgstr "ウェブサイト"
467
468
- #: options-meta-boxes.php:336
469
#@ yarpp
470
msgid "Contact YARPP"
471
msgstr "YARPP 情報"
472
473
- #: options.php:34
474
#, php-format
475
#@ default
476
msgid "There is a new version of %1$s available. <a href=\"%2$s\" class=\"thickbox\" title=\"%3$s\">View version %4$s details</a> or <a href=\"%5$s\">update automatically</a>."
477
msgstr ""
478
479
- #: options.php:38
480
#, php-format
481
#@ yarpp
482
msgid "There is a new beta (%s) of Yet Another Related Posts Plugin. You can <a href=\"%s\">download it here</a> at your own risk."
483
msgstr "関連記事プラグイン(YARPP)の新しいベータ(%s)があります。是非<a href=\"%s\">ダウンロード</a>してみてください。"
484
485
- #: options.php:79
486
#, php-format
487
#@ yarpp
488
msgid "Please try <a href=\"%s\" target=\"_blank\">manual SQL setup</a>."
489
msgstr "<a href=\"%s\" target=\"_blank\">手動 SQL 設定</a>を参考ください。"
490
491
- #: options.php:147
492
#, php-format
493
#@ yarpp
494
msgid "by <a href=\"%s\" target=\"_blank\">mitcho (Michael 芳貴 Erlewine)</a>"
495
msgstr "by <a href=\"%s\" target=\"_blank\">みっちょ (アーリーワイン・マイケル芳貴)</a>"
496
497
- #: options-meta-boxes.php:300
498
- #@ yarpp
499
- msgid "Rate YARPP on WordPress.org"
500
- msgstr "WordPress.org で YARPP を評価する"
501
-
502
- #: class-admin.php:63
503
#@ default
504
msgid "Configure"
505
msgstr ""
506
507
- #: options-meta-boxes.php:116
508
#, php-format
509
#@ yarpp
510
msgid "Disallow by %s:"
511
msgstr "この%sの記事を表示しない"
512
513
- #: class-admin.php:89
514
#@ yarpp
515
msgid "Thank you for installing <span>Yet Another Related Posts Plugin</span>!"
516
msgstr "関連記事プラグイン (YARPP) がインストールされました!"
517
518
- #: class-admin.php:90
519
#@ yarpp
520
msgid "Make sure to visit the <a>Related Posts settings page</a> to customize YARPP."
521
msgstr "<a>関連記事設定ページ</a>をご覧ください。"
522
523
- #: options.php:176
524
#@ default
525
msgid "Save Changes"
526
msgstr ""
527
528
- #: options-meta-boxes.php:113
529
#@ yarpp
530
msgid "Post types considered:"
531
msgstr "投稿タイプ:"
532
533
- #: options-meta-boxes.php:169
534
#@ yarpp
535
msgid "Display results from all post types"
536
msgstr "全ての投稿タイプの結果を表示"
537
538
- #: options-meta-boxes.php:169
539
#@ yarpp
540
msgid "When \"display results from all post types\" is off, only posts will be displayed as related to a post, only pages will be displayed as related to a page, etc."
541
msgstr "「全ての投稿タイプの結果を表示」が無効な場合、同じ投稿タイプの結果 (投稿には関連投稿、ページには関連ページ...) だけが表示されます。"
542
1
msgid ""
2
msgstr ""
3
+ "Project-Id-Version: Yet Another Related Posts Plugin v4.0b9\n"
4
"Report-Msgid-Bugs-To: \n"
5
"POT-Creation-Date: \n"
6
+ "PO-Revision-Date: 2012-12-03 00:38:21+0000\n"
7
"Last-Translator: mitcho <mitcho@mitcho.com>\n"
8
"Language-Team: \n"
9
"MIME-Version: 1.0\n"
19
"X-Poedit-SearchPath-0: .\n"
20
"X-Textdomain-Support: yes"
21
22
+ #: class-admin.php:98
23
#@ yarpp
24
msgid "Related Posts"
25
msgstr "関連記事"
26
27
+ #: options.php:51
28
#, php-format
29
#@ yarpp
30
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."
31
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>ストーレージエンジンを使用しているので、このふたつのオプションは使えません。"
32
33
+ #: options.php:53
34
#, php-format
35
#@ yarpp
36
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."
37
msgstr "このオプションを使用したければ、<code>%s</code>テーブルに対してこのようなクエリを実行してください:<code>ALTER TABLE `%s` ENGINE = MyISAM;</code>。このクエリはデータは一切消しません。"
38
39
+ #: options.php:55
40
#, php-format
41
#@ yarpp
42
msgid "If, despite this check, you are sure that <code>%s</code> is using the MyISAM engine, press this magic button:"
43
msgstr "<code>%s</code>テーブルが絶対MyISAMを使用していると思う方はこちらの魔法のボタンをどうぞ:"
44
45
+ #: options.php:58
46
#@ yarpp
47
msgid "Trust me. Let me use MyISAM features."
48
msgstr "MyISAM を使ってます。嘘じゃないから。"
49
50
+ #: options.php:73
51
#@ yarpp
52
msgid "The YARPP database had an error but has been fixed."
53
msgstr "YARPPのデータベースは修正されました。"
54
55
+ #: options.php:75
56
#@ yarpp
57
msgid "The YARPP database has an error which could not be fixed."
58
msgstr "YARPPのデータベースに修正できないエラーが発生しました。"
59
60
+ #: options-meta-boxes.php:105
61
+ #: options-meta-boxes.php:123
62
#@ yarpp
63
msgid "do not consider"
64
msgstr "検討しない"
65
66
+ #: options-meta-boxes.php:106
67
+ #: options-meta-boxes.php:124
68
#@ yarpp
69
msgid "consider"
70
msgstr "検討する"
71
72
+ #: options-meta-boxes.php:108
73
#, php-format
74
#@ yarpp
75
msgid "require at least one %s in common"
76
msgstr "共有の%sをひとつ以上必要とする"
77
78
+ #: options-meta-boxes.php:109
79
#, php-format
80
#@ yarpp
81
msgid "require more than one %s in common"
82
msgstr "共有の%sをふたつ以上必要とする"
83
84
+ #: options-meta-boxes.php:107
85
+ #: options-meta-boxes.php:125
86
#@ yarpp
87
msgid "consider with extra weight"
88
msgstr "検討する(重要視)"
89
90
+ #: options-meta-boxes.php:372
91
#@ default
92
#@ yarpp
93
msgid "Donate to mitcho (Michael Yoshitaka Erlewine) for this plugin via PayPal"
94
msgstr "YARPPの作成者(ミッチョ)にPayPalで寄付をする"
95
96
+ #: options.php:145
97
#@ yarpp
98
msgid "Yet Another Related Posts Plugin Options"
99
msgstr "関連記事 (YARPP) 設定"
100
101
+ #: options-meta-boxes.php:204
102
#@ yarpp
103
msgid "\"The Pool\""
104
msgstr "フィルター設定"
105
106
+ #: options-meta-boxes.php:170
107
#@ yarpp
108
msgid "\"The Pool\" refers to the pool of posts and pages that are candidates for display as related to the current entry."
109
msgstr "関連記事として表示したい記事を制限します。"
110
111
+ #: options-meta-boxes.php:179
112
#@ yarpp
113
msgid "Show password protected posts?"
114
msgstr "パスワードで保護されている記事も表示"
115
116
+ #: options-meta-boxes.php:222
117
#@ yarpp
118
msgid "Show only previous posts?"
119
msgstr "過去の記事だけを表示"
120
121
+ #: options-meta-boxes.php:226
122
#@ yarpp
123
msgid "\"Relatedness\" options"
124
msgstr "関連スコア設定"
125
126
+ #: options-meta-boxes.php:213
127
#@ yarpp
128
msgid "Match threshold:"
129
msgstr "表示する最低関連スコア"
130
131
+ #: options-meta-boxes.php:214
132
#@ yarpp
133
msgid "Titles: "
134
msgstr "タイトル:"
135
136
+ #: options-meta-boxes.php:215
137
#@ yarpp
138
msgid "Bodies: "
139
msgstr "内容:"
140
141
+ #: options-meta-boxes.php:299
142
#@ yarpp
143
msgid "Display options <small>for your website</small>"
144
msgstr "表示設定 <small>ウェブサイト用</small>"
145
146
+ #: options-meta-boxes.php:240
147
#@ yarpp
148
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."
149
msgstr "単体記事表示時に自動的に関連記事を表示します。この自動表示を無効にすると、テーマファイルに<code>related_posts()</code>を入れる必要があります。"
150
151
+ #: options-meta-boxes.php:236
152
#@ yarpp
153
msgid "Website display code example"
154
msgstr "ウェブサイト表示のソース例"
155
156
+ #: options-meta-boxes.php:236
157
+ #: options-meta-boxes.php:309
158
#@ yarpp
159
msgid "(Update options to reload.)"
160
msgstr "(設定保存時に更新されます)"
161
162
+ #: options-meta-boxes.php:252
163
+ #: options-meta-boxes.php:314
164
#@ yarpp
165
msgid "Maximum number of related posts:"
166
msgstr "一度に表示する関連記事数"
167
168
+ #: options-meta-boxes.php:281
169
+ #: options-meta-boxes.php:343
170
#@ yarpp
171
msgid "Before / after related entries:"
172
msgstr "関連記事表示を囲むタグ:"
173
174
+ #: options-meta-boxes.php:281
175
+ #: options-meta-boxes.php:282
176
+ #: options-meta-boxes.php:287
177
+ #: options-meta-boxes.php:343
178
+ #: options-meta-boxes.php:344
179
+ #: options-meta-boxes.php:349
180
#@ yarpp
181
msgid "For example:"
182
msgstr "例:"
183
184
+ #: options-meta-boxes.php:282
185
+ #: options-meta-boxes.php:344
186
#@ yarpp
187
msgid "Before / after each related entry:"
188
msgstr "各関連記事を囲むタグ:"
189
190
+ #: options-meta-boxes.php:284
191
+ #: options-meta-boxes.php:346
192
#@ yarpp
193
msgid "Show excerpt?"
194
msgstr "抜粋を表示?"
195
196
+ #: options-meta-boxes.php:285
197
+ #: options-meta-boxes.php:347
198
#@ yarpp
199
msgid "Excerpt length (No. of words):"
200
msgstr "抜粋の長さ(単語数):"
201
202
+ #: options-meta-boxes.php:131
203
#@ yarpp
204
msgid "Order results:"
205
msgstr "表示順番:"
206
207
+ #: options-meta-boxes.php:135
208
#@ yarpp
209
msgid "score (high relevance to low)"
210
msgstr "関連スコアの高い順"
211
212
+ #: options-meta-boxes.php:136
213
#@ yarpp
214
msgid "score (low relevance to high)"
215
msgstr "関連スコアの低い順"
216
217
+ #: options-meta-boxes.php:137
218
#@ yarpp
219
msgid "date (new to old)"
220
msgstr "新しい日付順(降順)"
221
222
+ #: options-meta-boxes.php:138
223
#@ yarpp
224
msgid "date (old to new)"
225
msgstr "古い日付順(昇順)"
226
227
+ #: options-meta-boxes.php:139
228
#@ yarpp
229
msgid "title (alphabetical)"
230
msgstr "タイトル順(昇順)"
231
232
+ #: options-meta-boxes.php:140
233
#@ yarpp
234
msgid "title (reverse alphabetical)"
235
msgstr "タイトル順(降順)"
236
237
+ #: options-meta-boxes.php:274
238
+ #: options-meta-boxes.php:289
239
+ #: options-meta-boxes.php:336
240
+ #: options-meta-boxes.php:351
241
#@ yarpp
242
msgid "Default display if no results:"
243
+ msgstr "関連記事がない時のメッセージ:"
244
245
+ #: class-widget.php:99
246
+ #: options-meta-boxes.php:294
247
+ #: options-meta-boxes.php:356
248
#@ yarpp
249
msgid "Help promote Yet Another Related Posts Plugin?"
250
msgstr "この関連記事プラグイン(YARPP)を宣伝しますか?"
251
252
+ #: options-meta-boxes.php:295
253
+ #: options-meta-boxes.php:356
254
#, php-format
255
#@ yarpp
256
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."
257
msgstr "関連記事表示の下に「%s」というコードを挿入します。"
258
259
+ #: options-meta-boxes.php:360
260
#@ yarpp
261
msgid "Display options <small>for RSS</small>"
262
msgstr "表示設定 <small>RSS/Atom フィード用</small>"
263
264
+ #: options-meta-boxes.php:311
265
#@ yarpp
266
msgid "Display related posts in feeds?"
267
msgstr "自動的にフィードで関連記事を表示する"
268
269
+ #: options-meta-boxes.php:312
270
#@ yarpp
271
msgid "Display related posts in the descriptions?"
272
msgstr "フィード内の抜粋にも自動的に関連記事を表示する"
273
274
+ #: options-meta-boxes.php:312
275
#@ yarpp
276
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."
277
msgstr "フィード内の全文表示に関連記事を表示するだけでなく、フィード内の抜粋でも関連記事が表示されます。WordPressの設定によりフィードに抜粋のみを表示している場合は、このオプションが無効の場合関連記事がフィード内で表示されません。"
278
279
+ #: options-meta-boxes.php:309
280
#@ yarpp
281
msgid "RSS display code example"
282
msgstr "RSS表示のソース例"
283
284
+ #: options-meta-boxes.php:287
285
+ #: options-meta-boxes.php:349
286
#@ yarpp
287
msgid "Before / after (excerpt):"
288
msgstr "抜粋を囲むタグ:"
289
290
+ #: template-builtin.php:22
291
#, php-format
292
#@ yarpp
293
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."
294
msgstr "%fは現在表示の記事とこの関連記事の関連スコアです。この関連スコアはログイン済みのサイト管理者のみに表示されます。"
295
296
+ #: class-admin.php:92
297
#: class-widget.php:7
298
+ #: class-widget.php:60
299
#@ yarpp
300
msgid "Related Posts (YARPP)"
301
msgstr "関連記事 (YARPP)"
302
303
+ #: options.php:43
304
#@ yarpp
305
msgid "The MyISAM check has been overridden. You may now use the \"consider titles\" and \"consider bodies\" relatedness criteria."
306
msgstr "MyISAM専用機能を強制的に有効にしました。「タイトルを検討」と「内容を検討」機能が使えるようになりました。"
307
308
+ #: options.php:139
309
#@ yarpp
310
msgid "Options saved!"
311
msgstr "設定の変更は保存されました。"
312
313
+ #: options-meta-boxes.php:210
314
#@ yarpp
315
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."
316
msgstr "より関連性の高い記事だけを表示したい場合は、最低関連スコアを上げてください。初期設定は5です。"
317
318
+ #: class-cache.php:530
319
#@ yarpp
320
msgid "Example post "
321
msgstr "例:"
332
333
#: class-core.php:73
334
#: class-core.php:83
335
+ #: class-core.php:339
336
+ #: class-core.php:350
337
#: template-metabox.php:30
338
#: template-widget.php:13
339
#@ yarpp
340
msgid "No related posts."
341
msgstr "関連記事はありません。"
342
343
+ #: options-meta-boxes.php:190
344
#@ yarpp
345
msgid "day(s)"
346
msgstr "日間"
347
348
+ #: options-meta-boxes.php:191
349
#@ yarpp
350
msgid "week(s)"
351
msgstr "週間"
352
353
+ #: options-meta-boxes.php:192
354
#@ yarpp
355
msgid "month(s)"
356
msgstr "ヶ月間"
357
358
+ #: options-meta-boxes.php:198
359
#@ yarpp
360
msgid "Show only posts from the past NUMBER UNITS"
361
msgstr "過去 NUMBER UNITS の記事だけを表示"
362
363
+ #: class-widget.php:76
364
#@ yarpp
365
msgid "Display using a custom template file"
366
msgstr "テンプレートを使って表示"
367
368
+ #: class-widget.php:77
369
+ #: options-meta-boxes.php:70
370
#@ yarpp
371
msgid "Template file:"
372
msgstr "テンプレートファイル:"
373
374
+ #: options-meta-boxes.php:311
375
#@ yarpp
376
msgid "This option displays related posts at the end of each item in your RSS and Atom feeds. No template changes are needed."
377
msgstr "RSSとAtomフィード内に関連記事を表示。テーマの変更は必要ありません。"
378
379
+ #: options-meta-boxes.php:7
380
#@ yarpp
381
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."
382
msgstr "この新機能で関連記事の表示を完全にカスタマイズする事が出来ます。テンプレートファイルは PHP でかき、使用テーマのフォルダにいれます。"
383
384
#: class-core.php:71
385
#: class-core.php:81
386
+ #: class-core.php:108
387
+ #: class-core.php:110
388
+ #: class-core.php:337
389
+ #: class-core.php:348
390
+ #: class-core.php:640
391
#@ yarpp
392
msgid "Related posts:"
393
msgstr "関連記事:"
394
395
+ #: options-meta-boxes.php:281
396
+ #: options-meta-boxes.php:282
397
+ #: options-meta-boxes.php:287
398
+ #: options-meta-boxes.php:343
399
+ #: options-meta-boxes.php:344
400
+ #: options-meta-boxes.php:349
401
#@ yarpp
402
msgid " or "
403
msgstr "、"
404
405
+ #: class-admin.php:355
406
#@ default
407
msgid "Settings"
408
msgstr "設定"
409
410
+ #: class-widget.php:70
411
#@ default
412
msgid "Title:"
413
msgstr ""
414
415
+ #: class-admin.php:381
416
#@ yarpp
417
msgid "Related entries may be displayed once you save your entry"
418
msgstr "関連記事は保存後更新されます。"
419
420
+ #: class-core.php:794
421
+ #: class-core.php:937
422
+ #: options-meta-boxes.php:295
423
+ #: options-meta-boxes.php:356
424
#, php-format
425
#@ yarpp
426
msgid "Related posts brought to you by <a href='%s'>Yet Another Related Posts Plugin</a>."
427
msgstr "関連記事は<a href='%s'>YARPP関連記事プラグイン</a>によって表示されています。"
428
429
+ #: options-meta-boxes.php:210
430
#@ yarpp
431
msgid "YARPP limits the related posts list by (1) a maximum number and (2) a <em>match threshold</em>."
432
msgstr "この関連記事プラグイン(YARPP)は各対象記事の関連スコアを計算し、ある関連スコア以上の記事だけを表示します。"
433
434
+ #: options-meta-boxes.php:368
435
#@ yarpp
436
msgid "YARPP Forum"
437
msgstr "YARPP フォーラム"
438
439
+ #: options-meta-boxes.php:369
440
#@ yarpp
441
msgid "YARPP on Twitter"
442
msgstr "YARPP Twitter"
443
444
+ #: options-meta-boxes.php:370
445
#@ yarpp
446
msgid "YARPP on the Web"
447
msgstr "ウェブサイト"
448
449
+ #: options-meta-boxes.php:435
450
#@ yarpp
451
msgid "Contact YARPP"
452
msgstr "YARPP 情報"
453
454
+ #: options.php:31
455
#, php-format
456
#@ default
457
msgid "There is a new version of %1$s available. <a href=\"%2$s\" class=\"thickbox\" title=\"%3$s\">View version %4$s details</a> or <a href=\"%5$s\">update automatically</a>."
458
msgstr ""
459
460
+ #: options.php:35
461
#, php-format
462
#@ yarpp
463
msgid "There is a new beta (%s) of Yet Another Related Posts Plugin. You can <a href=\"%s\">download it here</a> at your own risk."
464
msgstr "関連記事プラグイン(YARPP)の新しいベータ(%s)があります。是非<a href=\"%s\">ダウンロード</a>してみてください。"
465
466
+ #: options.php:76
467
#, php-format
468
#@ yarpp
469
msgid "Please try <a href=\"%s\" target=\"_blank\">manual SQL setup</a>."
470
msgstr "<a href=\"%s\" target=\"_blank\">手動 SQL 設定</a>を参考ください。"
471
472
+ #: options.php:153
473
#, php-format
474
#@ yarpp
475
msgid "by <a href=\"%s\" target=\"_blank\">mitcho (Michael 芳貴 Erlewine)</a>"
476
msgstr "by <a href=\"%s\" target=\"_blank\">みっちょ (アーリーワイン・マイケル芳貴)</a>"
477
478
+ #: class-admin.php:98
479
#@ default
480
msgid "Configure"
481
msgstr ""
482
483
+ #: options-meta-boxes.php:177
484
#, php-format
485
#@ yarpp
486
msgid "Disallow by %s:"
487
msgstr "この%sの記事を表示しない"
488
489
+ #: class-admin.php:308
490
#@ yarpp
491
msgid "Thank you for installing <span>Yet Another Related Posts Plugin</span>!"
492
msgstr "関連記事プラグイン (YARPP) がインストールされました!"
493
494
+ #: class-admin.php:309
495
#@ yarpp
496
msgid "Make sure to visit the <a>Related Posts settings page</a> to customize YARPP."
497
msgstr "<a>関連記事設定ページ</a>をご覧ください。"
498
499
+ #: options.php:194
500
#@ default
501
msgid "Save Changes"
502
msgstr ""
503
504
+ #: options-meta-boxes.php:173
505
#@ yarpp
506
msgid "Post types considered:"
507
msgstr "投稿タイプ:"
508
509
+ #: options-meta-boxes.php:221
510
#@ yarpp
511
msgid "Display results from all post types"
512
msgstr "全ての投稿タイプの結果を表示"
513
514
+ #: options-meta-boxes.php:221
515
#@ yarpp
516
msgid "When \"display results from all post types\" is off, only posts will be displayed as related to a post, only pages will be displayed as related to a page, etc."
517
msgstr "「全ての投稿タイプの結果を表示」が無効な場合、同じ投稿タイプの結果 (投稿には関連投稿、ページには関連ページ...) だけが表示されます。"
518
519
+ #: class-admin.php:116
520
+ #@ yarpp
521
+ msgid "Frequently Asked Questions"
522
+ msgstr "よくある質問"
523
+
524
+ #: class-admin.php:121
525
+ #: class-admin.php:157
526
+ #@ yarpp
527
+ msgid "Developing with YARPP"
528
+ msgstr "YARPP の API"
529
+
530
+ #: class-admin.php:126
531
+ #@ yarpp
532
+ msgid "Optional Data Collection"
533
+ msgstr "利用データ収集"
534
+
535
+ #: class-admin.php:145
536
+ #@ yarpp
537
+ msgid "FAQ"
538
+ msgstr "よくある質問"
539
+
540
+ #: class-admin.php:162
541
+ #: class-admin.php:216
542
+ #, php-format
543
+ #@ yarpp
544
+ msgid "With your permission, YARPP will send information about YARPP's settings, usage, and environment back to a central server at %s."
545
+ msgstr "YARPP は色々なユーザの設定項目、利用データ、環境設定などを %s サーバで集め始めました。"
546
+
547
+ #: class-admin.php:163
548
+ #: class-admin.php:217
549
+ #@ yarpp
550
+ msgid "This information will be used to improve YARPP in the future and help decide future development decisions for YARPP."
551
+ msgstr "この情報はこれからの YARPP 開発、改善のために使われます。"
552
+
553
+ #: class-admin.php:164
554
+ #: class-admin.php:218
555
+ #@ yarpp
556
+ msgid "Contributing this data will help make YARPP better for you and for other YARPP users."
557
+ msgstr ""
558
+
559
+ #: class-admin.php:178
560
+ #: options-meta-boxes.php:427
561
+ #@ yarpp
562
+ msgid "Send settings and usage data back to YARPP"
563
+ msgstr "設定と利用データを YARPP に提供する"
564
+
565
+ #: class-admin.php:178
566
+ #@ yarpp
567
+ msgid "Thank you!"
568
+ msgstr "ありがとうございます"
569
+
570
+ #: class-admin.php:238
571
+ #: options-meta-boxes.php:431
572
+ #@ yarpp
573
+ msgid "Learn More"
574
+ msgstr "詳しい説明"
575
+
576
+ #: class-admin.php:281
577
+ #@ yarpp
578
+ msgid "Show example code output"
579
+ msgstr "コード出力例を表示"
580
+
581
+ #: options-meta-boxes.php:35
582
+ #@ yarpp
583
+ msgid "List"
584
+ msgstr "リスト"
585
+
586
+ #: options-meta-boxes.php:44
587
+ #@ yarpp
588
+ msgid "This option is disabled because your theme does not support post thumbnails."
589
+ msgstr "現在お使いのテーマでは投稿サムネイル機能が無効になっています。"
590
+
591
+ #: options-meta-boxes.php:45
592
+ #@ yarpp
593
+ msgid "Thumbnails"
594
+ msgstr "サムネイル"
595
+
596
+ #: options-meta-boxes.php:54
597
+ #@ yarpp
598
+ msgid "This option is disabled because no YARPP templates were found in your theme."
599
+ msgstr "現在お使いのテーマフォルダでは YARPP 用のテンプレートファイルが見つかりませんでした。"
600
+
601
+ #: options-meta-boxes.php:56
602
+ #@ yarpp
603
+ msgid "Would you like to copy some sample templates bundled with YARPP into your theme?"
604
+ msgstr "YARPP テンプレートの使用例をこのテーマのフォルダに移動しますか?"
605
+
606
+ #: options-meta-boxes.php:56
607
+ #@ yarpp
608
+ msgid "Copy Templates"
609
+ msgstr "テンプレートを移動"
610
+
611
+ #: options-meta-boxes.php:59
612
+ #@ yarpp
613
+ msgid "Custom"
614
+ msgstr "カスタム"
615
+
616
+ #: options-meta-boxes.php:79
617
+ #@ default
618
+ msgid "Author:"
619
+ msgstr ""
620
+
621
+ #: options-meta-boxes.php:239
622
+ #@ yarpp
623
+ msgid "Automatically display:"
624
+ msgstr "自動表示:"
625
+
626
+ #: options-meta-boxes.php:250
627
+ #@ yarpp
628
+ msgid "Also display in archives"
629
+ msgstr "アーカイブでも表示"
630
+
631
+ #: options-meta-boxes.php:272
632
+ #: options-meta-boxes.php:334
633
+ #@ yarpp
634
+ msgid "Heading:"
635
+ msgstr "ヘッダー:"
636
+
637
+ #: options-meta-boxes.php:273
638
+ #: options-meta-boxes.php:335
639
+ #@ yarpp
640
+ msgid "Default image (URL):"
641
+ msgstr "デフォルト画像 (URL):"
642
+
643
+ #: options-meta-boxes.php:371
644
+ #@ yarpp
645
+ msgid "Review YARPP on WordPress.org"
646
+ msgstr "WordPress.org で YARPP の感想を書く"
647
+
648
+ #: options-meta-boxes.php:405
649
+ #@ yarpp
650
+ msgid "Help Improve YARPP"
651
+ msgstr "より良い YARPP を目指して"
652
+
653
+ #: class-admin.php:172
654
+ #@ yarpp
655
+ msgid "If you opt-in, the following information is sent back to YARPP:"
656
+ msgstr "情報提供に参加すれば、下記のデータが YARPP に送られます。"
657
+
658
+ #: class-admin.php:174
659
+ #@ yarpp
660
+ msgid "In addition, YARPP also loads an invisible pixel image with your YARPP results to know how often YARPP is being used."
661
+ msgstr "最後に、情報提供に参加すれば、 YARPP の利用率を知るために関連記事結果とともに見えない画像が読み込まれます。"
662
+
663
+ #: options-meta-boxes.php:430
664
+ #@ yarpp
665
+ msgid "This is entirely optional, but will help improve future versions of YARPP."
666
+ msgstr "この情報はこれからの YARPP 開発、改善のために使われます。"
667
+
options-meta-boxes.php CHANGED
@@ -426,7 +426,9 @@ class YARPP_Meta_Box_Optin extends YARPP_Meta_Box {
426
427
echo '<label for="yarpp-optin">' . __( 'Send settings and usage data back to YARPP', 'yarpp' ) . '</label>';
428
429
- echo '<p>This is entirely optional, but will help improve future versions of YARPP. <input type="button" value="Learn More" id="yarpp-optin-learnmore" class="button button-small" style="float:right"/></p>';
430
}
431
}
432
426
427
echo '<label for="yarpp-optin">' . __( 'Send settings and usage data back to YARPP', 'yarpp' ) . '</label>';
428
429
+ echo '<p style="overflow:auto;">';
430
+ echo __( 'This is entirely optional, but will help improve future versions of YARPP.', 'yarpp' );
431
+ echo ' <input type="button" value="' . esc_attr( __( 'Learn More', 'yarpp' ) ) . '" id="yarpp-optin-learnmore" class="button button-small" style="float:right"/></p>';
432
}
433
}
434
readme.txt CHANGED
@@ -7,22 +7,23 @@ Donate link: http://tinyurl.com/donatetomitcho
7
Tags: related, posts, post, pages, page, RSS, feed, feeds
8
Requires at least: 3.3
9
Tested up to: 3.5
10
- Stable tag: 3.5.6
11
License: GPLv2 or later
12
13
- Display a list of related entries on your site and feeds based on a unique algorithm. Now with custom post type support!
14
15
== Description ==
16
17
Yet Another Related Posts Plugin (YARPP) gives you a list of posts and/or pages related to the current entry, introducing the reader to other relevant content on your site.
18
19
- 1. **Templating**: The [YARPP templating system](http://mitcho.com/blog/projects/yarpp-3-templates/) lets you control how your posts are displayed.
20
2. **Related posts, pages, and custom post types**: [Learn about CPT support](http://wordpress.org/extend/plugins/yet-another-related-posts-plugin/other_notes/).
21
- 3. **An advanced and versatile algorithm**: Using a customizable algorithm considering post titles, content, tags, categories, and custom taxonomies, YARPP finds related content from across your site. [Learn more](http://wordpress.tv/2011/01/29/michael-%E2%80%9Cmitcho%E2%80%9D-erlewine-the-yet-another-related-posts-plugin-algorithm-explained/).
22
- 4. **Caching**: YARPP is performant, caching related posts data as your site is visited.
23
- 5. **Related posts in feeds**: Display related posts in RSS feeds with custom display options.
24
25
- This plugin requires PHP 5, MySQL 4.1, and WordPress 3.1 or greater.
26
27
See [other plugins by mitcho](http://profiles.wordpress.org/users/mitchoyoshitaka/).
28
@@ -63,7 +64,7 @@ I try to respond to inquiries on the forums on a regular basis and hope to build
63
= Auto display on your website =
64
65
1. Copy the folder `yet-another-related-posts-plugin` into the directory `wp-content/plugins/` and activate the plugin.
66
- 2. (optionally) copy the sample templates inside `yarpp-templates` folder into your active theme.
67
3. Go to the "Related Posts (YARPP)" settings page to customize YARPP.
68
69
= Auto display in your feeds =
@@ -242,9 +243,10 @@ If you are a bilingual speaker of English and another language and an avid user
242
243
= 4.0 =
244
* New thumbnail template option!
245
- * No PHP required -- just visit the settings page
246
* Edit your theme's CSS file to modify the styling
247
* Auto display settings changes:
248
* Added an "also display in archives" option
249
* [Bugfix](https://wordpress.org/support/topic/related-posts-disappearing-cache-issue): uses of `related_posts_exist()` and `get_related()` without explicit reference ID parameter would incorrectly return no related posts.
250
* Changes to the output HTML:
7
Tags: related, posts, post, pages, page, RSS, feed, feeds
8
Requires at least: 3.3
9
Tested up to: 3.5
10
+ Stable tag: 4.0
11
License: GPLv2 or later
12
13
+ Display a list of related entries on your site and feeds based on a unique algorithm. Now with thumbnail support built-in!
14
15
== Description ==
16
17
Yet Another Related Posts Plugin (YARPP) gives you a list of posts and/or pages related to the current entry, introducing the reader to other relevant content on your site.
18
19
+ 1. **Thumbnails**: a beautiful new thumbnail display, for themes which use post thumbnails (featured images) **New in YARPP 4!**
20
2. **Related posts, pages, and custom post types**: [Learn about CPT support](http://wordpress.org/extend/plugins/yet-another-related-posts-plugin/other_notes/).
21
+ 3. **Templating**: The [YARPP templating system](http://mitcho.com/blog/projects/yarpp-3-templates/) gives you advanced control of how your results are displayed.
22
+ 4. **An advanced and versatile algorithm**: Using a customizable algorithm considering post titles, content, tags, categories, and custom taxonomies, YARPP finds related content from across your site. [Learn more](http://wordpress.tv/2011/01/29/michael-%E2%80%9Cmitcho%E2%80%9D-erlewine-the-yet-another-related-posts-plugin-algorithm-explained/).
23
+ 5. **Caching**: YARPP is performant, caching related posts data as your site is visited.
24
+ 6. **Related posts in feeds**: Display related posts in RSS feeds with custom display options.
25
26
+ This plugin requires PHP 5, MySQL 4.1, and WordPress 3.3 or greater.
27
28
See [other plugins by mitcho](http://profiles.wordpress.org/users/mitchoyoshitaka/).
29
64
= Auto display on your website =
65
66
1. Copy the folder `yet-another-related-posts-plugin` into the directory `wp-content/plugins/` and activate the plugin.
67
+ 2. (optionally) copy the sample template files inside the `yarpp-templates` folder into your active theme.
68
3. Go to the "Related Posts (YARPP)" settings page to customize YARPP.
69
70
= Auto display in your feeds =
243
244
= 4.0 =
245
* New thumbnail template option!
246
+ * No PHP requiredjust visit the settings page
247
* Edit your theme's CSS file to modify the styling
248
* Auto display settings changes:
249
+ * Easily choose which post types you want related posts to display on
250
* Added an "also display in archives" option
251
* [Bugfix](https://wordpress.org/support/topic/related-posts-disappearing-cache-issue): uses of `related_posts_exist()` and `get_related()` without explicit reference ID parameter would incorrectly return no related posts.
252
* Changes to the output HTML:
yarpp.php CHANGED
@@ -3,13 +3,13 @@
3
Plugin Name: Yet Another Related Posts Plugin
4
Plugin URI: http://yarpp.org/
5
Description: Returns a list of related entries based on a unique algorithm for display on your blog and RSS feeds. Now with custom post type support!
6
- Version: 4.0b9
7
Author: mitcho (Michael Yoshitaka Erlewine)
8
Author URI: http://mitcho.com/
9
Donate link: http://tinyurl.com/donatetomitcho
10
*/
11
12
- define('YARPP_VERSION', '4.0b9');
13
define('YARPP_DIR', dirname(__FILE__));
14
define('YARPP_NO_RELATED', ':(');
15
define('YARPP_RELATED', ':)');
3
Plugin Name: Yet Another Related Posts Plugin
4
Plugin URI: http://yarpp.org/
5
Description: Returns a list of related entries based on a unique algorithm for display on your blog and RSS feeds. Now with custom post type support!
6
+ Version: 4.0
7
Author: mitcho (Michael Yoshitaka Erlewine)
8
Author URI: http://mitcho.com/
9
Donate link: http://tinyurl.com/donatetomitcho
10
*/
11
12
+ define('YARPP_VERSION', '4.0');
13
define('YARPP_DIR', dirname(__FILE__));
14
define('YARPP_NO_RELATED', ':(');
15
define('YARPP_RELATED', ':)');