Yet Another Related Posts Plugin (YARPP) - Version 4.0.7

Version Description

  • Bugfix: Now more robust against certain custom options.
  • Updated plugin de-activate/delete functionality to drop all tables. Prior to fix some legacy tables remained which required manual deletion in wp_options from phpmyadmin.
  • Updated FAQs section.
  • Update to YARPP's data collection terms and conditions.
  • Added Macedonian (mk_MK) localization by WPdiscounts.
Download this release

Release Info

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

Code changes from version 4.0.6 to 4.0.7

class-admin.php CHANGED
@@ -43,7 +43,8 @@ class YARPP_Admin {
43
add_action( 'wp_ajax_yarpp_display_demo', array( $this, 'ajax_display_demo' ) );
44
add_action( 'wp_ajax_yarpp_display', array( $this, 'ajax_display' ) );
45
add_action( 'wp_ajax_yarpp_optin_data', array( $this, 'ajax_optin_data' ) );
46
- add_action( 'wp_ajax_yarpp_optin', array( $this, 'ajax_optin' ) );
47
add_action( 'wp_ajax_yarpp_set_display_code', array( $this, 'ajax_set_display_code' ) );
48
}
49
}
@@ -51,22 +52,32 @@ class YARPP_Admin {
51
function ui_register() {
52
global $wp_version;
53
54
- if ( get_option( 'yarpp_activated' ) ) {
55
- delete_option( 'yarpp_activated' );
56
- delete_option( 'yarpp_upgraded' );
57
- if ( !$this->core->get_option('optin') )
58
- add_action( 'admin_notices', array( $this, 'install_notice' ) );
59
- } elseif ( !$this->core->get_option('optin') &&
60
current_user_can('manage_options') &&
61
get_option( 'yarpp_upgraded' )
62
) {
63
add_action( 'admin_notices', array( $this, 'upgrade_notice' ) );
64
- } elseif ( !$this->core->get_option('optin') &&
65
current_user_can('manage_options') &&
66
!get_user_option( 'yarpp_saw_optin' )
67
) {
68
add_action( 'admin_notices', array( $this, 'optin_notice' ) );
69
- }
70
71
if ( $this->core->get_option('optin') )
72
delete_option( 'yarpp_upgraded' );
@@ -88,7 +99,7 @@ class YARPP_Admin {
88
89
// new in 3.3: properly enqueue scripts for admin:
90
add_action( 'admin_enqueue_scripts', array( $this, 'enqueue' ) );
91
- }
92
93
// 3.5.4: only load metabox code if we're going to be on the settings page
94
function settings_screen( $current_screen ) {
@@ -148,89 +159,131 @@ class YARPP_Admin {
148
149
public function help_optin() {
150
// todo: i18n
151
- echo '<p>' . 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>') . ' ';
152
- echo __( "This information will be used to improve YARPP in the future and help decide future development decisions for YARPP.", 'yarpp' ) . ' ';
153
- echo '<strong>' . __( "Contributing this data will help make YARPP better for you and for other YARPP users.", 'yarpp' ) . '</strong></p>';
154
-
155
- if ( !$this->core->get_option( 'optin' ) ) {
156
echo '<p>';
157
- $this->print_optin_button();
158
- $this->optin_button_script();
159
echo '</p>';
160
}
161
162
- echo '<p>' . __( "If you opt-in, the following information is sent back to YARPP:", 'yarpp' ) . '</p>';
163
- echo '<div id="optin_data_frame"></div>';
164
- 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>';
165
}
166
167
- function the_optin_button() {
168
- return '<a id="yarpp-optin-button" class="button">' . __('Send settings and usage data back to YARPP', 'yarpp') . '</a><span class="yarpp-thankyou" style="display:none; margin-right: 10px;"><strong>' . __('Thank you!', 'yarpp') . '</strong></span>';
169
}
170
171
- function optin_button_script() {
172
- wp_nonce_field( 'yarpp_optin', 'yarpp_optin-nonce', false );
173
- echo "<script type='text/javascript'>
174
- jQuery(function($){
175
- $(document.body).on('click', '#yarpp-optin-button', function() {
176
- console.log(this);
177
- $(this)
178
- .hide()
179
- .siblings('.yarpp-thankyou').show('slow');
180
- $('#yarpp-optin').attr('checked', true);
181
- $.ajax({type:'POST',
182
- url: ajaxurl,
183
- data: {
184
- action: 'yarpp_optin',
185
- '_ajax_nonce': $('#yarpp_optin-nonce').val()
186
- }
187
- });
188
- });
189
- });
190
- </script>\n";
191
- }
192
-
193
- function print_optin_button() {
194
- echo $this->the_optin_button();
195
}
196
197
- function optin_notice( $type = false ) {
198
$screen = get_current_screen();
199
- if ( is_null($screen) || $screen->id == 'settings_page_yarpp' )
200
- return;
201
202
- switch ( $type ) {
203
case 'upgrade':
204
- delete_option( 'yarpp_upgraded' );
205
break;
206
case 'install':
207
break;
208
default:
209
$user = get_current_user_id();
210
- update_user_option( $user, 'yarpp_saw_optin', true );
211
}
212
213
echo '<div class="updated fade"><p>';
214
- if ( $type == 'upgrade' )
215
- echo '<strong>' . sprintf( __('%1$s updated successfully.'), 'Yet Another Related Posts Plugin' ) . '</strong> ';
216
- if ( $type == 'install' )
217
- echo '<strong>' . str_replace('<span>', '<span style="font-style:italic; font-weight: inherit;">', __('Thank you for installing <span>Yet Another Related Posts Plugin</span>!', 'yarpp') ) . '</strong> ';
218
- _e( "<strong>Help make YARPP better</strong> by sending information about YARPP's settings and usage statistics.", 'yarpp' );
219
220
echo '</p><p>';
221
- $this->print_optin_button();
222
- $this->optin_button_script();
223
- echo '<a class="button" href="options-general.php?page=yarpp#help-optin">' . __( 'Learn More', 'yarpp' ) . '</a>';
224
echo '</p></div>';
225
}
226
-
227
- function upgrade_notice() {
228
- $this->optin_notice( 'upgrade' );
229
- }
230
-
231
- function install_notice() {
232
- $this->optin_notice( 'install' );
233
- }
234
235
// faux-markdown, required for the help text rendering
236
protected function markdown( $text ) {
@@ -454,7 +507,7 @@ class YARPP_Admin {
454
}
455
456
function ajax_optin_data() {
457
- check_ajax_referer( 'yarpp_optin_data' );
458
459
header("HTTP/1.1 200");
460
header("Content-Type: text/html; charset=UTF-8");
@@ -464,13 +517,26 @@ class YARPP_Admin {
464
exit;
465
}
466
467
- function ajax_optin() {
468
- check_ajax_referer( 'yarpp_optin' );
469
470
header("HTTP/1.1 200");
471
header("Content-Type: text; charset=UTF-8");
472
-
473
- $data = $this->core->set_option('optin', true);
474
$this->core->optin_ping();
475
echo 'ok';
476
exit;
43
add_action( 'wp_ajax_yarpp_display_demo', array( $this, 'ajax_display_demo' ) );
44
add_action( 'wp_ajax_yarpp_display', array( $this, 'ajax_display' ) );
45
add_action( 'wp_ajax_yarpp_optin_data', array( $this, 'ajax_optin_data' ) );
46
+ add_action( 'wp_ajax_yarpp_optin_enable', array( $this,'ajax_optin_enable'));
47
+ add_action( 'wp_ajax_yarpp_optin_disable', array( $this,'ajax_optin_disable'));
48
add_action( 'wp_ajax_yarpp_set_display_code', array( $this, 'ajax_set_display_code' ) );
49
}
50
}
52
function ui_register() {
53
global $wp_version;
54
55
+ if (get_option('yarpp_activated')) {
56
+
57
+ delete_option('yarpp_activated');
58
+ delete_option('yarpp_upgraded');
59
+
60
+ if ( $this->core->get_option('optin') ){
61
+ add_action('admin_notices', array($this, 'install_notice_disable'));
62
+ }else{
63
+ add_action('admin_notices', array($this, 'install_notice_enable'));
64
+ }
65
+
66
+ } elseif ( $this->core->get_option('optin') &&
67
current_user_can('manage_options') &&
68
get_option( 'yarpp_upgraded' )
69
) {
70
+
71
add_action( 'admin_notices', array( $this, 'upgrade_notice' ) );
72
+
73
+ } elseif ( $this->core->get_option('optin') &&
74
current_user_can('manage_options') &&
75
!get_user_option( 'yarpp_saw_optin' )
76
) {
77
+
78
add_action( 'admin_notices', array( $this, 'optin_notice' ) );
79
+
80
+ }/*end get_optin if*/
81
82
if ( $this->core->get_option('optin') )
83
delete_option( 'yarpp_upgraded' );
99
100
// new in 3.3: properly enqueue scripts for admin:
101
add_action( 'admin_enqueue_scripts', array( $this, 'enqueue' ) );
102
+ }/*end ui_register*/
103
104
// 3.5.4: only load metabox code if we're going to be on the settings page
105
function settings_screen( $current_screen ) {
159
160
public function help_optin() {
161
// todo: i18n
162
+ echo(
163
+ '<p>'.
164
+ __("With your permission, YARPP will send information about YARPP's settings, usage, and environment
165
+ back to a central server at ", 'yarpp').'<code>yarpp.org</code>'.'.&nbsp;'.
166
+ __("This information will be used to improve YARPP in the future and help decide future development
167
+ decisions for YARPP.",
168
+ 'yarpp'
169
+ ).' '.
170
+ '<strong>'.
171
+ __("Contributing this data will help make YARPP better for you and for other YARPP users.",
172
+ 'yarpp' ).'</strong>'.
173
+ '</p>'
174
+ );
175
+
176
+ if(!$this->core->get_option('optin')) {
177
echo '<p>';
178
+ $this->print_optin_button('Enable');
179
+ $this->optin_button_script('enable');
180
echo '</p>';
181
}
182
183
+ echo(
184
+ '<p>'.
185
+ __("The following information is sent back to YARPP:", 'yarpp').
186
+ '</p>'.
187
+ '<div id="optin_data_frame"></div>'.
188
+ '<p>'.
189
+ __("In addition, YARPP also loads an invisible pixel image with your YARPP results to know how often YARPP is being used.", 'yarpp').
190
+ '</p>'
191
+ );
192
}
193
+
194
+ function print_optin_button($action = 'Disable') {
195
+ echo $this->the_optin_button($action);
196
+ }
197
198
+ function the_optin_button($action = 'Disable') {
199
+ $out = '<a id="yarpp-optin-button" class="button">'.
200
+ __($action.' sending usage data back to YARPP', 'yarpp').
201
+ '</a>'.
202
+ '<span class="yarpp-thankyou" style="display:none; margin-right: 10px;">'.
203
+ '<strong>'.__('Thank you!', 'yarpp').'</strong>'.
204
+ '</span>';
205
+ return $out;
206
}
207
208
+ function optin_button_script($action = 'disable') {
209
+ wp_nonce_field('yarpp_optin_'.$action, 'yarpp_optin-nonce', false);
210
+
211
+ echo(
212
+ "<script type='text/javascript'>
213
+ jQuery(function($){
214
+ $(document.body).on('click', '#yarpp-optin-button', function(){
215
+ $(this).hide().siblings('.yarpp-thankyou').show('slow');
216
+ $('#yarpp-optin').attr('checked', true);
217
+ $.ajax({
218
+ type:'POST',
219
+ url : ajaxurl,
220
+ data: {
221
+ action: 'yarpp_optin_".$action."',
222
+ '_ajax_nonce': $('#yarpp_optin-nonce').val()
223
+ }
224
+ });
225
+ });
226
+ });
227
+ </script>\n"
228
+ );
229
}
230
231
+ function upgrade_notice() {
232
+ $this->optin_notice('upgrade');
233
+ }
234
+
235
+ function install_notice_enable() {
236
+ $this->optin_notice('install','Enable');
237
+ }
238
+
239
+ function install_notice_disable() {
240
+ $this->optin_notice('install');
241
+ }
242
+
243
+ function optin_notice($type = false, $action = 'Disable') {
244
$screen = get_current_screen();
245
+ if(is_null($screen) || $screen->id == 'settings_page_yarpp') return;
246
247
+ switch($type) {
248
case 'upgrade':
249
+ delete_option('yarpp_upgraded');
250
break;
251
case 'install':
252
break;
253
default:
254
$user = get_current_user_id();
255
+ update_user_option($user, 'yarpp_saw_optin', true);
256
}
257
258
echo '<div class="updated fade"><p>';
259
+
260
+ if($type === 'upgrade'){
261
+ echo '<strong>'.sprintf(__('%1$s updated successfully.'), 'Yet Another Related Posts Plugin' ).'</strong>';
262
+ }
263
+
264
+ if ( $type == 'install' ){
265
+ /* TODO: Why translate YARPP and use str_replace. Performance??? --Eli */
266
+ echo(
267
+ '<strong>'.
268
+ str_replace('<span>','<span style="font-style:italic; font-weight: inherit;">',
269
+ __('Thank you for installing <span>Yet Another Related Posts Plugin</span>!', 'yarpp')).
270
+ '</strong>'
271
+ );
272
+ }
273
+
274
+ _e(
275
+ "<p>".
276
+ "YARPP would like to use your site&#39;s usage statistics to make more informed decisions about future development. ".
277
+ "Optionally, this can be disabled by clicking on the button below.".
278
+ "</p>"
279
+ ,'yarpp' );
280
281
echo '</p><p>';
282
+ $this->print_optin_button($action);
283
+ $this->optin_button_script(strtolower($action));
284
+ echo '<a class="button" href="options-general.php?page=yarpp#help-optin">'.__('Learn More', 'yarpp').'</a>';
285
echo '</p></div>';
286
}
287
288
// faux-markdown, required for the help text rendering
289
protected function markdown( $text ) {
507
}
508
509
function ajax_optin_data() {
510
+ check_ajax_referer('yarpp_optin_data');
511
512
header("HTTP/1.1 200");
513
header("Content-Type: text/html; charset=UTF-8");
517
exit;
518
}
519
520
+ function ajax_optin_disable() {
521
+ check_ajax_referer('yarpp_optin_disable');
522
523
header("HTTP/1.1 200");
524
header("Content-Type: text; charset=UTF-8");
525
+
526
+ $data = $this->core->set_option('optin', false);
527
+
528
+ echo 'ok';
529
+ exit;
530
+ }
531
+
532
+ function ajax_optin_enable() {
533
+ check_ajax_referer('yarpp_optin_enable');
534
+
535
+ header("HTTP/1.1 200");
536
+ header("Content-Type: text; charset=UTF-8");
537
+
538
+ $data = $this->core->set_option('optin', true);
539
+
540
$this->core->optin_ping();
541
echo 'ok';
542
exit;
class-cache.php CHANGED
@@ -119,9 +119,10 @@ abstract class YARPP_Cache {
119
120
function set_score_override_flag( $q ) {
121
if ( $this->is_yarpp_time() ) {
122
- $this->score_override = ($q->query_vars['orderby'] == 'score');
123
124
- if (!empty($q->query_vars['showposts'])) {
125
$this->online_limit = $q->query_vars['showposts'];
126
} else {
127
$this->online_limit = false;
119
120
function set_score_override_flag( $q ) {
121
if ( $this->is_yarpp_time() ) {
122
+ $this->score_override = ( isset($q->query_vars['orderby']) &&
123
+ $q->query_vars['orderby'] == 'score' );
124
125
+ if ( !empty($q->query_vars['showposts']) ) {
126
$this->online_limit = $q->query_vars['showposts'];
127
} else {
128
$this->online_limit = false;
class-core.php CHANGED
@@ -119,7 +119,7 @@ class YARPP {
119
)
120
),
121
'require_tax' => array(), // new in 3.5
122
- 'optin' => false, // new in 4
123
'thumbnails_heading' => __('Related posts:','yarpp'), // new in 4
124
'thumbnails_default' => plugins_url( 'default.png', __FILE__ ), // new in 4
125
'rss_thumbnails_heading' => __('Related posts:','yarpp'), // new in 4
@@ -163,6 +163,7 @@ class YARPP {
163
// 3.4b8: $option can be a path, of the query_str variety, i.e. "option[suboption][subsuboption]"
164
function get_option( $option = null ) {
165
$options = (array) get_option( 'yarpp', array() );
166
// ensure defaults if not set:
167
$options = array_merge( $this->default_options, $options );
168
@@ -791,7 +792,8 @@ class YARPP {
791
$comments = wp_count_comments();
792
$users = count_users();
793
794
- $settings = get_option( 'yarpp' );
795
$collect = array_flip(array(
796
'threshold', 'limit', 'excerpt_length', 'recent', 'rss_limit',
797
'rss_excerpt_length', 'past_only', 'show_excerpt', 'rss_show_excerpt',
@@ -799,6 +801,7 @@ class YARPP {
799
'rss_display', 'rss_excerpt_display', 'promote_yarpp', 'rss_promote_yarpp',
800
'myisam_override', 'weight', 'require_tax', 'auto_display_archive'
801
));
802
$check_changed = array(
803
'before_title', 'after_title', 'before_post', 'after_post',
804
'after_related', 'no_results', 'order', 'rss_before_title',
@@ -890,7 +893,8 @@ class YARPP {
890
'sites' => get_blog_count()
891
);
892
}
893
-
894
return $data;
895
}
896
@@ -1004,21 +1008,28 @@ class YARPP {
1004
$this->active_cache->end_yarpp_time(); // YARPP time is over... :(
1005
}
1006
1007
- unset( $related_query );
1008
$this->restore_post_context();
1009
1010
- if ( $related_count > 0 && $promote_yarpp && $domain != 'metabox' )
1011
- $output .= "<p>".sprintf(__("Related posts brought to you by <a href='%s'>Yet Another Related Posts Plugin</a>.",'yarpp'), 'http://yarpp.org')."</p>\n";
1012
-
1013
- if ( $optin )
1014
- $output .= "<img src='http://yarpp.org/pixels/" . md5(get_bloginfo('url')) . "'/>\n";
1015
-
1016
$output .= "</div>\n";
1017
1018
- if ($echo)
1019
- echo $output;
1020
return $output;
1021
- }
1022
1023
/*
1024
* @param (int) $reference_ID
@@ -1194,6 +1205,9 @@ class YARPP {
1194
} else {
1195
$r[$option] = $default;
1196
}
1197
}
1198
return $r;
1199
}
@@ -1314,15 +1328,15 @@ class YARPP {
1314
1315
// @since 3.3: use PHP serialized format instead of JSON
1316
function version_info( $enforce_cache = false ) {
1317
- if ( !$enforce_cache && false !== ($result = $this->get_transient('yarpp_version_info')) )
1318
return $result;
1319
1320
$version = YARPP_VERSION;
1321
$remote = wp_remote_post("http://yarpp.org/checkversion.php?format=php&version={$version}");
1322
1323
- if ( is_wp_error($remote) ||
1324
wp_remote_retrieve_response_code( $remote ) != 200 ||
1325
- !isset($remote['body']) ) {
1326
// try again later
1327
$this->set_transient('yarpp_version_info', null, 60 * 60);
1328
return false;
@@ -1339,7 +1353,8 @@ class YARPP {
1339
if ( $this->get_transient( 'yarpp_optin' ) )
1340
return true;
1341
1342
- $remote = wp_remote_post( 'http://yarpp.org/optin/2/', array( 'body' => $this->optin_data() ) );
1343
if ( is_wp_error($remote) ||
1344
wp_remote_retrieve_response_code( $remote ) != 200 ||
1345
!isset($remote['body']) ||
@@ -1355,8 +1370,8 @@ class YARPP {
1355
// a version of the transient functions which is unaffected by caching plugin behavior.
1356
// we want to control the lifetime of data.
1357
private function get_transient( $transient ) {
1358
- $transient_timeout = $transient . '_timeout';
1359
- if ( intval( get_option( $transient_timeout ) ) < time() ) {
1360
delete_option( $transient_timeout );
1361
return false; // timed out
1362
}
@@ -1365,15 +1380,23 @@ class YARPP {
1365
1366
private function set_transient( $transient, $data = null, $expiration = 0 ) {
1367
$transient_timeout = $transient . '_timeout';
1368
if ( false === get_option( $transient_timeout ) ) {
1369
add_option( $transient_timeout, time() + $expiration, '', 'no' );
1370
if ( !is_null( $data ) )
1371
add_option( $transient, $data, '', 'no' );
1372
} else {
1373
update_option( $transient_timeout, time() + $expiration );
1374
if ( !is_null( $data ) )
1375
update_option( $transient, $data );
1376
}
1377
$this->kick_other_caches();
1378
}
1379
119
)
120
),
121
'require_tax' => array(), // new in 3.5
122
+ 'optin' => false, // new in 4, default on 4.0.7
123
'thumbnails_heading' => __('Related posts:','yarpp'), // new in 4
124
'thumbnails_default' => plugins_url( 'default.png', __FILE__ ), // new in 4
125
'rss_thumbnails_heading' => __('Related posts:','yarpp'), // new in 4
163
// 3.4b8: $option can be a path, of the query_str variety, i.e. "option[suboption][subsuboption]"
164
function get_option( $option = null ) {
165
$options = (array) get_option( 'yarpp', array() );
166
+
167
// ensure defaults if not set:
168
$options = array_merge( $this->default_options, $options );
169
792
$comments = wp_count_comments();
793
$users = count_users();
794
795
+ $settings = $this->get_option();
796
+
797
$collect = array_flip(array(
798
'threshold', 'limit', 'excerpt_length', 'recent', 'rss_limit',
799
'rss_excerpt_length', 'past_only', 'show_excerpt', 'rss_show_excerpt',
801
'rss_display', 'rss_excerpt_display', 'promote_yarpp', 'rss_promote_yarpp',
802
'myisam_override', 'weight', 'require_tax', 'auto_display_archive'
803
));
804
+
805
$check_changed = array(
806
'before_title', 'after_title', 'before_post', 'after_post',
807
'after_related', 'no_results', 'order', 'rss_before_title',
893
'sites' => get_blog_count()
894
);
895
}
896
+
897
+ // $this->pretty_echo($data);
898
return $data;
899
}
900
1008
$this->active_cache->end_yarpp_time(); // YARPP time is over... :(
1009
}
1010
1011
+ unset($related_query);
1012
$this->restore_post_context();
1013
1014
+ if ($related_count > 0 && $promote_yarpp && $domain != 'metabox') {
1015
+ $output .=
1016
+ "<p>".
1017
+ sprintf(
1018
+ __("Related posts brought to you by <a href='%s'>Yet Another Related Posts Plugin</a>.",'yarpp'),
1019
+ 'http://yarpp.org'
1020
+ ).
1021
+ "</p>\n";
1022
+ }
1023
+
1024
+ if($optin){
1025
+ $output .= '<img src="http://yarpp.org/pixels/'.md5(get_bloginfo('url')).'" alt="Yarpp"/>'."\n";
1026
+ }
1027
$output .= "</div>\n";
1028
1029
+ if ($echo) echo $output;
1030
+
1031
return $output;
1032
+ }/*end display_related*/
1033
1034
/*
1035
* @param (int) $reference_ID
1205
} else {
1206
$r[$option] = $default;
1207
}
1208
+
1209
+ if ( $option == 'weight' && !isset( $r[$option]['tax'] ) )
1210
+ $r[$option]['tax'] = array();
1211
}
1212
return $r;
1213
}
1328
1329
// @since 3.3: use PHP serialized format instead of JSON
1330
function version_info( $enforce_cache = false ) {
1331
+ if (!$enforce_cache && false !== ($result = $this->get_transient('yarpp_version_info')) )
1332
return $result;
1333
1334
$version = YARPP_VERSION;
1335
$remote = wp_remote_post("http://yarpp.org/checkversion.php?format=php&version={$version}");
1336
1337
+ if (is_wp_error($remote) ||
1338
wp_remote_retrieve_response_code( $remote ) != 200 ||
1339
+ !isset($remote['body'])) {
1340
// try again later
1341
$this->set_transient('yarpp_version_info', null, 60 * 60);
1342
return false;
1353
if ( $this->get_transient( 'yarpp_optin' ) )
1354
return true;
1355
1356
+ $remote = wp_remote_post('http://yarpp.org/optin/2/', array('body' => $this->optin_data()));
1357
+
1358
if ( is_wp_error($remote) ||
1359
wp_remote_retrieve_response_code( $remote ) != 200 ||
1360
!isset($remote['body']) ||
1370
// a version of the transient functions which is unaffected by caching plugin behavior.
1371
// we want to control the lifetime of data.
1372
private function get_transient( $transient ) {
1373
+ $transient_timeout = $transient.'_timeout';
1374
+ if ( intval(get_option($transient_timeout)) < time()) {
1375
delete_option( $transient_timeout );
1376
return false; // timed out
1377
}
1380
1381
private function set_transient( $transient, $data = null, $expiration = 0 ) {
1382
$transient_timeout = $transient . '_timeout';
1383
+
1384
if ( false === get_option( $transient_timeout ) ) {
1385
+
1386
add_option( $transient_timeout, time() + $expiration, '', 'no' );
1387
+
1388
if ( !is_null( $data ) )
1389
add_option( $transient, $data, '', 'no' );
1390
+
1391
} else {
1392
+
1393
update_option( $transient_timeout, time() + $expiration );
1394
+
1395
if ( !is_null( $data ) )
1396
update_option( $transient, $data );
1397
+
1398
}
1399
+
1400
$this->kick_other_caches();
1401
}
1402
lang/yarpp-ar_AR.po CHANGED
@@ -116,11 +116,6 @@ msgstr "النظر مع الوزن الزائد"
116
msgid "Yet Another Related Posts Plugin version history (RSS 2.0)"
117
msgstr "بعد إصدار آخر ذات الوظائف البرنامج المساعد التاريخ (RSS 2.0)"
118
119
- #: options.php:253
120
- #@ yarpp
121
- msgid "Donate to mitcho (Michael Yoshitaka Erlewine) for this plugin via PayPal"
122
- msgstr "التبرع لmitcho (مايكل يوشيتاكا Erlewine) عن طريق هذا البرنامج المساعد PayPal"
123
-
124
#: options.php:242
125
#@ yarpp
126
msgid "Yet Another Related Posts Plugin Options"
@@ -451,11 +446,6 @@ msgstr " MySQL خطأ في إنشاء جدول yarpp_keyword_cache"
451
msgid "Example post "
452
msgstr "سبيل المثال وظيفة"
453
454
- #: options.php:255
455
- #@ yarpp
456
- msgid "by <a href=\"http://mitcho.com/code/\">mitcho (Michael 芳貴 Erlewine)</a>"
457
- msgstr "من قبل <a href=\"http://mitcho.com/code/\">mitcho (Michael 芳貴 Erlewine)</a>"
458
-
459
#: options.php:255
460
#@ yarpp
461
msgid "Follow <a href=\"http://twitter.com/yarpp/\">Yet Another Related Posts Plugin on Twitter</a>"
116
msgid "Yet Another Related Posts Plugin version history (RSS 2.0)"
117
msgstr "بعد إصدار آخر ذات الوظائف البرنامج المساعد التاريخ (RSS 2.0)"
118
119
#: options.php:242
120
#@ yarpp
121
msgid "Yet Another Related Posts Plugin Options"
446
msgid "Example post "
447
msgstr "سبيل المثال وظيفة"
448
449
#: options.php:255
450
#@ yarpp
451
msgid "Follow <a href=\"http://twitter.com/yarpp/\">Yet Another Related Posts Plugin on Twitter</a>"
lang/yarpp-ar_EG.po CHANGED
@@ -209,16 +209,6 @@ msgstr "تاريخ إصدار إضافة المحتويات ذات الصلة YA
209
msgid "Yet Another Related Posts Plugin Options"
210
msgstr "إعدادات إضافة المحتويات ذات الصلة YARPP"
211
212
- #: options.php:253
213
- #@ yarpp
214
- msgid "Donate to mitcho (Michael Yoshitaka Erlewine) for this plugin via PayPal"
215
- msgstr "تبرع لmitcho (مايكل يوشيتاكا إرلوين) لدعم هذه الإضافة عن طريق باي بال"
216
-
217
- #: options.php:255
218
- #@ yarpp
219
- msgid "by <a href=\"http://mitcho.com/code/\">mitcho (Michael 芳貴 Erlewine)</a>"
220
- msgstr "من <a href=\\\"http://mitcho.com/code/\\\">mitcho (مايكل芳贵Erlewine)</a>"
221
-
222
#: options.php:255
223
#@ yarpp
224
msgid "Follow <a href=\"http://twitter.com/yarpp/\">Yet Another Related Posts Plugin on Twitter</a>"
209
msgid "Yet Another Related Posts Plugin Options"
210
msgstr "إعدادات إضافة المحتويات ذات الصلة YARPP"
211
212
#: options.php:255
213
#@ yarpp
214
msgid "Follow <a href=\"http://twitter.com/yarpp/\">Yet Another Related Posts Plugin on Twitter</a>"
lang/yarpp-bg_BG.po CHANGED
@@ -209,16 +209,6 @@ msgstr "Yet Another Related Posts Plugin история на версиите (R
209
msgid "Yet Another Related Posts Plugin Options"
210
msgstr "Yet Another Related Posts Plugin Настройки"
211
212
- #: options.php:253
213
- #@ yarpp
214
- msgid "Donate to mitcho (Michael Yoshitaka Erlewine) for this plugin via PayPal"
215
- msgstr "Донирай на mitcho (Michael Yoshitaka Erlewine) за това разширение чрез PayPal"
216
-
217
- #: options.php:255
218
- #@ yarpp
219
- msgid "by <a href=\"http://mitcho.com/code/\">mitcho (Michael 芳貴 Erlewine)</a>"
220
- msgstr "от <a href=\"http://mitcho.com/code/\">mitcho (Michael 芳貴 Erlewine)</a>"
221
-
222
#: options.php:255
223
#@ yarpp
224
msgid "Follow <a href=\"http://twitter.com/yarpp/\">Yet Another Related Posts Plugin on Twitter</a>"
209
msgid "Yet Another Related Posts Plugin Options"
210
msgstr "Yet Another Related Posts Plugin Настройки"
211
212
#: options.php:255
213
#@ yarpp
214
msgid "Follow <a href=\"http://twitter.com/yarpp/\">Yet Another Related Posts Plugin on Twitter</a>"
lang/yarpp-by_BY.po CHANGED
@@ -102,12 +102,6 @@ msgstr "разглядаць"
102
msgid "consider with extra weight"
103
msgstr "разглядаць з дадатковай вагай"
104
105
- #: options-meta-boxes.php:286
106
- #@ default
107
- #@ yarpp
108
- msgid "Donate to mitcho (Michael Yoshitaka Erlewine) for this plugin via PayPal"
109
- msgstr "Ахвяраваць распрацоўніку mitcho (Michael Yoshitaka Erlewine), праз PayPal"
110
-
111
#: options.php:178
112
#@ yarpp
113
msgid "Yet Another Related Posts Plugin Options"
102
msgid "consider with extra weight"
103
msgstr "разглядаць з дадатковай вагай"
104
105
#: options.php:178
106
#@ yarpp
107
msgid "Yet Another Related Posts Plugin Options"
lang/yarpp-cs_CZ.po CHANGED
@@ -436,12 +436,6 @@ msgstr "Web YARPP"
436
msgid "Rate YARPP on WordPress.org"
437
msgstr "Ohodnotit YARPP na WordPress.org"
438
439
- #: options-meta-boxes.php:302
440
- #@ default
441
- #@ yarpp
442
- msgid "Donate to mitcho (Michael Yoshitaka Erlewine) for this plugin via PayPal"
443
- msgstr "Poslat finanční příspěvek autorovi pluginu pomocí PayPalu - mitcho (Michael Yoshitaka Erlewine)"
444
-
445
#: options-meta-boxes.php:337
446
#@ yarpp
447
msgid "Contact YARPP"
436
msgid "Rate YARPP on WordPress.org"
437
msgstr "Ohodnotit YARPP na WordPress.org"
438
439
#: options-meta-boxes.php:337
440
#@ yarpp
441
msgid "Contact YARPP"
lang/yarpp-de_DE.po CHANGED
@@ -101,12 +101,6 @@ msgstr "berücksichtigen"
101
msgid "consider with extra weight"
102
msgstr "besonders berücksichtigen"
103
104
- #: options.php:252
105
- #@ default
106
- #@ yarpp
107
- msgid "Donate to mitcho (Michael Yoshitaka Erlewine) for this plugin via PayPal"
108
- msgstr "An mitcho (Michael Yoshitaka Erlewine) für die Entwicklung des Plugins via PayPal spenden"
109
-
110
#: options.php:240
111
#@ yarpp
112
msgid "Yet Another Related Posts Plugin Options"
@@ -557,11 +551,6 @@ msgstr ""
557
msgid "Related entries may be displayed once you save your entry"
558
msgstr "Ähnliche Beiträge werden nach dem Speichern angezeigt"
559
560
- #: options.php:255
561
- #@ yarpp
562
- msgid "by <a href=\"http://mitcho.com/\">mitcho (Michael 芳貴 Erlewine)</a>"
563
- msgstr "von <a href=\"http://mitcho.com/\">mitcho (Michael 芳貴 Erlewine)</a>"
564
-
565
#: options.php:272
566
#: options.php:305
567
#: options.php:411
101
msgid "consider with extra weight"
102
msgstr "besonders berücksichtigen"
103
104
#: options.php:240
105
#@ yarpp
106
msgid "Yet Another Related Posts Plugin Options"
551
msgid "Related entries may be displayed once you save your entry"
552
msgstr "Ähnliche Beiträge werden nach dem Speichern angezeigt"
553
554
#: options.php:272
555
#: options.php:305
556
#: options.php:411
lang/yarpp-el_CY.po CHANGED
@@ -219,16 +219,6 @@ msgstr "Yet Another Related Posts Plugin ιστορικό εκδόσεων (RSS
219
msgid "Yet Another Related Posts Plugin Options"
220
msgstr "Ρυθμίσεις του Yet Another Related Posts Plugin"
221
222
- #: options.php:274
223
- #@ yarpp
224
- msgid "Donate to mitcho (Michael Yoshitaka Erlewine) for this plugin via PayPal"
225
- msgstr "Δωρεά στον Μήτσο (mitcho - Michael Yoshitaka Erlewine) για το plugin αυτό μέσω PayPal"
226
-
227
- #: options.php:276
228
- #@ yarpp
229
- msgid "by <a href=\"http://mitcho.com/code/\">mitcho (Michael 芳貴 Erlewine)</a>"
230
- msgstr "Aπό τον <a href=\"http://mitcho.com/code/\">Μήτσο (mitcho - Michael 芳貴 Erlewine)</a>"
231
-
232
#: options.php:276
233
#@ yarpp
234
msgid "Follow <a href=\"http://twitter.com/yarpp/\">Yet Another Related Posts Plugin on Twitter</a>"
219
msgid "Yet Another Related Posts Plugin Options"
220
msgstr "Ρυθμίσεις του Yet Another Related Posts Plugin"
221
222
#: options.php:276
223
#@ yarpp
224
msgid "Follow <a href=\"http://twitter.com/yarpp/\">Yet Another Related Posts Plugin on Twitter</a>"
lang/yarpp-el_EL.po CHANGED
@@ -219,16 +219,6 @@ msgstr "Yet Another Related Posts Plugin ιστορικό εκδόσεων (RSS
219
msgid "Yet Another Related Posts Plugin Options"
220
msgstr "Ρυθμίσεις του Yet Another Related Posts Plugin"
221
222
- #: options.php:274
223
- #@ yarpp
224
- msgid "Donate to mitcho (Michael Yoshitaka Erlewine) for this plugin via PayPal"
225
- msgstr "Δωρεά στον Μήτσο (mitcho - Michael Yoshitaka Erlewine) για το plugin αυτό μέσω PayPal"
226
-
227
- #: options.php:276
228
- #@ yarpp
229
- msgid "by <a href=\"http://mitcho.com/code/\">mitcho (Michael 芳貴 Erlewine)</a>"
230
- msgstr "Aπό τον <a href=\"http://mitcho.com/code/\">Μήτσο (mitcho - Michael 芳貴 Erlewine)</a>"
231
-
232
#: options.php:276
233
#@ yarpp
234
msgid "Follow <a href=\"http://twitter.com/yarpp/\">Yet Another Related Posts Plugin on Twitter</a>"
219
msgid "Yet Another Related Posts Plugin Options"
220
msgstr "Ρυθμίσεις του Yet Another Related Posts Plugin"
221
222
#: options.php:276
223
#@ yarpp
224
msgid "Follow <a href=\"http://twitter.com/yarpp/\">Yet Another Related Posts Plugin on Twitter</a>"
lang/yarpp-es_ES.po CHANGED
@@ -204,17 +204,6 @@ msgstr "considerar con peso extra"
204
msgid "Yet Another Related Posts Plugin Options"
205
msgstr "Yet Another Related Posts Plugin Opciones"
206
207
- #@ default
208
- #@ yarpp
209
- #: options.php:252
210
- msgid "Donate to mitcho (Michael Yoshitaka Erlewine) for this plugin via PayPal"
211
- msgstr "Hacer Donación a mitcho (Michael Yoshitaka Erlewine) por este plugin via PayPal"
212
-
213
- #@ yarpp
214
- #: options.php:255
215
- msgid "by <a href=\"http://mitcho.com/\">mitcho (Michael 芳貴 Erlewine)</a>"
216
- msgstr "por <a href=\"http://mitcho.com/\">mitcho (Michael 芳貴 Erlewine)</a>"
217
-
218
#@ yarpp
219
#: options.php:255
220
msgid "Follow <a href=\"http://twitter.com/yarpp/\">Yet Another Related Posts Plugin on Twitter</a>"
204
msgid "Yet Another Related Posts Plugin Options"
205
msgstr "Yet Another Related Posts Plugin Opciones"
206
207
#@ yarpp
208
#: options.php:255
209
msgid "Follow <a href=\"http://twitter.com/yarpp/\">Yet Another Related Posts Plugin on Twitter</a>"
lang/yarpp-est_EST.po CHANGED
@@ -129,13 +129,6 @@ msgstr "arvestama"
129
msgid "consider with extra weight"
130
msgstr "ravitud lisaraskusega"
131
132
- # @ default
133
- # @ yarpp
134
- #: options-meta-boxes.php:286
135
- msgid ""
136
- "Donate to mitcho (Michael Yoshitaka Erlewine) for this plugin via PayPal"
137
- msgstr "Anneta arendaja mitcho (Michael Yoshitaka Erlewine), kaudu PayPal"
138
-
139
# @ yarpp
140
#: options.php:178
141
msgid "Yet Another Related Posts Plugin Options"
129
msgid "consider with extra weight"
130
msgstr "ravitud lisaraskusega"
131
132
# @ yarpp
133
#: options.php:178
134
msgid "Yet Another Related Posts Plugin Options"
lang/yarpp-fa_IR.po CHANGED
@@ -105,12 +105,6 @@ msgstr "بیش از یک %s لازم است"
105
msgid "consider with extra weight"
106
msgstr "بسیارمهم در نظر گرفته شود"
107
108
- #: options-meta-boxes.php:286
109
- #@ default
110
- #@ yarpp
111
- msgid "Donate to mitcho (Michael Yoshitaka Erlewine) for this plugin via PayPal"
112
- msgstr "کمک مالی به mitcho برای این افزونه از طریق PayPal"
113
-
114
#: options.php:178
115
#@ yarpp
116
msgid "Yet Another Related Posts Plugin Options"
105
msgid "consider with extra weight"
106
msgstr "بسیارمهم در نظر گرفته شود"
107
108
#: options.php:178
109
#@ yarpp
110
msgid "Yet Another Related Posts Plugin Options"
lang/yarpp-fr_FR.po CHANGED
@@ -547,12 +547,6 @@ msgstr "YARPP sur le web"
547
msgid "Review YARPP on WordPress.org"
548
msgstr "Avis d’utilisateurs YARPP chez WordPress.org"
549
550
- #: options-meta-boxes.php:372
551
- #@ default
552
- #@ yarpp
553
- msgid "Donate to mitcho (Michael Yoshitaka Erlewine) for this plugin via PayPal"
554
- msgstr "Faire un don à mitcho (Michael Yoshitaka Erlewine), via PayPal, pour cette extension"
555
-
556
#: options-meta-boxes.php:405
557
#@ yarpp
558
msgid "Help Improve YARPP"
547
msgid "Review YARPP on WordPress.org"
548
msgstr "Avis d’utilisateurs YARPP chez WordPress.org"
549
550
#: options-meta-boxes.php:405
551
#@ yarpp
552
msgid "Help Improve YARPP"
lang/yarpp-gb_IR.po CHANGED
@@ -94,12 +94,6 @@ msgstr "machnamh"
94
msgid "consider with extra weight"
95
msgstr "a mheas le meáchan breise"
96
97
- #: options-meta-boxes.php:286
98
- #@ default
99
- #@ yarpp
100
- msgid "Donate to mitcho (Michael Yoshitaka Erlewine) for this plugin via PayPal"
101
- msgstr "Síntiúis a mitcho (Michael Yoshitaka Erlewine) mbreiseán seo trí PayPal"
102
-
103
#: options.php:150
104
#@ yarpp
105
msgid "Yet Another Related Posts Plugin Options"
94
msgid "consider with extra weight"
95
msgstr "a mheas le meáchan breise"
96
97
#: options.php:150
98
#@ yarpp
99
msgid "Yet Another Related Posts Plugin Options"
lang/yarpp-ge_KA.po CHANGED
@@ -102,12 +102,6 @@ msgstr "განიხილე"
102
msgid "consider with extra weight"
103
msgstr "განიხილე დამატებითი წონით"
104
105
- #: options-meta-boxes.php:286
106
- #@ default
107
- #@ yarpp
108
- msgid "Donate to mitcho (Michael Yoshitaka Erlewine) for this plugin via PayPal"
109
- msgstr "შემოწირულობით დაეხმარეთ mitcho (Michael Yoshitaka Erlewine)-ს, PayPal-ის საშუალებით"
110
-
111
#: options.php:178
112
#@ yarpp
113
msgid "Yet Another Related Posts Plugin Options"
102
msgid "consider with extra weight"
103
msgstr "განიხილე დამატებითი წონით"
104
105
#: options.php:178
106
#@ yarpp
107
msgid "Yet Another Related Posts Plugin Options"
lang/yarpp-gu_IN.po CHANGED
@@ -101,12 +101,6 @@ msgstr "ધ્યાનમાં"
101
msgid "consider with extra weight"
102
msgstr "વધારાનું વજન સાથે વિચારણા"
103
104
- #@ default
105
- #@ yarpp
106
- #: options-meta-boxes.php:286
107
- msgid "Donate to mitcho (Michael Yoshitaka Erlewine) for this plugin via PayPal"
108
- msgstr "આ પ્લગઈન માટે PAYPAL દ્વારા (mitcho માઈકલ Yoshitaka)"
109
-
110
#@ yarpp
111
#: options.php:178
112
msgid "Yet Another Related Posts Plugin Options"
101
msgid "consider with extra weight"
102
msgstr "વધારાનું વજન સાથે વિચારણા"
103
104
#@ yarpp
105
#: options.php:178
106
msgid "Yet Another Related Posts Plugin Options"
lang/yarpp-he_IL.po CHANGED
@@ -551,12 +551,6 @@ msgstr "אתר האינטרנט של YARPP"
551
msgid "Review YARPP on WordPress.org"
552
msgstr "כתבו חוות דעת על YARPP ב-WordPress.org"
553
554
- # @ yarpp
555
- #: options-meta-boxes.php:372
556
- msgid ""
557
- "Donate to mitcho (Michael Yoshitaka Erlewine) for this plugin via PayPal"
558
- msgstr "תרמו למיצ'ו (מיכאל יושיטקה ארליויין) בעזרת PayPal"
559
-
560
#: options-meta-boxes.php:405
561
msgid "Help Improve YARPP"
562
msgstr "עזרו לנו לשפר את YARPP"
551
msgid "Review YARPP on WordPress.org"
552
msgstr "כתבו חוות דעת על YARPP ב-WordPress.org"
553
554
#: options-meta-boxes.php:405
555
msgid "Help Improve YARPP"
556
msgstr "עזרו לנו לשפר את YARPP"
lang/yarpp-hi_IN.po CHANGED
@@ -102,12 +102,6 @@ msgstr "विचार"
102
msgid "consider with extra weight"
103
msgstr "अतिरिक्त वजन के साथ विचार"
104
105
- #: options-meta-boxes.php:286
106
- #@ default
107
- #@ yarpp
108
- msgid "Donate to mitcho (Michael Yoshitaka Erlewine) for this plugin via PayPal"
109
- msgstr "दान mitcho को (Michael Yoshitaka Erlewine) पेपैल द्वारा इस प्लगइन के लिए"
110
-
111
#: options.php:178
112
#@ yarpp
113
msgid "Yet Another Related Posts Plugin Options"
102
msgid "consider with extra weight"
103
msgstr "अतिरिक्त वजन के साथ विचार"
104
105
#: options.php:178
106
#@ yarpp
107
msgid "Yet Another Related Posts Plugin Options"
lang/yarpp-hr.po CHANGED
@@ -476,14 +476,6 @@ msgstr "YARPP na Webu"
476
msgid "Rate YARPP on WordPress.org"
477
msgstr "Ocijeni YARPP na WordPress.org"
478
479
- # @ default
480
- # @ yarpp
481
- #: options-meta-boxes.php:303
482
- msgid ""
483
- "Donate to mitcho (Michael Yoshitaka Erlewine) for this plugin via PayPal"
484
- msgstr ""
485
- "Doniraj mitcho (Michael Yoshitaka Erlewine) za ovaj dodatak preko PayPal-a"
486
-
487
# @ yarpp
488
#: options-meta-boxes.php:337
489
msgid "Contact YARPP"
476
msgid "Rate YARPP on WordPress.org"
477
msgstr "Ocijeni YARPP na WordPress.org"
478
479
# @ yarpp
480
#: options-meta-boxes.php:337
481
msgid "Contact YARPP"
lang/yarpp-hu_HU.po CHANGED
@@ -102,12 +102,6 @@ msgstr "vegye figyelembe"
102
msgid "consider with extra weight"
103
msgstr "különlegesként kezeld"
104
105
- #: options-meta-boxes.php:286
106
- #@ default
107
- #@ yarpp
108
- msgid "Donate to mitcho (Michael Yoshitaka Erlewine) for this plugin via PayPal"
109
- msgstr "Adományozz (Michael Yoshitaka Erlewine) -nek ezért a pluginétt Paypal segítségével"
110
-
111
#: options.php:178
112
#@ yarpp
113
msgid "Yet Another Related Posts Plugin Options"
102
msgid "consider with extra weight"
103
msgstr "különlegesként kezeld"
104
105
#: options.php:178
106
#@ yarpp
107
msgid "Yet Another Related Posts Plugin Options"
lang/yarpp-id_ID.po CHANGED
@@ -105,12 +105,6 @@ msgstr "mengharuskan lebih dari satu persamaan dalam %s"
105
msgid "consider with extra weight"
106
msgstr "pertimbangkan dengan berat ekstra"
107
108
- #: options-meta-boxes.php:286
109
- #@ default
110
- #@ yarpp
111
- msgid "Donate to mitcho (Michael Yoshitaka Erlewine) for this plugin via PayPal"
112
- msgstr "Donasi ke mitcho (Michael Yoshitaka Erlewine) untuk plugin ini melalui PayPal"
113
-
114
#: options.php:178
115
#@ yarpp
116
msgid "Yet Another Related Posts Plugin Options"
105
msgid "consider with extra weight"
106
msgstr "pertimbangkan dengan berat ekstra"
107
108
#: options.php:178
109
#@ yarpp
110
msgid "Yet Another Related Posts Plugin Options"
lang/yarpp-it_IT.po CHANGED
@@ -436,12 +436,6 @@ msgstr "YARPP nel Web"
436
msgid "Rate YARPP on WordPress.org"
437
msgstr "Vota YARPP su WordPress.org"
438
439
- #: options-meta-boxes.php:301
440
- #@ default
441
- #@ yarpp
442
- msgid "Donate to mitcho (Michael Yoshitaka Erlewine) for this plugin via PayPal"
443
- msgstr "Effettua una donazione via PayPal per mitcho (Michael Yoshitaka Erlewine) lo sviluppatore di questo plugin"
444
-
445
#: options-meta-boxes.php:336
446
#@ yarpp
447
msgid "Contact YARPP"
436
msgid "Rate YARPP on WordPress.org"
437
msgstr "Vota YARPP su WordPress.org"
438
439
#: options-meta-boxes.php:336
440
#@ yarpp
441
msgid "Contact YARPP"
lang/yarpp-ja.po CHANGED
@@ -575,13 +575,6 @@ msgstr "ウェブサイト"
575
msgid "Review YARPP on WordPress.org"
576
msgstr "WordPress.org で YARPP の感想を書く"
577
578
- # @ default
579
- # @ yarpp
580
- #: options-meta-boxes.php:372
581
- msgid ""
582
- "Donate to mitcho (Michael Yoshitaka Erlewine) for this plugin via PayPal"
583
- msgstr "YARPPの作成者(ミッチョ)にPayPalで寄付をする"
584
-
585
# @ yarpp
586
#: options-meta-boxes.php:405
587
msgid "Help Improve YARPP"
575
msgid "Review YARPP on WordPress.org"
576
msgstr "WordPress.org で YARPP の感想を書く"
577
578
# @ yarpp
579
#: options-meta-boxes.php:405
580
msgid "Help Improve YARPP"
lang/yarpp-kk_KZ.po CHANGED
@@ -94,12 +94,6 @@ msgstr "Қарау"
94
msgid "consider with extra weight"
95
msgstr "Қосымша салмақпен қарау керек "
96
97
- #: options-meta-boxes.php:286
98
- #@ default
99
- #@ yarpp
100
- msgid "Donate to mitcho (Michael Yoshitaka Erlewine) for this plugin via PayPal"
101
- msgstr "Өңдеушіге садаққа ету керек mitcho (Michael Yoshitaka Erlewine)"
102
-
103
#: options.php:178
104
#@ yarpp
105
msgid "Yet Another Related Posts Plugin Options"
94
msgid "consider with extra weight"
95
msgstr "Қосымша салмақпен қарау керек "
96
97
#: options.php:178
98
#@ yarpp
99
msgid "Yet Another Related Posts Plugin Options"
lang/yarpp-ko_KR.po CHANGED
@@ -102,12 +102,6 @@ msgstr "검토함"
102
msgid "consider with extra weight"
103
msgstr "신중히 검토함"
104
105
- #: options-meta-boxes.php:301
106
- #@ default
107
- #@ yarpp
108
- msgid "Donate to mitcho (Michael Yoshitaka Erlewine) for this plugin via PayPal"
109
- msgstr "이 플러그인을 위해 mitcho (Michael Yoshitaka Erlewine) 에게 페이팔을 통한 기부"
110
-
111
#: options.php:139
112
#@ yarpp
113
msgid "Yet Another Related Posts Plugin Options"
102
msgid "consider with extra weight"
103
msgstr "신중히 검토함"
104
105
#: options.php:139
106
#@ yarpp
107
msgid "Yet Another Related Posts Plugin Options"
lang/yarpp-lt_LT.po CHANGED
@@ -153,12 +153,6 @@ msgstr "Turi didelę reikšmę"
153
msgid "Yet Another Related Posts Plugin Options"
154
msgstr "„Yet Another Related Posts Plugin“ įskiepio nuostatos"
155
156
- #: options-meta-boxes.php:286
157
- #@ default
158
- #@ yarpp
159
- msgid "Donate to mitcho (Michael Yoshitaka Erlewine) for this plugin via PayPal"
160
- msgstr "Paremti įskiepio kūrėją mitcho (Michael Yoshitaka Erlewine) per PayPal"
161
-
162
#: options-meta-boxes.php:118
163
#@ yarpp
164
msgid "\"The Pool\""
153
msgid "Yet Another Related Posts Plugin Options"
154
msgstr "„Yet Another Related Posts Plugin“ įskiepio nuostatos"
155
156
#: options-meta-boxes.php:118
157
#@ yarpp
158
msgid "\"The Pool\""
lang/yarpp-lv_LV.po CHANGED
@@ -102,12 +102,6 @@ msgstr "rassmatrivat'"
102
msgid "consider with extra weight"
103
msgstr "rassmatrivat' s dopolnitel'nym vesom"
104
105
- #: options-meta-boxes.php:286
106
- #@ default
107
- #@ yarpp
108
- msgid "Donate to mitcho (Michael Yoshitaka Erlewine) for this plugin via PayPal"
109
- msgstr "Pojertvovat' razrabotchiku mitcho (Michael Yoshitaka Erlewine), cherez PayPal"
110
-
111
#: options.php:178
112
#@ yarpp
113
msgid "Yet Another Related Posts Plugin Options"
102
msgid "consider with extra weight"
103
msgstr "rassmatrivat' s dopolnitel'nym vesom"
104
105
#: options.php:178
106
#@ yarpp
107
msgid "Yet Another Related Posts Plugin Options"
lang/yarpp-mk-MK.mo ADDED
Binary file
lang/yarpp-mk-MK.po ADDED
@@ -0,0 +1,617 @@
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: Yet Another Related Posts Plugin\n"
4
+ "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: \n"
6
+ "PO-Revision-Date: 2013-03-30 21:27+0100\n"
7
+ "Last-Translator: Diana <diana@wpdiscounts.com>\n"
8
+ "Language-Team: \n"
9
+ "MIME-Version: 1.0\n"
10
+ "Content-Type: text/plain; charset=UTF-8\n"
11
+ "Content-Transfer-Encoding: 8bit\n"
12
+ "Plural-Forms: nplurals=2; plural= n==1 || n%10==1 ? 0 : 1;\n"
13
+ "X-Poedit-SourceCharset: UTF-8\n"
14
+ "X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;"
15
+ "_n_noop:1,2;_c,_nc:4c,1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2\n"
16
+ "X-Poedit-Basepath: ../\n"
17
+ "X-Textdomain-Support: yes\n"
18
+ "Language: mk_MK\n"
19
+ "X-Generator: Poedit 1.5.3\n"
20
+ "X-Poedit-SearchPath-0: .\n"
21
+
22
+ # @ yarpp
23
+ #: class-admin.php:55 class-widget.php:7 class-widget.php:59
24
+ msgid "Related Posts (YARPP)"
25
+ msgstr "Povrzani postovi (YARPP)"
26
+
27
+ # @ yarpp
28
+ #: class-admin.php:63
29
+ msgid "Related Posts"
30
+ msgstr "Povrzani postovi"
31
+
32
+ # @ yarpp
33
+ #: class-cache.php:522
34
+ msgid "Example post "
35
+ msgstr "Primeren post"
36
+
37
+ # @ yarpp
38
+ #: class-core.php:586 class-core.php:701 options-meta-boxes.php:229
39
+ #: options-meta-boxes.php:284
40
+ #, php-format
41
+ msgid ""
42
+ "Related posts brought to you by <a href='%s'>Yet Another Related Posts "
43
+ "Plugin</a>."
44
+ msgstr ""
45
+ "Povrzani postovi doneseni za vas od <a href='%s'>Yet Another Related Posts "
46
+ "Plugin</a>."
47
+
48
+ # @ yarpp
49
+ #: options.php:46
50
+ msgid ""
51
+ "The MyISAM check has been overridden. You may now use the \"consider titles"
52
+ "\" and \"consider bodies\" relatedness criteria."
53
+ msgstr ""
54
+ "Proverata na MyISAM e prepisana. Sega mozete da koristite kriteriite "
55
+ "povrzani so \"smetaj gi naslovite\" and \"smetaj gi tekstovite\""
56
+
57
+ # @ yarpp
58
+ #: options.php:54
59
+ #, php-format
60
+ msgid ""
61
+ "YARPP's \"consider titles\" and \"consider bodies\" relatedness criteria "
62
+ "require your <code>%s</code> table to use the <a href='http://dev.mysql.com/"
63
+ "doc/refman/5.0/en/storage-engines.html'>MyISAM storage engine</a>, but the "
64
+ "table seems to be using the <code>%s</code> engine. These two options have "
65
+ "been disabled."
66
+ msgstr ""
67
+ " Povrzanosta na \"smetaj gi naslovite\" i \"smetaj gi tekstovite\" na YARPP "
68
+ "barrat vasata<code>%s</code> tabla da gi upotrebuva <a href='http://dev."
69
+ "mysql.com/doc/refman/5.0/en/storage-engines.html'>MyISAM storage engine</a>, "
70
+ "no tablate izgleda go upotrebuva <code>%s</code> engine. Ovie dve opcii se "
71
+ "onevozmozeni."
72
+
73
+ # @ yarpp
74
+ #: options.php:56
75
+ #, php-format
76
+ msgid ""
77
+ "To restore these features, please update your <code>%s</code> table by "
78
+ "executing the following SQL directive: <code>ALTER TABLE `%s` ENGINE = "
79
+ "MyISAM;</code> . No data will be erased by altering the table's engine, "
80
+ "although there are performance implications."
81
+ msgstr ""
82
+ "Za da gi povratite ovie funkcii, ve molime azurirajte ja vasata <code>%s</"
83
+ "code> tabla taka sto kje ja izvrsite slednata SQL direktiva: <code>ALTER "
84
+ "TABLE `%s` ENGINE = MyISAM;</code>. Nikakva data nema da bide izbrisana so "
85
+ "izmenuvanjeto na prebaruvanjeto, iako kje ima implikacii na performans."
86
+
87
+ # @ yarpp
88
+ #: options.php:58
89
+ #, php-format
90
+ msgid ""
91
+ "If, despite this check, you are sure that <code>%s</code> is using the "
92
+ "MyISAM engine, press this magic button:"
93
+ msgstr ""
94
+ "Dokolku i pokraj ovaa provera ste sigurni deka <code>%s</code> go koristi "
95
+ "MyISAM engine, kliknete go magicnoto kopce:"
96
+
97
+ # @ yarpp
98
+ #: options.php:61
99
+ msgid "Trust me. Let me use MyISAM features."
100
+ msgstr "Veruvaj mi. Dozvoli mi da gi koristam MyISAM funkciite."
101
+
102
+ # @ yarpp
103
+ #: options.php:76
104
+ msgid "The YARPP database had an error but has been fixed."
105
+ msgstr "YARPP bazata na podatoci imase greska, ama e ispravena."
106
+
107
+ # @ yarpp
108
+ #: options.php:78
109
+ msgid "The YARPP database has an error which could not be fixed."
110
+ msgstr "YARPP bazata na podatoci ima greska koja sto ne moze da se ispravi."
111
+
112
+ # @ yarpp
113
+ #: options.php:135
114
+ msgid "Options saved!"
115
+ msgstr "Opciite se socuvani!"
116
+
117
+ # @ yarpp
118
+ #: options-meta-boxes.php:47 options-meta-boxes.php:59
119
+ msgid "do not consider"
120
+ msgstr "ne smetaj"
121
+
122
+ # @ yarpp
123
+ #: options-meta-boxes.php:48 options-meta-boxes.php:60
124
+ msgid "consider"
125
+ msgstr "smetaj"
126
+
127
+ # @ yarpp
128
+ #: options-meta-boxes.php:50
129
+ #, php-format
130
+ msgid "require at least one %s in common"
131
+ msgstr "baraj barem edna zaednicka %s"
132
+
133
+ # @ yarpp
134
+ #: options-meta-boxes.php:51
135
+ #, php-format
136
+ msgid "require more than one %s in common"
137
+ msgstr "baraj poveke od edna zaednicka %s"
138
+
139
+ # @ yarpp
140
+ #: options-meta-boxes.php:49 options-meta-boxes.php:61
141
+ msgid "consider with extra weight"
142
+ msgstr "smetaj so ekstra tezina"
143
+
144
+ # @ yarpp
145
+ #: options.php:141
146
+ msgid "Yet Another Related Posts Plugin Options"
147
+ msgstr "Yet Another Related Posts Plugin Options"
148
+
149
+ # @ yarpp
150
+ #: options-meta-boxes.php:147
151
+ msgid "\"The Pool\""
152
+ msgstr "\"Listata\""
153
+
154
+ # @ yarpp
155
+ #: options-meta-boxes.php:109
156
+ msgid ""
157
+ "\"The Pool\" refers to the pool of posts and pages that are candidates for "
158
+ "display as related to the current entry."
159
+ msgstr ""
160
+ "\"Listata\" se odnesuva na lista na postovi i stranici koi se kandidati za "
161
+ "prikazuvanje kako povrzani so momentalnoto vnesuvanje."
162
+
163
+ # @ yarpp
164
+ #: options-meta-boxes.php:118
165
+ msgid "Show password protected posts?"
166
+ msgstr "Prikazi gi postovite zastiteni so sifra?"
167
+
168
+ # @ yarpp
169
+ #: options-meta-boxes.php:170
170
+ msgid "Show only previous posts?"
171
+ msgstr "Prikazi gi samo prethodnite postovi?"
172
+
173
+ # @ yarpp
174
+ #: options-meta-boxes.php:129
175
+ msgid "day(s)"
176
+ msgstr "den(ovi)"
177
+
178
+ # @ yarpp
179
+ #: options-meta-boxes.php:130
180
+ msgid "week(s)"
181
+ msgstr "nedela/i"
182
+
183
+ # @ yarpp
184
+ #: options-meta-boxes.php:131
185
+ msgid "month(s)"
186
+ msgstr "mesec/i"
187
+
188
+ # @ yarpp
189
+ #: options-meta-boxes.php:137
190
+ msgid "Show only posts from the past NUMBER UNITS"
191
+ msgstr "Prikazi gi samo postovite od prethodnite NUMERICKI EDINICI "
192
+
193
+ # @ yarpp
194
+ #: options-meta-boxes.php:178
195
+ msgid "\"Relatedness\" options"
196
+ msgstr "\"Povrzanost\" opcii"
197
+
198
+ # @ yarpp
199
+ #: options-meta-boxes.php:17 options-meta-boxes.php:113
200
+ #: options-meta-boxes.php:153 options-meta-boxes.php:169
201
+ #: options-meta-boxes.php:187 options-meta-boxes.php:228
202
+ #: options-meta-boxes.php:245 options-meta-boxes.php:247
203
+ #: options-meta-boxes.php:283
204
+ msgid "more&gt;"
205
+ msgstr "poveke&gt;"
206
+
207
+ # @ yarpp
208
+ #: options-meta-boxes.php:153
209
+ msgid ""
210
+ "The higher the match threshold, the more restrictive, and you get less "
211
+ "related posts overall. The default match threshold is 5. If you want to find "
212
+ "an appropriate match threshhold, take a look at some post's related posts "
213
+ "display and their scores. You can see what kinds of related posts are being "
214
+ "picked up and with what kind of match scores, and determine an appropriate "
215
+ "threshold for your site."
216
+ msgstr ""
217
+ "Sto poveke podudaranja, toa porestriktivni ke bidat, i dobivate pomalku "
218
+ "srodni temi vo celina. Standardnoto podudaranje e 5. Ako sakate da najdete "
219
+ "soodvetno podudaranje, poglednete gi prikazanite postovi na nekoi od "
220
+ "prethodnite postovi i nivnite rezultati. Ke vidite kakvi vrsti na povrzani "
221
+ "postovi se izbrani i kakva im e podudarnosta, i ke mozete da odredite "
222
+ "soodvetno podudaranje za vasiot sajt. "
223
+
224
+ # @ yarpp
225
+ #: options-meta-boxes.php:159
226
+ msgid "Match threshold:"
227
+ msgstr "Podudarna vrednost"
228
+
229
+ # @ yarpp
230
+ #: options-meta-boxes.php:160
231
+ msgid "Titles: "
232
+ msgstr "Naslovi:"
233
+
234
+ # @ yarpp
235
+ #: options-meta-boxes.php:162
236
+ msgid "Bodies: "
237
+ msgstr "Tekstovi:"
238
+
239
+ # @ yarpp
240
+ #: options.php:38
241
+ #, php-format
242
+ msgid ""
243
+ "There is a new beta (%s) of Yet Another Related Posts Plugin. You can <a "
244
+ "href=\"%s\">download it here</a> at your own risk."
245
+ msgstr ""
246
+ "Postoi nova beta (%s) na Yet Another Related Posts Plugin. Mozete da go <a "
247
+ "href=\"%s\"> prezemete tuka na sopstvena odgovornost. "
248
+
249
+ # @ yarpp
250
+ #: options-meta-boxes.php:236
251
+ msgid "Display options <small>for your website</small>"
252
+ msgstr "Prikazi gi opciite <small>za vasiot websajt</small> "
253
+
254
+ # @ yarpp
255
+ #: options-meta-boxes.php:187
256
+ msgid "Automatically display related posts?"
257
+ msgstr "Avtomatsko prikazuvanje na povrzani postovi?"
258
+
259
+ # @ yarpp
260
+ #: options-meta-boxes.php:187
261
+ msgid ""
262
+ "This option automatically displays related posts right after the content on "
263
+ "single entry pages. If this option is off, you will need to manually insert "
264
+ "<code>related_posts()</code> or variants (<code>related_pages()</code> and "
265
+ "<code>related_entries()</code>) into your theme files."
266
+ msgstr ""
267
+ "Ovaa opcija avotmatski gi prikazuva povrzanite postovi odma posle sodrzajot "
268
+ "na sekoja vnesena strana. Dokolku ovaa opcija e isklucena, ke morate racno "
269
+ "da gi vnesete <code>povrzani_postovi()</code> ili varijantite "
270
+ "(<code>povrzani_stranici()</code> i <code>povrzani_vnesuvanja()</code>) vo "
271
+ "vasite fajlovi na tema."
272
+
273
+ # @ yarpp
274
+ #: options-meta-boxes.php:188
275
+ msgid "Website display code example"
276
+ msgstr "Primer na prikazot na websajt kodot"
277
+
278
+ # @ yarpp
279
+ #: options-meta-boxes.php:188 options-meta-boxes.php:245
280
+ msgid "(Update options to reload.)"
281
+ msgstr "(Azurirajte gi opciite za da ja vcitate stranata povtorno)"
282
+
283
+ # @ yarpp
284
+ #: options-meta-boxes.php:190 options-meta-boxes.php:250
285
+ msgid "Maximum number of related posts:"
286
+ msgstr "Maksimalen broj na povrzani postovi:"
287
+
288
+ # @ yarpp
289
+ #: class-widget.php:75 options-meta-boxes.php:17
290
+ msgid "Display using a custom template file"
291
+ msgstr "Prikazi koristejki prilagodena definirana datoteka"
292
+
293
+ # @ yarpp
294
+ #: options-meta-boxes.php:17
295
+ msgid ""
296
+ "This advanced option gives you full power to customize how your related "
297
+ "posts are displayed. Templates (stored in your theme folder) are written in "
298
+ "PHP."
299
+ msgstr ""
300
+ "Ovaa napredna opcija vi dava polnomok da prilagodite kako ke bidat prikazani "
301
+ "vasite povrzani postovi. Definiciite (socuvani vo vasiot folder od tema) se "
302
+ "napisani vo PHP."
303
+
304
+ # @ yarpp
305
+ #: class-widget.php:76 options-meta-boxes.php:196 options-meta-boxes.php:258
306
+ msgid "Template file:"
307
+ msgstr "Datoteka na definicija:"
308
+
309
+ # @ yarpp
310
+ #: options-meta-boxes.php:208 options-meta-boxes.php:271
311
+ msgid "Before / after related entries:"
312
+ msgstr "Pred/Posle povrzani vnesuvanja:"
313
+
314
+ # @ yarpp
315
+ #: options-meta-boxes.php:208 options-meta-boxes.php:209
316
+ #: options-meta-boxes.php:217 options-meta-boxes.php:271
317
+ #: options-meta-boxes.php:272 options-meta-boxes.php:277
318
+ msgid "For example:"
319
+ msgstr "Na primer:"
320
+
321
+ # @ yarpp
322
+ #: options-meta-boxes.php:209 options-meta-boxes.php:272
323
+ msgid "Before / after each related entry:"
324
+ msgstr "Pred/Posle sekoe povrzano vnesuvanje:"
325
+
326
+ # @ yarpp
327
+ #: options-meta-boxes.php:211 options-meta-boxes.php:274
328
+ msgid "Show excerpt?"
329
+ msgstr "Prikazi go izvodot?"
330
+
331
+ # @ yarpp
332
+ #: options-meta-boxes.php:212 options-meta-boxes.php:275
333
+ msgid "Excerpt length (No. of words):"
334
+ msgstr "Dolzina na izvodot (borj na zborovi):"
335
+
336
+ # @ yarpp
337
+ #: options-meta-boxes.php:216
338
+ msgid "Before / after (Excerpt):"
339
+ msgstr "Pred/Posle (Izvod):"
340
+
341
+ # @ yarpp
342
+ #: options-meta-boxes.php:68
343
+ msgid "Order results:"
344
+ msgstr "Poredi gi rezultatite:"
345
+
346
+ # @ yarpp
347
+ #: options-meta-boxes.php:71
348
+ msgid "score (high relevance to low)"
349
+ msgstr "rezultat (od visoka naprema niska vaznost)"
350
+
351
+ # @ yarpp
352
+ #: options-meta-boxes.php:72
353
+ msgid "score (low relevance to high)"
354
+ msgstr "rezultat (od niska naprema visoka vaznost)"
355
+
356
+ # @ yarpp
357
+ #: options-meta-boxes.php:73
358
+ msgid "date (new to old)"
359
+ msgstr "data (od novo naprema staro)"
360
+
361
+ # @ yarpp
362
+ #: options-meta-boxes.php:74
363
+ msgid "date (old to new)"
364
+ msgstr "data (stao naprema novo)"
365
+
366
+ # @ yarpp
367
+ #: options-meta-boxes.php:75
368
+ msgid "title (alphabetical)"
369
+ msgstr "naslov (alfabetski)"
370
+
371
+ # @ yarpp
372
+ #: options-meta-boxes.php:76
373
+ msgid "title (reverse alphabetical)"
374
+ msgstr "naslov (obratno alfabetski)"
375
+
376
+ # @ yarpp
377
+ #: options-meta-boxes.php:224 options-meta-boxes.php:281
378
+ msgid "Default display if no results:"
379
+ msgstr "Podrazbirano prikazuvanje dokolku nema rezultati:"
380
+
381
+ # @ yarpp
382
+ #: class-widget.php:98 options-meta-boxes.php:227 options-meta-boxes.php:283
383
+ msgid "Help promote Yet Another Related Posts Plugin?"
384
+ msgstr "Pomogni vo promocija na Yet Another Related Posts Plugin?"
385
+
386
+ # @ yarpp
387
+ #: options-meta-boxes.php:229 options-meta-boxes.php:284
388
+ #, php-format
389
+ msgid ""
390
+ "This option will add the code %s. Try turning it on, updating your options, "
391
+ "and see the code in the code example to the right. These links and donations "
392
+ "are greatly appreciated."
393
+ msgstr ""
394
+ "Ovaa opcija ke go dodate kodot %s. Probajte da ja ukljucite taka sto ke gi "
395
+ "azurirate vasite opcii, i poglednete go kodot vo primerok na kodot na desna "
396
+ "strana. Ovie linkovi i donacii se mnogu ceneti. "
397
+
398
+ # @ yarpp
399
+ #: options-meta-boxes.php:291
400
+ msgid "Display options <small>for RSS</small>"
401
+ msgstr "Prikazi opcii za <small>za RSS</small>"
402
+
403
+ # @ yarpp
404
+ #: options-meta-boxes.php:245
405
+ msgid "Display related posts in feeds?"
406
+ msgstr "Prikazi g povrzanite postovi vo novostite?"
407
+
408
+ # @ yarpp
409
+ #: options-meta-boxes.php:245
410
+ msgid ""
411
+ "This option displays related posts at the end of each item in your RSS and "
412
+ "Atom feeds. No template changes are needed."
413
+ msgstr ""
414
+ "Ovaa opcija gi prikazuva povrzanite postovi na kraj na sekoja stavka vo "
415
+ "vasite RSS i Atom novosti (kolumni). Ne se potrebni nikakvi izmeni na "
416
+ "definicii. "
417
+
418
+ # @ yarpp
419
+ #: options-meta-boxes.php:247
420
+ msgid "Display related posts in the descriptions?"
421
+ msgstr "Prikazi gi povrzanite postovi vo opisite?"
422
+
423
+ # @ yarpp
424
+ #: options-meta-boxes.php:247
425
+ msgid ""
426
+ "This option displays the related posts in the RSS description fields, not "
427
+ "just the content. If your feeds are set up to only display excerpts, "
428
+ "however, only the description field is used, so this option is required for "
429
+ "any display at all."
430
+ msgstr ""
431
+ "Ovaa opcija gi prikazuva povrzanite postovi vo RSS polinjata za deskripcija, "
432
+ "ne samo vo sodrzajot. Dokolku vasite polinja se podeseni da prikazuvaat "
433
+ "izvodi, vrpocem, samo poleto za opis (deskripcija) se koristi, taka ovaa "
434
+ "opcija e potrebna za bilo koe prikazuvanje."
435
+
436
+ # @ yarpp
437
+ #: options-meta-boxes.php:245
438
+ msgid "RSS display code example"
439
+ msgstr "Primer na RSS prikazuvanje na kodot"
440
+
441
+ # @ yarpp
442
+ #: options-meta-boxes.php:277
443
+ msgid "Before / after (excerpt):"
444
+ msgstr "Pred/Posle (izvod)"
445
+
446
+ # @ yarpp
447
+ #: template-builtin.php:21
448
+ #, php-format
449
+ msgid ""
450
+ "%f is the YARPP match score between the current entry and this related "
451
+ "entry. You are seeing this value because you are logged in to WordPress as "
452
+ "an administrator. It is not shown to regular visitors."
453
+ msgstr ""
454
+ "%f e YARPP rezultat na podudaranje pomegu momentalniot vnes i ovoj povrzan "
455
+ "vnes. Ja gledate ovaa vrednost zatoa sto ste logirani na WordPress kako "
456
+ "administrator. Ne e prikazana na regularni posetiteli."
457
+
458
+ # @ yarpp
459
+ #: template-metabox.php:12
460
+ msgid ""
461
+ "These are the related entries for this entry. Updating this post may change "
462
+ "these related posts."
463
+ msgstr ""
464
+ "Ova se povrzanite vnesuvanja so ova vnesuvanje. Azuriranje na ovoj post moze "
465
+ "da gi izmeni ovie povrzani postovi. "
466
+
467
+ # @ yarpp
468
+ #: template-metabox.php:28
469
+ msgid ""
470
+ "Whether all of these related entries are actually displayed and how they are "
471
+ "displayed depends on your YARPP display options."
472
+ msgstr ""
473
+ "Da li ovie povrzani postovi ke bidat prikazani i kako ke bidat prikazani "
474
+ "zavisi od vasite YARPP opcii za prikazuvanje."
475
+
476
+ # @ yarpp
477
+ #: class-core.php:73 class-core.php:83 class-core.php:273 class-core.php:284
478
+ #: template-metabox.php:30 template-widget.php:13
479
+ msgid "No related posts."
480
+ msgstr "Nema povrzani postovi."
481
+
482
+ # @ yarpp
483
+ #: class-core.php:71 class-core.php:81 class-core.php:271 class-core.php:282
484
+ msgid "Related posts:"
485
+ msgstr "Povrzani postovi:"
486
+
487
+ # @ yarpp
488
+ #: options-meta-boxes.php:208 options-meta-boxes.php:209
489
+ #: options-meta-boxes.php:217 options-meta-boxes.php:271
490
+ #: options-meta-boxes.php:272 options-meta-boxes.php:277
491
+ msgid " or "
492
+ msgstr "ili"
493
+
494
+ # @ default
495
+ #: class-admin.php:136
496
+ msgid "Settings"
497
+ msgstr "Podesuvanja"
498
+
499
+ # @ default
500
+ #: class-widget.php:69
501
+ msgid "Title:"
502
+ msgstr "Naslov:"
503
+
504
+ # @ yarpp
505
+ #: class-admin.php:162
506
+ msgid "Related entries may be displayed once you save your entry"
507
+ msgstr ""
508
+ "Povrzani postovi moze da bidat prikazani koga ke go socivate svoeto "
509
+ "vnesuvanje."
510
+
511
+ # @ yarpp
512
+ #: options-meta-boxes.php:153
513
+ msgid ""
514
+ "YARPP limits the related posts list by (1) a maximum number and (2) a "
515
+ "<em>match threshold</em>."
516
+ msgstr ""
517
+ "YARPP ja ogranicuva listata na povrzani postovi so (1) maksimum broj i (2) "
518
+ "na <em>podudarna vrednost</em>."
519
+
520
+ # @ yarpp
521
+ #: options-meta-boxes.php:298
522
+ msgid "YARPP Forum"
523
+ msgstr "YARPP Forum"
524
+
525
+ # @ yarpp
526
+ #: options-meta-boxes.php:299
527
+ msgid "YARPP on Twitter"
528
+ msgstr "YARPP na Twitter"
529
+
530
+ # @ yarpp
531
+ #: options-meta-boxes.php:300
532
+ msgid "YARPP on the Web"
533
+ msgstr "YARPP na Web"
534
+
535
+ # @ yarpp
536
+ #: options-meta-boxes.php:337
537
+ msgid "Contact YARPP"
538
+ msgstr "YARPP kontakt"
539
+
540
+ # @ default
541
+ #: options.php:34
542
+ #, php-format
543
+ msgid ""
544
+ "There is a new version of %1$s available. <a href=\"%2$s\" class=\"thickbox"
545
+ "\" title=\"%3$s\">View version %4$s details</a> or <a href=\"%5$s\">update "
546
+ "automatically</a>."
547
+ msgstr ""
548
+ "Postoi nova verzija na %1$s. <a href=\"%2$s\" class=\"thickbox\" title=\"%3$s"
549
+ "\">View version %4$s details</a> ili <a href=\"%5$s\">update automatically</"
550
+ "a>."
551
+
552
+ # @ yarpp
553
+ #: options.php:79
554
+ #, php-format
555
+ msgid "Please try <a href=\"%s\" target=\"_blank\">manual SQL setup</a>."
556
+ msgstr "Molam probajte <a href=\"%s\" target=\"_blank\">manual SQL setup</a>."
557
+
558
+ # @ yarpp
559
+ #: options.php:149
560
+ #, php-format
561
+ msgid "by <a href=\"%s\" target=\"_blank\">mitcho (Michael 芳貴 Erlewine)</a>"
562
+ msgstr "od <a href=\"%s\" target=\"_blank\">mitcho (Michael 芳貴 Erlewine)</a>"
563
+
564
+ # @ default
565
+ #: class-admin.php:63
566
+ msgid "Configure"
567
+ msgstr "Konfiguriraj"
568
+
569
+ # @ yarpp
570
+ #: class-admin.php:89
571
+ msgid "Thank you for installing <span>Yet Another Related Posts Plugin</span>!"
572
+ msgstr "Fala za instaliranje na <span>Yet Another Related Posts Plugin</span>!"
573
+
574
+ # @ yarpp
575
+ #: class-admin.php:90
576
+ msgid ""
577
+ "Make sure to visit the <a>Related Posts settings page</a> to customize YARPP."
578
+ msgstr ""
579
+ "Posetete <a>Povrzani Postovi stranica za podesuvanja</a> za da go podesite "
580
+ "YARPP."
581
+
582
+ # @ yarpp
583
+ #: options-meta-boxes.php:113
584
+ msgid "Post types considered:"
585
+ msgstr "Vrsti na postovi zemeni vo obzir:"
586
+
587
+ # @ yarpp
588
+ #: options-meta-boxes.php:116
589
+ #, php-format
590
+ msgid "Disallow by %s:"
591
+ msgstr "Onevozmozi za %s:"
592
+
593
+ # @ yarpp
594
+ #: options-meta-boxes.php:169
595
+ msgid "Display results from all post types"
596
+ msgstr "Prikazi gi rezultati za site tipovi na postovi "
597
+
598
+ # @ yarpp
599
+ #: options-meta-boxes.php:169
600
+ msgid ""
601
+ "When \"display results from all post types\" is off, only posts will be "
602
+ "displayed as related to a post, only pages will be displayed as related to a "
603
+ "page, etc."
604
+ msgstr ""
605
+ "Koga \"prikazi gi rezultati za site tipovi na postovi\" e isklucena, samo "
606
+ "postovi ke bidat prkazani povrzani so post, samo stranici ke bidat prikazani "
607
+ "povrzani so stranica, itd. "
608
+
609
+ # @ yarpp
610
+ #: options-meta-boxes.php:301
611
+ msgid "Rate YARPP on WordPress.org"
612
+ msgstr "Oceni go YARPP na WordPress.org"
613
+
614
+ # @ default
615
+ #: options.php:178
616
+ msgid "Save Changes"
617
+ msgstr "Socuvaj gi izmenite"
lang/yarpp-nb_NO.po CHANGED
@@ -186,12 +186,6 @@ msgstr "vurder med ekstra vekt"
186
msgid "Yet Another Related Posts Plugin Options"
187
msgstr "Yet Another Related Posts Plugin innstillinger"
188
189
- #: options-meta-boxes.php:286
190
- #@ default
191
- #@ yarpp
192
- msgid "Donate to mitcho (Michael Yoshitaka Erlewine) for this plugin via PayPal"
193
- msgstr "Donèr til mitcho (Michael Yoshitaka Erlewine) for denne utvidelsen via PayPal"
194
-
195
#: options-meta-boxes.php:118
196
#@ yarpp
197
msgid "\"The Pool\""
186
msgid "Yet Another Related Posts Plugin Options"
187
msgstr "Yet Another Related Posts Plugin innstillinger"
188
189
#: options-meta-boxes.php:118
190
#@ yarpp
191
msgid "\"The Pool\""
lang/yarpp-nl_NL.po CHANGED
@@ -123,12 +123,6 @@ msgstr "overweeg met extra gewicht"
123
msgid "Yet Another Related Posts Plugin Options"
124
msgstr "Yet Another Related Posts Plugin opties"
125
126
- #: options-meta-boxes.php:302
127
- #@ default
128
- #@ yarpp
129
- msgid "Donate to mitcho (Michael Yoshitaka Erlewine) for this plugin via PayPal"
130
- msgstr "Doneer mitcho (Michael Yoshitaka Erlewine) voor deze plugin via PayPal"
131
-
132
#: options-meta-boxes.php:147
133
#@ yarpp
134
msgid "\"The Pool\""
123
msgid "Yet Another Related Posts Plugin Options"
124
msgstr "Yet Another Related Posts Plugin opties"
125
126
#: options-meta-boxes.php:147
127
#@ yarpp
128
msgid "\"The Pool\""
lang/yarpp-pl_PL.po CHANGED
@@ -573,15 +573,6 @@ msgstr "YARPP w Sieci"
573
msgid "Review YARPP on WordPress.org"
574
msgstr "Oceń YARPP na WordPress.org"
575
576
- # @ default
577
- # @ yarpp
578
- #: ../options-meta-boxes.php:372
579
- msgid ""
580
- "Donate to mitcho (Michael Yoshitaka Erlewine) for this plugin via PayPal"
581
- msgstr ""
582
- "Przekaż darowiznę mitcho (Michael Yoshitaka Erlewine) - autorowi plugina - "
583
- "za pomocą PayPal"
584
-
585
#: ../options-meta-boxes.php:405
586
msgid "Help Improve YARPP"
587
msgstr "Pomóż ulepszać YARPP"
573
msgid "Review YARPP on WordPress.org"
574
msgstr "Oceń YARPP na WordPress.org"
575
576
#: ../options-meta-boxes.php:405
577
msgid "Help Improve YARPP"
578
msgstr "Pomóż ulepszać YARPP"
lang/yarpp-pt_BR.po CHANGED
@@ -136,12 +136,6 @@ msgstr "requerer mais de uma %s em comum"
136
msgid "consider with extra weight"
137
msgstr "considerar com peso extra"
138
139
- #: options-meta-boxes.php:286
140
- #@ default
141
- #@ yarpp
142
- msgid "Donate to mitcho (Michael Yoshitaka Erlewine) for this plugin via PayPal"
143
- msgstr "Doar ao mitcho (Michael Yoshitaka Erlewine) via PayPal para este plugin"
144
-
145
#: options.php:178
146
#@ yarpp
147
msgid "Yet Another Related Posts Plugin Options"
136
msgid "consider with extra weight"
137
msgstr "considerar com peso extra"
138
139
#: options.php:178
140
#@ yarpp
141
msgid "Yet Another Related Posts Plugin Options"
lang/yarpp-pt_PT.po CHANGED
@@ -102,12 +102,6 @@ msgstr "ter em conta"
102
msgid "consider with extra weight"
103
msgstr "ter especialmente em conta"
104
105
- #: options-meta-boxes.php:286
106
- #@ default
107
- #@ yarpp
108
- msgid "Donate to mitcho (Michael Yoshitaka Erlewine) for this plugin via PayPal"
109
- msgstr "Fazer uma doação via PayPal a mitcho (Michael Yoshitaka Erlewine) pelo desenvolvimento do plugin"
110
-
111
#: options.php:178
112
#@ yarpp
113
msgid "Yet Another Related Posts Plugin Options"
102
msgid "consider with extra weight"
103
msgstr "ter especialmente em conta"
104
105
#: options.php:178
106
#@ yarpp
107
msgid "Yet Another Related Posts Plugin Options"
lang/yarpp-ro_RO.po CHANGED
@@ -101,12 +101,6 @@ msgstr "a lua în considerare"
101
msgid "consider with extra weight"
102
msgstr " a lua în considerare cu greutate suplimentară "
103
104
- #@ default
105
- #@ yarpp
106
- #: options-meta-boxes.php:286
107
- msgid "Donate to mitcho (Michael Yoshitaka Erlewine) for this plugin via PayPal"
108
- msgstr "A dona producătorului mitcho (Michael Yoshitaka Erlewine), prin PayPal"
109
-
110
#@ yarpp
111
#: options.php:178
112
msgid "Yet Another Related Posts Plugin Options"
101
msgid "consider with extra weight"
102
msgstr " a lua în considerare cu greutate suplimentară "
103
104
#@ yarpp
105
#: options.php:178
106
msgid "Yet Another Related Posts Plugin Options"
lang/yarpp-ru_RU.po CHANGED
@@ -102,12 +102,6 @@ msgstr "рассматривать"
102
msgid "consider with extra weight"
103
msgstr "рассматривать с дополнительным весом"
104
105
- #: options-meta-boxes.php:286
106
- #@ default
107
- #@ yarpp
108
- msgid "Donate to mitcho (Michael Yoshitaka Erlewine) for this plugin via PayPal"
109
- msgstr "Пожертвовать разработчику mitcho (Michael Yoshitaka Erlewine), через PayPal"
110
-
111
#: options.php:178
112
#@ yarpp
113
msgid "Yet Another Related Posts Plugin Options"
102
msgid "consider with extra weight"
103
msgstr "рассматривать с дополнительным весом"
104
105
#: options.php:178
106
#@ yarpp
107
msgid "Yet Another Related Posts Plugin Options"
lang/yarpp-sk_SK.po CHANGED
@@ -437,12 +437,6 @@ msgstr "YARPP na Webe"
437
msgid "Rate YARPP on WordPress.org"
438
msgstr "Ohodnoťte plugin YARPP na stránke WordPress.org"
439
440
- #: options-meta-boxes.php:275
441
- #@ default
442
- #@ yarpp
443
- msgid "Donate to mitcho (Michael Yoshitaka Erlewine) for this plugin via PayPal"
444
- msgstr "Poslať finančný prispevok autorovi pluginu - mitchovi (Michael Yoshitaka Erlewine) cez PayPal."
445
-
446
#: options-meta-boxes.php:310
447
#@ yarpp
448
msgid "Contact YARPP"
437
msgid "Rate YARPP on WordPress.org"
438
msgstr "Ohodnoťte plugin YARPP na stránke WordPress.org"
439
440
#: options-meta-boxes.php:310
441
#@ yarpp
442
msgid "Contact YARPP"
lang/yarpp-sl_SI.po CHANGED
@@ -547,11 +547,6 @@ msgstr "YARPP na spletu"
547
msgid "Review YARPP on WordPress.org"
548
msgstr "Oceni YARPP na WordPress.org"
549
550
- #: options-meta-boxes.php:372
551
- #@ default
552
- #@ yarpp
553
- msgid "Donate to mitcho (Michael Yoshitaka Erlewine) for this plugin via PayPal"
554
- msgstr "Doniraj mitcho-tu (Michael Yoshitaka Erlewine) za ta plugin preko PayPal-a"
555
556
#: options-meta-boxes.php:405
557
#@ yarpp
547
msgid "Review YARPP on WordPress.org"
548
msgstr "Oceni YARPP na WordPress.org"
549
550
551
#: options-meta-boxes.php:405
552
#@ yarpp
lang/yarpp-sr_RS.po CHANGED
@@ -436,12 +436,6 @@ msgstr "YARPP na netu"
436
msgid "Rate YARPP on WordPress.org"
437
msgstr "Ocenite YARPP na WordPress.org"
438
439
- #: options-meta-boxes.php:302
440
- #@ default
441
- #@ yarpp
442
- msgid "Donate to mitcho (Michael Yoshitaka Erlewine) for this plugin via PayPal"
443
- msgstr "Donirajte mitcho-u (Michael Yoshitaka Erlewine) za ovaj plugin putem PayPal-a"
444
-
445
#: options-meta-boxes.php:337
446
#@ yarpp
447
msgid "Contact YARPP"
436
msgid "Rate YARPP on WordPress.org"
437
msgstr "Ocenite YARPP na WordPress.org"
438
439
#: options-meta-boxes.php:337
440
#@ yarpp
441
msgid "Contact YARPP"
lang/yarpp-sv_SE.po CHANGED
@@ -431,12 +431,6 @@ msgstr "YARPP på www"
431
msgid "Rate YARPP on WordPress.org"
432
msgstr "Betygsätt YARPP på WordPress.org"
433
434
- # @ default
435
- # @ yarpp
436
- #: options-meta-boxes.php:301
437
- msgid "Donate to mitcho (Michael Yoshitaka Erlewine) for this plugin via PayPal"
438
- msgstr "Skänk pengar till mitcho (Michael Yoshitaka Erlewine) som tack för utvecklingen av detta tillägg via PayPal"
439
-
440
# @ yarpp
441
#: options-meta-boxes.php:336
442
msgid "Contact YARPP"
431
msgid "Rate YARPP on WordPress.org"
432
msgstr "Betygsätt YARPP på WordPress.org"
433
434
# @ yarpp
435
#: options-meta-boxes.php:336
436
msgid "Contact YARPP"
lang/yarpp-tr_TR.po CHANGED
@@ -159,12 +159,6 @@ msgstr "daha çok göz önünde bulundur"
159
msgid "Yet Another Related Posts Plugin Options"
160
msgstr "Yet Another Related Posts Ayarları"
161
162
- #@ default
163
- #@ yarpp
164
- #: options-meta-boxes.php:286
165
- msgid "Donate to mitcho (Michael Yoshitaka Erlewine) for this plugin via PayPal"
166
- msgstr "Bu eklentinin yazarına (Michael Yoshitaka Erlewine) PayPal ile bağış yap"
167
-
168
#@ yarpp
169
#: options-meta-boxes.php:118
170
msgid "\"The Pool\""
159
msgid "Yet Another Related Posts Plugin Options"
160
msgstr "Yet Another Related Posts Ayarları"
161
162
#@ yarpp
163
#: options-meta-boxes.php:118
164
msgid "\"The Pool\""
lang/yarpp-uk_UA.po CHANGED
@@ -102,12 +102,6 @@ msgstr "розглядати"
102
msgid "consider with extra weight"
103
msgstr "розглядати з додатковою вагою"
104
105
- #: options-meta-boxes.php:286
106
- #@ default
107
- #@ yarpp
108
- msgid "Donate to mitcho (Michael Yoshitaka Erlewine) for this plugin via PayPal"
109
- msgstr "Пожертвувати розробникові mitcho (Michael Yoshitaka Erlewine), через PayPal"
110
-
111
#: options.php:178
112
#@ yarpp
113
msgid "Yet Another Related Posts Plugin Options"
102
msgid "consider with extra weight"
103
msgstr "розглядати з додатковою вагою"
104
105
#: options.php:178
106
#@ yarpp
107
msgid "Yet Another Related Posts Plugin Options"
lang/yarpp-uz_UZ.po CHANGED
@@ -102,12 +102,6 @@ msgstr "hisobga olinsin"
102
msgid "consider with extra weight"
103
msgstr "qo'shimchalar bilan hisobga olmoq"
104
105
- #: options-meta-boxes.php:286
106
- #@ default
107
- #@ yarpp
108
- msgid "Donate to mitcho (Michael Yoshitaka Erlewine) for this plugin via PayPal"
109
- msgstr "Plagin uchun mitcho (Michael Yoshitaka Erlewine)ga PayPal orqali pul hadya qilmoq"
110
-
111
#: options.php:178
112
#@ yarpp
113
msgid "Yet Another Related Posts Plugin Options"
102
msgid "consider with extra weight"
103
msgstr "qo'shimchalar bilan hisobga olmoq"
104
105
#: options.php:178
106
#@ yarpp
107
msgid "Yet Another Related Posts Plugin Options"
lang/yarpp-vi_VN.po CHANGED
@@ -155,12 +155,6 @@ msgstr "xem xét với mức độ quan trọng đặc biệt"
155
msgid "Yet Another Related Posts Plugin Options"
156
msgstr " Tùy chọn của Yet Another Related Posts Plugin"
157
158
- #: options-meta-boxes.php:286
159
- #@ default
160
- #@ yarpp
161
- msgid "Donate to mitcho (Michael Yoshitaka Erlewine) for this plugin via PayPal"
162
- msgstr "Tài trợ cho mitcho (Michael Yoshitaka Erlewine) qua PayPal cho việc phát triển plugin này "
163
-
164
#: options-meta-boxes.php:118
165
#@ yarpp
166
msgid "\"The Pool\""
155
msgid "Yet Another Related Posts Plugin Options"
156
msgstr " Tùy chọn của Yet Another Related Posts Plugin"
157
158
#: options-meta-boxes.php:118
159
#@ yarpp
160
msgid "\"The Pool\""
lang/yarpp-zh_CN.po CHANGED
@@ -102,12 +102,6 @@ msgstr "参考"
102
msgid "consider with extra weight"
103
msgstr "作为主要参考指标"
104
105
- #: options-meta-boxes.php:286
106
- #@ default
107
- #@ yarpp
108
- msgid "Donate to mitcho (Michael Yoshitaka Erlewine) for this plugin via PayPal"
109
- msgstr "通过 PayPal 给插件作者 mitcho (Michael Yoshitaka Erlewine) 捐赠"
110
-
111
#: options.php:178
112
#@ yarpp
113
msgid "Yet Another Related Posts Plugin Options"
102
msgid "consider with extra weight"
103
msgstr "作为主要参考指标"
104
105
#: options.php:178
106
#@ yarpp
107
msgid "Yet Another Related Posts Plugin Options"
lang/yarpp-zh_TW.po CHANGED
@@ -452,12 +452,6 @@ msgstr "YARPP 官方網站"
452
msgid "Rate YARPP on WordPress.org"
453
msgstr "在 WordPress.org 給 YARPP 評分"
454
455
- #: options-meta-boxes.php:303
456
- #@ default
457
- #@ yarpp
458
- msgid "Donate to mitcho (Michael Yoshitaka Erlewine) for this plugin via PayPal"
459
- msgstr "以 Paypal 捐款給本外掛作者 mitcho (Michael Yoshitaka Erlewine)"
460
-
461
#: options-meta-boxes.php:337
462
#@ yarpp
463
msgid "Contact YARPP"
452
msgid "Rate YARPP on WordPress.org"
453
msgstr "在 WordPress.org 給 YARPP 評分"
454
455
#: options-meta-boxes.php:337
456
#@ yarpp
457
msgid "Contact YARPP"
options-meta-boxes.php CHANGED
@@ -357,52 +357,57 @@ class YARPP_Meta_Box_Display_Feed extends YARPP_Meta_Box {
357
}
358
}
359
360
- add_meta_box( 'yarpp_display_rss', __( 'Display options <small>for RSS</small>', 'yarpp' ), array( new YARPP_Meta_Box_Display_Feed, 'display' ), 'settings_page_yarpp', 'normal', 'core' );
361
362
class YARPP_Meta_Box_Contact extends YARPP_Meta_Box {
363
function display() {
364
global $yarpp;
365
- $pluginurl = plugin_dir_url( __FILE__ );
366
- ?>
367
- <ul class='yarpp_contacts'>
368
- <li><a href="http://wordpress.org/support/plugin/yet-another-related-posts-plugin" target="_blank"><span class='icon icon-wordpress'></span> <?php _e( 'YARPP Forum', 'yarpp' ); ?></a></li>
369
- <li><a href="http://twitter.com/yarpp" target="_blank"><span class='icon icon-twitter'></span> <?php _e( 'YARPP on Twitter', 'yarpp' ); ?></a></li>
370
- <li><a href="http://yarpp.org" target="_blank"><span class='icon icon-plugin'></span> <?php _e( 'YARPP on the Web', 'yarpp' ); ?></a></li>
371
- <li><a href="http://wordpress.org/support/view/plugin-reviews/yet-another-related-posts-plugin" target="_blank"><span class='icon icon-star <?php if ( $yarpp->diagnostic_happy() ) echo 'spin'; ?>'></span> <?php _e( 'Review YARPP on WordPress.org', 'yarpp' ); ?></a></li>
372
- <li><a href='http://tinyurl.com/donatetomitcho' target='_new'><span class='icon icon-paypal'></span> <img src="https://www.paypal.com/<?php echo $this->paypal_lang(); ?>i/btn/btn_donate_SM.gif" name="submit" alt="<?php _e( 'Donate to mitcho (Michael Yoshitaka Erlewine) for this plugin via PayPal' ); ?>" title="<?php _e( 'Donate to mitcho (Michael Yoshitaka Erlewine) for this plugin via PayPal', 'yarpp' ); ?>"/></a></li>
373
- </ul>
374
- <?php
375
- }
376
-
377
- function paypal_lang() {
378
- if ( !defined( 'WPLANG' ) )
379
- return 'en_US/';
380
- switch ( substr( WPLANG, 0, 2 ) ) {
381
- case 'fr':
382
- return 'fr_FR/';
383
- case 'de':
384
- return 'de_DE/';
385
- case 'it':
386
- return 'it_IT/';
387
- case 'ja':
388
- return 'ja_JP/';
389
- case 'es':
390
- return 'es_XC/';
391
- case 'nl':
392
- return 'nl_NL/';
393
- case 'pl':
394
- return 'pl_PL/';
395
- case 'zh':
396
- if ( preg_match( "/^zh_(HK|TW)/i", WPLANG ) )
397
- return 'zh_HK/';
398
- // actually zh_CN, but interpret as default zh:
399
- return 'zh_XC/';
400
- default:
401
- return 'en_US/';
402
- }
403
- }
404
- }
405
- add_meta_box( 'yarpp_display_optin', __( 'Help Improve YARPP', 'yarpp' ), array( new YARPP_Meta_Box_Optin, 'display' ), 'settings_page_yarpp', 'side', 'core' );
406
407
// longest filter name ever
408
add_filter( "postbox_classes_settings_page_yarpp_yarpp_display_optin", 'yarpp_make_optin_classy' );
@@ -416,18 +421,26 @@ class YARPP_Meta_Box_Optin extends YARPP_Meta_Box {
416
function display() {
417
global $yarpp;
418
419
- // TODO: fix this text and i18nize it
420
- echo "<input type='checkbox' id='yarpp-optin' name='optin' value='true'";
421
- checked( yarpp_get_option( 'optin' ) == 1 );
422
- echo " /> ";
423
424
- echo '<label for="yarpp-optin">' . __( 'Send settings and usage data back to YARPP', 'yarpp' ) . '</label>';
425
426
- echo '<p style="overflow:auto;">';
427
- echo __( 'This is entirely optional, but will help improve future versions of YARPP.', 'yarpp' );
428
- echo ' <input type="button" value="' . esc_attr( __( 'Learn More', 'yarpp' ) ) . '" id="yarpp-optin-learnmore" class="button button-small"/></p>';
429
- }
430
- }
431
432
add_meta_box( 'yarpp_display_contact', __( 'Contact YARPP', 'yarpp' ), array( new YARPP_Meta_Box_Contact, 'display' ), 'settings_page_yarpp', 'side', 'core' );
433
357
}
358
}
359
360
+ add_meta_box('yarpp_display_rss', __('Display options <small>for RSS</small>', 'yarpp'), array( new YARPP_Meta_Box_Display_Feed, 'display'), 'settings_page_yarpp', 'normal', 'core');
361
362
class YARPP_Meta_Box_Contact extends YARPP_Meta_Box {
363
function display() {
364
global $yarpp;
365
+
366
+ /* TODO: Remove */
367
+ // $pluginurl = plugin_dir_url( __FILE__ );
368
+
369
+ $happy = ($yarpp->diagnostic_happy()) ? 'spin' : null;
370
+