Relevanssi – A Better Search - Version 3.5.10

Version Description

  • Some users got a fatal parse error. That shouldn't happen anymore.
  • FacetWP users ran into trouble, as relevanssi_do_query() started to explicitly expect a WP_Query object in version 1.15.0. That expectation is removed; it's still highly recommended for future compatibility that you use WP_Query objects.
  • Small bug fix: get_current_screen() is now only used when it's available to avoid occasional fatal errors.
  • Error messages from DOING_AJAX being undefined should be removed.
Download this release

Release Info

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

Code changes from version 3.5.9.1 to 3.5.10

Files changed (5) hide show
  1. lib/indexing.php +3 -3
  2. lib/search.php +1 -1
  3. readme.txt +12 -3
  4. relevanssi.php +43 -37
  5. relevanssi.po +674 -28
lib/indexing.php CHANGED
@@ -117,16 +117,16 @@ function relevanssi_build_index($extend = false, $verbose = true, $post_limit =
117
  do_action('relevanssi_pre_indexing_query');
118
  $content = $wpdb->get_results($q);
119
 
120
- if ( defined( 'WP_CLI' ) && WP_CLI ) $progress = \WP_CLI\Utils\make_progress_bar( 'Indexing posts', count($content) );
121
  foreach ($content as $post) {
122
  $result = relevanssi_index_doc($post->ID, false, $custom_fields, true);
123
  if (is_numeric($result) && $result > 0) $n++;
124
  // n calculates the number of posts indexed
125
  // $bypassglobalpost set to true, because at this point global $post should be NULL, but in some cases it is not
126
 
127
- if ( defined( 'WP_CLI' ) && WP_CLI ) $progress->tick();
128
  }
129
- if ( defined( 'WP_CLI' ) && WP_CLI ) $progress->finish();
130
 
131
  $wpdb->query("ANALYZE TABLE $relevanssi_table");
132
  // To prevent empty indices
117
  do_action('relevanssi_pre_indexing_query');
118
  $content = $wpdb->get_results($q);
119
 
120
+ if ( defined( 'WP_CLI' ) && WP_CLI && function_exists('relevanssi_generate_progress_bar') ) $progress = relevanssi_generate_progress_bar( 'Indexing posts', count($content) );
121
  foreach ($content as $post) {
122
  $result = relevanssi_index_doc($post->ID, false, $custom_fields, true);
123
  if (is_numeric($result) && $result > 0) $n++;
124
  // n calculates the number of posts indexed
125
  // $bypassglobalpost set to true, because at this point global $post should be NULL, but in some cases it is not
126
 
127
+ if ( defined( 'WP_CLI' ) && WP_CLI && $progress ) $progress->tick();
128
  }
129
+ if ( defined( 'WP_CLI' ) && WP_CLI && $progress ) $progress->finish();
130
 
131
  $wpdb->query("ANALYZE TABLE $relevanssi_table");
132
  // To prevent empty indices
lib/search.php CHANGED
@@ -1238,7 +1238,7 @@ function relevanssi_do_query(&$query) {
1238
  $operator = strtoupper($operator); // just in case
1239
  }
1240
  if ($operator != "OR" && $operator != "AND") $operator = get_option("relevanssi_implicit_operator");
1241
- $query->set("operator", $operator);
1242
 
1243
  isset($query->query_vars['orderby']) ? $orderby = $query->query_vars['orderby'] : $orderby = null;
1244
  isset($query->query_vars['order']) ? $order = $query->query_vars['order'] : $order = null;
1238
  $operator = strtoupper($operator); // just in case
1239
  }
1240
  if ($operator != "OR" && $operator != "AND") $operator = get_option("relevanssi_implicit_operator");
1241
+ $query->query_vars["operator"] = $operator;
1242
 
1243
  isset($query->query_vars['orderby']) ? $orderby = $query->query_vars['orderby'] : $orderby = null;
1244
  isset($query->query_vars['order']) ? $order = $query->query_vars['order'] : $order = null;
readme.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: msaari
3
  Donate link: https://www.relevanssi.com/buy-premium/
4
  Tags: search, relevance, better search
5
  Requires at least: 4.0
6
- Tested up to: 4.7.4
7
- Stable tag: 3.5.9.1
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -268,6 +268,12 @@ Each document database is full of useless words. All the little words that appea
268
 
269
  == Changelog ==
270
 
 
 
 
 
 
 
271
  = 3.5.9.1 =
272
  * WP.org plugin repo didn't like 3.5.9 for some reason, hoping to have better luck with this.
273
 
@@ -1045,6 +1051,9 @@ Each document database is full of useless words. All the little words that appea
1045
 
1046
  == Upgrade notice ==
1047
 
 
 
 
1048
  = 3.5.9.1 =
1049
  * Improvements in highlighting and taxonomy searches.
1050
 
@@ -1130,4 +1139,4 @@ Each document database is full of useless words. All the little words that appea
1130
  * WordPress 3.7 compatibility, couple of minor bug fixes.
1131
 
1132
  = 3.1.8 =
1133
- * Recommended for users of WPML and BBpress. Category exclusions and restrictions are also fixed.
3
  Donate link: https://www.relevanssi.com/buy-premium/
4
  Tags: search, relevance, better search
5
  Requires at least: 4.0
6
+ Tested up to: 4.7.5
7
+ Stable tag: 3.5.10
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
268
 
269
  == Changelog ==
270
 
271
+ = 3.5.10 =
272
+ * Some users got a fatal parse error. That shouldn't happen anymore.
273
+ * FacetWP users ran into trouble, as `relevanssi_do_query()` started to explicitly expect a WP_Query object in version 1.15.0. That expectation is removed; it's still highly recommended for future compatibility that you use WP_Query objects.
274
+ * Small bug fix: `get_current_screen()` is now only used when it's available to avoid occasional fatal errors.
275
+ * Error messages from `DOING_AJAX` being undefined should be removed.
276
+
277
  = 3.5.9.1 =
278
  * WP.org plugin repo didn't like 3.5.9 for some reason, hoping to have better luck with this.
279
 
1051
 
1052
  == Upgrade notice ==
1053
 
1054
+ = 3.5.10 =
1055
+ * Prevented a fatal error for some users, small bug fixes.
1056
+
1057
  = 3.5.9.1 =
1058
  * Improvements in highlighting and taxonomy searches.
1059
 
1139
  * WordPress 3.7 compatibility, couple of minor bug fixes.
1140
 
1141
  = 3.1.8 =
1142
+ * Recommended for users of WPML and BBpress. Category exclusions and restrictions are also fixed.
relevanssi.php CHANGED
@@ -3,7 +3,7 @@
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.5.9.1
7
  Author: Mikko Saari
8
  Author URI: http://www.mikkosaari.fi/
9
  */
@@ -28,7 +28,7 @@ Author URI: http://www.mikkosaari.fi/
28
 
29
  // For debugging purposes
30
  //error_reporting(E_ALL);
31
- //ini_set("display_errors", 1);
32
  //define('WP-DEBUG', true);
33
  global $wpdb;
34
  //$wpdb->show_errors();
@@ -60,9 +60,9 @@ require_once('lib/common.php');
60
 
