Relevanssi – A Better Search - Version 3.4.2

Version Description

  • Empty lines on synonym settings caused problems. Fixed that.
  • In WordPress 4.2 installations, emoji in will be handled better. Emoji in posts may cause problems with WordPress versions below 4.2, so please update!
Download this release

Release Info

Developer msaari
Plugin Icon 128x128 Relevanssi – A Better Search
Version 3.4.2
Comparing to
See all releases

Code changes from version 3.3.8 to 3.4.2

lib/common.php CHANGED
@@ -180,7 +180,7 @@ function relevanssi_default_post_ok($post_ok, $doc) {
180
  }
181
 
182
  // only show drafts, pending and future posts in admin search
183
- if (in_array($status, array('draft', 'pending', 'future')) && is_admin()) {
184
  $post_ok = true;
185
  }
186
 
@@ -448,6 +448,11 @@ function relevanssi_prevent_default_request( $request, $query ) {
448
 
449
  $prevent = true;
450
  $prevent = apply_filters('relevanssi_prevent_default_request', $prevent, $query );
 
 
 
 
 
451
 
452
  if (!is_admin() && $prevent )
453
  $request = "SELECT * FROM $wpdb->posts WHERE 1=2";
@@ -602,6 +607,7 @@ function relevanssi_add_synonyms($q) {
602
  }
603
  $pairs = explode(";", $synonym_data);
604
  foreach ($pairs as $pair) {
 
605
  $parts = explode("=", $pair);
606
  $key = strval(trim($parts[0]));
607
  $value = trim($parts[1]);
@@ -611,7 +617,7 @@ function relevanssi_add_synonyms($q) {
611
  $new_terms = array();
612
  $terms = array_keys(relevanssi_tokenize($q, false)); // remove stopwords is false here
613
  if (!in_array($q, $terms)) $terms[] = $q;
614
-
615
  foreach ($terms as $term) {
616
  if (in_array(strval($term), array_keys($synonyms))) { // strval, otherwise numbers cause problems
617
  if (isset($synonyms[strval($term)])) { // necessary, otherwise terms like "02" can cause problems
180
  }
181
 
182
  // only show drafts, pending and future posts in admin search
183
+ if (in_array($status, apply_filters('relevanssi_valid_admin_status', array('draft', 'pending', 'future'))) && is_admin()) {
184
  $post_ok = true;
185
  }
186
 
448
 
449
  $prevent = true;
450
  $prevent = apply_filters('relevanssi_prevent_default_request', $prevent, $query );
451
+
452
+ if (empty($query->query_vars['s'])) {
453
+ $prevent = false;
454
+ $admin_search_ok = false;
455
+ }
456
 
457
  if (!is_admin() && $prevent )
458
  $request = "SELECT * FROM $wpdb->posts WHERE 1=2";
607
  }
608
  $pairs = explode(";", $synonym_data);
609
  foreach ($pairs as $pair) {
610
+ if (empty($pair)) continue; // skip empty rows
611
  $parts = explode("=", $pair);
612
  $key = strval(trim($parts[0]));
613
  $value = trim($parts[1]);
617
  $new_terms = array();
618
  $terms = array_keys(relevanssi_tokenize($q, false)); // remove stopwords is false here
619
  if (!in_array($q, $terms)) $terms[] = $q;
620
+
621
  foreach ($terms as $term) {
622
  if (in_array(strval($term), array_keys($synonyms))) { // strval, otherwise numbers cause problems
623
  if (isset($synonyms[strval($term)])) { // necessary, otherwise terms like "02" can cause problems
lib/excerpts-highlights.php CHANGED
@@ -67,6 +67,9 @@ function relevanssi_do_excerpt($t_post, $query) {
67
  $excerpt = trim($excerpt);
68
  $excerpt = apply_filters('relevanssi_excerpt', $excerpt);
69
 
 
 
 
70
  $ellipsis = apply_filters('relevanssi_ellipsis', '...');
71
 
72
  $highlight = get_option('relevanssi_highlight');
@@ -79,14 +82,16 @@ function relevanssi_do_excerpt($t_post, $query) {
79
 
80
  $excerpt = relevanssi_close_tags($excerpt);
81
 
82
- if (!$start && !empty($excerpt)) {
83
- $excerpt = $ellipsis . $excerpt;
84
- // do not add three dots to the beginning of the post
85
- }
86
-
87
- if (!empty($excerpt))
88
- $excerpt = $excerpt . $ellipsis;
89
 
 
 
 
 
90
  if (relevanssi_s2member_level($post->ID) == 1) $excerpt = $post->post_excerpt;
91
 
92
  if ($old_global_post != NULL) $post = $old_global_post;
@@ -108,6 +113,7 @@ function relevanssi_create_excerpt($content, $terms, $query) {
108
  $best_excerpt_term_hits = -1;
109
  $excerpt = "";
110
 
 
111
  $content = " $content";
112
 
113
  $phrases = relevanssi_extract_phrases(stripslashes($query));
67
  $excerpt = trim($excerpt);
68
  $excerpt = apply_filters('relevanssi_excerpt', $excerpt);
69
 
70
+ if (empty($excerpt) && !empty($post->post_excerpt)) $excerpt = $post->post_excerpt;
71
+ $excerpt == $post->post_content ? $whole_post_excerpted = true : $whole_post_excerpted = false;
72
+
73
  $ellipsis = apply_filters('relevanssi_ellipsis', '...');
74
 
75
  $highlight = get_option('relevanssi_highlight');
82
 
83
  $excerpt = relevanssi_close_tags($excerpt);
84
 
85
+ if (!$whole_post_excerpted) {
86
+ if (!$start && !empty($excerpt)) {
87
+ $excerpt = $ellipsis . $excerpt;
88
+ // do not add three dots to the beginning of the post
89
+ }
 
 
90
 
91
+ if (!empty($excerpt))
92
+ $excerpt = $excerpt . $ellipsis;
93
+ }
94
+
95
  if (relevanssi_s2member_level($post->ID) == 1) $excerpt = $post->post_excerpt;
96
 
97
  if ($old_global_post != NULL) $post = $old_global_post;
113
  $best_excerpt_term_hits = -1;
114
  $excerpt = "";
115
 
116
+ $content = preg_replace('/\s+/', ' ', $content);
117
  $content = " $content";
118
 
119
  $phrases = relevanssi_extract_phrases(stripslashes($query));
lib/indexing.php CHANGED
@@ -209,8 +209,6 @@ function relevanssi_index_doc($indexpost, $remove_first = false, $custom_fields
209
 
210
  if (true == apply_filters('relevanssi_do_not_index', false, $post->ID)) {
211
  // filter says no
212
- if ($post_was_null) $post = null;
213
- if ($previous_post) $post = $previous_post;
214
  $index_this_post = false;
215
  }
216
 
@@ -223,9 +221,7 @@ function relevanssi_index_doc($indexpost, $remove_first = false, $custom_fields
223
  }
224
 
225
  // This needs to be here, after the call to relevanssi_remove_doc(), because otherwise
226
- // a post that's in the index but shouldn't be there won't get removed. A remote chance,
227
- // I mean who ever flips exclude_from_search between true and false once it's set, but
228
- // I'd like to cover all bases.
229
  if (!$index_this_post) {
230
  if ($post_was_null) $post = null;
231
  if ($previous_post) $post = $previous_post;
@@ -316,7 +312,7 @@ function relevanssi_index_doc($indexpost, $remove_first = false, $custom_fields
316
 
317
  $index_titles = true;
318
  if (apply_filters('relevanssi_index_titles', $index_titles)) {
319
- $filtered_title = apply_filters('relevanssi_post_title_before_tokenize', $post->post_title);
320
  $titles = relevanssi_tokenize(apply_filters('the_title', $filtered_title));
321
 
322
  if (count($titles) > 0) {
@@ -364,6 +360,7 @@ function relevanssi_index_doc($indexpost, $remove_first = false, $custom_fields
364
  remove_shortcode('avatar_upload'); // WP User Avatar is incompatible
365
  remove_shortcode('product_categories'); // A problematic WooCommerce shortcode
366
  remove_shortcode('recent_products'); // A problematic WooCommerce shortcode
 
367
 
368
  $post_before_shortcode = $post;
369
  $contents = do_shortcode($contents);
@@ -395,6 +392,7 @@ function relevanssi_index_doc($indexpost, $remove_first = false, $custom_fields
395
 
396
  $contents = preg_replace('/<[a-zA-Z\/][^>]*>/', ' ', $contents);
397
  $contents = strip_tags($contents);
 
398
  $contents = apply_filters('relevanssi_post_content_before_tokenize', $contents, $post);
399
  $contents = relevanssi_tokenize($contents, true, $min_word_length);
400
 
209
 
210
  if (true == apply_filters('relevanssi_do_not_index', false, $post->ID)) {
211
  // filter says no
 
 
212
  $index_this_post = false;
213
  }
214
 
221
  }
222
 
223
  // This needs to be here, after the call to relevanssi_remove_doc(), because otherwise
224
+ // a post that's in the index but shouldn't be there won't get removed.
 
 
225
  if (!$index_this_post) {
226
  if ($post_was_null) $post = null;
227
  if ($previous_post) $post = $previous_post;
312
 
313
  $index_titles = true;
314
  if (apply_filters('relevanssi_index_titles', $index_titles)) {
315
+ $filtered_title = apply_filters('relevanssi_post_title_before_tokenize', $post->post_title, $post);
316
  $titles = relevanssi_tokenize(apply_filters('the_title', $filtered_title));
317
 
318
  if (count($titles) > 0) {
360
  remove_shortcode('avatar_upload'); // WP User Avatar is incompatible
361
  remove_shortcode('product_categories'); // A problematic WooCommerce shortcode
362
  remove_shortcode('recent_products'); // A problematic WooCommerce shortcode
363
+ remove_shortcode('php'); // PHP Code for Posts
364
 
365
  $post_before_shortcode = $post;
366
  $contents = do_shortcode($contents);
392
 
393
  $contents = preg_replace('/<[a-zA-Z\/][^>]*>/', ' ', $contents);
394
  $contents = strip_tags($contents);
395
+ if (function_exists('wp_encode_emoji')) $contents = wp_encode_emoji($contents);
396
  $contents = apply_filters('relevanssi_post_content_before_tokenize', $contents, $post);
397
  $contents = relevanssi_tokenize($contents, true, $min_word_length);
398
 
lib/interface.php CHANGED
@@ -66,7 +66,8 @@ function relevanssi_options() {
66
  }
67
  relevanssi_options_form();
68
 
69
- relevanssi_common_words();
 
70
 
71
  echo "<div style='clear:both'></div>";
72
 
66
  }
67
  relevanssi_options_form();
68
 
69
+ if (apply_filters('relevanssi_display_common_words', true))
70
+ relevanssi_common_words();
71
 
72
  echo "<div style='clear:both'></div>";
73
 
lib/search.php CHANGED
@@ -96,7 +96,7 @@ function relevanssi_search($args) {
96
  }
97
  }
98
  if (!empty($slug_in)) {
99
- $row_taxonomy = sanitize_title($row['taxonomy']);
100
  $tt_q = "SELECT tt.term_taxonomy_id
101
  FROM $wpdb->term_taxonomy AS tt
102
  LEFT JOIN $wpdb->terms AS t ON (tt.term_id=t.term_id)
@@ -116,7 +116,7 @@ function relevanssi_search($args) {
116
  }
117
  $id = implode(',', $numeric_values);
118
  }
119
- $row_taxonomy = sanitize_title($row['taxonomy']);
120
  $tt_q = "SELECT tt.term_taxonomy_id
121
  FROM $wpdb->term_taxonomy AS tt
122
  LEFT JOIN $wpdb->terms AS t ON (tt.term_id=t.term_id)
@@ -231,118 +231,44 @@ function relevanssi_search($args) {
231
  // Clean: $posts is checked to be integers
232
  }
233
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
234
 
235
  if (is_array($meta_query)) {
236
- isset($meta_query['relation']) ? $meta_relation = strtoupper($meta_query['relation']) : $meta_relation = strtoupper(apply_filters('relevanssi_default_meta_query_relation', 'AND'));
237
- if ($meta_relation != 'AND' && $meta_relation != 'OR') $meta_relation = "AND";
238
- // legal values: AND and OR
239
-
240
  $meta_query_restrictions = "";
241
- foreach ($meta_query as $array_key => $meta) {
242
- if ($array_key === 'relation') {
243
- continue;
244
- }
245
-
246
- if (!empty($meta['key'])) {
247
- $key = "postmeta.meta_key = '" . esc_sql($meta['key']) . "'";
248
- }
249
- else {
250
- $key = '';
251
- }
252
-
253
- isset($meta['compare']) ? $compare = strtoupper($meta['compare']) : $compare = '=';
254
-
255
- if (isset($meta['type'])) {
256
- if (strtoupper($meta['type']) == 'NUMERIC') $meta['type'] = "SIGNED";
257
- if (!in_array(strtoupper($meta['type']), array('NUMERIC', 'BINARY', 'CHAR', 'DATE', 'DATETIME', 'DECIMAL', 'SIGNED', 'TIME', 'UNSIGNED'))) {
258
- // illegal value
259
- $meta_value = 'postmeta.meta_value';
260
- }
261
- else {
262
- // legal value
263
- $meta_value = "CAST(postmeta.meta_value AS " . $meta['type'] . ")";
264
- }
265
- }
266
- else {
267
- $meta_value = 'postmeta.meta_value';
268
- }
269
 
270
- if ($compare == 'BETWEEN' || $compare == 'NOT BETWEEN') {
271
- if (!is_array($meta['value'])) continue;
272
- if (count($meta['value']) < 2) continue;
273
- $compare == 'BETWEEN' ? $compare = "IN" : $compare = "NOT IN";
274
- $low_value = esc_sql($meta['value'][0]);
275
- $high_value = esc_sql($meta['value'][1]);
276
- // No need to check that low is lower than high, because the meta query
277
- // doesn't work, if the values are wrong.
278
-
279
- !empty($key) ? $and = " AND " : $and = "";
280
- $meta_query_restrictions .= " $meta_relation relevanssi.doc $compare (
281
- SELECT DISTINCT(postmeta.post_id) FROM $wpdb->postmeta AS postmeta
282
- WHERE $key $and $meta_value BETWEEN $low_value AND $high_value)";
283
- // Clean: values either Relevanssi-generated or escaped
284
- }
285
- else if ($compare == 'EXISTS' || $compare == 'NOT EXISTS') {
286
- $compare == 'EXISTS' ? $compare = "IN" : $compare = "NOT IN";
287
- $meta_query_restrictions .= " $meta_relation relevanssi.doc $compare (
288
- SELECT DISTINCT(postmeta.post_id) FROM $wpdb->postmeta AS postmeta
289
- WHERE $key)";
290
- // Clean: values either Relevanssi-generated or escaped
291
- }
292
- else if ($compare == 'IN' || $compare == 'NOT IN') {
293
- if (!is_array($meta['value'])) continue;
294
- $values = array();
295
- foreach ($meta['value'] as $value) {
296
- $value = esc_sql($value);
297
- $values[] = "'$value'";
298
- }
299
- $values = implode(',', $values);
300
- !empty($key) ? $and = " AND " : $and = "";
301
- $meta_query_restrictions .= " $meta_relation relevanssi.doc IN (
302
- SELECT DISTINCT(postmeta.post_id) FROM $wpdb->postmeta AS postmeta
303
- WHERE $key $and $meta_value $compare ($values))";
304
- // Clean: values either Relevanssi-generated or escaped
305
- }
306
- else if ($compare == 'LIKE') {
307
- if (method_exists($wpdb, 'esc_like')) {
308
- $escaped_value = $wpdb->esc_like($meta['value']);
309
- }
310
- else {
311
- // Compatibility for pre-4.0 WordPress
312
- $escaped_value = like_escape($meta['value']);
313
- }
314
- isset($meta['value']) ? $value = " " . esc_sql($meta_value) . " " . $meta['compare'] . " '%" . $escaped_value . "%' " : $value = '';
315
- (!empty($key) && !empty($value)) ? $and = " AND " : $and = "";
316
- if (empty($key) && empty($and) && empty($value)) {
317
- // do nothing
318
- }
319
- else {
320
- $meta_query_restrictions .= " $meta_relation relevanssi.doc IN (
321
- SELECT DISTINCT(postmeta.post_id) FROM $wpdb->postmeta AS postmeta
322
- WHERE $key $and $value)";
323
- // Clean: values either Relevanssi-generated or escaped
324
- }
325
- }
326
- else {
327
- isset($meta['value']) ? $value = " " . esc_sql($meta_value) . " " . $meta['compare'] . " '" . esc_sql($meta['value']) . "' " : $value = '';
328
- (!empty($key) && !empty($value)) ? $and = " AND " : $and = "";
329
- if (empty($key) && empty($and) && empty($value)) {
330
- // do nothing
331
- }
332
- else {
333
- $meta_query_restrictions .= " $meta_relation relevanssi.doc IN (
334
- SELECT DISTINCT(postmeta.post_id) FROM $wpdb->postmeta AS postmeta
335
- WHERE $key $and $value)";
336
- // Clean: values either Relevanssi-generated or escaped
337
- }
338
- }
339
- }
340
-
341
- if ($meta_relation == 'OR') {
342
- $meta_query_restrictions = substr($meta_query_restrictions, 3); // strip the first OR
343
- $meta_query_restrictions = "AND (" . $meta_query_restrictions . ") ";
344
  }
345
- $query_restrictions .= $meta_query_restrictions;
 
346
  }
347
 
348
  if (!empty($date_query)) {
@@ -403,6 +329,7 @@ function relevanssi_search($args) {
403
  }
404
 
405
  $remove_stopwords = true;
 
406
  $phrases = relevanssi_recognize_phrases($q);
407
 
408
  if (function_exists('relevanssi_recognize_negatives')) {
@@ -538,7 +465,9 @@ function relevanssi_search($args) {
538
  }
539
 
540
  $query_restrictions = apply_filters('relevanssi_where', $query_restrictions); // Charles St-Pierre
541
- $query_join = apply_filters('relevanssi_join', '');
 
 
542
 
543
  $no_matches = true;
544
  if ("always" == $fuzzy) {
@@ -818,18 +747,27 @@ function relevanssi_do_query(&$query) {
818
  $q = trim(stripslashes(strtolower($query->query_vars["s"])));
819
 
820
  if (isset($query->query_vars['searchblogs'])) {
821
- $search_blogs = $query->query_vars['searchblogs'];
 
822
 
823
  $post_type = false;
824
  if (isset($query->query_vars["post_type"]) && $query->query_vars["post_type"] != 'any') {
825
- $post_type = $query->query_vars["post_type"];
826
  }
827
  if (isset($query->query_vars["post_types"]) && $query->query_vars["post_types"] != 'any') {
828
- $post_type = $query->query_vars["post_types"];
829
  }
830
 
 
 
 
 
 
 
 
 
831
  if (function_exists('relevanssi_search_multi')) {
832
- $return = relevanssi_search_multi($q, $search_blogs, $post_type);
833
  }
834
  }
835
  else {
@@ -977,6 +915,17 @@ function relevanssi_do_query(&$query) {
977
  if (!empty($query->query_vars['post__not_in'])) {
978
  $post_query = array('not in' => $query->query_vars['post__not_in']);
979
  }
 
 
 
 
 
 
 
 
 
 
 
980
 
981
  $meta_query = array();
982
  $meta_query_relation = apply_filters('relevanssi_default_meta_query_relation', 'AND');
@@ -1058,6 +1007,7 @@ function relevanssi_do_query(&$query) {
1058
  'tax_query' => $tax_query,
1059
  'tax_query_relation' => $tax_query_relation,
1060
  'post_query' => $post_query,
 
1061
  'meta_query' => $meta_query,
1062
  'date_query' => $date_query,
1063
  'expost' => $expost,
96
  }
97
  }
98
  if (!empty($slug_in)) {
99
+ $row_taxonomy = sanitize_text_field($row['taxonomy']);
100
  $tt_q = "SELECT tt.term_taxonomy_id
101
  FROM $wpdb->term_taxonomy AS tt
102
  LEFT JOIN $wpdb->terms AS t ON (tt.term_id=t.term_id)
116
  }
117
  $id = implode(',', $numeric_values);
118
  }
119
+ $row_taxonomy = sanitize_text_field($row['taxonomy']);
120
  $tt_q = "SELECT tt.term_taxonomy_id
121
  FROM $wpdb->term_taxonomy AS tt
122
  LEFT JOIN $wpdb->terms AS t ON (tt.term_id=t.term_id)
231
  // Clean: $posts is checked to be integers
232
  }
233
  }
234
+
235
+ if (is_array($parent_query)) {
236
+ if (!empty($parent_query['parent in'])) {
237
+ $valid_values = array();
238
+ foreach($parent_query['parent in'] as $post_in_id) {
239
+ if (is_numeric($post_in_id)) $valid_values[] = $post_in_id;
240
+ }
241
+ $posts = implode(',', $valid_values);
242
+ if (!empty($posts)) $query_restrictions .= " AND relevanssi.doc IN (SELECT ID FROM $wpdb->posts WHERE post_parent IN ($posts))";
243
+ // Clean: $posts is checked to be integers
244
+ }
245
+ if (!empty($parent_query['parent not in'])) {
246
+ $valid_values = array();
247
+ foreach($parent_query['parent not in'] as $post_not_in_id) {
248
+ if (is_numeric($post_not_in_id)) $valid_values[] = $post_not_in_id;
249
+ }
250
+ $posts = implode(',', $valid_values);
251
+ if (!empty($posts)) $query_restrictions .= " AND relevanssi.doc NOT IN (SELECT ID FROM $wpdb->posts WHERE post_parent IN ($posts))";
252
+ // Clean: $posts is checked to be integers
253
+ }
254
+ }
255
 
256
  if (is_array($meta_query)) {
 
 
 
 
257
  $meta_query_restrictions = "";
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
258
 
259
+ $mq_vars = array('meta_query' => $meta_query );
260
+
261
+ $mq = new WP_Meta_Query();
262
+ $mq->parse_query_vars( $mq_vars );
263
+ $meta_sql = $mq->get_sql('post', 'relevanssi', 'doc');
264
+ $meta_join = "";
265
+ $meta_where = "";
266
+ if ($meta_sql) {
267
+ $meta_join = $meta_sql['join'];
268
+ $meta_where = $meta_sql['where'];
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
269
  }
270
+
271
+ $query_restrictions .= $meta_where;
272
  }
273
 
274
  if (!empty($date_query)) {
329
  }
330
 
331
  $remove_stopwords = true;
332
+ if (function_exists('wp_encode_emoji')) $q = wp_encode_emoji($q);
333
  $phrases = relevanssi_recognize_phrases($q);
334
 
335
  if (function_exists('relevanssi_recognize_negatives')) {
465
  }
466
 
467
  $query_restrictions = apply_filters('relevanssi_where', $query_restrictions); // Charles St-Pierre
468
+ $query_join = "";
469
+ if (!empty($meta_join)) $query_join = $meta_join;
470
+ $query_join = apply_filters('relevanssi_join', $query_join);
471
 
472
  $no_matches = true;
473
  if ("always" == $fuzzy) {
747
  $q = trim(stripslashes(strtolower($query->query_vars["s"])));
748
 
749
  if (isset($query->query_vars['searchblogs'])) {
750
+ $multi_args['search_blogs'] = $query->query_vars['searchblogs'];
751
+ $multi_args['q'] = $q;
752
 
753
  $post_type = false;
754
  if (isset($query->query_vars["post_type"]) && $query->query_vars["post_type"] != 'any') {
755
+ $multi_args['post_type'] = $query->query_vars["post_type"];
756
  }
757
  if (isset($query->query_vars["post_types"]) && $query->query_vars["post_types"] != 'any') {
758
+ $multi_args['post_type'] = $query->query_vars["post_types"];
759
  }
760
 
761
+ $operator = "";
762
+ if (function_exists('relevanssi_set_operator')) {
763
+ $operator = relevanssi_set_operator($query);
764
+ $operator = strtoupper($operator); // just in case
765
+ }
766
+ if ($operator != "OR" && $operator != "AND") $operator = get_option("relevanssi_implicit_operator");
767
+ $multi_args['operator'] = $operator;
768
+
769
  if (function_exists('relevanssi_search_multi')) {
770
+ $return = relevanssi_search_multi($multi_args);
771
  }
772
  }
773
  else {
915
  if (!empty($query->query_vars['post__not_in'])) {
916
  $post_query = array('not in' => $query->query_vars['post__not_in']);
917
  }
918
+
919
+ $parent_query = array();
920
+ if (!empty($query->query_vars['post_parent'])) {
921
+ $parent_query = array('parent in' => array($query->query_vars['post_parent']));
922
+ }
923
+ if (!empty($query->query_vars['post_parent__in'])) {
924
+ $parent_query = array('parent in' => $query->query_vars['post_parent__in']);
925
+ }
926
+ if (!empty($query->query_vars['post_parent__not_in'])) {
927
+ $parent_query = array('parent not in' => $query->query_vars['post_parent__not_in']);
928
+ }
929
 
930
  $meta_query = array();
931
  $meta_query_relation = apply_filters('relevanssi_default_meta_query_relation', 'AND');
1007
  'tax_query' => $tax_query,
1008
  'tax_query_relation' => $tax_query_relation,
1009
  'post_query' => $post_query,
1010
+ 'parent_query' => $parent_query,
1011
  'meta_query' => $meta_query,
1012
  'date_query' => $date_query,
1013
  'expost' => $expost,
lib/stopwords.php CHANGED
@@ -5,7 +5,7 @@ function relevanssi_populate_stopwords() {
5
  global $wpdb, $relevanssi_variables;
6
 
7
  $lang = get_option('WPLANG');
8
- if (empty($lang) && WPLANG != '') {
9
  $lang = WPLANG;
10
  }
11
  if (empty($lang)) $lang = "en_GB";
5
  global $wpdb, $relevanssi_variables;
6
 
7
  $lang = get_option('WPLANG');
8
+ if (empty($lang) && defined('WPLANG') && WPLANG != '') {
9
  $lang = WPLANG;
10
  }
11
  if (empty($lang)) $lang = "en_GB";
readme.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: msaari
3
  Donate link: http://www.relevanssi.com/buy-premium/
4
  Tags: search, relevance, better search
5
  Requires at least: 3.3
6
- Tested up to: 4.1
7
- Stable tag: 3.3.8
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -386,6 +386,23 @@ removing those words helps to make the index smaller and searching faster.
386
 
387
  == Changelog ==
388
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
389
  = 3.3.8 =
390
  * Fixed a bug that caused the results to change depending of the order of words in a multi-word search query.
391
  * Added `product_categories` and `recent_products` from WooCommerce to the list of blocked shortcodes.
@@ -1061,6 +1078,15 @@ removing those words helps to make the index smaller and searching faster.
1061
 
1062
  == Upgrade notice ==
1063
 
 
 
 
 
 
 
 
 
 
1064
  = 3.3.8 =
1065
  * Bug fixes, fix for a possible XSS vulnerability, improved performance.
1066
 
3
  Donate link: http://www.relevanssi.com/buy-premium/
4
  Tags: search, relevance, better search
5
  Requires at least: 3.3
6
+ Tested up to: 4.2
7
+ Stable tag: 3.4.2
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
386
 
387
  == Changelog ==
388
 
389
+ = 3.4.2 =
390
+ * Empty lines on synonym settings caused problems. Fixed that.
391
+ * In WordPress 4.2 installations, emoji in will be handled better. Emoji in posts may cause problems with WordPress versions below 4.2, so please update!
392
+
393
+ = 3.4.1 =
394
+ * Removed a notice about an undefined variable.
395
+
396
+ = 3.4 =
397
+ * New filter: `relevanssi_valid_admin_status` can be used to adjust post statuses that Relevanssi will handle.
398
+ * If Relevanssi creates an empty excerpt for a post and there's a user-set excerpt for the post, that excerpt is used.
399
+ * No ellipsis is added to the post excerpt, if the post excerpt shows the whole post.
400
+ * The `relevanssi_post_title_before_tokenize` filter now has a second parameter that contains the post object.
401
+ * New filter: `relevanssi_display_common_words` can be used to disable the "25 most common words" listing on the settings page, if it's too heavy to load.
402
+ * Relevanssi was sanitizing taxonomy titles too aggressively. That is now toned down a bit.
403
+ * Relevanssi now supports `post_parent`, `post_parent__in` and `post_parent__not_in`, though you have to set them in `relevanssi_modify_wp_query` filter for them to work.
404
+ * Meta query support should now be perfect; there were some limitations with complicated meta queries before.
405
+
406
  = 3.3.8 =
407
  * Fixed a bug that caused the results to change depending of the order of words in a multi-word search query.
408
  * Added `product_categories` and `recent_products` from WooCommerce to the list of blocked shortcodes.
1078
 
1079
  == Upgrade notice ==
1080
 
1081
+ = 3.4.2 =
1082
+ * Better emoji support in WP 4.2, fixed issues with synonyms.
1083
+
1084
+ = 3.4.1 =
1085
+ * Removed a notice about an undefined variable.
1086
+
1087
+ = 3.4 =
1088
+ * Bug fixes, better meta_query support, better excerpt handling.
1089
+
1090
  = 3.3.8 =
1091
  * Bug fixes, fix for a possible XSS vulnerability, improved performance.
1092
 
relevanssi-fr_FR.mo CHANGED
Binary file
relevanssi-fr_FR.po CHANGED
@@ -2,8 +2,8 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Relevanssi v1.4\n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2014-12-16 22:33+0100\n"
6
- "PO-Revision-Date: 2014-12-16 22:34+0100\n"
7
  "Last-Translator: Li-An <lian00@gmail.com>\n"
8
  "Language-Team: \n"
9
  "Language: fr_FR\n"
@@ -15,119 +15,49 @@ msgstr ""
15
  "X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;"
16
  "_n_noop:1,2;_c,_nc:4c,1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2\n"
17
  "X-Textdomain-Support: yes\n"
18
- "X-Generator: Poedit 1.7.1\n"
19
  "X-Poedit-SearchPath-0: .\n"
20
 
21
  # @ default
22
- #: lib/excerpts-highlights.php:11
23
  msgid "There is no excerpt because this is a protected post."
24
  msgstr "Il n'y a aucun extrait car ce billet est protégé."
25
 
26
  # @ relevanssi
27
- #: lib/indexing.php:118
28
  msgid "Indexing complete!"
29
  msgstr "Indexation complète !"
30
 
31
- # @ default
32
- #: lib/init.php:41
33
- msgid ""
34
- "You do not have an index! Remember to build the index (click the \"Build the "
35
- "index\" button), otherwise searching won't work."
36
- msgstr ""
37
- "Vous n'avez pas d'index! N'oubliez pas de construire l'index (cliquez sur le "
38
- "bouton \"Construire l'index\" sinon la recherche ne fonctionnera pas."
39
-
40
- # @ relevanssi
41
- #: lib/init.php:86 lib/init.php:87
42
- msgid "User searches"
43
- msgstr "Recherches par les utilisateurs"
44
-
45
- # @ relevanssi
46
- #: lib/interface.php:6
47
- msgid "Relevanssi Premium Search Options"
48
- msgstr "Options de recherche de Relevanssi Premium"
49
-
50
  # @ relevanssi
51
- #: lib/interface.php:9
52
  msgid "Relevanssi Search Options"
53
  msgstr "Options de recherche de Relevanssi"
54
 
55
- # @ relevanssi
56
- #: lib/interface.php:80
57
- msgid "User Searches"
58
- msgstr "Recherches par les utilisateurs"
59
-
60
- # @ relevanssi
61
- #: lib/interface.php:82
62
- msgid "Relevanssi User Searches"
63
- msgstr "Recherches Relevanssi par les utilisateurs"
64
-
65
- # @ relevanssi
66
- #: lib/interface.php:319
67
- #, php-format
68
- msgid ""
69
- "<div id='message' class='updated fade'><p>Successfully added %d/%d terms to "
70
- "stopwords!</p></div>"
71
- msgstr ""
72
- "<div id='message' class='updated fade'><p>Ajout réussi de %d/%d termes aux "
73
- "stopwords!</p></div>"
74
-
75
- # @ relevanssi
76
- #: lib/interface.php:326
77
  #, php-format
78
  msgid ""
79
- "<div id='message' class='updated fade'><p>Term '%s' added to stopwords!</p></"
80
  "div>"
81
  msgstr ""
82
- "<div id='message' class='updated fade'><p>Terme '%s' ajouté aux stopwords!</"
83
  "p></div>"
84
 
85
- # @ relevanssi
86
- #: lib/interface.php:329
87
- #, php-format
88
- msgid ""
89
- "<div id='message' class='updated fade'><p>Couldn't add term '%s' to "
90
- "stopwords!</p></div>"
91
- msgstr ""
92
- "<div id='message' class='updated fade'><p>Impossible d'ajouter '%s' aux "
93
- "stopwords!</p></div>"
94
-
95
- # @ relevanssi
96
- #: lib/interface.php:366
97
- msgid ""
98
- "<div id='message' class='updated fade'><p>Stopwords removed! Remember to re-"
99
- "index.</p></div>"
100
- msgstr ""
101
- "<div id='message' class='updated fade'><p>Stopwords retirés ! N'oubliez pas "
102
- "de réindexer.</p></div>"
103
-
104
- # @ relevanssi
105
- #: lib/interface.php:376
106
- #, php-format
107
- msgid ""
108
- "<div id='message' class='updated fade'><p>Term '%s' removed from stopwords! "
109
- "Re-index to get it back to index.</p></div>"
110
- msgstr ""
111
- "<div id='message' class='updated fade'><p>Terme '%s' retiré des stopwords! "
112
- "Réindexer pour le récupérer dans l'index.</p></div>"
113
-
114
- # @ relevanssi
115
- #: lib/interface.php:379
116
  #, php-format
117
  msgid ""
118
- "<div id='message' class='updated fade'><p>Couldn't remove term '%s' from "
119
- "stopwords!</p></div>"
120
  msgstr ""
121
- "<div id='message' class='updated fade'><p>Impossible de retirer '%s' des "
122
- "stopwords !</p></div>"
123
 
124
  # @ relevanssi
125
- #: lib/interface.php:390
126
  msgid "25 most common words in the index"
127
  msgstr "Les 25 mots des plus fréquents de l'index"
128
 
129
  # @ relevanssi
130
- #: lib/interface.php:392
131
  msgid ""
132
  "These words are excellent stopword material. A word that appears in most of "
133
  "the posts in the database is quite pointless when searching. This is also an "
@@ -144,310 +74,423 @@ msgstr ""
144
  "retiré de l'index aussi est-il inutile de reconstruire l'index."
145
 
146
  # @ relevanssi
147
- #: lib/interface.php:418
148
  msgid "Add to stopwords"
149
  msgstr "Ajouter aux stopwords."
150
 
151
- #: lib/interface.php:429
152
- msgid "Total Searches"
153
- msgstr "Nombre de recherches total"
154
 
155
- #: lib/interface.php:432
156
- msgid "Totals"
157
- msgstr "Totaux"
158
 
159
- #: lib/interface.php:437
160
- msgid "Common Queries"
161
- msgstr "Requêtes en commun"
162
 
163
- # @ relevanssi
164
- #: lib/interface.php:439
165
  msgid ""
166
- "Here you can see the 20 most common user search queries, how many times "
167
- "those \n"
168
- "\t\tqueries were made and how many results were found for those queries."
169
  msgstr ""
170
- "Vous pouvez voir ici les 20 requêtes les plus courantes, combien de fois "
171
- "ces \n"
172
- "\\\\\t\\\\\trequêtes ont été faites et combien de résultats ont été trouvés "
173
- "pour ces requêtes."
174
 
175
- # @ relevanssi
176
- #: lib/interface.php:445 lib/interface.php:461 lib/interface.php:493
177
- msgid "Today and yesterday"
178
- msgstr "Aujourd'hui et hier"
179
 
180
- # @ relevanssi
181
- #: lib/interface.php:449 lib/interface.php:465 lib/interface.php:494
182
- msgid "Last 7 days"
183
- msgstr "Sept derniers jours"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
184
 
185
  # @ relevanssi
186
- #: lib/interface.php:453 lib/interface.php:469 lib/interface.php:495
187
- msgid "Last 30 days"
188
- msgstr "Trente derniers jours"
189
 
190
  # @ relevanssi
191
- #: lib/interface.php:458
192
- msgid "Unsuccessful Queries"
193
- msgstr "Requêtes sans résultat"
 
 
194
 
195
- #: lib/interface.php:476
196
- msgid "Reset Logs"
197
- msgstr "Remettre à zéro les logs"
 
198
 
199
- #: lib/interface.php:479
200
- #, php-format
201
- msgid "To reset the logs, type \"reset\" into the box here %s and click %s"
 
 
 
202
  msgstr ""
203
- "Pour remettre à zéro les logs, tapez \"reset\" dans le champ ici %s et "
204
- "cliquez %s"
 
 
 
205
 
206
- #: lib/interface.php:496
207
- msgid "Forever"
208
- msgstr "Pour toujours"
209
 
210
- #: lib/interface.php:498
211
- msgid "When"
212
- msgstr "Quand"
 
 
 
 
 
 
213
 
214
  # @ relevanssi
215
- #: lib/interface.php:498
216
- msgid "Searches"
217
- msgstr "Recherches"
218
-
219
- #: lib/interface.php:528
220
- msgid "Query"
221
- msgstr "Requête"
222
-
223
- #: lib/interface.php:528
224
- msgid "Hits"
225
- msgstr "Hits"
226
 
227
  # @ relevanssi
228
- #: lib/interface.php:837 lib/interface.php:877
229
- msgid "Basic options"
230
- msgstr "Options basiques"
 
 
 
 
 
 
 
231
 
232
- #: lib/interface.php:838 lib/interface.php:943
233
- msgid "Weights"
234
- msgstr "Poids"
 
 
 
 
 
 
 
 
235
 
236
  # @ relevanssi
237
- #: lib/interface.php:839 lib/interface.php:998
238
- msgid "Logs"
239
- msgstr "Logs"
240
 
241
  # @ relevanssi
242
- #: lib/interface.php:840 lib/interface.php:1027
243
- msgid "Exclusions and restrictions"
244
- msgstr "Exclusions et restrictions"
 
 
 
 
 
 
 
 
245
 
246
  # @ relevanssi
247
- #: lib/interface.php:841
248
- msgid "Custom excerpts"
249
- msgstr "Extraits personnalisés"
250
 
251
  # @ relevanssi
252
- #: lib/interface.php:842
253
- msgid "Highlighting search results"
254
- msgstr "Mise en évidence des résultats de recherche"
255
 
256
  # @ relevanssi
257
- #: lib/interface.php:843 lib/interface.php:1179
258
- msgid "Indexing options"
259
- msgstr "Options d'indexation"
260
 
261
  # @ relevanssi
262
- #: lib/interface.php:844 lib/interface.php:1327
263
- msgid "Synonyms"
264
- msgstr "Synonymes"
265
 
266
  # @ relevanssi
267
- #: lib/interface.php:845 lib/interface.php:1337
268
- msgid "Stopwords"
269
- msgstr "Stopwords"
 
 
 
 
 
 
 
270
 
271
- #: lib/interface.php:848
272
- msgid "Import/export options"
273
- msgstr "Import/export des options"
 
274
 
275
- #: lib/interface.php:851
276
- msgid "Buy Relevanssi Premium"
277
- msgstr "Achetez Relevanssi Premium"
 
278
 
279
  # @ relevanssi
280
- #: lib/interface.php:856
281
- msgid "Quick tools"
282
- msgstr "Outils rapides"
283
 
284
  # @ relevanssi
285
- #: lib/interface.php:858
286
- msgid "Save options"
287
- msgstr "Sauvegarder les options"
288
 
289
  # @ relevanssi
290
- #: lib/interface.php:859
291
- msgid "Build the index"
292
- msgstr "Construire l'index"
 
 
 
 
 
293
 
294
  # @ relevanssi
295
- #: lib/interface.php:860 lib/interface.php:1325
296
- msgid "Continue indexing"
297
- msgstr "Continuer l'indexation"
 
 
298
 
299
  # @ relevanssi
300
- #: lib/interface.php:860
301
- msgid "add"
302
- msgstr "ajouter"
 
 
303
 
304
  # @ relevanssi
305
- #: lib/interface.php:860
306
- msgid "documents."
307
- msgstr "documents."
 
 
 
 
 
 
 
 
308
 
309
- #: lib/interface.php:864
310
  msgid ""
311
- "WARNING: You've chosen no post types to index. Nothing will be indexed. <a "
312
- "href='#indexing'>Choose some post types to index</a>."
 
 
 
 
 
313
  msgstr ""
314
- "ATTENTION: vous n'avez choisi aucun type de billet à indexer. Rien ne sera "
315
- "indexé.<a href='#indexing'>Choisissez les types de billet à indexer</a>."
316
-
317
- # @ relevanssi
318
- #: lib/interface.php:868
 
 
 
 
 
 
319
  msgid ""
320
- "Use 'Build the index' to build the index with current <a "
321
- "href='#indexing'>indexing options</a>. If you can't finish indexing with one "
322
- "go, use 'Continue indexing' to finish the job. You can change the number of "
323
- "documents to add until you find the largest amount you can add with one go. "
324
- "See 'State of the Index' below to find out how many documents actually go "
325
- "into the index."
326
  msgstr ""
327
- "Utiliser 'Construire l'index' pour construire l'index avec les <a "
328
- "href='#indexing'>options actuelles</a> d'indexation. Si vous ne pouvez pas "
329
- "terminer l'indexation en une passe, utilisez 'Continuer l'indexation' pour "
330
- "finir le travail. Vous pouvez modifier le nombre de documents à ajouter "
331
- "jusqu'à ce que vous trouviez le maximum que vous pouvez ajouter en une "
332
- "passe. Regardez 'État de l'indexation' ci-dessous pour déterminer le nombre "
333
- "de documents actuellement pris en compte dans l'indexation."
 
 
334
 
335
  # @ relevanssi
336
- #: lib/interface.php:870
337
- msgid "State of the Index"
338
- msgstr "État de l'index"
339
 
340
  # @ relevanssi
341
- #: lib/interface.php:872
342
- msgid "Documents in the index"
343
- msgstr "Documents dans l'index"
344
 
345
  # @ relevanssi
346
- #: lib/interface.php:873
347
- msgid "Terms in the index"
348
- msgstr "Termes dans l'index"
349
 
350
  # @ relevanssi
351
- #: lib/interface.php:874
352
- msgid "Highest post ID indexed"
353
- msgstr "ID de billet le plus élevé indexé"
354
 
355
  # @ relevanssi
356
- #: lib/interface.php:883
357
- msgid "Use search for admin:"
358
- msgstr "Utiliser la recherche pour l'administration:"
359
 
360
  # @ relevanssi
361
- #: lib/interface.php:885
362
- msgid "If checked, Relevanssi will be used for searches in the admin interface"
363
- msgstr ""
364
- "Si coché, Relevanssi sera utilisé pour les recherches dans l'interface "
365
- "d'administration"
366
 
367
  # @ relevanssi
368
- #: lib/interface.php:889
369
- msgid "Default operator for the search?"
370
- msgstr "Opérateur logique par défaut pour la recherche ?"
371
 
372
  # @ relevanssi
373
- #: lib/interface.php:891
374
- msgid "AND - require all terms"
375
- msgstr "ET - nécessite tous les termes"
 
 
 
 
 
 
 
 
 
 
376
 
377
  # @ relevanssi
378
- #: lib/interface.php:892
379
- msgid "OR - any term present is enough"
380
- msgstr "OU - n'importe lequel des termes présents est suffisant"
381
 
382
  # @ relevanssi
383
- #: lib/interface.php:894
384
  msgid ""
385
- "If you choose AND and the search finds no matches, it will automatically do "
386
- "an OR search."
387
  msgstr ""
388
- "Si vous choisissez ET et la recherche ne trouve rien, une recherche OU sera "
389
- "lancée automatiquement."
390
 
391
  # @ relevanssi
392
- #: lib/interface.php:898
393
- msgid "Disable OR fallback:"
394
- msgstr "Désactiver le passage à OU:"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
395
 
396
  # @ relevanssi
397
- #: lib/interface.php:900
398
- msgid ""
399
- "If you don't want Relevanssi to fall back to OR search when AND search gets "
400
- "no hits, check this option. For most cases, leave this one unchecked."
 
 
401
  msgstr ""
402
- "Si vous ne désirez pas que Relevanssi ne se rabatte pas sur une recherche OU "
403
- "quand la recherche ET ne donne aucun résultat, cochez cette option. Dans la "
404
- "plupart des cas, laissez la décochée."
405
 
406
  # @ relevanssi
407
- #: lib/interface.php:904
408
- msgid "Default order for results:"
409
- msgstr "Ordre par défaut pour les résultats:"
410
 
411
  # @ relevanssi
412
- #: lib/interface.php:906
413
- msgid "Relevance (highly recommended)"
414
- msgstr "Pertinence (hautement recommandé)"
 
 
 
 
 
415
 
416
  # @ relevanssi
417
- #: lib/interface.php:907
418
- msgid "Post date"
419
- msgstr "Date de billet"
420
 
421
- #: lib/interface.php:909
422
  msgid ""
423
- "If you want date-based results, see the recent post bonus in the Weights "
424
- "section."
425
  msgstr ""
426
- "Si vous désirez des résultats chronologiques, veuillez consulter le nouveau "
427
- "bonus pour billet dans la section Poids."
428
 
429
  # @ relevanssi
430
- #: lib/interface.php:913
431
  msgid "When to use fuzzy matching?"
432
  msgstr "Quand utiliser la correspondance approximative ?"
433
 
434
  # @ relevanssi
435
- #: lib/interface.php:915
436
  msgid "When straight search gets no hits"
437
  msgstr "Quand la recherche directe ne donne pas de résultat"
438
 
439
  # @ relevanssi
440
- #: lib/interface.php:916
441
  msgid "Always"
442
  msgstr "Toujours"
443
 
444
  # @ relevanssi
445
- #: lib/interface.php:917
446
  msgid "Don't use fuzzy search"
447
  msgstr "Ne pas utiliser l'approximation"
448
 
449
  # @ relevanssi
450
- #: lib/interface.php:919
451
  msgid ""
452
  "Straight search matches just the term. Fuzzy search matches everything that "
453
  "begins or ends with the search term."
@@ -455,757 +498,769 @@ msgstr ""
455
  "La recherche pure prend en compte juste le terme. La recherche approximative "
456
  "prend en compte tout ce qui commence ou finit par le terme recherché."
457
 
458
- # @ relevanssi
459
- #: lib/interface.php:927
460
- msgid "Limit searches:"
461
- msgstr "Limiter les recherches:"
462
-
463
- #: lib/interface.php:929
464
- msgid ""
465
- "If this option is checked, Relevanssi will limit search results to at most "
466
- "500 results per term. This will improve performance, but may cause some "
467
- "relevant documents to go unfound. However, Relevanssi tries to prioritize "
468
- "the most relevant documents. <strong>This does not work well when sorting "
469
- "results by date.</strong> The throttle can end up cutting off recent posts "
470
- "to favour more relevant posts."
471
- msgstr ""
472
- "Si cette option est cochée, Relevanssi limitera les résultats de recherche à "
473
- "500 résultats par terme. Ceci améliorera les performances mais peut faire en "
474
- "forte que certains documents pertinents ne soient pas trouvés. Quoiqu'il en "
475
- "soit, Relevanssi essaie de classer par priorité les documents les plus "
476
- "pertinents. <strong>Ceci ne fonctionne pas bien en classant les résultats "
477
- "par date.</strong> Le tri peut être amené à mettre de côté des billets "
478
- "récents pour favoriser des billets plus pertinents."
479
-
480
- #: lib/interface.php:933
481
- msgid "Limit:"
482
- msgstr "Limite:"
483
-
484
- #: lib/interface.php:935
485
- #, php-format
486
- msgid ""
487
- "For better performance, adjust the limit to a smaller number. Adjusting the "
488
- "limit to 100 or 200 should be safe for good results, and might bring a boost "
489
- "in search speed. DO NOT use this feature to limit the number of search "
490
- "results on search results pages, as that will lead to problems. For "
491
- "adjusting the number of search results displayed, see <a href='%s'>this "
492
- "knowledge base entry</a>."
493
- msgstr ""
494
- "Pour de meilleures performances, ajustez la limite à un nombre plus petit. "
495
- "Ajuster la limite à 100 ou 200 devrait être sans danger pour de bons "
496
- "résultats et pourrait apporter un boost dans la vitesse de recherche. NE PAS "
497
- "utiliser cette fonction pour limiter le nombre de résultats de recherche sur "
498
- "les pages de résultat, ce qui pourrait conduire à des problèmes. Pour "
499
- "ajuster le nombre de résultats de recherche affichés, veuillez lire <a "
500
- "href='%s'>cette entrée de la base de connaissance</a>."
501
 
502
  # @ relevanssi
503
- #: lib/interface.php:945
504
- msgid ""
505
- "These values affect the weights of the documents. These are all multipliers, "
506
- "so 1 means no change in weight, less than 1 means less weight, and more than "
507
- "1 means more weight. Setting something to zero makes that worthless. For "
508
- "example, if title weight is more than 1, words in titles are more "
509
- "significant than words elsewhere. If title weight is 0, words in titles "
510
- "won't make any difference to the search results."
511
- msgstr ""
512
- "Ces valeurs affectent le poids des documents. Ce sont tous des "
513
- "multiplicateurs, ainsi 1 signifie aucune modification du poids, moins de 1 "
514
- "signifie moins de poids et plus de 1 signifie plus de poids. Un réglage "
515
- "proche de zéro correspond à une partie négligeable. Par exemple, si le poids "
516
- "du titre vaut plus que 1, les mots dans le titre sont plus significatifs que "
517
- "les mêmes mots partout ailleurs. Si le poids du titre vaut 0, les mots dans "
518
- "le titre n'affecteront pas les résultats de recherche."
519
 
520
- #: lib/interface.php:950
521
- msgid "Element"
522
- msgstr "Élément"
523
-
524
- #: lib/interface.php:951
525
- msgid "Weight"
526
- msgstr "Poids"
527
 
528
  # @ relevanssi
529
- #: lib/interface.php:952
530
- msgid "Default weight"
531
- msgstr "Poids par défaut"
532
 
533
  # @ relevanssi
534
- #: lib/interface.php:957
535
- msgid "Post titles"
536
- msgstr "Titres de billet"
537
 
538
  # @ relevanssi
539
- #: lib/interface.php:969
540
- msgid "Comment text"
541
- msgstr "Text de commentaire"
 
 
 
542
 
543
  # @ relevanssi
544
- #: lib/interface.php:990
545
- msgid "WPML/Polylang compatibility"
546
- msgstr "Compatibilité WPML/Polylang"
 
 
 
547
 
548
  # @ relevanssi
549
- #: lib/interface.php:992
550
- msgid "Limit results to current language:"
551
- msgstr "Limiter les résultats au langage suivant:"
 
 
 
552
 
553
  # @ relevanssi
554
- #: lib/interface.php:994
555
- msgid ""
556
- "If this option is checked, Relevanssi will only return results in the "
557
- "current active language. Otherwise results will include posts in every "
558
- "language."
559
- msgstr ""
560
- "Si cette option est cochée, Relevanssi retournera uniquement les résultats "
561
- "dans le langage actuellement activé. Sinon, les résultats inclueront les "
562
- "billets dans tous les langages."
563
 
564
  # @ relevanssi
565
- #: lib/interface.php:1000
566
- msgid "Keep a log of user queries:"
567
- msgstr "Conserver une liste des recherches des visiteurs:"
 
 
 
568
 
569
  # @ relevanssi
570
- #: lib/interface.php:1002
571
- msgid ""
572
- "If checked, Relevanssi will log user queries. The log appears in 'User "
573
- "searches' on the Dashboard admin menu."
574
- msgstr ""
575
- "Si coché, Relevanssi conservera dans les stats les requêtes d'utilisateur. "
576
- "Les stats apparaissent dans 'Recherches d'utilisateur' dans le menu du "
577
- "tableau de bord de l'administration."
578
 
579
- #: lib/interface.php:1006
580
- msgid "Log the user's IP with the queries:"
581
- msgstr "Enregistrer l'adresse IP de l'utilisateur avec ses requêtes:"
 
 
 
 
 
582
 
583
  # @ relevanssi
584
- #: lib/interface.php:1008
585
- msgid "If checked, Relevanssi will log user's IP-Adress with the queries."
586
- msgstr ""
587
- "Si coché, Relevanssi enregistrera les adresses IP des utilisateurs avec "
588
- "leurs requêtes."
 
 
 
 
589
 
590
  # @ relevanssi
591
- #: lib/interface.php:1012
592
- msgid "Don't log queries from these users:"
593
- msgstr "Ne conservez pas les statistiques de recherche de ces utilisateurs:"
594
 
595
  # @ relevanssi
596
- #: lib/interface.php:1014
597
- msgid ""
598
- "Comma-separated list of numeric user IDs or user login names that will not "
599
- "be logged."
600
- msgstr ""
601
- "Liste d'ID d'utilisateurs ou de noms de login séparés par une virgule qui ne "
602
- "seront pas pris en compte."
603
 
604
  # @ relevanssi
605
- #: lib/interface.php:1018
606
- msgid ""
607
- "If you enable logs, you can see what your users are searching for. You can "
608
- "prevent your own searches from getting in the logs with the omit feature."
609
- msgstr ""
610
- "Si vous activez les logs, vous pouvez voir ce que les utilisateurs "
611
- "recherchent. Vous pouvez exclure vos propres recherches des logs avec le "
612
- "réglage d'exemption."
613
 
614
  # @ relevanssi
615
- #: lib/interface.php:1021
616
- msgid ""
617
- "If you enable logs, you can see what your users are searching for. Logs are "
618
- "also needed to use the 'Did you mean?' feature. You can prevent your own "
619
- "searches from getting in the logs with the omit feature."
620
- msgstr ""
621
- "Si vous activez les logs, vous pouvez voir ce que les utilisateurs "
622
- "recherchent. Les logs sont aussi utilisés pour la fonction 'Vous vouliez "
623
- "dire ?'. Vous pouvez empêcher vos propres recherches d'être enregistrées "
624
- "avec la fonction d'exception."
 
 
 
 
 
 
625
 
626
  # @ relevanssi
627
- #: lib/interface.php:1029
628
- msgid "Restrict search to these categories and tags:"
629
- msgstr "Restreindre la recherche à ces catégories et tags:"
 
 
 
 
 
630
 
631
  # @ relevanssi
632
- #: lib/interface.php:1031
633
- msgid ""
634
- "Enter a comma-separated list of category and tag IDs to restrict search to "
635
- "those categories or tags. You can also use <code>&lt;input type='hidden' "
636
- "name='cats' value='list of cats and tags' /&gt;</code> in your search form. "
637
- "The input field will \toverrun this setting."
638
- msgstr ""
639
- "Entrez une liste d'ID de catégories et de mots-clefs pour restreindre la "
640
- "recherche à ces catégories et mots-clef. Vous pouvez aussi utiliser "
641
- "<code>&lt;input type='hidden' name='cats' value='list of cats and tags' /&gt;"
642
- "</code> dans votre formulaire de recherche. Le champ inséré sera prioritaire "
643
- "sur ce réglage."
644
 
645
  # @ relevanssi
646
- #: lib/interface.php:1035
647
- msgid "Exclude these categories from search:"
648
- msgstr "Exclure ces catégories de la recherche:"
649
 
650
  # @ relevanssi
651
- #: lib/interface.php:1037
652
- msgid ""
653
- "Enter a comma-separated list of category IDs that are excluded from search "
654
- "results."
655
- msgstr ""
656
- "Entrez une liste d'ID de catégories à exclure des résultats de recherche."
657
 
658
  # @ relevanssi
659
- #: lib/interface.php:1041
660
- msgid "Exclude these tags from search:"
661
- msgstr "Exclure ces mots-clef de la recherche:"
662
 
663
  # @ relevanssi
664
- #: lib/interface.php:1043
665
- msgid ""
666
- "Enter a comma-separated list of tag IDs that are excluded from search "
667
- "results."
668
- msgstr ""
669
- "Entrez une liste d'ID de mots-clef à exclure des résultats de recherche."
670
 
671
  # @ relevanssi
672
- #: lib/interface.php:1047
673
- msgid "Exclude these posts/pages from search:"
674
- msgstr "Exclure ces billets/pages de la recherche:"
675
 
676
  # @ relevanssi
677
- #: lib/interface.php:1051
678
- msgid ""
679
- "Enter a comma-separated list of post/page IDs that are excluded from search "
680
- "results. This only works here, you can't use the input field option "
681
- "(WordPress doesn't pass custom parameters there). You can also use a "
682
- "checkbox on post/page edit pages to remove posts from index."
683
- msgstr ""
684
- "Entrez une liste d'ID de billets et de pages à exclure des résultats de "
685
- "recherche. Cela ne fonctionne qu'ici, vous ne pouvez pas utiliser l'option "
686
- "de champ d'insertion (Wordpress ne gèrera pas les paramètres personnalisés "
687
- "dans ce cas). Vous pouvez aussi utiliser une case à cocher dans les pages "
688
- "d'éditions des billets/pages pour retirer des billetx de l'index."
689
 
690
  # @ relevanssi
691
- #: lib/interface.php:1054
692
- msgid ""
693
- "Enter a comma-separated list of post/page IDs that are excluded from search "
694
- "results. This only works here, you can't use the input field option "
695
- "(WordPress doesn't pass custom parameters there)."
696
- msgstr ""
697
- "Entrez une liste d'ID de billets et de pages à exclure des résultats de "
698
- "recherche. Cela ne fonctionne qu'ici, vous ne pouvez pas utiliser l'option "
699
- "de champ d'insertion (Wordpress ne gèrera pas les paramètres personnalisés "
700
- "dans ce cas). "
701
 
702
  # @ relevanssi
703
- #: lib/interface.php:1060
704
- msgid "Respect exclude_from_search for custom post types:"
705
- msgstr "Respecter exclude_from_search pour les types de billets personnalisés:"
706
 
707
  # @ relevanssi
708
- #: lib/interface.php:1062
709
- msgid ""
710
- "If checked, Relevanssi won't display posts of custom post types that have "
711
- "'exclude_from_search' set to true. If not checked, Relevanssi will display "
712
- "anything that is indexed."
713
- msgstr ""
714
- "Si coché, Relevanssi n'affichera aucun billet de types de billets "
715
- "personnalisés pour lesquels 'exclude_from_search' a été indiqué. Si non "
716
- "coché, Relevanssi affichera tout ce qui est indexé."
717
 
718
  # @ relevanssi
719
- #: lib/interface.php:1064
720
- msgid "Custom excerpts/snippets"
721
- msgstr "Personnaliser extraits/snippets"
722
 
723
  # @ relevanssi
724
- #: lib/interface.php:1066
725
- msgid "Create custom search result snippets:"
726
- msgstr "Créer des snippets personalisés de résultats de recherche:"
727
 
728
  # @ relevanssi
729
- #: lib/interface.php:1068
730
- msgid ""
731
- "If checked, Relevanssi will create excerpts that contain the search term "
732
- "hits. To make them work, make sure your search result template uses "
733
- "the_excerpt() to display post excerpts."
734
- msgstr ""
735
- "Si coché, Relevanssi créera des extraits qui contiennent les résultats de la "
736
- "recherche de terme. Pour que cela fonctionne, vérifiez bien que le fichier "
737
- "de thème de résultat de recherche utilise the_excerpt() pour afficher les "
738
- "extraits de billet."
739
 
740
- #: lib/interface.php:1070
741
- msgid ""
742
- "Note: Building custom excerpts can be slow. If you are not actually using "
743
- "the excerpts, make sure you disable the option."
744
- msgstr ""
745
- "Remarque: construire les extraits personnalisés peut être lent. Si vous "
746
- "n'utilisez pas les extraits, soyez certain de désactiver cette option."
747
 
748
  # @ relevanssi
749
- #: lib/interface.php:1072
750
- msgid "Length of the snippet:"
751
- msgstr "Longueur du snippet:"
 
 
 
 
 
 
 
 
 
 
 
 
752
 
753
  # @ relevanssi
754
- #: lib/interface.php:1075
755
- msgid "characters"
756
- msgstr "lettres"
757
 
758
  # @ relevanssi
759
- #: lib/interface.php:1076
760
- msgid "words"
761
- msgstr "mots"
762
 
763
  # @ relevanssi
764
- #: lib/interface.php:1078
765
- msgid "This must be an integer."
766
- msgstr "Ceci doit être un nombre entier."
767
 
768
- #: lib/interface.php:1082
769
- msgid "Allowable tags in excerpts:"
770
- msgstr "Mots-clefs autorisés dans les extraits:"
771
 
772
- #: lib/interface.php:1085
773
- msgid ""
774
- "List all tags you want to allow in excerpts, without any whitespace. For "
775
- "example: '&lt;p&gt;&lt;a&gt;&lt;strong&gt;'."
776
- msgstr ""
777
- "Listez tous les mots-clef que vous voulez autoriser dans les extraits sans "
778
- "aucun espace. Par exemple: '&lt;p&gt;&lt;a&gt;&lt;strong&gt;'."
779
 
780
  # @ relevanssi
781
- #: lib/interface.php:1089
782
- msgid "Show breakdown of search hits in excerpts:"
783
- msgstr "Montrer la répartition des résultats de recherche dans les extraits:"
784
 
785
  # @ relevanssi
786
- #: lib/interface.php:1091
787
- msgid ""
788
- "Check this to show more information on where the search hits were made. "
789
- "Requires custom snippets to work."
790
- msgstr ""
791
- "Cochez ceci pour afficher plus d'informations sur la répartition des "
792
- "résultats de recherche. Nécessite l'activation des snippets personnalisés "
793
- "pour fonctionner."
794
 
795
  # @ relevanssi
796
- #: lib/interface.php:1095
797
- msgid "The breakdown format:"
798
- msgstr "Mise en forme des répartitions:"
 
 
 
799
 
800
  # @ relevanssi
801
- #: lib/interface.php:1097
802
- msgid ""
803
- "Use %body%, %title%, %tags% and %comments% to display the number of hits (in "
804
- "different parts of the post), %total% for total hits, %score% to display the "
805
- "document weight and %terms% to show how many hits each search term got. No "
806
- "double quotes (\") allowed!"
807
- msgstr ""
808
- "Utilisez %body%, %title%, %tags% et %comments% pour afficher le nombre de "
809
- "résultats trouvés (en différents endroits du billet), %total% pour le nombre "
810
- "total de résultats affichés, %score% pour afficher le poids d'importance du "
811
- "document et %terms% pour montrer combien de résultats affichés ont obtenu "
812
- "chacun des termes recherché. Interdit d'utiliser des guillemets (\")!"
813
 
814
  # @ relevanssi
815
- #: lib/interface.php:1099
816
- msgid "Search hit highlighting"
817
- msgstr "Surbrillance des résultats de recherche"
 
 
 
 
818
 
819
  # @ relevanssi
820
- #: lib/interface.php:1101
821
- msgid "First, choose the type of highlighting used:"
822
- msgstr "En premier, veuillez choisir le type de surbrillance utilisée:"
823
 
824
  # @ relevanssi
825
- #: lib/interface.php:1104
826
- msgid "Highlight query terms in search results:"
827
- msgstr ""
828
- "Mettre en surbrillance les termes de recherche dans les résultats de "
829
- "recherche:"
830
 
831
  # @ relevanssi
832
- #: lib/interface.php:1106
833
- msgid "No highlighting"
834
- msgstr "Pas de mise en surbrillance"
 
 
 
 
 
 
835
 
836
  # @ relevanssi
837
- #: lib/interface.php:1110
838
- msgid "Text color"
839
- msgstr "Couleur du texte"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
840
 
841
  # @ relevanssi
842
- #: lib/interface.php:1111
843
- msgid "Background color"
844
- msgstr "Couleur du fond"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
845
 
846
  # @ relevanssi
847
- #: lib/interface.php:1112
848
- msgid "CSS Style"
849
- msgstr "Style CSS"
850
 
851
  # @ relevanssi
852
- #: lib/interface.php:1113
853
- msgid "CSS Class"
854
- msgstr "Classe CSS"
855
 
856
  # @ relevanssi
857
- #: lib/interface.php:1115
858
- msgid "Highlighting isn't available unless you use custom snippets"
859
- msgstr ""
860
- "La mise en surbrillance n'est pas disponible tant que vous n'avez pas activé "
861
- "l'utilisation de snippets personnalisés."
862
 
863
  # @ relevanssi
864
- #: lib/interface.php:1119
865
- msgid "Highlight query terms in result titles too:"
866
- msgstr "Mettre en surbrillance les mots recherchés dans le titre également:"
867
 
868
  # @ relevanssi
869
- #: lib/interface.php:1125
870
- msgid "Highlight query terms in documents from local searches:"
871
- msgstr ""
872
- "Mettre en évidence les termes de la requête dans les documents pour les "
873
- "recherches locales:"
874
 
875
  # @ relevanssi
876
- #: lib/interface.php:1127
877
- msgid ""
878
- "Highlights hits when user opens the post from search results. This is based "
879
- "on HTTP referrer, so if that's blocked, there'll be no highlights."
880
- msgstr ""
881
- "Surligne les mots choisis quand l'utilisateur ouvre le billet à partir des "
882
- "résultats de recherche. La fonction est basée sur HTTP referrer ainsi, en "
883
- "cas de blocage, il y aura pas de surlignage."
884
 
885
  # @ relevanssi
886
- #: lib/interface.php:1133
887
- msgid "Highlight query terms in comments:"
888
- msgstr "Surligner les termes recherchés dans les commentaires:"
 
 
 
 
 
 
 
889
 
890
  # @ relevanssi
891
- #: lib/interface.php:1135
892
- msgid ""
893
- "Highlights hits in comments when user opens the post from search results."
894
- msgstr ""
895
- "Surligner les résultats affichés dans les commentaires quand l'utilisateur "
896
- "ouvre le billet à partir des résultats de recherche."
897
 
898
  # @ relevanssi
899
- #: lib/interface.php:1139
900
- msgid "Uncheck this if you use non-ASCII characters:"
901
- msgstr "Décochez ceci si vous utilisez des caractères non-ASCII:"
902
 
903
  # @ relevanssi
904
- #: lib/interface.php:1141
905
- msgid ""
906
- "If you use non-ASCII characters (like Cyrillic alphabet) and the highlights "
907
- "don't work, uncheck this option to make highlights work."
908
- msgstr ""
909
- "Si vous utilisez des caractères non-ASCII (comme l'alphabet Cyrillique) et "
910
- "que le surlignage ne fonctionne pas, décochez cette option pour faire "
911
- "fonctionner le surlignage."
 
 
 
 
 
 
 
 
912
 
913
  # @ relevanssi
914
- #: lib/interface.php:1146
915
- msgid "Then adjust the settings for your chosen type:"
916
- msgstr "Ensuite ajustez les réglages du type choisi:"
 
 
 
 
 
 
917
 
918
  # @ relevanssi
919
- #: lib/interface.php:1150
920
- msgid "Text color for highlights:"
921
- msgstr "Couleur du texte pour la surbrillance:"
 
 
 
 
 
 
 
 
922
 
923
  # @ relevanssi
924
- #: lib/interface.php:1152 lib/interface.php:1158
925
- msgid "Use HTML color codes (#rgb or #rrggbb)"
926
- msgstr "Utiliser les codes de couleurs HTML (#rgb ou #rrggbb)"
927
 
928
  # @ relevanssi
929
- #: lib/interface.php:1156
930
- msgid "Background color for highlights:"
931
- msgstr "Couleur du fond pour la surbrillance:"
 
 
932
 
933
  # @ relevanssi
934
- #: lib/interface.php:1162
935
- msgid "CSS style for highlights:"
936
- msgstr "Style CSS pour la surbrillance:"
937
 
938
  # @ relevanssi
939
- #: lib/interface.php:1164
940
- msgid ""
941
- "You can use any CSS styling here, style will be inserted with a &lt;span&gt;"
942
- msgstr ""
943
- "Vous pouvez utiliser tout habillage CSS ici. Le style sera inséré avec un "
944
- "&lt;span&gt;"
945
 
946
  # @ relevanssi
947
- #: lib/interface.php:1168
948
- msgid "CSS class for highlights:"
949
- msgstr "Classe CSS pour la surbrillance:"
 
 
 
 
 
 
 
 
 
950
 
951
  # @ relevanssi
952
- #: lib/interface.php:1170
953
- msgid ""
954
- "Name a class here, search results will be wrapped in a &lt;span&gt; with the "
955
- "class"
956
- msgstr ""
957
- "Nommez une classe ici. Les résultats seront encadrés dans un &lt;span&gt; "
958
- "avec cette classe"
959
 
960
  # @ relevanssi
961
- #: lib/interface.php:1177 lib/interface.php:1335
962
- msgid "Save the options"
963
- msgstr "Sauvegarder les options"
 
 
 
 
 
964
 
965
  # @ relevanssi
966
- #: lib/interface.php:1181
967
- msgid "Choose post types to index:"
968
- msgstr "Veuillez choisir les types de billets personnalisés à indexer:"
969
 
970
- #: lib/interface.php:1186
971
- msgid "Type"
972
- msgstr "Type"
 
 
 
973
 
974
- #: lib/interface.php:1187 lib/interface.php:1233
975
- msgid "Index"
976
- msgstr "Index"
977
 
978
- #: lib/interface.php:1188 lib/interface.php:1234
979
- msgid "Public?"
980
- msgstr "Publique ?"
 
 
 
981
 
982
- #: lib/interface.php:1205 lib/interface.php:1248
983
- #, php-format
984
- msgid "%s"
985
- msgstr "%s"
 
 
 
 
 
 
 
 
 
986
 
987
- #: lib/interface.php:1206 lib/interface.php:1249
988
- msgid "yes"
989
- msgstr "oui"
990
 
991
  # @ relevanssi
992
- #: lib/interface.php:1206 lib/interface.php:1249
993
- msgid "no"
994
- msgstr "non"
995
 
996
  # @ relevanssi
997
- #: lib/interface.php:1227
998
- msgid "Choose taxonomies to index:"
999
- msgstr "Veuillez choisir les taxonomie à indexer:"
 
1000
 
1001
- #: lib/interface.php:1232
1002
- msgid "Taxonomy"
1003
- msgstr "Taxonomie"
 
 
 
 
 
1004
 
1005
- #: lib/interface.php:1269
1006
- msgid ""
1007
- "If you check a taxonomy here, the terms for that taxonomy are indexed with "
1008
- "the posts. If you for example choose \"post_tag\", searching for tags will "
1009
- "find all posts that have the tag."
1010
- msgstr ""
1011
- "Si vous cochez une taxonomie ici, les termes de cette taxonomie seront "
1012
- "indexées avec les billets. Si par exemple vous choisissez \"post_tag\", la "
1013
- "recherche pour les mots-clef affichera tous les billets qui sont associés au "
1014
- "mot-clef."
1015
 
1016
  # @ relevanssi
1017
- #: lib/interface.php:1273
1018
- msgid "Minimum word length to index"
1019
- msgstr "Longueur minimum des mots à indexer"
 
 
1020
 
1021
  # @ relevanssi
1022
- #: lib/interface.php:1275
1023
- msgid "Words shorter than this number will not be indexed."
1024
- msgstr "Les mots plus courts que ce nombre ne seront pas indexés."
1025
 
1026
  # @ relevanssi
1027
- #: lib/interface.php:1281
1028
- msgid "Expand shortcodes in post content:"
1029
- msgstr "Traduire les shortcodes dans le contenu des billets:"
 
 
 
 
1030
 
1031
  # @ relevanssi
1032
- #: lib/interface.php:1283
1033
- msgid ""
1034
- "If checked, Relevanssi will expand shortcodes in post content before "
1035
- "indexing. Otherwise shortcodes will be stripped. If you use shortcodes to "
1036
- "include dynamic content, Relevanssi will not keep the index updated, the "
1037
- "index will reflect the status of the shortcode content at the moment of "
1038
- "indexing."
1039
- msgstr ""
1040
- "Si coché, Relevanssi traduira tous les shortcodes des contenu de billets "
1041
- "avec l'indexation. Dans le cas contraire, les shortcodes seront ignorés. Si "
1042
- "vous utilisez des shortcodes pour générer du contenu dynamique, Relevanssi "
1043
- "ne mettra pas l'index à jour. Ce dernier présentera le statut du contenu du "
1044
- "shortcode au moment de l'indexation."
1045
 
1046
  # @ relevanssi
1047
- #: lib/interface.php:1289
1048
- msgid "Index and search your posts' authors:"
1049
- msgstr "Indexer et rechercher les auteurs des billets:"
1050
 
1051
  # @ relevanssi
1052
- #: lib/interface.php:1291
1053
- msgid ""
1054
- "If checked, Relevanssi will also index and search the authors of your posts. "
1055
- "Author display name will be indexed. Remember to rebuild the index if you "
1056
- "change this option!"
1057
- msgstr ""
1058
- "Si coché, Relevanssi indexera et cherchera aussi dans les auteurs de vos "
1059
- "billets. Le nom affiché des auteurs sera indexé. N'oubliez pas de "
1060
- "reconstruire l'index si vous modifiez cette option !"
 
 
 
 
 
 
 
 
1061
 
1062
  # @ relevanssi
1063
- #: lib/interface.php:1295
1064
- msgid "Index and search post excerpts:"
1065
- msgstr "Indexer et rechercher dans les extraits de billets:"
1066
 
1067
  # @ relevanssi
1068
- #: lib/interface.php:1297
1069
- msgid ""
1070
- "If checked, Relevanssi will also index and search the excerpts of your posts."
1071
- "Remember to rebuild the index if you change this option!"
1072
- msgstr ""
1073
- "Si coché, Relevanssi indexera et cherchera dans les extraits de vos billets. "
1074
- "N'oubliez pas de reconstruire l'index si vous modifiez cette option !"
 
 
 
 
 
 
 
 
1075
 
1076
  # @ relevanssi
1077
- #: lib/interface.php:1301
1078
- msgid "Index and search these comments:"
1079
- msgstr "Indexer et rechercher ces commentaires:"
1080
 
1081
  # @ relevanssi
1082
- #: lib/interface.php:1303
1083
- msgid "none"
1084
- msgstr "aucun"
1085
 
1086
  # @ relevanssi
1087
- #: lib/interface.php:1304
1088
- msgid "normal"
1089
- msgstr "normal"
1090
 
1091
  # @ relevanssi
1092
- #: lib/interface.php:1305
1093
- msgid "all"
1094
- msgstr "tout"
 
 
 
 
 
 
 
 
 
1095
 
1096
  # @ relevanssi
1097
- #: lib/interface.php:1307
1098
- msgid ""
1099
- "Relevanssi will index and search ALL (all comments including track- &amp; "
1100
- "pingbacks and custom comment types), NONE (no comments) or NORMAL (manually "
1101
- "posted comments on your blog).<br />Remember to rebuild the index if you "
1102
- "change this option!"
1103
- msgstr ""
1104
- "Relevanssi indexera et cherchera dans TOUT (tous les commentaires incluant "
1105
- "track- &amp; pingbacks et types de commentaires personnalisés), AUCUN (aucun "
1106
- "commentaire) ou NORMAL (commentaires postés manuellement sur votre blog)."
1107
- "<br />N'oubliez pas de reconstruire l'index si vous modifiez cette option !"
1108
 
1109
  # @ relevanssi
1110
- #: lib/interface.php:1311
1111
- msgid "Custom fields to index:"
1112
- msgstr "Champs personnalisés à indexer:"
 
 
 
 
 
1113
 
1114
- #: lib/interface.php:1313
1115
- msgid ""
1116
- "A comma-separated list of custom fields to include in the index. Set to "
1117
- "'visible' to index all visible custom fields and to 'all' to index all "
1118
- "custom fields, also those starting with a '_' character."
1119
- msgstr ""
1120
- "Une liste séparée par des virgules de champs personnalisés à inclure dans "
1121
- "l'index. Utilisez 'visible' pour indexer tous les champs personnalisés "
1122
- "visibles et 'tout' pour indexer tous les champs personnalisés même ceux "
1123
- "commençant par le caractère '_' ."
1124
 
1125
- #: lib/interface.php:1323
1126
- msgid "Save indexing options, erase index and rebuild the index"
1127
- msgstr ""
1128
- "Sauvegarder les options d'indexation, supprimer puis reconstruire l'index"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1129
 
1130
  # @ relevanssi
1131
- #: lib/interface.php:1331
1132
- msgid ""
1133
- "Add synonyms here in 'key = value' format. When searching with the OR "
1134
- "operator, any search of 'key' will be expanded to include 'value' as well. "
1135
- "Using phrases is possible. The key-value pairs work in one direction only, "
1136
- "but you can of course repeat the same pair reversed."
1137
- msgstr ""
1138
- "Ajouter les synonymes ici au format 'clef = valeur'. Lors d'une recherche "
1139
- "avec l'opérateur logique OU, toute recherche de 'clef' sera étendue pour "
1140
- "inclure aussi 'valeur'. Il est possible d'utiliser des phrases. Les paires "
1141
- "clef-valeur ne fonctionnent que dans un sens mais, évidemment, vous pouvez "
1142
- "répéter la même clef à l'envers."
1143
 
1144
  # @ relevanssi
1145
- #: lib/interface.php:1356
1146
- msgid ""
1147
- "<p>Enter a word here to add it to the list of stopwords. The word will "
1148
- "automatically be removed from the index, so re-indexing is not necessary. "
1149
- "You can enter many words at the same time, separate words with commas.</p>"
1150
- msgstr ""
1151
- "<p>Entrez un mot ici pour l'ajouter dans la liste des stopwords. Le mot sera "
1152
- "automatiquement retiré de l'index, de cette manière il est inutile de "
1153
- "réindexer. Si vous entrez plusieurs mots d'un coup, séparez les mots avec "
1154
- "une virgule.</p>"
1155
 
1156
  # @ relevanssi
1157
- #: lib/interface.php:1358
1158
- msgid "Stopword(s) to add: "
1159
- msgstr "Stopword(s) à ajouter: "
1160
 
1161
  # @ relevanssi
1162
- #: lib/interface.php:1359
1163
- msgid "Add"
1164
- msgstr "Ajouter"
1165
 
1166
  # @ relevanssi
1167
- #: lib/interface.php:1362
1168
- msgid ""
1169
- "<p>Here's a list of stopwords in the database. Click a word to remove it "
1170
- "from stopwords. Removing stopwords won't automatically return them to index, "
1171
- "so you need to re-index all posts after removing stopwords to get those "
1172
- "words back to index."
1173
- msgstr ""
1174
- "<p>Voici une liste des stopwords de la base de données. Cliquez sur un mot "
1175
- "pour le retirer des stopwords. Retirer de la liste des stopwords ne les "
1176
- "réinjectera pas automatiquement dans l'index aussi vous devez réindexer tous "
1177
- "les billet après retrait de stopwords pour les réinjecter dans l'index."
1178
 
1179
  # @ relevanssi
1180
- #: lib/interface.php:1388
1181
- msgid "Remove all stopwords"
1182
- msgstr "Retirer tous les stopwords"
1183
 
1184
  # @ relevanssi
1185
- #: lib/interface.php:1394
1186
- msgid ""
1187
- "Here's a list of stopwords you can use to export the stopwords to another "
1188
- "blog."
1189
- msgstr ""
1190
- "<p>Voici une liste des stopwords de la base de données. Cliquez sur un mot "
1191
- "pour le retirer des stopwords. Retirer de la liste des stopwords ne les "
1192
- "réinjectera pas automatiquement dans l'index aussi vous devez réindexer tous "
1193
- "les billet après retrait de stopwords pour les réinjecter dans l'index."
1194
 
1195
  # @ relevanssi
1196
- #: lib/uninstall.php:29
1197
- msgid "Data wiped clean, you can now delete the plugin."
1198
- msgstr "Données effacées, vous pouvez maintenant supprimer le plugin."
1199
 
1200
  # @ relevanssi
1201
- #: relevanssi.php:316
1202
- msgid "Tag weight:"
1203
- msgstr "Poids des mots-clef:"
1204
 
1205
  # @ relevanssi
1206
- #: relevanssi.php:331
1207
- msgid "Category weight:"
1208
- msgstr "Poids des catégories:"
1209
 
1210
  # @ relevanssi
1211
  #~ msgid "Caching"
2
  msgstr ""
3
  "Project-Id-Version: Relevanssi v1.4\n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2009-08-14 14:06+0200\n"
6
+ "PO-Revision-Date: 2015-05-09 15:43+0100\n"
7
  "Last-Translator: Li-An <lian00@gmail.com>\n"
8
  "Language-Team: \n"
9
  "Language: fr_FR\n"
15
  "X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;"
16
  "_n_noop:1,2;_c,_nc:4c,1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2\n"
17
  "X-Textdomain-Support: yes\n"
18
+ "X-Generator: Poedit 1.7.5\n"
19
  "X-Poedit-SearchPath-0: .\n"
20
 
21
  # @ default
22
+ #: relevanssi.php:703
23
  msgid "There is no excerpt because this is a protected post."
24
  msgstr "Il n'y a aucun extrait car ce billet est protégé."
25
 
26
  # @ relevanssi
27
+ #: relevanssi.php:994
28
  msgid "Indexing complete!"
29
  msgstr "Indexation complète !"
30
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
31
  # @ relevanssi
32
+ #: relevanssi.php:1183
33
  msgid "Relevanssi Search Options"
34
  msgstr "Options de recherche de Relevanssi"
35
 
36
+ #: relevanssi.php:1294
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
37
  #, php-format
38
  msgid ""
39
+ "<div id='message' class='update fade'><p>Term '%s' added to stopwords!</p></"
40
  "div>"
41
  msgstr ""
42
+ "<div id='message' class='update fade'><p>Terme '%s' ajouté aux stopwords!</"
43
  "p></div>"
44
 
45
+ #: relevanssi.php:1297
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
46
  #, php-format
47
  msgid ""
48
+ "<div id='message' class='update fade'><p>Couldn't add term '%s' to stopwords!"
49
+ "</p></div>"
50
  msgstr ""
51
+ "<div id='message' class='update fade'><p>Impossible d'ajouter le terme '%s' "
52
+ "aux stopwords!</p></div>"
53
 
54
  # @ relevanssi
55
+ #: relevanssi.php:1306
56
  msgid "25 most common words in the index"
57
  msgstr "Les 25 mots des plus fréquents de l'index"
58
 
59
  # @ relevanssi
60
+ #: relevanssi.php:1308
61
  msgid ""
62
  "These words are excellent stopword material. A word that appears in most of "
63
  "the posts in the database is quite pointless when searching. This is also an "
74
  "retiré de l'index aussi est-il inutile de reconstruire l'index."
75
 
76
  # @ relevanssi
77
+ #: relevanssi.php:1331
78
  msgid "Add to stopwords"
79
  msgstr "Ajouter aux stopwords."
80
 
81
+ #: relevanssi.php:1344
82
+ msgid "25 most popular queries"
83
+ msgstr "Les 25 requêtes les plus populaires"
84
 
85
+ #: relevanssi.php:1356
86
+ msgid "Recent queries that got 0 hits"
87
+ msgstr "Requêtes récentes qui ont eu zéro résultat"
88
 
89
+ #: relevanssi.php:1491
90
+ msgid "Title boost:"
91
+ msgstr "Poids du titre:"
92
 
93
+ #: relevanssi.php:1492
94
+ #, php-format
95
  msgid ""
96
+ "Default: %d. 0 means titles are ignored, 1 means no boost, more than 1 gives "
97
+ "extra value."
 
98
  msgstr ""
99
+ "Par défaut: %d. 0 signifie que les titres sont ignorés, 1 signifie aucun "
100
+ "poids, plus de 1 ajoute une plusvalue."
 
 
101
 
102
+ #: relevanssi.php:1493
103
+ msgid "Tag boost:"
104
+ msgstr "Poids des mots clef:"
 
105
 
106
+ #: relevanssi.php:1494
107
+ #, php-format
108
+ msgid ""
109
+ "Default: %d. 0 means tags are ignored, 1 means no boost, more than 1 gives "
110
+ "extra value."
111
+ msgstr ""
112
+ "Par défaut: %d. 0 signifie que les mots clef sont ignorés, 1 signifie aucun "
113
+ "poids, plus de 1 ajoute une plusvalue."
114
+
115
+ #: relevanssi.php:1495
116
+ msgid "Comment boost:"
117
+ msgstr "Poids des commentaires:"
118
+
119
+ #: relevanssi.php:1496
120
+ #, php-format
121
+ msgid ""
122
+ "Default: %d. 0 means comments are ignored, 1 means no boost, more than 1 "
123
+ "gives extra value."
124
+ msgstr ""
125
+ "Par défaut: %d. 0 signifie que les commentaires sont ignorés, 1 signifie "
126
+ "aucun poids, plus de 1 ajoute une plusvalue."
127
 
128
  # @ relevanssi
129
+ #: relevanssi.php:1497
130
+ msgid "Use search for admin:"
131
+ msgstr "Utiliser la recherche pour l'administration:"
132
 
133
  # @ relevanssi
134
+ #: relevanssi.php:1498
135
+ msgid "If checked, Relevanssi will be used for searches in the admin interface"
136
+ msgstr ""
137
+ "Si coché, Relevanssi sera utilisé pour les recherches dans l'interface "
138
+ "d'administration"
139
 
140
+ # @ relevanssi
141
+ #: relevanssi.php:1499
142
+ msgid "Restrict search to these categories and tags:"
143
+ msgstr "Restreindre la recherche à ces catégories et tags:"
144
 
145
+ #: relevanssi.php:1500
146
+ msgid ""
147
+ "Enter a comma-separated list of category and tag IDs to restrict search to "
148
+ "those categories or tags. You can also use <code>&lt;input type='hidden' "
149
+ "name='cat' value='list of cats and tags' /&gt;</code> in your search form. "
150
+ "The input field will overrun this setting."
151
  msgstr ""
152
+ "Entrez une liste d'IDs de catégories et de mots clef, séparés par une "
153
+ "virgule, pour restreindre la recherche à ces catégories ou mots clef. Vous "
154
+ "pouvez aussi utiliser <code>&lt;input type='hidden' name='cat' value='list "
155
+ "of cats and tags' /&gt;</code> dans votre formulaire de recherche. Ce champ "
156
+ "de saisie sera prioritaire sur le réglage."
157
 
158
+ #: relevanssi.php:1501
159
+ msgid "Exclude these categories and tags from search:"
160
+ msgstr "Exclure ces catégories et mots clef de la recherche:"
161
 
162
+ #: relevanssi.php:1502
163
+ msgid ""
164
+ "Enter a comma-separated list of category and tag IDs that are excluded from "
165
+ "search results. This only works here, you can't use the input field option "
166
+ "(WordPress doesn't pass custom parameters there)."
167
+ msgstr ""
168
+ "Entrez une liste d'IDs de catégories et mots clef, séparés par une virgule, "
169
+ "à exclure des résultats de recherche. Vous pouvez exclure des catégories "
170
+ "avec le champ d'entrée 'cat' en utilisant des valeurs négatives."
171
 
172
  # @ relevanssi
173
+ #: relevanssi.php:1505
174
+ msgid "Exclude these posts/pages from search:"
175
+ msgstr "Exclure ces billets/pages de la recherche:"
 
 
 
 
 
 
 
 
176
 
177
  # @ relevanssi
178
+ #: relevanssi.php:1506
179
+ msgid ""
180
+ "Enter a comma-separated list of post/page IDs that are excluded from search "
181
+ "results. This only works here, you can't use the input field option "
182
+ "(WordPress doesn't pass custom parameters there)."
183
+ msgstr ""
184
+ "Entrez une liste d'ID de billets et de pages à exclure des résultats de "
185
+ "recherche. Cela ne fonctionne qu'ici, vous ne pouvez pas utiliser l'option "
186
+ "de champ d'insertion (Wordpress ne gèrera pas les paramètres personnalisés "
187
+ "dans ce cas). "
188
 
189
+ #: relevanssi.php:1507
190
+ msgid "Index and search your posts' tags:"
191
+ msgstr "Indexer et rechercher dans vos mots clef de billet:"
192
+
193
+ #: relevanssi.php:1508
194
+ msgid ""
195
+ "If checked, Relevanssi will also index and search the tags of your posts. "
196
+ "Remember to rebuild the index if you change this option!"
197
+ msgstr ""
198
+ "Si coché, Relevanssi indexera et recherchera aussi dans les mots clef de vos "
199
+ "billets. N'oubliez pas de reconstruire l'index si vous changez cette option !"
200
 
201
  # @ relevanssi
202
+ #: relevanssi.php:1509
203
+ msgid "Index and search these comments:"
204
+ msgstr "Indexer et rechercher ces commentaires:"
205
 
206
  # @ relevanssi
207
+ #: relevanssi.php:1510
208
+ msgid ""
209
+ "Relevanssi will index and search ALL (all comments including track- &amp; "
210
+ "pingbacks and custom comment types), NONE (no comments) or NORMAL (manually "
211
+ "posted comments on your blog).<br />Remember to rebuild the index if you "
212
+ "change this option!"
213
+ msgstr ""
214
+ "Relevanssi indexera et cherchera dans TOUT (tous les commentaires incluant "
215
+ "track- &amp; pingbacks et types de commentaires personnalisés), AUCUN (aucun "
216
+ "commentaire) ou NORMAL (commentaires postés manuellement sur votre blog)."
217
+ "<br />N'oubliez pas de reconstruire l'index si vous modifiez cette option !"
218
 
219
  # @ relevanssi
220
+ #: relevanssi.php:1511
221
+ msgid "all"
222
+ msgstr "tout"
223
 
224
  # @ relevanssi
225
+ #: relevanssi.php:1512
226
+ msgid "normal"
227
+ msgstr "normal"
228
 
229
  # @ relevanssi
230
+ #: relevanssi.php:1513
231
+ msgid "none"
232
+ msgstr "aucun"
233
 
234
  # @ relevanssi
235
+ #: relevanssi.php:1516
236
+ msgid "Create custom search result snippets:"
237
+ msgstr "Créer des snippets personalisés de résultats de recherche:"
238
 
239
  # @ relevanssi
240
+ #: relevanssi.php:1517
241
+ msgid ""
242
+ "If checked, Relevanssi will create excerpts that contain the search term "
243
+ "hits. To make them work, make sure your search result template uses "
244
+ "the_excerpt() to display post excerpts."
245
+ msgstr ""
246
+ "Si coché, Relevanssi créera des extraits qui contiennent les résultats de la "
247
+ "recherche de terme. Pour que cela fonctionne, vérifiez bien que le fichier "
248
+ "de thème de résultat de recherche utilise the_excerpt() pour afficher les "
249
+ "extraits de billet."
250
 
251
+ # @ relevanssi
252
+ #: relevanssi.php:1518
253
+ msgid "Length of the snippet:"
254
+ msgstr "Longueur du snippet:"
255
 
256
+ # @ relevanssi
257
+ #: relevanssi.php:1519
258
+ msgid "This must be an integer."
259
+ msgstr "Ceci doit être un nombre entier."
260
 
261
  # @ relevanssi
262
+ #: relevanssi.php:1520
263
+ msgid "words"
264
+ msgstr "mots"
265
 
266
  # @ relevanssi
267
+ #: relevanssi.php:1521
268
+ msgid "characters"
269
+ msgstr "lettres"
270
 
271
  # @ relevanssi
272
+ #: relevanssi.php:1522
273
+ msgid "Keep a log of user queries:"
274
+ msgstr "Conserver une liste des recherches des visiteurs:"
275
+
276
+ #: relevanssi.php:1523
277
+ msgid "If checked, Relevanssi will log user queries."
278
+ msgstr ""
279
+ "Si coché, Relevanssi conservera dans les stats les requêtes d'utilisateur"
280
 
281
  # @ relevanssi
282
+ #: relevanssi.php:1524
283
+ msgid "Highlight query terms in search results:"
284
+ msgstr ""
285
+ "Mettre en surbrillance les termes de recherche dans les résultats de "
286
+ "recherche:"
287
 
288
  # @ relevanssi
289
+ #: relevanssi.php:1525
290
+ msgid "Highlighting isn't available unless you use custom snippets"
291
+ msgstr ""
292
+ "La mise en surbrillance n'est pas disponible tant que vous n'avez pas activé "
293
+ "l'utilisation de snippets personnalisés."
294
 
295
  # @ relevanssi
296
+ #: relevanssi.php:1526
297
+ msgid "Highlight query terms in result titles too:"
298
+ msgstr "Mettre en surbrillance les mots recherchés dans le titre également:"
299
+
300
+ #: relevanssi.php:1529
301
+ msgid "Save"
302
+ msgstr "Sauvegarder"
303
+
304
+ #: relevanssi.php:1530
305
+ msgid "Building the index and indexing options"
306
+ msgstr "Construction de l'index et indexation des options"
307
 
308
+ #: relevanssi.php:1531
309
  msgid ""
310
+ "After installing the plugin, you need to build the index. This generally "
311
+ "needs to be done once, you don't have to re-index unless something goes "
312
+ "wrong. Indexing is a heavy task and might take more time than your servers "
313
+ "allow. If the indexing cannot be finished - for example you get a blank "
314
+ "screen or something like that after indexing - you can continue indexing "
315
+ "from where you left by clicking 'Continue indexing'. Clicking 'Build the "
316
+ "index' will delete the old index, so you can't use that."
317
  msgstr ""
318
+ "Après avoir installé le plugin, vous devez construire l'index. En général, "
319
+ "vous n'avez à le faire qu'une fois, vous n'avez pas besoin de réindexer à "
320
+ "moins que quelque chose ne fonctionne pas comme prévu. Indexer est une "
321
+ "tâcher gourmande et peut demander plus de temps que celui autorisé par vos "
322
+ "serveurs. Si l'indexation n'a pas pu se terminer - par exemple vous obtenez "
323
+ "un écran blanc ou quelque chose du genre après indexation - vous pouvez "
324
+ "continuez l'indexation au point où vous en étiez en cliquant 'Continuer "
325
+ "l'indexation'. Cliquer sur 'Construire l'index' suprimera le vieil index "
326
+ "aussi vous ne pouvez pas l'utiliser."
327
+
328
+ #: relevanssi.php:1532
329
  msgid ""
330
+ "So, if you build the index and don't get the 'Indexing complete' in the end, "
331
+ "keep on clicking the 'Continue indexing' button until you do. On my blogs, I "
332
+ "was able to index ~400 pages on one go, but had to continue indexing twice "
333
+ "to index ~950 pages."
 
 
334
  msgstr ""
335
+ "Ainsi, si vous construisez l'index et n'obtenez pas le message 'indexation "
336
+ "complète', continuez de cliquer sur 'Continuer l'indexation' jusqu'à "
337
+ "l'apparition du message. Sur mes blogs, j'ai réussi à indexer à peu près 400 "
338
+ "pages en une passe mais j'ai continuer à indexer deux fois pour indexer à "
339
+ "peu près 950 pages."
340
+
341
+ #: relevanssi.php:1533
342
+ msgid "Save indexing options and build the index"
343
+ msgstr "Sauvegarder les options d'indexation et construire l'index"
344
 
345
  # @ relevanssi
346
+ #: relevanssi.php:1534
347
+ msgid "Continue indexing"
348
+ msgstr "Continuer l'indexation"
349
 
350
  # @ relevanssi
351
+ #: relevanssi.php:1535
352
+ msgid "No highlighting"
353
+ msgstr "Pas de mise en surbrillance"
354
 
355
  # @ relevanssi
356
+ #: relevanssi.php:1536
357
+ msgid "Text color"
358
+ msgstr "Couleur du texte"
359
 
360
  # @ relevanssi
361
+ #: relevanssi.php:1537
362
+ msgid "Background color"
363
+ msgstr "Couleur du fond"
364
 
365
  # @ relevanssi
366
+ #: relevanssi.php:1538
367
+ msgid "CSS Style"
368
+ msgstr "Style CSS"
369
 
370
  # @ relevanssi
371
+ #: relevanssi.php:1539
372
+ msgid "CSS Class"
373
+ msgstr "Classe CSS"
 
 
374
 
375
  # @ relevanssi
376
+ #: relevanssi.php:1541
377
+ msgid "Text color for highlights:"
378
+ msgstr "Couleur du texte pour la surbrillance:"
379
 
380
  # @ relevanssi
381
+ #: relevanssi.php:1542
382
+ msgid "Background color for highlights:"
383
+ msgstr "Couleur du fond pour la surbrillance:"
384
+
385
+ # @ relevanssi
386
+ #: relevanssi.php:1543
387
+ msgid "CSS style for highlights:"
388
+ msgstr "Style CSS pour la surbrillance:"
389
+
390
+ # @ relevanssi
391
+ #: relevanssi.php:1544
392
+ msgid "CSS class for highlights:"
393
+ msgstr "Classe CSS pour la surbrillance:"
394
 
395
  # @ relevanssi
396
+ #: relevanssi.php:1546 relevanssi.php:1547
397
+ msgid "Use HTML color codes (#rgb or #rrggbb)"
398
+ msgstr "Utiliser les codes de couleurs HTML (#rgb ou #rrggbb)"
399
 
400
  # @ relevanssi
401
+ #: relevanssi.php:1548
402
  msgid ""
403
+ "You can use any CSS styling here, style will be inserted with a &lt;span&gt;"
 
404
  msgstr ""
405
+ "Vous pouvez utiliser tout habillage CSS ici. Le style sera inséré avec un "
406
+ "&lt;span&gt;"
407
 
408
  # @ relevanssi
409
+ #: relevanssi.php:1549
410
+ msgid ""
411
+ "Name a class here, search results will be wrapped in a &lt;span&gt; with the "
412
+ "class"
413
+ msgstr ""
414
+ "Nommez une classe ici. Les résultats seront encadrés dans un &lt;span&gt; "
415
+ "avec cette classe"
416
+
417
+ #: relevanssi.php:1551
418
+ msgid "What to include in the index"
419
+ msgstr "Quoi inclure dans l'index"
420
+
421
+ #: relevanssi.php:1552
422
+ msgid "Everything"
423
+ msgstr "Tout"
424
+
425
+ #: relevanssi.php:1553
426
+ msgid "Just posts"
427
+ msgstr "Juste les billets"
428
+
429
+ #: relevanssi.php:1554
430
+ msgid "Just pages"
431
+ msgstr "Juste les pages"
432
 
433
  # @ relevanssi
434
+ #: relevanssi.php:1556
435
+ msgid "Custom fields to index:"
436
+ msgstr "Champs personnalisés à indexer:"
437
+
438
+ #: relevanssi.php:1557
439
+ msgid "A comma-separated list of custom field names to include in the index."
440
  msgstr ""
441
+ "Une liste séparée de noms de champs personnalisés séparés par une virgule à "
442
+ "inclure dans l'index."
 
443
 
444
  # @ relevanssi
445
+ #: relevanssi.php:1559
446
+ msgid "Show breakdown of search hits in excerpts:"
447
+ msgstr "Montrer la répartition des résultats de recherche dans les extraits:"
448
 
449
  # @ relevanssi
450
+ #: relevanssi.php:1560
451
+ msgid ""
452
+ "Check this to show more information on where the search hits were made. "
453
+ "Requires custom snippets to work."
454
+ msgstr ""
455
+ "Cochez ceci pour afficher plus d'informations sur la répartition des "
456
+ "résultats de recherche. Nécessite l'activation des snippets personnalisés "
457
+ "pour fonctionner."
458
 
459
  # @ relevanssi
460
+ #: relevanssi.php:1561
461
+ msgid "The breakdown format:"
462
+ msgstr "Mise en forme des répartitions:"
463
 
464
+ #: relevanssi.php:1562
465
  msgid ""
466
+ "Use %body%, %title%, %tags%, %comments% and %score% to display the number of "
467
+ "hits and the document weight."
468
  msgstr ""
469
+ "Utilisez %body%, %title%, %tags% et %comments% et %score% pour afficher le "
470
+ "nombre de résultats trouvés et l poids du document."
471
 
472
  # @ relevanssi
473
+ #: relevanssi.php:1564
474
  msgid "When to use fuzzy matching?"
475
  msgstr "Quand utiliser la correspondance approximative ?"
476
 
477
  # @ relevanssi
478
+ #: relevanssi.php:1565
479
  msgid "When straight search gets no hits"
480
  msgstr "Quand la recherche directe ne donne pas de résultat"
481
 
482
  # @ relevanssi
483
+ #: relevanssi.php:1566
484
  msgid "Always"
485
  msgstr "Toujours"
486
 
487
  # @ relevanssi
488
+ #: relevanssi.php:1567
489
  msgid "Don't use fuzzy search"
490
  msgstr "Ne pas utiliser l'approximation"
491
 
492
  # @ relevanssi
493
+ #: relevanssi.php:1568
494
  msgid ""
495
  "Straight search matches just the term. Fuzzy search matches everything that "
496
  "begins or ends with the search term."
498
  "La recherche pure prend en compte juste le terme. La recherche approximative "
499
  "prend en compte tout ce qui commence ou finit par le terme recherché."
500
 
501
+ # @ default
502
+ #~ msgid ""
503
+ #~ "You do not have an index! Remember to build the index (click the \"Build "
504
+ #~ "the index\" button), otherwise searching won't work."
505
+ #~ msgstr ""
506
+ #~ "Vous n'avez pas d'index! N'oubliez pas de construire l'index (cliquez sur "
507
+ #~ "le bouton \"Construire l'index\" sinon la recherche ne fonctionnera pas."
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
508
 
509
  # @ relevanssi
510
+ #~ msgid "User searches"
511
+ #~ msgstr "Recherches par les utilisateurs"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
512
 
513
+ # @ relevanssi
514
+ #~ msgid "Relevanssi Premium Search Options"
515
+ #~ msgstr "Options de recherche de Relevanssi Premium"
 
 
 
 
516
 
517
  # @ relevanssi
518
+ #~ msgid "User Searches"
519
+ #~ msgstr "Recherches par les utilisateurs"
 
520
 
521
  # @ relevanssi
522
+ #~ msgid "Relevanssi User Searches"
523
+ #~ msgstr "Recherches Relevanssi par les utilisateurs"
 
524
 
525
  # @ relevanssi
526
+ #~ msgid ""
527
+ #~ "<div id='message' class='updated fade'><p>Successfully added %d/%d terms "
528
+ #~ "to stopwords!</p></div>"
529
+ #~ msgstr ""
530
+ #~ "<div id='message' class='updated fade'><p>Ajout réussi de %d/%d termes "
531
+ #~ "aux stopwords!</p></div>"
532
 
533
  # @ relevanssi
534
+ #~ msgid ""
535
+ #~ "<div id='message' class='updated fade'><p>Term '%s' added to stopwords!</"
536
+ #~ "p></div>"
537
+ #~ msgstr ""
538
+ #~ "<div id='message' class='updated fade'><p>Terme '%s' ajouté aux stopwords!"
539
+ #~ "</p></div>"
540
 
541
  # @ relevanssi
542
+ #~ msgid ""
543
+ #~ "<div id='message' class='updated fade'><p>Couldn't add term '%s' to "
544
+ #~ "stopwords!</p></div>"
545
+ #~ msgstr ""
546
+ #~ "<div id='message' class='updated fade'><p>Impossible d'ajouter '%s' aux "
547
+ #~ "stopwords!</p></div>"
548
 
549
  # @ relevanssi
550
+ #~ msgid ""
551
+ #~ "<div id='message' class='updated fade'><p>Stopwords removed! Remember to "
552
+ #~ "re-index.</p></div>"
553
+ #~ msgstr ""
554
+ #~ "<div id='message' class='updated fade'><p>Stopwords retirés ! N'oubliez "
555
+ #~ "pas de réindexer.</p></div>"
 
 
 
556
 
557
  # @ relevanssi
558
+ #~ msgid ""
559
+ #~ "<div id='message' class='updated fade'><p>Term '%s' removed from "
560
+ #~ "stopwords! Re-index to get it back to index.</p></div>"
561
+ #~ msgstr ""
562
+ #~ "<div id='message' class='updated fade'><p>Terme '%s' retiré des "
563
+ #~ "stopwords! Réindexer pour le récupérer dans l'index.</p></div>"
564
 
565
  # @ relevanssi
566
+ #~ msgid ""
567
+ #~ "<div id='message' class='updated fade'><p>Couldn't remove term '%s' from "
568
+ #~ "stopwords!</p></div>"
569
+ #~ msgstr ""
570
+ #~ "<div id='message' class='updated fade'><p>Impossible de retirer '%s' des "
571
+ #~ "stopwords !</p></div>"
 
 
572
 
573
+ #~ msgid "Total Searches"
574
+ #~ msgstr "Nombre de recherches total"
575
+
576
+ #~ msgid "Totals"
577
+ #~ msgstr "Totaux"
578
+
579
+ #~ msgid "Common Queries"
580
+ #~ msgstr "Requêtes en commun"
581
 
582
  # @ relevanssi
583
+ #~ msgid ""
584
+ #~ "Here you can see the 20 most common user search queries, how many times "
585
+ #~ "those \n"
586
+ #~ "\t\tqueries were made and how many results were found for those queries."
587
+ #~ msgstr ""
588
+ #~ "Vous pouvez voir ici les 20 requêtes les plus courantes, combien de fois "
589
+ #~ "ces \n"
590
+ #~ "\\\\\t\\\\\trequêtes ont été faites et combien de résultats ont été "
591
+ #~ "trouvés pour ces requêtes."
592
 
593
  # @ relevanssi
594
+ #~ msgid "Today and yesterday"
595
+ #~ msgstr "Aujourd'hui et hier"
 
596
 
597
  # @ relevanssi
598
+ #~ msgid "Last 7 days"
599
+ #~ msgstr "Sept derniers jours"
 
 
 
 
 
600
 
601
  # @ relevanssi
602
+ #~ msgid "Last 30 days"
603
+ #~ msgstr "Trente derniers jours"
 
 
 
 
 
 
604
 
605
  # @ relevanssi
606
+ #~ msgid "Unsuccessful Queries"
607
+ #~ msgstr "Requêtes sans résultat"
608
+
609
+ #~ msgid "Reset Logs"
610
+ #~ msgstr "Remettre à zéro les logs"
611
+
612
+ #~ msgid "To reset the logs, type \"reset\" into the box here %s and click %s"
613
+ #~ msgstr ""
614
+ #~ "Pour remettre à zéro les logs, tapez \"reset\" dans le champ ici %s et "
615
+ #~ "cliquez %s"
616
+
617
+ #~ msgid "Forever"
618
+ #~ msgstr "Pour toujours"
619
+
620
+ #~ msgid "When"
621
+ #~ msgstr "Quand"
622
 
623
  # @ relevanssi
624
+ #~ msgid "Searches"
625
+ #~ msgstr "Recherches"
626
+
627
+ #~ msgid "Query"
628
+ #~ msgstr "Requête"
629
+
630
+ #~ msgid "Hits"
631
+ #~ msgstr "Hits"
632
 
633
  # @ relevanssi
634
+ #~ msgid "Basic options"
635
+ #~ msgstr "Options basiques"
636
+
637
+ #~ msgid "Weights"
638
+ #~ msgstr "Poids"
 
 
 
 
 
 
 
639
 
640
  # @ relevanssi
641
+ #~ msgid "Logs"
642
+ #~ msgstr "Logs"
 
643
 
644
  # @ relevanssi
645
+ #~ msgid "Exclusions and restrictions"
646
+ #~ msgstr "Exclusions et restrictions"
 
 
 
 
647
 
648
  # @ relevanssi
649
+ #~ msgid "Custom excerpts"
650
+ #~ msgstr "Extraits personnalisés"
 
651
 
652
  # @ relevanssi
653
+ #~ msgid "Highlighting search results"
654
+ #~ msgstr "Mise en évidence des résultats de recherche"
 
 
 
 
655
 
656
  # @ relevanssi
657
+ #~ msgid "Indexing options"
658
+ #~ msgstr "Options d'indexation"
 
659
 
660
  # @ relevanssi
661
+ #~ msgid "Synonyms"
662
+ #~ msgstr "Synonymes"
 
 
 
 
 
 
 
 
 
 
663
 
664
  # @ relevanssi
665
+ #~ msgid "Stopwords"
666
+ #~ msgstr "Stopwords"
667
+
668
+ #~ msgid "Import/export options"
669
+ #~ msgstr "Import/export des options"
670
+
671
+ #~ msgid "Buy Relevanssi Premium"
672
+ #~ msgstr "Achetez Relevanssi Premium"
 
 
673
 
674
  # @ relevanssi
675
+ #~ msgid "Quick tools"
676
+ #~ msgstr "Outils rapides"
 
677
 
678
  # @ relevanssi
679
+ #~ msgid "Save options"
680
+ #~ msgstr "Sauvegarder les options"
 
 
 
 
 
 
 
681
 
682
  # @ relevanssi
683
+ #~ msgid "Build the index"
684
+ #~ msgstr "Construire l'index"
 
685
 
686
  # @ relevanssi
687
+ #~ msgid "add"
688
+ #~ msgstr "ajouter"
 
689
 
690
  # @ relevanssi
691
+ #~ msgid "documents."
692
+ #~ msgstr "documents."
 
 
 
 
 
 
 
 
693
 
694
+ #~ msgid ""
695
+ #~ "WARNING: You've chosen no post types to index. Nothing will be indexed. "
696
+ #~ "<a href='#indexing'>Choose some post types to index</a>."
697
+ #~ msgstr ""
698
+ #~ "ATTENTION: vous n'avez choisi aucun type de billet à indexer. Rien ne "
699
+ #~ "sera indexé.<a href='#indexing'>Choisissez les types de billet à indexer</"
700
+ #~ "a>."
701
 
702
  # @ relevanssi
703
+ #~ msgid ""
704
+ #~ "Use 'Build the index' to build the index with current <a "
705
+ #~ "href='#indexing'>indexing options</a>. If you can't finish indexing with "
706
+ #~ "one go, use 'Continue indexing' to finish the job. You can change the "
707
+ #~ "number of documents to add until you find the largest amount you can add "
708
+ #~ "with one go. See 'State of the Index' below to find out how many "
709
+ #~ "documents actually go into the index."
710
+ #~ msgstr ""
711
+ #~ "Utiliser 'Construire l'index' pour construire l'index avec les <a "
712
+ #~ "href='#indexing'>options actuelles</a> d'indexation. Si vous ne pouvez "
713
+ #~ "pas terminer l'indexation en une passe, utilisez 'Continuer l'indexation' "
714
+ #~ "pour finir le travail. Vous pouvez modifier le nombre de documents à "
715
+ #~ "ajouter jusqu'à ce que vous trouviez le maximum que vous pouvez ajouter "
716
+ #~ "en une passe. Regardez 'État de l'indexation' ci-dessous pour déterminer "
717
+ #~ "le nombre de documents actuellement pris en compte dans l'indexation."
718
 
719
  # @ relevanssi
720
+ #~ msgid "State of the Index"
721
+ #~ msgstr "État de l'index"
 
722
 
723
  # @ relevanssi
724
+ #~ msgid "Documents in the index"
725
+ #~ msgstr "Documents dans l'index"
 
726
 
727
  # @ relevanssi
728
+ #~ msgid "Terms in the index"
729
+ #~ msgstr "Termes dans l'index"
 
730
 
731
+ # @ relevanssi
732
+ #~ msgid "Highest post ID indexed"
733
+ #~ msgstr "ID de billet le plus élevé indexé"
734
 
735
+ # @ relevanssi
736
+ #~ msgid "Default operator for the search?"
737
+ #~ msgstr "Opérateur logique par défaut pour la recherche ?"
 
 
 
 
738
 
739
  # @ relevanssi
740
+ #~ msgid "AND - require all terms"
741
+ #~ msgstr "ET - nécessite tous les termes"
 
742
 
743
  # @ relevanssi
744
+ #~ msgid "OR - any term present is enough"
745
+ #~ msgstr "OU - n'importe lequel des termes présents est suffisant"
 
 
 
 
 
 
746
 
747
  # @ relevanssi
748
+ #~ msgid ""
749
+ #~ "If you choose AND and the search finds no matches, it will automatically "
750
+ #~ "do an OR search."
751
+ #~ msgstr ""
752
+ #~ "Si vous choisissez ET et la recherche ne trouve rien, une recherche OU "
753
+ #~ "sera lancée automatiquement."
754
 
755
  # @ relevanssi
756
+ #~ msgid "Disable OR fallback:"
757
+ #~ msgstr "Désactiver le passage à OU:"
 
 
 
 
 
 
 
 
 
 
758
 
759
  # @ relevanssi
760
+ #~ msgid ""
761
+ #~ "If you don't want Relevanssi to fall back to OR search when AND search "
762
+ #~ "gets no hits, check this option. For most cases, leave this one unchecked."
763
+ #~ msgstr ""
764
+ #~ "Si vous ne désirez pas que Relevanssi ne se rabatte pas sur une recherche "
765
+ #~ "OU quand la recherche ET ne donne aucun résultat, cochez cette option. "
766
+ #~ "Dans la plupart des cas, laissez la décochée."
767
 
768
  # @ relevanssi
769
+ #~ msgid "Default order for results:"
770
+ #~ msgstr "Ordre par défaut pour les résultats:"
 
771
 
772
  # @ relevanssi
773
+ #~ msgid "Relevance (highly recommended)"
774
+ #~ msgstr "Pertinence (hautement recommandé)"
 
 
 
775
 
776
  # @ relevanssi
777
+ #~ msgid "Post date"
778
+ #~ msgstr "Date de billet"
779
+
780
+ #~ msgid ""
781
+ #~ "If you want date-based results, see the recent post bonus in the Weights "
782
+ #~ "section."
783
+ #~ msgstr ""
784
+ #~ "Si vous désirez des résultats chronologiques, veuillez consulter le "
785
+ #~ "nouveau bonus pour billet dans la section Poids."
786
 
787
  # @ relevanssi
788
+ #~ msgid "Limit searches:"
789
+ #~ msgstr "Limiter les recherches:"
790
+
791
+ #~ msgid ""
792
+ #~ "If this option is checked, Relevanssi will limit search results to at "
793
+ #~ "most 500 results per term. This will improve performance, but may cause "
794
+ #~ "some relevant documents to go unfound. However, Relevanssi tries to "
795
+ #~ "prioritize the most relevant documents. <strong>This does not work well "
796
+ #~ "when sorting results by date.</strong> The throttle can end up cutting "
797
+ #~ "off recent posts to favour more relevant posts."
798
+ #~ msgstr ""
799
+ #~ "Si cette option est cochée, Relevanssi limitera les résultats de "
800
+ #~ "recherche à 500 résultats par terme. Ceci améliorera les performances "
801
+ #~ "mais peut faire en forte que certains documents pertinents ne soient pas "
802
+ #~ "trouvés. Quoiqu'il en soit, Relevanssi essaie de classer par priorité les "
803
+ #~ "documents les plus pertinents. <strong>Ceci ne fonctionne pas bien en "
804
+ #~ "classant les résultats par date.</strong> Le tri peut être amené à mettre "
805
+ #~ "de côté des billets récents pour favoriser des billets plus pertinents."
806
+
807
+ #~ msgid "Limit:"
808
+ #~ msgstr "Limite:"
809
+
810
+ #~ msgid ""
811
+ #~ "For better performance, adjust the limit to a smaller number. Adjusting "
812
+ #~ "the limit to 100 or 200 should be safe for good results, and might bring "
813
+ #~ "a boost in search speed. DO NOT use this feature to limit the number of "
814
+ #~ "search results on search results pages, as that will lead to problems. "
815
+ #~ "For adjusting the number of search results displayed, see <a "
816
+ #~ "href='%s'>this knowledge base entry</a>."
817
+ #~ msgstr ""
818
+ #~ "Pour de meilleures performances, ajustez la limite à un nombre plus "
819
+ #~ "petit. Ajuster la limite à 100 ou 200 devrait être sans danger pour de "
820
+ #~ "bons résultats et pourrait apporter un boost dans la vitesse de "
821
+ #~ "recherche. NE PAS utiliser cette fonction pour limiter le nombre de "
822
+ #~ "résultats de recherche sur les pages de résultat, ce qui pourrait "
823
+ #~ "conduire à des problèmes. Pour ajuster le nombre de résultats de "
824
+ #~ "recherche affichés, veuillez lire <a href='%s'>cette entrée de la base de "
825
+ #~ "connaissance</a>."
826
 
827
  # @ relevanssi
828
+ #~ msgid ""
829
+ #~ "These values affect the weights of the documents. These are all "
830
+ #~ "multipliers, so 1 means no change in weight, less than 1 means less "
831
+ #~ "weight, and more than 1 means more weight. Setting something to zero "
832
+ #~ "makes that worthless. For example, if title weight is more than 1, words "
833
+ #~ "in titles are more significant than words elsewhere. If title weight is "
834
+ #~ "0, words in titles won't make any difference to the search results."
835
+ #~ msgstr ""
836
+ #~ "Ces valeurs affectent le poids des documents. Ce sont tous des "
837
+ #~ "multiplicateurs, ainsi 1 signifie aucune modification du poids, moins de "
838
+ #~ "1 signifie moins de poids et plus de 1 signifie plus de poids. Un réglage "
839
+ #~ "proche de zéro correspond à une partie négligeable. Par exemple, si le "
840
+ #~ "poids du titre vaut plus que 1, les mots dans le titre sont plus "
841
+ #~ "significatifs que les mêmes mots partout ailleurs. Si le poids du titre "
842
+ #~ "vaut 0, les mots dans le titre n'affecteront pas les résultats de "
843
+ #~ "recherche."
844
+
845
+ #~ msgid "Element"
846
+ #~ msgstr "Élément"
847
+
848
+ #~ msgid "Weight"
849
+ #~ msgstr "Poids"
850
 
851
  # @ relevanssi
852
+ #~ msgid "Default weight"
853
+ #~ msgstr "Poids par défaut"
 
854
 
855
  # @ relevanssi
856
+ #~ msgid "Post titles"
857
+ #~ msgstr "Titres de billet"
 
858
 
859
  # @ relevanssi
860
+ #~ msgid "Comment text"
861
+ #~ msgstr "Text de commentaire"
 
 
 
862
 
863
  # @ relevanssi
864
+ #~ msgid "WPML/Polylang compatibility"
865
+ #~ msgstr "Compatibilité WPML/Polylang"
 
866
 
867
  # @ relevanssi
868
+ #~ msgid "Limit results to current language:"
869
+ #~ msgstr "Limiter les résultats au langage suivant:"
 
 
 
870
 
871
  # @ relevanssi
872
+ #~ msgid ""
873
+ #~ "If this option is checked, Relevanssi will only return results in the "
874
+ #~ "current active language. Otherwise results will include posts in every "
875
+ #~ "language."
876
+ #~ msgstr ""
877
+ #~ "Si cette option est cochée, Relevanssi retournera uniquement les "
878
+ #~ "résultats dans le langage actuellement activé. Sinon, les résultats "
879
+ #~ "inclueront les billets dans tous les langages."
880
 
881
  # @ relevanssi
882
+ #~ msgid ""
883
+ #~ "If checked, Relevanssi will log user queries. The log appears in 'User "
884
+ #~ "searches' on the Dashboard admin menu."
885
+ #~ msgstr ""
886
+ #~ "Si coché, Relevanssi conservera dans les stats les requêtes "
887
+ #~ "d'utilisateur. Les stats apparaissent dans 'Recherches d'utilisateur' "
888
+ #~ "dans le menu du tableau de bord de l'administration."
889
+
890
+ #~ msgid "Log the user's IP with the queries:"
891
+ #~ msgstr "Enregistrer l'adresse IP de l'utilisateur avec ses requêtes:"
892
 
893
  # @ relevanssi
894
+ #~ msgid "If checked, Relevanssi will log user's IP-Adress with the queries."
895
+ #~ msgstr ""
896
+ #~ "Si coché, Relevanssi enregistrera les adresses IP des utilisateurs avec "
897
+ #~ "leurs requêtes."
 
 
898
 
899
  # @ relevanssi
900
+ #~ msgid "Don't log queries from these users:"
901
+ #~ msgstr "Ne conservez pas les statistiques de recherche de ces utilisateurs:"
 
902
 
903
  # @ relevanssi
904
+ #~ msgid ""
905
+ #~ "Comma-separated list of numeric user IDs or user login names that will "
906
+ #~ "not be logged."
907
+ #~ msgstr ""
908
+ #~ "Liste d'ID d'utilisateurs ou de noms de login séparés par une virgule qui "
909
+ #~ "ne seront pas pris en compte."
910
+
911
+ # @ relevanssi
912
+ #~ msgid ""
913
+ #~ "If you enable logs, you can see what your users are searching for. You "
914
+ #~ "can prevent your own searches from getting in the logs with the omit "
915
+ #~ "feature."
916
+ #~ msgstr ""
917
+ #~ "Si vous activez les logs, vous pouvez voir ce que les utilisateurs "
918
+ #~ "recherchent. Vous pouvez exclure vos propres recherches des logs avec le "
919
+ #~ "réglage d'exemption."
920
 
921
  # @ relevanssi
922
+ #~ msgid ""
923
+ #~ "If you enable logs, you can see what your users are searching for. Logs "
924
+ #~ "are also needed to use the 'Did you mean?' feature. You can prevent your "
925
+ #~ "own searches from getting in the logs with the omit feature."
926
+ #~ msgstr ""
927
+ #~ "Si vous activez les logs, vous pouvez voir ce que les utilisateurs "
928
+ #~ "recherchent. Les logs sont aussi utilisés pour la fonction 'Vous vouliez "
929
+ #~ "dire ?'. Vous pouvez empêcher vos propres recherches d'être enregistrées "
930
+ #~ "avec la fonction d'exception."
931
 
932
  # @ relevanssi
933
+ #~ msgid ""
934
+ #~ "Enter a comma-separated list of category and tag IDs to restrict search "
935
+ #~ "to those categories or tags. You can also use <code>&lt;input "
936
+ #~ "type='hidden' name='cats' value='list of cats and tags' /&gt;</code> in "
937
+ #~ "your search form. The input field will \toverrun this setting."
938
+ #~ msgstr ""
939
+ #~ "Entrez une liste d'ID de catégories et de mots-clefs pour restreindre la "
940
+ #~ "recherche à ces catégories et mots-clef. Vous pouvez aussi utiliser "
941
+ #~ "<code>&lt;input type='hidden' name='cats' value='list of cats and tags' /"
942
+ #~ "&gt;</code> dans votre formulaire de recherche. Le champ inséré sera "
943
+ #~ "prioritaire sur ce réglage."
944
 
945
  # @ relevanssi
946
+ #~ msgid "Exclude these categories from search:"
947
+ #~ msgstr "Exclure ces catégories de la recherche:"
 
948
 
949
  # @ relevanssi
950
+ #~ msgid ""
951
+ #~ "Enter a comma-separated list of category IDs that are excluded from "
952
+ #~ "search results."
953
+ #~ msgstr ""
954
+ #~ "Entrez une liste d'ID de catégories à exclure des résultats de recherche."
955
 
956
  # @ relevanssi
957
+ #~ msgid "Exclude these tags from search:"
958
+ #~ msgstr "Exclure ces mots-clef de la recherche:"
 
959
 
960
  # @ relevanssi
961
+ #~ msgid ""
962
+ #~ "Enter a comma-separated list of tag IDs that are excluded from search "
963
+ #~ "results."
964
+ #~ msgstr ""
965
+ #~ "Entrez une liste d'ID de mots-clef à exclure des résultats de recherche."
 
966
 
967
  # @ relevanssi
968
+ #~ msgid ""
969
+ #~ "Enter a comma-separated list of post/page IDs that are excluded from "
970
+ #~ "search results. This only works here, you can't use the input field "
971
+ #~ "option (WordPress doesn't pass custom parameters there). You can also use "
972
+ #~ "a checkbox on post/page edit pages to remove posts from index."
973
+ #~ msgstr ""
974
+ #~ "Entrez une liste d'ID de billets et de pages à exclure des résultats de "
975
+ #~ "recherche. Cela ne fonctionne qu'ici, vous ne pouvez pas utiliser "
976
+ #~ "l'option de champ d'insertion (Wordpress ne gèrera pas les paramètres "
977
+ #~ "personnalisés dans ce cas). Vous pouvez aussi utiliser une case à cocher "
978
+ #~ "dans les pages d'éditions des billets/pages pour retirer des billetx de "
979
+ #~ "l'index."
980
 
981
  # @ relevanssi
982
+ #~ msgid "Respect exclude_from_search for custom post types:"
983
+ #~ msgstr ""
984
+ #~ "Respecter exclude_from_search pour les types de billets personnalisés:"
 
 
 
 
985
 
986
  # @ relevanssi
987
+ #~ msgid ""
988
+ #~ "If checked, Relevanssi won't display posts of custom post types that have "
989
+ #~ "'exclude_from_search' set to true. If not checked, Relevanssi will "
990
+ #~ "display anything that is indexed."
991
+ #~ msgstr ""
992
+ #~ "Si coché, Relevanssi n'affichera aucun billet de types de billets "
993
+ #~ "personnalisés pour lesquels 'exclude_from_search' a été indiqué. Si non "
994
+ #~ "coché, Relevanssi affichera tout ce qui est indexé."
995
 
996
  # @ relevanssi
997
+ #~ msgid "Custom excerpts/snippets"
998
+ #~ msgstr "Personnaliser extraits/snippets"
 
999
 
1000
+ #~ msgid ""
1001
+ #~ "Note: Building custom excerpts can be slow. If you are not actually using "
1002
+ #~ "the excerpts, make sure you disable the option."
1003
+ #~ msgstr ""
1004
+ #~ "Remarque: construire les extraits personnalisés peut être lent. Si vous "
1005
+ #~ "n'utilisez pas les extraits, soyez certain de désactiver cette option."
1006
 
1007
+ #~ msgid "Allowable tags in excerpts:"
1008
+ #~ msgstr "Mots-clefs autorisés dans les extraits:"
 
1009
 
1010
+ #~ msgid ""
1011
+ #~ "List all tags you want to allow in excerpts, without any whitespace. For "
1012
+ #~ "example: '&lt;p&gt;&lt;a&gt;&lt;strong&gt;'."
1013
+ #~ msgstr ""
1014
+ #~ "Listez tous les mots-clef que vous voulez autoriser dans les extraits "
1015
+ #~ "sans aucun espace. Par exemple: '&lt;p&gt;&lt;a&gt;&lt;strong&gt;'."
1016
 
1017
+ # @ relevanssi
1018
+ #~ msgid ""
1019
+ #~ "Use %body%, %title%, %tags% and %comments% to display the number of hits "
1020
+ #~ "(in different parts of the post), %total% for total hits, %score% to "
1021
+ #~ "display the document weight and %terms% to show how many hits each search "
1022
+ #~ "term got. No double quotes (\") allowed!"
1023
+ #~ msgstr ""
1024
+ #~ "Utilisez %body%, %title%, %tags% et %comments% pour afficher le nombre de "
1025
+ #~ "résultats trouvés (en différents endroits du billet), %total% pour le "
1026
+ #~ "nombre total de résultats affichés, %score% pour afficher le poids "
1027
+ #~ "d'importance du document et %terms% pour montrer combien de résultats "
1028
+ #~ "affichés ont obtenu chacun des termes recherché. Interdit d'utiliser des "
1029
+ #~ "guillemets (\")!"
1030
 
1031
+ # @ relevanssi
1032
+ #~ msgid "Search hit highlighting"
1033
+ #~ msgstr "Surbrillance des résultats de recherche"
1034
 
1035
  # @ relevanssi
1036
+ #~ msgid "First, choose the type of highlighting used:"
1037
+ #~ msgstr "En premier, veuillez choisir le type de surbrillance utilisée:"
 
1038
 
1039
  # @ relevanssi
1040
+ #~ msgid "Highlight query terms in documents from local searches:"
1041
+ #~ msgstr ""
1042
+ #~ "Mettre en évidence les termes de la requête dans les documents pour les "
1043
+ #~ "recherches locales:"
1044
 
1045
+ # @ relevanssi
1046
+ #~ msgid ""
1047
+ #~ "Highlights hits when user opens the post from search results. This is "
1048
+ #~ "based on HTTP referrer, so if that's blocked, there'll be no highlights."
1049
+ #~ msgstr ""
1050
+ #~ "Surligne les mots choisis quand l'utilisateur ouvre le billet à partir "
1051
+ #~ "des résultats de recherche. La fonction est basée sur HTTP referrer "
1052
+ #~ "ainsi, en cas de blocage, il y aura pas de surlignage."
1053
 
1054
+ # @ relevanssi
1055
+ #~ msgid "Highlight query terms in comments:"
1056
+ #~ msgstr "Surligner les termes recherchés dans les commentaires:"
 
 
 
 
 
 
 
1057
 
1058
  # @ relevanssi
1059
+ #~ msgid ""
1060
+ #~ "Highlights hits in comments when user opens the post from search results."
1061
+ #~ msgstr ""
1062
+ #~ "Surligner les résultats affichés dans les commentaires quand "
1063
+ #~ "l'utilisateur ouvre le billet à partir des résultats de recherche."
1064
 
1065
  # @ relevanssi
1066
+ #~ msgid "Uncheck this if you use non-ASCII characters:"
1067
+ #~ msgstr "Décochez ceci si vous utilisez des caractères non-ASCII:"
 
1068
 
1069
  # @ relevanssi
1070
+ #~ msgid ""
1071
+ #~ "If you use non-ASCII characters (like Cyrillic alphabet) and the "
1072
+ #~ "highlights don't work, uncheck this option to make highlights work."
1073
+ #~ msgstr ""
1074
+ #~ "Si vous utilisez des caractères non-ASCII (comme l'alphabet Cyrillique) "
1075
+ #~ "et que le surlignage ne fonctionne pas, décochez cette option pour faire "
1076
+ #~ "fonctionner le surlignage."
1077
 
1078
  # @ relevanssi
1079
+ #~ msgid "Then adjust the settings for your chosen type:"
1080
+ #~ msgstr "Ensuite ajustez les réglages du type choisi:"
 
 
 
 
 
 
 
 
 
 
 
1081
 
1082
  # @ relevanssi
1083
+ #~ msgid "Save the options"
1084
+ #~ msgstr "Sauvegarder les options"
 
1085
 
1086
  # @ relevanssi
1087
+ #~ msgid "Choose post types to index:"
1088
+ #~ msgstr "Veuillez choisir les types de billets personnalisés à indexer:"
1089
+
1090
+ #~ msgid "Type"
1091
+ #~ msgstr "Type"
1092
+
1093
+ #~ msgid "Index"
1094
+ #~ msgstr "Index"
1095
+
1096
+ #~ msgid "Public?"
1097
+ #~ msgstr "Publique ?"
1098
+
1099
+ #~ msgid "%s"
1100
+ #~ msgstr "%s"
1101
+
1102
+ #~ msgid "yes"
1103
+ #~ msgstr "oui"
1104
 
1105
  # @ relevanssi
1106
+ #~ msgid "no"
1107
+ #~ msgstr "non"
 
1108
 
1109
  # @ relevanssi
1110
+ #~ msgid "Choose taxonomies to index:"
1111
+ #~ msgstr "Veuillez choisir les taxonomie à indexer:"
1112
+
1113
+ #~ msgid "Taxonomy"
1114
+ #~ msgstr "Taxonomie"
1115
+
1116
+ #~ msgid ""
1117
+ #~ "If you check a taxonomy here, the terms for that taxonomy are indexed "
1118
+ #~ "with the posts. If you for example choose \"post_tag\", searching for "
1119
+ #~ "tags will find all posts that have the tag."
1120
+ #~ msgstr ""
1121
+ #~ "Si vous cochez une taxonomie ici, les termes de cette taxonomie seront "
1122
+ #~ "indexées avec les billets. Si par exemple vous choisissez \"post_tag\", "
1123
+ #~ "la recherche pour les mots-clef affichera tous les billets qui sont "
1124
+ #~ "associés au mot-clef."
1125
 
1126
  # @ relevanssi
1127
+ #~ msgid "Minimum word length to index"
1128
+ #~ msgstr "Longueur minimum des mots à indexer"
 
1129
 
1130
  # @ relevanssi
1131
+ #~ msgid "Words shorter than this number will not be indexed."
1132
+ #~ msgstr "Les mots plus courts que ce nombre ne seront pas indexés."
 
1133
 
1134
  # @ relevanssi
1135
+ #~ msgid "Expand shortcodes in post content:"
1136
+ #~ msgstr "Traduire les shortcodes dans le contenu des billets:"
 
1137
 
1138
  # @ relevanssi
1139
+ #~ msgid ""
1140
+ #~ "If checked, Relevanssi will expand shortcodes in post content before "
1141
+ #~ "indexing. Otherwise shortcodes will be stripped. If you use shortcodes to "
1142
+ #~ "include dynamic content, Relevanssi will not keep the index updated, the "
1143
+ #~ "index will reflect the status of the shortcode content at the moment of "
1144
+ #~ "indexing."
1145
+ #~ msgstr ""
1146
+ #~ "Si coché, Relevanssi traduira tous les shortcodes des contenu de billets "
1147
+ #~ "avec l'indexation. Dans le cas contraire, les shortcodes seront ignorés. "
1148
+ #~ "Si vous utilisez des shortcodes pour générer du contenu dynamique, "
1149
+ #~ "Relevanssi ne mettra pas l'index à jour. Ce dernier présentera le statut "
1150
+ #~ "du contenu du shortcode au moment de l'indexation."
1151
 
1152
  # @ relevanssi
1153
+ #~ msgid "Index and search your posts' authors:"
1154
+ #~ msgstr "Indexer et rechercher les auteurs des billets:"
 
 
 
 
 
 
 
 
 
1155
 
1156
  # @ relevanssi
1157
+ #~ msgid ""
1158
+ #~ "If checked, Relevanssi will also index and search the authors of your "
1159
+ #~ "posts. Author display name will be indexed. Remember to rebuild the index "
1160
+ #~ "if you change this option!"
1161
+ #~ msgstr ""
1162
+ #~ "Si coché, Relevanssi indexera et cherchera aussi dans les auteurs de vos "
1163
+ #~ "billets. Le nom affiché des auteurs sera indexé. N'oubliez pas de "
1164
+ #~ "reconstruire l'index si vous modifiez cette option !"
1165
 
1166
+ # @ relevanssi
1167
+ #~ msgid "Index and search post excerpts:"
1168
+ #~ msgstr "Indexer et rechercher dans les extraits de billets:"
 
 
 
 
 
 
 
1169
 
1170
+ # @ relevanssi
1171
+ #~ msgid ""
1172
+ #~ "If checked, Relevanssi will also index and search the excerpts of your "
1173
+ #~ "posts.Remember to rebuild the index if you change this option!"
1174
+ #~ msgstr ""
1175
+ #~ "Si coché, Relevanssi indexera et cherchera dans les extraits de vos "
1176
+ #~ "billets. N'oubliez pas de reconstruire l'index si vous modifiez cette "
1177
+ #~ "option !"
1178
+
1179
+ #~ msgid ""
1180
+ #~ "A comma-separated list of custom fields to include in the index. Set to "
1181
+ #~ "'visible' to index all visible custom fields and to 'all' to index all "
1182
+ #~ "custom fields, also those starting with a '_' character."
1183
+ #~ msgstr ""
1184
+ #~ "Une liste séparée par des virgules de champs personnalisés à inclure dans "
1185
+ #~ "l'index. Utilisez 'visible' pour indexer tous les champs personnalisés "
1186
+ #~ "visibles et 'tout' pour indexer tous les champs personnalisés même ceux "
1187
+ #~ "commençant par le caractère '_' ."
1188
+
1189
+ #~ msgid "Save indexing options, erase index and rebuild the index"
1190
+ #~ msgstr ""
1191
+ #~ "Sauvegarder les options d'indexation, supprimer puis reconstruire l'index"
1192
 
1193
  # @ relevanssi
1194
+ #~ msgid ""
1195
+ #~ "Add synonyms here in 'key = value' format. When searching with the OR "
1196
+ #~ "operator, any search of 'key' will be expanded to include 'value' as "
1197
+ #~ "well. Using phrases is possible. The key-value pairs work in one "
1198
+ #~ "direction only, but you can of course repeat the same pair reversed."
1199
+ #~ msgstr ""
1200
+ #~ "Ajouter les synonymes ici au format 'clef = valeur'. Lors d'une recherche "
1201
+ #~ "avec l'opérateur logique OU, toute recherche de 'clef' sera étendue pour "
1202
+ #~ "inclure aussi 'valeur'. Il est possible d'utiliser des phrases. Les "
1203
+ #~ "paires clef-valeur ne fonctionnent que dans un sens mais, évidemment, "
1204
+ #~ "vous pouvez répéter la même clef à l'envers."
 
1205
 
1206
  # @ relevanssi
1207
+ #~ msgid ""
1208
+ #~ "<p>Enter a word here to add it to the list of stopwords. The word will "
1209
+ #~ "automatically be removed from the index, so re-indexing is not necessary. "
1210
+ #~ "You can enter many words at the same time, separate words with commas.</p>"
1211
+ #~ msgstr ""
1212
+ #~ "<p>Entrez un mot ici pour l'ajouter dans la liste des stopwords. Le mot "
1213
+ #~ "sera automatiquement retiré de l'index, de cette manière il est inutile "
1214
+ #~ "de réindexer. Si vous entrez plusieurs mots d'un coup, séparez les mots "
1215
+ #~ "avec une virgule.</p>"
 
1216
 
1217
  # @ relevanssi
1218
+ #~ msgid "Stopword(s) to add: "
1219
+ #~ msgstr "Stopword(s) à ajouter: "
 
1220
 
1221
  # @ relevanssi
1222
+ #~ msgid "Add"
1223
+ #~ msgstr "Ajouter"
 
1224
 
1225
  # @ relevanssi
1226
+ #~ msgid ""
1227
+ #~ "<p>Here's a list of stopwords in the database. Click a word to remove it "
1228
+ #~ "from stopwords. Removing stopwords won't automatically return them to "
1229
+ #~ "index, so you need to re-index all posts after removing stopwords to get "
1230
+ #~ "those words back to index."
1231
+ #~ msgstr ""
1232
+ #~ "<p>Voici une liste des stopwords de la base de données. Cliquez sur un "
1233
+ #~ "mot pour le retirer des stopwords. Retirer de la liste des stopwords ne "
1234
+ #~ "les réinjectera pas automatiquement dans l'index aussi vous devez "
1235
+ #~ "réindexer tous les billet après retrait de stopwords pour les réinjecter "
1236
+ #~ "dans l'index."
1237
 
1238
  # @ relevanssi
1239
+ #~ msgid "Remove all stopwords"
1240
+ #~ msgstr "Retirer tous les stopwords"
 
1241
 
1242
  # @ relevanssi
1243
+ #~ msgid ""
1244
+ #~ "Here's a list of stopwords you can use to export the stopwords to another "
1245
+ #~ "blog."
1246
+ #~ msgstr ""
1247
+ #~ "<p>Voici une liste des stopwords de la base de données. Cliquez sur un "
1248
+ #~ "mot pour le retirer des stopwords. Retirer de la liste des stopwords ne "
1249
+ #~ "les réinjectera pas automatiquement dans l'index aussi vous devez "
1250
+ #~ "réindexer tous les billet après retrait de stopwords pour les réinjecter "
1251
+ #~ "dans l'index."
1252
 
1253
  # @ relevanssi
1254
+ #~ msgid "Data wiped clean, you can now delete the plugin."
1255
+ #~ msgstr "Données effacées, vous pouvez maintenant supprimer le plugin."
 
1256
 
1257
  # @ relevanssi
1258
+ #~ msgid "Tag weight:"
1259
+ #~ msgstr "Poids des mots-clef:"
 
1260
 
1261
  # @ relevanssi
1262
+ #~ msgid "Category weight:"
1263
+ #~ msgstr "Poids des catégories:"
 
1264
 
1265
  # @ relevanssi
1266
  #~ msgid "Caching"
relevanssi.php CHANGED
@@ -3,12 +3,13 @@
3
  Plugin Name: Relevanssi
4
  Plugin URI: http://www.relevanssi.com/
5
  Description: This plugin replaces WordPress search with a relevance-sorting search.
6
- Version: 3.3.8
7
  Author: Mikko Saari
8
  Author URI: http://www.mikkosaari.fi/
 
9
  */
10
 
11
- /* Copyright 2014 Mikko Saari (email: mikko@mikkosaari.fi)
12
 
13
  This file is part of Relevanssi, a search plugin for WordPress.
14
 
@@ -378,6 +379,43 @@ comparison</a> and <a href="http://www.relevanssi.com/buy-premium/?utm_source=pl
378
  </div>
379
  </div>
380
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
381
  <div class="meta-box-sortables" style="min-height: 0">
382
  <div id="relevanssi_premium" class="postbox">
383
  <h3 class="hndle"><span>Sample Premium features</span></h3>
@@ -388,7 +426,6 @@ comparison</a> and <a href="http://www.relevanssi.com/buy-premium/?utm_source=pl
388
  - Hiding Relevanssi branding from the User Searches page on a client installation<br />
389
  - Adjust weights separately for each post type and taxonomy<br />
390
  - Give extra weight to recent posts<br />
391
- - Highlight search terms for visitors from Google and other external search sources<br />
392
  - Make Relevanssi understand thousand separators to handle big numbers better<br />
393
  - Index and search any columns in the wp_posts database<br />
394
  - Index and search user profile pages<br />
3
  Plugin Name: Relevanssi
4
  Plugin URI: http://www.relevanssi.com/
5
  Description: This plugin replaces WordPress search with a relevance-sorting search.
6
+ Version: 3.4.2
7
  Author: Mikko Saari
8
  Author URI: http://www.mikkosaari.fi/
9
+ Text Domain: relevanssi
10
  */
11
 
12
+ /* Copyright 2015 Mikko Saari (email: mikko@mikkosaari.fi)
13
 
14
  This file is part of Relevanssi, a search plugin for WordPress.
15
 
379
  </div>
380
  </div>
381
 
382
+ <div class="meta-box-sortables" style="min-height: 0">
383
+ <div id="relevanssi_list" class="postbox">
384
+ <!-- Begin MailChimp Signup Form -->
385
+ <div id="mc_embed_signup">
386
+ <form action="//painavasana.us11.list-manage.com/subscribe/post?u=33d7be02c521d776357962ad2&amp;id=ef7d31c98a" method="post" id="mc-embedded-subscribe-form" name="mc-embedded-subscribe-form" class="validate" target="_blank" novalidate>
387
+ <div id="mc_embed_signup_scroll">
388
+ <h3 class="hndle"><span>Subscribe to our mailing list</span></h3>
389
+
390
+ <div class="inside">
391
+
392
+ <div class="mc-field-group">
393
+ <label for="mce-EMAIL">Email Address
394
+ </label>
395
+ <input type="email" value="" name="EMAIL" class="required email" id="mce-EMAIL">
396
+ </div>
397
+ <div id="mce-responses" class="clear">
398
+ <div class="response" id="mce-error-response" style="display:none"></div>
399
+ <div class="response" id="mce-success-response" style="display:none"></div>
400
+ </div> <!-- real people should not fill this in and expect good things - do not remove this or risk form bot signups-->
401
+ <div style="position: absolute; left: -5000px;"><input type="text" name="b_33d7be02c521d776357962ad2_ef7d31c98a" tabindex="-1" value=""></div>
402
+ <div class="clear"><input type="submit" value="Subscribe" name="subscribe" id="mc-embedded-subscribe" class="button-primary"></div>
403
+
404
+ <p>Subscribe to our mailing list to get updates on Relevanssi development. As a thank you for subscribing, you'll
405
+ get a <strong>20% discount</strong> for Relevanssi Premium.</p>
406
+
407
+ </div>
408
+
409
+ </div>
410
+
411
+ </form>
412
+
413
+ </div>
414
+
415
+ <!--End mc_embed_signup-->
416
+ </div>
417
+ </div>
418
+
419
  <div class="meta-box-sortables" style="min-height: 0">
420
  <div id="relevanssi_premium" class="postbox">
421
  <h3 class="hndle"><span>Sample Premium features</span></h3>
426
  - Hiding Relevanssi branding from the User Searches page on a client installation<br />
427
  - Adjust weights separately for each post type and taxonomy<br />
428
  - Give extra weight to recent posts<br />
 
429
  - Make Relevanssi understand thousand separators to handle big numbers better<br />
430
  - Index and search any columns in the wp_posts database<br />
431
  - Index and search user profile pages<br />