Version Description
- Added optional YARPP Pro enhancements:
- Revenue-generating ad content interspersed with related posts display
- Detailed reports for Clicks, Click-Through Rate, and Revenue
- Ability to display related content from multiple domains
- UI settings for related content display, including thumbnail size and layout
- Refined "relatedness" algorithm is now independent of MyISAM or InnoDB engines
- "Relatedness" is calculated and stored externally, minimizing server load
- Based on user feedback, the "Screen Options" section displays all YARPP options panels by default.
Download this release
Release Info
Developer | jeffparker |
Plugin | Yet Another Related Posts Plugin (YARPP) |
Version | 4.1 |
Comparing to | |
See all releases |
Code changes from version 4.0.8 to 4.1
- class-admin.php +0 -570
- class-cache.php +0 -621
- class-core.php +0 -1427
- class-widget.php +0 -143
- classes/YARPP_Admin.php +616 -0
- classes/YARPP_Cache.php +487 -0
- classes/YARPP_Cache_Bypass.php +219 -0
- cache-postmeta.php → classes/YARPP_Cache_Postmeta.php +1 -7
- cache-tables.php → classes/YARPP_Cache_Tables.php +15 -19
- classes/YARPP_Core.php +1546 -0
- options-meta-boxes.php → classes/YARPP_Meta_Boxes.php +114 -88
- classes/YARPP_Widget.php +192 -0
- default.png +0 -0
- default_small.png +0 -0
- images/default.png +0 -0
- images/default_small.png +0 -0
- images/sprites-2x.png +0 -0
- images/sprites.png +0 -0
- images/template-buttons-2x.png +0 -0
- includes/init_functions.php +22 -0
- includes/optin_notice.js.php +23 -0
- includes/related_functions.php +111 -0
- styles-thumbnails.php → includes/styles-thumbnails.css.php +10 -17
- template-metabox.php → includes/template-metabox.php +0 -0
- template-widget.php → includes/template-widget.php +0 -0
- template-builtin.php → includes/template_builtin.php +0 -0
- template-functions.php → includes/template_functions.php +2 -1
- template-thumbnails.php → includes/template_thumbnails.php +0 -0
- includes/yarpp_options.php +315 -0
- includes/yarpp_pro_options.php +86 -0
- includes/yarpp_switch.php +34 -0
- js/{options.js → options_basic.js} +4 -4
- js/options_switch.js +17 -0
- lang/yarpp-ar_AR.po +131 -131
- lang/yarpp-ar_EG.po +131 -131
- lang/yarpp-bg_BG.po +131 -131
- lang/yarpp-by_BY.po +16 -16
- lang/yarpp-cs_CZ.po +14 -14
- lang/yarpp-de_DE.po +130 -130
- lang/yarpp-el_CY.po +151 -151
- lang/yarpp-el_EL.po +151 -151
- lang/yarpp-es_ES.po +130 -130
- lang/yarpp-est_EST.po +16 -16
- lang/yarpp-fa_IR.po +16 -16
- lang/yarpp-fr_FR.po +14 -14
- lang/yarpp-gb_IR.po +17 -17
- lang/yarpp-ge_KA.po +16 -16
- lang/yarpp-gu_IN.po +16 -16
- lang/yarpp-he_IL.po +14 -14
- lang/yarpp-hi_IN.po +16 -16
- lang/yarpp-hr.po +14 -14
- lang/yarpp-hu_HU.po +16 -16
- lang/yarpp-id_ID.po +16 -16
- lang/yarpp-it_IT.po +14 -14
- lang/yarpp-ja.po +14 -14
- lang/yarpp-kk_KZ.po +16 -16
- lang/yarpp-ko_KR.po +14 -14
- lang/yarpp-lt_LT.po +16 -16
- lang/yarpp-lv_LV.po +16 -16
- lang/yarpp-mk-MK.po +14 -14
- lang/yarpp-nb_NO.po +16 -16
- lang/yarpp-nl_NL.po +14 -14
- lang/yarpp-pt_BR.po +16 -16
- lang/yarpp-pt_PT.po +16 -16
- lang/yarpp-ro_RO.po +16 -16
- lang/yarpp-ru_RU.po +16 -16
- lang/yarpp-sk_SK.po +14 -14
- lang/yarpp-sl_SI.po +14 -14
- lang/yarpp-sr_RS.po +14 -14
- lang/yarpp-sv_SE.po +14 -14
- lang/yarpp-tr_TR.po +16 -16
- lang/yarpp-uk_UA.po +16 -16
- lang/yarpp-uz_UZ.po +16 -16
- lang/yarpp-vi_VN.po +16 -16
- lang/yarpp-zh_CN.po +16 -16
- lang/yarpp-zh_TW.po +14 -14
- options.php +0 -239
- readme.txt +48 -25
- related-functions.php +0 -100
- sprites-2x.png +0 -0
- sprites.png +0 -0
- options.css → style/options_basic.css +11 -5
- style/options_switch.css +90 -0
- uninstall.php +32 -22
- yarpp.php +48 -49
class-admin.php
DELETED
@@ -1,570 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
-
class YARPP_Admin {
|
4 |
-
public $core;
|
5 |
-
public $hook;
|
6 |
-
|
7 |
-
function __construct( &$core ) {
|
8 |
-
$this->core = &$core;
|
9 |
-
|
10 |
-
// if action=flush and the nonce is correct, reset the cache
|
11 |
-
if ( isset($_GET['action']) && $_GET['action'] == 'flush' &&
|
12 |
-
check_ajax_referer( 'yarpp_cache_flush', false, false ) !== false ) {
|
13 |
-
$this->core->cache->flush();
|
14 |
-
wp_redirect( admin_url( '/options-general.php?page=yarpp' ) );
|
15 |
-
exit;
|
16 |
-
}
|
17 |
-
|
18 |
-
// if action=copy_templates and the nonce is correct, copy templates
|
19 |
-
if ( isset($_GET['action']) && $_GET['action'] == 'copy_templates' &&
|
20 |
-
check_ajax_referer( 'yarpp_copy_templates', false, false ) !== false ) {
|
21 |
-
$this->copy_templates();
|
22 |
-
wp_redirect( admin_url( '/options-general.php?page=yarpp' ) );
|
23 |
-
exit;
|
24 |
-
}
|
25 |
-
|
26 |
-
add_action( 'admin_init', array( $this, 'ajax_register' ) );
|
27 |
-
add_action( 'admin_menu', array( $this, 'ui_register' ) );
|
28 |
-
add_filter( 'current_screen', array( $this, 'settings_screen' ) );
|
29 |
-
add_filter( 'screen_settings', array( $this, 'render_screen_settings' ), 10, 2 );
|
30 |
-
// new in 3.3: set default meta boxes to show:
|
31 |
-
add_filter( 'default_hidden_meta_boxes', array( $this, 'default_hidden_meta_boxes' ), 10, 2 );
|
32 |
-
}
|
33 |
-
|
34 |
-
public function get_templates() {
|
35 |
-
// @since 4.0.3 mv function to Core
|
36 |
-
return $this->core->get_templates();
|
37 |
-
}
|
38 |
-
|
39 |
-
function ajax_register() {
|
40 |
-
// Register AJAX services
|
41 |
-
if ( defined('DOING_AJAX') && DOING_AJAX ) {
|
42 |
-
add_action( 'wp_ajax_yarpp_display_exclude_terms', array( $this, 'ajax_display_exclude_terms' ) );
|
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 |
-
}
|
51 |
-
|
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' );
|
84 |
-
|
85 |
-
// setup admin
|
86 |
-
$this->hook = add_options_page(__('Related Posts (YARPP)','yarpp'),__('Related Posts (YARPP)','yarpp'), 'manage_options', 'yarpp', array( $this, 'options_page' ) );
|
87 |
-
|
88 |
-
// new in 3.0.12: add settings link to the plugins page
|
89 |
-
add_filter('plugin_action_links', array( $this, 'settings_link' ), 10, 2);
|
90 |
-
|
91 |
-
$metabox_post_types = $this->core->get_option( 'auto_display_post_types' );
|
92 |
-
if ( !in_array( 'post', $metabox_post_types ) )
|
93 |
-
$metabox_post_types[] = 'post';
|
94 |
-
|
95 |
-
// new in 3.0: add meta box
|
96 |
-
foreach ( $metabox_post_types as $post_type ) {
|
97 |
-
add_meta_box( 'yarpp_relatedposts', __( 'Related Posts' , 'yarpp') . ' <span class="postbox-title-action"><a href="' . esc_url( admin_url('options-general.php?page=yarpp') ) . '" class="edit-box open-box">' . __( 'Configure' ) . '</a></span>', array( $this, 'metabox' ), $post_type, 'normal' );
|
98 |
-
}
|
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 ) {
|
106 |
-
if ( $current_screen->id != 'settings_page_yarpp' )
|
107 |
-
return $current_screen;
|
108 |
-
|
109 |
-
// new in 3.3: load options page sections as metaboxes
|
110 |
-
require_once('options-meta-boxes.php');
|
111 |
-
|
112 |
-
// 3.5.5: check that add_help_tab method callable (WP >= 3.3)
|
113 |
-
if ( is_callable(array($current_screen, 'add_help_tab')) ) {
|
114 |
-
$current_screen->add_help_tab(array(
|
115 |
-
'id' => 'faq',
|
116 |
-
'title' => __('Frequently Asked Questions', 'yarpp'),
|
117 |
-
'callback' => array( &$this, 'help_faq' )
|
118 |
-
));
|
119 |
-
$current_screen->add_help_tab(array(
|
120 |
-
'id' => 'dev',
|
121 |
-
'title' => __('Developing with YARPP', 'yarpp'),
|
122 |
-
'callback' => array( &$this, 'help_dev' )
|
123 |
-
));
|
124 |
-
$current_screen->add_help_tab(array(
|
125 |
-
'id' => 'optin',
|
126 |
-
'title' => __('Optional Data Collection', 'yarpp'),
|
127 |
-
'callback' => array( &$this, 'help_optin' )
|
128 |
-
));
|
129 |
-
}
|
130 |
-
|
131 |
-
return $current_screen;
|
132 |
-
}
|
133 |
-
|
134 |
-
private $readme = null;
|
135 |
-
|
136 |
-
public function help_faq() {
|
137 |
-
if ( is_null($this->readme) )
|
138 |
-
$this->readme = file_get_contents( YARPP_DIR . '/readme.txt' );
|
139 |
-
|
140 |
-
$matches = array();
|
141 |
-
if ( preg_match('!== Frequently Asked Questions ==(.*?)^==!sm', $this->readme, $matches) )
|
142 |
-
echo $this->markdown( $matches[1] );
|
143 |
-
else
|
144 |
-
echo '<a href="https://wordpress.org/extend/plugins/yet-another-related-posts-plugin/faq/">' . __(
|
145 |
-
'Frequently Asked Questions', 'yarpp') . '</a>';
|
146 |
-
}
|
147 |
-
|
148 |
-
public function help_dev() {
|
149 |
-
if ( is_null($this->readme) )
|
150 |
-
$this->readme = file_get_contents( YARPP_DIR . '/readme.txt' );
|
151 |
-
|
152 |
-
$matches = array();
|
153 |
-
if ( preg_match('!== Developing with YARPP ==(.*?)^==!sm', $this->readme, $matches) )
|
154 |
-
echo $this->markdown( $matches[1] );
|
155 |
-
else
|
156 |
-
echo '<a href="https://wordpress.org/extend/plugins/yet-another-related-posts-plugin/other_notes/">' . __(
|
157 |
-
'Developing with YARPP', 'yarpp') . '</a>';
|
158 |
-
}
|
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>'.'. '.
|
166 |
-
'</p>'.
|
167 |
-
'<p>'.
|
168 |
-
'We would really appreciate your input to help us continue to improve the product. We are primarily looking '.
|
169 |
-
'for country, domain, and date installed information.'.
|
170 |
-
'</p>'.
|
171 |
-
'<p>'.
|
172 |
-
__("This information will be used to improve YARPP in the future and help decide future development
|
173 |
-
decisions for YARPP.",
|
174 |
-
'yarpp'
|
175 |
-
).' '.
|
176 |
-
'</p>'.
|
177 |
-
'<p>'.
|
178 |
-
'<strong>'.
|
179 |
-
__("Contributing this data will help make YARPP better for you and for other YARPP users.",
|
180 |
-
'yarpp' ).'</strong>'.
|
181 |
-
'</p>'
|
182 |
-
);
|
183 |
-
|
184 |
-
if(!$this->core->get_option('optin')) {
|
185 |
-
echo '<p>';
|
186 |
-
$this->print_optin_button('Enable');
|
187 |
-
$this->optin_button_script('enable');
|
188 |
-
echo '</p>';
|
189 |
-
}
|
190 |
-
|
191 |
-
echo(
|
192 |
-
'<p>'.
|
193 |
-
__("The following information is sent back to YARPP:", 'yarpp').
|
194 |
-
'</p>'.
|
195 |
-
'<div id="optin_data_frame"></div>'.
|
196 |
-
'<p>'.
|
197 |
-
__("In addition, YARPP also loads an invisible pixel image with your YARPP results to know how often YARPP is being used.", 'yarpp').
|
198 |
-
'</p>'
|
199 |
-
);
|
200 |
-
}
|
201 |
-
|
202 |
-
function print_optin_button($action = 'Disable') {
|
203 |
-
echo $this->the_optin_button($action);
|
204 |
-
}
|
205 |
-
|
206 |
-
function the_optin_button($action = 'Disable') {
|
207 |
-
$out = '<a id="yarpp-optin-button" class="button">'.
|
208 |
-
__($action.' sending usage data back to YARPP', 'yarpp').
|
209 |
-
'</a>'.
|
210 |
-
'<span class="yarpp-thankyou" style="display:none; margin-right: 10px;">'.
|
211 |
-
'<strong>'.__('Thank you!', 'yarpp').'</strong>'.
|
212 |
-
'</span>';
|
213 |
-
return $out;
|
214 |
-
}
|
215 |
-
|
216 |
-
function optin_button_script($action = 'disable') {
|
217 |
-
wp_nonce_field('yarpp_optin_'.$action, 'yarpp_optin-nonce', false);
|
218 |
-
|
219 |
-
echo(
|
220 |
-
"<script type='text/javascript'>
|
221 |
-
jQuery(function($){
|
222 |
-
$(document.body).on('click', '#yarpp-optin-button', function(){
|
223 |
-
$(this).hide().siblings('.yarpp-thankyou').show('slow');
|
224 |
-
$('#yarpp-optin').attr('checked', true);
|
225 |
-
$.ajax({
|
226 |
-
type:'POST',
|
227 |
-
url : ajaxurl,
|
228 |
-
data: {
|
229 |
-
action: 'yarpp_optin_".$action."',
|
230 |
-
'_ajax_nonce': $('#yarpp_optin-nonce').val()
|
231 |
-
}
|
232 |
-
});
|
233 |
-
});
|
234 |
-
});
|
235 |
-
</script>\n"
|
236 |
-
);
|
237 |
-
}
|
238 |
-
|
239 |
-
function upgrade_notice() {
|
240 |
-
$this->optin_notice('upgrade');
|
241 |
-
}
|
242 |
-
|
243 |
-
function install_notice_enable() {
|
244 |
-
$this->optin_notice('install','Enable');
|
245 |
-
}
|
246 |
-
|
247 |
-
function install_notice_disable() {
|
248 |
-
$this->optin_notice('install');
|
249 |
-
}
|
250 |
-
|
251 |
-
function optin_notice($type = false, $action = 'Disable') {
|
252 |
-
$screen = get_current_screen();
|
253 |
-
if(is_null($screen) || $screen->id == 'settings_page_yarpp') return;
|
254 |
-
|
255 |
-
switch($type) {
|
256 |
-
case 'upgrade':
|
257 |
-
delete_option('yarpp_upgraded');
|
258 |
-
break;
|
259 |
-
case 'install':
|
260 |
-
break;
|
261 |
-
default:
|
262 |
-
$user = get_current_user_id();
|
263 |
-
update_user_option($user, 'yarpp_saw_optin', true);
|
264 |
-
}
|
265 |
-
|
266 |
-
echo '<div class="updated fade"><p>';
|
267 |
-
|
268 |
-
if($type === 'upgrade'){
|
269 |
-
echo '<strong>'.sprintf(__('%1$s updated successfully.'), 'Yet Another Related Posts Plugin' ).'</strong>';
|
270 |
-
}
|
271 |
-
|
272 |
-
if ( $type == 'install' ){
|
273 |
-
/* TODO: Why translate YARPP and use str_replace. Performance??? --Eli */
|
274 |
-
echo(
|
275 |
-
'<strong>'.
|
276 |
-
str_replace('<span>','<span style="font-style:italic; font-weight: inherit;">',
|
277 |
-
__('Thank you for installing <span>Yet Another Related Posts Plugin</span>!', 'yarpp')).
|
278 |
-
'</strong>'
|
279 |
-
);
|
280 |
-
}
|
281 |
-
|
282 |
-
echo (
|
283 |
-
'<p>'.
|
284 |
-
'We would really appreciate your input to help us continue to improve the product. We are primarily looking '.
|
285 |
-
'for country, domain, and date installed information.'.
|
286 |
-
'</p>'.
|
287 |
-
'<p>'.
|
288 |
-
'Please help us make YARPP better providing this information and by filling out our quick, '.
|
289 |
-
'5 question survey: '.
|
290 |
-
'<a href="http://www.surveymonkey.com/s/Z278L88" target="_blank">'.
|
291 |
-
'http://www.surveymonkey.com/s/Z278L88'.
|
292 |
-
'</a>'.
|
293 |
-
'</p>'
|
294 |
-
);
|
295 |
-
|
296 |
-
echo '</p><p>';
|
297 |
-
$this->print_optin_button($action);
|
298 |
-
$this->optin_button_script(strtolower($action));
|
299 |
-
echo '<a class="button" href="options-general.php?page=yarpp#help-optin">'.__('Learn More', 'yarpp').'</a>';
|
300 |
-
echo '</p></div>';
|
301 |
-
}
|
302 |
-
|
303 |
-
// faux-markdown, required for the help text rendering
|
304 |
-
protected function markdown( $text ) {
|
305 |
-
$replacements = array(
|
306 |
-
// strip each line
|
307 |
-
'!\s*[\r\n] *!' => "\n",
|
308 |
-
|
309 |
-
// headers
|
310 |
-
'!^=(.*?)=\s*$!m' => '<h3>\1</h3>',
|
311 |
-
|
312 |
-
// bullets
|
313 |
-
'!^(\* .*([\r\n]\* .*)*)$!m' => "<ul>\n\\1\n</ul>",
|
314 |
-
'!^\* (.*?)$!m' => '<li>\1</li>',
|
315 |
-
'!^(\d+\. .*([\r\n]\d+\. .*)*)$!m' => "<ol>\n\\1\n</ol>",
|
316 |
-
'!^\d+\. (.*?)$!m' => '<li>\1</li>',
|
317 |
-
|
318 |
-
// code block
|
319 |
-
'!^(\t.*([\r\n]\t.*)*)$!m' => "<pre>\n\\1\n</pre>",
|
320 |
-
|
321 |
-
// wrap p
|
322 |
-
'!^([^<\t].*[^>])$!m' => '<p>\1</p>',
|
323 |
-
// bold
|
324 |
-
'!\*([^*]*?)\*!' => '<strong>\1</strong>',
|
325 |
-
// code
|
326 |
-
'!`([^`]*?)`!' => '<code>\1</code>',
|
327 |
-
// links
|
328 |
-
'!\[([^]]+)\]\(([^)]+)\)!' => '<a href="\2" target="_new">\1</a>',
|
329 |
-
);
|
330 |
-
$text = preg_replace(array_keys($replacements), array_values($replacements), $text);
|
331 |
-
|
332 |
-
return $text;
|
333 |
-
}
|
334 |
-
|
335 |
-
function render_screen_settings( $output, $current_screen ) {
|
336 |
-
if ( $current_screen->id != 'settings_page_yarpp' )
|
337 |
-
return $output;
|
338 |
-
|
339 |
-
$output .= "<div id='yarpp_extra_screen_settings'><label for='yarpp_display_code'><input type='checkbox' name='yarpp_display_code' id='yarpp_display_code'";
|
340 |
-
$output .= checked( $this->core->get_option('display_code'), true, false );
|
341 |
-
$output .= " />";
|
342 |
-
$output .= __('Show example code output', 'yarpp');
|
343 |
-
$output .= '</label></div>';
|
344 |
-
|
345 |
-
return $output;
|
346 |
-
}
|
347 |
-
|
348 |
-
// since 3.3
|
349 |
-
function enqueue() {
|
350 |
-
$version = defined('WP_DEBUG') && WP_DEBUG ? time() : YARPP_VERSION;
|
351 |
-
$screen = get_current_screen();
|
352 |
-
if ( !is_null($screen) && $screen->id == 'settings_page_yarpp' ) {
|
353 |
-
wp_enqueue_script( 'postbox' );
|
354 |
-
$this->pointer_enqueue();
|
355 |
-
wp_enqueue_style( 'yarpp_options', plugins_url( 'options.css', __FILE__ ), array(), $version );
|
356 |
-
wp_enqueue_script( 'yarpp_options', plugins_url( 'js/options.js', __FILE__ ), array('jquery'), $version );
|
357 |
-
}
|
358 |
-
|
359 |
-
$metabox_post_types = $this->core->get_option( 'auto_display_post_types' );
|
360 |
-
if ( !is_null($screen) && ($screen->id == 'post' || in_array( $screen->id, $metabox_post_types )) ) {
|
361 |
-
wp_enqueue_script( 'yarpp_metabox', plugins_url( 'js/metabox.js', __FILE__ ), array('jquery'), $version );
|
362 |
-
}
|
363 |
-
}
|
364 |
-
|
365 |
-
// since 3.4 and WP 3.3
|
366 |
-
function pointer_enqueue() {
|
367 |
-
wp_enqueue_style( 'wp-pointer' );
|
368 |
-
wp_enqueue_script( 'wp-pointer' );
|
369 |
-
}
|
370 |
-
|
371 |
-
function settings_link($links, $file) {
|
372 |
-
$this_plugin = dirname(plugin_basename(__FILE__)) . '/yarpp.php';
|
373 |
-
if($file == $this_plugin) {
|
374 |
-
$links[] = '<a href="options-general.php?page=yarpp">' . __('Settings') . '</a>';
|
375 |
-
}
|
376 |
-
return $links;
|
377 |
-
}
|
378 |
-
|
379 |
-
function options_page() {
|
380 |
-
// for proper metabox support:
|
381 |
-
require(YARPP_DIR.'/options.php');
|
382 |
-
}
|
383 |
-
|
384 |
-
// @since 3.4: don't actually compute results here, but use ajax instead
|
385 |
-
function metabox() {
|
386 |
-
?>
|
387 |
-
<style>
|
388 |
-
#yarpp_relatedposts h3 .postbox-title-action {
|
389 |
-
right: 30px;
|
390 |
-
top: 5px;
|
391 |
-
position: absolute;
|
392 |
-
padding: 0;
|
393 |
-
}
|
394 |
-
#yarpp_relatedposts:hover .edit-box {
|
395 |
-
display: inline;
|
396 |
-
}
|
397 |
-
</style>
|
398 |
-
<?php
|
399 |
-
if ( !get_the_ID() ) {
|
400 |
-
echo "<div><p>".__("Related entries may be displayed once you save your entry",'yarpp').".</p></div>";
|
401 |
-
} else {
|
402 |
-
wp_nonce_field( 'yarpp_display', 'yarpp_display-nonce', false );
|
403 |
-
echo '<div id="yarpp-related-posts"><img src="' . esc_url( admin_url( 'images/wpspin_light.gif' ) ) . '" alt="" /></div>';
|
404 |
-
}
|
405 |
-
}
|
406 |
-
|
407 |
-
// @since 3.3: default metaboxes to show:
|
408 |
-
function default_hidden_meta_boxes($hidden, $screen) {
|
409 |
-
if ( 'settings_page_yarpp' == $screen->id )
|
410 |
-
$hidden = $this->core->default_hidden_metaboxes;
|
411 |
-
return $hidden;
|
412 |
-
}
|
413 |
-
|
414 |
-
// @since 4: UI to copy templates
|
415 |
-
function can_copy_templates() {
|
416 |
-
$theme_dir = get_stylesheet_directory();
|
417 |
-
// If we can't write to the theme, return false
|
418 |
-
if ( !is_dir($theme_dir) || !is_writable($theme_dir) )
|
419 |
-
return false;
|
420 |
-
|
421 |
-
require_once(ABSPATH . 'wp-admin/includes/file.php');
|
422 |
-
WP_Filesystem( false, get_stylesheet_directory() );
|
423 |
-
global $wp_filesystem;
|
424 |
-
// direct method is the only method that I've tested so far
|
425 |
-
return $wp_filesystem->method == 'direct';
|
426 |
-
}
|
427 |
-
|
428 |
-
function copy_templates() {
|
429 |
-
$templates_dir = trailingslashit(trailingslashit(YARPP_DIR) . 'yarpp-templates');
|
430 |
-
|
431 |
-
require_once(ABSPATH . 'wp-admin/includes/file.php');
|
432 |
-
WP_Filesystem( false, get_stylesheet_directory() );
|
433 |
-
global $wp_filesystem;
|
434 |
-
if ( $wp_filesystem->method != 'direct' )
|
435 |
-
return false;
|
436 |
-
|
437 |
-
return copy_dir( $templates_dir, get_stylesheet_directory(), array('.svn') );
|
438 |
-
}
|
439 |
-
|
440 |
-
/*
|
441 |
-
* AJAX SERVICES
|
442 |
-
*/
|
443 |
-
|
444 |
-
function ajax_display_exclude_terms() {
|
445 |
-
check_ajax_referer( 'yarpp_display_exclude_terms' );
|
446 |
-
|
447 |
-
if ( !isset($_REQUEST['taxonomy']) )
|
448 |
-
return;
|
449 |
-
|
450 |
-
$taxonomy = (string) $_REQUEST['taxonomy'];
|
451 |
-
|
452 |
-
header("HTTP/1.1 200");
|
453 |
-
header("Content-Type: text/html; charset=UTF-8");
|
454 |
-
|
455 |
-
$exclude_tt_ids = wp_parse_id_list($this->core->get_option('exclude'));
|
456 |
-
$exclude_term_ids = $this->get_term_ids_from_tt_ids( $taxonomy, $exclude_tt_ids );
|
457 |
-
// if ( 'category' == $taxonomy )
|
458 |
-
// $exclude .= ',' . get_option( 'default_category' );
|
459 |
-
|
460 |
-
$terms = get_terms($taxonomy, array(
|
461 |
-
'exclude' => $exclude_term_ids,
|
462 |
-
'hide_empty' => false,
|
463 |
-
'hierarchical' => false,
|
464 |
-
'number' => 100,
|
465 |
-
'offset' => $_REQUEST['offset']
|
466 |
-
));
|
467 |
-
|
468 |
-
if ( !count($terms) ) {
|
469 |
-
echo ':('; // no more :(
|
470 |
-
exit;
|
471 |
-
}
|
472 |
-
|
473 |
-
foreach ($terms as $term) {
|
474 |
-
echo "<span><input type='checkbox' name='exclude[{$term->term_taxonomy_id}]' id='exclude_{$term->term_taxonomy_id}' value='true' /> <label for='exclude_{$term->term_taxonomy_id}'>" . esc_html($term->name) . "</label></span> ";
|
475 |
-
}
|
476 |
-
exit;
|
477 |
-
}
|
478 |
-
|
479 |
-
function get_term_ids_from_tt_ids( $taxonomy, $tt_ids ) {
|
480 |
-
global $wpdb;
|
481 |
-
$tt_ids = wp_parse_id_list($tt_ids);
|
482 |
-
if ( empty($tt_ids) )
|
483 |
-
return array();
|
484 |
-
return $wpdb->get_col("select term_id from $wpdb->term_taxonomy where taxonomy = '{$taxonomy}' and term_taxonomy_id in (" . join(',', $tt_ids) . ")");
|
485 |
-
}
|
486 |
-
|
487 |
-
function ajax_display() {
|
488 |
-
check_ajax_referer( 'yarpp_display' );
|
489 |
-
|
490 |
-
if ( !isset($_REQUEST['ID']) )
|
491 |
-
return;
|
492 |
-
|
493 |
-
header("HTTP/1.1 200");
|
494 |
-
header("Content-Type: text/html; charset=UTF-8");
|
495 |
-
|
496 |
-
$args = array(
|
497 |
-
'post_type' => array('post'),
|
498 |
-
'domain' => isset($_REQUEST['domain']) ? $_REQUEST['domain'] : 'website'
|
499 |
-
);
|
500 |
-
if ( $this->core->get_option('cross_relate') )
|
501 |
-
$args['post_type'] = $this->core->get_post_types();
|
502 |
-
|
503 |
-
$return = $this->core->display_related(absint($_REQUEST['ID']), $args, false);
|
504 |
-
echo $return;
|
505 |
-
exit;
|
506 |
-
}
|
507 |
-
|
508 |
-
function ajax_display_demo() {
|
509 |
-
check_ajax_referer( 'yarpp_display_demo' );
|
510 |
-
|
511 |
-
header("HTTP/1.1 200");
|
512 |
-
header("Content-Type: text/html; charset=UTF-8");
|
513 |
-
|
514 |
-
$args = array(
|
515 |
-
'post_type' => array('post'),
|
516 |
-
'domain' => isset($_REQUEST['domain']) ? $_REQUEST['domain'] : 'website'
|
517 |
-
);
|
518 |
-
|
519 |
-
$return = $this->core->display_demo_related($args, false);
|
520 |
-
echo preg_replace("/[\n\r]/",'',nl2br(htmlspecialchars($return)));
|
521 |
-
exit;
|
522 |
-
}
|
523 |
-
|
524 |
-
function ajax_optin_data() {
|
525 |
-
check_ajax_referer('yarpp_optin_data');
|
526 |
-
|
527 |
-
header("HTTP/1.1 200");
|
528 |
-
header("Content-Type: text/html; charset=UTF-8");
|
529 |
-
|
530 |
-
$data = $this->core->optin_data();
|
531 |
-
$this->core->pretty_echo($data);
|
532 |
-
exit;
|
533 |
-
}
|
534 |
-
|
535 |
-
function ajax_optin_disable() {
|
536 |
-
check_ajax_referer('yarpp_optin_disable');
|
537 |
-
|
538 |
-
header("HTTP/1.1 200");
|
539 |
-
header("Content-Type: text; charset=UTF-8");
|
540 |
-
|
541 |
-
$data = $this->core->set_option('optin', false);
|
542 |
-
|
543 |
-
echo 'ok';
|
544 |
-
exit;
|
545 |
-
}
|
546 |
-
|
547 |
-
function ajax_optin_enable() {
|
548 |
-
check_ajax_referer('yarpp_optin_enable');
|
549 |
-
|
550 |
-
header("HTTP/1.1 200");
|
551 |
-
header("Content-Type: text; charset=UTF-8");
|
552 |
-
|
553 |
-
$data = $this->core->set_option('optin', true);
|
554 |
-
|
555 |
-
$this->core->optin_ping();
|
556 |
-
echo 'ok';
|
557 |
-
exit;
|
558 |
-
}
|
559 |
-
|
560 |
-
function ajax_set_display_code() {
|
561 |
-
check_ajax_referer( 'yarpp_set_display_code' );
|
562 |
-
|
563 |
-
header("HTTP/1.1 200");
|
564 |
-
header("Content-Type: text; charset=UTF-8");
|
565 |
-
|
566 |
-
$data = $this->core->set_option( 'display_code', isset($_REQUEST['checked']) );
|
567 |
-
echo 'ok';
|
568 |
-
exit;
|
569 |
-
}
|
570 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class-cache.php
DELETED
@@ -1,621 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
-
abstract class YARPP_Cache {
|
4 |
-
|
5 |
-
protected $core;
|
6 |
-
public $score_override = false;
|
7 |
-
public $online_limit = false;
|
8 |
-
public $last_sql;
|
9 |
-
protected $yarpp_time = false;
|
10 |
-
|
11 |
-
function __construct( &$core ) {
|
12 |
-
$this->core = &$core;
|
13 |
-
$this->name = __($this->name, 'yarpp');
|
14 |
-
}
|
15 |
-
|
16 |
-
function add_signature( $query ) {
|
17 |
-
$query->yarpp_cache_type = $this->name;
|
18 |
-
}
|
19 |
-
|
20 |
-
/**
|
21 |
-
* GENERAL CACHE CONTROL
|
22 |
-
*/
|
23 |
-
public function is_yarpp_time() {
|
24 |
-
return $this->yarpp_time;
|
25 |
-
}
|
26 |
-
|
27 |
-
public function flush() {
|
28 |
-
}
|
29 |
-
|
30 |
-
public function setup() {
|
31 |
-
}
|
32 |
-
|
33 |
-
public function upgrade( $last_version ) {
|
34 |
-
}
|
35 |
-
|
36 |
-
/**
|
37 |
-
* POST CACHE CONTROL
|
38 |
-
*/
|
39 |
-
// Note: return value changed in 3.4
|
40 |
-
// return YARPP_NO_RELATED | YARPP_RELATED | YARPP_DONT_RUN | false if no good input
|
41 |
-
function enforce( $reference_ID, $force = false ) {
|
42 |
-
// @since 3.5.3: don't compute on revisions
|
43 |
-
if ( $the_post = wp_is_post_revision($reference_ID) )
|
44 |
-
$reference_ID = $the_post;
|
45 |
-
|
46 |
-
if ( !is_int( $reference_ID ) )
|
47 |
-
return false;
|
48 |
-
|
49 |
-
$status = $this->is_cached($reference_ID);
|
50 |
-
$status = apply_filters( 'yarpp_cache_enforce_status', $status, $reference_ID );
|
51 |
-
|
52 |
-
// There's a stop signal:
|
53 |
-
if ( YARPP_DONT_RUN === $status )
|
54 |
-
return YARPP_DONT_RUN;
|
55 |
-
|
56 |
-
// If not cached, process now:
|
57 |
-
if ( YARPP_NOT_CACHED == $status || $force )
|
58 |
-
$status = $this->update((int) $reference_ID);
|
59 |
-
// status now will be YARPP_NO_RELATED | YARPP_RELATED
|
60 |
-
|
61 |
-
// There are no related posts
|
62 |
-
if ( YARPP_NO_RELATED === $status )
|
63 |
-
return YARPP_NO_RELATED;
|
64 |
-
|
65 |
-
// There are results
|
66 |
-
return YARPP_RELATED;
|
67 |
-
}
|
68 |
-
|
69 |
-
// @return YARPP_NO_RELATED | YARPP_RELATED | YARPP_NOT_CACHED
|
70 |
-
public function is_cached($reference_ID) {
|
71 |
-
return YARPP_NOT_CACHED;
|
72 |
-
}
|
73 |
-
|
74 |
-
public function clear($reference_ID) {
|
75 |
-
}
|
76 |
-
|
77 |
-
/**
|
78 |
-
* POST STATUS INTERACTIONS
|
79 |
-
*/
|
80 |
-
|
81 |
-
// Clear the cache for this entry and for all posts which are "related" to it.
|
82 |
-
// New in 3.2: This is called when a post is deleted.
|
83 |
-
function delete_post( $post_ID ) {
|
84 |
-
// Clear the cache for this post.
|
85 |
-
$this->clear((int) $post_ID);
|
86 |
-
|
87 |
-
// Find all "peers" which list this post as a related post and clear their caches
|
88 |
-
if ( $peers = $this->related(null, (int) $post_ID) )
|
89 |
-
$this->clear($peers);
|
90 |
-
}
|
91 |
-
|
92 |
-
// New in 3.2.1: handle various post_status transitions
|
93 |
-
function transition_post_status( $new_status, $old_status, $post ) {
|
94 |
-
$post_ID = $post->ID;
|
95 |
-
|
96 |
-
// @since 3.4: don't compute on revisions
|
97 |
-
// @since 3.5: compute on the parent instead
|
98 |
-
if ( $the_post = wp_is_post_revision($post_ID) )
|
99 |
-
$post_ID = $the_post;
|
100 |
-
|
101 |
-
// unpublish
|
102 |
-
if ( $old_status == 'publish' && $new_status != 'publish' ) {
|
103 |
-
// Find all "peers" which list this post as a related post and clear their caches
|
104 |
-
if ( $peers = $this->related(null, (int) $post_ID) )
|
105 |
-
$this->clear($peers);
|
106 |
-
}
|
107 |
-
|
108 |
-
// publish
|
109 |
-
if ( $old_status != 'publish' && $new_status == 'publish' ) {
|
110 |
-
// find everything which is related to this post, and clear them, so that this
|
111 |
-
// post might show up as related to them.
|
112 |
-
if ( $related = $this->related($post_ID, null) )
|
113 |
-
$this->clear($related);
|
114 |
-
}
|
115 |
-
|
116 |
-
// @since 3.4: simply clear the cache on save; don't recompute.
|
117 |
-
$this->clear((int) $post_ID);
|
118 |
-
}
|
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;
|
129 |
-
}
|
130 |
-
} else {
|
131 |
-
$this->score_override = false;
|
132 |
-
$this->online_limit = false;
|
133 |
-
}
|
134 |
-
}
|
135 |
-
|
136 |
-
/**
|
137 |
-
* SQL!
|
138 |
-
*/
|
139 |
-
|
140 |
-
protected function sql( $reference_ID = false, $args = array() ) {
|
141 |
-
global $wpdb, $post;
|
142 |
-
|
143 |
-
if ( is_object($post) && !$reference_ID ) {
|
144 |
-
$reference_ID = $post->ID;
|
145 |
-
}
|
146 |
-
|
147 |
-
if ( !is_object($post) || $reference_ID != $post->ID ) {
|
148 |
-
$reference_post = get_post( $reference_ID );
|
149 |
-
} else {
|
150 |
-
$reference_post = $post;
|
151 |
-
}
|
152 |
-
|
153 |
-
$options = array( 'threshold', 'show_pass_post', 'past_only', 'weight', 'require_tax', 'exclude', 'recent', 'limit' );
|
154 |
-
extract( $this->core->parse_args($args, $options) );
|
155 |
-
// The maximum number of items we'll ever want to cache
|
156 |
-
$limit = max($limit, $this->core->get_option('rss_limit'));
|
157 |
-
|
158 |
-
// Fetch keywords
|
159 |
-
$keywords = $this->get_keywords($reference_ID);
|
160 |
-
|
161 |
-
// SELECT
|
162 |
-
$newsql = "SELECT $reference_ID as reference_ID, ID, "; //post_title, post_date, post_content, post_excerpt,
|
163 |
-
|
164 |
-
$newsql .= 'ROUND(0';
|
165 |
-
|
166 |
-
if ( isset($weight['body']) && (int) $weight['body'] )
|
167 |
-
$newsql .= " + (MATCH (post_content) AGAINST ('".$wpdb->escape($keywords['body'])."')) * ". absint($weight['body']);
|
168 |
-
if ( isset($weight['body']) && (int) $weight['title'] )
|
169 |
-
$newsql .= " + (MATCH (post_title) AGAINST ('".$wpdb->escape($keywords['title'])."')) * ". absint($weight['title']);
|
170 |
-
|
171 |
-
// Build tax criteria query parts based on the weights
|
172 |
-
foreach ( (array) $weight['tax'] as $tax => $tax_weight ) {
|
173 |
-
$newsql .= " + " . $this->tax_criteria($reference_ID, $tax) . " * " . intval($tax_weight);
|
174 |
-
}
|
175 |
-
|
176 |
-
$newsql .= ',1) as score';
|
177 |
-
|
178 |
-
$newsql .= "\n from $wpdb->posts \n";
|
179 |
-
|
180 |
-
$exclude_tt_ids = wp_parse_id_list( $exclude );
|
181 |
-
if ( count($exclude_tt_ids) || count((array) $weight['tax']) || count($require_tax) ) {
|
182 |
-
$newsql .= "left join $wpdb->term_relationships as terms on ( terms.object_id = $wpdb->posts.ID ) \n";
|
183 |
-
}
|
184 |
-
|
185 |
-
// WHERE
|
186 |
-
|
187 |
-
$newsql .= " where post_status in ( 'publish', 'static' ) and ID != '$reference_ID'";
|
188 |
-
|
189 |
-
if ( $past_only ) // 3.1.8: revised $past_only option
|
190 |
-
$newsql .= " and post_date <= '$reference_post->post_date' ";
|
191 |
-
if ( !$show_pass_post )
|
192 |
-
$newsql .= " and post_password ='' ";
|
193 |
-
if ( !!$recent )
|
194 |
-
$newsql .= " and post_date > date_sub(now(), interval {$recent}) ";
|
195 |
-
|
196 |
-
$newsql .= " and post_type = 'post'";
|
197 |
-
|
198 |
-
// GROUP BY
|
199 |
-
$newsql .= "\n group by ID \n";
|
200 |
-
|
201 |
-
// HAVING
|
202 |
-
// number_format fix suggested by vkovalcik! :)
|
203 |
-
$safethreshold = number_format(max($threshold,0.1), 2, '.', '');
|
204 |
-
// @since 3.5.3: ID=0 is a special value; never save such a result.
|
205 |
-
$newsql .= " having score >= $safethreshold and ID != 0";
|
206 |
-
if ( count($exclude_tt_ids) ) {
|
207 |
-
$newsql .= " and bit_or(terms.term_taxonomy_id in (" . join(',', $exclude_tt_ids) . ")) = 0";
|
208 |
-
}
|
209 |
-
|
210 |
-
foreach ( (array) $require_tax as $tax => $number ) {
|
211 |
-
$newsql .= ' and ' . $this->tax_criteria($reference_ID, $tax) . ' >= ' . intval($number);
|
212 |
-
}
|
213 |
-
|
214 |
-
$newsql .= " order by score desc limit $limit";
|
215 |
-
|
216 |
-
if ( isset($args['post_type']) )
|
217 |
-
$post_types = (array) $args['post_type'];
|
218 |
-
else
|
219 |
-
$post_types = $this->core->get_post_types();
|
220 |
-
|
221 |
-
$queries = array();
|
222 |
-
foreach ( $post_types as $post_type ) {
|
223 |
-
$queries[] = '(' . str_replace("post_type = 'post'", "post_type = '{$post_type}'", $newsql) . ')';
|
224 |
-
}
|
225 |
-
$sql = implode( ' union ', $queries );
|
226 |
-
|
227 |
-
if ($this->core->debug) echo "<!--$sql-->";
|
228 |
-
|
229 |
-
$this->last_sql = $sql;
|
230 |
-
|
231 |
-
return $sql;
|
232 |
-
}
|
233 |
-
|
234 |
-
private function tax_criteria( $reference_ID, $taxonomy ) {
|
235 |
-
// @todo maybe reinforce the object term cache?
|
236 |
-
$terms = get_the_terms( $reference_ID, $taxonomy );
|
237 |
-
// if there are no terms of that tax
|
238 |
-
if ( false === $terms )
|
239 |
-
return '(1 = 0)';
|
240 |
-
|
241 |
-
$tt_ids = wp_list_pluck($terms, 'term_taxonomy_id');
|
242 |
-
return "count(distinct if( terms.term_taxonomy_id in (" . join(',',$tt_ids) . "), terms.term_taxonomy_id, null ))";
|
243 |
-
}
|
244 |
-
|
245 |
-
/**
|
246 |
-
* KEYWORDS
|
247 |
-
*/
|
248 |
-
|
249 |
-
// @param $ID (int)
|
250 |
-
// @param $type (string) body | title | all
|
251 |
-
// @return (string|array) depending on whether "all" were requested or not
|
252 |
-
public function get_keywords( $ID, $type = 'all' ) {
|
253 |
-
if ( !$ID = absint($ID) )
|
254 |
-
return false;
|
255 |
-
|
256 |
-
$keywords = array(
|
257 |
-
'body' => $this->body_keywords($ID),
|
258 |
-
'title' => $this->title_keywords($ID)
|
259 |
-
);
|
260 |
-
|
261 |
-
if ( empty($keywords) )
|
262 |
-
return false;
|
263 |
-
|
264 |
-
if ( 'all' == $type )
|
265 |
-
return $keywords;
|
266 |
-
return $keywords[$type];
|
267 |
-
}
|
268 |
-
|
269 |
-
protected function title_keywords( $ID, $max = 20 ) {
|
270 |
-
return apply_filters( 'yarpp_title_keywords',
|
271 |
-
$this->extract_keywords( get_the_title($ID), $max, $ID ), $max, $ID );
|
272 |
-
}
|
273 |
-
|
274 |
-
protected function body_keywords( $ID, $max = 20 ) {
|
275 |
-
$post = get_post( $ID );
|
276 |
-
if ( empty($post) )
|
277 |
-
return '';
|
278 |
-
$content = $this->apply_filters_if_white( 'the_content', $post->post_content );
|
279 |
-
return apply_filters( 'yarpp_body_keywords',
|
280 |
-
$this->extract_keywords( $content, $max, $ID ), $max, $ID );
|
281 |
-
|
282 |
-
}
|
283 |
-
|
284 |
-
private function extract_keywords( $html, $max = 20, $ID = 0 ) {
|
285 |
-
|
286 |
-
/**
|
287 |
-
* @filter yarpp_extract_keywords
|
288 |
-
*
|
289 |
-
* Use this filter to override YARPP's built-in keyword computation
|
290 |
-
* Return values should be a string of space-delimited words
|
291 |
-
*
|
292 |
-
* @param $keywords
|
293 |
-
* @param $html unfiltered HTML content
|
294 |
-
* @param (int) $max maximum number of keywords
|
295 |
-
* @param (int) $ID
|
296 |
-
*/
|
297 |
-
if ( $keywords = apply_filters( 'yarpp_extract_keywords', false, $html, $max, $ID ) )
|
298 |
-
return $keywords;
|
299 |
-
|
300 |
-
$lang = 'en_US';
|
301 |
-
if ( defined('WPLANG') ) {
|
302 |
-
switch ( substr(WPLANG, 0, 2) ) {
|
303 |
-
case 'de':
|
304 |
-
$lang = 'de_DE';
|
305 |
-
case 'it':
|
306 |
-
$lang = 'it_IT';
|
307 |
-
case 'pl':
|
308 |
-
$lang = 'pl_PL';
|
309 |
-
case 'bg':
|
310 |
-
$lang = 'bg_BG';
|
311 |
-
case 'fr':
|
312 |
-
$lang = 'fr_FR';
|
313 |
-
case 'cs':
|
314 |
-
$lang = 'cs_CZ';
|
315 |
-
case 'nl':
|
316 |
-
$lang = 'nl_NL';
|
317 |
-
default:
|
318 |
-
$lang = 'en_US';
|
319 |
-
}
|
320 |
-
}
|
321 |
-
|
322 |
-
$words_file = YARPP_DIR . '/lang/words-' . $lang . '.php';
|
323 |
-
if ( file_exists($words_file) )
|
324 |
-
include( $words_file );
|
325 |
-
if ( !isset($overusedwords) )
|
326 |
-
$overusedwords = array();
|
327 |
-
|
328 |
-
// strip tags and html entities
|
329 |
-
$text = preg_replace('/&(#x[0-9a-f]+|#[0-9]+|[a-zA-Z]+);/', '', strip_tags($html) );
|
330 |
-
|
331 |
-
// 3.2.2: ignore soft hyphens
|
332 |
-
// Requires PHP 5: http://bugs.php.net/bug.php?id=25670
|
333 |
-
$softhyphen = html_entity_decode('­',ENT_NOQUOTES,'UTF-8');
|
334 |
-
$text = str_replace($softhyphen, '', $text);
|
335 |
-
|
336 |
-
$charset = get_option('blog_charset');
|
337 |
-
if ( function_exists('mb_split') && !empty($charset) ) {
|
338 |
-
mb_regex_encoding($charset);
|
339 |
-
$wordlist = mb_split('\s*\W+\s*', mb_strtolower($text, $charset));
|
340 |
-
} else
|
341 |
-
$wordlist = preg_split('%\s*\W+\s*%', strtolower($text));
|
342 |
-
|
343 |
-
// Build an array of the unique words and number of times they occur.
|
344 |
-
$tokens = array_count_values($wordlist);
|
345 |
-
|
346 |
-
// Remove the stop words from the list.
|
347 |
-
$overusedwords = apply_filters( 'yarpp_keywords_overused_words', $overusedwords );
|
348 |
-
if ( is_array($overusedwords) ) {
|
349 |
-
foreach ($overusedwords as $word) {
|
350 |
-
unset($tokens[$word]);
|
351 |
-
}
|
352 |
-
}
|
353 |
-
// Remove words which are only a letter
|
354 |
-
foreach (array_keys($tokens) as $word) {
|
355 |
-
if ( function_exists('mb_strlen') )
|
356 |
-
if (mb_strlen($word) < 2) unset($tokens[$word]);
|
357 |
-
else
|
358 |
-
if (strlen($word) < 2) unset($tokens[$word]);
|
359 |
-
}
|
360 |
-
|
361 |
-
arsort($tokens, SORT_NUMERIC);
|
362 |
-
|
363 |
-
$types = array_keys($tokens);
|
364 |
-
|
365 |
-
if (count($types) > $max)
|
366 |
-
$types = array_slice($types, 0, $max);
|
367 |
-
return implode(' ', $types);
|
368 |
-
}
|
369 |
-
|
370 |
-
/* new in 2.0! apply_filters_if_white (previously apply_filters_without) now has a blacklist.
|
371 |
-
* It can be modified via the yarpp_blacklist and yarpp_blackmethods filters.
|
372 |
-
*/
|
373 |
-
/* blacklisted so far:
|
374 |
-
- diggZ-Et
|
375 |
-
- reddZ-Et
|
376 |
-
- dzoneZ-Et
|
377 |
-
- WP-Syntax
|
378 |
-
- Viper's Video Quicktags
|
379 |
-
- WP-CodeBox
|
380 |
-
- WP shortcodes
|
381 |
-
- WP Greet Box
|
382 |
-
- Jetpack ShareDaddy
|
383 |
-
//- Tweet This - could not reproduce problem.
|
384 |
-
*/
|
385 |
-
function white( $filter ) {
|
386 |
-
static $blacklist, $blackmethods;
|
387 |
-
|
388 |
-
if ( is_null($blacklist) || is_null($blackmethods) ) {
|
389 |
-
$yarpp_blacklist = array('diggZEt_AddBut', 'reddZEt_AddBut', 'dzoneZEt_AddBut', 'wp_syntax_before_filter', 'wp_syntax_after_filter', 'wp_codebox_before_filter', 'wp_codebox_after_filter', 'do_shortcode', 'sharing_display', 'really_simple_share_content');//,'insert_tweet_this'
|
390 |
-
$yarpp_blackmethods = array('addinlinejs', 'replacebbcode', 'filter_content');
|
391 |
-
|
392 |
-
$blacklist = (array) apply_filters( 'yarpp_blacklist', $yarpp_blacklist );
|
393 |
-
$blackmethods = (array) apply_filters( 'yarpp_blackmethods', $yarpp_blackmethods );
|
394 |
-
}
|
395 |
-
|
396 |
-
if ( is_array($filter) && is_a( $filter[0], 'YARPP' ) )
|
397 |
-
return false;
|
398 |
-
if ( is_array($filter) && in_array( $filter[1], $blackmethods ) )
|
399 |
-
return false;
|
400 |
-
return !in_array( $filter, $blacklist );
|
401 |
-
}
|
402 |
-
|
403 |
-
/* FYI, apply_filters_if_white was used here to avoid a loop in apply_filters('the_content') > YARPP::the_content() > YARPP::related() > YARPP_Cache::body_keywords() > apply_filters('the_content').*/
|
404 |
-
function apply_filters_if_white($tag, $value) {
|
405 |
-
global $wp_filter, $merged_filters, $wp_current_filter;
|
406 |
-
|
407 |
-
$args = array();
|
408 |
-
|
409 |
-
// Do 'all' actions first
|
410 |
-
if ( isset($wp_filter['all']) ) {
|
411 |
-
$wp_current_filter[] = $tag;
|
412 |
-
$args = func_get_args();
|
413 |
-
_wp_call_all_hook($args);
|
414 |
-
}
|
415 |
-
|
416 |
-
if ( !isset($wp_filter[$tag]) ) {
|
417 |
-
if ( isset($wp_filter['all']) )
|
418 |
-
array_pop($wp_current_filter);
|
419 |
-
return $value;
|
420 |
-
}
|
421 |
-
|
422 |
-
if ( !isset($wp_filter['all']) )
|
423 |
-
$wp_current_filter[] = $tag;
|
424 |
-
|
425 |
-
// Sort
|
426 |
-
if ( !isset( $merged_filters[ $tag ] ) ) {
|
427 |
-
ksort($wp_filter[$tag]);
|
428 |
-
$merged_filters[ $tag ] = true;
|
429 |
-
}
|
430 |
-
|
431 |
-
reset( $wp_filter[ $tag ] );
|
432 |
-
|
433 |
-
if ( empty($args) )
|
434 |
-
$args = func_get_args();
|
435 |
-
|
436 |
-
do {
|
437 |
-
foreach( (array) current($wp_filter[$tag]) as $the_ )
|
438 |
-
if ( !is_null($the_['function'])
|
439 |
-
and $this->white($the_['function'])){ // HACK
|
440 |
-
$args[1] = $value;
|
441 |
-
$value = call_user_func_array($the_['function'], array_slice($args, 1, (int) $the_['accepted_args']));
|
442 |
-
}
|
443 |
-
|
444 |
-
} while ( next($wp_filter[$tag]) !== false );
|
445 |
-
|
446 |
-
array_pop( $wp_current_filter );
|
447 |
-
|
448 |
-
return $value;
|
449 |
-
}
|
450 |
-
}
|
451 |
-
|
452 |
-
class YARPP_Cache_Bypass extends YARPP_Cache {
|
453 |
-
|
454 |
-
public $name = "bypass";
|
455 |
-
|
456 |
-
// variables used for lookup
|
457 |
-
private $related_postdata = array();
|
458 |
-
private $related_IDs = array();
|
459 |
-
|
460 |
-
public $demo_time = false;
|
461 |
-
private $demo_limit = 0;
|
462 |
-
|
463 |
-
/**
|
464 |
-
* SETUP/STATUS
|
465 |
-
*/
|
466 |
-
function __construct( &$core ) {
|
467 |
-
parent::__construct( $core );
|
468 |
-
}
|
469 |
-
|
470 |
-
public function is_enabled() {
|
471 |
-
return true; // always enabled.
|
472 |
-
}
|
473 |
-
|
474 |
-
public function cache_status() {
|
475 |
-
return 0; // always uncached
|
476 |
-
}
|
477 |
-
|
478 |
-
public function stats() {
|
479 |
-
return array(); // always unknown
|
480 |
-
}
|
481 |
-
|
482 |
-
public function uncached($limit = 20, $offset = 0) {
|
483 |
-
return array(); // nothing to cache
|
484 |
-
}
|
485 |
-
|
486 |
-
/**
|
487 |
-
* MAGIC FILTERS
|
488 |
-
*/
|
489 |
-
public function where_filter($arg) {
|
490 |
-
global $wpdb;
|
491 |
-
// modify the where clause to use the related ID list.
|
492 |
-
if (!count($this->related_IDs))
|
493 |
-
$this->related_IDs = array(0);
|
494 |
-
$arg = preg_replace("!{$wpdb->posts}.ID = \d+!","{$wpdb->posts}.ID in (".join(',',$this->related_IDs).")",$arg);
|
495 |
-
|
496 |
-
// if we have recent set, add an additional condition
|
497 |
-
if ( !!$this->args['recent'] )
|
498 |
-
$arg .= " and post_date > date_sub(now(), interval {$this->args['recent']}) ";
|
499 |
-
return $arg;
|
500 |
-
}
|
501 |
-
|
502 |
-
public function orderby_filter($arg) {
|
503 |
-
global $wpdb;
|
504 |
-
// only order by score if the score function is added in fields_filter, which only happens
|
505 |
-
// if there are related posts in the postdata
|
506 |
-
if ($this->score_override &&
|
507 |
-
is_array($this->related_postdata) && count($this->related_postdata))
|
508 |
-
return str_replace("$wpdb->posts.post_date","score",$arg);
|
509 |
-
return $arg;
|
510 |
-
}
|
511 |
-
|
512 |
-
public function fields_filter($arg) {
|
513 |
-
global $wpdb;
|
514 |
-
if (is_array($this->related_postdata) && count($this->related_postdata)) {
|
515 |
-
$scores = array();
|
516 |
-
foreach ($this->related_postdata as $related_entry) {
|
517 |
-
$scores[] = " WHEN {$related_entry['ID']} THEN {$related_entry['score']}";
|
518 |
-
}
|
519 |
-
$arg .= ", CASE {$wpdb->posts}.ID" . join('',$scores) ." END as score";
|
520 |
-
}
|
521 |
-
return $arg;
|
522 |
-
}
|
523 |
-
|
524 |
-
public function demo_request_filter($arg) {
|
525 |
-
global $wpdb;
|
526 |
-
$wpdb->query("set @count = 0;");
|
527 |
-
|
528 |
-
$loremipsum = 'Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Cras tincidunt justo a urna. Ut turpis. Phasellus convallis, odio sit amet cursus convallis, eros orci scelerisque velit, ut sodales neque nisl at ante. Suspendisse metus. Curabitur auctor pede quis mi. Pellentesque lorem justo, condimentum ac, dapibus sit amet, ornare et, erat. Quisque velit. Etiam sodales dui feugiat neque suscipit bibendum. Integer mattis. Nullam et ante non sem commodo malesuada. Pellentesque ultrices fermentum lectus. Maecenas hendrerit neque ac est. Fusce tortor mi, tristique sed, cursus at, pellentesque non, dui. Suspendisse potenti.';
|
529 |
-
|
530 |
-
return "SELECT SQL_CALC_FOUND_ROWS ID + {$this->demo_limit} as ID, post_author, post_date, post_date_gmt, '{$loremipsum}' as post_content,
|
531 |
-
concat('".__('Example post ','yarpp')."',@count:=@count+1) as post_title, 0 as post_category, '' as post_excerpt, 'publish' as post_status, 'open' as comment_status, 'open' as ping_status, '' as post_password, concat('example-post-',@count) as post_name, '' as to_ping, '' as pinged, post_modified, post_modified_gmt, '' as post_content_filtered, 0 as post_parent, concat('PERMALINK',@count) as guid, 0 as menu_order, 'post' as post_type, '' as post_mime_type, 0 as comment_count, 'SCORE' as score
|
532 |
-
FROM $wpdb->posts
|
533 |
-
ORDER BY ID DESC LIMIT 0, {$this->demo_limit}";
|
534 |
-
}
|
535 |
-
|
536 |
-
public function limit_filter($arg) {
|
537 |
-
global $wpdb;
|
538 |
-
if ($this->online_limit)
|
539 |
-
return " limit {$this->online_limit} ";
|
540 |
-
return $arg;
|
541 |
-
}
|
542 |
-
|
543 |
-
/**
|
544 |
-
* RELATEDNESS CACHE CONTROL
|
545 |
-
*/
|
546 |
-
public function begin_yarpp_time( $reference_ID, $args ) {
|
547 |
-
global $wpdb;
|
548 |
-
|
549 |
-
$this->yarpp_time = true;
|
550 |
-
$options = array( 'threshold', 'show_pass_post', 'past_only', 'weight', 'require_tax', 'exclude', 'recent', 'limit' );
|
551 |
-
$this->args = $this->core->parse_args($args, $options);
|
552 |
-
|
553 |
-
$this->related_postdata = $wpdb->get_results($this->sql($reference_ID, $args), ARRAY_A);
|
554 |
-
$this->related_IDs = wp_list_pluck( $this->related_postdata, 'ID' );
|
555 |
-
|
556 |
-
add_filter('posts_where',array(&$this,'where_filter'));
|
557 |
-
add_filter('posts_orderby',array(&$this,'orderby_filter'));
|
558 |
-
add_filter('posts_fields',array(&$this,'fields_filter'));
|
559 |
-
add_filter('post_limits',array(&$this,'limit_filter'));
|
560 |
-
add_action('pre_get_posts',array(&$this,'add_signature'));
|
561 |
-
// sets the score override flag.
|
562 |
-
add_action('parse_query',array(&$this,'set_score_override_flag'));
|
563 |
-
}
|
564 |
-
|
565 |
-
public function begin_demo_time( $limit ) {
|
566 |
-
$this->demo_time = true;
|
567 |
-
$this->demo_limit = $limit;
|
568 |
-
add_action('pre_get_posts',array(&$this,'add_signature'));
|
569 |
-
add_filter('posts_request',array(&$this,'demo_request_filter'));
|
570 |
-
}
|
571 |
-
|
572 |
-
public function end_yarpp_time() {
|
573 |
-
$this->yarpp_time = false;
|
574 |
-
remove_filter('posts_where',array(&$this,'where_filter'));
|
575 |
-
remove_filter('posts_orderby',array(&$this,'orderby_filter'));
|
576 |
-
remove_filter('posts_fields',array(&$this,'fields_filter'));
|
577 |
-
remove_filter('post_limits',array(&$this,'limit_filter'));
|
578 |
-
remove_action('pre_get_posts',array(&$this,'add_signature'));
|
579 |
-
remove_action('parse_query',array(&$this,'set_score_override_flag'));
|
580 |
-
}
|
581 |
-
|
582 |
-
public function end_demo_time() {
|
583 |
-
$this->demo_time = false;
|
584 |
-
remove_action('pre_get_posts',array(&$this,'add_signature'));
|
585 |
-
remove_filter('posts_request',array(&$this,'demo_request_filter'));
|
586 |
-
}
|
587 |
-
|
588 |
-
// @return YARPP_NO_RELATED | YARPP_RELATED
|
589 |
-
// @used by enforce
|
590 |
-
protected function update($reference_ID) {
|
591 |
-
global $wpdb;
|
592 |
-
|
593 |
-
return YARPP_RELATED;
|
594 |
-
}
|
595 |
-
|
596 |
-
public function related($reference_ID = null, $related_ID = null) {
|
597 |
-
global $wpdb;
|
598 |
-
|
599 |
-
if ( !is_int( $reference_ID ) && !is_int( $related_ID ) ) {
|
600 |
-
_doing_it_wrong( __METHOD__, 'reference ID and/or related ID must be set', '3.4' );
|
601 |
-
return;
|
602 |
-
}
|
603 |
-
|
604 |
-
// reverse lookup
|
605 |
-
if ( is_int($related_ID) && is_null($reference_ID) ) {
|
606 |
-
_doing_it_wrong( __METHOD__, 'YARPP_Cache_Bypass::related cannot do a reverse lookup', '3.4' );
|
607 |
-
return;
|
608 |
-
}
|
609 |
-
|
610 |
-
$results = $wpdb->get_results($this->sql($reference_ID), ARRAY_A);
|
611 |
-
if ( !$results || !count($results) )
|
612 |
-
return false;
|
613 |
-
|
614 |
-
$results_ids = wp_list_pluck( $results, 'ID' );
|
615 |
-
if ( is_null($related_ID) ) {
|
616 |
-
return $results_ids;
|
617 |
-
} else {
|
618 |
-
return in_array( $related_ID, $results_ids );
|
619 |
-
}
|
620 |
-
}
|
621 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class-core.php
DELETED
@@ -1,1427 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
-
// new in 3.4: put everything YARPP into an object, expected to be a singleton global $yarpp
|
4 |
-
class YARPP {
|
5 |
-
|
6 |
-
public $debug = false;
|
7 |
-
|
8 |
-
public $cache;
|
9 |
-
public $cache_bypass;
|
10 |
-
private $active_cache;
|
11 |
-
|
12 |
-
public $admin;
|
13 |
-
private $storage_class;
|
14 |
-
|
15 |
-
// here's a list of all the options YARPP uses (except version), as well as their default values, sans the yarpp_ prefix, split up into binary options and value options. These arrays are used in updating settings (options.php) and other tasks.
|
16 |
-
public $default_options = array();
|
17 |
-
public $default_hidden_metaboxes = array( 'yarpp_pool', 'yarpp_relatedness' );
|
18 |
-
|
19 |
-
function __construct() {
|
20 |
-
$this->load_default_options();
|
21 |
-
|
22 |
-
// register text domain
|
23 |
-
load_plugin_textdomain( 'yarpp', false, dirname(plugin_basename(__FILE__)) . '/lang' );
|
24 |
-
|
25 |
-
// load cache object
|
26 |
-
require_once(YARPP_DIR . '/class-cache.php');
|
27 |
-
require_once(YARPP_DIR . '/cache-' . YARPP_CACHE_TYPE . '.php');
|
28 |
-
$this->storage_class = $yarpp_storage_class;
|
29 |
-
$this->cache = new $this->storage_class( $this );
|
30 |
-
$this->cache_bypass = new YARPP_Cache_Bypass( $this );
|
31 |
-
|
32 |
-
register_activation_hook( __FILE__, array($this, 'activate') );
|
33 |
-
|
34 |
-
// new in 3.2: update cache on delete
|
35 |
-
add_action( 'delete_post', array($this->cache, 'delete_post'), 10, 1 );
|
36 |
-
// new in 3.2.1: handle post_status transitions
|
37 |
-
// new in 3.5.3: use transition_post_status instead of save_post hook
|
38 |
-
add_action( 'transition_post_status', array($this->cache, 'transition_post_status'), 10, 3);
|
39 |
-
|
40 |
-
// automatic display hooks:
|
41 |
-
add_filter( 'the_content', array( $this, 'the_content' ), 1200 );
|
42 |
-
add_filter( 'the_content_feed', array( $this, 'the_content_feed' ), 600 );
|
43 |
-
add_filter( 'the_excerpt_rss', array( $this, 'the_excerpt_rss' ), 600 );
|
44 |
-
add_action( 'wp_enqueue_scripts', array( $this, 'maybe_enqueue_thumbnails' ) );
|
45 |
-
|
46 |
-
// if we're using thumbnails, register yarpp-thumbnail size, if theme has not already
|
47 |
-
// @todo: make these UI-configurable?
|
48 |
-
// Note: see FAQ in the readme if you would like to change the YARPP thumbnail size.
|
49 |
-
|
50 |
-
if ( $this->diagnostic_using_thumbnails() &&
|
51 |
-
( !($dimensions = $this->thumbnail_dimensions()) || isset($dimensions['_default']) ) ) {
|
52 |
-
$width = 120;
|
53 |
-
$height = 120;
|
54 |
-
$crop = true;
|
55 |
-
add_image_size( 'yarpp-thumbnail', $width, $height, $crop );
|
56 |
-
}
|
57 |
-
|
58 |
-
if ( isset($_REQUEST['yarpp_debug']) )
|
59 |
-
$this->debug = true;
|
60 |
-
|
61 |
-
if ( !get_option('yarpp_version') )
|
62 |
-
update_option( 'yarpp_activated', true );
|
63 |
-
|
64 |
-
// new in 3.4: only load UI if we're in the admin
|
65 |
-
if ( is_admin() ) {
|
66 |
-
require_once(YARPP_DIR . '/class-admin.php');
|
67 |
-
$this->admin = new YARPP_Admin( $this );
|
68 |
-
$this->enforce();
|
69 |
-
}
|
70 |
-
}
|
71 |
-
|
72 |
-
/*
|
73 |
-
* OPTIONS
|
74 |
-
*/
|
75 |
-
|
76 |
-
private function load_default_options() {
|
77 |
-
$this->default_options = array(
|
78 |
-
'threshold' => 4, // changed default in 4
|
79 |
-
'limit' => 4, // changed default in 4
|
80 |
-
'excerpt_length' => 10,
|
81 |
-
'recent' => false, // new in 3.5
|
82 |
-
'before_title' => '<li>',
|
83 |
-
'after_title' => '</li>',
|
84 |
-
'before_post' => ' <small>',
|
85 |
-
'after_post' => '</small>',
|
86 |
-
'before_related' => '<h3>'.__('Related posts:','yarpp').'</h3><ol>',
|
87 |
-
'after_related' => '</ol>',
|
88 |
-
'no_results' => '<p>'.__('No related posts.','yarpp').'</p>',
|
89 |
-
'order' => 'score DESC',
|
90 |
-
'rss_limit' => 3,
|
91 |
-
'rss_excerpt_length' => 10,
|
92 |
-
'rss_before_title' => '<li>',
|
93 |
-
'rss_after_title' => '</li>',
|
94 |
-
'rss_before_post' => ' <small>',
|
95 |
-
'rss_after_post' => '</small>',
|
96 |
-
'rss_before_related' => '<h3>'.__('Related posts:','yarpp').'</h3><ol>',
|
97 |
-
'rss_after_related' => '</ol>',
|
98 |
-
'rss_no_results' => '<p>'.__('No related posts.','yarpp').'</p>',
|
99 |
-
'rss_order' => 'score DESC',
|
100 |
-
'past_only' => false,
|
101 |
-
'show_excerpt' => false,
|
102 |
-
'rss_show_excerpt' => false,
|
103 |
-
'template' => false, // new in 3.5
|
104 |
-
'rss_template' => false, // new in 3.5
|
105 |
-
'show_pass_post' => false,
|
106 |
-
'cross_relate' => false,
|
107 |
-
'rss_display' => false, // changed default in 3.1.7
|
108 |
-
'rss_excerpt_display' => true,
|
109 |
-
'promote_yarpp' => false,
|
110 |
-
'rss_promote_yarpp' => false,
|
111 |
-
'myisam_override' => false,
|
112 |
-
'exclude' => '', // conslidated YARPP 3.4 and further in 3.5
|
113 |
-
'weight' => array( // consolidated in YARPP 3.4, format changed in 3.5
|
114 |
-
'title' => 1,
|
115 |
-
'body' => 1,
|
116 |
-
'tax' => array(
|
117 |
-
'category' => 1, // changed default in 3.4
|
118 |
-
'post_tag' => 1
|
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
|
126 |
-
'rss_thumbnails_default' => plugins_url( 'default.png', __FILE__ ), // new in 4
|
127 |
-
'display_code' => false, // new in 4
|
128 |
-
'auto_display_archive' => false, // new in 4
|
129 |
-
'auto_display_post_types' => array( 'post' ), // new in 4, replacing auto_display
|
130 |
-
'pools' => array(), // new in 4
|
131 |
-
'manually_using_thumbnails' => false, // new in 4.0.6
|
132 |
-
);
|
133 |
-
}
|
134 |
-
|
135 |
-
function set_option( $options, $value = null ) {
|
136 |
-
$current_options = $this->get_option();
|
137 |
-
|
138 |
-
// we can call yarpp_set_option(key,value) if we like:
|
139 |
-
if ( !is_array($options) ) {
|
140 |
-
if ( isset($value) )
|
141 |
-
$options = array( $options => $value );
|
142 |
-
else
|
143 |
-
return false;
|
144 |
-
}
|
145 |
-
|
146 |
-
$new_options = array_merge( $current_options, $options );
|
147 |
-
update_option( 'yarpp', $new_options );
|
148 |
-
|
149 |
-
// new in 3.1: clear cache when updating certain settings.
|
150 |
-
$clear_cache_options = array( 'show_pass_post' => 1, 'recent' => 1, 'threshold' => 1, 'past_only' => 1 );
|
151 |
-
|
152 |
-
$relevant_options = array_intersect_key( $options, $clear_cache_options );
|
153 |
-
$relevant_current_options = array_intersect_key( $current_options, $clear_cache_options );
|
154 |
-
$new_options_which_require_flush = array_diff_assoc($relevant_options, $relevant_current_options);
|
155 |
-
if ( count($new_options_which_require_flush) ||
|
156 |
-
( $new_options['limit'] > $current_options['limit'] ) ||
|
157 |
-
( $new_options['weight'] != $current_options['weight'] ) ||
|
158 |
-
( $new_options['exclude'] != $current_options['exclude'] ) ||
|
159 |
-
( $new_options['require_tax'] != $current_options['require_tax'] ) )
|
160 |
-
$this->cache->flush();
|
161 |
-
}
|
162 |
-
|
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 |
-
|
170 |
-
if ( is_null( $option ) )
|
171 |
-
return $options;
|
172 |
-
|
173 |
-
$optionpath = array();
|
174 |
-
$parsed_option = array();
|
175 |
-
wp_parse_str($option, $parsed_option);
|
176 |
-
$optionpath = $this->array_flatten($parsed_option);
|
177 |
-
|
178 |
-
$current = $options;
|
179 |
-
foreach ( $optionpath as $optionpart ) {
|
180 |
-
if ( !is_array($current) || !isset($current[$optionpart]) )
|
181 |
-
return null;
|
182 |
-
$current = $current[$optionpart];
|
183 |
-
}
|
184 |
-
return $current;
|
185 |
-
}
|
186 |
-
|
187 |
-
private function array_flatten($array, $given = array()) {
|
188 |
-
foreach ($array as $key => $val) {
|
189 |
-
$given[] = $key;
|
190 |
-
if ( is_array($val) )
|
191 |
-
$given = $this->array_flatten($val, $given);
|
192 |
-
}
|
193 |
-
return $given;
|
194 |
-
}
|
195 |
-
|
196 |
-
/*
|
197 |
-
* INFRASTRUCTURE
|
198 |
-
*/
|
199 |
-
|
200 |
-
function enabled() {
|
201 |
-
global $wpdb;
|
202 |
-
|
203 |
-
if ( $this->cache->is_enabled() === false )
|
204 |
-
return false;
|
205 |
-
|
206 |
-
if ( !$this->diagnostic_fulltext_disabled() )
|
207 |
-
return $this->diagnostic_fulltext_indices();
|
208 |
-
|
209 |
-
return true;
|
210 |
-
}
|
211 |
-
|
212 |
-
// @since 3.5.2: function to enforce YARPP setup
|
213 |
-
// if not ready, activate; else upgrade
|
214 |
-
function enforce() {
|
215 |
-
if ( !$this->enabled() )
|
216 |
-
$this->activate(); // activate calls upgrade later, so it's covered.
|
217 |
-
else
|
218 |
-
$this->upgrade();
|
219 |
-
|
220 |
-
if ( $this->get_option('optin') )
|
221 |
-
$this->optin_ping();
|
222 |
-
}
|
223 |
-
|
224 |
-
function activate() {
|
225 |
-
global $wpdb;
|
226 |
-
|
227 |
-
// if it's not known to be disabled, but the indexes aren't there:
|
228 |
-
if ( !$this->diagnostic_fulltext_disabled() && !$this->diagnostic_fulltext_indices() ) {
|
229 |
-
$this->enable_fulltext();
|
230 |
-
}
|
231 |
-
|
232 |
-
if ( $this->cache->is_enabled() === false ) {
|
233 |
-
// Run the cache abstraction's setup method.
|
234 |
-
$this->cache->setup();
|
235 |
-
}
|
236 |
-
|
237 |
-
// If we're not enabled, give up.
|
238 |
-
if ( !$this->enabled() )
|
239 |
-
return false;
|
240 |
-
|
241 |
-
if ( !get_option('yarpp_version') ) {
|
242 |
-
// new install
|
243 |
-
|
244 |
-
add_option( 'yarpp_version', YARPP_VERSION );
|
245 |
-
$this->version_info(true);
|
246 |
-
} else {
|
247 |
-
// upgrade
|
248 |
-
$this->upgrade();
|
249 |
-
}
|
250 |
-
|
251 |
-
return true;
|
252 |
-
}
|
253 |
-
|
254 |
-
/*
|
255 |
-
* DIAGNOSTICS
|
256 |
-
* @since 4 moved into separate functions. Note return value types can differ.
|
257 |
-
*/
|
258 |
-
|
259 |
-
function diagnostic_myisam_posts() {
|
260 |
-
global $wpdb;
|
261 |
-
$tables = $wpdb->get_results("show table status like '{$wpdb->posts}'");
|
262 |
-
foreach ($tables as $table) {
|
263 |
-
if ($table->Engine == 'MyISAM')
|
264 |
-
return true;
|
265 |
-
else
|
266 |
-
return $table->Engine;
|
267 |
-
}
|
268 |
-
return 'UNKNOWN';
|
269 |
-
}
|
270 |
-
|
271 |
-
function diagnostic_fulltext_disabled() {
|
272 |
-
return get_option( 'yarpp_fulltext_disabled', false );
|
273 |
-
}
|
274 |
-
|
275 |
-
function enable_fulltext( $override_myisam = false ) {
|
276 |
-
global $wpdb;
|
277 |
-
|
278 |
-
// todo: check the myisam_override option instead.
|
279 |
-
if ( !$override_myisam ) {
|
280 |
-
$table_type = $this->diagnostic_myisam_posts();
|
281 |
-
if ( $table_type !== true ) {
|
282 |
-
$this->disable_fulltext();
|
283 |
-
return;
|
284 |
-
}
|
285 |
-
}
|
286 |
-
|
287 |
-
// temporarily ensure that errors are not displayed:
|
288 |
-
$previous_value = $wpdb->hide_errors();
|
289 |
-
|
290 |
-
$wpdb->query("ALTER TABLE $wpdb->posts ADD FULLTEXT `yarpp_title` ( `post_title` )");
|
291 |
-
if ( !empty($wpdb->last_error) )
|
292 |
-
$this->disable_fulltext();
|
293 |
-
|
294 |
-
$wpdb->query("ALTER TABLE $wpdb->posts ADD FULLTEXT `yarpp_content` ( `post_content` )");
|
295 |
-
if ( !empty($wpdb->last_error) )
|
296 |
-
$this->disable_fulltext();
|
297 |
-
|
298 |
-
// restore previous setting
|
299 |
-
$wpdb->show_errors( $previous_value );
|
300 |
-
}
|
301 |
-
|
302 |
-
function disable_fulltext() {
|
303 |
-
if ( get_option( 'yarpp_fulltext_disabled', false ) == true )
|
304 |
-
return;
|
305 |
-
|
306 |
-
// rm title and body weights:
|
307 |
-
$weight = $this->get_option('weight');
|
308 |
-
unset($weight['title']);
|
309 |
-
unset($weight['body']);
|
310 |
-
$this->set_option(array('weight' => $weight));
|
311 |
-
|
312 |
-
// cut threshold by half:
|
313 |
-
$threshold = (float) $this->get_option('threshold');
|
314 |
-
$this->set_option(array('threshold' => round($threshold / 2) ));
|
315 |
-
|
316 |
-
update_option( 'yarpp_fulltext_disabled', true );
|
317 |
-
}
|
318 |
-
|
319 |
-
function diagnostic_fulltext_indices() {
|
320 |
-
global $wpdb;
|
321 |
-
$wpdb->get_results("show index from $wpdb->posts where Key_name = 'yarpp_title' or Key_name = 'yarpp_content'");
|
322 |
-
return ( $wpdb->num_rows >= 2 );
|
323 |
-
}
|
324 |
-
|
325 |
-
function diagnostic_hidden_metaboxes() {
|
326 |
-
global $wpdb;
|
327 |
-
$raw = $wpdb->get_var("select meta_value from $wpdb->usermeta where meta_key = 'metaboxhidden_settings_page_yarpp' order by length(meta_value) asc limit 1");
|
328 |
-
|
329 |
-
if ( !$raw )
|
330 |
-
return $this->default_hidden_metaboxes;
|
331 |
-
|
332 |
-
$list = maybe_unserialize( $raw );
|
333 |
-
if ( !is_array($list) )
|
334 |
-
return $this->default_hidden_metaboxes;
|
335 |
-
|
336 |
-
return implode('|', $list);
|
337 |
-
}
|
338 |
-
|
339 |
-
function diagnostic_post_thumbnails() {
|
340 |
-
return current_theme_supports( 'post-thumbnails', 'post' );
|
341 |
-
}
|
342 |
-
|
343 |
-
function diagnostic_custom_templates() {
|
344 |
-
return count( $this->admin->get_templates() );
|
345 |
-
}
|
346 |
-
|
347 |
-
function diagnostic_happy() {
|
348 |
-
$stats = $this->cache->stats();
|
349 |
-
|
350 |
-
if ( !(array_sum( $stats ) > 0) )
|
351 |
-
return false;
|
352 |
-
|
353 |
-
$sum = array_sum(array_map('array_product', array_map(null, array_values($stats), array_keys($stats))));
|
354 |
-
$avg = $sum / array_sum( $stats );
|
355 |
-
|
356 |
-
return $this->cache->cache_status() > 0.1 && $avg > 2;
|
357 |
-
}
|
358 |
-
|
359 |
-
function diagnostic_generate_thumbnails() {
|
360 |
-
return defined('YARPP_GENERATE_THUMBNAILS') && YARPP_GENERATE_THUMBNAILS;
|
361 |
-
}
|
362 |
-
|
363 |
-
private $default_dimensions = array(
|
364 |
-
'width' => 120,
|
365 |
-
'height' => 120,
|
366 |
-
'crop' => false, // @todo true for crop?
|
367 |
-
'size' => '120x120',
|
368 |
-
'_default' => true
|
369 |
-
);
|
370 |
-
|
371 |
-
function diagnostic_using_thumbnails() {
|
372 |
-
if ( $this->get_option( 'manually_using_thumbnails' ) )
|
373 |
-
return true;
|
374 |
-
if ( $this->get_option( 'template' ) == 'thumbnails' )
|
375 |
-
return true;
|
376 |
-
if ( $this->get_option( 'rss_template' ) == 'thumbnails' && $this->get_option( 'rss_display' ) )
|
377 |
-
return true;
|
378 |
-
return false;
|
379 |
-
}
|
380 |
-
|
381 |
-
function thumbnail_dimensions() {
|
382 |
-
global $_wp_additional_image_sizes;
|
383 |
-
if ( !isset($_wp_additional_image_sizes['yarpp-thumbnail']) )
|
384 |
-
return $this->default_dimensions;
|
385 |
-
|
386 |
-
$dimensions = $_wp_additional_image_sizes['yarpp-thumbnail'];
|
387 |
-
$dimensions['size'] = 'yarpp-thumbnail';
|
388 |
-
|
389 |
-
// ensure YARPP dimensions format:
|
390 |
-
$dimensions['width'] = (int) $dimensions['width'];
|
391 |
-
$dimensions['height'] = (int) $dimensions['height'];
|
392 |
-
return $dimensions;
|
393 |
-
}
|
394 |
-
|
395 |
-
function maybe_enqueue_thumbnails() {
|
396 |
-
if ( is_feed() )
|
397 |
-
return;
|
398 |
-
|
399 |
-
$auto_display_post_types = $this->get_option( 'auto_display_post_types' );
|
400 |
-
|
401 |
-
// if it's not an auto-display post type, return
|
402 |
-
if ( !in_array( get_post_type(), $auto_display_post_types ) )
|
403 |
-
return;
|
404 |
-
|
405 |
-
if ( !is_singular() && !(
|
406 |
-
$this->get_option('auto_display_archive') &&
|
407 |
-
( is_archive() || is_home() )
|
408 |
-
) )
|
409 |
-
return;
|
410 |
-
|
411 |
-
if ( $this->get_option('template') !== 'thumbnails' )
|
412 |
-
return;
|
413 |
-
|
414 |
-
$this->enqueue_thumbnails( $this->thumbnail_dimensions() );
|
415 |
-
}
|
416 |
-
|
417 |
-
function enqueue_thumbnails( $dimensions ) {
|
418 |
-
wp_enqueue_style( "yarpp-thumbnails-" . $dimensions['size'], plugins_url( 'styles-thumbnails.php?' . http_build_query( array( 'width' => $dimensions['width'], 'height' => $dimensions['height'] ) ), __FILE__ ), array(), YARPP_VERSION, 'all' );
|
419 |
-
}
|
420 |
-
|
421 |
-
// code based on Viper's Regenerate Thumbnails plugin
|
422 |
-
// $dimensions must be an array with size, crop, height, width attributes
|
423 |
-
function ensure_resized_post_thumbnail( $post_id, $dimensions ) {
|
424 |
-
$thumbnail_id = get_post_thumbnail_id( $post_id );
|
425 |
-
$downsized = image_downsize( $thumbnail_id, $dimensions['size'] );
|
426 |
-
if ( $dimensions['crop'] && $downsized[1] && $downsized[2] &&
|
427 |
-
( $downsized[1] != $dimensions['width'] || $downsized[2] != $dimensions['height'] ) ) {
|
428 |
-
// we want to trigger recomputation of the thumbnail here
|
429 |
-
// (only if downsized width and height are specified, for Photon behavior)
|
430 |
-
$fullsizepath = get_attached_file( $thumbnail_id );
|
431 |
-
if ( false !== $fullsizepath && file_exists( $fullsizepath ) ) {
|
432 |
-
require_once(ABSPATH . 'wp-admin/includes/image.php');
|
433 |
-
$metadata = wp_generate_attachment_metadata( $thumbnail_id, $fullsizepath );
|
434 |
-
if ( !is_wp_error( $metadata ) ) {
|
435 |
-
wp_update_attachment_metadata( $thumbnail_id, $metadata );
|
436 |
-
}
|
437 |
-
}
|
438 |
-
}
|
439 |
-
}
|
440 |
-
|
441 |
-
private $templates = null;
|
442 |
-
public function get_templates() {
|
443 |
-
if ( is_null($this->templates) ) {
|
444 |
-
$this->templates = glob(STYLESHEETPATH . '/yarpp-template-*.php');
|
445 |
-
// if glob hits an error, it returns false.
|
446 |
-
if ( $this->templates === false )
|
447 |
-
$this->templates = array();
|
448 |
-
// get basenames only
|
449 |
-
$this->templates = array_map(array($this, 'get_template_data'), $this->templates);
|
450 |
-
}
|
451 |
-
return (array) $this->templates;
|
452 |
-
}
|
453 |
-
|
454 |
-
public function get_template_data( $file ) {
|
455 |
-
$headers = array(
|
456 |
-
'name' => 'YARPP Template',
|
457 |
-
'description' => 'Description',
|
458 |
-
'author' => 'Author',
|
459 |
-
'uri' => 'Author URI',
|
460 |
-
);
|
461 |
-
$data = get_file_data( $file, $headers );
|
462 |
-
$data['file'] = $file;
|
463 |
-
$data['basename'] = basename($file);
|
464 |
-
if ( empty($data['name']) )
|
465 |
-
$data['name'] = $data['basename'];
|
466 |
-
return $data;
|
467 |
-
}
|
468 |
-
|
469 |
-
/*
|
470 |
-
* UPGRADE ROUTINES
|
471 |
-
*/
|
472 |
-
|
473 |
-
function upgrade() {
|
474 |
-
$last_version = get_option( 'yarpp_version' );
|
475 |
-
if (version_compare(YARPP_VERSION, $last_version) === 0)
|
476 |
-
return;
|
477 |
-
|
478 |
-
if ( $last_version && version_compare('3.4b2', $last_version) > 0 )
|
479 |
-
$this->upgrade_3_4b2();
|
480 |
-
if ( $last_version && version_compare('3.4b5', $last_version) > 0 )
|
481 |
-
$this->upgrade_3_4b5();
|
482 |
-
if ( $last_version && version_compare('3.4b8', $last_version) > 0 )
|
483 |
-
$this->upgrade_3_4b8();
|
484 |
-
if ( $last_version && version_compare('3.4.4b2', $last_version) > 0 )
|
485 |
-
$this->upgrade_3_4_4b2();
|
486 |
-
if ( $last_version && version_compare('3.4.4b3', $last_version) > 0 )
|
487 |
-
$this->upgrade_3_4_4b3();
|
488 |
-
if ( $last_version && version_compare('3.4.4b4', $last_version) > 0 )
|
489 |
-
$this->upgrade_3_4_4b4();
|
490 |
-
if ( $last_version && version_compare('3.5.2b2', $last_version) > 0 )
|
491 |
-
$this->upgrade_3_5_2b2();
|
492 |
-
if ( $last_version && version_compare('3.6b7', $last_version) > 0 )
|
493 |
-
$this->upgrade_3_6b7();
|
494 |
-
if ( $last_version && version_compare('4.0.1', $last_version) > 0 )
|
495 |
-
$this->upgrade_4_0_1();
|
496 |
-
|
497 |
-
$this->cache->upgrade($last_version);
|
498 |
-
// flush cache in 3.4.1b5 as 3.4 messed up calculations.
|
499 |
-
if ( $last_version && version_compare('3.4.1b5', $last_version) > 0 )
|
500 |
-
$this->cache->flush();
|
501 |
-
|
502 |
-
$this->version_info(true);
|
503 |
-
|
504 |
-
update_option( 'yarpp_version', YARPP_VERSION );
|
505 |
-
update_option( 'yarpp_upgraded', true );
|
506 |
-
$this->delete_transient( 'yarpp_optin' );
|
507 |
-
}
|
508 |
-
|
509 |
-
function upgrade_3_4b2() {
|
510 |
-
global $wpdb;
|
511 |
-
|
512 |
-
$yarpp_3_3_options = array(
|
513 |
-
'threshold' => 4,
|
514 |
-
'limit' => 4,
|
515 |
-
'template_file' => '', // new in 2.2
|
516 |
-
'excerpt_length' => 10,
|
517 |
-
'recent_number' => 12,
|
518 |
-
'recent_units' => 'month',
|
519 |
-
'before_title' => '<li>',
|
520 |
-
'after_title' => '</li>',
|
521 |
-
'before_post' => ' <small>',
|
522 |
-
'after_post' => '</small>',
|
523 |
-
'before_related' => '<h3>'.__('Related posts:','yarpp').'</h3><ol>',
|
524 |
-
'after_related' => '</ol>',
|
525 |
-
'no_results' => '<p>'.__('No related posts.','yarpp').'</p>',
|
526 |
-
'order' => 'score DESC',
|
527 |
-
'rss_limit' => 3,
|
528 |
-
'rss_template_file' => '', // new in 2.2
|
529 |
-
'rss_excerpt_length' => 10,
|
530 |
-
'rss_before_title' => '<li>',
|
531 |
-
'rss_after_title' => '</li>',
|
532 |
-
'rss_before_post' => ' <small>',
|
533 |
-
'rss_after_post' => '</small>',
|
534 |
-
'rss_before_related' => '<h3>'.__('Related posts:','yarpp').'</h3><ol>',
|
535 |
-
'rss_after_related' => '</ol>',
|
536 |
-
'rss_no_results' => '<p>'.__('No related posts.','yarpp').'</p>',
|
537 |
-
'rss_order' => 'score DESC',
|
538 |
-
'title' => '2',
|
539 |
-
'body' => '2',
|
540 |
-
'categories' => '1', // changed default in 3.3
|
541 |
-
'tags' => '2',
|
542 |
-
'distags' => '',
|
543 |
-
'discats' => '',
|
544 |
-
'past_only' => false,
|
545 |
-
'show_excerpt' => false,
|
546 |
-
'recent_only' => false, // new in 3.0
|
547 |
-
'use_template' => false, // new in 2.2
|
548 |
-
'rss_show_excerpt' => false,
|
549 |
-
'rss_use_template' => false, // new in 2.2
|
550 |
-
'show_pass_post' => false,
|
551 |
-
'cross_relate' => false,
|
552 |
-
'auto_display' => true,
|
553 |
-
'rss_display' => false, // changed default in 3.1.7
|
554 |
-
'rss_excerpt_display' => true,
|
555 |
-
'promote_yarpp' => false,
|
556 |
-
'rss_promote_yarpp' => false);
|
557 |
-
|
558 |
-
$yarpp_options = array();
|
559 |
-
foreach ( $yarpp_3_3_options as $key => $default ) {
|
560 |
-
$value = get_option( "yarpp_$key", null );
|
561 |
-
if ( is_null($value) )
|
562 |
-
continue;
|
563 |
-
|
564 |
-
if ( is_bool($default) ) {
|
565 |
-
$yarpp_options[$key] = (boolean) $value;
|
566 |
-
continue;
|
567 |
-
}
|
568 |
-
|
569 |
-
// value options used to be stored with a bajillion slashes...
|
570 |
-
$value = stripslashes(stripslashes($value));
|
571 |
-
// value options used to be stored with a blank space at the end... don't ask.
|
572 |
-
$value = rtrim($value, ' ');
|
573 |
-
|
574 |
-
if ( is_int($default) )
|
575 |
-
$yarpp_options[$key] = absint($value);
|
576 |
-
else
|
577 |
-
$yarpp_options[$key] = $value;
|
578 |
-
}
|
579 |
-
|
580 |
-
// add the options directly first, then call set_option which will ensure defaults,
|
581 |
-
// in case any new options have been added.
|
582 |
-
update_option( 'yarpp', $yarpp_options );
|
583 |
-
$this->set_option( $yarpp_options );
|
584 |
-
|
585 |
-
$option_keys = array_keys( $yarpp_options );
|
586 |
-
// append some keys for options which are long deprecated:
|
587 |
-
$option_keys[] = 'ad_hoc_caching';
|
588 |
-
$option_keys[] = 'excerpt_len';
|
589 |
-
$option_keys[] = 'show_score';
|
590 |
-
if ( count($option_keys) ) {
|
591 |
-
$in = "('yarpp_" . join("', 'yarpp_", $option_keys) . "')";
|
592 |
-
$wpdb->query("delete from {$wpdb->options} where option_name in {$in}");
|
593 |
-
}
|
594 |
-
}
|
595 |
-
|
596 |
-
function upgrade_3_4b5() {
|
597 |
-
$options = $this->get_option();
|
598 |
-
$options['exclude'] = array(
|
599 |
-
'post_tag' => $options['distags'],
|
600 |
-
'category' => $options['discats']
|
601 |
-
);
|
602 |
-
unset( $options['distags'] );
|
603 |
-
unset( $options['discats'] );
|
604 |
-
update_option( 'yarpp', $options );
|
605 |
-
}
|
606 |
-
|
607 |
-
function upgrade_3_4b8() {
|
608 |
-
$options = $this->get_option();
|
609 |
-
$options['weight'] = array(
|
610 |
-
'title' => (int) @$options['title'],
|
611 |
-
'body' => (int) @$options['body'],
|
612 |
-
'tax' => array(
|
613 |
-
'post_tag' => (int) @$options['tags'],
|
614 |
-
'category' => (int) @$options['categories'],
|
615 |
-
)
|
616 |
-
);
|
617 |
-
|
618 |
-
// ensure that we consider something
|
619 |
-
if ( $options['weight']['title'] < 2 &&
|
620 |
-
$options['weight']['body'] < 2 &&
|
621 |
-
$options['weight']['tax']['post_tag'] < 2 &&
|
622 |
-
$options['weight']['tax']['category'] < 2 )
|
623 |
-
$options['weight'] = $this->default_options['weight'];
|
624 |
-
|
625 |
-
unset( $options['title'] );
|
626 |
-
unset( $options['body'] );
|
627 |
-
unset( $options['tags'] );
|
628 |
-
unset( $options['categories'] );
|
629 |
-
update_option( 'yarpp', $options );
|
630 |
-
}
|
631 |
-
|
632 |
-
function upgrade_3_4_4b2() {
|
633 |
-
$options = $this->get_option();
|
634 |
-
|
635 |
-
// update weight values; split out tax weights into weight[tax] and require_tax
|
636 |
-
$weight_map = array( 2 => 1, 3 => YARPP_EXTRA_WEIGHT );
|
637 |
-
if ((int) $options['weight']['title'] == 1)
|
638 |
-
unset( $options['weight']['title'] );
|
639 |
-
else
|
640 |
-
$options['weight']['title'] = $weight_map[(int) $options['weight']['title']];
|
641 |
-
|
642 |
-
if ((int) $options['weight']['body'] == 1)
|
643 |
-
unset( $options['weight']['body'] );
|
644 |
-
else
|
645 |
-
$options['weight']['body'] = $weight_map[(int) $options['weight']['body']];
|
646 |
-
|
647 |
-
$options['require_tax'] = array();
|
648 |
-
foreach ( $options['weight']['tax'] as $tax => $value ) {
|
649 |
-
if ( $value == 3 )
|
650 |
-
$options['require_tax'][$tax] = 1;
|
651 |
-
if ( $value == 4 )
|
652 |
-
$options['require_tax'][$tax] = 2;
|
653 |
-
|
654 |
-
if ( $value > 1 )
|
655 |
-
$options['weight']['tax'][$tax] = 1;
|
656 |
-
else
|
657 |
-
unset( $options['weight']['tax'][$tax] );
|
658 |
-
}
|
659 |
-
|
660 |
-
// consolidate excludes, using tt_ids.
|
661 |
-
$exclude_tt_ids = array();
|
662 |
-
if ( isset($options['exclude']) && is_array($options['exclude']) ) {
|
663 |
-
foreach ($options['exclude'] as $tax => $term_ids) {
|
664 |
-
if ( !empty($term_ids) )
|
665 |
-
$exclude_tt_ids = array_merge( wp_list_pluck(get_terms( $tax, array('include' => $term_ids) ), 'term_taxonomy_id'), $exclude_tt_ids );
|
666 |
-
}
|
667 |
-
}
|
668 |
-
$options['exclude'] = join(',', $exclude_tt_ids);
|
669 |
-
|
670 |
-
update_option( 'yarpp', $options );
|
671 |
-
}
|
672 |
-
|
673 |
-
function upgrade_3_4_4b3() {
|
674 |
-
$options = $this->get_option();
|
675 |
-
$options['template'] = $options['use_template'] ? $options['template_file'] : false;
|
676 |
-
$options['rss_template'] = $options['rss_use_template'] ? $options['rss_template_file'] : false;
|
677 |
-
unset( $options['use_template'] );
|
678 |
-
unset( $options['template_file'] );
|
679 |
-
unset( $options['rss_use_template'] );
|
680 |
-
unset( $options['rss_template_file'] );
|
681 |
-
update_option( 'yarpp', $options );
|
682 |
-
}
|
683 |
-
|
684 |
-
function upgrade_3_4_4b4() {
|
685 |
-
$options = $this->get_option();
|
686 |
-
$options['recent'] = $options['recent_only'] ?
|
687 |
-
$options['recent_number'] . ' ' . $options['recent_units'] : false;
|
688 |
-
unset( $options['recent_only'] );
|
689 |
-
unset( $options['recent_number'] );
|
690 |
-
unset( $options['recent_units'] );
|
691 |
-
update_option( 'yarpp', $options );
|
692 |
-
}
|
693 |
-
|
694 |
-
function upgrade_3_5_2b2() {
|
695 |
-
// fixing the effects of a previous bug affecting non-MyISAM users
|
696 |
-
if ( is_null( $this->get_option('weight') ) ||
|
697 |
-
!is_array( $this->get_option('weight') ) ) {
|
698 |
-
$weight = $this->default_options['weight'];
|
699 |
-
// if we're still not using MyISAM
|
700 |
-
if ( !$this->get_option('myisam_override') &&
|
701 |
-
$this->diagnostic_myisam_posts() !== true ) {
|
702 |
-
unset( $weight['title'] );
|
703 |
-
unset( $weight['body'] );
|
704 |
-
}
|
705 |
-
$this->set_option(array('weight' => $weight));
|
706 |
-
}
|
707 |
-
}
|
708 |
-
|
709 |
-
function upgrade_3_6b7() {
|
710 |
-
// migrate auto_display setting to auto_display_post_types
|
711 |
-
$options = $this->get_option();
|
712 |
-
$options['auto_display_post_types'] = $options['auto_display'] ?
|
713 |
-
array( 'post' ) : array();
|
714 |
-
unset( $options['auto_display'] );
|
715 |
-
update_option( 'yarpp', $options );
|
716 |
-
}
|
717 |
-
|
718 |
-
function upgrade_4_0_1() {
|
719 |
-
delete_transient('yarpp_version_info');
|
720 |
-
}
|
721 |
-
|
722 |
-
/*
|
723 |
-
* UTILITIES
|
724 |
-
*/
|
725 |
-
|
726 |
-
private $current_post;
|
727 |
-
private $current_query;
|
728 |
-
private $current_pagenow;
|
729 |
-
// so we can return to normal later
|
730 |
-
function save_post_context() {
|
731 |
-
global $wp_query, $pagenow, $post;
|
732 |
-
$this->current_query = $wp_query;
|
733 |
-
$this->current_pagenow = $pagenow;
|
734 |
-
$this->current_post = $post;
|
735 |
-
}
|
736 |
-
function restore_post_context() {
|
737 |
-
global $wp_query, $pagenow, $post;
|
738 |
-
$wp_query = $this->current_query; unset($this->current_query);
|
739 |
-
$pagenow = $this->current_pagenow; unset($this->current_pagenow);
|
740 |
-
if ( isset($this->current_post) ) {
|
741 |
-
$post = $this->current_post;
|
742 |
-
setup_postdata( $post );
|
743 |
-
unset($this->current_post);
|
744 |
-
}
|
745 |
-
}
|
746 |
-
|
747 |
-
private $post_types = null;
|
748 |
-
function get_post_types( $field = 'name' ) {
|
749 |
-
if ( is_null($this->post_types) ) {
|
750 |
-
$this->post_types = get_post_types(array(), 'objects');
|
751 |
-
$this->post_types = array_filter( $this->post_types, array($this, 'post_type_filter') );
|
752 |
-
}
|
753 |
-
|
754 |
-
if ( 'objects' == $field )
|
755 |
-
return $this->post_types;
|
756 |
-
return wp_list_pluck( $this->post_types, $field );
|
757 |
-
}
|
758 |
-
|
759 |
-
private function post_type_filter( $post_type ) {
|
760 |
-
if ( $post_type->_builtin && $post_type->show_ui )
|
761 |
-
return true;
|
762 |
-
if ( isset($post_type->yarpp_support) )
|
763 |
-
return $post_type->yarpp_support;
|
764 |
-
return false;
|
765 |
-
}
|
766 |
-
|
767 |
-
private $taxonomies = null;
|
768 |
-
function get_taxonomies( $field = false ) {
|
769 |
-
if ( is_null($this->taxonomies) ) {
|
770 |
-
$this->taxonomies = get_taxonomies(array(), 'objects');
|
771 |
-
$this->taxonomies = array_filter( $this->taxonomies, array($this, 'taxonomy_filter') );
|
772 |
-
}
|
773 |
-
|
774 |
-
if ( $field )
|
775 |
-
return wp_list_pluck( $this->taxonomies, $field );
|
776 |
-
return $this->taxonomies;
|
777 |
-
}
|
778 |
-
|
779 |
-
private function taxonomy_filter( $taxonomy ) {
|
780 |
-
if ( !count(array_intersect( $taxonomy->object_type, $this->get_post_types() )) )
|
781 |
-
return false;
|
782 |
-
|
783 |
-
// if yarpp_support is set, follow that; otherwise include if show_ui is true
|
784 |
-
if ( isset($taxonomy->yarpp_support) )
|
785 |
-
return $taxonomy->yarpp_support;
|
786 |
-
return $taxonomy->show_ui;
|
787 |
-
}
|
788 |
-
|
789 |
-
public function optin_data() {
|
790 |
-
global $wpdb;
|
791 |
-
|
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',
|
800 |
-
'template', 'rss_template', 'show_pass_post', 'cross_relate',
|
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',
|
808 |
-
'rss_after_title', 'rss_before_post', 'rss_after_post', 'rss_after_related',
|
809 |
-
'rss_no_results', 'rss_order', 'exclude', 'thumbnails_heading',
|
810 |
-
'thumbnails_default', 'rss_thumbnails_heading', 'rss_thumbnails_default', 'display_code'
|
811 |
-
);
|
812 |
-
|
813 |
-
$data = array(
|
814 |
-
'versions' => array(
|
815 |
-
'yarpp' => YARPP_VERSION,
|
816 |
-
'wp' => get_bloginfo( 'version' ),
|
817 |
-
'php' => phpversion()
|
818 |
-
),
|
819 |
-
'yarpp' => array(
|
820 |
-
'settings' => array_intersect_key( $settings, $collect ),
|
821 |
-
'cache_engine' => YARPP_CACHE_TYPE
|
822 |
-
),
|
823 |
-
'diagnostics' => array(
|
824 |
-
'myisam_posts' => $this->diagnostic_myisam_posts(),
|
825 |
-
'fulltext_disabled' => $this->diagnostic_fulltext_disabled(),
|
826 |
-
'fulltext_indices' => $this->diagnostic_fulltext_indices(),
|
827 |
-
'hidden_metaboxes' => $this->diagnostic_hidden_metaboxes(),
|
828 |
-
'post_thumbnails' => $this->diagnostic_post_thumbnails(),
|
829 |
-
'happy' => $this->diagnostic_happy(),
|
830 |
-
'using_thumbnails' => $this->diagnostic_using_thumbnails(),
|
831 |
-
'generate_thumbnails' => $this->diagnostic_generate_thumbnails(),
|
832 |
-
),
|
833 |
-
'stats' => array(
|
834 |
-
'counts' => array(),
|
835 |
-
'terms' => array(),
|
836 |
-
'comments' => array(
|
837 |
-
'moderated' => $comments->moderated,
|
838 |
-
'approved' => $comments->approved,
|
839 |
-
'total' => $comments->total_comments,
|
840 |
-
'posts' => $wpdb->get_var( "select count(ID) from $wpdb->posts where post_type = 'post' and comment_count > 0" )
|
841 |
-
),
|
842 |
-
'users' => $wpdb->get_var("select count(ID) from $wpdb->users"),
|
843 |
-
),
|
844 |
-
'locale' => get_bloginfo( 'language' ),
|
845 |
-
'url' => get_bloginfo('url'),
|
846 |
-
'plugins' => array(
|
847 |
-
'active' => implode( '|', get_option( 'active_plugins', array() ) ),
|
848 |
-
'sitewide' => implode( '|', array_keys( get_site_option( 'active_sitewide_plugins', array() ) ) )
|
849 |
-
),
|
850 |
-
'pools' => $settings['pools']
|
851 |
-
);
|
852 |
-
$data['yarpp']['settings']['auto_display_post_types'] = implode( '|', $settings['auto_display_post_types'] );
|
853 |
-
|
854 |
-
$changed = array();
|
855 |
-
foreach ( $check_changed as $key ) {
|
856 |
-
if ( $this->default_options[$key] != $settings[$key] )
|
857 |
-
$changed[] = $key;
|
858 |
-
}
|
859 |
-
foreach ( array( 'before_related', 'rss_before_related' ) as $key ) {
|
860 |
-
if ( $settings[$key] != '<p>'.__('Related posts:','yarpp').'</p><ol>' &&
|
861 |
-
$settings[$key] != $this->default_options[$key] )
|
862 |
-
$changed[] = $key;
|
863 |
-
}
|
864 |
-
$data['yarpp']['changed_settings'] = implode( '|', $changed );
|
865 |
-
|
866 |
-
if ( method_exists( $this->cache, 'cache_status' ) )
|
867 |
-
$data['yarpp']['cache_status'] = $this->cache->cache_status();
|
868 |
-
if ( method_exists( $this->cache, 'stats' ) ) {
|
869 |
-
$stats = $this->cache->stats();
|
870 |
-
$flattened = array();
|
871 |
-
foreach ( $stats as $key => $value )
|
872 |
-
$flattened[] = "$key:$value";
|
873 |
-
$data['yarpp']['stats'] = implode( '|', $flattened );
|
874 |
-
}
|
875 |
-
|
876 |
-
if ( method_exists( $wpdb, 'db_version' ) )
|
877 |
-
$data['versions']['mysql'] = preg_replace('/[^0-9.].*/', '', $wpdb->db_version());
|
878 |
-
|
879 |
-
$counts = array();
|
880 |
-
foreach (get_post_types( array('public' => true) ) as $post_type) {
|
881 |
-
$counts[$post_type] = wp_count_posts($post_type);
|
882 |
-
}
|
883 |
-
$data['stats']['counts'] = wp_list_pluck($counts, 'publish');
|
884 |
-
|
885 |
-
foreach (get_taxonomies( array('public' => true) ) as $taxonomy) {
|
886 |
-
$data['stats']['terms'][$taxonomy] = wp_count_terms($taxonomy);
|
887 |
-
}
|
888 |
-
|
889 |
-
if ( is_multisite() ) {
|
890 |
-
$data['multisite'] = array(
|
891 |
-
'url' => network_site_url(),
|
892 |
-
'users' => get_user_count(),
|
893 |
-
'sites' => get_blog_count()
|
894 |
-
);
|
895 |
-
}
|
896 |
-
|
897 |
-
// $this->pretty_echo($data);
|
898 |
-
return $data;
|
899 |
-
}
|
900 |
-
|
901 |
-
function pretty_echo( $data ) {
|
902 |
-
echo "<pre>";
|
903 |
-
$formatted = print_r($data, true);
|
904 |
-
$formatted = str_replace(array('Array', '(', ')', "\n "), array('', '', '', "\n"), $formatted);
|
905 |
-
echo preg_replace("/\n\s*\n/u", "\n", $formatted);
|
906 |
-
echo "</pre>";
|
907 |
-
}
|
908 |
-
|
909 |
-
/*
|
910 |
-
* CORE LOOKUP + DISPLAY FUNCTIONS
|
911 |
-
*/
|
912 |
-
|
913 |
-
/* new in 2.1! the domain argument refers to {website,widget,rss} */
|
914 |
-
/* new in 3.0! new query-based approach: EXTREMELY HACKY! */
|
915 |
-
/*
|
916 |
-
* @param (int) $reference_ID
|
917 |
-
* @param (array) $args
|
918 |
-
* @param (bool) $echo
|
919 |
-
*/
|
920 |
-
function display_related($reference_ID = null, $args = array(), $echo = true) {
|
921 |
-
// if we're already in a YARPP loop, stop now.
|
922 |
-
if ( $this->cache->is_yarpp_time() || $this->cache_bypass->is_yarpp_time() )
|
923 |
-
return false;
|
924 |
-
|
925 |
-
$this->enforce();
|
926 |
-
|
927 |
-
if ( is_numeric( $reference_ID ) )
|
928 |
-
$reference_ID = (int) $reference_ID;
|
929 |
-
else
|
930 |
-
$reference_ID = get_the_ID();
|
931 |
-
|
932 |
-
// @since 3.5.3: don't compute on revisions
|
933 |
-
if ( $the_post = wp_is_post_revision($reference_ID) )
|
934 |
-
$reference_ID = $the_post;
|
935 |
-
|
936 |
-
$this->setup_active_cache( $args );
|
937 |
-
|
938 |
-
$options = array( 'domain', 'limit', 'template', 'order', 'promote_yarpp', 'optin' );
|
939 |
-
extract( $this->parse_args( $args, $options ) );
|
940 |
-
|
941 |
-
$cache_status = $this->active_cache->enforce($reference_ID);
|
942 |
-
// If cache status is YARPP_DONT_RUN, end here without returning or echoing anything.
|
943 |
-
if ( YARPP_DONT_RUN == $cache_status )
|
944 |
-
return;
|
945 |
-
|
946 |
-
if ( YARPP_NO_RELATED == $cache_status ) {
|
947 |
-
// There are no results, so no yarpp time for us... :'(
|
948 |
-
} else {
|
949 |
-
// Get ready for YARPP TIME!
|
950 |
-
$this->active_cache->begin_yarpp_time($reference_ID, $args);
|
951 |
-
}
|
952 |
-
|
953 |
-
$this->save_post_context();
|
954 |
-
|
955 |
-
global $wp_query;
|
956 |
-
$wp_query = new WP_Query();
|
957 |
-
if ( YARPP_NO_RELATED == $cache_status ) {
|
958 |
-
// If there are no related posts, get no query
|
959 |
-
} else {
|
960 |
-
$orders = explode(' ',$order);
|
961 |
-
$wp_query->query(array(
|
962 |
-
'p' => $reference_ID,
|
963 |
-
'orderby' => $orders[0],
|
964 |
-
'order' => $orders[1],
|
965 |
-
'showposts' => $limit,
|
966 |
-
'post_type' => ( isset($args['post_type']) ? $args['post_type'] : $this->get_post_types() )
|
967 |
-
));
|
968 |
-
}
|
969 |
-
$this->prep_query( $this->current_query->is_feed );
|
970 |
-
|
971 |
-
$wp_query->posts = apply_filters('yarpp_results', $wp_query->posts, array(
|
972 |
-
'function' => 'display_related',
|
973 |
-
'args' => $args,
|
974 |
-
'related_ID' => $reference_ID));
|
975 |
-
|
976 |
-
$related_query = $wp_query; // backwards compatibility
|
977 |
-
$related_count = $related_query->post_count;
|
978 |
-
|
979 |
-
$output = "<div class='";
|
980 |
-
if ( 'website' == $domain )
|
981 |
-
$output .= "yarpp-related";
|
982 |
-
else
|
983 |
-
$output .= "yarpp-related-{$domain}";
|
984 |
-
if ( 1 > $related_count )
|
985 |
-
$output .= " yarpp-related-none";
|
986 |
-
$output .= "'>\n";
|
987 |
-
|
988 |
-
if ( 'metabox' == $domain ) {
|
989 |
-
include(YARPP_DIR . '/template-metabox.php');
|
990 |
-
} elseif ( !!$template && 'thumbnails' == $template ) {
|
991 |
-
include(YARPP_DIR . '/template-thumbnails.php');
|
992 |
-
} elseif ( !!$template && file_exists(STYLESHEETPATH . '/' . $template) ) {
|
993 |
-
global $post;
|
994 |
-
ob_start();
|
995 |
-
include(STYLESHEETPATH . '/' . $template);
|
996 |
-
$output .= ob_get_contents();
|
997 |
-
ob_end_clean();
|
998 |
-
} elseif ( 'widget' == $domain ) {
|
999 |
-
include(YARPP_DIR . '/template-widget.php');
|
1000 |
-
} else {
|
1001 |
-
include(YARPP_DIR . '/template-builtin.php');
|
1002 |
-
}
|
1003 |
-
$output = trim($output) . "\n";
|
1004 |
-
|
1005 |
-
if ( YARPP_NO_RELATED == $cache_status ) {
|
1006 |
-
// Uh, do nothing. Stay very still.
|
1007 |
-
} else {
|
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
|
1036 |
-
* @param (array) $args
|
1037 |
-
*/
|
1038 |
-
function get_related($reference_ID = null, $args = array()) {
|
1039 |
-
// if we're already in a YARPP loop, stop now.
|
1040 |
-
if ( $this->cache->is_yarpp_time() || $this->cache_bypass->is_yarpp_time() )
|
1041 |
-
return false;
|
1042 |
-
|
1043 |
-
$this->enforce();
|
1044 |
-
|
1045 |
-
if ( is_numeric( $reference_ID ) )
|
1046 |
-
$reference_ID = (int) $reference_ID;
|
1047 |
-
else
|
1048 |
-
$reference_ID = get_the_ID();
|
1049 |
-
|
1050 |
-
// @since 3.5.3: don't compute on revisions
|
1051 |
-
if ( $the_post = wp_is_post_revision($reference_ID) )
|
1052 |
-
$reference_ID = $the_post;
|
1053 |
-
|
1054 |
-
$this->setup_active_cache( $args );
|
1055 |
-
|
1056 |
-
$options = array( 'limit', 'order' );
|
1057 |
-
extract( $this->parse_args( $args, $options ) );
|
1058 |
-
|
1059 |
-
$cache_status = $this->active_cache->enforce($reference_ID);
|
1060 |
-
if ( YARPP_DONT_RUN == $cache_status || YARPP_NO_RELATED == $cache_status )
|
1061 |
-
return array();
|
1062 |
-
|
1063 |
-
// Get ready for YARPP TIME!
|
1064 |
-
$this->active_cache->begin_yarpp_time($reference_ID, $args);
|
1065 |
-
|
1066 |
-
$related_query = new WP_Query();
|
1067 |
-
$orders = explode(' ',$order);
|
1068 |
-
$related_query->query(array(
|
1069 |
-
'p' => $reference_ID,
|
1070 |
-
'orderby' => $orders[0],
|
1071 |
-
'order' => $orders[1],
|
1072 |
-
'showposts' => $limit,
|
1073 |
-
'post_type' => ( isset($args['post_type']) ? $args['post_type'] : $this->get_post_types() )
|
1074 |
-
));
|
1075 |
-
|
1076 |
-
$related_query->posts = apply_filters('yarpp_results', $related_query->posts, array(
|
1077 |
-
'function' => 'get_related',
|
1078 |
-
'args' => $args,
|
1079 |
-
'related_ID' => $reference_ID));
|
1080 |
-
|
1081 |
-
$this->active_cache->end_yarpp_time(); // YARPP time is over... :(
|
1082 |
-
|
1083 |
-
return $related_query->posts;
|
1084 |
-
}
|
1085 |
-
|
1086 |
-
/*
|
1087 |
-
* @param (int) $reference_ID
|
1088 |
-
* @param (array) $args
|
1089 |
-
*/
|
1090 |
-
function related_exist($reference_ID = null, $args = array()) {
|
1091 |
-
// if we're already in a YARPP loop, stop now.
|
1092 |
-
if ( $this->cache->is_yarpp_time() || $this->cache_bypass->is_yarpp_time() )
|
1093 |
-
return false;
|
1094 |
-
|
1095 |
-
$this->enforce();
|
1096 |
-
|
1097 |
-
if ( is_numeric( $reference_ID ) )
|
1098 |
-
$reference_ID = (int) $reference_ID;
|
1099 |
-
else
|
1100 |
-
$reference_ID = get_the_ID();
|
1101 |
-
|
1102 |
-
// @since 3.5.3: don't compute on revisions
|
1103 |
-
if ( $the_post = wp_is_post_revision($reference_ID) )
|
1104 |
-
$reference_ID = $the_post;
|
1105 |
-
|
1106 |
-
$this->setup_active_cache( $args );
|
1107 |
-
|
1108 |
-
$cache_status = $this->active_cache->enforce($reference_ID);
|
1109 |
-
|
1110 |
-
if ( YARPP_NO_RELATED == $cache_status )
|
1111 |
-
return false;
|
1112 |
-
|
1113 |
-
$this->active_cache->begin_yarpp_time($reference_ID, $args); // get ready for YARPP TIME!
|
1114 |
-
$related_query = new WP_Query();
|
1115 |
-
$related_query->query(array(
|
1116 |
-
'p' => $reference_ID,
|
1117 |
-
'showposts' => 1,
|
1118 |
-
'post_type' => ( isset($args['post_type']) ? $args['post_type'] : $this->get_post_types() )
|
1119 |
-
));
|
1120 |
-
|
1121 |
-
$related_query->posts = apply_filters('yarpp_results', $related_query->posts, array(
|
1122 |
-
'function' => 'related_exist',
|
1123 |
-
'args' => $args,
|
1124 |
-
'related_ID' => $reference_ID));
|
1125 |
-
|
1126 |
-
$return = $related_query->have_posts();
|
1127 |
-
unset($related_query);
|
1128 |
-
$this->active_cache->end_yarpp_time(); // YARPP time is over. :(
|
1129 |
-
|
1130 |
-
return $return;
|
1131 |
-
}
|
1132 |
-
|
1133 |
-
/*
|
1134 |
-
* @param (array) $args
|
1135 |
-
* @param (bool) $echo
|
1136 |
-
*/
|
1137 |
-
function display_demo_related($args = array(), $echo = true) {
|
1138 |
-
if ( $this->cache_bypass->demo_time ) // if we're already in a demo YARPP loop, stop now.
|
1139 |
-
return false;
|
1140 |
-
|
1141 |
-
$options = array( 'domain', 'limit', 'template', 'order', 'promote_yarpp' );
|
1142 |
-
extract( $this->parse_args( $args, $options ) );
|
1143 |
-
|
1144 |
-
$this->cache_bypass->begin_demo_time( $limit );
|
1145 |
-
|
1146 |
-
$output = "<div class='";
|
1147 |
-
if ( 'website' == $domain )
|
1148 |
-
$output .= "yarpp-related";
|
1149 |
-
else
|
1150 |
-
$output .= "yarpp-related-{$domain}";
|
1151 |
-
$output .= "'>\n";
|
1152 |
-
|
1153 |
-
global $wp_query;
|
1154 |
-
$wp_query = new WP_Query();
|
1155 |
-
$wp_query->query('');
|
1156 |
-
|
1157 |
-
$this->prep_query( $domain == 'rss' );
|
1158 |
-
$related_query = $wp_query; // backwards compatibility
|
1159 |
-
|
1160 |
-
if ( !!$template && 'thumbnails' == $template ) {
|
1161 |
-
include(YARPP_DIR . '/template-thumbnails.php');
|
1162 |
-
} elseif ( !!$template && file_exists(STYLESHEETPATH . '/' . $template) ) {
|
1163 |
-
global $post;
|
1164 |
-
ob_start();
|
1165 |
-
include(STYLESHEETPATH . '/' . $template);
|
1166 |
-
$output .= ob_get_contents();
|
1167 |
-
ob_end_clean();
|
1168 |
-
} else {
|
1169 |
-
include(YARPP_DIR.'/template-builtin.php');
|
1170 |
-
}
|
1171 |
-
$output = trim($output) . "\n";
|
1172 |
-
|
1173 |
-
$this->cache_bypass->end_demo_time();
|
1174 |
-
|
1175 |
-
if ($promote_yarpp)
|
1176 |
-
$output .= "<p>".sprintf(__("Related posts brought to you by <a href='%s'>Yet Another Related Posts Plugin</a>.",'yarpp'), 'http://yarpp.org')."</p>\n";
|
1177 |
-
|
1178 |
-
$output .= "</div>";
|
1179 |
-
|
1180 |
-
if ( $echo )
|
1181 |
-
echo $output;
|
1182 |
-
return $output;
|
1183 |
-
}
|
1184 |
-
|
1185 |
-
public function parse_args( $args, $options ) {
|
1186 |
-
$options_with_rss_variants = array(
|
1187 |
-
'limit', 'template', 'excerpt_length', 'before_title',
|
1188 |
-
'after_title', 'before_post', 'after_post', 'before_related',
|
1189 |
-
'after_related', 'no_results', 'order', 'promote_yarpp',
|
1190 |
-
'thumbnails_heading', 'thumbnails_default' );
|
1191 |
-
|
1192 |
-
if ( !isset($args['domain']) )
|
1193 |
-
$args['domain'] = 'website';
|
1194 |
-
|
1195 |
-
$r = array();
|
1196 |
-
foreach ( $options as $option ) {
|
1197 |
-
if ( 'rss' == $args['domain'] &&
|
1198 |
-
in_array( $option, $options_with_rss_variants ) )
|
1199 |
-
$default = $this->get_option( 'rss_' . $option );
|
1200 |
-
else
|
1201 |
-
$default = $this->get_option( $option );
|
1202 |
-
|
1203 |
-
if ( isset($args[$option]) && $args[$option] !== $default ) {
|
1204 |
-
$r[$option] = $args[$option];
|
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 |
-
}
|
1214 |
-
|
1215 |
-
private function setup_active_cache( $args ) {
|
1216 |
-
// the options which the main sql query cares about:
|
1217 |
-
$magic_options = array( 'limit', 'threshold', 'show_pass_post', 'past_only', 'weight', 'exclude', 'require_tax', 'recent' );
|
1218 |
-
|
1219 |
-
$defaults = $this->get_option();
|
1220 |
-
foreach ( $magic_options as $option ) {
|
1221 |
-
if ( !isset($args[$option]) )
|
1222 |
-
continue;
|
1223 |
-
|
1224 |
-
// limit is a little different... if it's less than what we cache,
|
1225 |
-
// let it go.
|
1226 |
-
if ( 'limit' == $option &&
|
1227 |
-
$args[$option] <= max($defaults['limit'], $defaults['rss_limit']) )
|
1228 |
-
continue;
|
1229 |
-
|
1230 |
-
if ( $args[$option] !== $defaults[$option] ) {
|
1231 |
-
$this->active_cache = $this->cache_bypass;
|
1232 |
-
return;
|
1233 |
-
}
|
1234 |
-
}
|
1235 |
-
$this->active_cache = $this->cache;
|
1236 |
-
}
|
1237 |
-
|
1238 |
-
private function prep_query( $is_feed = false ) {
|
1239 |
-
global $wp_query;
|
1240 |
-
$wp_query->in_the_loop = true;
|
1241 |
-
$wp_query->is_feed = $is_feed;
|
1242 |
-
// make sure we get the right is_single value
|
1243 |
-
// (see http://wordpress.org/support/topic/288230)
|
1244 |
-
$wp_query->is_single = false;
|
1245 |
-
}
|
1246 |
-
|
1247 |
-
/*
|
1248 |
-
* DEFAULT CONTENT FILTERS
|
1249 |
-
*/
|
1250 |
-
|
1251 |
-
function the_content($content) {
|
1252 |
-
// this filter doesn't handle feeds
|
1253 |
-
if ( is_feed() )
|
1254 |
-
return $content;
|
1255 |
-
|
1256 |
-
$auto_display_post_types = $this->get_option( 'auto_display_post_types' );
|
1257 |
-
|
1258 |
-
// if it's not an auto-display post type, return
|
1259 |
-
if ( !in_array( get_post_type(), $auto_display_post_types ) )
|
1260 |
-
return $content;
|
1261 |
-
|
1262 |
-
if ( !is_singular() && !(
|
1263 |
-
$this->get_option('auto_display_archive') &&
|
1264 |
-
( is_archive() || is_home() )
|
1265 |
-
) )
|
1266 |
-
return $content;
|
1267 |
-
|
1268 |
-
// if the content includes <!--noyarpp-->, don't display
|
1269 |
-
if ( stristr($content, '<!--noyarpp-->') !== false )
|
1270 |
-
return $content;
|
1271 |
-
|
1272 |
-
if ( $this->get_option('cross_relate') )
|
1273 |
-
$post_types = $this->get_post_types();
|
1274 |
-
else
|
1275 |
-
$post_types = array( get_post_type() );
|
1276 |
-
|
1277 |
-
$post_types = apply_filters( 'yarpp_map_post_types', $post_types, 'website' );
|
1278 |
-
|
1279 |
-
return $content . $this->display_related(null, array(
|
1280 |
-
'post_type' => $post_types,
|
1281 |
-
'domain' => 'website'
|
1282 |
-
), false);
|
1283 |
-
}
|
1284 |
-
|
1285 |
-
function the_content_feed($content) {
|
1286 |
-
if ( !$this->get_option('rss_display') )
|
1287 |
-
return $content;
|
1288 |
-
|
1289 |
-
// if the content includes <!--noyarpp-->, don't display
|
1290 |
-
if ( stristr($content, '<!--noyarpp-->') !== false )
|
1291 |
-
return $content;
|
1292 |
-
|
1293 |
-
if ( $this->get_option('cross_relate') )
|
1294 |
-
$post_types = $this->get_post_types();
|
1295 |
-
else
|
1296 |
-
$post_types = array( get_post_type() );
|
1297 |
-
|
1298 |
-
$post_types = apply_filters( 'yarpp_map_post_types', $post_types, 'rss' );
|
1299 |
-
|
1300 |
-
return $content . $this->display_related(null, array(
|
1301 |
-
'post_type' => $post_types,
|
1302 |
-
'domain' => 'rss'
|
1303 |
-
), false);
|
1304 |
-
}
|
1305 |
-
|
1306 |
-
function the_excerpt_rss($content) {
|
1307 |
-
if ( !$this->get_option('rss_excerpt_display') ||
|
1308 |
-
!$this->get_option('rss_display') )
|
1309 |
-
return $content;
|
1310 |
-
|
1311 |
-
// if the content includes <!--noyarpp-->, don't display
|
1312 |
-
if ( stristr($content, '<!--noyarpp-->') !== false )
|
1313 |
-
return $content;
|
1314 |
-
|
1315 |
-
if ( $this->get_option('cross_relate') )
|
1316 |
-
$type = $this->get_post_types();
|
1317 |
-
else if ( 'page' == get_post_type() )
|
1318 |
-
$type = array( 'page' );
|
1319 |
-
else
|
1320 |
-
$type = array( 'post' );
|
1321 |
-
|
1322 |
-
return $content . $this->clean_pre($this->display_related(null, array('post_type' => $type, 'domain' => 'rss'), false));
|
1323 |
-
}
|
1324 |
-
|
1325 |
-
/*
|
1326 |
-
* UTILS
|
1327 |
-
*/
|
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;
|
1343 |
-
}
|
1344 |
-
|
1345 |
-
if ( $result = @unserialize($remote['body']) )
|
1346 |
-
$this->set_transient('yarpp_version_info', $result, 60 * 60 * 24);
|
1347 |
-
|
1348 |
-
return $result;
|
1349 |
-
}
|
1350 |
-
|
1351 |
-
// @since 4: optional data collection (default off)
|
1352 |
-
function optin_ping() {
|
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']) ||
|
1361 |
-
$remote['body'] != 'ok' ) {
|
1362 |
-
// try again later
|
1363 |
-
$this->set_transient( 'yarpp_optin', null, 60 * 60 );
|
1364 |
-
return false;
|
1365 |
-
}
|
1366 |
-
$this->set_transient( 'yarpp_optin', null, 60 * 60 * 24 * 7 );
|
1367 |
-
return true;
|
1368 |
-
}
|
1369 |
-
|
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 |
-
}
|
1378 |
-
return get_option( $transient, true ); // still ok
|
1379 |
-
}
|
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 |
-
|
1403 |
-
private function delete_transient( $transient ) {
|
1404 |
-
delete_option( $transient );
|
1405 |
-
delete_option( $transient . '_timeout' );
|
1406 |
-
}
|
1407 |
-
|
1408 |
-
// 4.0.4: helper function to force other caching systems which are too aggressive
|
1409 |
-
// <cough>DB Cache Reloaded (Fix)</cough> to flush when YARPP transients are set.
|
1410 |
-
private function kick_other_caches() {
|
1411 |
-
if ( class_exists( 'DBCacheReloaded' ) ) {
|
1412 |
-
global $wp_db_cache_reloaded;
|
1413 |
-
if ( is_object( $wp_db_cache_reloaded ) && is_a( $wp_db_cache_reloaded, 'DBCacheReloaded' ) ) {
|
1414 |
-
// if DBCR offered a more granualar way of just flushing options, I'd love that.
|
1415 |
-
$wp_db_cache_reloaded->dbcr_clear();
|
1416 |
-
}
|
1417 |
-
}
|
1418 |
-
}
|
1419 |
-
|
1420 |
-
// 3.5.2: clean_pre is deprecated in WP 3.4, so implement here.
|
1421 |
-
function clean_pre( $text ) {
|
1422 |
-
$text = str_replace(array('<br />', '<br/>', '<br>'), array('', '', ''), $text);
|
1423 |
-
$text = str_replace('<p>', "\n", $text);
|
1424 |
-
$text = str_replace('</p>', '', $text);
|
1425 |
-
return $text;
|
1426 |
-
}
|
1427 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class-widget.php
DELETED
@@ -1,143 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
-
// vaguely based on code by MK Safi
|
4 |
-
// http://msafi.com/fix-yet-another-related-posts-plugin-yarpp-widget-and-add-it-to-the-sidebar/
|
5 |
-
class YARPP_Widget extends WP_Widget {
|
6 |
-
function YARPP_Widget() {
|
7 |
-
parent::WP_Widget(false, $name = __('Related Posts (YARPP)','yarpp'));
|
8 |
-
}
|
9 |
-
|
10 |
-
function widget($args, $instance) {
|
11 |
-
global $yarpp;
|
12 |
-
if ( !is_singular() )
|
13 |
-
return;
|
14 |
-
|
15 |
-
extract($args);
|
16 |
-
|
17 |
-
// compatibility with pre-3.5 settings:
|
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 ( in_array(get_post_type(), $yarpp->get_post_types()) )
|
24 |
-
$instance['post_type'] = array( get_post_type() );
|
25 |
-
else
|
26 |
-
$instance['post_type'] = array( 'post' );
|
27 |
-
|
28 |
-
$title = apply_filters('widget_title', $instance['title']);
|
29 |
-
echo $before_widget;
|
30 |
-
if ( !$instance['template'] ) {
|
31 |
-
echo $before_title;
|
32 |
-
echo $title;
|
33 |
-
echo $after_title;
|
34 |
-
}
|
35 |
-
|
36 |
-
$instance['domain'] = 'widget';
|
37 |
-
$yarpp->display_related(null, $instance, true);
|
38 |
-
echo $after_widget;
|
39 |
-
}
|
40 |
-
|
41 |
-
function update($new_instance, $old_instance) {
|
42 |
-
if ( $new_instance['use_template'] == 'builtin' )
|
43 |
-
$template = false;
|
44 |
-
if ( $new_instance['use_template'] == 'thumbnails' )
|
45 |
-
$template = 'thumbnails';
|
46 |
-
if ( $new_instance['use_template'] == 'custom' )
|
47 |
-
$template = $new_instance['template_file'];
|
48 |
-
|
49 |
-
$instance = array(
|
50 |
-
'promote_yarpp' => isset($new_instance['promote_yarpp']),
|
51 |
-
'template' => $template
|
52 |
-
);
|
53 |
-
|
54 |
-
$choice = false === $instance['template'] ? 'builtin' :
|
55 |
-
( $instance['template'] == 'thumbnails' ? 'thumbnails' : 'custom' );
|
56 |
-
|
57 |
-
if ( !!$instance['template'] ) // don't save the title change.
|
58 |
-
$instance['title'] = $old_instance['title'];
|
59 |
-
else // save the title change:
|
60 |
-
$instance['title'] = $new_instance['title'];
|
61 |
-
|
62 |
-
if ( !!$instance['thumbnails_heading'] ) // don't save the title change.
|
63 |
-
$instance['thumbnails_heading'] = $old_instance['thumbnails_heading'];
|
64 |
-
else // save the title change:
|
65 |
-
$instance['thumbnails_heading'] = $new_instance['thumbnails_heading'];
|
66 |
-
|
67 |
-
return $instance;
|
68 |
-
}
|
69 |
-
|
70 |
-
function form($instance) {
|
71 |
-
global $yarpp;
|
72 |
-
|
73 |
-
$instance = wp_parse_args( $instance, array(
|
74 |
-
'title' => __('Related Posts (YARPP)','yarpp'),
|
75 |
-
'thumbnails_heading' => $yarpp->get_option('thumbnails_heading'),
|
76 |
-
'template' => false,
|
77 |
-
'promote_yarpp' => false
|
78 |
-
) );
|
79 |
-
|
80 |
-
// compatibility with pre-3.5 settings:
|
81 |
-
if ( isset($instance['use_template']) )
|
82 |
-
$instance['template'] = $instance['template_file'];
|
83 |
-
|
84 |
-
$choice = false === $instance['template'] ? 'builtin' :
|
85 |
-
( $instance['template'] == 'thumbnails' ? 'thumbnails' : 'custom' );
|
86 |
-
|
87 |
-
// if there are YARPP templates installed...
|
88 |
-
$templates = $yarpp->get_templates();
|
89 |
-
if ( !$yarpp->diagnostic_custom_templates() && $choice == 'custom' )
|
90 |
-
$choice = 'builtin';
|
91 |
-
|
92 |
-
?>
|
93 |
-
|
94 |
-
<p class='yarpp-widget-type-control'>
|
95 |
-
<label style="padding-right: 10px; display: inline-block;" 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>
|
96 |
-
|
97 |
-
<label style="padding-right: 10px; display: inline-block;" 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>
|
98 |
-
|
99 |
-
<label style="padding-right: 10px; display: inline-block;" 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' ); disabled( !count($templates) ); ?> /> <?php _e( "Custom", 'yarpp' ); ?></label>
|
100 |
-
</p>
|
101 |
-
|
102 |
-
<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>
|
103 |
-
|
104 |
-
<p><label for="<?php echo $this->get_field_id('thumbnails_heading'); ?>"><?php _e( 'Heading:', 'yarpp' ); ?> <input class="widefat" id="<?php echo $this->get_field_id('thumbnails_heading'); ?>" name="<?php echo $this->get_field_name('thumbnails_heading'); ?>" type="text" value="<?php echo esc_attr($instance['thumbnails_heading']); ?>" /></label></p>
|
105 |
-
|
106 |
-
<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'); ?>">
|
107 |
-
<?php foreach ($templates as $template): ?>
|
108 |
-
<option value='<?php echo esc_attr($template['basename']); ?>'<?php selected($template['basename'], $instance['template']);?>><?php echo esc_html($template['name']); ?></option>
|
109 |
-
<?php endforeach; ?>
|
110 |
-
</select><p>
|
111 |
-
<script type="text/javascript">
|
112 |
-
jQuery(function($) {
|
113 |
-
function ensureTemplateChoice(e) {
|
114 |
-
if (typeof e == 'object' && 'type' in e)
|
115 |
-
e.stopImmediatePropagation();
|
116 |
-
var this_form = $(this).closest('form');
|
117 |
-
var widget_id = this_form.find('.widget-id').val();
|
118 |
-
// if this widget is just in staging:
|
119 |
-
if ( /__i__$/.test(widget_id) )
|
120 |
-
return;
|
121 |
-
|
122 |
-
var builtin = !!$('#widget-' + widget_id + '-use_template_builtin').prop('checked');
|
123 |
-
var thumbnails = !!$('#widget-' + widget_id + '-use_template_thumbnails').prop('checked');
|
124 |
-
var custom = !!$('#widget-' + widget_id + '-use_template_custom').prop('checked');
|
125 |
-
$('#widget-' + widget_id + '-title').closest('p').toggle(builtin);
|
126 |
-
$('#widget-' + widget_id + '-thumbnails_heading').closest('p').toggle(thumbnails);
|
127 |
-
$('#widget-' + widget_id + '-template_file').closest('p').toggle(custom);
|
128 |
-
console.log(widget_id, custom, builtin);
|
129 |
-
}
|
130 |
-
$('#wpbody').on('change', '.yarpp-widget-type-control input', ensureTemplateChoice);
|
131 |
-
$('.yarpp-widget-type-control').each(ensureTemplateChoice);
|
132 |
-
});
|
133 |
-
</script>
|
134 |
-
|
135 |
-
<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>
|
136 |
-
<?php
|
137 |
-
}
|
138 |
-
}
|
139 |
-
// new in 2.0: add as a widget
|
140 |
-
function yarpp_widget_init() {
|
141 |
-
register_widget( 'YARPP_Widget' );
|
142 |
-
}
|
143 |
-
add_action( 'widgets_init', 'yarpp_widget_init' );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
classes/YARPP_Admin.php
ADDED
@@ -0,0 +1,616 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
class YARPP_Admin {
|
4 |
+
public $core;
|
5 |
+
public $hook;
|
6 |
+
|
7 |
+
function __construct(&$core) {
|
8 |
+
$this->core = &$core;
|
9 |
+
|
10 |
+
/* YARPP Pro Default Options */
|
11 |
+
add_option(
|
12 |
+
'yarpp_pro',
|
13 |
+
array(
|
14 |
+
'active' => '0',
|
15 |
+
'aid' => null,
|
16 |
+
'st' => null,
|
17 |
+
'v' => null,
|
18 |
+
'optin' => false
|
19 |
+
)
|
20 |
+
);
|
21 |
+
|
22 |
+
/* If action = flush and the nonce is correct, reset the cache */
|
23 |
+
if (isset($_GET['action']) && $_GET['action'] === 'flush' && check_ajax_referer('yarpp_cache_flush', false, false) !== false) {
|
24 |
+
$this->core->cache->flush();
|
25 |
+
wp_redirect(admin_url('/options-general.php?page=yarpp'));
|
26 |
+
die();
|
27 |
+
}
|
28 |
+
|
29 |
+
/* If action = copy_templates and the nonce is correct, copy templates */
|
30 |
+
if (isset($_GET['action']) && $_GET['action'] === 'copy_templates' && check_ajax_referer('yarpp_copy_templates', false, false) !== false) {
|
31 |
+
$this->copy_templates();
|
32 |
+
wp_redirect(admin_url('/options-general.php?page=yarpp'));
|
33 |
+
die();
|
34 |
+
}
|
35 |
+
|
36 |
+
|
37 |
+
add_action('admin_init', array($this, 'ajax_register'));
|
38 |
+
add_action('admin_menu', array($this, 'ui_register'));
|
39 |
+
|
40 |
+
add_filter('current_screen', array($this, 'settings_screen'));
|
41 |
+
add_filter('screen_settings', array($this, 'render_screen_settings'), 10, 2);
|
42 |
+
add_filter('default_hidden_meta_boxes', array($this, 'default_hidden_meta_boxes'), 10, 2);
|
43 |
+
}
|
44 |
+
|
45 |
+
/**
|
46 |
+
* @since 4.0.3 Moved method to Core.
|
47 |
+
*/
|
48 |
+
public function get_templates() {
|
49 |
+
return $this->core->get_templates();
|
50 |
+
}
|
51 |
+
|
52 |
+
/**
|
53 |
+
* Register AJAX services
|
54 |
+
*/
|
55 |
+
function ajax_register() {
|
56 |
+
if (defined('DOING_AJAX') && DOING_AJAX) {
|
57 |
+
add_action('wp_ajax_yarpp_display_exclude_terms', array($this, 'ajax_display_exclude_terms'));
|
58 |
+
add_action('wp_ajax_yarpp_display_demo', array($this, 'ajax_display_demo'));
|
59 |
+
add_action('wp_ajax_yarpp_display', array($this, 'ajax_display'));
|
60 |
+
add_action('wp_ajax_yarpp_optin_data', array($this, 'ajax_optin_data'));
|
61 |
+
add_action('wp_ajax_yarpp_optin_enable', array($this, 'ajax_optin_enable'));
|
62 |
+
add_action('wp_ajax_yarpp_optin_disable', array($this, 'ajax_optin_disable'));
|
63 |
+
add_action('wp_ajax_yarpp_set_display_code', array($this, 'ajax_set_display_code'));
|
64 |
+
}
|
65 |
+
}
|
66 |
+
|
67 |
+
function ui_register() {
|
68 |
+
global $wp_version;
|
69 |
+
|
70 |
+
if (get_option('yarpp_activated')) {
|
71 |
+
|
72 |
+
delete_option('yarpp_activated');
|
73 |
+
delete_option('yarpp_upgraded');
|
74 |
+
|
75 |
+
/* Optin/Pro message */
|
76 |
+
add_action('admin_notices', array($this, 'install_notice'));
|
77 |
+
|
78 |
+
} elseif (get_option('yarpp_upgraded') && current_user_can('manage_options') && $this->core->get_option('optin')) {
|
79 |
+
add_action('admin_notices', array($this, 'upgrade_notice'));
|
80 |
+
}
|
81 |
+
|
82 |
+
if ($this->core->get_option('optin')) delete_option('yarpp_upgraded');
|
83 |
+
|
84 |
+
/*
|
85 |
+
* Setup Admin
|
86 |
+
*/
|
87 |
+
$titleName = 'YARPP';
|
88 |
+
$this->hook = add_options_page($titleName, $titleName, 'manage_options', 'yarpp', array($this, 'options_page'));
|
89 |
+
|
90 |
+
/**
|
91 |
+
* @since 3.0.12 Add settings link to the plugins page.
|
92 |
+
*/
|
93 |
+
add_filter('plugin_action_links', array($this, 'settings_link'), 10, 2);
|
94 |
+
|
95 |
+
$metabox_post_types = $this->core->get_option('auto_display_post_types');
|
96 |
+
if (!in_array('post', $metabox_post_types)) $metabox_post_types[] = 'post';
|
97 |
+
|
98 |
+
/**
|
99 |
+
* @since 3.0 Add meta box.
|
100 |
+
*/
|
101 |
+
if(!$this->core->yarppPro['active']){
|
102 |
+
foreach ($metabox_post_types as $post_type) {
|
103 |
+
$optionsUrl = esc_url(admin_url('options-general.php?page=yarpp'));
|
104 |
+
$title =
|
105 |
+
__('Related Posts' , 'yarpp').
|
106 |
+
'<span class="postbox-title-action">'.
|
107 |
+
'<a href="'.$optionsUrl. '" class="edit-box open-box">'.__('Configure').'</a>'.
|
108 |
+
'</span>';
|
109 |
+
add_meta_box('yarpp_relatedposts',$title, array($this, 'metabox'), $post_type, 'normal');
|
110 |
+
}
|
111 |
+
}
|
112 |
+
|
113 |
+
/**
|
114 |
+
* @since 3.3: properly enqueue scripts for admin.
|
115 |
+
*/
|
116 |
+
add_action('admin_enqueue_scripts', array($this, 'enqueue'));
|
117 |
+
}
|
118 |
+
|
119 |
+
/**
|
120 |
+
* @since 3.5.4 Only load metabox code if we're going to be on the settings page.
|
121 |
+
*/
|
122 |
+
function settings_screen($current_screen) {
|
123 |
+
if ($current_screen->id !== 'settings_page_yarpp') return $current_screen;
|
124 |
+
|
125 |
+
/**
|
126 |
+
* @since 3.3: Load options page sections as meta-boxes.
|
127 |
+
*/
|
128 |
+
include_once(YARPP_DIR.'/classes/YARPP_Meta_Boxes.php');
|
129 |
+
|
130 |
+
/**
|
131 |
+
* @since 3.5.5 Check that add_help_tab method callable (WP >= 3.3).
|
132 |
+
*/
|
133 |
+
if (is_callable(array($current_screen, 'add_help_tab'))) {
|
134 |
+
$current_screen->add_help_tab(array(
|
135 |
+
'id' => 'faq',
|
136 |
+
'title' => __('Frequently Asked Questions', 'yarpp'),
|
137 |
+
'callback' => array(&$this, 'help_faq')
|
138 |
+
));
|
139 |
+
|
140 |
+
$current_screen->add_help_tab(array(
|
141 |
+
'id' => 'dev',
|
142 |
+
'title' => __('Developing with YARPP', 'yarpp'),
|
143 |
+
'callback' => array(&$this, 'help_dev')
|
144 |
+
));
|
145 |
+
|
146 |
+
$current_screen->add_help_tab(array(
|
147 |
+
'id' => 'optin',
|
148 |
+
'title' => __('Optional Data Collection', 'yarpp'),
|
149 |
+
'callback' => array(&$this, 'help_optin')
|
150 |
+
));
|
151 |
+
}
|
152 |
+
|
153 |
+
return $current_screen;
|
154 |
+
}
|
155 |
+
|
156 |
+
private $readme = null;
|
157 |
+
|
158 |
+
public function help_faq() {
|
159 |
+
if (is_null($this->readme)) $this->readme = file_get_contents(YARPP_DIR.'/readme.txt');
|
160 |
+
|
161 |
+
if (preg_match('!== Frequently Asked Questions ==(.*?)^==!sm', $this->readme, $matches)) {
|
162 |
+
echo $this->markdown($matches[1]);
|
163 |
+
} else {
|
164 |
+
echo(
|
165 |
+
'<a href="https://wordpress.org/extend/plugins/yet-another-related-posts-plugin/faq/">'.
|
166 |
+
__('Frequently Asked Questions', 'yarpp').
|
167 |
+
'</a>'
|
168 |
+
);
|
169 |
+
}
|
170 |
+
}
|
171 |
+
|
172 |
+
public function help_dev() {
|
173 |
+
if (is_null($this->readme)) $this->readme = file_get_contents(YARPP_DIR.'/readme.txt');
|
174 |
+
|
175 |
+
if (preg_match('!== Developing with YARPP ==(.*?)^==!sm', $this->readme, $matches)) {
|
176 |
+
echo $this->markdown( $matches[1] );
|
177 |
+
} else {
|
178 |
+
echo(
|
179 |
+
'<a href="https://wordpress.org/extend/plugins/yet-another-related-posts-plugin/faq/" target="_blank">'.
|
180 |
+
__('Developing with YARPP', 'yarpp').
|
181 |
+
'</a>'
|
182 |
+
);
|
183 |
+
}
|
184 |
+
}
|
185 |
+
|
186 |
+
public function help_optin() {
|
187 |
+
echo(
|
188 |
+
'<p>'.
|
189 |
+
__("With your permission, YARPP will send information about YARPP's settings, usage, and environment
|
190 |
+
back to a central server at ", 'yarpp').'<code>yarpp.org</code>'.'. '.
|
191 |
+
'</p>'.
|
192 |
+
'<p>'.
|
193 |
+
'We would really appreciate your input to help us continue to improve the product. We are primarily looking '.
|
194 |
+
'for country, domain, and date installed information.'.
|
195 |
+
'</p>'.
|
196 |
+
'<p>'.
|
197 |
+
__("This information will be used to improve YARPP in the future and help decide future development
|
198 |
+
decisions for YARPP.",
|
199 |
+
'yarpp'
|
200 |
+
).' '.
|
201 |
+
'</p>'.
|
202 |
+
'<p>'.
|
203 |
+
'<strong>'.
|
204 |
+
__("Contributing this data will help make YARPP better for you and for other YARPP users.",
|
205 |
+
'yarpp' ).'</strong>'.
|
206 |
+
'</p>'
|
207 |
+
);
|
208 |
+
|
209 |
+
echo(
|
210 |
+
'<p>'.
|
211 |
+
__("The following information is sent back to YARPP:", 'yarpp').
|
212 |
+
'</p>'.
|
213 |
+
'<div id="optin_data_frame"></div>'.
|
214 |
+
'<p>'.
|
215 |
+
__("In addition, YARPP also loads an invisible pixel image with your YARPP results to know how often YARPP is being used.", 'yarpp').
|
216 |
+
'</p>'
|
217 |
+
);
|
218 |
+
}
|
219 |
+
|
220 |
+
function the_optin_button($action, $echo = false) {
|
221 |
+
|
222 |
+
$status = ($this->core->yarppPro['active']) ? 'disabled' : null;
|
223 |
+
|
224 |
+
if ($action === 'disable'){
|
225 |
+
$out =
|
226 |
+
'<a id="yarpp-optin-button'.$status.'" class="button" '.$status.'>'.
|
227 |
+
'No, Thanks. Please <strong>'.$action.'</strong> sending usage data'.
|
228 |
+
'</a>';
|
229 |
+
} else {
|
230 |
+
$out =
|
231 |
+
'<a id="yarpp-optin-button'.$status.'" class="button" '.$status.'>'.
|
232 |
+
'Yes, <strong>'.$action.'</strong> sending usage data back to help improve YARPP'.
|
233 |
+
'</a>';
|
234 |
+
}
|
235 |
+
|
236 |
+
if ($echo){
|
237 |
+
echo $out;
|
238 |
+
return null;
|
239 |
+
} else {
|
240 |
+
return $out;
|
241 |
+
}
|
242 |
+
}
|
243 |
+
|
244 |
+
function the_donothing_button($msg, $echo = false) {
|
245 |
+
|
246 |
+
$out ='<a href="options-general.php?page=yarpp" class="button">'.$msg.'</a>';
|
247 |
+
|
248 |
+
if ($echo){
|
249 |
+
echo $out;
|
250 |
+
return null;
|
251 |
+
} else {
|
252 |
+
return $out;
|
253 |
+
}
|
254 |
+
}
|
255 |
+
|
256 |
+
function optin_button_script($optinAction, $echo=false) {
|
257 |
+
wp_nonce_field('yarpp_optin_'.$optinAction, 'yarpp_optin-nonce', false);
|
258 |
+
|
259 |
+
ob_start();
|
260 |
+
include(YARPP_DIR.'/includes/optin_notice.js.php');
|
261 |
+
$out = ob_get_contents();
|
262 |
+
ob_end_clean();
|
263 |
+
|
264 |
+
if($echo){
|
265 |
+
echo $out;
|
266 |
+
return null;
|
267 |
+
} else {
|
268 |
+
return $out;
|
269 |
+
}
|
270 |
+
|
271 |
+
}
|
272 |
+
|
273 |
+
function upgrade_notice() {
|
274 |
+
$proAction = ($this->core->yarppPro['active']) ? 'disable' : 'enable';
|
275 |
+
$optinAction = ($this->core->get_option('optin')) ? 'disable' : 'enable';
|
276 |
+
$this->optin_notice('upgrade', $proAction, $optinAction);
|
277 |
+
}
|
278 |
+
|
279 |
+
public function install_notice(){
|
280 |
+
$proAction = ($this->core->yarppPro['active']) ? 'disable' : 'enable';
|
281 |
+
$optinAction = ($this->core->get_option('optin')) ? 'disable' : 'enable';
|
282 |
+
$this->optin_notice('install', $proAction, $optinAction);
|
283 |
+
}
|
284 |
+
|
285 |
+
function optin_notice($type=false, $proAction, $optinAction) {
|
286 |
+
$screen = get_current_screen();
|
287 |
+
if(is_null($screen) || $screen->id == 'settings_page_yarpp') return;
|
288 |
+
|
289 |
+
switch($type) {
|
290 |
+
case 'upgrade':
|
291 |
+
delete_option('yarpp_upgraded');
|
292 |
+
break;
|
293 |
+
case 'install':
|
294 |
+
default:
|
295 |
+
$user = get_current_user_id();
|
296 |
+
update_user_option($user, 'yarpp_saw_optin', true);
|
297 |
+
}
|
298 |
+
|
299 |
+
$out = '<div class="updated fade"><p>';
|
300 |
+
|
301 |
+
if($type === 'upgrade'){
|
302 |
+
$out .= '<strong>'.sprintf(__('%1$s updated successfully.'), 'Yet Another Related Posts Plugin').'</strong>';
|
303 |
+
}
|
304 |
+
|
305 |
+
if ($type === 'install'){
|
306 |
+
$tmp = __('Thank you for installing <span>Yet Another Related Posts Plugin</span>!', 'yarpp');
|
307 |
+
$out .= '<strong>'.str_replace('<span>','<span style="font-style:italic; font-weight: inherit;">', $tmp).'</strong>';
|
308 |
+
}
|
309 |
+
|
310 |
+
if($this->core->yarppPro['active']){
|
311 |
+
|
312 |
+
$out .=
|
313 |
+
'<p>'.
|
314 |
+
'You are currently using <em>YARPP Pro</em>! No need to enable sending usage data.<br/><br/>'.
|
315 |
+
'<a href="options-general.php?page=yarpp" class="button">Take me to the settings page</a>'.
|
316 |
+
'</p>';
|
317 |
+
|
318 |
+
} else {
|
319 |
+
|
320 |
+
$out .=
|
321 |
+
'<p>'.
|
322 |
+
'We would really appreciate your input to help us continue to <a href="http://yarpp.com" target="_blank">improve the product</a>. We are primarily looking '.
|
323 |
+
'for country, domain, and date installed information. Please help us make YARPP better by providing this information and by filling '.
|
324 |
+
'out our quick, 5 question survey: <a href="http://www.surveymonkey.com/s/Z278L88" target="_blank">http://www.surveymonkey.com/s/Z278L88</a>'.
|
325 |
+
'</p>';
|
326 |
+
|
327 |
+
$out .= '</p><p>';
|
328 |
+
if($optinAction !== 'disable'){
|
329 |
+
$out .= $this->the_donothing_button('No, thanks').' ';
|
330 |
+
} else {
|
331 |
+
$out .= $this->the_donothing_button('Yes, keep sending usage data').' ';
|
332 |
+
}
|
333 |
+
$out .= $this->the_optin_button($optinAction);
|
334 |
+
$out .= $this->optin_button_script($optinAction);
|
335 |
+
|
336 |
+
}
|
337 |
+
|
338 |
+
echo $out.'</div>';
|
339 |
+
}
|
340 |
+
|
341 |
+
// faux-markdown, required for the help text rendering
|
342 |
+
protected function markdown( $text ) {
|
343 |
+
$replacements = array(
|
344 |
+
// strip each line
|
345 |
+
'!\s*[\r\n] *!' => "\n",
|
346 |
+
|
347 |
+
// headers
|
348 |
+
'!^=(.*?)=\s*$!m' => '<h3>\1</h3>',
|
349 |
+
|
350 |
+
// bullets
|
351 |
+
'!^(\* .*([\r\n]\* .*)*)$!m' => "<ul>\n\\1\n</ul>",
|
352 |
+
'!^\* (.*?)$!m' => '<li>\1</li>',
|
353 |
+
'!^(\d+\. .*([\r\n]\d+\. .*)*)$!m' => "<ol>\n\\1\n</ol>",
|
354 |
+
'!^\d+\. (.*?)$!m' => '<li>\1</li>',
|
355 |
+
|
356 |
+
// code block
|
357 |
+
'!^(\t.*([\r\n]\t.*)*)$!m' => "<pre>\n\\1\n</pre>",
|
358 |
+
|
359 |
+
// wrap p
|
360 |
+
'!^([^<\t].*[^>])$!m' => '<p>\1</p>',
|
361 |
+
// bold
|
362 |
+
'!\*([^*]*?)\*!' => '<strong>\1</strong>',
|
363 |
+
// code
|
364 |
+
'!`([^`]*?)`!' => '<code>\1</code>',
|
365 |
+
// links
|
366 |
+
'!\[([^]]+)\]\(([^)]+)\)!' => '<a href="\2" target="_new">\1</a>',
|
367 |
+
);
|
368 |
+
$text = preg_replace(array_keys($replacements), array_values($replacements), $text);
|
369 |
+
|
370 |
+
return $text;
|
371 |
+
}
|
372 |
+
|
373 |
+
function render_screen_settings( $output, $current_screen ) {
|
374 |
+
if ( $current_screen->id != 'settings_page_yarpp' )
|
375 |
+
return $output;
|
376 |
+
|
377 |
+
$output .= "<div id='yarpp_extra_screen_settings'><label for='yarpp_display_code'><input type='checkbox' name='yarpp_display_code' id='yarpp_display_code'";
|
378 |
+
$output .= checked($this->core->get_option('display_code'), true, false);
|
379 |
+
$output .= " />";
|
380 |
+
$output .= __('Show example code output', 'yarpp');
|
381 |
+
$output .= '</label></div>';
|
382 |
+
|
383 |
+
return $output;
|
384 |
+
}
|
385 |
+
|
386 |
+
// since 3.3
|
387 |
+
public function enqueue() {
|
388 |
+
$version = defined('WP_DEBUG') && WP_DEBUG ? time() : YARPP_VERSION;
|
389 |
+
$screen = get_current_screen();
|
390 |
+
if (!is_null($screen) && $screen->id === 'settings_page_yarpp') {
|
391 |
+
|
392 |
+
wp_enqueue_style('yarpp_switch_options', plugins_url('style/options_switch.css', dirname(__FILE__)), array(), $version );
|
393 |
+
wp_enqueue_script('yarpp_switch_options', plugins_url('js/options_switch.js', dirname(__FILE__)), array('jquery'), $version );
|
394 |
+
|
395 |
+
wp_enqueue_style('wp-pointer');
|
396 |
+
wp_enqueue_style('yarpp_options', plugins_url('style/options_basic.css', dirname(__FILE__)), array(), $version );
|
397 |
+
|
398 |
+
wp_enqueue_script('postbox');
|
399 |
+
wp_enqueue_script('wp-pointer');
|
400 |
+
wp_enqueue_script('yarpp_options', plugins_url('js/options_basic.js', dirname(__FILE__)), array('jquery'), $version );
|
401 |
+
|
402 |
+
}
|
403 |
+
|
404 |
+
$metabox_post_types = $this->core->get_option('auto_display_post_types');
|
405 |
+
if (!is_null($screen) && ($screen->id == 'post' || in_array( $screen->id, $metabox_post_types))) {
|
406 |
+
wp_enqueue_script('yarpp_metabox', plugins_url('js/metabox.js', dirname(__FILE__)), array('jquery'), $version );
|
407 |
+
}
|
408 |
+
}
|
409 |
+
|
410 |
+
function settings_link($links, $file) {
|
411 |
+
$this_plugin = dirname(plugin_basename(dirname(__FILE__))).'/yarpp.php';
|
412 |
+
if($file == $this_plugin) {
|
413 |
+
$links[] = '<a href="options-general.php?page=yarpp">'.__('Settings').'</a>';
|
414 |
+
}
|
415 |
+
return $links;
|
416 |
+
}
|
417 |
+
|
418 |
+
function options_page() {
|
419 |
+
|
420 |
+
if($this->core->yarppPro['active']){
|
421 |
+
include_once(YARPP_DIR.'/includes/yarpp_pro_options.php');
|
422 |
+
} else {
|
423 |
+
include_once(YARPP_DIR . '/includes/yarpp_options.php');
|
424 |
+
}
|
425 |
+
}
|
426 |
+
|
427 |
+
// @since 3.4: don't actually compute results here, but use ajax instead
|
428 |
+
function metabox() {
|
429 |
+
?>
|
430 |
+
<style>
|
431 |
+
#yarpp_relatedposts h3 .postbox-title-action {
|
432 |
+
right: 30px;
|
433 |
+
top: 5px;
|
434 |
+
position: absolute;
|
435 |
+
padding: 0;
|
436 |
+
}
|
437 |
+
#yarpp_relatedposts:hover .edit-box {
|
438 |
+
display: inline;
|
439 |
+
}
|
440 |
+
</style>
|
441 |
+
<?php
|
442 |
+
if ( !get_the_ID() ) {
|
443 |
+
echo "<div><p>".__("Related entries may be displayed once you save your entry",'yarpp').".</p></div>";
|
444 |
+
} else {
|
445 |
+
wp_nonce_field( 'yarpp_display', 'yarpp_display-nonce', false );
|
446 |
+
echo '<div id="yarpp-related-posts"><img src="' . esc_url( admin_url( 'images/wpspin_light.gif' ) ) . '" alt="" /></div>';
|
447 |
+
}
|
448 |
+
}
|
449 |
+
|
450 |
+
// @since 3.3: default metaboxes to show:
|
451 |
+
function default_hidden_meta_boxes($hidden, $screen) {
|
452 |
+
if ($screen->id === 'settings_page_yarpp') {
|
453 |
+
$hidden = $this->core->default_hidden_metaboxes;
|
454 |
+
}
|
455 |
+
return $hidden;
|
456 |
+
}
|
457 |
+
|
458 |
+
// @since 4: UI to copy templates
|
459 |
+
function can_copy_templates() {
|
460 |
+
$theme_dir = get_stylesheet_directory();
|
461 |
+
// If we can't write to the theme, return false
|
462 |
+
if ( !is_dir($theme_dir) || !is_writable($theme_dir) )
|
463 |
+
return false;
|
464 |
+
|
465 |
+
require_once(ABSPATH . 'wp-admin/includes/file.php');
|
466 |
+
WP_Filesystem( false, get_stylesheet_directory() );
|
467 |
+
global $wp_filesystem;
|
468 |
+
// direct method is the only method that I've tested so far
|
469 |
+
return $wp_filesystem->method == 'direct';
|
470 |
+
}
|
471 |
+
|
472 |
+
function copy_templates() {
|
473 |
+
$templates_dir = trailingslashit(trailingslashit(YARPP_DIR) . 'yarpp-templates');
|
474 |
+
|
475 |
+
require_once(ABSPATH . 'wp-admin/includes/file.php');
|
476 |
+
WP_Filesystem( false, get_stylesheet_directory() );
|
477 |
+
global $wp_filesystem;
|
478 |
+
if ( $wp_filesystem->method != 'direct' )
|
479 |
+
return false;
|
480 |
+
|
481 |
+
return copy_dir( $templates_dir, get_stylesheet_directory(), array('.svn') );
|
482 |
+
}
|
483 |
+
|
484 |
+
/*
|
485 |
+
* AJAX SERVICES
|
486 |
+
* TODO: Move to its own class.
|
487 |
+
*/
|
488 |
+
|
489 |
+
function ajax_display_exclude_terms() {
|
490 |
+
check_ajax_referer('yarpp_display_exclude_terms');
|
491 |
+
|
492 |
+
if (!isset($_REQUEST['taxonomy'])) return;
|
493 |
+
|
494 |
+
$taxonomy = (string) $_REQUEST['taxonomy'];
|
495 |
+
|
496 |
+
header("HTTP/1.1 200");
|
497 |
+
header("Content-Type: text/html; charset=UTF-8");
|
498 |
+
|
499 |
+
$exclude_tt_ids = wp_parse_id_list($this->core->get_option('exclude'));
|
500 |
+
$exclude_term_ids = $this->get_term_ids_from_tt_ids( $taxonomy, $exclude_tt_ids );
|
501 |
+
// if ('category' == $taxonomy) $exclude .= ','.get_option('default_category');
|
502 |
+
|
503 |
+
$terms = get_terms($taxonomy, array(
|
504 |
+
'exclude' => $exclude_term_ids,
|
505 |
+
'hide_empty' => false,
|
506 |
+
'hierarchical' => false,
|
507 |
+
'number' => 100,
|
508 |
+
'offset' => $_REQUEST['offset']
|
509 |
+
));
|
510 |
+
|
511 |
+
if ( !count($terms) ) {
|
512 |
+
echo ':('; // no more :(
|
513 |
+
exit;
|
514 |
+
}
|
515 |
+
|
516 |
+
foreach ($terms as $term) {
|
517 |
+
echo "<span><input type='checkbox' name='exclude[{$term->term_taxonomy_id}]' id='exclude_{$term->term_taxonomy_id}' value='true' /> <label for='exclude_{$term->term_taxonomy_id}'>" . esc_html($term->name) . "</label></span> ";
|
518 |
+
}
|
519 |
+
exit;
|
520 |
+
}
|
521 |
+
|
522 |
+
function get_term_ids_from_tt_ids( $taxonomy, $tt_ids ) {
|
523 |
+
global $wpdb;
|
524 |
+
$tt_ids = wp_parse_id_list($tt_ids);
|
525 |
+
if ( empty($tt_ids) )
|
526 |
+
return array();
|
527 |
+
return $wpdb->get_col("select term_id from $wpdb->term_taxonomy where taxonomy = '{$taxonomy}' and term_taxonomy_id in (" . join(',', $tt_ids) . ")");
|
528 |
+
}
|
529 |
+
|
530 |
+
function ajax_display() {
|
531 |
+
check_ajax_referer('yarpp_display');
|
532 |
+
|
533 |
+
if (!isset($_REQUEST['ID'])) return;
|
534 |
+
|
535 |
+
$args = array(
|
536 |
+
'post_type' => array('post'),
|
537 |
+
'domain' => isset($_REQUEST['domain']) ? $_REQUEST['domain'] : 'website'
|
538 |
+
);
|
539 |
+
|
540 |
+
if ($this->core->get_option('cross_relate')) $args['post_type'] = $this->core->get_post_types();
|
541 |
+
|
542 |
+
$return = $this->core->display_related(absint($_REQUEST['ID']), $args, false);
|
543 |
+
|
544 |
+
header("HTTP/1.1 200");
|
545 |
+
header("Content-Type: text/html; charset=UTF-8");
|
546 |
+
echo $return;
|
547 |
+
|
548 |
+
die();
|
549 |
+
}
|
550 |
+
|
551 |
+
function ajax_display_demo() {
|
552 |
+
check_ajax_referer('yarpp_display_demo');
|
553 |
+
|
554 |
+
header("HTTP/1.1 200");
|
555 |
+
header("Content-Type: text/html; charset=UTF-8");
|
556 |
+
|
557 |
+
$args = array(
|
558 |
+
'post_type' => array('post'),
|
559 |
+
'domain' => (isset($_REQUEST['domain'])) ? $_REQUEST['domain'] : 'website'
|
560 |
+
);
|
561 |
+
|
562 |
+
$return = $this->core->display_demo_related($args, false);
|
563 |
+
echo preg_replace("/[\n\r]/",'',nl2br(htmlspecialchars($return)));
|
564 |
+
exit;
|
565 |
+
}
|
566 |
+
|
567 |
+
/**
|
568 |
+
* Display optin data in a human readable format on the help tab.
|
569 |
+
*/
|
570 |
+
function ajax_optin_data() {
|
571 |
+
check_ajax_referer('yarpp_optin_data');
|
572 |
+
|
573 |
+
header("HTTP/1.1 200");
|
574 |
+
header("Content-Type: text/html; charset=UTF-8");
|
575 |
+
|
576 |
+
$data = $this->core->optin_data();
|
577 |
+
$this->core->pretty_echo($data);
|
578 |
+
die();
|
579 |
+
}
|
580 |
+
|
581 |
+
public function ajax_optin_disable() {
|
582 |
+
check_ajax_referer('yarpp_optin_disable');
|
583 |
+
|
584 |
+
$this->core->set_option('optin', false);
|
585 |
+
|
586 |
+
header("HTTP/1.1 200");
|
587 |
+
header("Content-Type: text; charset=UTF-8");
|
588 |
+
echo 'ok';
|
589 |
+
|
590 |
+
die();
|
591 |
+
}
|
592 |
+
|
593 |
+
public function ajax_optin_enable() {
|
594 |
+
check_ajax_referer('yarpp_optin_enable');
|
595 |
+
|
596 |
+
$this->core->set_option('optin', true);
|
597 |
+
$this->core->optin_ping();
|
598 |
+
|
599 |
+
header("HTTP/1.1 200");
|
600 |
+
header("Content-Type: text; charset=UTF-8");
|
601 |
+
echo 'ok';
|
602 |
+
|
603 |
+
die();
|
604 |
+
}
|
605 |
+
|
606 |
+
function ajax_set_display_code() {
|
607 |
+
check_ajax_referer( 'yarpp_set_display_code' );
|
608 |
+
|
609 |
+
header("HTTP/1.1 200");
|
610 |
+
header("Content-Type: text; charset=UTF-8");
|
611 |
+
|
612 |
+
$data = $this->core->set_option( 'display_code', isset($_REQUEST['checked']) );
|
613 |
+
echo 'ok';
|
614 |
+
die();
|
615 |
+
}
|
616 |
+
}
|
classes/YARPP_Cache.php
ADDED
@@ -0,0 +1,487 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
abstract class YARPP_Cache {
|
4 |
+
|
5 |
+
protected $core;
|
6 |
+
protected $yarpp_time = false;
|
7 |
+
public $score_override = false;
|
8 |
+
public $online_limit = false;
|
9 |
+
public $last_sql;
|
10 |
+
|
11 |
+
function __construct( &$core ) {
|
12 |
+
$this->core = &$core;
|
13 |
+
$this->name = __($this->name, 'yarpp');
|
14 |
+
}
|
15 |
+
|
16 |
+
function add_signature( $query ) {
|
17 |
+
$query->yarpp_cache_type = $this->name;
|
18 |
+
}
|
19 |
+
|
20 |
+
/**
|
21 |
+
* GENERAL CACHE CONTROL
|
22 |
+
*/
|
23 |
+
public function is_yarpp_time() {
|
24 |
+
return $this->yarpp_time;
|
25 |
+
}
|
26 |
+
|
27 |
+
public function flush() {
|
28 |
+
}
|
29 |
+
|
30 |
+
public function setup() {
|
31 |
+
}
|
32 |
+
|
33 |
+
public function upgrade( $last_version ) {
|
34 |
+
}
|
35 |
+
|
36 |
+
/*
|
37 |
+
* POST CACHE CONTROL
|
38 |
+
*/
|
39 |
+
|
40 |
+
/*
|
41 |
+
* Note: return value changed in 3.4
|
42 |
+
* return YARPP_NO_RELATED | YARPP_RELATED | YARPP_DONT_RUN | false if no good input
|
43 |
+
*/
|
44 |
+
function enforce($reference_ID, $force = false) {
|
45 |
+
/**
|
46 |
+
* @since 3.5.3 Don't compute on revisions.
|
47 |
+
* wp_is_post_revision will return the id of the revision parent instead.
|
48 |
+
*/
|
49 |
+
if ($the_post = wp_is_post_revision($reference_ID)) $reference_ID = $the_post;
|
50 |
+
|
51 |
+
if (!is_int($reference_ID)) return false;
|
52 |
+
|
53 |
+
$status = $this->is_cached($reference_ID);
|
54 |
+
$status = apply_filters('yarpp_cache_enforce_status', $status, $reference_ID);
|
55 |
+
|
56 |
+
// There's a stop signal:
|
57 |
+
if ($status === YARPP_DONT_RUN) return YARPP_DONT_RUN;
|
58 |
+
|
59 |
+
// If not cached, process now:
|
60 |
+
if ($status === YARPP_NOT_CACHED || $force) $status = $this->update((int) $reference_ID); // status now will be YARPP_NO_RELATED | YARPP_RELATED
|
61 |
+
|
62 |
+
// There are no related posts
|
63 |
+
if ($status === YARPP_NO_RELATED) return YARPP_NO_RELATED;
|
64 |
+
|
65 |
+
// There are results
|
66 |
+
return YARPP_RELATED;
|
67 |
+
}
|
68 |
+
|
69 |
+
/**
|
70 |
+
* @param int $reference_ID
|
71 |
+
* @return string YARPP_NO_RELATED | YARPP_RELATED | YARPP_NOT_CACHED
|
72 |
+
*/
|
73 |
+
public function is_cached($reference_ID) {
|
74 |
+
return YARPP_NOT_CACHED;
|
75 |
+
}
|
76 |
+
|
77 |
+
public function clear($reference_ID) {
|
78 |
+
}
|
79 |
+
|
80 |
+
/*
|
81 |
+
* POST STATUS INTERACTIONS
|
82 |
+
*/
|
83 |
+
|
84 |
+
/**
|
85 |
+
* Clear the cache for this entry and for all posts which are "related" to it.
|
86 |
+
* @since 3.2 This is called when a post is deleted.
|
87 |
+
*/
|
88 |
+
function delete_post($post_ID) {
|
89 |
+
// Clear the cache for this post.
|
90 |
+
$this->clear((int) $post_ID);
|
91 |
+
|
92 |
+
// Find all "peers" which list this post as a related post and clear their caches
|
93 |
+
if ($peers = $this->related(null, (int) $post_ID)) $this->clear($peers);
|
94 |
+
}
|
95 |
+
|
96 |
+
/**
|
97 |
+
* @since 3.2.1 Handle various post_status transitions
|
98 |
+
*/
|
99 |
+
function transition_post_status( $new_status, $old_status, $post ) {
|
100 |
+
$post_ID = $post->ID;
|
101 |
+
|
102 |
+
/**
|
103 |
+
* @since 3.4 Don't compute on revisions
|
104 |
+
* @since 3.5 Compute on the parent instead
|
105 |
+
*/
|
106 |
+
if ($the_post = wp_is_post_revision($post_ID)) $post_ID = $the_post;
|
107 |
+
|
108 |
+
// Un-publish
|
109 |
+
if ($old_status === 'publish' && $new_status !== 'publish') {
|
110 |
+
// Find all "peers" which list this post as a related post and clear their caches
|
111 |
+
if ($peers = $this->related(null, (int) $post_ID)) $this->clear($peers);
|
112 |
+
}
|
113 |
+
|
114 |
+
// Publish
|
115 |
+
if ($old_status !== 'publish' && $new_status === 'publish') {
|
116 |
+
/*
|
117 |
+
* Find everything which is related to this post, and clear them,
|
118 |
+
* so that this post might show up as related to them.
|
119 |
+
*/
|
120 |
+
if ($related = $this->related($post_ID, null)) $this->clear($related);
|
121 |
+
}
|
122 |
+
|
123 |
+
/**
|
124 |
+
* @since 3.4 Simply clear the cache on save; don't recompute.
|
125 |
+
*/
|
126 |
+
$this->clear((int) $post_ID);
|
127 |
+
}
|
128 |
+
|
129 |
+
function set_score_override_flag($q) {
|
130 |
+
if ($this->is_yarpp_time()) {
|
131 |
+
|
132 |
+
$this->score_override = (isset($q->query_vars['orderby']) && $q->query_vars['orderby'] === 'score');
|
133 |
+
|
134 |
+
if (!empty($q->query_vars['showposts'])) {
|
135 |
+
$this->online_limit = $q->query_vars['showposts'];
|
136 |
+
} else {
|
137 |
+
$this->online_limit = false;
|
138 |
+
}
|
139 |
+
|
140 |
+
} else {
|
141 |
+
|
142 |
+
$this->score_override = false;
|
143 |
+
$this->online_limit = false;
|
144 |
+
|
145 |
+
}
|
146 |
+
}
|
147 |
+
|
148 |
+
/**
|
149 |
+
* SQL!
|
150 |
+
*/
|
151 |
+
|
152 |
+
protected function sql($reference_ID = false, $args = array()) {
|
153 |
+
global $wpdb, $post;
|
154 |
+
|
155 |
+
if (is_object($post) && !$reference_ID) {
|
156 |
+
$reference_ID = $post->ID;
|
157 |
+
}
|
158 |
+
|
159 |
+
if (!is_object($post) || $reference_ID != $post->ID) {
|
160 |
+
$reference_post = get_post($reference_ID);
|
161 |
+
} else {
|
162 |
+
$reference_post = $post;
|
163 |
+
}
|
164 |
+
|
165 |
+
$options = array(
|
166 |
+
'threshold',
|
167 |
+
'show_pass_post',
|
168 |
+
'past_only',
|
169 |
+
'weight',
|
170 |
+
'require_tax',
|
171 |
+
'exclude',
|
172 |
+
'recent',
|
173 |
+
'limit'
|
174 |
+
);
|
175 |
+
|
176 |
+
extract($this->core->parse_args($args, $options));
|
177 |
+
|
178 |
+
// The maximum number of items we'll ever want to cache
|
179 |
+
$limit = max($limit, $this->core->get_option('rss_limit'));
|
180 |
+
|
181 |
+
// Fetch keywords
|
182 |
+
$keywords = $this->get_keywords($reference_ID);
|
183 |
+
|
184 |
+
// SELECT
|
185 |
+
$newsql = "SELECT $reference_ID as reference_ID, ID, "; //post_title, post_date, post_content, post_excerpt,
|
186 |
+
|
187 |
+
$newsql .= 'ROUND(0';
|
188 |
+
|
189 |
+
if (isset($weight['body']) && (int) $weight['body']) {
|
190 |
+
$newsql .= " + (MATCH (post_content) AGAINST ('".esc_sql($keywords['body'])."')) * ".absint($weight['body']);
|
191 |
+
}
|
192 |
+
|
193 |
+
if (isset($weight['body']) && (int) $weight['title']) {
|
194 |
+
$newsql .= " + (MATCH (post_title) AGAINST ('".esc_sql($keywords['title'])."')) * ".absint($weight['title']);
|
195 |
+
}
|
196 |
+
|
197 |
+
// Build tax criteria query parts based on the weights
|
198 |
+
foreach ((array) $weight['tax'] as $tax => $tax_weight) {
|
199 |
+
$newsql .= " + ".$this->tax_criteria($reference_ID, $tax)." * ".intval($tax_weight);
|
200 |
+
}
|
201 |
+
|
202 |
+
$newsql .= ',1) as score';
|
203 |
+
|
204 |
+
$newsql .= "\n from $wpdb->posts \n";
|
205 |
+
|
206 |
+
$exclude_tt_ids = wp_parse_id_list($exclude);
|
207 |
+
|
208 |
+
if (count($exclude_tt_ids) || count((array) $weight['tax']) || count($require_tax)) {
|
209 |
+
$newsql .= "left join $wpdb->term_relationships as terms on ( terms.object_id = $wpdb->posts.ID ) \n";
|
210 |
+
}
|
211 |
+
|
212 |
+
/*
|
213 |
+
* Where
|
214 |
+
*/
|
215 |
+
|
216 |
+
$newsql .= " where post_status in ( 'publish', 'static' ) and ID != '$reference_ID'";
|
217 |
+
|
218 |
+
/**
|
219 |
+
* @since 3.1.8 Revised $past_only option
|
220 |
+
*/
|
221 |
+
if ($past_only) $newsql .= " and post_date <= '$reference_post->post_date' ";
|
222 |
+
if (!$show_pass_post) $newsql .= " and post_password ='' ";
|
223 |
+
if ((bool) $recent) $newsql .= " and post_date > date_sub(now(), interval {$recent}) ";
|
224 |
+
|
225 |
+
$newsql .= " and post_type = 'post'";
|
226 |
+
|
227 |
+
// GROUP BY
|
228 |
+
$newsql .= "\n group by ID \n";
|
229 |
+
|
230 |
+
// HAVING
|
231 |
+
// number_format fix suggested by vkovalcik! :)
|
232 |
+
$safethreshold = number_format(max($threshold,0.1), 2, '.', '');
|
233 |
+
|
234 |
+
/**
|
235 |
+
* @since 3.5.3: ID=0 is a special value; never save such a result.
|
236 |
+
*/
|
237 |
+
$newsql .= " having score >= $safethreshold and ID != 0";
|
238 |
+
|
239 |
+
if (count($exclude_tt_ids)) {
|
240 |
+
$newsql .= " and bit_or(terms.term_taxonomy_id in (".join(',', $exclude_tt_ids).")) = 0";
|
241 |
+
}
|
242 |
+
|
243 |
+
foreach ((array) $require_tax as $tax => $number) {
|
244 |
+
$newsql .= ' and '.$this->tax_criteria($reference_ID, $tax).' >= '.intval($number);
|
245 |
+
}
|
246 |
+
|
247 |
+
$newsql .= " order by score desc limit $limit";
|
248 |
+
|
249 |
+
if (isset($args['post_type'])) {
|
250 |
+
$post_types = (array) $args['post_type'];
|
251 |
+
} else {
|
252 |
+
$post_types = $this->core->get_post_types();
|
253 |
+
}
|
254 |
+
|
255 |
+
$queries = array();
|
256 |
+
foreach ($post_types as $post_type) {
|
257 |
+
$queries[] = '('.str_replace("post_type = 'post'", "post_type = '{$post_type}'", $newsql).')';
|
258 |
+
}
|
259 |
+
|
260 |
+
$sql = implode(' union ', $queries);
|
261 |
+
|
262 |
+
if ($this->core->debug) echo "<!-- $sql -->";
|
263 |
+
|
264 |
+
$this->last_sql = $sql;
|
265 |
+
|
266 |
+
return $sql;
|
267 |
+
}
|
268 |
+
|
269 |
+
private function tax_criteria($reference_ID, $taxonomy) {
|
270 |
+
/* TODO: maybe reinforce the object term cache? */
|
271 |
+
$terms = get_the_terms($reference_ID, $taxonomy);
|
272 |
+
|
273 |
+
// if there are no terms of that tax
|
274 |
+
if (false === $terms) return '(1 = 0)';
|
275 |
+
|
276 |
+
$tt_ids = wp_list_pluck($terms, 'term_taxonomy_id');
|
277 |
+
return "count(distinct if( terms.term_taxonomy_id in (".join(',',$tt_ids)."), terms.term_taxonomy_id, null ))";
|
278 |
+
}
|
279 |
+
|
280 |
+
/*
|
281 |
+
* KEYWORDS
|
282 |
+
*/
|
283 |
+
|
284 |
+
/**
|
285 |
+
* @param int $ID
|
286 |
+
* @param string $type body | title | all
|
287 |
+
* @return string|array depending on whether "all" were requested or not
|
288 |
+
*/
|
289 |
+
public function get_keywords($ID, $type = 'all') {
|
290 |
+
if (!$ID = absint($ID)) return false;
|
291 |
+
|
292 |
+
$keywords = array(
|
293 |
+
'body' => $this->body_keywords($ID),
|
294 |
+
'title' => $this->title_keywords($ID)
|
295 |
+
);
|
296 |
+
|
297 |
+
if (empty($keywords)) return false;
|
298 |
+
|
299 |
+
if ($type === 'all') return $keywords;
|
300 |
+
|
301 |
+
return $keywords[$type];
|
302 |
+
}
|
303 |
+
|
304 |
+
protected function title_keywords($ID, $max = 20) {
|
305 |
+
return apply_filters('yarpp_title_keywords', $this->extract_keywords(get_the_title($ID), $max, $ID), $max, $ID);
|
306 |
+
}
|
307 |
+
|
308 |
+
protected function body_keywords($ID, $max = 20) {
|
309 |
+
$post = get_post($ID);
|
310 |
+
if (empty($post)) return '';
|
311 |
+
|
312 |
+
$content = $this->apply_filters_if_white('the_content', $post->post_content);
|
313 |
+
return apply_filters('yarpp_body_keywords', $this->extract_keywords($content, $max, $ID), $max, $ID);
|
314 |
+
}
|
315 |
+
|
316 |
+
private function extract_keywords( $html, $max = 20, $ID = 0 ) {
|
317 |
+
|
318 |
+
/**
|
319 |
+
* @filter yarpp_extract_keywords
|
320 |
+
*
|
321 |
+
* Use this filter to override YARPP's built-in keyword computation
|
322 |
+
* Return values should be a string of space-delimited words
|
323 |
+
*
|
324 |
+
* @param $keywords
|
325 |
+
* @param $html unfiltered HTML content
|
326 |
+
* @param (int) $max maximum number of keywords
|
327 |
+
* @param (int) $ID
|
328 |
+
*/
|
329 |
+
if ($keywords = apply_filters('yarpp_extract_keywords', false, $html, $max, $ID)) return $keywords;
|
330 |
+
|
331 |
+
if (defined('WPLANG')) {
|
332 |
+
switch ( substr(WPLANG, 0, 2) ) {
|
333 |
+
case 'de':
|
334 |
+
$lang = 'de_DE';
|
335 |
+
break;
|
336 |
+
case 'it':
|
337 |
+
$lang = 'it_IT';
|
338 |
+
break;
|
339 |
+
case 'pl':
|
340 |
+
$lang = 'pl_PL';
|
341 |
+
break;
|
342 |
+
case 'bg':
|
343 |
+
$lang = 'bg_BG';
|
344 |
+
break;
|
345 |
+
case 'fr':
|
346 |
+
$lang = 'fr_FR';
|
347 |
+
break;
|
348 |
+
case 'cs':
|
349 |
+
$lang = 'cs_CZ';
|
350 |
+
break;
|
351 |
+
case 'nl':
|
352 |
+
$lang = 'nl_NL';
|
353 |
+
break;
|
354 |
+
default:
|
355 |
+
$lang = 'en_US';
|
356 |
+
break;
|
357 |
+
}
|
358 |
+
}
|
359 |
+
|
360 |
+
$words_file = YARPP_DIR.'/lang/words-'.$lang.'.php';
|
361 |
+
if (file_exists($words_file)) include($words_file);
|
362 |
+
if (!isset($overusedwords)) $overusedwords = array();
|
363 |
+
|
364 |
+
// strip tags and html entities
|
365 |
+
$text = preg_replace('/&(#x[0-9a-f]+|#[0-9]+|[a-zA-Z]+);/', '', strip_tags($html) );
|
366 |
+
|
367 |
+
// 3.2.2: ignore soft hyphens
|
368 |
+
// Requires PHP 5: http://bugs.php.net/bug.php?id=25670
|
369 |
+
$softhyphen = html_entity_decode('­',ENT_NOQUOTES,'UTF-8');
|
370 |
+
$text = str_replace($softhyphen, '', $text);
|
371 |
+
|
372 |
+
$charset = get_option('blog_charset');
|
373 |
+
if ( function_exists('mb_split') && !empty($charset) ) {
|
374 |
+
mb_regex_encoding($charset);
|
375 |
+
$wordlist = mb_split('\s*\W+\s*', mb_strtolower($text, $charset));
|
376 |
+
} else
|
377 |
+
$wordlist = preg_split('%\s*\W+\s*%', strtolower($text));
|
378 |
+
|
379 |
+
// Build an array of the unique words and number of times they occur.
|
380 |
+
$tokens = array_count_values($wordlist);
|
381 |
+
|
382 |
+
// Remove the stop words from the list.
|
383 |
+
$overusedwords = apply_filters( 'yarpp_keywords_overused_words', $overusedwords );
|
384 |
+
if ( is_array($overusedwords) ) {
|
385 |
+
foreach ($overusedwords as $word) {
|
386 |
+
unset($tokens[$word]);
|
387 |
+
}
|
388 |
+
}
|
389 |
+
// Remove words which are only a letter
|
390 |
+
foreach (array_keys($tokens) as $word) {
|
391 |
+
if ( function_exists('mb_strlen') )
|
392 |
+
if (mb_strlen($word) < 2) unset($tokens[$word]);
|
393 |
+
else
|
394 |
+
if (strlen($word) < 2) unset($tokens[$word]);
|
395 |
+
}
|
396 |
+
|
397 |
+
arsort($tokens, SORT_NUMERIC);
|
398 |
+
|
399 |
+
$types = array_keys($tokens);
|
400 |
+
|
401 |
+
if (count($types) > $max)
|
402 |
+
$types = array_slice($types, 0, $max);
|
403 |
+
return implode(' ', $types);
|
404 |
+
}
|
405 |
+
|
406 |
+
/* new in 2.0! apply_filters_if_white (previously apply_filters_without) now has a blacklist.
|
407 |
+
* It can be modified via the yarpp_blacklist and yarpp_blackmethods filters.
|
408 |
+
*/
|
409 |
+
/* blacklisted so far:
|
410 |
+
- diggZ-Et
|
411 |
+
- reddZ-Et
|
412 |
+
- dzoneZ-Et
|
413 |
+
- WP-Syntax
|
414 |
+
- Viper's Video Quicktags
|
415 |
+
- WP-CodeBox
|
416 |
+
- WP shortcodes
|
417 |
+
- WP Greet Box
|
418 |
+
- Jetpack ShareDaddy
|
419 |
+
//- Tweet This - could not reproduce problem.
|
420 |
+
*/
|
421 |
+
function white( $filter ) {
|
422 |
+
static $blacklist, $blackmethods;
|
423 |
+
|
424 |
+
if ( is_null($blacklist) || is_null($blackmethods) ) {
|
425 |
+
$yarpp_blacklist = array('diggZEt_AddBut', 'reddZEt_AddBut', 'dzoneZEt_AddBut', 'wp_syntax_before_filter', 'wp_syntax_after_filter', 'wp_codebox_before_filter', 'wp_codebox_after_filter', 'do_shortcode', 'sharing_display', 'really_simple_share_content');//,'insert_tweet_this'
|
426 |
+
$yarpp_blackmethods = array('addinlinejs', 'replacebbcode', 'filter_content');
|
427 |
+
|
428 |
+
$blacklist = (array) apply_filters( 'yarpp_blacklist', $yarpp_blacklist );
|
429 |
+
$blackmethods = (array) apply_filters( 'yarpp_blackmethods', $yarpp_blackmethods );
|
430 |
+
}
|
431 |
+
|
432 |
+
if ( is_array($filter) && is_a( $filter[0], 'YARPP' ) )
|
433 |
+
return false;
|
434 |
+
if ( is_array($filter) && in_array( $filter[1], $blackmethods ) )
|
435 |
+
return false;
|
436 |
+
return !in_array( $filter, $blacklist );
|
437 |
+
}
|
438 |
+
|
439 |
+
/* FYI, apply_filters_if_white was used here to avoid a loop in apply_filters('the_content') > YARPP::the_content() > YARPP::related() > YARPP_Cache::body_keywords() > apply_filters('the_content').*/
|
440 |
+
function apply_filters_if_white($tag, $value) {
|
441 |
+
global $wp_filter, $merged_filters, $wp_current_filter;
|
442 |
+
|
443 |
+
$args = array();
|
444 |
+
|
445 |
+
// Do 'all' actions first
|
446 |
+
if ( isset($wp_filter['all']) ) {
|
447 |
+
$wp_current_filter[] = $tag;
|
448 |
+
$args = func_get_args();
|
449 |
+
_wp_call_all_hook($args);
|
450 |
+
}
|
451 |
+
|
452 |
+
if ( !isset($wp_filter[$tag]) ) {
|
453 |
+
if ( isset($wp_filter['all']) )
|
454 |
+
array_pop($wp_current_filter);
|
455 |
+
return $value;
|
456 |
+
}
|
457 |
+
|
458 |
+
if ( !isset($wp_filter['all']) )
|
459 |
+
$wp_current_filter[] = $tag;
|
460 |
+
|
461 |
+
// Sort
|
462 |
+
if ( !isset( $merged_filters[ $tag ] ) ) {
|
463 |
+
ksort($wp_filter[$tag]);
|
464 |
+
$merged_filters[ $tag ] = true;
|
465 |
+
}
|
466 |
+
|
467 |
+
reset( $wp_filter[ $tag ] );
|
468 |
+
|
469 |
+
if ( empty($args) )
|
470 |
+
$args = func_get_args();
|
471 |
+
|
472 |
+
do {
|
473 |
+
foreach( (array) current($wp_filter[$tag]) as $the_ )
|
474 |
+
if ( !is_null($the_['function'])
|
475 |
+
and $this->white($the_['function'])){ // HACK
|
476 |
+
$args[1] = $value;
|
477 |
+
$value = call_user_func_array($the_['function'], array_slice($args, 1, (int) $the_['accepted_args']));
|
478 |
+
}
|
479 |
+
|
480 |
+
} while ( next($wp_filter[$tag]) !== false );
|
481 |
+
|
482 |
+
array_pop( $wp_current_filter );
|
483 |
+
|
484 |
+
return $value;
|
485 |
+
}
|
486 |
+
}
|
487 |
+
|
classes/YARPP_Cache_Bypass.php
ADDED
@@ -0,0 +1,219 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
class YARPP_Cache_Bypass extends YARPP_Cache {
|
4 |
+
|
5 |
+
public $name = "bypass";
|
6 |
+
public $demo_time = false;
|
7 |
+
|
8 |
+
private $related_postdata = array();
|
9 |
+
private $related_IDs = array();
|
10 |
+
private $demo_limit = 0;
|
11 |
+
|
12 |
+
/**
|
13 |
+
* SETUP/STATUS
|
14 |
+
*/
|
15 |
+
function __construct(&$core) {
|
16 |
+
parent::__construct($core);
|
17 |
+
}
|
18 |
+
|
19 |
+
public function is_enabled() {
|
20 |
+
return true; // always enabled.
|
21 |
+
}
|
22 |
+
|
23 |
+
public function cache_status() {
|
24 |
+
return 0; // always uncached
|
25 |
+
}
|
26 |
+
|
27 |
+
public function stats() {
|
28 |
+
return array(); // always unknown
|
29 |
+
}
|
30 |
+
|
31 |
+
public function uncached($limit = 20, $offset = 0) {
|
32 |
+
return array(); // nothing to cache
|
33 |
+
}
|
34 |
+
|
35 |
+
/**
|
36 |
+
* MAGIC FILTERS
|
37 |
+
*/
|
38 |
+
public function where_filter($arg) {
|
39 |
+
global $wpdb;
|
40 |
+
|
41 |
+
// modify the where clause to use the related ID list.
|
42 |
+
if (!count($this->related_IDs)) $this->related_IDs = array(0);
|
43 |
+
|
44 |
+
$arg = preg_replace("!{$wpdb->posts}.ID = \d+!","{$wpdb->posts}.ID in (".join(',',$this->related_IDs).")",$arg);
|
45 |
+
|
46 |
+
// if we have recent set, add an additional condition
|
47 |
+
if ((bool) $this->args['recent']) $arg .= " and post_date > date_sub(now(), interval {$this->args['recent']}) ";
|
48 |
+
|
49 |
+
return $arg;
|
50 |
+
}
|
51 |
+
|
52 |
+
public function orderby_filter($arg) {
|
53 |
+
global $wpdb;
|
54 |
+
|
55 |
+
/*
|
56 |
+
* Only order by score if the score function is added in fields_filter,
|
57 |
+
* which only happens if there are related posts in the post-data.
|
58 |
+
*/
|
59 |
+
if ($this->score_override && is_array($this->related_postdata) && count($this->related_postdata)) {
|
60 |
+
return str_replace("$wpdb->posts.post_date","score",$arg);
|
61 |
+
}
|
62 |
+
|
63 |
+
return $arg;
|
64 |
+
}
|
65 |
+
|
66 |
+
public function fields_filter($arg) {
|
67 |
+
global $wpdb;
|
68 |
+
|
69 |
+
if (is_array($this->related_postdata) && count($this->related_postdata)) {
|
70 |
+
$scores = array();
|
71 |
+
foreach ($this->related_postdata as $related_entry) {
|
72 |
+
$scores[] = " WHEN {$related_entry['ID']} THEN {$related_entry['score']}";
|
73 |
+
}
|
74 |
+
$arg .= ", CASE {$wpdb->posts}.ID" . join('',$scores) ." END as score";
|
75 |
+
}
|
76 |
+
return $arg;
|
77 |
+
}
|
78 |
+
|
79 |
+
public function demo_request_filter($arg) {
|
80 |
+
global $wpdb;
|
81 |
+
|
82 |
+
$wpdb->query("set @count = 0;");
|
83 |
+
|
84 |
+
$loremipsum =
|
85 |
+
'Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Cras tincidunt justo a urna. Ut turpis. Phasellus'.
|
86 |
+
'convallis, odio sit amet cursus convallis, eros orci scelerisque velit, ut sodales neque nisl at ante. '.
|
87 |
+
'Suspendisse metus. Curabitur auctor pede quis mi. Pellentesque lorem justo, condimentum ac, dapibus sit '.
|
88 |
+
'amet, ornare et, erat. Quisque velit. Etiam sodales dui feugiat neque suscipit bibendum. Integer mattis. '.
|
89 |
+
'Nullam et ante non sem commodo malesuada. Pellentesque ultrices fermentum lectus. Maecenas hendrerit neque ac '.
|
90 |
+
'est. Fusce tortor mi, tristique sed, cursus at, pellentesque non, dui. Suspendisse potenti.';
|
91 |
+
|
92 |
+
return
|
93 |
+
"SELECT
|
94 |
+
SQL_CALC_FOUND_ROWS ID + {$this->demo_limit} as ID,
|
95 |
+
post_author,
|
96 |
+
post_date,
|
97 |
+
post_date_gmt,
|
98 |
+
'{$loremipsum}' as post_content,
|
99 |
+
concat('".__('Example post ','yarpp')."', @count:=@count+1) as post_title,
|
100 |
+
0 as post_category,
|
101 |
+
'' as post_excerpt,
|
102 |
+
'publish' as post_status,
|
103 |
+
'open' as comment_status,
|
104 |
+
'open' as ping_status,
|
105 |
+
'' as post_password,
|
106 |
+
concat('example-post-',@count) as post_name,
|
107 |
+
'' as to_ping,
|
108 |
+
'' as pinged,
|
109 |
+
post_modified,
|
110 |
+
post_modified_gmt,
|
111 |
+
'' as post_content_filtered,
|
112 |
+
0 as post_parent,
|
113 |
+
concat('PERMALINK',@count) as guid,
|
114 |
+
0 as menu_order,
|
115 |
+
'post' as post_type,
|
116 |
+
'' as post_mime_type,
|
117 |
+
0 as comment_count,
|
118 |
+
'SCORE' as score
|
119 |
+
FROM $wpdb->posts
|
120 |
+
ORDER BY ID DESC LIMIT 0, {$this->demo_limit}";
|
121 |
+
}
|
122 |
+
|
123 |
+
public function limit_filter($arg) {
|
124 |
+
global $wpdb;
|
125 |
+
return ($this->online_limit) ? " limit {$this->online_limit} " : $arg;
|
126 |
+
}
|
127 |
+
|
128 |
+
/**
|
129 |
+
* RELATEDNESS CACHE CONTROL
|
130 |
+
*/
|
131 |
+
public function begin_yarpp_time($reference_ID, $args) {
|
132 |
+
global $wpdb;
|
133 |
+
|
134 |
+
$this->yarpp_time = true;
|
135 |
+
$options = array(
|
136 |
+
'threshold',
|
137 |
+
'show_pass_post',
|
138 |
+
'past_only',
|
139 |
+
'weight',
|
140 |
+
'require_tax',
|
141 |
+
'exclude',
|
142 |
+
'recent',
|
143 |
+
'limit'
|
144 |
+
);
|
145 |
+
$this->args = $this->core->parse_args($args, $options);
|
146 |
+
|
147 |
+
$this->related_postdata = $wpdb->get_results($this->sql($reference_ID, $args), ARRAY_A);
|
148 |
+
$this->related_IDs = wp_list_pluck($this->related_postdata, 'ID');
|
149 |
+
|
150 |
+
add_filter('posts_where',array(&$this,'where_filter'));
|
151 |
+
add_filter('posts_orderby',array(&$this,'orderby_filter'));
|
152 |
+
add_filter('posts_fields',array(&$this,'fields_filter'));
|
153 |
+
add_filter('post_limits',array(&$this,'limit_filter'));
|
154 |
+
|
155 |
+
add_action('pre_get_posts',array(&$this,'add_signature'));
|
156 |
+
add_action('parse_query',array(&$this,'set_score_override_flag')); // sets the score override flag.
|
157 |
+
}
|
158 |
+
|
159 |
+
public function begin_demo_time($limit) {
|
160 |
+
$this->demo_time = true;
|
161 |
+
$this->demo_limit = $limit;
|
162 |
+
|
163 |
+
add_action('pre_get_posts',array(&$this,'add_signature'));
|
164 |
+
add_filter('posts_request',array(&$this,'demo_request_filter'));
|
165 |
+
}
|
166 |
+
|
167 |
+
public function end_yarpp_time() {
|
168 |
+
$this->yarpp_time = false;
|
169 |
+
|
170 |
+
remove_filter('posts_where',array(&$this,'where_filter'));
|
171 |
+
remove_filter('posts_orderby',array(&$this,'orderby_filter'));
|
172 |
+
remove_filter('posts_fields',array(&$this,'fields_filter'));
|
173 |
+
remove_filter('post_limits',array(&$this,'limit_filter'));
|
174 |
+
|
175 |
+
remove_action('pre_get_posts',array(&$this,'add_signature'));
|
176 |
+
remove_action('parse_query',array(&$this,'set_score_override_flag'));
|
177 |
+
}
|
178 |
+
|
179 |
+
public function end_demo_time() {
|
180 |
+
$this->demo_time = false;
|
181 |
+
|
182 |
+
remove_action('pre_get_posts',array(&$this,'add_signature'));
|
183 |
+
remove_filter('posts_request',array(&$this,'demo_request_filter'));
|
184 |
+
}
|
185 |
+
|
186 |
+
// @return YARPP_NO_RELATED | YARPP_RELATED
|
187 |
+
// @used by enforce
|
188 |
+
protected function update($reference_ID) {
|
189 |
+
global $wpdb;
|
190 |
+
|
191 |
+
return YARPP_RELATED;
|
192 |
+
}
|
193 |
+
|
194 |
+
public function related($reference_ID = null, $related_ID = null) {
|
195 |
+
global $wpdb;
|
196 |
+
|
197 |
+
if ( !is_int( $reference_ID ) && !is_int( $related_ID ) ) {
|
198 |
+
_doing_it_wrong( __METHOD__, 'reference ID and/or related ID must be set', '3.4' );
|
199 |
+
return;
|
200 |
+
}
|
201 |
+
|
202 |
+
// reverse lookup
|
203 |
+
if ( is_int($related_ID) && is_null($reference_ID) ) {
|
204 |
+
_doing_it_wrong( __METHOD__, 'YARPP_Cache_Bypass::related cannot do a reverse lookup', '3.4' );
|
205 |
+
return;
|
206 |
+
}
|
207 |
+
|
208 |
+
$results = $wpdb->get_results($this->sql($reference_ID), ARRAY_A);
|
209 |
+
if ( !$results || !count($results) )
|
210 |
+
return false;
|
211 |
+
|
212 |
+
$results_ids = wp_list_pluck( $results, 'ID' );
|
213 |
+
if ( is_null($related_ID) ) {
|
214 |
+
return $results_ids;
|
215 |
+
} else {
|
216 |
+
return in_array( $related_ID, $results_ids );
|
217 |
+
}
|
218 |
+
}
|
219 |
+
}
|
cache-postmeta.php → classes/YARPP_Cache_Postmeta.php
RENAMED
@@ -1,10 +1,5 @@
|
|
1 |
<?php
|
2 |
|
3 |
-
$yarpp_storage_class = 'YARPP_Cache_Postmeta';
|
4 |
-
|
5 |
-
define('YARPP_POSTMETA_KEYWORDS_KEY','_yarpp_keywords');
|
6 |
-
define('YARPP_POSTMETA_RELATED_KEY', '_yarpp_related');
|
7 |
-
|
8 |
class YARPP_Cache_Postmeta extends YARPP_Cache {
|
9 |
|
10 |
public $name = "postmeta";
|
@@ -70,8 +65,7 @@ class YARPP_Cache_Postmeta extends YARPP_Cache {
|
|
70 |
|
71 |
// if recent is set, add an additional condition
|
72 |
$recent = $this->core->get_option('recent');
|
73 |
-
if (
|
74 |
-
$arg .= " and post_date > date_sub(now(), interval {$recent}) ";
|
75 |
return $arg;
|
76 |
}
|
77 |
|
1 |
<?php
|
2 |
|
|
|
|
|
|
|
|
|
|
|
3 |
class YARPP_Cache_Postmeta extends YARPP_Cache {
|
4 |
|
5 |
public $name = "postmeta";
|
65 |
|
66 |
// if recent is set, add an additional condition
|
67 |
$recent = $this->core->get_option('recent');
|
68 |
+
if ((bool) $recent) $arg .= " and post_date > date_sub(now(), interval {$recent}) ";
|
|
|
69 |
return $arg;
|
70 |
}
|
71 |
|
cache-tables.php → classes/YARPP_Cache_Tables.php
RENAMED
@@ -1,9 +1,5 @@
|
|
1 |
<?php
|
2 |
|
3 |
-
$yarpp_storage_class = 'YARPP_Cache_Tables';
|
4 |
-
|
5 |
-
define('YARPP_TABLES_RELATED_TABLE', 'yarpp_related_cache');
|
6 |
-
|
7 |
class YARPP_Cache_Tables extends YARPP_Cache {
|
8 |
public $name = "custom tables";
|
9 |
|
@@ -28,19 +24,20 @@ class YARPP_Cache_Tables extends YARPP_Cache {
|
|
28 |
global $wpdb;
|
29 |
|
30 |
$charset_collate = '';
|
31 |
-
if (
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
`
|
41 |
-
|
42 |
-
INDEX (`
|
43 |
-
)
|
|
|
44 |
}
|
45 |
|
46 |
public function upgrade($last_version) {
|
@@ -124,8 +121,7 @@ class YARPP_Cache_Tables extends YARPP_Cache {
|
|
124 |
$arg = str_replace("$wpdb->posts.ID = ","yarpp.score >= $threshold and yarpp.reference_ID = ",$arg);
|
125 |
|
126 |
$recent = $this->core->get_option('recent');
|
127 |
-
if (
|
128 |
-
$arg .= " and post_date > date_sub(now(), interval {$recent}) ";
|
129 |
}
|
130 |
return $arg;
|
131 |
}
|
1 |
<?php
|
2 |
|
|
|
|
|
|
|
|
|
3 |
class YARPP_Cache_Tables extends YARPP_Cache {
|
4 |
public $name = "custom tables";
|
5 |
|
24 |
global $wpdb;
|
25 |
|
26 |
$charset_collate = '';
|
27 |
+
if (!empty($wpdb->charset)) $charset_collate = "DEFAULT CHARACTER SET ".$wpdb->charset;
|
28 |
+
if (!empty($wpdb->collate)) $charset_collate .= " COLLATE ".$wpdb->collate;
|
29 |
+
|
30 |
+
$wpdb->query(
|
31 |
+
"CREATE TABLE IF NOT EXISTS `".$wpdb->prefix.YARPP_TABLES_RELATED_TABLE."` (
|
32 |
+
`reference_ID` bigint(20) unsigned NOT NULL default '0',
|
33 |
+
`ID` bigint(20) unsigned NOT NULL default '0',
|
34 |
+
`score` float unsigned NOT NULL default '0',
|
35 |
+
`date` timestamp NOT NULL default CURRENT_TIMESTAMP,
|
36 |
+
PRIMARY KEY (`reference_ID`,`ID`),
|
37 |
+
INDEX (`score`),
|
38 |
+
INDEX (`ID`)
|
39 |
+
)$charset_collate;"
|
40 |
+
);
|
41 |
}
|
42 |
|
43 |
public function upgrade($last_version) {
|
121 |
$arg = str_replace("$wpdb->posts.ID = ","yarpp.score >= $threshold and yarpp.reference_ID = ",$arg);
|
122 |
|
123 |
$recent = $this->core->get_option('recent');
|
124 |
+
if ((bool) $recent) $arg .= " and post_date > date_sub(now(), interval {$recent}) ";
|
|
|
125 |
}
|
126 |
return $arg;
|
127 |
}
|
classes/YARPP_Core.php
ADDED
@@ -0,0 +1,1546 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
/**
|
4 |
+
* @since 3.4 Put everything YARPP into an object, expected to be a singleton global $yarpp.
|
5 |
+
*/
|
6 |
+
class YARPP {
|
7 |
+
|
8 |
+
/*
|
9 |
+
* Here's a list of all the options YARPP uses (except version), as well as their default values,
|
10 |
+
* sans the yarpp_ prefix, split up into binary options and value options. These arrays are used in updating
|
11 |
+
* settings (yarpp_options.php) and other tasks.
|
12 |
+
*/
|
13 |
+
public $default_options = array();
|
14 |
+
public $default_hidden_metaboxes = array();
|
15 |
+
public $debug = false;
|
16 |
+
public $yarppPro = null;
|
17 |
+
public $cache_bypass;
|
18 |
+
public $cache;
|
19 |
+
public $admin;
|
20 |
+
|
21 |
+
private $active_cache;
|
22 |
+
private $storage_class;
|
23 |
+
|
24 |
+
public function __construct() {
|
25 |
+
|
26 |
+
$this->yarppPro = get_option('yarpp_pro');
|
27 |
+
$this->load_default_options();
|
28 |
+
|
29 |
+
/* Loads the plugin's translated strings. */
|
30 |
+
load_plugin_textdomain('yarpp', false, plugin_basename(YARPP_DIR).'/lang');
|
31 |
+
|
32 |
+
/* Load cache object. */
|
33 |
+
$this->storage_class = 'YARPP_Cache_'.ucfirst(YARPP_CACHE_TYPE);
|
34 |
+
$this->cache = new $this->storage_class($this);
|
35 |
+
$this->cache_bypass = new YARPP_Cache_Bypass($this);
|
36 |
+
|
37 |
+
register_activation_hook(__FILE__, array($this, 'activate'));
|
38 |
+
|
39 |
+
/**
|
40 |
+
* @since 3.2 Update cache on delete.
|
41 |
+
*/
|
42 |
+
add_action('delete_post', array($this->cache, 'delete_post'), 10, 1);
|
43 |
+
|
44 |
+
/**
|
45 |
+
* @since 3.5.3 Use transition_post_status instead of save_post hook.
|
46 |
+
* @since 3.2.1 Handle post_status transitions.
|
47 |
+
*/
|
48 |
+
add_action('transition_post_status', array($this->cache, 'transition_post_status'), 10, 3);
|
49 |
+
|
50 |
+
/* Automatic display hooks: */
|
51 |
+
add_filter('the_content', array($this, 'the_content'), 1200);
|
52 |
+
add_filter('the_content_feed', array($this, 'the_content_feed'), 600);
|
53 |
+
add_filter('the_excerpt_rss', array($this, 'the_excerpt_rss' ), 600);
|
54 |
+
add_action('wp_enqueue_scripts', array($this, 'maybe_enqueue_thumbnails'));
|
55 |
+
|
56 |
+
/**
|
57 |
+
* If we're using thumbnails, register yarpp-thumbnail size, if theme has not already.
|
58 |
+
* TODO: make these UI-configurable?
|
59 |
+
* Note: see FAQ in the readme if you would like to change the YARPP thumbnail size.
|
60 |
+
*/
|
61 |
+
if ($this->diagnostic_using_thumbnails() && (!($dimensions = $this->thumbnail_dimensions()) || isset($dimensions['_default']))) {
|
62 |
+
$width = 120;
|
63 |
+
$height = 120;
|
64 |
+
$crop = true;
|
65 |
+
add_image_size('yarpp-thumbnail', $width, $height, $crop);
|
66 |
+
}
|
67 |
+
|
68 |
+
if (isset($_REQUEST['yarpp_debug'])) $this->debug = true;
|
69 |
+
|
70 |
+
if (!get_option('yarpp_version')) update_option('yarpp_activated', true);
|
71 |
+
|
72 |
+
/**
|
73 |
+
* @since 3.4 Only load UI if we're in the admin.
|
74 |
+
*/
|
75 |
+
if (is_admin()) {
|
76 |
+
require_once(YARPP_DIR.'/classes/YARPP_Admin.php');
|
77 |
+
$this->admin = new YARPP_Admin($this);
|
78 |
+
$this->enforce();
|
79 |
+
}
|
80 |
+
}
|
81 |
+
|
82 |
+
/*
|
83 |
+
* OPTIONS
|
84 |
+
*/
|
85 |
+
|
86 |
+
private function load_default_options() {
|
87 |
+
$this->default_options = array(
|
88 |
+
'threshold' => 4,
|
89 |
+
'limit' => 4,
|
90 |
+
'excerpt_length' => 10,
|
91 |
+
'recent' => false,
|
92 |
+
'before_title' => '<li>',
|
93 |
+
'after_title' => '</li>',
|
94 |
+
'before_post' => ' <small>',
|
95 |
+
'after_post' => '</small>',
|
96 |
+
'before_related' => '<h3>'.__('Related posts:','yarpp').'</h3><ol>',
|
97 |
+
'after_related' => '</ol>',
|
98 |
+
'no_results' => '<p>'.__('No related posts.','yarpp').'</p>',
|
99 |
+
'order' => 'score DESC',
|
100 |
+
'rss_limit' => 3,
|
101 |
+
'rss_excerpt_length' => 10,
|
102 |
+
'rss_before_title' => '<li>',
|
103 |
+
'rss_after_title' => '</li>',
|
104 |
+
'rss_before_post' => ' <small>',
|
105 |
+
'rss_after_post' => '</small>',
|
106 |
+
'rss_before_related' => '<h3>'.__('Related posts:','yarpp').'</h3><ol>',
|
107 |
+
'rss_after_related' => '</ol>',
|
108 |
+
'rss_no_results' => '<p>'.__('No related posts.','yarpp').'</p>',
|
109 |
+
'rss_order' => 'score DESC',
|
110 |
+
'past_only' => false,
|
111 |
+
'show_excerpt' => false,
|
112 |
+
'rss_show_excerpt' => false,
|
113 |
+
'template' => false,
|
114 |
+
'rss_template' => false,
|
115 |
+
'show_pass_post' => false,
|
116 |
+
'cross_relate' => false,
|
117 |
+
'rss_display' => false,
|
118 |
+
'rss_excerpt_display' => true,
|
119 |
+
'promote_yarpp' => false,
|
120 |
+
'rss_promote_yarpp' => false,
|
121 |
+
'myisam_override' => false,
|
122 |
+
'exclude' => '',
|
123 |
+
'weight' => array(
|
124 |
+
'title' => 1,
|
125 |
+
'body' => 1,
|
126 |
+
'tax' => array(
|
127 |
+
'category' => 1,
|
128 |
+
'post_tag' => 1
|
129 |
+
)
|
130 |
+
),
|
131 |
+
'require_tax' => array(),
|
132 |
+
'optin' => false,
|
133 |
+
'thumbnails_heading' => __('Related posts:','yarpp'),
|
134 |
+
'thumbnails_default' => plugins_url('images/default.png', dirname(__FILE__)),
|
135 |
+
'rss_thumbnails_heading' => __('Related posts:','yarpp'),
|
136 |
+
'rss_thumbnails_default' => plugins_url('images/default.png', dirname( __FILE__)),
|
137 |
+
'display_code' => false,
|
138 |
+
'auto_display_archive' => false,
|
139 |
+
'auto_display_post_types' => array('post'),
|
140 |
+
'pools' => array(),
|
141 |
+
'manually_using_thumbnails' => false,
|
142 |
+
);
|
143 |
+
}
|
144 |
+
|
145 |
+
public function set_option($options, $value = null) {
|
146 |
+
$current_options = $this->get_option();
|
147 |
+
|
148 |
+
/* We can call yarpp_set_option(key,value) if we like. */
|
149 |
+
if (!is_array($options)) {
|
150 |
+
if (isset($value)) {
|
151 |
+
$options = array($options => $value);
|
152 |
+
} else {
|
153 |
+
return false;
|
154 |
+
}
|
155 |
+
}
|
156 |
+
|
157 |
+
$new_options = array_merge($current_options, $options);
|
158 |
+
update_option('yarpp', $new_options);
|
159 |
+
|
160 |
+
// new in 3.1: clear cache when updating certain settings.
|
161 |
+
$clear_cache_options = array('show_pass_post' => 1, 'recent' => 1, 'threshold' => 1, 'past_only' => 1);
|
162 |
+
|
163 |
+
$relevant_options = array_intersect_key($options, $clear_cache_options);
|
164 |
+
$relevant_current_options = array_intersect_key($current_options, $clear_cache_options);
|
165 |
+
$new_options_which_require_flush = array_diff_assoc($relevant_options, $relevant_current_options);
|
166 |
+
|
167 |
+
if (count($new_options_which_require_flush)
|
168 |
+
|| ($new_options['limit'] > $current_options['limit'])
|
169 |
+
|| ($new_options['weight'] != $current_options['weight'])
|
170 |
+
|| ($new_options['exclude'] != $current_options['exclude'])
|
171 |
+
|| ($new_options['require_tax'] != $current_options['require_tax'])
|
172 |
+
) {
|
173 |
+
$this->cache->flush();
|
174 |
+
}
|
175 |
+
}
|
176 |
+
|
177 |
+
/**
|
178 |
+
* @since 3.4b8 $option can be a path, of the query_str variety, i.e. "option[suboption][subsuboption]"
|
179 |
+
*/
|
180 |
+
public function get_option($option = null) {
|
181 |
+
$options = (array) get_option('yarpp', array());
|
182 |
+
|
183 |
+
// ensure defaults if not set:
|
184 |
+
$options = array_merge($this->default_options, $options);
|
185 |
+
|
186 |
+
if (is_null( $option )) return $options;
|
187 |
+
|
188 |
+
$optionpath = array();
|
189 |
+
$parsed_option = array();
|
190 |
+
wp_parse_str($option, $parsed_option);
|
191 |
+
$optionpath = $this->array_flatten($parsed_option);
|
192 |
+
|
193 |
+
$current = $options;
|
194 |
+
foreach ($optionpath as $optionpart) {
|
195 |
+
if (!is_array($current) || !isset($current[$optionpart])) return null;
|
196 |
+
$current = $current[$optionpart];
|
197 |
+
}
|
198 |
+
|
199 |
+
return $current;
|
200 |
+
}
|
201 |
+
|
202 |
+
private function array_flatten($array, $given = array()) {
|
203 |
+
foreach ($array as $key => $val) {
|
204 |
+
$given[] = $key;
|
205 |
+
if ( is_array($val) )
|
206 |
+
$given = $this->array_flatten($val, $given);
|
207 |
+
}
|
208 |
+
return $given;
|
209 |
+
}
|
210 |
+
|
211 |
+
/*
|
212 |
+
* INFRASTRUCTURE
|
213 |
+
* TODO: to a separate class.
|
214 |
+
*/
|
215 |
+
|
216 |
+
/**
|
217 |
+
* @since 3.5.2 Function to enforce YARPP setup if not ready, activate; else upgrade.
|
218 |
+
*/
|
219 |
+
public function enforce() {
|
220 |
+
|
221 |
+
if (!$this->enabled()) {
|
222 |
+
$this->activate(); // activate calls upgrade later, so it's covered.
|
223 |
+
} else {
|
224 |
+
$this->upgrade();
|
225 |
+
}
|
226 |
+
|
227 |
+
if ($this->get_option('optin')) $this->optin_ping();
|
228 |
+
}
|
229 |
+
|
230 |
+
public function enabled() {
|
231 |
+
if ($this->cache->is_enabled() === false) return false;
|
232 |
+
if (!$this->diagnostic_fulltext_disabled()) return $this->diagnostic_fulltext_indices();
|
233 |
+
return true;
|
234 |
+
}
|
235 |
+
|
236 |
+
public function activate() {
|
237 |
+
|
238 |
+
/* if it's not known to be disabled, but the indexes aren't there. */
|
239 |
+
if (!$this->diagnostic_fulltext_disabled() && !$this->diagnostic_fulltext_indices()) {
|
240 |
+
$this->enable_fulltext();
|
241 |
+
}
|
242 |
+
|
243 |
+
if ($this->cache->is_enabled() === false) {
|
244 |
+
$this->cache->setup();
|
245 |
+
}
|
246 |
+
|
247 |
+
/* If we're not enabled, give up. */
|
248 |
+
if (!$this->enabled()) return false;
|
249 |
+
|
250 |
+
if (!get_option('yarpp_version')) {
|
251 |
+
add_option('yarpp_version', YARPP_VERSION);
|
252 |
+
$this->version_info(true);
|
253 |
+
} else {
|
254 |
+
$this->upgrade();
|
255 |
+
}
|
256 |
+
|
257 |
+
return true;
|
258 |
+
}
|
259 |
+
|
260 |
+
/**
|
261 |
+
* DIAGNOSTICS
|
262 |
+
* @since 4.0 Moved into separate functions. Note return value types can differ.
|
263 |
+
* TODO: Move to a separate class.
|
264 |
+
*/
|
265 |
+
public function diagnostic_myisam_posts() {
|
266 |
+
global $wpdb;
|
267 |
+
$tables = $wpdb->get_results("show table status like '{$wpdb->posts}'");
|
268 |
+
foreach ($tables as $table) {
|
269 |
+
if ($table->Engine === 'MyISAM'){
|
270 |
+
return true;
|
271 |
+
} else {
|
272 |
+
return $table->Engine;
|
273 |
+
}
|
274 |
+
}
|
275 |
+
return 'UNKNOWN';
|
276 |
+
}
|
277 |
+
|
278 |
+
function diagnostic_fulltext_disabled() {
|
279 |
+
return get_option('yarpp_fulltext_disabled', false);
|
280 |
+
}
|
281 |
+
|
282 |
+
public function enable_fulltext( $override_myisam = false ) {
|
283 |
+
global $wpdb;
|
284 |
+
|
285 |
+
/* TODO: Check the myisam_override option instead. */
|
286 |
+
if (!$override_myisam) {
|
287 |
+
$table_type = $this->diagnostic_myisam_posts();
|
288 |
+
if ($table_type !== true) {
|
289 |
+
$this->disable_fulltext();
|
290 |
+
return;
|
291 |
+
}
|
292 |
+
}
|
293 |
+
|
294 |
+
/* Temporarily ensure that errors are not displayed: */
|
295 |
+
$previous_value = $wpdb->hide_errors();
|
296 |
+
|
297 |
+
$wpdb->query("ALTER TABLE $wpdb->posts ADD FULLTEXT `yarpp_title` (`post_title`)");
|
298 |
+
if (!empty($wpdb->last_error)) $this->disable_fulltext();
|
299 |
+
|
300 |
+
$wpdb->query("ALTER TABLE $wpdb->posts ADD FULLTEXT `yarpp_content` (`post_content`)");
|
301 |
+
if (!empty($wpdb->last_error)) $this->disable_fulltext();
|
302 |
+
|
303 |
+
/* Restore previous setting */
|
304 |
+
$wpdb->show_errors($previous_value);
|
305 |
+
}
|
306 |
+
|
307 |
+
public function disable_fulltext() {
|
308 |
+
if (get_option('yarpp_fulltext_disabled', false) === true) return;
|
309 |
+
|
310 |
+
/* Remove title and body weights: */
|
311 |
+
$weight = $this->get_option('weight');
|
312 |
+
unset($weight['title']);
|
313 |
+
unset($weight['body']);
|
314 |
+
$this->set_option(array('weight' => $weight));
|
315 |
+
|
316 |
+
/* cut threshold by half: */
|
317 |
+
$threshold = (float) $this->get_option('threshold');
|
318 |
+
$this->set_option(array('threshold' => round($threshold / 2)));
|
319 |
+
|
320 |
+
update_option('yarpp_fulltext_disabled', true);
|
321 |
+
}
|
322 |
+
|
323 |
+
public function diagnostic_fulltext_indices() {
|
324 |
+
global $wpdb;
|
325 |
+
$wpdb->get_results("SHOW INDEX FROM {$wpdb->posts} WHERE Key_name = 'yarpp_title' OR Key_name = 'yarpp_content'");
|
326 |
+
return ($wpdb->num_rows >= 2);
|
327 |
+
}
|
328 |
+
|
329 |
+
public function diagnostic_hidden_metaboxes() {
|
330 |
+
global $wpdb;
|
331 |
+
$raw = $wpdb->get_var("SELECT meta_value FROM $wpdb->usermeta WHERE meta_key = 'metaboxhidden_settings_page_yarpp' ORDER BY length(meta_value) ASC LIMIT 1");
|
332 |
+
|
333 |
+
if (!$raw) return $this->default_hidden_metaboxes;
|
334 |
+
|
335 |
+
$list = maybe_unserialize($raw);
|
336 |
+
if (!is_array($list)) return $this->default_hidden_metaboxes;
|
337 |
+
|
338 |
+
return implode('|', $list);
|
339 |
+
}
|
340 |
+
|
341 |
+
public function diagnostic_post_thumbnails() {
|
342 |
+
return current_theme_supports('post-thumbnails', 'post');
|
343 |
+
}
|
344 |
+
|
345 |
+
public function diagnostic_custom_templates() {
|
346 |
+
return count($this->admin->get_templates());
|
347 |
+
}
|
348 |
+
|
349 |
+
public function diagnostic_happy() {
|
350 |
+
$stats = $this->cache->stats();
|
351 |
+
|
352 |
+
if (!(array_sum($stats) > 0)) return false;
|
353 |
+
|
354 |
+
$sum = array_sum(array_map('array_product', array_map(null, array_values($stats), array_keys($stats))));
|
355 |
+
$avg = $sum / array_sum( $stats );
|
356 |
+
|
357 |
+
return ($this->cache->cache_status() > 0.1 && $avg > 2);
|
358 |
+
}
|
359 |
+
|
360 |
+
public function diagnostic_generate_thumbnails() {
|
361 |
+
return (defined('YARPP_GENERATE_THUMBNAILS') && YARPP_GENERATE_THUMBNAILS);
|
362 |
+
}
|
363 |
+
|
364 |
+
private $default_dimensions = array(
|
365 |
+
'width' => 120,
|
366 |
+
'height' => 120,
|
367 |
+
'crop' => false, // TODO: True for crop?
|
368 |
+
'size' => '120x120',
|
369 |
+
'_default' => true
|
370 |
+
);
|
371 |
+
|
372 |
+
public function diagnostic_using_thumbnails() {
|
373 |
+
if ($this->get_option('manually_using_thumbnails')) return true;
|
374 |
+
if ($this->get_option('template') === 'thumbnails') return true;
|
375 |
+
if ($this->get_option('rss_template') === 'thumbnails' && $this->get_option('rss_display')) return true;
|
376 |
+
return false;
|
377 |
+
}
|
378 |
+
|
379 |
+
public function thumbnail_dimensions() {
|
380 |
+
global $_wp_additional_image_sizes;
|
381 |
+
if (!isset($_wp_additional_image_sizes['yarpp-thumbnail'])) return $this->default_dimensions;
|
382 |
+
|
383 |
+
$dimensions = $_wp_additional_image_sizes['yarpp-thumbnail'];
|
384 |
+
$dimensions['size'] = 'yarpp-thumbnail';
|
385 |
+
|
386 |
+
/* Ensure YARPP dimensions format: */
|
387 |
+
$dimensions['width'] = (int) $dimensions['width'];
|
388 |
+
$dimensions['height'] = (int) $dimensions['height'];
|
389 |
+
return $dimensions;
|
390 |
+
}
|
391 |
+
|
392 |
+
public function maybe_enqueue_thumbnails() {
|
393 |
+
if (is_feed()) return;
|
394 |
+
|
395 |
+
$auto_display_post_types = $this->get_option('auto_display_post_types');
|
396 |
+
|
397 |
+
/* If it's not an auto-display post type, return. */
|
398 |
+
if (!in_array(get_post_type(), $auto_display_post_types)) return;
|
399 |
+
|
400 |
+
if (!is_singular() && !($this->get_option('auto_display_archive') && (is_archive() || is_home()))) return;
|
401 |
+
|
402 |
+
if ($this->get_option('template') !== 'thumbnails') return;
|
403 |
+
|
404 |
+
$this->enqueue_thumbnails($this->thumbnail_dimensions());
|
405 |
+
}
|
406 |
+
|
407 |
+
public function enqueue_thumbnails($dimensions) {
|
408 |
+
$queryStr = http_build_query(
|
409 |
+
array(
|
410 |
+
'width' => $dimensions['width'],
|
411 |
+
'height' => $dimensions['height']
|
412 |
+
)
|
413 |
+
);
|
414 |
+
|
415 |
+
$url = plugins_url('includes/styles-thumbnails.css.php?'.$queryStr, dirname(__FILE__));
|
416 |
+
wp_enqueue_style("yarpp-thumbnails-".$dimensions['size'], $url, array(), YARPP_VERSION, 'all');
|
417 |
+
}
|
418 |
+
|
419 |
+
/*
|
420 |
+
* Code based on Viper's Regenerate Thumbnails plugin '$dimensions' must be an array with size, crop, height, width attributes.
|
421 |
+
*/
|
422 |
+
public function ensure_resized_post_thumbnail($post_id, $dimensions) {
|
423 |
+
|
424 |
+
$thumbnail_id = get_post_thumbnail_id($post_id);
|
425 |
+
$downsized = image_downsize($thumbnail_id, $dimensions['size']);
|
426 |
+
|
427 |
+
if ($dimensions['crop'] && $downsized[1] && $downsized[2]
|
428 |
+
&& ($downsized[1] != $dimensions['width'] || $downsized[2] != $dimensions['height'])
|
429 |
+
) {
|
430 |
+
/*
|
431 |
+
* We want to trigger re-computation of the thumbnail here.
|
432 |
+
* (only if downsized width and height are specified, for Photon behavior)
|
433 |
+
*/
|
434 |
+
$fullSizePath = get_attached_file($thumbnail_id);
|
435 |
+
if ($fullSizePath !== false && file_exists($fullSizePath)) {
|
436 |
+
require_once(ABSPATH.'wp-admin/includes/image.php');
|
437 |
+
$metadata = wp_generate_attachment_metadata($thumbnail_id, $fullSizePath);
|
438 |
+
if (!is_wp_error($metadata)) {
|
439 |
+
wp_update_attachment_metadata($thumbnail_id, $metadata);
|
440 |
+
}
|
441 |
+
}
|
442 |
+
}
|
443 |
+
}
|
444 |
+
|
445 |
+
private $templates = null;
|
446 |
+
public function get_templates() {
|
447 |
+
if (is_null($this->templates)) {
|
448 |
+
$this->templates = glob(STYLESHEETPATH.'/yarpp-template-*.php');
|
449 |
+
|
450 |
+
// if glob hits an error, it returns false.
|
451 |
+
if ($this->templates === false) $this->templates = array();
|
452 |
+
|
453 |
+
// get basenames only
|
454 |
+
$this->templates = array_map(array($this, 'get_template_data'), $this->templates);
|
455 |
+
}
|
456 |
+
return (array) $this->templates;
|
457 |
+
}
|
458 |
+
|
459 |
+
public function get_template_data($file) {
|
460 |
+
$headers = array(
|
461 |
+
'name' => 'YARPP Template',
|
462 |
+
'description' => 'Description',
|
463 |
+
'author' => 'Author',
|
464 |
+
'uri' => 'Author URI',
|
465 |
+
);
|
466 |
+
$data = get_file_data($file, $headers);
|
467 |
+
$data['file'] = $file;
|
468 |
+
$data['basename'] = basename($file);
|
469 |
+
|
470 |
+
if (empty($data['name'])) $data['name'] = $data['basename'];
|
471 |
+
|
472 |
+
return $data;
|
473 |
+
}
|
474 |
+
|
475 |
+
/*
|
476 |
+
* UPGRADE ROUTINES
|
477 |
+
*/
|
478 |
+
|
479 |
+
public function upgrade() {
|
480 |
+
$last_version = get_option('yarpp_version');
|
481 |
+
if (version_compare(YARPP_VERSION, $last_version) === 0) return;
|
482 |
+
|
483 |
+
if ($last_version && version_compare('3.4b2', $last_version) > 0) $this->upgrade_3_4b2();
|
484 |
+
if ($last_version && version_compare('3.4b5', $last_version) > 0) $this->upgrade_3_4b5();
|
485 |
+
if ($last_version && version_compare('3.4b8', $last_version) > 0) $this->upgrade_3_4b8();
|
486 |
+
if ($last_version && version_compare('3.4.4b2', $last_version) > 0) $this->upgrade_3_4_4b2();
|
487 |
+
if ($last_version && version_compare('3.4.4b3', $last_version) > 0) $this->upgrade_3_4_4b3();
|
488 |
+
if ($last_version && version_compare('3.4.4b4', $last_version) > 0) $this->upgrade_3_4_4b4();
|
489 |
+
if ($last_version && version_compare('3.5.2b2', $last_version) > 0) $this->upgrade_3_5_2b2();
|
490 |
+
if ($last_version && version_compare('3.6b7', $last_version) > 0) $this->upgrade_3_6b7();
|
491 |
+
if ($last_version && version_compare('4.0.1', $last_version) > 0) $this->upgrade_4_0_1();
|
492 |
+
|
493 |
+
$this->cache->upgrade($last_version);
|
494 |
+
/* flush cache in 3.4.1b5 as 3.4 messed up calculations. */
|
495 |
+
if ($last_version && version_compare('3.4.1b5', $last_version) > 0) $this->cache->flush();
|
496 |
+
|
497 |
+
$this->version_info(true);
|
498 |
+
|
499 |
+
update_option('yarpp_version', YARPP_VERSION);
|
500 |
+
update_option('yarpp_upgraded', true);
|
501 |
+
$this->delete_transient('yarpp_optin');
|
502 |
+
}
|
503 |
+
|
504 |
+
public function upgrade_3_4b2() {
|
505 |
+
global $wpdb;
|
506 |
+
|
507 |
+
$yarpp_3_3_options = array(
|
508 |
+
'threshold' => 4,
|
509 |
+
'limit' => 4,
|
510 |
+
'template_file' => '',
|
511 |
+
'excerpt_length' => 10,
|
512 |
+
'recent_number' => 12,
|
513 |
+
'recent_units' => 'month',
|
514 |
+
'before_title' => '<li>',
|
515 |
+
'after_title' => '</li>',
|
516 |
+
'before_post' => ' <small>',
|
517 |
+
'after_post' => '</small>',
|
518 |
+
'before_related' => '<h3>'.__('Related posts:','yarpp').'</h3><ol>',
|
519 |
+
'after_related' => '</ol>',
|
520 |
+
'no_results' => '<p>'.__('No related posts.','yarpp').'</p>',
|
521 |
+
'order' => 'score DESC',
|
522 |
+
'rss_limit' => 3,
|
523 |
+
'rss_template_file' => '',
|
524 |
+
'rss_excerpt_length' => 10,
|
525 |
+
'rss_before_title' => '<li>',
|
526 |
+
'rss_after_title' => '</li>',
|
527 |
+
'rss_before_post' => ' <small>',
|
528 |
+
'rss_after_post' => '</small>',
|
529 |
+
'rss_before_related' => '<h3>'.__('Related posts:','yarpp').'</h3><ol>',
|
530 |
+
'rss_after_related' => '</ol>',
|
531 |
+
'rss_no_results' => '<p>'.__('No related posts.','yarpp').'</p>',
|
532 |
+
'rss_order' => 'score DESC',
|
533 |
+
'title' => '2',
|
534 |
+
'body' => '2',
|
535 |
+
'categories' => '1',
|
536 |
+
'tags' => '2',
|
537 |
+
'distags' => '',
|
538 |
+
'discats' => '',
|
539 |
+
'past_only' => false,
|
540 |
+
'show_excerpt' => false,
|
541 |
+
'recent_only' => false,
|
542 |
+
'use_template' => false,
|
543 |
+
'rss_show_excerpt' => false,
|
544 |
+
'rss_use_template' => false,
|
545 |
+
'show_pass_post' => false,
|
546 |
+
'cross_relate' => false,
|
547 |
+
'auto_display' => true,
|
548 |
+
'rss_display' => false,
|
549 |
+
'rss_excerpt_display' => true,
|
550 |
+
'promote_yarpp' => false,
|
551 |
+
'rss_promote_yarpp' => false
|
552 |
+
);
|
553 |
+
|
554 |
+
$yarpp_options = array();
|
555 |
+
foreach ($yarpp_3_3_options as $key => $default) {
|
556 |
+
$value = get_option("yarpp_$key", null);
|
557 |
+
if (is_null($value)) continue;
|
558 |
+
|
559 |
+
if (is_bool($default)) {
|
560 |
+
$yarpp_options[$key] = (boolean) $value;
|
561 |
+
continue;
|
562 |
+
}
|
563 |
+
|
564 |
+
// value options used to be stored with a bajillion slashes...
|
565 |
+
$value = stripslashes(stripslashes($value));
|
566 |
+
// value options used to be stored with a blank space at the end... don't ask.
|
567 |
+
$value = rtrim($value, ' ');
|
568 |
+
|
569 |
+
if (is_int($default)) {
|
570 |
+
$yarpp_options[$key] = absint($value);
|
571 |
+
} else {
|
572 |
+
$yarpp_options[$key] = $value;
|
573 |
+
}
|
574 |
+
}
|
575 |
+
|
576 |
+
// add the options directly first, then call set_option which will ensure defaults,
|
577 |
+
// in case any new options have been added.
|
578 |
+
update_option('yarpp', $yarpp_options);
|
579 |
+
$this->set_option($yarpp_options);
|
580 |
+
|
581 |
+
$option_keys = array_keys($yarpp_options);
|
582 |
+
// append some keys for options which are long deprecated:
|
583 |
+
$option_keys[] = 'ad_hoc_caching';
|
584 |
+
$option_keys[] = 'excerpt_len';
|
585 |
+
$option_keys[] = 'show_score';
|
586 |
+
if (count($option_keys)) {
|
587 |
+
$in = "('yarpp_".join("', 'yarpp_", $option_keys)."')";
|
588 |
+
$wpdb->query("DELETE FROM {$wpdb->options} WHERE option_name IN {$in}");
|
589 |
+
}
|
590 |
+
}
|
591 |
+
|
592 |
+
public function upgrade_3_4b5() {
|
593 |
+
$options = $this->get_option();
|
594 |
+
$options['exclude'] = array(
|
595 |
+
'post_tag' => $options['distags'],
|
596 |
+
'category' => $options['discats']
|
597 |
+
);
|
598 |
+
unset($options['distags']);
|
599 |
+
unset($options['discats']);
|
600 |
+
update_option('yarpp', $options);
|
601 |
+
}
|
602 |
+
|
603 |
+
function upgrade_3_4b8() {
|
604 |
+
$options = $this->get_option();
|
605 |
+
$options['weight'] = array(
|
606 |
+
'title' => (int) @$options['title'],
|
607 |
+
'body' => (int) @$options['body'],
|
608 |
+
'tax' => array(
|
609 |
+
'post_tag' => (int) @$options['tags'],
|
610 |
+
'category' => (int) @$options['categories'],
|
611 |
+
)
|
612 |
+
);
|
613 |
+
|
614 |
+
// ensure that we consider something
|
615 |
+
if ($options['weight']['title'] < 2
|
616 |
+
&& $options['weight']['body'] < 2
|
617 |
+
&& $options['weight']['tax']['post_tag'] < 2
|
618 |
+
&& $options['weight']['tax']['category'] < 2
|
619 |
+
) {
|
620 |
+
$options['weight'] = $this->default_options['weight'];
|
621 |
+
}
|
622 |
+
|
623 |
+
unset($options['title']);
|
624 |
+
unset($options['body']);
|
625 |
+
unset($options['tags']);
|
626 |
+
unset($options['categories']);
|
627 |
+
|
628 |
+
update_option('yarpp', $options);
|
629 |
+
}
|
630 |
+
|
631 |
+
public function upgrade_3_4_4b2() {
|
632 |
+
$options = $this->get_option();
|
633 |
+
|
634 |
+
// update weight values; split out tax weights into weight[tax] and require_tax
|
635 |
+
$weight_map = array(2 => 1, 3 => YARPP_EXTRA_WEIGHT);
|
636 |
+
|
637 |
+
if ((int) $options['weight']['title'] == 1) {
|
638 |
+
unset($options['weight']['title']);
|
639 |
+
} else {
|
640 |
+
$options['weight']['title'] = $weight_map[(int) $options['weight']['title']];
|
641 |
+
}
|
642 |
+
|
643 |
+
if ((int) $options['weight']['body'] == 1) {
|
644 |
+
unset( $options['weight']['body'] );
|
645 |
+
} else {
|
646 |
+
$options['weight']['body'] = $weight_map[(int) $options['weight']['body']];
|
647 |
+
}
|
648 |
+
|
649 |
+
$options['require_tax'] = array();
|
650 |
+
foreach ($options['weight']['tax'] as $tax => $value) {
|
651 |
+
if ($value == 3) $options['require_tax'][$tax] = 1;
|
652 |
+
if ($value == 4) $options['require_tax'][$tax] = 2;
|
653 |
+
|
654 |
+
if ($value > 1) {
|
655 |
+
$options['weight']['tax'][$tax] = 1;
|
656 |
+
} else {
|
657 |
+
unset( $options['weight']['tax'][$tax] );
|
658 |
+
}
|
659 |
+
}
|
660 |
+
|
661 |
+
// consolidate excludes, using tt_ids.
|
662 |
+
$exclude_tt_ids = array();
|
663 |
+
if (isset($options['exclude']) && is_array($options['exclude'])) {
|
664 |
+
foreach ($options['exclude'] as $tax => $term_ids) {
|
665 |
+
if (!empty($term_ids)) {
|
666 |
+
$lp_tmp = wp_list_pluck(get_terms($tax, array('include' => $term_ids)), 'term_taxonomy_id');
|
667 |
+
$exclude_tt_ids = array_merge($lp_tmp, $exclude_tt_ids );
|
668 |
+
}
|
669 |
+
}
|
670 |
+
}
|
671 |
+
$options['exclude'] = join(',', $exclude_tt_ids);
|
672 |
+
|
673 |
+
update_option( 'yarpp', $options );
|
674 |
+
}
|
675 |
+
|
676 |
+
public function upgrade_3_4_4b3() {
|
677 |
+
$options = $this->get_option();
|
678 |
+
|
679 |
+
$options['template'] = ($options['use_template']) ? $options['template_file'] : false;
|
680 |
+
$options['rss_template'] = ($options['rss_use_template']) ? $options['rss_template_file'] : false;
|
681 |
+
|
682 |
+
unset($options['use_template']);
|
683 |
+
unset($options['template_file']);
|
684 |
+
unset($options['rss_use_template']);
|
685 |
+
unset($options['rss_template_file']);
|
686 |
+
|
687 |
+
update_option('yarpp', $options);
|
688 |
+
}
|
689 |
+
|
690 |
+
public function upgrade_3_4_4b4() {
|
691 |
+
$options = $this->get_option();
|
692 |
+
|
693 |
+
$options['recent'] = ($options['recent_only']) ? $options['recent_number'].' '.$options['recent_units'] : false;
|
694 |
+
|
695 |
+
unset($options['recent_only']);
|
696 |
+
unset($options['recent_number']);
|
697 |
+
unset($options['recent_units']);
|
698 |
+
|
699 |
+
update_option('yarpp', $options);
|
700 |
+
}
|
701 |
+
|
702 |
+
public function upgrade_3_5_2b2() {
|
703 |
+
// fixing the effects of a previous bug affecting non-MyISAM users
|
704 |
+
if (is_null( $this->get_option('weight'))
|
705 |
+
|| !is_array( $this->get_option('weight'))
|
706 |
+
) {
|
707 |
+
$weight = $this->default_options['weight'];
|
708 |
+
|
709 |
+
// if we're still not using MyISAM
|
710 |
+
if (!$this->get_option('myisam_override')
|
711 |
+
&& $this->diagnostic_myisam_posts() !== true
|
712 |
+
) {
|
713 |
+
unset($weight['title']);
|
714 |
+
unset($weight['body']);
|
715 |
+
}
|
716 |
+
|
717 |
+
$this->set_option(array('weight' => $weight));
|
718 |
+
}
|
719 |
+
}
|
720 |
+
|
721 |
+
public function upgrade_3_6b7() {
|
722 |
+
// migrate auto_display setting to auto_display_post_types
|
723 |
+
$options = $this->get_option();
|
724 |
+
|
725 |
+
$options['auto_display_post_types'] = ($options['auto_display']) ? array('post') : array();
|
726 |
+
|
727 |
+
unset($options['auto_display']);
|
728 |
+
|
729 |
+
update_option('yarpp', $options);
|
730 |
+
}
|
731 |
+
|
732 |
+
public function upgrade_4_0_1() {
|
733 |
+
delete_transient('yarpp_version_info');
|
734 |
+
}
|
735 |
+
|
736 |
+
/*
|
737 |
+
* UTILITIES
|
738 |
+
* TODO: Create its own class
|
739 |
+
*/
|
740 |
+
|
741 |
+
private $current_post;
|
742 |
+
private $current_query;
|
743 |
+
private $current_pagenow;
|
744 |
+
// so we can return to normal later
|
745 |
+
public function save_post_context() {
|
746 |
+
global $wp_query, $pagenow, $post;
|
747 |
+
|
748 |
+
$this->current_query = $wp_query;
|
749 |
+
$this->current_pagenow = $pagenow;
|
750 |
+
$this->current_post = $post;
|
751 |
+
}
|
752 |
+
|
753 |
+
public function restore_post_context() {
|
754 |
+
global $wp_query, $pagenow, $post;
|
755 |
+
|
756 |
+
$wp_query = $this->current_query;
|
757 |
+
unset($this->current_query);
|
758 |
+
|
759 |
+
$pagenow = $this->current_pagenow;
|
760 |
+
unset($this->current_pagenow);
|
761 |
+
|
762 |
+
if (isset($this->current_post)) {
|
763 |
+
$post = $this->current_post;
|
764 |
+
setup_postdata($post);
|
765 |
+
unset($this->current_post);
|
766 |
+
}
|
767 |
+
}
|
768 |
+
|
769 |
+
private $post_types = null;
|
770 |
+
public function get_post_types($field = 'name') {
|
771 |
+
if (is_null($this->post_types)) {
|
772 |
+
$this->post_types = get_post_types(array(), 'objects');
|
773 |
+
$this->post_types = array_filter($this->post_types, array($this, 'post_type_filter'));
|
774 |
+
}
|
775 |
+
|
776 |
+
if ($field === 'objects') return $this->post_types;
|
777 |
+
|
778 |
+
return wp_list_pluck( $this->post_types, $field );
|
779 |
+
}
|
780 |
+
|
781 |
+
private function post_type_filter($post_type) {
|
782 |
+
if ($post_type->_builtin && $post_type->show_ui) return true;
|
783 |
+
if (isset($post_type->yarpp_support)) return $post_type->yarpp_support;
|
784 |
+
return false;
|
785 |
+
}
|
786 |
+
|
787 |
+
private $taxonomies = null;
|
788 |
+
function get_taxonomies($field = false) {
|
789 |
+
if (is_null($this->taxonomies)) {
|
790 |
+
$this->taxonomies = get_taxonomies(array(), 'objects');
|
791 |
+
$this->taxonomies = array_filter($this->taxonomies, array($this, 'taxonomy_filter'));
|
792 |
+
}
|
793 |
+
|
794 |
+
if ($field) return wp_list_pluck($this->taxonomies, $field);
|
795 |
+
|
796 |
+
return $this->taxonomies;
|
797 |
+
}
|
798 |
+
|
799 |
+
private function taxonomy_filter($taxonomy) {
|
800 |
+
if (!count(array_intersect($taxonomy->object_type, $this->get_post_types()))) return false;
|
801 |
+
|
802 |
+
// if yarpp_support is set, follow that; otherwise include if show_ui is true
|
803 |
+
if (isset($taxonomy->yarpp_support)) return $taxonomy->yarpp_support;
|
804 |
+
|
805 |
+
return $taxonomy->show_ui;
|
806 |
+
}
|
807 |
+
|
808 |
+
/**
|
809 |
+
* Gather optin data.
|
810 |
+
* @return array
|
811 |
+
*/
|
812 |
+
public function optin_data() {
|
813 |
+
global $wpdb;
|
814 |
+
|
815 |
+
$comments = wp_count_comments();
|
816 |
+
$users = $wpdb->get_var("SELECT COUNT(ID) FROM ".$wpdb->users); //count_users();
|
817 |
+
$posts = $wpdb->get_var("SELECT COUNT(ID) FROM ".$wpdb->posts." WHERE post_type = 'post' AND comment_count > 0");
|
818 |
+
$settings = $this->get_option();
|
819 |
+
|
820 |
+
$collect = array_flip(array(
|
821 |
+
'threshold', 'limit', 'excerpt_length', 'recent', 'rss_limit',
|
822 |
+
'rss_excerpt_length', 'past_only', 'show_excerpt', 'rss_show_excerpt',
|
823 |
+
'template', 'rss_template', 'show_pass_post', 'cross_relate',
|
824 |
+
'rss_display', 'rss_excerpt_display', 'promote_yarpp', 'rss_promote_yarpp',
|
825 |
+
'myisam_override', 'weight', 'require_tax', 'auto_display_archive'
|
826 |
+
));
|
827 |
+
|
828 |
+
$check_changed = array(
|
829 |
+
'before_title', 'after_title', 'before_post', 'after_post',
|
830 |
+
'after_related', 'no_results', 'order', 'rss_before_title',
|
831 |
+
'rss_after_title', 'rss_before_post', 'rss_after_post', 'rss_after_related',
|
832 |
+
'rss_no_results', 'rss_order', 'exclude', 'thumbnails_heading',
|
833 |
+
'thumbnails_default', 'rss_thumbnails_heading', 'rss_thumbnails_default', 'display_code'
|
834 |
+
);
|
835 |
+
|
836 |
+
$data = array(
|
837 |
+
'versions' => array(
|
838 |
+
'yarpp' => YARPP_VERSION,
|
839 |
+
'wp' => get_bloginfo('version'),
|
840 |
+
'php' => phpversion()
|
841 |
+
),
|
842 |
+
'yarpp' => array(
|
843 |
+
'settings' => array_intersect_key($settings, $collect),
|
844 |
+
'cache_engine' => YARPP_CACHE_TYPE
|
845 |
+
),
|
846 |
+
'diagnostics' => array(
|
847 |
+
'myisam_posts' => $this->diagnostic_myisam_posts(),
|
848 |
+
'fulltext_disabled' => $this->diagnostic_fulltext_disabled(),
|
849 |
+
'fulltext_indices' => $this->diagnostic_fulltext_indices(),
|
850 |
+
'hidden_metaboxes' => $this->diagnostic_hidden_metaboxes(),
|
851 |
+
'post_thumbnails' => $this->diagnostic_post_thumbnails(),
|
852 |
+
'happy' => $this->diagnostic_happy(),
|
853 |
+
'using_thumbnails' => $this->diagnostic_using_thumbnails(),
|
854 |
+
'generate_thumbnails' => $this->diagnostic_generate_thumbnails(),
|
855 |
+
),
|
856 |
+
'stats' => array(
|
857 |
+
'counts' => array(),
|
858 |
+
'terms' => array(),
|
859 |
+
'comments' => array(
|
860 |
+
'moderated' => $comments->moderated,
|
861 |
+
'approved' => $comments->approved,
|
862 |
+
'total' => $comments->total_comments,
|
863 |
+
'posts' => $posts
|
864 |
+
),
|
865 |
+
'users' => $users,
|
866 |
+
),
|
867 |
+
'locale' => get_bloginfo('language'),
|
868 |
+
'url' => get_bloginfo('url'),
|
869 |
+
'plugins' => array(
|
870 |
+
'active' => implode('|', get_option('active_plugins', array())),
|
871 |
+
'sitewide' => implode('|', array_keys(get_site_option('active_sitewide_plugins', array())))
|
872 |
+
),
|
873 |
+
'pools' => $settings['pools']
|
874 |
+
);
|
875 |
+
|
876 |
+
$data['yarpp']['settings']['auto_display_post_types'] = implode('|',$settings['auto_display_post_types']);
|
877 |
+
|
878 |
+
$changed = array();
|
879 |
+
foreach ($check_changed as $key) {
|
880 |
+
if ($this->default_options[$key] !== $settings[$key]) $changed[] = $key;
|
881 |
+
}
|
882 |
+
|
883 |
+
foreach (array('before_related','rss_before_related') as $key) {
|
884 |
+
if ($settings[$key] !== '<p>'.__('Related posts:','yarpp').'</p><ol>'
|
885 |
+
&& $settings[$key] !== $this->default_options[$key]
|
886 |
+
) {
|
887 |
+
$changed[] = $key;
|
888 |
+
}
|
889 |
+
}
|
890 |
+
|
891 |
+
$data['yarpp']['changed_settings'] = implode('|', $changed);
|
892 |
+
|
893 |
+
if (method_exists($this->cache, 'cache_status')) $data['yarpp']['cache_status'] = $this->cache->cache_status();
|
894 |
+
|
895 |
+
if (method_exists($this->cache, 'stats')) {
|
896 |
+
$stats = $this->cache->stats();
|
897 |
+
$flattened = array();
|
898 |
+
|
899 |
+
foreach ($stats as $key => $value) $flattened[] = "$key:$value";
|
900 |
+
$data['yarpp']['stats'] = implode('|', $flattened);
|
901 |
+
}
|
902 |
+
|
903 |
+
if (method_exists($wpdb, 'db_version')) {
|
904 |
+
$data['versions']['mysql'] = preg_replace('/[^0-9.].*/', '', $wpdb->db_version());
|
905 |
+
}
|
906 |
+
|
907 |
+
$counts = array();
|
908 |
+
foreach (get_post_types(array('public' => true)) as $post_type) {
|
909 |
+
$counts[$post_type] = wp_count_posts($post_type);
|
910 |
+
}
|
911 |
+
|
912 |
+
$data['stats']['counts'] = wp_list_pluck($counts, 'publish');
|
913 |
+
|
914 |
+
foreach (get_taxonomies(array('public' => true)) as $taxonomy) {
|
915 |
+
$data['stats']['terms'][$taxonomy] = wp_count_terms($taxonomy);
|
916 |
+
}
|
917 |
+
|
918 |
+
if (is_multisite()) {
|
919 |
+
$data['multisite'] = array(
|
920 |
+
'url' => network_site_url(),
|
921 |
+
'users' => get_user_count(),
|
922 |
+
'sites' => get_blog_count()
|
923 |
+
);
|
924 |
+
}
|
925 |
+
|
926 |
+
return $data;
|
927 |
+
}
|
928 |
+
|
929 |
+
public function pretty_echo($data) {
|
930 |
+
echo "<pre>";
|
931 |
+
$formatted = print_r($data, true);
|
932 |
+
$formatted = str_replace(array('Array', '(', ')', "\n "), array('', '', '', "\n"), $formatted);
|
933 |
+
echo preg_replace("/\n\s*\n/u", "\n", $formatted);
|
934 |
+
echo "</pre>";
|
935 |
+
}
|
936 |
+
|
937 |
+
/*
|
938 |
+
* CORE LOOKUP + DISPLAY FUNCTIONS
|
939 |
+
*/
|
940 |
+
|
941 |
+
/**
|
942 |
+
* Display related posts
|
943 |
+
* @since 2.1 The domain global refers to {website, widget, rss, metabox}
|
944 |
+
* @since 3.0 New query-based approach: EXTREMELY HACKY!
|
945 |
+
*
|
946 |
+
* @param integer $reference_ID
|
947 |
+
* @param array $args
|
948 |
+
* @param bool $echo
|
949 |
+
* @return string
|
950 |
+
*/
|
951 |
+
public function display_related($reference_ID = null, $args = array(), $echo = true) {
|
952 |
+
$output = null;
|
953 |
+
/*
|
954 |
+
* YARPP Pro Script Tag
|
955 |
+
*/
|
956 |
+
if((isset($this->yarppPro['active']) && $this->yarppPro['active']) && $args['domain'] === 'website'){
|
957 |
+
|
958 |
+
if(
|
959 |
+
(isset($this->yarppPro['aid']) && isset($this->yarppPro['v']))
|
960 |
+
&& ($this->yarppPro['aid'] && $this->yarppPro['v'])
|
961 |
+
){
|
962 |
+
$ru = 'http://'.$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI'];
|
963 |
+
$output =
|
964 |
+
"\n".
|
965 |
+
'<script>'.
|
966 |
+
'var aid='.$this->yarppPro['aid'].',v="'.$this->yarppPro['v'].'",credomain="adkengage.com",ru="'.$ru.'";'.
|
967 |
+
"document.write('<sc'+'ript type=\"text/javascript\" src=\"http://'+ credomain +'/Scripts/CREReqScript.js\"></sc'+'ript>');".
|
968 |
+
'</script>'.
|
969 |
+
"\n";
|
970 |
+
}
|
971 |
+
} else {
|
972 |
+
|
973 |
+
/* If we're already in a YARPP loop, stop now. */
|
974 |
+
if ($this->cache->is_yarpp_time() || $this->cache_bypass->is_yarpp_time()) return false;
|
975 |
+
|
976 |
+
$this->enforce();
|
977 |
+
|
978 |
+
if (is_numeric($reference_ID)) {
|
979 |
+
$reference_ID = (int) $reference_ID;
|
980 |
+
} else {
|
981 |
+
$reference_ID = get_the_ID();
|
982 |
+
}
|
983 |
+
|
984 |
+
/**
|
985 |
+
* @since 3.5.3 don't compute on revisions.
|
986 |
+
*/
|
987 |
+
if ($the_post = wp_is_post_revision($reference_ID)) $reference_ID = $the_post;
|
988 |
+
|
989 |
+
$this->setup_active_cache($args);
|
990 |
+
|
991 |
+
$options = array(
|
992 |
+
'domain',
|
993 |
+
'limit',
|
994 |
+
'template',
|
995 |
+
'order',
|
996 |
+
'promote_yarpp',
|
997 |
+
'optin'
|
998 |
+
);
|
999 |
+
|
1000 |
+
extract($this->parse_args($args, $options));
|
1001 |
+
|
1002 |
+
$cache_status = $this->active_cache->enforce($reference_ID);
|
1003 |
+
if ($cache_status === YARPP_DONT_RUN) return;
|
1004 |
+
if ($cache_status !== YARPP_NO_RELATED) $this->active_cache->begin_yarpp_time($reference_ID, $args);
|
1005 |
+
|
1006 |
+
$this->save_post_context();
|
1007 |
+
|
1008 |
+
global $wp_query; $wp_query = new WP_Query();
|
1009 |
+
|
1010 |
+
if ($cache_status !== YARPP_NO_RELATED) {
|
1011 |
+
$orders = explode(' ', $order);
|
1012 |
+
$wp_query->query(
|
1013 |
+
array(
|
1014 |
+
'p' => $reference_ID,
|
1015 |
+
'orderby' => $orders[0],
|
1016 |
+
'order' => $orders[1],
|
1017 |
+
'showposts' => $limit,
|
1018 |
+
'post_type' => (isset($args['post_type']) ? $args['post_type'] : $this->get_post_types())
|
1019 |
+
)
|
1020 |
+
);
|
1021 |
+
}
|
1022 |
+
|
1023 |
+
$this->prep_query($this->current_query->is_feed);
|
1024 |
+
|
1025 |
+
$wp_query->posts = apply_filters('yarpp_results', $wp_query->posts, array(
|
1026 |
+
'function' => 'display_related',
|
1027 |
+
'args' => $args,
|
1028 |
+
'related_ID' => $reference_ID)
|
1029 |
+
);
|
1030 |
+
|
1031 |
+
$related_query = $wp_query; // backwards compatibility
|
1032 |
+
$related_count = $related_query->post_count;
|
1033 |
+
|
1034 |
+
$output = "<div class='";
|
1035 |
+
if ($domain === 'website') {
|
1036 |
+
$output .= "yarpp-related";
|
1037 |
+
} else {
|
1038 |
+
$output .= "yarpp-related-{$domain}";
|
1039 |
+
}
|
1040 |
+
|
1041 |
+
if ($related_count < 1) {
|
1042 |
+
$output .= " yarpp-related-none";
|
1043 |
+
}
|
1044 |
+
|
1045 |
+
$output .= "'>\n";
|
1046 |
+
|
1047 |
+
if ($domain === 'metabox') {
|
1048 |
+
include(YARPP_DIR.'/includes/template-metabox.php');
|
1049 |
+
} elseif ((bool) $template && $template === 'thumbnails') {
|
1050 |
+
include(YARPP_DIR.'/includes/template_thumbnails.php');
|
1051 |
+
} elseif ((bool) $template && file_exists(STYLESHEETPATH.'/'.$template)) {
|
1052 |
+
global $post;
|
1053 |
+
ob_start();
|
1054 |
+
include(STYLESHEETPATH.'/'.$template);
|
1055 |
+
$output .= ob_get_contents();
|
1056 |
+
ob_end_clean();
|
1057 |
+
} elseif ($domain === 'widget') {
|
1058 |
+
include(YARPP_DIR.'/includes/template-widget.php');
|
1059 |
+
} else {
|
1060 |
+
include(YARPP_DIR.'/includes/template_builtin.php');
|
1061 |
+
}
|
1062 |
+
$output = trim($output)."\n";
|
1063 |
+
|
1064 |
+
if ($cache_status === YARPP_NO_RELATED) {
|
1065 |
+
// Uh, do nothing. Stay very still.
|
1066 |
+
} else {
|
1067 |
+
$this->active_cache->end_yarpp_time();
|
1068 |
+
}
|
1069 |
+
|
1070 |
+
unset($related_query);
|
1071 |
+
$this->restore_post_context();
|
1072 |
+
|
1073 |
+
if ($related_count > 0 && $promote_yarpp && $domain != 'metabox') {
|
1074 |
+
$output .=
|
1075 |
+
"<p>".
|
1076 |
+
sprintf(
|
1077 |
+
__("Related posts brought to you by <a href='%s'>Yet Another Related Posts Plugin</a>.",'yarpp'),
|
1078 |
+
'http://yarpp.com'
|
1079 |
+
).
|
1080 |
+
"</p>\n";
|
1081 |
+
}
|
1082 |
+
|
1083 |
+
if($optin){
|
1084 |
+
$output .= '<img src="http://yarpp.org/pixels/'.md5(get_bloginfo('url')).'" alt="YARPP"/>'."\n";
|
1085 |
+
}
|
1086 |
+
$output .= "</div>\n";
|
1087 |
+
}
|
1088 |
+
|
1089 |
+
if ($echo) echo $output;
|
1090 |
+
return $output;
|
1091 |
+
|
1092 |
+
}/*end display_related*/
|
1093 |
+
|
1094 |
+
/*
|
1095 |
+
* @param (int) $reference_ID
|
1096 |
+
* @param (array) $args
|
1097 |
+
*/
|
1098 |
+
public function get_related($reference_ID = null, $args = array()) {
|
1099 |
+
/* If we're already in a YARPP loop, stop now. */
|
1100 |
+
if ($this->cache->is_yarpp_time() || $this->cache_bypass->is_yarpp_time()) return false;
|
1101 |
+
|
1102 |
+
$this->enforce();
|
1103 |
+
|
1104 |
+
if (is_numeric($reference_ID)) {
|
1105 |
+
$reference_ID = (int) $reference_ID;
|
1106 |
+
} else {
|
1107 |
+
$reference_ID = get_the_ID();
|
1108 |
+
}
|
1109 |
+
|
1110 |
+
/**
|
1111 |
+
* @since 3.5.3: don't compute on revisions.
|
1112 |
+
*/
|
1113 |
+
if ($the_post = wp_is_post_revision($reference_ID)) $reference_ID = $the_post;
|
1114 |
+
|
1115 |
+
$this->setup_active_cache($args);
|
1116 |
+
|
1117 |
+
$options = array('limit', 'order');
|
1118 |
+
extract($this->parse_args($args, $options));
|
1119 |
+
|
1120 |
+
$cache_status = $this->active_cache->enforce($reference_ID);
|
1121 |
+
if ($cache_status === YARPP_DONT_RUN || $cache_status === YARPP_NO_RELATED) return array();
|
1122 |
+
|
1123 |
+
/* Get ready for YARPP TIME! */
|
1124 |
+
$this->active_cache->begin_yarpp_time($reference_ID, $args);
|
1125 |
+
|
1126 |
+
$related_query = new WP_Query();
|
1127 |
+
$orders = explode(' ',$order);
|
1128 |
+
$related_query->query(array(
|
1129 |
+
'p' => $reference_ID,
|
1130 |
+
'orderby' => $orders[0],
|
1131 |
+
'order' => $orders[1],
|
1132 |
+
'showposts' => $limit,
|
1133 |
+
'post_type' => (isset($args['post_type'])) ? $args['post_type'] : $this->get_post_types()
|
1134 |
+
));
|
1135 |
+
|
1136 |
+
$related_query->posts = apply_filters(
|
1137 |
+
'yarpp_results',
|
1138 |
+
$related_query->posts,
|
1139 |
+
array(
|
1140 |
+
'function' => 'get_related',
|
1141 |
+
'args' => $args,
|
1142 |
+
'related_ID' => $reference_ID
|
1143 |
+
)
|
1144 |
+
);
|
1145 |
+
|
1146 |
+
$this->active_cache->end_yarpp_time();
|
1147 |
+
|
1148 |
+
return $related_query->posts;
|
1149 |
+
}
|
1150 |
+
|
1151 |
+
/*
|
1152 |
+
* @param (int) $reference_ID
|
1153 |
+
* @param (array) $args
|
1154 |
+
*/
|
1155 |
+
public function related_exist($reference_ID = null, $args = array()) {
|
1156 |
+
/* if we're already in a YARPP loop, stop now. */
|
1157 |
+
if ($this->cache->is_yarpp_time() || $this->cache_bypass->is_yarpp_time()) return false;
|
1158 |
+
|
1159 |
+
$this->enforce();
|
1160 |
+
|
1161 |
+
if (is_numeric($reference_ID)) {
|
1162 |
+
$reference_ID = (int) $reference_ID;
|
1163 |
+
} else {
|
1164 |
+
$reference_ID = get_the_ID();
|
1165 |
+
}
|
1166 |
+
|
1167 |
+
/** @since 3.5.3: don't compute on revisions */
|
1168 |
+
if ($the_post = wp_is_post_revision($reference_ID)) $reference_ID = $the_post;
|
1169 |
+
|
1170 |
+
$this->setup_active_cache($args);
|
1171 |
+
|
1172 |
+
$cache_status = $this->active_cache->enforce($reference_ID);
|
1173 |
+
|
1174 |
+
if ($cache_status === YARPP_NO_RELATED) return false;
|
1175 |
+
|
1176 |
+
/* Get ready for YARPP TIME! */
|
1177 |
+
$this->active_cache->begin_yarpp_time($reference_ID, $args);
|
1178 |
+
$related_query = new WP_Query();
|
1179 |
+
$related_query->query(array(
|
1180 |
+
'p' => $reference_ID,
|
1181 |
+
'showposts' => 1,
|
1182 |
+
'post_type' => (isset($args['post_type'])) ? $args['post_type'] : $this->get_post_types()
|
1183 |
+
));
|
1184 |
+
|
1185 |
+
$related_query->posts = apply_filters(
|
1186 |
+
'yarpp_results',
|
1187 |
+
$related_query->posts,
|
1188 |
+
array(
|
1189 |
+
'function' => 'related_exist',
|
1190 |
+
'args' => $args,
|
1191 |
+
'related_ID' => $reference_ID
|
1192 |
+
)
|
1193 |
+
);
|
1194 |
+
|
1195 |
+
$return = $related_query->have_posts();
|
1196 |
+
unset($related_query);
|
1197 |
+
|
1198 |
+
$this->active_cache->end_yarpp_time();
|
1199 |
+
|
1200 |
+
return $return;
|
1201 |
+
}
|
1202 |
+
|
1203 |
+
/**
|
1204 |
+
* @param array $args
|
1205 |
+
* @param bool $echo
|
1206 |
+
* @return string
|
1207 |
+
*/
|
1208 |
+
public function display_demo_related($args = array(), $echo = true) {
|
1209 |
+
/* if we're already in a demo YARPP loop, stop now. */
|
1210 |
+
if ($this->cache_bypass->demo_time) return false;
|
1211 |
+
|
1212 |
+
$options = array(
|
1213 |
+
'domain',
|
1214 |
+
'limit',
|
1215 |
+
'template',
|
1216 |
+
'order',
|
1217 |
+
'promote_yarpp'
|
1218 |
+
);
|
1219 |
+
extract($this->parse_args($args, $options));
|
1220 |
+
|
1221 |
+
$this->cache_bypass->begin_demo_time($limit);
|
1222 |
+
|
1223 |
+
$output = "<div class='";
|
1224 |
+
if ($domain === 'website') {
|
1225 |
+
$output .= "yarpp-related";
|
1226 |
+
} else {
|
1227 |
+
$output .= "yarpp-related-{$domain}";
|
1228 |
+
}
|
1229 |
+
$output .= "'>\n";
|
1230 |
+
|
1231 |
+
global $wp_query; $wp_query = new WP_Query();
|
1232 |
+
|
1233 |
+
$wp_query->query('');
|
1234 |
+
|
1235 |
+
$this->prep_query($domain === 'rss');
|
1236 |
+
$related_query = $wp_query; // backwards compatibility
|
1237 |
+
|
1238 |
+
if ((bool) $template && $template === 'thumbnails') {
|
1239 |
+
include(YARPP_DIR.'/includes/template_thumbnails.php');
|
1240 |
+
} else if ((bool) $template && file_exists(STYLESHEETPATH.'/'.$template)) {
|
1241 |
+
ob_start();
|
1242 |
+
include(STYLESHEETPATH.'/'.$template);
|
1243 |
+
$output .= ob_get_contents();
|
1244 |
+
ob_end_clean();
|
1245 |
+
} else {
|
1246 |
+
include(YARPP_DIR.'/includes/template_builtin.php');
|
1247 |
+
}
|
1248 |
+
$output = trim($output)."\n";
|
1249 |
+
|
1250 |
+
$this->cache_bypass->end_demo_time();
|
1251 |
+
|
1252 |
+
if ($promote_yarpp) {
|
1253 |
+
$output .=
|
1254 |
+
'<p>'.
|
1255 |
+
sprintf(
|
1256 |
+
__(
|
1257 |
+
"Related posts brought to you by <a href='%s'>Yet Another Related Posts Plugin</a>.",
|
1258 |
+
'yarpp'
|
1259 |
+
),
|
1260 |
+
'http://yarpp.com'
|
1261 |
+
).
|
1262 |
+
"</p>\n";
|
1263 |
+
}
|
1264 |
+
$output .= "</div>";
|
1265 |
+
|
1266 |
+
if ($echo) echo $output;
|
1267 |
+
return $output;
|
1268 |
+
}
|
1269 |
+
|
1270 |
+
public function parse_args($args, $options) {
|
1271 |
+
$options_with_rss_variants = array(
|
1272 |
+
'limit',
|
1273 |
+
'template',
|
1274 |
+
'excerpt_length',
|
1275 |
+
'before_title',
|
1276 |
+
'after_title',
|
1277 |
+
'before_post',
|
1278 |
+
'after_post',
|
1279 |
+
'before_related',
|
1280 |
+
'after_related',
|
1281 |
+
'no_results',
|
1282 |
+
'order',
|
1283 |
+
'promote_yarpp',
|
1284 |
+
'thumbnails_heading',
|
1285 |
+
'thumbnails_default'
|
1286 |
+
);
|
1287 |
+
|
1288 |
+
if (!isset($args['domain'])) $args['domain'] = 'website';
|
1289 |
+
|
1290 |
+
$r = array();
|
1291 |
+
foreach ($options as $option) {
|
1292 |
+
if ($args['domain'] === 'rss'
|
1293 |
+
&& in_array($option, $options_with_rss_variants)
|
1294 |
+
) {
|
1295 |
+
$default = $this->get_option( 'rss_' . $option );
|
1296 |
+
} else {
|
1297 |
+
$default = $this->get_option( $option );
|
1298 |
+
}
|
1299 |
+
|
1300 |
+
if (isset($args[$option]) && $args[$option] !== $default) {
|
1301 |
+
$r[$option] = $args[$option];
|
1302 |
+
} else {
|
1303 |
+
$r[$option] = $default;
|
1304 |
+
}
|
1305 |
+
|
1306 |
+
if ($option === 'weight' && !isset($r[$option]['tax'])) {
|
1307 |
+
$r[$option]['tax'] = array();
|
1308 |
+
}
|
1309 |
+
}
|
1310 |
+
return $r;
|
1311 |
+
}
|
1312 |
+
|
1313 |
+
private function setup_active_cache( $args ) {
|
1314 |
+
/* the options which the main sql query cares about: */
|
1315 |
+
$magic_options = array(
|
1316 |
+
'limit',
|
1317 |
+
'threshold',
|
1318 |
+
'show_pass_post',
|
1319 |
+
'past_only',
|
1320 |
+
'weight',
|
1321 |
+
'exclude',
|
1322 |
+
'require_tax',
|
1323 |
+
'recent'
|
1324 |
+
);
|
1325 |
+
|
1326 |
+
$defaults = $this->get_option();
|
1327 |
+
foreach ($magic_options as $option) {
|
1328 |
+
if (!isset($args[$option])) continue;
|
1329 |
+
|
1330 |
+
/*
|
1331 |
+
* limit is a little different... if it's less than what we cache, let it go.
|
1332 |
+
*/
|
1333 |
+
if ($option === 'limit' && $args[$option] <= max($defaults['limit'], $defaults['rss_limit'])) continue;
|
1334 |
+
|
1335 |
+
if ($args[$option] !== $defaults[$option]) {
|
1336 |
+
$this->active_cache = $this->cache_bypass;
|
1337 |
+
return;
|
1338 |
+
}
|
1339 |
+
}
|
1340 |
+
|
1341 |
+
$this->active_cache = $this->cache;
|
1342 |
+
}
|
1343 |
+
|
1344 |
+
private function prep_query($is_feed = false) {
|
1345 |
+
global $wp_query;
|
1346 |
+
$wp_query->in_the_loop = true;
|
1347 |
+
$wp_query->is_feed = $is_feed;
|
1348 |
+
|
1349 |
+
/*
|
1350 |
+
* Make sure we get the right is_single value (see http://wordpress.org/support/topic/288230)
|
1351 |
+
*/
|
1352 |
+
$wp_query->is_single = false;
|
1353 |
+
}
|
1354 |
+
|
1355 |
+
/*
|
1356 |
+
* DEFAULT CONTENT FILTERS
|
1357 |
+
*/
|
1358 |
+
|
1359 |
+
public function the_content($content) {
|
1360 |
+
/* this filter doesn't handle feeds */
|
1361 |
+
if (is_feed()) return $content;
|
1362 |
+
|
1363 |
+
$auto_display_post_types = $this->get_option('auto_display_post_types');
|
1364 |
+
|
1365 |
+
/* if it's not an auto-display post type, return */
|
1366 |
+
if (!in_array(get_post_type(), $auto_display_post_types)) return $content;
|
1367 |
+
|
1368 |
+
if (!is_singular()
|
1369 |
+
&& !($this->get_option('auto_display_archive') && (is_archive() || is_home()))
|
1370 |
+
) {
|
1371 |
+
return $content;
|
1372 |
+
}
|
1373 |
+
|
1374 |
+
/* If the content includes <!--noyarpp-->, don't display */
|
1375 |
+
if (stristr($content, '<!--noyarpp-->') !== false) return $content;
|
1376 |
+
|
1377 |
+
if ($this->get_option('cross_relate')) {
|
1378 |
+
$post_types = $this->get_post_types();
|
1379 |
+
} else {
|
1380 |
+
$post_types = array(get_post_type());
|
1381 |
+
}
|
1382 |
+
|
1383 |
+
$post_types = apply_filters('yarpp_map_post_types', $post_types, 'website');
|
1384 |
+
|
1385 |
+
return $content.$this->display_related(
|
1386 |
+
null,
|
1387 |
+
array(
|
1388 |
+
'post_type' => $post_types,
|
1389 |
+
'domain' => 'website'
|
1390 |
+
),
|
1391 |
+
false
|
1392 |
+
);
|
1393 |
+
}
|
1394 |
+
|
1395 |
+
public function the_content_feed($content) {
|
1396 |
+
if (!$this->get_option('rss_display')) return $content;
|
1397 |
+
|
1398 |
+
/* If the content includes <!--noyarpp-->, don't display */
|
1399 |
+
if (stristr($content, '<!--noyarpp-->') !== false) return $content;
|
1400 |
+
|
1401 |
+
if ($this->get_option('cross_relate')) {
|
1402 |
+
$post_types = $this->get_post_types();
|
1403 |
+
} else {
|
1404 |
+
$post_types = array(get_post_type());
|
1405 |
+
}
|
1406 |
+
|
1407 |
+
$post_types = apply_filters('yarpp_map_post_types', $post_types, 'rss');
|
1408 |
+
|
1409 |
+
return $content.$this->display_related(
|
1410 |
+
null,
|
1411 |
+
array(
|
1412 |
+
'post_type' => $post_types,
|
1413 |
+
'domain' => 'rss'
|
1414 |
+
),
|
1415 |
+
false
|
1416 |
+
);
|
1417 |
+
}
|
1418 |
+
|
1419 |
+
public function the_excerpt_rss($content) {
|
1420 |
+
if (!$this->get_option('rss_excerpt_display') || !$this->get_option('rss_display')) return $content;
|
1421 |
+
|
1422 |
+
/* If the content includes <!--noyarpp-->, don't display */
|
1423 |
+
if (stristr($content, '<!--noyarpp-->') !== false) return $content;
|
1424 |
+
|
1425 |
+
if ($this->get_option('cross_relate')) {
|
1426 |
+
$type = $this->get_post_types();
|
1427 |
+
} else if (get_post_type === 'page') {
|
1428 |
+
$type = array('page');
|
1429 |
+
} else {
|
1430 |
+
$type = array('post');
|
1431 |
+
}
|
1432 |
+
|
1433 |
+
return $content . $this->clean_pre($this->display_related(null, array('post_type' => $type, 'domain' => 'rss'), false));
|
1434 |
+
}
|
1435 |
+
|
1436 |
+
/*
|
1437 |
+
* UTILS
|
1438 |
+
* TODO: Move it to its own class.
|
1439 |
+
*/
|
1440 |
+
|
1441 |
+
/**
|
1442 |
+
* @since 3.3 Use PHP serialized format instead of JSON.
|
1443 |
+
*/
|
1444 |
+
public function version_info($enforce_cache = false) {
|
1445 |
+
if (!$enforce_cache && false !== ($result = $this->get_transient('yarpp_version_info'))) return $result;
|
1446 |
+
|
1447 |
+
$version = YARPP_VERSION;
|
1448 |
+
$remote = wp_remote_post("http://yarpp.org/checkversion.php?format=php&version={$version}");
|
1449 |
+
|
1450 |
+
if (is_wp_error($remote) || wp_remote_retrieve_response_code($remote) != 200 || !isset($remote['body'])){
|
1451 |
+
$this->set_transient('yarpp_version_info', null, 60*60);
|
1452 |
+
return false;
|
1453 |
+
}
|
1454 |
+
|
1455 |
+
if ($result = @unserialize($remote['body'])) $this->set_transient('yarpp_version_info', $result, 60*60*24);
|
1456 |
+
|
1457 |
+
return $result;
|
1458 |
+
}
|
1459 |
+
|
1460 |
+
/**
|
1461 |
+
* @since 4.0 Optional data collection (default off)
|
1462 |
+
*/
|
1463 |
+
public function optin_ping() {
|
1464 |
+
if ($this->get_transient('yarpp_optin')) return true;
|
1465 |
+
|
1466 |
+
$remote = wp_remote_post('http://yarpp.org/optin/2/', array('body' => $this->optin_data()));
|
1467 |
+
|
1468 |
+
if (is_wp_error($remote)
|
1469 |
+
|| wp_remote_retrieve_response_code($remote) != 200
|
1470 |
+
|| !isset($remote['body'])
|
1471 |
+
|| $remote['body'] !== 'ok'
|
1472 |
+
) {
|
1473 |
+
/* try again later */
|
1474 |
+
$this->set_transient('yarpp_optin', null, 60*60);
|
1475 |
+
return false;
|
1476 |
+
}
|
1477 |
+
|
1478 |
+
$this->set_transient('yarpp_optin', null, 60*60*24*7);
|
1479 |
+
|
1480 |
+
return true;
|
1481 |
+
}
|
1482 |
+
|
1483 |
+
/**
|
1484 |
+
* A version of the transient functions which is unaffected by caching plugin behavior.
|
1485 |
+
* We want to control the lifetime of data.
|
1486 |
+
* @param int $transient
|
1487 |
+
* @return bool
|
1488 |
+
*/
|
1489 |
+
private function get_transient($transient) {
|
1490 |
+
$transient_timeout = $transient.'_timeout';
|
1491 |
+
|
1492 |
+
if (intval(get_option($transient_timeout)) < time()) {
|
1493 |
+
delete_option($transient_timeout);
|
1494 |
+
return false; // timed out
|
1495 |
+
}
|
1496 |
+
|
1497 |
+
return get_option($transient, true); // still ok
|
1498 |
+
}
|
1499 |
+
|
1500 |
+
private function set_transient($transient, $data = null, $expiration = 0) {
|
1501 |
+
$transient_timeout = $transient.'_timeout';
|
1502 |
+
|
1503 |
+
if (get_option($transient_timeout) === false) {
|
1504 |
+
|
1505 |
+
add_option($transient_timeout, time()+$expiration, '', 'no');
|
1506 |
+
if (!is_null($data)) add_option($transient, $data, '', 'no');
|
1507 |
+
|
1508 |
+
} else {
|
1509 |
+
|
1510 |
+
update_option($transient_timeout, time()+$expiration);
|
1511 |
+
if (!is_null( $data )) update_option($transient, $data);
|
1512 |
+
|
1513 |
+
}
|
1514 |
+
|
1515 |
+
$this->kick_other_caches();
|
1516 |
+
}
|
1517 |
+
|
1518 |
+
private function delete_transient($transient) {
|
1519 |
+
delete_option($transient);
|
1520 |
+
delete_option($transient.'_timeout');
|
1521 |
+
}
|
1522 |
+
|
1523 |
+
/**
|
1524 |
+
* @since 4.0.4 Helper function to force other caching systems which are too aggressive.
|
1525 |
+
* <cough>DB Cache Reloaded (Fix)</cough> to flush when YARPP transients are set.
|
1526 |
+
*/
|
1527 |
+
private function kick_other_caches() {
|
1528 |
+
if (class_exists('DBCacheReloaded')) {
|
1529 |
+
global $wp_db_cache_reloaded;
|
1530 |
+
if (is_object($wp_db_cache_reloaded) && is_a($wp_db_cache_reloaded, 'DBCacheReloaded')) {
|
1531 |
+
// if DBCR offered a more granualar way of just flushing options, I'd love that.
|
1532 |
+
$wp_db_cache_reloaded->dbcr_clear();
|
1533 |
+
}
|
1534 |
+
}
|
1535 |
+
}
|
1536 |
+
|
1537 |
+
/**
|
1538 |
+
* @since 3.5.2 Clean_pre is deprecated in WP 3.4, so implement here.
|
1539 |
+
*/
|
1540 |
+
function clean_pre($text) {
|
1541 |
+
$text = str_replace(array('<br />', '<br/>', '<br>'), array('', '', ''), $text);
|
1542 |
+
$text = str_replace('<p>', "\n", $text);
|
1543 |
+
$text = str_replace('</p>', '', $text);
|
1544 |
+
return $text;
|
1545 |
+
}
|
1546 |
+
}
|
options-meta-boxes.php → classes/YARPP_Meta_Boxes.php
RENAMED
@@ -1,132 +1,146 @@
|
|
1 |
<?php
|
2 |
|
3 |
class YARPP_Meta_Box {
|
4 |
-
protected $template_text =
|
5 |
|
6 |
function __construct() {
|
7 |
-
$this->template_text =
|
|
|
|
|
|
|
|
|
|
|
8 |
}
|
9 |
|
10 |
-
function checkbox(
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
|
|
|
|
|
|
15 |
}
|
16 |
|
17 |
private function offer_copy_templates() {
|
18 |
global $yarpp;
|
19 |
-
return (
|
20 |
}
|
21 |
|
22 |
-
function template_checkbox(
|
23 |
global $yarpp;
|
24 |
|
25 |
-
$pre = $rss ? 'rss_' : '';
|
26 |
-
$chosen_template = yarpp_get_option(
|
27 |
-
$choice =
|
28 |
-
|
|
|
29 |
|
30 |
-
echo
|
31 |
|
32 |
echo "<div data-value='builtin' class='yarpp_template_button";
|
33 |
-
if ( 'builtin'
|
34 |
-
echo ' active';
|
35 |
echo "'><div class='image'></div><div class='label'>" . __( 'List', 'yarpp' ) . "</div></div>";
|
36 |
|
37 |
echo "<div data-value='thumbnails' class='yarpp_template_button";
|
38 |
-
if ( 'thumbnails'
|
39 |
-
|
40 |
-
if ( !$yarpp->diagnostic_post_thumbnails() )
|
41 |
-
echo ' disabled';
|
42 |
echo "'";
|
43 |
-
if (
|
44 |
-
echo ' data-help="'
|
45 |
-
|
|
|
46 |
|
47 |
echo "<div data-value='custom' class='yarpp_template_button";
|
48 |
-
if ( 'custom'
|
49 |
-
|
50 |
-
if ( !$yarpp->diagnostic_custom_templates() )
|
51 |
-
echo ' disabled';
|
52 |
echo "'";
|
53 |
-
if (
|
54 |
-
$help = __(
|
55 |
-
if (
|
56 |
-
$help .= ' '
|
57 |
-
|
|
|
58 |
}
|
59 |
-
echo "><div class='image'></div><div class='label'>"
|
60 |
|
61 |
echo "<input type='hidden' name='{$pre}use_template' id='yarpp-{$pre}use_template' class='use_template' value='{$choice}' />";
|
62 |
|
63 |
echo "</div>";
|
64 |
|
65 |
}
|
66 |
-
|
|
|
67 |
global $yarpp;
|
68 |
-
$pre = $rss ? 'rss_' : '';
|
|
|
69 |
echo "<div class='yarpp_form_row yarpp_form_template_file $class'><div class='yarpp_form_label'>";
|
70 |
-
_e(
|
71 |
echo "</div><div><select name='{$pre}template_file' id='{$pre}template_file'>";
|
72 |
-
|
73 |
-
|
74 |
-
|
75 |
-
|
76 |
-
|
77 |
-
|
|
|
|
|
78 |
}
|
79 |
-
echo "</select><p class='template_file_wrap'><span id='{$pre}template_file'></span></p><p class='template_author_wrap'>"
|
80 |
}
|
81 |
-
|
82 |
-
|
|
|
83 |
echo "<div class='yarpp_form_row yarpp_form_textbox $class'><div class='yarpp_form_label'>";
|
84 |
-
echo "$desc</div
|
85 |
-
|
86 |
-
if ( !empty( $note ) )
|
87 |
echo " <em><small>{$note}</small></em>";
|
|
|
88 |
echo "</div></div>";
|
89 |
}
|
90 |
-
|
91 |
-
|
|
|
92 |
$value = esc_attr( yarpp_get_option( $options[0] ) );
|
93 |
-
echo "<input name='{$options[0]}' type='text' id='{$options[0]}' value='$value' size='$size' /> <span class='yarpp_divider'>/</span> ";
|
94 |
$value = esc_attr( yarpp_get_option( $options[1] ) );
|
95 |
-
echo "<input name='{$options[1]}' type='text' id='{$options[1]}' value='$value' size='$size' />";
|
96 |
-
if (
|
97 |
echo " <em><small>{$note}</small></em>";
|
|
|
98 |
echo "</div></div>";
|
99 |
}
|
100 |
|
101 |
-
function tax_weight(
|
102 |
-
$weight
|
103 |
-
$require
|
|
|
104 |
echo "<div class='yarpp_form_row yarpp_form_select'><div class='yarpp_form_label'>{$taxonomy->labels->name}:</div><div><select name='weight[tax][{$taxonomy->name}]'>";
|
105 |
-
echo "<option value='no'".
|
106 |
-
echo "<option value='consider'".
|
107 |
-
echo "<option value='consider_extra'".
|
108 |
-
echo "<option value='require_one'".
|
109 |
-
echo "<option value='require_more'".
|
110 |
echo "</select></div></div>";
|
111 |
}
|
112 |
|
113 |
-
function weight(
|
114 |
global $yarpp;
|
115 |
|
116 |
-
$weight = (int) yarpp_get_option(
|
117 |
|
118 |
-
|
119 |
$fulltext = $yarpp->diagnostic_fulltext_disabled() ? ' readonly="readonly" disabled="disabled"' : '';
|
120 |
|
121 |
-
echo "<div class='yarpp_form_row yarpp_form_select'><div class='yarpp_form_label'
|
122 |
-
echo "<select name='weight[$option]'>";
|
123 |
-
echo "<option $fulltext value='no'".
|
124 |
-
echo "<option $fulltext value='consider'".
|
125 |
-
echo "<option $fulltext value='consider_extra'".
|
126 |
echo "</select></div></div>";
|
127 |
}
|
128 |
|
129 |
-
function displayorder(
|
130 |
echo "<div class='yarpp_form_row yarpp_form_select $class'><div class='yarpp_form_label'>";
|
131 |
_e( "Order results:", 'yarpp' );
|
132 |
echo "</div><div><select name='$option' id='<?php echo $option; ?>'>";
|
@@ -144,7 +158,7 @@ class YARPP_Meta_Box {
|
|
144 |
}
|
145 |
|
146 |
class YARPP_Meta_Box_Pool extends YARPP_Meta_Box {
|
147 |
-
function exclude(
|
148 |
global $yarpp;
|
149 |
|
150 |
echo "<div class='yarpp_form_row yarpp_form_exclude'><div class='yarpp_form_label'>";
|
@@ -152,7 +166,7 @@ class YARPP_Meta_Box_Pool extends YARPP_Meta_Box {
|
|
152 |
echo "</div><div class='yarpp_scroll_wrapper'><div class='exclude_terms' id='exclude_{$taxonomy}'>";
|
153 |
|
154 |
$exclude_tt_ids = wp_parse_id_list( yarpp_get_option( 'exclude' ) );
|
155 |
-
$exclude_term_ids = $yarpp->admin->get_term_ids_from_tt_ids(
|
156 |
if ( count( $exclude_term_ids ) ) {
|
157 |
$terms = get_terms( $taxonomy, array( 'include' => $exclude_term_ids ) );
|
158 |
foreach ( $terms as $term ) {
|
@@ -163,7 +177,7 @@ class YARPP_Meta_Box_Pool extends YARPP_Meta_Box {
|
|
163 |
echo "</div></div></div>";
|
164 |
}
|
165 |
|
166 |
-
function display() {
|
167 |
global $yarpp;
|
168 |
|
169 |
echo "<p>";
|
@@ -173,13 +187,13 @@ class YARPP_Meta_Box_Pool extends YARPP_Meta_Box {
|
|
173 |
<div class='yarpp_form_row'><div class='yarpp_form_label'><?php _e( 'Post types considered:', 'yarpp' ); ?></div><div><?php echo implode( ', ', $yarpp->get_post_types( 'label' ) ); ?> <a href='#help-dev' id='yarpp-help-cpt' class='yarpp_help'> </a></div></div>
|
174 |
|
175 |
<?php
|
176 |
-
foreach (
|
177 |
$this->exclude( $taxonomy->name, sprintf( __( 'Disallow by %s:', 'yarpp' ), $taxonomy->labels->singular_name ) );
|
178 |
}
|
179 |
$this->checkbox( 'show_pass_post', __( "Show password protected posts?", 'yarpp' ) );
|
180 |
|
181 |
$recent = yarpp_get_option( 'recent' );
|
182 |
-
if (
|
183 |
list( $recent_number, $recent_units ) = explode( ' ', $recent );
|
184 |
} else {
|
185 |
$recent_number = 12;
|
@@ -193,15 +207,23 @@ class YARPP_Meta_Box_Pool extends YARPP_Meta_Box {
|
|
193 |
</select>";
|
194 |
|
195 |
echo "<div class='yarpp_form_row yarpp_form_checkbox'><div><input type='checkbox' name='recent_only' value='true'";
|
196 |
-
checked(
|
197 |
echo " /> ";
|
198 |
echo str_replace( 'NUMBER', $recent_number, str_replace( 'UNITS', $recent_units, __( "Show only posts from the past NUMBER UNITS", 'yarpp' ) ) );
|
199 |
echo "</div></div>";
|
200 |
|
201 |
}
|
202 |
-
}
|
203 |
|
204 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
205 |
|
206 |
class YARPP_Meta_Box_Relatedness extends YARPP_Meta_Box {
|
207 |
function display() {
|
@@ -292,7 +314,7 @@ class YARPP_Meta_Box_Display_Web extends YARPP_Meta_Box {
|
|
292 |
$this->displayorder( 'order' );
|
293 |
|
294 |
$this->checkbox( 'promote_yarpp', __( "Help promote Yet Another Related Posts Plugin?", 'yarpp' )
|
295 |
-
." <span class='yarpp_help' data-help='" . esc_attr( sprintf( __( "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.", 'yarpp' ), "<code>" . htmlspecialchars( sprintf( __( "Related posts brought to you by <a href='%s'>Yet Another Related Posts Plugin</a>.", 'yarpp' ), 'http://yarpp.
|
296 |
}
|
297 |
}
|
298 |
|
@@ -353,7 +375,7 @@ class YARPP_Meta_Box_Display_Feed extends YARPP_Meta_Box {
|
|
353 |
|
354 |
$this->displayorder( 'rss_order', 'rss_displayed' );
|
355 |
|
356 |
-
$this->checkbox( 'rss_promote_yarpp', __( "Help promote Yet Another Related Posts Plugin?", 'yarpp' ) . " <span class='yarpp_help' data-help='" . esc_attr( sprintf( __( "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.", 'yarpp' ), "<code>" . htmlspecialchars( sprintf( __( "Related posts brought to you by <a href='%s'>Yet Another Related Posts Plugin</a>.", 'yarpp' ), 'http://yarpp.
|
357 |
}
|
358 |
}
|
359 |
|
@@ -363,9 +385,6 @@ 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 |
|
371 |
$out =
|
@@ -381,8 +400,8 @@ class YARPP_Meta_Box_Contact extends YARPP_Meta_Box {
|
|
381 |
'</a>'.
|
382 |
'</li>'.
|
383 |
'<li>'.
|
384 |
-
'<a href="http://yarpp.
|
385 |
-
'<span class="icon icon-
|
386 |
'</a>'.
|
387 |
'</li>'.
|
388 |
'<li>'.
|
@@ -399,7 +418,7 @@ class YARPP_Meta_Box_Contact extends YARPP_Meta_Box {
|
|
399 |
|
400 |
add_meta_box(
|
401 |
'yarpp_display_optin',
|
402 |
-
__(
|
403 |
array(
|
404 |
new YARPP_Meta_Box_Optin,
|
405 |
'display'
|
@@ -453,8 +472,15 @@ class YARPP_Meta_Box_Optin extends YARPP_Meta_Box {
|
|
453 |
|
454 |
}/*YARPP_Meta_Box_Optin*/
|
455 |
|
456 |
-
add_meta_box(
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
457 |
|
458 |
// since 3.3: hook for registering new YARPP meta boxes
|
459 |
-
do_action(
|
460 |
|
1 |
<?php
|
2 |
|
3 |
class YARPP_Meta_Box {
|
4 |
+
protected $template_text = null;
|
5 |
|
6 |
function __construct() {
|
7 |
+
$this->template_text =
|
8 |
+
__(
|
9 |
+
"This advanced option gives you full power to customize how your related posts are displayed. ".
|
10 |
+
"Templates (stored in your theme folder) are written in PHP.",
|
11 |
+
'yarpp'
|
12 |
+
);
|
13 |
}
|
14 |
|
15 |
+
function checkbox($option, $desc, $class=null) {
|
16 |
+
$out =
|
17 |
+
"<div class='yarpp_form_row yarpp_form_checkbox $class'><div scope='row'>".
|
18 |
+
"<input type='checkbox' name='$option' id='yarpp-$option' value='true'".
|
19 |
+
checked(yarpp_get_option($option), true, false).
|
20 |
+
" /> <label for='yarpp-$option'>$desc</label></div></div>";
|
21 |
+
|
22 |
+
echo $out;
|
23 |
}
|
24 |
|
25 |
private function offer_copy_templates() {
|
26 |
global $yarpp;
|
27 |
+
return (!$yarpp->diagnostic_custom_templates() && $yarpp->admin->can_copy_templates());
|
28 |
}
|
29 |
|
30 |
+
public function template_checkbox($rss=false, $class=null) {
|
31 |
global $yarpp;
|
32 |
|
33 |
+
$pre = ($rss) ? 'rss_' : '';
|
34 |
+
$chosen_template = yarpp_get_option($pre."template");
|
35 |
+
$choice = ($chosen_template === false)
|
36 |
+
? 'builtin'
|
37 |
+
: (($chosen_template === 'thumbnails') ? 'thumbnails' : 'custom');
|
38 |
|
39 |
+
echo '<div class="yarpp_form_row yarpp_form_template_buttons '.$class.'">';
|
40 |
|
41 |
echo "<div data-value='builtin' class='yarpp_template_button";
|
42 |
+
if ($choice === 'builtin') echo ' active';
|
|
|
43 |
echo "'><div class='image'></div><div class='label'>" . __( 'List', 'yarpp' ) . "</div></div>";
|
44 |
|
45 |
echo "<div data-value='thumbnails' class='yarpp_template_button";
|
46 |
+
if ($choice === 'thumbnails') echo ' active';
|
47 |
+
if (!$yarpp->diagnostic_post_thumbnails()) echo ' disabled';
|
|
|
|
|
48 |
echo "'";
|
49 |
+
if (!$yarpp->diagnostic_post_thumbnails()) {
|
50 |
+
echo ' data-help="'.esc_attr(__('This option is disabled because your theme does not support post thumbnails.', 'yarpp')).'"';
|
51 |
+
}
|
52 |
+
echo "><div class='image'></div><div class='label'>".__('Thumbnails', 'yarpp')."</div></div>";
|
53 |
|
54 |
echo "<div data-value='custom' class='yarpp_template_button";
|
55 |
+
if ($choice === 'custom') echo ' active';
|
56 |
+
if (!$yarpp->diagnostic_custom_templates()) echo ' disabled';
|
|
|
|
|
57 |
echo "'";
|
58 |
+
if (!$yarpp->diagnostic_custom_templates()) {
|
59 |
+
$help = __('This option is disabled because no YARPP templates were found in your theme.', 'yarpp');
|
60 |
+
if ($this->offer_copy_templates()) {
|
61 |
+
$help .= ' '.__("Would you like to copy some sample templates bundled with YARPP into your theme?", 'yarpp')."<input type='button' class='button button-small yarpp_copy_templates_button' value='".esc_attr(__('Copy Templates', 'yarpp'))."'/>";
|
62 |
+
}
|
63 |
+
echo " data-help='".esc_attr($help)."'";
|
64 |
}
|
65 |
+
echo "><div class='image'></div><div class='label'>".__('Custom', 'yarpp')."</div></div>";
|
66 |
|
67 |
echo "<input type='hidden' name='{$pre}use_template' id='yarpp-{$pre}use_template' class='use_template' value='{$choice}' />";
|
68 |
|
69 |
echo "</div>";
|
70 |
|
71 |
}
|
72 |
+
|
73 |
+
public function template_file($rss=false, $class=null) {
|
74 |
global $yarpp;
|
75 |
+
$pre = ($rss) ? 'rss_' : '';
|
76 |
+
|
77 |
echo "<div class='yarpp_form_row yarpp_form_template_file $class'><div class='yarpp_form_label'>";
|
78 |
+
_e("Template file:", 'yarpp');
|
79 |
echo "</div><div><select name='{$pre}template_file' id='{$pre}template_file'>";
|
80 |
+
|
81 |
+
$chosen_template = yarpp_get_option("{$pre}template");
|
82 |
+
foreach ($yarpp->get_templates() as $template) {
|
83 |
+
echo "<option value='".esc_attr($template['basename'])."'".selected($template['basename'], $chosen_template, false);
|
84 |
+
foreach ($template as $key => $value) {
|
85 |
+
echo " data-{$key}='".esc_attr($value)."'";
|
86 |
+
}
|
87 |
+
echo '>'.esc_html($template['name']).'</option>';
|
88 |
}
|
89 |
+
echo "</select><p class='template_file_wrap'><span id='{$pre}template_file'></span></p><p class='template_author_wrap'>".__( 'Author:' )." <span id='{$pre}template_author'></span></p><p class='template_description_wrap'><span id='{$pre}template_description'></span></p></div></div>";
|
90 |
}
|
91 |
+
|
92 |
+
public function textbox($option, $desc, $size=2, $class=null, $note=null) {
|
93 |
+
$value = esc_attr(yarpp_get_option($option));
|
94 |
echo "<div class='yarpp_form_row yarpp_form_textbox $class'><div class='yarpp_form_label'>";
|
95 |
+
echo "{$desc}</div><div><input name='{$option}' type='text' id='{$option}' value='{$value}' size='{$size}' />";
|
96 |
+
if ($note) {
|
|
|
97 |
echo " <em><small>{$note}</small></em>";
|
98 |
+
}
|
99 |
echo "</div></div>";
|
100 |
}
|
101 |
+
|
102 |
+
public function beforeafter($options, $desc, $size=10, $class=null, $note=null) {
|
103 |
+
echo "<div class='yarpp_form_row yarpp_form_textbox {$class}'><div class='yarpp_form_label'>{$desc}</div><div>";
|
104 |
$value = esc_attr( yarpp_get_option( $options[0] ) );
|
105 |
+
echo "<input name='{$options[0]}' type='text' id='{$options[0]}' value='{$value}' size='{$size}' /> <span class='yarpp_divider'>/</span> ";
|
106 |
$value = esc_attr( yarpp_get_option( $options[1] ) );
|
107 |
+
echo "<input name='{$options[1]}' type='text' id='{$options[1]}' value='{$value}' size='{$size}' />";
|
108 |
+
if ($note){
|
109 |
echo " <em><small>{$note}</small></em>";
|
110 |
+
}
|
111 |
echo "</div></div>";
|
112 |
}
|
113 |
|
114 |
+
public function tax_weight($taxonomy) {
|
115 |
+
$weight = (int) yarpp_get_option("weight[tax][{$taxonomy->name}]");
|
116 |
+
$require = (int) yarpp_get_option("require_tax[{$taxonomy->name}]");
|
117 |
+
|
118 |
echo "<div class='yarpp_form_row yarpp_form_select'><div class='yarpp_form_label'>{$taxonomy->labels->name}:</div><div><select name='weight[tax][{$taxonomy->name}]'>";
|
119 |
+
echo "<option value='no'".((!$weight && !$require) ? ' selected="selected"': '' )." > ".__("do not consider", 'yarpp')."</option>";
|
120 |
+
echo "<option value='consider'".(($weight == 1 && !$require) ? ' selected="selected"': '' )." >".__("consider", 'yarpp')."</option>";
|
121 |
+
echo "<option value='consider_extra'".(($weight > 1 && !$require) ? ' selected="selected"': '' )." >".__("consider with extra weight", 'yarpp')."</option>";
|
122 |
+
echo "<option value='require_one'".(($require == 1) ? ' selected="selected"': '' )." >".sprintf(__("require at least one %s in common", 'yarpp'), $taxonomy->labels->singular_name)."</option>";
|
123 |
+
echo "<option value='require_more'".(($require == 2) ? ' selected="selected"': '' )." >".sprintf(__("require more than one %s in common", 'yarpp'), $taxonomy->labels->singular_name)."</option>";
|
124 |
echo "</select></div></div>";
|
125 |
}
|
126 |
|
127 |
+
public function weight($option, $desc) {
|
128 |
global $yarpp;
|
129 |
|
130 |
+
$weight = (int) yarpp_get_option("weight[$option]");
|
131 |
|
132 |
+
/* Both require MyISAM fulltext indexing: */
|
133 |
$fulltext = $yarpp->diagnostic_fulltext_disabled() ? ' readonly="readonly" disabled="disabled"' : '';
|
134 |
|
135 |
+
echo "<div class='yarpp_form_row yarpp_form_select'><div class='yarpp_form_label'>{$desc}</div><div>";
|
136 |
+
echo "<select name='weight[{$option}]'>";
|
137 |
+
echo "<option {$fulltext} value='no'".((!$weight) ? ' selected="selected"': '')." >".__("do not consider", 'yarpp')."</option>";
|
138 |
+
echo "<option {$fulltext} value='consider'".(($weight == 1) ? ' selected="selected"': '')." > ".__("consider", 'yarpp')."</option>";
|
139 |
+
echo "<option {$fulltext} value='consider_extra'".(($weight > 1) ? ' selected="selected"': '')." > ".__("consider with extra weight", 'yarpp')."</option>";
|
140 |
echo "</select></div></div>";
|
141 |
}
|
142 |
|
143 |
+
public function displayorder($option, $class=null) {
|
144 |
echo "<div class='yarpp_form_row yarpp_form_select $class'><div class='yarpp_form_label'>";
|
145 |
_e( "Order results:", 'yarpp' );
|
146 |
echo "</div><div><select name='$option' id='<?php echo $option; ?>'>";
|
158 |
}
|
159 |
|
160 |
class YARPP_Meta_Box_Pool extends YARPP_Meta_Box {
|
161 |
+
public function exclude($taxonomy, $string) {
|
162 |
global $yarpp;
|
163 |
|
164 |
echo "<div class='yarpp_form_row yarpp_form_exclude'><div class='yarpp_form_label'>";
|
166 |
echo "</div><div class='yarpp_scroll_wrapper'><div class='exclude_terms' id='exclude_{$taxonomy}'>";
|
167 |
|
168 |
$exclude_tt_ids = wp_parse_id_list( yarpp_get_option( 'exclude' ) );
|
169 |
+
$exclude_term_ids = $yarpp->admin->get_term_ids_from_tt_ids($taxonomy, $exclude_tt_ids);
|
170 |
if ( count( $exclude_term_ids ) ) {
|
171 |
$terms = get_terms( $taxonomy, array( 'include' => $exclude_term_ids ) );
|
172 |
foreach ( $terms as $term ) {
|
177 |
echo "</div></div></div>";
|
178 |
}
|
179 |
|
180 |
+
public function display() {
|
181 |
global $yarpp;
|
182 |
|
183 |
echo "<p>";
|
187 |
<div class='yarpp_form_row'><div class='yarpp_form_label'><?php _e( 'Post types considered:', 'yarpp' ); ?></div><div><?php echo implode( ', ', $yarpp->get_post_types( 'label' ) ); ?> <a href='#help-dev' id='yarpp-help-cpt' class='yarpp_help'> </a></div></div>
|
188 |
|
189 |
<?php
|
190 |
+
foreach ($yarpp->get_taxonomies() as $taxonomy) {
|
191 |
$this->exclude( $taxonomy->name, sprintf( __( 'Disallow by %s:', 'yarpp' ), $taxonomy->labels->singular_name ) );
|
192 |
}
|
193 |
$this->checkbox( 'show_pass_post', __( "Show password protected posts?", 'yarpp' ) );
|
194 |
|
195 |
$recent = yarpp_get_option( 'recent' );
|
196 |
+
if ((bool) $recent) {
|
197 |
list( $recent_number, $recent_units ) = explode( ' ', $recent );
|
198 |
} else {
|
199 |
$recent_number = 12;
|
207 |
</select>";
|
208 |
|
209 |
echo "<div class='yarpp_form_row yarpp_form_checkbox'><div><input type='checkbox' name='recent_only' value='true'";
|
210 |
+
checked((bool) $recent);
|
211 |
echo " /> ";
|
212 |
echo str_replace( 'NUMBER', $recent_number, str_replace( 'UNITS', $recent_units, __( "Show only posts from the past NUMBER UNITS", 'yarpp' ) ) );
|
213 |
echo "</div></div>";
|
214 |
|
215 |
}
|
|
|
216 |
|
217 |
+
}/*end class*/
|
218 |
+
|
219 |
+
add_meta_box(
|
220 |
+
'yarpp_pool',
|
221 |
+
__( '"The Pool"', 'yarpp' ),
|
222 |
+
array(new YARPP_Meta_Box_Pool, 'display'),
|
223 |
+
'settings_page_yarpp',
|
224 |
+
'normal',
|
225 |
+
'core'
|
226 |
+
);
|
227 |
|
228 |
class YARPP_Meta_Box_Relatedness extends YARPP_Meta_Box {
|
229 |
function display() {
|
314 |
$this->displayorder( 'order' );
|
315 |
|
316 |
$this->checkbox( 'promote_yarpp', __( "Help promote Yet Another Related Posts Plugin?", 'yarpp' )
|
317 |
+
." <span class='yarpp_help' data-help='" . esc_attr( sprintf( __( "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.", 'yarpp' ), "<code>" . htmlspecialchars( sprintf( __( "Related posts brought to you by <a href='%s'>Yet Another Related Posts Plugin</a>.", 'yarpp' ), 'http://yarpp.com' ) ) . "</code>" ) ) ."'> </span>" );
|
318 |
}
|
319 |
}
|
320 |
|
375 |
|
376 |
$this->displayorder( 'rss_order', 'rss_displayed' );
|
377 |
|
378 |
+
$this->checkbox( 'rss_promote_yarpp', __( "Help promote Yet Another Related Posts Plugin?", 'yarpp' ) . " <span class='yarpp_help' data-help='" . esc_attr( sprintf( __( "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.", 'yarpp' ), "<code>" . htmlspecialchars( sprintf( __( "Related posts brought to you by <a href='%s'>Yet Another Related Posts Plugin</a>.", 'yarpp' ), 'http://yarpp.com' ) )."</code>" ) ) . "'> </span>", 'rss_displayed' );
|
379 |
}
|
380 |
}
|
381 |
|
385 |
function display() {
|
386 |
global $yarpp;
|
387 |
|
|
|
|
|
|
|
388 |
$happy = ($yarpp->diagnostic_happy()) ? 'spin' : null;
|
389 |
|
390 |
$out =
|
400 |
'</a>'.
|
401 |
'</li>'.
|
402 |
'<li>'.
|
403 |
+
'<a href="http://yarpp.com" target="_blank">'.
|
404 |
+
'<span class="icon icon-pro"></span> Learn more about YARPP'.
|
405 |
'</a>'.
|
406 |
'</li>'.
|
407 |
'<li>'.
|
418 |
|
419 |
add_meta_box(
|
420 |
'yarpp_display_optin',
|
421 |
+
__('Help Improve YARPP', 'yarpp'),
|
422 |
array(
|
423 |
new YARPP_Meta_Box_Optin,
|
424 |
'display'
|
472 |
|
473 |
}/*YARPP_Meta_Box_Optin*/
|
474 |
|
475 |
+
add_meta_box(
|
476 |
+
'yarpp_display_contact',
|
477 |
+
__('Contact YARPP', 'yarpp'),
|
478 |
+
array(new YARPP_Meta_Box_Contact, 'display'),
|
479 |
+
'settings_page_yarpp',
|
480 |
+
'side',
|
481 |
+
'core'
|
482 |
+
);
|
483 |
|
484 |
// since 3.3: hook for registering new YARPP meta boxes
|
485 |
+
do_action('add_meta_boxes_settings_page_yarpp');
|
486 |
|
classes/YARPP_Widget.php
ADDED
@@ -0,0 +1,192 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
// vaguely based on code by MK Safi
|
4 |
+
// http://msafi.com/fix-yet-another-related-posts-plugin-yarpp-widget-and-add-it-to-the-sidebar/
|
5 |
+
class YARPP_Widget extends WP_Widget {
|
6 |
+
|
7 |
+
public function __construct() {
|
8 |
+
parent::WP_Widget(false, $name = __('Related Posts (YARPP)','yarpp'));
|
9 |
+
}
|
10 |
+
|
11 |
+
public function widget($args, $instance) {
|
12 |
+
global $yarpp;
|
13 |
+
|
14 |
+
if (!is_singular()) return;
|
15 |
+
|
16 |
+
extract($args);
|
17 |
+
|
18 |
+
/* Compatibility with pre-3.5 settings: */
|
19 |
+
if (isset($instance['use_template'])) {
|
20 |
+
$instance['template'] = ($instance['use_template']) ? ($instance['template_file']) : false;
|
21 |
+
}
|
22 |
+
|
23 |
+
if ($yarpp->get_option('cross_relate')){
|
24 |
+
$instance['post_type'] = $yarpp->get_post_types();
|
25 |
+
} else if (in_array(get_post_type(), $yarpp->get_post_types())) {
|
26 |
+
$instance['post_type'] = array(get_post_type());
|
27 |
+
} else {
|
28 |
+
$instance['post_type'] = array('post');
|
29 |
+
}
|
30 |
+
|
31 |
+
$title = apply_filters('widget_title', $instance['title']);
|
32 |
+
|
33 |
+
echo $before_widget;
|
34 |
+
if ( !$instance['template'] ) {
|
35 |
+
echo $before_title;
|
36 |
+
echo $title;
|
37 |
+
echo $after_title;
|
38 |
+
}
|
39 |
+
|
40 |
+
$instance['domain'] = 'widget';
|
41 |
+
$yarpp->display_related(null, $instance, true);
|
42 |
+
echo $after_widget;
|
43 |
+
}
|
44 |
+
|
45 |
+
public function update($new_instance, $old_instance) {
|
46 |
+
if ( $new_instance['use_template'] == 'builtin' )
|
47 |
+
$template = false;
|
48 |
+
if ( $new_instance['use_template'] == 'thumbnails' )
|
49 |
+
$template = 'thumbnails';
|
50 |
+
if ( $new_instance['use_template'] == 'custom' )
|
51 |
+
$template = $new_instance['template_file'];
|
52 |
+
|
53 |
+
$instance = array(
|
54 |
+
'promote_yarpp' => isset($new_instance['promote_yarpp']),
|
55 |
+
'template' => $template
|
56 |
+
);
|
57 |
+
|
58 |
+
$choice = false === $instance['template'] ? 'builtin' :
|
59 |
+
( $instance['template'] == 'thumbnails' ? 'thumbnails' : 'custom' );
|
60 |
+
|
61 |
+
if ((bool) $instance['template'] ) // don't save the title change.
|
62 |
+
$instance['title'] = $old_instance['title'];
|
63 |
+
else // save the title change:
|
64 |
+
$instance['title'] = $new_instance['title'];
|
65 |
+
|
66 |
+
if ((bool) $instance['thumbnails_heading'] ) // don't save the title change.
|
67 |
+
$instance['thumbnails_heading'] = $old_instance['thumbnails_heading'];
|
68 |
+
else // save the title change:
|
69 |
+
$instance['thumbnails_heading'] = $new_instance['thumbnails_heading'];
|
70 |
+
|
71 |
+
return $instance;
|
72 |
+
}
|
73 |
+
|
74 |
+
public function form($instance) {
|
75 |
+
global $yarpp;
|
76 |
+
|
77 |
+
$instance = wp_parse_args(
|
78 |
+
$instance,
|
79 |
+
array(
|
80 |
+
'title' => __('Related Posts (YARPP)','yarpp'),
|
81 |
+
'thumbnails_heading' => $yarpp->get_option('thumbnails_heading'),
|
82 |
+
'template' => false,
|
83 |
+
'promote_yarpp' => false
|
84 |
+
)
|
85 |
+
);
|
86 |
+
|
87 |
+
// compatibility with pre-3.5 settings:
|
88 |
+
if (isset($instance['use_template'])) {
|
89 |
+
$instance['template'] = $instance['template_file'];
|
90 |
+
}
|
91 |
+
|
92 |
+
$choice = ($instance['template'] === false)
|
93 |
+
? 'builtin'
|
94 |
+
: (($instance['template'] === 'thumbnails') ? 'thumbnails' : 'custom');
|
95 |
+
|
96 |
+
// if there are YARPP templates installed...
|
97 |
+
$templates = $yarpp->get_templates();
|
98 |
+
|
99 |
+
if (!$yarpp->diagnostic_custom_templates() && $choice === 'custom') $choice = 'builtin';
|
100 |
+
|
101 |
+
?>
|
102 |
+
|
103 |
+
<p class='yarpp-widget-type-control'>
|
104 |
+
<label style="padding-right: 10px; display: inline-block;" for="<?php echo $this->get_field_id('use_template_builtin'); ?>">
|
105 |
+
<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' ) ?>/>
|
106 |
+
<?php _e("List",'yarpp'); ?>
|
107 |
+
</label>
|
108 |
+
<br/>
|
109 |
+
<label style="padding-right: 10px; display: inline-block;" for="<?php echo $this->get_field_id('use_template_thumbnails'); ?>">
|
110 |
+
<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') ?>/>
|
111 |
+
<?php _e("Thumbnails", 'yarpp'); ?>
|
112 |
+
</label>
|
113 |
+
<br/>
|
114 |
+
<label style="padding-right: 10px; display: inline-block;" for="<?php echo $this->get_field_id('use_template_custom'); ?>">
|
115 |
+
<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'); disabled(!count($templates)); ?>/>
|
116 |
+
<?php _e("Custom", 'yarpp'); ?>
|
117 |
+
</label>
|
118 |
+
</p>
|
119 |
+
|
120 |
+
<p>
|
121 |
+
<label for="<?php echo $this->get_field_id('title'); ?>">
|
122 |
+
<?php _e('Title:'); ?>
|
123 |
+
<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']); ?>"/>
|
124 |
+
</label>
|
125 |
+
</p>
|
126 |
+
|
127 |
+
<p>
|
128 |
+
<label for="<?php echo $this->get_field_id('thumbnails_heading'); ?>">
|
129 |
+
<?php _e('Heading:', 'yarpp'); ?>
|
130 |
+
<input class="widefat" id="<?php echo $this->get_field_id('thumbnails_heading'); ?>" name="<?php echo $this->get_field_name('thumbnails_heading'); ?>" type="text" value="<?php echo esc_attr($instance['thumbnails_heading']); ?>"/>
|
131 |
+
</label>
|
132 |
+
</p>
|
133 |
+
|
134 |
+
<p>
|
135 |
+
<label for="<?php echo $this->get_field_id('template_file'); ?>">
|
136 |
+
<?php _e("Template file:",'yarpp');?>
|
137 |
+
</label>
|
138 |
+
<select name="<?php echo $this->get_field_name('template_file'); ?>" id="<?php echo $this->get_field_id('template_file'); ?>">
|
139 |
+
<?php foreach ($templates as $template): ?>
|
140 |
+
<option value='<?php echo esc_attr($template['basename']); ?>' <?php selected($template['basename'], $instance['template']);?>>
|
141 |
+
<?php echo esc_html($template['name']); ?>
|
142 |
+
</option>
|
143 |
+
<?php endforeach; ?>
|
144 |
+
</select>
|
145 |
+
<p>
|
146 |
+
|
147 |
+
<script type="text/javascript">
|
148 |
+
jQuery(function($) {
|
149 |
+
function ensureTemplateChoice(e) {
|
150 |
+
if (typeof e === 'object' && 'type' in e) {
|
151 |
+
e.stopImmediatePropagation();
|
152 |
+
}
|
153 |
+
|
154 |
+
var this_form = $(this).closest('form'),
|
155 |
+
widget_id = this_form.find('.widget-id').val();
|
156 |
+
|
157 |
+
// if this widget is just in staging:
|
158 |
+
if (/__i__$/.test(widget_id)) return;
|
159 |
+
|
160 |
+
var builtin = !! $('#widget-'+widget_id+'-use_template_builtin').prop('checked'),
|
161 |
+
thumbnails = !! $('#widget-'+widget_id+'-use_template_thumbnails').prop('checked'),
|
162 |
+
custom = !! $('#widget-'+widget_id+'-use_template_custom').prop('checked');
|
163 |
+
|
164 |
+
$('#widget-' + widget_id + '-title').closest('p').toggle(builtin);
|
165 |
+
$('#widget-' + widget_id + '-thumbnails_heading').closest('p').toggle(thumbnails);
|
166 |
+
$('#widget-' + widget_id + '-template_file').closest('p').toggle(custom);
|
167 |
+
|
168 |
+
//console.log(widget_id, custom, builtin);
|
169 |
+
}
|
170 |
+
|
171 |
+
$('#wpbody').on('change', '.yarpp-widget-type-control input', ensureTemplateChoice);
|
172 |
+
$('.yarpp-widget-type-control').each(ensureTemplateChoice);
|
173 |
+
|
174 |
+
});
|
175 |
+
</script>
|
176 |
+
|
177 |
+
<p>
|
178 |
+
<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']) ?> />
|
179 |
+
<label for="<?php echo $this->get_field_id('promote_yarpp'); ?>">
|
180 |
+
<?php _e("Help promote Yet Another Related Posts Plugin?",'yarpp'); ?>
|
181 |
+
</label>
|
182 |
+
</p>
|
183 |
+
<?php
|
184 |
+
}
|
185 |
+
}
|
186 |
+
|
187 |
+
/**
|
188 |
+
* @since 2.0 Add as a widget
|
189 |
+
*/
|
190 |
+
add_action('widgets_init', function(){register_widget('YARPP_Widget');});
|
191 |
+
|
192 |
+
?>
|
default.png
CHANGED
Binary file
|
default_small.png
ADDED
Binary file
|
images/default.png
ADDED
Binary file
|
images/default_small.png
ADDED
Binary file
|
images/sprites-2x.png
ADDED
Binary file
|
images/sprites.png
ADDED
Binary file
|
images/template-buttons-2x.png
ADDED
Binary file
|
includes/init_functions.php
ADDED
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/* Init Functions ---------------------------------------------------------------------------------------------------*/
|
3 |
+
|
4 |
+
function yarpp_init() {
|
5 |
+
global $yarpp;
|
6 |
+
$yarpp = new YARPP;
|
7 |
+
}
|
8 |
+
|
9 |
+
function yarpp_plugin_activate($network_wide) {
|
10 |
+
update_option('yarpp_activated', true);
|
11 |
+
}
|
12 |
+
|
13 |
+
|
14 |
+
function yarpp_set_option($options, $value = null) {
|
15 |
+
global $yarpp;
|
16 |
+
$yarpp->set_option($options, $value);
|
17 |
+
}
|
18 |
+
|
19 |
+
function yarpp_get_option($option = null) {
|
20 |
+
global $yarpp;
|
21 |
+
return $yarpp->get_option($option);
|
22 |
+
}
|
includes/optin_notice.js.php
ADDED
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<script type='text/javascript'>
|
2 |
+
jQuery(function($){
|
3 |
+
$(document.body).on('click', '#yarpp-optin-button', function(){
|
4 |
+
$(this).closest('p').find('.button').attr('disabled',true);
|
5 |
+
$('#yarpp-optin').attr('checked', true);
|
6 |
+
$.ajax({
|
7 |
+
type:'POST',
|
8 |
+
url : ajaxurl,
|
9 |
+
data: {
|
10 |
+
action: 'yarpp_optin_<?php echo $optinAction?>',
|
11 |
+
'_ajax_nonce': $('#yarpp_optin-nonce').val()
|
12 |
+
},
|
13 |
+
success: yarppRedirectAdmin
|
14 |
+
});
|
15 |
+
});
|
16 |
+
});
|
17 |
+
|
18 |
+
function yarppRedirectAdmin(resp){
|
19 |
+
if (resp === 'ok'){
|
20 |
+
window.location.href = 'options-general.php?page=yarpp';
|
21 |
+
}
|
22 |
+
}
|
23 |
+
</script>
|
includes/related_functions.php
ADDED
@@ -0,0 +1,111 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/*---------------------------------------------------------------------------------------------------------------------
|
3 |
+
Here are the related_WHATEVER functions, as introduced in 1.1.
|
4 |
+
Since YARPP 2.1, these functions receive (optionally) one array argument.
|
5 |
+
----------------------------------------------------------------------------------------------------------------------*/
|
6 |
+
|
7 |
+
function yarpp_related($args = array(), $reference_ID = false, $echo = true) {
|
8 |
+
global $yarpp;
|
9 |
+
|
10 |
+
if (is_array($reference_ID)){
|
11 |
+
_doing_it_wrong( __FUNCTION__, "This YARPP function now takes \$args first and \$reference_ID second.", '3.5');
|
12 |
+
return;
|
13 |
+
}
|
14 |
+
|
15 |
+
return $yarpp->display_related($reference_ID, $args, $echo);
|
16 |
+
}
|
17 |
+
|
18 |
+
function yarpp_related_exist($args = array(), $reference_ID = false) {
|
19 |
+
global $yarpp;
|
20 |
+
|
21 |
+
if (is_array($reference_ID)) {
|
22 |
+
_doing_it_wrong( __FUNCTION__, "This YARPP function now takes \$args first and \$reference_ID second.", '3.5');
|
23 |
+
return;
|
24 |
+
}
|
25 |
+
|
26 |
+
return $yarpp->related_exist($reference_ID, $args);
|
27 |
+
}
|
28 |
+
|
29 |
+
function yarpp_get_related($args = array(), $reference_ID = false) {
|
30 |
+
global $yarpp;
|
31 |
+
return $yarpp->get_related($reference_ID, $args);
|
32 |
+
}
|
33 |
+
|
34 |
+
function related_posts($args = array(), $reference_ID = false, $echo = true) {
|
35 |
+
global $yarpp;
|
36 |
+
|
37 |
+
if ( false !== $reference_ID && is_bool($reference_ID) ) {
|
38 |
+
_doing_it_wrong( __FUNCTION__, "This YARPP function now takes \$args first and \$reference_ID second.", '3.5');
|
39 |
+
return;
|
40 |
+
}
|
41 |
+
|
42 |
+
if ($yarpp->get_option('cross_relate')) {
|
43 |
+
$args['post_type'] = $yarpp->get_post_types();
|
44 |
+
} else {
|
45 |
+
$args['post_type'] = array('post');
|
46 |
+
}
|
47 |
+
|
48 |
+
return yarpp_related($args, $reference_ID, $echo);
|
49 |
+
}
|
50 |
+
|
51 |
+
function related_pages($args = array(), $reference_ID = false, $echo = true) {
|
52 |
+
global $yarpp;
|
53 |
+
|
54 |
+
if (false !== $reference_ID && is_bool($reference_ID)) {
|
55 |
+
_doing_it_wrong( __FUNCTION__, "This YARPP function now takes \$args first and \$reference_ID second.", '3.5');
|
56 |
+
return;
|
57 |
+
}
|
58 |
+
|
59 |
+
if ($yarpp->get_option('cross_relate')) {
|
60 |
+
$args['post_type'] = $yarpp->get_post_types();
|
61 |
+
} else {
|
62 |
+
$args['post_type'] = array('page');
|
63 |
+
}
|
64 |
+
|
65 |
+
return yarpp_related($args, $reference_ID, $echo);
|
66 |
+
}
|
67 |
+
|
68 |
+
function related_entries($args = array(), $reference_ID = false, $echo = true) {
|
69 |
+
global $yarpp;
|
70 |
+
|
71 |
+
if (false !== $reference_ID && is_bool($reference_ID)) {
|
72 |
+
_doing_it_wrong( __FUNCTION__, "This YARPP function now takes \$args first and \$reference_ID second.", '3.5');
|
73 |
+
return;
|
74 |
+
}
|
75 |
+
|
76 |
+
$args['post_type'] = $yarpp->get_post_types();
|
77 |
+
|
78 |
+
return yarpp_related($args, $reference_ID, $echo);
|
79 |
+
}
|
80 |
+
|
81 |
+
function related_posts_exist($args = array(), $reference_ID = false) {
|
82 |
+
global $yarpp;
|
83 |
+
|
84 |
+
if ($yarpp->get_option('cross_relate')) {
|
85 |
+
$args['post_type'] = $yarpp->get_post_types();
|
86 |
+
} else {
|
87 |
+
$args['post_type'] = array('post');
|
88 |
+
}
|
89 |
+
|
90 |
+
return yarpp_related_exist($args, $reference_ID);
|
91 |
+
}
|
92 |
+
|
93 |
+
function related_pages_exist($args = array(), $reference_ID = false) {
|
94 |
+
global $yarpp;
|
95 |
+
|
96 |
+
if ($yarpp->get_option('cross_relate')) {
|
97 |
+
$args['post_type'] = $yarpp->get_post_types();
|
98 |
+
} else {
|
99 |
+
$args['post_type'] = array( 'page' );
|
100 |
+
}
|
101 |
+
|
102 |
+
return yarpp_related_exist( $args, $reference_ID );
|
103 |
+
}
|
104 |
+
|
105 |
+
function related_entries_exist($args = array(),$reference_ID = false) {
|
106 |
+
global $yarpp;
|
107 |
+
|
108 |
+
$args['post_type'] = $yarpp->get_post_types();
|
109 |
+
|
110 |
+
return yarpp_related_exist( $args, $reference_ID );
|
111 |
+
}
|
styles-thumbnails.php → includes/styles-thumbnails.css.php
RENAMED
@@ -1,24 +1,17 @@
|
|
1 |
<?php
|
2 |
-
|
3 |
* Dynamic styles for YARPP's built-in thumbnails template
|
4 |
-
* @since 4
|
5 |
*/
|
6 |
|
7 |
-
$height
|
8 |
-
$width
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
$width = (int) $_GET['width'];
|
14 |
-
|
15 |
-
$margin = 5;
|
16 |
-
$width_with_margins = $width + 2 * $margin;
|
17 |
-
$height_with_text = $height + 50;
|
18 |
-
$extramargin = 7;
|
19 |
-
|
20 |
-
header( 'Content-Type: text/css' );
|
21 |
|
|
|
22 |
?>
|
23 |
.yarpp-thumbnails-horizontal .yarpp-thumbnail, .yarpp-thumbnail-default, .yarpp-thumbnail-title {
|
24 |
display: inline-block;
|
@@ -44,7 +37,7 @@ header( 'Content-Type: text/css' );
|
|
44 |
font-size: 1em;
|
45 |
max-height: 2.8em;
|
46 |
line-height: 1.4em;
|
47 |
-
margin: <?php echo $
|
48 |
margin-top: 0px;
|
49 |
width: <?php echo $width; ?>px;
|
50 |
text-decoration: inherit;
|
1 |
<?php
|
2 |
+
/**
|
3 |
* Dynamic styles for YARPP's built-in thumbnails template
|
4 |
+
* @since 4.0
|
5 |
*/
|
6 |
|
7 |
+
$height = (isset($_GET['height'])) ? (int) $_GET['height'] : 120;
|
8 |
+
$width = (isset($_GET['width'])) ? (int) $_GET['width'] : 120;
|
9 |
+
$margin = 5;
|
10 |
+
$width_with_margins = ($margin * 2) + $width;
|
11 |
+
$height_with_text = $height + 50;
|
12 |
+
$extra_margin = 7;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
13 |
|
14 |
+
header('Content-Type: text/css');
|
15 |
?>
|
16 |
.yarpp-thumbnails-horizontal .yarpp-thumbnail, .yarpp-thumbnail-default, .yarpp-thumbnail-title {
|
17 |
display: inline-block;
|
37 |
font-size: 1em;
|
38 |
max-height: 2.8em;
|
39 |
line-height: 1.4em;
|
40 |
+
margin: <?php echo $extra_margin; ?>px;
|
41 |
margin-top: 0px;
|
42 |
width: <?php echo $width; ?>px;
|
43 |
text-decoration: inherit;
|
template-metabox.php → includes/template-metabox.php
RENAMED
File without changes
|
template-widget.php → includes/template-widget.php
RENAMED
File without changes
|
template-builtin.php → includes/template_builtin.php
RENAMED
File without changes
|
template-functions.php → includes/template_functions.php
RENAMED
@@ -6,8 +6,9 @@ function the_score() {
|
|
6 |
echo get_the_score();
|
7 |
}
|
8 |
|
9 |
-
function get_the_score() {
|
10 |
global $post;
|
|
|
11 |
$score = $post->score;
|
12 |
return apply_filters('get_the_score', $score);
|
13 |
}
|
6 |
echo get_the_score();
|
7 |
}
|
8 |
|
9 |
+
function get_the_score() {
|
10 |
global $post;
|
11 |
+
|
12 |
$score = $post->score;
|
13 |
return apply_filters('get_the_score', $score);
|
14 |
}
|
template-thumbnails.php → includes/template_thumbnails.php
RENAMED
File without changes
|
includes/yarpp_options.php
ADDED
@@ -0,0 +1,315 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
global $wpdb, $wp_version, $yarpp;
|
3 |
+
|
4 |
+
/* Enforce YARPP setup: */
|
5 |
+
$yarpp->enforce();
|
6 |
+
|
7 |
+
/* Check to see that templates are in the right place */
|
8 |
+
if (!$yarpp->diagnostic_custom_templates()) {
|
9 |
+
|
10 |
+
$template_option = yarpp_get_option('template');
|
11 |
+
if ($template_option !== false && $template_option !== 'thumbnails') yarpp_set_option('template', false);
|
12 |
+
|
13 |
+
$template_option = yarpp_get_option('rss_template');
|
14 |
+
if ($template_option !== false && $template_option !== 'thumbnails') yarpp_set_option('rss_template', false);
|
15 |
+
}
|
16 |
+
|
17 |
+
/**
|
18 |
+
* @since 3.3 Move version checking here, in PHP.
|
19 |
+
*/
|
20 |
+
if (current_user_can('update_plugins')) {
|
21 |
+
$yarpp_version_info = $yarpp->version_info();
|
22 |
+
|
23 |
+
/*
|
24 |
+
* These strings are not localizable, as long as the plugin data on wordpress.org cannot be.
|
25 |
+
*/
|
26 |
+
$slug = 'yet-another-related-posts-plugin';
|
27 |
+
$plugin_name = 'Yet Another Related Posts Plugin';
|
28 |
+
$file = basename(YARPP_DIR).'/yarpp.php';
|
29 |
+
if ($yarpp_version_info['result'] === 'new') {
|
30 |
+
|
31 |
+
/* Make sure the update system is aware of this version. */
|
32 |
+
$current = get_site_transient('update_plugins');
|
33 |
+
if (!isset($current->response[$file])) {
|
34 |
+
delete_site_transient('update_plugins');
|
35 |
+
wp_update_plugins();
|
36 |
+
}
|
37 |
+
|
38 |
+
echo '<div class="updated"><p>';
|
39 |
+
$details_url = self_admin_url('plugin-install.php?tab=plugin-information&plugin='.$slug.'&TB_iframe=true&width=600&height=800');
|
40 |
+
printf(
|
41 |
+
__(
|
42 |
+
'There is a new version of %1$s available.'.
|
43 |
+
'<a href="%2$s" class="thickbox" title="%3$s">View version %4$s details</a>'.
|
44 |
+
'or <a href="%5$s">update automatically</a>.', 'yarpp'),
|
45 |
+
$plugin_name,
|
46 |
+
esc_url($details_url),
|
47 |
+
esc_attr($plugin_name),
|
48 |
+
$yarpp_version_info['current']['version'],
|
49 |
+
wp_nonce_url( self_admin_url('update.php?action=upgrade-plugin&plugin=').$file, 'upgrade-plugin_'.$file)
|
50 |
+
);
|
51 |
+
echo '</p></div>';
|
52 |
+
|
53 |
+
} else if ($yarpp_version_info['result'] === 'newbeta') {
|
54 |
+
|
55 |
+
echo '<div class="updated"><p>';
|
56 |
+
printf(
|
57 |
+
__(
|
58 |
+
"There is a new beta (%s) of Yet Another Related Posts Plugin. ".
|
59 |
+
"You can <a href=\"%s\">download it here</a> at your own risk.", "yarpp"),
|
60 |
+
$yarpp_version_info['beta']['version'],
|
61 |
+
$yarpp_version_info['beta']['url']
|
62 |
+
);
|
63 |
+
echo '</p></div>';
|
64 |
+
|
65 |
+
}
|
66 |
+
}
|
67 |
+
|
68 |
+
/* MyIsam message */
|
69 |
+
if (isset($_POST['myisam_override'])) {
|
70 |
+
yarpp_set_option('myisam_override', 1);
|
71 |
+
|
72 |
+
echo(
|
73 |
+
"<div class='updated'>"
|
74 |
+
.__("The MyISAM check has been overridden. You may now use the \"consider titles\" and \"consider bodies\" relatedness criteria.",'yarpp')
|
75 |
+
."</div>"
|
76 |
+
);
|
77 |
+
|
78 |
+
$yarpp->enable_fulltext(true);
|
79 |
+
}
|
80 |
+
|
81 |
+
$table_type = $yarpp->diagnostic_myisam_posts();
|
82 |
+
|
83 |
+
if ($table_type !== true) $yarpp->disable_fulltext();
|
84 |
+
|
85 |
+
if (!yarpp_get_option('myisam_override') && $yarpp->diagnostic_fulltext_disabled()) {
|
86 |
+
echo(
|
87 |
+
"<div class='updated'>".
|
88 |
+
sprintf(
|
89 |
+
__("YARPP's \"consider titles\" and \"consider bodies\" relatedness criteria require your <code>%s</code>
|
90 |
+
table to use the <a href='http://dev.mysql.com/doc/refman/5.0/en/storage-engines.html'>MyISAM storage engine</a>,
|
91 |
+
but the table seems to be using the <code>%s</code> engine. These two options have been disabled.",'yarpp'),
|
92 |
+
$wpdb->posts,
|
93 |
+
$table_type
|
94 |
+
).
|
95 |
+
"<br />".
|
96 |
+
sprintf(
|
97 |
+
__("To restore these features, please update your <code>%s</code> table by executing the following SQL
|
98 |
+
directive: <code>ALTER TABLE `%s` ENGINE = MyISAM;</code> . No data will be erased by altering the
|
99 |
+
table's engine, although there are performance implications.",'yarpp'),
|
100 |
+
$wpdb->posts,
|
101 |
+
$wpdb->posts
|
102 |
+
).
|
103 |
+
"<br />".
|
104 |
+
sprintf(
|
105 |
+
__("If, despite this check, you are sure that <code>%s</code> is using the MyISAM engine, press this magic
|
106 |
+
button:",'yarpp'),
|
107 |
+
$wpdb->posts
|
108 |
+
).
|
109 |
+
"<br />".
|
110 |
+
"<form method='post'>".
|
111 |
+
"<input type='submit' class='button' name='myisam_override' value='".__("Trust me. Let me use MyISAM features.",'yarpp')."'/>".
|
112 |
+
"</form>"
|
113 |
+
."</div>"
|
114 |
+
);
|
115 |
+
}
|
116 |
+
|
117 |
+
if(!$yarpp->enabled() && !$yarpp->activate()) {
|
118 |
+
echo '<div class="updated">'.__('The YARPP database has an error which could not be fixed.','yarpp').'</div>';
|
119 |
+
}
|
120 |
+
|
121 |
+
/* This is not a yarpp pluging update, it is an yarpp uption update */
|
122 |
+
if (isset($_POST['update_yarpp'])) {
|
123 |
+
$new_options = array();
|
124 |
+
foreach ($yarpp->default_options as $option => $default) {
|
125 |
+
if ( is_bool($default) )
|
126 |
+
$new_options[$option] = isset($_POST[$option]);
|
127 |
+
// @todo: do we really want to stripslashes here anymore?
|
128 |
+
if ( (is_string($default) || is_int($default)) &&
|
129 |
+
isset($_POST[$option]) && is_string($_POST[$option]) )
|
130 |
+
$new_options[$option] = stripslashes($_POST[$option]);
|
131 |
+
}
|
132 |
+
|
133 |
+
if ( isset($_POST['weight']) ) {
|
134 |
+
$new_options['weight'] = array();
|
135 |
+
$new_options['require_tax'] = array();
|
136 |
+
foreach ( (array) $_POST['weight'] as $key => $value) {
|
137 |
+
if ( $value == 'consider' )
|
138 |
+
$new_options['weight'][$key] = 1;
|
139 |
+
if ( $value == 'consider_extra' )
|
140 |
+
$new_options['weight'][$key] = YARPP_EXTRA_WEIGHT;
|
141 |
+
}
|
142 |
+
foreach ( (array) $_POST['weight']['tax'] as $tax => $value) {
|
143 |
+
if ( $value == 'consider' )
|
144 |
+
$new_options['weight']['tax'][$tax] = 1;
|
145 |
+
if ( $value == 'consider_extra' )
|
146 |
+
$new_options['weight']['tax'][$tax] = YARPP_EXTRA_WEIGHT;
|
147 |
+
if ( $value == 'require_one' ) {
|
148 |
+
$new_options['weight']['tax'][$tax] = 1;
|
149 |
+
$new_options['require_tax'][$tax] = 1;
|
150 |
+
}
|
151 |
+
if ( $value == 'require_more' ) {
|
152 |
+
$new_options['weight']['tax'][$tax] = 1;
|
153 |
+
$new_options['require_tax'][$tax] = 2;
|
154 |
+
}
|
155 |
+
}
|
156 |
+
}
|
157 |
+
|
158 |
+
if ( isset( $_POST['auto_display_post_types'] ) ) {
|
159 |
+
$new_options['auto_display_post_types'] = array_keys( $_POST['auto_display_post_types'] );
|
160 |
+
} else {
|
161 |
+
$new_options['auto_display_post_types'] = array();
|
162 |
+
}
|
163 |
+
|
164 |
+
$new_options['recent'] = isset($_POST['recent_only']) ?
|
165 |
+
$_POST['recent_number'] . ' ' . $_POST['recent_units'] : false;
|
166 |
+
|
167 |
+
if ( isset($_POST['exclude']) )
|
168 |
+
$new_options['exclude'] = implode(',',array_keys($_POST['exclude']));
|
169 |
+
else
|
170 |
+
$new_options['exclude'] = '';
|
171 |
+
|
172 |
+
$new_options['template'] = $_POST['use_template'] == 'custom' ? $_POST['template_file'] :
|
173 |
+
( $_POST['use_template'] == 'thumbnails' ? 'thumbnails' : false );
|
174 |
+
$new_options['rss_template'] = $_POST['rss_use_template'] == 'custom' ? $_POST['rss_template_file'] :
|
175 |
+
( $_POST['rss_use_template'] == 'thumbnails' ? 'thumbnails' : false );
|
176 |
+
|
177 |
+
$new_options = apply_filters( 'yarpp_settings_save', $new_options );
|
178 |
+
yarpp_set_option($new_options);
|
179 |
+
|
180 |
+
echo '<div class="updated fade"><p>'.__('Options saved!','yarpp').'</p></div>';
|
181 |
+
}
|
182 |
+
|
183 |
+
wp_nonce_field('meta-box-order', 'meta-box-order-nonce', false);
|
184 |
+
wp_nonce_field('closedpostboxes', 'closedpostboxesnonce', false);
|
185 |
+
wp_nonce_field('yarpp_display_demo', 'yarpp_display_demo-nonce', false);
|
186 |
+
wp_nonce_field('yarpp_display_exclude_terms', 'yarpp_display_exclude_terms-nonce', false);
|
187 |
+
wp_nonce_field('yarpp_optin_data', 'yarpp_optin_data-nonce', false);
|
188 |
+
wp_nonce_field('yarpp_set_display_code', 'yarpp_set_display_code-nonce', false);
|
189 |
+
|
190 |
+
if (!count($yarpp->admin->get_templates()) && $yarpp->admin->can_copy_templates()) {
|
191 |
+
wp_nonce_field('yarpp_copy_templates', 'yarpp_copy_templates-nonce', false);
|
192 |
+
}
|
193 |
+
|
194 |
+
$switch = (isset($_GET['go']) && $_GET['go'] === 'pro') ? true : false;
|
195 |
+
|
196 |
+
?>
|
197 |
+
|
198 |
+
<div class="wrap">
|
199 |
+
<h2>
|
200 |
+
<?php _e('Yet Another Related Posts Plugin Options','yarpp');?>
|
201 |
+
<small>
|
202 |
+
<?php echo apply_filters('yarpp_version_html', esc_html(get_option('yarpp_version'))) ?>
|
203 |
+
</small>
|
204 |
+
</h2>
|
205 |
+
|
206 |
+
<div id="yarpp_switch_container">
|
207 |
+
|
208 |
+
<ul id="yarpp_switch_tabs">
|
209 |
+
<li class="<?php echo (($switch) ? 'disabled': null)?>">
|
210 |
+
<a href="options-general.php?page=yarpp">YARPP Basic</a>
|
211 |
+
</li>
|
212 |
+
<li class="<?php echo (($switch) ? null : 'disabled')?>">
|
213 |
+
<a href="options-general.php?page=yarpp&go=pro">YARPP Pro</a>
|
214 |
+
</li>
|
215 |
+
</ul>
|
216 |
+
|
217 |
+
<?php if ($switch): ?>
|
218 |
+
|
219 |
+
<div class="yarpp_switch_content">
|
220 |
+
<h1>YARPP Pro is now available!</h1>
|
221 |
+
<p>
|
222 |
+
Access more powerful features with <em>YARPP Pro</em>! Try it today for <strong>FREE</strong>, switch back at any
|
223 |
+
time with no lost custom settings. <a href="http://www.yarpp.com" target="_blank">Find out more.</a>
|
224 |
+
</p>
|
225 |
+
<ul>
|
226 |
+
<li>
|
227 |
+
Make money by displaying sponsored ads.
|
228 |
+
</li>
|
229 |
+
<li>
|
230 |
+
Easily customize thumbnail display.
|
231 |
+
</li>
|
232 |
+
<li>
|
233 |
+
Pull related content from multiple domains.
|
234 |
+
</li>
|
235 |
+
<li>
|
236 |
+
Get detailed traffic reports.
|
237 |
+
</li>
|
238 |
+
<li>
|
239 |
+
No lost settings. Trying <em>YARPP Pro</em> will not delete your Basic settings. Switch back any time.
|
240 |
+
</li>
|
241 |
+
<li>
|
242 |
+
You at decide how much sponsored ad content to display, from 25% to 100% of your related content.
|
243 |
+
When visitors click, you get paid.<br/>
|
244 |
+
<em>(Note: Ad content will be loaded from an external site and usage data will be sent back to YARPP servers.)</em>
|
245 |
+
</li>
|
246 |
+
<li>
|
247 |
+
<em>YARPP Pro</em> does not support non-English ad content at this time so non-English sites will not
|
248 |
+
display sponsored ads.
|
249 |
+
</li>
|
250 |
+
<li>
|
251 |
+
<em>YARPP Pro</em> does not support custom post types at this time.
|
252 |
+
</li>
|
253 |
+
<li>
|
254 |
+
Some <em>YARPP Basic</em> features may not yet be available in <em>YARPP Pro</em>.
|
255 |
+
</li>
|
256 |
+
</ul>
|
257 |
+
<p>
|
258 |
+
<a href="<?php echo plugins_url('includes/', dirname(__FILE__)).'yarpp_switch.php' ?>" id="yarpp_switch_button" data-go="pro" class="button">
|
259 |
+
Enable YARPP Pro for FREE!
|
260 |
+
</a>
|
261 |
+
 
|
262 |
+
<a href="options-general.php?page=yarpp" id="yarpp_switch_cancel" class="button">No, thanks</a>
|
263 |
+
</p>
|
264 |
+
</div>
|
265 |
+
|
266 |
+
<?php else: ?>
|
267 |
+
|
268 |
+
<div class="yarpp_switch_content">
|
269 |
+
<p>
|
270 |
+
The settings below allow you to configure the basic version of Yet Another Related Post Plugin (YARPP).
|
271 |
+
Click on the "YARPP Pro" tab for enhanced functionality: Make money by displaying sponsored ads,
|
272 |
+
further customize thumbnail display, pull related content from multiple domains, and get detailed
|
273 |
+
reporting. <a href="http://yarpp.com" target="_blank">Learn more.</a>
|
274 |
+
</p>
|
275 |
+
</div>
|
276 |
+
</div>
|
277 |
+
|
278 |
+
<form method="post">
|
279 |
+
|
280 |
+
<div id="poststuff" class="metabox-holder has-right-sidebar">
|
281 |
+
|
282 |
+
<?php if (!$yarpp->get_option('rss_display')): ?>
|
283 |
+
<style>
|
284 |
+
.rss_displayed {
|
285 |
+
display: none;
|
286 |
+
}
|
287 |
+
</style>
|
288 |
+
<?php endif ?>
|
289 |
+
|
290 |
+
<!-- Side column -->
|
291 |
+
<div class="inner-sidebar" id="side-info-column">
|
292 |
+
<?php do_meta_boxes('settings_page_yarpp', 'side', array()) ?>
|
293 |
+
</div>
|
294 |
+
|
295 |
+
<!-- Main Content -->
|
296 |
+
<div id="post-body-content">
|
297 |
+
<?php do_meta_boxes('settings_page_yarpp', 'normal', array()) ?>
|
298 |
+
</div>
|
299 |
+
|
300 |
+
<script language="javascript">
|
301 |
+
var spinner = '<?php echo esc_url(admin_url('images/wpspin_light.gif')) ?>',
|
302 |
+
loading = '<img class="loading" src="'+spinner+'" alt="loading..."/>';
|
303 |
+
</script>
|
304 |
+
|
305 |
+
<div>
|
306 |
+
<input type="submit" class='button-primary' name="update_yarpp" value="<?php _e( 'Save Changes' )?>" />
|
307 |
+
</div>
|
308 |
+
|
309 |
+
</div><!--#poststuff-->
|
310 |
+
|
311 |
+
</form>
|
312 |
+
|
313 |
+
<?php endif ?>
|
314 |
+
|
315 |
+
</div>
|
includes/yarpp_pro_options.php
ADDED
@@ -0,0 +1,86 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
global $yarpp;
|
3 |
+
$switch = (isset($_GET['go']) && $_GET['go'] === 'basic') ? $switch = true : null;
|
4 |
+
|
5 |
+
if (isset($_GET['aid']) && isset($_GET['v']) && isset($_GET['st'])) {
|
6 |
+
|
7 |
+
$yarpp->yarppPro['aid'] = (trim($_GET['aid']) !== '') ? $_GET['aid'] : null;
|
8 |
+
$yarpp->yarppPro['st'] = (trim($_GET['st']) !== '') ? rawurlencode($_GET['st']) : null;
|
9 |
+
$yarpp->yarppPro['v'] = (trim($_GET['v']) !== '') ? rawurlencode($_GET['v']) : null;
|
10 |
+
|
11 |
+
update_option('yarpp_pro', $yarpp->yarppPro);
|
12 |
+
|
13 |
+
}
|
14 |
+
|
15 |
+
$src = urlencode(admin_url().'options-general.php?page='.$_GET['page']);
|
16 |
+
$aid = (isset($yarpp->yarppPro['aid']) && $yarpp->yarppPro['aid']) ? $yarpp->yarppPro['aid'] : 0;
|
17 |
+
$st = (isset($yarpp->yarppPro['st']) && $yarpp->yarppPro['st']) ? $yarpp->yarppPro['st'] : 0;
|
18 |
+
$d = urlencode(get_home_url());
|
19 |
+
$url = 'https://yarpp.adkengage.com/AdcenterUI/PublisherUI/PublisherDashboard.aspx?src='.$src.'&d='.$d.'&aid='.$aid.'&st='.$st.'&plugin=1';
|
20 |
+
?>
|
21 |
+
|
22 |
+
<script>
|
23 |
+
/*
|
24 |
+
* Hide Screen Options using jQuery because add_filter('screen_options_show_screen', '__return_false')
|
25 |
+
* removes it system wide.
|
26 |
+
*/
|
27 |
+
jQuery("#screen-options-link-wrap").hide();
|
28 |
+
</script>
|
29 |
+
|
30 |
+
<div class="wrap">
|
31 |
+
<h2>
|
32 |
+
<?php _e('Yet Another Related Posts Plugin Options','yarpp');?>
|
33 |
+
<small>
|
34 |
+
<?php echo apply_filters('yarpp_version_html', esc_html(get_option('yarpp_version'))) ?>
|
35 |
+
</small>
|
36 |
+
</h2>
|
37 |
+
<div id="yarpp_switch_container">
|
38 |
+
|
39 |
+
<ul id="yarpp_switch_tabs">
|
40 |
+
<li class="<?php echo (($switch) ? null : 'disabled')?>">
|
41 |
+
<a href="options-general.php?page=yarpp&go=basic">YARPP Basic</a>
|
42 |
+
</li>
|
43 |
+
<li class="<?php echo (($switch) ? 'disabled': null)?>">
|
44 |
+
<a href="options-general.php?page=yarpp">YARPP Pro</a>
|
45 |
+
</li>
|
46 |
+
</ul>
|
47 |
+
|
48 |
+
<div class="yarpp_switch_content">
|
49 |
+
<?php if ($switch): ?>
|
50 |
+
|
51 |
+
<p>
|
52 |
+
You currently have <em>YARPP Pro</em> enabled, giving you access to even more powerful features.
|
53 |
+
</p>
|
54 |
+
<p>
|
55 |
+
If you are no longer interested in these enhancements and wish to keep only YARPP Basic features, click
|
56 |
+
the button below. Please note that by switching to YARPP Basic you will no longer be able to make money
|
57 |
+
by displaying sponsored ads, nor will you have access to detailed reporting or pull related content from
|
58 |
+
multiple domains.
|
59 |
+
</p>
|
60 |
+
<p>
|
61 |
+
<a href="<?php echo plugins_url('includes/',dirname(__FILE__)).'yarpp_switch.php' ?>" id="yarpp_switch_button" data-go="basic" class="button">
|
62 |
+
I only want access to <em>YARPP Basic</em> features
|
63 |
+
</a>
|
64 |
+
 
|
65 |
+
<a href="options-general.php?page=yarpp" id="yarpp_switch_cancel" class="button">
|
66 |
+
No, thanks. Keep <em>YARPP Pro</em> features enabled
|
67 |
+
</a>
|
68 |
+
</p>
|
69 |
+
|
70 |
+
<?php else: ?>
|
71 |
+
|
72 |
+
<p>
|
73 |
+
The settings below allow you to configure the additional features of <em>YARPP Pro</em>. Make money by displaying
|
74 |
+
sponsored ads, easily customize thumbnail display, pull related content from multiple domains, and get
|
75 |
+
detailed reporting.
|
76 |
+
</p>
|
77 |
+
|
78 |
+
<?php endif ?>
|
79 |
+
</div>
|
80 |
+
|
81 |
+
</div>
|
82 |
+
<?php if (!$switch): ?>
|
83 |
+
<iframe id="yarpp_pro_dashboard" src="<?php echo $url ?>" frameborder="0" border="0" cellspacing="0" scrolling="no">'.
|
84 |
+
</iframe>
|
85 |
+
<?php endif ?>
|
86 |
+
</div>
|
includes/yarpp_switch.php
ADDED
@@ -0,0 +1,34 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
if (!isset($_GET['go']) || trim($_GET['go']) === '') die();
|
3 |
+
|
4 |
+
include_once(realpath('../../../../').'/wp-config.php');
|
5 |
+
$switch = htmlentities($_GET['go']);
|
6 |
+
|
7 |
+
function switchYarppPro($status){
|
8 |
+
$yarppPro = get_option('yarpp_pro');
|
9 |
+
$yarpp = get_option('yarpp');
|
10 |
+
|
11 |
+
if($status){
|
12 |
+
$yarppPro['optin'] = (bool) $yarpp['optin'];
|
13 |
+
$yarpp['optin'] = false;
|
14 |
+
} else {
|
15 |
+
$yarpp['optin'] = (bool) $yarppPro['optin'];
|
16 |
+
}
|
17 |
+
|
18 |
+
$yarppPro['active'] = $status;
|
19 |
+
update_option('yarpp',$yarpp);
|
20 |
+
update_option('yarpp_pro',$yarppPro);
|
21 |
+
|
22 |
+
header("HTTP/1.1 200");
|
23 |
+
header("Content-Type: text/plain; charset=UTF-8");
|
24 |
+
die('ok');
|
25 |
+
}
|
26 |
+
|
27 |
+
switch ($switch){
|
28 |
+
case 'basic':
|
29 |
+
switchYarppPro(0);
|
30 |
+
break;
|
31 |
+
case 'pro':
|
32 |
+
switchYarppPro(1);
|
33 |
+
break;
|
34 |
+
}
|
js/{options.js → options_basic.js}
RENAMED
@@ -4,8 +4,7 @@ jQuery(function($) {
|
|
4 |
|
5 |
function template() {
|
6 |
var metabox = $(this).closest('#yarpp_display_web, #yarpp_display_rss');
|
7 |
-
if (
|
8 |
-
return;
|
9 |
|
10 |
value = metabox.find('.use_template').val();
|
11 |
|
@@ -17,8 +16,9 @@ jQuery(function($) {
|
|
17 |
|
18 |
function excerpt() {
|
19 |
var metabox = $(this).closest('#yarpp_display_web, #yarpp_display_rss');
|
20 |
-
metabox.find('.excerpted').toggle(
|
21 |
-
|
|
|
22 |
}
|
23 |
$('.show_excerpt, .use_template, #yarpp-rss_display').click(excerpt);
|
24 |
|
4 |
|
5 |
function template() {
|
6 |
var metabox = $(this).closest('#yarpp_display_web, #yarpp_display_rss');
|
7 |
+
if (!metabox.length) return;
|
|
|
8 |
|
9 |
value = metabox.find('.use_template').val();
|
10 |
|
16 |
|
17 |
function excerpt() {
|
18 |
var metabox = $(this).closest('#yarpp_display_web, #yarpp_display_rss');
|
19 |
+
metabox.find('.excerpted').toggle(
|
20 |
+
!!(metabox.find('.use_template').val() === 'builtin' && metabox.find('.show_excerpt input').attr('checked'))
|
21 |
+
);
|
22 |
}
|
23 |
$('.show_excerpt, .use_template, #yarpp-rss_display').click(excerpt);
|
24 |
|
js/options_switch.js
ADDED
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
jQuery(document).ready(function($){
|
2 |
+
$('#yarpp_switch_button').click(function(e){
|
3 |
+
e.preventDefault();
|
4 |
+
var url = $(this).attr('href'),
|
5 |
+
data = { go : $(this).data('go') };
|
6 |
+
|
7 |
+
$.get(
|
8 |
+
url,
|
9 |
+
data,
|
10 |
+
function(resp){
|
11 |
+
if(resp === 'ok'){
|
12 |
+
window.location.href = './options-general.php?page=yarpp';
|
13 |
+
}
|
14 |
+
}
|
15 |
+
);
|
16 |
+
});
|
17 |
+
});
|
lang/yarpp-ar_AR.po
CHANGED
@@ -48,385 +48,385 @@ msgid "%f is the YARPP match score between the current entry and this related en
|
|
48 |
msgstr "%f - وكانت النتيجة مطابقة YARPP بين دخول الحالية وهذا الموضوع ذات الصلة. كنت ترى هذه القيمة لأنه يتم تسجيل الدخول إلى وورد كمسؤول. لا يظهر للزوار والعادية."
|
49 |
|
50 |
#: magic.php:351
|
51 |
-
#:
|
52 |
-
#:
|
53 |
#@ yarpp
|
54 |
msgid "Related posts brought to you by <a href='%s'>Yet Another Related Posts Plugin</a>."
|
55 |
msgstr "الوظائف ذات الصلة يقدمها لكم من جانب آخر على href='%s'> <aالمشاركات ذات البرنامج المساعد</a>."
|
56 |
|
57 |
-
#:
|
58 |
#@ yarpp
|
59 |
msgid "The MyISAM check has been overridden. You may now use the \"consider titles\" and \"consider bodies\" relatedness criteria."
|
60 |
msgstr "وكان الاختيار تجاوز MyISAM. يمكنك الآن استخدام \"النظر في عناوين \" و \"النظر في هيئات معايير ارتباط\"."
|
61 |
|
62 |
-
#:
|
63 |
#, php-format
|
64 |
#@ yarpp
|
65 |
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."
|
66 |
msgstr "YARPP في \"النظر في عناوين \" و \"النظر في هيئات معايير ارتباط\" يتطلب ٪ الخاص <code>ق </ الجدول> رمز لاستخدام <أ href = http://dev.mysql.com/doc/refman/ ' 5.0/en/storage-engines.html 'تخزين <المحرك MyISAM> / 1> ، ولكن يبدو أن جدول باستخدام ٪ <code> </ محرك>. تم تعطيل هذه الخيارين."
|
67 |
|
68 |
-
#:
|
69 |
#, php-format
|
70 |
#@ yarpp
|
71 |
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."
|
72 |
msgstr "لاستعادة هذه الميزات ، الرجاء تحديث الخاص <code>٪ </ الجدول> رمز من خلال تنفيذ التوجيه مزود التالية : تغيير الجدول <code>`٪ سيصدره محرك MyISAM = ؛ < /. سوف تمحى لا توجد بيانات عن طريق تغيير محرك الجدول ، وإن كانت هناك آثار الأداء."
|
73 |
|
74 |
-
#:
|
75 |
#, php-format
|
76 |
#@ yarpp
|
77 |
msgid "If, despite this check, you are sure that <code>%s</code> is using the MyISAM engine, press this magic button:"
|
78 |
msgstr "إذا ، بغض النظر عن هذا الخيار ، كنت على يقين من أن الجدول <code>٪ </ يستخدم رمز MyISAM ، انقر على هذا الزر السحري :"
|
79 |
|
80 |
-
#:
|
81 |
#@ yarpp
|
82 |
msgid "Trust me. Let me use MyISAM features."
|
83 |
msgstr "ثق بي. واسمحوا لي أن استخدام ميزات MyISAM."
|
84 |
|
85 |
-
#:
|
86 |
#@ yarpp
|
87 |
msgid "The YARPP database had an error but has been fixed."
|
88 |
msgstr "وكانت قاعدة بيانات YARPP خطأ ولكن قد تم إصلاحها."
|
89 |
|
90 |
-
#:
|
91 |
#@ yarpp
|
92 |
msgid "The YARPP database has an error which could not be fixed."
|
93 |
msgstr "قاعدة بيانات YARPP وخطأ لا يمكن إصلاحها."
|
94 |
|
95 |
-
#:
|
96 |
-
#:
|
97 |
-
#:
|
98 |
#@ yarpp
|
99 |
msgid "do not consider"
|
100 |
msgstr "لا تنظر"
|
101 |
|
102 |
-
#:
|
103 |
-
#:
|
104 |
-
#:
|
105 |
#@ yarpp
|
106 |
msgid "consider"
|
107 |
msgstr "نظر"
|
108 |
|
109 |
-
#:
|
110 |
#@ yarpp
|
111 |
msgid "consider with extra weight"
|
112 |
msgstr "النظر مع الوزن الزائد"
|
113 |
|
114 |
-
#:
|
115 |
#@ yarpp
|
116 |
msgid "Yet Another Related Posts Plugin version history (RSS 2.0)"
|
117 |
msgstr "بعد إصدار آخر ذات الوظائف البرنامج المساعد التاريخ (RSS 2.0)"
|
118 |
|
119 |
-
#:
|
120 |
#@ yarpp
|
121 |
msgid "Yet Another Related Posts Plugin Options"
|
122 |
msgstr "بعد آخر على الوظائف ذات المساعد الخيارات"
|
123 |
|
124 |
-
#:
|
125 |
#@ yarpp
|
126 |
msgid "\"The Pool\""
|
127 |
msgstr "<em>محتوى</em>"
|
128 |
|
129 |
-
#:
|
130 |
#@ yarpp
|
131 |
msgid "\"The Pool\" refers to the pool of posts and pages that are candidates for display as related to the current entry."
|
132 |
msgstr " \"إن تجمع\" يشير إلى مجموعة من وظائف والصفحات التي يتم المرشحين لعرض والمتعلقة بدخول الحالي."
|
133 |
|
134 |
-
#:
|
135 |
#@ yarpp
|
136 |
msgid "Disallow by category:"
|
137 |
msgstr "عدم السماح حسب الفئة :"
|
138 |
|
139 |
-
#:
|
140 |
#@ yarpp
|
141 |
msgid "Disallow by tag:"
|
142 |
msgstr "عدم السماح بها العلامة :"
|
143 |
|
144 |
-
#:
|
145 |
#@ yarpp
|
146 |
msgid "Show password protected posts?"
|
147 |
msgstr "كلمة السر المحمية معرض الوظائف؟"
|
148 |
|
149 |
-
#:
|
150 |
#@ yarpp
|
151 |
msgid "Show only previous posts?"
|
152 |
msgstr "عرض مشاركات سابقة فقط؟"
|
153 |
|
154 |
-
#:
|
155 |
#@ yarpp
|
156 |
msgid "\"Relatedness\" options"
|
157 |
msgstr "ارتباط \"خيارات\""
|
158 |
|
159 |
-
#:
|
160 |
#, php-format
|
161 |
#@ yarpp
|
162 |
msgid "YARPP is different than the <a href=\"http://wasabi.pbwiki.com/Related%20Entries\">previous plugins it is based on</a> as it limits the related posts list by (1) a maximum number and (2) a <em>match threshold</em>."
|
163 |
msgstr "YARPP يختلف عن السابق ل<a> href=\"http://wasabi.pbwiki.com/Related٪20Entries\"> المحمول </ بحيث يحد من اختيار الاتصالات <br/> (1) الحد الأقصى لعدد (2) \" التشابه \"."
|
164 |
|
165 |
-
#:
|
166 |
-
#:
|
167 |
-
#:
|
168 |
-
#:
|
169 |
-
#:
|
170 |
-
#:
|
171 |
-
#:
|
172 |
-
#:
|
173 |
-
#:
|
174 |
#@ yarpp
|
175 |
msgid "more>"
|
176 |
msgstr "المزيد"
|
177 |
|
178 |
-
#:
|
179 |
#@ yarpp
|
180 |
msgid "Match threshold:"
|
181 |
msgstr "عتبة التشابه :"
|
182 |
|
183 |
-
#:
|
184 |
#@ yarpp
|
185 |
msgid "Titles: "
|
186 |
msgstr "العناوين :"
|
187 |
|
188 |
-
#:
|
189 |
#@ yarpp
|
190 |
msgid "Bodies: "
|
191 |
msgstr "الهيئات :"
|
192 |
|
193 |
-
#:
|
194 |
#@ yarpp
|
195 |
msgid "Tags: "
|
196 |
msgstr "به :"
|
197 |
|
198 |
-
#:
|
199 |
#@ yarpp
|
200 |
msgid "Categories: "
|
201 |
msgstr "فئات :"
|
202 |
|
203 |
-
#:
|
204 |
#@ yarpp
|
205 |
msgid "Cross-relate posts and pages?"
|
206 |
msgstr "وتتصل عبر وظائف والصفحات؟"
|
207 |
|
208 |
-
#:
|
209 |
#@ yarpp
|
210 |
msgid "When the \"Cross-relate posts and pages\" option is selected, the <code>related_posts()</code>, <code>related_pages()</code>, and <code>related_entries()</code> all will give the same output, returning both related pages and posts."
|
211 |
msgstr "عندما \"تتصل عبر وظائف وصفحات \" يتم تحديد الخيار ، related_posts <code>() <> / <code>related_pages () <> / و<code>related_entries () </ رمز وسوف يعطي كل نفس الناتج ، يعود كل من الصفحات ذات الصلة وظيفة."
|
212 |
|
213 |
-
#:
|
214 |
#@ yarpp
|
215 |
msgid "Display options <small>for your website</small>"
|
216 |
msgstr "خيارات العرض <small>ل<موقع الويب الخاص بك</small>"
|
217 |
|
218 |
-
#:
|
219 |
#@ yarpp
|
220 |
msgid "Automatically display related posts?"
|
221 |
msgstr "عرض تلقائيا وظائف ذات الصلة؟"
|
222 |
|
223 |
-
#:
|
224 |
#@ yarpp
|
225 |
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."
|
226 |
msgstr "<code>related_posts () <> / أو المتغيرات (<code>related_pages () <> / و<code>related_entries () </) في الموضوع الخاص بك الملفات."
|
227 |
|
228 |
-
#:
|
229 |
#@ yarpp
|
230 |
msgid "Website display code example"
|
231 |
msgstr "الموقع سبيل المثال عرض رمز"
|
232 |
|
233 |
-
#:
|
234 |
-
#:
|
235 |
#@ yarpp
|
236 |
msgid "(Update options to reload.)"
|
237 |
msgstr "(خيارات تحديث لإعادة تحميل.)"
|
238 |
|
239 |
-
#:
|
240 |
-
#:
|
241 |
#@ yarpp
|
242 |
msgid "Maximum number of related posts:"
|
243 |
msgstr "الحد الأقصى لعدد الوظائف ذات الصلة :"
|
244 |
|
245 |
-
#:
|
246 |
#@ yarpp
|
247 |
msgid "Before / after related entries:"
|
248 |
msgstr "قبل / بعد مداخل ذات الصلة :"
|
249 |
|
250 |
-
#:
|
251 |
-
#:
|
252 |
-
#:
|
253 |
-
#:
|
254 |
-
#:
|
255 |
-
#:
|
256 |
#@ yarpp
|
257 |
msgid "For example:"
|
258 |
msgstr "على سبيل المثال :"
|
259 |
|
260 |
-
#:
|
261 |
-
#:
|
262 |
#@ yarpp
|
263 |
msgid "Before / after each related entry:"
|
264 |
msgstr "قبل / بعد كل إدخال ذات الصلة :"
|
265 |
|
266 |
-
#:
|
267 |
-
#:
|
268 |
#@ yarpp
|
269 |
msgid "Show excerpt?"
|
270 |
msgstr "وتظهر مقتطفات؟"
|
271 |
|
272 |
-
#:
|
273 |
-
#:
|
274 |
#@ yarpp
|
275 |
msgid "Excerpt length (No. of words):"
|
276 |
msgstr "مقتطفات طول (عدد الكلمات) :"
|
277 |
|
278 |
-
#:
|
279 |
#@ yarpp
|
280 |
msgid "Before / after (Excerpt):"
|
281 |
msgstr "قبل / بعد (مقتطفات) :"
|
282 |
|
283 |
-
#:
|
284 |
-
#:
|
285 |
#@ yarpp
|
286 |
msgid "Order results:"
|
287 |
msgstr "ترتيب النتائج :"
|
288 |
|
289 |
-
#:
|
290 |
-
#:
|
291 |
#@ yarpp
|
292 |
msgid "score (high relevance to low)"
|
293 |
msgstr "التشابه (في ترتيب تنازلي)"
|
294 |
|
295 |
-
#:
|
296 |
-
#:
|
297 |
#@ yarpp
|
298 |
msgid "score (low relevance to high)"
|
299 |
msgstr "التشابه (تصاعدي)"
|
300 |
|
301 |
-
#:
|
302 |
-
#:
|
303 |
#@ yarpp
|
304 |
msgid "date (new to old)"
|
305 |
msgstr "تاريخ (جديد إلى القديم)"
|
306 |
|
307 |
-
#:
|
308 |
-
#:
|
309 |
#@ yarpp
|
310 |
msgid "date (old to new)"
|
311 |
msgstr "التاريخ (القديم إلى جديد)"
|
312 |
|
313 |
-
#:
|
314 |
-
#:
|
315 |
#@ yarpp
|
316 |
msgid "title (alphabetical)"
|
317 |
msgstr "عنوان (الأبجدي)"
|
318 |
|
319 |
-
#:
|
320 |
-
#:
|
321 |
#@ yarpp
|
322 |
msgid "title (reverse alphabetical)"
|
323 |
msgstr "عنوان (عكس الأبجدي)"
|
324 |
|
325 |
-
#:
|
326 |
-
#:
|
327 |
#@ yarpp
|
328 |
msgid "Default display if no results:"
|
329 |
msgstr "إذا لم يكن العرض الافتراضي النتائج :"
|
330 |
|
331 |
#: includes.php:279
|
332 |
-
#:
|
333 |
-
#:
|
334 |
#@ yarpp
|
335 |
msgid "Help promote Yet Another Related Posts Plugin?"
|
336 |
msgstr "تساعد على تعزيز آخر على الوظائف ذات البرنامج المساعد؟"
|
337 |
|
338 |
-
#:
|
339 |
-
#:
|
340 |
#, php-format
|
341 |
#@ yarpp
|
342 |
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."
|
343 |
msgstr "وهذا الخيار إضافة رمز ٪ s. محاولة تشغيله ، وتحديث الخيارات المتاحة أمامك ، وانظر التعليمات البرمجية في المثال رمز للحق. هذه الروابط والهبات هي موضع تقدير كبير."
|
344 |
|
345 |
-
#:
|
346 |
#@ yarpp
|
347 |
msgid "Display options <small>for RSS</small>"
|
348 |
msgstr "خيارات العرض <small>لأجل RSS</small>"
|
349 |
|
350 |
-
#:
|
351 |
#@ yarpp
|
352 |
msgid "Display related posts in feeds?"
|
353 |
msgstr "عرض وظائف ذات الصلة في RSS?"
|
354 |
|
355 |
-
#:
|
356 |
#@ yarpp
|
357 |
msgid "Display related posts in the descriptions?"
|
358 |
msgstr "عرض مشاركات ذات الصلة في أوصاف؟"
|
359 |
|
360 |
-
#:
|
361 |
#@ yarpp
|
362 |
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."
|
363 |
msgstr "هذا الخيار يعرض وظائف ذات الصلة في مجالات وصف آر إس إس ، وليس المحتوى. إذا يغذي يتم تعيين الخاص تصل إلى عرض مقتطفات فقط ، ومع ذلك ، لا تستخدم إلا في حقل الوصف ، لذلك هناك حاجة لهذا الخيار أي عرض في وظائف ذات الصلة في all.Display الأوصاف؟"
|
364 |
|
365 |
-
#:
|
366 |
#@ yarpp
|
367 |
msgid "RSS display code example"
|
368 |
msgstr " سبيل المثال عرض رمز RSS"
|
369 |
|
370 |
-
#:
|
371 |
#@ yarpp
|
372 |
msgid "Before / after related entries display:"
|
373 |
msgstr "قبل / بعد عرض الإدخالات ذات الصلة :"
|
374 |
|
375 |
-
#:
|
376 |
#@ yarpp
|
377 |
msgid "Before / after (excerpt):"
|
378 |
msgstr "قبل / بعد (مقتطفات) :"
|
379 |
|
380 |
-
#:
|
381 |
#@ yarpp
|
382 |
msgid "word"
|
383 |
msgstr "كلمة"
|
384 |
|
385 |
-
#:
|
386 |
#@ yarpp
|
387 |
msgid "tag"
|
388 |
msgstr "بطاقة"
|
389 |
|
390 |
-
#:
|
391 |
#@ yarpp
|
392 |
msgid "category"
|
393 |
msgstr "فئة"
|
394 |
|
395 |
-
#:
|
396 |
-
#:
|
397 |
#, php-format
|
398 |
#@ yarpp
|
399 |
msgid "require at least one %s in common"
|
400 |
msgstr "ق تتطلب ما لا يقل عن واحد في المائة في العام"
|
401 |
|
402 |
-
#:
|
403 |
-
#:
|
404 |
#, php-format
|
405 |
#@ yarpp
|
406 |
msgid "require more than one %s in common"
|
407 |
msgstr "ق تتطلب أكثر من واحد في المائة في العام"
|
408 |
|
409 |
-
#:
|
410 |
#@ yarpp
|
411 |
msgid "Options saved!"
|
412 |
msgstr "حفظ الخيارات!"
|
413 |
|
414 |
-
#:
|
415 |
#@ yarpp
|
416 |
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."
|
417 |
msgstr "ارتفاع عتبة التشابه ، إلا أن تشديد العينة ، وسيحصلون على أقل ناتج قياسي. العتبة الافتراضي هو 5. إذا كنت ترغب في العثور على عتبة المقبول ، تجربة مع رسائل متعددة. يمكنك ان ترى ما ورسائل تصل ما قيمها من التشابه ، والتي يمكن تحديد مستوى مقبول لموقعك."
|
418 |
|
419 |
-
#:
|
420 |
#@ yarpp
|
421 |
msgid "Update options"
|
422 |
msgstr "خيارات التحديث"
|
423 |
|
424 |
-
#:
|
425 |
#@ yarpp
|
426 |
msgid "Do you really want to reset your configuration?"
|
427 |
msgstr "هل تريد حقا لإعادة التكوين الخاص بك؟"
|
428 |
|
429 |
-
#:
|
430 |
#@ yarpp
|
431 |
msgid "Reset options"
|
432 |
msgstr "خيارات إعادة تعيين"
|
@@ -446,56 +446,56 @@ msgstr " MySQL خطأ في إنشاء جدول yarpp_keyword_cache"
|
|
446 |
msgid "Example post "
|
447 |
msgstr "سبيل المثال وظيفة"
|
448 |
|
449 |
-
#:
|
450 |
#@ yarpp
|
451 |
msgid "Follow <a href=\"http://twitter.com/yarpp/\">Yet Another Related Posts Plugin on Twitter</a>"
|
452 |
msgstr "يتبع<a href=\"http://twitter.com/yarpp/\">بعد آخر على الوظائف ذات المساعد على التغريد</a>"
|
453 |
|
454 |
-
#:
|
455 |
#@ yarpp
|
456 |
msgid "day(s)"
|
457 |
msgstr "أيام"
|
458 |
|
459 |
-
#:
|
460 |
#@ yarpp
|
461 |
msgid "week(s)"
|
462 |
msgstr "أسبوع"
|
463 |
|
464 |
-
#:
|
465 |
#@ yarpp
|
466 |
msgid "month(s)"
|
467 |
msgstr "شهر"
|
468 |
|
469 |
-
#:
|
470 |
#@ yarpp
|
471 |
msgid "Show only posts from the past NUMBER UNITS"
|
472 |
msgstr "عرض وظيفة فقط من الماضي NUMBER UNITS"
|
473 |
|
474 |
-
#:
|
475 |
#@ yarpp
|
476 |
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."
|
477 |
msgstr "الإصدار التجريبي الجديد (نسخة) سد YARPP. يمكنك تحميله من هنا <a></ أ> على مسؤوليتك الخاصة."
|
478 |
|
479 |
-
#:
|
480 |
#@ yarpp
|
481 |
msgid "There is a new version (VERSION) of Yet Another Related Posts Plugin available! You can <A>download it here</a>."
|
482 |
msgstr "الإصدار الجديد (الإصدار) سد YARPP. يمكنك تحميله من هنا <a></ أ>."
|
483 |
|
484 |
#: includes.php:270
|
485 |
-
#:
|
486 |
-
#:
|
487 |
#@ yarpp
|
488 |
msgid "Display using a custom template file"
|
489 |
msgstr "عرض باستخدام قالب مخصص ملف"
|
490 |
|
491 |
#: includes.php:271
|
492 |
-
#:
|
493 |
-
#:
|
494 |
#@ yarpp
|
495 |
msgid "Template file:"
|
496 |
msgstr "ملف القالب :"
|
497 |
|
498 |
-
#:
|
499 |
#@ yarpp
|
500 |
msgid "This option displays related posts at the end of each item in your RSS and Atom feeds. No template changes are needed."
|
501 |
msgstr "يعرض هذا الخيار وظائف ذات الصلة في نهاية كل عنصر في آر إس إس الخاص والذرة. قالب لا يلزم إجراء تغييرات."
|
@@ -518,23 +518,23 @@ msgstr "إذا كان كل من هذه الإدخالات ذات الصلة مع
|
|
518 |
msgid "No related posts."
|
519 |
msgstr "لا الوظائف ذات الصلة."
|
520 |
|
521 |
-
#:
|
522 |
#@ yarpp
|
523 |
msgid "Please move the YARPP template files into your theme to complete installation. Simply move the sample template files (currently in <code>wp-content/plugins/yet-another-related-posts-plugin/yarpp-templates/</code>) to the <code>TEMPLATEPATH</code> directory."
|
524 |
msgstr "من فضلك ، لاكتمال التثبيت ، ضع ملفات القالب YARPP في الموضوع الخاص بك. ببساطة سحب ملفات القالب (لحظة <code>wp-content/plugins/yet-another-related-posts-plugin/yarpp-templates /) في مجلد رمز <code>TEMPLATEPATH> "
|
525 |
|
526 |
-
#:
|
527 |
#@ yarpp
|
528 |
msgid "No YARPP template files were found in your theme (<code>TEMPLATEPATH</code>) so the templating feature has been turned off."
|
529 |
msgstr "لا YARPP قالب الملفات تم العثور عليها في الموضوع الخاص بك (<code>TEMPLATEPATH </) لذلك تم تشغيل ميزة templating قبالة."
|
530 |
|
531 |
-
#:
|
532 |
#@ yarpp
|
533 |
msgid "NEW!"
|
534 |
msgstr "جديد!"
|
535 |
|
536 |
-
#:
|
537 |
-
#:
|
538 |
#@ yarpp
|
539 |
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."
|
540 |
msgstr "هذا الخيار المتقدمة يعطيك القوة الكاملة لتخصيص كيفية عرض مشاركاتك ذات الصلة. مكتوبة قوالب (المخزنة في مجلد موضوع الخاص) PHP."
|
@@ -554,24 +554,24 @@ msgstr ""
|
|
554 |
msgid "Title:"
|
555 |
msgstr ""
|
556 |
|
557 |
-
#:
|
558 |
#@ yarpp
|
559 |
msgid "Please try <A>manual SQL setup</a>."
|
560 |
msgstr ""
|
561 |
|
562 |
-
#:
|
563 |
-
#:
|
564 |
-
#:
|
565 |
-
#:
|
566 |
msgid "Click to toggle"
|
567 |
msgstr ""
|
568 |
|
569 |
-
#:
|
570 |
-
#:
|
571 |
-
#:
|
572 |
-
#:
|
573 |
-
#:
|
574 |
-
#:
|
575 |
#@ yarpp
|
576 |
msgid " or "
|
577 |
msgstr ""
|
48 |
msgstr "%f - وكانت النتيجة مطابقة YARPP بين دخول الحالية وهذا الموضوع ذات الصلة. كنت ترى هذه القيمة لأنه يتم تسجيل الدخول إلى وورد كمسؤول. لا يظهر للزوار والعادية."
|
49 |
|
50 |
#: magic.php:351
|
51 |
+
#: yarpp_options.php:462
|
52 |
+
#: yarpp_options.php:530
|
53 |
#@ yarpp
|
54 |
msgid "Related posts brought to you by <a href='%s'>Yet Another Related Posts Plugin</a>."
|
55 |
msgstr "الوظائف ذات الصلة يقدمها لكم من جانب آخر على href='%s'> <aالمشاركات ذات البرنامج المساعد</a>."
|
56 |
|
57 |
+
#: yarpp_options.php:26
|
58 |
#@ yarpp
|
59 |
msgid "The MyISAM check has been overridden. You may now use the \"consider titles\" and \"consider bodies\" relatedness criteria."
|
60 |
msgstr "وكان الاختيار تجاوز MyISAM. يمكنك الآن استخدام \"النظر في عناوين \" و \"النظر في هيئات معايير ارتباط\"."
|
61 |
|
62 |
+
#: yarpp_options.php:35
|
63 |
#, php-format
|
64 |
#@ yarpp
|
65 |
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."
|
66 |
msgstr "YARPP في \"النظر في عناوين \" و \"النظر في هيئات معايير ارتباط\" يتطلب ٪ الخاص <code>ق </ الجدول> رمز لاستخدام <أ href = http://dev.mysql.com/doc/refman/ ' 5.0/en/storage-engines.html 'تخزين <المحرك MyISAM> / 1> ، ولكن يبدو أن جدول باستخدام ٪ <code> </ محرك>. تم تعطيل هذه الخيارين."
|
67 |
|
68 |
+
#: yarpp_options.php:37
|
69 |
#, php-format
|
70 |
#@ yarpp
|
71 |
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."
|
72 |
msgstr "لاستعادة هذه الميزات ، الرجاء تحديث الخاص <code>٪ </ الجدول> رمز من خلال تنفيذ التوجيه مزود التالية : تغيير الجدول <code>`٪ سيصدره محرك MyISAM = ؛ < /. سوف تمحى لا توجد بيانات عن طريق تغيير محرك الجدول ، وإن كانت هناك آثار الأداء."
|
73 |
|
74 |
+
#: yarpp_options.php:39
|
75 |
#, php-format
|
76 |
#@ yarpp
|
77 |
msgid "If, despite this check, you are sure that <code>%s</code> is using the MyISAM engine, press this magic button:"
|
78 |
msgstr "إذا ، بغض النظر عن هذا الخيار ، كنت على يقين من أن الجدول <code>٪ </ يستخدم رمز MyISAM ، انقر على هذا الزر السحري :"
|
79 |
|
80 |
+
#: yarpp_options.php:42
|
81 |
#@ yarpp
|
82 |
msgid "Trust me. Let me use MyISAM features."
|
83 |
msgstr "ثق بي. واسمحوا لي أن استخدام ميزات MyISAM."
|
84 |
|
85 |
+
#: yarpp_options.php:65
|
86 |
#@ yarpp
|
87 |
msgid "The YARPP database had an error but has been fixed."
|
88 |
msgstr "وكانت قاعدة بيانات YARPP خطأ ولكن قد تم إصلاحها."
|
89 |
|
90 |
+
#: yarpp_options.php:67
|
91 |
#@ yarpp
|
92 |
msgid "The YARPP database has an error which could not be fixed."
|
93 |
msgstr "قاعدة بيانات YARPP وخطأ لا يمكن إصلاحها."
|
94 |
|
95 |
+
#: yarpp_options.php:141
|
96 |
+
#: yarpp_options.php:158
|
97 |
+
#: yarpp_options.php:170
|
98 |
#@ yarpp
|
99 |
msgid "do not consider"
|
100 |
msgstr "لا تنظر"
|
101 |
|
102 |
+
#: yarpp_options.php:142
|
103 |
+
#: yarpp_options.php:159
|
104 |
+
#: yarpp_options.php:172
|
105 |
#@ yarpp
|
106 |
msgid "consider"
|
107 |
msgstr "نظر"
|
108 |
|
109 |
+
#: yarpp_options.php:160
|
110 |
#@ yarpp
|
111 |
msgid "consider with extra weight"
|
112 |
msgstr "النظر مع الوزن الزائد"
|
113 |
|
114 |
+
#: yarpp_options.php:188
|
115 |
#@ yarpp
|
116 |
msgid "Yet Another Related Posts Plugin version history (RSS 2.0)"
|
117 |
msgstr "بعد إصدار آخر ذات الوظائف البرنامج المساعد التاريخ (RSS 2.0)"
|
118 |
|
119 |
+
#: yarpp_options.php:242
|
120 |
#@ yarpp
|
121 |
msgid "Yet Another Related Posts Plugin Options"
|
122 |
msgstr "بعد آخر على الوظائف ذات المساعد الخيارات"
|
123 |
|
124 |
+
#: yarpp_options.php:274
|
125 |
#@ yarpp
|
126 |
msgid "\"The Pool\""
|
127 |
msgstr "<em>محتوى</em>"
|
128 |
|
129 |
+
#: yarpp_options.php:276
|
130 |
#@ yarpp
|
131 |
msgid "\"The Pool\" refers to the pool of posts and pages that are candidates for display as related to the current entry."
|
132 |
msgstr " \"إن تجمع\" يشير إلى مجموعة من وظائف والصفحات التي يتم المرشحين لعرض والمتعلقة بدخول الحالي."
|
133 |
|
134 |
+
#: yarpp_options.php:281
|
135 |
#@ yarpp
|
136 |
msgid "Disallow by category:"
|
137 |
msgstr "عدم السماح حسب الفئة :"
|
138 |
|
139 |
+
#: yarpp_options.php:283
|
140 |
#@ yarpp
|
141 |
msgid "Disallow by tag:"
|
142 |
msgstr "عدم السماح بها العلامة :"
|
143 |
|
144 |
+
#: yarpp_options.php:286
|
145 |
#@ yarpp
|
146 |
msgid "Show password protected posts?"
|
147 |
msgstr "كلمة السر المحمية معرض الوظائف؟"
|
148 |
|
149 |
+
#: yarpp_options.php:326
|
150 |
#@ yarpp
|
151 |
msgid "Show only previous posts?"
|
152 |
msgstr "عرض مشاركات سابقة فقط؟"
|
153 |
|
154 |
+
#: yarpp_options.php:307
|
155 |
#@ yarpp
|
156 |
msgid "\"Relatedness\" options"
|
157 |
msgstr "ارتباط \"خيارات\""
|
158 |
|
159 |
+
#: yarpp_options.php:310
|
160 |
#, php-format
|
161 |
#@ yarpp
|
162 |
msgid "YARPP is different than the <a href=\"http://wasabi.pbwiki.com/Related%20Entries\">previous plugins it is based on</a> as it limits the related posts list by (1) a maximum number and (2) a <em>match threshold</em>."
|
163 |
msgstr "YARPP يختلف عن السابق ل<a> href=\"http://wasabi.pbwiki.com/Related٪20Entries\"> المحمول </ بحيث يحد من اختيار الاتصالات <br/> (1) الحد الأقصى لعدد (2) \" التشابه \"."
|
164 |
|
165 |
+
#: yarpp_options.php:310
|
166 |
+
#: yarpp_options.php:325
|
167 |
+
#: yarpp_options.php:409
|
168 |
+
#: yarpp_options.php:414
|
169 |
+
#: yarpp_options.php:461
|
170 |
+
#: yarpp_options.php:478
|
171 |
+
#: yarpp_options.php:479
|
172 |
+
#: yarpp_options.php:483
|
173 |
+
#: yarpp_options.php:529
|
174 |
#@ yarpp
|
175 |
msgid "more>"
|
176 |
msgstr "المزيد"
|
177 |
|
178 |
+
#: yarpp_options.php:316
|
179 |
#@ yarpp
|
180 |
msgid "Match threshold:"
|
181 |
msgstr "عتبة التشابه :"
|
182 |
|
183 |
+
#: yarpp_options.php:317
|
184 |
#@ yarpp
|
185 |
msgid "Titles: "
|
186 |
msgstr "العناوين :"
|
187 |
|
188 |
+
#: yarpp_options.php:319
|
189 |
#@ yarpp
|
190 |
msgid "Bodies: "
|
191 |
msgstr "الهيئات :"
|
192 |
|
193 |
+
#: yarpp_options.php:321
|
194 |
#@ yarpp
|
195 |
msgid "Tags: "
|
196 |
msgstr "به :"
|
197 |
|
198 |
+
#: yarpp_options.php:323
|
199 |
#@ yarpp
|
200 |
msgid "Categories: "
|
201 |
msgstr "فئات :"
|
202 |
|
203 |
+
#: yarpp_options.php:325
|
204 |
#@ yarpp
|
205 |
msgid "Cross-relate posts and pages?"
|
206 |
msgstr "وتتصل عبر وظائف والصفحات؟"
|
207 |
|
208 |
+
#: yarpp_options.php:325
|
209 |
#@ yarpp
|
210 |
msgid "When the \"Cross-relate posts and pages\" option is selected, the <code>related_posts()</code>, <code>related_pages()</code>, and <code>related_entries()</code> all will give the same output, returning both related pages and posts."
|
211 |
msgstr "عندما \"تتصل عبر وظائف وصفحات \" يتم تحديد الخيار ، related_posts <code>() <> / <code>related_pages () <> / و<code>related_entries () </ رمز وسوف يعطي كل نفس الناتج ، يعود كل من الصفحات ذات الصلة وظيفة."
|
212 |
|
213 |
+
#: yarpp_options.php:404
|
214 |
#@ yarpp
|
215 |
msgid "Display options <small>for your website</small>"
|
216 |
msgstr "خيارات العرض <small>ل<موقع الويب الخاص بك</small>"
|
217 |
|
218 |
+
#: yarpp_options.php:409
|
219 |
#@ yarpp
|
220 |
msgid "Automatically display related posts?"
|
221 |
msgstr "عرض تلقائيا وظائف ذات الصلة؟"
|
222 |
|
223 |
+
#: yarpp_options.php:409
|
224 |
#@ yarpp
|
225 |
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."
|
226 |
msgstr "<code>related_posts () <> / أو المتغيرات (<code>related_pages () <> / و<code>related_entries () </) في الموضوع الخاص بك الملفات."
|
227 |
|
228 |
+
#: yarpp_options.php:410
|
229 |
#@ yarpp
|
230 |
msgid "Website display code example"
|
231 |
msgstr "الموقع سبيل المثال عرض رمز"
|
232 |
|
233 |
+
#: yarpp_options.php:410
|
234 |
+
#: yarpp_options.php:480
|
235 |
#@ yarpp
|
236 |
msgid "(Update options to reload.)"
|
237 |
msgstr "(خيارات تحديث لإعادة تحميل.)"
|
238 |
|
239 |
+
#: yarpp_options.php:413
|
240 |
+
#: yarpp_options.php:482
|
241 |
#@ yarpp
|
242 |
msgid "Maximum number of related posts:"
|
243 |
msgstr "الحد الأقصى لعدد الوظائف ذات الصلة :"
|
244 |
|
245 |
+
#: yarpp_options.php:426
|
246 |
#@ yarpp
|
247 |
msgid "Before / after related entries:"
|
248 |
msgstr "قبل / بعد مداخل ذات الصلة :"
|
249 |
|
250 |
+
#: yarpp_options.php:427
|
251 |
+
#: yarpp_options.php:432
|
252 |
+
#: yarpp_options.php:441
|
253 |
+
#: yarpp_options.php:496
|
254 |
+
#: yarpp_options.php:501
|
255 |
+
#: yarpp_options.php:510
|
256 |
#@ yarpp
|
257 |
msgid "For example:"
|
258 |
msgstr "على سبيل المثال :"
|
259 |
|
260 |
+
#: yarpp_options.php:431
|
261 |
+
#: yarpp_options.php:500
|
262 |
#@ yarpp
|
263 |
msgid "Before / after each related entry:"
|
264 |
msgstr "قبل / بعد كل إدخال ذات الصلة :"
|
265 |
|
266 |
+
#: yarpp_options.php:435
|
267 |
+
#: yarpp_options.php:504
|
268 |
#@ yarpp
|
269 |
msgid "Show excerpt?"
|
270 |
msgstr "وتظهر مقتطفات؟"
|
271 |
|
272 |
+
#: yarpp_options.php:436
|
273 |
+
#: yarpp_options.php:505
|
274 |
#@ yarpp
|
275 |
msgid "Excerpt length (No. of words):"
|
276 |
msgstr "مقتطفات طول (عدد الكلمات) :"
|
277 |
|
278 |
+
#: yarpp_options.php:440
|
279 |
#@ yarpp
|
280 |
msgid "Before / after (Excerpt):"
|
281 |
msgstr "قبل / بعد (مقتطفات) :"
|
282 |
|
283 |
+
#: yarpp_options.php:446
|
284 |
+
#: yarpp_options.php:515
|
285 |
#@ yarpp
|
286 |
msgid "Order results:"
|
287 |
msgstr "ترتيب النتائج :"
|
288 |
|
289 |
+
#: yarpp_options.php:448
|
290 |
+
#: yarpp_options.php:517
|
291 |
#@ yarpp
|
292 |
msgid "score (high relevance to low)"
|
293 |
msgstr "التشابه (في ترتيب تنازلي)"
|
294 |
|
295 |
+
#: yarpp_options.php:449
|
296 |
+
#: yarpp_options.php:518
|
297 |
#@ yarpp
|
298 |
msgid "score (low relevance to high)"
|
299 |
msgstr "التشابه (تصاعدي)"
|
300 |
|
301 |
+
#: yarpp_options.php:450
|
302 |
+
#: yarpp_options.php:519
|
303 |
#@ yarpp
|
304 |
msgid "date (new to old)"
|
305 |
msgstr "تاريخ (جديد إلى القديم)"
|
306 |
|
307 |
+
#: yarpp_options.php:451
|
308 |
+
#: yarpp_options.php:520
|
309 |
#@ yarpp
|
310 |
msgid "date (old to new)"
|
311 |
msgstr "التاريخ (القديم إلى جديد)"
|
312 |
|
313 |
+
#: yarpp_options.php:452
|
314 |
+
#: yarpp_options.php:521
|
315 |
#@ yarpp
|
316 |
msgid "title (alphabetical)"
|
317 |
msgstr "عنوان (الأبجدي)"
|
318 |
|
319 |
+
#: yarpp_options.php:453
|
320 |
+
#: yarpp_options.php:522
|
321 |
#@ yarpp
|
322 |
msgid "title (reverse alphabetical)"
|
323 |
msgstr "عنوان (عكس الأبجدي)"
|
324 |
|
325 |
+
#: yarpp_options.php:458
|
326 |
+
#: yarpp_options.php:527
|
327 |
#@ yarpp
|
328 |
msgid "Default display if no results:"
|
329 |
msgstr "إذا لم يكن العرض الافتراضي النتائج :"
|
330 |
|
331 |
#: includes.php:279
|
332 |
+
#: yarpp_options.php:460
|
333 |
+
#: yarpp_options.php:529
|
334 |
#@ yarpp
|
335 |
msgid "Help promote Yet Another Related Posts Plugin?"
|
336 |
msgstr "تساعد على تعزيز آخر على الوظائف ذات البرنامج المساعد؟"
|
337 |
|
338 |
+
#: yarpp_options.php:462
|
339 |
+
#: yarpp_options.php:530
|
340 |
#, php-format
|
341 |
#@ yarpp
|
342 |
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."
|
343 |
msgstr "وهذا الخيار إضافة رمز ٪ s. محاولة تشغيله ، وتحديث الخيارات المتاحة أمامك ، وانظر التعليمات البرمجية في المثال رمز للحق. هذه الروابط والهبات هي موضع تقدير كبير."
|
344 |
|
345 |
+
#: yarpp_options.php:472
|
346 |
#@ yarpp
|
347 |
msgid "Display options <small>for RSS</small>"
|
348 |
msgstr "خيارات العرض <small>لأجل RSS</small>"
|
349 |
|
350 |
+
#: yarpp_options.php:478
|
351 |
#@ yarpp
|
352 |
msgid "Display related posts in feeds?"
|
353 |
msgstr "عرض وظائف ذات الصلة في RSS?"
|
354 |
|
355 |
+
#: yarpp_options.php:479
|
356 |
#@ yarpp
|
357 |
msgid "Display related posts in the descriptions?"
|
358 |
msgstr "عرض مشاركات ذات الصلة في أوصاف؟"
|
359 |
|
360 |
+
#: yarpp_options.php:479
|
361 |
#@ yarpp
|
362 |
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."
|
363 |
msgstr "هذا الخيار يعرض وظائف ذات الصلة في مجالات وصف آر إس إس ، وليس المحتوى. إذا يغذي يتم تعيين الخاص تصل إلى عرض مقتطفات فقط ، ومع ذلك ، لا تستخدم إلا في حقل الوصف ، لذلك هناك حاجة لهذا الخيار أي عرض في وظائف ذات الصلة في all.Display الأوصاف؟"
|
364 |
|
365 |
+
#: yarpp_options.php:480
|
366 |
#@ yarpp
|
367 |
msgid "RSS display code example"
|
368 |
msgstr " سبيل المثال عرض رمز RSS"
|
369 |
|
370 |
+
#: yarpp_options.php:495
|
371 |
#@ yarpp
|
372 |
msgid "Before / after related entries display:"
|
373 |
msgstr "قبل / بعد عرض الإدخالات ذات الصلة :"
|
374 |
|
375 |
+
#: yarpp_options.php:509
|
376 |
#@ yarpp
|
377 |
msgid "Before / after (excerpt):"
|
378 |
msgstr "قبل / بعد (مقتطفات) :"
|
379 |
|
380 |
+
#: yarpp_options.php:135
|
381 |
#@ yarpp
|
382 |
msgid "word"
|
383 |
msgstr "كلمة"
|
384 |
|
385 |
+
#: yarpp_options.php:136
|
386 |
#@ yarpp
|
387 |
msgid "tag"
|
388 |
msgstr "بطاقة"
|
389 |
|
390 |
+
#: yarpp_options.php:137
|
391 |
#@ yarpp
|
392 |
msgid "category"
|
393 |
msgstr "فئة"
|
394 |
|
395 |
+
#: yarpp_options.php:144
|
396 |
+
#: yarpp_options.php:174
|
397 |
#, php-format
|
398 |
#@ yarpp
|
399 |
msgid "require at least one %s in common"
|
400 |
msgstr "ق تتطلب ما لا يقل عن واحد في المائة في العام"
|
401 |
|
402 |
+
#: yarpp_options.php:146
|
403 |
+
#: yarpp_options.php:176
|
404 |
#, php-format
|
405 |
#@ yarpp
|
406 |
msgid "require more than one %s in common"
|
407 |
msgstr "ق تتطلب أكثر من واحد في المائة في العام"
|
408 |
|
409 |
+
#: yarpp_options.php:99
|
410 |
#@ yarpp
|
411 |
msgid "Options saved!"
|
412 |
msgstr "حفظ الخيارات!"
|
413 |
|
414 |
+
#: yarpp_options.php:310
|
415 |
#@ yarpp
|
416 |
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."
|
417 |
msgstr "ارتفاع عتبة التشابه ، إلا أن تشديد العينة ، وسيحصلون على أقل ناتج قياسي. العتبة الافتراضي هو 5. إذا كنت ترغب في العثور على عتبة المقبول ، تجربة مع رسائل متعددة. يمكنك ان ترى ما ورسائل تصل ما قيمها من التشابه ، والتي يمكن تحديد مستوى مقبول لموقعك."
|
418 |
|
419 |
+
#: yarpp_options.php:538
|
420 |
#@ yarpp
|
421 |
msgid "Update options"
|
422 |
msgstr "خيارات التحديث"
|
423 |
|
424 |
+
#: yarpp_options.php:539
|
425 |
#@ yarpp
|
426 |
msgid "Do you really want to reset your configuration?"
|
427 |
msgstr "هل تريد حقا لإعادة التكوين الخاص بك؟"
|
428 |
|
429 |
+
#: yarpp_options.php:539
|
430 |
#@ yarpp
|
431 |
msgid "Reset options"
|
432 |
msgstr "خيارات إعادة تعيين"
|
446 |
msgid "Example post "
|
447 |
msgstr "سبيل المثال وظيفة"
|
448 |
|
449 |
+
#: yarpp_options.php:255
|
450 |
#@ yarpp
|
451 |
msgid "Follow <a href=\"http://twitter.com/yarpp/\">Yet Another Related Posts Plugin on Twitter</a>"
|
452 |
msgstr "يتبع<a href=\"http://twitter.com/yarpp/\">بعد آخر على الوظائف ذات المساعد على التغريد</a>"
|
453 |
|
454 |
+
#: yarpp_options.php:290
|
455 |
#@ yarpp
|
456 |
msgid "day(s)"
|
457 |
msgstr "أيام"
|
458 |
|
459 |
+
#: yarpp_options.php:291
|
460 |
#@ yarpp
|
461 |
msgid "week(s)"
|
462 |
msgstr "أسبوع"
|
463 |
|
464 |
+
#: yarpp_options.php:292
|
465 |
#@ yarpp
|
466 |
msgid "month(s)"
|
467 |
msgstr "شهر"
|
468 |
|
469 |
+
#: yarpp_options.php:294
|
470 |
#@ yarpp
|
471 |
msgid "Show only posts from the past NUMBER UNITS"
|
472 |
msgstr "عرض وظيفة فقط من الماضي NUMBER UNITS"
|
473 |
|
474 |
+
#: yarpp_options.php:388
|
475 |
#@ yarpp
|
476 |
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."
|
477 |
msgstr "الإصدار التجريبي الجديد (نسخة) سد YARPP. يمكنك تحميله من هنا <a></ أ> على مسؤوليتك الخاصة."
|
478 |
|
479 |
+
#: yarpp_options.php:390
|
480 |
#@ yarpp
|
481 |
msgid "There is a new version (VERSION) of Yet Another Related Posts Plugin available! You can <A>download it here</a>."
|
482 |
msgstr "الإصدار الجديد (الإصدار) سد YARPP. يمكنك تحميله من هنا <a></ أ>."
|
483 |
|
484 |
#: includes.php:270
|
485 |
+
#: yarpp_options.php:414
|
486 |
+
#: yarpp_options.php:483
|
487 |
#@ yarpp
|
488 |
msgid "Display using a custom template file"
|
489 |
msgstr "عرض باستخدام قالب مخصص ملف"
|
490 |
|
491 |
#: includes.php:271
|
492 |
+
#: yarpp_options.php:416
|
493 |
+
#: yarpp_options.php:485
|
494 |
#@ yarpp
|
495 |
msgid "Template file:"
|
496 |
msgstr "ملف القالب :"
|
497 |
|
498 |
+
#: yarpp_options.php:478
|
499 |
#@ yarpp
|
500 |
msgid "This option displays related posts at the end of each item in your RSS and Atom feeds. No template changes are needed."
|
501 |
msgstr "يعرض هذا الخيار وظائف ذات الصلة في نهاية كل عنصر في آر إس إس الخاص والذرة. قالب لا يلزم إجراء تغييرات."
|
518 |
msgid "No related posts."
|
519 |
msgstr "لا الوظائف ذات الصلة."
|
520 |
|
521 |
+
#: yarpp_options.php:10
|
522 |
#@ yarpp
|
523 |
msgid "Please move the YARPP template files into your theme to complete installation. Simply move the sample template files (currently in <code>wp-content/plugins/yet-another-related-posts-plugin/yarpp-templates/</code>) to the <code>TEMPLATEPATH</code> directory."
|
524 |
msgstr "من فضلك ، لاكتمال التثبيت ، ضع ملفات القالب YARPP في الموضوع الخاص بك. ببساطة سحب ملفات القالب (لحظة <code>wp-content/plugins/yet-another-related-posts-plugin/yarpp-templates /) في مجلد رمز <code>TEMPLATEPATH> "
|
525 |
|
526 |
+
#: yarpp_options.php:15
|
527 |
#@ yarpp
|
528 |
msgid "No YARPP template files were found in your theme (<code>TEMPLATEPATH</code>) so the templating feature has been turned off."
|
529 |
msgstr "لا YARPP قالب الملفات تم العثور عليها في الموضوع الخاص بك (<code>TEMPLATEPATH </) لذلك تم تشغيل ميزة templating قبالة."
|
530 |
|
531 |
+
#: yarpp_options.php:483
|
532 |
#@ yarpp
|
533 |
msgid "NEW!"
|
534 |
msgstr "جديد!"
|
535 |
|
536 |
+
#: yarpp_options.php:414
|
537 |
+
#: yarpp_options.php:483
|
538 |
#@ yarpp
|
539 |
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."
|
540 |
msgstr "هذا الخيار المتقدمة يعطيك القوة الكاملة لتخصيص كيفية عرض مشاركاتك ذات الصلة. مكتوبة قوالب (المخزنة في مجلد موضوع الخاص) PHP."
|
554 |
msgid "Title:"
|
555 |
msgstr ""
|
556 |
|
557 |
+
#: yarpp_options.php:68
|
558 |
#@ yarpp
|
559 |
msgid "Please try <A>manual SQL setup</a>."
|
560 |
msgstr ""
|
561 |
|
562 |
+
#: yarpp_options.php:271
|
563 |
+
#: yarpp_options.php:304
|
564 |
+
#: yarpp_options.php:401
|
565 |
+
#: yarpp_options.php:469
|
566 |
msgid "Click to toggle"
|
567 |
msgstr ""
|
568 |
|
569 |
+
#: yarpp_options.php:427
|
570 |
+
#: yarpp_options.php:432
|
571 |
+
#: yarpp_options.php:441
|
572 |
+
#: yarpp_options.php:496
|
573 |
+
#: yarpp_options.php:501
|
574 |
+
#: yarpp_options.php:510
|
575 |
#@ yarpp
|
576 |
msgid " or "
|
577 |
msgstr ""
|
lang/yarpp-ar_EG.po
CHANGED
@@ -70,8 +70,8 @@ msgid "Title:"
|
|
70 |
msgstr ""
|
71 |
|
72 |
#: includes.php:263
|
73 |
-
#:
|
74 |
-
#:
|
75 |
#@ yarpp
|
76 |
msgid "Help promote Yet Another Related Posts Plugin?"
|
77 |
msgstr "ساهم في تطوير الإضافة؟"
|
@@ -87,469 +87,469 @@ msgid "Example post "
|
|
87 |
msgstr "مثال مشاركة"
|
88 |
|
89 |
#: magic.php:344
|
90 |
-
#:
|
91 |
-
#:
|
92 |
#@ yarpp
|
93 |
msgid "Related posts brought to you by <a href='%s'>Yet Another Related Posts Plugin</a>."
|
94 |
msgstr "إضافة المحتويات ذات الصلة مقدم لكم بواسطة <a href='%s'>Yet Another Related Posts Plugin</a>. <br /> قام بالترجة للغة العربية <a href='http://www.cdmazika.com'>CDMazika.com</a>"
|
95 |
|
96 |
-
#:
|
97 |
#@ yarpp
|
98 |
msgid "Please move the YARPP template files into your theme to complete installation. Simply move the sample template files (currently in <code>wp-content/plugins/yet-another-related-posts-plugin/yarpp-templates/</code>) to the <code>TEMPLATEPATH</code> directory."
|
99 |
msgstr "برجاء نفل ملفات القوالب إلي مجلد التصميم للإنتهاء من عملية التثبيت. فقط قم بنقل الملفات الموجودة داخال المجلد <code>wp-content/plugins/yet-another-related-posts-plugin/yarpp-templates/</code> إلى المجلد <code>TEMPLATEPATH</code>"
|
100 |
|
101 |
-
#:
|
102 |
#@ yarpp
|
103 |
msgid "No YARPP template files were found in your theme (<code>TEMPLATEPATH</code>) so the templating feature has been turned off."
|
104 |
msgstr "لم يتم العثور على القوالب بداخل مجلد التصميم الخاص بك (<code>TEMPLATEPATH</code>) لذلك سوف يتم إيقاف خاصية القوالب"
|
105 |
|
106 |
-
#:
|
107 |
#@ yarpp
|
108 |
msgid "The MyISAM check has been overridden. You may now use the \"consider titles\" and \"consider bodies\" relatedness criteria."
|
109 |
msgstr "لقد تم لإستبدال الMyISAM. يمكنك الآن إستخدام \"consider titles\" و \"consider bodies\" كمعايير للتشابه"
|
110 |
|
111 |
-
#:
|
112 |
#, php-format
|
113 |
#@ yarpp
|
114 |
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."
|
115 |
msgstr "معايير التشابه \"consider titles\" و \"consider bodies\" تحتاج إلى جدول <code>%s</code> الخاص بك لإستخدام <a href='http://dev.mysql.com/doc/refman/5.0/en/storage-engines.html'>محرك التخزين MyISAM</a>, و لكن الجدول الآن يستخدم <code>%s</code>. لقد تم إيقاف هاتان الخاصياتان."
|
116 |
|
117 |
-
#:
|
118 |
#, php-format
|
119 |
#@ yarpp
|
120 |
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."
|
121 |
msgstr "لإستعاد هذه الخواص, برجاء تحديث جدول <code>%s</code> الخاص بك عن طريق تنفيذ التوجيه التالي للSQL: <code>ALTER TABLE `%s` ENGINE = MyISAM;</code> . وسوف لا تمحى البيانات عن طريق تغيير الجدول المحرك ، وبالرغم من وجود آثار للأداء."
|
122 |
|
123 |
-
#:
|
124 |
#, php-format
|
125 |
#@ yarpp
|
126 |
msgid "If, despite this check, you are sure that <code>%s</code> is using the MyISAM engine, press this magic button:"
|
127 |
msgstr "إذا ، على الرغم من هذا الاختيار ، كنت متأكدا من أن <code>%s</code> يستخدم المحرك MyISAM ، اضغط على هذا الزر السحري :"
|
128 |
|
129 |
-
#:
|
130 |
#@ yarpp
|
131 |
msgid "Trust me. Let me use MyISAM features."
|
132 |
msgstr "ثق بي. اسمحوا لي أن استخدام ميزات MyISAM."
|
133 |
|
134 |
-
#:
|
135 |
#@ yarpp
|
136 |
msgid "The YARPP database had an error but has been fixed."
|
137 |
msgstr "قاعدة بيانات YARPP حدث بها خطأ ولكن تم إصلاحه."
|
138 |
|
139 |
-
#:
|
140 |
#@ yarpp
|
141 |
msgid "The YARPP database has an error which could not be fixed."
|
142 |
msgstr "قاعدة بيانات YARPP قد حدث بها خطأ لم نتمكن من إصلاحه."
|
143 |
|
144 |
-
#:
|
145 |
#@ yarpp
|
146 |
msgid "Please try <A>manual SQL setup</a>."
|
147 |
msgstr "يرجى محاولة <A>دليل مزود إعدادات SQL.</a>"
|
148 |
|
149 |
-
#:
|
150 |
#@ yarpp
|
151 |
msgid "Options saved!"
|
152 |
msgstr "تم حفظ الخيارات!"
|
153 |
|
154 |
-
#:
|
155 |
#@ yarpp
|
156 |
msgid "word"
|
157 |
msgstr "كلمة"
|
158 |
|
159 |
-
#:
|
160 |
#@ yarpp
|
161 |
msgid "tag"
|
162 |
msgstr "علامة"
|
163 |
|
164 |
-
#:
|
165 |
#@ yarpp
|
166 |
msgid "category"
|
167 |
msgstr "فئة"
|
168 |
|
169 |
-
#:
|
170 |
-
#:
|
171 |
-
#:
|
172 |
#@ yarpp
|
173 |
msgid "do not consider"
|
174 |
msgstr "لا تنظر"
|
175 |
|
176 |
-
#:
|
177 |
-
#:
|
178 |
-
#:
|
179 |
#@ yarpp
|
180 |
msgid "consider"
|
181 |
msgstr "إنظر"
|
182 |
|
183 |
-
#:
|
184 |
-
#:
|
185 |
#, php-format
|
186 |
#@ yarpp
|
187 |
msgid "require at least one %s in common"
|
188 |
msgstr "تتطلب ٪ واحدة على الأقل مشتركة"
|
189 |
|
190 |
-
#:
|
191 |
-
#:
|
192 |
#, php-format
|
193 |
#@ yarpp
|
194 |
msgid "require more than one %s in common"
|
195 |
msgstr "تتطلب أكثر من ٪ واحدة مشتركة"
|
196 |
|
197 |
-
#:
|
198 |
#@ yarpp
|
199 |
msgid "consider with extra weight"
|
200 |
msgstr "النظر مع الإعتبار الزائد"
|
201 |
|
202 |
-
#:
|
203 |
#@ yarpp
|
204 |
msgid "Yet Another Related Posts Plugin version history (RSS 2.0)"
|
205 |
msgstr "تاريخ إصدار إضافة المحتويات ذات الصلة YARPP (RSS 2.0)"
|
206 |
|
207 |
-
#:
|
208 |
#@ yarpp
|
209 |
msgid "Yet Another Related Posts Plugin Options"
|
210 |
msgstr "إعدادات إضافة المحتويات ذات الصلة YARPP"
|
211 |
|
212 |
-
#:
|
213 |
#@ yarpp
|
214 |
msgid "Follow <a href=\"http://twitter.com/yarpp/\">Yet Another Related Posts Plugin on Twitter</a>"
|
215 |
msgstr "متابعة <a href=\\\"http://twitter.com/yarpp/\\\">آخر أخبار إضافة المحتويات ذات الصلة على Twitter</a>"
|
216 |
|
217 |
-
#:
|
218 |
-
#:
|
219 |
-
#:
|
220 |
-
#:
|
221 |
msgid "Click to toggle"
|
222 |
msgstr ""
|
223 |
|
224 |
-
#:
|
225 |
#@ yarpp
|
226 |
msgid "\"The Pool\""
|
227 |
msgstr "\"التجمع\""
|
228 |
|
229 |
-
#:
|
230 |
#@ yarpp
|
231 |
msgid "\"The Pool\" refers to the pool of posts and pages that are candidates for display as related to the current entry."
|
232 |
msgstr "\"التجمع\" يشير إلى مجموعة من الأقسام والصفحات التي يتم ترشيحها للعرض."
|
233 |
|
234 |
-
#:
|
235 |
#@ yarpp
|
236 |
msgid "Disallow by category:"
|
237 |
msgstr "عدم السماح حسب الفئة :"
|
238 |
|
239 |
-
#:
|
240 |
#@ yarpp
|
241 |
msgid "Disallow by tag:"
|
242 |
msgstr "عدم السماح حسب العلامات :"
|
243 |
|
244 |
-
#:
|
245 |
#@ yarpp
|
246 |
msgid "Show password protected posts?"
|
247 |
msgstr "إظهار الموضوعات المحمية بكلمات سرية؟"
|
248 |
|
249 |
-
#:
|
250 |
#@ yarpp
|
251 |
msgid "day(s)"
|
252 |
msgstr "أيام"
|
253 |
|
254 |
-
#:
|
255 |
#@ yarpp
|
256 |
msgid "week(s)"
|
257 |
msgstr "أسابيع"
|
258 |
|
259 |
-
#:
|
260 |
#@ yarpp
|
261 |
msgid "month(s)"
|
262 |
msgstr "شهور"
|
263 |
|
264 |
-
#:
|
265 |
#@ yarpp
|
266 |
msgid "Show only posts from the past NUMBER UNITS"
|
267 |
msgstr "إظهار المشاركات من الNUMBER UNITS الماضية"
|
268 |
|
269 |
-
#:
|
270 |
#@ yarpp
|
271 |
msgid "\"Relatedness\" options"
|
272 |
msgstr "خيارات \"العلاقة\""
|
273 |
|
274 |
-
#:
|
275 |
#, php-format
|
276 |
#@ yarpp
|
277 |
msgid "YARPP is different than the <a href=\"http://wasabi.pbwiki.com/Related%20Entries\">previous plugins it is based on</a> as it limits the related posts list by (1) a maximum number and (2) a <em>match threshold</em>."
|
278 |
msgstr "YARPP مختلفة عن <a href=\\\"http://wasabi.pbwiki.com/Related%20Entries\\\">الإضافات السابقة و ما تستند إليه</a> لأنه يحد من المحتويات المتشابهه قائمة من قبل (1) والحد الأقصى لعدد (2) على <em>عتبة المباراة.</em>"
|
279 |
|
280 |
-
#:
|
281 |
-
#:
|
282 |
-
#:
|
283 |
-
#:
|
284 |
-
#:
|
285 |
-
#:
|
286 |
-
#:
|
287 |
-
#:
|
288 |
-
#:
|
289 |
#@ yarpp
|
290 |
msgid "more>"
|
291 |
msgstr "المزيد>"
|
292 |
|
293 |
-
#:
|
294 |
#@ yarpp
|
295 |
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."
|
296 |
msgstr "كلما ذاد ارتفاع نسبة التشابه ، كلما إزداد التقيد ، وتحصل على عدد أقل من المحتويات المتشابهه عموما. الافتراضي 5. إذا كنت تريد معرفة الرقم المناسب لك ، إنظر على المحتوياات ذات الصلة لأي من مشاراكاتك ودرجاتهم. يمكنك ان ترى ما هي أنواع المحتوياات ذات الصلة ويجري انتقاؤها ورقم التشابه الخاص بكل مشاركة ، ثم على هذا الأساس حدد نسبة مناسبة لموقعك."
|
297 |
|
298 |
-
#:
|
299 |
#@ yarpp
|
300 |
msgid "Match threshold:"
|
301 |
msgstr "نسبة التشابه:"
|
302 |
|
303 |
-
#:
|
304 |
#@ yarpp
|
305 |
msgid "Titles: "
|
306 |
msgstr "العناوين :"
|
307 |
|
308 |
-
#:
|
309 |
#@ yarpp
|
310 |
msgid "Bodies: "
|
311 |
msgstr "المحتويات:"
|
312 |
|
313 |
-
#:
|
314 |
#@ yarpp
|
315 |
msgid "Tags: "
|
316 |
msgstr "العلامات"
|
317 |
|
318 |
-
#:
|
319 |
#@ yarpp
|
320 |
msgid "Categories: "
|
321 |
msgstr "الأقسام:"
|
322 |
|
323 |
-
#:
|
324 |
#@ yarpp
|
325 |
msgid "Cross-relate posts and pages?"
|
326 |
msgstr "إوصل بين المشاراكات والصفحات؟"
|
327 |
|
328 |
-
#:
|
329 |
#@ yarpp
|
330 |
msgid "When the \"Cross-relate posts and pages\" option is selected, the <code>related_posts()</code>, <code>related_pages()</code>, and <code>related_entries()</code> all will give the same output, returning both related pages and posts."
|
331 |
msgstr "عندما \"توصل بين المشاركات و الصفحات\", سوف يصبح لـ<code>related_posts()</code> و <code>related_pages()</code> و <code>related_entries()</code> نتيجة واحدة لإظهار المشاركات و الاصفحات المتشابهة معاً"
|
332 |
|
333 |
-
#:
|
334 |
#@ yarpp
|
335 |
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."
|
336 |
msgstr "تم إصدار نسخة تجريبية جديدة من إضافة المحتويات المتشابهه (%s). يمكنك <a href=\"%s\">تحميلها من هنا</a> على مسؤوليتك الخاصة."
|
337 |
|
338 |
-
#:
|
339 |
#@ yarpp
|
340 |
msgid "There is a new version (VERSION) of Yet Another Related Posts Plugin available! You can <A>download it here</a>."
|
341 |
msgstr "تم إصدار نسخة جديدة من إضافة المحتويات المتشابهه (YARPP)! يمكنك <A>تحميلها من هنا</a>."
|
342 |
|
343 |
-
#:
|
344 |
#@ yarpp
|
345 |
msgid "Display options <small>for your website</small>"
|
346 |
msgstr "عرض الخيارات <small>للموقع الخاص بك</small>"
|
347 |
|
348 |
-
#:
|
349 |
#@ yarpp
|
350 |
msgid "Automatically display related posts?"
|
351 |
msgstr "عرض المحتويات ذات الصلة تلقائيا؟"
|
352 |
|
353 |
-
#:
|
354 |
#@ yarpp
|
355 |
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."
|
356 |
msgstr "هذة الخاصية تظهر المحتويات ذات الصلة تلقائياً مباشرتاً بعد المحتوي الأساسي في المشاراكات الفردية. إذا قمت بإيقاف هذه الخاصية سوف تحتاج إلى تعديل القوالب الخاصة بتصميم موقعك و إضافة <code>related_posts()</code> أو (<code>related_pages()</code> and <code>related_entries()</code>) بها."
|
357 |
|
358 |
-
#:
|
359 |
#@ yarpp
|
360 |
msgid "Website display code example"
|
361 |
msgstr "مثال كود العرض بالموقع"
|
362 |
|
363 |
-
#:
|
364 |
-
#:
|
365 |
#@ yarpp
|
366 |
msgid "(Update options to reload.)"
|
367 |
msgstr "(حدث الخيارات لإعادة التحميل.)"
|
368 |
|
369 |
-
#:
|
370 |
-
#:
|
371 |
#@ yarpp
|
372 |
msgid "Maximum number of related posts:"
|
373 |
msgstr "الحد الأقصى لعدد المحتويات ذات الصلة:"
|
374 |
|
375 |
-
#:
|
376 |
-
#:
|
377 |
#@ yarpp
|
378 |
msgid "Display using a custom template file"
|
379 |
msgstr "عرض باستخدام قالب مخصص"
|
380 |
|
381 |
-
#:
|
382 |
-
#:
|
383 |
#@ yarpp
|
384 |
msgid "NEW!"
|
385 |
msgstr "جديد!"
|
386 |
|
387 |
-
#:
|
388 |
-
#:
|
389 |
#@ yarpp
|
390 |
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."
|
391 |
msgstr "هذا الخيار المتقدم يعطيك القوة الكاملة لتخصيص كيف يتم عرض المحتويات ذات الصلة. القوالب (المحفوظة في مجلد التصميم) مكتوبة بلغة PHP."
|
392 |
|
393 |
-
#:
|
394 |
-
#:
|
395 |
#@ yarpp
|
396 |
msgid "Template file:"
|
397 |
msgstr "ملف القالب :"
|
398 |
|
399 |
-
#:
|
400 |
#@ yarpp
|
401 |
msgid "Before / after related entries:"
|
402 |
msgstr "قبل / بعد الإدخالات ذات الصلة :"
|
403 |
|
404 |
-
#:
|
405 |
-
#:
|
406 |
-
#:
|
407 |
-
#:
|
408 |
-
#:
|
409 |
-
#:
|
410 |
#@ yarpp
|
411 |
msgid "For example:"
|
412 |
msgstr "مثال:"
|
413 |
|
414 |
-
#:
|
415 |
-
#:
|
416 |
-
#:
|
417 |
-
#:
|
418 |
-
#:
|
419 |
-
#:
|
420 |
#@ yarpp
|
421 |
msgid " or "
|
422 |
msgstr "أو"
|
423 |
|
424 |
-
#:
|
425 |
-
#:
|
426 |
#@ yarpp
|
427 |
msgid "Before / after each related entry:"
|
428 |
msgstr "قبل / بعد كل مدخل ذات الصلة :"
|
429 |
|
430 |
-
#:
|
431 |
-
#:
|
432 |
#@ yarpp
|
433 |
msgid "Show excerpt?"
|
434 |
msgstr "إظهار المقتطفات؟"
|
435 |
|
436 |
-
#:
|
437 |
-
#:
|
438 |
#@ yarpp
|
439 |
msgid "Excerpt length (No. of words):"
|
440 |
msgstr "الحد الأقصى لعدد الكلمات في المقتطفات:"
|
441 |
|
442 |
-
#:
|
443 |
#@ yarpp
|
444 |
msgid "Before / after (Excerpt):"
|
445 |
msgstr "قبل / بعد (المقتطفات) :"
|
446 |
|
447 |
-
#:
|
448 |
-
#:
|
449 |
#@ yarpp
|
450 |
msgid "Order results:"
|
451 |
msgstr "ترتيب النتائج:"
|
452 |
|
453 |
-
#:
|
454 |
-
#:
|
455 |
#@ yarpp
|
456 |
msgid "score (high relevance to low)"
|
457 |
msgstr "النتيجة (الأكثر ثم الأقل)"
|
458 |
|
459 |
-
#:
|
460 |
-
#:
|
461 |
#@ yarpp
|
462 |
msgid "score (low relevance to high)"
|
463 |
msgstr "النتيجة (الأقل ثم الأكثر)"
|
464 |
|
465 |
-
#:
|
466 |
-
#:
|
467 |
#@ yarpp
|
468 |
msgid "date (new to old)"
|
469 |
msgstr "التاريخ (الجديد إلى القديم)"
|
470 |
|
471 |
-
#:
|
472 |
-
#:
|
473 |
#@ yarpp
|
474 |
msgid "date (old to new)"
|
475 |
msgstr "التاريخ (القديم الى الجديد)"
|
476 |
|
477 |
-
#:
|
478 |
-
#:
|
479 |
#@ yarpp
|
480 |
msgid "title (alphabetical)"
|
481 |
msgstr "العناوين (أبجديا)"
|
482 |
|
483 |
-
#:
|
484 |
-
#:
|
485 |
#@ yarpp
|
486 |
msgid "title (reverse alphabetical)"
|
487 |
msgstr "العناوين (عكس الأبجدي)"
|
488 |
|
489 |
-
#:
|
490 |
-
#:
|
491 |
#@ yarpp
|
492 |
msgid "Default display if no results:"
|
493 |
msgstr "العرض الافتراضي إذا لم يتم لبعثور على نتائج:"
|
494 |
|
495 |
-
#:
|
496 |
-
#:
|
497 |
#, php-format
|
498 |
#@ yarpp
|
499 |
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."
|
500 |
msgstr "هذه الخاصية يوف تضيف %s. قم بتفعيلها, و تحديث خياراتك ثم إلقي نظرة على مثال كود العرض الظاهر على اليمين. هذه الروابط و التبرعات تقدر بإمتنان"
|
501 |
|
502 |
-
#:
|
503 |
#@ yarpp
|
504 |
msgid "Display options <small>for RSS</small>"
|
505 |
msgstr "عرض خيارات <small>الـRSS</small>"
|
506 |
|
507 |
-
#:
|
508 |
#@ yarpp
|
509 |
msgid "Display related posts in feeds?"
|
510 |
msgstr "عرض المحتويات ذات الصلة في تحديثات الـRSS؟"
|
511 |
|
512 |
-
#:
|
513 |
#@ yarpp
|
514 |
msgid "This option displays related posts at the end of each item in your RSS and Atom feeds. No template changes are needed."
|
515 |
msgstr "هذا الخيار يعرض المحتويات ذات الصلة في نهاية كل من تحديثات الآر إس إس والأتوم. لن تحتاج لتحديث أي قوالب."
|
516 |
|
517 |
-
#:
|
518 |
#@ yarpp
|
519 |
msgid "Display related posts in the descriptions?"
|
520 |
msgstr "عرض المحتويات ذات الصلة في الوصف؟"
|
521 |
|
522 |
-
#:
|
523 |
#@ yarpp
|
524 |
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."
|
525 |
msgstr "هذا الخيار يتيح لك عرض المحتويات ذات الصلة في خانات الوصف الخاصة بالـRSS, و ليس فقط المحتوى الخاص بها. إذا كانت الإعدادات الخاصة بتحديثات الـRSSتظهر فقط مقتطفات المواضيع إذا فيتم عرض خانة الوصف هذه فقط. في هذه الحالة فسوف يكون هذا الخيار مطلوب لأي عرض على الإطلاق."
|
526 |
|
527 |
-
#:
|
528 |
#@ yarpp
|
529 |
msgid "RSS display code example"
|
530 |
msgstr "مثال الكود الخاص بالأر إس إس."
|
531 |
|
532 |
-
#:
|
533 |
#@ yarpp
|
534 |
msgid "Before / after related entries display:"
|
535 |
msgstr "قبل / بعد عرض المدخلات ذات الصلة :"
|
536 |
|
537 |
-
#:
|
538 |
#@ yarpp
|
539 |
msgid "Before / after (excerpt):"
|
540 |
msgstr "قبل / بعد (المقتطفات) :"
|
541 |
|
542 |
-
#:
|
543 |
#@ yarpp
|
544 |
msgid "Update options"
|
545 |
msgstr "خيارات التحديث"
|
546 |
|
547 |
-
#:
|
548 |
#@ yarpp
|
549 |
msgid "Do you really want to reset your configuration?"
|
550 |
msgstr "هل تريد حقا إعادة الخيارات الخاصة بك إلى الخيارات الإفتراضية؟"
|
551 |
|
552 |
-
#:
|
553 |
#@ yarpp
|
554 |
msgid "Reset options"
|
555 |
msgstr "إستيعاد الخيارات"
|
70 |
msgstr ""
|
71 |
|
72 |
#: includes.php:263
|
73 |
+
#: yarpp_options.php:457
|
74 |
+
#: yarpp_options.php:526
|
75 |
#@ yarpp
|
76 |
msgid "Help promote Yet Another Related Posts Plugin?"
|
77 |
msgstr "ساهم في تطوير الإضافة؟"
|
87 |
msgstr "مثال مشاركة"
|
88 |
|
89 |
#: magic.php:344
|
90 |
+
#: yarpp_options.php:459
|
91 |
+
#: yarpp_options.php:527
|
92 |
#@ yarpp
|
93 |
msgid "Related posts brought to you by <a href='%s'>Yet Another Related Posts Plugin</a>."
|
94 |
msgstr "إضافة المحتويات ذات الصلة مقدم لكم بواسطة <a href='%s'>Yet Another Related Posts Plugin</a>. <br /> قام بالترجة للغة العربية <a href='http://www.cdmazika.com'>CDMazika.com</a>"
|
95 |
|
96 |
+
#: yarpp_options.php:10
|
97 |
#@ yarpp
|
98 |
msgid "Please move the YARPP template files into your theme to complete installation. Simply move the sample template files (currently in <code>wp-content/plugins/yet-another-related-posts-plugin/yarpp-templates/</code>) to the <code>TEMPLATEPATH</code> directory."
|
99 |
msgstr "برجاء نفل ملفات القوالب إلي مجلد التصميم للإنتهاء من عملية التثبيت. فقط قم بنقل الملفات الموجودة داخال المجلد <code>wp-content/plugins/yet-another-related-posts-plugin/yarpp-templates/</code> إلى المجلد <code>TEMPLATEPATH</code>"
|
100 |
|
101 |
+
#: yarpp_options.php:15
|
102 |
#@ yarpp
|
103 |
msgid "No YARPP template files were found in your theme (<code>TEMPLATEPATH</code>) so the templating feature has been turned off."
|
104 |
msgstr "لم يتم العثور على القوالب بداخل مجلد التصميم الخاص بك (<code>TEMPLATEPATH</code>) لذلك سوف يتم إيقاف خاصية القوالب"
|
105 |
|
106 |
+
#: yarpp_options.php:26
|
107 |
#@ yarpp
|
108 |
msgid "The MyISAM check has been overridden. You may now use the \"consider titles\" and \"consider bodies\" relatedness criteria."
|
109 |
msgstr "لقد تم لإستبدال الMyISAM. يمكنك الآن إستخدام \"consider titles\" و \"consider bodies\" كمعايير للتشابه"
|
110 |
|
111 |
+
#: yarpp_options.php:35
|
112 |
#, php-format
|
113 |
#@ yarpp
|
114 |
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."
|
115 |
msgstr "معايير التشابه \"consider titles\" و \"consider bodies\" تحتاج إلى جدول <code>%s</code> الخاص بك لإستخدام <a href='http://dev.mysql.com/doc/refman/5.0/en/storage-engines.html'>محرك التخزين MyISAM</a>, و لكن الجدول الآن يستخدم <code>%s</code>. لقد تم إيقاف هاتان الخاصياتان."
|
116 |
|
117 |
+
#: yarpp_options.php:37
|
118 |
#, php-format
|
119 |
#@ yarpp
|
120 |
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."
|
121 |
msgstr "لإستعاد هذه الخواص, برجاء تحديث جدول <code>%s</code> الخاص بك عن طريق تنفيذ التوجيه التالي للSQL: <code>ALTER TABLE `%s` ENGINE = MyISAM;</code> . وسوف لا تمحى البيانات عن طريق تغيير الجدول المحرك ، وبالرغم من وجود آثار للأداء."
|
122 |
|
123 |
+
#: yarpp_options.php:39
|
124 |
#, php-format
|
125 |
#@ yarpp
|
126 |
msgid "If, despite this check, you are sure that <code>%s</code> is using the MyISAM engine, press this magic button:"
|
127 |
msgstr "إذا ، على الرغم من هذا الاختيار ، كنت متأكدا من أن <code>%s</code> يستخدم المحرك MyISAM ، اضغط على هذا الزر السحري :"
|
128 |
|
129 |
+
#: yarpp_options.php:42
|
130 |
#@ yarpp
|
131 |
msgid "Trust me. Let me use MyISAM features."
|
132 |
msgstr "ثق بي. اسمحوا لي أن استخدام ميزات MyISAM."
|
133 |
|
134 |
+
#: yarpp_options.php:65
|
135 |
#@ yarpp
|
136 |
msgid "The YARPP database had an error but has been fixed."
|
137 |
msgstr "قاعدة بيانات YARPP حدث بها خطأ ولكن تم إصلاحه."
|
138 |
|
139 |
+
#: yarpp_options.php:67
|
140 |
#@ yarpp
|
141 |
msgid "The YARPP database has an error which could not be fixed."
|
142 |
msgstr "قاعدة بيانات YARPP قد حدث بها خطأ لم نتمكن من إصلاحه."
|
143 |
|
144 |
+
#: yarpp_options.php:68
|
145 |
#@ yarpp
|
146 |
msgid "Please try <A>manual SQL setup</a>."
|
147 |
msgstr "يرجى محاولة <A>دليل مزود إعدادات SQL.</a>"
|
148 |
|
149 |
+
#: yarpp_options.php:99
|
150 |
#@ yarpp
|
151 |
msgid "Options saved!"
|
152 |
msgstr "تم حفظ الخيارات!"
|
153 |
|
154 |
+
#: yarpp_options.php:135
|
155 |
#@ yarpp
|
156 |
msgid "word"
|
157 |
msgstr "كلمة"
|
158 |
|
159 |
+
#: yarpp_options.php:136
|
160 |
#@ yarpp
|
161 |
msgid "tag"
|
162 |
msgstr "علامة"
|
163 |
|
164 |
+
#: yarpp_options.php:137
|
165 |
#@ yarpp
|
166 |
msgid "category"
|
167 |
msgstr "فئة"
|
168 |
|
169 |
+
#: yarpp_options.php:141
|
170 |
+
#: yarpp_options.php:158
|
171 |
+
#: yarpp_options.php:170
|
172 |
#@ yarpp
|
173 |
msgid "do not consider"
|
174 |
msgstr "لا تنظر"
|
175 |
|
176 |
+
#: yarpp_options.php:142
|
177 |
+
#: yarpp_options.php:159
|
178 |
+
#: yarpp_options.php:172
|
179 |
#@ yarpp
|
180 |
msgid "consider"
|
181 |
msgstr "إنظر"
|
182 |
|
183 |
+
#: yarpp_options.php:144
|
184 |
+
#: yarpp_options.php:174
|
185 |
#, php-format
|
186 |
#@ yarpp
|
187 |
msgid "require at least one %s in common"
|
188 |
msgstr "تتطلب ٪ واحدة على الأقل مشتركة"
|
189 |
|
190 |
+
#: yarpp_options.php:146
|
191 |
+
#: yarpp_options.php:176
|
192 |
#, php-format
|
193 |
#@ yarpp
|
194 |
msgid "require more than one %s in common"
|
195 |
msgstr "تتطلب أكثر من ٪ واحدة مشتركة"
|
196 |
|
197 |
+
#: yarpp_options.php:160
|
198 |
#@ yarpp
|
199 |
msgid "consider with extra weight"
|
200 |
msgstr "النظر مع الإعتبار الزائد"
|
201 |
|
202 |
+
#: yarpp_options.php:188
|
203 |
#@ yarpp
|
204 |
msgid "Yet Another Related Posts Plugin version history (RSS 2.0)"
|
205 |
msgstr "تاريخ إصدار إضافة المحتويات ذات الصلة YARPP (RSS 2.0)"
|
206 |
|
207 |
+
#: yarpp_options.php:242
|
208 |
#@ yarpp
|
209 |
msgid "Yet Another Related Posts Plugin Options"
|
210 |
msgstr "إعدادات إضافة المحتويات ذات الصلة YARPP"
|
211 |
|
212 |
+
#: yarpp_options.php:255
|
213 |
#@ yarpp
|
214 |
msgid "Follow <a href=\"http://twitter.com/yarpp/\">Yet Another Related Posts Plugin on Twitter</a>"
|
215 |
msgstr "متابعة <a href=\\\"http://twitter.com/yarpp/\\\">آخر أخبار إضافة المحتويات ذات الصلة على Twitter</a>"
|
216 |
|
217 |
+
#: yarpp_options.php:271
|
218 |
+
#: yarpp_options.php:304
|
219 |
+
#: yarpp_options.php:398
|
220 |
+
#: yarpp_options.php:466
|
221 |
msgid "Click to toggle"
|
222 |
msgstr ""
|
223 |
|
224 |
+
#: yarpp_options.php:274
|
225 |
#@ yarpp
|
226 |
msgid "\"The Pool\""
|
227 |
msgstr "\"التجمع\""
|
228 |
|
229 |
+
#: yarpp_options.php:276
|
230 |
#@ yarpp
|
231 |
msgid "\"The Pool\" refers to the pool of posts and pages that are candidates for display as related to the current entry."
|
232 |
msgstr "\"التجمع\" يشير إلى مجموعة من الأقسام والصفحات التي يتم ترشيحها للعرض."
|
233 |
|
234 |
+
#: yarpp_options.php:281
|
235 |
#@ yarpp
|
236 |
msgid "Disallow by category:"
|
237 |
msgstr "عدم السماح حسب الفئة :"
|
238 |
|
239 |
+
#: yarpp_options.php:283
|
240 |
#@ yarpp
|
241 |
msgid "Disallow by tag:"
|
242 |
msgstr "عدم السماح حسب العلامات :"
|
243 |
|
244 |
+
#: yarpp_options.php:285
|
245 |
#@ yarpp
|
246 |
msgid "Show password protected posts?"
|
247 |
msgstr "إظهار الموضوعات المحمية بكلمات سرية؟"
|
248 |
|
249 |
+
#: yarpp_options.php:291
|
250 |
#@ yarpp
|
251 |
msgid "day(s)"
|
252 |
msgstr "أيام"
|
253 |
|
254 |
+
#: yarpp_options.php:292
|
255 |
#@ yarpp
|
256 |
msgid "week(s)"
|
257 |
msgstr "أسابيع"
|
258 |
|
259 |
+
#: yarpp_options.php:293
|
260 |
#@ yarpp
|
261 |
msgid "month(s)"
|
262 |
msgstr "شهور"
|
263 |
|
264 |
+
#: yarpp_options.php:295
|
265 |
#@ yarpp
|
266 |
msgid "Show only posts from the past NUMBER UNITS"
|
267 |
msgstr "إظهار المشاركات من الNUMBER UNITS الماضية"
|
268 |
|
269 |
+
#: yarpp_options.php:307
|
270 |
#@ yarpp
|
271 |
msgid "\"Relatedness\" options"
|
272 |
msgstr "خيارات \"العلاقة\""
|
273 |
|
274 |
+
#: yarpp_options.php:310
|
275 |
#, php-format
|
276 |
#@ yarpp
|
277 |
msgid "YARPP is different than the <a href=\"http://wasabi.pbwiki.com/Related%20Entries\">previous plugins it is based on</a> as it limits the related posts list by (1) a maximum number and (2) a <em>match threshold</em>."
|
278 |
msgstr "YARPP مختلفة عن <a href=\\\"http://wasabi.pbwiki.com/Related%20Entries\\\">الإضافات السابقة و ما تستند إليه</a> لأنه يحد من المحتويات المتشابهه قائمة من قبل (1) والحد الأقصى لعدد (2) على <em>عتبة المباراة.</em>"
|
279 |
|
280 |
+
#: yarpp_options.php:310
|
281 |
+
#: yarpp_options.php:324
|
282 |
+
#: yarpp_options.php:406
|
283 |
+
#: yarpp_options.php:411
|
284 |
+
#: yarpp_options.php:458
|
285 |
+
#: yarpp_options.php:475
|
286 |
+
#: yarpp_options.php:476
|
287 |
+
#: yarpp_options.php:480
|
288 |
+
#: yarpp_options.php:526
|
289 |
#@ yarpp
|
290 |
msgid "more>"
|
291 |
msgstr "المزيد>"
|
292 |
|
293 |
+
#: yarpp_options.php:310
|
294 |
#@ yarpp
|
295 |
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."
|
296 |
msgstr "كلما ذاد ارتفاع نسبة التشابه ، كلما إزداد التقيد ، وتحصل على عدد أقل من المحتويات المتشابهه عموما. الافتراضي 5. إذا كنت تريد معرفة الرقم المناسب لك ، إنظر على المحتوياات ذات الصلة لأي من مشاراكاتك ودرجاتهم. يمكنك ان ترى ما هي أنواع المحتوياات ذات الصلة ويجري انتقاؤها ورقم التشابه الخاص بكل مشاركة ، ثم على هذا الأساس حدد نسبة مناسبة لموقعك."
|
297 |
|
298 |
+
#: yarpp_options.php:315
|
299 |
#@ yarpp
|
300 |
msgid "Match threshold:"
|
301 |
msgstr "نسبة التشابه:"
|
302 |
|
303 |
+
#: yarpp_options.php:316
|
304 |
#@ yarpp
|
305 |
msgid "Titles: "
|
306 |
msgstr "العناوين :"
|
307 |
|
308 |
+
#: yarpp_options.php:318
|
309 |
#@ yarpp
|
310 |
msgid "Bodies: "
|
311 |
msgstr "المحتويات:"
|
312 |
|
313 |
+
#: yarpp_options.php:320
|
314 |
#@ yarpp
|
315 |
msgid "Tags: "
|
316 |
msgstr "العلامات"
|
317 |
|
318 |
+
#: yarpp_options.php:322
|
319 |
#@ yarpp
|
320 |
msgid "Categories: "
|
321 |
msgstr "الأقسام:"
|
322 |
|
323 |
+
#: yarpp_options.php:324
|
324 |
#@ yarpp
|
325 |
msgid "Cross-relate posts and pages?"
|
326 |
msgstr "إوصل بين المشاراكات والصفحات؟"
|
327 |
|
328 |
+
#: yarpp_options.php:324
|
329 |
#@ yarpp
|
330 |
msgid "When the \"Cross-relate posts and pages\" option is selected, the <code>related_posts()</code>, <code>related_pages()</code>, and <code>related_entries()</code> all will give the same output, returning both related pages and posts."
|
331 |
msgstr "عندما \"توصل بين المشاركات و الصفحات\", سوف يصبح لـ<code>related_posts()</code> و <code>related_pages()</code> و <code>related_entries()</code> نتيجة واحدة لإظهار المشاركات و الاصفحات المتشابهة معاً"
|
332 |
|
333 |
+
#: yarpp_options.php:385
|
334 |
#@ yarpp
|
335 |
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."
|
336 |
msgstr "تم إصدار نسخة تجريبية جديدة من إضافة المحتويات المتشابهه (%s). يمكنك <a href=\"%s\">تحميلها من هنا</a> على مسؤوليتك الخاصة."
|
337 |
|
338 |
+
#: yarpp_options.php:387
|
339 |
#@ yarpp
|
340 |
msgid "There is a new version (VERSION) of Yet Another Related Posts Plugin available! You can <A>download it here</a>."
|
341 |
msgstr "تم إصدار نسخة جديدة من إضافة المحتويات المتشابهه (YARPP)! يمكنك <A>تحميلها من هنا</a>."
|
342 |
|
343 |
+
#: yarpp_options.php:401
|
344 |
#@ yarpp
|
345 |
msgid "Display options <small>for your website</small>"
|
346 |
msgstr "عرض الخيارات <small>للموقع الخاص بك</small>"
|
347 |
|
348 |
+
#: yarpp_options.php:406
|
349 |
#@ yarpp
|
350 |
msgid "Automatically display related posts?"
|
351 |
msgstr "عرض المحتويات ذات الصلة تلقائيا؟"
|
352 |
|
353 |
+
#: yarpp_options.php:406
|
354 |
#@ yarpp
|
355 |
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."
|
356 |
msgstr "هذة الخاصية تظهر المحتويات ذات الصلة تلقائياً مباشرتاً بعد المحتوي الأساسي في المشاراكات الفردية. إذا قمت بإيقاف هذه الخاصية سوف تحتاج إلى تعديل القوالب الخاصة بتصميم موقعك و إضافة <code>related_posts()</code> أو (<code>related_pages()</code> and <code>related_entries()</code>) بها."
|
357 |
|
358 |
+
#: yarpp_options.php:407
|
359 |
#@ yarpp
|
360 |
msgid "Website display code example"
|
361 |
msgstr "مثال كود العرض بالموقع"
|
362 |
|
363 |
+
#: yarpp_options.php:407
|
364 |
+
#: yarpp_options.php:477
|
365 |
#@ yarpp
|
366 |
msgid "(Update options to reload.)"
|
367 |
msgstr "(حدث الخيارات لإعادة التحميل.)"
|
368 |
|
369 |
+
#: yarpp_options.php:410
|
370 |
+
#: yarpp_options.php:479
|
371 |
#@ yarpp
|
372 |
msgid "Maximum number of related posts:"
|
373 |
msgstr "الحد الأقصى لعدد المحتويات ذات الصلة:"
|
374 |
|
375 |
+
#: yarpp_options.php:411
|
376 |
+
#: yarpp_options.php:480
|
377 |
#@ yarpp
|
378 |
msgid "Display using a custom template file"
|
379 |
msgstr "عرض باستخدام قالب مخصص"
|
380 |
|
381 |
+
#: yarpp_options.php:411
|
382 |
+
#: yarpp_options.php:480
|
383 |
#@ yarpp
|
384 |
msgid "NEW!"
|
385 |
msgstr "جديد!"
|
386 |
|
387 |
+
#: yarpp_options.php:411
|
388 |
+
#: yarpp_options.php:480
|
389 |
#@ yarpp
|
390 |
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."
|
391 |
msgstr "هذا الخيار المتقدم يعطيك القوة الكاملة لتخصيص كيف يتم عرض المحتويات ذات الصلة. القوالب (المحفوظة في مجلد التصميم) مكتوبة بلغة PHP."
|
392 |
|
393 |
+
#: yarpp_options.php:413
|
394 |
+
#: yarpp_options.php:482
|
395 |
#@ yarpp
|
396 |
msgid "Template file:"
|
397 |
msgstr "ملف القالب :"
|
398 |
|
399 |
+
#: yarpp_options.php:423
|
400 |
#@ yarpp
|
401 |
msgid "Before / after related entries:"
|
402 |
msgstr "قبل / بعد الإدخالات ذات الصلة :"
|
403 |
|
404 |
+
#: yarpp_options.php:424
|
405 |
+
#: yarpp_options.php:429
|
406 |
+
#: yarpp_options.php:438
|
407 |
+
#: yarpp_options.php:493
|
408 |
+
#: yarpp_options.php:498
|
409 |
+
#: yarpp_options.php:507
|
410 |
#@ yarpp
|
411 |
msgid "For example:"
|
412 |
msgstr "مثال:"
|
413 |
|
414 |
+
#: yarpp_options.php:424
|
415 |
+
#: yarpp_options.php:429
|
416 |
+
#: yarpp_options.php:438
|
417 |
+
#: yarpp_options.php:493
|
418 |
+
#: yarpp_options.php:498
|
419 |
+
#: yarpp_options.php:507
|
420 |
#@ yarpp
|
421 |
msgid " or "
|
422 |
msgstr "أو"
|
423 |
|
424 |
+
#: yarpp_options.php:428
|
425 |
+
#: yarpp_options.php:497
|
426 |
#@ yarpp
|
427 |
msgid "Before / after each related entry:"
|
428 |
msgstr "قبل / بعد كل مدخل ذات الصلة :"
|
429 |
|
430 |
+
#: yarpp_options.php:432
|
431 |
+
#: yarpp_options.php:501
|
432 |
#@ yarpp
|
433 |
msgid "Show excerpt?"
|
434 |
msgstr "إظهار المقتطفات؟"
|
435 |
|
436 |
+
#: yarpp_options.php:433
|
437 |
+
#: yarpp_options.php:502
|
438 |
#@ yarpp
|
439 |
msgid "Excerpt length (No. of words):"
|
440 |
msgstr "الحد الأقصى لعدد الكلمات في المقتطفات:"
|
441 |
|
442 |
+
#: yarpp_options.php:437
|
443 |
#@ yarpp
|
444 |
msgid "Before / after (Excerpt):"
|
445 |
msgstr "قبل / بعد (المقتطفات) :"
|
446 |
|
447 |
+
#: yarpp_options.php:443
|
448 |
+
#: yarpp_options.php:512
|
449 |
#@ yarpp
|
450 |
msgid "Order results:"
|
451 |
msgstr "ترتيب النتائج:"
|
452 |
|
453 |
+
#: yarpp_options.php:445
|
454 |
+
#: yarpp_options.php:514
|
455 |
#@ yarpp
|
456 |
msgid "score (high relevance to low)"
|
457 |
msgstr "النتيجة (الأكثر ثم الأقل)"
|
458 |
|
459 |
+
#: yarpp_options.php:446
|
460 |
+
#: yarpp_options.php:515
|
461 |
#@ yarpp
|
462 |
msgid "score (low relevance to high)"
|
463 |
msgstr "النتيجة (الأقل ثم الأكثر)"
|
464 |
|
465 |
+
#: yarpp_options.php:447
|
466 |
+
#: yarpp_options.php:516
|
467 |
#@ yarpp
|
468 |
msgid "date (new to old)"
|
469 |
msgstr "التاريخ (الجديد إلى القديم)"
|
470 |
|
471 |
+
#: yarpp_options.php:448
|
472 |
+
#: yarpp_options.php:517
|
473 |
#@ yarpp
|
474 |
msgid "date (old to new)"
|
475 |
msgstr "التاريخ (القديم الى الجديد)"
|
476 |
|
477 |
+
#: yarpp_options.php:449
|
478 |
+
#: yarpp_options.php:518
|
479 |
#@ yarpp
|
480 |
msgid "title (alphabetical)"
|
481 |
msgstr "العناوين (أبجديا)"
|
482 |
|
483 |
+
#: yarpp_options.php:450
|
484 |
+
#: yarpp_options.php:519
|
485 |
#@ yarpp
|
486 |
msgid "title (reverse alphabetical)"
|
487 |
msgstr "العناوين (عكس الأبجدي)"
|
488 |
|
489 |
+
#: yarpp_options.php:455
|
490 |
+
#: yarpp_options.php:524
|
491 |
#@ yarpp
|
492 |
msgid "Default display if no results:"
|
493 |
msgstr "العرض الافتراضي إذا لم يتم لبعثور على نتائج:"
|
494 |
|
495 |
+
#: yarpp_options.php:459
|
496 |
+
#: yarpp_options.php:527
|
497 |
#, php-format
|
498 |
#@ yarpp
|
499 |
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."
|
500 |
msgstr "هذه الخاصية يوف تضيف %s. قم بتفعيلها, و تحديث خياراتك ثم إلقي نظرة على مثال كود العرض الظاهر على اليمين. هذه الروابط و التبرعات تقدر بإمتنان"
|
501 |
|
502 |
+
#: yarpp_options.php:469
|
503 |
#@ yarpp
|
504 |
msgid "Display options <small>for RSS</small>"
|
505 |
msgstr "عرض خيارات <small>الـRSS</small>"
|
506 |
|
507 |
+
#: yarpp_options.php:475
|
508 |
#@ yarpp
|
509 |
msgid "Display related posts in feeds?"
|
510 |
msgstr "عرض المحتويات ذات الصلة في تحديثات الـRSS؟"
|
511 |
|
512 |
+
#: yarpp_options.php:475
|
513 |
#@ yarpp
|
514 |
msgid "This option displays related posts at the end of each item in your RSS and Atom feeds. No template changes are needed."
|
515 |
msgstr "هذا الخيار يعرض المحتويات ذات الصلة في نهاية كل من تحديثات الآر إس إس والأتوم. لن تحتاج لتحديث أي قوالب."
|
516 |
|
517 |
+
#: yarpp_options.php:476
|
518 |
#@ yarpp
|
519 |
msgid "Display related posts in the descriptions?"
|
520 |
msgstr "عرض المحتويات ذات الصلة في الوصف؟"
|
521 |
|
522 |
+
#: yarpp_options.php:476
|
523 |
#@ yarpp
|
524 |
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."
|
525 |
msgstr "هذا الخيار يتيح لك عرض المحتويات ذات الصلة في خانات الوصف الخاصة بالـRSS, و ليس فقط المحتوى الخاص بها. إذا كانت الإعدادات الخاصة بتحديثات الـRSSتظهر فقط مقتطفات المواضيع إذا فيتم عرض خانة الوصف هذه فقط. في هذه الحالة فسوف يكون هذا الخيار مطلوب لأي عرض على الإطلاق."
|
526 |
|
527 |
+
#: yarpp_options.php:477
|
528 |
#@ yarpp
|
529 |
msgid "RSS display code example"
|
530 |
msgstr "مثال الكود الخاص بالأر إس إس."
|
531 |
|
532 |
+
#: yarpp_options.php:492
|
533 |
#@ yarpp
|
534 |
msgid "Before / after related entries display:"
|
535 |
msgstr "قبل / بعد عرض المدخلات ذات الصلة :"
|
536 |
|
537 |
+
#: yarpp_options.php:506
|
538 |
#@ yarpp
|
539 |
msgid "Before / after (excerpt):"
|
540 |
msgstr "قبل / بعد (المقتطفات) :"
|
541 |
|
542 |
+
#: yarpp_options.php:535
|
543 |
#@ yarpp
|
544 |
msgid "Update options"
|
545 |
msgstr "خيارات التحديث"
|
546 |
|
547 |
+
#: yarpp_options.php:536
|
548 |
#@ yarpp
|
549 |
msgid "Do you really want to reset your configuration?"
|
550 |
msgstr "هل تريد حقا إعادة الخيارات الخاصة بك إلى الخيارات الإفتراضية؟"
|
551 |
|
552 |
+
#: yarpp_options.php:536
|
553 |
#@ yarpp
|
554 |
msgid "Reset options"
|
555 |
msgstr "إستيعاد الخيارات"
|
lang/yarpp-bg_BG.po
CHANGED
@@ -70,8 +70,8 @@ msgid "Title:"
|
|
70 |
msgstr "Заглавие:"
|
71 |
|
72 |
#: includes.php:279
|
73 |
-
#:
|
74 |
-
#:
|
75 |
#@ yarpp
|
76 |
msgid "Help promote Yet Another Related Posts Plugin?"
|
77 |
msgstr "Помогнете в популяризирането на Yet Another Related Posts Plugin?"
|
@@ -87,475 +87,475 @@ msgid "Example post "
|
|
87 |
msgstr "Примерна публикация"
|
88 |
|
89 |
#: magic.php:351
|
90 |
-
#:
|
91 |
-
#:
|
92 |
#@ yarpp
|
93 |
msgid "Related posts brought to you by <a href='%s'>Yet Another Related Posts Plugin</a>."
|
94 |
msgstr "Сродни публикации с помоща на <a href='%s'>Yet Another Related Posts Plugin</a>."
|
95 |
|
96 |
-
#:
|
97 |
#@ yarpp
|
98 |
msgid "Please move the YARPP template files into your theme to complete installation. Simply move the sample template files (currently in <code>wp-content/plugins/yet-another-related-posts-plugin/yarpp-templates/</code>) to the <code>TEMPLATEPATH</code> directory."
|
99 |
msgstr "Моля, преместете шаблоните на YARPP във вашата тема за да приключите с инсталирането. Просто преместете примерните шаблони (в момента се намират в <code>wp-content/plugins/yet-another-related-posts-plugin/yarpp-templates/</code>) в папката <code>TEMPLATEPATH</code>."
|
100 |
|
101 |
-
#:
|
102 |
#@ yarpp
|
103 |
msgid "No YARPP template files were found in your theme (<code>TEMPLATEPATH</code>) so the templating feature has been turned off."
|
104 |
msgstr "Не бяха намерени YARPP шаблони във вашата тема (<code>TEMPLATEPATH</code>) , следнователно възможноста за шаблони беше изключена."
|
105 |
|
106 |
-
#:
|
107 |
#@ yarpp
|
108 |
msgid "The MyISAM check has been overridden. You may now use the \"consider titles\" and \"consider bodies\" relatedness criteria."
|
109 |
msgstr "Проверката за MyISAM е отменена. Сега може да използвате \"вземи в предвид заглавията\" и \"вземи в предвид основния текс\" критериите за сродност."
|
110 |
|
111 |
-
#:
|
112 |
#, php-format
|
113 |
#@ yarpp
|
114 |
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."
|
115 |
msgstr "Критериите за сродност на YARPP \"вземи в предвид заглавията\" и \"вземи в предвид основния текст\" изискват таблицата <code>%s</code> да използва <a href='http://dev.mysql.com/doc/refman/5.0/en/storage-engines.html'>MyISAM storage engine</a>, обаче таблицата използва <code>%s</code> engine. Тези две опции са изключени."
|
116 |
|
117 |
-
#:
|
118 |
#, php-format
|
119 |
#@ yarpp
|
120 |
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."
|
121 |
msgstr "За да възтановите тези опции, моля променете таблицата <code>%s</code> с изпълняването на тези SQL заявки: <code>ALTER TABLE `%s` ENGINE = MyISAM;</code> . Данните ви няма да бъдат изтрити от таблицата, въпреки че изпълнението на заявките може да се отрази на производителноста."
|
122 |
|
123 |
-
#:
|
124 |
#, php-format
|
125 |
#@ yarpp
|
126 |
msgid "If, despite this check, you are sure that <code>%s</code> is using the MyISAM engine, press this magic button:"
|
127 |
msgstr "Ако въпреки тази проверка сте сигурни че <code>%s</code> ползва MyISAM engine, натиснете този магически бутон:"
|
128 |
|
129 |
-
#:
|
130 |
#@ yarpp
|
131 |
msgid "Trust me. Let me use MyISAM features."
|
132 |
msgstr "Довери ми се, позволи ми да ползвам MyISAM."
|
133 |
|
134 |
-
#:
|
135 |
#@ yarpp
|
136 |
msgid "The YARPP database had an error but has been fixed."
|
137 |
msgstr "Базата от данни на YARPP имаше грешка, но сега е оправена!"
|
138 |
|
139 |
-
#:
|
140 |
#@ yarpp
|
141 |
msgid "The YARPP database has an error which could not be fixed."
|
142 |
msgstr "Базата от данни на YARPP има грешка която не може да бъде оправена."
|
143 |
|
144 |
-
#:
|
145 |
#@ yarpp
|
146 |
msgid "Please try <A>manual SQL setup</a>."
|
147 |
msgstr "Моля, опитайте <A>ръчни SQL настройки</a>."
|
148 |
|
149 |
-
#:
|
150 |
#@ yarpp
|
151 |
msgid "Options saved!"
|
152 |
msgstr "Настройките са запазени успешно!"
|
153 |
|
154 |
-
#:
|
155 |
#@ yarpp
|
156 |
msgid "word"
|
157 |
msgstr "дума"
|
158 |
|
159 |
-
#:
|
160 |
#@ yarpp
|
161 |
msgid "tag"
|
162 |
msgstr "таг"
|
163 |
|
164 |
-
#:
|
165 |
#@ yarpp
|
166 |
msgid "category"
|
167 |
msgstr "категория"
|
168 |
|
169 |
-
#:
|
170 |
-
#:
|
171 |
-
#:
|
172 |
#@ yarpp
|
173 |
msgid "do not consider"
|
174 |
msgstr "не взимай в предивид"
|
175 |
|
176 |
-
#:
|
177 |
-
#:
|
178 |
-
#:
|
179 |
#@ yarpp
|
180 |
msgid "consider"
|
181 |
msgstr "вземи в предивид"
|
182 |
|
183 |
-
#:
|
184 |
-
#:
|
185 |
#, php-format
|
186 |
#@ yarpp
|
187 |
msgid "require at least one %s in common"
|
188 |
msgstr "изисквай поне един общ %s "
|
189 |
|
190 |
-
#:
|
191 |
-
#:
|
192 |
#, php-format
|
193 |
#@ yarpp
|
194 |
msgid "require more than one %s in common"
|
195 |
msgstr "изисквай повече от един общ %s"
|
196 |
|
197 |
-
#:
|
198 |
#@ yarpp
|
199 |
msgid "consider with extra weight"
|
200 |
msgstr "вземи в предивид с по-голяма тежест"
|
201 |
|
202 |
-
#:
|
203 |
#@ yarpp
|
204 |
msgid "Yet Another Related Posts Plugin version history (RSS 2.0)"
|
205 |
msgstr "Yet Another Related Posts Plugin история на версиите (RSS 2.0)"
|
206 |
|
207 |
-
#:
|
208 |
#@ yarpp
|
209 |
msgid "Yet Another Related Posts Plugin Options"
|
210 |
msgstr "Yet Another Related Posts Plugin Настройки"
|
211 |
|
212 |
-
#:
|
213 |
#@ yarpp
|
214 |
msgid "Follow <a href=\"http://twitter.com/yarpp/\">Yet Another Related Posts Plugin on Twitter</a>"
|
215 |
msgstr "Следвай <a href=\"http://twitter.com/yarpp/\">Yet Another Related Posts Plugin на Twitter</a>"
|
216 |
|
217 |
-
#:
|
218 |
-
#:
|
219 |
-
#:
|
220 |
-
#:
|
221 |
msgid "Click to toggle"
|
222 |
msgstr "Натисни тук за да покажеш / скриеш опциите"
|
223 |
|
224 |
-
#:
|
225 |
#@ yarpp
|
226 |
msgid "\"The Pool\""
|
227 |
msgstr "\"The Pool\""
|
228 |
|
229 |
-
#:
|
230 |
#@ yarpp
|
231 |
msgid "\"The Pool\" refers to the pool of posts and pages that are candidates for display as related to the current entry."
|
232 |
msgstr "\"The Pool\" се отнася на всичките публикации и страници които са кандидати за показване като сродни постове."
|
233 |
|
234 |
-
#:
|
235 |
#@ yarpp
|
236 |
msgid "Disallow by category:"
|
237 |
msgstr "Забрани по категория:"
|
238 |
|
239 |
-
#:
|
240 |
#@ yarpp
|
241 |
msgid "Disallow by tag:"
|
242 |
msgstr "Забрани по таг:"
|
243 |
|
244 |
-
#:
|
245 |
#@ yarpp
|
246 |
msgid "Show password protected posts?"
|
247 |
msgstr "Покажи публикациите заштитени с парола?"
|
248 |
|
249 |
-
#:
|
250 |
#@ yarpp
|
251 |
msgid "day(s)"
|
252 |
msgstr "ден(дни)"
|
253 |
|
254 |
-
#:
|
255 |
#@ yarpp
|
256 |
msgid "week(s)"
|
257 |
msgstr "седмица(седмици)"
|
258 |
|
259 |
-
#:
|
260 |
#@ yarpp
|
261 |
msgid "month(s)"
|
262 |
msgstr "месец(и)"
|
263 |
|
264 |
-
#:
|
265 |
#@ yarpp
|
266 |
msgid "Show only posts from the past NUMBER UNITS"
|
267 |
msgstr "Покажи публикации само от последните NUMBER UNITS"
|
268 |
|
269 |
-
#:
|
270 |
#@ yarpp
|
271 |
msgid "\"Relatedness\" options"
|
272 |
msgstr "\"Сродност\" настройки"
|
273 |
|
274 |
-
#:
|
275 |
#, php-format
|
276 |
#@ yarpp
|
277 |
msgid "YARPP is different than the <a href=\"http://wasabi.pbwiki.com/Related%20Entries\">previous plugins it is based on</a> as it limits the related posts list by (1) a maximum number and (2) a <em>match threshold</em>."
|
278 |
msgstr "YARPP е различен от <a href=\"http://wasabi.pbwiki.com/Related%20Entries\">предишните разширения на който е заснован</a> по ограничаването на сродните постове по (1) максимален брой (2) a <em>размер на сродност</em>."
|
279 |
|
280 |
-
#:
|
281 |
-
#:
|
282 |
-
#:
|
283 |
-
#:
|
284 |
-
#:
|
285 |
-
#:
|
286 |
-
#:
|
287 |
-
#:
|
288 |
-
#:
|
289 |
#@ yarpp
|
290 |
msgid "more>"
|
291 |
msgstr "повече>"
|
292 |
|
293 |
-
#:
|
294 |
#@ yarpp
|
295 |
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."
|
296 |
msgstr "Колкото е поголям размера на сродност, толкова помалко сродни публикации се намират. Размера на сродност по подразбиране е 5. Ако искате да намерите подходящ размер на сходност погледнете сродните постове и техния резултат. Вижте какви резултати връща и какви публикации се появяват. По този начин ще определите размера на сродност който най-много ве устройва."
|
297 |
|
298 |
-
#:
|
299 |
#@ yarpp
|
300 |
msgid "Match threshold:"
|
301 |
msgstr "Размер на сродност:"
|
302 |
|
303 |
-
#:
|
304 |
#@ yarpp
|
305 |
msgid "Titles: "
|
306 |
msgstr "Заглавия:"
|
307 |
|
308 |
-
#:
|
309 |
#@ yarpp
|
310 |
msgid "Bodies: "
|
311 |
msgstr "Основни текстове:"
|
312 |
|
313 |
-
#:
|
314 |
#@ yarpp
|
315 |
msgid "Tags: "
|
316 |
msgstr "Тагове:"
|
317 |
|
318 |
-
#:
|
319 |
#@ yarpp
|
320 |
msgid "Categories: "
|
321 |
msgstr "Категории:"
|
322 |
|
323 |
-
#:
|
324 |
#@ yarpp
|
325 |
msgid "Cross-relate posts and pages?"
|
326 |
msgstr "Вкръстосана сродност на страници и публикации?"
|
327 |
|
328 |
-
#:
|
329 |
#@ yarpp
|
330 |
msgid "When the \"Cross-relate posts and pages\" option is selected, the <code>related_posts()</code>, <code>related_pages()</code>, and <code>related_entries()</code> all will give the same output, returning both related pages and posts."
|
331 |
msgstr "Когато е избрана опцията \"Вкръстосана сродност на страници и публикации\", <code>related_posts()</code>, <code>related_pages()</code>, и <code>related_entries()</code> ще покажат същия резултат, връщайки сродни страници и публикации."
|
332 |
|
333 |
-
#:
|
334 |
#@ yarpp
|
335 |
msgid "Show only previous posts?"
|
336 |
msgstr "Показвай само предишни публикации?"
|
337 |
|
338 |
-
#:
|
339 |
#@ yarpp
|
340 |
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."
|
341 |
msgstr "Има нова бета (%s) на Yet Another Related Posts Plugin. Можете да я <a href=\"%s\">свалите тук</a> на ваш собствен риск."
|
342 |
|
343 |
-
#:
|
344 |
#@ yarpp
|
345 |
msgid "There is a new version (VERSION) of Yet Another Related Posts Plugin available! You can <A>download it here</a>."
|
346 |
msgstr "Има нова версия (VERSION) на Yet Another Related Posts Plugin! Можете да я <A>свалите тук</a>."
|
347 |
|
348 |
-
#:
|
349 |
#@ yarpp
|
350 |
msgid "Display options <small>for your website</small>"
|
351 |
msgstr "Настройки за показване <small>за уеб сайт</small>"
|
352 |
|
353 |
-
#:
|
354 |
#@ yarpp
|
355 |
msgid "Automatically display related posts?"
|
356 |
msgstr "Автоматично показвай сродни публикации?"
|
357 |
|
358 |
-
#:
|
359 |
#@ yarpp
|
360 |
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."
|
361 |
msgstr "Тази опция автоматично показва сродни публикации след съдържанието на веяка страница. Ако тази опция е изключена, трябва да вмъкнете на ръка <code>related_posts()</code> или варианти (<code>related_pages()</code> и<code>related_entries()</code>) във вашата тема."
|
362 |
|
363 |
-
#:
|
364 |
#@ yarpp
|
365 |
msgid "Website display code example"
|
366 |
msgstr "Примерен код за показване на уеб сайт"
|
367 |
|
368 |
-
#:
|
369 |
-
#:
|
370 |
#@ yarpp
|
371 |
msgid "(Update options to reload.)"
|
372 |
msgstr "(Променете настройките за да презаредите.)"
|
373 |
|
374 |
-
#:
|
375 |
-
#:
|
376 |
#@ yarpp
|
377 |
msgid "Maximum number of related posts:"
|
378 |
msgstr "Най-много сродни публикации:"
|
379 |
|
380 |
#: includes.php:270
|
381 |
-
#:
|
382 |
-
#:
|
383 |
#@ yarpp
|
384 |
msgid "Display using a custom template file"
|
385 |
msgstr "Покажи със собствен шаблон"
|
386 |
|
387 |
-
#:
|
388 |
#@ yarpp
|
389 |
msgid "NEW!"
|
390 |
msgstr "НОВО!"
|
391 |
|
392 |
-
#:
|
393 |
-
#:
|
394 |
#@ yarpp
|
395 |
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."
|
396 |
msgstr "Тази опция за напреднали ви позволява пълен контрол върху това как сродни постове се показват. Шаблоните (които се съхраняват в папката с темите) са написани на PHP."
|
397 |
|
398 |
#: includes.php:271
|
399 |
-
#:
|
400 |
-
#:
|
401 |
#@ yarpp
|
402 |
msgid "Template file:"
|
403 |
msgstr "Шаблон:"
|
404 |
|
405 |
-
#:
|
406 |
#@ yarpp
|
407 |
msgid "Before / after related entries:"
|
408 |
msgstr "Преди / След сродни публикации:"
|
409 |
|
410 |
-
#:
|
411 |
-
#:
|
412 |
-
#:
|
413 |
-
#:
|
414 |
-
#:
|
415 |
-
#:
|
416 |
#@ yarpp
|
417 |
msgid "For example:"
|
418 |
msgstr "Пример:"
|
419 |
|
420 |
-
#:
|
421 |
-
#:
|
422 |
-
#:
|
423 |
-
#:
|
424 |
-
#:
|
425 |
-
#:
|
426 |
#@ yarpp
|
427 |
msgid " or "
|
428 |
msgstr "или"
|
429 |
|
430 |
-
#:
|
431 |
-
#:
|
432 |
#@ yarpp
|
433 |
msgid "Before / after each related entry:"
|
434 |
msgstr "Преди / След всяка сродна публикация:"
|
435 |
|
436 |
-
#:
|
437 |
-
#:
|
438 |
#@ yarpp
|
439 |
msgid "Show excerpt?"
|
440 |
msgstr "Покажи откъс?"
|
441 |
|
442 |
-
#:
|
443 |
-
#:
|
444 |
#@ yarpp
|
445 |
msgid "Excerpt length (No. of words):"
|
446 |
msgstr "Дължина на откъсът (брой на думи):"
|
447 |
|
448 |
-
#:
|
449 |
#@ yarpp
|
450 |
msgid "Before / after (Excerpt):"
|
451 |
msgstr "Преди / След (Откъс):"
|
452 |
|
453 |
-
#:
|
454 |
-
#:
|
455 |
#@ yarpp
|
456 |
msgid "Order results:"
|
457 |
msgstr "Подреди резултатите:"
|
458 |
|
459 |
-
#:
|
460 |
-
#:
|
461 |
#@ yarpp
|
462 |
msgid "score (high relevance to low)"
|
463 |
msgstr "резултат (висок към нисък)"
|
464 |
|
465 |
-
#:
|
466 |
-
#:
|
467 |
#@ yarpp
|
468 |
msgid "score (low relevance to high)"
|
469 |
msgstr "резултат (нисък към висок)"
|
470 |
|
471 |
-
#:
|
472 |
-
#:
|
473 |
#@ yarpp
|
474 |
msgid "date (new to old)"
|
475 |
msgstr "дата (нова към стара)"
|
476 |
|
477 |
-
#:
|
478 |
-
#:
|
479 |
#@ yarpp
|
480 |
msgid "date (old to new)"
|
481 |
msgstr "дата (стара към нова)"
|
482 |
|
483 |
-
#:
|
484 |
-
#:
|
485 |
#@ yarpp
|
486 |
msgid "title (alphabetical)"
|
487 |
msgstr "заглавие (по азбучен ред)"
|
488 |
|
489 |
-
#:
|
490 |
-
#:
|
491 |
#@ yarpp
|
492 |
msgid "title (reverse alphabetical)"
|
493 |
msgstr "заглавие (по обратен азбучен ред)"
|
494 |
|
495 |
-
#:
|
496 |
-
#:
|
497 |
#@ yarpp
|
498 |
msgid "Default display if no results:"
|
499 |
msgstr "Показване по подразбиране когато няма резултати:"
|
500 |
|
501 |
-
#:
|
502 |
-
#:
|
503 |
#, php-format
|
504 |
#@ yarpp
|
505 |
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."
|
506 |
msgstr "Тази опция ще добави кода %s. Опитайте да я включите, променяйки настройките, и ще видите примерния кода от дясно. Тези връзки и донации ще бъдат оценени."
|
507 |
|
508 |
-
#:
|
509 |
#@ yarpp
|
510 |
msgid "Display options <small>for RSS</small>"
|
511 |
msgstr "Настройки за показване <small>за RSS</small>"
|
512 |
|
513 |
-
#:
|
514 |
#@ yarpp
|
515 |
msgid "Display related posts in feeds?"
|
516 |
msgstr "Показвай сродни публикации в RSS хранилката?"
|
517 |
|
518 |
-
#:
|
519 |
#@ yarpp
|
520 |
msgid "This option displays related posts at the end of each item in your RSS and Atom feeds. No template changes are needed."
|
521 |
msgstr "Тази опция показва сродни публикации на крайа на всяка публикация във вашият RSS и Atom. Не е нужно да променяте шаблоните."
|
522 |
|
523 |
-
#:
|
524 |
#@ yarpp
|
525 |
msgid "Display related posts in the descriptions?"
|
526 |
msgstr "Покажи сродни публикации в описанията?"
|
527 |
|
528 |
-
#:
|
529 |
#@ yarpp
|
530 |
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."
|
531 |
msgstr "Тази опция показва сродните публикации в полете за описание на RSS, не само в съдържанието. Ако вашите хранилища показват само откъси, само полето за описание се използва, така че тази опция е необходима за каквото и да е показване."
|
532 |
|
533 |
-
#:
|
534 |
#@ yarpp
|
535 |
msgid "RSS display code example"
|
536 |
msgstr "Примерен код за показване в RSS "
|
537 |
|
538 |
-
#:
|
539 |
#@ yarpp
|
540 |
msgid "Before / after related entries display:"
|
541 |
msgstr "Преди / След сродните публикации показвай:"
|
542 |
|
543 |
-
#:
|
544 |
#@ yarpp
|
545 |
msgid "Before / after (excerpt):"
|
546 |
msgstr "Преди / След (откъс):"
|
547 |
|
548 |
-
#:
|
549 |
#@ yarpp
|
550 |
msgid "Update options"
|
551 |
msgstr "Промени настройките"
|
552 |
|
553 |
-
#:
|
554 |
#@ yarpp
|
555 |
msgid "Do you really want to reset your configuration?"
|
556 |
msgstr "Наистина ли искате да върнете настройките към тези по-подразбиране?"
|
557 |
|
558 |
-
#:
|
559 |
#@ yarpp
|
560 |
msgid "Reset options"
|
561 |
msgstr "Върни настройките към тези по-подразбиране"
|
70 |
msgstr "Заглавие:"
|
71 |
|
72 |
#: includes.php:279
|
73 |
+
#: yarpp_options.php:460
|
74 |
+
#: yarpp_options.php:529
|
75 |
#@ yarpp
|
76 |
msgid "Help promote Yet Another Related Posts Plugin?"
|
77 |
msgstr "Помогнете в популяризирането на Yet Another Related Posts Plugin?"
|
87 |
msgstr "Примерна публикация"
|
88 |
|
89 |
#: magic.php:351
|
90 |
+
#: yarpp_options.php:462
|
91 |
+
#: yarpp_options.php:530
|
92 |
#@ yarpp
|
93 |
msgid "Related posts brought to you by <a href='%s'>Yet Another Related Posts Plugin</a>."
|
94 |
msgstr "Сродни публикации с помоща на <a href='%s'>Yet Another Related Posts Plugin</a>."
|
95 |
|
96 |
+
#: yarpp_options.php:10
|
97 |
#@ yarpp
|
98 |
msgid "Please move the YARPP template files into your theme to complete installation. Simply move the sample template files (currently in <code>wp-content/plugins/yet-another-related-posts-plugin/yarpp-templates/</code>) to the <code>TEMPLATEPATH</code> directory."
|
99 |
msgstr "Моля, преместете шаблоните на YARPP във вашата тема за да приключите с инсталирането. Просто преместете примерните шаблони (в момента се намират в <code>wp-content/plugins/yet-another-related-posts-plugin/yarpp-templates/</code>) в папката <code>TEMPLATEPATH</code>."
|
100 |
|
101 |
+
#: yarpp_options.php:15
|
102 |
#@ yarpp
|
103 |
msgid "No YARPP template files were found in your theme (<code>TEMPLATEPATH</code>) so the templating feature has been turned off."
|
104 |
msgstr "Не бяха намерени YARPP шаблони във вашата тема (<code>TEMPLATEPATH</code>) , следнователно възможноста за шаблони беше изключена."
|
105 |
|
106 |
+
#: yarpp_options.php:26
|
107 |
#@ yarpp
|
108 |
msgid "The MyISAM check has been overridden. You may now use the \"consider titles\" and \"consider bodies\" relatedness criteria."
|
109 |
msgstr "Проверката за MyISAM е отменена. Сега може да използвате \"вземи в предвид заглавията\" и \"вземи в предвид основния текс\" критериите за сродност."
|
110 |
|
111 |
+
#: yarpp_options.php:35
|
112 |
#, php-format
|
113 |
#@ yarpp
|
114 |
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."
|
115 |
msgstr "Критериите за сродност на YARPP \"вземи в предвид заглавията\" и \"вземи в предвид основния текст\" изискват таблицата <code>%s</code> да използва <a href='http://dev.mysql.com/doc/refman/5.0/en/storage-engines.html'>MyISAM storage engine</a>, обаче таблицата използва <code>%s</code> engine. Тези две опции са изключени."
|
116 |
|
117 |
+
#: yarpp_options.php:37
|
118 |
#, php-format
|
119 |
#@ yarpp
|
120 |
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."
|
121 |
msgstr "За да възтановите тези опции, моля променете таблицата <code>%s</code> с изпълняването на тези SQL заявки: <code>ALTER TABLE `%s` ENGINE = MyISAM;</code> . Данните ви няма да бъдат изтрити от таблицата, въпреки че изпълнението на заявките може да се отрази на производителноста."
|
122 |
|
123 |
+
#: yarpp_options.php:39
|
124 |
#, php-format
|
125 |
#@ yarpp
|
126 |
msgid "If, despite this check, you are sure that <code>%s</code> is using the MyISAM engine, press this magic button:"
|
127 |
msgstr "Ако въпреки тази проверка сте сигурни че <code>%s</code> ползва MyISAM engine, натиснете този магически бутон:"
|
128 |
|
129 |
+
#: yarpp_options.php:42
|
130 |
#@ yarpp
|
131 |
msgid "Trust me. Let me use MyISAM features."
|
132 |
msgstr "Довери ми се, позволи ми да ползвам MyISAM."
|
133 |
|
134 |
+
#: yarpp_options.php:65
|
135 |
#@ yarpp
|
136 |
msgid "The YARPP database had an error but has been fixed."
|
137 |
msgstr "Базата от данни на YARPP имаше грешка, но сега е оправена!"
|
138 |
|
139 |
+
#: yarpp_options.php:67
|
140 |
#@ yarpp
|
141 |
msgid "The YARPP database has an error which could not be fixed."
|
142 |
msgstr "Базата от данни на YARPP има грешка която не може да бъде оправена."
|
143 |
|
144 |
+
#: yarpp_options.php:68
|
145 |
#@ yarpp
|
146 |
msgid "Please try <A>manual SQL setup</a>."
|
147 |
msgstr "Моля, опитайте <A>ръчни SQL настройки</a>."
|
148 |
|
149 |
+
#: yarpp_options.php:99
|
150 |
#@ yarpp
|
151 |
msgid "Options saved!"
|
152 |
msgstr "Настройките са запазени успешно!"
|
153 |
|
154 |
+
#: yarpp_options.php:135
|
155 |
#@ yarpp
|
156 |
msgid "word"
|
157 |
msgstr "дума"
|
158 |
|
159 |
+
#: yarpp_options.php:136
|
160 |
#@ yarpp
|
161 |
msgid "tag"
|
162 |
msgstr "таг"
|
163 |
|
164 |
+
#: yarpp_options.php:137
|
165 |
#@ yarpp
|
166 |
msgid "category"
|
167 |
msgstr "категория"
|
168 |
|
169 |
+
#: yarpp_options.php:141
|
170 |
+
#: yarpp_options.php:158
|
171 |
+
#: yarpp_options.php:170
|
172 |
#@ yarpp
|
173 |
msgid "do not consider"
|
174 |
msgstr "не взимай в предивид"
|
175 |
|
176 |
+
#: yarpp_options.php:142
|
177 |
+
#: yarpp_options.php:159
|
178 |
+
#: yarpp_options.php:172
|
179 |
#@ yarpp
|
180 |
msgid "consider"
|
181 |
msgstr "вземи в предивид"
|
182 |
|
183 |
+
#: yarpp_options.php:144
|
184 |
+
#: yarpp_options.php:174
|
185 |
#, php-format
|
186 |
#@ yarpp
|
187 |
msgid "require at least one %s in common"
|
188 |
msgstr "изисквай поне един общ %s "
|
189 |
|
190 |
+
#: yarpp_options.php:146
|
191 |
+
#: yarpp_options.php:176
|
192 |
#, php-format
|
193 |
#@ yarpp
|
194 |
msgid "require more than one %s in common"
|
195 |
msgstr "изисквай повече от един общ %s"
|
196 |
|
197 |
+
#: yarpp_options.php:160
|
198 |
#@ yarpp
|
199 |
msgid "consider with extra weight"
|
200 |
msgstr "вземи в предивид с по-голяма тежест"
|
201 |
|
202 |
+
#: yarpp_options.php:188
|
203 |
#@ yarpp
|
204 |
msgid "Yet Another Related Posts Plugin version history (RSS 2.0)"
|
205 |
msgstr "Yet Another Related Posts Plugin история на версиите (RSS 2.0)"
|
206 |
|
207 |
+
#: yarpp_options.php:242
|
208 |
#@ yarpp
|
209 |
msgid "Yet Another Related Posts Plugin Options"
|
210 |
msgstr "Yet Another Related Posts Plugin Настройки"
|
211 |
|
212 |
+
#: yarpp_options.php:255
|
213 |
#@ yarpp
|
214 |
msgid "Follow <a href=\"http://twitter.com/yarpp/\">Yet Another Related Posts Plugin on Twitter</a>"
|
215 |
msgstr "Следвай <a href=\"http://twitter.com/yarpp/\">Yet Another Related Posts Plugin на Twitter</a>"
|
216 |
|
217 |
+
#: yarpp_options.php:271
|
218 |
+
#: yarpp_options.php:304
|
219 |
+
#: yarpp_options.php:401
|
220 |
+
#: yarpp_options.php:469
|
221 |
msgid "Click to toggle"
|
222 |
msgstr "Натисни тук за да покажеш / скриеш опциите"
|
223 |
|
224 |
+
#: yarpp_options.php:274
|
225 |
#@ yarpp
|
226 |
msgid "\"The Pool\""
|
227 |
msgstr "\"The Pool\""
|
228 |
|
229 |
+
#: yarpp_options.php:276
|
230 |
#@ yarpp
|
231 |
msgid "\"The Pool\" refers to the pool of posts and pages that are candidates for display as related to the current entry."
|
232 |
msgstr "\"The Pool\" се отнася на всичките публикации и страници които са кандидати за показване като сродни постове."
|
233 |
|
234 |
+
#: yarpp_options.php:281
|
235 |
#@ yarpp
|
236 |
msgid "Disallow by category:"
|
237 |
msgstr "Забрани по категория:"
|
238 |
|
239 |
+
#: yarpp_options.php:283
|
240 |
#@ yarpp
|
241 |
msgid "Disallow by tag:"
|
242 |
msgstr "Забрани по таг:"
|
243 |
|
244 |
+
#: yarpp_options.php:286
|
245 |
#@ yarpp
|
246 |
msgid "Show password protected posts?"
|
247 |
msgstr "Покажи публикациите заштитени с парола?"
|
248 |
|
249 |
+
#: yarpp_options.php:290
|
250 |
#@ yarpp
|
251 |
msgid "day(s)"
|
252 |
msgstr "ден(дни)"
|
253 |
|
254 |
+
#: yarpp_options.php:291
|
255 |
#@ yarpp
|
256 |
msgid "week(s)"
|
257 |
msgstr "седмица(седмици)"
|
258 |
|
259 |
+
#: yarpp_options.php:292
|
260 |
#@ yarpp
|
261 |
msgid "month(s)"
|
262 |
msgstr "месец(и)"
|
263 |
|
264 |
+
#: yarpp_options.php:294
|
265 |
#@ yarpp
|
266 |
msgid "Show only posts from the past NUMBER UNITS"
|
267 |
msgstr "Покажи публикации само от последните NUMBER UNITS"
|
268 |
|
269 |
+
#: yarpp_options.php:307
|
270 |
#@ yarpp
|
271 |
msgid "\"Relatedness\" options"
|
272 |
msgstr "\"Сродност\" настройки"
|
273 |
|
274 |
+
#: yarpp_options.php:310
|
275 |
#, php-format
|
276 |
#@ yarpp
|
277 |
msgid "YARPP is different than the <a href=\"http://wasabi.pbwiki.com/Related%20Entries\">previous plugins it is based on</a> as it limits the related posts list by (1) a maximum number and (2) a <em>match threshold</em>."
|
278 |
msgstr "YARPP е различен от <a href=\"http://wasabi.pbwiki.com/Related%20Entries\">предишните разширения на който е заснован</a> по ограничаването на сродните постове по (1) максимален брой (2) a <em>размер на сродност</em>."
|
279 |
|
280 |
+
#: yarpp_options.php:310
|
281 |
+
#: yarpp_options.php:325
|
282 |
+
#: yarpp_options.php:409
|
283 |
+
#: yarpp_options.php:414
|
284 |
+
#: yarpp_options.php:461
|
285 |
+
#: yarpp_options.php:478
|
286 |
+
#: yarpp_options.php:479
|
287 |
+
#: yarpp_options.php:483
|
288 |
+
#: yarpp_options.php:529
|
289 |
#@ yarpp
|
290 |
msgid "more>"
|
291 |
msgstr "повече>"
|
292 |
|
293 |
+
#: yarpp_options.php:310
|
294 |
#@ yarpp
|
295 |
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."
|
296 |
msgstr "Колкото е поголям размера на сродност, толкова помалко сродни публикации се намират. Размера на сродност по подразбиране е 5. Ако искате да намерите подходящ размер на сходност погледнете сродните постове и техния резултат. Вижте какви резултати връща и какви публикации се появяват. По този начин ще определите размера на сродност който най-много ве устройва."
|
297 |
|
298 |
+
#: yarpp_options.php:316
|
299 |
#@ yarpp
|
300 |
msgid "Match threshold:"
|
301 |
msgstr "Размер на сродност:"
|
302 |
|
303 |
+
#: yarpp_options.php:317
|
304 |
#@ yarpp
|
305 |
msgid "Titles: "
|
306 |
msgstr "Заглавия:"
|
307 |
|
308 |
+
#: yarpp_options.php:319
|
309 |
#@ yarpp
|
310 |
msgid "Bodies: "
|
311 |
msgstr "Основни текстове:"
|
312 |
|
313 |
+
#: yarpp_options.php:321
|
314 |
#@ yarpp
|
315 |
msgid "Tags: "
|
316 |
msgstr "Тагове:"
|
317 |
|
318 |
+
#: yarpp_options.php:323
|
319 |
#@ yarpp
|
320 |
msgid "Categories: "
|
321 |
msgstr "Категории:"
|
322 |
|
323 |
+
#: yarpp_options.php:325
|
324 |
#@ yarpp
|
325 |
msgid "Cross-relate posts and pages?"
|
326 |
msgstr "Вкръстосана сродност на страници и публикации?"
|
327 |
|
328 |
+
#: yarpp_options.php:325
|
329 |
#@ yarpp
|
330 |
msgid "When the \"Cross-relate posts and pages\" option is selected, the <code>related_posts()</code>, <code>related_pages()</code>, and <code>related_entries()</code> all will give the same output, returning both related pages and posts."
|
331 |
msgstr "Когато е избрана опцията \"Вкръстосана сродност на страници и публикации\", <code>related_posts()</code>, <code>related_pages()</code>, и <code>related_entries()</code> ще покажат същия резултат, връщайки сродни страници и публикации."
|
332 |
|
333 |
+
#: yarpp_options.php:326
|
334 |
#@ yarpp
|
335 |
msgid "Show only previous posts?"
|
336 |
msgstr "Показвай само предишни публикации?"
|
337 |
|
338 |
+
#: yarpp_options.php:388
|
339 |
#@ yarpp
|
340 |
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."
|
341 |
msgstr "Има нова бета (%s) на Yet Another Related Posts Plugin. Можете да я <a href=\"%s\">свалите тук</a> на ваш собствен риск."
|
342 |
|
343 |
+
#: yarpp_options.php:390
|
344 |
#@ yarpp
|
345 |
msgid "There is a new version (VERSION) of Yet Another Related Posts Plugin available! You can <A>download it here</a>."
|
346 |
msgstr "Има нова версия (VERSION) на Yet Another Related Posts Plugin! Можете да я <A>свалите тук</a>."
|
347 |
|
348 |
+
#: yarpp_options.php:404
|
349 |
#@ yarpp
|
350 |
msgid "Display options <small>for your website</small>"
|
351 |
msgstr "Настройки за показване <small>за уеб сайт</small>"
|
352 |
|
353 |
+
#: yarpp_options.php:409
|
354 |
#@ yarpp
|
355 |
msgid "Automatically display related posts?"
|
356 |
msgstr "Автоматично показвай сродни публикации?"
|
357 |
|
358 |
+
#: yarpp_options.php:409
|
359 |
#@ yarpp
|
360 |
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."
|
361 |
msgstr "Тази опция автоматично показва сродни публикации след съдържанието на веяка страница. Ако тази опция е изключена, трябва да вмъкнете на ръка <code>related_posts()</code> или варианти (<code>related_pages()</code> и<code>related_entries()</code>) във вашата тема."
|
362 |
|
363 |
+
#: yarpp_options.php:410
|
364 |
#@ yarpp
|
365 |
msgid "Website display code example"
|
366 |
msgstr "Примерен код за показване на уеб сайт"
|
367 |
|
368 |
+
#: yarpp_options.php:410
|
369 |
+
#: yarpp_options.php:480
|
370 |
#@ yarpp
|
371 |
msgid "(Update options to reload.)"
|
372 |
msgstr "(Променете настройките за да презаредите.)"
|
373 |
|
374 |
+
#: yarpp_options.php:413
|
375 |
+
#: yarpp_options.php:482
|
376 |
#@ yarpp
|
377 |
msgid "Maximum number of related posts:"
|
378 |
msgstr "Най-много сродни публикации:"
|
379 |
|
380 |
#: includes.php:270
|
381 |
+
#: yarpp_options.php:414
|
382 |
+
#: yarpp_options.php:483
|
383 |
#@ yarpp
|
384 |
msgid "Display using a custom template file"
|
385 |
msgstr "Покажи със собствен шаблон"
|
386 |
|
387 |
+
#: yarpp_options.php:483
|
388 |
#@ yarpp
|
389 |
msgid "NEW!"
|
390 |
msgstr "НОВО!"
|
391 |
|
392 |
+
#: yarpp_options.php:414
|
393 |
+
#: yarpp_options.php:483
|
394 |
#@ yarpp
|
395 |
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."
|
396 |
msgstr "Тази опция за напреднали ви позволява пълен контрол върху това как сродни постове се показват. Шаблоните (които се съхраняват в папката с темите) са написани на PHP."
|
397 |
|
398 |
#: includes.php:271
|
399 |
+
#: yarpp_options.php:416
|
400 |
+
#: yarpp_options.php:485
|
401 |
#@ yarpp
|
402 |
msgid "Template file:"
|
403 |
msgstr "Шаблон:"
|
404 |
|
405 |
+
#: yarpp_options.php:426
|
406 |
#@ yarpp
|
407 |
msgid "Before / after related entries:"
|
408 |
msgstr "Преди / След сродни публикации:"
|
409 |
|
410 |
+
#: yarpp_options.php:427
|
411 |
+
#: yarpp_options.php:432
|
412 |
+
#: yarpp_options.php:441
|
413 |
+
#: yarpp_options.php:496
|
414 |
+
#: yarpp_options.php:501
|
415 |
+
#: yarpp_options.php:510
|
416 |
#@ yarpp
|
417 |
msgid "For example:"
|
418 |
msgstr "Пример:"
|
419 |
|
420 |
+
#: yarpp_options.php:427
|
421 |
+
#: yarpp_options.php:432
|
422 |
+
#: yarpp_options.php:441
|
423 |
+
#: yarpp_options.php:496
|
424 |
+
#: yarpp_options.php:501
|
425 |
+
#: yarpp_options.php:510
|
426 |
#@ yarpp
|
427 |
msgid " or "
|
428 |
msgstr "или"
|
429 |
|
430 |
+
#: yarpp_options.php:431
|
431 |
+
#: yarpp_options.php:500
|
432 |
#@ yarpp
|
433 |
msgid "Before / after each related entry:"
|
434 |
msgstr "Преди / След всяка сродна публикация:"
|
435 |
|
436 |
+
#: yarpp_options.php:435
|
437 |
+
#: yarpp_options.php:504
|
438 |
#@ yarpp
|
439 |
msgid "Show excerpt?"
|
440 |
msgstr "Покажи откъс?"
|
441 |
|
442 |
+
#: yarpp_options.php:436
|
443 |
+
#: yarpp_options.php:505
|
444 |
#@ yarpp
|
445 |
msgid "Excerpt length (No. of words):"
|
446 |
msgstr "Дължина на откъсът (брой на думи):"
|
447 |
|
448 |
+
#: yarpp_options.php:440
|
449 |
#@ yarpp
|
450 |
msgid "Before / after (Excerpt):"
|
451 |
msgstr "Преди / След (Откъс):"
|
452 |
|
453 |
+
#: yarpp_options.php:446
|
454 |
+
#: yarpp_options.php:515
|
455 |
#@ yarpp
|
456 |
msgid "Order results:"
|
457 |
msgstr "Подреди резултатите:"
|
458 |
|
459 |
+
#: yarpp_options.php:448
|
460 |
+
#: yarpp_options.php:517
|
461 |
#@ yarpp
|
462 |
msgid "score (high relevance to low)"
|
463 |
msgstr "резултат (висок към нисък)"
|
464 |
|
465 |
+
#: yarpp_options.php:449
|
466 |
+
#: yarpp_options.php:518
|
467 |
#@ yarpp
|
468 |
msgid "score (low relevance to high)"
|
469 |
msgstr "резултат (нисък към висок)"
|
470 |
|
471 |
+
#: yarpp_options.php:450
|
472 |
+
#: yarpp_options.php:519
|
473 |
#@ yarpp
|
474 |
msgid "date (new to old)"
|
475 |
msgstr "дата (нова към стара)"
|
476 |
|
477 |
+
#: yarpp_options.php:451
|
478 |
+
#: yarpp_options.php:520
|
479 |
#@ yarpp
|
480 |
msgid "date (old to new)"
|
481 |
msgstr "дата (стара към нова)"
|
482 |
|
483 |
+
#: yarpp_options.php:452
|
484 |
+
#: yarpp_options.php:521
|
485 |
#@ yarpp
|
486 |
msgid "title (alphabetical)"
|
487 |
msgstr "заглавие (по азбучен ред)"
|
488 |
|
489 |
+
#: yarpp_options.php:453
|
490 |
+
#: yarpp_options.php:522
|
491 |
#@ yarpp
|
492 |
msgid "title (reverse alphabetical)"
|
493 |
msgstr "заглавие (по обратен азбучен ред)"
|
494 |
|
495 |
+
#: yarpp_options.php:458
|
496 |
+
#: yarpp_options.php:527
|
497 |
#@ yarpp
|
498 |
msgid "Default display if no results:"
|
499 |
msgstr "Показване по подразбиране когато няма резултати:"
|
500 |
|
501 |
+
#: yarpp_options.php:462
|
502 |
+
#: yarpp_options.php:530
|
503 |
#, php-format
|
504 |
#@ yarpp
|
505 |
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."
|
506 |
msgstr "Тази опция ще добави кода %s. Опитайте да я включите, променяйки настройките, и ще видите примерния кода от дясно. Тези връзки и донации ще бъдат оценени."
|
507 |
|
508 |
+
#: yarpp_options.php:472
|
509 |
#@ yarpp
|
510 |
msgid "Display options <small>for RSS</small>"
|
511 |
msgstr "Настройки за показване <small>за RSS</small>"
|
512 |
|
513 |
+
#: yarpp_options.php:478
|
514 |
#@ yarpp
|
515 |
msgid "Display related posts in feeds?"
|
516 |
msgstr "Показвай сродни публикации в RSS хранилката?"
|
517 |
|
518 |
+
#: yarpp_options.php:478
|
519 |
#@ yarpp
|
520 |
msgid "This option displays related posts at the end of each item in your RSS and Atom feeds. No template changes are needed."
|
521 |
msgstr "Тази опция показва сродни публикации на крайа на всяка публикация във вашият RSS и Atom. Не е нужно да променяте шаблоните."
|
522 |
|
523 |
+
#: yarpp_options.php:479
|
524 |
#@ yarpp
|
525 |
msgid "Display related posts in the descriptions?"
|
526 |
msgstr "Покажи сродни публикации в описанията?"
|
527 |
|
528 |
+
#: yarpp_options.php:479
|
529 |
#@ yarpp
|
530 |
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."
|
531 |
msgstr "Тази опция показва сродните публикации в полете за описание на RSS, не само в съдържанието. Ако вашите хранилища показват само откъси, само полето за описание се използва, така че тази опция е необходима за каквото и да е показване."
|
532 |
|
533 |
+
#: yarpp_options.php:480
|
534 |
#@ yarpp
|
535 |
msgid "RSS display code example"
|
536 |
msgstr "Примерен код за показване в RSS "
|
537 |
|
538 |
+
#: yarpp_options.php:495
|
539 |
#@ yarpp
|
540 |
msgid "Before / after related entries display:"
|
541 |
msgstr "Преди / След сродните публикации показвай:"
|
542 |
|
543 |
+
#: yarpp_options.php:509
|
544 |
#@ yarpp
|
545 |
msgid "Before / after (excerpt):"
|
546 |
msgstr "Преди / След (откъс):"
|
547 |
|
548 |
+
#: yarpp_options.php:538
|
549 |
#@ yarpp
|
550 |
msgid "Update options"
|
551 |
msgstr "Промени настройките"
|
552 |
|
553 |
+
#: yarpp_options.php:539
|
554 |
#@ yarpp
|
555 |
msgid "Do you really want to reset your configuration?"
|
556 |
msgstr "Наистина ли искате да върнете настройките към тези по-подразбиране?"
|
557 |
|
558 |
+
#: yarpp_options.php:539
|
559 |
#@ yarpp
|
560 |
msgid "Reset options"
|
561 |
msgstr "Върни настройките към тези по-подразбиране"
|
lang/yarpp-by_BY.po
CHANGED
@@ -45,40 +45,40 @@ msgstr "%f - гэта каэфіцыент \"падобнасці\" паста
|
|
45 |
msgid "Related posts brought to you by <a href='%s'>Yet Another Related Posts Plugin</a>."
|
46 |
msgstr "Спіс падобных пастоў прадстаўлены вам убудовай <a href='%s'>YARPP</a>."
|
47 |
|
48 |
-
#:
|
49 |
#@ yarpp
|
50 |
msgid "The MyISAM check has been overridden. You may now use the \"consider titles\" and \"consider bodies\" relatedness criteria."
|
51 |
msgstr "Праверка MyISAM была выкананая. Зараз вы можаце выкарыстаць крытэры падобнасці Разглядаць загалоўкі і Разглядаць тэкст."
|
52 |
|
53 |
-
#:
|
54 |
#, php-format
|
55 |
#@ yarpp
|
56 |
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."
|
57 |
msgstr "Выкарыстанне опцый YARPP Разглядаць загалоўкі і Разглядаць тэкст патрабуе, каб ваша табліца <code>%s</code> выкарыстала рухавічок <a href='http://dev.mysql.com/doc/refman/5.0/en/storage-engines.html'>MyISAM</a>, але табліца мабыць выкарыстае рухавічок <code>%s</code>. Гэтыя дзве опцыі адключаныя."
|
58 |
|
59 |
-
#:
|
60 |
#, fuzzy, php-format, php-format
|
61 |
#@ yarpp
|
62 |
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."
|
63 |
msgstr "Для аднаўлення гэтых опцый, калі ласка, зменіце вашу табліцу <code>%s</code>наступнай SQL інструкцыяй e : <code>ALTER TABLE `%s` ENGINE = MyISAM;</code><br />Пры змене табліцы дадзеныя не павінны прорва, аднак магчымыя наступствы."
|
64 |
|
65 |
-
#:
|
66 |
#, php-format
|
67 |
#@ yarpp
|
68 |
msgid "If, despite this check, you are sure that <code>%s</code> is using the MyISAM engine, press this magic button:"
|
69 |
msgstr "Калі, незалежна ад гэтай опцыі, вы ўпэўненыя што табліца <code>%s</code> выкарыстае MyISAM, націсніце на гэтую чароўную кнопку :"
|
70 |
|
71 |
-
#:
|
72 |
#@ yarpp
|
73 |
msgid "Trust me. Let me use MyISAM features."
|
74 |
msgstr "Паверце мне. Дазвольце мне выкарыстаць MyISAM."
|
75 |
|
76 |
-
#:
|
77 |
#@ yarpp
|
78 |
msgid "The YARPP database had an error but has been fixed."
|
79 |
msgstr "База дадзеных YARPP утрымоўвала памылкі, але яны былі выпраўленыя."
|
80 |
|
81 |
-
#:
|
82 |
#@ yarpp
|
83 |
msgid "The YARPP database has an error which could not be fixed."
|
84 |
msgstr "База дадзеных YARPP утрымоўвае памылку, якая не можа быць выпраўленая."
|
@@ -102,7 +102,7 @@ msgstr "разглядаць"
|
|
102 |
msgid "consider with extra weight"
|
103 |
msgstr "разглядаць з дадатковай вагай"
|
104 |
|
105 |
-
#:
|
106 |
#@ yarpp
|
107 |
msgid "Yet Another Related Posts Plugin Options"
|
108 |
msgstr "Опцыі YARPP"
|
@@ -382,7 +382,7 @@ msgstr "хоць бы адзін \"%s\" павінен быць агульны
|
|
382 |
msgid "require more than one %s in common"
|
383 |
msgstr "больш аднаго \"%s\" павінна быць агульным"
|
384 |
|
385 |
-
#:
|
386 |
#@ yarpp
|
387 |
msgid "Options saved!"
|
388 |
msgstr "Налады захаваныя!"
|
@@ -392,17 +392,17 @@ msgstr "Налады захаваныя!"
|
|
392 |
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."
|
393 |
msgstr "Чым вышэй парог падобнасці, тым стражэй выбарка, і тым менш атрымаеце запісаў на выхадзе. Па-змаўчанню парог роўны 5. Калі жадаеце знайсці приемлимые парогавыя значэнні, паэксперыментуйце з некалькімі паведамленнямі. Вы зможаце ўбачыць, якія паведамленні выходзяць наверх і якія ў іх значэння падабенства, па якіх можна вызначыць приемлимый узровень для вашага сайта."
|
394 |
|
395 |
-
#:
|
396 |
#@ yarpp
|
397 |
msgid "Update options"
|
398 |
msgstr "Змяніць налады"
|
399 |
|
400 |
-
#:
|
401 |
#@ yarpp
|
402 |
msgid "Do you really want to reset your configuration?"
|
403 |
msgstr "Вы сапраўды жадаеце скінуць вашы налады?"
|
404 |
|
405 |
-
#:
|
406 |
#@ yarpp
|
407 |
msgid "Reset options"
|
408 |
msgstr "Скінуць налады"
|
@@ -433,7 +433,7 @@ msgstr "гадоў"
|
|
433 |
msgid "Show only posts from the past NUMBER UNITS"
|
434 |
msgstr "Паказваць толькі пасты за апошнія NUMBER UNITS"
|
435 |
|
436 |
-
#:
|
437 |
#, php-format
|
438 |
#@ yarpp
|
439 |
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."
|
@@ -543,19 +543,19 @@ msgstr ""
|
|
543 |
msgid "Contact YARPP"
|
544 |
msgstr ""
|
545 |
|
546 |
-
#:
|
547 |
#, php-format
|
548 |
#@ default
|
549 |
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>."
|
550 |
msgstr ""
|
551 |
|
552 |
-
#:
|
553 |
#, php-format
|
554 |
#@ yarpp
|
555 |
msgid "Please try <a href=\"%s\" target=\"_blank\">manual SQL setup</a>."
|
556 |
msgstr ""
|
557 |
|
558 |
-
#:
|
559 |
#, php-format
|
560 |
#@ yarpp
|
561 |
msgid "by <a href=\"%s\" target=\"_blank\">mitcho (Michael 芳貴 Erlewine)</a>"
|
45 |
msgid "Related posts brought to you by <a href='%s'>Yet Another Related Posts Plugin</a>."
|
46 |
msgstr "Спіс падобных пастоў прадстаўлены вам убудовай <a href='%s'>YARPP</a>."
|
47 |
|
48 |
+
#: yarpp_options.php:54
|
49 |
#@ yarpp
|
50 |
msgid "The MyISAM check has been overridden. You may now use the \"consider titles\" and \"consider bodies\" relatedness criteria."
|
51 |
msgstr "Праверка MyISAM была выкананая. Зараз вы можаце выкарыстаць крытэры падобнасці Разглядаць загалоўкі і Разглядаць тэкст."
|
52 |
|
53 |
+
#: yarpp_options.php:63
|
54 |
#, php-format
|
55 |
#@ yarpp
|
56 |
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."
|
57 |
msgstr "Выкарыстанне опцый YARPP Разглядаць загалоўкі і Разглядаць тэкст патрабуе, каб ваша табліца <code>%s</code> выкарыстала рухавічок <a href='http://dev.mysql.com/doc/refman/5.0/en/storage-engines.html'>MyISAM</a>, але табліца мабыць выкарыстае рухавічок <code>%s</code>. Гэтыя дзве опцыі адключаныя."
|
58 |
|
59 |
+
#: yarpp_options.php:65
|
60 |
#, fuzzy, php-format, php-format
|
61 |
#@ yarpp
|
62 |
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."
|
63 |
msgstr "Для аднаўлення гэтых опцый, калі ласка, зменіце вашу табліцу <code>%s</code>наступнай SQL інструкцыяй e : <code>ALTER TABLE `%s` ENGINE = MyISAM;</code><br />Пры змене табліцы дадзеныя не павінны прорва, аднак магчымыя наступствы."
|
64 |
|
65 |
+
#: yarpp_options.php:67
|
66 |
#, php-format
|
67 |
#@ yarpp
|
68 |
msgid "If, despite this check, you are sure that <code>%s</code> is using the MyISAM engine, press this magic button:"
|
69 |
msgstr "Калі, незалежна ад гэтай опцыі, вы ўпэўненыя што табліца <code>%s</code> выкарыстае MyISAM, націсніце на гэтую чароўную кнопку :"
|
70 |
|
71 |
+
#: yarpp_options.php:70
|
72 |
#@ yarpp
|
73 |
msgid "Trust me. Let me use MyISAM features."
|
74 |
msgstr "Паверце мне. Дазвольце мне выкарыстаць MyISAM."
|
75 |
|
76 |
+
#: yarpp_options.php:83
|
77 |
#@ yarpp
|
78 |
msgid "The YARPP database had an error but has been fixed."
|
79 |
msgstr "База дадзеных YARPP утрымоўвала памылкі, але яны былі выпраўленыя."
|
80 |
|
81 |
+
#: yarpp_options.php:85
|
82 |
#@ yarpp
|
83 |
msgid "The YARPP database has an error which could not be fixed."
|
84 |
msgstr "База дадзеных YARPP утрымоўвае памылку, якая не можа быць выпраўленая."
|
102 |
msgid "consider with extra weight"
|
103 |
msgstr "разглядаць з дадатковай вагай"
|
104 |
|
105 |
+
#: yarpp_options.php:178
|
106 |
#@ yarpp
|
107 |
msgid "Yet Another Related Posts Plugin Options"
|
108 |
msgstr "Опцыі YARPP"
|
382 |
msgid "require more than one %s in common"
|
383 |
msgstr "больш аднаго \"%s\" павінна быць агульным"
|
384 |
|
385 |
+
#: yarpp_options.php:114
|
386 |
#@ yarpp
|
387 |
msgid "Options saved!"
|
388 |
msgstr "Налады захаваныя!"
|
392 |
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."
|
393 |
msgstr "Чым вышэй парог падобнасці, тым стражэй выбарка, і тым менш атрымаеце запісаў на выхадзе. Па-змаўчанню парог роўны 5. Калі жадаеце знайсці приемлимые парогавыя значэнні, паэксперыментуйце з некалькімі паведамленнямі. Вы зможаце ўбачыць, якія паведамленні выходзяць наверх і якія ў іх значэння падабенства, па якіх можна вызначыць приемлимый узровень для вашага сайта."
|
394 |
|
395 |
+
#: yarpp_options.php:279
|
396 |
#@ yarpp
|
397 |
msgid "Update options"
|
398 |
msgstr "Змяніць налады"
|
399 |
|
400 |
+
#: yarpp_options.php:280
|
401 |
#@ yarpp
|
402 |
msgid "Do you really want to reset your configuration?"
|
403 |
msgstr "Вы сапраўды жадаеце скінуць вашы налады?"
|
404 |
|
405 |
+
#: yarpp_options.php:280
|
406 |
#@ yarpp
|
407 |
msgid "Reset options"
|
408 |
msgstr "Скінуць налады"
|
433 |
msgid "Show only posts from the past NUMBER UNITS"
|
434 |
msgstr "Паказваць толькі пасты за апошнія NUMBER UNITS"
|
435 |
|
436 |
+
#: yarpp_options.php:46
|
437 |
#, php-format
|
438 |
#@ yarpp
|
439 |
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."
|
543 |
msgid "Contact YARPP"
|
544 |
msgstr ""
|
545 |
|
546 |
+
#: yarpp_options.php:42
|
547 |
#, php-format
|
548 |
#@ default
|
549 |
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>."
|
550 |
msgstr ""
|
551 |
|
552 |
+
#: yarpp_options.php:86
|
553 |
#, php-format
|
554 |
#@ yarpp
|
555 |
msgid "Please try <a href=\"%s\" target=\"_blank\">manual SQL setup</a>."
|
556 |
msgstr ""
|
557 |
|
558 |
+
#: yarpp_options.php:188
|
559 |
#, php-format
|
560 |
#@ yarpp
|
561 |
msgid "by <a href=\"%s\" target=\"_blank\">mitcho (Michael 芳貴 Erlewine)</a>"
|
lang/yarpp-cs_CZ.po
CHANGED
@@ -441,79 +441,79 @@ msgstr "Ohodnotit YARPP na WordPress.org"
|
|
441 |
msgid "Contact YARPP"
|
442 |
msgstr "Kontaktovat YARPP"
|
443 |
|
444 |
-
#:
|
445 |
#, php-format
|
446 |
#@ default
|
447 |
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>."
|
448 |
msgstr ""
|
449 |
|
450 |
-
#:
|
451 |
#, php-format
|
452 |
#@ yarpp
|
453 |
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."
|
454 |
msgstr "K dispozici je nová beta verze (%s) pluginu Yet Another Related Posts Plugin. Můžete si ji <a href=\"%s\">stáhnout zde</a>, na vlastní nebezpečí."
|
455 |
|
456 |
-
#:
|
457 |
#@ yarpp
|
458 |
msgid "The MyISAM check has been overridden. You may now use the \"consider titles\" and \"consider bodies\" relatedness criteria."
|
459 |
msgstr "MyISAM kontrola byla přepsána. Nyní můžete použít kritéria relevance - \"zahrnout titulky\" a \"zahrnout texty článků\"."
|
460 |
|
461 |
-
#:
|
462 |
#, php-format
|
463 |
#@ yarpp
|
464 |
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."
|
465 |
msgstr "Kritéria relevance \"zahrnout titulky\" a \"zahrnout texty článků\" vyžadují, aby vaše <code>%s</code> tabulka využívala <a href='http://dev.mysql.com/doc/refman/5.0/en/storage-engines.html'>databázový systém MyISAM</a>, ale vypadá to, že využívá systém <code>%s</code>. Tyto dvě možnosti byly zakázány."
|
466 |
|
467 |
-
#:
|
468 |
#, php-format
|
469 |
#@ yarpp
|
470 |
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."
|
471 |
msgstr "Pro zprovoznění těchto funkcí, updatujte <code>%s</code> tabulku prostřednictvím následujícího SQL příkazu: <code>ALTER TABLE `%s` ENGINE = MyISAM;</code> . Žádná data nebudou při změně smazána, ačkoliv může dojít k výkonnostním důsledkům."
|
472 |
|
473 |
-
#:
|
474 |
#, php-format
|
475 |
#@ yarpp
|
476 |
msgid "If, despite this check, you are sure that <code>%s</code> is using the MyISAM engine, press this magic button:"
|
477 |
msgstr "Jestliže jste si jistí, že tabulka <code>%s</code> používá MyISAM engine, klikněte na kouzelné tlačítko:"
|
478 |
|
479 |
-
#:
|
480 |
#@ yarpp
|
481 |
msgid "Trust me. Let me use MyISAM features."
|
482 |
msgstr "Věřte mi. Nechte mě využít možnosti MyISAM."
|
483 |
|
484 |
-
#:
|
485 |
#@ yarpp
|
486 |
msgid "The YARPP database had an error but has been fixed."
|
487 |
msgstr "V databázi YARPP vznikla chyba, ale je již opravena."
|
488 |
|
489 |
-
#:
|
490 |
#@ yarpp
|
491 |
msgid "The YARPP database has an error which could not be fixed."
|
492 |
msgstr "V databázi YARPP vznikla chyba, která nemohla být opravena."
|
493 |
|
494 |
-
#:
|
495 |
#, php-format
|
496 |
#@ yarpp
|
497 |
msgid "Please try <a href=\"%s\" target=\"_blank\">manual SQL setup</a>."
|
498 |
msgstr "Prosím, vyzkoušejte <a href=\"%s\" target=\"_blank\">ruční nastavení SQL</a>."
|
499 |
|
500 |
-
#:
|
501 |
#@ yarpp
|
502 |
msgid "Options saved!"
|
503 |
msgstr "Nastavení uloženo!"
|
504 |
|
505 |
-
#:
|
506 |
#@ yarpp
|
507 |
msgid "Yet Another Related Posts Plugin Options"
|
508 |
msgstr "Nastavení Yet Another Related Posts Plugin"
|
509 |
|
510 |
-
#:
|
511 |
#, php-format
|
512 |
#@ yarpp
|
513 |
msgid "by <a href=\"%s\" target=\"_blank\">mitcho (Michael 芳貴 Erlewine)</a>"
|
514 |
msgstr "autor <a href=\"%s\" target=\"_blank\">mitcho (Michael 芳貴 Erlewine)</a>"
|
515 |
|
516 |
-
#:
|
517 |
#@ default
|
518 |
msgid "Save Changes"
|
519 |
msgstr ""
|
441 |
msgid "Contact YARPP"
|
442 |
msgstr "Kontaktovat YARPP"
|
443 |
|
444 |
+
#: yarpp_options.php:34
|
445 |
#, php-format
|
446 |
#@ default
|
447 |
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>."
|
448 |
msgstr ""
|
449 |
|
450 |
+
#: yarpp_options.php:38
|
451 |
#, php-format
|
452 |
#@ yarpp
|
453 |
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."
|
454 |
msgstr "K dispozici je nová beta verze (%s) pluginu Yet Another Related Posts Plugin. Můžete si ji <a href=\"%s\">stáhnout zde</a>, na vlastní nebezpečí."
|
455 |
|
456 |
+
#: yarpp_options.php:46
|
457 |
#@ yarpp
|
458 |
msgid "The MyISAM check has been overridden. You may now use the \"consider titles\" and \"consider bodies\" relatedness criteria."
|
459 |
msgstr "MyISAM kontrola byla přepsána. Nyní můžete použít kritéria relevance - \"zahrnout titulky\" a \"zahrnout texty článků\"."
|
460 |
|
461 |
+
#: yarpp_options.php:54
|
462 |
#, php-format
|
463 |
#@ yarpp
|
464 |
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."
|
465 |
msgstr "Kritéria relevance \"zahrnout titulky\" a \"zahrnout texty článků\" vyžadují, aby vaše <code>%s</code> tabulka využívala <a href='http://dev.mysql.com/doc/refman/5.0/en/storage-engines.html'>databázový systém MyISAM</a>, ale vypadá to, že využívá systém <code>%s</code>. Tyto dvě možnosti byly zakázány."
|
466 |
|
467 |
+
#: yarpp_options.php:56
|
468 |
#, php-format
|
469 |
#@ yarpp
|
470 |
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."
|
471 |
msgstr "Pro zprovoznění těchto funkcí, updatujte <code>%s</code> tabulku prostřednictvím následujícího SQL příkazu: <code>ALTER TABLE `%s` ENGINE = MyISAM;</code> . Žádná data nebudou při změně smazána, ačkoliv může dojít k výkonnostním důsledkům."
|
472 |
|
473 |
+
#: yarpp_options.php:58
|
474 |
#, php-format
|
475 |
#@ yarpp
|
476 |
msgid "If, despite this check, you are sure that <code>%s</code> is using the MyISAM engine, press this magic button:"
|
477 |
msgstr "Jestliže jste si jistí, že tabulka <code>%s</code> používá MyISAM engine, klikněte na kouzelné tlačítko:"
|
478 |
|
479 |
+
#: yarpp_options.php:61
|
480 |
#@ yarpp
|
481 |
msgid "Trust me. Let me use MyISAM features."
|
482 |
msgstr "Věřte mi. Nechte mě využít možnosti MyISAM."
|
483 |
|
484 |
+
#: yarpp_options.php:76
|
485 |
#@ yarpp
|
486 |
msgid "The YARPP database had an error but has been fixed."
|
487 |
msgstr "V databázi YARPP vznikla chyba, ale je již opravena."
|
488 |
|
489 |
+
#: yarpp_options.php:78
|
490 |
#@ yarpp
|
491 |
msgid "The YARPP database has an error which could not be fixed."
|
492 |
msgstr "V databázi YARPP vznikla chyba, která nemohla být opravena."
|
493 |
|
494 |
+
#: yarpp_options.php:79
|
495 |
#, php-format
|
496 |
#@ yarpp
|
497 |
msgid "Please try <a href=\"%s\" target=\"_blank\">manual SQL setup</a>."
|
498 |
msgstr "Prosím, vyzkoušejte <a href=\"%s\" target=\"_blank\">ruční nastavení SQL</a>."
|
499 |
|
500 |
+
#: yarpp_options.php:135
|
501 |
#@ yarpp
|
502 |
msgid "Options saved!"
|
503 |
msgstr "Nastavení uloženo!"
|
504 |
|
505 |
+
#: yarpp_options.php:141
|
506 |
#@ yarpp
|
507 |
msgid "Yet Another Related Posts Plugin Options"
|
508 |
msgstr "Nastavení Yet Another Related Posts Plugin"
|
509 |
|
510 |
+
#: yarpp_options.php:149
|
511 |
#, php-format
|
512 |
#@ yarpp
|
513 |
msgid "by <a href=\"%s\" target=\"_blank\">mitcho (Michael 芳貴 Erlewine)</a>"
|
514 |
msgstr "autor <a href=\"%s\" target=\"_blank\">mitcho (Michael 芳貴 Erlewine)</a>"
|
515 |
|
516 |
+
#: yarpp_options.php:178
|
517 |
#@ default
|
518 |
msgid "Save Changes"
|
519 |
msgstr ""
|
lang/yarpp-de_DE.po
CHANGED
@@ -38,380 +38,380 @@ msgid "%f is the YARPP match score between the current entry and this related en
|
|
38 |
msgstr "%f ist die von YARPP ermittelte Übereinstimmung zwischen diesem und dem ähnlichen Artikel (Relevanz-Wert). Sie sehen diesen Wert, weil Sie als WordPress-Administrator eingeloggt sind. Normale Besucher sehen ihn nicht."
|
39 |
|
40 |
#: magic.php:297
|
41 |
-
#:
|
42 |
-
#:
|
43 |
#@ yarpp
|
44 |
msgid "Related posts brought to you by <a href='%s'>Yet Another Related Posts Plugin</a>."
|
45 |
msgstr "Ähnliche Artikel bereitgestellt von <a href='%s'>Yet Another Related Posts Plugin</a>."
|
46 |
|
47 |
-
#:
|
48 |
#@ yarpp
|
49 |
msgid "The MyISAM check has been overridden. You may now use the \"consider titles\" and \"consider bodies\" relatedness criteria."
|
50 |
msgstr "Die MyISAM Überprüfung wurde außer Kraft gesetzt. Sie können nun \"consider titles\" und \"consider bodies\" als Kriterium für die Relevanz verwenden."
|
51 |
|
52 |
-
#:
|
53 |
#, php-format
|
54 |
#@ yarpp
|
55 |
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."
|
56 |
msgstr "YARPPs \"Überschriften berücksichtigen\" und \"Textkörper berücksichtigen\" Kriterien zur Relevanz verlangen, dass Ihre <code>%s</code> Tabelle die <a href='http://dev.mysql.com/doc/refman/5.0/en/storage-engines.html'>MyISAM Storage Engine</a> verwendet, die Tabelle scheint aber die <code>%s</code>-Engine zu verwenden. Die zwei Einstellungen wurden deaktiviert."
|
57 |
|
58 |
-
#:
|
59 |
#, php-format
|
60 |
#@ yarpp
|
61 |
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."
|
62 |
msgstr "Um dieses Feature wiederherzustellen, führen Sie den Code <code>%s</code> mit dem SQL-Befehl aus: <code>ALTER TABLE `%s` ENGINE = MyISAM;</code>."
|
63 |
|
64 |
-
#:
|
65 |
#, php-format
|
66 |
#@ yarpp
|
67 |
msgid "If, despite this check, you are sure that <code>%s</code> is using the MyISAM engine, press this magic button:"
|
68 |
msgstr "Wenn Sie, selbst nach dieser Überprüfung sicher sind, dass <code>%s</code> die MyISAM-Engine benutzt, klicken Sie den magischen Button:"
|
69 |
|
70 |
-
#:
|
71 |
#@ yarpp
|
72 |
msgid "Trust me. Let me use MyISAM features."
|
73 |
msgstr "Glauben Sie mir. Lassen Sie mich MyISAM-Features nutzen."
|
74 |
|
75 |
-
#:
|
76 |
#@ yarpp
|
77 |
msgid "The YARPP database had an error but has been fixed."
|
78 |
msgstr "Die YARPP-Datenbank hatte einen Fehler, der allerdings behoben werden konnte."
|
79 |
|
80 |
-
#:
|
81 |
#@ yarpp
|
82 |
msgid "The YARPP database has an error which could not be fixed."
|
83 |
msgstr "Die YARPP-Datenbank hat einen Fehler, der nicht behoben werden kann."
|
84 |
|
85 |
-
#:
|
86 |
-
#:
|
87 |
-
#:
|
88 |
#@ yarpp
|
89 |
msgid "do not consider"
|
90 |
msgstr "nicht berücksichtigen"
|
91 |
|
92 |
-
#:
|
93 |
-
#:
|
94 |
-
#:
|
95 |
#@ yarpp
|
96 |
msgid "consider"
|
97 |
msgstr "berücksichtigen"
|
98 |
|
99 |
-
#:
|
100 |
#@ yarpp
|
101 |
msgid "consider with extra weight"
|
102 |
msgstr "besonders berücksichtigen"
|
103 |
|
104 |
-
#:
|
105 |
#@ yarpp
|
106 |
msgid "Yet Another Related Posts Plugin Options"
|
107 |
msgstr "YARPP Einstellungen"
|
108 |
|
109 |
-
#:
|
110 |
#@ yarpp
|
111 |
msgid "\"The Pool\""
|
112 |
msgstr "\"Datenbasis\""
|
113 |
|
114 |
-
#:
|
115 |
#@ yarpp
|
116 |
msgid "\"The Pool\" refers to the pool of posts and pages that are candidates for display as related to the current entry."
|
117 |
msgstr "Das Plugin berücksichtigt alle Artikel und Seiten, die in dieser \"Datenbasis\" aufgeführt (oder nicht ausgeschlossen) sind."
|
118 |
|
119 |
-
#:
|
120 |
#@ yarpp
|
121 |
msgid "Disallow by category:"
|
122 |
msgstr "Kategorien ausschließen:"
|
123 |
|
124 |
-
#:
|
125 |
#@ yarpp
|
126 |
msgid "Disallow by tag:"
|
127 |
msgstr "Tags ausschließen:"
|
128 |
|
129 |
-
#:
|
130 |
#@ yarpp
|
131 |
msgid "Show password protected posts?"
|
132 |
msgstr "Durch ein Passwort gesicherte Artikel anzeigen?"
|
133 |
|
134 |
-
#:
|
135 |
#@ yarpp
|
136 |
msgid "Show only previous posts?"
|
137 |
msgstr "Nur in der Vergangenheit liegende Artikel berücksichtigen?"
|
138 |
|
139 |
-
#:
|
140 |
#@ yarpp
|
141 |
msgid "\"Relatedness\" options"
|
142 |
msgstr "Ähnlichkeitseinstellungen"
|
143 |
|
144 |
-
#:
|
145 |
#, php-format
|
146 |
#@ yarpp
|
147 |
msgid "YARPP is different than the <a href=\"http://wasabi.pbwiki.com/Related%20Entries\">previous plugins it is based on</a> as it limits the related posts list by (1) a maximum number and (2) a <em>match threshold</em>."
|
148 |
msgstr "YARPP funktioniert ein wenig anders als <a href=\"http://wasabi.pbwiki.com/Related%20Entries\">andere Plugins mit ähnlicher Funktionalität</a>: YARPP berücksichtigt nicht nur die von Ihnen angegebene maximale Anzahl von Beiträgen, sondern auch den Wert \"Relevanz\"."
|
149 |
|
150 |
-
#:
|
151 |
-
#:
|
152 |
-
#:
|
153 |
-
#:
|
154 |
-
#:
|
155 |
-
#:
|
156 |
-
#:
|
157 |
-
#:
|
158 |
-
#:
|
159 |
#@ yarpp
|
160 |
msgid "more>"
|
161 |
msgstr "?"
|
162 |
|
163 |
-
#:
|
164 |
#@ yarpp
|
165 |
msgid "Match threshold:"
|
166 |
msgstr "Relevanz:"
|
167 |
|
168 |
-
#:
|
169 |
#@ yarpp
|
170 |
msgid "Titles: "
|
171 |
msgstr "Überschriften:"
|
172 |
|
173 |
-
#:
|
174 |
#@ yarpp
|
175 |
msgid "Bodies: "
|
176 |
msgstr "Textkörper:"
|
177 |
|
178 |
-
#:
|
179 |
#@ yarpp
|
180 |
msgid "Tags: "
|
181 |
msgstr "Tags:"
|
182 |
|
183 |
-
#:
|
184 |
#@ yarpp
|
185 |
msgid "Categories: "
|
186 |
msgstr "Kategorien:"
|
187 |
|
188 |
-
#:
|
189 |
#@ yarpp
|
190 |
msgid "Cross-relate posts and pages?"
|
191 |
msgstr "Artikel und Seiten gemeinsam ausgeben?"
|
192 |
|
193 |
-
#:
|
194 |
#@ yarpp
|
195 |
msgid "When the \"Cross-relate posts and pages\" option is selected, the <code>related_posts()</code>, <code>related_pages()</code>, and <code>related_entries()</code> all will give the same output, returning both related pages and posts."
|
196 |
msgstr "Ist die Option \"Artikel und Seiten gemeinsam ausgeben\" aktiviert, geben die Funktionen <code>related_posts()</code>, <code>related_pages()</code>, und <code>related_entries()</code> dasselbe aus: In den ähnlichen Beiträgen tauchen sowohl Artikel als auch Seiten auf!"
|
197 |
|
198 |
-
#:
|
199 |
#@ yarpp
|
200 |
msgid "Display options <small>for your website</small>"
|
201 |
msgstr "Darstellung <small>(Website)</small>"
|
202 |
|
203 |
-
#:
|
204 |
#@ yarpp
|
205 |
msgid "Automatically display related posts?"
|
206 |
msgstr "Ähnliche Beiträge automatisch anzeigen?"
|
207 |
|
208 |
-
#:
|
209 |
#@ yarpp
|
210 |
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."
|
211 |
msgstr "Wenn aktiviert, hängt YARPP die Ausgabe ähnlicher Beiträge einfach an den aktuellen Artikel an. Ist sie deaktiviert, müssen Sie sich um die Darstellung im Template mit den Funktionen <code>related_posts()</code> oder Varianten (<code>related_pages()</code> oder <code>related_entries()</code>) selbst kümmern."
|
212 |
|
213 |
-
#:
|
214 |
#@ yarpp
|
215 |
msgid "Website display code example"
|
216 |
msgstr "Quellcode-Beispiel für die Website-Anzeige"
|
217 |
|
218 |
-
#:
|
219 |
-
#:
|
220 |
#@ yarpp
|
221 |
msgid "(Update options to reload.)"
|
222 |
msgstr "Um Ihre Einstellungen hier zu sehen, müssen Sie die Einstellungen vorher sichern!"
|
223 |
|
224 |
-
#:
|
225 |
-
#:
|
226 |
#@ yarpp
|
227 |
msgid "Maximum number of related posts:"
|
228 |
msgstr "Maximale Anzahl von Beiträgen:"
|
229 |
|
230 |
-
#:
|
231 |
#@ yarpp
|
232 |
msgid "Before / after related entries:"
|
233 |
msgstr "Quellcode vor/nach den ähnlichen Beiträgen:"
|
234 |
|
235 |
-
#:
|
236 |
-
#:
|
237 |
-
#:
|
238 |
-
#:
|
239 |
-
#:
|
240 |
-
#:
|
241 |
#@ yarpp
|
242 |
msgid "For example:"
|
243 |
msgstr "Beispiel:"
|
244 |
|
245 |
-
#:
|
246 |
-
#:
|
247 |
#@ yarpp
|
248 |
msgid "Before / after each related entry:"
|
249 |
msgstr "Quellcode vor/nach den jeweiligen Beiträgen:"
|
250 |
|
251 |
-
#:
|
252 |
-
#:
|
253 |
#@ yarpp
|
254 |
msgid "Show excerpt?"
|
255 |
msgstr "Textausschnitt anzeigen?"
|
256 |
|
257 |
-
#:
|
258 |
-
#:
|
259 |
#@ yarpp
|
260 |
msgid "Excerpt length (No. of words):"
|
261 |
msgstr "Länge des Textausschnitts (Anzahl der Wörter):"
|
262 |
|
263 |
-
#:
|
264 |
#@ yarpp
|
265 |
msgid "Before / after (Excerpt):"
|
266 |
msgstr "Quellcode vor/nach den jeweiligen Textausschnitten:"
|
267 |
|
268 |
-
#:
|
269 |
-
#:
|
270 |
#@ yarpp
|
271 |
msgid "Order results:"
|
272 |
msgstr "Anzeigereihenfolge:"
|
273 |
|
274 |
-
#:
|
275 |
-
#:
|
276 |
#@ yarpp
|
277 |
msgid "score (high relevance to low)"
|
278 |
msgstr "Relevanz (höchste nach niedrigste)"
|
279 |
|
280 |
-
#:
|
281 |
-
#:
|
282 |
#@ yarpp
|
283 |
msgid "score (low relevance to high)"
|
284 |
msgstr "Relevanz (niedrigste nach höchste)"
|
285 |
|
286 |
-
#:
|
287 |
-
#:
|
288 |
#@ yarpp
|
289 |
msgid "date (new to old)"
|
290 |
msgstr "Zeitstempel (aktuell nach alt)"
|
291 |
|
292 |
-
#:
|
293 |
-
#:
|
294 |
#@ yarpp
|
295 |
msgid "date (old to new)"
|
296 |
msgstr "Zeitstempel (alt nach aktuell)"
|
297 |
|
298 |
-
#:
|
299 |
-
#:
|
300 |
#@ yarpp
|
301 |
msgid "title (alphabetical)"
|
302 |
msgstr "Überschrift (A-Z)"
|
303 |
|
304 |
-
#:
|
305 |
-
#:
|
306 |
#@ yarpp
|
307 |
msgid "title (reverse alphabetical)"
|
308 |
msgstr "Überschrift (Z-A)"
|
309 |
|
310 |
-
#:
|
311 |
-
#:
|
312 |
#@ yarpp
|
313 |
msgid "Default display if no results:"
|
314 |
msgstr "Quellcode bei 0 relevanten Artikeln:"
|
315 |
|
316 |
#: includes.php:245
|
317 |
-
#:
|
318 |
-
#:
|
319 |
#@ yarpp
|
320 |
msgid "Help promote Yet Another Related Posts Plugin?"
|
321 |
msgstr "YARPP dezent bewerben?"
|
322 |
|
323 |
-
#:
|
324 |
-
#:
|
325 |
#, php-format
|
326 |
#@ yarpp
|
327 |
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."
|
328 |
msgstr "Wenn aktiviert, steht eine kurzer Hinweis zu Autor und Plugin unter den Ergebnissen der ähnlichen Beiträge. Der Code %s wird hinzugefügt."
|
329 |
|
330 |
-
#:
|
331 |
#@ yarpp
|
332 |
msgid "Display options <small>for RSS</small>"
|
333 |
msgstr "Darstellung <small>(RSS)</small>"
|
334 |
|
335 |
-
#:
|
336 |
#@ yarpp
|
337 |
msgid "Display related posts in feeds?"
|
338 |
msgstr "Ähnliche Beiträge in Newsfeeds anzeigen?"
|
339 |
|
340 |
-
#:
|
341 |
#@ yarpp
|
342 |
msgid "Display related posts in the descriptions?"
|
343 |
msgstr "Ähnliche Beiträge in der Beschreibung anzeigen?"
|
344 |
|
345 |
-
#:
|
346 |
#@ yarpp
|
347 |
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."
|
348 |
msgstr "Zeigt die ähnlichen Beiträge auch in der RSS Beschreibung an, nicht nur im Inhalt. Wenn Ihr Feed nur Textausschnitte anzeigt, dann wird nur Ihr Beschreibungsfeld genutzt. Diese Option muss aktiviert werden um ähnliche Beiträge in Ihren Feeds anzeigen zu können."
|
349 |
|
350 |
-
#:
|
351 |
#@ yarpp
|
352 |
msgid "RSS display code example"
|
353 |
msgstr "RSS-Anzeigebeispiel"
|
354 |
|
355 |
-
#:
|
356 |
#@ yarpp
|
357 |
msgid "Before / after related entries display:"
|
358 |
msgstr "Quellcode vor/nach den ähnlichen Beiträgen:"
|
359 |
|
360 |
-
#:
|
361 |
#@ yarpp
|
362 |
msgid "Before / after (excerpt):"
|
363 |
msgstr "Quellcode vor/nach dem Textauschnitt:"
|
364 |
|
365 |
-
#:
|
366 |
#@ yarpp
|
367 |
msgid "word"
|
368 |
msgstr "Wort"
|
369 |
|
370 |
-
#:
|
371 |
#@ yarpp
|
372 |
msgid "tag"
|
373 |
msgstr "Tag"
|
374 |
|
375 |
-
#:
|
376 |
#@ yarpp
|
377 |
msgid "category"
|
378 |
msgstr "Kategorie"
|
379 |
|
380 |
-
#:
|
381 |
-
#:
|
382 |
#, php-format
|
383 |
#@ yarpp
|
384 |
msgid "require at least one %s in common"
|
385 |
msgstr "zumindest ein %s gleich"
|
386 |
|
387 |
-
#:
|
388 |
-
#:
|
389 |
#, php-format
|
390 |
#@ yarpp
|
391 |
msgid "require more than one %s in common"
|
392 |
msgstr "mehr als ein %s gleich"
|
393 |
|
394 |
-
#:
|
395 |
#@ yarpp
|
396 |
msgid "Options saved!"
|
397 |
msgstr "Einstellungen gespeichert!"
|
398 |
|
399 |
-
#:
|
400 |
#@ yarpp
|
401 |
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."
|
402 |
msgstr "Umso höher Sie den Relevanz-Wert einstellen, desto weniger ähnliche Artikel werden angezeigt, da Sie die Auswahl beschränken. Der Standardwert ist 5. Um einen guten Wert zu finden, schauen Sie sich das Ergebnis Ihrer bisherigen ähnlichen Artikeln an. So finden Sie heraus, wie sie die Relevanz-Wert beeinflussen müssen um ein gutes Ergebnis zu erhalten. "
|
403 |
|
404 |
-
#:
|
405 |
#@ yarpp
|
406 |
msgid "Update options"
|
407 |
msgstr "Einstellungen aktualisieren"
|
408 |
|
409 |
-
#:
|
410 |
#@ yarpp
|
411 |
msgid "Do you really want to reset your configuration?"
|
412 |
msgstr "Einstellungen tatsächlich zurücksetzen?"
|
413 |
|
414 |
-
#:
|
415 |
#@ yarpp
|
416 |
msgid "Reset options"
|
417 |
msgstr "Einstellungen zurücksetzen"
|
@@ -436,92 +436,92 @@ msgstr "Keine ähnlichen Artikel gefunden."
|
|
436 |
msgid "Example post "
|
437 |
msgstr "Beispiel Artikel"
|
438 |
|
439 |
-
#:
|
440 |
#@ yarpp
|
441 |
msgid "Please move the YARPP template files into your theme to complete installation. Simply move the sample template files (currently in <code>wp-content/plugins/yet-another-related-posts-plugin/yarpp-templates/</code>) to the <code>TEMPLATEPATH</code> directory."
|
442 |
msgstr "Bitte kopieren Sie die YARPP Template-Dateien in Ihr Design um die Installation zu beenden. Kopieren Sie einfach die Beispieldateien die Sie üblicherweise hier finden: <code>wp-content/plugins/yet-another-related-posts-plugin/yarpp-templates/</code>) zu Ihrem <code>TEMPLATEPATH</code> Verzeichnis."
|
443 |
|
444 |
-
#:
|
445 |
#@ yarpp
|
446 |
msgid "No YARPP template files were found in your theme (<code>TEMPLATEPATH</code>) so the templating feature has been turned off."
|
447 |
msgstr "Es wurden keine YARPP Template-Dateien in Ihrem Design gefunden (<code>TEMPLATEPATH</code>) aus diesem Grund wurden diese Option deaktiviert."
|
448 |
|
449 |
-
#:
|
450 |
#@ yarpp
|
451 |
msgid "Please try <A>manual SQL setup</a>."
|
452 |
msgstr "Bitte aktualisieren Sie die <A>SQL-Datenbank manuell</a>."
|
453 |
|
454 |
-
#:
|
455 |
#@ yarpp
|
456 |
msgid "Follow <a href=\"http://twitter.com/yarpp/\">Yet Another Related Posts Plugin on Twitter</a>"
|
457 |
msgstr "Folge <a href=\"http://twitter.com/yarpp/\">Yet Another Related Posts Plugin auf Twitter</a>"
|
458 |
|
459 |
-
#:
|
460 |
#@ yarpp
|
461 |
msgid "day(s)"
|
462 |
msgstr "Tag(e)"
|
463 |
|
464 |
-
#:
|
465 |
#@ yarpp
|
466 |
msgid "week(s)"
|
467 |
msgstr "Woche(n)"
|
468 |
|
469 |
-
#:
|
470 |
#@ yarpp
|
471 |
msgid "month(s)"
|
472 |
msgstr "Monat(e)"
|
473 |
|
474 |
-
#:
|
475 |
#@ yarpp
|
476 |
msgid "Show only posts from the past NUMBER UNITS"
|
477 |
msgstr "Zeige nur in der Vergangenheit liegende Artikel"
|
478 |
|
479 |
-
#:
|
480 |
#@ yarpp
|
481 |
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."
|
482 |
msgstr "Es steht eine neue Beta (%s) von Yet Another Related Posts Plugin zur Verfügung. Sie können sie <a href=\"%s\">hier heruntergeladen</a> Dies geschieht auf eigene Gefahr."
|
483 |
|
484 |
-
#:
|
485 |
#@ yarpp
|
486 |
msgid "There is a new version (VERSION) of Yet Another Related Posts Plugin available! You can <A>download it here</a>."
|
487 |
msgstr "Es steht eine neue Version (Version) von Yet Another Related Posts Plugin zur Verfügung! Sie können sie <A>hier herunterladen</a> ."
|
488 |
|
489 |
#: includes.php:236
|
490 |
-
#:
|
491 |
-
#:
|
492 |
#@ yarpp
|
493 |
msgid "Display using a custom template file"
|
494 |
msgstr "Eine eigene Template-Datei verwenden"
|
495 |
|
496 |
-
#:
|
497 |
#@ yarpp
|
498 |
msgid "NEW!"
|
499 |
msgstr "NEU!"
|
500 |
|
501 |
-
#:
|
502 |
-
#:
|
503 |
#@ yarpp
|
504 |
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."
|
505 |
msgstr "Diese erweiterte Einstellung gibt Ihnen die volle Kontrolle, wie Ihre ähnlichen Artikel angezeigt werden. Template-Dateien (gespeichert in Ihrem Design Ordner) sind in PHP geschrieben."
|
506 |
|
507 |
#: includes.php:237
|
508 |
-
#:
|
509 |
-
#:
|
510 |
#@ yarpp
|
511 |
msgid "Template file:"
|
512 |
msgstr "Template Datei:"
|
513 |
|
514 |
-
#:
|
515 |
-
#:
|
516 |
-
#:
|
517 |
-
#:
|
518 |
-
#:
|
519 |
-
#:
|
520 |
#@ yarpp
|
521 |
msgid " or "
|
522 |
msgstr "oder"
|
523 |
|
524 |
-
#:
|
525 |
#@ yarpp
|
526 |
msgid "This option displays related posts at the end of each item in your RSS and Atom feeds. No template changes are needed."
|
527 |
msgstr "Diese Option zeigt ähnliche Artikel am Ende Ihrer RSS oder Atom Feeds. Es werden keine Template Veränderungen benötigt."
|
@@ -551,10 +551,10 @@ msgstr ""
|
|
551 |
msgid "Related entries may be displayed once you save your entry"
|
552 |
msgstr "Ähnliche Beiträge werden nach dem Speichern angezeigt"
|
553 |
|
554 |
-
#:
|
555 |
-
#:
|
556 |
-
#:
|
557 |
-
#:
|
558 |
#@ default
|
559 |
msgid "Click to toggle"
|
560 |
msgstr ""
|
38 |
msgstr "%f ist die von YARPP ermittelte Übereinstimmung zwischen diesem und dem ähnlichen Artikel (Relevanz-Wert). Sie sehen diesen Wert, weil Sie als WordPress-Administrator eingeloggt sind. Normale Besucher sehen ihn nicht."
|
39 |
|
40 |
#: magic.php:297
|
41 |
+
#: yarpp_options.php:472
|
42 |
+
#: yarpp_options.php:540
|
43 |
#@ yarpp
|
44 |
msgid "Related posts brought to you by <a href='%s'>Yet Another Related Posts Plugin</a>."
|
45 |
msgstr "Ähnliche Artikel bereitgestellt von <a href='%s'>Yet Another Related Posts Plugin</a>."
|
46 |
|
47 |
+
#: yarpp_options.php:37
|
48 |
#@ yarpp
|
49 |
msgid "The MyISAM check has been overridden. You may now use the \"consider titles\" and \"consider bodies\" relatedness criteria."
|
50 |
msgstr "Die MyISAM Überprüfung wurde außer Kraft gesetzt. Sie können nun \"consider titles\" und \"consider bodies\" als Kriterium für die Relevanz verwenden."
|
51 |
|
52 |
+
#: yarpp_options.php:46
|
53 |
#, php-format
|
54 |
#@ yarpp
|
55 |
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."
|
56 |
msgstr "YARPPs \"Überschriften berücksichtigen\" und \"Textkörper berücksichtigen\" Kriterien zur Relevanz verlangen, dass Ihre <code>%s</code> Tabelle die <a href='http://dev.mysql.com/doc/refman/5.0/en/storage-engines.html'>MyISAM Storage Engine</a> verwendet, die Tabelle scheint aber die <code>%s</code>-Engine zu verwenden. Die zwei Einstellungen wurden deaktiviert."
|
57 |
|
58 |
+
#: yarpp_options.php:48
|
59 |
#, php-format
|
60 |
#@ yarpp
|
61 |
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."
|
62 |
msgstr "Um dieses Feature wiederherzustellen, führen Sie den Code <code>%s</code> mit dem SQL-Befehl aus: <code>ALTER TABLE `%s` ENGINE = MyISAM;</code>."
|
63 |
|
64 |
+
#: yarpp_options.php:50
|
65 |
#, php-format
|
66 |
#@ yarpp
|
67 |
msgid "If, despite this check, you are sure that <code>%s</code> is using the MyISAM engine, press this magic button:"
|
68 |
msgstr "Wenn Sie, selbst nach dieser Überprüfung sicher sind, dass <code>%s</code> die MyISAM-Engine benutzt, klicken Sie den magischen Button:"
|
69 |
|
70 |
+
#: yarpp_options.php:53
|
71 |
#@ yarpp
|
72 |
msgid "Trust me. Let me use MyISAM features."
|
73 |
msgstr "Glauben Sie mir. Lassen Sie mich MyISAM-Features nutzen."
|
74 |
|
75 |
+
#: yarpp_options.php:66
|
76 |
#@ yarpp
|
77 |
msgid "The YARPP database had an error but has been fixed."
|
78 |
msgstr "Die YARPP-Datenbank hatte einen Fehler, der allerdings behoben werden konnte."
|
79 |
|
80 |
+
#: yarpp_options.php:68
|
81 |
#@ yarpp
|
82 |
msgid "The YARPP database has an error which could not be fixed."
|
83 |
msgstr "Die YARPP-Datenbank hat einen Fehler, der nicht behoben werden kann."
|
84 |
|
85 |
+
#: yarpp_options.php:139
|
86 |
+
#: yarpp_options.php:156
|
87 |
+
#: yarpp_options.php:168
|
88 |
#@ yarpp
|
89 |
msgid "do not consider"
|
90 |
msgstr "nicht berücksichtigen"
|
91 |
|
92 |
+
#: yarpp_options.php:140
|
93 |
+
#: yarpp_options.php:157
|
94 |
+
#: yarpp_options.php:170
|
95 |
#@ yarpp
|
96 |
msgid "consider"
|
97 |
msgstr "berücksichtigen"
|
98 |
|
99 |
+
#: yarpp_options.php:158
|
100 |
#@ yarpp
|
101 |
msgid "consider with extra weight"
|
102 |
msgstr "besonders berücksichtigen"
|
103 |
|
104 |
+
#: yarpp_options.php:240
|
105 |
#@ yarpp
|
106 |
msgid "Yet Another Related Posts Plugin Options"
|
107 |
msgstr "YARPP Einstellungen"
|
108 |
|
109 |
+
#: yarpp_options.php:275
|
110 |
#@ yarpp
|
111 |
msgid "\"The Pool\""
|
112 |
msgstr "\"Datenbasis\""
|
113 |
|
114 |
+
#: yarpp_options.php:277
|
115 |
#@ yarpp
|
116 |
msgid "\"The Pool\" refers to the pool of posts and pages that are candidates for display as related to the current entry."
|
117 |
msgstr "Das Plugin berücksichtigt alle Artikel und Seiten, die in dieser \"Datenbasis\" aufgeführt (oder nicht ausgeschlossen) sind."
|
118 |
|
119 |
+
#: yarpp_options.php:282
|
120 |
#@ yarpp
|
121 |
msgid "Disallow by category:"
|
122 |
msgstr "Kategorien ausschließen:"
|
123 |
|
124 |
+
#: yarpp_options.php:284
|
125 |
#@ yarpp
|
126 |
msgid "Disallow by tag:"
|
127 |
msgstr "Tags ausschließen:"
|
128 |
|
129 |
+
#: yarpp_options.php:287
|
130 |
#@ yarpp
|
131 |
msgid "Show password protected posts?"
|
132 |
msgstr "Durch ein Passwort gesicherte Artikel anzeigen?"
|
133 |
|
134 |
+
#: yarpp_options.php:327
|
135 |
#@ yarpp
|
136 |
msgid "Show only previous posts?"
|
137 |
msgstr "Nur in der Vergangenheit liegende Artikel berücksichtigen?"
|
138 |
|
139 |
+
#: yarpp_options.php:308
|
140 |
#@ yarpp
|
141 |
msgid "\"Relatedness\" options"
|
142 |
msgstr "Ähnlichkeitseinstellungen"
|
143 |
|
144 |
+
#: yarpp_options.php:311
|
145 |
#, php-format
|
146 |
#@ yarpp
|
147 |
msgid "YARPP is different than the <a href=\"http://wasabi.pbwiki.com/Related%20Entries\">previous plugins it is based on</a> as it limits the related posts list by (1) a maximum number and (2) a <em>match threshold</em>."
|
148 |
msgstr "YARPP funktioniert ein wenig anders als <a href=\"http://wasabi.pbwiki.com/Related%20Entries\">andere Plugins mit ähnlicher Funktionalität</a>: YARPP berücksichtigt nicht nur die von Ihnen angegebene maximale Anzahl von Beiträgen, sondern auch den Wert \"Relevanz\"."
|
149 |
|
150 |
+
#: yarpp_options.php:311
|
151 |
+
#: yarpp_options.php:326
|
152 |
+
#: yarpp_options.php:419
|
153 |
+
#: yarpp_options.php:424
|
154 |
+
#: yarpp_options.php:471
|
155 |
+
#: yarpp_options.php:488
|
156 |
+
#: yarpp_options.php:489
|
157 |
+
#: yarpp_options.php:493
|
158 |
+
#: yarpp_options.php:539
|
159 |
#@ yarpp
|
160 |
msgid "more>"
|
161 |
msgstr "?"
|
162 |
|
163 |
+
#: yarpp_options.php:317
|
164 |
#@ yarpp
|
165 |
msgid "Match threshold:"
|
166 |
msgstr "Relevanz:"
|
167 |
|
168 |
+
#: yarpp_options.php:318
|
169 |
#@ yarpp
|
170 |
msgid "Titles: "
|
171 |
msgstr "Überschriften:"
|
172 |
|
173 |
+
#: yarpp_options.php:320
|
174 |
#@ yarpp
|
175 |
msgid "Bodies: "
|
176 |
msgstr "Textkörper:"
|
177 |
|
178 |
+
#: yarpp_options.php:322
|
179 |
#@ yarpp
|
180 |
msgid "Tags: "
|
181 |
msgstr "Tags:"
|
182 |
|
183 |
+
#: yarpp_options.php:324
|
184 |
#@ yarpp
|
185 |
msgid "Categories: "
|
186 |
msgstr "Kategorien:"
|
187 |
|
188 |
+
#: yarpp_options.php:326
|
189 |
#@ yarpp
|
190 |
msgid "Cross-relate posts and pages?"
|
191 |
msgstr "Artikel und Seiten gemeinsam ausgeben?"
|
192 |
|
193 |
+
#: yarpp_options.php:326
|
194 |
#@ yarpp
|
195 |
msgid "When the \"Cross-relate posts and pages\" option is selected, the <code>related_posts()</code>, <code>related_pages()</code>, and <code>related_entries()</code> all will give the same output, returning both related pages and posts."
|
196 |
msgstr "Ist die Option \"Artikel und Seiten gemeinsam ausgeben\" aktiviert, geben die Funktionen <code>related_posts()</code>, <code>related_pages()</code>, und <code>related_entries()</code> dasselbe aus: In den ähnlichen Beiträgen tauchen sowohl Artikel als auch Seiten auf!"
|
197 |
|
198 |
+
#: yarpp_options.php:414
|
199 |
#@ yarpp
|
200 |
msgid "Display options <small>for your website</small>"
|
201 |
msgstr "Darstellung <small>(Website)</small>"
|
202 |
|
203 |
+
#: yarpp_options.php:419
|
204 |
#@ yarpp
|
205 |
msgid "Automatically display related posts?"
|
206 |
msgstr "Ähnliche Beiträge automatisch anzeigen?"
|
207 |
|
208 |
+
#: yarpp_options.php:419
|
209 |
#@ yarpp
|
210 |
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."
|
211 |
msgstr "Wenn aktiviert, hängt YARPP die Ausgabe ähnlicher Beiträge einfach an den aktuellen Artikel an. Ist sie deaktiviert, müssen Sie sich um die Darstellung im Template mit den Funktionen <code>related_posts()</code> oder Varianten (<code>related_pages()</code> oder <code>related_entries()</code>) selbst kümmern."
|
212 |
|
213 |
+
#: yarpp_options.php:420
|
214 |
#@ yarpp
|
215 |
msgid "Website display code example"
|
216 |
msgstr "Quellcode-Beispiel für die Website-Anzeige"
|
217 |
|
218 |
+
#: yarpp_options.php:420
|
219 |
+
#: yarpp_options.php:490
|
220 |
#@ yarpp
|
221 |
msgid "(Update options to reload.)"
|
222 |
msgstr "Um Ihre Einstellungen hier zu sehen, müssen Sie die Einstellungen vorher sichern!"
|
223 |
|
224 |
+
#: yarpp_options.php:423
|
225 |
+
#: yarpp_options.php:492
|
226 |
#@ yarpp
|
227 |
msgid "Maximum number of related posts:"
|
228 |
msgstr "Maximale Anzahl von Beiträgen:"
|
229 |
|
230 |
+
#: yarpp_options.php:436
|
231 |
#@ yarpp
|
232 |
msgid "Before / after related entries:"
|
233 |
msgstr "Quellcode vor/nach den ähnlichen Beiträgen:"
|
234 |
|
235 |
+
#: yarpp_options.php:437
|
236 |
+
#: yarpp_options.php:442
|
237 |
+
#: yarpp_options.php:451
|
238 |
+
#: yarpp_options.php:506
|
239 |
+
#: yarpp_options.php:511
|
240 |
+
#: yarpp_options.php:520
|
241 |
#@ yarpp
|
242 |
msgid "For example:"
|
243 |
msgstr "Beispiel:"
|
244 |
|
245 |
+
#: yarpp_options.php:441
|
246 |
+
#: yarpp_options.php:510
|
247 |
#@ yarpp
|
248 |
msgid "Before / after each related entry:"
|
249 |
msgstr "Quellcode vor/nach den jeweiligen Beiträgen:"
|
250 |
|
251 |
+
#: yarpp_options.php:445
|
252 |
+
#: yarpp_options.php:514
|
253 |
#@ yarpp
|
254 |
msgid "Show excerpt?"
|
255 |
msgstr "Textausschnitt anzeigen?"
|
256 |
|
257 |
+
#: yarpp_options.php:446
|
258 |
+
#: yarpp_options.php:515
|
259 |
#@ yarpp
|
260 |
msgid "Excerpt length (No. of words):"
|
261 |
msgstr "Länge des Textausschnitts (Anzahl der Wörter):"
|
262 |
|
263 |
+
#: yarpp_options.php:450
|
264 |
#@ yarpp
|
265 |
msgid "Before / after (Excerpt):"
|
266 |
msgstr "Quellcode vor/nach den jeweiligen Textausschnitten:"
|
267 |
|
268 |
+
#: yarpp_options.php:456
|
269 |
+
#: yarpp_options.php:525
|
270 |
#@ yarpp
|
271 |
msgid "Order results:"
|
272 |
msgstr "Anzeigereihenfolge:"
|
273 |
|
274 |
+
#: yarpp_options.php:458
|
275 |
+
#: yarpp_options.php:527
|
276 |
#@ yarpp
|
277 |
msgid "score (high relevance to low)"
|
278 |
msgstr "Relevanz (höchste nach niedrigste)"
|
279 |
|
280 |
+
#: yarpp_options.php:459
|
281 |
+
#: yarpp_options.php:528
|
282 |
#@ yarpp
|
283 |
msgid "score (low relevance to high)"
|
284 |
msgstr "Relevanz (niedrigste nach höchste)"
|
285 |
|
286 |
+
#: yarpp_options.php:460
|
287 |
+
#: yarpp_options.php:529
|
288 |
#@ yarpp
|
289 |
msgid "date (new to old)"
|
290 |
msgstr "Zeitstempel (aktuell nach alt)"
|
291 |
|
292 |
+
#: yarpp_options.php:461
|
293 |
+
#: yarpp_options.php:530
|
294 |
#@ yarpp
|
295 |
msgid "date (old to new)"
|
296 |
msgstr "Zeitstempel (alt nach aktuell)"
|
297 |
|
298 |
+
#: yarpp_options.php:462
|
299 |
+
#: yarpp_options.php:531
|
300 |
#@ yarpp
|
301 |
msgid "title (alphabetical)"
|
302 |
msgstr "Überschrift (A-Z)"
|
303 |
|
304 |
+
#: yarpp_options.php:463
|
305 |
+
#: yarpp_options.php:532
|
306 |
#@ yarpp
|
307 |
msgid "title (reverse alphabetical)"
|
308 |
msgstr "Überschrift (Z-A)"
|
309 |
|
310 |
+
#: yarpp_options.php:468
|
311 |
+
#: yarpp_options.php:537
|
312 |
#@ yarpp
|
313 |
msgid "Default display if no results:"
|
314 |
msgstr "Quellcode bei 0 relevanten Artikeln:"
|
315 |
|
316 |
#: includes.php:245
|
317 |
+
#: yarpp_options.php:470
|
318 |
+
#: yarpp_options.php:539
|
319 |
#@ yarpp
|
320 |
msgid "Help promote Yet Another Related Posts Plugin?"
|
321 |
msgstr "YARPP dezent bewerben?"
|
322 |
|
323 |
+
#: yarpp_options.php:472
|
324 |
+
#: yarpp_options.php:540
|
325 |
#, php-format
|
326 |
#@ yarpp
|
327 |
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."
|
328 |
msgstr "Wenn aktiviert, steht eine kurzer Hinweis zu Autor und Plugin unter den Ergebnissen der ähnlichen Beiträge. Der Code %s wird hinzugefügt."
|
329 |
|
330 |
+
#: yarpp_options.php:482
|
331 |
#@ yarpp
|
332 |
msgid "Display options <small>for RSS</small>"
|
333 |
msgstr "Darstellung <small>(RSS)</small>"
|
334 |
|
335 |
+
#: yarpp_options.php:488
|
336 |
#@ yarpp
|
337 |
msgid "Display related posts in feeds?"
|
338 |
msgstr "Ähnliche Beiträge in Newsfeeds anzeigen?"
|
339 |
|
340 |
+
#: yarpp_options.php:489
|
341 |
#@ yarpp
|
342 |
msgid "Display related posts in the descriptions?"
|
343 |
msgstr "Ähnliche Beiträge in der Beschreibung anzeigen?"
|
344 |
|
345 |
+
#: yarpp_options.php:489
|
346 |
#@ yarpp
|
347 |
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."
|
348 |
msgstr "Zeigt die ähnlichen Beiträge auch in der RSS Beschreibung an, nicht nur im Inhalt. Wenn Ihr Feed nur Textausschnitte anzeigt, dann wird nur Ihr Beschreibungsfeld genutzt. Diese Option muss aktiviert werden um ähnliche Beiträge in Ihren Feeds anzeigen zu können."
|
349 |
|
350 |
+
#: yarpp_options.php:490
|
351 |
#@ yarpp
|
352 |
msgid "RSS display code example"
|
353 |
msgstr "RSS-Anzeigebeispiel"
|
354 |
|
355 |
+
#: yarpp_options.php:505
|
356 |
#@ yarpp
|
357 |
msgid "Before / after related entries display:"
|
358 |
msgstr "Quellcode vor/nach den ähnlichen Beiträgen:"
|
359 |
|
360 |
+
#: yarpp_options.php:519
|
361 |
#@ yarpp
|
362 |
msgid "Before / after (excerpt):"
|
363 |
msgstr "Quellcode vor/nach dem Textauschnitt:"
|
364 |
|
365 |
+
#: yarpp_options.php:133
|
366 |
#@ yarpp
|
367 |
msgid "word"
|
368 |
msgstr "Wort"
|
369 |
|
370 |
+
#: yarpp_options.php:134
|
371 |
#@ yarpp
|
372 |
msgid "tag"
|
373 |
msgstr "Tag"
|
374 |
|
375 |
+
#: yarpp_options.php:135
|
376 |
#@ yarpp
|
377 |
msgid "category"
|
378 |
msgstr "Kategorie"
|
379 |
|
380 |
+
#: yarpp_options.php:142
|
381 |
+
#: yarpp_options.php:172
|
382 |
#, php-format
|
383 |
#@ yarpp
|
384 |
msgid "require at least one %s in common"
|
385 |
msgstr "zumindest ein %s gleich"
|
386 |
|
387 |
+
#: yarpp_options.php:144
|
388 |
+
#: yarpp_options.php:174
|
389 |
#, php-format
|
390 |
#@ yarpp
|
391 |
msgid "require more than one %s in common"
|
392 |
msgstr "mehr als ein %s gleich"
|
393 |
|
394 |
+
#: yarpp_options.php:97
|
395 |
#@ yarpp
|
396 |
msgid "Options saved!"
|
397 |
msgstr "Einstellungen gespeichert!"
|
398 |
|
399 |
+
#: yarpp_options.php:311
|
400 |
#@ yarpp
|
401 |
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."
|
402 |
msgstr "Umso höher Sie den Relevanz-Wert einstellen, desto weniger ähnliche Artikel werden angezeigt, da Sie die Auswahl beschränken. Der Standardwert ist 5. Um einen guten Wert zu finden, schauen Sie sich das Ergebnis Ihrer bisherigen ähnlichen Artikeln an. So finden Sie heraus, wie sie die Relevanz-Wert beeinflussen müssen um ein gutes Ergebnis zu erhalten. "
|
403 |
|
404 |
+
#: yarpp_options.php:550
|
405 |
#@ yarpp
|
406 |
msgid "Update options"
|
407 |
msgstr "Einstellungen aktualisieren"
|
408 |
|
409 |
+
#: yarpp_options.php:551
|
410 |
#@ yarpp
|
411 |
msgid "Do you really want to reset your configuration?"
|
412 |
msgstr "Einstellungen tatsächlich zurücksetzen?"
|
413 |
|
414 |
+
#: yarpp_options.php:551
|
415 |
#@ yarpp
|
416 |
msgid "Reset options"
|
417 |
msgstr "Einstellungen zurücksetzen"
|
436 |
msgid "Example post "
|
437 |
msgstr "Beispiel Artikel"
|
438 |
|
439 |
+
#: yarpp_options.php:21
|
440 |
#@ yarpp
|
441 |
msgid "Please move the YARPP template files into your theme to complete installation. Simply move the sample template files (currently in <code>wp-content/plugins/yet-another-related-posts-plugin/yarpp-templates/</code>) to the <code>TEMPLATEPATH</code> directory."
|
442 |
msgstr "Bitte kopieren Sie die YARPP Template-Dateien in Ihr Design um die Installation zu beenden. Kopieren Sie einfach die Beispieldateien die Sie üblicherweise hier finden: <code>wp-content/plugins/yet-another-related-posts-plugin/yarpp-templates/</code>) zu Ihrem <code>TEMPLATEPATH</code> Verzeichnis."
|
443 |
|
444 |
+
#: yarpp_options.php:26
|
445 |
#@ yarpp
|
446 |
msgid "No YARPP template files were found in your theme (<code>TEMPLATEPATH</code>) so the templating feature has been turned off."
|
447 |
msgstr "Es wurden keine YARPP Template-Dateien in Ihrem Design gefunden (<code>TEMPLATEPATH</code>) aus diesem Grund wurden diese Option deaktiviert."
|
448 |
|
449 |
+
#: yarpp_options.php:69
|
450 |
#@ yarpp
|
451 |
msgid "Please try <A>manual SQL setup</a>."
|
452 |
msgstr "Bitte aktualisieren Sie die <A>SQL-Datenbank manuell</a>."
|
453 |
|
454 |
+
#: yarpp_options.php:255
|
455 |
#@ yarpp
|
456 |
msgid "Follow <a href=\"http://twitter.com/yarpp/\">Yet Another Related Posts Plugin on Twitter</a>"
|
457 |
msgstr "Folge <a href=\"http://twitter.com/yarpp/\">Yet Another Related Posts Plugin auf Twitter</a>"
|
458 |
|
459 |
+
#: yarpp_options.php:291
|
460 |
#@ yarpp
|
461 |
msgid "day(s)"
|
462 |
msgstr "Tag(e)"
|
463 |
|
464 |
+
#: yarpp_options.php:292
|
465 |
#@ yarpp
|
466 |
msgid "week(s)"
|
467 |
msgstr "Woche(n)"
|
468 |
|
469 |
+
#: yarpp_options.php:293
|
470 |
#@ yarpp
|
471 |
msgid "month(s)"
|
472 |
msgstr "Monat(e)"
|
473 |
|
474 |
+
#: yarpp_options.php:295
|
475 |
#@ yarpp
|
476 |
msgid "Show only posts from the past NUMBER UNITS"
|
477 |
msgstr "Zeige nur in der Vergangenheit liegende Artikel"
|
478 |
|
479 |
+
#: yarpp_options.php:394
|
480 |
#@ yarpp
|
481 |
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."
|
482 |
msgstr "Es steht eine neue Beta (%s) von Yet Another Related Posts Plugin zur Verfügung. Sie können sie <a href=\"%s\">hier heruntergeladen</a> Dies geschieht auf eigene Gefahr."
|
483 |
|
484 |
+
#: yarpp_options.php:399
|
485 |
#@ yarpp
|
486 |
msgid "There is a new version (VERSION) of Yet Another Related Posts Plugin available! You can <A>download it here</a>."
|
487 |
msgstr "Es steht eine neue Version (Version) von Yet Another Related Posts Plugin zur Verfügung! Sie können sie <A>hier herunterladen</a> ."
|
488 |
|
489 |
#: includes.php:236
|
490 |
+
#: yarpp_options.php:424
|
491 |
+
#: yarpp_options.php:493
|
492 |
#@ yarpp
|
493 |
msgid "Display using a custom template file"
|
494 |
msgstr "Eine eigene Template-Datei verwenden"
|
495 |
|
496 |
+
#: yarpp_options.php:493
|
497 |
#@ yarpp
|
498 |
msgid "NEW!"
|
499 |
msgstr "NEU!"
|
500 |
|
501 |
+
#: yarpp_options.php:424
|
502 |
+
#: yarpp_options.php:493
|
503 |
#@ yarpp
|
504 |
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."
|
505 |
msgstr "Diese erweiterte Einstellung gibt Ihnen die volle Kontrolle, wie Ihre ähnlichen Artikel angezeigt werden. Template-Dateien (gespeichert in Ihrem Design Ordner) sind in PHP geschrieben."
|
506 |
|
507 |
#: includes.php:237
|
508 |
+
#: yarpp_options.php:426
|
509 |
+
#: yarpp_options.php:495
|
510 |
#@ yarpp
|
511 |
msgid "Template file:"
|
512 |
msgstr "Template Datei:"
|
513 |
|
514 |
+
#: yarpp_options.php:437
|
515 |
+
#: yarpp_options.php:442
|
516 |
+
#: yarpp_options.php:451
|
517 |
+
#: yarpp_options.php:506
|
518 |
+
#: yarpp_options.php:511
|
519 |
+
#: yarpp_options.php:520
|
520 |
#@ yarpp
|
521 |
msgid " or "
|
522 |
msgstr "oder"
|
523 |
|
524 |
+
#: yarpp_options.php:488
|
525 |
#@ yarpp
|
526 |
msgid "This option displays related posts at the end of each item in your RSS and Atom feeds. No template changes are needed."
|
527 |
msgstr "Diese Option zeigt ähnliche Artikel am Ende Ihrer RSS oder Atom Feeds. Es werden keine Template Veränderungen benötigt."
|
551 |
msgid "Related entries may be displayed once you save your entry"
|
552 |
msgstr "Ähnliche Beiträge werden nach dem Speichern angezeigt"
|
553 |
|
554 |
+
#: yarpp_options.php:272
|
555 |
+
#: yarpp_options.php:305
|
556 |
+
#: yarpp_options.php:411
|
557 |
+
#: yarpp_options.php:479
|
558 |
#@ default
|
559 |
msgid "Click to toggle"
|
560 |
msgstr ""
|
lang/yarpp-el_CY.po
CHANGED
@@ -74,560 +74,560 @@ msgid "Example post "
|
|
74 |
msgstr "Παράδειγμα άρθρου"
|
75 |
|
76 |
#: magic.php:336
|
77 |
-
#:
|
78 |
-
#:
|
79 |
#@ yarpp
|
80 |
msgid "Related posts brought to you by <a href='%s'>Yet Another Related Posts Plugin</a>."
|
81 |
msgstr "Τα Σχετικά Άρθρα είναι κατασκεύασμα του <a href='%s'>Yet Another Related Posts Plugin</a>."
|
82 |
|
83 |
-
#:
|
84 |
#@ yarpp
|
85 |
msgid "Please move the YARPP template files into your theme to complete installation. Simply move the sample template files (currently in <code>wp-content/plugins/yet-another-related-posts-plugin/yarpp-templates/</code>) to the <code>TEMPLATEPATH</code> directory."
|
86 |
msgstr "Για να ολοκληρωθεί η εγκατάσταση τα πρότυπα αρχεία στον κατάλογο του τρέχοντος θέματος του blog σας. Απλά μεταφέρετε τα αρχεία που βρίσκονται στον φάκελο <code>wp-content/plugins/yet-another-related-posts-plugin/yarpp-templates/</code> στον φάκελο <code>TEMPLATEPATH</code>."
|
87 |
|
88 |
-
#:
|
89 |
#@ yarpp
|
90 |
msgid "No YARPP template files were found in your theme (<code>TEMPLATEPATH</code>) so the templating feature has been turned off."
|
91 |
msgstr "Δεν βρέθηκαν πρότυπα αρχεία YARPP στο τρέχον θέμα <code>TEMPLATEPATH</code> έτσι η δυνατότητα αυτή έχει απενεργοποιηθεί."
|
92 |
|
93 |
-
#:
|
94 |
#@ yarpp
|
95 |
msgid "The MyISAM check has been overridden. You may now use the \"consider titles\" and \"consider bodies\" relatedness criteria."
|
96 |
msgstr "Ο έλεγχος MyISAM παρακάμθηκε. Τώρα μπορείτε να χρησιμοποιήσετε τα κριτήρια σχετικότητας \"τίτλοι\" και \"bodies\"."
|
97 |
|
98 |
-
#:
|
99 |
#, php-format
|
100 |
#@ yarpp
|
101 |
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."
|
102 |
msgstr "Τα κριτήρια σχετικότητας \"τίτλοι\" και \"bodies\" χρειάζονται τον <code>%s</code> πίνακα για την χρήση του <a href='http://dev.mysql.com/doc/refman/5.0/en/storage-engines.html'>μηχανισμό αποθήκευσης MyISAM </a>. Ο πίνακας όμως φαίνεται ότι χρησιμοποιεί τον μηχανισμό <code>%s</code>. Αυτές οι δύο επιλογές έχουν απενεργοποιηθεί."
|
103 |
|
104 |
-
#:
|
105 |
#, php-format
|
106 |
#@ yarpp
|
107 |
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."
|
108 |
msgstr "Για την επαναφορά των χαρακτηριστικών πρέπει να επικαιροποιήσετε τον πίνακα <code>%s</code> εκτελώντας την εντολή SQL: <code>ALTER TABLE `%s` ENGINE = MyISAM;</code> . Δεν θα διαγραφούν δεδομένα αλλά θα υπάρξουν απώλειες στην απόδοση."
|
109 |
|
110 |
-
#:
|
111 |
#, php-format
|
112 |
#@ yarpp
|
113 |
msgid "If, despite this check, you are sure that <code>%s</code> is using the MyISAM engine, press this magic button:"
|
114 |
msgstr "Αν παρά τον έλεγχο αυτό είστε σίγουροι ότι χρησιμοποιέι την MyISAM engine τότε πιέστε αυτό το μαγικό πλήκτρο:"
|
115 |
|
116 |
-
#:
|
117 |
#@ yarpp
|
118 |
msgid "Trust me. Let me use MyISAM features."
|
119 |
msgstr "Δείξε εμπιστοσύνη. Επέτρεψε μου να χρησιμοποιήσω το χαρακτηριστικό MyISAM."
|
120 |
|
121 |
-
#:
|
122 |
#@ yarpp
|
123 |
msgid "The YARPP database had an error but has been fixed."
|
124 |
msgstr "Η βάση δεδομένων του YARPP είχε ένα λάθος το οποίο έχει διορθωθεί."
|
125 |
|
126 |
-
#:
|
127 |
#@ yarpp
|
128 |
msgid "The YARPP database has an error which could not be fixed."
|
129 |
msgstr "Η βάση δεδομένων του YARPP έχει ένα σφάλμα το οποίο δεν μπορεί να παρακαμθει."
|
130 |
|
131 |
-
#:
|
132 |
#@ yarpp
|
133 |
msgid "Please try <A>manual SQL setup</a>."
|
134 |
msgstr "Παρακαλώ δοκιμάστε την \\\"χειροκίνητη\\\" <A>εγκατάσταση SQL.</a>"
|
135 |
|
136 |
-
#:
|
137 |
#@ yarpp
|
138 |
msgid "Options saved!"
|
139 |
msgstr "Οι επιλογές που έγιναν έχουν αποθηκευτεί!"
|
140 |
|
141 |
-
#:
|
142 |
-
#:
|
143 |
-
#:
|
144 |
-
#:
|
145 |
#@ yarpp
|
146 |
msgid "Related posts cache status"
|
147 |
msgstr "Κατάσταση προσωρινής μνήμης Σχετικών Άρθρων"
|
148 |
|
149 |
-
#:
|
150 |
#@ yarpp
|
151 |
msgid "If you updated the \"pool\" options or \"relatedness\" options displayed, please rebuild your cache now from the <A>related posts status pane</a>."
|
152 |
msgstr "Αν έχετε κάνει update στις επιλογές του \"pool\" ή της \"σχετικότητας\" τότε πρέπει να επαναδημιουργήσετε την προσωρινή μνήμη από το <A>Καθεστώς προσωρινής μνήμης σχετικών άρθρων</a>."
|
153 |
|
154 |
-
#:
|
155 |
#@ yarpp
|
156 |
msgid "Your related posts cache is incomplete. Please build your cache from the <A>related posts status pane</a>."
|
157 |
msgstr "Η προσωρινή μνήμη των σχετικών άρθρων δεν ΄΄εχει συμπληρωθεί. Πρέπει να επαναδημιουργήσετε την προσωρινή μνήμη από το <A>Καθεστώς προσωρινής μνήμης σχετικών άρθρων</a>."
|
158 |
|
159 |
-
#:
|
160 |
#@ yarpp
|
161 |
msgid "Your related posts cache is empty. Please build your cache from the <A>related posts status pane</a>."
|
162 |
msgstr "Η προσωρινή μνήμη των σχετικών άρθρων είναι κενή. Παρακαλούμε δημιουργήστε την από το <A>Καθεστώς προσωρινής μνήμης σχετικών άρθρων</a>. "
|
163 |
|
164 |
-
#:
|
165 |
#@ yarpp
|
166 |
msgid "word"
|
167 |
msgstr "λέξη/εις"
|
168 |
|
169 |
-
#:
|
170 |
#@ yarpp
|
171 |
msgid "tag"
|
172 |
msgstr "ετικέτα/ες"
|
173 |
|
174 |
-
#:
|
175 |
#@ yarpp
|
176 |
msgid "category"
|
177 |
msgstr "κατηγορία/ες"
|
178 |
|
179 |
-
#:
|
180 |
-
#:
|
181 |
-
#:
|
182 |
#@ yarpp
|
183 |
msgid "do not consider"
|
184 |
msgstr "να μην ληφθούν υπόψιν"
|
185 |
|
186 |
-
#:
|
187 |
-
#:
|
188 |
-
#:
|
189 |
#@ yarpp
|
190 |
msgid "consider"
|
191 |
msgstr "να ληφθούν υπόψιν"
|
192 |
|
193 |
-
#:
|
194 |
-
#:
|
195 |
#, php-format
|
196 |
#@ yarpp
|
197 |
msgid "require at least one %s in common"
|
198 |
msgstr "Απαιτείται τουλάχιστον μία κοινή %s"
|
199 |
|
200 |
-
#:
|
201 |
-
#:
|
202 |
#, php-format
|
203 |
#@ yarpp
|
204 |
msgid "require more than one %s in common"
|
205 |
msgstr "Aπαιτείται περισσότερες από μία κοινές %s"
|
206 |
|
207 |
-
#:
|
208 |
#@ yarpp
|
209 |
msgid "consider with extra weight"
|
210 |
msgstr "να ληφθεί ιδιαίτερα υπόψιν"
|
211 |
|
212 |
-
#:
|
213 |
#@ yarpp
|
214 |
msgid "Yet Another Related Posts Plugin version history (RSS 2.0)"
|
215 |
msgstr "Yet Another Related Posts Plugin ιστορικό εκδόσεων (RSS 2.0)"
|
216 |
|
217 |
-
#:
|
218 |
#@ yarpp
|
219 |
msgid "Yet Another Related Posts Plugin Options"
|
220 |
msgstr "Ρυθμίσεις του Yet Another Related Posts Plugin"
|
221 |
|
222 |
-
#:
|
223 |
#@ yarpp
|
224 |
msgid "Follow <a href=\"http://twitter.com/yarpp/\">Yet Another Related Posts Plugin on Twitter</a>"
|
225 |
msgstr "Follow <a href=\"http://twitter.com/yarpp/\">Yet Another Related Posts Plugin στο Twitter</a>"
|
226 |
|
227 |
-
#:
|
228 |
#@ yarpp
|
229 |
msgid "\"The Pool\""
|
230 |
msgstr "\"The Pool\""
|
231 |
|
232 |
-
#:
|
233 |
#@ yarpp
|
234 |
msgid "\"The Pool\" refers to the pool of posts and pages that are candidates for display as related to the current entry."
|
235 |
msgstr "Η \"The Pool\" αναφέρεται στο σύνολο των υποψήφιων για εμφάνιση σχετικών άρθρων."
|
236 |
|
237 |
-
#:
|
238 |
#@ yarpp
|
239 |
msgid "Disallow by category:"
|
240 |
msgstr "Απαγόρευση βάσει της κατηγορίας:"
|
241 |
|
242 |
-
#:
|
243 |
#@ yarpp
|
244 |
msgid "Disallow by tag:"
|
245 |
msgstr "Απαγόρευση βάσει της ετικέτας:"
|
246 |
|
247 |
-
#:
|
248 |
#@ yarpp
|
249 |
msgid "Show password protected posts?"
|
250 |
msgstr "Εμφάνιση των προστατευμένων με κωδικό άρθρων;"
|
251 |
|
252 |
-
#:
|
253 |
#@ yarpp
|
254 |
msgid "day(s)"
|
255 |
msgstr "ημέρα(ες)"
|
256 |
|
257 |
-
#:
|
258 |
#@ yarpp
|
259 |
msgid "week(s)"
|
260 |
msgstr "εβδομάδα(ες)"
|
261 |
|
262 |
-
#:
|
263 |
#@ yarpp
|
264 |
msgid "month(s)"
|
265 |
msgstr "μήνα(ες)"
|
266 |
|
267 |
-
#:
|
268 |
#@ yarpp
|
269 |
msgid "Show only posts from the past NUMBER UNITS"
|
270 |
msgstr "Τα άρθρα να μήν είναι παλιότερα από NUMBER UNITS"
|
271 |
|
272 |
-
#:
|
273 |
#@ yarpp
|
274 |
msgid "\"Relatedness\" options"
|
275 |
msgstr "Επιλογές \"Σχετικότητας\""
|
276 |
|
277 |
-
#:
|
278 |
#, php-format
|
279 |
#@ yarpp
|
280 |
msgid "YARPP is different than the <a href=\"http://wasabi.pbwiki.com/Related%20Entries\">previous plugins it is based on</a> as it limits the related posts list by (1) a maximum number and (2) a <em>match threshold</em>."
|
281 |
msgstr "Το YARPP είναι διαφορετικό από <a href=\"http://wasabi.pbwiki.com/Related%20Entries\">προηγούμενα plugins</a> αφού δημιουργεί την λίστα των σχετικών άρθρων βάσει (1) έναν μέγιστο αριθμό και (2) ένα <em>όριο σχετικότητας</em>."
|
282 |
|
283 |
-
#:
|
284 |
-
#:
|
285 |
-
#:
|
286 |
-
#:
|
287 |
-
#:
|
288 |
-
#:
|
289 |
-
#:
|
290 |
-
#:
|
291 |
-
#:
|
292 |
-
#:
|
293 |
#@ yarpp
|
294 |
msgid "more>"
|
295 |
msgstr "περισσότερα>"
|
296 |
|
297 |
-
#:
|
298 |
#@ yarpp
|
299 |
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."
|
300 |
msgstr "Όσο πιο υψηλό είναι το όριο σχετικότητας τόσο περιορίζονται τα εμφανιζόμενα σχετικά άρθρα. Το default όριο σχετικότητας είναι 5. Για να προσαρμόσετε το κατάλληλο στο blog σας όριο σχετικότητας ελέγξτε τα εμφανιζόμενα αποτελέσματα και την βαθμολογία τους. "
|
301 |
|
302 |
-
#:
|
303 |
#@ yarpp
|
304 |
msgid "Match threshold:"
|
305 |
msgstr "'Ορια σχετικότητας"
|
306 |
|
307 |
-
#:
|
308 |
#@ yarpp
|
309 |
msgid "Titles: "
|
310 |
msgstr "Τίτλοι:"
|
311 |
|
312 |
-
#:
|
313 |
#@ yarpp
|
314 |
msgid "Bodies: "
|
315 |
msgstr "Bodies:"
|
316 |
|
317 |
-
#:
|
318 |
#@ yarpp
|
319 |
msgid "Tags: "
|
320 |
msgstr "Ετικέτες:"
|
321 |
|
322 |
-
#:
|
323 |
#@ yarpp
|
324 |
msgid "Categories: "
|
325 |
msgstr "Κατηγορίες:"
|
326 |
|
327 |
-
#:
|
328 |
#@ yarpp
|
329 |
msgid "Cross-relate posts and pages?"
|
330 |
msgstr "Διασταύρωση σχετικών άρθρων και σελίδων;"
|
331 |
|
332 |
-
#:
|
333 |
#@ yarpp
|
334 |
msgid "When the \"Cross-relate posts and pages\" option is selected, the <code>related_posts()</code>, <code>related_pages()</code>, and <code>related_entries()</code> all will give the same output, returning both related pages and posts."
|
335 |
msgstr "Όταν είναι επιλεγμένη τότε τα <code>related_posts()</code>, <code>related_pages()</code>, και <code>related_entries()</code> θα δώσουν το ίδιο αποτέλεσμα με σχετικά άρθρα και σελίδες."
|
336 |
|
337 |
-
#:
|
338 |
#@ yarpp
|
339 |
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."
|
340 |
msgstr "Έχει ήδη κυκλοφορήσει μια νέα έκδοση beta του Yet Another Related Posts Plugin. Μπορείτε και εσείς να το κατεβάσετε <a href=\"%s\">από εδώ</a> με δική σας ευθύνη."
|
341 |
|
342 |
-
#:
|
343 |
#@ yarpp
|
344 |
msgid "There is a new version (VERSION) of Yet Another Related Posts Plugin available! You can <A>download it here</a>."
|
345 |
msgstr "Έχει ήδη κυκλοφορήσει μια νέα έκδοση beta του Yet Another Related Posts Plugin! Κατεβάστε το από <A> εδώ</a>."
|
346 |
|
347 |
-
#:
|
348 |
#@ yarpp
|
349 |
msgid "Display options <small>for your website</small>"
|
350 |
msgstr "Επιλογές εμφάνισης <small>για το Blog</small>"
|
351 |
|
352 |
-
#:
|
353 |
#@ yarpp
|
354 |
msgid "Automatically display related posts?"
|
355 |
msgstr "Τα Σχετικά Άρθρα να εμφανίζονται αυτόματα;"
|
356 |
|
357 |
-
#:
|
358 |
#@ yarpp
|
359 |
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."
|
360 |
msgstr "Η επιλογή αυτή εμφανίζει αυτόματα την λίστα των σχετικών άρθρων αμέσως μετά από το εκάστοτε άρθρο. Αν είναι αποεπιλεγμένη τότε θα πρέπει να τοποθετήσετε χειροκίνητα των κώδικα <code>related_posts()</code> ή την μεταβλητή (<code>related_pages()</code> και <code>related_entries()</code>) στον κώδικα του θέματος σας."
|
361 |
|
362 |
-
#:
|
363 |
#@ yarpp
|
364 |
msgid "Website display code example"
|
365 |
msgstr "Παράδειγμα κώδικα εμφάνισης στο Website"
|
366 |
|
367 |
-
#:
|
368 |
-
#:
|
369 |
#@ yarpp
|
370 |
msgid "(Update options to reload.)"
|
371 |
msgstr "(Ενημερώστε τις επιλογές ώστε να γίνει επαναφόρτωση.)"
|
372 |
|
373 |
-
#:
|
374 |
-
#:
|
375 |
#@ yarpp
|
376 |
msgid "Maximum number of related posts:"
|
377 |
msgstr "Μέγιστος αριθμός εμφανισθέντων σχετικών άρθρων:"
|
378 |
|
379 |
-
#:
|
380 |
-
#:
|
381 |
#@ yarpp
|
382 |
msgid "Display using a custom template file"
|
383 |
msgstr "Η εμφάνιση να στηρίζεται σε δικό σας πρότυπο αρχείο"
|
384 |
|
385 |
-
#:
|
386 |
-
#:
|
387 |
-
#:
|
388 |
#@ yarpp
|
389 |
msgid "NEW!"
|
390 |
msgstr "ΝΕΟ!"
|
391 |
|
392 |
-
#:
|
393 |
-
#:
|
394 |
#@ yarpp
|
395 |
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."
|
396 |
msgstr "Αυτή η επιλογή σας δίνει την δυνατότητα να καθορίσεται την εμφάνιση των σχετικών άρθρων όπως εσείς θέλετε. Τα πρότυπα αρχεία που είναι αποθηκευμένα στο θέμα σας είναι γραμμένα σε PHP."
|
397 |
|
398 |
-
#:
|
399 |
-
#:
|
400 |
#@ yarpp
|
401 |
msgid "Template file:"
|
402 |
msgstr "Πρότυπο αρχείο:"
|
403 |
|
404 |
-
#:
|
405 |
#@ yarpp
|
406 |
msgid "Before / after related entries:"
|
407 |
msgstr "Πριν / Μετά από τα σχετικά άρθρα:"
|
408 |
|
409 |
-
#:
|
410 |
-
#:
|
411 |
-
#:
|
412 |
-
#:
|
413 |
-
#:
|
414 |
-
#:
|
415 |
#@ yarpp
|
416 |
msgid "For example:"
|
417 |
msgstr "Για παράδειγμα:"
|
418 |
|
419 |
-
#:
|
420 |
-
#:
|
421 |
-
#:
|
422 |
-
#:
|
423 |
-
#:
|
424 |
-
#:
|
425 |
#@ yarpp
|
426 |
msgid " or "
|
427 |
msgstr "ή"
|
428 |
|
429 |
-
#:
|
430 |
-
#:
|
431 |
#@ yarpp
|
432 |
msgid "Before / after each related entry:"
|
433 |
msgstr "Πριν / μετά από κάθε σχετικό άρθρο:"
|
434 |
|
435 |
-
#:
|
436 |
-
#:
|
437 |
#@ yarpp
|
438 |
msgid "Show excerpt?"
|
439 |
msgstr "Εμφάνιση αποσπάσματος;"
|
440 |
|
441 |
-
#:
|
442 |
-
#:
|
443 |
#@ yarpp
|
444 |
msgid "Excerpt length (No. of words):"
|
445 |
msgstr "Μέγεθος αποσπάσματος (Αριθμός λέξεων):"
|
446 |
|
447 |
-
#:
|
448 |
#@ yarpp
|
449 |
msgid "Before / after (Excerpt):"
|
450 |
msgstr "Πρίν / Μετά (απόσπασμα):"
|
451 |
|
452 |
-
#:
|
453 |
-
#:
|
454 |
#@ yarpp
|
455 |
msgid "Order results:"
|
456 |
msgstr "Σειρά αποτελεσμάτων:"
|
457 |
|
458 |
-
#:
|
459 |
-
#:
|
460 |
#@ yarpp
|
461 |
msgid "score (high relevance to low)"
|
462 |
msgstr "αποτέλεσμα (υψηλή προς χαμηλή σχετικότητα)"
|
463 |
|
464 |
-
#:
|
465 |
-
#:
|
466 |
#@ yarpp
|
467 |
msgid "score (low relevance to high)"
|
468 |
msgstr "αποτέλεσμα (χαμηλή προς υψηλή σχετικότητα)"
|
469 |
|
470 |
-
#:
|
471 |
-
#:
|
472 |
#@ yarpp
|
473 |
msgid "date (new to old)"
|
474 |
msgstr "ημερομηνία (νεότερο στο παλιότερο)"
|
475 |
|
476 |
-
#:
|
477 |
-
#:
|
478 |
#@ yarpp
|
479 |
msgid "date (old to new)"
|
480 |
msgstr "ημερομηνία (παλιότερο στο νεότερο)"
|
481 |
|
482 |
-
#:
|
483 |
-
#:
|
484 |
#@ yarpp
|
485 |
msgid "title (alphabetical)"
|
486 |
msgstr "τίτλος (αλφαβητικά)"
|
487 |
|
488 |
-
#:
|
489 |
-
#:
|
490 |
#@ yarpp
|
491 |
msgid "title (reverse alphabetical)"
|
492 |
msgstr "τίτλος (αντίστροφη αλφαβητική σειρά)"
|
493 |
|
494 |
-
#:
|
495 |
-
#:
|
496 |
#@ yarpp
|
497 |
msgid "Default display if no results:"
|
498 |
msgstr "Αν δεν υπάρχουν σχετικά άρθρα θα εμφανίζονται:"
|
499 |
|
500 |
-
#:
|
501 |
-
#:
|
502 |
#@ yarpp
|
503 |
msgid "Help promote Yet Another Related Posts Plugin?"
|
504 |
msgstr "Να εμφανίζονται credits του plugin;"
|
505 |
|
506 |
-
#:
|
507 |
-
#:
|
508 |
#, php-format
|
509 |
#@ yarpp
|
510 |
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."
|
511 |
msgstr "Η επιλογή αυτή προσθέτει των κώδικα %s. Αν θέλετε ενεργοποιήστε τον, ενημερώστε την αλλαγή αυτή και δείτε τον κώδικα στα δεξιά. Τα Links και οι δωρεές είναι ευπρόδεκτες."
|
512 |
|
513 |
-
#:
|
514 |
#@ yarpp
|
515 |
msgid "Display options <small>for RSS</small>"
|
516 |
msgstr "Επιλογές εμφάνισης <small>για το RSS</small>"
|
517 |
|
518 |
-
#:
|
519 |
#@ yarpp
|
520 |
msgid "Display related posts in feeds?"
|
521 |
msgstr "Εμφάνιση σχετικών άρθρων στα feeds;"
|
522 |
|
523 |
-
#:
|
524 |
#@ yarpp
|
525 |
msgid "This option displays related posts at the end of each item in your RSS and Atom feeds. No template changes are needed."
|
526 |
msgstr "Αυτή η επιλογή εμφανίζει τα σχετικά άρθρα στο τέλος κάθε άρθρου στο RSS και στο Atom Feeds. Δεν απαιτείται καμία αλλαγή του αρχείου εμφάνισης."
|
527 |
|
528 |
-
#:
|
529 |
#@ yarpp
|
530 |
msgid "Display related posts in the descriptions?"
|
531 |
msgstr "Εμφάνιση σχετικών άρθρων στις περιγραφές;"
|
532 |
|
533 |
-
#:
|
534 |
#@ yarpp
|
535 |
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."
|
536 |
msgstr "Η επιλογή αυτή εμφανίζει τα σχετικά άρθρα στο πεδίο της περιγραφής του RSS και όχι μόνο στο περιεχόμενο. Αν τα feeds σας είναι ρυθμισμένα να εμφανίζουν μόνο ένα απόσπασμα του άρθρου τότε χρησιμοποιείται μόνο το πεδίο της περιγραφής, άρα είναι απαραίτητο γενικά."
|
537 |
|
538 |
-
#:
|
539 |
#@ yarpp
|
540 |
msgid "RSS display code example"
|
541 |
msgstr "Παράδειγμα κώδικα εμφάνισης του RSS"
|
542 |
|
543 |
-
#:
|
544 |
#@ yarpp
|
545 |
msgid "Before / after related entries display:"
|
546 |
msgstr "Πριν / μετά από την εμφάνιση των σχετικών άρθρων:"
|
547 |
|
548 |
-
#:
|
549 |
#@ yarpp
|
550 |
msgid "Before / after (excerpt):"
|
551 |
msgstr "Πριν / μετά (απόσπασμα):"
|
552 |
|
553 |
-
#:
|
554 |
#@ yarpp
|
555 |
msgid "Advanced"
|
556 |
msgstr "Για προχωρημένους"
|
557 |
|
558 |
-
#:
|
559 |
#@ yarpp
|
560 |
msgid "Show cache status"
|
561 |
msgstr "Εμφάνιση του καθεστώτος προσωρινής μνήμης"
|
562 |
|
563 |
-
#:
|
564 |
#@ yarpp
|
565 |
msgid "When the cache is incomplete, compute related posts on the fly?"
|
566 |
msgstr "Όταν η προσωρινή μνήμη δεν έχει συμπληρωθεί τότε ο υπολογισμός των σχετικών άρθρων να γίνεται με πιο χαλαρα κριτήρια;"
|
567 |
|
568 |
-
#:
|
569 |
#@ yarpp
|
570 |
msgid "If a displayed post's related posts are not cached and this option is on, YARPP will compute them on the fly.<br />If this option is off and a post's related posts have not been cached, it will display as if it has no related posts."
|
571 |
msgstr "Αν τα σχετικά άρθρα ενός άρθρου δεν έχουν υπολογιστεί και η επιλογή αυτή έχει επιλεχθεί τότε το YARPP θα τα υπολογίσει με πιο χαλαρά κριτήρια. Αν η επιλογή είναι αποπεπιλεγμένη και τα σχετικά άρθρα ενός άρθρου δεν έχουν υπολογιστεί τότε δεν θα εμφανίζονται σχετικά άρθρα."
|
572 |
|
573 |
-
#:
|
574 |
#@ yarpp
|
575 |
msgid "'MIN minute(s) and SEC second(s) remaining'"
|
576 |
msgstr "'μένουν MIN λεπτά και SEC δευτερόλεπτα'"
|
577 |
|
578 |
-
#:
|
579 |
#@ yarpp
|
580 |
msgid "'SEC second(s) remaining'"
|
581 |
msgstr "'μένουν SEC δευτερόλεπτα'"
|
582 |
|
583 |
-
#:
|
584 |
#@ yarpp
|
585 |
msgid "Your related posts cache is now complete."
|
586 |
msgstr "Η προσωρινή αποθήκευση των σχετικών άρθρων έχει επιτευχθεί."
|
587 |
|
588 |
-
#:
|
589 |
#@ yarpp
|
590 |
msgid "The SQL queries took SEC seconds."
|
591 |
msgstr "To SQL query διήρκησε SEC δευτερόλεπτα. "
|
592 |
|
593 |
-
#:
|
594 |
#@ yarpp
|
595 |
msgid "There was an error while constructing the related posts for TITLE"
|
596 |
msgstr "Υπήρξε ένα σφάλμα κατά την δημίουrγία των σχετικών άρθρων\\\" κατά TITLE"
|
597 |
|
598 |
-
#:
|
599 |
-
#:
|
600 |
#@ yarpp
|
601 |
msgid "Constructing the related posts timed out."
|
602 |
msgstr "Η δημιουργία των σχετικών άρθρων έληξε."
|
603 |
|
604 |
-
#:
|
605 |
-
#:
|
606 |
#@ yarpp
|
607 |
msgid "Try to continue..."
|
608 |
msgstr "Προσπάθεια για συνέχισει της διαδικασίας..."
|
609 |
|
610 |
-
#:
|
611 |
#@ yarpp
|
612 |
msgid "Your related posts cache is PERCENT% complete."
|
613 |
msgstr "Η προσωρίνή μνήμη των σχετικών άρθρων είναι PERCENT% πλήρης."
|
614 |
|
615 |
-
#:
|
616 |
#@ yarpp
|
617 |
msgid "starting..."
|
618 |
msgstr "εκκίνηση..."
|
619 |
|
620 |
-
#:
|
621 |
#@ yarpp
|
622 |
msgid "Update options"
|
623 |
msgstr "Ενημέρωση επιλογών"
|
624 |
|
625 |
-
#:
|
626 |
#@ yarpp
|
627 |
msgid "Do you really want to reset your configuration?"
|
628 |
msgstr "Είστε σίγουροι ότι θέλετε να επαναφέρετε τις αρχικές ρύθμισεις;"
|
629 |
|
630 |
-
#:
|
631 |
#@ yarpp
|
632 |
msgid "Reset options"
|
633 |
msgstr "Επαναφορά επιλογών"
|
74 |
msgstr "Παράδειγμα άρθρου"
|
75 |
|
76 |
#: magic.php:336
|
77 |
+
#: yarpp_options.php:461
|
78 |
+
#: yarpp_options.php:524
|
79 |
#@ yarpp
|
80 |
msgid "Related posts brought to you by <a href='%s'>Yet Another Related Posts Plugin</a>."
|
81 |
msgstr "Τα Σχετικά Άρθρα είναι κατασκεύασμα του <a href='%s'>Yet Another Related Posts Plugin</a>."
|
82 |
|
83 |
+
#: yarpp_options.php:10
|
84 |
#@ yarpp
|
85 |
msgid "Please move the YARPP template files into your theme to complete installation. Simply move the sample template files (currently in <code>wp-content/plugins/yet-another-related-posts-plugin/yarpp-templates/</code>) to the <code>TEMPLATEPATH</code> directory."
|
86 |
msgstr "Για να ολοκληρωθεί η εγκατάσταση τα πρότυπα αρχεία στον κατάλογο του τρέχοντος θέματος του blog σας. Απλά μεταφέρετε τα αρχεία που βρίσκονται στον φάκελο <code>wp-content/plugins/yet-another-related-posts-plugin/yarpp-templates/</code> στον φάκελο <code>TEMPLATEPATH</code>."
|
87 |
|
88 |
+
#: yarpp_options.php:15
|
89 |
#@ yarpp
|
90 |
msgid "No YARPP template files were found in your theme (<code>TEMPLATEPATH</code>) so the templating feature has been turned off."
|
91 |
msgstr "Δεν βρέθηκαν πρότυπα αρχεία YARPP στο τρέχον θέμα <code>TEMPLATEPATH</code> έτσι η δυνατότητα αυτή έχει απενεργοποιηθεί."
|
92 |
|
93 |
+
#: yarpp_options.php:26
|
94 |
#@ yarpp
|
95 |
msgid "The MyISAM check has been overridden. You may now use the \"consider titles\" and \"consider bodies\" relatedness criteria."
|
96 |
msgstr "Ο έλεγχος MyISAM παρακάμθηκε. Τώρα μπορείτε να χρησιμοποιήσετε τα κριτήρια σχετικότητας \"τίτλοι\" και \"bodies\"."
|
97 |
|
98 |
+
#: yarpp_options.php:35
|
99 |
#, php-format
|
100 |
#@ yarpp
|
101 |
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."
|
102 |
msgstr "Τα κριτήρια σχετικότητας \"τίτλοι\" και \"bodies\" χρειάζονται τον <code>%s</code> πίνακα για την χρήση του <a href='http://dev.mysql.com/doc/refman/5.0/en/storage-engines.html'>μηχανισμό αποθήκευσης MyISAM </a>. Ο πίνακας όμως φαίνεται ότι χρησιμοποιεί τον μηχανισμό <code>%s</code>. Αυτές οι δύο επιλογές έχουν απενεργοποιηθεί."
|
103 |
|
104 |
+
#: yarpp_options.php:37
|
105 |
#, php-format
|
106 |
#@ yarpp
|
107 |
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."
|
108 |
msgstr "Για την επαναφορά των χαρακτηριστικών πρέπει να επικαιροποιήσετε τον πίνακα <code>%s</code> εκτελώντας την εντολή SQL: <code>ALTER TABLE `%s` ENGINE = MyISAM;</code> . Δεν θα διαγραφούν δεδομένα αλλά θα υπάρξουν απώλειες στην απόδοση."
|
109 |
|
110 |
+
#: yarpp_options.php:39
|
111 |
#, php-format
|
112 |
#@ yarpp
|
113 |
msgid "If, despite this check, you are sure that <code>%s</code> is using the MyISAM engine, press this magic button:"
|
114 |
msgstr "Αν παρά τον έλεγχο αυτό είστε σίγουροι ότι χρησιμοποιέι την MyISAM engine τότε πιέστε αυτό το μαγικό πλήκτρο:"
|
115 |
|
116 |
+
#: yarpp_options.php:42
|
117 |
#@ yarpp
|
118 |
msgid "Trust me. Let me use MyISAM features."
|
119 |
msgstr "Δείξε εμπιστοσύνη. Επέτρεψε μου να χρησιμοποιήσω το χαρακτηριστικό MyISAM."
|
120 |
|
121 |
+
#: yarpp_options.php:65
|
122 |
#@ yarpp
|
123 |
msgid "The YARPP database had an error but has been fixed."
|
124 |
msgstr "Η βάση δεδομένων του YARPP είχε ένα λάθος το οποίο έχει διορθωθεί."
|
125 |
|
126 |
+
#: yarpp_options.php:67
|
127 |
#@ yarpp
|
128 |
msgid "The YARPP database has an error which could not be fixed."
|
129 |
msgstr "Η βάση δεδομένων του YARPP έχει ένα σφάλμα το οποίο δεν μπορεί να παρακαμθει."
|
130 |
|
131 |
+
#: yarpp_options.php:68
|
132 |
#@ yarpp
|
133 |
msgid "Please try <A>manual SQL setup</a>."
|
134 |
msgstr "Παρακαλώ δοκιμάστε την \\\"χειροκίνητη\\\" <A>εγκατάσταση SQL.</a>"
|
135 |
|
136 |
+
#: yarpp_options.php:98
|
137 |
#@ yarpp
|
138 |
msgid "Options saved!"
|
139 |
msgstr "Οι επιλογές που έγιναν έχουν αποθηκευτεί!"
|
140 |
|
141 |
+
#: yarpp_options.php:99
|
142 |
+
#: yarpp_options.php:112
|
143 |
+
#: yarpp_options.php:115
|
144 |
+
#: yarpp_options.php:533
|
145 |
#@ yarpp
|
146 |
msgid "Related posts cache status"
|
147 |
msgstr "Κατάσταση προσωρινής μνήμης Σχετικών Άρθρων"
|
148 |
|
149 |
+
#: yarpp_options.php:100
|
150 |
#@ yarpp
|
151 |
msgid "If you updated the \"pool\" options or \"relatedness\" options displayed, please rebuild your cache now from the <A>related posts status pane</a>."
|
152 |
msgstr "Αν έχετε κάνει update στις επιλογές του \"pool\" ή της \"σχετικότητας\" τότε πρέπει να επαναδημιουργήσετε την προσωρινή μνήμη από το <A>Καθεστώς προσωρινής μνήμης σχετικών άρθρων</a>."
|
153 |
|
154 |
+
#: yarpp_options.php:112
|
155 |
#@ yarpp
|
156 |
msgid "Your related posts cache is incomplete. Please build your cache from the <A>related posts status pane</a>."
|
157 |
msgstr "Η προσωρινή μνήμη των σχετικών άρθρων δεν ΄΄εχει συμπληρωθεί. Πρέπει να επαναδημιουργήσετε την προσωρινή μνήμη από το <A>Καθεστώς προσωρινής μνήμης σχετικών άρθρων</a>."
|
158 |
|
159 |
+
#: yarpp_options.php:115
|
160 |
#@ yarpp
|
161 |
msgid "Your related posts cache is empty. Please build your cache from the <A>related posts status pane</a>."
|
162 |
msgstr "Η προσωρινή μνήμη των σχετικών άρθρων είναι κενή. Παρακαλούμε δημιουργήστε την από το <A>Καθεστώς προσωρινής μνήμης σχετικών άρθρων</a>. "
|
163 |
|
164 |
+
#: yarpp_options.php:151
|
165 |
#@ yarpp
|
166 |
msgid "word"
|
167 |
msgstr "λέξη/εις"
|
168 |
|
169 |
+
#: yarpp_options.php:152
|
170 |
#@ yarpp
|
171 |
msgid "tag"
|
172 |
msgstr "ετικέτα/ες"
|
173 |
|
174 |
+
#: yarpp_options.php:153
|
175 |
#@ yarpp
|
176 |
msgid "category"
|
177 |
msgstr "κατηγορία/ες"
|
178 |
|
179 |
+
#: yarpp_options.php:157
|
180 |
+
#: yarpp_options.php:174
|
181 |
+
#: yarpp_options.php:186
|
182 |
#@ yarpp
|
183 |
msgid "do not consider"
|
184 |
msgstr "να μην ληφθούν υπόψιν"
|
185 |
|
186 |
+
#: yarpp_options.php:158
|
187 |
+
#: yarpp_options.php:175
|
188 |
+
#: yarpp_options.php:188
|
189 |
#@ yarpp
|
190 |
msgid "consider"
|
191 |
msgstr "να ληφθούν υπόψιν"
|
192 |
|
193 |
+
#: yarpp_options.php:160
|
194 |
+
#: yarpp_options.php:190
|
195 |
#, php-format
|
196 |
#@ yarpp
|
197 |
msgid "require at least one %s in common"
|
198 |
msgstr "Απαιτείται τουλάχιστον μία κοινή %s"
|
199 |
|
200 |
+
#: yarpp_options.php:162
|
201 |
+
#: yarpp_options.php:192
|
202 |
#, php-format
|
203 |
#@ yarpp
|
204 |
msgid "require more than one %s in common"
|
205 |
msgstr "Aπαιτείται περισσότερες από μία κοινές %s"
|
206 |
|
207 |
+
#: yarpp_options.php:176
|
208 |
#@ yarpp
|
209 |
msgid "consider with extra weight"
|
210 |
msgstr "να ληφθεί ιδιαίτερα υπόψιν"
|
211 |
|
212 |
+
#: yarpp_options.php:204
|
213 |
#@ yarpp
|
214 |
msgid "Yet Another Related Posts Plugin version history (RSS 2.0)"
|
215 |
msgstr "Yet Another Related Posts Plugin ιστορικό εκδόσεων (RSS 2.0)"
|
216 |
|
217 |
+
#: yarpp_options.php:258
|
218 |
#@ yarpp
|
219 |
msgid "Yet Another Related Posts Plugin Options"
|
220 |
msgstr "Ρυθμίσεις του Yet Another Related Posts Plugin"
|
221 |
|
222 |
+
#: yarpp_options.php:276
|
223 |
#@ yarpp
|
224 |
msgid "Follow <a href=\"http://twitter.com/yarpp/\">Yet Another Related Posts Plugin on Twitter</a>"
|
225 |
msgstr "Follow <a href=\"http://twitter.com/yarpp/\">Yet Another Related Posts Plugin στο Twitter</a>"
|
226 |
|
227 |
+
#: yarpp_options.php:281
|
228 |
#@ yarpp
|
229 |
msgid "\"The Pool\""
|
230 |
msgstr "\"The Pool\""
|
231 |
|
232 |
+
#: yarpp_options.php:282
|
233 |
#@ yarpp
|
234 |
msgid "\"The Pool\" refers to the pool of posts and pages that are candidates for display as related to the current entry."
|
235 |
msgstr "Η \"The Pool\" αναφέρεται στο σύνολο των υποψήφιων για εμφάνιση σχετικών άρθρων."
|
236 |
|
237 |
+
#: yarpp_options.php:287
|
238 |
#@ yarpp
|
239 |
msgid "Disallow by category:"
|
240 |
msgstr "Απαγόρευση βάσει της κατηγορίας:"
|
241 |
|
242 |
+
#: yarpp_options.php:289
|
243 |
#@ yarpp
|
244 |
msgid "Disallow by tag:"
|
245 |
msgstr "Απαγόρευση βάσει της ετικέτας:"
|
246 |
|
247 |
+
#: yarpp_options.php:291
|
248 |
#@ yarpp
|
249 |
msgid "Show password protected posts?"
|
250 |
msgstr "Εμφάνιση των προστατευμένων με κωδικό άρθρων;"
|
251 |
|
252 |
+
#: yarpp_options.php:297
|
253 |
#@ yarpp
|
254 |
msgid "day(s)"
|
255 |
msgstr "ημέρα(ες)"
|
256 |
|
257 |
+
#: yarpp_options.php:298
|
258 |
#@ yarpp
|
259 |
msgid "week(s)"
|
260 |
msgstr "εβδομάδα(ες)"
|
261 |
|
262 |
+
#: yarpp_options.php:299
|
263 |
#@ yarpp
|
264 |
msgid "month(s)"
|
265 |
msgstr "μήνα(ες)"
|
266 |
|
267 |
+
#: yarpp_options.php:301
|
268 |
#@ yarpp
|
269 |
msgid "Show only posts from the past NUMBER UNITS"
|
270 |
msgstr "Τα άρθρα να μήν είναι παλιότερα από NUMBER UNITS"
|
271 |
|
272 |
+
#: yarpp_options.php:309
|
273 |
#@ yarpp
|
274 |
msgid "\"Relatedness\" options"
|
275 |
msgstr "Επιλογές \"Σχετικότητας\""
|
276 |
|
277 |
+
#: yarpp_options.php:311
|
278 |
#, php-format
|
279 |
#@ yarpp
|
280 |
msgid "YARPP is different than the <a href=\"http://wasabi.pbwiki.com/Related%20Entries\">previous plugins it is based on</a> as it limits the related posts list by (1) a maximum number and (2) a <em>match threshold</em>."
|
281 |
msgstr "Το YARPP είναι διαφορετικό από <a href=\"http://wasabi.pbwiki.com/Related%20Entries\">προηγούμενα plugins</a> αφού δημιουργεί την λίστα των σχετικών άρθρων βάσει (1) έναν μέγιστο αριθμό και (2) ένα <em>όριο σχετικότητας</em>."
|
282 |
|
283 |
+
#: yarpp_options.php:311
|
284 |
+
#: yarpp_options.php:325
|
285 |
+
#: yarpp_options.php:408
|
286 |
+
#: yarpp_options.php:413
|
287 |
+
#: yarpp_options.php:460
|
288 |
+
#: yarpp_options.php:472
|
289 |
+
#: yarpp_options.php:473
|
290 |
+
#: yarpp_options.php:477
|
291 |
+
#: yarpp_options.php:523
|
292 |
+
#: yarpp_options.php:534
|
293 |
#@ yarpp
|
294 |
msgid "more>"
|
295 |
msgstr "περισσότερα>"
|
296 |
|
297 |
+
#: yarpp_options.php:311
|
298 |
#@ yarpp
|
299 |
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."
|
300 |
msgstr "Όσο πιο υψηλό είναι το όριο σχετικότητας τόσο περιορίζονται τα εμφανιζόμενα σχετικά άρθρα. Το default όριο σχετικότητας είναι 5. Για να προσαρμόσετε το κατάλληλο στο blog σας όριο σχετικότητας ελέγξτε τα εμφανιζόμενα αποτελέσματα και την βαθμολογία τους. "
|
301 |
|
302 |
+
#: yarpp_options.php:316
|
303 |
#@ yarpp
|
304 |
msgid "Match threshold:"
|
305 |
msgstr "'Ορια σχετικότητας"
|
306 |
|
307 |
+
#: yarpp_options.php:317
|
308 |
#@ yarpp
|
309 |
msgid "Titles: "
|
310 |
msgstr "Τίτλοι:"
|
311 |
|
312 |
+
#: yarpp_options.php:319
|
313 |
#@ yarpp
|
314 |
msgid "Bodies: "
|
315 |
msgstr "Bodies:"
|
316 |
|
317 |
+
#: yarpp_options.php:321
|
318 |
#@ yarpp
|
319 |
msgid "Tags: "
|
320 |
msgstr "Ετικέτες:"
|
321 |
|
322 |
+
#: yarpp_options.php:323
|
323 |
#@ yarpp
|
324 |
msgid "Categories: "
|
325 |
msgstr "Κατηγορίες:"
|
326 |
|
327 |
+
#: yarpp_options.php:325
|
328 |
#@ yarpp
|
329 |
msgid "Cross-relate posts and pages?"
|
330 |
msgstr "Διασταύρωση σχετικών άρθρων και σελίδων;"
|
331 |
|
332 |
+
#: yarpp_options.php:325
|
333 |
#@ yarpp
|
334 |
msgid "When the \"Cross-relate posts and pages\" option is selected, the <code>related_posts()</code>, <code>related_pages()</code>, and <code>related_entries()</code> all will give the same output, returning both related pages and posts."
|
335 |
msgstr "Όταν είναι επιλεγμένη τότε τα <code>related_posts()</code>, <code>related_pages()</code>, και <code>related_entries()</code> θα δώσουν το ίδιο αποτέλεσμα με σχετικά άρθρα και σελίδες."
|
336 |
|
337 |
+
#: yarpp_options.php:391
|
338 |
#@ yarpp
|
339 |
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."
|
340 |
msgstr "Έχει ήδη κυκλοφορήσει μια νέα έκδοση beta του Yet Another Related Posts Plugin. Μπορείτε και εσείς να το κατεβάσετε <a href=\"%s\">από εδώ</a> με δική σας ευθύνη."
|
341 |
|
342 |
+
#: yarpp_options.php:393
|
343 |
#@ yarpp
|
344 |
msgid "There is a new version (VERSION) of Yet Another Related Posts Plugin available! You can <A>download it here</a>."
|
345 |
msgstr "Έχει ήδη κυκλοφορήσει μια νέα έκδοση beta του Yet Another Related Posts Plugin! Κατεβάστε το από <A> εδώ</a>."
|
346 |
|
347 |
+
#: yarpp_options.php:404
|
348 |
#@ yarpp
|
349 |
msgid "Display options <small>for your website</small>"
|
350 |
msgstr "Επιλογές εμφάνισης <small>για το Blog</small>"
|
351 |
|
352 |
+
#: yarpp_options.php:408
|
353 |
#@ yarpp
|
354 |
msgid "Automatically display related posts?"
|
355 |
msgstr "Τα Σχετικά Άρθρα να εμφανίζονται αυτόματα;"
|
356 |
|
357 |
+
#: yarpp_options.php:408
|
358 |
#@ yarpp
|
359 |
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."
|
360 |
msgstr "Η επιλογή αυτή εμφανίζει αυτόματα την λίστα των σχετικών άρθρων αμέσως μετά από το εκάστοτε άρθρο. Αν είναι αποεπιλεγμένη τότε θα πρέπει να τοποθετήσετε χειροκίνητα των κώδικα <code>related_posts()</code> ή την μεταβλητή (<code>related_pages()</code> και <code>related_entries()</code>) στον κώδικα του θέματος σας."
|
361 |
|
362 |
+
#: yarpp_options.php:409
|
363 |
#@ yarpp
|
364 |
msgid "Website display code example"
|
365 |
msgstr "Παράδειγμα κώδικα εμφάνισης στο Website"
|
366 |
|
367 |
+
#: yarpp_options.php:409
|
368 |
+
#: yarpp_options.php:474
|
369 |
#@ yarpp
|
370 |
msgid "(Update options to reload.)"
|
371 |
msgstr "(Ενημερώστε τις επιλογές ώστε να γίνει επαναφόρτωση.)"
|
372 |
|
373 |
+
#: yarpp_options.php:412
|
374 |
+
#: yarpp_options.php:476
|
375 |
#@ yarpp
|
376 |
msgid "Maximum number of related posts:"
|
377 |
msgstr "Μέγιστος αριθμός εμφανισθέντων σχετικών άρθρων:"
|
378 |
|
379 |
+
#: yarpp_options.php:413
|
380 |
+
#: yarpp_options.php:477
|
381 |
#@ yarpp
|
382 |
msgid "Display using a custom template file"
|
383 |
msgstr "Η εμφάνιση να στηρίζεται σε δικό σας πρότυπο αρχείο"
|
384 |
|
385 |
+
#: yarpp_options.php:413
|
386 |
+
#: yarpp_options.php:477
|
387 |
+
#: yarpp_options.php:530
|
388 |
#@ yarpp
|
389 |
msgid "NEW!"
|
390 |
msgstr "ΝΕΟ!"
|
391 |
|
392 |
+
#: yarpp_options.php:413
|
393 |
+
#: yarpp_options.php:477
|
394 |
#@ yarpp
|
395 |
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."
|
396 |
msgstr "Αυτή η επιλογή σας δίνει την δυνατότητα να καθορίσεται την εμφάνιση των σχετικών άρθρων όπως εσείς θέλετε. Τα πρότυπα αρχεία που είναι αποθηκευμένα στο θέμα σας είναι γραμμένα σε PHP."
|
397 |
|
398 |
+
#: yarpp_options.php:415
|
399 |
+
#: yarpp_options.php:479
|
400 |
#@ yarpp
|
401 |
msgid "Template file:"
|
402 |
msgstr "Πρότυπο αρχείο:"
|
403 |
|
404 |
+
#: yarpp_options.php:425
|
405 |
#@ yarpp
|
406 |
msgid "Before / after related entries:"
|
407 |
msgstr "Πριν / Μετά από τα σχετικά άρθρα:"
|
408 |
|
409 |
+
#: yarpp_options.php:426
|
410 |
+
#: yarpp_options.php:431
|
411 |
+
#: yarpp_options.php:440
|
412 |
+
#: yarpp_options.php:490
|
413 |
+
#: yarpp_options.php:495
|
414 |
+
#: yarpp_options.php:504
|
415 |
#@ yarpp
|
416 |
msgid "For example:"
|
417 |
msgstr "Για παράδειγμα:"
|
418 |
|
419 |
+
#: yarpp_options.php:426
|
420 |
+
#: yarpp_options.php:431
|
421 |
+
#: yarpp_options.php:440
|
422 |
+
#: yarpp_options.php:490
|
423 |
+
#: yarpp_options.php:495
|
424 |
+
#: yarpp_options.php:504
|
425 |
#@ yarpp
|
426 |
msgid " or "
|
427 |
msgstr "ή"
|
428 |
|
429 |
+
#: yarpp_options.php:430
|
430 |
+
#: yarpp_options.php:494
|
431 |
#@ yarpp
|
432 |
msgid "Before / after each related entry:"
|
433 |
msgstr "Πριν / μετά από κάθε σχετικό άρθρο:"
|
434 |
|
435 |
+
#: yarpp_options.php:434
|
436 |
+
#: yarpp_options.php:498
|
437 |
#@ yarpp
|
438 |
msgid "Show excerpt?"
|
439 |
msgstr "Εμφάνιση αποσπάσματος;"
|
440 |
|
441 |
+
#: yarpp_options.php:435
|
442 |
+
#: yarpp_options.php:499
|
443 |
#@ yarpp
|
444 |
msgid "Excerpt length (No. of words):"
|
445 |
msgstr "Μέγεθος αποσπάσματος (Αριθμός λέξεων):"
|
446 |
|
447 |
+
#: yarpp_options.php:439
|
448 |
#@ yarpp
|
449 |
msgid "Before / after (Excerpt):"
|
450 |
msgstr "Πρίν / Μετά (απόσπασμα):"
|
451 |
|
452 |
+
#: yarpp_options.php:445
|
453 |
+
#: yarpp_options.php:509
|
454 |
#@ yarpp
|
455 |
msgid "Order results:"
|
456 |
msgstr "Σειρά αποτελεσμάτων:"
|
457 |
|
458 |
+
#: yarpp_options.php:447
|
459 |
+
#: yarpp_options.php:511
|
460 |
#@ yarpp
|
461 |
msgid "score (high relevance to low)"
|
462 |
msgstr "αποτέλεσμα (υψηλή προς χαμηλή σχετικότητα)"
|
463 |
|
464 |
+
#: yarpp_options.php:448
|
465 |
+
#: yarpp_options.php:512
|
466 |
#@ yarpp
|
467 |
msgid "score (low relevance to high)"
|
468 |
msgstr "αποτέλεσμα (χαμηλή προς υψηλή σχετικότητα)"
|
469 |
|
470 |
+
#: yarpp_options.php:449
|
471 |
+
#: yarpp_options.php:513
|
472 |
#@ yarpp
|
473 |
msgid "date (new to old)"
|
474 |
msgstr "ημερομηνία (νεότερο στο παλιότερο)"
|
475 |
|
476 |
+
#: yarpp_options.php:450
|
477 |
+
#: yarpp_options.php:514
|
478 |
#@ yarpp
|
479 |
msgid "date (old to new)"
|
480 |
msgstr "ημερομηνία (παλιότερο στο νεότερο)"
|
481 |
|
482 |
+
#: yarpp_options.php:451
|
483 |
+
#: yarpp_options.php:515
|
484 |
#@ yarpp
|
485 |
msgid "title (alphabetical)"
|
486 |
msgstr "τίτλος (αλφαβητικά)"
|
487 |
|
488 |
+
#: yarpp_options.php:452
|
489 |
+
#: yarpp_options.php:516
|
490 |
#@ yarpp
|
491 |
msgid "title (reverse alphabetical)"
|
492 |
msgstr "τίτλος (αντίστροφη αλφαβητική σειρά)"
|
493 |
|
494 |
+
#: yarpp_options.php:457
|
495 |
+
#: yarpp_options.php:521
|
496 |
#@ yarpp
|
497 |
msgid "Default display if no results:"
|
498 |
msgstr "Αν δεν υπάρχουν σχετικά άρθρα θα εμφανίζονται:"
|
499 |
|
500 |
+
#: yarpp_options.php:459
|
501 |
+
#: yarpp_options.php:523
|
502 |
#@ yarpp
|
503 |
msgid "Help promote Yet Another Related Posts Plugin?"
|
504 |
msgstr "Να εμφανίζονται credits του plugin;"
|
505 |
|
506 |
+
#: yarpp_options.php:461
|
507 |
+
#: yarpp_options.php:524
|
508 |
#, php-format
|
509 |
#@ yarpp
|
510 |
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."
|
511 |
msgstr "Η επιλογή αυτή προσθέτει των κώδικα %s. Αν θέλετε ενεργοποιήστε τον, ενημερώστε την αλλαγή αυτή και δείτε τον κώδικα στα δεξιά. Τα Links και οι δωρεές είναι ευπρόδεκτες."
|
512 |
|
513 |
+
#: yarpp_options.php:467
|
514 |
#@ yarpp
|
515 |
msgid "Display options <small>for RSS</small>"
|
516 |
msgstr "Επιλογές εμφάνισης <small>για το RSS</small>"
|
517 |
|
518 |
+
#: yarpp_options.php:472
|
519 |
#@ yarpp
|
520 |
msgid "Display related posts in feeds?"
|
521 |
msgstr "Εμφάνιση σχετικών άρθρων στα feeds;"
|
522 |
|
523 |
+
#: yarpp_options.php:472
|
524 |
#@ yarpp
|
525 |
msgid "This option displays related posts at the end of each item in your RSS and Atom feeds. No template changes are needed."
|
526 |
msgstr "Αυτή η επιλογή εμφανίζει τα σχετικά άρθρα στο τέλος κάθε άρθρου στο RSS και στο Atom Feeds. Δεν απαιτείται καμία αλλαγή του αρχείου εμφάνισης."
|
527 |
|
528 |
+
#: yarpp_options.php:473
|
529 |
#@ yarpp
|
530 |
msgid "Display related posts in the descriptions?"
|
531 |
msgstr "Εμφάνιση σχετικών άρθρων στις περιγραφές;"
|
532 |
|
533 |
+
#: yarpp_options.php:473
|
534 |
#@ yarpp
|
535 |
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."
|
536 |
msgstr "Η επιλογή αυτή εμφανίζει τα σχετικά άρθρα στο πεδίο της περιγραφής του RSS και όχι μόνο στο περιεχόμενο. Αν τα feeds σας είναι ρυθμισμένα να εμφανίζουν μόνο ένα απόσπασμα του άρθρου τότε χρησιμοποιείται μόνο το πεδίο της περιγραφής, άρα είναι απαραίτητο γενικά."
|
537 |
|
538 |
+
#: yarpp_options.php:474
|
539 |
#@ yarpp
|
540 |
msgid "RSS display code example"
|
541 |
msgstr "Παράδειγμα κώδικα εμφάνισης του RSS"
|
542 |
|
543 |
+
#: yarpp_options.php:489
|
544 |
#@ yarpp
|
545 |
msgid "Before / after related entries display:"
|
546 |
msgstr "Πριν / μετά από την εμφάνιση των σχετικών άρθρων:"
|
547 |
|
548 |
+
#: yarpp_options.php:503
|
549 |
#@ yarpp
|
550 |
msgid "Before / after (excerpt):"
|
551 |
msgstr "Πριν / μετά (απόσπασμα):"
|
552 |
|
553 |
+
#: yarpp_options.php:530
|
554 |
#@ yarpp
|
555 |
msgid "Advanced"
|
556 |
msgstr "Για προχωρημένους"
|
557 |
|
558 |
+
#: yarpp_options.php:533
|
559 |
#@ yarpp
|
560 |
msgid "Show cache status"
|
561 |
msgstr "Εμφάνιση του καθεστώτος προσωρινής μνήμης"
|
562 |
|
563 |
+
#: yarpp_options.php:534
|
564 |
#@ yarpp
|
565 |
msgid "When the cache is incomplete, compute related posts on the fly?"
|
566 |
msgstr "Όταν η προσωρινή μνήμη δεν έχει συμπληρωθεί τότε ο υπολογισμός των σχετικών άρθρων να γίνεται με πιο χαλαρα κριτήρια;"
|
567 |
|
568 |
+
#: yarpp_options.php:535
|
569 |
#@ yarpp
|
570 |
msgid "If a displayed post's related posts are not cached and this option is on, YARPP will compute them on the fly.<br />If this option is off and a post's related posts have not been cached, it will display as if it has no related posts."
|
571 |
msgstr "Αν τα σχετικά άρθρα ενός άρθρου δεν έχουν υπολογιστεί και η επιλογή αυτή έχει επιλεχθεί τότε το YARPP θα τα υπολογίσει με πιο χαλαρά κριτήρια. Αν η επιλογή είναι αποπεπιλεγμένη και τα σχετικά άρθρα ενός άρθρου δεν έχουν υπολογιστεί τότε δεν θα εμφανίζονται σχετικά άρθρα."
|
572 |
|
573 |
+
#: yarpp_options.php:565
|
574 |
#@ yarpp
|
575 |
msgid "'MIN minute(s) and SEC second(s) remaining'"
|
576 |
msgstr "'μένουν MIN λεπτά και SEC δευτερόλεπτα'"
|
577 |
|
578 |
+
#: yarpp_options.php:567
|
579 |
#@ yarpp
|
580 |
msgid "'SEC second(s) remaining'"
|
581 |
msgstr "'μένουν SEC δευτερόλεπτα'"
|
582 |
|
583 |
+
#: yarpp_options.php:571
|
584 |
#@ yarpp
|
585 |
msgid "Your related posts cache is now complete."
|
586 |
msgstr "Η προσωρινή αποθήκευση των σχετικών άρθρων έχει επιτευχθεί."
|
587 |
|
588 |
+
#: yarpp_options.php:571
|
589 |
#@ yarpp
|
590 |
msgid "The SQL queries took SEC seconds."
|
591 |
msgstr "To SQL query διήρκησε SEC δευτερόλεπτα. "
|
592 |
|
593 |
+
#: yarpp_options.php:578
|
594 |
#@ yarpp
|
595 |
msgid "There was an error while constructing the related posts for TITLE"
|
596 |
msgstr "Υπήρξε ένα σφάλμα κατά την δημίουrγία των σχετικών άρθρων\\\" κατά TITLE"
|
597 |
|
598 |
+
#: yarpp_options.php:580
|
599 |
+
#: yarpp_options.php:586
|
600 |
#@ yarpp
|
601 |
msgid "Constructing the related posts timed out."
|
602 |
msgstr "Η δημιουργία των σχετικών άρθρων έληξε."
|
603 |
|
604 |
+
#: yarpp_options.php:583
|
605 |
+
#: yarpp_options.php:588
|
606 |
#@ yarpp
|
607 |
msgid "Try to continue..."
|
608 |
msgstr "Προσπάθεια για συνέχισει της διαδικασίας..."
|
609 |
|
610 |
+
#: yarpp_options.php:596
|
611 |
#@ yarpp
|
612 |
msgid "Your related posts cache is PERCENT% complete."
|
613 |
msgstr "Η προσωρίνή μνήμη των σχετικών άρθρων είναι PERCENT% πλήρης."
|
614 |
|
615 |
+
#: yarpp_options.php:602
|
616 |
#@ yarpp
|
617 |
msgid "starting..."
|
618 |
msgstr "εκκίνηση..."
|
619 |
|
620 |
+
#: yarpp_options.php:609
|
621 |
#@ yarpp
|
622 |
msgid "Update options"
|
623 |
msgstr "Ενημέρωση επιλογών"
|
624 |
|
625 |
+
#: yarpp_options.php:610
|
626 |
#@ yarpp
|
627 |
msgid "Do you really want to reset your configuration?"
|
628 |
msgstr "Είστε σίγουροι ότι θέλετε να επαναφέρετε τις αρχικές ρύθμισεις;"
|
629 |
|
630 |
+
#: yarpp_options.php:610
|
631 |
#@ yarpp
|
632 |
msgid "Reset options"
|
633 |
msgstr "Επαναφορά επιλογών"
|
lang/yarpp-el_EL.po
CHANGED
@@ -74,560 +74,560 @@ msgid "Example post "
|
|
74 |
msgstr "Παράδειγμα άρθρου"
|
75 |
|
76 |
#: magic.php:336
|
77 |
-
#:
|
78 |
-
#:
|
79 |
#@ yarpp
|
80 |
msgid "Related posts brought to you by <a href='%s'>Yet Another Related Posts Plugin</a>."
|
81 |
msgstr "Τα Σχετικά Άρθρα είναι κατασκεύασμα του <a href='%s'>Yet Another Related Posts Plugin</a>."
|
82 |
|
83 |
-
#:
|
84 |
#@ yarpp
|
85 |
msgid "Please move the YARPP template files into your theme to complete installation. Simply move the sample template files (currently in <code>wp-content/plugins/yet-another-related-posts-plugin/yarpp-templates/</code>) to the <code>TEMPLATEPATH</code> directory."
|
86 |
msgstr "Για να ολοκληρωθεί η εγκατάσταση τα πρότυπα αρχεία στον κατάλογο του τρέχοντος θέματος του blog σας. Απλά μεταφέρετε τα αρχεία που βρίσκονται στον φάκελο <code>wp-content/plugins/yet-another-related-posts-plugin/yarpp-templates/</code> στον φάκελο <code>TEMPLATEPATH</code>."
|
87 |
|
88 |
-
#:
|
89 |
#@ yarpp
|
90 |
msgid "No YARPP template files were found in your theme (<code>TEMPLATEPATH</code>) so the templating feature has been turned off."
|
91 |
msgstr "Δεν βρέθηκαν πρότυπα αρχεία YARPP στο τρέχον θέμα <code>TEMPLATEPATH</code> έτσι η δυνατότητα αυτή έχει απενεργοποιηθεί."
|
92 |
|
93 |
-
#:
|
94 |
#@ yarpp
|
95 |
msgid "The MyISAM check has been overridden. You may now use the \"consider titles\" and \"consider bodies\" relatedness criteria."
|
96 |
msgstr "Ο έλεγχος MyISAM παρακάμθηκε. Τώρα μπορείτε να χρησιμοποιήσετε τα κριτήρια σχετικότητας \"τίτλοι\" και \"bodies\"."
|
97 |
|
98 |
-
#:
|
99 |
#, php-format
|
100 |
#@ yarpp
|
101 |
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."
|
102 |
msgstr "Τα κριτήρια σχετικότητας \"τίτλοι\" και \"bodies\" χρειάζονται τον <code>%s</code> πίνακα για την χρήση του <a href='http://dev.mysql.com/doc/refman/5.0/en/storage-engines.html'>μηχανισμό αποθήκευσης MyISAM </a>. Ο πίνακας όμως φαίνεται ότι χρησιμοποιεί τον μηχανισμό <code>%s</code>. Αυτές οι δύο επιλογές έχουν απενεργοποιηθεί."
|
103 |
|
104 |
-
#:
|
105 |
#, php-format
|
106 |
#@ yarpp
|
107 |
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."
|
108 |
msgstr "Για την επαναφορά των χαρακτηριστικών πρέπει να επικαιροποιήσετε τον πίνακα <code>%s</code> εκτελώντας την εντολή SQL: <code>ALTER TABLE `%s` ENGINE = MyISAM;</code> . Δεν θα διαγραφούν δεδομένα αλλά θα υπάρξουν απώλειες στην απόδοση."
|
109 |
|
110 |
-
#:
|
111 |
#, php-format
|
112 |
#@ yarpp
|
113 |
msgid "If, despite this check, you are sure that <code>%s</code> is using the MyISAM engine, press this magic button:"
|
114 |
msgstr "Αν παρά τον έλεγχο αυτό είστε σίγουροι ότι χρησιμοποιέι την MyISAM engine τότε πιέστε αυτό το μαγικό πλήκτρο:"
|
115 |
|
116 |
-
#:
|
117 |
#@ yarpp
|
118 |
msgid "Trust me. Let me use MyISAM features."
|
119 |
msgstr "Δείξε εμπιστοσύνη. Επέτρεψε μου να χρησιμοποιήσω το χαρακτηριστικό MyISAM."
|
120 |
|
121 |
-
#:
|
122 |
#@ yarpp
|
123 |
msgid "The YARPP database had an error but has been fixed."
|
124 |
msgstr "Η βάση δεδομένων του YARPP είχε ένα λάθος το οποίο έχει διορθωθεί."
|
125 |
|
126 |
-
#:
|
127 |
#@ yarpp
|
128 |
msgid "The YARPP database has an error which could not be fixed."
|
129 |
msgstr "Η βάση δεδομένων του YARPP έχει ένα σφάλμα το οποίο δεν μπορεί να παρακαμθει."
|
130 |
|
131 |
-
#:
|
132 |
#@ yarpp
|
133 |
msgid "Please try <A>manual SQL setup</a>."
|
134 |
msgstr "Παρακαλώ δοκιμάστε την \\\"χειροκίνητη\\\" <A>εγκατάσταση SQL.</a>"
|
135 |
|
136 |
-
#:
|
137 |
#@ yarpp
|
138 |
msgid "Options saved!"
|
139 |
msgstr "Οι επιλογές που έγιναν έχουν αποθηκευτεί!"
|
140 |
|
141 |
-
#:
|
142 |
-
#:
|
143 |
-
#:
|
144 |
-
#:
|
145 |
#@ yarpp
|
146 |
msgid "Related posts cache status"
|
147 |
msgstr "Κατάσταση προσωρινής μνήμης Σχετικών Άρθρων"
|
148 |
|
149 |
-
#:
|
150 |
#@ yarpp
|
151 |
msgid "If you updated the \"pool\" options or \"relatedness\" options displayed, please rebuild your cache now from the <A>related posts status pane</a>."
|
152 |
msgstr "Αν έχετε κάνει update στις επιλογές του \"pool\" ή της \"σχετικότητας\" τότε πρέπει να επαναδημιουργήσετε την προσωρινή μνήμη από το <A>Καθεστώς προσωρινής μνήμης σχετικών άρθρων</a>."
|
153 |
|
154 |
-
#:
|
155 |
#@ yarpp
|
156 |
msgid "Your related posts cache is incomplete. Please build your cache from the <A>related posts status pane</a>."
|
157 |
msgstr "Η προσωρινή μνήμη των σχετικών άρθρων δεν ΄΄εχει συμπληρωθεί. Πρέπει να επαναδημιουργήσετε την προσωρινή μνήμη από το <A>Καθεστώς προσωρινής μνήμης σχετικών άρθρων</a>."
|
158 |
|
159 |
-
#:
|
160 |
#@ yarpp
|
161 |
msgid "Your related posts cache is empty. Please build your cache from the <A>related posts status pane</a>."
|
162 |
msgstr "Η προσωρινή μνήμη των σχετικών άρθρων είναι κενή. Παρακαλούμε δημιουργήστε την από το <A>Καθεστώς προσωρινής μνήμης σχετικών άρθρων</a>. "
|
163 |
|
164 |
-
#:
|
165 |
#@ yarpp
|
166 |
msgid "word"
|
167 |
msgstr "λέξη/εις"
|
168 |
|
169 |
-
#:
|
170 |
#@ yarpp
|
171 |
msgid "tag"
|
172 |
msgstr "ετικέτα/ες"
|
173 |
|
174 |
-
#:
|
175 |
#@ yarpp
|
176 |
msgid "category"
|
177 |
msgstr "κατηγορία/ες"
|
178 |
|
179 |
-
#:
|
180 |
-
#:
|
181 |
-
#:
|
182 |
#@ yarpp
|
183 |
msgid "do not consider"
|
184 |
msgstr "να μην ληφθούν υπόψιν"
|
185 |
|
186 |
-
#:
|
187 |
-
#:
|
188 |
-
#:
|
189 |
#@ yarpp
|
190 |
msgid "consider"
|
191 |
msgstr "να ληφθούν υπόψιν"
|
192 |
|
193 |
-
#:
|
194 |
-
#:
|
195 |
#, php-format
|
196 |
#@ yarpp
|
197 |
msgid "require at least one %s in common"
|
198 |
msgstr "Απαιτείται τουλάχιστον μία κοινή %s"
|
199 |
|
200 |
-
#:
|
201 |
-
#:
|
202 |
#, php-format
|
203 |
#@ yarpp
|
204 |
msgid "require more than one %s in common"
|
205 |
msgstr "Aπαιτείται περισσότερες από μία κοινές %s"
|
206 |
|
207 |
-
#:
|
208 |
#@ yarpp
|
209 |
msgid "consider with extra weight"
|
210 |
msgstr "να ληφθεί ιδιαίτερα υπόψιν"
|
211 |
|
212 |
-
#:
|
213 |
#@ yarpp
|
214 |
msgid "Yet Another Related Posts Plugin version history (RSS 2.0)"
|
215 |
msgstr "Yet Another Related Posts Plugin ιστορικό εκδόσεων (RSS 2.0)"
|
216 |
|
217 |
-
#:
|
218 |
#@ yarpp
|
219 |
msgid "Yet Another Related Posts Plugin Options"
|
220 |
msgstr "Ρυθμίσεις του Yet Another Related Posts Plugin"
|
221 |
|
222 |
-
#:
|
223 |
#@ yarpp
|
224 |
msgid "Follow <a href=\"http://twitter.com/yarpp/\">Yet Another Related Posts Plugin on Twitter</a>"
|
225 |
msgstr "Follow <a href=\"http://twitter.com/yarpp/\">Yet Another Related Posts Plugin στο Twitter</a>"
|
226 |
|
227 |
-
#:
|
228 |
#@ yarpp
|
229 |
msgid "\"The Pool\""
|
230 |
msgstr "\"The Pool\""
|
231 |
|
232 |
-
#:
|
233 |
#@ yarpp
|
234 |
msgid "\"The Pool\" refers to the pool of posts and pages that are candidates for display as related to the current entry."
|
235 |
msgstr "Η \"The Pool\" αναφέρεται στο σύνολο των υποψήφιων για εμφάνιση σχετικών άρθρων."
|
236 |
|
237 |
-
#:
|
238 |
#@ yarpp
|
239 |
msgid "Disallow by category:"
|
240 |
msgstr "Απαγόρευση βάσει της κατηγορίας:"
|
241 |
|
242 |
-
#:
|
243 |
#@ yarpp
|
244 |
msgid "Disallow by tag:"
|
245 |
msgstr "Απαγόρευση βάσει της ετικέτας:"
|
246 |
|
247 |
-
#:
|
248 |
#@ yarpp
|
249 |
msgid "Show password protected posts?"
|
250 |
msgstr "Εμφάνιση των προστατευμένων με κωδικό άρθρων;"
|
251 |
|
252 |
-
#:
|
253 |
#@ yarpp
|
254 |
msgid "day(s)"
|
255 |
msgstr "ημέρα(ες)"
|
256 |
|
257 |
-
#:
|
258 |
#@ yarpp
|
259 |
msgid "week(s)"
|
260 |
msgstr "εβδομάδα(ες)"
|
261 |
|
262 |
-
#:
|
263 |
#@ yarpp
|
264 |
msgid "month(s)"
|
265 |
msgstr "μήνα(ες)"
|
266 |
|
267 |
-
#:
|
268 |
#@ yarpp
|
269 |
msgid "Show only posts from the past NUMBER UNITS"
|
270 |
msgstr "Τα άρθρα να μήν είναι παλιότερα από NUMBER UNITS"
|
271 |
|
272 |
-
#:
|
273 |
#@ yarpp
|
274 |
msgid "\"Relatedness\" options"
|
275 |
msgstr "Επιλογές \"Σχετικότητας\""
|
276 |
|
277 |
-
#:
|
278 |
#, php-format
|
279 |
#@ yarpp
|
280 |
msgid "YARPP is different than the <a href=\"http://wasabi.pbwiki.com/Related%20Entries\">previous plugins it is based on</a> as it limits the related posts list by (1) a maximum number and (2) a <em>match threshold</em>."
|
281 |
msgstr "Το YARPP είναι διαφορετικό από <a href=\"http://wasabi.pbwiki.com/Related%20Entries\">προηγούμενα plugins</a> αφού δημιουργεί την λίστα των σχετικών άρθρων βάσει (1) έναν μέγιστο αριθμό και (2) ένα <em>όριο σχετικότητας</em>."
|
282 |
|
283 |
-
#:
|
284 |
-
#:
|
285 |
-
#:
|
286 |
-
#:
|
287 |
-
#:
|
288 |
-
#:
|
289 |
-
#:
|
290 |
-
#:
|
291 |
-
#:
|
292 |
-
#:
|
293 |
#@ yarpp
|
294 |
msgid "more>"
|
295 |
msgstr "περισσότερα>"
|
296 |
|
297 |
-
#:
|
298 |
#@ yarpp
|
299 |
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."
|
300 |
msgstr "Όσο πιο υψηλό είναι το όριο σχετικότητας τόσο περιορίζονται τα εμφανιζόμενα σχετικά άρθρα. Το default όριο σχετικότητας είναι 5. Για να προσαρμόσετε το κατάλληλο στο blog σας όριο σχετικότητας ελέγξτε τα εμφανιζόμενα αποτελέσματα και την βαθμολογία τους. "
|
301 |
|
302 |
-
#:
|
303 |
#@ yarpp
|
304 |
msgid "Match threshold:"
|
305 |
msgstr "'Ορια σχετικότητας"
|
306 |
|
307 |
-
#:
|
308 |
#@ yarpp
|
309 |
msgid "Titles: "
|
310 |
msgstr "Τίτλοι:"
|
311 |
|
312 |
-
#:
|
313 |
#@ yarpp
|
314 |
msgid "Bodies: "
|
315 |
msgstr "Bodies:"
|
316 |
|
317 |
-
#:
|
318 |
#@ yarpp
|
319 |
msgid "Tags: "
|
320 |
msgstr "Ετικέτες:"
|
321 |
|
322 |
-
#:
|
323 |
#@ yarpp
|
324 |
msgid "Categories: "
|
325 |
msgstr "Κατηγορίες:"
|
326 |
|
327 |
-
#:
|
328 |
#@ yarpp
|
329 |
msgid "Cross-relate posts and pages?"
|
330 |
msgstr "Διασταύρωση σχετικών άρθρων και σελίδων;"
|
331 |
|
332 |
-
#:
|
333 |
#@ yarpp
|
334 |
msgid "When the \"Cross-relate posts and pages\" option is selected, the <code>related_posts()</code>, <code>related_pages()</code>, and <code>related_entries()</code> all will give the same output, returning both related pages and posts."
|
335 |
msgstr "Όταν είναι επιλεγμένη τότε τα <code>related_posts()</code>, <code>related_pages()</code>, και <code>related_entries()</code> θα δώσουν το ίδιο αποτέλεσμα με σχετικά άρθρα και σελίδες."
|
336 |
|
337 |
-
#:
|
338 |
#@ yarpp
|
339 |
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."
|
340 |
msgstr "Έχει ήδη κυκλοφορήσει μια νέα έκδοση beta του Yet Another Related Posts Plugin. Μπορείτε και εσείς να το κατεβάσετε <a href=\"%s\">από εδώ</a> με δική σας ευθύνη."
|
341 |
|
342 |
-
#:
|
343 |
#@ yarpp
|
344 |
msgid "There is a new version (VERSION) of Yet Another Related Posts Plugin available! You can <A>download it here</a>."
|
345 |
msgstr "Έχει ήδη κυκλοφορήσει μια νέα έκδοση beta του Yet Another Related Posts Plugin! Κατεβάστε το από <A> εδώ</a>."
|
346 |
|
347 |
-
#:
|
348 |
#@ yarpp
|
349 |
msgid "Display options <small>for your website</small>"
|
350 |
msgstr "Επιλογές εμφάνισης <small>για το Blog</small>"
|
351 |
|
352 |
-
#:
|
353 |
#@ yarpp
|
354 |
msgid "Automatically display related posts?"
|
355 |
msgstr "Τα Σχετικά Άρθρα να εμφανίζονται αυτόματα;"
|
356 |
|
357 |
-
#:
|
358 |
#@ yarpp
|
359 |
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."
|
360 |
msgstr "Η επιλογή αυτή εμφανίζει αυτόματα την λίστα των σχετικών άρθρων αμέσως μετά από το εκάστοτε άρθρο. Αν είναι αποεπιλεγμένη τότε θα πρέπει να τοποθετήσετε χειροκίνητα των κώδικα <code>related_posts()</code> ή την μεταβλητή (<code>related_pages()</code> και <code>related_entries()</code>) στον κώδικα του θέματος σας."
|
361 |
|
362 |
-
#:
|
363 |
#@ yarpp
|
364 |
msgid "Website display code example"
|
365 |
msgstr "Παράδειγμα κώδικα εμφάνισης στο Website"
|
366 |
|
367 |
-
#:
|
368 |
-
#:
|
369 |
#@ yarpp
|
370 |
msgid "(Update options to reload.)"
|
371 |
msgstr "(Ενημερώστε τις επιλογές ώστε να γίνει επαναφόρτωση.)"
|
372 |
|
373 |
-
#:
|
374 |
-
#:
|
375 |
#@ yarpp
|
376 |
msgid "Maximum number of related posts:"
|
377 |
msgstr "Μέγιστος αριθμός εμφανισθέντων σχετικών άρθρων:"
|
378 |
|
379 |
-
#:
|
380 |
-
#:
|
381 |
#@ yarpp
|
382 |
msgid "Display using a custom template file"
|
383 |
msgstr "Η εμφάνιση να στηρίζεται σε δικό σας πρότυπο αρχείο"
|
384 |
|
385 |
-
#:
|
386 |
-
#:
|
387 |
-
#:
|
388 |
#@ yarpp
|
389 |
msgid "NEW!"
|
390 |
msgstr "ΝΕΟ!"
|
391 |
|
392 |
-
#:
|
393 |
-
#:
|
394 |
#@ yarpp
|
395 |
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."
|
396 |
msgstr "Αυτή η επιλογή σας δίνει την δυνατότητα να καθορίσεται την εμφάνιση των σχετικών άρθρων όπως εσείς θέλετε. Τα πρότυπα αρχεία που είναι αποθηκευμένα στο θέμα σας είναι γραμμένα σε PHP."
|
397 |
|
398 |
-
#:
|
399 |
-
#:
|
400 |
#@ yarpp
|
401 |
msgid "Template file:"
|
402 |
msgstr "Πρότυπο αρχείο:"
|
403 |
|
404 |
-
#:
|
405 |
#@ yarpp
|
406 |
msgid "Before / after related entries:"
|
407 |
msgstr "Πριν / Μετά από τα σχετικά άρθρα:"
|
408 |
|
409 |
-
#:
|
410 |
-
#:
|
411 |
-
#:
|
412 |
-
#:
|
413 |
-
#:
|
414 |
-
#:
|
415 |
#@ yarpp
|
416 |
msgid "For example:"
|
417 |
msgstr "Για παράδειγμα:"
|
418 |
|
419 |
-
#:
|
420 |
-
#:
|
421 |
-
#:
|
422 |
-
#:
|
423 |
-
#:
|
424 |
-
#:
|
425 |
#@ yarpp
|
426 |
msgid " or "
|
427 |
msgstr "ή"
|
428 |
|
429 |
-
#:
|
430 |
-
#:
|
431 |
#@ yarpp
|
432 |
msgid "Before / after each related entry:"
|
433 |
msgstr "Πριν / μετά από κάθε σχετικό άρθρο:"
|
434 |
|
435 |
-
#:
|
436 |
-
#:
|
437 |
#@ yarpp
|
438 |
msgid "Show excerpt?"
|
439 |
msgstr "Εμφάνιση αποσπάσματος;"
|
440 |
|
441 |
-
#:
|
442 |
-
#:
|
443 |
#@ yarpp
|
444 |
msgid "Excerpt length (No. of words):"
|
445 |
msgstr "Μέγεθος αποσπάσματος (Αριθμός λέξεων):"
|
446 |
|
447 |
-
#:
|
448 |
#@ yarpp
|
449 |
msgid "Before / after (Excerpt):"
|
450 |
msgstr "Πρίν / Μετά (απόσπασμα):"
|
451 |
|
452 |
-
#:
|
453 |
-
#:
|
454 |
#@ yarpp
|
455 |
msgid "Order results:"
|
456 |
msgstr "Σειρά αποτελεσμάτων:"
|
457 |
|
458 |
-
#:
|
459 |
-
#:
|
460 |
#@ yarpp
|
461 |
msgid "score (high relevance to low)"
|
462 |
msgstr "αποτέλεσμα (υψηλή προς χαμηλή σχετικότητα)"
|
463 |
|
464 |
-
#:
|
465 |
-
#:
|
466 |
#@ yarpp
|
467 |
msgid "score (low relevance to high)"
|
468 |
msgstr "αποτέλεσμα (χαμηλή προς υψηλή σχετικότητα)"
|
469 |
|
470 |
-
#:
|
471 |
-
#:
|
472 |
#@ yarpp
|
473 |
msgid "date (new to old)"
|
474 |
msgstr "ημερομηνία (νεότερο στο παλιότερο)"
|
475 |
|
476 |
-
#:
|
477 |
-
#:
|
478 |
#@ yarpp
|
479 |
msgid "date (old to new)"
|
480 |
msgstr "ημερομηνία (παλιότερο στο νεότερο)"
|
481 |
|
482 |
-
#:
|
483 |
-
#:
|
484 |
#@ yarpp
|
485 |
msgid "title (alphabetical)"
|
486 |
msgstr "τίτλος (αλφαβητικά)"
|
487 |
|
488 |
-
#:
|
489 |
-
#:
|
490 |
#@ yarpp
|
491 |
msgid "title (reverse alphabetical)"
|
492 |
msgstr "τίτλος (αντίστροφη αλφαβητική σειρά)"
|
493 |
|
494 |
-
#:
|
495 |
-
#:
|
496 |
#@ yarpp
|
497 |
msgid "Default display if no results:"
|
498 |
msgstr "Αν δεν υπάρχουν σχετικά άρθρα θα εμφανίζονται:"
|
499 |
|
500 |
-
#:
|
501 |
-
#:
|
502 |
#@ yarpp
|
503 |
msgid "Help promote Yet Another Related Posts Plugin?"
|
504 |
msgstr "Να εμφανίζονται credits του plugin;"
|
505 |
|
506 |
-
#:
|
507 |
-
#:
|
508 |
#, php-format
|
509 |
#@ yarpp
|
510 |
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."
|
511 |
msgstr "Η επιλογή αυτή προσθέτει των κώδικα %s. Αν θέλετε ενεργοποιήστε τον, ενημερώστε την αλλαγή αυτή και δείτε τον κώδικα στα δεξιά. Τα Links και οι δωρεές είναι ευπρόδεκτες."
|
512 |
|
513 |
-
#:
|
514 |
#@ yarpp
|
515 |
msgid "Display options <small>for RSS</small>"
|
516 |
msgstr "Επιλογές εμφάνισης <small>για το RSS</small>"
|
517 |
|
518 |
-
#:
|
519 |
#@ yarpp
|
520 |
msgid "Display related posts in feeds?"
|
521 |
msgstr "Εμφάνιση σχετικών άρθρων στα feeds;"
|
522 |
|
523 |
-
#:
|
524 |
#@ yarpp
|
525 |
msgid "This option displays related posts at the end of each item in your RSS and Atom feeds. No template changes are needed."
|
526 |
msgstr "Αυτή η επιλογή εμφανίζει τα σχετικά άρθρα στο τέλος κάθε άρθρου στο RSS και στο Atom Feeds. Δεν απαιτείται καμία αλλαγή του αρχείου εμφάνισης."
|
527 |
|
528 |
-
#:
|
529 |
#@ yarpp
|
530 |
msgid "Display related posts in the descriptions?"
|
531 |
msgstr "Εμφάνιση σχετικών άρθρων στις περιγραφές;"
|
532 |
|
533 |
-
#:
|
534 |
#@ yarpp
|
535 |
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."
|
536 |
msgstr "Η επιλογή αυτή εμφανίζει τα σχετικά άρθρα στο πεδίο της περιγραφής του RSS και όχι μόνο στο περιεχόμενο. Αν τα feeds σας είναι ρυθμισμένα να εμφανίζουν μόνο ένα απόσπασμα του άρθρου τότε χρησιμοποιείται μόνο το πεδίο της περιγραφής, άρα είναι απαραίτητο γενικά."
|
537 |
|
538 |
-
#:
|
539 |
#@ yarpp
|
540 |
msgid "RSS display code example"
|
541 |
msgstr "Παράδειγμα κώδικα εμφάνισης του RSS"
|
542 |
|
543 |
-
#:
|
544 |
#@ yarpp
|
545 |
msgid "Before / after related entries display:"
|
546 |
msgstr "Πριν / μετά από την εμφάνιση των σχετικών άρθρων:"
|
547 |
|
548 |
-
#:
|
549 |
#@ yarpp
|
550 |
msgid "Before / after (excerpt):"
|
551 |
msgstr "Πριν / μετά (απόσπασμα):"
|
552 |
|
553 |
-
#:
|
554 |
#@ yarpp
|
555 |
msgid "Advanced"
|
556 |
msgstr "Για προχωρημένους"
|
557 |
|
558 |
-
#:
|
559 |
#@ yarpp
|
560 |
msgid "Show cache status"
|
561 |
msgstr "Εμφάνιση του καθεστώτος προσωρινής μνήμης"
|
562 |
|
563 |
-
#:
|
564 |
#@ yarpp
|
565 |
msgid "When the cache is incomplete, compute related posts on the fly?"
|
566 |
msgstr "Όταν η προσωρινή μνήμη δεν έχει συμπληρωθεί τότε ο υπολογισμός των σχετικών άρθρων να γίνεται με πιο χαλαρα κριτήρια;"
|
567 |
|
568 |
-
#:
|
569 |
#@ yarpp
|
570 |
msgid "If a displayed post's related posts are not cached and this option is on, YARPP will compute them on the fly.<br />If this option is off and a post's related posts have not been cached, it will display as if it has no related posts."
|
571 |
msgstr "Αν τα σχετικά άρθρα ενός άρθρου δεν έχουν υπολογιστεί και η επιλογή αυτή έχει επιλεχθεί τότε το YARPP θα τα υπολογίσει με πιο χαλαρά κριτήρια. Αν η επιλογή είναι αποπεπιλεγμένη και τα σχετικά άρθρα ενός άρθρου δεν έχουν υπολογιστεί τότε δεν θα εμφανίζονται σχετικά άρθρα."
|
572 |
|
573 |
-
#:
|
574 |
#@ yarpp
|
575 |
msgid "'MIN minute(s) and SEC second(s) remaining'"
|
576 |
msgstr "'μένουν MIN λεπτά και SEC δευτερόλεπτα'"
|
577 |
|
578 |
-
#:
|
579 |
#@ yarpp
|
580 |
msgid "'SEC second(s) remaining'"
|
581 |
msgstr "'μένουν SEC δευτερόλεπτα'"
|
582 |
|
583 |
-
#:
|
584 |
#@ yarpp
|
585 |
msgid "Your related posts cache is now complete."
|
586 |
msgstr "Η προσωρινή αποθήκευση των σχετικών άρθρων έχει επιτευχθεί."
|
587 |
|
588 |
-
#:
|
589 |
#@ yarpp
|
590 |
msgid "The SQL queries took SEC seconds."
|
591 |
msgstr "To SQL query διήρκησε SEC δευτερόλεπτα. "
|
592 |
|
593 |
-
#:
|
594 |
#@ yarpp
|
595 |
msgid "There was an error while constructing the related posts for TITLE"
|
596 |
msgstr "Υπήρξε ένα σφάλμα κατά την δημίουrγία των σχετικών άρθρων\\\" κατά TITLE"
|
597 |
|
598 |
-
#:
|
599 |
-
#:
|
600 |
#@ yarpp
|
601 |
msgid "Constructing the related posts timed out."
|
602 |
msgstr "Η δημιουργία των σχετικών άρθρων έληξε."
|
603 |
|
604 |
-
#:
|
605 |
-
#:
|
606 |
#@ yarpp
|
607 |
msgid "Try to continue..."
|
608 |
msgstr "Προσπάθεια για συνέχισει της διαδικασίας..."
|
609 |
|
610 |
-
#:
|
611 |
#@ yarpp
|
612 |
msgid "Your related posts cache is PERCENT% complete."
|
613 |
msgstr "Η προσωρίνή μνήμη των σχετικών άρθρων είναι PERCENT% πλήρης."
|
614 |
|
615 |
-
#:
|
616 |
#@ yarpp
|
617 |
msgid "starting..."
|
618 |
msgstr "εκκίνηση..."
|
619 |
|
620 |
-
#:
|
621 |
#@ yarpp
|
622 |
msgid "Update options"
|
623 |
msgstr "Ενημέρωση επιλογών"
|
624 |
|
625 |
-
#:
|
626 |
#@ yarpp
|
627 |
msgid "Do you really want to reset your configuration?"
|
628 |
msgstr "Είστε σίγουροι ότι θέλετε να επαναφέρετε τις αρχικές ρύθμισεις;"
|
629 |
|
630 |
-
#:
|
631 |
#@ yarpp
|
632 |
msgid "Reset options"
|
633 |
msgstr "Επαναφορά επιλογών"
|
74 |
msgstr "Παράδειγμα άρθρου"
|
75 |
|
76 |
#: magic.php:336
|
77 |
+
#: yarpp_options.php:461
|
78 |
+
#: yarpp_options.php:524
|
79 |
#@ yarpp
|
80 |
msgid "Related posts brought to you by <a href='%s'>Yet Another Related Posts Plugin</a>."
|
81 |
msgstr "Τα Σχετικά Άρθρα είναι κατασκεύασμα του <a href='%s'>Yet Another Related Posts Plugin</a>."
|
82 |
|
83 |
+
#: yarpp_options.php:10
|
84 |
#@ yarpp
|
85 |
msgid "Please move the YARPP template files into your theme to complete installation. Simply move the sample template files (currently in <code>wp-content/plugins/yet-another-related-posts-plugin/yarpp-templates/</code>) to the <code>TEMPLATEPATH</code> directory."
|
86 |
msgstr "Για να ολοκληρωθεί η εγκατάσταση τα πρότυπα αρχεία στον κατάλογο του τρέχοντος θέματος του blog σας. Απλά μεταφέρετε τα αρχεία που βρίσκονται στον φάκελο <code>wp-content/plugins/yet-another-related-posts-plugin/yarpp-templates/</code> στον φάκελο <code>TEMPLATEPATH</code>."
|
87 |
|
88 |
+
#: yarpp_options.php:15
|
89 |
#@ yarpp
|
90 |
msgid "No YARPP template files were found in your theme (<code>TEMPLATEPATH</code>) so the templating feature has been turned off."
|
91 |
msgstr "Δεν βρέθηκαν πρότυπα αρχεία YARPP στο τρέχον θέμα <code>TEMPLATEPATH</code> έτσι η δυνατότητα αυτή έχει απενεργοποιηθεί."
|
92 |
|
93 |
+
#: yarpp_options.php:26
|
94 |
#@ yarpp
|
95 |
msgid "The MyISAM check has been overridden. You may now use the \"consider titles\" and \"consider bodies\" relatedness criteria."
|
96 |
msgstr "Ο έλεγχος MyISAM παρακάμθηκε. Τώρα μπορείτε να χρησιμοποιήσετε τα κριτήρια σχετικότητας \"τίτλοι\" και \"bodies\"."
|
97 |
|
98 |
+
#: yarpp_options.php:35
|
99 |
#, php-format
|
100 |
#@ yarpp
|
101 |
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."
|
102 |
msgstr "Τα κριτήρια σχετικότητας \"τίτλοι\" και \"bodies\" χρειάζονται τον <code>%s</code> πίνακα για την χρήση του <a href='http://dev.mysql.com/doc/refman/5.0/en/storage-engines.html'>μηχανισμό αποθήκευσης MyISAM </a>. Ο πίνακας όμως φαίνεται ότι χρησιμοποιεί τον μηχανισμό <code>%s</code>. Αυτές οι δύο επιλογές έχουν απενεργοποιηθεί."
|
103 |
|
104 |
+
#: yarpp_options.php:37
|
105 |
#, php-format
|
106 |
#@ yarpp
|
107 |
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."
|
108 |
msgstr "Για την επαναφορά των χαρακτηριστικών πρέπει να επικαιροποιήσετε τον πίνακα <code>%s</code> εκτελώντας την εντολή SQL: <code>ALTER TABLE `%s` ENGINE = MyISAM;</code> . Δεν θα διαγραφούν δεδομένα αλλά θα υπάρξουν απώλειες στην απόδοση."
|
109 |
|
110 |
+
#: yarpp_options.php:39
|
111 |
#, php-format
|
112 |
#@ yarpp
|
113 |
msgid "If, despite this check, you are sure that <code>%s</code> is using the MyISAM engine, press this magic button:"
|
114 |
msgstr "Αν παρά τον έλεγχο αυτό είστε σίγουροι ότι χρησιμοποιέι την MyISAM engine τότε πιέστε αυτό το μαγικό πλήκτρο:"
|
115 |
|
116 |
+
#: yarpp_options.php:42
|
117 |
#@ yarpp
|
118 |
msgid "Trust me. Let me use MyISAM features."
|
119 |
msgstr "Δείξε εμπιστοσύνη. Επέτρεψε μου να χρησιμοποιήσω το χαρακτηριστικό MyISAM."
|
120 |
|
121 |
+
#: yarpp_options.php:65
|
122 |
#@ yarpp
|
123 |
msgid "The YARPP database had an error but has been fixed."
|
124 |
msgstr "Η βάση δεδομένων του YARPP είχε ένα λάθος το οποίο έχει διορθωθεί."
|
125 |
|
126 |
+
#: yarpp_options.php:67
|
127 |
#@ yarpp
|
128 |
msgid "The YARPP database has an error which could not be fixed."
|
129 |
msgstr "Η βάση δεδομένων του YARPP έχει ένα σφάλμα το οποίο δεν μπορεί να παρακαμθει."
|
130 |
|
131 |
+
#: yarpp_options.php:68
|
132 |
#@ yarpp
|
133 |
msgid "Please try <A>manual SQL setup</a>."
|
134 |
msgstr "Παρακαλώ δοκιμάστε την \\\"χειροκίνητη\\\" <A>εγκατάσταση SQL.</a>"
|
135 |
|
136 |
+
#: yarpp_options.php:98
|
137 |
#@ yarpp
|
138 |
msgid "Options saved!"
|
139 |
msgstr "Οι επιλογές που έγιναν έχουν αποθηκευτεί!"
|
140 |
|
141 |
+
#: yarpp_options.php:99
|
142 |
+
#: yarpp_options.php:112
|
143 |
+
#: yarpp_options.php:115
|
144 |
+
#: yarpp_options.php:533
|
145 |
#@ yarpp
|
146 |
msgid "Related posts cache status"
|
147 |
msgstr "Κατάσταση προσωρινής μνήμης Σχετικών Άρθρων"
|
148 |
|
149 |
+
#: yarpp_options.php:100
|
150 |
#@ yarpp
|
151 |
msgid "If you updated the \"pool\" options or \"relatedness\" options displayed, please rebuild your cache now from the <A>related posts status pane</a>."
|
152 |
msgstr "Αν έχετε κάνει update στις επιλογές του \"pool\" ή της \"σχετικότητας\" τότε πρέπει να επαναδημιουργήσετε την προσωρινή μνήμη από το <A>Καθεστώς προσωρινής μνήμης σχετικών άρθρων</a>."
|
153 |
|
154 |
+
#: yarpp_options.php:112
|
155 |
#@ yarpp
|
156 |
msgid "Your related posts cache is incomplete. Please build your cache from the <A>related posts status pane</a>."
|
157 |
msgstr "Η προσωρινή μνήμη των σχετικών άρθρων δεν ΄΄εχει συμπληρωθεί. Πρέπει να επαναδημιουργήσετε την προσωρινή μνήμη από το <A>Καθεστώς προσωρινής μνήμης σχετικών άρθρων</a>."
|
158 |
|
159 |
+
#: yarpp_options.php:115
|
160 |
#@ yarpp
|
161 |
msgid "Your related posts cache is empty. Please build your cache from the <A>related posts status pane</a>."
|
162 |
msgstr "Η προσωρινή μνήμη των σχετικών άρθρων είναι κενή. Παρακαλούμε δημιουργήστε την από το <A>Καθεστώς προσωρινής μνήμης σχετικών άρθρων</a>. "
|
163 |
|
164 |
+
#: yarpp_options.php:151
|
165 |
#@ yarpp
|
166 |
msgid "word"
|
167 |
msgstr "λέξη/εις"
|
168 |
|
169 |
+
#: yarpp_options.php:152
|
170 |
#@ yarpp
|
171 |
msgid "tag"
|
172 |
msgstr "ετικέτα/ες"
|
173 |
|
174 |
+
#: yarpp_options.php:153
|
175 |
#@ yarpp
|
176 |
msgid "category"
|
177 |
msgstr "κατηγορία/ες"
|
178 |
|
179 |
+
#: yarpp_options.php:157
|
180 |
+
#: yarpp_options.php:174
|
181 |
+
#: yarpp_options.php:186
|
182 |
#@ yarpp
|
183 |
msgid "do not consider"
|
184 |
msgstr "να μην ληφθούν υπόψιν"
|
185 |
|
186 |
+
#: yarpp_options.php:158
|
187 |
+
#: yarpp_options.php:175
|
188 |
+
#: yarpp_options.php:188
|
189 |
#@ yarpp
|
190 |
msgid "consider"
|
191 |
msgstr "να ληφθούν υπόψιν"
|
192 |
|
193 |
+
#: yarpp_options.php:160
|
194 |
+
#: yarpp_options.php:190
|
195 |
#, php-format
|
196 |
#@ yarpp
|
197 |
msgid "require at least one %s in common"
|
198 |
msgstr "Απαιτείται τουλάχιστον μία κοινή %s"
|
199 |
|
200 |
+
#: yarpp_options.php:162
|
201 |
+
#: yarpp_options.php:192
|
202 |
#, php-format
|
203 |
#@ yarpp
|
204 |
msgid "require more than one %s in common"
|
205 |
msgstr "Aπαιτείται περισσότερες από μία κοινές %s"
|
206 |
|
207 |
+
#: yarpp_options.php:176
|
208 |
#@ yarpp
|
209 |
msgid "consider with extra weight"
|
210 |
msgstr "να ληφθεί ιδιαίτερα υπόψιν"
|
211 |
|
212 |
+
#: yarpp_options.php:204
|
213 |
#@ yarpp
|
214 |
msgid "Yet Another Related Posts Plugin version history (RSS 2.0)"
|
215 |
msgstr "Yet Another Related Posts Plugin ιστορικό εκδόσεων (RSS 2.0)"
|
216 |
|
217 |
+
#: yarpp_options.php:258
|
218 |
#@ yarpp
|
219 |
msgid "Yet Another Related Posts Plugin Options"
|
220 |
msgstr "Ρυθμίσεις του Yet Another Related Posts Plugin"
|
221 |
|
222 |
+
#: yarpp_options.php:276
|
223 |
#@ yarpp
|
224 |
msgid "Follow <a href=\"http://twitter.com/yarpp/\">Yet Another Related Posts Plugin on Twitter</a>"
|
225 |
msgstr "Follow <a href=\"http://twitter.com/yarpp/\">Yet Another Related Posts Plugin στο Twitter</a>"
|
226 |
|
227 |
+
#: yarpp_options.php:281
|
228 |
#@ yarpp
|
229 |
msgid "\"The Pool\""
|
230 |
msgstr "\"The Pool\""
|
231 |
|
232 |
+
#: yarpp_options.php:282
|
233 |
#@ yarpp
|
234 |
msgid "\"The Pool\" refers to the pool of posts and pages that are candidates for display as related to the current entry."
|
235 |
msgstr "Η \"The Pool\" αναφέρεται στο σύνολο των υποψήφιων για εμφάνιση σχετικών άρθρων."
|
236 |
|
237 |
+
#: yarpp_options.php:287
|
238 |
#@ yarpp
|
239 |
msgid "Disallow by category:"
|
240 |
msgstr "Απαγόρευση βάσει της κατηγορίας:"
|
241 |
|
242 |
+
#: yarpp_options.php:289
|
243 |
#@ yarpp
|
244 |
msgid "Disallow by tag:"
|
245 |
msgstr "Απαγόρευση βάσει της ετικέτας:"
|
246 |
|
247 |
+
#: yarpp_options.php:291
|
248 |
#@ yarpp
|
249 |
msgid "Show password protected posts?"
|
250 |
msgstr "Εμφάνιση των προστατευμένων με κωδικό άρθρων;"
|
251 |
|
252 |
+
#: yarpp_options.php:297
|
253 |
#@ yarpp
|
254 |
msgid "day(s)"
|
255 |
msgstr "ημέρα(ες)"
|
256 |
|
257 |
+
#: yarpp_options.php:298
|
258 |
#@ yarpp
|
259 |
msgid "week(s)"
|
260 |
msgstr "εβδομάδα(ες)"
|
261 |
|
262 |
+
#: yarpp_options.php:299
|
263 |
#@ yarpp
|
264 |
msgid "month(s)"
|
265 |
msgstr "μήνα(ες)"
|
266 |
|
267 |
+
#: yarpp_options.php:301
|
268 |
#@ yarpp
|
269 |
msgid "Show only posts from the past NUMBER UNITS"
|
270 |
msgstr "Τα άρθρα να μήν είναι παλιότερα από NUMBER UNITS"
|
271 |
|
272 |
+
#: yarpp_options.php:309
|
273 |
#@ yarpp
|
274 |
msgid "\"Relatedness\" options"
|
275 |
msgstr "Επιλογές \"Σχετικότητας\""
|
276 |
|
277 |
+
#: yarpp_options.php:311
|
278 |
#, php-format
|
279 |
#@ yarpp
|
280 |
msgid "YARPP is different than the <a href=\"http://wasabi.pbwiki.com/Related%20Entries\">previous plugins it is based on</a> as it limits the related posts list by (1) a maximum number and (2) a <em>match threshold</em>."
|
281 |
msgstr "Το YARPP είναι διαφορετικό από <a href=\"http://wasabi.pbwiki.com/Related%20Entries\">προηγούμενα plugins</a> αφού δημιουργεί την λίστα των σχετικών άρθρων βάσει (1) έναν μέγιστο αριθμό και (2) ένα <em>όριο σχετικότητας</em>."
|
282 |
|
283 |
+
#: yarpp_options.php:311
|
284 |
+
#: yarpp_options.php:325
|
285 |
+
#: yarpp_options.php:408
|
286 |
+
#: yarpp_options.php:413
|
287 |
+
#: yarpp_options.php:460
|
288 |
+
#: yarpp_options.php:472
|
289 |
+
#: yarpp_options.php:473
|
290 |
+
#: yarpp_options.php:477
|
291 |
+
#: yarpp_options.php:523
|
292 |
+
#: yarpp_options.php:534
|
293 |
#@ yarpp
|
294 |
msgid "more>"
|
295 |
msgstr "περισσότερα>"
|
296 |
|
297 |
+
#: yarpp_options.php:311
|
298 |
#@ yarpp
|
299 |
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."
|
300 |
msgstr "Όσο πιο υψηλό είναι το όριο σχετικότητας τόσο περιορίζονται τα εμφανιζόμενα σχετικά άρθρα. Το default όριο σχετικότητας είναι 5. Για να προσαρμόσετε το κατάλληλο στο blog σας όριο σχετικότητας ελέγξτε τα εμφανιζόμενα αποτελέσματα και την βαθμολογία τους. "
|
301 |
|
302 |
+
#: yarpp_options.php:316
|
303 |
#@ yarpp
|
304 |
msgid "Match threshold:"
|
305 |
msgstr "'Ορια σχετικότητας"
|
306 |
|
307 |
+
#: yarpp_options.php:317
|
308 |
#@ yarpp
|
309 |
msgid "Titles: "
|
310 |
msgstr "Τίτλοι:"
|
311 |
|
312 |
+
#: yarpp_options.php:319
|
313 |
#@ yarpp
|
314 |
msgid "Bodies: "
|
315 |
msgstr "Bodies:"
|
316 |
|
317 |
+
#: yarpp_options.php:321
|
318 |
#@ yarpp
|
319 |
msgid "Tags: "
|
320 |
msgstr "Ετικέτες:"
|
321 |
|
322 |
+
#: yarpp_options.php:323
|
323 |
#@ yarpp
|
324 |
msgid "Categories: "
|
325 |
msgstr "Κατηγορίες:"
|
326 |
|
327 |
+
#: yarpp_options.php:325
|
328 |
#@ yarpp
|
329 |
msgid "Cross-relate posts and pages?"
|
330 |
msgstr "Διασταύρωση σχετικών άρθρων και σελίδων;"
|
331 |
|
332 |
+
#: yarpp_options.php:325
|
333 |
#@ yarpp
|
334 |
msgid "When the \"Cross-relate posts and pages\" option is selected, the <code>related_posts()</code>, <code>related_pages()</code>, and <code>related_entries()</code> all will give the same output, returning both related pages and posts."
|
335 |
msgstr "Όταν είναι επιλεγμένη τότε τα <code>related_posts()</code>, <code>related_pages()</code>, και <code>related_entries()</code> θα δώσουν το ίδιο αποτέλεσμα με σχετικά άρθρα και σελίδες."
|
336 |
|
337 |
+
#: yarpp_options.php:391
|
338 |
#@ yarpp
|
339 |
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."
|
340 |
msgstr "Έχει ήδη κυκλοφορήσει μια νέα έκδοση beta του Yet Another Related Posts Plugin. Μπορείτε και εσείς να το κατεβάσετε <a href=\"%s\">από εδώ</a> με δική σας ευθύνη."
|
341 |
|
342 |
+
#: yarpp_options.php:393
|
343 |
#@ yarpp
|
344 |
msgid "There is a new version (VERSION) of Yet Another Related Posts Plugin available! You can <A>download it here</a>."
|
345 |
msgstr "Έχει ήδη κυκλοφορήσει μια νέα έκδοση beta του Yet Another Related Posts Plugin! Κατεβάστε το από <A> εδώ</a>."
|
346 |
|
347 |
+
#: yarpp_options.php:404
|
348 |
#@ yarpp
|
349 |
msgid "Display options <small>for your website</small>"
|
350 |
msgstr "Επιλογές εμφάνισης <small>για το Blog</small>"
|
351 |
|
352 |
+
#: yarpp_options.php:408
|
353 |
#@ yarpp
|
354 |
msgid "Automatically display related posts?"
|
355 |
msgstr "Τα Σχετικά Άρθρα να εμφανίζονται αυτόματα;"
|
356 |
|
357 |
+
#: yarpp_options.php:408
|
358 |
#@ yarpp
|
359 |
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."
|
360 |
msgstr "Η επιλογή αυτή εμφανίζει αυτόματα την λίστα των σχετικών άρθρων αμέσως μετά από το εκάστοτε άρθρο. Αν είναι αποεπιλεγμένη τότε θα πρέπει να τοποθετήσετε χειροκίνητα των κώδικα <code>related_posts()</code> ή την μεταβλητή (<code>related_pages()</code> και <code>related_entries()</code>) στον κώδικα του θέματος σας."
|
361 |
|
362 |
+
#: yarpp_options.php:409
|
363 |
#@ yarpp
|
364 |
msgid "Website display code example"
|
365 |
msgstr "Παράδειγμα κώδικα εμφάνισης στο Website"
|
366 |
|
367 |
+
#: yarpp_options.php:409
|
368 |
+
#: yarpp_options.php:474
|
369 |
#@ yarpp
|
370 |
msgid "(Update options to reload.)"
|
371 |
msgstr "(Ενημερώστε τις επιλογές ώστε να γίνει επαναφόρτωση.)"
|
372 |
|
373 |
+
#: yarpp_options.php:412
|
374 |
+
#: yarpp_options.php:476
|
375 |
#@ yarpp
|
376 |
msgid "Maximum number of related posts:"
|
377 |
msgstr "Μέγιστος αριθμός εμφανισθέντων σχετικών άρθρων:"
|
378 |
|
379 |
+
#: yarpp_options.php:413
|
380 |
+
#: yarpp_options.php:477
|
381 |
#@ yarpp
|
382 |
msgid "Display using a custom template file"
|
383 |
msgstr "Η εμφάνιση να στηρίζεται σε δικό σας πρότυπο αρχείο"
|
384 |
|
385 |
+
#: yarpp_options.php:413
|
386 |
+
#: yarpp_options.php:477
|
387 |
+
#: yarpp_options.php:530
|
388 |
#@ yarpp
|
389 |
msgid "NEW!"
|
390 |
msgstr "ΝΕΟ!"
|
391 |
|
392 |
+
#: yarpp_options.php:413
|
393 |
+
#: yarpp_options.php:477
|
394 |
#@ yarpp
|
395 |
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."
|
396 |
msgstr "Αυτή η επιλογή σας δίνει την δυνατότητα να καθορίσεται την εμφάνιση των σχετικών άρθρων όπως εσείς θέλετε. Τα πρότυπα αρχεία που είναι αποθηκευμένα στο θέμα σας είναι γραμμένα σε PHP."
|
397 |
|
398 |
+
#: yarpp_options.php:415
|
399 |
+
#: yarpp_options.php:479
|
400 |
#@ yarpp
|
401 |
msgid "Template file:"
|
402 |
msgstr "Πρότυπο αρχείο:"
|
403 |
|
404 |
+
#: yarpp_options.php:425
|
405 |
#@ yarpp
|
406 |
msgid "Before / after related entries:"
|
407 |
msgstr "Πριν / Μετά από τα σχετικά άρθρα:"
|
408 |
|
409 |
+
#: yarpp_options.php:426
|
410 |
+
#: yarpp_options.php:431
|
411 |
+
#: yarpp_options.php:440
|
412 |
+
#: yarpp_options.php:490
|
413 |
+
#: yarpp_options.php:495
|
414 |
+
#: yarpp_options.php:504
|
415 |
#@ yarpp
|
416 |
msgid "For example:"
|
417 |
msgstr "Για παράδειγμα:"
|
418 |
|
419 |
+
#: yarpp_options.php:426
|
420 |
+
#: yarpp_options.php:431
|
421 |
+
#: yarpp_options.php:440
|
422 |
+
#: yarpp_options.php:490
|
423 |
+
#: yarpp_options.php:495
|
424 |
+
#: yarpp_options.php:504
|
425 |
#@ yarpp
|
426 |
msgid " or "
|
427 |
msgstr "ή"
|
428 |
|
429 |
+
#: yarpp_options.php:430
|
430 |
+
#: yarpp_options.php:494
|
431 |
#@ yarpp
|
432 |
msgid "Before / after each related entry:"
|
433 |
msgstr "Πριν / μετά από κάθε σχετικό άρθρο:"
|
434 |
|
435 |
+
#: yarpp_options.php:434
|
436 |
+
#: yarpp_options.php:498
|
437 |
#@ yarpp
|
438 |
msgid "Show excerpt?"
|
439 |
msgstr "Εμφάνιση αποσπάσματος;"
|
440 |
|
441 |
+
#: yarpp_options.php:435
|
442 |
+
#: yarpp_options.php:499
|
443 |
#@ yarpp
|
444 |
msgid "Excerpt length (No. of words):"
|
445 |
msgstr "Μέγεθος αποσπάσματος (Αριθμός λέξεων):"
|
446 |
|
447 |
+
#: yarpp_options.php:439
|
448 |
#@ yarpp
|
449 |
msgid "Before / after (Excerpt):"
|
450 |
msgstr "Πρίν / Μετά (απόσπασμα):"
|
451 |
|
452 |
+
#: yarpp_options.php:445
|
453 |
+
#: yarpp_options.php:509
|
454 |
#@ yarpp
|
455 |
msgid "Order results:"
|
456 |
msgstr "Σειρά αποτελεσμάτων:"
|
457 |
|
458 |
+
#: yarpp_options.php:447
|
459 |
+
#: yarpp_options.php:511
|
460 |
#@ yarpp
|
461 |
msgid "score (high relevance to low)"
|
462 |
msgstr "αποτέλεσμα (υψηλή προς χαμηλή σχετικότητα)"
|
463 |
|
464 |
+
#: yarpp_options.php:448
|
465 |
+
#: yarpp_options.php:512
|
466 |
#@ yarpp
|
467 |
msgid "score (low relevance to high)"
|
468 |
msgstr "αποτέλεσμα (χαμηλή προς υψηλή σχετικότητα)"
|
469 |
|
470 |
+
#: yarpp_options.php:449
|
471 |
+
#: yarpp_options.php:513
|
472 |
#@ yarpp
|
473 |
msgid "date (new to old)"
|
474 |
msgstr "ημερομηνία (νεότερο στο παλιότερο)"
|
475 |
|
476 |
+
#: yarpp_options.php:450
|
477 |
+
#: yarpp_options.php:514
|
478 |
#@ yarpp
|
479 |
msgid "date (old to new)"
|
480 |
msgstr "ημερομηνία (παλιότερο στο νεότερο)"
|
481 |
|
482 |
+
#: yarpp_options.php:451
|
483 |
+
#: yarpp_options.php:515
|
484 |
#@ yarpp
|
485 |
msgid "title (alphabetical)"
|
486 |
msgstr "τίτλος (αλφαβητικά)"
|
487 |
|
488 |
+
#: yarpp_options.php:452
|
489 |
+
#: yarpp_options.php:516
|
490 |
#@ yarpp
|
491 |
msgid "title (reverse alphabetical)"
|
492 |
msgstr "τίτλος (αντίστροφη αλφαβητική σειρά)"
|
493 |
|
494 |
+
#: yarpp_options.php:457
|
495 |
+
#: yarpp_options.php:521
|
496 |
#@ yarpp
|
497 |
msgid "Default display if no results:"
|
498 |
msgstr "Αν δεν υπάρχουν σχετικά άρθρα θα εμφανίζονται:"
|
499 |
|
500 |
+
#: yarpp_options.php:459
|
501 |
+
#: yarpp_options.php:523
|
502 |
#@ yarpp
|
503 |
msgid "Help promote Yet Another Related Posts Plugin?"
|
504 |
msgstr "Να εμφανίζονται credits του plugin;"
|
505 |
|
506 |
+
#: yarpp_options.php:461
|
507 |
+
#: yarpp_options.php:524
|
508 |
#, php-format
|
509 |
#@ yarpp
|
510 |
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."
|
511 |
msgstr "Η επιλογή αυτή προσθέτει των κώδικα %s. Αν θέλετε ενεργοποιήστε τον, ενημερώστε την αλλαγή αυτή και δείτε τον κώδικα στα δεξιά. Τα Links και οι δωρεές είναι ευπρόδεκτες."
|
512 |
|
513 |
+
#: yarpp_options.php:467
|
514 |
#@ yarpp
|
515 |
msgid "Display options <small>for RSS</small>"
|
516 |
msgstr "Επιλογές εμφάνισης <small>για το RSS</small>"
|
517 |
|
518 |
+
#: yarpp_options.php:472
|
519 |
#@ yarpp
|
520 |
msgid "Display related posts in feeds?"
|
521 |
msgstr "Εμφάνιση σχετικών άρθρων στα feeds;"
|
522 |
|
523 |
+
#: yarpp_options.php:472
|
524 |
#@ yarpp
|
525 |
msgid "This option displays related posts at the end of each item in your RSS and Atom feeds. No template changes are needed."
|
526 |
msgstr "Αυτή η επιλογή εμφανίζει τα σχετικά άρθρα στο τέλος κάθε άρθρου στο RSS και στο Atom Feeds. Δεν απαιτείται καμία αλλαγή του αρχείου εμφάνισης."
|
527 |
|
528 |
+
#: yarpp_options.php:473
|
529 |
#@ yarpp
|
530 |
msgid "Display related posts in the descriptions?"
|
531 |
msgstr "Εμφάνιση σχετικών άρθρων στις περιγραφές;"
|
532 |
|
533 |
+
#: yarpp_options.php:473
|
534 |
#@ yarpp
|
535 |
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."
|
536 |
msgstr "Η επιλογή αυτή εμφανίζει τα σχετικά άρθρα στο πεδίο της περιγραφής του RSS και όχι μόνο στο περιεχόμενο. Αν τα feeds σας είναι ρυθμισμένα να εμφανίζουν μόνο ένα απόσπασμα του άρθρου τότε χρησιμοποιείται μόνο το πεδίο της περιγραφής, άρα είναι απαραίτητο γενικά."
|
537 |
|
538 |
+
#: yarpp_options.php:474
|
539 |
#@ yarpp
|
540 |
msgid "RSS display code example"
|
541 |
msgstr "Παράδειγμα κώδικα εμφάνισης του RSS"
|
542 |
|
543 |
+
#: yarpp_options.php:489
|
544 |
#@ yarpp
|
545 |
msgid "Before / after related entries display:"
|
546 |
msgstr "Πριν / μετά από την εμφάνιση των σχετικών άρθρων:"
|
547 |
|
548 |
+
#: yarpp_options.php:503
|
549 |
#@ yarpp
|
550 |
msgid "Before / after (excerpt):"
|
551 |
msgstr "Πριν / μετά (απόσπασμα):"
|
552 |
|
553 |
+
#: yarpp_options.php:530
|
554 |
#@ yarpp
|
555 |
msgid "Advanced"
|
556 |
msgstr "Για προχωρημένους"
|
557 |
|
558 |
+
#: yarpp_options.php:533
|
559 |
#@ yarpp
|
560 |
msgid "Show cache status"
|
561 |
msgstr "Εμφάνιση του καθεστώτος προσωρινής μνήμης"
|
562 |
|
563 |
+
#: yarpp_options.php:534
|
564 |
#@ yarpp
|
565 |
msgid "When the cache is incomplete, compute related posts on the fly?"
|
566 |
msgstr "Όταν η προσωρινή μνήμη δεν έχει συμπληρωθεί τότε ο υπολογισμός των σχετικών άρθρων να γίνεται με πιο χαλαρα κριτήρια;"
|
567 |
|
568 |
+
#: yarpp_options.php:535
|
569 |
#@ yarpp
|
570 |
msgid "If a displayed post's related posts are not cached and this option is on, YARPP will compute them on the fly.<br />If this option is off and a post's related posts have not been cached, it will display as if it has no related posts."
|
571 |
msgstr "Αν τα σχετικά άρθρα ενός άρθρου δεν έχουν υπολογιστεί και η επιλογή αυτή έχει επιλεχθεί τότε το YARPP θα τα υπολογίσει με πιο χαλαρά κριτήρια. Αν η επιλογή είναι αποπεπιλεγμένη και τα σχετικά άρθρα ενός άρθρου δεν έχουν υπολογιστεί τότε δεν θα εμφανίζονται σχετικά άρθρα."
|
572 |
|
573 |
+
#: yarpp_options.php:565
|
574 |
#@ yarpp
|
575 |
msgid "'MIN minute(s) and SEC second(s) remaining'"
|
576 |
msgstr "'μένουν MIN λεπτά και SEC δευτερόλεπτα'"
|
577 |
|
578 |
+
#: yarpp_options.php:567
|
579 |
#@ yarpp
|
580 |
msgid "'SEC second(s) remaining'"
|
581 |
msgstr "'μένουν SEC δευτερόλεπτα'"
|
582 |
|
583 |
+
#: yarpp_options.php:571
|
584 |
#@ yarpp
|
585 |
msgid "Your related posts cache is now complete."
|
586 |
msgstr "Η προσωρινή αποθήκευση των σχετικών άρθρων έχει επιτευχθεί."
|
587 |
|
588 |
+
#: yarpp_options.php:571
|
589 |
#@ yarpp
|
590 |
msgid "The SQL queries took SEC seconds."
|
591 |
msgstr "To SQL query διήρκησε SEC δευτερόλεπτα. "
|
592 |
|
593 |
+
#: yarpp_options.php:578
|
594 |
#@ yarpp
|
595 |
msgid "There was an error while constructing the related posts for TITLE"
|
596 |
msgstr "Υπήρξε ένα σφάλμα κατά την δημίουrγία των σχετικών άρθρων\\\" κατά TITLE"
|
597 |
|
598 |
+
#: yarpp_options.php:580
|
599 |
+
#: yarpp_options.php:586
|
600 |
#@ yarpp
|
601 |
msgid "Constructing the related posts timed out."
|
602 |
msgstr "Η δημιουργία των σχετικών άρθρων έληξε."
|
603 |
|
604 |
+
#: yarpp_options.php:583
|
605 |
+
#: yarpp_options.php:588
|
606 |
#@ yarpp
|
607 |
msgid "Try to continue..."
|
608 |
msgstr "Προσπάθεια για συνέχισει της διαδικασίας..."
|
609 |
|
610 |
+
#: yarpp_options.php:596
|
611 |
#@ yarpp
|
612 |
msgid "Your related posts cache is PERCENT% complete."
|
613 |
msgstr "Η προσωρίνή μνήμη των σχετικών άρθρων είναι PERCENT% πλήρης."
|
614 |
|
615 |
+
#: yarpp_options.php:602
|
616 |
#@ yarpp
|
617 |
msgid "starting..."
|
618 |
msgstr "εκκίνηση..."
|
619 |
|
620 |
+
#: yarpp_options.php:609
|
621 |
#@ yarpp
|
622 |
msgid "Update options"
|
623 |
msgstr "Ενημέρωση επιλογών"
|
624 |
|
625 |
+
#: yarpp_options.php:610
|
626 |
#@ yarpp
|
627 |
msgid "Do you really want to reset your configuration?"
|
628 |
msgstr "Είστε σίγουροι ότι θέλετε να επαναφέρετε τις αρχικές ρύθμισεις;"
|
629 |
|
630 |
+
#: yarpp_options.php:610
|
631 |
#@ yarpp
|
632 |
msgid "Reset options"
|
633 |
msgstr "Επαναφορά επιλογών"
|
lang/yarpp-es_ES.po
CHANGED
@@ -57,22 +57,22 @@ msgstr "Títulos:"
|
|
57 |
|
58 |
#@ yarpp
|
59 |
#: includes.php:236
|
60 |
-
#:
|
61 |
-
#:
|
62 |
msgid "Display using a custom template file"
|
63 |
msgstr "Visualizar usando un archivo de plantilla para cliente"
|
64 |
|
65 |
#@ yarpp
|
66 |
#: includes.php:237
|
67 |
-
#:
|
68 |
-
#:
|
69 |
msgid "Template file:"
|
70 |
msgstr "Archivo de plantilla:"
|
71 |
|
72 |
#@ yarpp
|
73 |
#: includes.php:245
|
74 |
-
#:
|
75 |
-
#:
|
76 |
msgid "Help promote Yet Another Related Posts Plugin?"
|
77 |
msgstr "Ayuda para promover aún Yet Another Related Posts Plugin?"
|
78 |
|
@@ -88,457 +88,457 @@ msgstr "Entradas relacionadas podrían ser visualizadas una vez que Guardes tu E
|
|
88 |
|
89 |
#@ yarpp
|
90 |
#: magic.php:297
|
91 |
-
#:
|
92 |
-
#:
|
93 |
msgid "Related posts brought to you by <a href='%s'>Yet Another Related Posts Plugin</a>."
|
94 |
msgstr "Publicaciones relacionadas que recibes por <a href='%s'>Yet Another Related Posts Plugin</a>."
|
95 |
|
96 |
#@ yarpp
|
97 |
-
#:
|
98 |
msgid "Please move the YARPP template files into your theme to complete installation. Simply move the sample template files (currently in <code>wp-content/plugins/yet-another-related-posts-plugin/yarpp-templates/</code>) to the <code>TEMPLATEPATH</code> directory."
|
99 |
msgstr "Favor de mover el archivo de plantillas YARPP a tu tema para completar Instalación. Simplemente mover las mismas muestras de plantillas (actualmente en <code>wp-content/plugins/yet-another-related-posts-plugin/yarpp-templates/</code>) al directorio <code>TEMPLATEPATH</code>."
|
100 |
|
101 |
#@ yarpp
|
102 |
-
#:
|
103 |
msgid "No YARPP template files were found in your theme (<code>TEMPLATEPATH</code>) so the templating feature has been turned off."
|
104 |
msgstr "Ningunos archivos de plantillas YARPP fueron encontradas en su tema (<code>TEMPLATEPATH</code>) así que las carácterísticas de la plantillas se han deshabilitado."
|
105 |
|
106 |
#@ yarpp
|
107 |
-
#:
|
108 |
msgid "The MyISAM check has been overridden. You may now use the \"consider titles\" and \"consider bodies\" relatedness criteria."
|
109 |
msgstr "La revisión MyISAM ha sido anulada. Ahora podrías usar \"consider titles\" y \"consider bodies\" criterios de relación."
|
110 |
|
111 |
#@ yarpp
|
112 |
-
#:
|
113 |
#, php-format
|
114 |
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."
|
115 |
msgstr "YARPP's \"consider titles\" y \"consider bodies\" criterios de relaciones, requieren tu <code>%s</code> tabla para usar <a href='http://dev.mysql.com/doc/refman/5.0/en/storage-engines.html'>MyISAM storage engine</a>, pero la tabla parece estar usando <code>%s</code> engine. Estas dos opciones han sido deshabilitadas."
|
116 |
|
117 |
#@ yarpp
|
118 |
-
#:
|
119 |
#, php-format
|
120 |
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."
|
121 |
msgstr "Para restaurar estas características, por favor actualiza la tabla <code>%s</code> ejecutando los siguientes SQL directive: <code>ALTER TABLE `%s` ENGINE = MyISAM;</code>. Ningún dato será eliminado por alterar by el motor de la tabla, aunque hay implicaciones de funciones."
|
122 |
|
123 |
#@ yarpp
|
124 |
-
#:
|
125 |
#, php-format
|
126 |
msgid "If, despite this check, you are sure that <code>%s</code> is using the MyISAM engine, press this magic button:"
|
127 |
msgstr "Si a pesar de esta revisión, estás seguro de que <code>%s</code> está utilizando el motor MyISAM, presiona este mágico botón:"
|
128 |
|
129 |
#@ yarpp
|
130 |
-
#:
|
131 |
msgid "Trust me. Let me use MyISAM features."
|
132 |
msgstr "Confía en mi. Permíteme usar las caracyerísticas de MyISAM."
|
133 |
|
134 |
#@ yarpp
|
135 |
-
#:
|
136 |
msgid "The YARPP database had an error but has been fixed."
|
137 |
msgstr "La base de datos YARPP tuvo un error pero ha sido solucionado."
|
138 |
|
139 |
#@ yarpp
|
140 |
-
#:
|
141 |
msgid "The YARPP database has an error which could not be fixed."
|
142 |
msgstr "La base de datos YARPP tuvo un error que no se pudo solucionar."
|
143 |
|
144 |
#@ yarpp
|
145 |
-
#:
|
146 |
msgid "Please try <A>manual SQL setup</a>."
|
147 |
msgstr "Favor de inrentar <a>manual SQL instalación</a>."
|
148 |
|
149 |
#@ yarpp
|
150 |
-
#:
|
151 |
msgid "Options saved!"
|
152 |
msgstr "Opciones guardadas!"
|
153 |
|
154 |
#@ yarpp
|
155 |
-
#:
|
156 |
msgid "word"
|
157 |
msgstr "palabra"
|
158 |
|
159 |
#@ yarpp
|
160 |
-
#:
|
161 |
msgid "tag"
|
162 |
msgstr "etiqueta"
|
163 |
|
164 |
#@ yarpp
|
165 |
-
#:
|
166 |
msgid "category"
|
167 |
msgstr "categoría"
|
168 |
|
169 |
#@ yarpp
|
170 |
-
#:
|
171 |
-
#:
|
172 |
-
#:
|
173 |
msgid "do not consider"
|
174 |
msgstr "no considerar"
|
175 |
|
176 |
#@ yarpp
|
177 |
-
#:
|
178 |
-
#:
|
179 |
-
#:
|
180 |
msgid "consider"
|
181 |
msgstr "considerar"
|
182 |
|
183 |
#@ yarpp
|
184 |
-
#:
|
185 |
-
#:
|
186 |
#, php-format
|
187 |
msgid "require at least one %s in common"
|
188 |
msgstr "requiere al menos del uno %s en común"
|
189 |
|
190 |
#@ yarpp
|
191 |
-
#:
|
192 |
-
#:
|
193 |
#, php-format
|
194 |
msgid "require more than one %s in common"
|
195 |
msgstr "requiere más del uno %s en común"
|
196 |
|
197 |
#@ yarpp
|
198 |
-
#:
|
199 |
msgid "consider with extra weight"
|
200 |
msgstr "considerar con peso extra"
|
201 |
|
202 |
#@ yarpp
|
203 |
-
#:
|
204 |
msgid "Yet Another Related Posts Plugin Options"
|
205 |
msgstr "Yet Another Related Posts Plugin Opciones"
|
206 |
|
207 |
#@ yarpp
|
208 |
-
#:
|
209 |
msgid "Follow <a href=\"http://twitter.com/yarpp/\">Yet Another Related Posts Plugin on Twitter</a>"
|
210 |
msgstr "Segúir <a href=\"http://twitter.com/yarpp/\">Yet Another Related Posts Plugin en Twitter</a>"
|
211 |
|
212 |
#@ default
|
213 |
-
#:
|
214 |
-
#:
|
215 |
-
#:
|
216 |
-
#:
|
217 |
msgid "Click to toggle"
|
218 |
msgstr "Clic al botón"
|
219 |
|
220 |
#@ yarpp
|
221 |
-
#:
|
222 |
msgid "\"The Pool\""
|
223 |
msgstr "\"The Pool\""
|
224 |
|
225 |
#@ yarpp
|
226 |
-
#:
|
227 |
msgid "\"The Pool\" refers to the pool of posts and pages that are candidates for display as related to the current entry."
|
228 |
msgstr "\"The Pool\" se refiere al fondo de Publicaciones y Páginas que son candidatos para visualizar como relacionados con la actual Entrada."
|
229 |
|
230 |
#@ yarpp
|
231 |
-
#:
|
232 |
msgid "Disallow by category:"
|
233 |
msgstr "Anular por categoría:"
|
234 |
|
235 |
#@ yarpp
|
236 |
-
#:
|
237 |
msgid "Disallow by tag:"
|
238 |
msgstr "Anular por etiqueta:"
|
239 |
|
240 |
#@ yarpp
|
241 |
-
#:
|
242 |
msgid "Show password protected posts?"
|
243 |
msgstr "Mostrar las Publicaciones protegidas por contraseña?"
|
244 |
|
245 |
#@ yarpp
|
246 |
-
#:
|
247 |
msgid "day(s)"
|
248 |
msgstr "día(s)"
|
249 |
|
250 |
#@ yarpp
|
251 |
-
#:
|
252 |
msgid "week(s)"
|
253 |
msgstr "semana(s)"
|
254 |
|
255 |
#@ yarpp
|
256 |
-
#:
|
257 |
msgid "month(s)"
|
258 |
msgstr "mes(es)"
|
259 |
|
260 |
#@ yarpp
|
261 |
-
#:
|
262 |
msgid "Show only posts from the past NUMBER UNITS"
|
263 |
msgstr "Mostrar únicamente Publicaciones de las pasadas UNIDADES de NÚMEROS"
|
264 |
|
265 |
#@ yarpp
|
266 |
-
#:
|
267 |
msgid "\"Relatedness\" options"
|
268 |
msgstr "Opciones \"Relatedness\""
|
269 |
|
270 |
#@ yarpp
|
271 |
-
#:
|
272 |
#, php-format
|
273 |
msgid "YARPP is different than the <a href=\"http://wasabi.pbwiki.com/Related%20Entries\">previous plugins it is based on</a> as it limits the related posts list by (1) a maximum number and (2) a <em>match threshold</em>."
|
274 |
msgstr "YARPP es diferente a <a href=\"http://wasabi.pbwiki.com/Related%20Entries\">previos plugins sobre los que se basa en</a> como si limitara la lista de Publicaciones Relacionadas por: (1) Un número máximo (2) un <em>umbral de combinación</em>."
|
275 |
|
276 |
#@ yarpp
|
277 |
-
#:
|
278 |
-
#:
|
279 |
-
#:
|
280 |
-
#:
|
281 |
-
#:
|
282 |
-
#:
|
283 |
-
#:
|
284 |
-
#:
|
285 |
-
#:
|
286 |
msgid "more>"
|
287 |
msgstr "más>"
|
288 |
|
289 |
#@ yarpp
|
290 |
-
#:
|
291 |
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."
|
292 |
msgstr "Mientras más alto el umbral de combinación, más restrictivo, y en total, obtienes menos Publicaciones Relacionadas. La falta que combina o concuerda como límite, es 5. Si quieres encontrar una combinación apropiada para el umbral en un número límite, da un vistazo a algunas Publicaciones Relacionadas que se pueden visualizar y sus calificaciones, y determina un tamaño límite apropiado para tu sitio."
|
293 |
|
294 |
#@ yarpp
|
295 |
-
#:
|
296 |
msgid "Match threshold:"
|
297 |
msgstr "Umbral que combina:"
|
298 |
|
299 |
#@ yarpp
|
300 |
-
#:
|
301 |
msgid "Titles: "
|
302 |
msgstr "Títulos:"
|
303 |
|
304 |
#@ yarpp
|
305 |
-
#:
|
306 |
msgid "Bodies: "
|
307 |
msgstr "Cuerpos: "
|
308 |
|
309 |
#@ yarpp
|
310 |
-
#:
|
311 |
msgid "Tags: "
|
312 |
msgstr "Etiquetas: "
|
313 |
|
314 |
#@ yarpp
|
315 |
-
#:
|
316 |
msgid "Categories: "
|
317 |
msgstr "Categorías: "
|
318 |
|
319 |
#@ yarpp
|
320 |
-
#:
|
321 |
msgid "Cross-relate posts and pages?"
|
322 |
msgstr "Publicaciones y Páginas Cruzadas-Relacionadas?"
|
323 |
|
324 |
#@ yarpp
|
325 |
-
#:
|
326 |
msgid "When the \"Cross-relate posts and pages\" option is selected, the <code>related_posts()</code>, <code>related_pages()</code>, and <code>related_entries()</code> all will give the same output, returning both related pages and posts."
|
327 |
msgstr "Cuando la opción \"Cruz-se refieren blogs y páginas\" es seleccionada, el código <code>related_posts()</code>, <code>related_pages()</code>, y <code>related_entries()</code> todos dan el mismo resultado, regresando las dos páginas afines y blogs."
|
328 |
|
329 |
#@ yarpp
|
330 |
-
#:
|
331 |
msgid "Show only previous posts?"
|
332 |
msgstr "Mostrar solo Previas Publicaciones?"
|
333 |
|
334 |
#@ yarpp
|
335 |
-
#:
|
336 |
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."
|
337 |
msgstr "Hay una Nueva Versión Beta (%s) de Yet Another Related Posts Plugin. Puedes descargarlo aquí <a href=\"%s\">descargarlo aquí</a> bajo tu propio riesgo."
|
338 |
|
339 |
#@ yarpp
|
340 |
-
#:
|
341 |
msgid "There is a new version (VERSION) of Yet Another Related Posts Plugin available! You can <A>download it here</a>."
|
342 |
msgstr "Hay una Nueva Versión (VERSIÓN) de Yet Another Related Posts Plugin. Puedes descargarlo aquí <a>descargarlo aquí</a> bajo tu propio riesgo."
|
343 |
|
344 |
#@ yarpp
|
345 |
-
#:
|
346 |
msgid "Display options <small>for your website</small>"
|
347 |
msgstr "Visualizar Opciones para tu sitio <small>para su sitio web</small>"
|
348 |
|
349 |
#@ yarpp
|
350 |
-
#:
|
351 |
msgid "Automatically display related posts?"
|
352 |
msgstr "Visualizar Automáticamente Publicaciones Relacionadas?"
|
353 |
|
354 |
#@ yarpp
|
355 |
-
#:
|
356 |
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."
|
357 |
msgstr "Esta opción, automáticamente visualiza publicaciones relacionadas justo después del contenido en Entradas únicas de Página. Si esta opción está inhabilitada, necesitarás insertar manualmente <code>related_posts()</code> o las variantes (<code>related_pages()</code> y <code>related_entries()</code>) en tus archivos de temas."
|
358 |
|
359 |
#@ yarpp
|
360 |
-
#:
|
361 |
msgid "Website display code example"
|
362 |
msgstr "Sitio, ejemplo de visualización de código"
|
363 |
|
364 |
#@ yarpp
|
365 |
-
#:
|
366 |
-
#:
|
367 |
msgid "(Update options to reload.)"
|
368 |
msgstr "(Actualizar opciones para cargar.)"
|
369 |
|
370 |
#@ yarpp
|
371 |
-
#:
|
372 |
-
#:
|
373 |
msgid "Maximum number of related posts:"
|
374 |
msgstr "Número Máximo de Publicaciones Relacionadas:"
|
375 |
|
376 |
#@ yarpp
|
377 |
-
#:
|
378 |
-
#:
|
379 |
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."
|
380 |
msgstr "Esta opción avanzada, te da completo poder para adaptar cómo tus Publicaciones Relacionadas serán visualizadas. Las Plantillas (almacenadas en tu folder de temas) están escritos en PHP."
|
381 |
|
382 |
#@ yarpp
|
383 |
-
#:
|
384 |
msgid "Before / after related entries:"
|
385 |
msgstr "Antes / Después Entradas Relacionadas:"
|
386 |
|
387 |
#@ yarpp
|
388 |
-
#:
|
389 |
-
#:
|
390 |
-
#:
|
391 |
-
#:
|
392 |
-
#:
|
393 |
-
#:
|
394 |
msgid "For example:"
|
395 |
msgstr "Por Ejemplo:"
|
396 |
|
397 |
#@ yarpp
|
398 |
-
#:
|
399 |
-
#:
|
400 |
-
#:
|
401 |
-
#:
|
402 |
-
#:
|
403 |
-
#:
|
404 |
msgid " or "
|
405 |
msgstr "o"
|
406 |
|
407 |
#@ yarpp
|
408 |
-
#:
|
409 |
-
#:
|
410 |
msgid "Before / after each related entry:"
|
411 |
msgstr "Antes / Después de cada Entrada Relacionada:"
|
412 |
|
413 |
#@ yarpp
|
414 |
-
#:
|
415 |
-
#:
|
416 |
msgid "Show excerpt?"
|
417 |
msgstr "Mostrar pasaje?"
|
418 |
|
419 |
#@ yarpp
|
420 |
-
#:
|
421 |
-
#:
|
422 |
msgid "Excerpt length (No. of words):"
|
423 |
msgstr "Longitud de Pasaje (Número de Palabras):"
|
424 |
|
425 |
#@ yarpp
|
426 |
-
#:
|
427 |
msgid "Before / after (Excerpt):"
|
428 |
msgstr "Antes / Después (Pasaje):"
|
429 |
|
430 |
#@ yarpp
|
431 |
-
#:
|
432 |
-
#:
|
433 |
msgid "Order results:"
|
434 |
msgstr "Orden de Resultados:"
|
435 |
|
436 |
#@ yarpp
|
437 |
-
#:
|
438 |
-
#:
|
439 |
msgid "score (high relevance to low)"
|
440 |
msgstr "calificación (De Mayor a Menor Relevancia)"
|
441 |
|
442 |
#@ yarpp
|
443 |
-
#:
|
444 |
-
#:
|
445 |
msgid "score (low relevance to high)"
|
446 |
msgstr "calificación (Menor a Mayor Relevancia)"
|
447 |
|
448 |
#@ yarpp
|
449 |
-
#:
|
450 |
-
#:
|
451 |
msgid "date (new to old)"
|
452 |
msgstr "fecha (nuevo a antiguo)"
|
453 |
|
454 |
#@ yarpp
|
455 |
-
#:
|
456 |
-
#:
|
457 |
msgid "date (old to new)"
|
458 |
msgstr "fecha (antiguo a nuevo)"
|
459 |
|
460 |
#@ yarpp
|
461 |
-
#:
|
462 |
-
#:
|
463 |
msgid "title (alphabetical)"
|
464 |
msgstr "título (orden alfabético)"
|
465 |
|
466 |
#@ yarpp
|
467 |
-
#:
|
468 |
-
#:
|
469 |
msgid "title (reverse alphabetical)"
|
470 |
msgstr "título (Orden alfabpetico a la inversa)"
|
471 |
|
472 |
#@ yarpp
|
473 |
-
#:
|
474 |
-
#:
|
475 |
msgid "Default display if no results:"
|
476 |
msgstr "Falta de Visualización si no hay resultados:"
|
477 |
|
478 |
#@ yarpp
|
479 |
-
#:
|
480 |
-
#:
|
481 |
#, php-format
|
482 |
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."
|
483 |
msgstr "Esta opción sumará %s al código. Intenta encenderlo, actualizando tus opciones, y verás el código en el código de ejemplo a la derecha. Estos enlaces y donaciones son grandemente apreciados."
|
484 |
|
485 |
#@ yarpp
|
486 |
-
#:
|
487 |
msgid "Display options <small>for RSS</small>"
|
488 |
msgstr "Visualizar opciones <small>por RSS</small>"
|
489 |
|
490 |
#@ yarpp
|
491 |
-
#:
|
492 |
msgid "Display related posts in feeds?"
|
493 |
msgstr "Visualizar Opciones Relacionadas en feeds?"
|
494 |
|
495 |
#@ yarpp
|
496 |
-
#:
|
497 |
msgid "This option displays related posts at the end of each item in your RSS and Atom feeds. No template changes are needed."
|
498 |
msgstr "Esta opción visualiza Publicaciones Relacionadas al final de cada artículo en tu RSS y Atom Feeds. No son necesarios los cambios de plantillas."
|
499 |
|
500 |
#@ yarpp
|
501 |
-
#:
|
502 |
msgid "Display related posts in the descriptions?"
|
503 |
msgstr "Visualizar Publicaciones Relacionadas en las Descripciones?"
|
504 |
|
505 |
#@ yarpp
|
506 |
-
#:
|
507 |
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."
|
508 |
msgstr "Esta opción permite visualizar las Publicaciones Relacionadas en los campos de RSS, no solamente el contenido. Si tus feeds están configurados para solamente visualizar pasajes, de cualquier modo, solo la descripción del campo se utiliza, así que esta opción se requiere para cualquier visualización."
|
509 |
|
510 |
#@ yarpp
|
511 |
-
#:
|
512 |
msgid "RSS display code example"
|
513 |
msgstr "Visualización RSS (ejemplo de código)"
|
514 |
|
515 |
#@ yarpp
|
516 |
-
#:
|
517 |
msgid "NEW!"
|
518 |
msgstr "NUEVO!"
|
519 |
|
520 |
#@ yarpp
|
521 |
-
#:
|
522 |
msgid "Before / after related entries display:"
|
523 |
msgstr "Antes / Después visualización de entradas:"
|
524 |
|
525 |
#@ yarpp
|
526 |
-
#:
|
527 |
msgid "Before / after (excerpt):"
|
528 |
msgstr "Antes / Después (pasaje):"
|
529 |
|
530 |
#@ yarpp
|
531 |
-
#:
|
532 |
msgid "Update options"
|
533 |
msgstr "Opciones de Actualización"
|
534 |
|
535 |
#@ yarpp
|
536 |
-
#:
|
537 |
msgid "Do you really want to reset your configuration?"
|
538 |
msgstr "De verdad quieres restaurar tu configuración?"
|
539 |
|
540 |
#@ yarpp
|
541 |
-
#:
|
542 |
msgid "Reset options"
|
543 |
msgstr "Opciones de Restauración"
|
544 |
|
57 |
|
58 |
#@ yarpp
|
59 |
#: includes.php:236
|
60 |
+
#: yarpp_options.php:424
|
61 |
+
#: yarpp_options.php:493
|
62 |
msgid "Display using a custom template file"
|
63 |
msgstr "Visualizar usando un archivo de plantilla para cliente"
|
64 |
|
65 |
#@ yarpp
|
66 |
#: includes.php:237
|
67 |
+
#: yarpp_options.php:426
|
68 |
+
#: yarpp_options.php:495
|
69 |
msgid "Template file:"
|
70 |
msgstr "Archivo de plantilla:"
|
71 |
|
72 |
#@ yarpp
|
73 |
#: includes.php:245
|
74 |
+
#: yarpp_options.php:470
|
75 |
+
#: yarpp_options.php:539
|
76 |
msgid "Help promote Yet Another Related Posts Plugin?"
|
77 |
msgstr "Ayuda para promover aún Yet Another Related Posts Plugin?"
|
78 |
|
88 |
|
89 |
#@ yarpp
|
90 |
#: magic.php:297
|
91 |
+
#: yarpp_options.php:472
|
92 |
+
#: yarpp_options.php:540
|
93 |
msgid "Related posts brought to you by <a href='%s'>Yet Another Related Posts Plugin</a>."
|
94 |
msgstr "Publicaciones relacionadas que recibes por <a href='%s'>Yet Another Related Posts Plugin</a>."
|
95 |
|
96 |
#@ yarpp
|
97 |
+
#: yarpp_options.php:21
|
98 |
msgid "Please move the YARPP template files into your theme to complete installation. Simply move the sample template files (currently in <code>wp-content/plugins/yet-another-related-posts-plugin/yarpp-templates/</code>) to the <code>TEMPLATEPATH</code> directory."
|
99 |
msgstr "Favor de mover el archivo de plantillas YARPP a tu tema para completar Instalación. Simplemente mover las mismas muestras de plantillas (actualmente en <code>wp-content/plugins/yet-another-related-posts-plugin/yarpp-templates/</code>) al directorio <code>TEMPLATEPATH</code>."
|
100 |
|
101 |
#@ yarpp
|
102 |
+
#: yarpp_options.php:26
|
103 |
msgid "No YARPP template files were found in your theme (<code>TEMPLATEPATH</code>) so the templating feature has been turned off."
|
104 |
msgstr "Ningunos archivos de plantillas YARPP fueron encontradas en su tema (<code>TEMPLATEPATH</code>) así que las carácterísticas de la plantillas se han deshabilitado."
|
105 |
|
106 |
#@ yarpp
|
107 |
+
#: yarpp_options.php:37
|
108 |
msgid "The MyISAM check has been overridden. You may now use the \"consider titles\" and \"consider bodies\" relatedness criteria."
|
109 |
msgstr "La revisión MyISAM ha sido anulada. Ahora podrías usar \"consider titles\" y \"consider bodies\" criterios de relación."
|
110 |
|
111 |
#@ yarpp
|
112 |
+
#: yarpp_options.php:46
|
113 |
#, php-format
|
114 |
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."
|
115 |
msgstr "YARPP's \"consider titles\" y \"consider bodies\" criterios de relaciones, requieren tu <code>%s</code> tabla para usar <a href='http://dev.mysql.com/doc/refman/5.0/en/storage-engines.html'>MyISAM storage engine</a>, pero la tabla parece estar usando <code>%s</code> engine. Estas dos opciones han sido deshabilitadas."
|
116 |
|
117 |
#@ yarpp
|
118 |
+
#: yarpp_options.php:48
|
119 |
#, php-format
|
120 |
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."
|
121 |
msgstr "Para restaurar estas características, por favor actualiza la tabla <code>%s</code> ejecutando los siguientes SQL directive: <code>ALTER TABLE `%s` ENGINE = MyISAM;</code>. Ningún dato será eliminado por alterar by el motor de la tabla, aunque hay implicaciones de funciones."
|
122 |
|
123 |
#@ yarpp
|
124 |
+
#: yarpp_options.php:50
|
125 |
#, php-format
|
126 |
msgid "If, despite this check, you are sure that <code>%s</code> is using the MyISAM engine, press this magic button:"
|
127 |
msgstr "Si a pesar de esta revisión, estás seguro de que <code>%s</code> está utilizando el motor MyISAM, presiona este mágico botón:"
|
128 |
|
129 |
#@ yarpp
|
130 |
+
#: yarpp_options.php:53
|
131 |
msgid "Trust me. Let me use MyISAM features."
|
132 |
msgstr "Confía en mi. Permíteme usar las caracyerísticas de MyISAM."
|
133 |
|
134 |
#@ yarpp
|
135 |
+
#: yarpp_options.php:66
|
136 |
msgid "The YARPP database had an error but has been fixed."
|
137 |
msgstr "La base de datos YARPP tuvo un error pero ha sido solucionado."
|
138 |
|
139 |
#@ yarpp
|
140 |
+
#: yarpp_options.php:68
|
141 |
msgid "The YARPP database has an error which could not be fixed."
|
142 |
msgstr "La base de datos YARPP tuvo un error que no se pudo solucionar."
|
143 |
|
144 |
#@ yarpp
|
145 |
+
#: yarpp_options.php:69
|
146 |
msgid "Please try <A>manual SQL setup</a>."
|
147 |
msgstr "Favor de inrentar <a>manual SQL instalación</a>."
|
148 |
|
149 |
#@ yarpp
|
150 |
+
#: yarpp_options.php:97
|
151 |
msgid "Options saved!"
|
152 |
msgstr "Opciones guardadas!"
|
153 |
|
154 |
#@ yarpp
|
155 |
+
#: yarpp_options.php:133
|
156 |
msgid "word"
|
157 |
msgstr "palabra"
|
158 |
|
159 |
#@ yarpp
|
160 |
+
#: yarpp_options.php:134
|
161 |
msgid "tag"
|
162 |
msgstr "etiqueta"
|
163 |
|
164 |
#@ yarpp
|
165 |
+
#: yarpp_options.php:135
|
166 |
msgid "category"
|
167 |
msgstr "categoría"
|
168 |
|
169 |
#@ yarpp
|
170 |
+
#: yarpp_options.php:139
|
171 |
+
#: yarpp_options.php:156
|
172 |
+
#: yarpp_options.php:168
|
173 |
msgid "do not consider"
|
174 |
msgstr "no considerar"
|
175 |
|
176 |
#@ yarpp
|
177 |
+
#: yarpp_options.php:140
|
178 |
+
#: yarpp_options.php:157
|
179 |
+
#: yarpp_options.php:170
|
180 |
msgid "consider"
|
181 |
msgstr "considerar"
|
182 |
|
183 |
#@ yarpp
|
184 |
+
#: yarpp_options.php:142
|
185 |
+
#: yarpp_options.php:172
|
186 |
#, php-format
|
187 |
msgid "require at least one %s in common"
|
188 |
msgstr "requiere al menos del uno %s en común"
|
189 |
|
190 |
#@ yarpp
|
191 |
+
#: yarpp_options.php:144
|
192 |
+
#: yarpp_options.php:174
|
193 |
#, php-format
|
194 |
msgid "require more than one %s in common"
|
195 |
msgstr "requiere más del uno %s en común"
|
196 |
|
197 |
#@ yarpp
|
198 |
+
#: yarpp_options.php:158
|
199 |
msgid "consider with extra weight"
|
200 |
msgstr "considerar con peso extra"
|
201 |
|
202 |
#@ yarpp
|
203 |
+
#: yarpp_options.php:240
|
204 |
msgid "Yet Another Related Posts Plugin Options"
|
205 |
msgstr "Yet Another Related Posts Plugin Opciones"
|
206 |
|
207 |
#@ yarpp
|
208 |
+
#: yarpp_options.php:255
|
209 |
msgid "Follow <a href=\"http://twitter.com/yarpp/\">Yet Another Related Posts Plugin on Twitter</a>"
|
210 |
msgstr "Segúir <a href=\"http://twitter.com/yarpp/\">Yet Another Related Posts Plugin en Twitter</a>"
|
211 |
|
212 |
#@ default
|
213 |
+
#: yarpp_options.php:272
|
214 |
+
#: yarpp_options.php:305
|
215 |
+
#: yarpp_options.php:411
|
216 |
+
#: yarpp_options.php:479
|
217 |
msgid "Click to toggle"
|
218 |
msgstr "Clic al botón"
|
219 |
|
220 |
#@ yarpp
|
221 |
+
#: yarpp_options.php:275
|
222 |
msgid "\"The Pool\""
|
223 |
msgstr "\"The Pool\""
|
224 |
|
225 |
#@ yarpp
|
226 |
+
#: yarpp_options.php:277
|
227 |
msgid "\"The Pool\" refers to the pool of posts and pages that are candidates for display as related to the current entry."
|
228 |
msgstr "\"The Pool\" se refiere al fondo de Publicaciones y Páginas que son candidatos para visualizar como relacionados con la actual Entrada."
|
229 |
|
230 |
#@ yarpp
|
231 |
+
#: yarpp_options.php:282
|
232 |
msgid "Disallow by category:"
|
233 |
msgstr "Anular por categoría:"
|
234 |
|
235 |
#@ yarpp
|
236 |
+
#: yarpp_options.php:284
|
237 |
msgid "Disallow by tag:"
|
238 |
msgstr "Anular por etiqueta:"
|
239 |
|
240 |
#@ yarpp
|
241 |
+
#: yarpp_options.php:287
|
242 |
msgid "Show password protected posts?"
|
243 |
msgstr "Mostrar las Publicaciones protegidas por contraseña?"
|
244 |
|
245 |
#@ yarpp
|
246 |
+
#: yarpp_options.php:291
|
247 |
msgid "day(s)"
|
248 |
msgstr "día(s)"
|
249 |
|
250 |
#@ yarpp
|
251 |
+
#: yarpp_options.php:292
|
252 |
msgid "week(s)"
|
253 |
msgstr "semana(s)"
|
254 |
|
255 |
#@ yarpp
|
256 |
+
#: yarpp_options.php:293
|
257 |
msgid "month(s)"
|
258 |
msgstr "mes(es)"
|
259 |
|
260 |
#@ yarpp
|
261 |
+
#: yarpp_options.php:295
|
262 |
msgid "Show only posts from the past NUMBER UNITS"
|
263 |
msgstr "Mostrar únicamente Publicaciones de las pasadas UNIDADES de NÚMEROS"
|
264 |
|
265 |
#@ yarpp
|
266 |
+
#: yarpp_options.php:308
|
267 |
msgid "\"Relatedness\" options"
|
268 |
msgstr "Opciones \"Relatedness\""
|
269 |
|
270 |
#@ yarpp
|
271 |
+
#: yarpp_options.php:311
|
272 |
#, php-format
|
273 |
msgid "YARPP is different than the <a href=\"http://wasabi.pbwiki.com/Related%20Entries\">previous plugins it is based on</a> as it limits the related posts list by (1) a maximum number and (2) a <em>match threshold</em>."
|
274 |
msgstr "YARPP es diferente a <a href=\"http://wasabi.pbwiki.com/Related%20Entries\">previos plugins sobre los que se basa en</a> como si limitara la lista de Publicaciones Relacionadas por: (1) Un número máximo (2) un <em>umbral de combinación</em>."
|
275 |
|
276 |
#@ yarpp
|
277 |
+
#: yarpp_options.php:311
|
278 |
+
#: yarpp_options.php:326
|
279 |
+
#: yarpp_options.php:419
|
280 |
+
#: yarpp_options.php:424
|
281 |
+
#: yarpp_options.php:471
|
282 |
+
#: yarpp_options.php:488
|
283 |
+
#: yarpp_options.php:489
|
284 |
+
#: yarpp_options.php:493
|
285 |
+
#: yarpp_options.php:539
|
286 |
msgid "more>"
|
287 |
msgstr "más>"
|
288 |
|
289 |
#@ yarpp
|
290 |
+
#: yarpp_options.php:311
|
291 |
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."
|
292 |
msgstr "Mientras más alto el umbral de combinación, más restrictivo, y en total, obtienes menos Publicaciones Relacionadas. La falta que combina o concuerda como límite, es 5. Si quieres encontrar una combinación apropiada para el umbral en un número límite, da un vistazo a algunas Publicaciones Relacionadas que se pueden visualizar y sus calificaciones, y determina un tamaño límite apropiado para tu sitio."
|
293 |
|
294 |
#@ yarpp
|
295 |
+
#: yarpp_options.php:317
|
296 |
msgid "Match threshold:"
|
297 |
msgstr "Umbral que combina:"
|
298 |
|
299 |
#@ yarpp
|
300 |
+
#: yarpp_options.php:318
|
301 |
msgid "Titles: "
|
302 |
msgstr "Títulos:"
|
303 |
|
304 |
#@ yarpp
|
305 |
+
#: yarpp_options.php:320
|
306 |
msgid "Bodies: "
|
307 |
msgstr "Cuerpos: "
|
308 |
|
309 |
#@ yarpp
|
310 |
+
#: yarpp_options.php:322
|
311 |
msgid "Tags: "
|
312 |
msgstr "Etiquetas: "
|
313 |
|
314 |
#@ yarpp
|
315 |
+
#: yarpp_options.php:324
|
316 |
msgid "Categories: "
|
317 |
msgstr "Categorías: "
|
318 |
|
319 |
#@ yarpp
|
320 |
+
#: yarpp_options.php:326
|
321 |
msgid "Cross-relate posts and pages?"
|
322 |
msgstr "Publicaciones y Páginas Cruzadas-Relacionadas?"
|
323 |
|
324 |
#@ yarpp
|
325 |
+
#: yarpp_options.php:326
|
326 |
msgid "When the \"Cross-relate posts and pages\" option is selected, the <code>related_posts()</code>, <code>related_pages()</code>, and <code>related_entries()</code> all will give the same output, returning both related pages and posts."
|
327 |
msgstr "Cuando la opción \"Cruz-se refieren blogs y páginas\" es seleccionada, el código <code>related_posts()</code>, <code>related_pages()</code>, y <code>related_entries()</code> todos dan el mismo resultado, regresando las dos páginas afines y blogs."
|
328 |
|
329 |
#@ yarpp
|
330 |
+
#: yarpp_options.php:327
|
331 |
msgid "Show only previous posts?"
|
332 |
msgstr "Mostrar solo Previas Publicaciones?"
|
333 |
|
334 |
#@ yarpp
|
335 |
+
#: yarpp_options.php:394
|
336 |
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."
|
337 |
msgstr "Hay una Nueva Versión Beta (%s) de Yet Another Related Posts Plugin. Puedes descargarlo aquí <a href=\"%s\">descargarlo aquí</a> bajo tu propio riesgo."
|
338 |
|
339 |
#@ yarpp
|
340 |
+
#: yarpp_options.php:399
|
341 |
msgid "There is a new version (VERSION) of Yet Another Related Posts Plugin available! You can <A>download it here</a>."
|
342 |
msgstr "Hay una Nueva Versión (VERSIÓN) de Yet Another Related Posts Plugin. Puedes descargarlo aquí <a>descargarlo aquí</a> bajo tu propio riesgo."
|
343 |
|
344 |
#@ yarpp
|
345 |
+
#: yarpp_options.php:414
|
346 |
msgid "Display options <small>for your website</small>"
|
347 |
msgstr "Visualizar Opciones para tu sitio <small>para su sitio web</small>"
|
348 |
|
349 |
#@ yarpp
|
350 |
+
#: yarpp_options.php:419
|
351 |
msgid "Automatically display related posts?"
|
352 |
msgstr "Visualizar Automáticamente Publicaciones Relacionadas?"
|
353 |
|
354 |
#@ yarpp
|
355 |
+
#: yarpp_options.php:419
|
356 |
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."
|
357 |
msgstr "Esta opción, automáticamente visualiza publicaciones relacionadas justo después del contenido en Entradas únicas de Página. Si esta opción está inhabilitada, necesitarás insertar manualmente <code>related_posts()</code> o las variantes (<code>related_pages()</code> y <code>related_entries()</code>) en tus archivos de temas."
|
358 |
|
359 |
#@ yarpp
|
360 |
+
#: yarpp_options.php:420
|
361 |
msgid "Website display code example"
|
362 |
msgstr "Sitio, ejemplo de visualización de código"
|
363 |
|
364 |
#@ yarpp
|
365 |
+
#: yarpp_options.php:420
|
366 |
+
#: yarpp_options.php:490
|
367 |
msgid "(Update options to reload.)"
|
368 |
msgstr "(Actualizar opciones para cargar.)"
|
369 |
|
370 |
#@ yarpp
|
371 |
+
#: yarpp_options.php:423
|
372 |
+
#: yarpp_options.php:492
|
373 |
msgid "Maximum number of related posts:"
|
374 |
msgstr "Número Máximo de Publicaciones Relacionadas:"
|
375 |
|
376 |
#@ yarpp
|
377 |
+
#: yarpp_options.php:424
|
378 |
+
#: yarpp_options.php:493
|
379 |
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."
|
380 |
msgstr "Esta opción avanzada, te da completo poder para adaptar cómo tus Publicaciones Relacionadas serán visualizadas. Las Plantillas (almacenadas en tu folder de temas) están escritos en PHP."
|
381 |
|
382 |
#@ yarpp
|
383 |
+
#: yarpp_options.php:436
|
384 |
msgid "Before / after related entries:"
|
385 |
msgstr "Antes / Después Entradas Relacionadas:"
|
386 |
|
387 |
#@ yarpp
|
388 |
+
#: yarpp_options.php:437
|
389 |
+
#: yarpp_options.php:442
|
390 |
+
#: yarpp_options.php:451
|
391 |
+
#: yarpp_options.php:506
|
392 |
+
#: yarpp_options.php:511
|
393 |
+
#: yarpp_options.php:520
|
394 |
msgid "For example:"
|
395 |
msgstr "Por Ejemplo:"
|
396 |
|
397 |
#@ yarpp
|
398 |
+
#: yarpp_options.php:437
|
399 |
+
#: yarpp_options.php:442
|
400 |
+
#: yarpp_options.php:451
|
401 |
+
#: yarpp_options.php:506
|
402 |
+
#: yarpp_options.php:511
|
403 |
+
#: yarpp_options.php:520
|
404 |
msgid " or "
|
405 |
msgstr "o"
|
406 |
|
407 |
#@ yarpp
|
408 |
+
#: yarpp_options.php:441
|
409 |
+
#: yarpp_options.php:510
|
410 |
msgid "Before / after each related entry:"
|
411 |
msgstr "Antes / Después de cada Entrada Relacionada:"
|
412 |
|
413 |
#@ yarpp
|
414 |
+
#: yarpp_options.php:445
|
415 |
+
#: yarpp_options.php:514
|
416 |
msgid "Show excerpt?"
|
417 |
msgstr "Mostrar pasaje?"
|
418 |
|
419 |
#@ yarpp
|
420 |
+
#: yarpp_options.php:446
|
421 |
+
#: yarpp_options.php:515
|
422 |
msgid "Excerpt length (No. of words):"
|
423 |
msgstr "Longitud de Pasaje (Número de Palabras):"
|
424 |
|
425 |
#@ yarpp
|
426 |
+
#: yarpp_options.php:450
|
427 |
msgid "Before / after (Excerpt):"
|
428 |
msgstr "Antes / Después (Pasaje):"
|
429 |
|
430 |
#@ yarpp
|
431 |
+
#: yarpp_options.php:456
|
432 |
+
#: yarpp_options.php:525
|
433 |
msgid "Order results:"
|
434 |
msgstr "Orden de Resultados:"
|
435 |
|
436 |
#@ yarpp
|
437 |
+
#: yarpp_options.php:458
|
438 |
+
#: yarpp_options.php:527
|
439 |
msgid "score (high relevance to low)"
|
440 |
msgstr "calificación (De Mayor a Menor Relevancia)"
|
441 |
|
442 |
#@ yarpp
|
443 |
+
#: yarpp_options.php:459
|
444 |
+
#: yarpp_options.php:528
|
445 |
msgid "score (low relevance to high)"
|
446 |
msgstr "calificación (Menor a Mayor Relevancia)"
|
447 |
|
448 |
#@ yarpp
|
449 |
+
#: yarpp_options.php:460
|
450 |
+
#: yarpp_options.php:529
|
451 |
msgid "date (new to old)"
|
452 |
msgstr "fecha (nuevo a antiguo)"
|
453 |
|
454 |
#@ yarpp
|
455 |
+
#: yarpp_options.php:461
|
456 |
+
#: yarpp_options.php:530
|
457 |
msgid "date (old to new)"
|
458 |
msgstr "fecha (antiguo a nuevo)"
|
459 |
|
460 |
#@ yarpp
|
461 |
+
#: yarpp_options.php:462
|
462 |
+
#: yarpp_options.php:531
|
463 |
msgid "title (alphabetical)"
|
464 |
msgstr "título (orden alfabético)"
|
465 |
|
466 |
#@ yarpp
|
467 |
+
#: yarpp_options.php:463
|
468 |
+
#: yarpp_options.php:532
|
469 |
msgid "title (reverse alphabetical)"
|
470 |
msgstr "título (Orden alfabpetico a la inversa)"
|
471 |
|
472 |
#@ yarpp
|
473 |
+
#: yarpp_options.php:468
|
474 |
+
#: yarpp_options.php:537
|
475 |
msgid "Default display if no results:"
|
476 |
msgstr "Falta de Visualización si no hay resultados:"
|
477 |
|
478 |
#@ yarpp
|
479 |
+
#: yarpp_options.php:472
|
480 |
+
#: yarpp_options.php:540
|
481 |
#, php-format
|
482 |
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."
|
483 |
msgstr "Esta opción sumará %s al código. Intenta encenderlo, actualizando tus opciones, y verás el código en el código de ejemplo a la derecha. Estos enlaces y donaciones son grandemente apreciados."
|
484 |
|
485 |
#@ yarpp
|
486 |
+
#: yarpp_options.php:482
|
487 |
msgid "Display options <small>for RSS</small>"
|
488 |
msgstr "Visualizar opciones <small>por RSS</small>"
|
489 |
|
490 |
#@ yarpp
|
491 |
+
#: yarpp_options.php:488
|
492 |
msgid "Display related posts in feeds?"
|
493 |
msgstr "Visualizar Opciones Relacionadas en feeds?"
|
494 |
|
495 |
#@ yarpp
|
496 |
+
#: yarpp_options.php:488
|
497 |
msgid "This option displays related posts at the end of each item in your RSS and Atom feeds. No template changes are needed."
|
498 |
msgstr "Esta opción visualiza Publicaciones Relacionadas al final de cada artículo en tu RSS y Atom Feeds. No son necesarios los cambios de plantillas."
|
499 |
|
500 |
#@ yarpp
|
501 |
+
#: yarpp_options.php:489
|
502 |
msgid "Display related posts in the descriptions?"
|
503 |
msgstr "Visualizar Publicaciones Relacionadas en las Descripciones?"
|
504 |
|
505 |
#@ yarpp
|
506 |
+
#: yarpp_options.php:489
|
507 |
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."
|
508 |
msgstr "Esta opción permite visualizar las Publicaciones Relacionadas en los campos de RSS, no solamente el contenido. Si tus feeds están configurados para solamente visualizar pasajes, de cualquier modo, solo la descripción del campo se utiliza, así que esta opción se requiere para cualquier visualización."
|
509 |
|
510 |
#@ yarpp
|
511 |
+
#: yarpp_options.php:490
|
512 |
msgid "RSS display code example"
|
513 |
msgstr "Visualización RSS (ejemplo de código)"
|
514 |
|
515 |
#@ yarpp
|
516 |
+
#: yarpp_options.php:493
|
517 |
msgid "NEW!"
|
518 |
msgstr "NUEVO!"
|
519 |
|
520 |
#@ yarpp
|
521 |
+
#: yarpp_options.php:505
|
522 |
msgid "Before / after related entries display:"
|
523 |
msgstr "Antes / Después visualización de entradas:"
|
524 |
|
525 |
#@ yarpp
|
526 |
+
#: yarpp_options.php:519
|
527 |
msgid "Before / after (excerpt):"
|
528 |
msgstr "Antes / Después (pasaje):"
|
529 |
|
530 |
#@ yarpp
|
531 |
+
#: yarpp_options.php:550
|
532 |
msgid "Update options"
|
533 |
msgstr "Opciones de Actualización"
|
534 |
|
535 |
#@ yarpp
|
536 |
+
#: yarpp_options.php:551
|
537 |
msgid "Do you really want to reset your configuration?"
|
538 |
msgstr "De verdad quieres restaurar tu configuración?"
|
539 |
|
540 |
#@ yarpp
|
541 |
+
#: yarpp_options.php:551
|
542 |
msgid "Reset options"
|
543 |
msgstr "Opciones de Restauración"
|
544 |
|
lang/yarpp-est_EST.po
CHANGED
@@ -51,7 +51,7 @@ msgstr ""
|
|
51 |
"Nimekiri seotud ametikohta Plugin pakutakse teile <a href='%s'> YARPP </ a>."
|
52 |
|
53 |
# @ yarpp
|
54 |
-
#:
|
55 |
msgid ""
|
56 |
"The MyISAM check has been overridden. You may now use the \"consider titles"
|
57 |
"\" and \"consider bodies\" relatedness criteria."
|
@@ -60,7 +60,7 @@ msgstr ""
|
|
60 |
"päiseid\" ja \"kaardid teksti.\""
|
61 |
|
62 |
# @ yarpp
|
63 |
-
#:
|
64 |
#, php-format
|
65 |
msgid ""
|
66 |
"YARPP's \"consider titles\" and \"consider bodies\" relatedness criteria "
|
@@ -75,7 +75,7 @@ msgstr ""
|
|
75 |
"mootor ilmselt <code>% s </ code>. Need kaks võimalust on keelatud."
|
76 |
|
77 |
# @ yarpp
|
78 |
-
#:
|
79 |
#, php-format
|
80 |
msgid ""
|
81 |
"To restore these features, please update your <code>%s</code> table by "
|
@@ -88,7 +88,7 @@ msgstr ""
|
|
88 |
"Kui tabeli andmed ei tohiks jagada, kuid seal võib olla tagajärjed."
|
89 |
|
90 |
# @ yarpp
|
91 |
-
#:
|
92 |
#, php-format
|
93 |
msgid ""
|
94 |
"If, despite this check, you are sure that <code>%s</code> is using the "
|
@@ -98,17 +98,17 @@ msgstr ""
|
|
98 |
"code> kasutab MyISAM, klõpsa magic nuppu:"
|
99 |
|
100 |
# @ yarpp
|
101 |
-
#:
|
102 |
msgid "Trust me. Let me use MyISAM features."
|
103 |
msgstr "Usu mind. Lubage mul kasutada MyISAM."
|
104 |
|
105 |
# @ yarpp
|
106 |
-
#:
|
107 |
msgid "The YARPP database had an error but has been fixed."
|
108 |
msgstr "YARPP andmebaas sisaldas vigu, kuid neid parandada."
|
109 |
|
110 |
# @ yarpp
|
111 |
-
#:
|
112 |
msgid "The YARPP database has an error which could not be fixed."
|
113 |
msgstr "YARPP andmebaas sisaldab viga, mida ei saa parandada."
|
114 |
|
@@ -130,7 +130,7 @@ msgid "consider with extra weight"
|
|
130 |
msgstr "ravitud lisaraskusega"
|
131 |
|
132 |
# @ yarpp
|
133 |
-
#:
|
134 |
msgid "Yet Another Related Posts Plugin Options"
|
135 |
msgstr "Valikud YARPP"
|
136 |
|
@@ -415,7 +415,7 @@ msgid "require more than one %s in common"
|
|
415 |
msgstr "rohkem kui %s peab olema ühine"
|
416 |
|
417 |
# @ yarpp
|
418 |
-
#:
|
419 |
msgid "Options saved!"
|
420 |
msgstr "Seaded on salvestatud!"
|
421 |
|
@@ -435,17 +435,17 @@ msgstr ""
|
|
435 |
"sarnased, mis võivad määrata vastuvõetava tasemeni saidile."
|
436 |
|
437 |
# @ yarpp
|
438 |
-
#:
|
439 |
msgid "Update options"
|
440 |
msgstr "Muuda seadeid"
|
441 |
|
442 |
# @ yarpp
|
443 |
-
#:
|
444 |
msgid "Do you really want to reset your configuration?"
|
445 |
msgstr "Tahad taastada oma seadeid?"
|
446 |
|
447 |
# @ yarpp
|
448 |
-
#:
|
449 |
msgid "Reset options"
|
450 |
msgstr "Reset valikuid"
|
451 |
|
@@ -475,7 +475,7 @@ msgid "Show only posts from the past NUMBER UNITS"
|
|
475 |
msgstr "Näita ainult postitusi viimasest NUMBER UNITS"
|
476 |
|
477 |
# @ yarpp
|
478 |
-
#:
|
479 |
#, php-format
|
480 |
msgid ""
|
481 |
"There is a new beta (%s) of Yet Another Related Posts Plugin. You can <a "
|
@@ -597,7 +597,7 @@ msgid "Contact YARPP"
|
|
597 |
msgstr ""
|
598 |
|
599 |
# @ default
|
600 |
-
#:
|
601 |
#, php-format
|
602 |
msgid ""
|
603 |
"There is a new version of %1$s available. <a href=\"%2$s\" class=\"thickbox"
|
@@ -606,13 +606,13 @@ msgid ""
|
|
606 |
msgstr ""
|
607 |
|
608 |
# @ yarpp
|
609 |
-
#:
|
610 |
#, php-format
|
611 |
msgid "Please try <a href=\"%s\" target=\"_blank\">manual SQL setup</a>."
|
612 |
msgstr ""
|
613 |
|
614 |
# @ yarpp
|
615 |
-
#:
|
616 |
#, php-format
|
617 |
msgid "by <a href=\"%s\" target=\"_blank\">mitcho (Michael 芳貴 Erlewine)</a>"
|
618 |
msgstr ""
|
51 |
"Nimekiri seotud ametikohta Plugin pakutakse teile <a href='%s'> YARPP </ a>."
|
52 |
|
53 |
# @ yarpp
|
54 |
+
#: yarpp_options.php:54
|
55 |
msgid ""
|
56 |
"The MyISAM check has been overridden. You may now use the \"consider titles"
|
57 |
"\" and \"consider bodies\" relatedness criteria."
|
60 |
"päiseid\" ja \"kaardid teksti.\""
|
61 |
|
62 |
# @ yarpp
|
63 |
+
#: yarpp_options.php:63
|
64 |
#, php-format
|
65 |
msgid ""
|
66 |
"YARPP's \"consider titles\" and \"consider bodies\" relatedness criteria "
|
75 |
"mootor ilmselt <code>% s </ code>. Need kaks võimalust on keelatud."
|
76 |
|
77 |
# @ yarpp
|
78 |
+
#: yarpp_options.php:65
|
79 |
#, php-format
|
80 |
msgid ""
|
81 |
"To restore these features, please update your <code>%s</code> table by "
|
88 |
"Kui tabeli andmed ei tohiks jagada, kuid seal võib olla tagajärjed."
|
89 |
|
90 |
# @ yarpp
|
91 |
+
#: yarpp_options.php:67
|
92 |
#, php-format
|
93 |
msgid ""
|
94 |
"If, despite this check, you are sure that <code>%s</code> is using the "
|
98 |
"code> kasutab MyISAM, klõpsa magic nuppu:"
|
99 |
|
100 |
# @ yarpp
|
101 |
+
#: yarpp_options.php:70
|
102 |
msgid "Trust me. Let me use MyISAM features."
|
103 |
msgstr "Usu mind. Lubage mul kasutada MyISAM."
|
104 |
|
105 |
# @ yarpp
|
106 |
+
#: yarpp_options.php:83
|
107 |
msgid "The YARPP database had an error but has been fixed."
|
108 |
msgstr "YARPP andmebaas sisaldas vigu, kuid neid parandada."
|
109 |
|
110 |
# @ yarpp
|
111 |
+
#: yarpp_options.php:85
|
112 |
msgid "The YARPP database has an error which could not be fixed."
|
113 |
msgstr "YARPP andmebaas sisaldab viga, mida ei saa parandada."
|
114 |
|
130 |
msgstr "ravitud lisaraskusega"
|
131 |
|
132 |
# @ yarpp
|
133 |
+
#: yarpp_options.php:178
|
134 |
msgid "Yet Another Related Posts Plugin Options"
|
135 |
msgstr "Valikud YARPP"
|
136 |
|
415 |
msgstr "rohkem kui %s peab olema ühine"
|
416 |
|
417 |
# @ yarpp
|
418 |
+
#: yarpp_options.php:114
|
419 |
msgid "Options saved!"
|
420 |
msgstr "Seaded on salvestatud!"
|
421 |
|
435 |
"sarnased, mis võivad määrata vastuvõetava tasemeni saidile."
|
436 |
|
437 |
# @ yarpp
|
438 |
+
#: yarpp_options.php:279
|
439 |
msgid "Update options"
|
440 |
msgstr "Muuda seadeid"
|
441 |
|
442 |
# @ yarpp
|
443 |
+
#: yarpp_options.php:280
|
444 |
msgid "Do you really want to reset your configuration?"
|
445 |
msgstr "Tahad taastada oma seadeid?"
|
446 |
|
447 |
# @ yarpp
|
448 |
+
#: yarpp_options.php:280
|
449 |
msgid "Reset options"
|
450 |
msgstr "Reset valikuid"
|
451 |
|
475 |
msgstr "Näita ainult postitusi viimasest NUMBER UNITS"
|
476 |
|
477 |
# @ yarpp
|
478 |
+
#: yarpp_options.php:46
|
479 |
#, php-format
|
480 |
msgid ""
|
481 |
"There is a new beta (%s) of Yet Another Related Posts Plugin. You can <a "
|
597 |
msgstr ""
|
598 |
|
599 |
# @ default
|
600 |
+
#: yarpp_options.php:42
|
601 |
#, php-format
|
602 |
msgid ""
|
603 |
"There is a new version of %1$s available. <a href=\"%2$s\" class=\"thickbox"
|
606 |
msgstr ""
|
607 |
|
608 |
# @ yarpp
|
609 |
+
#: yarpp_options.php:86
|
610 |
#, php-format
|
611 |
msgid "Please try <a href=\"%s\" target=\"_blank\">manual SQL setup</a>."
|
612 |
msgstr ""
|
613 |
|
614 |
# @ yarpp
|
615 |
+
#: yarpp_options.php:188
|
616 |
#, php-format
|
617 |
msgid "by <a href=\"%s\" target=\"_blank\">mitcho (Michael 芳貴 Erlewine)</a>"
|
618 |
msgstr ""
|
lang/yarpp-fa_IR.po
CHANGED
@@ -24,35 +24,35 @@ msgstr ""
|
|
24 |
msgid "Related Posts"
|
25 |
msgstr "پست های مرتبط"
|
26 |
|
27 |
-
#:
|
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 ""
|
32 |
|
33 |
-
#:
|
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 ""
|
38 |
|
39 |
-
#:
|
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 |
-
#:
|
46 |
#@ yarpp
|
47 |
msgid "Trust me. Let me use MyISAM features."
|
48 |
msgstr " استفاده کنم MyISAM به من اطمینان کم. اجازه بده از ویژگیهای "
|
49 |
|
50 |
-
#:
|
51 |
#@ yarpp
|
52 |
msgid "The YARPP database had an error but has been fixed."
|
53 |
msgstr " با یک اشکال مواجه شده که ترمیم شد YARPP پایگاه داده"
|
54 |
|
55 |
-
#:
|
56 |
#@ yarpp
|
57 |
msgid "The YARPP database has an error which could not be fixed."
|
58 |
msgstr " با یک اشکال مواجه شده که قابل ترمیم نیست YARPP پایگاه داده "
|
@@ -105,7 +105,7 @@ msgstr "بیش از یک %s لازم است"
|
|
105 |
msgid "consider with extra weight"
|
106 |
msgstr "بسیارمهم در نظر گرفته شود"
|
107 |
|
108 |
-
#:
|
109 |
#@ yarpp
|
110 |
msgid "Yet Another Related Posts Plugin Options"
|
111 |
msgstr "تـنظیمات افزونه YARPP"
|
@@ -364,7 +364,7 @@ msgstr "%f امتیاز تطبیق بین پست فعلی و پست مرتبط
|
|
364 |
msgid "Related Posts (YARPP)"
|
365 |
msgstr "Related Posts (YARPP)"
|
366 |
|
367 |
-
#:
|
368 |
#@ yarpp
|
369 |
msgid "The MyISAM check has been overridden. You may now use the \"consider titles\" and \"consider bodies\" relatedness criteria."
|
370 |
msgstr ""
|
@@ -382,17 +382,17 @@ msgstr ""
|
|
382 |
msgid "more>"
|
383 |
msgstr "بیشتر>"
|
384 |
|
385 |
-
#:
|
386 |
#@ yarpp
|
387 |
msgid "Options saved!"
|
388 |
msgstr "تنظیمات ذخیره شد!"
|
389 |
|
390 |
-
#:
|
391 |
#@ yarpp
|
392 |
msgid "Do you really want to reset your configuration?"
|
393 |
msgstr "آیا واقعا می خواهید تنظیمات را به پیش فرض برگردانید؟"
|
394 |
|
395 |
-
#:
|
396 |
#@ yarpp
|
397 |
msgid "Update options"
|
398 |
msgstr "ذخیره تنظیمات"
|
@@ -402,7 +402,7 @@ msgstr "ذخیره تنظیمات"
|
|
402 |
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."
|
403 |
msgstr "هر چه حداقل تطبیق کمتر شود، نتیجه حساس تر و تعداد پست های مرتبط کمتر می شود. مقدار پیش فرض آن 5 است. برای اینکه مقدار مطلوب آن را بیابید به امتیاز تطبیق برخی از پست ها نگاهی بیاندازید."
|
404 |
|
405 |
-
#:
|
406 |
#@ yarpp
|
407 |
msgid "Reset options"
|
408 |
msgstr "تنظیمات از نو"
|
@@ -451,7 +451,7 @@ msgstr "ماه"
|
|
451 |
msgid "Show only posts from the past NUMBER UNITS"
|
452 |
msgstr "نمایش پست ها از NUMBER UNITS پیش"
|
453 |
|
454 |
-
#:
|
455 |
#, php-format
|
456 |
#@ yarpp
|
457 |
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."
|
@@ -543,19 +543,19 @@ msgstr ""
|
|
543 |
msgid "Contact YARPP"
|
544 |
msgstr ""
|
545 |
|
546 |
-
#:
|
547 |
#, php-format
|
548 |
#@ default
|
549 |
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>."
|
550 |
msgstr ""
|
551 |
|
552 |
-
#:
|
553 |
#, php-format
|
554 |
#@ yarpp
|
555 |
msgid "Please try <a href=\"%s\" target=\"_blank\">manual SQL setup</a>."
|
556 |
msgstr ""
|
557 |
|
558 |
-
#:
|
559 |
#, php-format
|
560 |
#@ yarpp
|
561 |
msgid "by <a href=\"%s\" target=\"_blank\">mitcho (Michael 芳貴 Erlewine)</a>"
|
24 |
msgid "Related Posts"
|
25 |
msgstr "پست های مرتبط"
|
26 |
|
27 |
+
#: yarpp_options.php:63
|
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 ""
|
32 |
|
33 |
+
#: yarpp_options.php:65
|
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 ""
|
38 |
|
39 |
+
#: yarpp_options.php:67
|
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 |
+
#: yarpp_options.php:70
|
46 |
#@ yarpp
|
47 |
msgid "Trust me. Let me use MyISAM features."
|
48 |
msgstr " استفاده کنم MyISAM به من اطمینان کم. اجازه بده از ویژگیهای "
|
49 |
|
50 |
+
#: yarpp_options.php:83
|
51 |
#@ yarpp
|
52 |
msgid "The YARPP database had an error but has been fixed."
|
53 |
msgstr " با یک اشکال مواجه شده که ترمیم شد YARPP پایگاه داده"
|
54 |
|
55 |
+
#: yarpp_options.php:85
|
56 |
#@ yarpp
|
57 |
msgid "The YARPP database has an error which could not be fixed."
|
58 |
msgstr " با یک اشکال مواجه شده که قابل ترمیم نیست YARPP پایگاه داده "
|
105 |
msgid "consider with extra weight"
|
106 |
msgstr "بسیارمهم در نظر گرفته شود"
|
107 |
|
108 |
+
#: yarpp_options.php:178
|
109 |
#@ yarpp
|
110 |
msgid "Yet Another Related Posts Plugin Options"
|
111 |
msgstr "تـنظیمات افزونه YARPP"
|
364 |
msgid "Related Posts (YARPP)"
|
365 |
msgstr "Related Posts (YARPP)"
|
366 |
|
367 |
+
#: yarpp_options.php:54
|
368 |
#@ yarpp
|
369 |
msgid "The MyISAM check has been overridden. You may now use the \"consider titles\" and \"consider bodies\" relatedness criteria."
|
370 |
msgstr ""
|
382 |
msgid "more>"
|
383 |
msgstr "بیشتر>"
|
384 |
|
385 |
+
#: yarpp_options.php:114
|
386 |
#@ yarpp
|
387 |
msgid "Options saved!"
|
388 |
msgstr "تنظیمات ذخیره شد!"
|
389 |
|
390 |
+
#: yarpp_options.php:280
|
391 |
#@ yarpp
|
392 |
msgid "Do you really want to reset your configuration?"
|
393 |
msgstr "آیا واقعا می خواهید تنظیمات را به پیش فرض برگردانید؟"
|
394 |
|
395 |
+
#: yarpp_options.php:279
|
396 |
#@ yarpp
|
397 |
msgid "Update options"
|
398 |
msgstr "ذخیره تنظیمات"
|
402 |
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."
|
403 |
msgstr "هر چه حداقل تطبیق کمتر شود، نتیجه حساس تر و تعداد پست های مرتبط کمتر می شود. مقدار پیش فرض آن 5 است. برای اینکه مقدار مطلوب آن را بیابید به امتیاز تطبیق برخی از پست ها نگاهی بیاندازید."
|
404 |
|
405 |
+
#: yarpp_options.php:280
|
406 |
#@ yarpp
|
407 |
msgid "Reset options"
|
408 |
msgstr "تنظیمات از نو"
|
451 |
msgid "Show only posts from the past NUMBER UNITS"
|
452 |
msgstr "نمایش پست ها از NUMBER UNITS پیش"
|
453 |
|
454 |
+
#: yarpp_options.php:46
|
455 |
#, php-format
|
456 |
#@ yarpp
|
457 |
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."
|
543 |
msgid "Contact YARPP"
|
544 |
msgstr ""
|
545 |
|
546 |
+
#: yarpp_options.php:42
|
547 |
#, php-format
|
548 |
#@ default
|
549 |
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>."
|
550 |
msgstr ""
|
551 |
|
552 |
+
#: yarpp_options.php:86
|
553 |
#, php-format
|
554 |
#@ yarpp
|
555 |
msgid "Please try <a href=\"%s\" target=\"_blank\">manual SQL setup</a>."
|
556 |
msgstr ""
|
557 |
|
558 |
+
#: yarpp_options.php:188
|
559 |
#, php-format
|
560 |
#@ yarpp
|
561 |
msgid "by <a href=\"%s\" target=\"_blank\">mitcho (Michael 芳貴 Erlewine)</a>"
|
lang/yarpp-fr_FR.po
CHANGED
@@ -562,79 +562,79 @@ msgstr "Cette option (facultative) contribuera à l’amélioration des versions
|
|
562 |
msgid "Contact YARPP"
|
563 |
msgstr "Restez en contact avec YARPP"
|
564 |
|
565 |
-
#:
|
566 |
#, php-format
|
567 |
#@ default
|
568 |
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>."
|
569 |
msgstr "Une nouvelle version de %1$s est disponible. <a href=\"%2$s\" class=\"thickbox\" title=\"%3$s\">Afficher les détails de la version %4$s</a> ou <a href=\"%5$s\">lancer la mise à jour automatique</a>."
|
570 |
|
571 |
-
#:
|
572 |
#, php-format
|
573 |
#@ yarpp
|
574 |
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."
|
575 |
msgstr "Une nouvelle version beta (%s) du module d’extension YARPP est disponible. Si vous souhaitez l’essayer, vous pouvez <a href=\"%s\">la télécharger ici</a>."
|
576 |
|
577 |
-
#:
|
578 |
#@ yarpp
|
579 |
msgid "The MyISAM check has been overridden. You may now use the \"consider titles\" and \"consider bodies\" relatedness criteria."
|
580 |
msgstr "La vérification MyISAM sera ignorée. Vous pouvez maintenant activer les options “Prendre en compte le titre” et “Prendre en compte le contenu” pour définir le calcul de similarité."
|
581 |
|
582 |
-
#:
|
583 |
#, php-format
|
584 |
#@ yarpp
|
585 |
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."
|
586 |
msgstr "Les options YARPP “Prendre en compte le titre” et “Prendre en compte le contenu” pour le calcul de similarité requièrent que votre table <code>%s</code> utilise le <a href='http://dev.mysql.com/doc/refman/5.0/en/storage-engines.html'>moteur de classement MyISAM</a>, mais votre table utilise apparemment le moteur <code>%s</code>. Ces deux options ont été désactivées."
|
587 |
|
588 |
-
#:
|
589 |
#, php-format
|
590 |
#@ yarpp
|
591 |
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."
|
592 |
msgstr "Pour rétablir ces fonctionnalités, mettez à jour votre table <code>%s</code> en exécutant la commande SQL suivante: <code>ALTER TABLE `%s` ENGINE = MyISAM;</code><br />Le changement de moteur de classement n’entraînera pas de perte de données, mais pourra influer sur les performances."
|
593 |
|
594 |
-
#:
|
595 |
#, php-format
|
596 |
#@ yarpp
|
597 |
msgid "If, despite this check, you are sure that <code>%s</code> is using the MyISAM engine, press this magic button:"
|
598 |
msgstr "Si, malgré cette vérification, vous êtes certain que <code>%s</code> utilise le moteur MyISAM, cliquez ce bouton magique:"
|
599 |
|
600 |
-
#:
|
601 |
#@ yarpp
|
602 |
msgid "Trust me. Let me use MyISAM features."
|
603 |
msgstr "Faites-moi confiance. Laissez-moi utiliser le moteur MyISAM."
|
604 |
|
605 |
-
#:
|
606 |
#@ yarpp
|
607 |
msgid "The YARPP database had an error but has been fixed."
|
608 |
msgstr "La base de données YARPP a rencontré une erreur, mais celle-ci a pu être corrigée."
|
609 |
|
610 |
-
#:
|
611 |
#@ yarpp
|
612 |
msgid "The YARPP database has an error which could not be fixed."
|
613 |
msgstr "La base de données YARPP a rencontré une erreur qui n’a pas pu être corrigée."
|
614 |
|
615 |
-
#:
|
616 |
#, php-format
|
617 |
#@ yarpp
|
618 |
msgid "Please try <a href=\"%s\" target=\"_blank\">manual SQL setup</a>."
|
619 |
msgstr "Essayez <a href=\"%s\" target=\"_blank\">la configuration SQL manuelle</a>."
|
620 |
|
621 |
-
#:
|
622 |
#@ yarpp
|
623 |
msgid "Options saved!"
|
624 |
msgstr "Réglages enregistrés."
|
625 |
|
626 |
-
#:
|
627 |
#@ yarpp
|
628 |
msgid "Yet Another Related Posts Plugin Options"
|
629 |
msgstr "Réglages YARPP"
|
630 |
|
631 |
-
#:
|
632 |
#, php-format
|
633 |
#@ yarpp
|
634 |
msgid "by <a href=\"%s\" target=\"_blank\">mitcho (Michael 芳貴 Erlewine)</a>"
|
635 |
msgstr "par <a href=\"%s\" target=\"_blank\">mitcho (Michael 芳貴 Erlewine)</a>"
|
636 |
|
637 |
-
#:
|
638 |
#@ default
|
639 |
msgid "Save Changes"
|
640 |
msgstr "Enregistrer les réglages"
|
562 |
msgid "Contact YARPP"
|
563 |
msgstr "Restez en contact avec YARPP"
|
564 |
|
565 |
+
#: yarpp_options.php:36
|
566 |
#, php-format
|
567 |
#@ default
|
568 |
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>."
|
569 |
msgstr "Une nouvelle version de %1$s est disponible. <a href=\"%2$s\" class=\"thickbox\" title=\"%3$s\">Afficher les détails de la version %4$s</a> ou <a href=\"%5$s\">lancer la mise à jour automatique</a>."
|
570 |
|
571 |
+
#: yarpp_options.php:40
|
572 |
#, php-format
|
573 |
#@ yarpp
|
574 |
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."
|
575 |
msgstr "Une nouvelle version beta (%s) du module d’extension YARPP est disponible. Si vous souhaitez l’essayer, vous pouvez <a href=\"%s\">la télécharger ici</a>."
|
576 |
|
577 |
+
#: yarpp_options.php:48
|
578 |
#@ yarpp
|
579 |
msgid "The MyISAM check has been overridden. You may now use the \"consider titles\" and \"consider bodies\" relatedness criteria."
|
580 |
msgstr "La vérification MyISAM sera ignorée. Vous pouvez maintenant activer les options “Prendre en compte le titre” et “Prendre en compte le contenu” pour définir le calcul de similarité."
|
581 |
|
582 |
+
#: yarpp_options.php:56
|
583 |
#, php-format
|
584 |
#@ yarpp
|
585 |
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."
|
586 |
msgstr "Les options YARPP “Prendre en compte le titre” et “Prendre en compte le contenu” pour le calcul de similarité requièrent que votre table <code>%s</code> utilise le <a href='http://dev.mysql.com/doc/refman/5.0/en/storage-engines.html'>moteur de classement MyISAM</a>, mais votre table utilise apparemment le moteur <code>%s</code>. Ces deux options ont été désactivées."
|
587 |
|
588 |
+
#: yarpp_options.php:58
|
589 |
#, php-format
|
590 |
#@ yarpp
|
591 |
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."
|
592 |
msgstr "Pour rétablir ces fonctionnalités, mettez à jour votre table <code>%s</code> en exécutant la commande SQL suivante: <code>ALTER TABLE `%s` ENGINE = MyISAM;</code><br />Le changement de moteur de classement n’entraînera pas de perte de données, mais pourra influer sur les performances."
|
593 |
|
594 |
+
#: yarpp_options.php:60
|
595 |
#, php-format
|
596 |
#@ yarpp
|
597 |
msgid "If, despite this check, you are sure that <code>%s</code> is using the MyISAM engine, press this magic button:"
|
598 |
msgstr "Si, malgré cette vérification, vous êtes certain que <code>%s</code> utilise le moteur MyISAM, cliquez ce bouton magique:"
|
599 |
|
600 |
+
#: yarpp_options.php:63
|
601 |
#@ yarpp
|
602 |
msgid "Trust me. Let me use MyISAM features."
|
603 |
msgstr "Faites-moi confiance. Laissez-moi utiliser le moteur MyISAM."
|
604 |
|
605 |
+
#: yarpp_options.php:78
|
606 |
#@ yarpp
|
607 |
msgid "The YARPP database had an error but has been fixed."
|
608 |
msgstr "La base de données YARPP a rencontré une erreur, mais celle-ci a pu être corrigée."
|
609 |
|
610 |
+
#: yarpp_options.php:80
|
611 |
#@ yarpp
|
612 |
msgid "The YARPP database has an error which could not be fixed."
|
613 |
msgstr "La base de données YARPP a rencontré une erreur qui n’a pas pu être corrigée."
|
614 |
|
615 |
+
#: yarpp_options.php:81
|
616 |
#, php-format
|
617 |
#@ yarpp
|
618 |
msgid "Please try <a href=\"%s\" target=\"_blank\">manual SQL setup</a>."
|
619 |
msgstr "Essayez <a href=\"%s\" target=\"_blank\">la configuration SQL manuelle</a>."
|
620 |
|
621 |
+
#: yarpp_options.php:144
|
622 |
#@ yarpp
|
623 |
msgid "Options saved!"
|
624 |
msgstr "Réglages enregistrés."
|
625 |
|
626 |
+
#: yarpp_options.php:150
|
627 |
#@ yarpp
|
628 |
msgid "Yet Another Related Posts Plugin Options"
|
629 |
msgstr "Réglages YARPP"
|
630 |
|
631 |
+
#: yarpp_options.php:158
|
632 |
#, php-format
|
633 |
#@ yarpp
|
634 |
msgid "by <a href=\"%s\" target=\"_blank\">mitcho (Michael 芳貴 Erlewine)</a>"
|
635 |
msgstr "par <a href=\"%s\" target=\"_blank\">mitcho (Michael 芳貴 Erlewine)</a>"
|
636 |
|
637 |
+
#: yarpp_options.php:199
|
638 |
#@ default
|
639 |
msgid "Save Changes"
|
640 |
msgstr "Enregistrer les réglages"
|
lang/yarpp-gb_IR.po
CHANGED
@@ -37,40 +37,40 @@ msgstr "Related Poist "
|
|
37 |
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."
|
38 |
msgstr "Is %f den scór cluiche YARPP idir an iontráil reatha agus ar an iontráil seo a bhaineann leo. Tá tú ag féachaint ar an luacha seo toisc go bhfuil tú logáilte isteach chun WordPress mar riarthóir. Níl sé léirithe le cuairteoirí rialta."
|
39 |
|
40 |
-
#:
|
41 |
#@ yarpp
|
42 |
msgid "The MyISAM check has been overridden. You may now use the \"consider titles\" and \"consider bodies\" relatedness criteria."
|
43 |
msgstr "Tá an seiceáil MyISAM a shárú. Is féidir leat úsáid a bhaint anois \"teidil a mheas \" agus \"comhlachtaí a mheas \" critéir relatedness."
|
44 |
|
45 |
-
#:
|
46 |
#, php-format
|
47 |
#@ yarpp
|
48 |
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."
|
49 |
msgstr "YARPP s \"a mheas teidil \" agus \"comhlachtaí a mheas \" a cheangal ar na critéir relatedness do<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>,ach is cosúil leis an tábla a bheidh le baint úsáide as an <code>%s</code>inneall. Tá an dá rogha a bheith curtha faoi mhíchumas."
|
50 |
|
51 |
-
#:
|
52 |
#, php-format
|
53 |
#@ yarpp
|
54 |
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."
|
55 |
msgstr "A chur ar ais na gnéithe seo, le do thoil do thabhairt suas chun dáta <code>%s</code> tábla ag forghníomhaitheach an méid seo a leanas treoir SQL:<code>ALTER TABLE `%s` ENGINE = MyISAM;</code>. Ní dhéanfar aon sonraí a scriosadh ag athrú an tábla's inneall, cé go bhfuil impleachtaí feidhmíochta."
|
56 |
|
57 |
-
#:
|
58 |
#, php-format
|
59 |
#@ yarpp
|
60 |
msgid "If, despite this check, you are sure that <code>%s</code> is using the MyISAM engine, press this magic button:"
|
61 |
msgstr "ás rud é, in ainneoin seo a sheiceáil, go bhfuil tú cinnte go <code>%s</code> Tá baint úsáide as an inneall MyISAM, brúigh an cnaipe draíochta:"
|
62 |
|
63 |
-
#:
|
64 |
#@ yarpp
|
65 |
msgid "Trust me. Let me use MyISAM features."
|
66 |
msgstr "Iontaobhas dom. Lig dom úsáid gnéithe MyISAM."
|
67 |
|
68 |
-
#:
|
69 |
#@ yarpp
|
70 |
msgid "The YARPP database had an error but has been fixed."
|
71 |
msgstr "Tá an bunachar sonraí YARPP raibh earráid ach tá socraithe."
|
72 |
|
73 |
-
#:
|
74 |
#@ yarpp
|
75 |
msgid "The YARPP database has an error which could not be fixed."
|
76 |
msgstr "Tá an bunachar sonraí YARPP earráid nach bhféadfaí a bheith seasta."
|
@@ -94,7 +94,7 @@ msgstr "machnamh"
|
|
94 |
msgid "consider with extra weight"
|
95 |
msgstr "a mheas le meáchan breise"
|
96 |
|
97 |
-
#:
|
98 |
#@ yarpp
|
99 |
msgid "Yet Another Related Posts Plugin Options"
|
100 |
msgstr "Ach eile Related Poist Roghanna Bhreiseáin"
|
@@ -374,7 +374,7 @@ msgstr "a cheangal ar amháin ar a laghad i gcoiteann% s"
|
|
374 |
msgid "require more than one %s in common"
|
375 |
msgstr "a cheangal ar níos mó ná aon %s i bpáirt"
|
376 |
|
377 |
-
#:
|
378 |
#@ yarpp
|
379 |
msgid "Options saved!"
|
380 |
msgstr "Roghanna shábháil!"
|
@@ -384,17 +384,17 @@ msgstr "Roghanna shábháil!"
|
|
384 |
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."
|
385 |
msgstr "Dá airde an tairseach do mhargadh an níos sriantaí, agus gheobhaidh tú post níos lú a bhaineann iomlán. Tá an tairseach do chluiche réamhshocraithe 5. Más mian leat teacht ar an tairseach chluiche iomchuí, a chur le breathnú ar roinnt iar's post a bhaineann le taispeáint agus a n-scóir. Is féidir leat a fheiceáil cad iad na cineálacha post a bhaineann mbailítear agus le cén cineál na scóir mheaitseáil, agus tairseach chuí ar do shuíomh a chinneadh."
|
386 |
|
387 |
-
#:
|
388 |
#@ yarpp
|
389 |
msgid "Update options"
|
390 |
msgstr "Roghanna Nuashonraithe"
|
391 |
|
392 |
-
#:
|
393 |
#@ yarpp
|
394 |
msgid "Do you really want to reset your configuration?"
|
395 |
msgstr "An bhfuil tú cinnte gur mhaith leat a athshocrú do chumraíocht?"
|
396 |
|
397 |
-
#:
|
398 |
#@ yarpp
|
399 |
msgid "Reset options"
|
400 |
msgstr "Roghanna Athshocraigh"
|
@@ -518,7 +518,7 @@ msgstr ""
|
|
518 |
#: options-meta-boxes.php:205
|
519 |
#: options-meta-boxes.php:269
|
520 |
#@ yarpp
|
521 |
-
msgid "Related posts brought to you by <a href='http://yarpp.
|
522 |
msgstr ""
|
523 |
|
524 |
#: options-meta-boxes.php:283
|
@@ -541,25 +541,25 @@ msgstr ""
|
|
541 |
msgid "Contact YARPP"
|
542 |
msgstr ""
|
543 |
|
544 |
-
#:
|
545 |
#, php-format
|
546 |
#@ yarpp
|
547 |
msgid "Please try <a href=\"%s\" target=\"_blank\">manual SQL setup</a>."
|
548 |
msgstr ""
|
549 |
|
550 |
-
#:
|
551 |
#, php-format
|
552 |
#@ yarpp
|
553 |
msgid "by <a href=\"%s\" target=\"_blank\">mitcho (Michael 芳貴 Erlewine)</a>"
|
554 |
msgstr ""
|
555 |
|
556 |
-
#:
|
557 |
#, php-format
|
558 |
#@ yarpp
|
559 |
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."
|
560 |
msgstr ""
|
561 |
|
562 |
-
#:
|
563 |
#, php-format
|
564 |
#@ yarpp
|
565 |
msgid "There is a new version (%s) of Yet Another Related Posts Plugin available! You can <a href=\"%s\">download it here</a>."
|
37 |
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."
|
38 |
msgstr "Is %f den scór cluiche YARPP idir an iontráil reatha agus ar an iontráil seo a bhaineann leo. Tá tú ag féachaint ar an luacha seo toisc go bhfuil tú logáilte isteach chun WordPress mar riarthóir. Níl sé léirithe le cuairteoirí rialta."
|
39 |
|
40 |
+
#: yarpp_options.php:26
|
41 |
#@ yarpp
|
42 |
msgid "The MyISAM check has been overridden. You may now use the \"consider titles\" and \"consider bodies\" relatedness criteria."
|
43 |
msgstr "Tá an seiceáil MyISAM a shárú. Is féidir leat úsáid a bhaint anois \"teidil a mheas \" agus \"comhlachtaí a mheas \" critéir relatedness."
|
44 |
|
45 |
+
#: yarpp_options.php:35
|
46 |
#, php-format
|
47 |
#@ yarpp
|
48 |
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."
|
49 |
msgstr "YARPP s \"a mheas teidil \" agus \"comhlachtaí a mheas \" a cheangal ar na critéir relatedness do<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>,ach is cosúil leis an tábla a bheidh le baint úsáide as an <code>%s</code>inneall. Tá an dá rogha a bheith curtha faoi mhíchumas."
|
50 |
|
51 |
+
#: yarpp_options.php:37
|
52 |
#, php-format
|
53 |
#@ yarpp
|
54 |
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."
|
55 |
msgstr "A chur ar ais na gnéithe seo, le do thoil do thabhairt suas chun dáta <code>%s</code> tábla ag forghníomhaitheach an méid seo a leanas treoir SQL:<code>ALTER TABLE `%s` ENGINE = MyISAM;</code>. Ní dhéanfar aon sonraí a scriosadh ag athrú an tábla's inneall, cé go bhfuil impleachtaí feidhmíochta."
|
56 |
|
57 |
+
#: yarpp_options.php:39
|
58 |
#, php-format
|
59 |
#@ yarpp
|
60 |
msgid "If, despite this check, you are sure that <code>%s</code> is using the MyISAM engine, press this magic button:"
|
61 |
msgstr "ás rud é, in ainneoin seo a sheiceáil, go bhfuil tú cinnte go <code>%s</code> Tá baint úsáide as an inneall MyISAM, brúigh an cnaipe draíochta:"
|
62 |
|
63 |
+
#: yarpp_options.php:42
|
64 |
#@ yarpp
|
65 |
msgid "Trust me. Let me use MyISAM features."
|
66 |
msgstr "Iontaobhas dom. Lig dom úsáid gnéithe MyISAM."
|
67 |
|
68 |
+
#: yarpp_options.php:55
|
69 |
#@ yarpp
|
70 |
msgid "The YARPP database had an error but has been fixed."
|
71 |
msgstr "Tá an bunachar sonraí YARPP raibh earráid ach tá socraithe."
|
72 |
|
73 |
+
#: yarpp_options.php:57
|
74 |
#@ yarpp
|
75 |
msgid "The YARPP database has an error which could not be fixed."
|
76 |
msgstr "Tá an bunachar sonraí YARPP earráid nach bhféadfaí a bheith seasta."
|
94 |
msgid "consider with extra weight"
|
95 |
msgstr "a mheas le meáchan breise"
|
96 |
|
97 |
+
#: yarpp_options.php:150
|
98 |
#@ yarpp
|
99 |
msgid "Yet Another Related Posts Plugin Options"
|
100 |
msgstr "Ach eile Related Poist Roghanna Bhreiseáin"
|
374 |
msgid "require more than one %s in common"
|
375 |
msgstr "a cheangal ar níos mó ná aon %s i bpáirt"
|
376 |
|
377 |
+
#: yarpp_options.php:86
|
378 |
#@ yarpp
|
379 |
msgid "Options saved!"
|
380 |
msgstr "Roghanna shábháil!"
|
384 |
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."
|
385 |
msgstr "Dá airde an tairseach do mhargadh an níos sriantaí, agus gheobhaidh tú post níos lú a bhaineann iomlán. Tá an tairseach do chluiche réamhshocraithe 5. Más mian leat teacht ar an tairseach chluiche iomchuí, a chur le breathnú ar roinnt iar's post a bhaineann le taispeáint agus a n-scóir. Is féidir leat a fheiceáil cad iad na cineálacha post a bhaineann mbailítear agus le cén cineál na scóir mheaitseáil, agus tairseach chuí ar do shuíomh a chinneadh."
|
386 |
|
387 |
+
#: yarpp_options.php:268
|
388 |
#@ yarpp
|
389 |
msgid "Update options"
|
390 |
msgstr "Roghanna Nuashonraithe"
|
391 |
|
392 |
+
#: yarpp_options.php:269
|
393 |
#@ yarpp
|
394 |
msgid "Do you really want to reset your configuration?"
|
395 |
msgstr "An bhfuil tú cinnte gur mhaith leat a athshocrú do chumraíocht?"
|
396 |
|
397 |
+
#: yarpp_options.php:269
|
398 |
#@ yarpp
|
399 |
msgid "Reset options"
|
400 |
msgstr "Roghanna Athshocraigh"
|
518 |
#: options-meta-boxes.php:205
|
519 |
#: options-meta-boxes.php:269
|
520 |
#@ yarpp
|
521 |
+
msgid "Related posts brought to you by <a href='http://yarpp.com'>Yet Another Related Posts Plugin</a>."
|
522 |
msgstr ""
|
523 |
|
524 |
#: options-meta-boxes.php:283
|
541 |
msgid "Contact YARPP"
|
542 |
msgstr ""
|
543 |
|
544 |
+
#: yarpp_options.php:58
|
545 |
#, php-format
|
546 |
#@ yarpp
|
547 |
msgid "Please try <a href=\"%s\" target=\"_blank\">manual SQL setup</a>."
|
548 |
msgstr ""
|
549 |
|
550 |
+
#: yarpp_options.php:160
|
551 |
#, php-format
|
552 |
#@ yarpp
|
553 |
msgid "by <a href=\"%s\" target=\"_blank\">mitcho (Michael 芳貴 Erlewine)</a>"
|
554 |
msgstr ""
|
555 |
|
556 |
+
#: yarpp_options.php:251
|
557 |
#, php-format
|
558 |
#@ yarpp
|
559 |
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."
|
560 |
msgstr ""
|
561 |
|
562 |
+
#: yarpp_options.php:256
|
563 |
#, php-format
|
564 |
#@ yarpp
|
565 |
msgid "There is a new version (%s) of Yet Another Related Posts Plugin available! You can <a href=\"%s\">download it here</a>."
|
lang/yarpp-ge_KA.po
CHANGED
@@ -45,40 +45,40 @@ msgstr "%f არის მიმდინარე და მსგავსი
|
|
45 |
msgid "Related posts brought to you by <a href='%s'>Yet Another Related Posts Plugin</a>."
|
46 |
msgstr "მსგავსი ჩანაწერები შეგიძლიათ ნახოთ <a href='%s'>მსგავსი ჩანაწერებისთვის ჩაშენებული პროგრამით</a>."
|
47 |
|
48 |
-
#:
|
49 |
#@ yarpp
|
50 |
msgid "The MyISAM check has been overridden. You may now use the \"consider titles\" and \"consider bodies\" relatedness criteria."
|
51 |
msgstr "MyISAM შემოწმდა. ახლა შეგიძლიათ გამოიყენოთ “სათაურების განხილვისა” და “ტექტების განხილვის” შესაბამისი კრიტერიუმები."
|
52 |
|
53 |
-
#:
|
54 |
#, php-format
|
55 |
#@ yarpp
|
56 |
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."
|
57 |
msgstr "YARPP “სათაურების განხილვისა” და “ტექსტის განხილვის” მსგავსების კრიტერიუმების გამოყენებისთვის საჭიროა, რომ თქვენმა <code>%s</code> ცხრილმა გამოიყენოს <a href='http://dev.mysql.com/doc/refman/5.0/en/storage-engines.html'>MyISAM შემნახავი სისტემა</a>, მაგრამ, როგორც ჩანს, ცხრილი იყენებს <code>%s</code> სისტემას. ეს ორი ოფცია გამორთულია."
|
58 |
|
59 |
-
#:
|
60 |
#, php-format
|
61 |
#@ yarpp
|
62 |
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."
|
63 |
msgstr "თუ გსურთ აღადგინოთ ეს იფციები, გთხოვთ, შეცვალოთ თქვენი ცხრილი <code>%s</code>შემდეგი SQL ინსტრუქციით: <code>ALTER TABLE `%s` ENGINE = MyISAM;</code><br />ცხრილის შეცვლის დროს მონაცემები არ უნდა დაიკარგის, მაგრამ შესაძლოა გაუთვალისწინებელი რამ მოხდეს."
|
64 |
|
65 |
-
#:
|
66 |
#, php-format
|
67 |
#@ yarpp
|
68 |
msgid "If, despite this check, you are sure that <code>%s</code> is using the MyISAM engine, press this magic button:"
|
69 |
msgstr "თუ ამ ოფციის მიუხედავად დარწმუნებული ხართ, რომ ცხრილი <code>%s</code> გამოიყენებს MyISAM-ს, დააჭირეთ ამ ჯადოსნურ ღილაკს:"
|
70 |
|
71 |
-
#:
|
72 |
#@ yarpp
|
73 |
msgid "Trust me. Let me use MyISAM features."
|
74 |
msgstr "მენდეთ. ნება მომეცით გამოვიყენო MyISAM."
|
75 |
|
76 |
-
#:
|
77 |
#@ yarpp
|
78 |
msgid "The YARPP database had an error but has been fixed."
|
79 |
msgstr "YARPP მონაცემთა ბაზა შეიცავდა შეცდომას, მაგრამ ის გასწორდა."
|
80 |
|
81 |
-
#:
|
82 |
#@ yarpp
|
83 |
msgid "The YARPP database has an error which could not be fixed."
|
84 |
msgstr "YARPP მონაცემთა ბაზა შეიცავდა შეცდომას, რომელიც არ გასწორდა.."
|
@@ -102,7 +102,7 @@ msgstr "განიხილე"
|
|
102 |
msgid "consider with extra weight"
|
103 |
msgstr "განიხილე დამატებითი წონით"
|
104 |
|
105 |
-
#:
|
106 |
#@ yarpp
|
107 |
msgid "Yet Another Related Posts Plugin Options"
|
108 |
msgstr "YARPP-ის სხვა შესაბამისი ჩანაწერები"
|
@@ -382,7 +382,7 @@ msgstr "მინიმუმ ერთი %s უნდა იყოს სა
|
|
382 |
msgid "require more than one %s in common"
|
383 |
msgstr "ერთზე მეტი %s უნდა იყოს საერთო"
|
384 |
|
385 |
-
#:
|
386 |
#@ yarpp
|
387 |
msgid "Options saved!"
|
388 |
msgstr "პარამეტრები შენახულია!"
|
@@ -392,17 +392,17 @@ msgstr "პარამეტრები შენახულია!"
|
|
392 |
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."
|
393 |
msgstr "რაც მეტია მსგავსების ზღურბლი, მით უფრო მკაცრად ხდება არჩევა და მით უფრო ნაკლები ჩანაწერი იძებნება. ზღურბლის ნაგულისხმევი ზომაა 5. თუ გსურთ მოძებნოთ ზღურბლის დასაშვები მნიშვნელობები, მოსინჯეთ ზოგიერთი შეტყობინებების მაგალითზე. შეძლებთ ნახოთ რომელი ჩანაწერები გამოდის ზემოთ და მსგავსების რა მნიშვნელობა აქვს მათ, რის მიხედვითაც შეგიძლიათ განსაზღვროთ თქვენი საიტისთვის მისაღები დონე."
|
394 |
|
395 |
-
#:
|
396 |
#@ yarpp
|
397 |
msgid "Update options"
|
398 |
msgstr "პარამეტრების შეცვლა"
|
399 |
|
400 |
-
#:
|
401 |
#@ yarpp
|
402 |
msgid "Do you really want to reset your configuration?"
|
403 |
msgstr "ნამდვილად გსურთ საწყისი პარამეტრების დაბრუნება?"
|
404 |
|
405 |
-
#:
|
406 |
#@ yarpp
|
407 |
msgid "Reset options"
|
408 |
msgstr "საწყისი პარამეტრების დაბრუნება"
|
@@ -433,7 +433,7 @@ msgstr "თვე"
|
|
433 |
msgid "Show only posts from the past NUMBER UNITS"
|
434 |
msgstr "ნაჩვენები იქნას მხოლოდ შემდეგიდან დაწყებული ჩანაწერები: NUMBER UNITS"
|
435 |
|
436 |
-
#:
|
437 |
#, php-format
|
438 |
#@ yarpp
|
439 |
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."
|
@@ -543,19 +543,19 @@ msgstr ""
|
|
543 |
msgid "Contact YARPP"
|
544 |
msgstr ""
|
545 |
|
546 |
-
#:
|
547 |
#, php-format
|
548 |
#@ default
|
549 |
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>."
|
550 |
msgstr ""
|
551 |
|
552 |
-
#:
|
553 |
#, php-format
|
554 |
#@ yarpp
|
555 |
msgid "Please try <a href=\"%s\" target=\"_blank\">manual SQL setup</a>."
|
556 |
msgstr ""
|
557 |
|
558 |
-
#:
|
559 |
#, php-format
|
560 |
#@ yarpp
|
561 |
msgid "by <a href=\"%s\" target=\"_blank\">mitcho (Michael 芳貴 Erlewine)</a>"
|
45 |
msgid "Related posts brought to you by <a href='%s'>Yet Another Related Posts Plugin</a>."
|
46 |
msgstr "მსგავსი ჩანაწერები შეგიძლიათ ნახოთ <a href='%s'>მსგავსი ჩანაწერებისთვის ჩაშენებული პროგრამით</a>."
|
47 |
|
48 |
+
#: yarpp_options.php:54
|
49 |
#@ yarpp
|
50 |
msgid "The MyISAM check has been overridden. You may now use the \"consider titles\" and \"consider bodies\" relatedness criteria."
|
51 |
msgstr "MyISAM შემოწმდა. ახლა შეგიძლიათ გამოიყენოთ “სათაურების განხილვისა” და “ტექტების განხილვის” შესაბამისი კრიტერიუმები."
|
52 |
|
53 |
+
#: yarpp_options.php:63
|
54 |
#, php-format
|
55 |
#@ yarpp
|
56 |
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."
|
57 |
msgstr "YARPP “სათაურების განხილვისა” და “ტექსტის განხილვის” მსგავსების კრიტერიუმების გამოყენებისთვის საჭიროა, რომ თქვენმა <code>%s</code> ცხრილმა გამოიყენოს <a href='http://dev.mysql.com/doc/refman/5.0/en/storage-engines.html'>MyISAM შემნახავი სისტემა</a>, მაგრამ, როგორც ჩანს, ცხრილი იყენებს <code>%s</code> სისტემას. ეს ორი ოფცია გამორთულია."
|
58 |
|
59 |
+
#: yarpp_options.php:65
|
60 |
#, php-format
|
61 |
#@ yarpp
|
62 |
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."
|
63 |
msgstr "თუ გსურთ აღადგინოთ ეს იფციები, გთხოვთ, შეცვალოთ თქვენი ცხრილი <code>%s</code>შემდეგი SQL ინსტრუქციით: <code>ALTER TABLE `%s` ENGINE = MyISAM;</code><br />ცხრილის შეცვლის დროს მონაცემები არ უნდა დაიკარგის, მაგრამ შესაძლოა გაუთვალისწინებელი რამ მოხდეს."
|
64 |
|
65 |
+
#: yarpp_options.php:67
|
66 |
#, php-format
|
67 |
#@ yarpp
|
68 |
msgid "If, despite this check, you are sure that <code>%s</code> is using the MyISAM engine, press this magic button:"
|
69 |
msgstr "თუ ამ ოფციის მიუხედავად დარწმუნებული ხართ, რომ ცხრილი <code>%s</code> გამოიყენებს MyISAM-ს, დააჭირეთ ამ ჯადოსნურ ღილაკს:"
|
70 |
|
71 |
+
#: yarpp_options.php:70
|
72 |
#@ yarpp
|
73 |
msgid "Trust me. Let me use MyISAM features."
|
74 |
msgstr "მენდეთ. ნება მომეცით გამოვიყენო MyISAM."
|
75 |
|
76 |
+
#: yarpp_options.php:83
|
77 |
#@ yarpp
|
78 |
msgid "The YARPP database had an error but has been fixed."
|
79 |
msgstr "YARPP მონაცემთა ბაზა შეიცავდა შეცდომას, მაგრამ ის გასწორდა."
|
80 |
|
81 |
+
#: yarpp_options.php:85
|
82 |
#@ yarpp
|
83 |
msgid "The YARPP database has an error which could not be fixed."
|
84 |
msgstr "YARPP მონაცემთა ბაზა შეიცავდა შეცდომას, რომელიც არ გასწორდა.."
|
102 |
msgid "consider with extra weight"
|
103 |
msgstr "განიხილე დამატებითი წონით"
|
104 |
|
105 |
+
#: yarpp_options.php:178
|
106 |
#@ yarpp
|
107 |
msgid "Yet Another Related Posts Plugin Options"
|
108 |
msgstr "YARPP-ის სხვა შესაბამისი ჩანაწერები"
|
382 |
msgid "require more than one %s in common"
|
383 |
msgstr "ერთზე მეტი %s უნდა იყოს საერთო"
|
384 |
|
385 |
+
#: yarpp_options.php:114
|
386 |
#@ yarpp
|
387 |
msgid "Options saved!"
|
388 |
msgstr "პარამეტრები შენახულია!"
|
392 |
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."
|
393 |
msgstr "რაც მეტია მსგავსების ზღურბლი, მით უფრო მკაცრად ხდება არჩევა და მით უფრო ნაკლები ჩანაწერი იძებნება. ზღურბლის ნაგულისხმევი ზომაა 5. თუ გსურთ მოძებნოთ ზღურბლის დასაშვები მნიშვნელობები, მოსინჯეთ ზოგიერთი შეტყობინებების მაგალითზე. შეძლებთ ნახოთ რომელი ჩანაწერები გამოდის ზემოთ და მსგავსების რა მნიშვნელობა აქვს მათ, რის მიხედვითაც შეგიძლიათ განსაზღვროთ თქვენი საიტისთვის მისაღები დონე."
|
394 |
|
395 |
+
#: yarpp_options.php:279
|
396 |
#@ yarpp
|
397 |
msgid "Update options"
|
398 |
msgstr "პარამეტრების შეცვლა"
|
399 |
|
400 |
+
#: yarpp_options.php:280
|
401 |
#@ yarpp
|
402 |
msgid "Do you really want to reset your configuration?"
|
403 |
msgstr "ნამდვილად გსურთ საწყისი პარამეტრების დაბრუნება?"
|
404 |
|
405 |
+
#: yarpp_options.php:280
|
406 |
#@ yarpp
|
407 |
msgid "Reset options"
|
408 |
msgstr "საწყისი პარამეტრების დაბრუნება"
|
433 |
msgid "Show only posts from the past NUMBER UNITS"
|
434 |
msgstr "ნაჩვენები იქნას მხოლოდ შემდეგიდან დაწყებული ჩანაწერები: NUMBER UNITS"
|
435 |
|
436 |
+
#: yarpp_options.php:46
|
437 |
#, php-format
|
438 |
#@ yarpp
|
439 |
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."
|
543 |
msgid "Contact YARPP"
|
544 |
msgstr ""
|
545 |
|
546 |
+
#: yarpp_options.php:42
|
547 |
#, php-format
|
548 |
#@ default
|
549 |
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>."
|
550 |
msgstr ""
|
551 |
|
552 |
+
#: yarpp_options.php:86
|
553 |
#, php-format
|
554 |
#@ yarpp
|
555 |
msgid "Please try <a href=\"%s\" target=\"_blank\">manual SQL setup</a>."
|
556 |
msgstr ""
|
557 |
|
558 |
+
#: yarpp_options.php:188
|
559 |
#, php-format
|
560 |
#@ yarpp
|
561 |
msgid "by <a href=\"%s\" target=\"_blank\">mitcho (Michael 芳貴 Erlewine)</a>"
|
lang/yarpp-gu_IN.po
CHANGED
@@ -45,40 +45,40 @@ msgid "Related posts brought to you by <a href='%s'>Yet Another Related Posts Pl
|
|
45 |
msgstr "સંબંધિત પોસ્ટ્સ <a href='%s'> છતાં અન્ય સંબંધિત પોસ્ટ્સ દ્વારા તમે લાવ્યા પ્લગઇન કરો </ a>."
|
46 |
|
47 |
#@ yarpp
|
48 |
-
#:
|
49 |
msgid "The MyISAM check has been overridden. You may now use the \"consider titles\" and \"consider bodies\" relatedness criteria."
|
50 |
msgstr "આ MyISAM ચેક ફરીથી લખાઈ રહી છે. હવે તમે ઉપયોગ કરી શકો છો \"consider titles\" and \"consider bodies\" relatedness માપદંડ."
|
51 |
|
52 |
#@ yarpp
|
53 |
-
#:
|
54 |
#, php-format
|
55 |
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."
|
56 |
msgstr "YARPP's \"consider titles\" and \"consider bodies\" relatedness માપદંડ ને તમારા <code>%s</code>માટે ઉપયોગ ટેબલ <a href='http://dev.mysql.com/doc/refman/5.0/en/storage-engines.html'>MyISAM સંગ્રહ એન્જિન</a> પરંતુ ટેબલ પર <code>% s </ code> એન્જિનનો ઉપયોગ કરીને કરી રહ્યું છે. આ બે વિકલ્પો અક્ષમ કરવામાં આવી છે."
|
57 |
|
58 |
#@ yarpp
|
59 |
-
#:
|
60 |
#, php-format
|
61 |
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."
|
62 |
msgstr "આ લક્ષણો પુનઃસ્થાપિત કરવા માટે, નીચેનો એસક્યુએલ ડાઈરેક્ટીવ ચલાવીને તમારા <code>% s </ code> કોષ્ટક અપડેટ કરો: <code> બદલો સૂચિ `% s` ENGINE = MyISAM; </ code>. કોઈ માહિતી ટેબલ એન્જિન બદલતા દ્વારા દૂર કરવામાં આવશે, જો કે પ્રભાવ અસરો છે."
|
63 |
|
64 |
#@ yarpp
|
65 |
-
#:
|
66 |
#, php-format
|
67 |
msgid "If, despite this check, you are sure that <code>%s</code> is using the MyISAM engine, press this magic button:"
|
68 |
msgstr "જો, આ ચેક હોવા છતાં, તમે ખાતરી કરો કે <code>% s </ code> તે MyISAM એન્જિનનો ઉપયોગ કરીને છે, આ જાદુ બટન દબાવો:"
|
69 |
|
70 |
#@ yarpp
|
71 |
-
#:
|
72 |
msgid "Trust me. Let me use MyISAM features."
|
73 |
msgstr "મને વિશ્વાસ કરો. મને MyISAM સુવિધાઓ ઉપયોગ કરે છે."
|
74 |
|
75 |
#@ yarpp
|
76 |
-
#:
|
77 |
msgid "The YARPP database had an error but has been fixed."
|
78 |
msgstr "આ YARPP ડેટાબેઝ ભૂલ હતી પરંતુ સુધારાઈ ગયેલ છે."
|
79 |
|
80 |
#@ yarpp
|
81 |
-
#:
|
82 |
msgid "The YARPP database has an error which could not be fixed."
|
83 |
msgstr "આ YARPP ડેટાબેઝ ભૂલ કે જે સુધારાઈ કરી શકાઈ નથી ધરાવે છે."
|
84 |
|
@@ -102,7 +102,7 @@ msgid "consider with extra weight"
|
|
102 |
msgstr "વધારાનું વજન સાથે વિચારણા"
|
103 |
|
104 |
#@ yarpp
|
105 |
-
#:
|
106 |
msgid "Yet Another Related Posts Plugin Options"
|
107 |
msgstr "હજુ સુધી અન્ય સંબંધિત પોસ્ટ્સ પ્લગઇન વિકલ્પો"
|
108 |
|
@@ -382,7 +382,7 @@ msgid "require more than one %s in common"
|
|
382 |
msgstr "એક કરતાં વધુ સામાન્ય %s જરૂરી છે"
|
383 |
|
384 |
#@ yarpp
|
385 |
-
#:
|
386 |
msgid "Options saved!"
|
387 |
msgstr "વિકલ્પો સાચવ્યા!"
|
388 |
|
@@ -392,17 +392,17 @@ msgid "The higher the match threshold, the more restrictive, and you get less re
|
|
392 |
msgstr "ઊંચી મેચ થ્રેશોલ્ડ વધુ પ્રતિબંધિત છે, અને તમે ઓછા સંબંધિત પોસ્ટ્સ એકંદર છે. મૂળભૂત મેચ થ્રેશોલ્ડ 5 છે. જો તમે યોગ્ય મેચ threshhold શોધવા માંગો છો, અમુક પોસ્ટ સંબંધિત પોસ્ટ્સ પ્રદર્શન પર એક નજર અને તેમના સ્કોર્સ લો. તમે શું સંબંધિત પોસ્ટ્સ પ્રકારના અપ કરવામાં આવી રહી લેવામાં આવે છે અને જુઓ કે મેચ સ્કોર્સ પ્રકારની શું કરી શકો છો, અને તમારી સાઇટ માટે યોગ્ય થ્રેશોલ્ડ નક્કી કરે છે."
|
393 |
|
394 |
#@ yarpp
|
395 |
-
#:
|
396 |
msgid "Update options"
|
397 |
msgstr "વિકલ્પોને અપડેટ"
|
398 |
|
399 |
#@ yarpp
|
400 |
-
#:
|
401 |
msgid "Do you really want to reset your configuration?"
|
402 |
msgstr "શું તમે ખરેખર તમારી રૂપરેખાંકન ફરીથી સેટ કરવા માંગો છો?"
|
403 |
|
404 |
#@ yarpp
|
405 |
-
#:
|
406 |
msgid "Reset options"
|
407 |
msgstr "વિકલ્પો ફરીથી સેટ કરો"
|
408 |
|
@@ -447,7 +447,7 @@ msgid "Show only posts from the past NUMBER UNITS"
|
|
447 |
msgstr "ભૂતકાળમાં NUMBER UNITS માત્ર પોસ્ટ્સ બતાવો"
|
448 |
|
449 |
#@ yarpp
|
450 |
-
#:
|
451 |
#, php-format
|
452 |
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."
|
453 |
msgstr "ત્યાં છતાં અન્ય સંબંધિત પોસ્ટ્સ પ્લગઇન એક નવી બીટા (% s) છે. તમે <a href=\"%s\"> તેને અહીં ડાઉનલોડ કરી શકો છો </ a> તમારા પોતાના જોખમે."
|
@@ -543,19 +543,19 @@ msgid "Contact YARPP"
|
|
543 |
msgstr "સંપર્ક YARPP"
|
544 |
|
545 |
#@ default
|
546 |
-
#:
|
547 |
#, php-format
|
548 |
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>."
|
549 |
msgstr "ત્યાં એક નવી આવૃત્તિ છે %1$s પ્રાપ્ય. <a href=\"%2$s\" class=\"thickbox\" title=\"%3$s\">આવૃત્તિ %4$s જુઓ વિગતો</a>અથવા <a href=\"%5$s\">આપમેળે અપડેટ</a>."
|
550 |
|
551 |
#@ yarpp
|
552 |
-
#:
|
553 |
#, php-format
|
554 |
msgid "Please try <a href=\"%s\" target=\"_blank\">manual SQL setup</a>."
|
555 |
msgstr "પ્રયાસ કરો <a href=\"%s\" target=\"_blank\"> જાતે એસક્યુએલ સુયોજન કરો </ a>."
|
556 |
|
557 |
#@ yarpp
|
558 |
-
#:
|
559 |
#, php-format
|
560 |
msgid "by <a href=\"%s\" target=\"_blank\">mitcho (Michael 芳貴 Erlewine)</a>"
|
561 |
msgstr "દ્વારા <a href=\"%s\" target=\"_blank\">mitcho (Michael 芳貴 Erlewine)</a>"
|
45 |
msgstr "સંબંધિત પોસ્ટ્સ <a href='%s'> છતાં અન્ય સંબંધિત પોસ્ટ્સ દ્વારા તમે લાવ્યા પ્લગઇન કરો </ a>."
|
46 |
|
47 |
#@ yarpp
|
48 |
+
#: yarpp_options.php:54
|
49 |
msgid "The MyISAM check has been overridden. You may now use the \"consider titles\" and \"consider bodies\" relatedness criteria."
|
50 |
msgstr "આ MyISAM ચેક ફરીથી લખાઈ રહી છે. હવે તમે ઉપયોગ કરી શકો છો \"consider titles\" and \"consider bodies\" relatedness માપદંડ."
|
51 |
|
52 |
#@ yarpp
|
53 |
+
#: yarpp_options.php:63
|
54 |
#, php-format
|
55 |
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."
|
56 |
msgstr "YARPP's \"consider titles\" and \"consider bodies\" relatedness માપદંડ ને તમારા <code>%s</code>માટે ઉપયોગ ટેબલ <a href='http://dev.mysql.com/doc/refman/5.0/en/storage-engines.html'>MyISAM સંગ્રહ એન્જિન</a> પરંતુ ટેબલ પર <code>% s </ code> એન્જિનનો ઉપયોગ કરીને કરી રહ્યું છે. આ બે વિકલ્પો અક્ષમ કરવામાં આવી છે."
|
57 |
|
58 |
#@ yarpp
|
59 |
+
#: yarpp_options.php:65
|
60 |
#, php-format
|
61 |
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."
|
62 |
msgstr "આ લક્ષણો પુનઃસ્થાપિત કરવા માટે, નીચેનો એસક્યુએલ ડાઈરેક્ટીવ ચલાવીને તમારા <code>% s </ code> કોષ્ટક અપડેટ કરો: <code> બદલો સૂચિ `% s` ENGINE = MyISAM; </ code>. કોઈ માહિતી ટેબલ એન્જિન બદલતા દ્વારા દૂર કરવામાં આવશે, જો કે પ્રભાવ અસરો છે."
|
63 |
|
64 |
#@ yarpp
|
65 |
+
#: yarpp_options.php:67
|
66 |
#, php-format
|
67 |
msgid "If, despite this check, you are sure that <code>%s</code> is using the MyISAM engine, press this magic button:"
|
68 |
msgstr "જો, આ ચેક હોવા છતાં, તમે ખાતરી કરો કે <code>% s </ code> તે MyISAM એન્જિનનો ઉપયોગ કરીને છે, આ જાદુ બટન દબાવો:"
|
69 |
|
70 |
#@ yarpp
|
71 |
+
#: yarpp_options.php:70
|
72 |
msgid "Trust me. Let me use MyISAM features."
|
73 |
msgstr "મને વિશ્વાસ કરો. મને MyISAM સુવિધાઓ ઉપયોગ કરે છે."
|
74 |
|
75 |
#@ yarpp
|
76 |
+
#: yarpp_options.php:83
|
77 |
msgid "The YARPP database had an error but has been fixed."
|
78 |
msgstr "આ YARPP ડેટાબેઝ ભૂલ હતી પરંતુ સુધારાઈ ગયેલ છે."
|
79 |
|
80 |
#@ yarpp
|
81 |
+
#: yarpp_options.php:85
|
82 |
msgid "The YARPP database has an error which could not be fixed."
|
83 |
msgstr "આ YARPP ડેટાબેઝ ભૂલ કે જે સુધારાઈ કરી શકાઈ નથી ધરાવે છે."
|
84 |
|
102 |
msgstr "વધારાનું વજન સાથે વિચારણા"
|
103 |
|
104 |
#@ yarpp
|
105 |
+
#: yarpp_options.php:178
|
106 |
msgid "Yet Another Related Posts Plugin Options"
|
107 |
msgstr "હજુ સુધી અન્ય સંબંધિત પોસ્ટ્સ પ્લગઇન વિકલ્પો"
|
108 |
|
382 |
msgstr "એક કરતાં વધુ સામાન્ય %s જરૂરી છે"
|
383 |
|
384 |
#@ yarpp
|
385 |
+
#: yarpp_options.php:114
|
386 |
msgid "Options saved!"
|
387 |
msgstr "વિકલ્પો સાચવ્યા!"
|
388 |
|
392 |
msgstr "ઊંચી મેચ થ્રેશોલ્ડ વધુ પ્રતિબંધિત છે, અને તમે ઓછા સંબંધિત પોસ્ટ્સ એકંદર છે. મૂળભૂત મેચ થ્રેશોલ્ડ 5 છે. જો તમે યોગ્ય મેચ threshhold શોધવા માંગો છો, અમુક પોસ્ટ સંબંધિત પોસ્ટ્સ પ્રદર્શન પર એક નજર અને તેમના સ્કોર્સ લો. તમે શું સંબંધિત પોસ્ટ્સ પ્રકારના અપ કરવામાં આવી રહી લેવામાં આવે છે અને જુઓ કે મેચ સ્કોર્સ પ્રકારની શું કરી શકો છો, અને તમારી સાઇટ માટે યોગ્ય થ્રેશોલ્ડ નક્કી કરે છે."
|
393 |
|
394 |
#@ yarpp
|
395 |
+
#: yarpp_options.php:279
|
396 |
msgid "Update options"
|
397 |
msgstr "વિકલ્પોને અપડેટ"
|
398 |
|
399 |
#@ yarpp
|
400 |
+
#: yarpp_options.php:280
|
401 |
msgid "Do you really want to reset your configuration?"
|
402 |
msgstr "શું તમે ખરેખર તમારી રૂપરેખાંકન ફરીથી સેટ કરવા માંગો છો?"
|
403 |
|
404 |
#@ yarpp
|
405 |
+
#: yarpp_options.php:280
|
406 |
msgid "Reset options"
|
407 |
msgstr "વિકલ્પો ફરીથી સેટ કરો"
|
408 |
|
447 |
msgstr "ભૂતકાળમાં NUMBER UNITS માત્ર પોસ્ટ્સ બતાવો"
|
448 |
|
449 |
#@ yarpp
|
450 |
+
#: yarpp_options.php:46
|
451 |
#, php-format
|
452 |
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."
|
453 |
msgstr "ત્યાં છતાં અન્ય સંબંધિત પોસ્ટ્સ પ્લગઇન એક નવી બીટા (% s) છે. તમે <a href=\"%s\"> તેને અહીં ડાઉનલોડ કરી શકો છો </ a> તમારા પોતાના જોખમે."
|
543 |
msgstr "સંપર્ક YARPP"
|
544 |
|
545 |
#@ default
|
546 |
+
#: yarpp_options.php:42
|
547 |
#, php-format
|
548 |
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>."
|
549 |
msgstr "ત્યાં એક નવી આવૃત્તિ છે %1$s પ્રાપ્ય. <a href=\"%2$s\" class=\"thickbox\" title=\"%3$s\">આવૃત્તિ %4$s જુઓ વિગતો</a>અથવા <a href=\"%5$s\">આપમેળે અપડેટ</a>."
|
550 |
|
551 |
#@ yarpp
|
552 |
+
#: yarpp_options.php:86
|
553 |
#, php-format
|
554 |
msgid "Please try <a href=\"%s\" target=\"_blank\">manual SQL setup</a>."
|
555 |
msgstr "પ્રયાસ કરો <a href=\"%s\" target=\"_blank\"> જાતે એસક્યુએલ સુયોજન કરો </ a>."
|
556 |
|
557 |
#@ yarpp
|
558 |
+
#: yarpp_options.php:188
|
559 |
#, php-format
|
560 |
msgid "by <a href=\"%s\" target=\"_blank\">mitcho (Michael 芳貴 Erlewine)</a>"
|
561 |
msgstr "દ્વારા <a href=\"%s\" target=\"_blank\">mitcho (Michael 芳貴 Erlewine)</a>"
|
lang/yarpp-he_IL.po
CHANGED
@@ -566,7 +566,7 @@ msgstr ""
|
|
566 |
msgid "Contact YARPP"
|
567 |
msgstr "צרו קשר עם YARPP"
|
568 |
|
569 |
-
#:
|
570 |
#, php-format
|
571 |
msgid ""
|
572 |
"There is a new version of %1$s available. <a href=\"%2$s\" class=\"thickbox"
|
@@ -577,7 +577,7 @@ msgstr ""
|
|
577 |
"\">הצג את פרטי גרסה %4$s</a> או <a href=\"%5$s\">עדכן אוטומטית</a>"
|
578 |
|
579 |
# @ yarpp
|
580 |
-
#:
|
581 |
#, php-format
|
582 |
msgid ""
|
583 |
"There is a new beta (%s) of Yet Another Related Posts Plugin. You can <a "
|
@@ -586,7 +586,7 @@ msgstr ""
|
|
586 |
"קיימת גרסא חדשה יותר (%s) של YARPP ותוכלו להוריד אותה <a href=\"%s\">כאן</a>."
|
587 |
|
588 |
# @ yarpp
|
589 |
-
#:
|
590 |
msgid ""
|
591 |
"The MyISAM check has been overridden. You may now use the \"consider titles"
|
592 |
"\" and \"consider bodies\" relatedness criteria."
|
@@ -595,7 +595,7 @@ msgstr ""
|
|
595 |
"bodies\" כמדדים לשייכות לנושא הפרסום."
|
596 |
|
597 |
# @ yarpp
|
598 |
-
#:
|
599 |
#, php-format
|
600 |
msgid ""
|
601 |
"YARPP's \"consider titles\" and \"consider bodies\" relatedness criteria "
|
@@ -610,7 +610,7 @@ msgstr ""
|
|
610 |
"במנוע <code>%s</code>. שתי האפשרויות הללו בוטלו."
|
611 |
|
612 |
# @ yarpp
|
613 |
-
#:
|
614 |
#, php-format
|
615 |
msgid ""
|
616 |
"To restore these features, please update your <code>%s</code> table by "
|
@@ -623,7 +623,7 @@ msgstr ""
|
|
623 |
"על הביצועים, שום מידע לא יימחק כתוצאה משינוי מנועי הטבלאות"
|
624 |
|
625 |
# @ yarpp
|
626 |
-
#:
|
627 |
#, php-format
|
628 |
msgid ""
|
629 |
"If, despite this check, you are sure that <code>%s</code> is using the "
|
@@ -633,43 +633,43 @@ msgstr ""
|
|
633 |
"כפתור הקסמים הזה:"
|
634 |
|
635 |
# @ yarpp
|
636 |
-
#:
|
637 |
msgid "Trust me. Let me use MyISAM features."
|
638 |
msgstr "סמוך עלי, תן לי להשתמש באפשרויות של MyISAM."
|
639 |
|
640 |
# @ yarpp
|
641 |
-
#:
|
642 |
msgid "The YARPP database had an error but has been fixed."
|
643 |
msgstr "למסד הנתונים של YARPP הייתה בעיה אבל היא תוקנה."
|
644 |
|
645 |
# @ yarpp
|
646 |
-
#:
|
647 |
msgid "The YARPP database has an error which could not be fixed."
|
648 |
msgstr "נמצאה בעיה במסד הנתונים של YARPP ולא ניתן לתקנה."
|
649 |
|
650 |
# @ yarpp
|
651 |
-
#:
|
652 |
#, php-format
|
653 |
msgid "Please try <a href=\"%s\" target=\"_blank\">manual SQL setup</a>."
|
654 |
msgstr "בבקשה תנסו <a href=\"%s\" target=\"_blank\">להתקין SQL ידנית</a>."
|
655 |
|
656 |
# @ yarpp
|
657 |
-
#:
|
658 |
msgid "Options saved!"
|
659 |
msgstr "האפשרויות נשמרו!"
|
660 |
|
661 |
# @ yarpp
|
662 |
-
#:
|
663 |
msgid "Yet Another Related Posts Plugin Options"
|
664 |
msgstr "אפשרויות תוסף YARPP, פוסטים נוספים בנושא"
|
665 |
|
666 |
-
#:
|
667 |
#, php-format
|
668 |
msgid "by <a href=\"%s\" target=\"_blank\">mitcho (Michael 芳貴 Erlewine)</a>"
|
669 |
msgstr ""
|
670 |
"על ידי <a href=\"%s\" target=\"_blank\">mitcho (Michael 芳貴 Erlewine)</a>"
|
671 |
|
672 |
-
#:
|
673 |
msgid "Save Changes"
|
674 |
msgstr "שמור שינויים"
|
675 |
|
566 |
msgid "Contact YARPP"
|
567 |
msgstr "צרו קשר עם YARPP"
|
568 |
|
569 |
+
#: yarpp_options.php:31
|
570 |
#, php-format
|
571 |
msgid ""
|
572 |
"There is a new version of %1$s available. <a href=\"%2$s\" class=\"thickbox"
|
577 |
"\">הצג את פרטי גרסה %4$s</a> או <a href=\"%5$s\">עדכן אוטומטית</a>"
|
578 |
|
579 |
# @ yarpp
|
580 |
+
#: yarpp_options.php:35
|
581 |
#, php-format
|
582 |
msgid ""
|
583 |
"There is a new beta (%s) of Yet Another Related Posts Plugin. You can <a "
|
586 |
"קיימת גרסא חדשה יותר (%s) של YARPP ותוכלו להוריד אותה <a href=\"%s\">כאן</a>."
|
587 |
|
588 |
# @ yarpp
|
589 |
+
#: yarpp_options.php:43
|
590 |
msgid ""
|
591 |
"The MyISAM check has been overridden. You may now use the \"consider titles"
|
592 |
"\" and \"consider bodies\" relatedness criteria."
|
595 |
"bodies\" כמדדים לשייכות לנושא הפרסום."
|
596 |
|
597 |
# @ yarpp
|
598 |
+
#: yarpp_options.php:51
|
599 |
#, php-format
|
600 |
msgid ""
|
601 |
"YARPP's \"consider titles\" and \"consider bodies\" relatedness criteria "
|
610 |
"במנוע <code>%s</code>. שתי האפשרויות הללו בוטלו."
|
611 |
|
612 |
# @ yarpp
|
613 |
+
#: yarpp_options.php:53
|
614 |
#, php-format
|
615 |
msgid ""
|
616 |
"To restore these features, please update your <code>%s</code> table by "
|
623 |
"על הביצועים, שום מידע לא יימחק כתוצאה משינוי מנועי הטבלאות"
|
624 |
|
625 |
# @ yarpp
|
626 |
+
#: yarpp_options.php:55
|
627 |
#, php-format
|
628 |
msgid ""
|
629 |
"If, despite this check, you are sure that <code>%s</code> is using the "
|
633 |
"כפתור הקסמים הזה:"
|
634 |
|
635 |
# @ yarpp
|
636 |
+
#: yarpp_options.php:58
|
637 |
msgid "Trust me. Let me use MyISAM features."
|
638 |
msgstr "סמוך עלי, תן לי להשתמש באפשרויות של MyISAM."
|
639 |
|
640 |
# @ yarpp
|
641 |
+
#: yarpp_options.php:73
|
642 |
msgid "The YARPP database had an error but has been fixed."
|
643 |
msgstr "למסד הנתונים של YARPP הייתה בעיה אבל היא תוקנה."
|
644 |
|
645 |
# @ yarpp
|
646 |
+
#: yarpp_options.php:75
|
647 |
msgid "The YARPP database has an error which could not be fixed."
|
648 |
msgstr "נמצאה בעיה במסד הנתונים של YARPP ולא ניתן לתקנה."
|
649 |
|
650 |
# @ yarpp
|
651 |
+
#: yarpp_options.php:76
|
652 |
#, php-format
|
653 |
msgid "Please try <a href=\"%s\" target=\"_blank\">manual SQL setup</a>."
|
654 |
msgstr "בבקשה תנסו <a href=\"%s\" target=\"_blank\">להתקין SQL ידנית</a>."
|
655 |
|
656 |
# @ yarpp
|
657 |
+
#: yarpp_options.php:139
|
658 |
msgid "Options saved!"
|
659 |
msgstr "האפשרויות נשמרו!"
|
660 |
|
661 |
# @ yarpp
|
662 |
+
#: yarpp_options.php:145
|
663 |
msgid "Yet Another Related Posts Plugin Options"
|
664 |
msgstr "אפשרויות תוסף YARPP, פוסטים נוספים בנושא"
|
665 |
|
666 |
+
#: yarpp_options.php:153
|
667 |
#, php-format
|
668 |
msgid "by <a href=\"%s\" target=\"_blank\">mitcho (Michael 芳貴 Erlewine)</a>"
|
669 |
msgstr ""
|
670 |
"על ידי <a href=\"%s\" target=\"_blank\">mitcho (Michael 芳貴 Erlewine)</a>"
|
671 |
|
672 |
+
#: yarpp_options.php:194
|
673 |
msgid "Save Changes"
|
674 |
msgstr "שמור שינויים"
|
675 |
|
lang/yarpp-hi_IN.po
CHANGED
@@ -45,40 +45,40 @@ msgstr "%f मौजूदा प्रवेश और इस से संब
|
|
45 |
msgid "Related posts brought to you by <a href='%s'>Yet Another Related Posts Plugin</a>."
|
46 |
msgstr "संबंधित पोस्ट आप द्वारा लाया <a href='%s'>अभी तक एक अन्य संबंधित प्लगइन डाक</a>."
|
47 |
|
48 |
-
#:
|
49 |
#@ yarpp
|
50 |
msgid "The MyISAM check has been overridden. You may now use the \"consider titles\" and \"consider bodies\" relatedness criteria."
|
51 |
msgstr "MyISAM जांच अधिरोहित रहा है. अब आप उपयोग कर सकते हैं \"शीर्षकों पर विचार\"और \"शरीर पर विचार\" संबद्धता मानदंड."
|
52 |
|
53 |
-
#:
|
54 |
#, php-format
|
55 |
#@ yarpp
|
56 |
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."
|
57 |
msgstr "YARPPs \"consider titles\" und \"consider bodies\" Kriterien zur Relevanz verlangen, dass Ihre <code>%s</code> Tabelle die <a href='http://dev.mysql.com/doc/refman/5.0/en/storage-engines.html'>MyISAM Storage Engine</a> verwendet, die Tabelle scheint aber die <code>%s</code>-Engine zu verwenden. Die zwei Einstellungen wurden deaktiviert."
|
58 |
|
59 |
-
#:
|
60 |
#, php-format
|
61 |
#@ yarpp
|
62 |
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."
|
63 |
msgstr "इन सुविधाओं को बहाल करने, कृपया अपने अद्यतन <code>%s</code> निम्नलिखित SQL निर्देश निष्पादित की मेज:<code>ALTER TABLE `%s` ENGINE = MyISAM;</code>. कोई डेटा मिटाया नहीं गया "
|
64 |
|
65 |
-
#:
|
66 |
#, php-format
|
67 |
#@ yarpp
|
68 |
msgid "If, despite this check, you are sure that <code>%s</code> is using the MyISAM engine, press this magic button:"
|
69 |
msgstr "यदि, इस जांच के बावजूद, तुम्हें यकीन है <code>%s</code> MyISAM इंजन का उपयोग कर रहा है, यह जादू बटन दबाएँ:"
|
70 |
|
71 |
-
#:
|
72 |
#@ yarpp
|
73 |
msgid "Trust me. Let me use MyISAM features."
|
74 |
msgstr "मेरा विश्वास करो. Lassen Sie mich MyISAM-Features nutzen. झे MyISAM सुविधाओं का उपयोग करने दे ."
|
75 |
|
76 |
-
#:
|
77 |
#@ yarpp
|
78 |
msgid "The YARPP database had an error but has been fixed."
|
79 |
msgstr "YARPP डाटाबेस में एक त्रुटि थी लेकिन तय हो चुकी है."
|
80 |
|
81 |
-
#:
|
82 |
#@ yarpp
|
83 |
msgid "The YARPP database has an error which could not be fixed."
|
84 |
msgstr "YARPP डाटाबेस में एक त्रुटि थी लेकिन तय हो चुकी है."
|
@@ -102,7 +102,7 @@ msgstr "विचार"
|
|
102 |
msgid "consider with extra weight"
|
103 |
msgstr "अतिरिक्त वजन के साथ विचार"
|
104 |
|
105 |
-
#:
|
106 |
#@ yarpp
|
107 |
msgid "Yet Another Related Posts Plugin Options"
|
108 |
msgstr "अभी तक एक अन्य संबंधित पोस्ट प्लगइन विकल्प"
|
@@ -382,7 +382,7 @@ msgstr "आवश्यकता कम से कम % s"
|
|
382 |
msgid "require more than one %s in common"
|
383 |
msgstr "आवश्यकता से अधिक एक% s"
|
384 |
|
385 |
-
#:
|
386 |
#@ yarpp
|
387 |
msgid "Options saved!"
|
388 |
msgstr "विकल्प बचा लिया!"
|
@@ -392,17 +392,17 @@ msgstr "विकल्प बचा लिया!"
|
|
392 |
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."
|
393 |
msgstr "मैच सीमा से अधिक, अधिक प्रतिबंधात्मक, और तुम कम संबंधित पदों पीओगे. डिफ़ॉल्ट मैच दहलीज 5 है. यदि आप एक उचित मैच दहलीज को ढूँढ़ना चाहते हूँ.किसी पद से संबंधित पदों प्रदर्शन और अपने स्कोर पर एक नज़र रखना चाहते हूँ. तुम संबंधित पदों का क्या प्रकार और मैच के स्कोर देख सकते हो और आपकी साइट के लिए एक उचित सीमा निर्धारित सकते हो. "
|
394 |
|
395 |
-
#:
|
396 |
#@ yarpp
|
397 |
msgid "Update options"
|
398 |
msgstr "Einstellungen aktualisieren"
|
399 |
|
400 |
-
#:
|
401 |
#@ yarpp
|
402 |
msgid "Do you really want to reset your configuration?"
|
403 |
msgstr "Einstellungen tatsächlich zurücksetzen?"
|
404 |
|
405 |
-
#:
|
406 |
#@ yarpp
|
407 |
msgid "Reset options"
|
408 |
msgstr "Einstellungen zurücksetzen"
|
@@ -447,7 +447,7 @@ msgstr "महीने (s)"
|
|
447 |
msgid "Show only posts from the past NUMBER UNITS"
|
448 |
msgstr "दिखाएँ पिछले NUMBER इकाइयों से ही पोस्ट"
|
449 |
|
450 |
-
#:
|
451 |
#, php-format
|
452 |
#@ yarpp
|
453 |
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."
|
@@ -543,19 +543,19 @@ msgstr ""
|
|
543 |
msgid "Contact YARPP"
|
544 |
msgstr ""
|
545 |
|
546 |
-
#:
|
547 |
#, php-format
|
548 |
#@ default
|
549 |
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>."
|
550 |
msgstr ""
|
551 |
|
552 |
-
#:
|
553 |
#, php-format
|
554 |
#@ yarpp
|
555 |
msgid "Please try <a href=\"%s\" target=\"_blank\">manual SQL setup</a>."
|
556 |
msgstr ""
|
557 |
|
558 |
-
#:
|
559 |
#, php-format
|
560 |
#@ yarpp
|
561 |
msgid "by <a href=\"%s\" target=\"_blank\">mitcho (Michael 芳貴 Erlewine)</a>"
|
45 |
msgid "Related posts brought to you by <a href='%s'>Yet Another Related Posts Plugin</a>."
|
46 |
msgstr "संबंधित पोस्ट आप द्वारा लाया <a href='%s'>अभी तक एक अन्य संबंधित प्लगइन डाक</a>."
|
47 |
|
48 |
+
#: yarpp_options.php:54
|
49 |
#@ yarpp
|
50 |
msgid "The MyISAM check has been overridden. You may now use the \"consider titles\" and \"consider bodies\" relatedness criteria."
|
51 |
msgstr "MyISAM जांच अधिरोहित रहा है. अब आप उपयोग कर सकते हैं \"शीर्षकों पर विचार\"और \"शरीर पर विचार\" संबद्धता मानदंड."
|
52 |
|
53 |
+
#: yarpp_options.php:63
|
54 |
#, php-format
|
55 |
#@ yarpp
|
56 |
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."
|
57 |
msgstr "YARPPs \"consider titles\" und \"consider bodies\" Kriterien zur Relevanz verlangen, dass Ihre <code>%s</code> Tabelle die <a href='http://dev.mysql.com/doc/refman/5.0/en/storage-engines.html'>MyISAM Storage Engine</a> verwendet, die Tabelle scheint aber die <code>%s</code>-Engine zu verwenden. Die zwei Einstellungen wurden deaktiviert."
|
58 |
|
59 |
+
#: yarpp_options.php:65
|
60 |
#, php-format
|
61 |
#@ yarpp
|
62 |
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."
|
63 |
msgstr "इन सुविधाओं को बहाल करने, कृपया अपने अद्यतन <code>%s</code> निम्नलिखित SQL निर्देश निष्पादित की मेज:<code>ALTER TABLE `%s` ENGINE = MyISAM;</code>. कोई डेटा मिटाया नहीं गया "
|
64 |
|
65 |
+
#: yarpp_options.php:67
|
66 |
#, php-format
|
67 |
#@ yarpp
|
68 |
msgid "If, despite this check, you are sure that <code>%s</code> is using the MyISAM engine, press this magic button:"
|
69 |
msgstr "यदि, इस जांच के बावजूद, तुम्हें यकीन है <code>%s</code> MyISAM इंजन का उपयोग कर रहा है, यह जादू बटन दबाएँ:"
|
70 |
|
71 |
+
#: yarpp_options.php:70
|
72 |
#@ yarpp
|
73 |
msgid "Trust me. Let me use MyISAM features."
|
74 |
msgstr "मेरा विश्वास करो. Lassen Sie mich MyISAM-Features nutzen. झे MyISAM सुविधाओं का उपयोग करने दे ."
|
75 |
|
76 |
+
#: yarpp_options.php:83
|
77 |
#@ yarpp
|
78 |
msgid "The YARPP database had an error but has been fixed."
|
79 |
msgstr "YARPP डाटाबेस में एक त्रुटि थी लेकिन तय हो चुकी है."
|
80 |
|
81 |
+
#: yarpp_options.php:85
|
82 |
#@ yarpp
|
83 |
msgid "The YARPP database has an error which could not be fixed."
|
84 |
msgstr "YARPP डाटाबेस में एक त्रुटि थी लेकिन तय हो चुकी है."
|
102 |
msgid "consider with extra weight"
|
103 |
msgstr "अतिरिक्त वजन के साथ विचार"
|
104 |
|
105 |
+
#: yarpp_options.php:178
|
106 |
#@ yarpp
|
107 |
msgid "Yet Another Related Posts Plugin Options"
|
108 |
msgstr "अभी तक एक अन्य संबंधित पोस्ट प्लगइन विकल्प"
|
382 |
msgid "require more than one %s in common"
|
383 |
msgstr "आवश्यकता से अधिक एक% s"
|
384 |
|
385 |
+
#: yarpp_options.php:114
|
386 |
#@ yarpp
|
387 |
msgid "Options saved!"
|
388 |
msgstr "विकल्प बचा लिया!"
|
392 |
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."
|
393 |
msgstr "मैच सीमा से अधिक, अधिक प्रतिबंधात्मक, और तुम कम संबंधित पदों पीओगे. डिफ़ॉल्ट मैच दहलीज 5 है. यदि आप एक उचित मैच दहलीज को ढूँढ़ना चाहते हूँ.किसी पद से संबंधित पदों प्रदर्शन और अपने स्कोर पर एक नज़र रखना चाहते हूँ. तुम संबंधित पदों का क्या प्रकार और मैच के स्कोर देख सकते हो और आपकी साइट के लिए एक उचित सीमा निर्धारित सकते हो. "
|
394 |
|
395 |
+
#: yarpp_options.php:279
|
396 |
#@ yarpp
|
397 |
msgid "Update options"
|
398 |
msgstr "Einstellungen aktualisieren"
|
399 |
|
400 |
+
#: yarpp_options.php:280
|
401 |
#@ yarpp
|
402 |
msgid "Do you really want to reset your configuration?"
|
403 |
msgstr "Einstellungen tatsächlich zurücksetzen?"
|
404 |
|
405 |
+
#: yarpp_options.php:280
|
406 |
#@ yarpp
|
407 |
msgid "Reset options"
|
408 |
msgstr "Einstellungen zurücksetzen"
|
447 |
msgid "Show only posts from the past NUMBER UNITS"
|
448 |
msgstr "दिखाएँ पिछले NUMBER इकाइयों से ही पोस्ट"
|
449 |
|
450 |
+
#: yarpp_options.php:46
|
451 |
#, php-format
|
452 |
#@ yarpp
|
453 |
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."
|
543 |
msgid "Contact YARPP"
|
544 |
msgstr ""
|
545 |
|
546 |
+
#: yarpp_options.php:42
|
547 |
#, php-format
|
548 |
#@ default
|
549 |
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>."
|
550 |
msgstr ""
|
551 |
|
552 |
+
#: yarpp_options.php:86
|
553 |
#, php-format
|
554 |
#@ yarpp
|
555 |
msgid "Please try <a href=\"%s\" target=\"_blank\">manual SQL setup</a>."
|
556 |
msgstr ""
|
557 |
|
558 |
+
#: yarpp_options.php:188
|
559 |
#, php-format
|
560 |
#@ yarpp
|
561 |
msgid "by <a href=\"%s\" target=\"_blank\">mitcho (Michael 芳貴 Erlewine)</a>"
|
lang/yarpp-hr.po
CHANGED
@@ -482,7 +482,7 @@ msgid "Contact YARPP"
|
|
482 |
msgstr "Kontaktiraj YARPP"
|
483 |
|
484 |
# @ default
|
485 |
-
#:
|
486 |
#, php-format
|
487 |
msgid ""
|
488 |
"There is a new version of %1$s available. <a href=\"%2$s\" class=\"thickbox"
|
@@ -494,7 +494,7 @@ msgstr ""
|
|
494 |
"automatski</a>."
|
495 |
|
496 |
# @ yarpp
|
497 |
-
#:
|
498 |
#, php-format
|
499 |
msgid ""
|
500 |
"There is a new beta (%s) of Yet Another Related Posts Plugin. You can <a "
|
@@ -504,7 +504,7 @@ msgstr ""
|
|
504 |
"<a href=\"%s\">preuzeti ovdje</a> na svoj rizik."
|
505 |
|
506 |
# @ yarpp
|
507 |
-
#:
|
508 |
msgid ""
|
509 |
"The MyISAM check has been overridden. You may now use the \"consider titles"
|
510 |
"\" and \"consider bodies\" relatedness criteria."
|
@@ -513,7 +513,7 @@ msgstr ""
|
|
513 |
"\"consider bodies\" kao kriterije za relevantnost."
|
514 |
|
515 |
# @ yarpp
|
516 |
-
#:
|
517 |
#, php-format
|
518 |
msgid ""
|
519 |
"YARPP's \"consider titles\" and \"consider bodies\" relatedness criteria "
|
@@ -529,7 +529,7 @@ msgstr ""
|
|
529 |
"nisu dostupne."
|
530 |
|
531 |
# @ yarpp
|
532 |
-
#:
|
533 |
#, php-format
|
534 |
msgid ""
|
535 |
"To restore these features, please update your <code>%s</code> table by "
|
@@ -543,7 +543,7 @@ msgstr ""
|
|
543 |
"tablice, iako može doći do usporavanja stranice."
|
544 |
|
545 |
# @ yarpp
|
546 |
-
#:
|
547 |
#, php-format
|
548 |
msgid ""
|
549 |
"If, despite this check, you are sure that <code>%s</code> is using the "
|
@@ -553,45 +553,45 @@ msgstr ""
|
|
553 |
"engine, kliknite ovo magično dugme:"
|
554 |
|
555 |
# @ yarpp
|
556 |
-
#:
|
557 |
msgid "Trust me. Let me use MyISAM features."
|
558 |
msgstr "Vjeruj mi. Želim koristiti MyISAM značajke."
|
559 |
|
560 |
# @ yarpp
|
561 |
-
#:
|
562 |
msgid "The YARPP database had an error but has been fixed."
|
563 |
msgstr "YARPP baza podataka je imala grešku ali je popravljena."
|
564 |
|
565 |
# @ yarpp
|
566 |
-
#:
|
567 |
msgid "The YARPP database has an error which could not be fixed."
|
568 |
msgstr "YARPP baza podataka je imala grešku koja nije mogla biti popravljena."
|
569 |
|
570 |
# @ yarpp
|
571 |
-
#:
|
572 |
#, php-format
|
573 |
msgid "Please try <a href=\"%s\" target=\"_blank\">manual SQL setup</a>."
|
574 |
msgstr ""
|
575 |
"Molimo pokušajte <a href=\"%s\" target=\"_blank\">ručno podesiti SQL</a>."
|
576 |
|
577 |
# @ yarpp
|
578 |
-
#:
|
579 |
msgid "Options saved!"
|
580 |
msgstr "Postavke spremljene!"
|
581 |
|
582 |
# @ yarpp
|
583 |
-
#:
|
584 |
msgid "Yet Another Related Posts Plugin Options"
|
585 |
msgstr "Postavke Dodatka za Vezane Članke (YARPP)"
|
586 |
|
587 |
# @ yarpp
|
588 |
-
#:
|
589 |
#, php-format
|
590 |
msgid "by <a href=\"%s\" target=\"_blank\">mitcho (Michael 芳貴 Erlewine)</a>"
|
591 |
msgstr "od <a href=\"%s\" target=\"_blank\">mitcho (Michael 芳貴 Erlewine)</a>"
|
592 |
|
593 |
# @ default
|
594 |
-
#:
|
595 |
msgid "Save Changes"
|
596 |
msgstr "Snimi Promjene"
|
597 |
|
482 |
msgstr "Kontaktiraj YARPP"
|
483 |
|
484 |
# @ default
|
485 |
+
#: yarpp_options.php:31
|
486 |
#, php-format
|
487 |
msgid ""
|
488 |
"There is a new version of %1$s available. <a href=\"%2$s\" class=\"thickbox"
|
494 |
"automatski</a>."
|
495 |
|
496 |
# @ yarpp
|
497 |
+
#: yarpp_options.php:35
|
498 |
#, php-format
|
499 |
msgid ""
|
500 |
"There is a new beta (%s) of Yet Another Related Posts Plugin. You can <a "
|
504 |
"<a href=\"%s\">preuzeti ovdje</a> na svoj rizik."
|
505 |
|
506 |
# @ yarpp
|
507 |
+
#: yarpp_options.php:43
|
508 |
msgid ""
|
509 |
"The MyISAM check has been overridden. You may now use the \"consider titles"
|
510 |
"\" and \"consider bodies\" relatedness criteria."
|
513 |
"\"consider bodies\" kao kriterije za relevantnost."
|
514 |
|
515 |
# @ yarpp
|
516 |
+
#: yarpp_options.php:51
|
517 |
#, php-format
|
518 |
msgid ""
|
519 |
"YARPP's \"consider titles\" and \"consider bodies\" relatedness criteria "
|
529 |
"nisu dostupne."
|
530 |
|
531 |
# @ yarpp
|
532 |
+
#: yarpp_options.php:53
|
533 |
#, php-format
|
534 |
msgid ""
|
535 |
"To restore these features, please update your <code>%s</code> table by "
|
543 |
"tablice, iako može doći do usporavanja stranice."
|
544 |
|
545 |
# @ yarpp
|
546 |
+
#: yarpp_options.php:55
|
547 |
#, php-format
|
548 |
msgid ""
|
549 |
"If, despite this check, you are sure that <code>%s</code> is using the "
|
553 |
"engine, kliknite ovo magično dugme:"
|
554 |
|
555 |
# @ yarpp
|
556 |
+
#: yarpp_options.php:58
|
557 |
msgid "Trust me. Let me use MyISAM features."
|
558 |
msgstr "Vjeruj mi. Želim koristiti MyISAM značajke."
|
559 |
|
560 |
# @ yarpp
|
561 |
+
#: yarpp_options.php:73
|
562 |
msgid "The YARPP database had an error but has been fixed."
|
563 |
msgstr "YARPP baza podataka je imala grešku ali je popravljena."
|
564 |
|
565 |
# @ yarpp
|
566 |
+
#: yarpp_options.php:75
|
567 |
msgid "The YARPP database has an error which could not be fixed."
|
568 |
msgstr "YARPP baza podataka je imala grešku koja nije mogla biti popravljena."
|
569 |
|
570 |
# @ yarpp
|
571 |
+
#: yarpp_options.php:76
|
572 |
#, php-format
|
573 |
msgid "Please try <a href=\"%s\" target=\"_blank\">manual SQL setup</a>."
|
574 |
msgstr ""
|
575 |
"Molimo pokušajte <a href=\"%s\" target=\"_blank\">ručno podesiti SQL</a>."
|
576 |
|
577 |
# @ yarpp
|
578 |
+
#: yarpp_options.php:132
|
579 |
msgid "Options saved!"
|
580 |
msgstr "Postavke spremljene!"
|
581 |
|
582 |
# @ yarpp
|
583 |
+
#: yarpp_options.php:138
|
584 |
msgid "Yet Another Related Posts Plugin Options"
|
585 |
msgstr "Postavke Dodatka za Vezane Članke (YARPP)"
|
586 |
|
587 |
# @ yarpp
|
588 |
+
#: yarpp_options.php:146
|
589 |
#, php-format
|
590 |
msgid "by <a href=\"%s\" target=\"_blank\">mitcho (Michael 芳貴 Erlewine)</a>"
|
591 |
msgstr "od <a href=\"%s\" target=\"_blank\">mitcho (Michael 芳貴 Erlewine)</a>"
|
592 |
|
593 |
# @ default
|
594 |
+
#: yarpp_options.php:175
|
595 |
msgid "Save Changes"
|
596 |
msgstr "Snimi Promjene"
|
597 |
|
lang/yarpp-hu_HU.po
CHANGED
@@ -45,40 +45,40 @@ msgstr "Az %f a YARPP hasonlósági eredményt jelképezi az adott és a hasonl
|
|
45 |
msgid "Related posts brought to you by <a href='%s'>Yet Another Related Posts Plugin</a>."
|
46 |
msgstr "Hasonló Bejegyzések bitosítva a <a href='%s'>Yet Another Related Posts Plugin</a> segtségével."
|
47 |
|
48 |
-
#:
|
49 |
#@ yarpp
|
50 |
msgid "The MyISAM check has been overridden. You may now use the \"consider titles\" and \"consider bodies\" relatedness criteria."
|
51 |
msgstr "A MyISAM beállításai felüllíródtak. Most már használhatod a \"címek figyelembe vevése\" és \"tartalmak figyelembe vevése\" hasonlósági opciókat."
|
52 |
|
53 |
-
#:
|
54 |
#, php-format
|
55 |
#@ yarpp
|
56 |
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."
|
57 |
msgstr "Hibát észleltünk. Több információ: 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."
|
58 |
|
59 |
-
#:
|
60 |
#, php-format
|
61 |
#@ yarpp
|
62 |
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."
|
63 |
msgstr "Hogy visszaállítsd ezeket a lehetőségeket, kérlek frissítsd a <code>%s</code> adatbázis táblázatot a következő SQL parancs segítségével: <code>ALTER TABLE `%s` ENGINE = MyISAM;</code> . Egyetlen tábla sem lesz törölve, csak a telyesítmény beállításai módusulnak"
|
64 |
|
65 |
-
#:
|
66 |
#, php-format
|
67 |
#@ yarpp
|
68 |
msgid "If, despite this check, you are sure that <code>%s</code> is using the MyISAM engine, press this magic button:"
|
69 |
msgstr "Ha biztos vagy benne, hogy <code>%s</code> használja a MyISAMmodult, nyomd meg ezt a varázsgombot:"
|
70 |
|
71 |
-
#:
|
72 |
#@ yarpp
|
73 |
msgid "Trust me. Let me use MyISAM features."
|
74 |
msgstr "Bizz meg bennem. Engedd hogy használjam a MyISAM lehetőségét."
|
75 |
|
76 |
-
#:
|
77 |
#@ yarpp
|
78 |
msgid "The YARPP database had an error but has been fixed."
|
79 |
msgstr "A YARPP adatbázis hibát tartalmazott de ki lett javítva"
|
80 |
|
81 |
-
#:
|
82 |
#@ yarpp
|
83 |
msgid "The YARPP database has an error which could not be fixed."
|
84 |
msgstr "A ZARPP adatbázis hibát tartalmaz melyet nem sikerült kijavítanunk"
|
@@ -102,7 +102,7 @@ msgstr "vegye figyelembe"
|
|
102 |
msgid "consider with extra weight"
|
103 |
msgstr "különlegesként kezeld"
|
104 |
|
105 |
-
#:
|
106 |
#@ yarpp
|
107 |
msgid "Yet Another Related Posts Plugin Options"
|
108 |
msgstr "YARPP beállítások"
|
@@ -382,7 +382,7 @@ msgstr "leglább egy közös %s kell legyen"
|
|
382 |
msgid "require more than one %s in common"
|
383 |
msgstr "több mint egy közös %s kell legyen "
|
384 |
|
385 |
-
#:
|
386 |
#@ yarpp
|
387 |
msgid "Options saved!"
|
388 |
msgstr "Beállítások elmentve!"
|
@@ -392,17 +392,17 @@ msgstr "Beállítások elmentve!"
|
|
392 |
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."
|
393 |
msgstr "Minél pontossabb a hasonlósági beállításod annál kevesebb hasonló bejegyzés jelenik meg. Az alap megjelentés 5. Ha több hasonló bejegyzést szeretnél megjeleníteni adj meg kevesebb szűrési opciót illetve ha kevesebb de pontosabb találatokat szeretnél, adj meg minden szűrési opciót."
|
394 |
|
395 |
-
#:
|
396 |
#@ yarpp
|
397 |
msgid "Update options"
|
398 |
msgstr "Beállítások frissítése"
|
399 |
|
400 |
-
#:
|
401 |
#@ yarpp
|
402 |
msgid "Do you really want to reset your configuration?"
|
403 |
msgstr "Biztosan vissza szeretnéd állítani minden beállításodat alap hejzetbe:"
|
404 |
|
405 |
-
#:
|
406 |
#@ yarpp
|
407 |
msgid "Reset options"
|
408 |
msgstr "Alap beállítások"
|
@@ -447,7 +447,7 @@ msgstr "hónap(ok)"
|
|
447 |
msgid "Show only posts from the past NUMBER UNITS"
|
448 |
msgstr "Csak az előbbi számhalmazokból jelenítsen meg"
|
449 |
|
450 |
-
#:
|
451 |
#, php-format
|
452 |
#@ yarpp
|
453 |
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."
|
@@ -543,19 +543,19 @@ msgstr ""
|
|
543 |
msgid "Contact YARPP"
|
544 |
msgstr ""
|
545 |
|
546 |
-
#:
|
547 |
#, php-format
|
548 |
#@ default
|
549 |
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>."
|
550 |
msgstr ""
|
551 |
|
552 |
-
#:
|
553 |
#, php-format
|
554 |
#@ yarpp
|
555 |
msgid "Please try <a href=\"%s\" target=\"_blank\">manual SQL setup</a>."
|
556 |
msgstr ""
|
557 |
|
558 |
-
#:
|
559 |
#, php-format
|
560 |
#@ yarpp
|
561 |
msgid "by <a href=\"%s\" target=\"_blank\">mitcho (Michael 芳貴 Erlewine)</a>"
|
45 |
msgid "Related posts brought to you by <a href='%s'>Yet Another Related Posts Plugin</a>."
|
46 |
msgstr "Hasonló Bejegyzések bitosítva a <a href='%s'>Yet Another Related Posts Plugin</a> segtségével."
|
47 |
|
48 |
+
#: yarpp_options.php:54
|
49 |
#@ yarpp
|
50 |
msgid "The MyISAM check has been overridden. You may now use the \"consider titles\" and \"consider bodies\" relatedness criteria."
|
51 |
msgstr "A MyISAM beállításai felüllíródtak. Most már használhatod a \"címek figyelembe vevése\" és \"tartalmak figyelembe vevése\" hasonlósági opciókat."
|
52 |
|
53 |
+
#: yarpp_options.php:63
|
54 |
#, php-format
|
55 |
#@ yarpp
|
56 |
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."
|
57 |
msgstr "Hibát észleltünk. Több információ: 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."
|
58 |
|
59 |
+
#: yarpp_options.php:65
|
60 |
#, php-format
|
61 |
#@ yarpp
|
62 |
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."
|
63 |
msgstr "Hogy visszaállítsd ezeket a lehetőségeket, kérlek frissítsd a <code>%s</code> adatbázis táblázatot a következő SQL parancs segítségével: <code>ALTER TABLE `%s` ENGINE = MyISAM;</code> . Egyetlen tábla sem lesz törölve, csak a telyesítmény beállításai módusulnak"
|
64 |
|
65 |
+
#: yarpp_options.php:67
|
66 |
#, php-format
|
67 |
#@ yarpp
|
68 |
msgid "If, despite this check, you are sure that <code>%s</code> is using the MyISAM engine, press this magic button:"
|
69 |
msgstr "Ha biztos vagy benne, hogy <code>%s</code> használja a MyISAMmodult, nyomd meg ezt a varázsgombot:"
|
70 |
|
71 |
+
#: yarpp_options.php:70
|
72 |
#@ yarpp
|
73 |
msgid "Trust me. Let me use MyISAM features."
|
74 |
msgstr "Bizz meg bennem. Engedd hogy használjam a MyISAM lehetőségét."
|
75 |
|
76 |
+
#: yarpp_options.php:83
|
77 |
#@ yarpp
|
78 |
msgid "The YARPP database had an error but has been fixed."
|
79 |
msgstr "A YARPP adatbázis hibát tartalmazott de ki lett javítva"
|
80 |
|
81 |
+
#: yarpp_options.php:85
|
82 |
#@ yarpp
|
83 |
msgid "The YARPP database has an error which could not be fixed."
|
84 |
msgstr "A ZARPP adatbázis hibát tartalmaz melyet nem sikerült kijavítanunk"
|
102 |
msgid "consider with extra weight"
|
103 |
msgstr "különlegesként kezeld"
|
104 |
|
105 |
+
#: yarpp_options.php:178
|
106 |
#@ yarpp
|
107 |
msgid "Yet Another Related Posts Plugin Options"
|
108 |
msgstr "YARPP beállítások"
|
382 |
msgid "require more than one %s in common"
|
383 |
msgstr "több mint egy közös %s kell legyen "
|
384 |
|
385 |
+
#: yarpp_options.php:114
|
386 |
#@ yarpp
|
387 |
msgid "Options saved!"
|
388 |
msgstr "Beállítások elmentve!"
|
392 |
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."
|
393 |
msgstr "Minél pontossabb a hasonlósági beállításod annál kevesebb hasonló bejegyzés jelenik meg. Az alap megjelentés 5. Ha több hasonló bejegyzést szeretnél megjeleníteni adj meg kevesebb szűrési opciót illetve ha kevesebb de pontosabb találatokat szeretnél, adj meg minden szűrési opciót."
|
394 |
|
395 |
+
#: yarpp_options.php:279
|
396 |
#@ yarpp
|
397 |
msgid "Update options"
|
398 |
msgstr "Beállítások frissítése"
|
399 |
|
400 |
+
#: yarpp_options.php:280
|
401 |
#@ yarpp
|
402 |
msgid "Do you really want to reset your configuration?"
|
403 |
msgstr "Biztosan vissza szeretnéd állítani minden beállításodat alap hejzetbe:"
|
404 |
|
405 |
+
#: yarpp_options.php:280
|
406 |
#@ yarpp
|
407 |
msgid "Reset options"
|
408 |
msgstr "Alap beállítások"
|
447 |
msgid "Show only posts from the past NUMBER UNITS"
|
448 |
msgstr "Csak az előbbi számhalmazokból jelenítsen meg"
|
449 |
|
450 |
+
#: yarpp_options.php:46
|
451 |
#, php-format
|
452 |
#@ yarpp
|
453 |
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."
|
543 |
msgid "Contact YARPP"
|
544 |
msgstr ""
|
545 |
|
546 |
+
#: yarpp_options.php:42
|
547 |
#, php-format
|
548 |
#@ default
|
549 |
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>."
|
550 |
msgstr ""
|
551 |
|
552 |
+
#: yarpp_options.php:86
|
553 |
#, php-format
|
554 |
#@ yarpp
|
555 |
msgid "Please try <a href=\"%s\" target=\"_blank\">manual SQL setup</a>."
|
556 |
msgstr ""
|
557 |
|
558 |
+
#: yarpp_options.php:188
|
559 |
#, php-format
|
560 |
#@ yarpp
|
561 |
msgid "by <a href=\"%s\" target=\"_blank\">mitcho (Michael 芳貴 Erlewine)</a>"
|
lang/yarpp-id_ID.po
CHANGED
@@ -24,35 +24,35 @@ msgstr ""
|
|
24 |
msgid "Related Posts"
|
25 |
msgstr "Tulisan Terkait"
|
26 |
|
27 |
-
#:
|
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 "Kriteria kaitan \"pertimbangkan judul\" dan \"pertimbangkan batang tubuh\" YARPP mengharuskan tabel <code>%s</code> Anda mempergunakan <a href='http://dev.mysql.com/doc/refman/5.0/en/storage-engines.html'>mesin penyimpan MyISAM</a>, tapi tabel kelihatannya menggunakan mesin <code>%s</code>. Dua opsi ini telah dinonaktifkan."
|
32 |
|
33 |
-
#:
|
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 "Untuk memulihkan fitur ini, mohon perbarui tabel <code>%s</code> Anda dengan mengeksekusi direktif SQL berikut: <code>ALTER TABLE `%s` ENGINE = MyISAM;</code>. Tidak ada data yang akan dihapus dengan mengubah mesin tabel, walaupun ada implikasi performa."
|
38 |
|
39 |
-
#:
|
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 "Jika, setelah pengecekan ini, Anda yakin <code>%s</code> menggunakan mesin MyISAM, tekan tombol ajaib ini:"
|
44 |
|
45 |
-
#:
|
46 |
#@ yarpp
|
47 |
msgid "Trust me. Let me use MyISAM features."
|
48 |
msgstr "Percaya pada saya. Izinkan saya memakai fitur MyISAM."
|
49 |
|
50 |
-
#:
|
51 |
#@ yarpp
|
52 |
msgid "The YARPP database had an error but has been fixed."
|
53 |
msgstr "Database YARPP memilik galat tapi telah diperbaiki."
|
54 |
|
55 |
-
#:
|
56 |
#@ yarpp
|
57 |
msgid "The YARPP database has an error which could not be fixed."
|
58 |
msgstr "Database YARPP mempunyai galat yang tidak dapat diperbaiki."
|
@@ -105,7 +105,7 @@ msgstr "mengharuskan lebih dari satu persamaan dalam %s"
|
|
105 |
msgid "consider with extra weight"
|
106 |
msgstr "pertimbangkan dengan berat ekstra"
|
107 |
|
108 |
-
#:
|
109 |
#@ yarpp
|
110 |
msgid "Yet Another Related Posts Plugin Options"
|
111 |
msgstr "Opsi Yet Another Related Posts Plugin"
|
@@ -364,7 +364,7 @@ msgstr "%f adalah skor kecocokan YARPP antara entri terkini dan entri terkait in
|
|
364 |
msgid "Related Posts (YARPP)"
|
365 |
msgstr "Tulisan Terkait (YARPP)"
|
366 |
|
367 |
-
#:
|
368 |
#@ yarpp
|
369 |
msgid "The MyISAM check has been overridden. You may now use the \"consider titles\" and \"consider bodies\" relatedness criteria."
|
370 |
msgstr "Pengecekan MyISAM dikesampingkan. Anda boleh mempergunakan kriteria keterkaitan \"pertimbangkan judul\" dan \"pertimbangkan batang tubuh\"."
|
@@ -382,17 +382,17 @@ msgstr "Pengecekan MyISAM dikesampingkan. Anda boleh mempergunakan kriteria kete
|
|
382 |
msgid "more>"
|
383 |
msgstr "lanjut>"
|
384 |
|
385 |
-
#:
|
386 |
#@ yarpp
|
387 |
msgid "Options saved!"
|
388 |
msgstr "Opsi tersimpan!"
|
389 |
|
390 |
-
#:
|
391 |
#@ yarpp
|
392 |
msgid "Do you really want to reset your configuration?"
|
393 |
msgstr "Apakah Anda benar-benar ingin mereset konfigurasi Anda?"
|
394 |
|
395 |
-
#:
|
396 |
#@ yarpp
|
397 |
msgid "Update options"
|
398 |
msgstr "Perbarui Opsi"
|
@@ -402,7 +402,7 @@ msgstr "Perbarui Opsi"
|
|
402 |
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."
|
403 |
msgstr "Semakin tinggi ambang kecocokan, semakin ketat, dan Anda mendapat tulisan terkait yang semakin sedikit secara keseluruhan. Ambang kecocokan bawaan adalah 5. Jika Anda ingin menemukan ambang kecocokan yang pas, lihat pada tampilan tulisan terkait untuk beberapa tulisan dan skornya. Anda dapat melihat jenis tulisan terkait yang terpilih dan dengan jenis kecocokan yang mana, dan menentukan ambang yang cocok untuk situs Anda."
|
404 |
|
405 |
-
#:
|
406 |
#@ yarpp
|
407 |
msgid "Reset options"
|
408 |
msgstr "Reset opsi"
|
@@ -451,7 +451,7 @@ msgstr "bulan"
|
|
451 |
msgid "Show only posts from the past NUMBER UNITS"
|
452 |
msgstr "Tampilkan tulisan dari JUMLAH UNIT terdahulu saja"
|
453 |
|
454 |
-
#:
|
455 |
#, php-format
|
456 |
#@ yarpp
|
457 |
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."
|
@@ -543,19 +543,19 @@ msgstr ""
|
|
543 |
msgid "Contact YARPP"
|
544 |
msgstr ""
|
545 |
|
546 |
-
#:
|
547 |
#, php-format
|
548 |
#@ default
|
549 |
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>."
|
550 |
msgstr ""
|
551 |
|
552 |
-
#:
|
553 |
#, php-format
|
554 |
#@ yarpp
|
555 |
msgid "Please try <a href=\"%s\" target=\"_blank\">manual SQL setup</a>."
|
556 |
msgstr ""
|
557 |
|
558 |
-
#:
|
559 |
#, php-format
|
560 |
#@ yarpp
|
561 |
msgid "by <a href=\"%s\" target=\"_blank\">mitcho (Michael 芳貴 Erlewine)</a>"
|
24 |
msgid "Related Posts"
|
25 |
msgstr "Tulisan Terkait"
|
26 |
|
27 |
+
#: yarpp_options.php:63
|
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 "Kriteria kaitan \"pertimbangkan judul\" dan \"pertimbangkan batang tubuh\" YARPP mengharuskan tabel <code>%s</code> Anda mempergunakan <a href='http://dev.mysql.com/doc/refman/5.0/en/storage-engines.html'>mesin penyimpan MyISAM</a>, tapi tabel kelihatannya menggunakan mesin <code>%s</code>. Dua opsi ini telah dinonaktifkan."
|
32 |
|
33 |
+
#: yarpp_options.php:65
|
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 "Untuk memulihkan fitur ini, mohon perbarui tabel <code>%s</code> Anda dengan mengeksekusi direktif SQL berikut: <code>ALTER TABLE `%s` ENGINE = MyISAM;</code>. Tidak ada data yang akan dihapus dengan mengubah mesin tabel, walaupun ada implikasi performa."
|
38 |
|
39 |
+
#: yarpp_options.php:67
|
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 "Jika, setelah pengecekan ini, Anda yakin <code>%s</code> menggunakan mesin MyISAM, tekan tombol ajaib ini:"
|
44 |
|
45 |
+
#: yarpp_options.php:70
|
46 |
#@ yarpp
|
47 |
msgid "Trust me. Let me use MyISAM features."
|
48 |
msgstr "Percaya pada saya. Izinkan saya memakai fitur MyISAM."
|
49 |
|
50 |
+
#: yarpp_options.php:83
|
51 |
#@ yarpp
|
52 |
msgid "The YARPP database had an error but has been fixed."
|
53 |
msgstr "Database YARPP memilik galat tapi telah diperbaiki."
|
54 |
|
55 |
+
#: yarpp_options.php:85
|
56 |
#@ yarpp
|
57 |
msgid "The YARPP database has an error which could not be fixed."
|
58 |
msgstr "Database YARPP mempunyai galat yang tidak dapat diperbaiki."
|
105 |
msgid "consider with extra weight"
|
106 |
msgstr "pertimbangkan dengan berat ekstra"
|
107 |
|
108 |
+
#: yarpp_options.php:178
|
109 |
#@ yarpp
|
110 |
msgid "Yet Another Related Posts Plugin Options"
|
111 |
msgstr "Opsi Yet Another Related Posts Plugin"
|
364 |
msgid "Related Posts (YARPP)"
|
365 |
msgstr "Tulisan Terkait (YARPP)"
|
366 |
|
367 |
+
#: yarpp_options.php:54
|
368 |
#@ yarpp
|
369 |
msgid "The MyISAM check has been overridden. You may now use the \"consider titles\" and \"consider bodies\" relatedness criteria."
|
370 |
msgstr "Pengecekan MyISAM dikesampingkan. Anda boleh mempergunakan kriteria keterkaitan \"pertimbangkan judul\" dan \"pertimbangkan batang tubuh\"."
|
382 |
msgid "more>"
|
383 |
msgstr "lanjut>"
|
384 |
|
385 |
+
#: yarpp_options.php:114
|
386 |
#@ yarpp
|
387 |
msgid "Options saved!"
|
388 |
msgstr "Opsi tersimpan!"
|
389 |
|
390 |
+
#: yarpp_options.php:280
|
391 |
#@ yarpp
|
392 |
msgid "Do you really want to reset your configuration?"
|
393 |
msgstr "Apakah Anda benar-benar ingin mereset konfigurasi Anda?"
|
394 |
|
395 |
+
#: yarpp_options.php:279
|
396 |
#@ yarpp
|
397 |
msgid "Update options"
|
398 |
msgstr "Perbarui Opsi"
|
402 |
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."
|
403 |
msgstr "Semakin tinggi ambang kecocokan, semakin ketat, dan Anda mendapat tulisan terkait yang semakin sedikit secara keseluruhan. Ambang kecocokan bawaan adalah 5. Jika Anda ingin menemukan ambang kecocokan yang pas, lihat pada tampilan tulisan terkait untuk beberapa tulisan dan skornya. Anda dapat melihat jenis tulisan terkait yang terpilih dan dengan jenis kecocokan yang mana, dan menentukan ambang yang cocok untuk situs Anda."
|
404 |
|
405 |
+
#: yarpp_options.php:280
|
406 |
#@ yarpp
|
407 |
msgid "Reset options"
|
408 |
msgstr "Reset opsi"
|
451 |
msgid "Show only posts from the past NUMBER UNITS"
|
452 |
msgstr "Tampilkan tulisan dari JUMLAH UNIT terdahulu saja"
|
453 |
|
454 |
+
#: yarpp_options.php:46
|
455 |
#, php-format
|
456 |
#@ yarpp
|
457 |
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."
|
543 |
msgid "Contact YARPP"
|
544 |
msgstr ""
|
545 |
|
546 |
+
#: yarpp_options.php:42
|
547 |
#, php-format
|
548 |
#@ default
|
549 |
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>."
|
550 |
msgstr ""
|
551 |
|
552 |
+
#: yarpp_options.php:86
|
553 |
#, php-format
|
554 |
#@ yarpp
|
555 |
msgid "Please try <a href=\"%s\" target=\"_blank\">manual SQL setup</a>."
|
556 |
msgstr ""
|
557 |
|
558 |
+
#: yarpp_options.php:188
|
559 |
#, php-format
|
560 |
#@ yarpp
|
561 |
msgid "by <a href=\"%s\" target=\"_blank\">mitcho (Michael 芳貴 Erlewine)</a>"
|
lang/yarpp-it_IT.po
CHANGED
@@ -441,79 +441,79 @@ msgstr "Vota YARPP su WordPress.org"
|
|
441 |
msgid "Contact YARPP"
|
442 |
msgstr "Contatta YARPP"
|
443 |
|
444 |
-
#:
|
445 |
#, php-format
|
446 |
#@ default
|
447 |
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>."
|
448 |
msgstr "E' disponibile una nuova versione di %1$s. <a href=\"%2$s\" class=\"thickbox\" title=\"%3$s\">Versione %4$s nel dettaglio</a> oppure <a href=\"%5$s\">aggiorna automaticamente</a>."
|
449 |
|
450 |
-
#:
|
451 |
#, php-format
|
452 |
#@ yarpp
|
453 |
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."
|
454 |
msgstr "E' disponibile una nuova (%s) beta di Yet Another Related Posts Plugin. Puoi <a href=\"%s\">scaricarla qui</a> a tuo rischio e pericolo."
|
455 |
|
456 |
-
#:
|
457 |
#@ yarpp
|
458 |
msgid "The MyISAM check has been overridden. You may now use the \"consider titles\" and \"consider bodies\" relatedness criteria."
|
459 |
msgstr "La verifica MyISAM é stata sovrascritta. Potrai da ora utilizzare \"considera titoli\" e \"considera contenuti\" come criteri di affinità."
|
460 |
|
461 |
-
#:
|
462 |
#, php-format
|
463 |
#@ yarpp
|
464 |
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."
|
465 |
msgstr "I criteri di affinità YARPP \"considera titoli\" e \"considera contenuti\" necessitano che la tua tabella <code>%s</code> possa utilizzare il <a href='http://dev.mysql.com/doc/refman/5.0/en/storage-engines.html'>MyISAM storage engine</a>. Pare che sia in uso il <code>%s</code> engine. Queste due opzioni sono state disattivate."
|
466 |
|
467 |
-
#:
|
468 |
#, php-format
|
469 |
#@ yarpp
|
470 |
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."
|
471 |
msgstr "Per poter ripristinare queste funzioni dovrai aggiornare la tua tabella <code>%s</code> facendo sì che sia eseguita la seguente direttiva SQL: <code>ALTER TABLE `%s` ENGINE = MyISAM;</code> . Nessun dato verrà perso modificando la tabella del motore sebbene ne verranno interessate le prestazioni."
|
472 |
|
473 |
-
#:
|
474 |
#, php-format
|
475 |
#@ yarpp
|
476 |
msgid "If, despite this check, you are sure that <code>%s</code> is using the MyISAM engine, press this magic button:"
|
477 |
msgstr "Se, nonostante questa nota, fossi certo che <code>%s</code> stia utilizzando il MyISAM engine, premi il pulsante magico:"
|
478 |
|
479 |
-
#:
|
480 |
#@ yarpp
|
481 |
msgid "Trust me. Let me use MyISAM features."
|
482 |
msgstr "Abbi fiducia. Lasciami utilizzare le funzioni MyISAM."
|
483 |
|
484 |
-
#:
|
485 |
#@ yarpp
|
486 |
msgid "The YARPP database had an error but has been fixed."
|
487 |
msgstr "Il database di YARPP aveva un errore, ma é stato corretto."
|
488 |
|
489 |
-
#:
|
490 |
#@ yarpp
|
491 |
msgid "The YARPP database has an error which could not be fixed."
|
492 |
msgstr "Il database di YARPP ha un errore che non può essere corretto."
|
493 |
|
494 |
-
#:
|
495 |
#, php-format
|
496 |
#@ yarpp
|
497 |
msgid "Please try <a href=\"%s\" target=\"_blank\">manual SQL setup</a>."
|
498 |
msgstr "Prova il <a href=\"%s\" target=\"_blank\">manual SQL setup</a>."
|
499 |
|
500 |
-
#:
|
501 |
#@ yarpp
|
502 |
msgid "Options saved!"
|
503 |
msgstr "Le opzioni sono state salvate!"
|
504 |
|
505 |
-
#:
|
506 |
#@ yarpp
|
507 |
msgid "Yet Another Related Posts Plugin Options"
|
508 |
msgstr "Opzioni Yet Another Related Posts"
|
509 |
|
510 |
-
#:
|
511 |
#, php-format
|
512 |
#@ yarpp
|
513 |
msgid "by <a href=\"%s\" target=\"_blank\">mitcho (Michael 芳貴 Erlewine)</a>"
|
514 |
msgstr "di <a href=\"%s\" target=\"_blank\">mitcho (Michael 芳貴 Erlewine)</a>"
|
515 |
|
516 |
-
#:
|
517 |
#@ default
|
518 |
msgid "Save Changes"
|
519 |
msgstr "Salva le modifiche"
|
441 |
msgid "Contact YARPP"
|
442 |
msgstr "Contatta YARPP"
|
443 |
|
444 |
+
#: yarpp_options.php:34
|
445 |
#, php-format
|
446 |
#@ default
|
447 |
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>."
|
448 |
msgstr "E' disponibile una nuova versione di %1$s. <a href=\"%2$s\" class=\"thickbox\" title=\"%3$s\">Versione %4$s nel dettaglio</a> oppure <a href=\"%5$s\">aggiorna automaticamente</a>."
|
449 |
|
450 |
+
#: yarpp_options.php:38
|
451 |
#, php-format
|
452 |
#@ yarpp
|
453 |
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."
|
454 |
msgstr "E' disponibile una nuova (%s) beta di Yet Another Related Posts Plugin. Puoi <a href=\"%s\">scaricarla qui</a> a tuo rischio e pericolo."
|
455 |
|
456 |
+
#: yarpp_options.php:46
|
457 |
#@ yarpp
|
458 |
msgid "The MyISAM check has been overridden. You may now use the \"consider titles\" and \"consider bodies\" relatedness criteria."
|
459 |
msgstr "La verifica MyISAM é stata sovrascritta. Potrai da ora utilizzare \"considera titoli\" e \"considera contenuti\" come criteri di affinità."
|
460 |
|
461 |
+
#: yarpp_options.php:54
|
462 |
#, php-format
|
463 |
#@ yarpp
|
464 |
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."
|
465 |
msgstr "I criteri di affinità YARPP \"considera titoli\" e \"considera contenuti\" necessitano che la tua tabella <code>%s</code> possa utilizzare il <a href='http://dev.mysql.com/doc/refman/5.0/en/storage-engines.html'>MyISAM storage engine</a>. Pare che sia in uso il <code>%s</code> engine. Queste due opzioni sono state disattivate."
|
466 |
|
467 |
+
#: yarpp_options.php:56
|
468 |
#, php-format
|
469 |
#@ yarpp
|
470 |
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."
|
471 |
msgstr "Per poter ripristinare queste funzioni dovrai aggiornare la tua tabella <code>%s</code> facendo sì che sia eseguita la seguente direttiva SQL: <code>ALTER TABLE `%s` ENGINE = MyISAM;</code> . Nessun dato verrà perso modificando la tabella del motore sebbene ne verranno interessate le prestazioni."
|
472 |
|
473 |
+
#: yarpp_options.php:58
|
474 |
#, php-format
|
475 |
#@ yarpp
|
476 |
msgid "If, despite this check, you are sure that <code>%s</code> is using the MyISAM engine, press this magic button:"
|
477 |
msgstr "Se, nonostante questa nota, fossi certo che <code>%s</code> stia utilizzando il MyISAM engine, premi il pulsante magico:"
|
478 |
|
479 |
+
#: yarpp_options.php:61
|
480 |
#@ yarpp
|
481 |
msgid "Trust me. Let me use MyISAM features."
|
482 |
msgstr "Abbi fiducia. Lasciami utilizzare le funzioni MyISAM."
|
483 |
|
484 |
+
#: yarpp_options.php:76
|
485 |
#@ yarpp
|
486 |
msgid "The YARPP database had an error but has been fixed."
|
487 |
msgstr "Il database di YARPP aveva un errore, ma é stato corretto."
|
488 |
|
489 |
+
#: yarpp_options.php:78
|
490 |
#@ yarpp
|
491 |
msgid "The YARPP database has an error which could not be fixed."
|
492 |
msgstr "Il database di YARPP ha un errore che non può essere corretto."
|
493 |
|
494 |
+
#: yarpp_options.php:79
|
495 |
#, php-format
|
496 |
#@ yarpp
|
497 |
msgid "Please try <a href=\"%s\" target=\"_blank\">manual SQL setup</a>."
|
498 |
msgstr "Prova il <a href=\"%s\" target=\"_blank\">manual SQL setup</a>."
|
499 |
|
500 |
+
#: yarpp_options.php:133
|
501 |
#@ yarpp
|
502 |
msgid "Options saved!"
|
503 |
msgstr "Le opzioni sono state salvate!"
|
504 |
|
505 |
+
#: yarpp_options.php:139
|
506 |
#@ yarpp
|
507 |
msgid "Yet Another Related Posts Plugin Options"
|
508 |
msgstr "Opzioni Yet Another Related Posts"
|
509 |
|
510 |
+
#: yarpp_options.php:147
|
511 |
#, php-format
|
512 |
#@ yarpp
|
513 |
msgid "by <a href=\"%s\" target=\"_blank\">mitcho (Michael 芳貴 Erlewine)</a>"
|
514 |
msgstr "di <a href=\"%s\" target=\"_blank\">mitcho (Michael 芳貴 Erlewine)</a>"
|
515 |
|
516 |
+
#: yarpp_options.php:176
|
517 |
#@ default
|
518 |
msgid "Save Changes"
|
519 |
msgstr "Salva le modifiche"
|
lang/yarpp-ja.po
CHANGED
@@ -592,7 +592,7 @@ msgid "Contact YARPP"
|
|
592 |
msgstr "YARPP 情報"
|
593 |
|
594 |
# @ default
|
595 |
-
#:
|
596 |
#, php-format
|
597 |
msgid ""
|
598 |
"There is a new version of %1$s available. <a href=\"%2$s\" class=\"thickbox"
|
@@ -603,7 +603,7 @@ msgstr ""
|
|
603 |
"\">%4$s の詳細を読む</a>、あるいは<a href=\"%5$s\">インストールする</a>。"
|
604 |
|
605 |
# @ yarpp
|
606 |
-
#:
|
607 |
#, php-format
|
608 |
msgid ""
|
609 |
"There is a new beta (%s) of Yet Another Related Posts Plugin. You can <a "
|
@@ -613,7 +613,7 @@ msgstr ""
|
|
613 |
"\">ダウンロード</a>してみてください。"
|
614 |
|
615 |
# @ yarpp
|
616 |
-
#:
|
617 |
msgid ""
|
618 |
"The MyISAM check has been overridden. You may now use the \"consider titles"
|
619 |
"\" and \"consider bodies\" relatedness criteria."
|
@@ -622,7 +622,7 @@ msgstr ""
|
|
622 |
"能が使えるようになりました。"
|
623 |
|
624 |
# @ yarpp
|
625 |
-
#:
|
626 |
#, php-format
|
627 |
msgid ""
|
628 |
"YARPP's \"consider titles\" and \"consider bodies\" relatedness criteria "
|
@@ -638,7 +638,7 @@ msgstr ""
|
|
638 |
"るので、このふたつのオプションは使えません。"
|
639 |
|
640 |
# @ yarpp
|
641 |
-
#:
|
642 |
#, php-format
|
643 |
msgid ""
|
644 |
"To restore these features, please update your <code>%s</code> table by "
|
@@ -651,7 +651,7 @@ msgstr ""
|
|
651 |
"エリはデータは一切消しません。"
|
652 |
|
653 |
# @ yarpp
|
654 |
-
#:
|
655 |
#, php-format
|
656 |
msgid ""
|
657 |
"If, despite this check, you are sure that <code>%s</code> is using the "
|
@@ -661,38 +661,38 @@ msgstr ""
|
|
661 |
"ンをどうぞ:"
|
662 |
|
663 |
# @ yarpp
|
664 |
-
#:
|
665 |
msgid "Trust me. Let me use MyISAM features."
|
666 |
msgstr "MyISAM を使ってます。嘘じゃないから。"
|
667 |
|
668 |
# @ yarpp
|
669 |
-
#:
|
670 |
msgid "The YARPP database had an error but has been fixed."
|
671 |
msgstr "YARPPのデータベースは修正されました。"
|
672 |
|
673 |
# @ yarpp
|
674 |
-
#:
|
675 |
msgid "The YARPP database has an error which could not be fixed."
|
676 |
msgstr "YARPPのデータベースに修正できないエラーが発生しました。"
|
677 |
|
678 |
# @ yarpp
|
679 |
-
#:
|
680 |
#, php-format
|
681 |
msgid "Please try <a href=\"%s\" target=\"_blank\">manual SQL setup</a>."
|
682 |
msgstr "<a href=\"%s\" target=\"_blank\">手動 SQL 設定</a>を参考ください。"
|
683 |
|
684 |
# @ yarpp
|
685 |
-
#:
|
686 |
msgid "Options saved!"
|
687 |
msgstr "設定の変更は保存されました。"
|
688 |
|
689 |
# @ yarpp
|
690 |
-
#:
|
691 |
msgid "Yet Another Related Posts Plugin Options"
|
692 |
msgstr "関連記事 (YARPP) 設定"
|
693 |
|
694 |
# @ yarpp
|
695 |
-
#:
|
696 |
#, php-format
|
697 |
msgid "by <a href=\"%s\" target=\"_blank\">mitcho (Michael 芳貴 Erlewine)</a>"
|
698 |
msgstr ""
|
@@ -700,7 +700,7 @@ msgstr ""
|
|
700 |
"a>"
|
701 |
|
702 |
# @ default
|
703 |
-
#:
|
704 |
msgid "Save Changes"
|
705 |
msgstr ""
|
706 |
|
592 |
msgstr "YARPP 情報"
|
593 |
|
594 |
# @ default
|
595 |
+
#: yarpp_options.php:31
|
596 |
#, php-format
|
597 |
msgid ""
|
598 |
"There is a new version of %1$s available. <a href=\"%2$s\" class=\"thickbox"
|
603 |
"\">%4$s の詳細を読む</a>、あるいは<a href=\"%5$s\">インストールする</a>。"
|
604 |
|
605 |
# @ yarpp
|
606 |
+
#: yarpp_options.php:35
|
607 |
#, php-format
|
608 |
msgid ""
|
609 |
"There is a new beta (%s) of Yet Another Related Posts Plugin. You can <a "
|
613 |
"\">ダウンロード</a>してみてください。"
|
614 |
|
615 |
# @ yarpp
|
616 |
+
#: yarpp_options.php:43
|
617 |
msgid ""
|
618 |
"The MyISAM check has been overridden. You may now use the \"consider titles"
|
619 |
"\" and \"consider bodies\" relatedness criteria."
|
622 |
"能が使えるようになりました。"
|
623 |
|
624 |
# @ yarpp
|
625 |
+
#: yarpp_options.php:51
|
626 |
#, php-format
|
627 |
msgid ""
|
628 |
"YARPP's \"consider titles\" and \"consider bodies\" relatedness criteria "
|
638 |
"るので、このふたつのオプションは使えません。"
|
639 |
|
640 |
# @ yarpp
|
641 |
+
#: yarpp_options.php:53
|
642 |
#, php-format
|
643 |
msgid ""
|
644 |
"To restore these features, please update your <code>%s</code> table by "
|
651 |
"エリはデータは一切消しません。"
|
652 |
|
653 |
# @ yarpp
|
654 |
+
#: yarpp_options.php:55
|
655 |
#, php-format
|
656 |
msgid ""
|
657 |
"If, despite this check, you are sure that <code>%s</code> is using the "
|
661 |
"ンをどうぞ:"
|
662 |
|
663 |
# @ yarpp
|
664 |
+
#: yarpp_options.php:58
|
665 |
msgid "Trust me. Let me use MyISAM features."
|
666 |
msgstr "MyISAM を使ってます。嘘じゃないから。"
|
667 |
|
668 |
# @ yarpp
|
669 |
+
#: yarpp_options.php:73
|
670 |
msgid "The YARPP database had an error but has been fixed."
|
671 |
msgstr "YARPPのデータベースは修正されました。"
|
672 |
|
673 |
# @ yarpp
|
674 |
+
#: yarpp_options.php:75
|
675 |
msgid "The YARPP database has an error which could not be fixed."
|
676 |
msgstr "YARPPのデータベースに修正できないエラーが発生しました。"
|
677 |
|
678 |
# @ yarpp
|
679 |
+
#: yarpp_options.php:76
|
680 |
#, php-format
|
681 |
msgid "Please try <a href=\"%s\" target=\"_blank\">manual SQL setup</a>."
|
682 |
msgstr "<a href=\"%s\" target=\"_blank\">手動 SQL 設定</a>を参考ください。"
|
683 |
|
684 |
# @ yarpp
|
685 |
+
#: yarpp_options.php:139
|
686 |
msgid "Options saved!"
|
687 |
msgstr "設定の変更は保存されました。"
|
688 |
|
689 |
# @ yarpp
|
690 |
+
#: yarpp_options.php:145
|
691 |
msgid "Yet Another Related Posts Plugin Options"
|
692 |
msgstr "関連記事 (YARPP) 設定"
|
693 |
|
694 |
# @ yarpp
|
695 |
+
#: yarpp_options.php:153
|
696 |
#, php-format
|
697 |
msgid "by <a href=\"%s\" target=\"_blank\">mitcho (Michael 芳貴 Erlewine)</a>"
|
698 |
msgstr ""
|
700 |
"a>"
|
701 |
|
702 |
# @ default
|
703 |
+
#: yarpp_options.php:194
|
704 |
msgid "Save Changes"
|
705 |
msgstr ""
|
706 |
|
lang/yarpp-kk_KZ.po
CHANGED
@@ -37,40 +37,40 @@ msgstr "Сабақтас оразалар"
|
|
37 |
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."
|
38 |
msgstr "%f - Бұлrоэффициэнт\"Ұқсастық\"Ағымдағыоразаныжәнесабақтасонымен.Сізкөріпжатырсызөйткені, сіз Wordpress әкімгекелдіңіз.\""
|
39 |
|
40 |
-
#:
|
41 |
#@ yarpp
|
42 |
msgid "The MyISAM check has been overridden. You may now use the \"consider titles\" and \"consider bodies\" relatedness criteria."
|
43 |
msgstr "Тексеруістелінген MyISAM болды. Ендісізұқсастықтарбелгілеріқолданааласыз“Бастардықарау” и “Мәтіндіқарау”.\""
|
44 |
|
45 |
-
#:
|
46 |
#, php-format
|
47 |
#@ yarpp
|
48 |
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."
|
49 |
msgstr "YARPP опциялардың қолдануысы “Бастарды қарау ” и “Мәтінді қарау”Сіздің кестеңіз үшін, талап етеді <code>%s</code> Қозғағышты қолданды <a href='http://dev.mysql.com/doc/refman/5.0/en/storage-engines.html'>MyISAM</a>, Бірақ кесте қозғағыш көрiнедi қолданып жатыр <code>%s</code>. Бұл екі опция айырылған."
|
50 |
|
51 |
-
#:
|
52 |
#, php-format
|
53 |
#@ yarpp
|
54 |
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."
|
55 |
msgstr "Бұл опциялар қалпына келтіру үшін, тәңір жарылқасын, сіздің кестеңізді өзгертесіз <code>%s</code> SQL нұсқаулықпен келесі e : <code>ALTER TABLE `%s` ENGINE = MyISAM;</code><br /> Кестеде өзгерісте құз осы тиісті емес, бірақ ықтимал зардаптар"
|
56 |
|
57 |
-
#:
|
58 |
#, php-format
|
59 |
#@ yarpp
|
60 |
msgid "If, despite this check, you are sure that <code>%s</code> is using the MyISAM engine, press this magic button:"
|
61 |
msgstr "Егер, тәуелсіз не сіз дәйекті бұл опциядан кесте <code>%s</code> Қолданып жатыр MyISAM, бұл сиқырлы батырмаға басыңыз :"
|
62 |
|
63 |
-
#:
|
64 |
#@ yarpp
|
65 |
msgid "Trust me. Let me use MyISAM features."
|
66 |
msgstr "Маған сеніңіз. Маған қолдану мүмкіндік беріңіз MyISAM"
|
67 |
|
68 |
-
#:
|
69 |
#@ yarpp
|
70 |
msgid "The YARPP database had an error but has been fixed."
|
71 |
msgstr "Базасықателердіосы YARPP болды, бірақолардұрысталғанболды."
|
72 |
|
73 |
-
#:
|
74 |
#@ yarpp
|
75 |
msgid "The YARPP database has an error which could not be fixed."
|
76 |
msgstr "Базасы дұрысталған мүмкін болу қатені осы YARPP болып жатыр."
|
@@ -94,7 +94,7 @@ msgstr "Қарау"
|
|
94 |
msgid "consider with extra weight"
|
95 |
msgstr "Қосымша салмақпен қарау керек "
|
96 |
|
97 |
-
#:
|
98 |
#@ yarpp
|
99 |
msgid "Yet Another Related Posts Plugin Options"
|
100 |
msgstr "Опциялар YARPP"
|
@@ -374,7 +374,7 @@ msgstr "Біреу \"%s\" ортақ болуға тиісті"
|
|
374 |
msgid "require more than one %s in common"
|
375 |
msgstr "көп біреу \"%s\" ортақ болуға тиісті "
|
376 |
|
377 |
-
#:
|
378 |
#@ yarpp
|
379 |
msgid "Options saved!"
|
380 |
msgstr "Күйге келтірулер сақтаған!"
|
@@ -384,17 +384,17 @@ msgstr "Күйге келтірулер сақтаған!"
|
|
384 |
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."
|
385 |
msgstr "Не ұқсастықтар жоғары табалдырығы, сол қатал іріктеу, және сол жазуларды шығуда аз аласыз. Табалдырық бойынша-үндемеуге 5 тең. Егер қолайлы табалдырықты мәндер тапқысы келісе, поэкспериментируйте бірнешесі қатынастармен. Қандай қатынастар жоғары шығатынын сіз көре аласыз және оларда қандай сіздің сайтыңыз\" үшін қолайлы деңгей анықтауға болатын ұқсастықтар мәндері."
|
386 |
|
387 |
-
#:
|
388 |
#@ yarpp
|
389 |
msgid "Update options"
|
390 |
msgstr "Күйге келтіруді өзгерту"
|
391 |
|
392 |
-
#:
|
393 |
#@ yarpp
|
394 |
msgid "Do you really want to reset your configuration?"
|
395 |
msgstr "Сіз сіздің күйге келтірулеріңіз құлатқыңыз шындығында келеді?"
|
396 |
|
397 |
-
#:
|
398 |
#@ yarpp
|
399 |
msgid "Reset options"
|
400 |
msgstr "Күйге келтіруді құлату"
|
@@ -537,25 +537,25 @@ msgstr ""
|
|
537 |
msgid "Contact YARPP"
|
538 |
msgstr ""
|
539 |
|
540 |
-
#:
|
541 |
#, php-format
|
542 |
#@ yarpp
|
543 |
msgid "Please try <a href=\"%s\" target=\"_blank\">manual SQL setup</a>."
|
544 |
msgstr ""
|
545 |
|
546 |
-
#:
|
547 |
#, php-format
|
548 |
#@ yarpp
|
549 |
msgid "by <a href=\"%s\" target=\"_blank\">mitcho (Michael 芳貴 Erlewine)</a>"
|
550 |
msgstr ""
|
551 |
|
552 |
-
#:
|
553 |
#, php-format
|
554 |
#@ yarpp
|
555 |
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."
|
556 |
msgstr ""
|
557 |
|
558 |
-
#:
|
559 |
#, php-format
|
560 |
#@ default
|
561 |
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>."
|
37 |
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."
|
38 |
msgstr "%f - Бұлrоэффициэнт\"Ұқсастық\"Ағымдағыоразаныжәнесабақтасонымен.Сізкөріпжатырсызөйткені, сіз Wordpress әкімгекелдіңіз.\""
|
39 |
|
40 |
+
#: yarpp_options.php:54
|
41 |
#@ yarpp
|
42 |
msgid "The MyISAM check has been overridden. You may now use the \"consider titles\" and \"consider bodies\" relatedness criteria."
|
43 |
msgstr "Тексеруістелінген MyISAM болды. Ендісізұқсастықтарбелгілеріқолданааласыз“Бастардықарау” и “Мәтіндіқарау”.\""
|
44 |
|
45 |
+
#: yarpp_options.php:63
|
46 |
#, php-format
|
47 |
#@ yarpp
|
48 |
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."
|
49 |
msgstr "YARPP опциялардың қолдануысы “Бастарды қарау ” и “Мәтінді қарау”Сіздің кестеңіз үшін, талап етеді <code>%s</code> Қозғағышты қолданды <a href='http://dev.mysql.com/doc/refman/5.0/en/storage-engines.html'>MyISAM</a>, Бірақ кесте қозғағыш көрiнедi қолданып жатыр <code>%s</code>. Бұл екі опция айырылған."
|
50 |
|
51 |
+
#: yarpp_options.php:65
|
52 |
#, php-format
|
53 |
#@ yarpp
|
54 |
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."
|
55 |
msgstr "Бұл опциялар қалпына келтіру үшін, тәңір жарылқасын, сіздің кестеңізді өзгертесіз <code>%s</code> SQL нұсқаулықпен келесі e : <code>ALTER TABLE `%s` ENGINE = MyISAM;</code><br /> Кестеде өзгерісте құз осы тиісті емес, бірақ ықтимал зардаптар"
|
56 |
|
57 |
+
#: yarpp_options.php:67
|
58 |
#, php-format
|
59 |
#@ yarpp
|
60 |
msgid "If, despite this check, you are sure that <code>%s</code> is using the MyISAM engine, press this magic button:"
|
61 |
msgstr "Егер, тәуелсіз не сіз дәйекті бұл опциядан кесте <code>%s</code> Қолданып жатыр MyISAM, бұл сиқырлы батырмаға басыңыз :"
|
62 |
|
63 |
+
#: yarpp_options.php:70
|
64 |
#@ yarpp
|
65 |
msgid "Trust me. Let me use MyISAM features."
|
66 |
msgstr "Маған сеніңіз. Маған қолдану мүмкіндік беріңіз MyISAM"
|
67 |
|
68 |
+
#: yarpp_options.php:83
|
69 |
#@ yarpp
|
70 |
msgid "The YARPP database had an error but has been fixed."
|
71 |
msgstr "Базасықателердіосы YARPP болды, бірақолардұрысталғанболды."
|
72 |
|
73 |
+
#: yarpp_options.php:85
|
74 |
#@ yarpp
|
75 |
msgid "The YARPP database has an error which could not be fixed."
|
76 |
msgstr "Базасы дұрысталған мүмкін болу қатені осы YARPP болып жатыр."
|
94 |
msgid "consider with extra weight"
|
95 |
msgstr "Қосымша салмақпен қарау керек "
|
96 |
|
97 |
+
#: yarpp_options.php:178
|
98 |
#@ yarpp
|
99 |
msgid "Yet Another Related Posts Plugin Options"
|
100 |
msgstr "Опциялар YARPP"
|
374 |
msgid "require more than one %s in common"
|
375 |
msgstr "көп біреу \"%s\" ортақ болуға тиісті "
|
376 |
|
377 |
+
#: yarpp_options.php:114
|
378 |
#@ yarpp
|
379 |
msgid "Options saved!"
|
380 |
msgstr "Күйге келтірулер сақтаған!"
|
384 |
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."
|
385 |
msgstr "Не ұқсастықтар жоғары табалдырығы, сол қатал іріктеу, және сол жазуларды шығуда аз аласыз. Табалдырық бойынша-үндемеуге 5 тең. Егер қолайлы табалдырықты мәндер тапқысы келісе, поэкспериментируйте бірнешесі қатынастармен. Қандай қатынастар жоғары шығатынын сіз көре аласыз және оларда қандай сіздің сайтыңыз\" үшін қолайлы деңгей анықтауға болатын ұқсастықтар мәндері."
|
386 |
|
387 |
+
#: yarpp_options.php:279
|
388 |
#@ yarpp
|
389 |
msgid "Update options"
|
390 |
msgstr "Күйге келтіруді өзгерту"
|
391 |
|
392 |
+
#: yarpp_options.php:280
|
393 |
#@ yarpp
|
394 |
msgid "Do you really want to reset your configuration?"
|
395 |
msgstr "Сіз сіздің күйге келтірулеріңіз құлатқыңыз шындығында келеді?"
|
396 |
|
397 |
+
#: yarpp_options.php:280
|
398 |
#@ yarpp
|
399 |
msgid "Reset options"
|
400 |
msgstr "Күйге келтіруді құлату"
|
537 |
msgid "Contact YARPP"
|
538 |
msgstr ""
|
539 |
|
540 |
+
#: yarpp_options.php:86
|
541 |
#, php-format
|
542 |
#@ yarpp
|
543 |
msgid "Please try <a href=\"%s\" target=\"_blank\">manual SQL setup</a>."
|
544 |
msgstr ""
|
545 |
|
546 |
+
#: yarpp_options.php:188
|
547 |
#, php-format
|
548 |
#@ yarpp
|
549 |
msgid "by <a href=\"%s\" target=\"_blank\">mitcho (Michael 芳貴 Erlewine)</a>"
|
550 |
msgstr ""
|
551 |
|
552 |
+
#: yarpp_options.php:46
|
553 |
#, php-format
|
554 |
#@ yarpp
|
555 |
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."
|
556 |
msgstr ""
|
557 |
|
558 |
+
#: yarpp_options.php:42
|
559 |
#, php-format
|
560 |
#@ default
|
561 |
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>."
|
lang/yarpp-ko_KR.po
CHANGED
@@ -46,40 +46,40 @@ msgstr "%f 는 현재 글과 관련 글 사이의 YARPP 매치 점수입니다.
|
|
46 |
msgid "Related posts brought to you by <a href='%s'>Yet Another Related Posts Plugin</a>."
|
47 |
msgstr "관련 글은 <a href='%s'>Yet Another Related Posts 플러그인</a>에 의해 제공됩니다."
|
48 |
|
49 |
-
#:
|
50 |
#@ yarpp
|
51 |
msgid "The MyISAM check has been overridden. You may now use the \"consider titles\" and \"consider bodies\" relatedness criteria."
|
52 |
msgstr "MyISAM 전용 기능을 강제로 사용했습니다. \"제목을 검토\"와 \"내용을 검토\" 기능을 사용할 수 있습니다."
|
53 |
|
54 |
-
#:
|
55 |
#, php-format
|
56 |
#@ yarpp
|
57 |
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."
|
58 |
msgstr "YARPP의 \"제목을 검토\", \"내용을 검토\" 옵션은 데이터베이스 <code>%s</code> 테이블이 <a href ='http://dev.mysql.com/doc/refman/4.1/ja/myisam.html'>MyISAM</a>이 아닌 경우에 사용할 수 없습니다. 현재 <code>%s</code> 스토레지엔진를 사용하고 있기 때문에,이 두 옵션은 사용할 수 없습니다."
|
59 |
|
60 |
-
#:
|
61 |
#, php-format
|
62 |
#@ yarpp
|
63 |
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."
|
64 |
msgstr "이 기능을 복원하려면, 당신의 <code>%s</code> 테이블을 다음 SQL 지시어를 실행하여 업데이트하세요: <code>ALTER TABLE `%s` ENGINE = MyISAM;</code> . 성능에 영향을 줄 수 있지만 어떤 데이터도 테이블의 엔진을 변경하여 삭제되진 않습니다."
|
65 |
|
66 |
-
#:
|
67 |
#, php-format
|
68 |
#@ yarpp
|
69 |
msgid "If, despite this check, you are sure that <code>%s</code> is using the MyISAM engine, press this magic button:"
|
70 |
msgstr "만약, 이 체크에도 불구하고, 당신은 <code>%s</code> (이)가 MyISAM을 사용하고 있다고 생각한다면, 이 매직 버튼을 누르세요:"
|
71 |
|
72 |
-
#:
|
73 |
#@ yarpp
|
74 |
msgid "Trust me. Let me use MyISAM features."
|
75 |
msgstr "믿으세요. 제가 MyISAM 기능을 사용할 수 있게 해주세요."
|
76 |
|
77 |
-
#:
|
78 |
#@ yarpp
|
79 |
msgid "The YARPP database had an error but has been fixed."
|
80 |
msgstr "YARPP 데이터베이스에 에러가 있었으나 고쳐졌습니다."
|
81 |
|
82 |
-
#:
|
83 |
#@ yarpp
|
84 |
msgid "The YARPP database has an error which could not be fixed."
|
85 |
msgstr "YARPP 데이터베이스에 에러가 있으며 고칠 수가 없습니다."
|
@@ -102,7 +102,7 @@ msgstr "검토함"
|
|
102 |
msgid "consider with extra weight"
|
103 |
msgstr "신중히 검토함"
|
104 |
|
105 |
-
#:
|
106 |
#@ yarpp
|
107 |
msgid "Yet Another Related Posts Plugin Options"
|
108 |
msgstr "Yet Another Related Posts 플러그인 옵션"
|
@@ -328,7 +328,7 @@ msgstr "최소한 하나의 %s의 공통점이 필요"
|
|
328 |
msgid "require more than one %s in common"
|
329 |
msgstr "하나 이상의 %s의 공통점이 필요"
|
330 |
|
331 |
-
#:
|
332 |
#@ yarpp
|
333 |
msgid "Options saved!"
|
334 |
msgstr "옵션이 저장되었습니다!"
|
@@ -381,7 +381,7 @@ msgstr "월간"
|
|
381 |
msgid "Show only posts from the past NUMBER UNITS"
|
382 |
msgstr "이전 NUMBER UNITS 에서의 글만 보기"
|
383 |
|
384 |
-
#:
|
385 |
#, php-format
|
386 |
#@ yarpp
|
387 |
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."
|
@@ -470,19 +470,19 @@ msgstr "YARPP 웹"
|
|
470 |
msgid "Contact YARPP"
|
471 |
msgstr "YARPP 연락"
|
472 |
|
473 |
-
#:
|
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 "%1$s의 새로운 버전이 사용가능합니다. <a href=\"%2$s\" class=\"thickbox\" title=\"%3$s\">버전 %4$s 세부사항 보기</a> 또는 <a href=\"%5$s\">자동으로 업데이트</a>."
|
478 |
|
479 |
-
#:
|
480 |
#, php-format
|
481 |
#@ yarpp
|
482 |
msgid "Please try <a href=\"%s\" target=\"_blank\">manual SQL setup</a>."
|
483 |
msgstr "<a href=\"%s\" target=\"_blank\">수동 SQL 설정</a>을 시도해보세요."
|
484 |
|
485 |
-
#:
|
486 |
#, php-format
|
487 |
#@ yarpp
|
488 |
msgid "by <a href=\"%s\" target=\"_blank\">mitcho (Michael 芳貴 Erlewine)</a>"
|
@@ -514,7 +514,7 @@ msgstr "%s로부터 비허용:"
|
|
514 |
msgid "Rate YARPP on WordPress.org"
|
515 |
msgstr "WordPress.org에서 YARPP 평가"
|
516 |
|
517 |
-
#:
|
518 |
#@ default
|
519 |
msgid "Save Changes"
|
520 |
msgstr "변경 저장"
|
46 |
msgid "Related posts brought to you by <a href='%s'>Yet Another Related Posts Plugin</a>."
|
47 |
msgstr "관련 글은 <a href='%s'>Yet Another Related Posts 플러그인</a>에 의해 제공됩니다."
|
48 |
|
49 |
+
#: yarpp_options.php:46
|
50 |
#@ yarpp
|
51 |
msgid "The MyISAM check has been overridden. You may now use the \"consider titles\" and \"consider bodies\" relatedness criteria."
|
52 |
msgstr "MyISAM 전용 기능을 강제로 사용했습니다. \"제목을 검토\"와 \"내용을 검토\" 기능을 사용할 수 있습니다."
|
53 |
|
54 |
+
#: yarpp_options.php:54
|
55 |
#, php-format
|
56 |
#@ yarpp
|
57 |
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."
|
58 |
msgstr "YARPP의 \"제목을 검토\", \"내용을 검토\" 옵션은 데이터베이스 <code>%s</code> 테이블이 <a href ='http://dev.mysql.com/doc/refman/4.1/ja/myisam.html'>MyISAM</a>이 아닌 경우에 사용할 수 없습니다. 현재 <code>%s</code> 스토레지엔진를 사용하고 있기 때문에,이 두 옵션은 사용할 수 없습니다."
|
59 |
|
60 |
+
#: yarpp_options.php:56
|
61 |
#, php-format
|
62 |
#@ yarpp
|
63 |
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."
|
64 |
msgstr "이 기능을 복원하려면, 당신의 <code>%s</code> 테이블을 다음 SQL 지시어를 실행하여 업데이트하세요: <code>ALTER TABLE `%s` ENGINE = MyISAM;</code> . 성능에 영향을 줄 수 있지만 어떤 데이터도 테이블의 엔진을 변경하여 삭제되진 않습니다."
|
65 |
|
66 |
+
#: yarpp_options.php:58
|
67 |
#, php-format
|
68 |
#@ yarpp
|
69 |
msgid "If, despite this check, you are sure that <code>%s</code> is using the MyISAM engine, press this magic button:"
|
70 |
msgstr "만약, 이 체크에도 불구하고, 당신은 <code>%s</code> (이)가 MyISAM을 사용하고 있다고 생각한다면, 이 매직 버튼을 누르세요:"
|
71 |
|
72 |
+
#: yarpp_options.php:61
|
73 |
#@ yarpp
|
74 |
msgid "Trust me. Let me use MyISAM features."
|
75 |
msgstr "믿으세요. 제가 MyISAM 기능을 사용할 수 있게 해주세요."
|
76 |
|
77 |
+
#: yarpp_options.php:76
|
78 |
#@ yarpp
|
79 |
msgid "The YARPP database had an error but has been fixed."
|
80 |
msgstr "YARPP 데이터베이스에 에러가 있었으나 고쳐졌습니다."
|
81 |
|
82 |
+
#: yarpp_options.php:78
|
83 |
#@ yarpp
|
84 |
msgid "The YARPP database has an error which could not be fixed."
|
85 |
msgstr "YARPP 데이터베이스에 에러가 있으며 고칠 수가 없습니다."
|
102 |
msgid "consider with extra weight"
|
103 |
msgstr "신중히 검토함"
|
104 |
|
105 |
+
#: yarpp_options.php:139
|
106 |
#@ yarpp
|
107 |
msgid "Yet Another Related Posts Plugin Options"
|
108 |
msgstr "Yet Another Related Posts 플러그인 옵션"
|
328 |
msgid "require more than one %s in common"
|
329 |
msgstr "하나 이상의 %s의 공통점이 필요"
|
330 |
|
331 |
+
#: yarpp_options.php:133
|
332 |
#@ yarpp
|
333 |
msgid "Options saved!"
|
334 |
msgstr "옵션이 저장되었습니다!"
|
381 |
msgid "Show only posts from the past NUMBER UNITS"
|
382 |
msgstr "이전 NUMBER UNITS 에서의 글만 보기"
|
383 |
|
384 |
+
#: yarpp_options.php:38
|
385 |
#, php-format
|
386 |
#@ yarpp
|
387 |
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."
|
470 |
msgid "Contact YARPP"
|
471 |
msgstr "YARPP 연락"
|
472 |
|
473 |
+
#: yarpp_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 "%1$s의 새로운 버전이 사용가능합니다. <a href=\"%2$s\" class=\"thickbox\" title=\"%3$s\">버전 %4$s 세부사항 보기</a> 또는 <a href=\"%5$s\">자동으로 업데이트</a>."
|
478 |
|
479 |
+
#: yarpp_options.php:79
|
480 |
#, php-format
|
481 |
#@ yarpp
|
482 |
msgid "Please try <a href=\"%s\" target=\"_blank\">manual SQL setup</a>."
|
483 |
msgstr "<a href=\"%s\" target=\"_blank\">수동 SQL 설정</a>을 시도해보세요."
|
484 |
|
485 |
+
#: yarpp_options.php:147
|
486 |
#, php-format
|
487 |
#@ yarpp
|
488 |
msgid "by <a href=\"%s\" target=\"_blank\">mitcho (Michael 芳貴 Erlewine)</a>"
|
514 |
msgid "Rate YARPP on WordPress.org"
|
515 |
msgstr "WordPress.org에서 YARPP 평가"
|
516 |
|
517 |
+
#: yarpp_options.php:176
|
518 |
#@ default
|
519 |
msgid "Save Changes"
|
520 |
msgstr "변경 저장"
|
lang/yarpp-lt_LT.po
CHANGED
@@ -57,45 +57,45 @@ msgstr "Panašius įrašus pateikia „<a href='%s'>Yet Another Related Posts Pl
|
|
57 |
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."
|
58 |
msgstr "%f yra panašumo su peržiūrimu įrašu rodiklis. Ši reikšmė yra skirta tik tinklaraščio administratoriui, lankytojai jos nemato."
|
59 |
|
60 |
-
#:
|
61 |
#@ yarpp
|
62 |
msgid "The MyISAM check has been overridden. You may now use the \"consider titles\" and \"consider bodies\" relatedness criteria."
|
63 |
msgstr "The MyISAM check has been overridden. You may now use the \"consider titles\" and \"consider bodies\" relatedness criteria."
|
64 |
|
65 |
-
#:
|
66 |
#, php-format
|
67 |
#@ yarpp
|
68 |
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."
|
69 |
msgstr "YARPP's \"consider titles\" and \"consider bodies\" relatedness criteria require your <code>%s</code> table to use the <a href='http://dev.mysql.com/doc/refman/5.0/en/storage-engines.html'>MyISAM storage engine</a>, but the table seems to be using the <code>%s</code> engine. These two options have been disabled."
|
70 |
|
71 |
-
#:
|
72 |
#, php-format
|
73 |
#@ yarpp
|
74 |
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."
|
75 |
msgstr "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."
|
76 |
|
77 |
-
#:
|
78 |
#, php-format
|
79 |
#@ yarpp
|
80 |
msgid "If, despite this check, you are sure that <code>%s</code> is using the MyISAM engine, press this magic button:"
|
81 |
msgstr "If, despite this check, you are sure that <code>%s</code> is using the MyISAM engine, press this magic button:"
|
82 |
|
83 |
-
#:
|
84 |
#@ yarpp
|
85 |
msgid "Trust me. Let me use MyISAM features."
|
86 |
msgstr "Trust me. Let me use MyISAM features."
|
87 |
|
88 |
-
#:
|
89 |
#@ yarpp
|
90 |
msgid "The YARPP database had an error but has been fixed."
|
91 |
msgstr "The YARPP database had an error but has been fixed."
|
92 |
|
93 |
-
#:
|
94 |
#@ yarpp
|
95 |
msgid "The YARPP database has an error which could not be fixed."
|
96 |
msgstr "The YARPP database has an error which could not be fixed."
|
97 |
|
98 |
-
#:
|
99 |
#@ yarpp
|
100 |
msgid "Options saved!"
|
101 |
msgstr "Nuostatos išsaugotos."
|
@@ -148,7 +148,7 @@ msgstr "Privalo turėti daugiau negu vieną bendrą %s"
|
|
148 |
msgid "consider with extra weight"
|
149 |
msgstr "Turi didelę reikšmę"
|
150 |
|
151 |
-
#:
|
152 |
#@ yarpp
|
153 |
msgid "Yet Another Related Posts Plugin Options"
|
154 |
msgstr "„Yet Another Related Posts Plugin“ įskiepio nuostatos"
|
@@ -261,7 +261,7 @@ msgstr "When the \"Cross-relate posts and pages\" option is selected, the <code>
|
|
261 |
msgid "Show only previous posts?"
|
262 |
msgstr "Rodyti tik ankstesnius įrašus?"
|
263 |
|
264 |
-
#:
|
265 |
#, php-format
|
266 |
#@ yarpp
|
267 |
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."
|
@@ -470,17 +470,17 @@ msgstr "NAUJIENA!"
|
|
470 |
msgid "Before / after (excerpt):"
|
471 |
msgstr "Prieš / po (ištraukos):"
|
472 |
|
473 |
-
#:
|
474 |
#@ yarpp
|
475 |
msgid "Update options"
|
476 |
msgstr "Atnaujinti nuostatas"
|
477 |
|
478 |
-
#:
|
479 |
#@ yarpp
|
480 |
msgid "Do you really want to reset your configuration?"
|
481 |
msgstr "Ar tikrai norite atkurti numatytąsias nuostatas?"
|
482 |
|
483 |
-
#:
|
484 |
#@ yarpp
|
485 |
msgid "Reset options"
|
486 |
msgstr "Atkurti nuostatas"
|
@@ -543,19 +543,19 @@ msgstr ""
|
|
543 |
msgid "Contact YARPP"
|
544 |
msgstr ""
|
545 |
|
546 |
-
#:
|
547 |
#, php-format
|
548 |
#@ default
|
549 |
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>."
|
550 |
msgstr ""
|
551 |
|
552 |
-
#:
|
553 |
#, php-format
|
554 |
#@ yarpp
|
555 |
msgid "Please try <a href=\"%s\" target=\"_blank\">manual SQL setup</a>."
|
556 |
msgstr ""
|
557 |
|
558 |
-
#:
|
559 |
#, php-format
|
560 |
#@ yarpp
|
561 |
msgid "by <a href=\"%s\" target=\"_blank\">mitcho (Michael 芳貴 Erlewine)</a>"
|
57 |
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."
|
58 |
msgstr "%f yra panašumo su peržiūrimu įrašu rodiklis. Ši reikšmė yra skirta tik tinklaraščio administratoriui, lankytojai jos nemato."
|
59 |
|
60 |
+
#: yarpp_options.php:54
|
61 |
#@ yarpp
|
62 |
msgid "The MyISAM check has been overridden. You may now use the \"consider titles\" and \"consider bodies\" relatedness criteria."
|
63 |
msgstr "The MyISAM check has been overridden. You may now use the \"consider titles\" and \"consider bodies\" relatedness criteria."
|
64 |
|
65 |
+
#: yarpp_options.php:63
|
66 |
#, php-format
|
67 |
#@ yarpp
|
68 |
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."
|
69 |
msgstr "YARPP's \"consider titles\" and \"consider bodies\" relatedness criteria require your <code>%s</code> table to use the <a href='http://dev.mysql.com/doc/refman/5.0/en/storage-engines.html'>MyISAM storage engine</a>, but the table seems to be using the <code>%s</code> engine. These two options have been disabled."
|
70 |
|
71 |
+
#: yarpp_options.php:65
|
72 |
#, php-format
|
73 |
#@ yarpp
|
74 |
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."
|
75 |
msgstr "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."
|
76 |
|
77 |
+
#: yarpp_options.php:67
|
78 |
#, php-format
|
79 |
#@ yarpp
|
80 |
msgid "If, despite this check, you are sure that <code>%s</code> is using the MyISAM engine, press this magic button:"
|
81 |
msgstr "If, despite this check, you are sure that <code>%s</code> is using the MyISAM engine, press this magic button:"
|
82 |
|
83 |
+
#: yarpp_options.php:70
|
84 |
#@ yarpp
|
85 |
msgid "Trust me. Let me use MyISAM features."
|
86 |
msgstr "Trust me. Let me use MyISAM features."
|
87 |
|
88 |
+
#: yarpp_options.php:83
|
89 |
#@ yarpp
|
90 |
msgid "The YARPP database had an error but has been fixed."
|
91 |
msgstr "The YARPP database had an error but has been fixed."
|
92 |
|
93 |
+
#: yarpp_options.php:85
|
94 |
#@ yarpp
|
95 |
msgid "The YARPP database has an error which could not be fixed."
|
96 |
msgstr "The YARPP database has an error which could not be fixed."
|
97 |
|
98 |
+
#: yarpp_options.php:114
|
99 |
#@ yarpp
|
100 |
msgid "Options saved!"
|
101 |
msgstr "Nuostatos išsaugotos."
|
148 |
msgid "consider with extra weight"
|
149 |
msgstr "Turi didelę reikšmę"
|
150 |
|
151 |
+
#: yarpp_options.php:178
|
152 |
#@ yarpp
|
153 |
msgid "Yet Another Related Posts Plugin Options"
|
154 |
msgstr "„Yet Another Related Posts Plugin“ įskiepio nuostatos"
|
261 |
msgid "Show only previous posts?"
|
262 |
msgstr "Rodyti tik ankstesnius įrašus?"
|
263 |
|
264 |
+
#: yarpp_options.php:46
|
265 |
#, php-format
|
266 |
#@ yarpp
|
267 |
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."
|
470 |
msgid "Before / after (excerpt):"
|
471 |
msgstr "Prieš / po (ištraukos):"
|
472 |
|
473 |
+
#: yarpp_options.php:279
|
474 |
#@ yarpp
|
475 |
msgid "Update options"
|
476 |
msgstr "Atnaujinti nuostatas"
|
477 |
|
478 |
+
#: yarpp_options.php:280
|
479 |
#@ yarpp
|
480 |
msgid "Do you really want to reset your configuration?"
|
481 |
msgstr "Ar tikrai norite atkurti numatytąsias nuostatas?"
|
482 |
|
483 |
+
#: yarpp_options.php:280
|
484 |
#@ yarpp
|
485 |
msgid "Reset options"
|
486 |
msgstr "Atkurti nuostatas"
|
543 |
msgid "Contact YARPP"
|
544 |
msgstr ""
|
545 |
|
546 |
+
#: yarpp_options.php:42
|
547 |
#, php-format
|
548 |
#@ default
|
549 |
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>."
|
550 |
msgstr ""
|
551 |
|
552 |
+
#: yarpp_options.php:86
|
553 |
#, php-format
|
554 |
#@ yarpp
|
555 |
msgid "Please try <a href=\"%s\" target=\"_blank\">manual SQL setup</a>."
|
556 |
msgstr ""
|
557 |
|
558 |
+
#: yarpp_options.php:188
|
559 |
#, php-format
|
560 |
#@ yarpp
|
561 |
msgid "by <a href=\"%s\" target=\"_blank\">mitcho (Michael 芳貴 Erlewine)</a>"
|
lang/yarpp-lv_LV.po
CHANGED
@@ -45,40 +45,40 @@ msgstr "%f - eto koefficient \"pohojesti\" tekuschgo posta i svyazanogo s nim. V
|
|
45 |
msgid "Related posts brought to you by <a href='%s'>Yet Another Related Posts Plugin</a>."
|
46 |
msgstr "Spisok pohojih postov predostavlen vam plaginom <a href='%s'>YARPP</a>."
|
47 |
|
48 |
-
#:
|
49 |
#@ yarpp
|
50 |
msgid "The MyISAM check has been overridden. You may now use the \"consider titles\" and \"consider bodies\" relatedness criteria."
|
51 |
msgstr "Proverka MyISAM byla vypolnena. Teper' vy mojete ispol'zovat' kriterii pohojesti “Rassmatrivat' zagolovki” i “Rassmotrivat' tekst”."
|
52 |
|
53 |
-
#:
|
54 |
#, php-format
|
55 |
#@ yarpp
|
56 |
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."
|
57 |
msgstr "Ispol'zovanie opcii YARPP “Rassmatrivat' zagolovki” i “Rassmatrivat' tekst” trebuet, chtoby vasha tablica <code>%s</code> ispol'zovala dvijok <a href='http://dev.mysql.com/doc/refman/5.0/en/storage-engines.html'>MyISAM</a>, no tablica vidimo ispol'zuet dvijok <code>%s</code>. Eti dve opcii otklyucheny."
|
58 |
|
59 |
-
#:
|
60 |
#, php-format
|
61 |
#@ yarpp
|
62 |
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."
|
63 |
msgstr "Dlya vosstanovleniya etih opcii, pojaluista, izmenite vashu tablicu <code>%s</code>sleduyuschei SQL instrukciei e : <code>ALTER TABLE `%s` ENGINE = MyISAM;</code><br />Pri izmenenii tablicy dannye ne doljny propast', odnako vozmojny posledstviya. "
|
64 |
|
65 |
-
#:
|
66 |
#, php-format
|
67 |
#@ yarpp
|
68 |
msgid "If, despite this check, you are sure that <code>%s</code> is using the MyISAM engine, press this magic button:"
|
69 |
msgstr "Esli, nezavisimo ot etoi opcii, vy uvereny chto tablica <code>%s</code> ispol'zuet MyISAM, najmite na etu volshebnuyu knopku :"
|
70 |
|
71 |
-
#:
|
72 |
#@ yarpp
|
73 |
msgid "Trust me. Let me use MyISAM features."
|
74 |
msgstr "Pover'te mne. Pozvol'te mne ispol'zovat' MyISAM."
|
75 |
|
76 |
-
#:
|
77 |
#@ yarpp
|
78 |
msgid "The YARPP database had an error but has been fixed."
|
79 |
msgstr "Baza dannyh YARPP soderjala oshibki, no oni byli ispravleny."
|
80 |
|
81 |
-
#:
|
82 |
#@ yarpp
|
83 |
msgid "The YARPP database has an error which could not be fixed."
|
84 |
msgstr "Baza dannyh YARPP soderjit oshibku, kotoraya ne mojet byt' ispravlena."
|
@@ -102,7 +102,7 @@ msgstr "rassmatrivat'"
|
|
102 |
msgid "consider with extra weight"
|
103 |
msgstr "rassmatrivat' s dopolnitel'nym vesom"
|
104 |
|
105 |
-
#:
|
106 |
#@ yarpp
|
107 |
msgid "Yet Another Related Posts Plugin Options"
|
108 |
msgstr "Opcii YARPP"
|
@@ -382,7 +382,7 @@ msgstr "hotya by odin \"%s\" doljen byt' obschim"
|
|
382 |
msgid "require more than one %s in common"
|
383 |
msgstr "bolee odnogo \"%s\" doljno byt' obschim"
|
384 |
|
385 |
-
#:
|
386 |
#@ yarpp
|
387 |
msgid "Options saved!"
|
388 |
msgstr "Nastroiki sohraneny!"
|
@@ -392,17 +392,17 @@ msgstr "Nastroiki sohraneny!"
|
|
392 |
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."
|
393 |
msgstr "Chem vyshe porog pohojesti, tem stroje vyborka, i tem men'she poluchite zapisei na vyhode. Po-umolchaniyu porog raven 5. Esli hotite naiti priemlimye porogovye znacheniya, poeksperimentiruite s neskol'kimi soobscheniyami. Vy smojete uvidet', kakie soobscheniya vyhodyat naverh i kakie u nih znacheniya shojesti, po kotorym mojno opredelit' priemlimyi uroven' dlya vashego saita."
|
394 |
|
395 |
-
#:
|
396 |
#@ yarpp
|
397 |
msgid "Update options"
|
398 |
msgstr "Izmenit' nastroiki"
|
399 |
|
400 |
-
#:
|
401 |
#@ yarpp
|
402 |
msgid "Do you really want to reset your configuration?"
|
403 |
msgstr "Vy deistvitel'no hotite sbrosit' vashi nastroiki?"
|
404 |
|
405 |
-
#:
|
406 |
#@ yarpp
|
407 |
msgid "Reset options"
|
408 |
msgstr "Sbrosit' nastroiki"
|
@@ -433,7 +433,7 @@ msgstr "let"
|
|
433 |
msgid "Show only posts from the past NUMBER UNITS"
|
434 |
msgstr "Pokazyvat' tol'ko posty za poslednie NUMBER UNITS"
|
435 |
|
436 |
-
#:
|
437 |
#, php-format
|
438 |
#@ yarpp
|
439 |
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."
|
@@ -543,19 +543,19 @@ msgstr ""
|
|
543 |
msgid "Contact YARPP"
|
544 |
msgstr ""
|
545 |
|
546 |
-
#:
|
547 |
#, php-format
|
548 |
#@ default
|
549 |
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>."
|
550 |
msgstr ""
|
551 |
|
552 |
-
#:
|
553 |
#, php-format
|
554 |
#@ yarpp
|
555 |
msgid "Please try <a href=\"%s\" target=\"_blank\">manual SQL setup</a>."
|
556 |
msgstr ""
|
557 |
|
558 |
-
#:
|
559 |
#, php-format
|
560 |
#@ yarpp
|
561 |
msgid "by <a href=\"%s\" target=\"_blank\">mitcho (Michael 芳貴 Erlewine)</a>"
|
45 |
msgid "Related posts brought to you by <a href='%s'>Yet Another Related Posts Plugin</a>."
|
46 |
msgstr "Spisok pohojih postov predostavlen vam plaginom <a href='%s'>YARPP</a>."
|
47 |
|
48 |
+
#: yarpp_options.php:54
|
49 |
#@ yarpp
|
50 |
msgid "The MyISAM check has been overridden. You may now use the \"consider titles\" and \"consider bodies\" relatedness criteria."
|
51 |
msgstr "Proverka MyISAM byla vypolnena. Teper' vy mojete ispol'zovat' kriterii pohojesti “Rassmatrivat' zagolovki” i “Rassmotrivat' tekst”."
|
52 |
|
53 |
+
#: yarpp_options.php:63
|
54 |
#, php-format
|
55 |
#@ yarpp
|
56 |
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."
|
57 |
msgstr "Ispol'zovanie opcii YARPP “Rassmatrivat' zagolovki” i “Rassmatrivat' tekst” trebuet, chtoby vasha tablica <code>%s</code> ispol'zovala dvijok <a href='http://dev.mysql.com/doc/refman/5.0/en/storage-engines.html'>MyISAM</a>, no tablica vidimo ispol'zuet dvijok <code>%s</code>. Eti dve opcii otklyucheny."
|
58 |
|
59 |
+
#: yarpp_options.php:65
|
60 |
#, php-format
|
61 |
#@ yarpp
|
62 |
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."
|
63 |
msgstr "Dlya vosstanovleniya etih opcii, pojaluista, izmenite vashu tablicu <code>%s</code>sleduyuschei SQL instrukciei e : <code>ALTER TABLE `%s` ENGINE = MyISAM;</code><br />Pri izmenenii tablicy dannye ne doljny propast', odnako vozmojny posledstviya. "
|
64 |
|
65 |
+
#: yarpp_options.php:67
|
66 |
#, php-format
|
67 |
#@ yarpp
|
68 |
msgid "If, despite this check, you are sure that <code>%s</code> is using the MyISAM engine, press this magic button:"
|
69 |
msgstr "Esli, nezavisimo ot etoi opcii, vy uvereny chto tablica <code>%s</code> ispol'zuet MyISAM, najmite na etu volshebnuyu knopku :"
|
70 |
|
71 |
+
#: yarpp_options.php:70
|
72 |
#@ yarpp
|
73 |
msgid "Trust me. Let me use MyISAM features."
|
74 |
msgstr "Pover'te mne. Pozvol'te mne ispol'zovat' MyISAM."
|
75 |
|
76 |
+
#: yarpp_options.php:83
|
77 |
#@ yarpp
|
78 |
msgid "The YARPP database had an error but has been fixed."
|
79 |
msgstr "Baza dannyh YARPP soderjala oshibki, no oni byli ispravleny."
|
80 |
|
81 |
+
#: yarpp_options.php:85
|
82 |
#@ yarpp
|
83 |
msgid "The YARPP database has an error which could not be fixed."
|
84 |
msgstr "Baza dannyh YARPP soderjit oshibku, kotoraya ne mojet byt' ispravlena."
|
102 |
msgid "consider with extra weight"
|
103 |
msgstr "rassmatrivat' s dopolnitel'nym vesom"
|
104 |
|
105 |
+
#: yarpp_options.php:178
|
106 |
#@ yarpp
|
107 |
msgid "Yet Another Related Posts Plugin Options"
|
108 |
msgstr "Opcii YARPP"
|
382 |
msgid "require more than one %s in common"
|
383 |
msgstr "bolee odnogo \"%s\" doljno byt' obschim"
|
384 |
|
385 |
+
#: yarpp_options.php:114
|
386 |
#@ yarpp
|
387 |
msgid "Options saved!"
|
388 |
msgstr "Nastroiki sohraneny!"
|
392 |
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."
|
393 |
msgstr "Chem vyshe porog pohojesti, tem stroje vyborka, i tem men'she poluchite zapisei na vyhode. Po-umolchaniyu porog raven 5. Esli hotite naiti priemlimye porogovye znacheniya, poeksperimentiruite s neskol'kimi soobscheniyami. Vy smojete uvidet', kakie soobscheniya vyhodyat naverh i kakie u nih znacheniya shojesti, po kotorym mojno opredelit' priemlimyi uroven' dlya vashego saita."
|
394 |
|
395 |
+
#: yarpp_options.php:279
|
396 |
#@ yarpp
|
397 |
msgid "Update options"
|
398 |
msgstr "Izmenit' nastroiki"
|
399 |
|
400 |
+
#: yarpp_options.php:280
|
401 |
#@ yarpp
|
402 |
msgid "Do you really want to reset your configuration?"
|
403 |
msgstr "Vy deistvitel'no hotite sbrosit' vashi nastroiki?"
|
404 |
|
405 |
+
#: yarpp_options.php:280
|
406 |
#@ yarpp
|
407 |
msgid "Reset options"
|
408 |
msgstr "Sbrosit' nastroiki"
|
433 |
msgid "Show only posts from the past NUMBER UNITS"
|
434 |
msgstr "Pokazyvat' tol'ko posty za poslednie NUMBER UNITS"
|
435 |
|
436 |
+
#: yarpp_options.php:46
|
437 |
#, php-format
|
438 |
#@ yarpp
|
439 |
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."
|
543 |
msgid "Contact YARPP"
|
544 |
msgstr ""
|
545 |
|
546 |
+
#: yarpp_options.php:42
|
547 |
#, php-format
|
548 |
#@ default
|
549 |
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>."
|
550 |
msgstr ""
|
551 |
|
552 |
+
#: yarpp_options.php:86
|
553 |
#, php-format
|
554 |
#@ yarpp
|
555 |
msgid "Please try <a href=\"%s\" target=\"_blank\">manual SQL setup</a>."
|
556 |
msgstr ""
|
557 |
|
558 |
+
#: yarpp_options.php:188
|
559 |
#, php-format
|
560 |
#@ yarpp
|
561 |
msgid "by <a href=\"%s\" target=\"_blank\">mitcho (Michael 芳貴 Erlewine)</a>"
|
lang/yarpp-mk-MK.po
CHANGED
@@ -46,7 +46,7 @@ msgstr ""
|
|
46 |
"Plugin</a>."
|
47 |
|
48 |
# @ yarpp
|
49 |
-
#:
|
50 |
msgid ""
|
51 |
"The MyISAM check has been overridden. You may now use the \"consider titles"
|
52 |
"\" and \"consider bodies\" relatedness criteria."
|
@@ -55,7 +55,7 @@ msgstr ""
|
|
55 |
"povrzani so \"smetaj gi naslovite\" and \"smetaj gi tekstovite\""
|
56 |
|
57 |
# @ yarpp
|
58 |
-
#:
|
59 |
#, php-format
|
60 |
msgid ""
|
61 |
"YARPP's \"consider titles\" and \"consider bodies\" relatedness criteria "
|
@@ -71,7 +71,7 @@ msgstr ""
|
|
71 |
"onevozmozeni."
|
72 |
|
73 |
# @ yarpp
|
74 |
-
#:
|
75 |
#, php-format
|
76 |
msgid ""
|
77 |
"To restore these features, please update your <code>%s</code> table by "
|
@@ -85,7 +85,7 @@ msgstr ""
|
|
85 |
"izmenuvanjeto na prebaruvanjeto, iako kje ima implikacii na performans."
|
86 |
|
87 |
# @ yarpp
|
88 |
-
#:
|
89 |
#, php-format
|
90 |
msgid ""
|
91 |
"If, despite this check, you are sure that <code>%s</code> is using the "
|
@@ -95,22 +95,22 @@ msgstr ""
|
|
95 |
"MyISAM engine, kliknete go magicnoto kopce:"
|
96 |
|
97 |
# @ yarpp
|
98 |
-
#:
|
99 |
msgid "Trust me. Let me use MyISAM features."
|
100 |
msgstr "Veruvaj mi. Dozvoli mi da gi koristam MyISAM funkciite."
|
101 |
|
102 |
# @ yarpp
|
103 |
-
#:
|
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 |
-
#:
|
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 |
-
#:
|
114 |
msgid "Options saved!"
|
115 |
msgstr "Opciite se socuvani!"
|
116 |
|
@@ -142,7 +142,7 @@ msgid "consider with extra weight"
|
|
142 |
msgstr "smetaj so ekstra tezina"
|
143 |
|
144 |
# @ yarpp
|
145 |
-
#:
|
146 |
msgid "Yet Another Related Posts Plugin Options"
|
147 |
msgstr "Yet Another Related Posts Plugin Options"
|
148 |
|
@@ -237,7 +237,7 @@ msgid "Bodies: "
|
|
237 |
msgstr "Tekstovi:"
|
238 |
|
239 |
# @ yarpp
|
240 |
-
#:
|
241 |
#, php-format
|
242 |
msgid ""
|
243 |
"There is a new beta (%s) of Yet Another Related Posts Plugin. You can <a "
|
@@ -538,7 +538,7 @@ msgid "Contact YARPP"
|
|
538 |
msgstr "YARPP kontakt"
|
539 |
|
540 |
# @ default
|
541 |
-
#:
|
542 |
#, php-format
|
543 |
msgid ""
|
544 |
"There is a new version of %1$s available. <a href=\"%2$s\" class=\"thickbox"
|
@@ -550,13 +550,13 @@ msgstr ""
|
|
550 |
"a>."
|
551 |
|
552 |
# @ yarpp
|
553 |
-
#:
|
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 |
-
#:
|
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>"
|
@@ -612,6 +612,6 @@ msgid "Rate YARPP on WordPress.org"
|
|
612 |
msgstr "Oceni go YARPP na WordPress.org"
|
613 |
|
614 |
# @ default
|
615 |
-
#:
|
616 |
msgid "Save Changes"
|
617 |
msgstr "Socuvaj gi izmenite"
|
46 |
"Plugin</a>."
|
47 |
|
48 |
# @ yarpp
|
49 |
+
#: yarpp_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."
|
55 |
"povrzani so \"smetaj gi naslovite\" and \"smetaj gi tekstovite\""
|
56 |
|
57 |
# @ yarpp
|
58 |
+
#: yarpp_options.php:54
|
59 |
#, php-format
|
60 |
msgid ""
|
61 |
"YARPP's \"consider titles\" and \"consider bodies\" relatedness criteria "
|
71 |
"onevozmozeni."
|
72 |
|
73 |
# @ yarpp
|
74 |
+
#: yarpp_options.php:56
|
75 |
#, php-format
|
76 |
msgid ""
|
77 |
"To restore these features, please update your <code>%s</code> table by "
|
85 |
"izmenuvanjeto na prebaruvanjeto, iako kje ima implikacii na performans."
|
86 |
|
87 |
# @ yarpp
|
88 |
+
#: yarpp_options.php:58
|
89 |
#, php-format
|
90 |
msgid ""
|
91 |
"If, despite this check, you are sure that <code>%s</code> is using the "
|
95 |
"MyISAM engine, kliknete go magicnoto kopce:"
|
96 |
|
97 |
# @ yarpp
|
98 |
+
#: yarpp_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 |
+
#: yarpp_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 |
+
#: yarpp_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 |
+
#: yarpp_options.php:135
|
114 |
msgid "Options saved!"
|
115 |
msgstr "Opciite se socuvani!"
|
116 |
|
142 |
msgstr "smetaj so ekstra tezina"
|
143 |
|
144 |
# @ yarpp
|
145 |
+
#: yarpp_options.php:141
|
146 |
msgid "Yet Another Related Posts Plugin Options"
|
147 |
msgstr "Yet Another Related Posts Plugin Options"
|
148 |
|
237 |
msgstr "Tekstovi:"
|
238 |
|
239 |
# @ yarpp
|
240 |
+
#: yarpp_options.php:38
|
241 |
#, php-format
|
242 |
msgid ""
|
243 |
"There is a new beta (%s) of Yet Another Related Posts Plugin. You can <a "
|
538 |
msgstr "YARPP kontakt"
|
539 |
|
540 |
# @ default
|
541 |
+
#: yarpp_options.php:34
|
542 |
#, php-format
|
543 |
msgid ""
|
544 |
"There is a new version of %1$s available. <a href=\"%2$s\" class=\"thickbox"
|
550 |
"a>."
|
551 |
|
552 |
# @ yarpp
|
553 |
+
#: yarpp_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 |
+
#: yarpp_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>"
|
612 |
msgstr "Oceni go YARPP na WordPress.org"
|
613 |
|
614 |
# @ default
|
615 |
+
#: yarpp_options.php:178
|
616 |
msgid "Save Changes"
|
617 |
msgstr "Socuvaj gi izmenite"
|
lang/yarpp-nb_NO.po
CHANGED
@@ -90,45 +90,45 @@ msgstr "Eksempel post"
|
|
90 |
msgid "Related posts brought to you by <a href='%s'>Yet Another Related Posts Plugin</a>."
|
91 |
msgstr "Relaterte poster ble vist med <a href='%s'>Yet Another Related Posts Plugin</a>."
|
92 |
|
93 |
-
#:
|
94 |
#@ yarpp
|
95 |
msgid "The MyISAM check has been overridden. You may now use the \"consider titles\" and \"consider bodies\" relatedness criteria."
|
96 |
msgstr "Sjekken av MyISAM har blitt overkjørt. Du kan nå bruke \"vurder titler\" og \"vurder body\" relaterte kriterier."
|
97 |
|
98 |
-
#:
|
99 |
#, php-format
|
100 |
#@ yarpp
|
101 |
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."
|
102 |
msgstr "YARPPs \"vurder titler\" og \"vurder body\" relaterte kriterier krever din <code>%s</code> tabell for å bruke <a href='http://dev.mysql.com/doc/refman/5.0/en/storage-engines.html'>MyISAM lagringsmotor</a>, men tabellen ser ut til å bruke <code>%s</code> motoren. Disse to innstillingene har blitt deaktivert."
|
103 |
|
104 |
-
#:
|
105 |
#, php-format
|
106 |
#@ yarpp
|
107 |
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."
|
108 |
msgstr "For å gjenopprette disse funksjonene, vennligst oppdater din <code>%s</code> tabell ved å kjøre følgende SQL direktiv (kommando): <code>ALTER TABLE `%s` ENGINE = MyISAM;</code>. Ingen data vil bli fjernet ved endringer av tabell-motoren, men det kan være ytelse implikasjoner."
|
109 |
|
110 |
-
#:
|
111 |
#, php-format
|
112 |
#@ yarpp
|
113 |
msgid "If, despite this check, you are sure that <code>%s</code> is using the MyISAM engine, press this magic button:"
|
114 |
msgstr "Dersom, til tross for denne sjekken, du er sikker at <code>%s</code> kjører MyISAM motoren, trykk på denne magiske knappen:"
|
115 |
|
116 |
-
#:
|
117 |
#@ yarpp
|
118 |
msgid "Trust me. Let me use MyISAM features."
|
119 |
msgstr "Stol på meg. La meg bruke MyISAM funksjonene."
|
120 |
|
121 |
-
#:
|
122 |
#@ yarpp
|
123 |
msgid "The YARPP database had an error but has been fixed."
|
124 |
msgstr "YARPP databasen hadde en feilmelding, men det har blitt fikset."
|
125 |
|
126 |
-
#:
|
127 |
#@ yarpp
|
128 |
msgid "The YARPP database has an error which could not be fixed."
|
129 |
msgstr "YARPP databasen hadde en feilmelding som ikke kunne bli fikset."
|
130 |
|
131 |
-
#:
|
132 |
#@ yarpp
|
133 |
msgid "Options saved!"
|
134 |
msgstr "Innstillingene ble lagret!"
|
@@ -181,7 +181,7 @@ msgstr "krev at mer enn èn %s er felles"
|
|
181 |
msgid "consider with extra weight"
|
182 |
msgstr "vurder med ekstra vekt"
|
183 |
|
184 |
-
#:
|
185 |
#@ yarpp
|
186 |
msgid "Yet Another Related Posts Plugin Options"
|
187 |
msgstr "Yet Another Related Posts Plugin innstillinger"
|
@@ -294,7 +294,7 @@ msgstr "Når \"Kryss-relatèr poster og sider\" innstillingen er markert, så vi
|
|
294 |
msgid "Show only previous posts?"
|
295 |
msgstr "Vis kun tidligere poster?"
|
296 |
|
297 |
-
#:
|
298 |
#, php-format
|
299 |
#@ yarpp
|
300 |
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."
|
@@ -482,17 +482,17 @@ msgstr "NY!"
|
|
482 |
msgid "Before / after (excerpt):"
|
483 |
msgstr "Før / etter (utdrag):"
|
484 |
|
485 |
-
#:
|
486 |
#@ yarpp
|
487 |
msgid "Update options"
|
488 |
msgstr "Oppdater innstillinger"
|
489 |
|
490 |
-
#:
|
491 |
#@ yarpp
|
492 |
msgid "Do you really want to reset your configuration?"
|
493 |
msgstr "Vil du virkelig fjerne alle innstillingene?"
|
494 |
|
495 |
-
#:
|
496 |
#@ yarpp
|
497 |
msgid "Reset options"
|
498 |
msgstr "Fjern innstillinger"
|
@@ -543,19 +543,19 @@ msgstr ""
|
|
543 |
msgid "Contact YARPP"
|
544 |
msgstr ""
|
545 |
|
546 |
-
#:
|
547 |
#, php-format
|
548 |
#@ default
|
549 |
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>."
|
550 |
msgstr ""
|
551 |
|
552 |
-
#:
|
553 |
#, php-format
|
554 |
#@ yarpp
|
555 |
msgid "Please try <a href=\"%s\" target=\"_blank\">manual SQL setup</a>."
|
556 |
msgstr ""
|
557 |
|
558 |
-
#:
|
559 |
#, php-format
|
560 |
#@ yarpp
|
561 |
msgid "by <a href=\"%s\" target=\"_blank\">mitcho (Michael 芳貴 Erlewine)</a>"
|
90 |
msgid "Related posts brought to you by <a href='%s'>Yet Another Related Posts Plugin</a>."
|
91 |
msgstr "Relaterte poster ble vist med <a href='%s'>Yet Another Related Posts Plugin</a>."
|
92 |
|
93 |
+
#: yarpp_options.php:54
|
94 |
#@ yarpp
|
95 |
msgid "The MyISAM check has been overridden. You may now use the \"consider titles\" and \"consider bodies\" relatedness criteria."
|
96 |
msgstr "Sjekken av MyISAM har blitt overkjørt. Du kan nå bruke \"vurder titler\" og \"vurder body\" relaterte kriterier."
|
97 |
|
98 |
+
#: yarpp_options.php:63
|
99 |
#, php-format
|
100 |
#@ yarpp
|
101 |
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."
|
102 |
msgstr "YARPPs \"vurder titler\" og \"vurder body\" relaterte kriterier krever din <code>%s</code> tabell for å bruke <a href='http://dev.mysql.com/doc/refman/5.0/en/storage-engines.html'>MyISAM lagringsmotor</a>, men tabellen ser ut til å bruke <code>%s</code> motoren. Disse to innstillingene har blitt deaktivert."
|
103 |
|
104 |
+
#: yarpp_options.php:65
|
105 |
#, php-format
|
106 |
#@ yarpp
|
107 |
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."
|
108 |
msgstr "For å gjenopprette disse funksjonene, vennligst oppdater din <code>%s</code> tabell ved å kjøre følgende SQL direktiv (kommando): <code>ALTER TABLE `%s` ENGINE = MyISAM;</code>. Ingen data vil bli fjernet ved endringer av tabell-motoren, men det kan være ytelse implikasjoner."
|
109 |
|
110 |
+
#: yarpp_options.php:67
|
111 |
#, php-format
|
112 |
#@ yarpp
|
113 |
msgid "If, despite this check, you are sure that <code>%s</code> is using the MyISAM engine, press this magic button:"
|
114 |
msgstr "Dersom, til tross for denne sjekken, du er sikker at <code>%s</code> kjører MyISAM motoren, trykk på denne magiske knappen:"
|
115 |
|
116 |
+
#: yarpp_options.php:70
|
117 |
#@ yarpp
|
118 |
msgid "Trust me. Let me use MyISAM features."
|
119 |
msgstr "Stol på meg. La meg bruke MyISAM funksjonene."
|
120 |
|
121 |
+
#: yarpp_options.php:83
|
122 |
#@ yarpp
|
123 |
msgid "The YARPP database had an error but has been fixed."
|
124 |
msgstr "YARPP databasen hadde en feilmelding, men det har blitt fikset."
|
125 |
|
126 |
+
#: yarpp_options.php:85
|
127 |
#@ yarpp
|
128 |
msgid "The YARPP database has an error which could not be fixed."
|
129 |
msgstr "YARPP databasen hadde en feilmelding som ikke kunne bli fikset."
|
130 |
|
131 |
+
#: yarpp_options.php:114
|
132 |
#@ yarpp
|
133 |
msgid "Options saved!"
|
134 |
msgstr "Innstillingene ble lagret!"
|
181 |
msgid "consider with extra weight"
|
182 |
msgstr "vurder med ekstra vekt"
|
183 |
|
184 |
+
#: yarpp_options.php:178
|
185 |
#@ yarpp
|
186 |
msgid "Yet Another Related Posts Plugin Options"
|
187 |
msgstr "Yet Another Related Posts Plugin innstillinger"
|
294 |
msgid "Show only previous posts?"
|
295 |
msgstr "Vis kun tidligere poster?"
|
296 |
|
297 |
+
#: yarpp_options.php:46
|
298 |
#, php-format
|
299 |
#@ yarpp
|
300 |
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."
|
482 |
msgid "Before / after (excerpt):"
|
483 |
msgstr "Før / etter (utdrag):"
|
484 |
|
485 |
+
#: yarpp_options.php:279
|
486 |
#@ yarpp
|
487 |
msgid "Update options"
|
488 |
msgstr "Oppdater innstillinger"
|
489 |
|
490 |
+
#: yarpp_options.php:280
|
491 |
#@ yarpp
|
492 |
msgid "Do you really want to reset your configuration?"
|
493 |
msgstr "Vil du virkelig fjerne alle innstillingene?"
|
494 |
|
495 |
+
#: yarpp_options.php:280
|
496 |
#@ yarpp
|
497 |
msgid "Reset options"
|
498 |
msgstr "Fjern innstillinger"
|
543 |
msgid "Contact YARPP"
|
544 |
msgstr ""
|
545 |
|
546 |
+
#: yarpp_options.php:42
|
547 |
#, php-format
|
548 |
#@ default
|
549 |
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>."
|
550 |
msgstr ""
|
551 |
|
552 |
+
#: yarpp_options.php:86
|
553 |
#, php-format
|
554 |
#@ yarpp
|
555 |
msgid "Please try <a href=\"%s\" target=\"_blank\">manual SQL setup</a>."
|
556 |
msgstr ""
|
557 |
|
558 |
+
#: yarpp_options.php:188
|
559 |
#, php-format
|
560 |
#@ yarpp
|
561 |
msgid "by <a href=\"%s\" target=\"_blank\">mitcho (Michael 芳貴 Erlewine)</a>"
|
lang/yarpp-nl_NL.po
CHANGED
@@ -45,45 +45,45 @@ msgstr "Voorbeeld bijdrage"
|
|
45 |
msgid "Related posts brought to you by <a href='%s'>Yet Another Related Posts Plugin</a>."
|
46 |
msgstr "Gerelateerde bijdragen mogelijk gemaakt door <a href='%s'>Yet Another Related Posts Plugin</a>."
|
47 |
|
48 |
-
#:
|
49 |
#@ yarpp
|
50 |
msgid "The MyISAM check has been overridden. You may now use the \"consider titles\" and \"consider bodies\" relatedness criteria."
|
51 |
msgstr "De MyISAM controle is overgeslagen. Je kunt nu de \"overweeg titels\" en \"overweeg bijdrage\" criteria relateren."
|
52 |
|
53 |
-
#:
|
54 |
#, php-format
|
55 |
#@ yarpp
|
56 |
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."
|
57 |
msgstr "YARPP's \"Overweeg titels\" en \"overweeg bijdragen\" gerelateerdheidscriteria vereisen je <code>%s</code> tabel om de <a href='http://dev.mysql.com/doc/refman/5.0/en/storage-engines.html'>MyISAM engine</a> te gebruiken, maar de tabel lijkt de <code>%s</code> engine te gebruiken. Deze twee opties zijn uitgeschakeld."
|
58 |
|
59 |
-
#:
|
60 |
#, php-format
|
61 |
#@ yarpp
|
62 |
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."
|
63 |
msgstr "Om de mogelijkheden te herstellen, werk je <code>%s</code> tabel bij door het volgende SQL uit te voeren:<code>ALTER TABLE `%s` ENGINE = MyISAM;</code> .Er zullen geen gegevens gewist worden door de tabel-engine te wijzigen, maar er kunnen snelheidsproblemen optreden. "
|
64 |
|
65 |
-
#:
|
66 |
#, php-format
|
67 |
#@ yarpp
|
68 |
msgid "If, despite this check, you are sure that <code>%s</code> is using the MyISAM engine, press this magic button:"
|
69 |
msgstr "Als, ondanks deze controle, je zeker bent dat <code>%s</code> gebruikt maakt van de MyISAM engine, klik op de magische knop:"
|
70 |
|
71 |
-
#:
|
72 |
#@ yarpp
|
73 |
msgid "Trust me. Let me use MyISAM features."
|
74 |
msgstr "Vertrouw me. Laat mij MyISAM mogelijkheden gebruiken."
|
75 |
|
76 |
-
#:
|
77 |
#@ yarpp
|
78 |
msgid "The YARPP database had an error but has been fixed."
|
79 |
msgstr "De YARPP database had een foutje maar is hersteld."
|
80 |
|
81 |
-
#:
|
82 |
#@ yarpp
|
83 |
msgid "The YARPP database has an error which could not be fixed."
|
84 |
msgstr "De YARPP database heeft en fout die niet opgelost kon worden."
|
85 |
|
86 |
-
#:
|
87 |
#@ yarpp
|
88 |
msgid "Options saved!"
|
89 |
msgstr "Instellingen opgeslagen!"
|
@@ -118,7 +118,7 @@ msgstr "vereist meer dan een % s overeenkomstig"
|
|
118 |
msgid "consider with extra weight"
|
119 |
msgstr "overweeg met extra gewicht"
|
120 |
|
121 |
-
#:
|
122 |
#@ yarpp
|
123 |
msgid "Yet Another Related Posts Plugin Options"
|
124 |
msgstr "Yet Another Related Posts Plugin opties"
|
@@ -201,7 +201,7 @@ msgstr "Titels: "
|
|
201 |
msgid "Bodies: "
|
202 |
msgstr "Bijdragen: "
|
203 |
|
204 |
-
#:
|
205 |
#, php-format
|
206 |
#@ yarpp
|
207 |
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."
|
@@ -470,19 +470,19 @@ msgstr ""
|
|
470 |
msgid "Contact YARPP"
|
471 |
msgstr ""
|
472 |
|
473 |
-
#:
|
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 |
-
#:
|
480 |
#, php-format
|
481 |
#@ yarpp
|
482 |
msgid "Please try <a href=\"%s\" target=\"_blank\">manual SQL setup</a>."
|
483 |
msgstr ""
|
484 |
|
485 |
-
#:
|
486 |
#, php-format
|
487 |
#@ yarpp
|
488 |
msgid "by <a href=\"%s\" target=\"_blank\">mitcho (Michael 芳貴 Erlewine)</a>"
|
@@ -529,7 +529,7 @@ msgstr ""
|
|
529 |
msgid "Rate YARPP on WordPress.org"
|
530 |
msgstr ""
|
531 |
|
532 |
-
#:
|
533 |
#@ default
|
534 |
msgid "Save Changes"
|
535 |
msgstr ""
|
45 |
msgid "Related posts brought to you by <a href='%s'>Yet Another Related Posts Plugin</a>."
|
46 |
msgstr "Gerelateerde bijdragen mogelijk gemaakt door <a href='%s'>Yet Another Related Posts Plugin</a>."
|
47 |
|
48 |
+
#: yarpp_options.php:46
|
49 |
#@ yarpp
|
50 |
msgid "The MyISAM check has been overridden. You may now use the \"consider titles\" and \"consider bodies\" relatedness criteria."
|
51 |
msgstr "De MyISAM controle is overgeslagen. Je kunt nu de \"overweeg titels\" en \"overweeg bijdrage\" criteria relateren."
|
52 |
|
53 |
+
#: yarpp_options.php:54
|
54 |
#, php-format
|
55 |
#@ yarpp
|
56 |
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."
|
57 |
msgstr "YARPP's \"Overweeg titels\" en \"overweeg bijdragen\" gerelateerdheidscriteria vereisen je <code>%s</code> tabel om de <a href='http://dev.mysql.com/doc/refman/5.0/en/storage-engines.html'>MyISAM engine</a> te gebruiken, maar de tabel lijkt de <code>%s</code> engine te gebruiken. Deze twee opties zijn uitgeschakeld."
|
58 |
|
59 |
+
#: yarpp_options.php:56
|
60 |
#, php-format
|
61 |
#@ yarpp
|
62 |
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."
|
63 |
msgstr "Om de mogelijkheden te herstellen, werk je <code>%s</code> tabel bij door het volgende SQL uit te voeren:<code>ALTER TABLE `%s` ENGINE = MyISAM;</code> .Er zullen geen gegevens gewist worden door de tabel-engine te wijzigen, maar er kunnen snelheidsproblemen optreden. "
|
64 |
|
65 |
+
#: yarpp_options.php:58
|
66 |
#, php-format
|
67 |
#@ yarpp
|
68 |
msgid "If, despite this check, you are sure that <code>%s</code> is using the MyISAM engine, press this magic button:"
|
69 |
msgstr "Als, ondanks deze controle, je zeker bent dat <code>%s</code> gebruikt maakt van de MyISAM engine, klik op de magische knop:"
|
70 |
|
71 |
+
#: yarpp_options.php:61
|
72 |
#@ yarpp
|
73 |
msgid "Trust me. Let me use MyISAM features."
|
74 |
msgstr "Vertrouw me. Laat mij MyISAM mogelijkheden gebruiken."
|
75 |
|
76 |
+
#: yarpp_options.php:76
|
77 |
#@ yarpp
|
78 |
msgid "The YARPP database had an error but has been fixed."
|
79 |
msgstr "De YARPP database had een foutje maar is hersteld."
|
80 |
|
81 |
+
#: yarpp_options.php:78
|
82 |
#@ yarpp
|
83 |
msgid "The YARPP database has an error which could not be fixed."
|
84 |
msgstr "De YARPP database heeft en fout die niet opgelost kon worden."
|
85 |
|
86 |
+
#: yarpp_options.php:135
|
87 |
#@ yarpp
|
88 |
msgid "Options saved!"
|
89 |
msgstr "Instellingen opgeslagen!"
|
118 |
msgid "consider with extra weight"
|
119 |
msgstr "overweeg met extra gewicht"
|
120 |
|
121 |
+
#: yarpp_options.php:141
|
122 |
#@ yarpp
|
123 |
msgid "Yet Another Related Posts Plugin Options"
|
124 |
msgstr "Yet Another Related Posts Plugin opties"
|
201 |
msgid "Bodies: "
|
202 |
msgstr "Bijdragen: "
|
203 |
|
204 |
+
#: yarpp_options.php:38
|
205 |
#, php-format
|
206 |
#@ yarpp
|
207 |
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."
|
470 |
msgid "Contact YARPP"
|
471 |
msgstr ""
|
472 |
|
473 |
+
#: yarpp_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 |
+
#: yarpp_options.php:79
|
480 |
#, php-format
|
481 |
#@ yarpp
|
482 |
msgid "Please try <a href=\"%s\" target=\"_blank\">manual SQL setup</a>."
|
483 |
msgstr ""
|
484 |
|
485 |
+
#: yarpp_options.php:149
|
486 |
#, php-format
|
487 |
#@ yarpp
|
488 |
msgid "by <a href=\"%s\" target=\"_blank\">mitcho (Michael 芳貴 Erlewine)</a>"
|
529 |
msgid "Rate YARPP on WordPress.org"
|
530 |
msgstr ""
|
531 |
|
532 |
+
#: yarpp_options.php:178
|
533 |
#@ default
|
534 |
msgid "Save Changes"
|
535 |
msgstr ""
|
lang/yarpp-pt_BR.po
CHANGED
@@ -45,45 +45,45 @@ msgstr "%f é a pontuação do YARPP entre o artigo atual e este artigo relacion
|
|
45 |
msgid "Related posts brought to you by <a href='%s'>Yet Another Related Posts Plugin</a>."
|
46 |
msgstr "Posts relacionados trazidos a você pelo <a href='%s'>Yet Another Related Posts Plugin</a>."
|
47 |
|
48 |
-
#:
|
49 |
#@ yarpp
|
50 |
msgid "The MyISAM check has been overridden. You may now use the \"consider titles\" and \"consider bodies\" relatedness criteria."
|
51 |
msgstr "A checagem do MyISAM foi sobreescrita. Você agora pode usar os critérios de relacionamento \"considerar títulos\" e \"considerar corpos\"."
|
52 |
|
53 |
-
#:
|
54 |
#, php-format
|
55 |
#@ yarpp
|
56 |
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."
|
57 |
msgstr "Os critérios de relacionamento \"considerar títulos\" e \"considerar corpos\" do YARPP necessitam que sua tabela <code>%s</code> utilize o <a href='http://dev.mysql.com/doc/refman/5.0/en/storage-engines.html'>sistema de armazenamento MyISAM</a>, mas ela parece estar usando o mecanismo <code>%s</code>. Essas duas opções foram desabilitadas."
|
58 |
|
59 |
-
#:
|
60 |
#, php-format
|
61 |
#@ yarpp
|
62 |
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."
|
63 |
msgstr "Para restaurar esses recursos, por favor atualize sua tabela <code>%s</code> executando o seguinte comando SQL: <code>ALTER TABLE `%s` ENGINE = MyISAM;</code> . Nenhum dado será apagado na alteração do mecanismo da tabela, apesar de haver algumas implicações em performance."
|
64 |
|
65 |
-
#:
|
66 |
#, php-format
|
67 |
#@ yarpp
|
68 |
msgid "If, despite this check, you are sure that <code>%s</code> is using the MyISAM engine, press this magic button:"
|
69 |
msgstr "Se, apesar dessa checagem, você estiver certo de que a <code>%s</code> está usando o mecanismo MyISAM, aperte este botão mágico:"
|
70 |
|
71 |
-
#:
|
72 |
#@ yarpp
|
73 |
msgid "Trust me. Let me use MyISAM features."
|
74 |
msgstr "Confie em mim. Deixe-me usar recursos MyISAM."
|
75 |
|
76 |
-
#:
|
77 |
#@ yarpp
|
78 |
msgid "The YARPP database had an error but has been fixed."
|
79 |
msgstr "O banco de dados do YARPP tinha um erro mas foi corrigido."
|
80 |
|
81 |
-
#:
|
82 |
#@ yarpp
|
83 |
msgid "The YARPP database has an error which could not be fixed."
|
84 |
msgstr "O banco de dados do YARPP tinha um erro que não pôde ser corrigido."
|
85 |
|
86 |
-
#:
|
87 |
#@ yarpp
|
88 |
msgid "Options saved!"
|
89 |
msgstr "Opções salvas!"
|
@@ -136,7 +136,7 @@ msgstr "requerer mais de uma %s em comum"
|
|
136 |
msgid "consider with extra weight"
|
137 |
msgstr "considerar com peso extra"
|
138 |
|
139 |
-
#:
|
140 |
#@ yarpp
|
141 |
msgid "Yet Another Related Posts Plugin Options"
|
142 |
msgstr "Opções do Plugin Yet Another Related Posts"
|
@@ -392,17 +392,17 @@ msgstr "Exemplo de código de visualização RSS"
|
|
392 |
msgid "Before / after (excerpt):"
|
393 |
msgstr "Antes / depois (resumo):"
|
394 |
|
395 |
-
#:
|
396 |
#@ yarpp
|
397 |
msgid "Update options"
|
398 |
msgstr "Atualizar opções"
|
399 |
|
400 |
-
#:
|
401 |
#@ yarpp
|
402 |
msgid "Do you really want to reset your configuration?"
|
403 |
msgstr "Você quer mesmo redefinir sua configuração?"
|
404 |
|
405 |
-
#:
|
406 |
#@ yarpp
|
407 |
msgid "Reset options"
|
408 |
msgstr "Redefinir opções"
|
@@ -433,7 +433,7 @@ msgstr "mês(es)"
|
|
433 |
msgid "Show only posts from the past NUMBER UNITS"
|
434 |
msgstr "Mostrar posts apenas dos últimos NUMBER UNITS"
|
435 |
|
436 |
-
#:
|
437 |
#, php-format
|
438 |
#@ yarpp
|
439 |
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."
|
@@ -543,19 +543,19 @@ msgstr ""
|
|
543 |
msgid "Contact YARPP"
|
544 |
msgstr ""
|
545 |
|
546 |
-
#:
|
547 |
#, php-format
|
548 |
#@ default
|
549 |
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>."
|
550 |
msgstr ""
|
551 |
|
552 |
-
#:
|
553 |
#, php-format
|
554 |
#@ yarpp
|
555 |
msgid "Please try <a href=\"%s\" target=\"_blank\">manual SQL setup</a>."
|
556 |
msgstr ""
|
557 |
|
558 |
-
#:
|
559 |
#, php-format
|
560 |
#@ yarpp
|
561 |
msgid "by <a href=\"%s\" target=\"_blank\">mitcho (Michael 芳貴 Erlewine)</a>"
|
45 |
msgid "Related posts brought to you by <a href='%s'>Yet Another Related Posts Plugin</a>."
|
46 |
msgstr "Posts relacionados trazidos a você pelo <a href='%s'>Yet Another Related Posts Plugin</a>."
|
47 |
|
48 |
+
#: yarpp_options.php:54
|
49 |
#@ yarpp
|
50 |
msgid "The MyISAM check has been overridden. You may now use the \"consider titles\" and \"consider bodies\" relatedness criteria."
|
51 |
msgstr "A checagem do MyISAM foi sobreescrita. Você agora pode usar os critérios de relacionamento \"considerar títulos\" e \"considerar corpos\"."
|
52 |
|
53 |
+
#: yarpp_options.php:63
|
54 |
#, php-format
|
55 |
#@ yarpp
|
56 |
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."
|
57 |
msgstr "Os critérios de relacionamento \"considerar títulos\" e \"considerar corpos\" do YARPP necessitam que sua tabela <code>%s</code> utilize o <a href='http://dev.mysql.com/doc/refman/5.0/en/storage-engines.html'>sistema de armazenamento MyISAM</a>, mas ela parece estar usando o mecanismo <code>%s</code>. Essas duas opções foram desabilitadas."
|
58 |
|
59 |
+
#: yarpp_options.php:65
|
60 |
#, php-format
|
61 |
#@ yarpp
|
62 |
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."
|
63 |
msgstr "Para restaurar esses recursos, por favor atualize sua tabela <code>%s</code> executando o seguinte comando SQL: <code>ALTER TABLE `%s` ENGINE = MyISAM;</code> . Nenhum dado será apagado na alteração do mecanismo da tabela, apesar de haver algumas implicações em performance."
|
64 |
|
65 |
+
#: yarpp_options.php:67
|
66 |
#, php-format
|
67 |
#@ yarpp
|
68 |
msgid "If, despite this check, you are sure that <code>%s</code> is using the MyISAM engine, press this magic button:"
|
69 |
msgstr "Se, apesar dessa checagem, você estiver certo de que a <code>%s</code> está usando o mecanismo MyISAM, aperte este botão mágico:"
|
70 |
|
71 |
+
#: yarpp_options.php:70
|
72 |
#@ yarpp
|
73 |
msgid "Trust me. Let me use MyISAM features."
|
74 |
msgstr "Confie em mim. Deixe-me usar recursos MyISAM."
|
75 |
|
76 |
+
#: yarpp_options.php:83
|
77 |
#@ yarpp
|
78 |
msgid "The YARPP database had an error but has been fixed."
|
79 |
msgstr "O banco de dados do YARPP tinha um erro mas foi corrigido."
|
80 |
|
81 |
+
#: yarpp_options.php:85
|
82 |
#@ yarpp
|
83 |
msgid "The YARPP database has an error which could not be fixed."
|
84 |
msgstr "O banco de dados do YARPP tinha um erro que não pôde ser corrigido."
|
85 |
|
86 |
+
#: yarpp_options.php:114
|
87 |
#@ yarpp
|
88 |
msgid "Options saved!"
|
89 |
msgstr "Opções salvas!"
|
136 |
msgid "consider with extra weight"
|
137 |
msgstr "considerar com peso extra"
|
138 |
|
139 |
+
#: yarpp_options.php:178
|
140 |
#@ yarpp
|
141 |
msgid "Yet Another Related Posts Plugin Options"
|
142 |
msgstr "Opções do Plugin Yet Another Related Posts"
|
392 |
msgid "Before / after (excerpt):"
|
393 |
msgstr "Antes / depois (resumo):"
|
394 |
|
395 |
+
#: yarpp_options.php:279
|
396 |
#@ yarpp
|
397 |
msgid "Update options"
|
398 |
msgstr "Atualizar opções"
|
399 |
|
400 |
+
#: yarpp_options.php:280
|
401 |
#@ yarpp
|
402 |
msgid "Do you really want to reset your configuration?"
|
403 |
msgstr "Você quer mesmo redefinir sua configuração?"
|
404 |
|
405 |
+
#: yarpp_options.php:280
|
406 |
#@ yarpp
|
407 |
msgid "Reset options"
|
408 |
msgstr "Redefinir opções"
|
433 |
msgid "Show only posts from the past NUMBER UNITS"
|
434 |
msgstr "Mostrar posts apenas dos últimos NUMBER UNITS"
|
435 |
|
436 |
+
#: yarpp_options.php:46
|
437 |
#, php-format
|
438 |
#@ yarpp
|
439 |
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."
|
543 |
msgid "Contact YARPP"
|
544 |
msgstr ""
|
545 |
|
546 |
+
#: yarpp_options.php:42
|
547 |
#, php-format
|
548 |
#@ default
|
549 |
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>."
|
550 |
msgstr ""
|
551 |
|
552 |
+
#: yarpp_options.php:86
|
553 |
#, php-format
|
554 |
#@ yarpp
|
555 |
msgid "Please try <a href=\"%s\" target=\"_blank\">manual SQL setup</a>."
|
556 |
msgstr ""
|
557 |
|
558 |
+
#: yarpp_options.php:188
|
559 |
#, php-format
|
560 |
#@ yarpp
|
561 |
msgid "by <a href=\"%s\" target=\"_blank\">mitcho (Michael 芳貴 Erlewine)</a>"
|
lang/yarpp-pt_PT.po
CHANGED
@@ -45,40 +45,40 @@ msgstr "%f é a concordância determinada pelo YARPP entre este artigo e o artig
|
|
45 |
msgid "Related posts brought to you by <a href='%s'>Yet Another Related Posts Plugin</a>."
|
46 |
msgstr "Artigos parecidos fornecidos por <a href='%s'>Yet Another Related Posts Plugin</a>."
|
47 |
|
48 |
-
#:
|
49 |
#@ yarpp
|
50 |
msgid "The MyISAM check has been overridden. You may now use the \"consider titles\" and \"consider bodies\" relatedness criteria."
|
51 |
msgstr "O MyISAM-Check foi suspenso. Pode agora utilizar \"consider titles\" e \"consider bodies\" como critério de relevância."
|
52 |
|
53 |
-
#:
|
54 |
#, php-format
|
55 |
#@ yarpp
|
56 |
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."
|
57 |
msgstr "YARPPs \"consider titles\" und \"consider bodies\" Os critérios \"consider titles\" und \"consider bodies\" de relevância da YARPP requerem que a sua tabela <code>%s</code> utilize a <a href='http://dev.mysql.com/doc/refman/5.0/en/storage-engines.html'>MyISAM Storage Engine</a>, mas a tabela parece utilizar a <code>%s</code>-Engine. As duas opções foram desactivadas."
|
58 |
|
59 |
-
#:
|
60 |
#, php-format
|
61 |
#@ yarpp
|
62 |
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."
|
63 |
msgstr "Para reactivar esta função, execute o código <code>%s</code> com o comando SQL: <code>ALTER TABLE `%s` ENGINE = MyISAM;</code>."
|
64 |
|
65 |
-
#:
|
66 |
#, php-format
|
67 |
#@ yarpp
|
68 |
msgid "If, despite this check, you are sure that <code>%s</code> is using the MyISAM engine, press this magic button:"
|
69 |
msgstr "Se, mesmo depois desta verificação, tiver a certeza de que <code>%s</code> utiliza a MyISAM-Engine, clique no botão mágico:"
|
70 |
|
71 |
-
#:
|
72 |
#@ yarpp
|
73 |
msgid "Trust me. Let me use MyISAM features."
|
74 |
msgstr "Acredite em mim. Deixe-me usar as MyISAM-Features."
|
75 |
|
76 |
-
#:
|
77 |
#@ yarpp
|
78 |
msgid "The YARPP database had an error but has been fixed."
|
79 |
msgstr "Ocorreu um erro na base de dados da YARPP que pode contudo ser corrigido."
|
80 |
|
81 |
-
#:
|
82 |
#@ yarpp
|
83 |
msgid "The YARPP database has an error which could not be fixed."
|
84 |
msgstr "Ocorreu um erro na base de dados da YARPP que não pode ser corrigido."
|
@@ -102,7 +102,7 @@ msgstr "ter em conta"
|
|
102 |
msgid "consider with extra weight"
|
103 |
msgstr "ter especialmente em conta"
|
104 |
|
105 |
-
#:
|
106 |
#@ yarpp
|
107 |
msgid "Yet Another Related Posts Plugin Options"
|
108 |
msgstr "Opções da YARPP"
|
@@ -382,7 +382,7 @@ msgstr "pelo menos igual a %s"
|
|
382 |
msgid "require more than one %s in common"
|
383 |
msgstr "mais do que igual a %s"
|
384 |
|
385 |
-
#:
|
386 |
#@ yarpp
|
387 |
msgid "Options saved!"
|
388 |
msgstr "Opções gravadas!"
|
@@ -392,17 +392,17 @@ msgstr "Opções gravadas!"
|
|
392 |
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."
|
393 |
msgstr ""
|
394 |
|
395 |
-
#:
|
396 |
#@ yarpp
|
397 |
msgid "Update options"
|
398 |
msgstr "Actualizar opções"
|
399 |
|
400 |
-
#:
|
401 |
#@ yarpp
|
402 |
msgid "Do you really want to reset your configuration?"
|
403 |
msgstr "Deseja mesmo reverter as opções?"
|
404 |
|
405 |
-
#:
|
406 |
#@ yarpp
|
407 |
msgid "Reset options"
|
408 |
msgstr "Reverter opções"
|
@@ -447,7 +447,7 @@ msgstr ""
|
|
447 |
msgid "Show only posts from the past NUMBER UNITS"
|
448 |
msgstr ""
|
449 |
|
450 |
-
#:
|
451 |
#, php-format
|
452 |
#@ yarpp
|
453 |
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."
|
@@ -543,19 +543,19 @@ msgstr ""
|
|
543 |
msgid "Contact YARPP"
|
544 |
msgstr ""
|
545 |
|
546 |
-
#:
|
547 |
#, php-format
|
548 |
#@ default
|
549 |
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>."
|
550 |
msgstr ""
|
551 |
|
552 |
-
#:
|
553 |
#, php-format
|
554 |
#@ yarpp
|
555 |
msgid "Please try <a href=\"%s\" target=\"_blank\">manual SQL setup</a>."
|
556 |
msgstr ""
|
557 |
|
558 |
-
#:
|
559 |
#, php-format
|
560 |
#@ yarpp
|
561 |
msgid "by <a href=\"%s\" target=\"_blank\">mitcho (Michael 芳貴 Erlewine)</a>"
|
45 |
msgid "Related posts brought to you by <a href='%s'>Yet Another Related Posts Plugin</a>."
|
46 |
msgstr "Artigos parecidos fornecidos por <a href='%s'>Yet Another Related Posts Plugin</a>."
|
47 |
|
48 |
+
#: yarpp_options.php:54
|
49 |
#@ yarpp
|
50 |
msgid "The MyISAM check has been overridden. You may now use the \"consider titles\" and \"consider bodies\" relatedness criteria."
|
51 |
msgstr "O MyISAM-Check foi suspenso. Pode agora utilizar \"consider titles\" e \"consider bodies\" como critério de relevância."
|
52 |
|
53 |
+
#: yarpp_options.php:63
|
54 |
#, php-format
|
55 |
#@ yarpp
|
56 |
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."
|
57 |
msgstr "YARPPs \"consider titles\" und \"consider bodies\" Os critérios \"consider titles\" und \"consider bodies\" de relevância da YARPP requerem que a sua tabela <code>%s</code> utilize a <a href='http://dev.mysql.com/doc/refman/5.0/en/storage-engines.html'>MyISAM Storage Engine</a>, mas a tabela parece utilizar a <code>%s</code>-Engine. As duas opções foram desactivadas."
|
58 |
|
59 |
+
#: yarpp_options.php:65
|
60 |
#, php-format
|
61 |
#@ yarpp
|
62 |
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."
|
63 |
msgstr "Para reactivar esta função, execute o código <code>%s</code> com o comando SQL: <code>ALTER TABLE `%s` ENGINE = MyISAM;</code>."
|
64 |
|
65 |
+
#: yarpp_options.php:67
|
66 |
#, php-format
|
67 |
#@ yarpp
|
68 |
msgid "If, despite this check, you are sure that <code>%s</code> is using the MyISAM engine, press this magic button:"
|
69 |
msgstr "Se, mesmo depois desta verificação, tiver a certeza de que <code>%s</code> utiliza a MyISAM-Engine, clique no botão mágico:"
|
70 |
|
71 |
+
#: yarpp_options.php:70
|
72 |
#@ yarpp
|
73 |
msgid "Trust me. Let me use MyISAM features."
|
74 |
msgstr "Acredite em mim. Deixe-me usar as MyISAM-Features."
|
75 |
|
76 |
+
#: yarpp_options.php:83
|
77 |
#@ yarpp
|
78 |
msgid "The YARPP database had an error but has been fixed."
|
79 |
msgstr "Ocorreu um erro na base de dados da YARPP que pode contudo ser corrigido."
|
80 |
|
81 |
+
#: yarpp_options.php:85
|
82 |
#@ yarpp
|
83 |
msgid "The YARPP database has an error which could not be fixed."
|
84 |
msgstr "Ocorreu um erro na base de dados da YARPP que não pode ser corrigido."
|
102 |
msgid "consider with extra weight"
|
103 |
msgstr "ter especialmente em conta"
|
104 |
|
105 |
+
#: yarpp_options.php:178
|
106 |
#@ yarpp
|
107 |
msgid "Yet Another Related Posts Plugin Options"
|
108 |
msgstr "Opções da YARPP"
|
382 |
msgid "require more than one %s in common"
|
383 |
msgstr "mais do que igual a %s"
|
384 |
|
385 |
+
#: yarpp_options.php:114
|
386 |
#@ yarpp
|
387 |
msgid "Options saved!"
|
388 |
msgstr "Opções gravadas!"
|
392 |
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."
|
393 |
msgstr ""
|
394 |
|
395 |
+
#: yarpp_options.php:279
|
396 |
#@ yarpp
|
397 |
msgid "Update options"
|
398 |
msgstr "Actualizar opções"
|
399 |
|
400 |
+
#: yarpp_options.php:280
|
401 |
#@ yarpp
|
402 |
msgid "Do you really want to reset your configuration?"
|
403 |
msgstr "Deseja mesmo reverter as opções?"
|
404 |
|
405 |
+
#: yarpp_options.php:280
|
406 |
#@ yarpp
|
407 |
msgid "Reset options"
|
408 |
msgstr "Reverter opções"
|
447 |
msgid "Show only posts from the past NUMBER UNITS"
|
448 |
msgstr ""
|
449 |
|
450 |
+
#: yarpp_options.php:46
|
451 |
#, php-format
|
452 |
#@ yarpp
|
453 |
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."
|
543 |
msgid "Contact YARPP"
|
544 |
msgstr ""
|
545 |
|
546 |
+
#: yarpp_options.php:42
|
547 |
#, php-format
|
548 |
#@ default
|
549 |
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>."
|
550 |
msgstr ""
|
551 |
|
552 |
+
#: yarpp_options.php:86
|
553 |
#, php-format
|
554 |
#@ yarpp
|
555 |
msgid "Please try <a href=\"%s\" target=\"_blank\">manual SQL setup</a>."
|
556 |
msgstr ""
|
557 |
|
558 |
+
#: yarpp_options.php:188
|
559 |
#, php-format
|
560 |
#@ yarpp
|
561 |
msgid "by <a href=\"%s\" target=\"_blank\">mitcho (Michael 芳貴 Erlewine)</a>"
|
lang/yarpp-ro_RO.po
CHANGED
@@ -45,40 +45,40 @@ msgid "Related posts brought to you by <a href='%s'>Yet Another Related Posts Pl
|
|
45 |
msgstr "Lista de posturi similare este prezentată de plugin-ul <a href='%s'>Yet Another Related Posts Plugin</a>."
|
46 |
|
47 |
#@ yarpp
|
48 |
-
#:
|
49 |
msgid "The MyISAM check has been overridden. You may now use the \"consider titles\" and \"consider bodies\" relatedness criteria."
|
50 |
msgstr "Verificarea MyISAM a fost efectuată. Acum puteți utiliza criteriile de similaritate \"consider titles\" și \"consider bodies\"."
|
51 |
|
52 |
#@ yarpp
|
53 |
-
#:
|
54 |
#, php-format
|
55 |
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."
|
56 |
msgstr "Utilizarea funcțiilor YARPP \"consider titles\" și \"consider bodies\" necesită, ca tabelul dvs. <code>%s</code> să utilizeze motorul <a href='http://dev.mysql.com/doc/refman/5.0/en/storage-engines.html'>MyISAM</a>, însă, probabil că tabelul utilizează motorul <code>%s</code>. Aceste două funcții sunt dezactivate."
|
57 |
|
58 |
#@ yarpp
|
59 |
-
#:
|
60 |
#, fuzzy, php-format, php-format
|
61 |
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."
|
62 |
msgstr " Pentru a restabili aceste funcţii, vă rugăm să modificaţi tabelul <code>%s</code> cu următoarea instrucțiune SQL e : <code>ALTER TABLE `%s` ENGINE = MyISAM;</code>. La schimbarea tabelului datele nu ar trebui să dispară, dar, cu toate acestea, pot apărea diferite posibile consecințe."
|
63 |
|
64 |
#@ yarpp
|
65 |
-
#:
|
66 |
#, php-format
|
67 |
msgid "If, despite this check, you are sure that <code>%s</code> is using the MyISAM engine, press this magic button:"
|
68 |
msgstr " În cazul în care, indiferent de această opţiune, sunteţi sigur că tabelul <code>%s</code> utilizează MyISAM, faceţi clic pe acest buton magic:"
|
69 |
|
70 |
#@ yarpp
|
71 |
-
#:
|
72 |
msgid "Trust me. Let me use MyISAM features."
|
73 |
msgstr " Aveți încredere în mine. Permiteţi-mi de a utiliza MyISAM."
|
74 |
|
75 |
#@ yarpp
|
76 |
-
#:
|
77 |
msgid "The YARPP database had an error but has been fixed."
|
78 |
msgstr "Baza de date YARPP coonținea erori, dar acestea au fost corectate."
|
79 |
|
80 |
#@ yarpp
|
81 |
-
#:
|
82 |
msgid "The YARPP database has an error which could not be fixed."
|
83 |
msgstr "Baza de date YARPP conține o eroare, care nu poate fi corectată."
|
84 |
|
@@ -102,7 +102,7 @@ msgid "consider with extra weight"
|
|
102 |
msgstr " a lua în considerare cu greutate suplimentară "
|
103 |
|
104 |
#@ yarpp
|
105 |
-
#:
|
106 |
msgid "Yet Another Related Posts Plugin Options"
|
107 |
msgstr "Opțiuni YARPP"
|
108 |
|
@@ -382,7 +382,7 @@ msgid "require more than one %s in common"
|
|
382 |
msgstr "mai mult de unul %s trebuie să fie comun"
|
383 |
|
384 |
#@ yarpp
|
385 |
-
#:
|
386 |
msgid "Options saved!"
|
387 |
msgstr "Opțiuni salvate!"
|
388 |
|
@@ -392,17 +392,17 @@ msgid "The higher the match threshold, the more restrictive, and you get less re
|
|
392 |
msgstr "Cu cât e mai mare pragul de similitudine, cu atât e mai strictă proba, și în final vor fi primite mai puține rezultate. Pragul defult este de5. Dacă doriţi să găsiţi praguri acceptabile, experimentați cu mai multe posturi. Astfel veți putea vedea ce tipuri de posturi aferente vin ți care sunt valorile similare, care pot determina un nivel acceptabil pentru site-ul dvs."
|
393 |
|
394 |
#@ yarpp
|
395 |
-
#:
|
396 |
msgid "Update options"
|
397 |
msgstr "Modificare opțiuni"
|
398 |
|
399 |
#@ yarpp
|
400 |
-
#:
|
401 |
msgid "Do you really want to reset your configuration?"
|
402 |
msgstr "Sunteți sigur că doriți să resetați configurațiile dvs.?"
|
403 |
|
404 |
#@ yarpp
|
405 |
-
#:
|
406 |
msgid "Reset options"
|
407 |
msgstr "Resetare opțiuni"
|
408 |
|
@@ -433,7 +433,7 @@ msgid "Show only posts from the past NUMBER UNITS"
|
|
433 |
msgstr " Afişare posturi doar în ultimul NUMBER UNITS"
|
434 |
|
435 |
#@ yarpp
|
436 |
-
#:
|
437 |
#, php-format
|
438 |
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."
|
439 |
msgstr "Aceasta este noua beta (%s) plugin YARPP. Puteți să o <a href=\"%s\">descărcați aici</a> pe propriul risc."
|
@@ -543,19 +543,19 @@ msgid "Contact YARPP"
|
|
543 |
msgstr "Contact YARPP "
|
544 |
|
545 |
#@ default
|
546 |
-
#:
|
547 |
#, php-format
|
548 |
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>."
|
549 |
msgstr " Aceasta e o nouă versiune a %1$s valabilă.<a href=\"%2$s\" class=\"thickbox\" title=\"%3$s\">Vezi versiunea %4$s detalii</a> sau<a href=\"%5$s\">actualizare automată</a>."
|
550 |
|
551 |
#@ yarpp
|
552 |
-
#:
|
553 |
#, php-format
|
554 |
msgid "Please try <a href=\"%s\" target=\"_blank\">manual SQL setup</a>."
|
555 |
msgstr " Vă rugăm să încercaţi <a href=\"%s\" target=\"_blank\">manual SQL setup</a>."
|
556 |
|
557 |
#@ yarpp
|
558 |
-
#:
|
559 |
#, php-format
|
560 |
msgid "by <a href=\"%s\" target=\"_blank\">mitcho (Michael 芳貴 Erlewine)</a>"
|
561 |
msgstr "de <a href=\"%s\" target=\"_blank\">mitcho (Michael 芳貴 Erlewine)</a>"
|
45 |
msgstr "Lista de posturi similare este prezentată de plugin-ul <a href='%s'>Yet Another Related Posts Plugin</a>."
|
46 |
|
47 |
#@ yarpp
|
48 |
+
#: yarpp_options.php:54
|
49 |
msgid "The MyISAM check has been overridden. You may now use the \"consider titles\" and \"consider bodies\" relatedness criteria."
|
50 |
msgstr "Verificarea MyISAM a fost efectuată. Acum puteți utiliza criteriile de similaritate \"consider titles\" și \"consider bodies\"."
|
51 |
|
52 |
#@ yarpp
|
53 |
+
#: yarpp_options.php:63
|
54 |
#, php-format
|
55 |
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."
|
56 |
msgstr "Utilizarea funcțiilor YARPP \"consider titles\" și \"consider bodies\" necesită, ca tabelul dvs. <code>%s</code> să utilizeze motorul <a href='http://dev.mysql.com/doc/refman/5.0/en/storage-engines.html'>MyISAM</a>, însă, probabil că tabelul utilizează motorul <code>%s</code>. Aceste două funcții sunt dezactivate."
|
57 |
|
58 |
#@ yarpp
|
59 |
+
#: yarpp_options.php:65
|
60 |
#, fuzzy, php-format, php-format
|
61 |
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."
|
62 |
msgstr " Pentru a restabili aceste funcţii, vă rugăm să modificaţi tabelul <code>%s</code> cu următoarea instrucțiune SQL e : <code>ALTER TABLE `%s` ENGINE = MyISAM;</code>. La schimbarea tabelului datele nu ar trebui să dispară, dar, cu toate acestea, pot apărea diferite posibile consecințe."
|
63 |
|
64 |
#@ yarpp
|
65 |
+
#: yarpp_options.php:67
|
66 |
#, php-format
|
67 |
msgid "If, despite this check, you are sure that <code>%s</code> is using the MyISAM engine, press this magic button:"
|
68 |
msgstr " În cazul în care, indiferent de această opţiune, sunteţi sigur că tabelul <code>%s</code> utilizează MyISAM, faceţi clic pe acest buton magic:"
|
69 |
|
70 |
#@ yarpp
|
71 |
+
#: yarpp_options.php:70
|
72 |
msgid "Trust me. Let me use MyISAM features."
|
73 |
msgstr " Aveți încredere în mine. Permiteţi-mi de a utiliza MyISAM."
|
74 |
|
75 |
#@ yarpp
|
76 |
+
#: yarpp_options.php:83
|
77 |
msgid "The YARPP database had an error but has been fixed."
|
78 |
msgstr "Baza de date YARPP coonținea erori, dar acestea au fost corectate."
|
79 |
|
80 |
#@ yarpp
|
81 |
+
#: yarpp_options.php:85
|
82 |
msgid "The YARPP database has an error which could not be fixed."
|
83 |
msgstr "Baza de date YARPP conține o eroare, care nu poate fi corectată."
|
84 |
|
102 |
msgstr " a lua în considerare cu greutate suplimentară "
|
103 |
|
104 |
#@ yarpp
|
105 |
+
#: yarpp_options.php:178
|
106 |
msgid "Yet Another Related Posts Plugin Options"
|
107 |
msgstr "Opțiuni YARPP"
|
108 |
|
382 |
msgstr "mai mult de unul %s trebuie să fie comun"
|
383 |
|
384 |
#@ yarpp
|
385 |
+
#: yarpp_options.php:114
|
386 |
msgid "Options saved!"
|
387 |
msgstr "Opțiuni salvate!"
|
388 |
|
392 |
msgstr "Cu cât e mai mare pragul de similitudine, cu atât e mai strictă proba, și în final vor fi primite mai puține rezultate. Pragul defult este de5. Dacă doriţi să găsiţi praguri acceptabile, experimentați cu mai multe posturi. Astfel veți putea vedea ce tipuri de posturi aferente vin ți care sunt valorile similare, care pot determina un nivel acceptabil pentru site-ul dvs."
|
393 |
|
394 |
#@ yarpp
|
395 |
+
#: yarpp_options.php:279
|
396 |
msgid "Update options"
|
397 |
msgstr "Modificare opțiuni"
|
398 |
|
399 |
#@ yarpp
|
400 |
+
#: yarpp_options.php:280
|
401 |
msgid "Do you really want to reset your configuration?"
|
402 |
msgstr "Sunteți sigur că doriți să resetați configurațiile dvs.?"
|
403 |
|
404 |
#@ yarpp
|
405 |
+
#: yarpp_options.php:280
|
406 |
msgid "Reset options"
|
407 |
msgstr "Resetare opțiuni"
|
408 |
|
433 |
msgstr " Afişare posturi doar în ultimul NUMBER UNITS"
|
434 |
|
435 |
#@ yarpp
|
436 |
+
#: yarpp_options.php:46
|
437 |
#, php-format
|
438 |
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."
|
439 |
msgstr "Aceasta este noua beta (%s) plugin YARPP. Puteți să o <a href=\"%s\">descărcați aici</a> pe propriul risc."
|
543 |
msgstr "Contact YARPP "
|
544 |
|
545 |
#@ default
|
546 |
+
#: yarpp_options.php:42
|
547 |
#, php-format
|
548 |
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>."
|
549 |
msgstr " Aceasta e o nouă versiune a %1$s valabilă.<a href=\"%2$s\" class=\"thickbox\" title=\"%3$s\">Vezi versiunea %4$s detalii</a> sau<a href=\"%5$s\">actualizare automată</a>."
|
550 |
|
551 |
#@ yarpp
|
552 |
+
#: yarpp_options.php:86
|
553 |
#, php-format
|
554 |
msgid "Please try <a href=\"%s\" target=\"_blank\">manual SQL setup</a>."
|
555 |
msgstr " Vă rugăm să încercaţi <a href=\"%s\" target=\"_blank\">manual SQL setup</a>."
|
556 |
|
557 |
#@ yarpp
|
558 |
+
#: yarpp_options.php:188
|
559 |
#, php-format
|
560 |
msgid "by <a href=\"%s\" target=\"_blank\">mitcho (Michael 芳貴 Erlewine)</a>"
|
561 |
msgstr "de <a href=\"%s\" target=\"_blank\">mitcho (Michael 芳貴 Erlewine)</a>"
|
lang/yarpp-ru_RU.po
CHANGED
@@ -45,40 +45,40 @@ msgstr "%f - это коэффициэнт \"похожести\" текущго
|
|
45 |
msgid "Related posts brought to you by <a href='%s'>Yet Another Related Posts Plugin</a>."
|
46 |
msgstr "Список похожих постов предоставлен вам плагином <a href='%s'>YARPP</a>."
|
47 |
|
48 |
-
#:
|
49 |
#@ yarpp
|
50 |
msgid "The MyISAM check has been overridden. You may now use the \"consider titles\" and \"consider bodies\" relatedness criteria."
|
51 |
msgstr "Проверка MyISAM была выполнена. Теперь вы можете использовать критерии похожести “Рассматривать заголовки” и “Рассмотривать текст”."
|
52 |
|
53 |
-
#:
|
54 |
#, php-format
|
55 |
#@ yarpp
|
56 |
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."
|
57 |
msgstr "Использование опций YARPP “Рассматривать заголовки” и “Рассматривать текст” требует, чтобы ваша таблица <code>%s</code> использовала движок <a href='http://dev.mysql.com/doc/refman/5.0/en/storage-engines.html'>MyISAM</a>, но таблица видимо использует движок <code>%s</code>. Эти две опции отключены."
|
58 |
|
59 |
-
#:
|
60 |
#, fuzzy, php-format, php-format
|
61 |
#@ yarpp
|
62 |
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."
|
63 |
msgstr "Для восстановления этих опций, пожалуйста, измените вашу таблицу <code>%s</code>следующей SQL инструкцией e : <code>ALTER TABLE `%s` ENGINE = MyISAM;</code><br />При изменении таблицы данные не должны пропасть, однако возможны последствия."
|
64 |
|
65 |
-
#:
|
66 |
#, php-format
|
67 |
#@ yarpp
|
68 |
msgid "If, despite this check, you are sure that <code>%s</code> is using the MyISAM engine, press this magic button:"
|
69 |
msgstr "Если, независимо от этой опции, вы уверены что таблица <code>%s</code> использует MyISAM, нажмите на эту волшебную кнопку :"
|
70 |
|
71 |
-
#:
|
72 |
#@ yarpp
|
73 |
msgid "Trust me. Let me use MyISAM features."
|
74 |
msgstr "Поверьте мне. Позвольте мне использовать MyISAM."
|
75 |
|
76 |
-
#:
|
77 |
#@ yarpp
|
78 |
msgid "The YARPP database had an error but has been fixed."
|
79 |
msgstr "База данных YARPP содержала ошибки, но они были исправлены."
|
80 |
|
81 |
-
#:
|
82 |
#@ yarpp
|
83 |
msgid "The YARPP database has an error which could not be fixed."
|
84 |
msgstr "База данных YARPP содержит ошибку, которая не может быть исправлена."
|
@@ -102,7 +102,7 @@ msgstr "рассматривать"
|
|
102 |
msgid "consider with extra weight"
|
103 |
msgstr "рассматривать с дополнительным весом"
|
104 |
|
105 |
-
#:
|
106 |
#@ yarpp
|
107 |
msgid "Yet Another Related Posts Plugin Options"
|
108 |
msgstr "Опции YARPP"
|
@@ -382,7 +382,7 @@ msgstr "хотя бы один \"%s\" должен быть общим"
|
|
382 |
msgid "require more than one %s in common"
|
383 |
msgstr "более одного \"%s\" должно быть общим"
|
384 |
|
385 |
-
#:
|
386 |
#@ yarpp
|
387 |
msgid "Options saved!"
|
388 |
msgstr "Настройки сохранены!"
|
@@ -392,17 +392,17 @@ msgstr "Настройки сохранены!"
|
|
392 |
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."
|
393 |
msgstr "Чем выше порог похожести, тем строже выборка, и тем меньше получите записей на выходе. По-умолчанию порог равен 5. Если хотите найти приемлимые пороговые значения, поэкспериментируйте с несколькими сообщениями. Вы сможете увидеть, какие сообщения выходят наверх и какие у них значения схожести, по которым можно определить приемлимый уровень для вашего сайта."
|
394 |
|
395 |
-
#:
|
396 |
#@ yarpp
|
397 |
msgid "Update options"
|
398 |
msgstr "Изменить настройки"
|
399 |
|
400 |
-
#:
|
401 |
#@ yarpp
|
402 |
msgid "Do you really want to reset your configuration?"
|
403 |
msgstr "Вы действительно хотите сбросить ваши настройки?"
|
404 |
|
405 |
-
#:
|
406 |
#@ yarpp
|
407 |
msgid "Reset options"
|
408 |
msgstr "Сбросить настройки"
|
@@ -433,7 +433,7 @@ msgstr "лет"
|
|
433 |
msgid "Show only posts from the past NUMBER UNITS"
|
434 |
msgstr "Показывать только посты за последние NUMBER UNITS"
|
435 |
|
436 |
-
#:
|
437 |
#, php-format
|
438 |
#@ yarpp
|
439 |
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."
|
@@ -543,19 +543,19 @@ msgstr ""
|
|
543 |
msgid "Contact YARPP"
|
544 |
msgstr ""
|
545 |
|
546 |
-
#:
|
547 |
#, php-format
|
548 |
#@ default
|
549 |
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>."
|
550 |
msgstr ""
|
551 |
|
552 |
-
#:
|
553 |
#, php-format
|
554 |
#@ yarpp
|
555 |
msgid "Please try <a href=\"%s\" target=\"_blank\">manual SQL setup</a>."
|
556 |
msgstr ""
|
557 |
|
558 |
-
#:
|
559 |
#, php-format
|
560 |
#@ yarpp
|
561 |
msgid "by <a href=\"%s\" target=\"_blank\">mitcho (Michael 芳貴 Erlewine)</a>"
|
45 |
msgid "Related posts brought to you by <a href='%s'>Yet Another Related Posts Plugin</a>."
|
46 |
msgstr "Список похожих постов предоставлен вам плагином <a href='%s'>YARPP</a>."
|
47 |
|
48 |
+
#: yarpp_options.php:54
|
49 |
#@ yarpp
|
50 |
msgid "The MyISAM check has been overridden. You may now use the \"consider titles\" and \"consider bodies\" relatedness criteria."
|
51 |
msgstr "Проверка MyISAM была выполнена. Теперь вы можете использовать критерии похожести “Рассматривать заголовки” и “Рассмотривать текст”."
|
52 |
|
53 |
+
#: yarpp_options.php:63
|
54 |
#, php-format
|
55 |
#@ yarpp
|
56 |
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."
|
57 |
msgstr "Использование опций YARPP “Рассматривать заголовки” и “Рассматривать текст” требует, чтобы ваша таблица <code>%s</code> использовала движок <a href='http://dev.mysql.com/doc/refman/5.0/en/storage-engines.html'>MyISAM</a>, но таблица видимо использует движок <code>%s</code>. Эти две опции отключены."
|
58 |
|
59 |
+
#: yarpp_options.php:65
|
60 |
#, fuzzy, php-format, php-format
|
61 |
#@ yarpp
|
62 |
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."
|
63 |
msgstr "Для восстановления этих опций, пожалуйста, измените вашу таблицу <code>%s</code>следующей SQL инструкцией e : <code>ALTER TABLE `%s` ENGINE = MyISAM;</code><br />При изменении таблицы данные не должны пропасть, однако возможны последствия."
|
64 |
|
65 |
+
#: yarpp_options.php:67
|
66 |
#, php-format
|
67 |
#@ yarpp
|
68 |
msgid "If, despite this check, you are sure that <code>%s</code> is using the MyISAM engine, press this magic button:"
|
69 |
msgstr "Если, независимо от этой опции, вы уверены что таблица <code>%s</code> использует MyISAM, нажмите на эту волшебную кнопку :"
|
70 |
|
71 |
+
#: yarpp_options.php:70
|
72 |
#@ yarpp
|
73 |
msgid "Trust me. Let me use MyISAM features."
|
74 |
msgstr "Поверьте мне. Позвольте мне использовать MyISAM."
|
75 |
|
76 |
+
#: yarpp_options.php:83
|
77 |
#@ yarpp
|
78 |
msgid "The YARPP database had an error but has been fixed."
|
79 |
msgstr "База данных YARPP содержала ошибки, но они были исправлены."
|
80 |
|
81 |
+
#: yarpp_options.php:85
|
82 |
#@ yarpp
|
83 |
msgid "The YARPP database has an error which could not be fixed."
|
84 |
msgstr "База данных YARPP содержит ошибку, которая не может быть исправлена."
|
102 |
msgid "consider with extra weight"
|
103 |
msgstr "рассматривать с дополнительным весом"
|
104 |
|
105 |
+
#: yarpp_options.php:178
|
106 |
#@ yarpp
|
107 |
msgid "Yet Another Related Posts Plugin Options"
|
108 |
msgstr "Опции YARPP"
|
382 |
msgid "require more than one %s in common"
|
383 |
msgstr "более одного \"%s\" должно быть общим"
|
384 |
|
385 |
+
#: yarpp_options.php:114
|
386 |
#@ yarpp
|
387 |
msgid "Options saved!"
|
388 |
msgstr "Настройки сохранены!"
|
392 |
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."
|
393 |
msgstr "Чем выше порог похожести, тем строже выборка, и тем меньше получите записей на выходе. По-умолчанию порог равен 5. Если хотите найти приемлимые пороговые значения, поэкспериментируйте с несколькими сообщениями. Вы сможете увидеть, какие сообщения выходят наверх и какие у них значения схожести, по которым можно определить приемлимый уровень для вашего сайта."
|
394 |
|
395 |
+
#: yarpp_options.php:279
|
396 |
#@ yarpp
|
397 |
msgid "Update options"
|
398 |
msgstr "Изменить настройки"
|
399 |
|
400 |
+
#: yarpp_options.php:280
|
401 |
#@ yarpp
|
402 |
msgid "Do you really want to reset your configuration?"
|
403 |
msgstr "Вы действительно хотите сбросить ваши настройки?"
|
404 |
|
405 |
+
#: yarpp_options.php:280
|
406 |
#@ yarpp
|
407 |
msgid "Reset options"
|
408 |
msgstr "Сбросить настройки"
|
433 |
msgid "Show only posts from the past NUMBER UNITS"
|
434 |
msgstr "Показывать только посты за последние NUMBER UNITS"
|
435 |
|
436 |
+
#: yarpp_options.php:46
|
437 |
#, php-format
|
438 |
#@ yarpp
|
439 |
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."
|
543 |
msgid "Contact YARPP"
|
544 |
msgstr ""
|
545 |
|
546 |
+
#: yarpp_options.php:42
|
547 |
#, php-format
|
548 |
#@ default
|
549 |
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>."
|
550 |
msgstr ""
|
551 |
|
552 |
+
#: yarpp_options.php:86
|
553 |
#, php-format
|
554 |
#@ yarpp
|
555 |
msgid "Please try <a href=\"%s\" target=\"_blank\">manual SQL setup</a>."
|
556 |
msgstr ""
|
557 |
|
558 |
+
#: yarpp_options.php:188
|
559 |
#, php-format
|
560 |
#@ yarpp
|
561 |
msgid "by <a href=\"%s\" target=\"_blank\">mitcho (Michael 芳貴 Erlewine)</a>"
|
lang/yarpp-sk_SK.po
CHANGED
@@ -442,79 +442,79 @@ msgstr "Ohodnoťte plugin YARPP na stránke WordPress.org"
|
|
442 |
msgid "Contact YARPP"
|
443 |
msgstr "Kontaktovať YARPP"
|
444 |
|
445 |
-
#:
|
446 |
#, php-format
|
447 |
#@ default
|
448 |
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>."
|
449 |
msgstr "Bola vydaná nová verzia %1$s. <a href=\"%2$s\" class=\"thickbox\" title=\"%3$s\">Pozrieť %4$s detaily verzie</a> alebo <a href=\"%5$s\">aktualizovať automaticky</a>."
|
450 |
|
451 |
-
#:
|
452 |
#, php-format
|
453 |
#@ yarpp
|
454 |
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."
|
455 |
msgstr "Bola vydaná nová beta verzia (%s) Yet Another Related Posts Pluginu. Môžete si ju <a href=\"%s\">stiahnuť</a> na vlastné riziko."
|
456 |
|
457 |
-
#:
|
458 |
#@ yarpp
|
459 |
msgid "The MyISAM check has been overridden. You may now use the \"consider titles\" and \"consider bodies\" relatedness criteria."
|
460 |
msgstr "MyISAM kontrola bola prepísaná. Teraz môžte použiť \"consider titles\" and \"consider bodies\" kritériá podobnosti."
|
461 |
|
462 |
-
#:
|
463 |
#, php-format
|
464 |
#@ yarpp
|
465 |
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."
|
466 |
msgstr "YARPP \"consider titles\" and \"consider bodies\" kritériá podobnosti vyžadujú Vašu <code>%s</code> tabuľku <a href='http://dev.mysql.com/doc/refman/5.0/en/storage-engines.html'>MyISAM storage engine</a>, no zdá sa, že tabuľka používa <code>%s</code>. Tieto dve možnosti boli vypnuté."
|
467 |
|
468 |
-
#:
|
469 |
#, php-format
|
470 |
#@ yarpp
|
471 |
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."
|
472 |
msgstr "Pre obnovenie týchto funkcií, prosím aktualizujte svoju <code>%s</code> tabuľku, spustením nasledovného SQL príkazu: <code>ALTER TABLE `%s` ENGINE = MyISAM;</code> . Žiadne dáta nebudú vymazané po vykonaní toho príkazu."
|
473 |
|
474 |
-
#:
|
475 |
#, php-format
|
476 |
#@ yarpp
|
477 |
msgid "If, despite this check, you are sure that <code>%s</code> is using the MyISAM engine, press this magic button:"
|
478 |
msgstr "Ak ste si aj napriek tejto kontrole istý, že <code>%s</code> používa MyISAM, stlačte toto čarovné tlačidlo:"
|
479 |
|
480 |
-
#:
|
481 |
#@ yarpp
|
482 |
msgid "Trust me. Let me use MyISAM features."
|
483 |
msgstr "Verte mi, je lepšie, keď používate funkcie MyISAM."
|
484 |
|
485 |
-
#:
|
486 |
#@ yarpp
|
487 |
msgid "The YARPP database had an error but has been fixed."
|
488 |
msgstr "YARPP databáza obsahovala chybu, ktorú sme už stihli opraviť."
|
489 |
|
490 |
-
#:
|
491 |
#@ yarpp
|
492 |
msgid "The YARPP database has an error which could not be fixed."
|
493 |
msgstr "V databáze YARPP je závažná chyba, ktorá sa nedá opraviť."
|
494 |
|
495 |
-
#:
|
496 |
#, php-format
|
497 |
#@ yarpp
|
498 |
msgid "Please try <a href=\"%s\" target=\"_blank\">manual SQL setup</a>."
|
499 |
msgstr "Vyskúšajte prosím <a href=\"%s\" target=\"_blank\">manuálne nastaveniť databázu</a>."
|
500 |
|
501 |
-
#:
|
502 |
#@ yarpp
|
503 |
msgid "Options saved!"
|
504 |
msgstr "Nastavenia uložené!"
|
505 |
|
506 |
-
#:
|
507 |
#@ yarpp
|
508 |
msgid "Yet Another Related Posts Plugin Options"
|
509 |
msgstr "Možnost Yet Another Related Posts Pluginu"
|
510 |
|
511 |
-
#:
|
512 |
#, php-format
|
513 |
#@ yarpp
|
514 |
msgid "by <a href=\"%s\" target=\"_blank\">mitcho (Michael 芳貴 Erlewine)</a>"
|
515 |
msgstr "plugin od <a href=\"%s\" target=\"_blank\">mitcho (Michael 芳貴 Erlewine)</a>"
|
516 |
|
517 |
-
#:
|
518 |
#@ default
|
519 |
msgid "Save Changes"
|
520 |
msgstr "Uložiť zmeny"
|
442 |
msgid "Contact YARPP"
|
443 |
msgstr "Kontaktovať YARPP"
|
444 |
|
445 |
+
#: yarpp_options.php:36
|
446 |
#, php-format
|
447 |
#@ default
|
448 |
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>."
|
449 |
msgstr "Bola vydaná nová verzia %1$s. <a href=\"%2$s\" class=\"thickbox\" title=\"%3$s\">Pozrieť %4$s detaily verzie</a> alebo <a href=\"%5$s\">aktualizovať automaticky</a>."
|
450 |
|
451 |
+
#: yarpp_options.php:40
|
452 |
#, php-format
|
453 |
#@ yarpp
|
454 |
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."
|
455 |
msgstr "Bola vydaná nová beta verzia (%s) Yet Another Related Posts Pluginu. Môžete si ju <a href=\"%s\">stiahnuť</a> na vlastné riziko."
|
456 |
|
457 |
+
#: yarpp_options.php:48
|
458 |
#@ yarpp
|
459 |
msgid "The MyISAM check has been overridden. You may now use the \"consider titles\" and \"consider bodies\" relatedness criteria."
|
460 |
msgstr "MyISAM kontrola bola prepísaná. Teraz môžte použiť \"consider titles\" and \"consider bodies\" kritériá podobnosti."
|
461 |
|
462 |
+
#: yarpp_options.php:56
|
463 |
#, php-format
|
464 |
#@ yarpp
|
465 |
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."
|
466 |
msgstr "YARPP \"consider titles\" and \"consider bodies\" kritériá podobnosti vyžadujú Vašu <code>%s</code> tabuľku <a href='http://dev.mysql.com/doc/refman/5.0/en/storage-engines.html'>MyISAM storage engine</a>, no zdá sa, že tabuľka používa <code>%s</code>. Tieto dve možnosti boli vypnuté."
|
467 |
|
468 |
+
#: yarpp_options.php:58
|
469 |
#, php-format
|
470 |
#@ yarpp
|
471 |
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."
|
472 |
msgstr "Pre obnovenie týchto funkcií, prosím aktualizujte svoju <code>%s</code> tabuľku, spustením nasledovného SQL príkazu: <code>ALTER TABLE `%s` ENGINE = MyISAM;</code> . Žiadne dáta nebudú vymazané po vykonaní toho príkazu."
|
473 |
|
474 |
+
#: yarpp_options.php:60
|
475 |
#, php-format
|
476 |
#@ yarpp
|
477 |
msgid "If, despite this check, you are sure that <code>%s</code> is using the MyISAM engine, press this magic button:"
|
478 |
msgstr "Ak ste si aj napriek tejto kontrole istý, že <code>%s</code> používa MyISAM, stlačte toto čarovné tlačidlo:"
|
479 |
|
480 |
+
#: yarpp_options.php:63
|
481 |
#@ yarpp
|
482 |
msgid "Trust me. Let me use MyISAM features."
|
483 |
msgstr "Verte mi, je lepšie, keď používate funkcie MyISAM."
|
484 |
|
485 |
+
#: yarpp_options.php:75
|
486 |
#@ yarpp
|
487 |
msgid "The YARPP database had an error but has been fixed."
|
488 |
msgstr "YARPP databáza obsahovala chybu, ktorú sme už stihli opraviť."
|
489 |
|
490 |
+
#: yarpp_options.php:77
|
491 |
#@ yarpp
|
492 |
msgid "The YARPP database has an error which could not be fixed."
|
493 |
msgstr "V databáze YARPP je závažná chyba, ktorá sa nedá opraviť."
|
494 |
|
495 |
+
#: yarpp_options.php:78
|
496 |
#, php-format
|
497 |
#@ yarpp
|
498 |
msgid "Please try <a href=\"%s\" target=\"_blank\">manual SQL setup</a>."
|
499 |
msgstr "Vyskúšajte prosím <a href=\"%s\" target=\"_blank\">manuálne nastaveniť databázu</a>."
|
500 |
|
501 |
+
#: yarpp_options.php:109
|
502 |
#@ yarpp
|
503 |
msgid "Options saved!"
|
504 |
msgstr "Nastavenia uložené!"
|
505 |
|
506 |
+
#: yarpp_options.php:115
|
507 |
#@ yarpp
|
508 |
msgid "Yet Another Related Posts Plugin Options"
|
509 |
msgstr "Možnost Yet Another Related Posts Pluginu"
|
510 |
|
511 |
+
#: yarpp_options.php:123
|
512 |
#, php-format
|
513 |
#@ yarpp
|
514 |
msgid "by <a href=\"%s\" target=\"_blank\">mitcho (Michael 芳貴 Erlewine)</a>"
|
515 |
msgstr "plugin od <a href=\"%s\" target=\"_blank\">mitcho (Michael 芳貴 Erlewine)</a>"
|
516 |
|
517 |
+
#: yarpp_options.php:152
|
518 |
#@ default
|
519 |
msgid "Save Changes"
|
520 |
msgstr "Uložiť zmeny"
|
lang/yarpp-sl_SI.po
CHANGED
@@ -563,79 +563,79 @@ msgstr "To je povsem opcijsko, vendar boste s tem pomagali izboljšati prihodnje
|
|
563 |
msgid "Contact YARPP"
|
564 |
msgstr "Kontaktiraj YARPP"
|
565 |
|
566 |
-
#:
|
567 |
#, php-format
|
568 |
#@ yarpp
|
569 |
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>."
|
570 |
msgstr "Na voljo je nova %1$s različica. <a href=\"%2$s\" class=\"thickbox\" title=\"%3$s\">Poglej različico %4$s details</a> ali <a href=\"%5$s\">posodobi avtomatsko</a>."
|
571 |
|
572 |
-
#:
|
573 |
#, php-format
|
574 |
#@ yarpp
|
575 |
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."
|
576 |
msgstr "Na voljo je nova beta (%s) različica Yet Another Related Posts Plugin-a. Lahko si jo <a href=\"%s\">naložite tukaj</a>, a na lastno odgovornost."
|
577 |
|
578 |
-
#:
|
579 |
#@ yarpp
|
580 |
msgid "The MyISAM check has been overridden. You may now use the \"consider titles\" and \"consider bodies\" relatedness criteria."
|
581 |
msgstr "MyISAM check je bil prenastavljen. Sedaj lahko uporabite \"upoštevaj naslove\" ali \"upoštevaj vsebino\" merila sorodnosti."
|
582 |
|
583 |
-
#:
|
584 |
#, php-format
|
585 |
#@ yarpp
|
586 |
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."
|
587 |
msgstr "YARPP-ova \"upoštevaj naslove\" ali \"upoštevaj vsebino\" merila sorodnosti zahtevajo vašo <code>%s</code> tabelo za uporabo <a href='http://dev.mysql.com/doc/refman/5.0/en/storage-engines.html'>MyISAM storage engine</a>, ampak tabele izgledajo da uporabljajo <code>%s</code> engine. Ti dve opciji sta bili onemogočeni."
|
588 |
|
589 |
-
#:
|
590 |
#, php-format
|
591 |
#@ yarpp
|
592 |
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."
|
593 |
msgstr "Za obnovitev teh funkcij si prosim posodobite vašo <code>%s</code> tabelo tako da izvršite sledeč ukaz: <code>ALTER TABLE `%s` ENGINE = MyISAM;</code> . Nobeni podatki ne bodo izbrisani s spremembo tabeličnega engine-a, čeprav obstajajo možnosti posledice zmogljivosti."
|
594 |
|
595 |
-
#:
|
596 |
#, php-format
|
597 |
#@ yarpp
|
598 |
msgid "If, despite this check, you are sure that <code>%s</code> is using the MyISAM engine, press this magic button:"
|
599 |
msgstr "Če ste tudi po ponovni preverbi sigurni, da <code>%s</code> uporablja MyISAM engine, pritisnite na sledeči magični gumb:"
|
600 |
|
601 |
-
#:
|
602 |
#@ yarpp
|
603 |
msgid "Trust me. Let me use MyISAM features."
|
604 |
msgstr "Zaupajte mi. Dovolite mi uporabiti MyISAM funkcije."
|
605 |
|
606 |
-
#:
|
607 |
#@ yarpp
|
608 |
msgid "The YARPP database had an error but has been fixed."
|
609 |
msgstr "YARPP-ova podatkovna baza je imela napako, ki pa je zdaj popravljena."
|
610 |
|
611 |
-
#:
|
612 |
#@ yarpp
|
613 |
msgid "The YARPP database has an error which could not be fixed."
|
614 |
msgstr "YARPP-ova podatkovna baza je imela nako, katero nismo zmogli popraviti."
|
615 |
|
616 |
-
#:
|
617 |
#, php-format
|
618 |
#@ yarpp
|
619 |
msgid "Please try <a href=\"%s\" target=\"_blank\">manual SQL setup</a>."
|
620 |
msgstr "Prosim poskusite <a href=\"%s\" target=\"_blank\">ročno SQL nastavitev</a>."
|
621 |
|
622 |
-
#:
|
623 |
#@ yarpp
|
624 |
msgid "Options saved!"
|
625 |
msgstr "Nastavitve shranjene!"
|
626 |
|
627 |
-
#:
|
628 |
#@ yarpp
|
629 |
msgid "Yet Another Related Posts Plugin Options"
|
630 |
msgstr "Nastavitve Yet Another Related Posts Plugin-a"
|
631 |
|
632 |
-
#:
|
633 |
#, php-format
|
634 |
#@ yarpp
|
635 |
msgid "by <a href=\"%s\" target=\"_blank\">mitcho (Michael 芳貴 Erlewine)</a>"
|
636 |
msgstr "Od <a href=\"%s\" target=\"_blank\">mitcho (Michael 芳貴 Erlewine)</a>"
|
637 |
|
638 |
-
#:
|
639 |
#@ default
|
640 |
msgid "Save Changes"
|
641 |
msgstr ""
|
563 |
msgid "Contact YARPP"
|
564 |
msgstr "Kontaktiraj YARPP"
|
565 |
|
566 |
+
#: yarpp_options.php:36
|
567 |
#, php-format
|
568 |
#@ yarpp
|
569 |
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>."
|
570 |
msgstr "Na voljo je nova %1$s različica. <a href=\"%2$s\" class=\"thickbox\" title=\"%3$s\">Poglej različico %4$s details</a> ali <a href=\"%5$s\">posodobi avtomatsko</a>."
|
571 |
|
572 |
+
#: yarpp_options.php:40
|
573 |
#, php-format
|
574 |
#@ yarpp
|
575 |
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."
|
576 |
msgstr "Na voljo je nova beta (%s) različica Yet Another Related Posts Plugin-a. Lahko si jo <a href=\"%s\">naložite tukaj</a>, a na lastno odgovornost."
|
577 |
|
578 |
+
#: yarpp_options.php:48
|
579 |
#@ yarpp
|
580 |
msgid "The MyISAM check has been overridden. You may now use the \"consider titles\" and \"consider bodies\" relatedness criteria."
|
581 |
msgstr "MyISAM check je bil prenastavljen. Sedaj lahko uporabite \"upoštevaj naslove\" ali \"upoštevaj vsebino\" merila sorodnosti."
|
582 |
|
583 |
+
#: yarpp_options.php:56
|
584 |
#, php-format
|
585 |
#@ yarpp
|
586 |
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."
|
587 |
msgstr "YARPP-ova \"upoštevaj naslove\" ali \"upoštevaj vsebino\" merila sorodnosti zahtevajo vašo <code>%s</code> tabelo za uporabo <a href='http://dev.mysql.com/doc/refman/5.0/en/storage-engines.html'>MyISAM storage engine</a>, ampak tabele izgledajo da uporabljajo <code>%s</code> engine. Ti dve opciji sta bili onemogočeni."
|
588 |
|
589 |
+
#: yarpp_options.php:58
|
590 |
#, php-format
|
591 |
#@ yarpp
|
592 |
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."
|
593 |
msgstr "Za obnovitev teh funkcij si prosim posodobite vašo <code>%s</code> tabelo tako da izvršite sledeč ukaz: <code>ALTER TABLE `%s` ENGINE = MyISAM;</code> . Nobeni podatki ne bodo izbrisani s spremembo tabeličnega engine-a, čeprav obstajajo možnosti posledice zmogljivosti."
|
594 |
|
595 |
+
#: yarpp_options.php:60
|
596 |
#, php-format
|
597 |
#@ yarpp
|
598 |
msgid "If, despite this check, you are sure that <code>%s</code> is using the MyISAM engine, press this magic button:"
|
599 |
msgstr "Če ste tudi po ponovni preverbi sigurni, da <code>%s</code> uporablja MyISAM engine, pritisnite na sledeči magični gumb:"
|
600 |
|
601 |
+
#: yarpp_options.php:63
|
602 |
#@ yarpp
|
603 |
msgid "Trust me. Let me use MyISAM features."
|
604 |
msgstr "Zaupajte mi. Dovolite mi uporabiti MyISAM funkcije."
|
605 |
|
606 |
+
#: yarpp_options.php:78
|
607 |
#@ yarpp
|
608 |
msgid "The YARPP database had an error but has been fixed."
|
609 |
msgstr "YARPP-ova podatkovna baza je imela napako, ki pa je zdaj popravljena."
|
610 |
|
611 |
+
#: yarpp_options.php:80
|
612 |
#@ yarpp
|
613 |
msgid "The YARPP database has an error which could not be fixed."
|
614 |
msgstr "YARPP-ova podatkovna baza je imela nako, katero nismo zmogli popraviti."
|
615 |
|
616 |
+
#: yarpp_options.php:81
|
617 |
#, php-format
|
618 |
#@ yarpp
|
619 |
msgid "Please try <a href=\"%s\" target=\"_blank\">manual SQL setup</a>."
|
620 |
msgstr "Prosim poskusite <a href=\"%s\" target=\"_blank\">ročno SQL nastavitev</a>."
|
621 |
|
622 |
+
#: yarpp_options.php:144
|
623 |
#@ yarpp
|
624 |
msgid "Options saved!"
|
625 |
msgstr "Nastavitve shranjene!"
|
626 |
|
627 |
+
#: yarpp_options.php:150
|
628 |
#@ yarpp
|
629 |
msgid "Yet Another Related Posts Plugin Options"
|
630 |
msgstr "Nastavitve Yet Another Related Posts Plugin-a"
|
631 |
|
632 |
+
#: yarpp_options.php:158
|
633 |
#, php-format
|
634 |
#@ yarpp
|
635 |
msgid "by <a href=\"%s\" target=\"_blank\">mitcho (Michael 芳貴 Erlewine)</a>"
|
636 |
msgstr "Od <a href=\"%s\" target=\"_blank\">mitcho (Michael 芳貴 Erlewine)</a>"
|
637 |
|
638 |
+
#: yarpp_options.php:199
|
639 |
#@ default
|
640 |
msgid "Save Changes"
|
641 |
msgstr ""
|
lang/yarpp-sr_RS.po
CHANGED
@@ -441,79 +441,79 @@ msgstr "Ocenite YARPP na WordPress.org"
|
|
441 |
msgid "Contact YARPP"
|
442 |
msgstr "Kontaktirajte YARPP"
|
443 |
|
444 |
-
#:
|
445 |
#, php-format
|
446 |
#@ default
|
447 |
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>."
|
448 |
msgstr ""
|
449 |
|
450 |
-
#:
|
451 |
#, php-format
|
452 |
#@ yarpp
|
453 |
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."
|
454 |
msgstr "Postoji nova beta (%s) YARPP-a. Možete je <a href=\"%s\">skinuti ovde</a> na spostveni rizik."
|
455 |
|
456 |
-
#:
|
457 |
#@ yarpp
|
458 |
msgid "The MyISAM check has been overridden. You may now use the \"consider titles\" and \"consider bodies\" relatedness criteria."
|
459 |
msgstr "MyISAM provera je presnimljena. Sada možete korstiti \"razmotri naslove\" and \"razmotri tela\" kriterijume relevantnosti."
|
460 |
|
461 |
-
#:
|
462 |
#, php-format
|
463 |
#@ yarpp
|
464 |
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."
|
465 |
msgstr "YARPP-ovi \"razmotri naslove\" and \"razmotri tela\" kriterijumi relevntnosti zahtevaju <code>%s</code> tabelu da bi koristili <a href='http://dev.mysql.com/doc/refman/5.0/en/storage-engines.html'>MyISAM motoriku skladištenja</a>, ali tabela izgleda da koristi <code>%s</code> motoriku. Ove dve opciju su onemogućene."
|
466 |
|
467 |
-
#:
|
468 |
#, php-format
|
469 |
#@ yarpp
|
470 |
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."
|
471 |
msgstr "Da bi ste povratili ove funkcije, molimo vas ažurirajte <code>%s</code> tabelu pokrećući sledeću SQL direktivu: <code>ALTER TABLE `%s` ENGINE = MyISAM;</code> . Ništa neće biti obrisano menjanjem motorike tabele, ali može doći do promena u performansi."
|
472 |
|
473 |
-
#:
|
474 |
#, php-format
|
475 |
#@ yarpp
|
476 |
msgid "If, despite this check, you are sure that <code>%s</code> is using the MyISAM engine, press this magic button:"
|
477 |
msgstr "Ako, bez obzira na ovu promenu, ste vi sigurni da <code>%s</code> koristi MzISAM motoriku, pritisnite magično dugme:"
|
478 |
|
479 |
-
#:
|
480 |
#@ yarpp
|
481 |
msgid "Trust me. Let me use MyISAM features."
|
482 |
msgstr "Veruj mi. Pusti me da koristim MzISAM funkcije."
|
483 |
|
484 |
-
#:
|
485 |
#@ yarpp
|
486 |
msgid "The YARPP database had an error but has been fixed."
|
487 |
msgstr "YARPP databaza je imala grešku ali smo je popravili."
|
488 |
|
489 |
-
#:
|
490 |
#@ yarpp
|
491 |
msgid "The YARPP database has an error which could not be fixed."
|
492 |
msgstr "YARPP databaza ima grešku koju nismo uspeli da ispravimo."
|
493 |
|
494 |
-
#:
|
495 |
#, php-format
|
496 |
#@ yarpp
|
497 |
msgid "Please try <a href=\"%s\" target=\"_blank\">manual SQL setup</a>."
|
498 |
msgstr "Molimo pokušajte <a href=\"%s\" target=\"_blank\">ručno podešavanje SQL-a</a>."
|
499 |
|
500 |
-
#:
|
501 |
#@ yarpp
|
502 |
msgid "Options saved!"
|
503 |
msgstr "Opcije snimljene!"
|
504 |
|
505 |
-
#:
|
506 |
#@ yarpp
|
507 |
msgid "Yet Another Related Posts Plugin Options"
|
508 |
msgstr "YARPP Opcije"
|
509 |
|
510 |
-
#:
|
511 |
#, php-format
|
512 |
#@ yarpp
|
513 |
msgid "by <a href=\"%s\" target=\"_blank\">mitcho (Michael 芳貴 Erlewine)</a>"
|
514 |
msgstr "od <a href=\"%s\" target=\"_blank\">mitcho (Michael 芳貴 Erlewine)</a>"
|
515 |
|
516 |
-
#:
|
517 |
#@ default
|
518 |
msgid "Save Changes"
|
519 |
msgstr ""
|
441 |
msgid "Contact YARPP"
|
442 |
msgstr "Kontaktirajte YARPP"
|
443 |
|
444 |
+
#: yarpp_options.php:34
|
445 |
#, php-format
|
446 |
#@ default
|
447 |
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>."
|
448 |
msgstr ""
|
449 |
|
450 |
+
#: yarpp_options.php:38
|
451 |
#, php-format
|
452 |
#@ yarpp
|
453 |
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."
|
454 |
msgstr "Postoji nova beta (%s) YARPP-a. Možete je <a href=\"%s\">skinuti ovde</a> na spostveni rizik."
|
455 |
|
456 |
+
#: yarpp_options.php:46
|
457 |
#@ yarpp
|
458 |
msgid "The MyISAM check has been overridden. You may now use the \"consider titles\" and \"consider bodies\" relatedness criteria."
|
459 |
msgstr "MyISAM provera je presnimljena. Sada možete korstiti \"razmotri naslove\" and \"razmotri tela\" kriterijume relevantnosti."
|
460 |
|
461 |
+
#: yarpp_options.php:54
|
462 |
#, php-format
|
463 |
#@ yarpp
|
464 |
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."
|
465 |
msgstr "YARPP-ovi \"razmotri naslove\" and \"razmotri tela\" kriterijumi relevntnosti zahtevaju <code>%s</code> tabelu da bi koristili <a href='http://dev.mysql.com/doc/refman/5.0/en/storage-engines.html'>MyISAM motoriku skladištenja</a>, ali tabela izgleda da koristi <code>%s</code> motoriku. Ove dve opciju su onemogućene."
|
466 |
|
467 |
+
#: yarpp_options.php:56
|
468 |
#, php-format
|
469 |
#@ yarpp
|
470 |
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."
|
471 |
msgstr "Da bi ste povratili ove funkcije, molimo vas ažurirajte <code>%s</code> tabelu pokrećući sledeću SQL direktivu: <code>ALTER TABLE `%s` ENGINE = MyISAM;</code> . Ništa neće biti obrisano menjanjem motorike tabele, ali može doći do promena u performansi."
|
472 |
|
473 |
+
#: yarpp_options.php:58
|
474 |
#, php-format
|
475 |
#@ yarpp
|
476 |
msgid "If, despite this check, you are sure that <code>%s</code> is using the MyISAM engine, press this magic button:"
|
477 |
msgstr "Ako, bez obzira na ovu promenu, ste vi sigurni da <code>%s</code> koristi MzISAM motoriku, pritisnite magično dugme:"
|
478 |
|
479 |
+
#: yarpp_options.php:61
|
480 |
#@ yarpp
|
481 |
msgid "Trust me. Let me use MyISAM features."
|
482 |
msgstr "Veruj mi. Pusti me da koristim MzISAM funkcije."
|
483 |
|
484 |
+
#: yarpp_options.php:76
|
485 |
#@ yarpp
|
486 |
msgid "The YARPP database had an error but has been fixed."
|
487 |
msgstr "YARPP databaza je imala grešku ali smo je popravili."
|
488 |
|
489 |
+
#: yarpp_options.php:78
|
490 |
#@ yarpp
|
491 |
msgid "The YARPP database has an error which could not be fixed."
|
492 |
msgstr "YARPP databaza ima grešku koju nismo uspeli da ispravimo."
|
493 |
|
494 |
+
#: yarpp_options.php:79
|
495 |
#, php-format
|
496 |
#@ yarpp
|
497 |
msgid "Please try <a href=\"%s\" target=\"_blank\">manual SQL setup</a>."
|
498 |
msgstr "Molimo pokušajte <a href=\"%s\" target=\"_blank\">ručno podešavanje SQL-a</a>."
|
499 |
|
500 |
+
#: yarpp_options.php:135
|
501 |
#@ yarpp
|
502 |
msgid "Options saved!"
|
503 |
msgstr "Opcije snimljene!"
|
504 |
|
505 |
+
#: yarpp_options.php:141
|
506 |
#@ yarpp
|
507 |
msgid "Yet Another Related Posts Plugin Options"
|
508 |
msgstr "YARPP Opcije"
|
509 |
|
510 |
+
#: yarpp_options.php:149
|
511 |
#, php-format
|
512 |
#@ yarpp
|
513 |
msgid "by <a href=\"%s\" target=\"_blank\">mitcho (Michael 芳貴 Erlewine)</a>"
|
514 |
msgstr "od <a href=\"%s\" target=\"_blank\">mitcho (Michael 芳貴 Erlewine)</a>"
|
515 |
|
516 |
+
#: yarpp_options.php:178
|
517 |
#@ default
|
518 |
msgid "Save Changes"
|
519 |
msgstr ""
|
lang/yarpp-sv_SE.po
CHANGED
@@ -437,78 +437,78 @@ msgid "Contact YARPP"
|
|
437 |
msgstr "Kontakta YARPP"
|
438 |
|
439 |
# @ default
|
440 |
-
#:
|
441 |
#, php-format
|
442 |
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>."
|
443 |
msgstr "Det finns en ny version av %1$s. <a href=\"%2$s\" class=\"thickbox\" title=\"%3$s\">Läs information om version %4$s</a> eller <a href=\"%5$s\">uppdatera automatiskt</a>."
|
444 |
|
445 |
# @ yarpp
|
446 |
-
#:
|
447 |
#, php-format
|
448 |
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."
|
449 |
msgstr "Det finns en ny beta (%s) av Yet Another Related Posts Plugin. Du kan <a href=\"%s\">hämta den här</a> på egen risk."
|
450 |
|
451 |
# @ yarpp
|
452 |
-
#:
|
453 |
msgid "The MyISAM check has been overridden. You may now use the \"consider titles\" and \"consider bodies\" relatedness criteria."
|
454 |
msgstr "MyISAM-kontrollen har åsidosatts. Du kan nu använda kriterierna \"ta hänsyn till rubriker\" och \"ta hänsyn till innehåll\"."
|
455 |
|
456 |
# @ yarpp
|
457 |
-
#:
|
458 |
#, php-format
|
459 |
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."
|
460 |
msgstr "YARPPs kriterier \"ta hänsyn till rubriker\" och \"ta hänsyn till innehåll\" kräver att din <code>%s</code> tabell använder <a href='http://dev.mysql.com/doc/refman/5.0/en/storage-engines.html'>MyISAM Storage Engine</a>, men det verkar som om den använder <code>%s</code>. Därför är kriterierna inte åtkomliga."
|
461 |
|
462 |
# @ yarpp
|
463 |
-
#:
|
464 |
#, php-format
|
465 |
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."
|
466 |
msgstr "Vill du använda dessa funktioner måste du ändra tabellen <code>%s</code>, genom att utföra detta SQL-kommando mot din databas: <code>ALTER TABLE `%s` ENGINE = MyISAM;</code>."
|
467 |
|
468 |
# @ yarpp
|
469 |
-
#:
|
470 |
#, php-format
|
471 |
msgid "If, despite this check, you are sure that <code>%s</code> is using the MyISAM engine, press this magic button:"
|
472 |
msgstr "Om du trots denna kontroll är säker på att tabellen <code>%s</code> använder MyISAM-formatet kan du klicka på denna magiska knapp:"
|
473 |
|
474 |
# @ yarpp
|
475 |
-
#:
|
476 |
msgid "Trust me. Let me use MyISAM features."
|
477 |
msgstr "Lita på mig. Låt mig använda MyISAM-finesserna."
|
478 |
|
479 |
# @ yarpp
|
480 |
-
#:
|
481 |
msgid "The YARPP database had an error but has been fixed."
|
482 |
msgstr "Databasen för YARPP innehöll ett fel, men det har korrigerats nu."
|
483 |
|
484 |
# @ yarpp
|
485 |
-
#:
|
486 |
msgid "The YARPP database has an error which could not be fixed."
|
487 |
msgstr "Databasen för YARPP innehåller ett fel som inte kunde korrigeras."
|
488 |
|
489 |
# @ yarpp
|
490 |
-
#:
|
491 |
#, php-format
|
492 |
msgid "Please try <a href=\"%s\" target=\"_blank\">manual SQL setup</a>."
|
493 |
msgstr "Vänligen prova med <a href=\"%s\" target=\"_blank\">manuell SQL</a>."
|
494 |
|
495 |
# @ yarpp
|
496 |
-
#:
|
497 |
msgid "Options saved!"
|
498 |
msgstr "Inställningarna sparade!"
|
499 |
|
500 |
# @ yarpp
|
501 |
-
#:
|
502 |
msgid "Yet Another Related Posts Plugin Options"
|
503 |
msgstr "YARPP-inställningar"
|
504 |
|
505 |
# @ yarpp
|
506 |
-
#:
|
507 |
#, php-format
|
508 |
msgid "by <a href=\"%s\" target=\"_blank\">mitcho (Michael 芳貴 Erlewine)</a>"
|
509 |
msgstr "av <a href=\"%s\" target=\"_blank\">mitcho (Michael 芳貴 Erlewine)</a>"
|
510 |
|
511 |
-
#:
|
512 |
msgid "Save Changes"
|
513 |
msgstr "Spara ändringar"
|
514 |
|
437 |
msgstr "Kontakta YARPP"
|
438 |
|
439 |
# @ default
|
440 |
+
#: yarpp_options.php:34
|
441 |
#, php-format
|
442 |
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>."
|
443 |
msgstr "Det finns en ny version av %1$s. <a href=\"%2$s\" class=\"thickbox\" title=\"%3$s\">Läs information om version %4$s</a> eller <a href=\"%5$s\">uppdatera automatiskt</a>."
|
444 |
|
445 |
# @ yarpp
|
446 |
+
#: yarpp_options.php:38
|
447 |
#, php-format
|
448 |
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."
|
449 |
msgstr "Det finns en ny beta (%s) av Yet Another Related Posts Plugin. Du kan <a href=\"%s\">hämta den här</a> på egen risk."
|
450 |
|
451 |
# @ yarpp
|
452 |
+
#: yarpp_options.php:46
|
453 |
msgid "The MyISAM check has been overridden. You may now use the \"consider titles\" and \"consider bodies\" relatedness criteria."
|
454 |
msgstr "MyISAM-kontrollen har åsidosatts. Du kan nu använda kriterierna \"ta hänsyn till rubriker\" och \"ta hänsyn till innehåll\"."
|
455 |
|
456 |
# @ yarpp
|
457 |
+
#: yarpp_options.php:54
|
458 |
#, php-format
|
459 |
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."
|
460 |
msgstr "YARPPs kriterier \"ta hänsyn till rubriker\" och \"ta hänsyn till innehåll\" kräver att din <code>%s</code> tabell använder <a href='http://dev.mysql.com/doc/refman/5.0/en/storage-engines.html'>MyISAM Storage Engine</a>, men det verkar som om den använder <code>%s</code>. Därför är kriterierna inte åtkomliga."
|
461 |
|
462 |
# @ yarpp
|
463 |
+
#: yarpp_options.php:56
|
464 |
#, php-format
|
465 |
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."
|
466 |
msgstr "Vill du använda dessa funktioner måste du ändra tabellen <code>%s</code>, genom att utföra detta SQL-kommando mot din databas: <code>ALTER TABLE `%s` ENGINE = MyISAM;</code>."
|
467 |
|
468 |
# @ yarpp
|
469 |
+
#: yarpp_options.php:58
|
470 |
#, php-format
|
471 |
msgid "If, despite this check, you are sure that <code>%s</code> is using the MyISAM engine, press this magic button:"
|
472 |
msgstr "Om du trots denna kontroll är säker på att tabellen <code>%s</code> använder MyISAM-formatet kan du klicka på denna magiska knapp:"
|
473 |
|
474 |
# @ yarpp
|
475 |
+
#: yarpp_options.php:61
|
476 |
msgid "Trust me. Let me use MyISAM features."
|
477 |
msgstr "Lita på mig. Låt mig använda MyISAM-finesserna."
|
478 |
|
479 |
# @ yarpp
|
480 |
+
#: yarpp_options.php:76
|
481 |
msgid "The YARPP database had an error but has been fixed."
|
482 |
msgstr "Databasen för YARPP innehöll ett fel, men det har korrigerats nu."
|
483 |
|
484 |
# @ yarpp
|
485 |
+
#: yarpp_options.php:78
|
486 |
msgid "The YARPP database has an error which could not be fixed."
|
487 |
msgstr "Databasen för YARPP innehåller ett fel som inte kunde korrigeras."
|
488 |
|
489 |
# @ yarpp
|
490 |
+
#: yarpp_options.php:79
|
491 |
#, php-format
|
492 |
msgid "Please try <a href=\"%s\" target=\"_blank\">manual SQL setup</a>."
|
493 |
msgstr "Vänligen prova med <a href=\"%s\" target=\"_blank\">manuell SQL</a>."
|
494 |
|
495 |
# @ yarpp
|
496 |
+
#: yarpp_options.php:133
|
497 |
msgid "Options saved!"
|
498 |
msgstr "Inställningarna sparade!"
|
499 |
|
500 |
# @ yarpp
|
501 |
+
#: yarpp_options.php:139
|
502 |
msgid "Yet Another Related Posts Plugin Options"
|
503 |
msgstr "YARPP-inställningar"
|
504 |
|
505 |
# @ yarpp
|
506 |
+
#: yarpp_options.php:147
|
507 |
#, php-format
|
508 |
msgid "by <a href=\"%s\" target=\"_blank\">mitcho (Michael 芳貴 Erlewine)</a>"
|
509 |
msgstr "av <a href=\"%s\" target=\"_blank\">mitcho (Michael 芳貴 Erlewine)</a>"
|
510 |
|
511 |
+
#: yarpp_options.php:176
|
512 |
msgid "Save Changes"
|
513 |
msgstr "Spara ändringar"
|
514 |
|
lang/yarpp-tr_TR.po
CHANGED
@@ -64,45 +64,45 @@ msgid "Related posts brought to you by <a href='%s'>Yet Another Related Posts Pl
|
|
64 |
msgstr "Benzer yazılar <a href='%s'>Yet Another Related Posts Eklentisini</a> ile listelendi."
|
65 |
|
66 |
#@ yarpp
|
67 |
-
#:
|
68 |
msgid "The MyISAM check has been overridden. You may now use the \"consider titles\" and \"consider bodies\" relatedness criteria."
|
69 |
msgstr "MyISAM kontrolü artık geçersiz. Artık \"başlıkları göz önünde bulundur\" ve \"içerikleri göz önünde bulundur\" kriterlerini kullanabilirsiniz."
|
70 |
|
71 |
#@ yarpp
|
72 |
-
#:
|
73 |
#, php-format
|
74 |
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."
|
75 |
msgstr "YARPP'ın \"başlıkları göz önünde bulundur\" ve \"içerikleri göz önünde bulundur\" kriterleri, veritabanındaki <code>%s</code> tablosunun <a href='http://dev.mysql.com/doc/refman/5.0/en/storage-engines.html'>MyISAM motoruyla</a> çalışmasını gerektirir. Ama tablolar <code>%s</code> motorunu kullanıyor gibi gözüküyor. Bu iki özellik devre dışı bırakıldı."
|
76 |
|
77 |
#@ yarpp
|
78 |
-
#:
|
79 |
#, php-format
|
80 |
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."
|
81 |
msgstr "Bu özellikleri geri getirmek için, <code>%s</code> tablosunu <code>ALTER TABLE `%s` ENGINE = MyISAM;</code> kodunu kullanarak güncelleştirin. Hiçbir veri silinmeyecektir ancak sitenin performansı etkilenebilir."
|
82 |
|
83 |
#@ yarpp
|
84 |
-
#:
|
85 |
#, php-format
|
86 |
msgid "If, despite this check, you are sure that <code>%s</code> is using the MyISAM engine, press this magic button:"
|
87 |
msgstr "Eğer <code>%s</code>'in MyISAM motorunu kullandığından eminseniz lütfen bu düğmeyi tıklayın:"
|
88 |
|
89 |
#@ yarpp
|
90 |
-
#:
|
91 |
msgid "Trust me. Let me use MyISAM features."
|
92 |
msgstr "Bana güvenebilirsin :). MYISAM özelliklerini kullanmama izin ver."
|
93 |
|
94 |
#@ yarpp
|
95 |
-
#:
|
96 |
msgid "The YARPP database had an error but has been fixed."
|
97 |
msgstr "YARPP veritabanında bir hata oluştu ama hata giderildi."
|
98 |
|
99 |
#@ yarpp
|
100 |
-
#:
|
101 |
msgid "The YARPP database has an error which could not be fixed."
|
102 |
msgstr "YARPP veritabanında bir hata oluştu ve hata giderilemedi."
|
103 |
|
104 |
#@ yarpp
|
105 |
-
#:
|
106 |
msgid "Options saved!"
|
107 |
msgstr "Ayarlar kaydedildi!"
|
108 |
|
@@ -155,7 +155,7 @@ msgid "consider with extra weight"
|
|
155 |
msgstr "daha çok göz önünde bulundur"
|
156 |
|
157 |
#@ yarpp
|
158 |
-
#:
|
159 |
msgid "Yet Another Related Posts Plugin Options"
|
160 |
msgstr "Yet Another Related Posts Ayarları"
|
161 |
|
@@ -263,7 +263,7 @@ msgid "When the \"Cross-relate posts and pages\" option is selected, the <code>r
|
|
263 |
msgstr "\"Sayfa ve yazıları birbiriyle ilişkilendir\" seçeneği seçiliyse, <code>related_posts()</code>, <code>related_pages()</code> ve <code>related_entries()</code> kodları birbirinin aynı sonuçları döndürür; hepsi de benzer yazı ve sayfaları beraber gösterir."
|
264 |
|
265 |
#@ yarpp
|
266 |
-
#:
|
267 |
#, php-format
|
268 |
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."
|
269 |
msgstr "Bu eklentinin BETA (%s) sürümü mevcut. <a href=\"%s\">Buradan indirebilirsiniz.</a>"
|
@@ -472,17 +472,17 @@ msgid "Before / after (excerpt):"
|
|
472 |
msgstr "Öncesi & sonrası (özet):"
|
473 |
|
474 |
#@ yarpp
|
475 |
-
#:
|
476 |
msgid "Update options"
|
477 |
msgstr "Seçenekleri güncelle"
|
478 |
|
479 |
#@ yarpp
|
480 |
-
#:
|
481 |
msgid "Do you really want to reset your configuration?"
|
482 |
msgstr "Ayarlarınızı sıfırlamak istediğinizden emin misiniz?"
|
483 |
|
484 |
#@ yarpp
|
485 |
-
#:
|
486 |
msgid "Reset options"
|
487 |
msgstr "Ayarları sıfırla"
|
488 |
|
@@ -543,19 +543,19 @@ msgid "Contact YARPP"
|
|
543 |
msgstr "YARPP'a ulaşın"
|
544 |
|
545 |
#@ default
|
546 |
-
#:
|
547 |
#, php-format
|
548 |
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>."
|
549 |
msgstr "%1$s için yeni bir sürüm mevcut. <a href=\"%2$s\" class=\"thickbox\" title=\"%3$s\">%4$s numaralı sürüm değişikliklerini okuyun</a> veya <a href=\"%5$s\">otomatik olarak güncelleyin</a>."
|
550 |
|
551 |
#@ yarpp
|
552 |
-
#:
|
553 |
#, php-format
|
554 |
msgid "Please try <a href=\"%s\" target=\"_blank\">manual SQL setup</a>."
|
555 |
msgstr "Lütfen <a href=\"%s\" target=\"_blank\">elle SQL kurulumunu</a> deneyin."
|
556 |
|
557 |
#@ yarpp
|
558 |
-
#:
|
559 |
#, php-format
|
560 |
msgid "by <a href=\"%s\" target=\"_blank\">mitcho (Michael 芳貴 Erlewine)</a>"
|
561 |
msgstr "<a href=\"%s\" target=\"_blank\">mitcho (Michael 芳貴 Erlewine)</a>"
|
64 |
msgstr "Benzer yazılar <a href='%s'>Yet Another Related Posts Eklentisini</a> ile listelendi."
|
65 |
|
66 |
#@ yarpp
|
67 |
+
#: yarpp_options.php:54
|
68 |
msgid "The MyISAM check has been overridden. You may now use the \"consider titles\" and \"consider bodies\" relatedness criteria."
|
69 |
msgstr "MyISAM kontrolü artık geçersiz. Artık \"başlıkları göz önünde bulundur\" ve \"içerikleri göz önünde bulundur\" kriterlerini kullanabilirsiniz."
|
70 |
|
71 |
#@ yarpp
|
72 |
+
#: yarpp_options.php:63
|
73 |
#, php-format
|
74 |
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."
|
75 |
msgstr "YARPP'ın \"başlıkları göz önünde bulundur\" ve \"içerikleri göz önünde bulundur\" kriterleri, veritabanındaki <code>%s</code> tablosunun <a href='http://dev.mysql.com/doc/refman/5.0/en/storage-engines.html'>MyISAM motoruyla</a> çalışmasını gerektirir. Ama tablolar <code>%s</code> motorunu kullanıyor gibi gözüküyor. Bu iki özellik devre dışı bırakıldı."
|
76 |
|
77 |
#@ yarpp
|
78 |
+
#: yarpp_options.php:65
|
79 |
#, php-format
|
80 |
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."
|
81 |
msgstr "Bu özellikleri geri getirmek için, <code>%s</code> tablosunu <code>ALTER TABLE `%s` ENGINE = MyISAM;</code> kodunu kullanarak güncelleştirin. Hiçbir veri silinmeyecektir ancak sitenin performansı etkilenebilir."
|
82 |
|
83 |
#@ yarpp
|
84 |
+
#: yarpp_options.php:67
|
85 |
#, php-format
|
86 |
msgid "If, despite this check, you are sure that <code>%s</code> is using the MyISAM engine, press this magic button:"
|
87 |
msgstr "Eğer <code>%s</code>'in MyISAM motorunu kullandığından eminseniz lütfen bu düğmeyi tıklayın:"
|
88 |
|
89 |
#@ yarpp
|
90 |
+
#: yarpp_options.php:70
|
91 |
msgid "Trust me. Let me use MyISAM features."
|
92 |
msgstr "Bana güvenebilirsin :). MYISAM özelliklerini kullanmama izin ver."
|
93 |
|
94 |
#@ yarpp
|
95 |
+
#: yarpp_options.php:83
|
96 |
msgid "The YARPP database had an error but has been fixed."
|
97 |
msgstr "YARPP veritabanında bir hata oluştu ama hata giderildi."
|
98 |
|
99 |
#@ yarpp
|
100 |
+
#: yarpp_options.php:85
|
101 |
msgid "The YARPP database has an error which could not be fixed."
|
102 |
msgstr "YARPP veritabanında bir hata oluştu ve hata giderilemedi."
|
103 |
|
104 |
#@ yarpp
|
105 |
+
#: yarpp_options.php:114
|
106 |
msgid "Options saved!"
|
107 |
msgstr "Ayarlar kaydedildi!"
|
108 |
|
155 |
msgstr "daha çok göz önünde bulundur"
|
156 |
|
157 |
#@ yarpp
|
158 |
+
#: yarpp_options.php:178
|
159 |
msgid "Yet Another Related Posts Plugin Options"
|
160 |
msgstr "Yet Another Related Posts Ayarları"
|
161 |
|
263 |
msgstr "\"Sayfa ve yazıları birbiriyle ilişkilendir\" seçeneği seçiliyse, <code>related_posts()</code>, <code>related_pages()</code> ve <code>related_entries()</code> kodları birbirinin aynı sonuçları döndürür; hepsi de benzer yazı ve sayfaları beraber gösterir."
|
264 |
|
265 |
#@ yarpp
|
266 |
+
#: yarpp_options.php:46
|
267 |
#, php-format
|
268 |
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."
|
269 |
msgstr "Bu eklentinin BETA (%s) sürümü mevcut. <a href=\"%s\">Buradan indirebilirsiniz.</a>"
|
472 |
msgstr "Öncesi & sonrası (özet):"
|
473 |
|
474 |
#@ yarpp
|
475 |
+
#: yarpp_options.php:279
|
476 |
msgid "Update options"
|
477 |
msgstr "Seçenekleri güncelle"
|
478 |
|
479 |
#@ yarpp
|
480 |
+
#: yarpp_options.php:280
|
481 |
msgid "Do you really want to reset your configuration?"
|
482 |
msgstr "Ayarlarınızı sıfırlamak istediğinizden emin misiniz?"
|
483 |
|
484 |
#@ yarpp
|
485 |
+
#: yarpp_options.php:280
|
486 |
msgid "Reset options"
|
487 |
msgstr "Ayarları sıfırla"
|
488 |
|
543 |
msgstr "YARPP'a ulaşın"
|
544 |
|
545 |
#@ default
|
546 |
+
#: yarpp_options.php:42
|
547 |
#, php-format
|
548 |
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>."
|
549 |
msgstr "%1$s için yeni bir sürüm mevcut. <a href=\"%2$s\" class=\"thickbox\" title=\"%3$s\">%4$s numaralı sürüm değişikliklerini okuyun</a> veya <a href=\"%5$s\">otomatik olarak güncelleyin</a>."
|
550 |
|
551 |
#@ yarpp
|
552 |
+
#: yarpp_options.php:86
|
553 |
#, php-format
|
554 |
msgid "Please try <a href=\"%s\" target=\"_blank\">manual SQL setup</a>."
|
555 |
msgstr "Lütfen <a href=\"%s\" target=\"_blank\">elle SQL kurulumunu</a> deneyin."
|
556 |
|
557 |
#@ yarpp
|
558 |
+
#: yarpp_options.php:188
|
559 |
#, php-format
|
560 |
msgid "by <a href=\"%s\" target=\"_blank\">mitcho (Michael 芳貴 Erlewine)</a>"
|
561 |
msgstr "<a href=\"%s\" target=\"_blank\">mitcho (Michael 芳貴 Erlewine)</a>"
|
lang/yarpp-uk_UA.po
CHANGED
@@ -45,40 +45,40 @@ msgstr "%f - это коэффициэнт YARPP текущго поста и с
|
|
45 |
msgid "Related posts brought to you by <a href='%s'>Yet Another Related Posts Plugin</a>."
|
46 |
msgstr "Список схожих записів надано вам плагіном <a href='%s'>Yet Another Related Posts Plugin</ a>."
|
47 |
|
48 |
-
#:
|
49 |
#@ yarpp
|
50 |
msgid "The MyISAM check has been overridden. You may now use the \"consider titles\" and \"consider bodies\" relatedness criteria."
|
51 |
msgstr "Перевірка MyISAM була виконана. Тепер ви можете використовувати критерії схожості “Розглядати заголовки” і “Розглядати текст”."
|
52 |
|
53 |
-
#:
|
54 |
#, php-format
|
55 |
#@ yarpp
|
56 |
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."
|
57 |
msgstr "Використання опцій YARPP “Розглядати заголовки” і “Розглядати текст” вимагає, щоб ваша таблиця <code>%s</code> використовувала движок <а href='http://dev.mysql.com/doc/refman/5.0/en/storage-engines.html'>MyISAM</a>, але таблиця мабуть використовує движок <code>%s</code>. Ці дві опції відключено."
|
58 |
|
59 |
-
#:
|
60 |
#, php-format
|
61 |
#@ yarpp
|
62 |
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."
|
63 |
msgstr "Для відновлення цих опцій, будь ласка, змініть вашу таблицю <code>%s</code>наступною SQL інструкцією е : <code>ALTER TABLE `%s` ENGINE = MYISAM;</code><br />При зміні таблиці дані не повинні пропасти, проте можливі наслідки."
|
64 |
|
65 |
-
#:
|
66 |
#, php-format
|
67 |
#@ yarpp
|
68 |
msgid "If, despite this check, you are sure that <code>%s</code> is using the MyISAM engine, press this magic button:"
|
69 |
msgstr "Якщо, незалежно від цієї опції, ви упевнені що таблиця <code>%s</code> використовує MyISAM, натисніть на цю чарівну кнопку:"
|
70 |
|
71 |
-
#:
|
72 |
#@ yarpp
|
73 |
msgid "Trust me. Let me use MyISAM features."
|
74 |
msgstr "Повірте мені. Дозвольте мені використовувати MyISAM."
|
75 |
|
76 |
-
#:
|
77 |
#@ yarpp
|
78 |
msgid "The YARPP database had an error but has been fixed."
|
79 |
msgstr "База даних YARPP містила помилки, але вони були виправлені."
|
80 |
|
81 |
-
#:
|
82 |
#@ yarpp
|
83 |
msgid "The YARPP database has an error which could not be fixed."
|
84 |
msgstr "База даних YARPP містить помилку, яка не може бути виправлена."
|
@@ -102,7 +102,7 @@ msgstr "розглядати"
|
|
102 |
msgid "consider with extra weight"
|
103 |
msgstr "розглядати з додатковою вагою"
|
104 |
|
105 |
-
#:
|
106 |
#@ yarpp
|
107 |
msgid "Yet Another Related Posts Plugin Options"
|
108 |
msgstr "Опції YARPP"
|
@@ -382,7 +382,7 @@ msgstr "хоч би один \"%s\" повинен бути загальним"
|
|
382 |
msgid "require more than one %s in common"
|
383 |
msgstr "більш за одне \"%s\" повинно бути загальним"
|
384 |
|
385 |
-
#:
|
386 |
#@ yarpp
|
387 |
msgid "Options saved!"
|
388 |
msgstr "Настройки збережені!"
|
@@ -392,17 +392,17 @@ msgstr "Настройки збережені!"
|
|
392 |
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."
|
393 |
msgstr "Чим вище поріг схожості, тим суворіше вибірка, і тим менше отримаєте записів на виході. За замовчуванням поріг дорівнює 5. Якщо хочете знайти прийнятні порогові значення, поекспериментуйте з кількома повідомлення. Ви зможете побачити, які повідомлення виходять наверх і які у них значення подібності, за якими можна визначити прийнятний рівень для вашого сайту."
|
394 |
|
395 |
-
#:
|
396 |
#@ yarpp
|
397 |
msgid "Update options"
|
398 |
msgstr "Змінити налаштування"
|
399 |
|
400 |
-
#:
|
401 |
#@ yarpp
|
402 |
msgid "Do you really want to reset your configuration?"
|
403 |
msgstr "Ви дійсно хочете скинути ваші налаштування?"
|
404 |
|
405 |
-
#:
|
406 |
#@ yarpp
|
407 |
msgid "Reset options"
|
408 |
msgstr "Скинути налаштування"
|
@@ -433,7 +433,7 @@ msgstr "років"
|
|
433 |
msgid "Show only posts from the past NUMBER UNITS"
|
434 |
msgstr "Показувати тільки пости за останні NUMBER UNITS"
|
435 |
|
436 |
-
#:
|
437 |
#, php-format
|
438 |
#@ yarpp
|
439 |
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."
|
@@ -543,19 +543,19 @@ msgstr ""
|
|
543 |
msgid "Contact YARPP"
|
544 |
msgstr ""
|
545 |
|
546 |
-
#:
|
547 |
#, php-format
|
548 |
#@ default
|
549 |
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>."
|
550 |
msgstr ""
|
551 |
|
552 |
-
#:
|
553 |
#, php-format
|
554 |
#@ yarpp
|
555 |
msgid "Please try <a href=\"%s\" target=\"_blank\">manual SQL setup</a>."
|
556 |
msgstr ""
|
557 |
|
558 |
-
#:
|
559 |
#, php-format
|
560 |
#@ yarpp
|
561 |
msgid "by <a href=\"%s\" target=\"_blank\">mitcho (Michael 芳貴 Erlewine)</a>"
|
45 |
msgid "Related posts brought to you by <a href='%s'>Yet Another Related Posts Plugin</a>."
|
46 |
msgstr "Список схожих записів надано вам плагіном <a href='%s'>Yet Another Related Posts Plugin</ a>."
|
47 |
|
48 |
+
#: yarpp_options.php:54
|
49 |
#@ yarpp
|
50 |
msgid "The MyISAM check has been overridden. You may now use the \"consider titles\" and \"consider bodies\" relatedness criteria."
|
51 |
msgstr "Перевірка MyISAM була виконана. Тепер ви можете використовувати критерії схожості “Розглядати заголовки” і “Розглядати текст”."
|
52 |
|
53 |
+
#: yarpp_options.php:63
|
54 |
#, php-format
|
55 |
#@ yarpp
|
56 |
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."
|
57 |
msgstr "Використання опцій YARPP “Розглядати заголовки” і “Розглядати текст” вимагає, щоб ваша таблиця <code>%s</code> використовувала движок <а href='http://dev.mysql.com/doc/refman/5.0/en/storage-engines.html'>MyISAM</a>, але таблиця мабуть використовує движок <code>%s</code>. Ці дві опції відключено."
|
58 |
|
59 |
+
#: yarpp_options.php:65
|
60 |
#, php-format
|
61 |
#@ yarpp
|
62 |
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."
|
63 |
msgstr "Для відновлення цих опцій, будь ласка, змініть вашу таблицю <code>%s</code>наступною SQL інструкцією е : <code>ALTER TABLE `%s` ENGINE = MYISAM;</code><br />При зміні таблиці дані не повинні пропасти, проте можливі наслідки."
|
64 |
|
65 |
+
#: yarpp_options.php:67
|
66 |
#, php-format
|
67 |
#@ yarpp
|
68 |
msgid "If, despite this check, you are sure that <code>%s</code> is using the MyISAM engine, press this magic button:"
|
69 |
msgstr "Якщо, незалежно від цієї опції, ви упевнені що таблиця <code>%s</code> використовує MyISAM, натисніть на цю чарівну кнопку:"
|
70 |
|
71 |
+
#: yarpp_options.php:70
|
72 |
#@ yarpp
|
73 |
msgid "Trust me. Let me use MyISAM features."
|
74 |
msgstr "Повірте мені. Дозвольте мені використовувати MyISAM."
|
75 |
|
76 |
+
#: yarpp_options.php:83
|
77 |
#@ yarpp
|
78 |
msgid "The YARPP database had an error but has been fixed."
|
79 |
msgstr "База даних YARPP містила помилки, але вони були виправлені."
|
80 |
|
81 |
+
#: yarpp_options.php:85
|
82 |
#@ yarpp
|
83 |
msgid "The YARPP database has an error which could not be fixed."
|
84 |
msgstr "База даних YARPP містить помилку, яка не може бути виправлена."
|
102 |
msgid "consider with extra weight"
|
103 |
msgstr "розглядати з додатковою вагою"
|
104 |
|
105 |
+
#: yarpp_options.php:178
|
106 |
#@ yarpp
|
107 |
msgid "Yet Another Related Posts Plugin Options"
|
108 |
msgstr "Опції YARPP"
|
382 |
msgid "require more than one %s in common"
|
383 |
msgstr "більш за одне \"%s\" повинно бути загальним"
|
384 |
|
385 |
+
#: yarpp_options.php:114
|
386 |
#@ yarpp
|
387 |
msgid "Options saved!"
|
388 |
msgstr "Настройки збережені!"
|
392 |
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."
|
393 |
msgstr "Чим вище поріг схожості, тим суворіше вибірка, і тим менше отримаєте записів на виході. За замовчуванням поріг дорівнює 5. Якщо хочете знайти прийнятні порогові значення, поекспериментуйте з кількома повідомлення. Ви зможете побачити, які повідомлення виходять наверх і які у них значення подібності, за якими можна визначити прийнятний рівень для вашого сайту."
|
394 |
|
395 |
+
#: yarpp_options.php:279
|
396 |
#@ yarpp
|
397 |
msgid "Update options"
|
398 |
msgstr "Змінити налаштування"
|
399 |
|
400 |
+
#: yarpp_options.php:280
|
401 |
#@ yarpp
|
402 |
msgid "Do you really want to reset your configuration?"
|
403 |
msgstr "Ви дійсно хочете скинути ваші налаштування?"
|
404 |
|
405 |
+
#: yarpp_options.php:280
|
406 |
#@ yarpp
|
407 |
msgid "Reset options"
|
408 |
msgstr "Скинути налаштування"
|
433 |
msgid "Show only posts from the past NUMBER UNITS"
|
434 |
msgstr "Показувати тільки пости за останні NUMBER UNITS"
|
435 |
|
436 |
+
#: yarpp_options.php:46
|
437 |
#, php-format
|
438 |
#@ yarpp
|
439 |
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."
|
543 |
msgid "Contact YARPP"
|
544 |
msgstr ""
|
545 |
|
546 |
+
#: yarpp_options.php:42
|
547 |
#, php-format
|
548 |
#@ default
|
549 |
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>."
|
550 |
msgstr ""
|
551 |
|
552 |
+
#: yarpp_options.php:86
|
553 |
#, php-format
|
554 |
#@ yarpp
|
555 |
msgid "Please try <a href=\"%s\" target=\"_blank\">manual SQL setup</a>."
|
556 |
msgstr ""
|
557 |
|
558 |
+
#: yarpp_options.php:188
|
559 |
#, php-format
|
560 |
#@ yarpp
|
561 |
msgid "by <a href=\"%s\" target=\"_blank\">mitcho (Michael 芳貴 Erlewine)</a>"
|
lang/yarpp-uz_UZ.po
CHANGED
@@ -45,40 +45,40 @@ msgstr "%f - bu joriy xabar va aloqador xabar o'rtasidagi o'xshashlik koeffitsie
|
|
45 |
msgid "Related posts brought to you by <a href='%s'>Yet Another Related Posts Plugin</a>."
|
46 |
msgstr "Aloqador xabarlar Sizga <a href='%s'>YARPP</a> plagini tomonidan taqdim etildi."
|
47 |
|
48 |
-
#:
|
49 |
#@ yarpp
|
50 |
msgid "The MyISAM check has been overridden. You may now use the \"consider titles\" and \"consider bodies\" relatedness criteria."
|
51 |
msgstr "MyISAM tekshiruvi bajarildi. Endi Siz \"Sarlavhalarni hisobga olmoq\" va \"Matnni hisobga olmoq\" o'xshashlik mezonlaridan foydalanishingiz mumkin."
|
52 |
|
53 |
-
#:
|
54 |
#, php-format
|
55 |
#@ yarpp
|
56 |
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."
|
57 |
msgstr "\"Sarlavhalarni hisobga olmoq\" va \"Matnni hisobga olmoq\" o'xshashlik mezonlaridan foydalanish Sizning <code>%s</code> jadval <a href='http://dev.mysql.com/doc/refman/5.0/en/storage-engines.html'>MyISAM</a> yuritmasini ishlatishini talab qiladi, ammo, ehtimol, jadval <code>%s</code> yuritgichidan foydalanyapti. Bu ikki opsiyalar o'chirilgan."
|
58 |
|
59 |
-
#:
|
60 |
#, php-format
|
61 |
#@ yarpp
|
62 |
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."
|
63 |
msgstr "Marhamat, ushbu opsiyalarni qayta tiklash uchun <code>%s</code> jadvalingizni keyingi SQL yo'riqnoma bilan o'zgartiring;: <code>ALTER TABLE `%s` ENGINE = MyISAM;</code><br />. Jadval o'zgartirilganda hech qanday ma'lumot yo'qolmaydi, ammo amallar natijasi o'zgarishi mumkin."
|
64 |
|
65 |
-
#:
|
66 |
#, php-format
|
67 |
#@ yarpp
|
68 |
msgid "If, despite this check, you are sure that <code>%s</code> is using the MyISAM engine, press this magic button:"
|
69 |
msgstr "Agar, bu opsiyaga qaramasdan, Siz <code>%s</code> jadval MyISAM ni ishlatayotganiga amin bo'lsangiz, mana bu sehrli tugmani bosing :"
|
70 |
|
71 |
-
#:
|
72 |
#@ yarpp
|
73 |
msgid "Trust me. Let me use MyISAM features."
|
74 |
msgstr "Menga ishoning. Menga MyISAM ni ishlatishga ruxsat bering."
|
75 |
|
76 |
-
#:
|
77 |
#@ yarpp
|
78 |
msgid "The YARPP database had an error but has been fixed."
|
79 |
msgstr "YARPP ma'lumotlar bazasida xatolar mavjud edi, lekin ular to'g'irlandi."
|
80 |
|
81 |
-
#:
|
82 |
#@ yarpp
|
83 |
msgid "The YARPP database has an error which could not be fixed."
|
84 |
msgstr "YARPP ma'lumotlar bazasida xato mavjud va uni to'g'irlab bo'lmaydi."
|
@@ -102,7 +102,7 @@ msgstr "hisobga olinsin"
|
|
102 |
msgid "consider with extra weight"
|
103 |
msgstr "qo'shimchalar bilan hisobga olmoq"
|
104 |
|
105 |
-
#:
|
106 |
#@ yarpp
|
107 |
msgid "Yet Another Related Posts Plugin Options"
|
108 |
msgstr "YARPP opsiyalari"
|
@@ -382,7 +382,7 @@ msgstr "Umumiy qilib hech bo'lmaganda % bo'lishi kerak"
|
|
382 |
msgid "require more than one %s in common"
|
383 |
msgstr "Umumiy qilib % dan ko'p bo'lishi kerak"
|
384 |
|
385 |
-
#:
|
386 |
#@ yarpp
|
387 |
msgid "Options saved!"
|
388 |
msgstr "Opsiyalar saqlab qolindi!"
|
@@ -392,17 +392,17 @@ msgstr "Opsiyalar saqlab qolindi!"
|
|
392 |
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."
|
393 |
msgstr "O'xshashlik chegarasi qanchalik yuqori bo'lsa natija shunchalik chegaralangan, yani natijada shunchalik kam aloqador xabarlarga ega bo'lasiz. Asl holida o'xshashlik chegarasi 5ga teng. Agar mos keladigan chegara ko'rsatkichini topishni hohlasangiz, turli xabarlarni o'rganib chiqing. Siz qanday aloqador xabarlar yuqoriga ko'tarilayotganini va ularning o'xshashlik ko'rsatkichlarini ko'rishingiz mumkin. Natijada o'z saytingizga mos chegara ko'rsatkichni aniqlay olasiz."
|
394 |
|
395 |
-
#:
|
396 |
#@ yarpp
|
397 |
msgid "Update options"
|
398 |
msgstr "Opsiyalarni yangilash"
|
399 |
|
400 |
-
#:
|
401 |
#@ yarpp
|
402 |
msgid "Do you really want to reset your configuration?"
|
403 |
msgstr "Siz haqiqatan ham konfiguratsiyani asl holatiga qaytarmoqchimisiz?"
|
404 |
|
405 |
-
#:
|
406 |
#@ yarpp
|
407 |
msgid "Reset options"
|
408 |
msgstr "Opsiyalarni asl holatiga qaytarmoq"
|
@@ -433,7 +433,7 @@ msgstr "oy(lar)"
|
|
433 |
msgid "Show only posts from the past NUMBER UNITS"
|
434 |
msgstr "Oxirgi KO'RSATKICHLAR SONIga tegishli xabarlarni ko'rsatish"
|
435 |
|
436 |
-
#:
|
437 |
#, php-format
|
438 |
#@ yarpp
|
439 |
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."
|
@@ -543,19 +543,19 @@ msgstr ""
|
|
543 |
msgid "Contact YARPP"
|
544 |
msgstr ""
|
545 |
|
546 |
-
#:
|
547 |
#, php-format
|
548 |
#@ default
|
549 |
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>."
|
550 |
msgstr ""
|
551 |
|
552 |
-
#:
|
553 |
#, php-format
|
554 |
#@ yarpp
|
555 |
msgid "Please try <a href=\"%s\" target=\"_blank\">manual SQL setup</a>."
|
556 |
msgstr ""
|
557 |
|
558 |
-
#:
|
559 |
#, php-format
|
560 |
#@ yarpp
|
561 |
msgid "by <a href=\"%s\" target=\"_blank\">mitcho (Michael 芳貴 Erlewine)</a>"
|
45 |
msgid "Related posts brought to you by <a href='%s'>Yet Another Related Posts Plugin</a>."
|
46 |
msgstr "Aloqador xabarlar Sizga <a href='%s'>YARPP</a> plagini tomonidan taqdim etildi."
|
47 |
|
48 |
+
#: yarpp_options.php:54
|
49 |
#@ yarpp
|
50 |
msgid "The MyISAM check has been overridden. You may now use the \"consider titles\" and \"consider bodies\" relatedness criteria."
|
51 |
msgstr "MyISAM tekshiruvi bajarildi. Endi Siz \"Sarlavhalarni hisobga olmoq\" va \"Matnni hisobga olmoq\" o'xshashlik mezonlaridan foydalanishingiz mumkin."
|
52 |
|
53 |
+
#: yarpp_options.php:63
|
54 |
#, php-format
|
55 |
#@ yarpp
|
56 |
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."
|
57 |
msgstr "\"Sarlavhalarni hisobga olmoq\" va \"Matnni hisobga olmoq\" o'xshashlik mezonlaridan foydalanish Sizning <code>%s</code> jadval <a href='http://dev.mysql.com/doc/refman/5.0/en/storage-engines.html'>MyISAM</a> yuritmasini ishlatishini talab qiladi, ammo, ehtimol, jadval <code>%s</code> yuritgichidan foydalanyapti. Bu ikki opsiyalar o'chirilgan."
|
58 |
|
59 |
+
#: yarpp_options.php:65
|
60 |
#, php-format
|
61 |
#@ yarpp
|
62 |
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."
|
63 |
msgstr "Marhamat, ushbu opsiyalarni qayta tiklash uchun <code>%s</code> jadvalingizni keyingi SQL yo'riqnoma bilan o'zgartiring;: <code>ALTER TABLE `%s` ENGINE = MyISAM;</code><br />. Jadval o'zgartirilganda hech qanday ma'lumot yo'qolmaydi, ammo amallar natijasi o'zgarishi mumkin."
|
64 |
|
65 |
+
#: yarpp_options.php:67
|
66 |
#, php-format
|
67 |
#@ yarpp
|
68 |
msgid "If, despite this check, you are sure that <code>%s</code> is using the MyISAM engine, press this magic button:"
|
69 |
msgstr "Agar, bu opsiyaga qaramasdan, Siz <code>%s</code> jadval MyISAM ni ishlatayotganiga amin bo'lsangiz, mana bu sehrli tugmani bosing :"
|
70 |
|
71 |
+
#: yarpp_options.php:70
|
72 |
#@ yarpp
|
73 |
msgid "Trust me. Let me use MyISAM features."
|
74 |
msgstr "Menga ishoning. Menga MyISAM ni ishlatishga ruxsat bering."
|
75 |
|
76 |
+
#: yarpp_options.php:83
|
77 |
#@ yarpp
|
78 |
msgid "The YARPP database had an error but has been fixed."
|
79 |
msgstr "YARPP ma'lumotlar bazasida xatolar mavjud edi, lekin ular to'g'irlandi."
|
80 |
|
81 |
+
#: yarpp_options.php:85
|
82 |
#@ yarpp
|
83 |
msgid "The YARPP database has an error which could not be fixed."
|
84 |
msgstr "YARPP ma'lumotlar bazasida xato mavjud va uni to'g'irlab bo'lmaydi."
|
102 |
msgid "consider with extra weight"
|
103 |
msgstr "qo'shimchalar bilan hisobga olmoq"
|
104 |
|
105 |
+
#: yarpp_options.php:178
|
106 |
#@ yarpp
|
107 |
msgid "Yet Another Related Posts Plugin Options"
|
108 |
msgstr "YARPP opsiyalari"
|
382 |
msgid "require more than one %s in common"
|
383 |
msgstr "Umumiy qilib % dan ko'p bo'lishi kerak"
|
384 |
|
385 |
+
#: yarpp_options.php:114
|
386 |
#@ yarpp
|
387 |
msgid "Options saved!"
|
388 |
msgstr "Opsiyalar saqlab qolindi!"
|
392 |
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."
|
393 |
msgstr "O'xshashlik chegarasi qanchalik yuqori bo'lsa natija shunchalik chegaralangan, yani natijada shunchalik kam aloqador xabarlarga ega bo'lasiz. Asl holida o'xshashlik chegarasi 5ga teng. Agar mos keladigan chegara ko'rsatkichini topishni hohlasangiz, turli xabarlarni o'rganib chiqing. Siz qanday aloqador xabarlar yuqoriga ko'tarilayotganini va ularning o'xshashlik ko'rsatkichlarini ko'rishingiz mumkin. Natijada o'z saytingizga mos chegara ko'rsatkichni aniqlay olasiz."
|
394 |
|
395 |
+
#: yarpp_options.php:279
|
396 |
#@ yarpp
|
397 |
msgid "Update options"
|
398 |
msgstr "Opsiyalarni yangilash"
|
399 |
|
400 |
+
#: yarpp_options.php:280
|
401 |
#@ yarpp
|
402 |
msgid "Do you really want to reset your configuration?"
|
403 |
msgstr "Siz haqiqatan ham konfiguratsiyani asl holatiga qaytarmoqchimisiz?"
|
404 |
|
405 |
+
#: yarpp_options.php:280
|
406 |
#@ yarpp
|
407 |
msgid "Reset options"
|
408 |
msgstr "Opsiyalarni asl holatiga qaytarmoq"
|
433 |
msgid "Show only posts from the past NUMBER UNITS"
|
434 |
msgstr "Oxirgi KO'RSATKICHLAR SONIga tegishli xabarlarni ko'rsatish"
|
435 |
|
436 |
+
#: yarpp_options.php:46
|
437 |
#, php-format
|
438 |
#@ yarpp
|
439 |
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."
|
543 |
msgid "Contact YARPP"
|
544 |
msgstr ""
|
545 |
|
546 |
+
#: yarpp_options.php:42
|
547 |
#, php-format
|
548 |
#@ default
|
549 |
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>."
|
550 |
msgstr ""
|
551 |
|
552 |
+
#: yarpp_options.php:86
|
553 |
#, php-format
|
554 |
#@ yarpp
|
555 |
msgid "Please try <a href=\"%s\" target=\"_blank\">manual SQL setup</a>."
|
556 |
msgstr ""
|
557 |
|
558 |
+
#: yarpp_options.php:188
|
559 |
#, php-format
|
560 |
#@ yarpp
|
561 |
msgid "by <a href=\"%s\" target=\"_blank\">mitcho (Michael 芳貴 Erlewine)</a>"
|
lang/yarpp-vi_VN.po
CHANGED
@@ -59,45 +59,45 @@ msgstr "Bài viết mẫu"
|
|
59 |
msgid "Related posts brought to you by <a href='%s'>Yet Another Related Posts Plugin</a>."
|
60 |
msgstr "Chức năng \"bài viết có liên quan\" được mang đến cho bạn bởi <a href='%s'>Yet Another Related Posts Plugin</a>."
|
61 |
|
62 |
-
#:
|
63 |
#@ yarpp
|
64 |
msgid "The MyISAM check has been overridden. You may now use the \"consider titles\" and \"consider bodies\" relatedness criteria."
|
65 |
msgstr "Chức năng kiểm tra của MyISAM đã được override. Bạn có thể sử dụng \"consider titles\" và \"consider bodies\" để xem xét mức độ liên quan."
|
66 |
|
67 |
-
#:
|
68 |
#, php-format
|
69 |
#@ yarpp
|
70 |
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."
|
71 |
msgstr "Chức năng xem xét mức độ liên quan dựa trên \"consider titles\" và \"consider bodies\" của YARPP đòi hỏi bảng <code>%s</code> cần phải dùng <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. Hai chức năng trên tạm thời bị khóa lại."
|
72 |
|
73 |
-
#:
|
74 |
#, php-format
|
75 |
#@ yarpp
|
76 |
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."
|
77 |
msgstr "Để phục hồi những chức năng này vui lòng cập nhật bảng <code>%s</code> bằng cách chạy câu lệnh SQL sau: <code>ALTER TABLE `%s` ENGINE = MyISAM;</code>. Dữ liệu trên bảng sẽ hoàn toàn không bị ảnh hưởng."
|
78 |
|
79 |
-
#:
|
80 |
#, php-format
|
81 |
#@ yarpp
|
82 |
msgid "If, despite this check, you are sure that <code>%s</code> is using the MyISAM engine, press this magic button:"
|
83 |
msgstr "Nếu bạn chắc rằng bảng <code>%s</code> đang xài MyISAM mặc dù việc kiểm tra ở đây cho kết quả khác hãy nhấn nút này:"
|
84 |
|
85 |
-
#:
|
86 |
#@ yarpp
|
87 |
msgid "Trust me. Let me use MyISAM features."
|
88 |
msgstr "Hãy tin tưởng tôi và để tôi sử dụng chức năng của MyISAM."
|
89 |
|
90 |
-
#:
|
91 |
#@ yarpp
|
92 |
msgid "The YARPP database had an error but has been fixed."
|
93 |
msgstr "Cơ sở dữ liệu của YARPP có lỗi nhưng đã được sửa."
|
94 |
|
95 |
-
#:
|
96 |
#@ yarpp
|
97 |
msgid "The YARPP database has an error which could not be fixed."
|
98 |
msgstr "Cơ sở dữ liệu của YARPP gặp lỗi không thể khắc phục."
|
99 |
|
100 |
-
#:
|
101 |
#@ yarpp
|
102 |
msgid "Options saved!"
|
103 |
msgstr "Đã lưu tùy chọn!"
|
@@ -150,7 +150,7 @@ msgstr "cần hơn một %s chung"
|
|
150 |
msgid "consider with extra weight"
|
151 |
msgstr "xem xét với mức độ quan trọng đặc biệt"
|
152 |
|
153 |
-
#:
|
154 |
#@ yarpp
|
155 |
msgid "Yet Another Related Posts Plugin Options"
|
156 |
msgstr " Tùy chọn của Yet Another Related Posts Plugin"
|
@@ -258,7 +258,7 @@ msgstr "Thiết lập mối liên quan giữa bài viết và trang?"
|
|
258 |
msgid "When the \"Cross-relate posts and pages\" option is selected, the <code>related_posts()</code>, <code>related_pages()</code>, and <code>related_entries()</code> all will give the same output, returning both related pages and posts."
|
259 |
msgstr "Khi bạn chọ tùy chọn \"Thiết lập mối liên quan giữa bài viết và trang có liên quan\" thì các hàm <code>related_posts()</code>, <code>related_pages()</code>, và <code>related_entries()</code> đều sẽ trả về cùng kết quả."
|
260 |
|
261 |
-
#:
|
262 |
#, php-format
|
263 |
#@ yarpp
|
264 |
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."
|
@@ -467,17 +467,17 @@ msgstr "Code mẫu cho giao diện RSS"
|
|
467 |
msgid "Before / after (excerpt):"
|
468 |
msgstr "Trước / Sau (Trích dẫn):"
|
469 |
|
470 |
-
#:
|
471 |
#@ yarpp
|
472 |
msgid "Update options"
|
473 |
msgstr "Cập nhật tùy chọn"
|
474 |
|
475 |
-
#:
|
476 |
#@ yarpp
|
477 |
msgid "Do you really want to reset your configuration?"
|
478 |
msgstr "Bạn có thực sự muốn reset những thiết lập (configuration) của bạn?"
|
479 |
|
480 |
-
#:
|
481 |
#@ yarpp
|
482 |
msgid "Reset options"
|
483 |
msgstr "Reset tùy chọn"
|
@@ -543,19 +543,19 @@ msgstr ""
|
|
543 |
msgid "Contact YARPP"
|
544 |
msgstr ""
|
545 |
|
546 |
-
#:
|
547 |
#, php-format
|
548 |
#@ default
|
549 |
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>."
|
550 |
msgstr ""
|
551 |
|
552 |
-
#:
|
553 |
#, php-format
|
554 |
#@ yarpp
|
555 |
msgid "Please try <a href=\"%s\" target=\"_blank\">manual SQL setup</a>."
|
556 |
msgstr ""
|
557 |
|
558 |
-
#:
|
559 |
#, php-format
|
560 |
#@ yarpp
|
561 |
msgid "by <a href=\"%s\" target=\"_blank\">mitcho (Michael 芳貴 Erlewine)</a>"
|
59 |
msgid "Related posts brought to you by <a href='%s'>Yet Another Related Posts Plugin</a>."
|
60 |
msgstr "Chức năng \"bài viết có liên quan\" được mang đến cho bạn bởi <a href='%s'>Yet Another Related Posts Plugin</a>."
|
61 |
|
62 |
+
#: yarpp_options.php:54
|
63 |
#@ yarpp
|
64 |
msgid "The MyISAM check has been overridden. You may now use the \"consider titles\" and \"consider bodies\" relatedness criteria."
|
65 |
msgstr "Chức năng kiểm tra của MyISAM đã được override. Bạn có thể sử dụng \"consider titles\" và \"consider bodies\" để xem xét mức độ liên quan."
|
66 |
|
67 |
+
#: yarpp_options.php:63
|
68 |
#, php-format
|
69 |
#@ yarpp
|
70 |
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."
|
71 |
msgstr "Chức năng xem xét mức độ liên quan dựa trên \"consider titles\" và \"consider bodies\" của YARPP đòi hỏi bảng <code>%s</code> cần phải dùng <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. Hai chức năng trên tạm thời bị khóa lại."
|
72 |
|
73 |
+
#: yarpp_options.php:65
|
74 |
#, php-format
|
75 |
#@ yarpp
|
76 |
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."
|
77 |
msgstr "Để phục hồi những chức năng này vui lòng cập nhật bảng <code>%s</code> bằng cách chạy câu lệnh SQL sau: <code>ALTER TABLE `%s` ENGINE = MyISAM;</code>. Dữ liệu trên bảng sẽ hoàn toàn không bị ảnh hưởng."
|
78 |
|
79 |
+
#: yarpp_options.php:67
|
80 |
#, php-format
|
81 |
#@ yarpp
|
82 |
msgid "If, despite this check, you are sure that <code>%s</code> is using the MyISAM engine, press this magic button:"
|
83 |
msgstr "Nếu bạn chắc rằng bảng <code>%s</code> đang xài MyISAM mặc dù việc kiểm tra ở đây cho kết quả khác hãy nhấn nút này:"
|
84 |
|
85 |
+
#: yarpp_options.php:70
|
86 |
#@ yarpp
|
87 |
msgid "Trust me. Let me use MyISAM features."
|
88 |
msgstr "Hãy tin tưởng tôi và để tôi sử dụng chức năng của MyISAM."
|
89 |
|
90 |
+
#: yarpp_options.php:83
|
91 |
#@ yarpp
|
92 |
msgid "The YARPP database had an error but has been fixed."
|
93 |
msgstr "Cơ sở dữ liệu của YARPP có lỗi nhưng đã được sửa."
|
94 |
|
95 |
+
#: yarpp_options.php:85
|
96 |
#@ yarpp
|
97 |
msgid "The YARPP database has an error which could not be fixed."
|
98 |
msgstr "Cơ sở dữ liệu của YARPP gặp lỗi không thể khắc phục."
|
99 |
|
100 |
+
#: yarpp_options.php:114
|
101 |
#@ yarpp
|
102 |
msgid "Options saved!"
|
103 |
msgstr "Đã lưu tùy chọn!"
|
150 |
msgid "consider with extra weight"
|
151 |
msgstr "xem xét với mức độ quan trọng đặc biệt"
|
152 |
|
153 |
+
#: yarpp_options.php:178
|
154 |
#@ yarpp
|
155 |
msgid "Yet Another Related Posts Plugin Options"
|
156 |
msgstr " Tùy chọn của Yet Another Related Posts Plugin"
|
258 |
msgid "When the \"Cross-relate posts and pages\" option is selected, the <code>related_posts()</code>, <code>related_pages()</code>, and <code>related_entries()</code> all will give the same output, returning both related pages and posts."
|
259 |
msgstr "Khi bạn chọ tùy chọn \"Thiết lập mối liên quan giữa bài viết và trang có liên quan\" thì các hàm <code>related_posts()</code>, <code>related_pages()</code>, và <code>related_entries()</code> đều sẽ trả về cùng kết quả."
|
260 |
|
261 |
+
#: yarpp_options.php:46
|
262 |
#, php-format
|
263 |
#@ yarpp
|
264 |
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."
|
467 |
msgid "Before / after (excerpt):"
|
468 |
msgstr "Trước / Sau (Trích dẫn):"
|
469 |
|
470 |
+
#: yarpp_options.php:279
|
471 |
#@ yarpp
|
472 |
msgid "Update options"
|
473 |
msgstr "Cập nhật tùy chọn"
|
474 |
|
475 |
+
#: yarpp_options.php:280
|
476 |
#@ yarpp
|
477 |
msgid "Do you really want to reset your configuration?"
|
478 |
msgstr "Bạn có thực sự muốn reset những thiết lập (configuration) của bạn?"
|
479 |
|
480 |
+
#: yarpp_options.php:280
|
481 |
#@ yarpp
|
482 |
msgid "Reset options"
|
483 |
msgstr "Reset tùy chọn"
|
543 |
msgid "Contact YARPP"
|
544 |
msgstr ""
|
545 |
|
546 |
+
#: yarpp_options.php:42
|
547 |
#, php-format
|
548 |
#@ default
|
549 |
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>."
|
550 |
msgstr ""
|
551 |
|
552 |
+
#: yarpp_options.php:86
|
553 |
#, php-format
|
554 |
#@ yarpp
|
555 |
msgid "Please try <a href=\"%s\" target=\"_blank\">manual SQL setup</a>."
|
556 |
msgstr ""
|
557 |
|
558 |
+
#: yarpp_options.php:188
|
559 |
#, php-format
|
560 |
#@ yarpp
|
561 |
msgid "by <a href=\"%s\" target=\"_blank\">mitcho (Michael 芳貴 Erlewine)</a>"
|
lang/yarpp-zh_CN.po
CHANGED
@@ -45,40 +45,40 @@ msgstr "YARPP 中的 %f 是指当前文章和关联文章之间的匹配程度
|
|
45 |
msgid "Related posts brought to you by <a href='%s'>Yet Another Related Posts Plugin</a>."
|
46 |
msgstr "以上关联文章由 <a href='%s'>Yet Another Related Posts Plugin</a> 提供支持。"
|
47 |
|
48 |
-
#:
|
49 |
#@ yarpp
|
50 |
msgid "The MyISAM check has been overridden. You may now use the \"consider titles\" and \"consider bodies\" relatedness criteria."
|
51 |
msgstr "The MyISAM check has been overridden. You may now use the \"consider titles\" and \"consider bodies\" relatedness criteria."
|
52 |
|
53 |
-
#:
|
54 |
#, php-format
|
55 |
#@ yarpp
|
56 |
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."
|
57 |
msgstr "YARPP's \"consider titles\" and \"consider bodies\" relatedness criteria require your <code>%s</code> table to use the <a href='http://dev.mysql.com/doc/refman/5.0/en/storage-engines.html'>MyISAM storage engine</a>, but the table seems to be using the <code>%s</code> engine. These two options have been disabled."
|
58 |
|
59 |
-
#:
|
60 |
#, php-format
|
61 |
#@ yarpp
|
62 |
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."
|
63 |
msgstr "如果要恢复这些功能,请在您的 <code>%s</code> 表执行下列SQL指令: <code>ALTER TABLE `%s` ENGINE = MyISAM;</code> 。该操作将修改数据库,但不会损坏您的其它设置。"
|
64 |
|
65 |
-
#:
|
66 |
#, php-format
|
67 |
#@ yarpp
|
68 |
msgid "If, despite this check, you are sure that <code>%s</code> is using the MyISAM engine, press this magic button:"
|
69 |
msgstr "同意后 <code>%s</code> 将使用 MyISAM 引擎:"
|
70 |
|
71 |
-
#:
|
72 |
#@ yarpp
|
73 |
msgid "Trust me. Let me use MyISAM features."
|
74 |
msgstr "Trust me. Let me use MyISAM features."
|
75 |
|
76 |
-
#:
|
77 |
#@ yarpp
|
78 |
msgid "The YARPP database had an error but has been fixed."
|
79 |
msgstr "YARPP 数据库中的错误已被修复。"
|
80 |
|
81 |
-
#:
|
82 |
#@ yarpp
|
83 |
msgid "The YARPP database has an error which could not be fixed."
|
84 |
msgstr "YARPP 数据库中出现一个错误,无法修复。"
|
@@ -102,7 +102,7 @@ msgstr "参考"
|
|
102 |
msgid "consider with extra weight"
|
103 |
msgstr "作为主要参考指标"
|
104 |
|
105 |
-
#:
|
106 |
#@ yarpp
|
107 |
msgid "Yet Another Related Posts Plugin Options"
|
108 |
msgstr "关联文章(YARPP)插件设置"
|
@@ -382,7 +382,7 @@ msgstr "至少从一个%s中考虑关联"
|
|
382 |
msgid "require more than one %s in common"
|
383 |
msgstr "至少从一个以上%s中考虑关联"
|
384 |
|
385 |
-
#:
|
386 |
#@ yarpp
|
387 |
msgid "Options saved!"
|
388 |
msgstr "保存成功!"
|
@@ -392,17 +392,17 @@ msgstr "保存成功!"
|
|
392 |
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."
|
393 |
msgstr ""
|
394 |
|
395 |
-
#:
|
396 |
#@ yarpp
|
397 |
msgid "Update options"
|
398 |
msgstr "保存设置"
|
399 |
|
400 |
-
#:
|
401 |
#@ yarpp
|
402 |
msgid "Do you really want to reset your configuration?"
|
403 |
msgstr "请注意!您确定重置所有的设置吗?"
|
404 |
|
405 |
-
#:
|
406 |
#@ yarpp
|
407 |
msgid "Reset options"
|
408 |
msgstr "重置设置"
|
@@ -433,7 +433,7 @@ msgstr "月"
|
|
433 |
msgid "Show only posts from the past NUMBER UNITS"
|
434 |
msgstr "仅关联显示 NUMBER UNITS 内的文章。"
|
435 |
|
436 |
-
#:
|
437 |
#, php-format
|
438 |
#@ yarpp
|
439 |
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."
|
@@ -543,19 +543,19 @@ msgstr ""
|
|
543 |
msgid "Contact YARPP"
|
544 |
msgstr ""
|
545 |
|
546 |
-
#:
|
547 |
#, php-format
|
548 |
#@ default
|
549 |
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>."
|
550 |
msgstr ""
|
551 |
|
552 |
-
#:
|
553 |
#, php-format
|
554 |
#@ yarpp
|
555 |
msgid "Please try <a href=\"%s\" target=\"_blank\">manual SQL setup</a>."
|
556 |
msgstr ""
|
557 |
|
558 |
-
#:
|
559 |
#, php-format
|
560 |
#@ yarpp
|
561 |
msgid "by <a href=\"%s\" target=\"_blank\">mitcho (Michael 芳貴 Erlewine)</a>"
|
45 |
msgid "Related posts brought to you by <a href='%s'>Yet Another Related Posts Plugin</a>."
|
46 |
msgstr "以上关联文章由 <a href='%s'>Yet Another Related Posts Plugin</a> 提供支持。"
|
47 |
|
48 |
+
#: yarpp_options.php:54
|
49 |
#@ yarpp
|
50 |
msgid "The MyISAM check has been overridden. You may now use the \"consider titles\" and \"consider bodies\" relatedness criteria."
|
51 |
msgstr "The MyISAM check has been overridden. You may now use the \"consider titles\" and \"consider bodies\" relatedness criteria."
|
52 |
|
53 |
+
#: yarpp_options.php:63
|
54 |
#, php-format
|
55 |
#@ yarpp
|
56 |
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."
|
57 |
msgstr "YARPP's \"consider titles\" and \"consider bodies\" relatedness criteria require your <code>%s</code> table to use the <a href='http://dev.mysql.com/doc/refman/5.0/en/storage-engines.html'>MyISAM storage engine</a>, but the table seems to be using the <code>%s</code> engine. These two options have been disabled."
|
58 |
|
59 |
+
#: yarpp_options.php:65
|
60 |
#, php-format
|
61 |
#@ yarpp
|
62 |
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."
|
63 |
msgstr "如果要恢复这些功能,请在您的 <code>%s</code> 表执行下列SQL指令: <code>ALTER TABLE `%s` ENGINE = MyISAM;</code> 。该操作将修改数据库,但不会损坏您的其它设置。"
|
64 |
|
65 |
+
#: yarpp_options.php:67
|
66 |
#, php-format
|
67 |
#@ yarpp
|
68 |
msgid "If, despite this check, you are sure that <code>%s</code> is using the MyISAM engine, press this magic button:"
|
69 |
msgstr "同意后 <code>%s</code> 将使用 MyISAM 引擎:"
|
70 |
|
71 |
+
#: yarpp_options.php:70
|
72 |
#@ yarpp
|
73 |
msgid "Trust me. Let me use MyISAM features."
|
74 |
msgstr "Trust me. Let me use MyISAM features."
|
75 |
|
76 |
+
#: yarpp_options.php:83
|
77 |
#@ yarpp
|
78 |
msgid "The YARPP database had an error but has been fixed."
|
79 |
msgstr "YARPP 数据库中的错误已被修复。"
|
80 |
|
81 |
+
#: yarpp_options.php:85
|
82 |
#@ yarpp
|
83 |
msgid "The YARPP database has an error which could not be fixed."
|
84 |
msgstr "YARPP 数据库中出现一个错误,无法修复。"
|
102 |
msgid "consider with extra weight"
|
103 |
msgstr "作为主要参考指标"
|
104 |
|
105 |
+
#: yarpp_options.php:178
|
106 |
#@ yarpp
|
107 |
msgid "Yet Another Related Posts Plugin Options"
|
108 |
msgstr "关联文章(YARPP)插件设置"
|
382 |
msgid "require more than one %s in common"
|
383 |
msgstr "至少从一个以上%s中考虑关联"
|
384 |
|
385 |
+
#: yarpp_options.php:114
|
386 |
#@ yarpp
|
387 |
msgid "Options saved!"
|
388 |
msgstr "保存成功!"
|
392 |
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."
|
393 |
msgstr ""
|
394 |
|
395 |
+
#: yarpp_options.php:279
|
396 |
#@ yarpp
|
397 |
msgid "Update options"
|
398 |
msgstr "保存设置"
|
399 |
|
400 |
+
#: yarpp_options.php:280
|
401 |
#@ yarpp
|
402 |
msgid "Do you really want to reset your configuration?"
|
403 |
msgstr "请注意!您确定重置所有的设置吗?"
|
404 |
|
405 |
+
#: yarpp_options.php:280
|
406 |
#@ yarpp
|
407 |
msgid "Reset options"
|
408 |
msgstr "重置设置"
|
433 |
msgid "Show only posts from the past NUMBER UNITS"
|
434 |
msgstr "仅关联显示 NUMBER UNITS 内的文章。"
|
435 |
|
436 |
+
#: yarpp_options.php:46
|
437 |
#, php-format
|
438 |
#@ yarpp
|
439 |
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."
|
543 |
msgid "Contact YARPP"
|
544 |
msgstr ""
|
545 |
|
546 |
+
#: yarpp_options.php:42
|
547 |
#, php-format
|
548 |
#@ default
|
549 |
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>."
|
550 |
msgstr ""
|
551 |
|
552 |
+
#: yarpp_options.php:86
|
553 |
#, php-format
|
554 |
#@ yarpp
|
555 |
msgid "Please try <a href=\"%s\" target=\"_blank\">manual SQL setup</a>."
|
556 |
msgstr ""
|
557 |
|
558 |
+
#: yarpp_options.php:188
|
559 |
#, php-format
|
560 |
#@ yarpp
|
561 |
msgid "by <a href=\"%s\" target=\"_blank\">mitcho (Michael 芳貴 Erlewine)</a>"
|
lang/yarpp-zh_TW.po
CHANGED
@@ -457,79 +457,79 @@ msgstr "在 WordPress.org 給 YARPP 評分"
|
|
457 |
msgid "Contact YARPP"
|
458 |
msgstr "聯絡 YARPP"
|
459 |
|
460 |
-
#:
|
461 |
#, php-format
|
462 |
#@ default
|
463 |
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>."
|
464 |
msgstr ""
|
465 |
|
466 |
-
#:
|
467 |
#, php-format
|
468 |
#@ yarpp
|
469 |
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."
|
470 |
msgstr "這是 Yet Another Related Posts Plugin 程式的新 beta 版本 (%s)。你可以<a href=\"%s\">點這裡下載</a>。"
|
471 |
|
472 |
-
#:
|
473 |
#@ yarpp
|
474 |
msgid "The MyISAM check has been overridden. You may now use the \"consider titles\" and \"consider bodies\" relatedness criteria."
|
475 |
msgstr "MyISAM 檢查已被重寫。你現在也許可以用 \"consider titles\" 和 \"consider bodies\" 關聯的標準。"
|
476 |
|
477 |
-
#:
|
478 |
#, php-format
|
479 |
#@ yarpp
|
480 |
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."
|
481 |
msgstr ""
|
482 |
|
483 |
-
#:
|
484 |
#, php-format
|
485 |
#@ yarpp
|
486 |
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."
|
487 |
msgstr "要還原此功能,請執行以下的 SQL 來更新你的 <code>%s</code> 資料表:<code>ALTER TABLE `%s` ENGINE = MyISAM;</code>。不會有任何資料被刪除,但可能會影響到執行效能。"
|
488 |
|
489 |
-
#:
|
490 |
#, php-format
|
491 |
#@ yarpp
|
492 |
msgid "If, despite this check, you are sure that <code>%s</code> is using the MyISAM engine, press this magic button:"
|
493 |
msgstr ""
|
494 |
|
495 |
-
#:
|
496 |
#@ yarpp
|
497 |
msgid "Trust me. Let me use MyISAM features."
|
498 |
msgstr "相信我。讓我使用 MyISAM 功能。"
|
499 |
|
500 |
-
#:
|
501 |
#@ yarpp
|
502 |
msgid "The YARPP database had an error but has been fixed."
|
503 |
msgstr "YARPP 資料庫發生錯誤,但已經修復。"
|
504 |
|
505 |
-
#:
|
506 |
#@ yarpp
|
507 |
msgid "The YARPP database has an error which could not be fixed."
|
508 |
msgstr "YARPP 資料庫發生一個無法修復的錯誤。"
|
509 |
|
510 |
-
#:
|
511 |
#, php-format
|
512 |
#@ yarpp
|
513 |
msgid "Please try <a href=\"%s\" target=\"_blank\">manual SQL setup</a>."
|
514 |
msgstr "請嘗試<a href=\"%s\" target=\"_blank\">手動 SQL 設定</a>。"
|
515 |
|
516 |
-
#:
|
517 |
#@ yarpp
|
518 |
msgid "Options saved!"
|
519 |
msgstr "設定已儲存!"
|
520 |
|
521 |
-
#:
|
522 |
#@ yarpp
|
523 |
msgid "Yet Another Related Posts Plugin Options"
|
524 |
msgstr "Yet Another Related Posts 設定"
|
525 |
|
526 |
-
#:
|
527 |
#, php-format
|
528 |
#@ yarpp
|
529 |
msgid "by <a href=\"%s\" target=\"_blank\">mitcho (Michael 芳貴 Erlewine)</a>"
|
530 |
msgstr "by <a href=\"%s\" target=\"_blank\">mitcho (Michael 芳貴 Erlewine)</a>"
|
531 |
|
532 |
-
#:
|
533 |
#@ default
|
534 |
msgid "Save Changes"
|
535 |
msgstr ""
|
457 |
msgid "Contact YARPP"
|
458 |
msgstr "聯絡 YARPP"
|
459 |
|
460 |
+
#: yarpp_options.php:31
|
461 |
#, php-format
|
462 |
#@ default
|
463 |
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>."
|
464 |
msgstr ""
|
465 |
|
466 |
+
#: yarpp_options.php:35
|
467 |
#, php-format
|
468 |
#@ yarpp
|
469 |
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."
|
470 |
msgstr "這是 Yet Another Related Posts Plugin 程式的新 beta 版本 (%s)。你可以<a href=\"%s\">點這裡下載</a>。"
|
471 |
|
472 |
+
#: yarpp_options.php:43
|
473 |
#@ yarpp
|
474 |
msgid "The MyISAM check has been overridden. You may now use the \"consider titles\" and \"consider bodies\" relatedness criteria."
|
475 |
msgstr "MyISAM 檢查已被重寫。你現在也許可以用 \"consider titles\" 和 \"consider bodies\" 關聯的標準。"
|
476 |
|
477 |
+
#: yarpp_options.php:51
|
478 |
#, php-format
|
479 |
#@ yarpp
|
480 |
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."
|
481 |
msgstr ""
|
482 |
|
483 |
+
#: yarpp_options.php:53
|
484 |
#, php-format
|
485 |
#@ yarpp
|
486 |
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."
|
487 |
msgstr "要還原此功能,請執行以下的 SQL 來更新你的 <code>%s</code> 資料表:<code>ALTER TABLE `%s` ENGINE = MyISAM;</code>。不會有任何資料被刪除,但可能會影響到執行效能。"
|
488 |
|
489 |
+
#: yarpp_options.php:55
|
490 |
#, php-format
|
491 |
#@ yarpp
|
492 |
msgid "If, despite this check, you are sure that <code>%s</code> is using the MyISAM engine, press this magic button:"
|
493 |
msgstr ""
|
494 |
|
495 |
+
#: yarpp_options.php:58
|
496 |
#@ yarpp
|
497 |
msgid "Trust me. Let me use MyISAM features."
|
498 |
msgstr "相信我。讓我使用 MyISAM 功能。"
|
499 |
|
500 |
+
#: yarpp_options.php:73
|
501 |
#@ yarpp
|
502 |
msgid "The YARPP database had an error but has been fixed."
|
503 |
msgstr "YARPP 資料庫發生錯誤,但已經修復。"
|
504 |
|
505 |
+
#: yarpp_options.php:75
|
506 |
#@ yarpp
|
507 |
msgid "The YARPP database has an error which could not be fixed."
|
508 |
msgstr "YARPP 資料庫發生一個無法修復的錯誤。"
|
509 |
|
510 |
+
#: yarpp_options.php:76
|
511 |
#, php-format
|
512 |
#@ yarpp
|
513 |
msgid "Please try <a href=\"%s\" target=\"_blank\">manual SQL setup</a>."
|
514 |
msgstr "請嘗試<a href=\"%s\" target=\"_blank\">手動 SQL 設定</a>。"
|
515 |
|
516 |
+
#: yarpp_options.php:132
|
517 |
#@ yarpp
|
518 |
msgid "Options saved!"
|
519 |
msgstr "設定已儲存!"
|
520 |
|
521 |
+
#: yarpp_options.php:138
|
522 |
#@ yarpp
|
523 |
msgid "Yet Another Related Posts Plugin Options"
|
524 |
msgstr "Yet Another Related Posts 設定"
|
525 |
|
526 |
+
#: yarpp_options.php:146
|
527 |
#, php-format
|
528 |
#@ yarpp
|
529 |
msgid "by <a href=\"%s\" target=\"_blank\">mitcho (Michael 芳貴 Erlewine)</a>"
|
530 |
msgstr "by <a href=\"%s\" target=\"_blank\">mitcho (Michael 芳貴 Erlewine)</a>"
|
531 |
|
532 |
+
#: yarpp_options.php:175
|
533 |
#@ default
|
534 |
msgid "Save Changes"
|
535 |
msgstr ""
|
options.php
DELETED
@@ -1,239 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
global $wpdb, $wp_version, $yarpp;
|
3 |
-
|
4 |
-
// Enforce YARPP setup:
|
5 |
-
$yarpp->enforce();
|
6 |
-
|
7 |
-
// check to see that templates are in the right place
|
8 |
-
if ( !$yarpp->diagnostic_custom_templates() ) {
|
9 |
-
$template_option = yarpp_get_option( 'template' );
|
10 |
-
if ( $template_option !== false && 'thumbnails' != $template_option )
|
11 |
-
yarpp_set_option( 'template', false );
|
12 |
-
$template_option = yarpp_get_option( 'rss_template' );
|
13 |
-
if ( $template_option !== false && 'thumbnails' != $template_option )
|
14 |
-
yarpp_set_option( 'rss_template', false );
|
15 |
-
}
|
16 |
-
|
17 |
-
/* TODO: Verify if this version check is actually overwriting wp defaults */
|
18 |
-
// 3.3: move version checking here, in PHP:
|
19 |
-
if (current_user_can('update_plugins')) {
|
20 |
-
$yarpp_version_info = $yarpp->version_info();
|
21 |
-
|
22 |
-
// these strings are not localizable, as long as the plugin data on wordpress.org
|
23 |
-
// cannot be.
|
24 |
-
$slug = 'yet-another-related-posts-plugin';
|
25 |
-
$plugin_name = 'Yet Another Related Posts Plugin';
|
26 |
-
$file = basename(YARPP_DIR).'/yarpp.php';
|
27 |
-
if ( $yarpp_version_info['result'] === 'new' ) {
|
28 |
-
// make sure the update system is aware of this version
|
29 |
-
$current = get_site_transient( 'update_plugins' );
|
30 |
-
if ( !isset( $current->response[ $file ] ) ) {
|
31 |
-
delete_site_transient('update_plugins');
|
32 |
-
wp_update_plugins();
|
33 |
-
}
|
34 |
-
|
35 |
-
echo '<div class="updated"><p>';
|
36 |
-
$details_url = self_admin_url('plugin-install.php?tab=plugin-information&plugin='.$slug.'&TB_iframe=true&width=600&height=800');
|
37 |
-
printf(
|
38 |
-
__(
|
39 |
-
'There is a new version of %1$s available.'.
|
40 |
-
'<a href="%2$s" class="thickbox" title="%3$s">View version %4$s details</a>'.
|
41 |
-
'or <a href="%5$s">update automatically</a>.', 'yarpp'),
|
42 |
-
$plugin_name,
|
43 |
-
esc_url($details_url),
|
44 |
-
esc_attr($plugin_name),
|
45 |
-
$yarpp_version_info['current']['version'],
|
46 |
-
wp_nonce_url( self_admin_url('update.php?action=upgrade-plugin&plugin=').$file, 'upgrade-plugin_'.$file)
|
47 |
-
);
|
48 |
-
echo '</p></div>';
|
49 |
-
} else if ( $yarpp_version_info['result'] === 'newbeta' ) {
|
50 |
-
echo '<div class="updated"><p>';
|
51 |
-
printf(
|
52 |
-
__(
|
53 |
-
"There is a new beta (%s) of Yet Another Related Posts Plugin. ".
|
54 |
-
"You can <a href=\"%s\">download it here</a> at your own risk.", "yarpp"),
|
55 |
-
$yarpp_version_info['beta']['version'],
|
56 |
-
$yarpp_version_info['beta']['url']
|
57 |
-
);
|
58 |
-
echo '</p></div>';
|
59 |
-
}
|
60 |
-
}
|
61 |
-
|
62 |
-
/* MARK: MyIsam message */
|
63 |
-
if (isset($_POST['myisam_override'])) {
|
64 |
-
yarpp_set_option( 'myisam_override', 1 );
|
65 |
-
echo "<div class='updated'>"
|
66 |
-
.__("The MyISAM check has been overridden. You may now use the \"consider titles\" and \"consider bodies\" relatedness criteria.",'yarpp')
|
67 |
-
."</div>";
|
68 |
-
|
69 |
-
$yarpp->enable_fulltext( true );
|
70 |
-
}
|
71 |
-
|
72 |
-
$table_type = $yarpp->diagnostic_myisam_posts();
|
73 |
-
|
74 |
-
if ( $table_type !== true ) $yarpp->disable_fulltext();
|
75 |
-
|
76 |
-
if (!yarpp_get_option('myisam_override') && $yarpp->diagnostic_fulltext_disabled()) {
|
77 |
-
echo(
|
78 |
-
"<div class='updated'>".
|
79 |
-
sprintf(
|
80 |
-
__("YARPP's \"consider titles\" and \"consider bodies\" relatedness criteria require your <code>%s</code>
|
81 |
-
table to use the <a href='http://dev.mysql.com/doc/refman/5.0/en/storage-engines.html'>MyISAM storage engine</a>,
|
82 |
-
but the table seems to be using the <code>%s</code> engine. These two options have been disabled.",'yarpp'),
|
83 |
-
$wpdb->posts,
|
84 |
-
$table_type
|
85 |
-
).
|
86 |
-
"<br />".
|
87 |
-
sprintf(
|
88 |
-
__("To restore these features, please update your <code>%s</code> table by executing the following SQL
|
89 |
-
directive: <code>ALTER TABLE `%s` ENGINE = MyISAM;</code> . No data will be erased by altering the
|
90 |
-
table's engine, although there are performance implications.",'yarpp'),
|
91 |
-
$wpdb->posts,
|
92 |
-
$wpdb->posts
|
93 |
-
).
|
94 |
-
"<br />".
|
95 |
-
sprintf(
|
96 |
-
__("If, despite this check, you are sure that <code>%s</code> is using the MyISAM engine, press this magic
|
97 |
-
button:",'yarpp'),
|
98 |
-
$wpdb->posts
|
99 |
-
).
|
100 |
-
"<br />".
|
101 |
-
"<form method='post'>".
|
102 |
-
"<input type='submit' class='button' name='myisam_override' value='".__("Trust me. Let me use MyISAM features.",'yarpp')."'/>".
|
103 |
-
"</form>"
|
104 |
-
."</div>"
|
105 |
-
);
|
106 |
-
}
|
107 |
-
|
108 |
-
if(!$yarpp->enabled() && !$yarpp->activate()) {
|
109 |
-
echo '<div class="updated">'.__('The YARPP database has an error which could not be fixed.','yarpp').'</div>';
|
110 |
-
/* TODO: SQL Error */
|
111 |
-
// printf(
|
112 |
-
// __('Please try <a href="%s" target="_blank">manual SQL setup</a>.','yarpp'),
|
113 |
-
// 'http://--/code/yarpp/sql.php?prefix='.urlencode($wpdb->prefix)
|
114 |
-
// );
|
115 |
-
// echo '</div>';
|
116 |
-
}
|
117 |
-
|
118 |
-
if (isset($_POST['update_yarpp'])) {
|
119 |
-
$new_options = array();
|
120 |
-
foreach ($yarpp->default_options as $option => $default) {
|
121 |
-
if ( is_bool($default) )
|
122 |
-
$new_options[$option] = isset($_POST[$option]);
|
123 |
-
// @todo: do we really want to stripslashes here anymore?
|
124 |
-
if ( (is_string($default) || is_int($default)) &&
|
125 |
-
isset($_POST[$option]) && is_string($_POST[$option]) )
|
126 |
-
$new_options[$option] = stripslashes($_POST[$option]);
|
127 |
-
}
|
128 |
-
|
129 |
-
if ( isset($_POST['weight']) ) {
|
130 |
-
$new_options['weight'] = array();
|
131 |
-
$new_options['require_tax'] = array();
|
132 |
-
foreach ( (array) $_POST['weight'] as $key => $value) {
|
133 |
-
if ( $value == 'consider' )
|
134 |
-
$new_options['weight'][$key] = 1;
|
135 |
-
if ( $value == 'consider_extra' )
|
136 |
-
$new_options['weight'][$key] = YARPP_EXTRA_WEIGHT;
|
137 |
-
}
|
138 |
-
foreach ( (array) $_POST['weight']['tax'] as $tax => $value) {
|
139 |
-
if ( $value == 'consider' )
|
140 |
-
$new_options['weight']['tax'][$tax] = 1;
|
141 |
-
if ( $value == 'consider_extra' )
|
142 |
-
$new_options['weight']['tax'][$tax] = YARPP_EXTRA_WEIGHT;
|
143 |
-
if ( $value == 'require_one' ) {
|
144 |
-
$new_options['weight']['tax'][$tax] = 1;
|
145 |
-
$new_options['require_tax'][$tax] = 1;
|
146 |
-
}
|
147 |
-
if ( $value == 'require_more' ) {
|
148 |
-
$new_options['weight']['tax'][$tax] = 1;
|
149 |
-
$new_options['require_tax'][$tax] = 2;
|
150 |
-
}
|
151 |
-
}
|
152 |
-
}
|
153 |
-
|
154 |
-
if ( isset( $_POST['auto_display_post_types'] ) ) {
|
155 |
-
$new_options['auto_display_post_types'] = array_keys( $_POST['auto_display_post_types'] );
|
156 |
-
} else {
|
157 |
-
$new_options['auto_display_post_types'] = array();
|
158 |
-
}
|
159 |
-
|
160 |
-
$new_options['recent'] = isset($_POST['recent_only']) ?
|
161 |
-
$_POST['recent_number'] . ' ' . $_POST['recent_units'] : false;
|
162 |
-
|
163 |
-
if ( isset($_POST['exclude']) )
|
164 |
-
$new_options['exclude'] = implode(',',array_keys($_POST['exclude']));
|
165 |
-
else
|
166 |
-
$new_options['exclude'] = '';
|
167 |
-
|
168 |
-
$new_options['template'] = $_POST['use_template'] == 'custom' ? $_POST['template_file'] :
|
169 |
-
( $_POST['use_template'] == 'thumbnails' ? 'thumbnails' : false );
|
170 |
-
$new_options['rss_template'] = $_POST['rss_use_template'] == 'custom' ? $_POST['rss_template_file'] :
|
171 |
-
( $_POST['rss_use_template'] == 'thumbnails' ? 'thumbnails' : false );
|
172 |
-
|
173 |
-
$new_options = apply_filters( 'yarpp_settings_save', $new_options );
|
174 |
-
yarpp_set_option($new_options);
|
175 |
-
|
176 |
-
echo '<div class="updated fade"><p>'.__('Options saved!','yarpp').'</p></div>';
|
177 |
-
}
|
178 |
-
|
179 |
-
?>
|
180 |
-
<div class="wrap">
|
181 |
-
<h2>
|
182 |
-
<?php _e('Yet Another Related Posts Plugin Options','yarpp');?> <small><?php
|
183 |
-
echo apply_filters( 'yarpp_version_html', esc_html( get_option('yarpp_version') ) );
|
184 |
-
?></small>
|
185 |
-
</h2>
|
186 |
-
|
187 |
-
<form method="post">
|
188 |
-
|
189 |
-
<div id="yarpp_author_text">
|
190 |
-
<!-- TODO: Author -->
|
191 |
-
<!-- <small><?php printf(__('by <a href="%s" target="_blank">-- (Michael 芳貴 Erlewine)</a>','yarpp'), 'http://--/');?></small> -->
|
192 |
-
</div>
|
193 |
-
|
194 |
-
<?php
|
195 |
-
wp_nonce_field( 'meta-box-order', 'meta-box-order-nonce', false );
|
196 |
-
wp_nonce_field( 'closedpostboxes', 'closedpostboxesnonce', false );
|
197 |
-
wp_nonce_field( 'yarpp_display_demo', 'yarpp_display_demo-nonce', false );
|
198 |
-
wp_nonce_field( 'yarpp_display_exclude_terms', 'yarpp_display_exclude_terms-nonce', false );
|
199 |
-
wp_nonce_field( 'yarpp_optin_data', 'yarpp_optin_data-nonce', false );
|
200 |
-
wp_nonce_field( 'yarpp_set_display_code', 'yarpp_set_display_code-nonce', false );
|
201 |
-
if ( !count($yarpp->admin->get_templates()) && $yarpp->admin->can_copy_templates() )
|
202 |
-
wp_nonce_field( 'yarpp_copy_templates', 'yarpp_copy_templates-nonce', false );
|
203 |
-
?>
|
204 |
-
<div id="poststuff" class="metabox-holder has-right-sidebar">
|
205 |
-
|
206 |
-
<?php if ( !$yarpp->get_option('rss_display') ): ?>
|
207 |
-
<style>
|
208 |
-
.rss_displayed {
|
209 |
-
display: none;
|
210 |
-
}
|
211 |
-
</style>
|
212 |
-
<?php endif; ?>
|
213 |
-
|
214 |
-
<div class="inner-sidebar" id="side-info-column">
|
215 |
-
<?php
|
216 |
-
do_meta_boxes( 'settings_page_yarpp', 'side', array() );
|
217 |
-
?>
|
218 |
-
</div>
|
219 |
-
|
220 |
-
<div id="post-body-content">
|
221 |
-
<?php
|
222 |
-
do_meta_boxes( 'settings_page_yarpp', 'normal', array() );
|
223 |
-
?>
|
224 |
-
</div>
|
225 |
-
|
226 |
-
<script language="javascript">
|
227 |
-
var spinner = '<?php echo esc_url( admin_url( 'images/wpspin_light.gif' ) ); ?>',
|
228 |
-
loading = '<img class="loading" src="'+spinner+'" alt="loading..."/>';
|
229 |
-
</script>
|
230 |
-
|
231 |
-
<div>
|
232 |
-
<input type="submit" class='button-primary' name="update_yarpp" value="<?php _e( 'Save Changes' )?>" />
|
233 |
-
</div>
|
234 |
-
|
235 |
-
</div><!--#poststuff-->
|
236 |
-
|
237 |
-
</form>
|
238 |
-
|
239 |
-
</div><!--.wrap-->
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
readme.txt
CHANGED
@@ -1,34 +1,39 @@
|
|
1 |
=== Yet Another Related Posts Plugin (YARPP) ===
|
2 |
Contributors: jeffparker
|
3 |
-
Author:
|
4 |
-
Author URI: http://
|
5 |
-
Plugin URI: http://yarpp.
|
6 |
-
Tags:
|
7 |
Requires at least: 3.3
|
8 |
-
Tested up to: 3.
|
9 |
-
Stable tag: 4.
|
10 |
License: GPLv2 or later
|
11 |
|
12 |
Display a list of related entries on your site and feeds based on a unique algorithm. Now with thumbnail support built-in!
|
13 |
|
14 |
== Description ==
|
15 |
|
16 |
-
Yet Another Related Posts Plugin (YARPP)
|
17 |
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
|
|
|
|
24 |
|
25 |
-
This plugin requires PHP 5, MySQL 4.1, and WordPress 3.3 or greater.
|
26 |
|
27 |
-
|
|
|
|
|
|
|
|
|
|
|
28 |
|
29 |
-
|
30 |
-
|
31 |
-
I try to respond to inquiries on the forums on a regular basis and hope to build a community of users who can learn from each other's questions and experiences and can support one another. I ask for your understanding on this matter.
|
32 |
|
33 |
= Testimonials =
|
34 |
|
@@ -70,7 +75,7 @@ Make sure the "display related posts in feeds" option is turned on if you would
|
|
70 |
|
71 |
= Widget =
|
72 |
|
73 |
-
Related posts can also be displayed as a widget. Go to the
|
74 |
|
75 |
= Custom display through templates =
|
76 |
|
@@ -78,11 +83,15 @@ YARPP allows the advanced user with knowledge of PHP to customize the display of
|
|
78 |
|
79 |
== Frequently Asked Questions ==
|
80 |
|
81 |
-
|
|
|
|
|
|
|
|
|
82 |
|
83 |
= Many pages list "no related posts." =
|
84 |
|
85 |
-
Most likely you have "no related posts" right now because the default "match threshold" is too high. Here's what I recommend to find an appropriate match threshold: lower your match threshold in the YARPP options to something very low, like 1. (If you don't see the match threshold, you may need to display the "Relatedness" options via the "Screen Options" tab at the top.) Most likely the really low threshold will pull up many posts that aren't actually related (false positives), so look at some of your posts' related posts and their match scores. This will help you find an appropriate threshold. You want it lower than what you have now, but high enough so it doesn't have many false positives.
|
86 |
|
87 |
= How can I move the related posts display? =
|
88 |
|
@@ -131,9 +140,11 @@ Once you save any CSS changes, empty your browser's cache and reload your page t
|
|
131 |
|
132 |
= I'm using the Thumbnails display. How can I change the thumbnail size? =
|
133 |
|
134 |
-
The default YARPP thumbnail size is 120px by 120px. The thumbnail size can be specified programmatically by adding `add_image_size(
|
|
|
|
|
135 |
|
136 |
-
|
137 |
|
138 |
= I'm using the Thumbnails display. Why aren't the right size thumbnails being served? =
|
139 |
|
@@ -251,13 +262,13 @@ true); // third argument: (optional) true to echo the HTML block; false to retur
|
|
251 |
|
252 |
Options which are not specified will default to those specified in the YARPP settings page. Additionally, if you are using the built-in template rather than specifying a custom template file in `template`, the following arguments can be used to override the various parts of the builtin template: `before_title`, `after_title`, `before_post`, `after_post`, `before_related`, `after_related`, `no_results`, `excerpt_length`.
|
253 |
|
254 |
-
If you need to use related entries programmatically or to know whether they exist, you can use the functions `yarpp_get_related($args, $reference_ID)` and `yarpp_related_exist($args, $reference_ID)`. `yarpp_get_related` returns an array of `post` objects, just like the WordPress function `get_posts`. `yarpp_related_exist` returns a boolean for whether any such related entries exist. For each function, `$args` takes the same arguments as those shown for `yarpp_related` above, except for the various display and template options.
|
255 |
|
256 |
Note that custom YARPP queries using the functions mentioned here are *not* cached in the built-in YARPP caching system. Thus, if you notice any performance hits, you may need to write your own code to cache the results.
|
257 |
|
258 |
= Does YARPP support custom taxonomies? =
|
259 |
|
260 |
-
Yes. Any taxonomy, including custom taxonomies, may be specified in the `weight` or `require_tax` arguments in a custom display as above. `term_taxonomy_id`
|
261 |
|
262 |
If you would like to choose custom taxonomies to choose in the YARPP settings UI, either to exclude certain terms or to consider them in the relatedness formula via the UI, the taxonomy must (a) have either the `show_ui` or `yarpp_support` attribute set to true and (b) must apply to either the post types `post` or `page` or both.
|
263 |
|
@@ -311,6 +322,16 @@ YARPP is currently localized in the following languages:
|
|
311 |
|
312 |
== Changelog ==
|
313 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
314 |
= 4.0.8 =
|
315 |
* The recent 4.0.7 YARPP update included a settings modification to opt in users to our tracking pixel by default. By doing so, our intent was to use this expanded information to better understand the geographic reach of the popular plugin. We have been made aware that this change infringed upon the WordPress guidelines. We apologize for the issue and have remedied the situation in update 4.0.8. Going forward, we would really appreciate your input to help us continue to improve the product. We are primarily looking for country, domain, and date installed information. Please help us make YARPP better by opting in to this information and by filling out our quick, [5 question survey](http://www.surveymonkey.com/s/Z278L88). Thank you.
|
316 |
|
@@ -817,3 +838,5 @@ Some YARPP options are now hidden by default. You can show them again from the S
|
|
817 |
|
818 |
= 3.2.2 =
|
819 |
Requires PHP 5.
|
|
|
|
1 |
=== Yet Another Related Posts Plugin (YARPP) ===
|
2 |
Contributors: jeffparker
|
3 |
+
Author: Adknowledge
|
4 |
+
Author URI: http://yarpp.com/
|
5 |
+
Plugin URI: http://yarpp.com/
|
6 |
+
Tags: feeds, pages, posts, related, rss, yarpp, ads, multisite, multilingual, thumbnails, related posts, related content
|
7 |
Requires at least: 3.3
|
8 |
+
Tested up to: 3.7.1
|
9 |
+
Stable tag: 4.1
|
10 |
License: GPLv2 or later
|
11 |
|
12 |
Display a list of related entries on your site and feeds based on a unique algorithm. Now with thumbnail support built-in!
|
13 |
|
14 |
== Description ==
|
15 |
|
16 |
+
Yet Another Related Posts Plugin (YARPP) displays pages, posts, and custom post types related to the current entry, introducing your readers to other relevant content on your site.
|
17 |
|
18 |
+
**YARPP Basic Features**
|
19 |
+
-----------------------------------------
|
20 |
+
* **Thumbnails or list view** of related content.
|
21 |
+
* **Related posts, pages, and custom post types**.
|
22 |
+
* **Templating**: The YARPP templating system gives you advanced control of how your results are displayed.
|
23 |
+
* **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/).
|
24 |
+
* **Caching**: YARPP is performant, caching related posts data as your site is visited.
|
25 |
+
* **Related posts in feeds**: Display related posts in RSS feeds with custom display options.
|
26 |
|
27 |
+
This plugin requires PHP 5, MySQL 4.1, and WordPress 3.3 or greater. See [the FAQ](http://wordpress.org/plugins/yet-another-related-posts-plugin/faq/) for answers to common questions.
|
28 |
|
29 |
+
**Enable YARPP Pro for Powerful Enhancements**
|
30 |
+
-------------------------------------------
|
31 |
+
* Make money by displaying relevant sponsored ads.
|
32 |
+
* Customize thumbnail display through the user interface.
|
33 |
+
* Pull related content from multiple domains.
|
34 |
+
* Get detailed reporting about your related content list.
|
35 |
|
36 |
+
[Learn more about the new YARPP Pro enhancements!](http://yarpp.com)
|
|
|
|
|
37 |
|
38 |
= Testimonials =
|
39 |
|
75 |
|
76 |
= Widget =
|
77 |
|
78 |
+
Related posts can also be displayed as a widget. Go to the Appearance > Widgets options page and add the Related Posts widget. The widget will only be displayed on single entry (permalink) pages. The widget can be used even if the "auto display" option is turned off.
|
79 |
|
80 |
= Custom display through templates =
|
81 |
|
83 |
|
84 |
== Frequently Asked Questions ==
|
85 |
|
86 |
+
**Common Questions about YARPP Basic**
|
87 |
+
|
88 |
+
Below are Frequently Asked Questions about YARPP basic. For questions about the new YARPP Pro enhancements, please visit the [YARPP Pro FAQ](http://www.yarpp.com/faq).
|
89 |
+
|
90 |
+
If your question isn't here, ask your own question at [the WordPress.org forums](http://wordpress.org/support/plugin/yet-another-related-posts-plugin). We'd also appreciate if you would tell us how you found out about YARPP, by taking [this quick five-question survey](http://www.surveymonkey.com/s/Z278L88). Thanks for your feedback!
|
91 |
|
92 |
= Many pages list "no related posts." =
|
93 |
|
94 |
+
Most likely you have "no related posts" right now because the default "match threshold" is too high. Here's what I recommend to find an appropriate match threshold: lower your match threshold in the YARPP "Relatedness" options to something very low, like 1. (If you don't see the match threshold, you may need to display the "Relatedness" options via the "Screen Options" tab at the top.) Most likely the really low threshold will pull up many posts that aren't actually related (false positives), so look at some of your posts' related posts and their match scores. This will help you find an appropriate threshold. You want it lower than what you have now, but high enough so it doesn't have many false positives.
|
95 |
|
96 |
= How can I move the related posts display? =
|
97 |
|
140 |
|
141 |
= I'm using the Thumbnails display. How can I change the thumbnail size? =
|
142 |
|
143 |
+
The default YARPP thumbnail size is 120px by 120px. The thumbnail size can be specified programmatically by adding `add_image_size('yarpp-thumbnail', $width, $height, true);` to your theme's `functions.php` file with appropriate width and height variables. In the future I may add some UI to the settings to also set this. Feedback is requested on whether this is a good idea.
|
144 |
+
|
145 |
+
Each time you change YARPP's thumbnail dimensions like this, you will probably want to have WordPress regenerate appropriate sized thumbnails for all of your images. I highly recommend the [Regenerate Thumbnails](http://wordpress.org/extend/plugins/regenerate-thumbnails/) plugin for this purpose.
|
146 |
|
147 |
+
Please note that, by enabling the YARPP Pro enhancements, you can customize the thumbnail display using the admin interface instead of through PHP code.
|
148 |
|
149 |
= I'm using the Thumbnails display. Why aren't the right size thumbnails being served? =
|
150 |
|
262 |
|
263 |
Options which are not specified will default to those specified in the YARPP settings page. Additionally, if you are using the built-in template rather than specifying a custom template file in `template`, the following arguments can be used to override the various parts of the builtin template: `before_title`, `after_title`, `before_post`, `after_post`, `before_related`, `after_related`, `no_results`, `excerpt_length`.
|
264 |
|
265 |
+
If you need to use related entries programmatically or to know whether they exist, you can use the functions `yarpp_get_related( $args, $reference_ID )` and `yarpp_related_exist( $args, $reference_ID )`. `yarpp_get_related` returns an array of `post` objects, just like the WordPress function `get_posts`. `yarpp_related_exist` returns a boolean for whether any such related entries exist. For each function, `$args` takes the same arguments as those shown for `yarpp_related` above, except for the various display and template options.
|
266 |
|
267 |
Note that custom YARPP queries using the functions mentioned here are *not* cached in the built-in YARPP caching system. Thus, if you notice any performance hits, you may need to write your own code to cache the results.
|
268 |
|
269 |
= Does YARPP support custom taxonomies? =
|
270 |
|
271 |
+
Yes. Any taxonomy, including custom taxonomies, may be specified in the `weight` or `require_tax` arguments in a custom display as above. `term_taxonomy_id` specified in the `exclude` argument may be of any taxonomy.
|
272 |
|
273 |
If you would like to choose custom taxonomies to choose in the YARPP settings UI, either to exclude certain terms or to consider them in the relatedness formula via the UI, the taxonomy must (a) have either the `show_ui` or `yarpp_support` attribute set to true and (b) must apply to either the post types `post` or `page` or both.
|
274 |
|
322 |
|
323 |
== Changelog ==
|
324 |
|
325 |
+
= 4.1 =
|
326 |
+
* Added optional YARPP Pro enhancements:
|
327 |
+
+ Revenue-generating ad content interspersed with related posts display
|
328 |
+
+ Detailed reports for Clicks, Click-Through Rate, and Revenue
|
329 |
+
+ Ability to display related content from multiple domains
|
330 |
+
+ UI settings for related content display, including thumbnail size and layout
|
331 |
+
+ Refined "relatedness" algorithm is now independent of MyISAM or InnoDB engines
|
332 |
+
+ "Relatedness" is calculated and stored externally, minimizing server load
|
333 |
+
* Based on user feedback, the "Screen Options" section displays all YARPP options panels by default.
|
334 |
+
|
335 |
= 4.0.8 =
|
336 |
* The recent 4.0.7 YARPP update included a settings modification to opt in users to our tracking pixel by default. By doing so, our intent was to use this expanded information to better understand the geographic reach of the popular plugin. We have been made aware that this change infringed upon the WordPress guidelines. We apologize for the issue and have remedied the situation in update 4.0.8. Going forward, we would really appreciate your input to help us continue to improve the product. We are primarily looking for country, domain, and date installed information. Please help us make YARPP better by opting in to this information and by filling out our quick, [5 question survey](http://www.surveymonkey.com/s/Z278L88). Thank you.
|
337 |
|
838 |
|
839 |
= 3.2.2 =
|
840 |
Requires PHP 5.
|
841 |
+
|
842 |
+
|
related-functions.php
DELETED
@@ -1,100 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
-
function yarpp_related($args = array(), $reference_ID = false, $echo = true) {
|
4 |
-
global $yarpp;
|
5 |
-
|
6 |
-
if ( is_array($reference_ID) ) {
|
7 |
-
_doing_it_wrong( __FUNCTION__, "This YARPP function now takes \$args first and \$reference_ID second.", '3.5');
|
8 |
-
return;
|
9 |
-
}
|
10 |
-
|
11 |
-
return $yarpp->display_related($reference_ID, $args, $echo);
|
12 |
-
}
|
13 |
-
|
14 |
-
function yarpp_related_exist($args = array(), $reference_ID = false) {
|
15 |
-
global $yarpp;
|
16 |
-
|
17 |
-
if ( is_array($reference_ID) ) {
|
18 |
-
_doing_it_wrong( __FUNCTION__, "This YARPP function now takes \$args first and \$reference_ID second.", '3.5');
|
19 |
-
return;
|
20 |
-
}
|
21 |
-
|
22 |
-
return $yarpp->related_exist($reference_ID, $args);
|
23 |
-
}
|
24 |
-
|
25 |
-
function yarpp_get_related($args = array(), $reference_ID = false) {
|
26 |
-
global $yarpp;
|
27 |
-
return $yarpp->get_related($reference_ID, $args);
|
28 |
-
}
|
29 |
-
|
30 |
-
// Here are the related_WHATEVER functions, as introduced in 1.1
|
31 |
-
// Since YARPP 2.1, these functions receive (optionally) one array argument.
|
32 |
-
|
33 |
-
function related_posts($args = array(), $reference_ID=false, $echo=true) {
|
34 |
-
if ( false !== $reference_ID && is_bool($reference_ID) ) {
|
35 |
-
_doing_it_wrong( __FUNCTION__, "This YARPP function now takes \$args first and \$reference_ID second.", '3.5');
|
36 |
-
return;
|
37 |
-
}
|
38 |
-
|
39 |
-
global $yarpp;
|
40 |
-
if ( $yarpp->get_option('cross_relate') )
|
41 |
-
$args['post_type'] = $yarpp->get_post_types();
|
42 |
-
else
|
43 |
-
$args['post_type'] = array( 'post' );
|
44 |
-
|
45 |
-
return yarpp_related( $args, $reference_ID, $echo );
|
46 |
-
}
|
47 |
-
|
48 |
-
function related_pages($args = array(), $reference_ID=false, $echo=true) {
|
49 |
-
if ( false !== $reference_ID && is_bool($reference_ID) ) {
|
50 |
-
_doing_it_wrong( __FUNCTION__, "This YARPP function now takes \$args first and \$reference_ID second.", '3.5');
|
51 |
-
return;
|
52 |
-
}
|
53 |
-
|
54 |
-
global $yarpp;
|
55 |
-
if ( $yarpp->get_option('cross_relate') )
|
56 |
-
$args['post_type'] = $yarpp->get_post_types();
|
57 |
-
else
|
58 |
-
$args['post_type'] = array( 'page' );
|
59 |
-
|
60 |
-
return yarpp_related( $args, $reference_ID, $echo );
|
61 |
-
}
|
62 |
-
|
63 |
-
function related_entries($args = array(), $reference_ID=false, $echo=true ) {
|
64 |
-
if ( false !== $reference_ID && is_bool($reference_ID) ) {
|
65 |
-
_doing_it_wrong( __FUNCTION__, "This YARPP function now takes \$args first and \$reference_ID second.", '3.5');
|
66 |
-
return;
|
67 |
-
}
|
68 |
-
|
69 |
-
global $yarpp;
|
70 |
-
$args['post_type'] = $yarpp->get_post_types();
|
71 |
-
|
72 |
-
return yarpp_related( $args, $reference_ID, $echo );
|
73 |
-
}
|
74 |
-
|
75 |
-
function related_posts_exist($args = array(), $reference_ID=false) {
|
76 |
-
global $yarpp;
|
77 |
-
if ( $yarpp->get_option('cross_relate') )
|
78 |
-
$args['post_type'] = $yarpp->get_post_types();
|
79 |
-
else
|
80 |
-
$args['post_type'] = array( 'post' );
|
81 |
-
|
82 |
-
return yarpp_related_exist( $args, $reference_ID );
|
83 |
-
}
|
84 |
-
|
85 |
-
function related_pages_exist($args = array(), $reference_ID=false) {
|
86 |
-
global $yarpp;
|
87 |
-
if ( $yarpp->get_option('cross_relate') )
|
88 |
-
$args['post_type'] = $yarpp->get_post_types();
|
89 |
-
else
|
90 |
-
$args['post_type'] = array( 'page' );
|
91 |
-
|
92 |
-
return yarpp_related_exist( $args, $reference_ID );
|
93 |
-
}
|
94 |
-
|
95 |
-
function related_entries_exist($args = array(),$reference_ID=false) {
|
96 |
-
global $yarpp;
|
97 |
-
$args['post_type'] = $yarpp->get_post_types();
|
98 |
-
|
99 |
-
return yarpp_related_exist( $args, $reference_ID );
|
100 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
sprites-2x.png
CHANGED
Binary file
|
sprites.png
CHANGED
Binary file
|
options.css → style/options_basic.css
RENAMED
@@ -33,7 +33,7 @@ ul.yarpp_contacts li a img {
|
|
33 |
position: absolute;
|
34 |
margin-left: -29px;
|
35 |
margin-top: -1px;
|
36 |
-
background-image: url('sprites.png');
|
37 |
}
|
38 |
body.rtl .icon {
|
39 |
margin-left: none;
|
@@ -42,10 +42,11 @@ body.rtl .icon {
|
|
42 |
|
43 |
@media only screen and (-webkit-min-device-pixel-ratio: 1.5) {
|
44 |
.icon {
|
45 |
-
background-image: url('sprites-2x.png');
|
46 |
background-size: 110px 22px;
|
47 |
}
|
48 |
}
|
|
|
49 |
.icon-wordpress {
|
50 |
background-position: 0 0;
|
51 |
}
|
@@ -58,6 +59,9 @@ body.rtl .icon {
|
|
58 |
.icon-star {
|
59 |
background-position: -66px 0;
|
60 |
}
|
|
|
|
|
|
|
61 |
|
62 |
.icon.spin, .icon-star:hover {
|
63 |
transform-origin: 11px 12px;
|
@@ -95,7 +99,7 @@ a.info{
|
|
95 |
.yarpp_help {
|
96 |
display: inline-block;
|
97 |
cursor: default;
|
98 |
-
background-image: url('
|
99 |
background-size: 560px 40px;
|
100 |
background-position: -520px -20px;
|
101 |
cursor: default;
|
@@ -103,17 +107,19 @@ a.info{
|
|
103 |
width: 20px;
|
104 |
height: 20px;
|
105 |
}
|
|
|
106 |
a.yarpp_help {
|
107 |
text-decoration: none;
|
108 |
cursor: pointer;
|
109 |
}
|
|
|
110 |
a.yarpp_help:hover {
|
111 |
text-decoration: none;
|
112 |
background-position: -520px -0px;
|
113 |
}
|
114 |
|
115 |
.branch-3-4 .yarpp_help, .branch-3-3 .yarpp-help {
|
116 |
-
background-image: url('
|
117 |
}
|
118 |
|
119 |
.exclude_terms span {
|
@@ -298,7 +304,7 @@ body.rtl #yarpp-optin-learnmore {
|
|
298 |
.yarpp_template_button > div.image {
|
299 |
width: 70px;
|
300 |
height: 40px;
|
301 |
-
background-image: url('template-buttons-2x.png');
|
302 |
background-size: 210px 40px;
|
303 |
opacity: 0.8;
|
304 |
}
|
33 |
position: absolute;
|
34 |
margin-left: -29px;
|
35 |
margin-top: -1px;
|
36 |
+
background-image: url('../images/sprites.png');
|
37 |
}
|
38 |
body.rtl .icon {
|
39 |
margin-left: none;
|
42 |
|
43 |
@media only screen and (-webkit-min-device-pixel-ratio: 1.5) {
|
44 |
.icon {
|
45 |
+
background-image: url('../images/sprites-2x.png');
|
46 |
background-size: 110px 22px;
|
47 |
}
|
48 |
}
|
49 |
+
|
50 |
.icon-wordpress {
|
51 |
background-position: 0 0;
|
52 |
}
|
59 |
.icon-star {
|
60 |
background-position: -66px 0;
|
61 |
}
|
62 |
+
.icon-pro {
|
63 |
+
background-position: -88px 0;
|
64 |
+
}
|
65 |
|
66 |
.icon.spin, .icon-star:hover {
|
67 |
transform-origin: 11px 12px;
|
99 |
.yarpp_help {
|
100 |
display: inline-block;
|
101 |
cursor: default;
|
102 |
+
background-image: url('../../../../wp-includes/images/wpicons-2x.png?ver=20120720');
|
103 |
background-size: 560px 40px;
|
104 |
background-position: -520px -20px;
|
105 |
cursor: default;
|
107 |
width: 20px;
|
108 |
height: 20px;
|
109 |
}
|
110 |
+
|
111 |
a.yarpp_help {
|
112 |
text-decoration: none;
|
113 |
cursor: pointer;
|
114 |
}
|
115 |
+
|
116 |
a.yarpp_help:hover {
|
117 |
text-decoration: none;
|
118 |
background-position: -520px -0px;
|
119 |
}
|
120 |
|
121 |
.branch-3-4 .yarpp_help, .branch-3-3 .yarpp-help {
|
122 |
+
background-image: url('../../../../wp-includes/images/wpicons.png?ver=20120720');
|
123 |
}
|
124 |
|
125 |
.exclude_terms span {
|
304 |
.yarpp_template_button > div.image {
|
305 |
width: 70px;
|
306 |
height: 40px;
|
307 |
+
background-image: url('../images/template-buttons-2x.png');
|
308 |
background-size: 210px 40px;
|
309 |
opacity: 0.8;
|
310 |
}
|
style/options_switch.css
ADDED
@@ -0,0 +1,90 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
nbr {
|
2 |
+
white-space: nowrap;
|
3 |
+
}
|
4 |
+
|
5 |
+
a{
|
6 |
+
text-decoration: none;
|
7 |
+
outline: none;
|
8 |
+
}
|
9 |
+
|
10 |
+
#yarpp_switch_container{
|
11 |
+
position: relative;
|
12 |
+
top:15px;
|
13 |
+
}
|
14 |
+
|
15 |
+
#yarpp_switch_tabs{
|
16 |
+
position: relative;
|
17 |
+
list-style: none;
|
18 |
+
margin: 0 0 -7px 0;
|
19 |
+
padding: 0;
|
20 |
+
z-index: 1;
|
21 |
+
color: #000;
|
22 |
+
}
|
23 |
+
|
24 |
+
#yarpp_switch_tabs li{
|
25 |
+
display: inline-block;
|
26 |
+
background-color: #f8f8f8;
|
27 |
+
padding: 6px 10px;
|
28 |
+
border: 1px solid #dfdfdf;
|
29 |
+
border-bottom-color: #f8f8f8;
|
30 |
+
border-top-left-radius: 5px;
|
31 |
+
border-top-right-radius: 5px;
|
32 |
+
}
|
33 |
+
|
34 |
+
.disabled{
|
35 |
+
background: #ededed !important;
|
36 |
+
border-bottom-color: #dfdfdf !important;
|
37 |
+
}
|
38 |
+
|
39 |
+
#yarpp_switch_tabs a{
|
40 |
+
color: #565656;
|
41 |
+
}
|
42 |
+
|
43 |
+
.disabled>a:hover{
|
44 |
+
color: #000 !important;
|
45 |
+
text-shadow: 1px 1px 0.1em #aaa !important;
|
46 |
+
margin-top: -1px !important;
|
47 |
+
}
|
48 |
+
|
49 |
+
.yarpp_switch_content{
|
50 |
+
position: relative;
|
51 |
+
width: 100%;
|
52 |
+
background-color: #f8f8f8;
|
53 |
+
background: -webkit-linear-gradient(#f8f8f8, #ededed);
|
54 |
+
background: -moz-linear-gradient(#f8f8f8, #ededed);
|
55 |
+
background: -ms-linear-gradient(#f8f8f8, #ededed);
|
56 |
+
background: -o-linear-gradient(#f8f8f8, #ededed);
|
57 |
+
background: linear-gradient(#f8f8f8, #ededed);
|
58 |
+
border: 1px solid #dfdfdf;
|
59 |
+
text-align: justify;
|
60 |
+
margin-bottom: 25px;
|
61 |
+
border-radius: 0 3px 3px 3px;
|
62 |
+
}
|
63 |
+
|
64 |
+
.yarpp_switch_content p,
|
65 |
+
.yarpp_switch_content h1 {
|
66 |
+
margin: 15px 25% 15px 45px;
|
67 |
+
}
|
68 |
+
|
69 |
+
.yarpp_switch_content h1 {
|
70 |
+
font-size: 1.2em;
|
71 |
+
}
|
72 |
+
|
73 |
+
.yarpp_switch_content p {
|
74 |
+
line-height: 1.5em;
|
75 |
+
}
|
76 |
+
|
77 |
+
.yarpp_switch_content ul {
|
78 |
+
line-height: 1.5em;
|
79 |
+
padding-left: 75px;
|
80 |
+
list-style: disc;
|
81 |
+
}
|
82 |
+
|
83 |
+
#yarpp_pro_dashboard{
|
84 |
+
position: relative;
|
85 |
+
width: 100%;
|
86 |
+
height: 1024px;
|
87 |
+
border: 1px solid #dfdfdf;
|
88 |
+
border-radius: 3px;
|
89 |
+
z-index: 5;
|
90 |
+
}
|
uninstall.php
CHANGED
@@ -1,6 +1,7 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
* Uninstall procedure.
|
|
|
4 |
* @since Version 4.0.7
|
5 |
* @author Eliezer Vargas
|
6 |
*/
|
@@ -13,33 +14,16 @@ global $wpdb;
|
|
13 |
/* Yarpp option names */
|
14 |
$optNames = array(
|
15 |
'yarpp',
|
|
|
16 |
'yarpp_fulltext_disabled',
|
17 |
'yarpp_optin_timeout',
|
18 |
'yarpp_version',
|
19 |
'yarpp_version_info',
|
20 |
'yarpp_version_info_timeout',
|
21 |
-
'yarpp_activated'
|
|
|
22 |
);
|
23 |
|
24 |
-
/**
|
25 |
-
* Loop through option array and delete the option and clear and drop cache tables.
|
26 |
-
* @param array $opts Array of yarpp's options
|
27 |
-
* @param object $wpdb Wordpress db global
|
28 |
-
*/
|
29 |
-
function clean(Array $opts, $wpdb){
|
30 |
-
|
31 |
-
foreach($opts as $opt){
|
32 |
-
/* if option exist... delete it */
|
33 |
-
if(get_option($opt)) delete_option($opt);
|
34 |
-
}/*end foreach*/
|
35 |
-
|
36 |
-
/* Truncate, clear wp cache and drop cache tables */
|
37 |
-
$wpdb->query('TRUNCATE TABLE `'.$wpdb->prefix.'yarpp_related_cache`');
|
38 |
-
wp_cache_flush();
|
39 |
-
$wpdb->query('DROP TABLE `'.$wpdb->prefix.'yarpp_related_cache`');
|
40 |
-
|
41 |
-
}/*end clean */
|
42 |
-
|
43 |
/* Select right procedure for single or multi site */
|
44 |
if(is_multisite()) {
|
45 |
|
@@ -55,8 +39,34 @@ if(is_multisite()) {
|
|
55 |
clean($optNames, $wpdb);
|
56 |
}/*end foreach*/
|
57 |
|
58 |
-
switch_to_blog(
|
59 |
|
60 |
} else {
|
|
|
61 |
clean($optNames, $wpdb);
|
62 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
<?php
|
2 |
/**
|
3 |
* Uninstall procedure.
|
4 |
+
* Last update 2013-12-09
|
5 |
* @since Version 4.0.7
|
6 |
* @author Eliezer Vargas
|
7 |
*/
|
14 |
/* Yarpp option names */
|
15 |
$optNames = array(
|
16 |
'yarpp',
|
17 |
+
'yarpp_pro',
|
18 |
'yarpp_fulltext_disabled',
|
19 |
'yarpp_optin_timeout',
|
20 |
'yarpp_version',
|
21 |
'yarpp_version_info',
|
22 |
'yarpp_version_info_timeout',
|
23 |
+
'yarpp_activated',
|
24 |
+
'widget_yarpp_widget'
|
25 |
);
|
26 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
27 |
/* Select right procedure for single or multi site */
|
28 |
if(is_multisite()) {
|
29 |
|
39 |
clean($optNames, $wpdb);
|
40 |
}/*end foreach*/
|
41 |
|
42 |
+
switch_to_blog($original_blog_id);
|
43 |
|
44 |
} else {
|
45 |
+
|
46 |
clean($optNames, $wpdb);
|
47 |
+
|
48 |
+
}/*end if*/
|
49 |
+
|
50 |
+
|
51 |
+
/**
|
52 |
+
* Loop through option array and delete the option and clear and drop cache tables.
|
53 |
+
* @param array $opts Array of yarpp's options
|
54 |
+
* @param object $wpdb Wordpress db global
|
55 |
+
*/
|
56 |
+
function clean(Array $opts, $wpdb){
|
57 |
+
|
58 |
+
foreach($opts as $opt){
|
59 |
+
/* if option exist... delete it */
|
60 |
+
if(get_option($opt)) delete_option($opt);
|
61 |
+
}/*end foreach*/
|
62 |
+
|
63 |
+
/* Truncate, clear and drop yarpp cache */
|
64 |
+
$wpdb->query('DELETE FROM `'.$wpdb->prefix.'postmeta` WHERE meta_key LIKE "%yarpp%"');
|
65 |
+
$wpdb->query('TRUNCATE TABLE `'.$wpdb->prefix.'yarpp_related_cache`');
|
66 |
+
wp_cache_flush();
|
67 |
+
$wpdb->query('DROP TABLE `'.$wpdb->prefix.'yarpp_related_cache`');
|
68 |
+
|
69 |
+
/* Delete users yarpp related data */
|
70 |
+
$wpdb->query('DELETE FROM `'.$wpdb->prefix.'usermeta` WHERE meta_key LIKE "%yarpp%"');
|
71 |
+
|
72 |
+
}/*end clean */
|
yarpp.php
CHANGED
@@ -1,62 +1,61 @@
|
|
1 |
<?php
|
2 |
-
|
3 |
Plugin Name: Yet Another Related Posts Plugin
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
Author:
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
define('
|
|
|
|
|
|
|
|
|
|
|
|
|
12 |
define('YARPP_DIR', dirname(__FILE__));
|
13 |
define('YARPP_NO_RELATED', ':(');
|
14 |
define('YARPP_RELATED', ':)');
|
15 |
define('YARPP_NOT_CACHED', ':/');
|
16 |
define('YARPP_DONT_RUN', 'X(');
|
17 |
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
if
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
if ( !defined('YARPP_EXTRA_WEIGHT') )
|
38 |
-
define( 'YARPP_EXTRA_WEIGHT', 3 );
|
39 |
-
|
40 |
-
// new in 3.3.3: init yarpp on init
|
41 |
-
add_action( 'init', 'yarpp_init' );
|
42 |
-
|
43 |
-
function yarpp_init() {
|
44 |
-
global $yarpp;
|
45 |
-
$yarpp = new YARPP;
|
46 |
}
|
47 |
|
48 |
-
|
49 |
-
|
50 |
-
$yarpp->set_option($options, $value);
|
51 |
-
}
|
52 |
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
|
58 |
-
|
59 |
-
|
60 |
-
|
|
|
|
|
61 |
|
62 |
-
|
|
|
|
1 |
<?php
|
2 |
+
/*----------------------------------------------------------------------------------------------------------------------
|
3 |
Plugin Name: Yet Another Related Posts Plugin
|
4 |
+
Description: Adds related posts to your site and in RSS feeds, based on a powerful, customizable algorithm. Enabling YARPP Pro gives you access to even more powerful features. <a href="http://yarpp.com" target="_blank">Find out more</a>.
|
5 |
+
Version: 4.1
|
6 |
+
Author: Adknowledge
|
7 |
+
Author URI: http://yarpp.com/
|
8 |
+
Plugin URI: http://yarpp.com/
|
9 |
+
----------------------------------------------------------------------------------------------------------------------*/
|
10 |
+
|
11 |
+
if(!defined('WP_CONTENT_URL')) define('WP_CONTENT_URL', get_option('siteurl').'/wp-content');
|
12 |
+
if(!defined('WP_CONTENT_DIR')){
|
13 |
+
$tr = get_theme_root();
|
14 |
+
define('WP_CONTENT_DIR', substr($tr,0,strrpos($tr,'/')));
|
15 |
+
}
|
16 |
+
|
17 |
+
define('YARPP_VERSION', '4.1');
|
18 |
define('YARPP_DIR', dirname(__FILE__));
|
19 |
define('YARPP_NO_RELATED', ':(');
|
20 |
define('YARPP_RELATED', ':)');
|
21 |
define('YARPP_NOT_CACHED', ':/');
|
22 |
define('YARPP_DONT_RUN', 'X(');
|
23 |
|
24 |
+
/*----------------------------------------------------------------------------------------------------------------------
|
25 |
+
Sice v3.2: YARPP uses it own cache engine, which uses custom db tables by default.
|
26 |
+
Use postmeta instead to avoid custom tables by un-commenting postmeta line and comment out the tables one.
|
27 |
+
----------------------------------------------------------------------------------------------------------------------*/
|
28 |
+
/* Enable postmeta cache: */
|
29 |
+
//if(!defined('YARPP_CACHE_TYPE')) define('YARPP_CACHE_TYPE', 'postmeta');
|
30 |
+
|
31 |
+
/* Enable Yarpp cache engine - Default: */
|
32 |
+
if(!defined('YARPP_CACHE_TYPE')) define('YARPP_CACHE_TYPE', 'tables');
|
33 |
+
|
34 |
+
/* Load proper cache constants */
|
35 |
+
switch(YARPP_CACHE_TYPE){
|
36 |
+
case 'tables':
|
37 |
+
define('YARPP_TABLES_RELATED_TABLE', 'yarpp_related_cache');
|
38 |
+
break;
|
39 |
+
case 'postmeta':
|
40 |
+
define('YARPP_POSTMETA_KEYWORDS_KEY', '_yarpp_keywords');
|
41 |
+
define('YARPP_POSTMETA_RELATED_KEY', '_yarpp_related');
|
42 |
+
break;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
43 |
}
|
44 |
|
45 |
+
/* New in 3.5: Set YARPP extra weight multiplier */
|
46 |
+
if(!defined('YARPP_EXTRA_WEIGHT')) define('YARPP_EXTRA_WEIGHT', 3);
|
|
|
|
|
47 |
|
48 |
+
/* Includes ----------------------------------------------------------------------------------------------------------*/
|
49 |
+
include_once(YARPP_DIR.'/includes/init_functions.php');
|
50 |
+
include_once(YARPP_DIR.'/includes/related_functions.php');
|
51 |
+
include_once(YARPP_DIR.'/includes/template_functions.php');
|
52 |
|
53 |
+
include_once(YARPP_DIR.'/classes/YARPP_Core.php');
|
54 |
+
include_once(YARPP_DIR.'/classes/YARPP_Widget.php');
|
55 |
+
include_once(YARPP_DIR.'/classes/YARPP_Cache.php');
|
56 |
+
include_once(YARPP_DIR.'/classes/YARPP_Cache_Bypass.php');
|
57 |
+
include_once(YARPP_DIR.'/classes/YARPP_Cache_'.ucfirst(YARPP_CACHE_TYPE).'.php');
|
58 |
|
59 |
+
/* WP hooks ----------------------------------------------------------------------------------------------------------*/
|
60 |
+
add_action('init', 'yarpp_init');
|
61 |
+
add_action('activate_'.plugin_basename(__FILE__), 'yarpp_plugin_activate', 10, 1);
|