61
  function relevanssi_didyoumean($query, $pre, $post, $n = 5, $echo = true) {
62
  global $wpdb, $relevanssi_variables, $wp_query;
63
-
64
- $total_results = $wp_query->found_posts;
65
-
66
  if ($total_results > $n) return;
67
 
68
  $q = "SELECT query, count(query) as c, AVG(hits) as a FROM " . $relevanssi_variables['log_table'] . " WHERE hits > 1 GROUP BY query ORDER BY count(query) DESC";
@@ -72,11 +72,11 @@ function relevanssi_didyoumean($query, $pre, $post, $n = 5, $echo = true) {
72
 
73
  $distance = -1;
74
  $closest = "";
75
-
76
  foreach ($data as $row) {
77
  if ($row->c < 2) break;
78
  $lev = levenshtein($query, $row->query);
79
-
80
  if ($lev < $distance || $distance < 0) {
81
  if ($row->a > 0) {
82
  $distance = $lev;
@@ -85,7 +85,7 @@ function relevanssi_didyoumean($query, $pre, $post, $n = 5, $echo = true) {
85
  }
86
  }
87
  }
88
-
89
  $result = null;
90
  if ($distance > 0) {
91
  $url = get_bloginfo('url');
@@ -98,13 +98,19 @@ function relevanssi_didyoumean($query, $pre, $post, $n = 5, $echo = true) {
98
  $result = apply_filters('relevanssi_didyoumean_suggestion', "$pre<a href='$url'>$closest</a>$post");
99
  if ($echo) echo $result;
100
  }
101
-
102
  return $result;
103
  }
104
 
105
  function relevanssi_check_old_data() {
106
- $screen = get_current_screen();
107
- if ($screen->base != 'settings_page_relevanssi-premium/relevanssi') return;
 
 
 
 
 
 
108
 
109
  if (is_admin()) {
110
  // Version 3.3 removes the cache feature
@@ -120,8 +126,8 @@ function relevanssi_check_old_data() {
120
  delete_option('relevanssi_enable_cache');
121
  delete_option('relevanssi_cache_seconds');
122
  wp_clear_scheduled_hook('relevanssi_truncate_cache');
123
- }
124
-
125
  // Version 3.1.4 combined taxonomy indexing options
126
  $inctags = get_option('relevanssi_include_tags', 'nothing');
127
  if ($inctags == 'on') {
@@ -151,7 +157,7 @@ function relevanssi_check_old_data() {
151
  update_option('relevanssi_index_taxonomies_list', $taxonomies);
152
  delete_option('relevanssi_custom_taxonomies');
153
  }
154
-
155
  $limit = get_option('relevanssi_throttle_limit');
156
  if (empty($limit)) update_option('relevanssi_throttle_limit', 500);
157
 
@@ -173,14 +179,14 @@ function relevanssi_check_old_data() {
173
  delete_option('relevanssi_tag_boost');
174
  update_option('relevanssi_post_type_weights', $post_type_weights);
175
  }
176
-
177
  $index_type = get_option('relevanssi_index_type', 'nothing');
178
  if ($index_type != 'nothing') {
179
  // Delete unused options from versions < 3
180
  $post_types = get_option('relevanssi_index_post_types');
181
-
182
  if (!is_array($post_types)) $post_types = array();
183
-
184
  switch ($index_type) {
185
  case "posts":
186
  array_push($post_types, 'post');
@@ -193,21 +199,21 @@ function relevanssi_check_old_data() {
193
  $pt_1 = get_post_types(array('exclude_from_search' => '0'));
194
  $pt_2 = get_post_types(array('exclude_from_search' => false));
195
  foreach (array_merge($pt_1, $pt_2) as $type) {
196
- array_push($post_types, $type);
197
  }
198
  }
199
  break;
200
  case "both": // really should be "everything"
201
  $pt = get_post_types();
202
  foreach ($pt as $type) {
203
- array_push($post_types, $type);
204
  }
205
  break;
206
  }
207
-
208
  $attachments = get_option('relevanssi_index_attachments');
209
  if ('on' == $attachments) array_push($post_types, 'attachment');
210
-
211
  $custom_types = get_option('relevanssi_custom_types');
212
  $custom_types = explode(',', $custom_types);
213
  if (is_array($custom_types)) {
@@ -218,9 +224,9 @@ function relevanssi_check_old_data() {
218
  }
219
  }
220
  }
221
-
222
  update_option('relevanssi_index_post_types', $post_types);
223
-
224
  delete_option('relevanssi_index_type');
225
  delete_option('relevanssi_index_attachments');
226
  delete_option('relevanssi_custom_types');
@@ -230,7 +236,7 @@ function relevanssi_check_old_data() {
230
 
231
  function _relevanssi_install() {
232
  global $relevanssi_variables;
233
-
234
  add_option('relevanssi_title_boost', $relevanssi_variables['title_boost_default']);
235
  add_option('relevanssi_comment_boost', $relevanssi_variables['comment_boost_default']);
236
  add_option('relevanssi_admin_search', 'off');
@@ -250,7 +256,7 @@ function _relevanssi_install() {
250
  add_option('relevanssi_extag', '0');
251
  add_option('relevanssi_index_fields', '');
252
  add_option('relevanssi_exclude_posts', ''); //added by OdditY
253
- add_option('relevanssi_hilite_title', ''); //added by OdditY
254
  add_option('relevanssi_highlight_docs', 'off');
255
  add_option('relevanssi_highlight_comments', 'off');
256
  add_option('relevanssi_index_comments', 'none'); //added by OdditY
@@ -278,7 +284,7 @@ function _relevanssi_install() {
278
  add_option('relevanssi_throttle_limit', '500');
279
  add_option('relevanssi_index_post_types', $relevanssi_variables['post_type_index_defaults']);
280
  add_option('relevanssi_index_taxonomies_list', array());
281
-
282
  relevanssi_create_database_tables($relevanssi_variables['database_version']);
283
  }
284
 
@@ -289,7 +295,7 @@ if (function_exists('register_uninstall_hook')) {
289
 
290
  function relevanssi_get_post($id) {
291
  global $relevanssi_post_array;
292
-
293
  if (isset($relevanssi_post_array[$id])) {
294
  $post = $relevanssi_post_array[$id];
295
  }
@@ -301,7 +307,7 @@ function relevanssi_get_post($id) {
301
 
302
  function relevanssi_remove_doc($id) {
303
  global $wpdb, $relevanssi_variables;
304
-
305
  $D = get_option( 'relevanssi_doc_count');
306
 
307
  $q = "DELETE FROM " . $relevanssi_variables['relevanssi_table'] . " WHERE doc=$id";
@@ -316,7 +322,7 @@ function relevanssi_remove_doc($id) {
316
  /*****
317
  * Interface functions
318
  */
319
-
320
  function relevanssi_form_tag_weight($post_type_weights) {
321
  $label = __("Tag weight:", 'relevanssi');
322
  $value = $post_type_weights['post_tag'];
@@ -324,7 +330,7 @@ function relevanssi_form_tag_weight($post_type_weights) {
324
  echo <<<EOH
325
  <tr>
326
  <td>
327
- $label
328
  </td>
329
  <td>
330
  <input type='text' name='relevanssi_weight_post_tag' id='relevanssi_weight_post_tag' size='4' value='$value' />
@@ -339,7 +345,7 @@ EOH;
339
  echo <<<EOH
340
  <tr>
341
  <td>
342
- $label
343
  </td>
344
  <td>
345
  <input type='text' id='relevanssi_weight_category' name='relevanssi_weight_category' size='4' value='$value' />
@@ -367,11 +373,11 @@ function relevanssi_sidebar() {
367
 
368
  echo <<<EOH
369
  <div class="postbox-container" style="width:20%; margin-top: 35px; margin-left: 15px;">
370
- <div class="metabox-holder">
371
  <div class="meta-box-sortables" style="min-height: 0">
372
  <div id="relevanssi_buy" class="postbox">
373
  EOH;
374
- printf('<h3 class="hndle"><span>%s!</span></h3>', __('Buy Relevanssi Premium', 'relevanssi'));
375
  echo <<<EOH
376
  <div class="inside">
377
  <p>
@@ -417,7 +423,7 @@ EOH;
417
  </div>
418
  </div>
419
  </div>
420
-
421
  <div class="meta-box-sortables" style="min-height: 0">
422
  <div id="relevanssi_facebook" class="postbox">
423
  EOH;
@@ -426,7 +432,7 @@ EOH;
426
  <div class="inside">
427
  <div style="float: left; margin-right: 5px"><img src="$facebooklogo" width="45" height="43" alt="Facebook" /></div>
428
  EOH;
429
- printf('<p>' . __('<a href="%s">Check out the Relevanssi page on Facebook</a> for news and updates about Relevanssi.', 'relevanssi') . '</p>', 'https://www.facebook.com/relevanssi');
430
  echo <<<EOH
431
  </div>
432
  </div>
@@ -444,7 +450,7 @@ EOH;
444
  </div>
445
  </div>
446
  </div>
447
-
448
  </div>
449
  </div>
450
  EOH;
@@ -457,4 +463,4 @@ function relevanssi_install() {
457
  _relevanssi_install();
458
  }
459
 
460
- ?>
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.5.10
7
  Author: Mikko Saari
8
  Author URI: http://www.mikkosaari.fi/
9
  */
28
 
29
  // For debugging purposes
30
  //error_reporting(E_ALL);
31
+ //ini_set("display_errors", 1);
32
  //define('WP-DEBUG', true);
33
  global $wpdb;
34
  //$wpdb->show_errors();
60
 
61
  function relevanssi_didyoumean($query, $pre, $post, $n = 5, $echo = true) {
62
  global $wpdb, $relevanssi_variables, $wp_query;
63
+
64
+ $total_results = $wp_query->found_posts;
65
+
66
  if ($total_results > $n) return;
67
 
68
  $q = "SELECT query, count(query) as c, AVG(hits) as a FROM " . $relevanssi_variables['log_table'] . " WHERE hits > 1 GROUP BY query ORDER BY count(query) DESC";
72
 
73
  $distance = -1;
74
  $closest = "";
75
+
76
  foreach ($data as $row) {
77
  if ($row->c < 2) break;
78
  $lev = levenshtein($query, $row->query);
79
+
80
  if ($lev < $distance || $distance < 0) {
81
  if ($row->a > 0) {
82
  $distance = $lev;
85
  }
86
  }
87
  }
88
+
89
  $result = null;
90
  if ($distance > 0) {
91
  $url = get_bloginfo('url');
98
  $result = apply_filters('relevanssi_didyoumean_suggestion', "$pre<a href='$url'>$closest</a>$post");
99
  if ($echo) echo $result;
100
  }
101
+
102
  return $result;
103
  }
104
 
105
  function relevanssi_check_old_data() {
106
+ if (function_exists('get_current_screen')) {
107
+ $screen = get_current_screen();
108
+ if ($screen->base != 'settings_page_relevanssi/relevanssi') return;
109
+ }
110
+ else {
111
+ // Can't tell if we're on Relevanssi settings page, so we're not.
112
+ return;
113
+ }
114
 
115
  if (is_admin()) {
116
  // Version 3.3 removes the cache feature
126
  delete_option('relevanssi_enable_cache');
127
  delete_option('relevanssi_cache_seconds');
128
  wp_clear_scheduled_hook('relevanssi_truncate_cache');
129
+ }
130
+
131
  // Version 3.1.4 combined taxonomy indexing options
132
  $inctags = get_option('relevanssi_include_tags', 'nothing');
133
  if ($inctags == 'on') {
157
  update_option('relevanssi_index_taxonomies_list', $taxonomies);
158
  delete_option('relevanssi_custom_taxonomies');
159
  }
160
+
161
  $limit = get_option('relevanssi_throttle_limit');
162
  if (empty($limit)) update_option('relevanssi_throttle_limit', 500);
163
 
179
  delete_option('relevanssi_tag_boost');
180
  update_option('relevanssi_post_type_weights', $post_type_weights);
181
  }
182
+
183
  $index_type = get_option('relevanssi_index_type', 'nothing');
184
  if ($index_type != 'nothing') {
185
  // Delete unused options from versions < 3
186
  $post_types = get_option('relevanssi_index_post_types');
187
+
188
  if (!is_array($post_types)) $post_types = array();
189
+
190
  switch ($index_type) {
191
  case "posts":
192
  array_push($post_types, 'post');
199
  $pt_1 = get_post_types(array('exclude_from_search' => '0'));
200
  $pt_2 = get_post_types(array('exclude_from_search' => false));
201
  foreach (array_merge($pt_1, $pt_2) as $type) {
202
+ array_push($post_types, $type);
203
  }
204
  }
205
  break;
206
  case "both": // really should be "everything"
207
  $pt = get_post_types();
208
  foreach ($pt as $type) {
209
+ array_push($post_types, $type);
210
  }
211
  break;
212
  }
213
+
214
  $attachments = get_option('relevanssi_index_attachments');
215
  if ('on' == $attachments) array_push($post_types, 'attachment');
216
+
217
  $custom_types = get_option('relevanssi_custom_types');
218
  $custom_types = explode(',', $custom_types);
219
  if (is_array($custom_types)) {
224
  }
225
  }
226
  }
227
+
228
  update_option('relevanssi_index_post_types', $post_types);
229
+
230
  delete_option('relevanssi_index_type');
231
  delete_option('relevanssi_index_attachments');
232
  delete_option('relevanssi_custom_types');
236
 
237
  function _relevanssi_install() {
238
  global $relevanssi_variables;
239
+
240
  add_option('relevanssi_title_boost', $relevanssi_variables['title_boost_default']);
241
  add_option('relevanssi_comment_boost', $relevanssi_variables['comment_boost_default']);
242
  add_option('relevanssi_admin_search', 'off');
256
  add_option('relevanssi_extag', '0');
257
  add_option('relevanssi_index_fields', '');
258
  add_option('relevanssi_exclude_posts', ''); //added by OdditY
259
+ add_option('relevanssi_hilite_title', ''); //added by OdditY
260
  add_option('relevanssi_highlight_docs', 'off');
261
  add_option('relevanssi_highlight_comments', 'off');
262
  add_option('relevanssi_index_comments', 'none'); //added by OdditY
284
  add_option('relevanssi_throttle_limit', '500');
285
  add_option('relevanssi_index_post_types', $relevanssi_variables['post_type_index_defaults']);
286
  add_option('relevanssi_index_taxonomies_list', array());
287
+
288
  relevanssi_create_database_tables($relevanssi_variables['database_version']);
289
  }
290
 
295
 
296
  function relevanssi_get_post($id) {
297
  global $relevanssi_post_array;
298
+
299
  if (isset($relevanssi_post_array[$id])) {
300
  $post = $relevanssi_post_array[$id];
301
  }
307
 
308
  function relevanssi_remove_doc($id) {
309
  global $wpdb, $relevanssi_variables;
310
+
311
  $D = get_option( 'relevanssi_doc_count');
312
 
313
  $q = "DELETE FROM " . $relevanssi_variables['relevanssi_table'] . " WHERE doc=$id";
322
  /*****
323
  * Interface functions
324
  */
325
+
326
  function relevanssi_form_tag_weight($post_type_weights) {
327
  $label = __("Tag weight:", 'relevanssi');
328
  $value = $post_type_weights['post_tag'];
330
  echo <<<EOH
331
  <tr>
332
  <td>
333
+ $label
334
  </td>
335
  <td>
336
  <input type='text' name='relevanssi_weight_post_tag' id='relevanssi_weight_post_tag' size='4' value='$value' />
345
  echo <<<EOH
346
  <tr>
347
  <td>
348
+ $label
349
  </td>
350
  <td>
351
  <input type='text' id='relevanssi_weight_category' name='relevanssi_weight_category' size='4' value='$value' />
373
 
374
  echo <<<EOH
375
  <div class="postbox-container" style="width:20%; margin-top: 35px; margin-left: 15px;">
376
+ <div class="metabox-holder">
377
  <div class="meta-box-sortables" style="min-height: 0">
378
  <div id="relevanssi_buy" class="postbox">
379
  EOH;
380
+ printf('<h3 class="hndle"><span>%s!</span></h3>', __('Buy Relevanssi Premium', 'relevanssi'));
381
  echo <<<EOH
382
  <div class="inside">
383
  <p>
423
  </div>
424
  </div>
425
  </div>
426
+
427
  <div class="meta-box-sortables" style="min-height: 0">
428
  <div id="relevanssi_facebook" class="postbox">
429
  EOH;
432
  <div class="inside">
433
  <div style="float: left; margin-right: 5px"><img src="$facebooklogo" width="45" height="43" alt="Facebook" /></div>
434
  EOH;
435
+ printf('<p>' . __('<a href="%s">Check out the Relevanssi page on Facebook</a> for news and updates about Relevanssi.', 'relevanssi') . '</p>', 'https://www.facebook.com/relevanssi');
436
  echo <<<EOH
437
  </div>
438
  </div>
450
  </div>
451
  </div>
452
  </div>
453
+
454
  </div>
455
  </div>
456
  EOH;
463
  _relevanssi_install();
464
  }
465
 
466
+ ?>
relevanssi.po CHANGED
@@ -2,14 +2,16 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Relevanssi\n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2017-05-14 06:03+0300\n"
6
  "PO-Revision-Date: \n"
7
  "Last-Translator: Mikko Saari <mikko@mikkosaari.fi>\n"
8
  "Language-Team: \n"
 
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
- "X-Poedit-KeywordsList: __\n"
 
13
  "X-Poedit-Basepath: .\n"
14
  "X-Generator: Poedit 2.0.1\n"
15
  "X-Poedit-SearchPath-0: .\n"
@@ -192,20 +194,270 @@ msgstr ""
192
  msgid "Hits"
193
  msgstr ""
194
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
195
  #: lib/interface.php:885
196
  msgid "Import/export options"
197
  msgstr ""
198
 
199
- #: lib/interface.php:888 relevanssi.php:374
200
  msgid "Buy Relevanssi Premium"
201
  msgstr ""
202
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
203
  #: lib/interface.php:901
204
  msgid ""
205
  "WARNING: You've chosen no post types to index. Nothing will be indexed. <a "
206
  "href='#indexing'>Choose some post types to index</a>."
207
  msgstr ""
208
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
209
  #: lib/interface.php:1048
210
  msgid ""
211
  "If you enable logs, you can see what your users are searching for. You can "
@@ -216,6 +468,42 @@ msgstr ""
216
  msgid "Logs are also needed to use the 'Did you mean?' feature."
217
  msgstr ""
218
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
219
  #: lib/interface.php:1080
220
  msgid ""
221
  "Enter a comma-separated list of post/page IDs that are excluded from search "
@@ -230,6 +518,217 @@ msgid ""
230
  "does."
231
  msgstr ""
232
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
233
  #: lib/interface.php:1235 lib/interface.php:1290
234
  msgid "no"
235
  msgstr ""
@@ -249,113 +748,260 @@ msgstr ""
249
  msgid "Respect exclude_from_search for custom post types"
250
  msgstr ""
251
 
252
- #: relevanssi.php:321
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
253
  msgid "Tag weight:"
254
  msgstr ""
255
 
256
- #: relevanssi.php:336
257
  msgid "Category weight:"
258
  msgstr ""
259
 
260
- #: relevanssi.php:382
 
 
 
 
 
 
261
  msgid "Go Premium!"
262
  msgstr ""
263
 
264
- #: relevanssi.php:383
265
  #, php-format
266
  msgid ""
267
  "Buy Relevanssi Premium. See <a href=\"%s\">feature comparison</a> and <a "
268
  "href=\"%s\">license prices</a>."
269
  msgstr ""
270
 
271
- #: relevanssi.php:386
272
  msgid "Buy Premium now"
273
  msgstr ""
274
 
275
- #: relevanssi.php:388
276
  #, php-format
277
  msgid "Use the coupon %s to get 20%% off the price (valid through 2017)."
278
  msgstr ""
279
 
280
- #: relevanssi.php:397
281
  msgid "Some Premium features"
282
  msgstr ""
283
 
284
- #: relevanssi.php:401
285
  msgid "With Relevanssi Premium, you would have more options:"
286
  msgstr ""
287
 
288
- #: relevanssi.php:403
289
  msgid ""
290
  "Internal link anchors are search terms for the target posts, if you wish"
291
  msgstr ""
292
 
293
- #: relevanssi.php:404
294
  msgid ""
295
  "Hiding Relevanssi branding from the User Searches page on a client "
296
  "installation"
297
  msgstr ""
298
 
299
- #: relevanssi.php:405
300
  msgid "Adjust weights separately for each post type and taxonomy"
301
  msgstr ""
302
 
303
- #: relevanssi.php:406
304
  msgid "Give extra weight to recent posts"
305
  msgstr ""
306
 
307
- #: relevanssi.php:407
308
  msgid ""
309
  "Make Relevanssi understand thousand separators to handle big numbers better"
310
  msgstr ""
311
 
312
- #: relevanssi.php:408
313
  msgid "Index and search any columns in the wp_posts database"
314
  msgstr ""
315
 
316
- #: relevanssi.php:409
317
  msgid "Index and search user profile pages"
318
  msgstr ""
319
 
320
- #: relevanssi.php:410
321
  msgid "Index and search taxonomy term pages"
322
  msgstr ""
323
 
324
- #: relevanssi.php:411
325
  msgid "Import and export options"
326
  msgstr ""
327
 
328
- #: relevanssi.php:412
329
  msgid "WP CLI commands"
330
  msgstr ""
331
 
332
- #: relevanssi.php:413
333
  msgid "And more!"
334
  msgstr ""
335
 
336
- #: relevanssi.php:424
337
  msgid "Relevanssi on Facebook"
338
  msgstr ""
339
 
340
- #: relevanssi.php:429
341
  #, php-format
342
  msgid ""
343
  "<a href=\"%s\">Check out the Relevanssi page on Facebook</a> for news and "
344
  "updates about Relevanssi."
345
  msgstr ""
346
 
347
- #: relevanssi.php:438
348
  msgid "Help and support"
349
  msgstr ""
350
 
351
- #: relevanssi.php:440
352
  msgid "For Relevanssi support, see:"
353
  msgstr ""
354
 
355
- #: relevanssi.php:441
356
  msgid "WordPress.org forum"
357
  msgstr ""
358
 
359
- #: relevanssi.php:442
360
  msgid "Knowledge base"
361
  msgstr ""
2
  msgstr ""
3
  "Project-Id-Version: Relevanssi\n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2017-05-20 06:02+0300\n"
6
  "PO-Revision-Date: \n"
7
  "Last-Translator: Mikko Saari <mikko@mikkosaari.fi>\n"
8
  "Language-Team: \n"
9
+ "Language: en\n"
10
  "MIME-Version: 1.0\n"
11
  "Content-Type: text/plain; charset=UTF-8\n"
12
  "Content-Transfer-Encoding: 8bit\n"
13
+ "X-Poedit-KeywordsList: __;_e;_x;_n;_ex;_nx;esc_attr__;esc_attr_e;esc_attr_x;"
14
+ "esc_html__;esc_html_e;esc_html_x;_n_noop;_nx_noop;translate_nooped_plural\n"
15
  "X-Poedit-Basepath: .\n"
16
  "X-Generator: Poedit 2.0.1\n"
17
  "X-Poedit-SearchPath-0: .\n"
194
  msgid "Hits"
195
  msgstr ""
196
 
197
+ #: lib/interface.php:874 lib/interface.php:914
198
+ msgid "Basic options"
199
+ msgstr ""
200
+
201
+ #: lib/interface.php:875 lib/interface.php:974
202
+ msgid "Weights"
203
+ msgstr ""
204
+
205
+ #: lib/interface.php:876 lib/interface.php:1029
206
+ msgid "Logs"
207
+ msgstr ""
208
+
209
+ #: lib/interface.php:877 lib/interface.php:1057
210
+ msgid "Exclusions and restrictions"
211
+ msgstr ""
212
+
213
+ #: lib/interface.php:878
214
+ msgid "Custom excerpts"
215
+ msgstr ""
216
+
217
+ #: lib/interface.php:879
218
+ msgid "Highlighting search results"
219
+ msgstr ""
220
+
221
+ #: lib/interface.php:880 lib/interface.php:1208
222
+ msgid "Indexing options"
223
+ msgstr ""
224
+
225
+ #: lib/interface.php:881 lib/interface.php:1368
226
+ msgid "Synonyms"
227
+ msgstr ""
228
+
229
+ #: lib/interface.php:882 lib/interface.php:1378
230
+ msgid "Stopwords"
231
+ msgstr ""
232
+
233
  #: lib/interface.php:885
234
  msgid "Import/export options"
235
  msgstr ""
236
 
237
+ #: lib/interface.php:888 relevanssi.php:380
238
  msgid "Buy Relevanssi Premium"
239
  msgstr ""
240
 
241
+ #: lib/interface.php:893
242
+ msgid "Quick tools"
243
+ msgstr ""
244
+
245
+ #: lib/interface.php:895
246
+ msgid "Save options"
247
+ msgstr ""
248
+
249
+ #: lib/interface.php:896
250
+ msgid "Build the index"
251
+ msgstr ""
252
+
253
+ #: lib/interface.php:897 lib/interface.php:1366
254
+ msgid "Continue indexing"
255
+ msgstr ""
256
+
257
+ #: lib/interface.php:897
258
+ msgid "add"
259
+ msgstr ""
260
+
261
+ #: lib/interface.php:897
262
+ msgid "documents."
263
+ msgstr ""
264
+
265
  #: lib/interface.php:901
266
  msgid ""
267
  "WARNING: You've chosen no post types to index. Nothing will be indexed. <a "
268
  "href='#indexing'>Choose some post types to index</a>."
269
  msgstr ""
270
 
271
+ #: lib/interface.php:905
272
+ msgid ""
273
+ "Use 'Build the index' to build the index with current <a "
274
+ "href='#indexing'>indexing options</a>. If you can't finish indexing with one "
275
+ "go, use 'Continue indexing' to finish the job. You can change the number of "
276
+ "documents to add until you find the largest amount you can add with one go. "
277
+ "See 'State of the Index' below to find out how many documents actually go "
278
+ "into the index."
279
+ msgstr ""
280
+
281
+ #: lib/interface.php:907
282
+ msgid "State of the Index"
283
+ msgstr ""
284
+
285
+ #: lib/interface.php:909
286
+ msgid "Documents in the index"
287
+ msgstr ""
288
+
289
+ #: lib/interface.php:910
290
+ msgid "Terms in the index"
291
+ msgstr ""
292
+
293
+ #: lib/interface.php:911
294
+ msgid "Highest post ID indexed"
295
+ msgstr ""
296
+
297
+ #: lib/interface.php:920
298
+ msgid "Use search for admin:"
299
+ msgstr ""
300
+
301
+ #: lib/interface.php:922
302
+ msgid "If checked, Relevanssi will be used for searches in the admin interface"
303
+ msgstr ""
304
+
305
+ #: lib/interface.php:926
306
+ msgid "Default operator for the search?"
307
+ msgstr ""
308
+
309
+ #: lib/interface.php:928
310
+ msgid "AND - require all terms"
311
+ msgstr ""
312
+
313
+ #: lib/interface.php:929
314
+ msgid "OR - any term present is enough"
315
+ msgstr ""
316
+
317
+ #: lib/interface.php:931
318
+ msgid ""
319
+ "If you choose AND and the search finds no matches, it will automatically do "
320
+ "an OR search."
321
+ msgstr ""
322
+
323
+ #: lib/interface.php:935
324
+ msgid "Disable OR fallback:"
325
+ msgstr ""
326
+
327
+ #: lib/interface.php:937
328
+ msgid ""
329
+ "If you don't want Relevanssi to fall back to OR search when AND search gets "
330
+ "no hits, check this option. For most cases, leave this one unchecked."
331
+ msgstr ""
332
+
333
+ #: lib/interface.php:941
334
+ msgid "Default order for results:"
335
+ msgstr ""
336
+
337
+ #: lib/interface.php:943
338
+ msgid "Relevance (highly recommended)"
339
+ msgstr ""
340
+
341
+ #: lib/interface.php:944
342
+ msgid "Post date"
343
+ msgstr ""
344
+
345
+ #: lib/interface.php:946
346
+ msgid ""
347
+ "If you want date-based results, see the recent post bonus in the Weights "
348
+ "section."
349
+ msgstr ""
350
+
351
+ #: lib/interface.php:950
352
+ msgid "When to use fuzzy matching?"
353
+ msgstr ""
354
+
355
+ #: lib/interface.php:952
356
+ msgid "When straight search gets no hits"
357
+ msgstr ""
358
+
359
+ #: lib/interface.php:953
360
+ msgid "Always"
361
+ msgstr ""
362
+
363
+ #: lib/interface.php:954
364
+ msgid "Don't use fuzzy search"
365
+ msgstr ""
366
+
367
+ #: lib/interface.php:956
368
+ msgid ""
369
+ "Straight search matches just the term. Fuzzy search matches everything that "
370
+ "begins or ends with the search term."
371
+ msgstr ""
372
+
373
+ #: lib/interface.php:964
374
+ msgid "Limit searches:"
375
+ msgstr ""
376
+
377
+ #: lib/interface.php:966
378
+ msgid ""
379
+ "If this option is checked, Relevanssi will limit search results to at most "
380
+ "500 results per term (this number can be adjusted by changing the "
381
+ "'relevanssi_throttle_limit' option). This will improve performance, but may "
382
+ "cause some relevant documents to go unfound. However, Relevanssi tries to "
383
+ "prioritize the most relevant documents. <strong>This does not work when "
384
+ "sorting results by date.</strong> The throttle can end up cutting off recent "
385
+ "posts to favour more relevant posts."
386
+ msgstr ""
387
+
388
+ #: lib/interface.php:976
389
+ msgid ""
390
+ "These values affect the weights of the documents. These are all multipliers, "
391
+ "so 1 means no change in weight, less than 1 means less weight, and more than "
392
+ "1 means more weight. Setting something to zero makes that worthless. For "
393
+ "example, if title weight is more than 1, words in titles are more "
394
+ "significant than words elsewhere. If title weight is 0, words in titles "
395
+ "won't make any difference to the search results."
396
+ msgstr ""
397
+
398
+ #: lib/interface.php:981
399
+ msgid "Element"
400
+ msgstr ""
401
+
402
+ #: lib/interface.php:982
403
+ msgid "Weight"
404
+ msgstr ""
405
+
406
+ #: lib/interface.php:983
407
+ msgid "Default weight"
408
+ msgstr ""
409
+
410
+ #: lib/interface.php:988
411
+ msgid "Post titles"
412
+ msgstr ""
413
+
414
+ #: lib/interface.php:1000
415
+ msgid "Comment text"
416
+ msgstr ""
417
+
418
+ #: lib/interface.php:1021
419
+ msgid "WPML/Polylang compatibility"
420
+ msgstr ""
421
+
422
+ #: lib/interface.php:1023
423
+ msgid "Limit results to current language:"
424
+ msgstr ""
425
+
426
+ #: lib/interface.php:1025
427
+ msgid ""
428
+ "If this option is checked, Relevanssi will only return results in the "
429
+ "current active language. Otherwise results will include posts in every "
430
+ "language."
431
+ msgstr ""
432
+
433
+ #: lib/interface.php:1031
434
+ msgid "Keep a log of user queries:"
435
+ msgstr ""
436
+
437
+ #: lib/interface.php:1033
438
+ msgid ""
439
+ "If checked, Relevanssi will log user queries. The log appears in 'User "
440
+ "searches' on the Dashboard admin menu."
441
+ msgstr ""
442
+
443
+ #: lib/interface.php:1037
444
+ msgid "Log the user's IP with the queries:"
445
+ msgstr ""
446
+
447
+ #: lib/interface.php:1039
448
+ msgid "If checked, Relevanssi will log user's IP-Adress with the queries."
449
+ msgstr ""
450
+
451
+ #: lib/interface.php:1043
452
+ msgid "Don't log queries from these users:"
453
+ msgstr ""
454
+
455
+ #: lib/interface.php:1045
456
+ msgid ""
457
+ "Comma-separated list of numeric user IDs or user login names that will not "
458
+ "be logged."
459
+ msgstr ""
460
+
461
  #: lib/interface.php:1048
462
  msgid ""
463
  "If you enable logs, you can see what your users are searching for. You can "
468
  msgid "Logs are also needed to use the 'Did you mean?' feature."
469
  msgstr ""
470
 
471
+ #: lib/interface.php:1059
472
+ msgid "Restrict search to these categories and tags:"
473
+ msgstr ""
474
+
475
+ #: lib/interface.php:1061
476
+ msgid ""
477
+ "Enter a comma-separated list of category and tag IDs to restrict search to "
478
+ "those categories or tags. You can also use <code>&lt;input type='hidden' "
479
+ "name='cats' value='list of cats and tags' /&gt;</code> in your search form. "
480
+ "The input field will \toverrun this setting."
481
+ msgstr ""
482
+
483
+ #: lib/interface.php:1065
484
+ msgid "Exclude these categories from search:"
485
+ msgstr ""
486
+
487
+ #: lib/interface.php:1067
488
+ msgid ""
489
+ "Enter a comma-separated list of category IDs that are excluded from search "
490
+ "results."
491
+ msgstr ""
492
+
493
+ #: lib/interface.php:1071
494
+ msgid "Exclude these tags from search:"
495
+ msgstr ""
496
+
497
+ #: lib/interface.php:1073
498
+ msgid ""
499
+ "Enter a comma-separated list of tag IDs that are excluded from search "
500
+ "results."
501
+ msgstr ""
502
+
503
+ #: lib/interface.php:1077
504
+ msgid "Exclude these posts/pages from search:"
505
+ msgstr ""
506
+
507
  #: lib/interface.php:1080
508
  msgid ""
509
  "Enter a comma-separated list of post/page IDs that are excluded from search "
518
  "does."
519
  msgstr ""
520
 
521
+ #: lib/interface.php:1089
522
+ msgid "Respect exclude_from_search for custom post types:"
523
+ msgstr ""
524
+
525
+ #: lib/interface.php:1091
526
+ msgid ""
527
+ "If checked, Relevanssi won't display posts of custom post types that have "
528
+ "'exclude_from_search' set to true. If not checked, Relevanssi will display "
529
+ "anything that is indexed."
530
+ msgstr ""
531
+
532
+ #: lib/interface.php:1093
533
+ msgid "Custom excerpts/snippets"
534
+ msgstr ""
535
+
536
+ #: lib/interface.php:1095
537
+ msgid "Create custom search result snippets:"
538
+ msgstr ""
539
+
540
+ #: lib/interface.php:1097
541
+ msgid ""
542
+ "If checked, Relevanssi will create excerpts that contain the search term "
543
+ "hits. To make them work, make sure your search result template uses "
544
+ "the_excerpt() to display post excerpts."
545
+ msgstr ""
546
+
547
+ #: lib/interface.php:1099
548
+ msgid ""
549
+ "Note: Building custom excerpts can be slow. If you are not actually using "
550
+ "the excerpts, make sure you disable the option."
551
+ msgstr ""
552
+
553
+ #: lib/interface.php:1101
554
+ msgid "Length of the snippet:"
555
+ msgstr ""
556
+
557
+ #: lib/interface.php:1104
558
+ msgid "characters"
559
+ msgstr ""
560
+
561
+ #: lib/interface.php:1105
562
+ msgid "words"
563
+ msgstr ""
564
+
565
+ #: lib/interface.php:1107
566
+ msgid "This must be an integer."
567
+ msgstr ""
568
+
569
+ #: lib/interface.php:1111
570
+ msgid "Allowable tags in excerpts:"
571
+ msgstr ""
572
+
573
+ #: lib/interface.php:1114
574
+ msgid ""
575
+ "List all tags you want to allow in excerpts, without any whitespace. For "
576
+ "example: '&lt;p&gt;&lt;a&gt;&lt;strong&gt;'."
577
+ msgstr ""
578
+
579
+ #: lib/interface.php:1118
580
+ msgid "Show breakdown of search hits in excerpts:"
581
+ msgstr ""
582
+
583
+ #: lib/interface.php:1120
584
+ msgid ""
585
+ "Check this to show more information on where the search hits were made. "
586
+ "Requires custom snippets to work."
587
+ msgstr ""
588
+
589
+ #: lib/interface.php:1124
590
+ msgid "The breakdown format:"
591
+ msgstr ""
592
+
593
+ #: lib/interface.php:1126
594
+ msgid ""
595
+ "Use %body%, %title%, %tags% and %comments% to display the number of hits (in "
596
+ "different parts of the post), %total% for total hits, %score% to display the "
597
+ "document weight and %terms% to show how many hits each search term got. No "
598
+ "double quotes (\") allowed!"
599
+ msgstr ""
600
+
601
+ #: lib/interface.php:1128
602
+ msgid "Search hit highlighting"
603
+ msgstr ""
604
+
605
+ #: lib/interface.php:1130
606
+ msgid "First, choose the type of highlighting used:"
607
+ msgstr ""
608
+
609
+ #: lib/interface.php:1133
610
+ msgid "Highlight query terms in search results:"
611
+ msgstr ""
612
+
613
+ #: lib/interface.php:1135
614
+ msgid "No highlighting"
615
+ msgstr ""
616
+
617
+ #: lib/interface.php:1139
618
+ msgid "Text color"
619
+ msgstr ""
620
+
621
+ #: lib/interface.php:1140
622
+ msgid "Background color"
623
+ msgstr ""
624
+
625
+ #: lib/interface.php:1141
626
+ msgid "CSS Style"
627
+ msgstr ""
628
+
629
+ #: lib/interface.php:1142
630
+ msgid "CSS Class"
631
+ msgstr ""
632
+
633
+ #: lib/interface.php:1144
634
+ msgid "Highlighting isn't available unless you use custom snippets"
635
+ msgstr ""
636
+
637
+ #: lib/interface.php:1148
638
+ msgid "Highlight query terms in result titles too:"
639
+ msgstr ""
640
+
641
+ #: lib/interface.php:1150
642
+ msgid ""
643
+ "Highlight hits in titles of the search results. This doesn't work "
644
+ "automatically but requires you to replace the_title() on the template with "
645
+ "relevanssi_the_title()."
646
+ msgstr ""
647
+
648
+ #: lib/interface.php:1154
649
+ msgid "Highlight query terms in documents from local searches:"
650
+ msgstr ""
651
+
652
+ #: lib/interface.php:1156
653
+ msgid ""
654
+ "Highlights hits when user opens the post from search results. This is based "
655
+ "on HTTP referrer, so if that's blocked, there'll be no highlights."
656
+ msgstr ""
657
+
658
+ #: lib/interface.php:1162
659
+ msgid "Highlight query terms in comments:"
660
+ msgstr ""
661
+
662
+ #: lib/interface.php:1164
663
+ msgid ""
664
+ "Highlights hits in comments when user opens the post from search results."
665
+ msgstr ""
666
+
667
+ #: lib/interface.php:1168
668
+ msgid "Uncheck this if you use non-ASCII characters:"
669
+ msgstr ""
670
+
671
+ #: lib/interface.php:1170
672
+ msgid ""
673
+ "If you use non-ASCII characters (like Cyrillic alphabet) and the highlights "
674
+ "don't work, uncheck this option to make highlights work."
675
+ msgstr ""
676
+
677
+ #: lib/interface.php:1175
678
+ msgid "Then adjust the settings for your chosen type:"
679
+ msgstr ""
680
+
681
+ #: lib/interface.php:1179
682
+ msgid "Text color for highlights:"
683
+ msgstr ""
684
+
685
+ #: lib/interface.php:1181 lib/interface.php:1187
686
+ msgid "Use HTML color codes (#rgb or #rrggbb)"
687
+ msgstr ""
688
+
689
+ #: lib/interface.php:1185
690
+ msgid "Background color for highlights:"
691
+ msgstr ""
692
+
693
+ #: lib/interface.php:1191
694
+ msgid "CSS style for highlights:"
695
+ msgstr ""
696
+
697
+ #: lib/interface.php:1193
698
+ msgid ""
699
+ "You can use any CSS styling here, style will be inserted with a &lt;span&gt;"
700
+ msgstr ""
701
+
702
+ #: lib/interface.php:1197
703
+ msgid "CSS class for highlights:"
704
+ msgstr ""
705
+
706
+ #: lib/interface.php:1199
707
+ msgid ""
708
+ "Name a class here, search results will be wrapped in a &lt;span&gt; with the "
709
+ "class"
710
+ msgstr ""
711
+
712
+ #: lib/interface.php:1206 lib/interface.php:1376
713
+ msgid "Save the options"
714
+ msgstr ""
715
+
716
+ #: lib/interface.php:1210
717
+ msgid "Choose post types to index:"
718
+ msgstr ""
719
+
720
+ #: lib/interface.php:1215
721
+ msgid "Type"
722
+ msgstr ""
723
+
724
+ #: lib/interface.php:1216 lib/interface.php:1274
725
+ msgid "Index"
726
+ msgstr ""
727
+
728
+ #: lib/interface.php:1217
729
+ msgid "Excluded from search?"
730
+ msgstr ""
731
+
732
  #: lib/interface.php:1235 lib/interface.php:1290
733
  msgid "no"
734
  msgstr ""
748
  msgid "Respect exclude_from_search for custom post types"
749
  msgstr ""
750
 
751
+ #: lib/interface.php:1268
752
+ msgid "Choose taxonomies to index:"
753
+ msgstr ""
754
+
755
+ #: lib/interface.php:1273
756
+ msgid "Taxonomy"
757
+ msgstr ""
758
+
759
+ #: lib/interface.php:1275
760
+ msgid "Public?"
761
+ msgstr ""
762
+
763
+ #: lib/interface.php:1310
764
+ msgid ""
765
+ "If you check a taxonomy here, the terms for that taxonomy are indexed with "
766
+ "the posts. If you for example choose \"post_tag\", searching for tags will "
767
+ "find all posts that have the tag."
768
+ msgstr ""
769
+
770
+ #: lib/interface.php:1314
771
+ msgid "Minimum word length to index"
772
+ msgstr ""
773
+
774
+ #: lib/interface.php:1316
775
+ msgid "Words shorter than this number will not be indexed."
776
+ msgstr ""
777
+
778
+ #: lib/interface.php:1322
779
+ msgid "Expand shortcodes in post content:"
780
+ msgstr ""
781
+
782
+ #: lib/interface.php:1324
783
+ msgid ""
784
+ "If checked, Relevanssi will expand shortcodes in post content before "
785
+ "indexing. Otherwise shortcodes will be stripped. If you use shortcodes to "
786
+ "include dynamic content, Relevanssi will not keep the index updated, the "
787
+ "index will reflect the status of the shortcode content at the moment of "
788
+ "indexing."
789
+ msgstr ""
790
+
791
+ #: lib/interface.php:1330
792
+ msgid "Index and search your posts' authors:"
793
+ msgstr ""
794
+
795
+ #: lib/interface.php:1332
796
+ msgid ""
797
+ "If checked, Relevanssi will also index and search the authors of your posts. "
798
+ "Author display name will be indexed. Remember to rebuild the index if you "
799
+ "change this option!"
800
+ msgstr ""
801
+
802
+ #: lib/interface.php:1336
803
+ msgid "Index and search post excerpts:"
804
+ msgstr ""
805
+
806
+ #: lib/interface.php:1338
807
+ msgid ""
808
+ "If checked, Relevanssi will also index and search the excerpts of your posts."
809
+ "Remember to rebuild the index if you change this option!"
810
+ msgstr ""
811
+
812
+ #: lib/interface.php:1342
813
+ msgid "Index and search these comments:"
814
+ msgstr ""
815
+
816
+ #: lib/interface.php:1344
817
+ msgid "none"
818
+ msgstr ""
819
+
820
+ #: lib/interface.php:1345
821
+ msgid "normal"
822
+ msgstr ""
823
+
824
+ #: lib/interface.php:1346
825
+ msgid "all"
826
+ msgstr ""
827
+
828
+ #: lib/interface.php:1348
829
+ msgid ""
830
+ "Relevanssi will index and search ALL (all comments including track- &amp; "
831
+ "pingbacks and custom comment types), NONE (no comments) or NORMAL (manually "
832
+ "posted comments on your blog).<br />Remember to rebuild the index if you "
833
+ "change this option!"
834
+ msgstr ""
835
+
836
+ #: lib/interface.php:1352
837
+ msgid "Custom fields to index:"
838
+ msgstr ""
839
+
840
+ #: lib/interface.php:1354
841
+ msgid ""
842
+ "A comma-separated list of custom fields to include in the index. Set to "
843
+ "'visible' to index all visible custom fields and to 'all' to index all "
844
+ "custom fields, also those starting with a '_' character."
845
+ msgstr ""
846
+
847
+ #: lib/interface.php:1364
848
+ msgid "Save indexing options, erase index and rebuild the index"
849
+ msgstr ""
850
+
851
+ #: lib/interface.php:1372
852
+ msgid ""
853
+ "Add synonyms here in 'key = value' format. When searching with the OR "
854
+ "operator, any search of 'key' will be expanded to include 'value' as well. "
855
+ "Using phrases is possible. The key-value pairs work in one direction only, "
856
+ "but you can of course repeat the same pair reversed."
857
+ msgstr ""
858
+
859
+ #: lib/interface.php:1398
860
+ msgid ""
861
+ "Enter a word here to add it to the list of stopwords. The word will "
862
+ "automatically be removed from the index, so re-indexing is not necessary. "
863
+ "You can enter many words at the same time, separate words with commas."
864
+ msgstr ""
865
+
866
+ #: lib/interface.php:1401
867
+ msgid "Stopword(s) to add: "
868
+ msgstr ""
869
+
870
+ #: lib/interface.php:1402
871
+ msgid "Add"
872
+ msgstr ""
873
+
874
+ #: lib/interface.php:1405
875
+ msgid ""
876
+ "Here's a list of stopwords in the database. Click a word to remove it from "
877
+ "stopwords. Removing stopwords won't automatically return them to index, so "
878
+ "you need to re-index all posts after removing stopwords to get those words "
879
+ "back to index."
880
+ msgstr ""
881
+
882
+ #: lib/interface.php:1431
883
+ msgid "Remove all stopwords"
884
+ msgstr ""
885
+
886
+ #: lib/interface.php:1437
887
+ msgid ""
888
+ "Here's a list of stopwords you can use to export the stopwords to another "
889
+ "blog."
890
+ msgstr ""
891
+
892
+ #: relevanssi.php:327
893
  msgid "Tag weight:"
894
  msgstr ""
895
 
896
+ #: relevanssi.php:342
897
  msgid "Category weight:"
898
  msgstr ""
899
 
900
+ #: relevanssi.php:385
901
+ msgid ""
902
+ "Do you want more features? Support Relevanssi development? Get a better "
903
+ "search experience for your users?"
904
+ msgstr ""
905
+
906
+ #: relevanssi.php:388
907
  msgid "Go Premium!"
908
  msgstr ""
909
 
910
+ #: relevanssi.php:389
911
  #, php-format
912
  msgid ""
913
  "Buy Relevanssi Premium. See <a href=\"%s\">feature comparison</a> and <a "
914
  "href=\"%s\">license prices</a>."
915
  msgstr ""
916
 
917
+ #: relevanssi.php:392
918
  msgid "Buy Premium now"
919
  msgstr ""
920
 
921
+ #: relevanssi.php:394
922
  #, php-format
923
  msgid "Use the coupon %s to get 20%% off the price (valid through 2017)."
924
  msgstr ""
925
 
926
+ #: relevanssi.php:403
927
  msgid "Some Premium features"
928
  msgstr ""
929
 
930
+ #: relevanssi.php:407
931
  msgid "With Relevanssi Premium, you would have more options:"
932
  msgstr ""
933
 
934
+ #: relevanssi.php:409
935
  msgid ""
936
  "Internal link anchors are search terms for the target posts, if you wish"
937
  msgstr ""
938
 
939
+ #: relevanssi.php:410
940
  msgid ""
941
  "Hiding Relevanssi branding from the User Searches page on a client "
942
  "installation"
943
  msgstr ""
944
 
945
+ #: relevanssi.php:411
946
  msgid "Adjust weights separately for each post type and taxonomy"
947
  msgstr ""
948
 
949
+ #: relevanssi.php:412
950
  msgid "Give extra weight to recent posts"
951
  msgstr ""
952
 
953
+ #: relevanssi.php:413
954
  msgid ""
955
  "Make Relevanssi understand thousand separators to handle big numbers better"
956
  msgstr ""
957
 
958
+ #: relevanssi.php:414
959
  msgid "Index and search any columns in the wp_posts database"
960
  msgstr ""
961
 
962
+ #: relevanssi.php:415
963
  msgid "Index and search user profile pages"
964
  msgstr ""
965
 
966
+ #: relevanssi.php:416
967
  msgid "Index and search taxonomy term pages"
968
  msgstr ""
969
 
970
+ #: relevanssi.php:417
971
  msgid "Import and export options"
972
  msgstr ""
973
 
974
+ #: relevanssi.php:418
975
  msgid "WP CLI commands"
976
  msgstr ""
977
 
978
+ #: relevanssi.php:419
979
  msgid "And more!"
980
  msgstr ""
981
 
982
+ #: relevanssi.php:430
983
  msgid "Relevanssi on Facebook"
984
  msgstr ""
985
 
986
+ #: relevanssi.php:435
987
  #, php-format
988
  msgid ""
989
  "<a href=\"%s\">Check out the Relevanssi page on Facebook</a> for news and "
990
  "updates about Relevanssi."
991
  msgstr ""
992
 
993
+ #: relevanssi.php:444
994
  msgid "Help and support"
995
  msgstr ""
996
 
997
+ #: relevanssi.php:446
998
  msgid "For Relevanssi support, see:"
999
  msgstr ""
1000
 
1001
+ #: relevanssi.php:447
1002
  msgid "WordPress.org forum"
1003
  msgstr ""
1004
 
1005
+ #: relevanssi.php:448
1006
  msgid "Knowledge base"
1007
  msgstr ""