Relevanssi – A Better Search - Version 4.0

Version Description

  • Legacy code has been removed. If you have a version older than 3.6, update first to 3.6.2.2 to guarantee smooth upgrade process.
  • Improved indexing: no more clicking "Continue indexing" again and again!
  • Settings pages have been completely rewritten.
  • There's documentation in the WordPress contextual help: just click Help on the top right corner.
  • Better Polylang support. A new option to remove the Polylang language filter.
  • Logs can be automatically trimmed. Old log entries are removed to save space.
  • Finally a setting to adjust content weight!
  • Excerpts can use the custom field content.
  • Highlighting in documents is changed: it now requires a highlight query parameter. This helps getting pass caching and makes the highlighting more reliable. To get the query parameter active, use relevanssi_get_permalink() to print out the permalinks on the search results templates.
  • Relevanssi added synonyms to highlighting even if synonyms were not used for searching. In some cases, synonyms were added twice.
  • The User Searches page got a makeover, too.
  • Relevanssi is automatically disabled in REST API searches.
  • Groups and Simple Membership support has been improved.
  • Sorting search results is now up to 300 times faster than before.
  • Lots of improvements all over the place.
  • New filter: relevanssi_excerpt_custom_field_content lets you modify custom field content that is used for excerpts.
  • New filter: relevanssi_punctuation_filter allows for easy modification of punctuation handling.
  • New filter: relevanssi_default_punctuation_replacement changes the default way to handle the rest of the punctuation.
  • New filter: relevanssi_search_again lets you run the search again if no results are found and to modify the parameters between search runs.
  • New filter: relevanssi_fallback allows you to do fallback searches.
  • New filter: relevanssi_page_builder_shortcodes lets you control which page builder shortcodes Relevanssi removes before building the excerpts.
  • New filter: relevanssi_optimize_excerpts makes excerpt-building faster, if you make the filter return true.
Download this release

Release Info

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

Code changes from version 3.6.2.2 to 4.0

facebooklogo.jpg DELETED
Binary file
languages/relevanssi-fr_CA.mo ADDED
Binary file
languages/relevanssi-fr_CA.po ADDED
@@ -0,0 +1,1589 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: Relevanssi v1.4\n"
4
+ "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2017-03-14 02:12+0000\n"
6
+ "PO-Revision-Date: 2017-03-14 03:52+0000\n"
7
+ "Last-Translator: Charles St-Pierre <parlez@charlesstpierre.com>\n"
8
+ "Language-Team: French (Canada)\n"
9
+ "Language: fr-CA\n"
10
+ "MIME-Version: 1.0\n"
11
+ "Content-Type: text/plain; charset=UTF-8\n"
12
+ "Content-Transfer-Encoding: 8bit\n"
13
+ "Plural-Forms: nplurals=2; plural=n > 1\n"
14
+ "X-Poedit-SourceCharset: utf-8\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: Loco - https://localise.biz/\n"
19
+ "X-Poedit-SearchPath-0: ."
20
+
21
+ #: relevanssi.php:1389
22
+ msgid "Options updated!"
23
+ msgstr "Options mises à jour!"
24
+
25
+ #: relevanssi.php:1455
26
+ msgid "Change API key:"
27
+ msgstr "Changer la clé d’API"
28
+
29
+ #: relevanssi.php:1457
30
+ msgid ""
31
+ "API key is required to use the automatic update feature. Get yours from "
32
+ "Relevanssi.com."
33
+ msgstr ""
34
+ "Une clé d’API est nécessaire pour utiliser la mise à jour automatique. "
35
+ "Obtenez la vôtre sur Relevanssi.com"
36
+
37
+ #: relevanssi.php:1479
38
+ msgid "Hide Relevanssi on edit pages:"
39
+ msgstr "Cacher les options de Relevanssi dans les pages d’édition:"
40
+
41
+ #: relevanssi.php:1481
42
+ msgid ""
43
+ "If you check this option, all Relevanssi features are removed from edit "
44
+ "pages."
45
+ msgstr ""
46
+ "Si vous cochez cette option, toutes les fonctionnalités de Relevanssi sont "
47
+ "supprimées des pages d'édition."
48
+
49
+ #: relevanssi.php:1490
50
+ msgid "Internal links"
51
+ msgstr "Liens internes"
52
+
53
+ #: relevanssi.php:1513
54
+ #, php-format
55
+ msgid "Post type '%s':"
56
+ msgstr "Type de contenu «%s»:"
57
+
58
+ #: relevanssi.php:1541
59
+ #, php-format
60
+ msgid "Taxonomy '%s':"
61
+ msgstr "Taxonomie «%s»:"
62
+
63
+ #: relevanssi.php:1559
64
+ msgid "Weight multiplier for new posts:"
65
+ msgstr "Multiplicateur de poids pour les nouveaux messages:"
66
+
67
+ #: relevanssi.php:1561
68
+ msgid "Assign bonus for posts newer than:"
69
+ msgstr "Attribuer un bonus pour les posts plus récents que:"
70
+
71
+ #: relevanssi.php:1562
72
+ msgid "days"
73
+ msgstr "jours"
74
+
75
+ #: relevanssi.php:1563
76
+ msgid ""
77
+ "Posts newer than the day cutoff specified here will have their weight "
78
+ "multiplied with the bonus above."
79
+ msgstr ""
80
+ "Les postes plus récents que la limite de jours indiquée ici auront leur "
81
+ "poids multiplié par le bonus ci-dessus."
82
+
83
+ #: relevanssi.php:1569
84
+ msgid "Don't show Relevanssi branding on the 'User Searches' screen:"
85
+ msgstr ""
86
+ "Ne pas afficher l’image de marque de Relevanssi sur l’écran «Recherches "
87
+ "utilisateur»:"
88
+
89
+ #: relevanssi.php:1578
90
+ msgid ""
91
+ "Highlights hits when user arrives from external search. Currently supports "
92
+ "Bing, Ask, Yahoo and AOL Search."
93
+ msgstr ""
94
+ "Points forts lorsque l’utilisateur arrive de la recherche externe. Soutient "
95
+ "actuellement Bing, Ask, Yahoo et AOL Search."
96
+
97
+ #: relevanssi.php:1586
98
+ msgid "Thousands separator"
99
+ msgstr "Séparateur des milliers"
100
+
101
+ #: relevanssi.php:1588
102
+ msgid ""
103
+ "If Relevanssi sees this character between numbers, it'll stick the numbers "
104
+ "together no matter how the character would otherwise be handled. Especially "
105
+ "useful if a space is used as a thousands separator."
106
+ msgstr ""
107
+ "Si Relevanssi voit ce caractère entre les nombres, il collera les nombres "
108
+ "ensemble, peu importe comment le personnage serait sinon manipulé. "
109
+ "Particulièrement utile si un espace est utilisé comme un séparateur de "
110
+ "milliers."
111
+
112
+ #: relevanssi.php:1596
113
+ msgid "Disable these shortcodes"
114
+ msgstr "Désactiver les shortcodes"
115
+
116
+ #: relevanssi.php:1598
117
+ msgid ""
118
+ "These shortcodes will not be expanded if expand shortcodes above is enabled. "
119
+ "This is useful if a particular shortcode is causing problems in indexing."
120
+ msgstr ""
121
+ "Ces shortcodes ne seront pas étendus si les shortcodes d’extension ci-dessus "
122
+ "sont activés. Cela est utile si un shortcode particulier provoque des "
123
+ "problèmes lors de l’indexation."
124
+
125
+ #: relevanssi.php:1614
126
+ msgid "Custom MySQL columns to index:"
127
+ msgstr "Colonnes MySQL personnalisées à indexer:"
128
+
129
+ #: relevanssi.php:1616
130
+ msgid ""
131
+ "A comma-separated list of wp_posts MySQL table columns to include in the "
132
+ "index. Following columns are available: "
133
+ msgstr ""
134
+ "Une liste séparée par des virgules deColonnes de table MySQL wp_posts à "
135
+ "inclure dans l’index. Les colonnes suivantes sont disponibles:"
136
+
137
+ #: relevanssi.php:1636
138
+ msgid "Extra user fields to index:"
139
+ msgstr "Champs d’utilisateurs supplémentaires à indexer:"
140
+
141
+ #: relevanssi.php:1638
142
+ msgid ""
143
+ "A comma-separated list of user profile field names (names of the database "
144
+ "columns) to include in the index."
145
+ msgstr ""
146
+ "Une liste séparée par des virgules des noms de champs de profil utilisateur "
147
+ "(noms des colonnes de la base de données) à inclure dans l’index."
148
+
149
+ #: relevanssi.php:1646
150
+ msgid "Index synonyms:"
151
+ msgstr "Index des synonymes:"
152
+
153
+ #: relevanssi.php:1648
154
+ msgid ""
155
+ "If checked, Relevanssi will use the synonyms in indexing. If you add "
156
+ "'apple=pear' to the synonym list and enable this feature, every time the "
157
+ "indexer sees 'pear' it will index it both as 'apple' and as 'pear'. Thus, "
158
+ "the post will be found when searching with either word. This makes it "
159
+ "possible to use synonyms with AND searches, but will slow down indexing, "
160
+ "especially with large databases and large lists of synonyms. This only works "
161
+ "for post titles and post content. You can use multi-word keys and values, "
162
+ "but phrases do not work."
163
+ msgstr ""
164
+ "Si cette case est cochée, Relevanssi utilisera les synonymes dans "
165
+ "l’indexation. Si vous ajoutez «pomme = poire» à la liste des synonymes et "
166
+ "activez cette fonctionnalité, chaque fois que l’indexeur verra «poire», il "
167
+ "l’indexera à la fois comme «pomme» et «poire». Ainsi, l’article sera trouvé "
168
+ "lors de la recherche avec l’un des deux mots. Cela permet d’utiliser des "
169
+ "synonymes avec les recherches AND, mais ralentit l’indexation, en "
170
+ "particulier avec de grandes bases de données et de grandes listes de "
171
+ "synonymes. Cela ne fonctionne que pour les titres et le contenu. Vous pouvez "
172
+ "utiliser des clés et des valeurs multi-mots, mais les phrases ne "
173
+ "fonctionnent pas."
174
+
175
+ #: relevanssi.php:1656
176
+ msgid "Index and search taxonomy pages:"
177
+ msgstr "Indexer les pages de taxonomie"
178
+
179
+ #: relevanssi.php:1658
180
+ msgid ""
181
+ "If checked, Relevanssi will also index and search taxonomy pages (categories,"
182
+ " tags, custom taxonomies)."
183
+ msgstr ""
184
+ "Si cette option est cochée, Relevanssi indexera et cherchera également les "
185
+ "pages de taxonomie (catégories, étiquettes, taxonomies personnalisées)."
186
+
187
+ #: relevanssi.php:1662
188
+ msgid ""
189
+ "Choose taxonomies to index – for these taxonomies, the terms are included in "
190
+ "search results:"
191
+ msgstr ""
192
+ "Choisissez les taxonomies à indexer - pour ces taxonomies, les termes sont "
193
+ "inclus dans les résultats de la recherche:"
194
+
195
+ #: relevanssi.php:1667 lib/interface.php:1233
196
+ msgid "Taxonomy"
197
+ msgstr "Taxonomie"
198
+
199
+ #: relevanssi.php:1668 lib/interface.php:1188 lib/interface.php:1234
200
+ msgid "Index"
201
+ msgstr "Index"
202
+
203
+ #: relevanssi.php:1669 lib/interface.php:1189 lib/interface.php:1235
204
+ msgid "Public?"
205
+ msgstr "Public?"
206
+
207
+ #: relevanssi.php:1683 lib/interface.php:1206 lib/interface.php:1249
208
+ #, php-format
209
+ msgid "%s"
210
+ msgstr "%s"
211
+
212
+ #: relevanssi.php:1684 lib/interface.php:1207 lib/interface.php:1250
213
+ msgid "yes"
214
+ msgstr "Oui"
215
+
216
+ #: relevanssi.php:1684 lib/interface.php:1207 lib/interface.php:1250
217
+ msgid "no"
218
+ msgstr "Non"
219
+
220
+ #: relevanssi.php:1704
221
+ msgid ""
222
+ "If you check a taxonomy here, the terms in that taxonomy will be indexed and "
223
+ "will appear as itself in the search results."
224
+ msgstr ""
225
+ "Si vous vérifiez une taxonomie ici, les termes de cette taxonomie seront "
226
+ "indexés et apparaîtront comme eux-mêmes dans les résultats de la recherche."
227
+
228
+ #: relevanssi.php:1712
229
+ msgid "Import or export options"
230
+ msgstr "Importer ou exporter les options"
231
+
232
+ #: relevanssi.php:1714
233
+ msgid ""
234
+ "Here you find the current Relevanssi Premium options in a text format. Copy "
235
+ "the contents of the text field to make a backup of your settings. You can "
236
+ "also paste new settings here to change all settings at the same time. This "
237
+ "is useful if you have default settings you want to use on every system."
238
+ msgstr ""
239
+ "Vous trouverez ici les options actuelles de Relevanssi Premium en format "
240
+ "texte. Copiez le contenu du champ de texte pour effectuer une sauvegarde de "
241
+ "vos paramètres. Vous pouvez également coller de nouveaux paramètres ici pour "
242
+ "modifier tous les paramètres en même temps. Ceci est utile si vous avez des "
243
+ "paramètres par défaut que vous souhaitez utiliser sur chaque système."
244
+
245
+ #: relevanssi.php:1718
246
+ msgid "Import settings"
247
+ msgstr "Importer les réglages"
248
+
249
+ #: relevanssi.php:1720
250
+ msgid ""
251
+ "Note! Make sure you've got correct settings from a right version of "
252
+ "Relevanssi. Settings from a different version of Relevanssi may or may not "
253
+ "work and may or may not mess your settings."
254
+ msgstr ""
255
+ "Remarque! Assurez-vous d’avoir les paramètres corrects à partir d’une "
256
+ "version correcte de Relevanssi. Les paramètres d’une version différente de "
257
+ "Relevanssi peuvent ou non fonctionner et peuvent ou non gâcher vos "
258
+ "paramètres."
259
+
260
+ #: relevanssi.php:1739
261
+ msgid "Thank you!"
262
+ msgstr "Merci!"
263
+
264
+ #: relevanssi.php:1740
265
+ msgid ""
266
+ "Thank you for buying Relevanssi Premium! Your support makes it possible for "
267
+ "me to keep working on this plugin."
268
+ msgstr ""
269
+ "Merci d’avoir acheté Relevanssi Premium! Votre soutien me permet de "
270
+ "continuer à travailler sur ce plugin."
271
+
272
+ #: relevanssi.php:1743
273
+ msgid "Relevanssi on Facebook"
274
+ msgstr "Relevanssi sur Facebook"
275
+
276
+ #: relevanssi.php:1744
277
+ msgid "Check out the Relevanssi page on Facebook"
278
+ msgstr "Consultez la page Relevanssi sur Facebook"
279
+
280
+ #: relevanssi.php:1745
281
+ msgid "for news and updates about your favourite plugin."
282
+ msgstr ""
283
+ "pour des nouvelles et des mises à jour au sujet de votre extension préférée."
284
+
285
+ #: relevanssi.php:1747
286
+ msgid "Help and support"
287
+ msgstr "Aide et support"
288
+
289
+ #: relevanssi.php:1748
290
+ msgid "For Relevanssi support, see:"
291
+ msgstr "Pour le support Relevanssi ,voir:"
292
+
293
+ #: relevanssi.php:1749
294
+ msgid "Plugin support page"
295
+ msgstr "Page de support de l’extension"
296
+
297
+ #: relevanssi.php:1750
298
+ msgid "WordPress.org forum"
299
+ msgstr "Forum WordPress.org"
300
+
301
+ #: relevanssi.php:1752
302
+ msgid "Did you know this feature?"
303
+ msgstr "Connaissez-vous cette fonctionnalité?"
304
+
305
+ #: relevanssi.php:1753
306
+ msgid ""
307
+ "Wrap the parts of the posts you don't want to include in the index in "
308
+ "[noindex] shortcode."
309
+ msgstr ""
310
+ "Enveloppez les parties d’articles que vous ne souhaitez pas inclure dans "
311
+ "l’index dans [noindex] shortcode."
312
+
313
+ #: relevanssi.php:1754
314
+ msgid "Use the [search] shortcode to build easy links to search results."
315
+ msgstr ""
316
+ "Utilisez le shortcode [search] pour créer des liens faciles aux résultats de "
317
+ "la recherche."
318
+
319
+ #: relevanssi.php:1755
320
+ msgid ""
321
+ "Enable the English-language stemmer by adding this line in your functions."
322
+ "php:"
323
+ msgstr ""
324
+ "Activez la version anglaise en ajoutant cette ligne dans votre fichier "
325
+ "functions.php:"
326
+
327
+ #: relevanssi.php:1756
328
+ msgid "Boolean NOT"
329
+ msgstr "Booléan NOT"
330
+
331
+ #: relevanssi.php:1757
332
+ msgid "To get results without particular word, use the minus operator"
333
+ msgstr ""
334
+ "Pour obtenir des résultats sans mot particulier, utilisez l'opérateur moins"
335
+
336
+ #: relevanssi.php:1758
337
+ msgid "cats -dogs"
338
+ msgstr "chats -chiens"
339
+
340
+ #: relevanssi.php:1759
341
+ msgid "Boolean AND"
342
+ msgstr "Booléan AND"
343
+
344
+ #: relevanssi.php:1760
345
+ msgid "To force a particular term in an OR search, use the plus operator"
346
+ msgstr ""
347
+ "Pour forcer un terme particulier dans une recherche OU, utilisez l'opérateur "
348
+ "plus"
349
+
350
+ #: relevanssi.php:1761
351
+ msgid "+cats dogs mice"
352
+ msgstr "+chats chiens souris"
353
+
354
+ #: relevanssi.php:1762
355
+ msgid ""
356
+ "would require that all results include the term 'cats', and results "
357
+ "including all three terms will be favoured. The plus operator has no effect "
358
+ "in an AND search, where all terms have an implicit + before them."
359
+ msgstr ""
360
+ "exigerait que tous les résultats comprennent le terme «chats», et les "
361
+ "résultats incluant les trois termes seront favorisés. L’opérateur positif "
362
+ "n’a aucun effet dans une recherche ET, où tous les termes ont implicitement "
363
+ "+ devant eux."
364
+
365
+ #: relevanssi.php:1846
366
+ msgid "Relevanssi post controls"
367
+ msgstr "Contrôle de post Relevanssi"
368
+
369
+ #: relevanssi.php:1864
370
+ msgid "Exclude this post or page from the index."
371
+ msgstr "Exclure ce post ou cette page de l’index."
372
+
373
+ #: relevanssi.php:1867
374
+ msgid "Pin this post"
375
+ msgstr "Épingler ce post"
376
+
377
+ #: lib/init.php:41
378
+ msgid ""
379
+ "You do not have an index! Remember to build the index (click the \"Build the "
380
+ "index\" button), otherwise searching won't work."
381
+ msgstr ""
382
+ "Vous n’avez pas d’index! N’oubliez pas de créer l’index (cliquez sur le "
383
+ "bouton \"Construire l’index\"), sinon la recherche ne fonctionnera pas."
384
+
385
+ #: lib/init.php:57
386
+ msgid ""
387
+ "Multibyte string functions are not available. Relevanssi may not work well "
388
+ "without them. Please install (or ask your host to install) the mbstring "
389
+ "extension."
390
+ msgstr ""
391
+ "Les fonctions de chaînes multi-octets ne sont pas disponibles. Relevanssi "
392
+ "peut ne pas fonctionner bien sans eux. Veuillez installer (ou demander à "
393
+ "votre hôte d’installer) l’extension mbstring."
394
+
395
+ #: lib/init.php:85 lib/init.php:86
396
+ msgid "User searches"
397
+ msgstr "Recherche d’utilisateurs"
398
+
399
+ #: lib/interface.php:9
400
+ msgid "Relevanssi Search Options"
401
+ msgstr "Options de recherche Relevanssi"
402
+
403
+ #: lib/interface.php:81
404
+ msgid "User Searches"
405
+ msgstr "Recherche des utilisateurs"
406
+
407
+ #: lib/interface.php:111
408
+ msgid "Enable query logging to see stats here."
409
+ msgstr "Activez l’enregistrement des requêtes pour voir les statistiques ici."
410
+
411
+ #: lib/interface.php:126
412
+ msgid "Logs clear!"
413
+ msgstr "Les journaux sont nettoyés!"
414
+
415
+ #: lib/interface.php:430
416
+ msgid "Total Searches"
417
+ msgstr "Total des recherches"
418
+
419
+ #: lib/interface.php:433
420
+ msgid "Totals"
421
+ msgstr "Totals"
422
+
423
+ #: lib/interface.php:438
424
+ msgid "Common Queries"
425
+ msgstr "Requêtes fréquentes"
426
+
427
+ #: lib/interface.php:459
428
+ msgid "Unsuccessful Queries"
429
+ msgstr "Requêtes infructueuses"
430
+
431
+ #: lib/interface.php:477
432
+ msgid "Reset Logs"
433
+ msgstr "Réinitialiser les journaux"
434
+
435
+ #: lib/interface.php:480
436
+ #, php-format
437
+ msgid "To reset the logs, type \"reset\" into the box here %s and click %s"
438
+ msgstr ""
439
+ "Pour réinitialiser les journaux, tapez «reset» dans la case %s et cliquez "
440
+ "sur %s"
441
+
442
+ #: lib/interface.php:497
443
+ msgid "Forever"
444
+ msgstr "Toujours"
445
+
446
+ #: lib/interface.php:499
447
+ msgid "When"
448
+ msgstr "Quand"
449
+
450
+ #: lib/interface.php:499
451
+ msgid "Searches"
452
+ msgstr "Recherches"
453
+
454
+ #: lib/interface.php:529
455
+ msgid "Query"
456
+ msgstr "Requête"
457
+
458
+ #: lib/interface.php:529
459
+ msgid "Hits"
460
+ msgstr "Hits"
461
+
462
+ #: lib/interface.php:839 lib/interface.php:944
463
+ msgid "Weights"
464
+ msgstr "Poids"
465
+
466
+ #: lib/interface.php:849
467
+ msgid "Import/export options"
468
+ msgstr "Importer/Exporter les options"
469
+
470
+ #: lib/interface.php:852
471
+ msgid "Buy Relevanssi Premium"
472
+ msgstr "Acheter Relevanssi Premium"
473
+
474
+ #: lib/interface.php:865
475
+ msgid ""
476
+ "WARNING: You've chosen no post types to index. Nothing will be indexed. <a "
477
+ "href='#indexing'>Choose some post types to index</a>."
478
+ msgstr ""
479
+ "AVERTISSEMENT: Vous n’avez sélectionné aucun type de publication à indexer. "
480
+ "Rien ne sera indexé. <a href='#indexing'> Choisissez quelques types de "
481
+ "publication à indexer </a>."
482
+
483
+ #: lib/interface.php:874
484
+ msgid "Terms in the index"
485
+ msgstr "Termes dans l’index"
486
+
487
+ #: lib/interface.php:905
488
+ msgid "Default order for results:"
489
+ msgstr "Ordre par défaut des résultats:"
490
+
491
+ #: lib/interface.php:907
492
+ msgid "Relevance (highly recommended)"
493
+ msgstr "Pertinence (fortement recommandé)"
494
+
495
+ #: lib/interface.php:908
496
+ msgid "Post date"
497
+ msgstr "Date de publication"
498
+
499
+ #: lib/interface.php:910
500
+ msgid ""
501
+ "If you want date-based results, see the recent post bonus in the Weights "
502
+ "section."
503
+ msgstr ""
504
+ "Si vous souhaitez obtenir des résultats basés sur la date, consultez le "
505
+ "bonus de post récent dans la section Poids."
506
+
507
+ #: lib/interface.php:930
508
+ msgid ""
509
+ "If this option is checked, Relevanssi will limit search results to at most "
510
+ "500 results per term. This will improve performance, but may cause some "
511
+ "relevant documents to go unfound. However, Relevanssi tries to prioritize "
512
+ "the most relevant documents. <strong>This does not work well when sorting "
513
+ "results by date.</strong> The throttle can end up cutting off recent posts "
514
+ "to favour more relevant posts."
515
+ msgstr ""
516
+ "Si cette option est cochée, Relevanssi limitera les résultats de la "
517
+ "recherche à au plus 500 résultats par trimestre. Cela permettra d’améliorer "
518
+ "les performances, mais peut entraîner certains documents pertinents à aller "
519
+ "sans fondement. Cependant, Relevanssi essaie de donner la priorité aux "
520
+ "documents les plus pertinents. <strong>Cela ne fonctionne pas bien lors du "
521
+ "tri des résultats par date.</strong> L’accélérateur peut finir par couper "
522
+ "les articles récents pour favoriser des articles plus pertinents."
523
+
524
+ #: lib/interface.php:934
525
+ msgid "Limit:"
526
+ msgstr "Limite:"
527
+
528
+ #: lib/interface.php:936
529
+ #, php-format
530
+ msgid ""
531
+ "For better performance, adjust the limit to a smaller number. Adjusting the "
532
+ "limit to 100 or 200 should be safe for good results, and might bring a boost "
533
+ "in search speed. DO NOT use this feature to limit the number of search "
534
+ "results on search results pages, as that will lead to problems. For "
535
+ "adjusting the number of search results displayed, see <a href='%s'>this "
536
+ "knowledge base entry</a>."
537
+ msgstr ""
538
+ "Pour une meilleure performance, ajustez la limite à un nombre plus petit. "
539
+ "Ajuster la limite à 100 ou 200 devrait être sûr pour de bons résultats, et "
540
+ "pourrait apporter un coup de pouce dans la vitesse de recherche. NE PAS "
541
+ "utiliser cette fonction pour limiter le nombre de résultats de recherche sur "
542
+ "les pages de résultats de recherche, car cela entraînera des problèmes. Pour "
543
+ "ajuster le nombre de résultats de recherche affichés, voir <a href='%s'>"
544
+ "cette entrée de base de connaissances</a>."
545
+
546
+ #: lib/interface.php:951
547
+ msgid "Element"
548
+ msgstr "Élément"
549
+
550
+ #: lib/interface.php:952
551
+ msgid "Weight"
552
+ msgstr "Poids"
553
+
554
+ #: lib/interface.php:953
555
+ msgid "Default weight"
556
+ msgstr "Poids par défaut"
557
+
558
+ #: lib/interface.php:958
559
+ msgid "Post titles"
560
+ msgstr "Titres d’articles"
561
+
562
+ #: lib/interface.php:970
563
+ msgid "Comment text"
564
+ msgstr "Texte des commentaires"
565
+
566
+ #: lib/interface.php:991
567
+ msgid "WPML/Polylang compatibility"
568
+ msgstr "Compatibilité WPML/Polylang"
569
+
570
+ #: lib/interface.php:1007
571
+ msgid "Log the user's IP with the queries:"
572
+ msgstr "Enregistrez l’adresse IP de l'utilisateur avec les requêtes:"
573
+
574
+ #: lib/interface.php:1009
575
+ msgid "If checked, Relevanssi will log user's IP-Adress with the queries."
576
+ msgstr ""
577
+ "Si cette case est cochée, Relevanssi enregistrera l’adresse IP de "
578
+ "l’utilisateur avec les requêtes."
579
+
580
+ #: lib/interface.php:1015
581
+ msgid ""
582
+ "Comma-separated list of numeric user IDs or user login names that will not "
583
+ "be logged."
584
+ msgstr ""
585
+ "Liste séparée par des virgules d’ID utilisateur numériques ou de noms "
586
+ "d’utilisateur qui ne seront pas enregistrés."
587
+
588
+ #: lib/interface.php:1019
589
+ msgid ""
590
+ "If you enable logs, you can see what your users are searching for. You can "
591
+ "prevent your own searches from getting in the logs with the omit feature."
592
+ msgstr ""
593
+ "Si vous activez les journaux, vous pouvez voir ce que vos utilisateurs "
594
+ "recherchent. Vous pouvez empêcher vos propres recherches d’obtenir dans les "
595
+ "journaux avec la fonctionnalité omettre."
596
+
597
+ #: lib/interface.php:1032
598
+ msgid ""
599
+ "Enter a comma-separated list of category and tag IDs to restrict search to "
600
+ "those categories or tags. You can also use <code>&lt;input type='hidden' "
601
+ "name='cats' value='list of cats and tags' /&gt;</code> in your search form. "
602
+ "The input field will \toverrun this setting."
603
+ msgstr ""
604
+ "Entrez une liste séparée par des virgules d’ID de catégorie et d’étiquette "
605
+ "pour restreindre la recherche à ces catégories ou balises. Vous pouvez "
606
+ "également utiliser <code>&lt;input type='hidden' nom='cats' value='liste des "
607
+ "chats et des balises' /&gt;</code> dans votre formulaire de recherche. Le "
608
+ "champ de saisie dépassera ce paramètre."
609
+
610
+ #: lib/interface.php:1036
611
+ msgid "Exclude these categories from search:"
612
+ msgstr "Exclure ces catégories de la recherche:"
613
+
614
+ #: lib/interface.php:1038
615
+ msgid ""
616
+ "Enter a comma-separated list of category IDs that are excluded from search "
617
+ "results."
618
+ msgstr ""
619
+ "Entrez une liste séparée par des virgules d’ID de catégorie qui sont exclues "
620
+ "des résultats de recherche."
621
+
622
+ #: lib/interface.php:1042
623
+ msgid "Exclude these tags from search:"
624
+ msgstr "Exclure les étiquettes de la recherche:"
625
+
626
+ #: lib/interface.php:1044
627
+ msgid ""
628
+ "Enter a comma-separated list of tag IDs that are excluded from search "
629
+ "results."
630
+ msgstr ""
631
+ "Entrez une liste séparée par des virgules d’ID d’étiquettes qui sont exclues "
632
+ "des résultats de la recherche."
633
+
634
+ #: lib/interface.php:1052
635
+ msgid ""
636
+ "Enter a comma-separated list of post/page IDs that are excluded from search "
637
+ "results. This only works here, you can't use the input field option "
638
+ "(WordPress doesn't pass custom parameters there). You can also use a "
639
+ "checkbox on post/page edit pages to remove posts from index."
640
+ msgstr ""
641
+ "Entrez une liste séparée par des virgules d’ID de Articles/Pages qui sont "
642
+ "exclus des résultats de la recherche. Cela ne fonctionne qu’ici, vous ne "
643
+ "pouvez pas utiliser l’option de champ de saisie (WordPress ne passe pas de "
644
+ "paramètres personnalisés). Vous pouvez également utiliser une case à cocher "
645
+ "sur les pages d’édition Articles/Pages pour supprimer les articles de "
646
+ "l’index."
647
+
648
+ #: lib/interface.php:1071
649
+ msgid ""
650
+ "Note: Building custom excerpts can be slow. If you are not actually using "
651
+ "the excerpts, make sure you disable the option."
652
+ msgstr ""
653
+ "Remarque: la construction d’extraits personnalisés peut être lente. Si vous "
654
+ "n’utilisez pas les extraits, assurez-vous de désactiver l’option."
655
+
656
+ #: lib/interface.php:1083
657
+ msgid "Allowable tags in excerpts:"
658
+ msgstr "Balises autorisées dans les extraits:"
659
+
660
+ #: lib/interface.php:1086
661
+ msgid ""
662
+ "List all tags you want to allow in excerpts, without any whitespace. For "
663
+ "example: '&lt;p&gt;&lt;a&gt;&lt;strong&gt;'."
664
+ msgstr ""
665
+ "Listez toutes les balises que vous voulez autoriser dans des extraits, sans "
666
+ "aucun espace. Par exemple: '&lt;p&gt;&lt;a&gt;&lt;strong&gt;'."
667
+
668
+ #: lib/interface.php:1140
669
+ msgid "Uncheck this if you use non-ASCII characters:"
670
+ msgstr "Décochez cette case si vous utilisez des caractères non ASCII:"
671
+
672
+ #: lib/interface.php:1142
673
+ msgid ""
674
+ "If you use non-ASCII characters (like Cyrillic alphabet) and the highlights "
675
+ "don't work, uncheck this option to make highlights work."
676
+ msgstr ""
677
+ "Si vous utilisez des caractères non ASCII (comme l’alphabet cyrillique) et "
678
+ "que les mises en évidence ne fonctionnent pas, décochez cette option pour "
679
+ "que les mises en évidence fonctionnent."
680
+
681
+ #: lib/interface.php:1182
682
+ msgid "Choose post types to index:"
683
+ msgstr "Choisissez les types de contenu à indexer:"
684
+
685
+ #: lib/interface.php:1187
686
+ msgid "Type"
687
+ msgstr "Type"
688
+
689
+ #: lib/interface.php:1228
690
+ msgid "Choose taxonomies to index:"
691
+ msgstr "Choisissez les taxonomies à indexer:"
692
+
693
+ #: lib/interface.php:1270
694
+ msgid ""
695
+ "If you check a taxonomy here, the terms for that taxonomy are indexed with "
696
+ "the posts. If you for example choose \"post_tag\", searching for tags will "
697
+ "find all posts that have the tag."
698
+ msgstr ""
699
+ "Si vous vérifiez une taxonomie ici, les termes de cette taxonomie sont "
700
+ "indexés avec les messages. Si vous choisissez par exemple «post_tag», la "
701
+ "recherche des étiquettes trouvera tous les articles contenant l’étiquette."
702
+
703
+ #: lib/interface.php:1314
704
+ msgid ""
705
+ "A comma-separated list of custom fields to include in the index. Set to "
706
+ "'visible' to index all visible custom fields and to 'all' to index all "
707
+ "custom fields, also those starting with a '_' character."
708
+ msgstr ""
709
+ "Une liste séparée par des virgules de champs personnalisés à inclure dans "
710
+ "l’index. Définissez sur «visible» pour indexer tous les champs personnalisés "
711
+ "visibles et «tous» pour indexer tous les champs personnalisés, également "
712
+ "ceux commençant par un caractère «_»."
713
+
714
+ #: lib/interface.php:1324
715
+ msgid "Save indexing options, erase index and rebuild the index"
716
+ msgstr ""
717
+ "Sauvegarder les options d’indexation, effacer l’index et reconstruire l’index"
718
+
719
+ #: lib/interface.php:1395
720
+ msgid ""
721
+ "Here's a list of stopwords you can use to export the stopwords to another "
722
+ "blog."
723
+ msgstr ""
724
+ "Voici une liste de stopwords que vous pouvez utiliser pour exporter les "
725
+ "stopwords vers un autre blog."
726
+
727
+ #: lib/uninstall.php:27
728
+ msgid "Data wiped clean, you can now delete the plugin."
729
+ msgstr "Les données effacées, vous pouvez maintenant supprimer le plugin."
730
+
731
+ #. Name of the plugin
732
+ msgid "Relevanssi Premium"
733
+ msgstr "Relevanssi Premium"
734
+
735
+ #. Description of the plugin
736
+ msgid ""
737
+ "This premium plugin replaces WordPress search with a relevance-sorting "
738
+ "search."
739
+ msgstr ""
740
+ "Cet extension premium remplace la recherche WordPress par une recherche de "
741
+ "classement par pertinence."
742
+
743
+ #. URI of the plugin
744
+ msgid "http://www.relevanssi.com/"
745
+ msgstr "http://www.relevanssi.com/"
746
+
747
+ #. Author of the plugin
748
+ msgid "Mikko Saari"
749
+ msgstr "Mikko Saari"
750
+
751
+ #. Author URI of the plugin
752
+ msgid "http://www.mikkosaari.fi/"
753
+ msgstr "http://www.mikkosaari.fi/"
754
+
755
+ #: relevanssi.php:1465
756
+ msgid "How to index internal links:"
757
+ msgstr "Comment indexer les liens internes:"
758
+
759
+ #: relevanssi.php:1467
760
+ msgid "No special processing for internal links"
761
+ msgstr "Aucun procédé particulier pour les liens internes"
762
+
763
+ #: relevanssi.php:1468
764
+ msgid "Index internal links for target documents only"
765
+ msgstr "Indexer les liens internes pour les documents ciblés uniquement"
766
+
767
+ #: relevanssi.php:1469
768
+ msgid "Index internal links for both target and source"
769
+ msgstr "Indexer les liens internes à la fois pour la cible et la source"
770
+
771
+ #: relevanssi.php:1471
772
+ msgid ""
773
+ "Internal link anchor tags can be indexed for target document (so the text "
774
+ "will match the document the link points to), both target and source or "
775
+ "source only (with no extra significance for the links). See Relevanssi "
776
+ "Knowledge Base for more details. Changing this option requires reindexing."
777
+ msgstr ""
778
+ "Les tags d'ancre de lien interne peuvent être indexés pour les documents "
779
+ "ciblés (de cette manière, le texte correspondra au document vers lequel "
780
+ "pointe le lien), soit pour la cible et la source ou uniquement pour la "
781
+ "source (sans importance supplémentaire particulière pour les liens. Veuillez "
782
+ "consulter la base de connaissance de Relevanssi pour plus de détails. "
783
+ "Modifier cette option nécessite une réindexation."
784
+
785
+ # @ relevanssi
786
+ #: relevanssi.php:1576
787
+ msgid "Highlight query terms in documents from external searches:"
788
+ msgstr "Mettre en évidence les termes de la requête dans les documents:"
789
+
790
+ # @ relevanssi
791
+ #: relevanssi.php:1624
792
+ msgid "Index and search user profiles:"
793
+ msgstr "Indexer et rechercher les profils d'utilisateurs:"
794
+
795
+ #: relevanssi.php:1626
796
+ msgid ""
797
+ "If checked, Relevanssi will also index and search user profiles (first name, "
798
+ "last name, display name and user description). Requires changes to search "
799
+ "results template, see Relevanssi Knowledge Base."
800
+ msgstr ""
801
+ "Si coché, Relevanssi indexera et cherchera aussi dans les profils des "
802
+ "utilisateurs (prénom, nom, nom affiché et description de l'utilisateur). "
803
+ "Nécessite de modifier le template de résultats de recherche, cf. la base de "
804
+ "connaissance Relevanssi."
805
+
806
+ #: relevanssi.php:1630
807
+ msgid "Index subscriber profiles:"
808
+ msgstr "Indexer les profils des abonnés:"
809
+
810
+ #: relevanssi.php:1632
811
+ msgid ""
812
+ "If checked, Relevanssi will index subscriber profiles as well, otherwise "
813
+ "only authors, editors, contributors and admins are indexed."
814
+ msgstr ""
815
+ "Si coché, Relevanssi indexera aussi le profil des abonnés, sinon seul celui "
816
+ "des celui des auteurs, éditeurs, contributeurs et administrateurs est indexé."
817
+
818
+ # @ relevanssi
819
+ #: lib/interface.php:6
820
+ msgid "Relevanssi Premium Search Options"
821
+ msgstr "Options de recherche de Relevanssi Premium"
822
+
823
+ # @ relevanssi
824
+ #: lib/interface.php:83
825
+ msgid "Relevanssi User Searches"
826
+ msgstr "Recherches Relevanssi par les utilisateurs"
827
+
828
+ # @ relevanssi
829
+ #: lib/interface.php:320
830
+ #, php-format
831
+ msgid ""
832
+ "<div id='message' class='updated fade'><p>Successfully added %d/%d terms to "
833
+ "stopwords!</p></div>"
834
+ msgstr ""
835
+ "<div id='message' class='updated fade'><p>Ajout réussi de %d/%d termes aux "
836
+ "stopwords!</p></div>"
837
+
838
+ # @ relevanssi
839
+ #: lib/interface.php:327
840
+ #, php-format
841
+ msgid ""
842
+ "<div id='message' class='updated fade'><p>Term '%s' added to stopwords!</p>"
843
+ "</div>"
844
+ msgstr ""
845
+ "<div id='message' class='updated fade'><p>Terme «%s» ajouté aux stopwords!"
846
+ "</p></div>"
847
+
848
+ # @ relevanssi
849
+ #: lib/interface.php:330
850
+ #, php-format
851
+ msgid ""
852
+ "<div id='message' class='updated fade'><p>Couldn't add term '%s' to "
853
+ "stopwords!</p></div>"
854
+ msgstr ""
855
+ "<div id='message' class='updated fade'><p>Impossible d’ajouter «%s» aux "
856
+ "stopwords!</p></div>"
857
+
858
+ # @ relevanssi
859
+ #: lib/interface.php:367
860
+ msgid ""
861
+ "<div id='message' class='updated fade'><p>Stopwords removed! Remember to re-"
862
+ "index.</p></div>"
863
+ msgstr ""
864
+ "<div id='message' class='updated fade'><p>Stopwords retirés ! N’oubliez pas "
865
+ "de réindexer.</p></div>"
866
+
867
+ # @ relevanssi
868
+ #: lib/interface.php:377
869
+ #, php-format
870
+ msgid ""
871
+ "<div id='message' class='updated fade'><p>Term '%s' removed from stopwords! "
872
+ "Re-index to get it back to index.</p></div>"
873
+ msgstr ""
874
+ "<div id='message' class='updated fade'><p>Terme «%s» retiré des stopwords! "
875
+ "Réindexer pour le récupérer dans l’index.</p></div>"
876
+
877
+ # @ relevanssi
878
+ #: lib/interface.php:380
879
+ #, php-format
880
+ msgid ""
881
+ "<div id='message' class='updated fade'><p>Couldn't remove term '%s' from "
882
+ "stopwords!</p></div>"
883
+ msgstr ""
884
+ "<div id='message' class='updated fade'><p>Impossible de retirer «%s» des "
885
+ "stopwords !</p></div>"
886
+
887
+ # @ relevanssi
888
+ #: lib/interface.php:391
889
+ msgid "25 most common words in the index"
890
+ msgstr "Les 25 mots des plus fréquents de l'index"
891
+
892
+ # @ relevanssi
893
+ #: lib/interface.php:393
894
+ msgid ""
895
+ "These words are excellent stopword material. A word that appears in most of "
896
+ "the posts in the database is quite pointless when searching. This is also an "
897
+ "easy way to create a completely new stopword list, if one isn't available in "
898
+ "your language. Click the icon after the word to add the word to the stopword "
899
+ "list. The word will also be removed from the index, so rebuilding the index "
900
+ "is not necessary."
901
+ msgstr ""
902
+ "Ces mots font d'excellents stopwords. Un mot qui apparait dans la plupart "
903
+ "des billets de la base de donnée ne sert pas à grand chose pour une "
904
+ "recherche. C'est aussi une manière simple de créer une nouvelle liste de "
905
+ "\\\"stopwords\\\" si celle-ci n'est pas disponible dans votre langue. "
906
+ "Cliquez l'icone après le mot pour l'ajouter dans la liste de stopwords. Le "
907
+ "mot sera retiré de l'index aussi est-il inutile de reconstruire l'index."
908
+
909
+ # @ relevanssi
910
+ #: lib/interface.php:419
911
+ msgid "Add to stopwords"
912
+ msgstr "Ajouter aux stopwords."
913
+
914
+ # @ relevanssi
915
+ #: lib/interface.php:440
916
+ msgid ""
917
+ "Here you can see the 20 most common user search queries, how many times "
918
+ "those \n"
919
+ "\t\tqueries were made and how many results were found for those queries."
920
+ msgstr ""
921
+ "Vous pouvez voir ici les 20 requêtes les plus courantes, combien de fois ces "
922
+ "\n"
923
+ "\t\tqueries ont été faites et combien de résultats ont été trouvés pour ces "
924
+ "requêtes."
925
+
926
+ # @ relevanssi
927
+ #: lib/interface.php:446 lib/interface.php:462 lib/interface.php:494
928
+ msgid "Today and yesterday"
929
+ msgstr "Aujourd'hui et hier"
930
+
931
+ # @ relevanssi
932
+ #: lib/interface.php:450 lib/interface.php:466 lib/interface.php:495
933
+ msgid "Last 7 days"
934
+ msgstr "Sept derniers jours"
935
+
936
+ # @ relevanssi
937
+ #: lib/interface.php:454 lib/interface.php:470 lib/interface.php:496
938
+ msgid "Last 30 days"
939
+ msgstr "Trente derniers jours"
940
+
941
+ # @ relevanssi
942
+ #: lib/interface.php:838 lib/interface.php:878
943
+ msgid "Basic options"
944
+ msgstr "Options basiques"
945
+
946
+ # @ relevanssi
947
+ #: lib/interface.php:840 lib/interface.php:999
948
+ msgid "Logs"
949
+ msgstr "Logs"
950
+
951
+ # @ relevanssi
952
+ #: lib/interface.php:841 lib/interface.php:1028
953
+ msgid "Exclusions and restrictions"
954
+ msgstr "Exclusions et restrictions"
955
+
956
+ # @ relevanssi
957
+ #: lib/interface.php:842
958
+ msgid "Custom excerpts"
959
+ msgstr "Extraits personnalisés"
960
+
961
+ # @ relevanssi
962
+ #: lib/interface.php:843
963
+ msgid "Highlighting search results"
964
+ msgstr "Mise en évidence des résultats de recherche"
965
+
966
+ # @ relevanssi
967
+ #: lib/interface.php:844 lib/interface.php:1180
968
+ msgid "Indexing options"
969
+ msgstr "Options d'indexation"
970
+
971
+ # @ relevanssi
972
+ #: lib/interface.php:845 lib/interface.php:1328
973
+ msgid "Synonyms"
974
+ msgstr "Synonymes"
975
+
976
+ # @ relevanssi
977
+ #: lib/interface.php:846 lib/interface.php:1338
978
+ msgid "Stopwords"
979
+ msgstr "Stopwords"
980
+
981
+ # @ relevanssi
982
+ #: lib/interface.php:857
983
+ msgid "Quick tools"
984
+ msgstr "Outils rapides"
985
+
986
+ # @ relevanssi
987
+ #: lib/interface.php:859
988
+ msgid "Save options"
989
+ msgstr "Sauvegarder les options"
990
+
991
+ # @ relevanssi
992
+ #: lib/interface.php:860
993
+ msgid "Build the index"
994
+ msgstr "Construire l'index"
995
+
996
+ # @ relevanssi
997
+ #: lib/interface.php:861 lib/interface.php:1326
998
+ msgid "Continue indexing"
999
+ msgstr "Continuer l'indexation"
1000
+
1001
+ # @ relevanssi
1002
+ #: lib/interface.php:861
1003
+ msgid "add"
1004
+ msgstr "ajouter"
1005
+
1006
+ # @ relevanssi
1007
+ #: lib/interface.php:861
1008
+ msgid "documents."
1009
+ msgstr "documents."
1010
+
1011
+ # @ relevanssi
1012
+ #: lib/interface.php:869
1013
+ msgid ""
1014
+ "Use 'Build the index' to build the index with current <a href='#indexing'>"
1015
+ "indexing options</a>. If you can't finish indexing with one go, use "
1016
+ "'Continue indexing' to finish the job. You can change the number of "
1017
+ "documents to add until you find the largest amount you can add with one go. "
1018
+ "See 'State of the Index' below to find out how many documents actually go "
1019
+ "into the index."
1020
+ msgstr ""
1021
+ "Utiliser «Construire l’index» pour construire l’index avec les <a "
1022
+ "href='#indexing'>options actuelles</a> d’indexation. Si vous ne pouvez pas "
1023
+ "terminer l’indexation en une passe, utilisez «Continuer l’indexation» pour "
1024
+ "finir le travail. Vous pouvez modifier le nombre de documents à ajouter "
1025
+ "jusqu’à ce que vous trouviez le maximum que vous pouvez ajouter en une passe."
1026
+ " Regardez «État de l’indexation» ci-dessous pour déterminer le nombre de "
1027
+ "documents actuellement pris en compte dans l’indexation."
1028
+
1029
+ # @ relevanssi
1030
+ #: lib/interface.php:871
1031
+ msgid "State of the Index"
1032
+ msgstr "État de l'index"
1033
+
1034
+ # @ relevanssi
1035
+ #: lib/interface.php:873
1036
+ msgid "Documents in the index"
1037
+ msgstr "Documents dans l'index"
1038
+
1039
+ # @ relevanssi
1040
+ #: lib/interface.php:875
1041
+ msgid "Highest post ID indexed"
1042
+ msgstr "ID de billet le plus élevé indexé"
1043
+
1044
+ # @ relevanssi
1045
+ #: lib/interface.php:884
1046
+ msgid "Use search for admin:"
1047
+ msgstr "Utiliser la recherche pour l'administration:"
1048
+
1049
+ # @ relevanssi
1050
+ #: lib/interface.php:886
1051
+ msgid "If checked, Relevanssi will be used for searches in the admin interface"
1052
+ msgstr ""
1053
+ "Si coché, Relevanssi sera utilisé pour les recherches dans l'interface "
1054
+ "d'administration"
1055
+
1056
+ # @ relevanssi
1057
+ #: lib/interface.php:890
1058
+ msgid "Default operator for the search?"
1059
+ msgstr "Opérateur logique par défaut pour la recherche ?"
1060
+
1061
+ # @ relevanssi
1062
+ #: lib/interface.php:892
1063
+ msgid "AND - require all terms"
1064
+ msgstr "ET - nécessite tous les termes"
1065
+
1066
+ # @ relevanssi
1067
+ #: lib/interface.php:893
1068
+ msgid "OR - any term present is enough"
1069
+ msgstr "OU - n'importe lequel des termes présents est suffisant"
1070
+
1071
+ # @ relevanssi
1072
+ #: lib/interface.php:895
1073
+ msgid ""
1074
+ "If you choose AND and the search finds no matches, it will automatically do "
1075
+ "an OR search."
1076
+ msgstr ""
1077
+ "Si vous choisissez ET et la recherche ne trouve rien, une recherche OU sera "
1078
+ "lancée automatiquement."
1079
+
1080
+ # @ relevanssi
1081
+ #: lib/interface.php:899
1082
+ msgid "Disable OR fallback:"
1083
+ msgstr "Désactiver le passage à OU:"
1084
+
1085
+ # @ relevanssi
1086
+ #: lib/interface.php:901
1087
+ msgid ""
1088
+ "If you don't want Relevanssi to fall back to OR search when AND search gets "
1089
+ "no hits, check this option. For most cases, leave this one unchecked."
1090
+ msgstr ""
1091
+ "Si vous ne désirez pas que Relevanssi ne se rabatte pas sur une recherche OU "
1092
+ "quand la recherche ET ne donne aucun résultat, cochez cette option. Dans la "
1093
+ "plupart des cas, laissez la décochée."
1094
+
1095
+ # @ relevanssi
1096
+ #: lib/interface.php:914
1097
+ msgid "When to use fuzzy matching?"
1098
+ msgstr "Quand utiliser la correspondance approximative ?"
1099
+
1100
+ # @ relevanssi
1101
+ #: lib/interface.php:916
1102
+ msgid "When straight search gets no hits"
1103
+ msgstr "Quand la recherche directe ne donne pas de résultat"
1104
+
1105
+ # @ relevanssi
1106
+ #: lib/interface.php:917
1107
+ msgid "Always"
1108
+ msgstr "Toujours"
1109
+
1110
+ # @ relevanssi
1111
+ #: lib/interface.php:918
1112
+ msgid "Don't use fuzzy search"
1113
+ msgstr "Ne pas utiliser l'approximation"
1114
+
1115
+ # @ relevanssi
1116
+ #: lib/interface.php:920
1117
+ msgid ""
1118
+ "Straight search matches just the term. Fuzzy search matches everything that "
1119
+ "begins or ends with the search term."
1120
+ msgstr ""
1121
+ "La recherche pure prend en compte juste le terme. La recherche approximative "
1122
+ "prend en compte tout ce qui commence ou finit par le terme recherché."
1123
+
1124
+ #: lib/interface.php:928
1125
+ msgid "Limit searches:"
1126
+ msgstr "Limite des recherches:"
1127
+
1128
+ #: lib/interface.php:946
1129
+ msgid ""
1130
+ "These values affect the weights of the documents. These are all multipliers, "
1131
+ "so 1 means no change in weight, less than 1 means less weight, and more than "
1132
+ "1 means more weight. Setting something to zero makes that worthless. For "
1133
+ "example, if title weight is more than 1, words in titles are more "
1134
+ "significant than words elsewhere. If title weight is 0, words in titles "
1135
+ "won't make any difference to the search results."
1136
+ msgstr ""
1137
+ "Ces valeurs affectent le poids des documents. Ce sont tous des "
1138
+ "multiplicateurs, ainsi 1 signifie aucune modification du poids, moins de 1 "
1139
+ "signifie moins de poids et plus de 1 signifie plus de poids. Un réglage "
1140
+ "proche de zéro correspond à une partie négligeable. Par exemple, si le poids "
1141
+ "du titre vaut plus que 1, les mots dans le titre sont plus significatifs que "
1142
+ "les mêmes mots partout ailleurs. Si le poids du titre vaut 0, les mots dans "
1143
+ "le titre n'affecteront pas les résultats de recherche."
1144
+
1145
+ #: lib/interface.php:993
1146
+ msgid "Limit results to current language:"
1147
+ msgstr "Limite des résultats au langage en cours:"
1148
+
1149
+ #: lib/interface.php:995
1150
+ msgid ""
1151
+ "If this option is checked, Relevanssi will only return results in the "
1152
+ "current active language. Otherwise results will include posts in every "
1153
+ "language."
1154
+ msgstr ""
1155
+ "Si cette option est cochée, Relevanssi donnera uniquement des résultats dans "
1156
+ "le langage en cours activé. Sinon, les résultats contiendront tous les "
1157
+ "billets dans chacun des langages."
1158
+
1159
+ # @ relevanssi
1160
+ #: lib/interface.php:1001
1161
+ msgid "Keep a log of user queries:"
1162
+ msgstr "Conserver une liste des recherches des visiteurs:"
1163
+
1164
+ # @ relevanssi
1165
+ #: lib/interface.php:1003
1166
+ msgid ""
1167
+ "If checked, Relevanssi will log user queries. The log appears in 'User "
1168
+ "searches' on the Dashboard admin menu."
1169
+ msgstr ""
1170
+ "Si coché, Relevanssi conservera dans les stats les requêtes d’utilisateur. "
1171
+ "Les stats apparaissent dans «Recherches d’utilisateur» dans le menu du "
1172
+ "tableau de bord de l’administration."
1173
+
1174
+ # @ relevanssi
1175
+ #: lib/interface.php:1013
1176
+ msgid "Don't log queries from these users:"
1177
+ msgstr "Ne conservez pas les statistiques de recherche de ces utilisateurs:"
1178
+
1179
+ # @ relevanssi
1180
+ #: lib/interface.php:1022
1181
+ msgid ""
1182
+ "If you enable logs, you can see what your users are searching for. Logs are "
1183
+ "also needed to use the 'Did you mean?' feature. You can prevent your own "
1184
+ "searches from getting in the logs with the omit feature."
1185
+ msgstr ""
1186
+ "Si vous activez les logs, vous pouvez voir ce que les utilisateurs "
1187
+ "recherchent. Les logs sont aussi utilisés pour la fonction «Vous vouliez "
1188
+ "dire ?». Vous pouvez empêcher vos propres recherches d’être enregistrées "
1189
+ "avec la fonction d’exception."
1190
+
1191
+ # @ relevanssi
1192
+ #: lib/interface.php:1030
1193
+ msgid "Restrict search to these categories and tags:"
1194
+ msgstr "Restreindre la recherche à ces catégories et tags:"
1195
+
1196
+ # @ relevanssi
1197
+ #: lib/interface.php:1048
1198
+ msgid "Exclude these posts/pages from search:"
1199
+ msgstr "Exclure ces billets/pages de la recherche:"
1200
+
1201
+ # @ relevanssi
1202
+ #: lib/interface.php:1055
1203
+ msgid ""
1204
+ "Enter a comma-separated list of post/page IDs that are excluded from search "
1205
+ "results. This only works here, you can't use the input field option "
1206
+ "(WordPress doesn't pass custom parameters there)."
1207
+ msgstr ""
1208
+ "Entrez une liste d'ID de billets et de pages à exclure des résultats de "
1209
+ "recherche. Cela ne fonctionne qu'ici, vous ne pouvez pas utiliser l'option "
1210
+ "de champ d'insertion (Wordpress ne gèrera pas les paramètres personnalisés "
1211
+ "dans ce cas)."
1212
+
1213
+ # @ relevanssi
1214
+ #: lib/interface.php:1061
1215
+ msgid "Respect exclude_from_search for custom post types:"
1216
+ msgstr "Respecter exclude_from_search pour les types de billets personnalisés:"
1217
+
1218
+ # @ relevanssi
1219
+ #: lib/interface.php:1063
1220
+ msgid ""
1221
+ "If checked, Relevanssi won't display posts of custom post types that have "
1222
+ "'exclude_from_search' set to true. If not checked, Relevanssi will display "
1223
+ "anything that is indexed."
1224
+ msgstr ""
1225
+ "Si coché, Relevanssi n’affichera aucun billet de types de billets "
1226
+ "personnalisés pour lesquels «exclude_from_search» a été indiqué. Si non "
1227
+ "coché, Relevanssi affichera tout ce qui est indexé."
1228
+
1229
+ # @ relevanssi
1230
+ #: lib/interface.php:1065
1231
+ msgid "Custom excerpts/snippets"
1232
+ msgstr "Personnaliser extraits/snippets"
1233
+
1234
+ # @ relevanssi
1235
+ #: lib/interface.php:1067
1236
+ msgid "Create custom search result snippets:"
1237
+ msgstr "Créer des snippets personalisés de résultats de recherche:"
1238
+
1239
+ # @ relevanssi
1240
+ #: lib/interface.php:1069
1241
+ msgid ""
1242
+ "If checked, Relevanssi will create excerpts that contain the search term "
1243
+ "hits. To make them work, make sure your search result template uses "
1244
+ "the_excerpt() to display post excerpts."
1245
+ msgstr ""
1246
+ "Si coché, Relevanssi créera des extraits qui contiennent les résultats de la "
1247
+ "recherche de terme. Pour que cela fonctionne, vérifiez bien que le fichier "
1248
+ "de thème de résultat de recherche utilise the_excerpt() pour afficher les "
1249
+ "extraits de billet."
1250
+
1251
+ # @ relevanssi
1252
+ #: lib/interface.php:1073
1253
+ msgid "Length of the snippet:"
1254
+ msgstr "Longueur du snippet:"
1255
+
1256
+ # @ relevanssi
1257
+ #: lib/interface.php:1076
1258
+ msgid "characters"
1259
+ msgstr "lettres"
1260
+
1261
+ # @ relevanssi
1262
+ #: lib/interface.php:1077
1263
+ msgid "words"
1264
+ msgstr "mots"
1265
+
1266
+ # @ relevanssi
1267
+ #: lib/interface.php:1079
1268
+ msgid "This must be an integer."
1269
+ msgstr "Ceci doit être un nombre entier."
1270
+
1271
+ # @ relevanssi
1272
+ #: lib/interface.php:1090
1273
+ msgid "Show breakdown of search hits in excerpts:"
1274
+ msgstr "Montrer la répartition des résultats de recherche dans les extraits:"
1275
+
1276
+ # @ relevanssi
1277
+ #: lib/interface.php:1092
1278
+ msgid ""
1279
+ "Check this to show more information on where the search hits were made. "
1280
+ "Requires custom snippets to work."
1281
+ msgstr ""
1282
+ "Cochez ceci pour afficher plus d'informations sur la répartition des "
1283
+ "résultats de recherche. Nécessite l'activation des snippets personnalisés "
1284
+ "pour fonctionner."
1285
+
1286
+ # @ relevanssi
1287
+ #: lib/interface.php:1096
1288
+ msgid "The breakdown format:"
1289
+ msgstr "Mise en forme des répartitions:"
1290
+
1291
+ # @ relevanssi
1292
+ #: lib/interface.php:1098
1293
+ msgid ""
1294
+ "Use %body%, %title%, %tags% and %comments% to display the number of hits (in "
1295
+ "different parts of the post), %total% for total hits, %score% to display the "
1296
+ "document weight and %terms% to show how many hits each search term got. No "
1297
+ "double quotes (\") allowed!"
1298
+ msgstr ""
1299
+ "Utilisez %body%, %title%, %tags% et %comments% pour afficher le nombre de "
1300
+ "résultats trouvés (en différents endroits du billet), %total% pour le nombre "
1301
+ "total de résultats affichés, %score% pour afficher le poids d'importance du "
1302
+ "document et %terms% pour montrer combien de résultats affichés ont obtenu "
1303
+ "chacun des termes recherché. Interdit d'utiliser des guillemets (\")!"
1304
+
1305
+ # @ relevanssi
1306
+ #: lib/interface.php:1100
1307
+ msgid "Search hit highlighting"
1308
+ msgstr "Surbrillance des résultats de recherche"
1309
+
1310
+ # @ relevanssi
1311
+ #: lib/interface.php:1102
1312
+ msgid "First, choose the type of highlighting used:"
1313
+ msgstr "En premier, veuillez choisir le type de surbrillance utilisée:"
1314
+
1315
+ # @ relevanssi
1316
+ #: lib/interface.php:1105
1317
+ msgid "Highlight query terms in search results:"
1318
+ msgstr ""
1319
+ "Mettre en surbrillance les termes de recherche dans les résultats de "
1320
+ "recherche:"
1321
+
1322
+ # @ relevanssi
1323
+ #: lib/interface.php:1107
1324
+ msgid "No highlighting"
1325
+ msgstr "Pas de mise en surbrillance"
1326
+
1327
+ # @ relevanssi
1328
+ #: lib/interface.php:1111
1329
+ msgid "Text color"
1330
+ msgstr "Couleur du texte"
1331
+
1332
+ # @ relevanssi
1333
+ #: lib/interface.php:1112
1334
+ msgid "Background color"
1335
+ msgstr "Couleur du fond"
1336
+
1337
+ # @ relevanssi
1338
+ #: lib/interface.php:1113
1339
+ msgid "CSS Style"
1340
+ msgstr "Style CSS"
1341
+
1342
+ # @ relevanssi
1343
+ #: lib/interface.php:1114
1344
+ msgid "CSS Class"
1345
+ msgstr "Classe CSS"
1346
+
1347
+ # @ relevanssi
1348
+ #: lib/interface.php:1116
1349
+ msgid "Highlighting isn't available unless you use custom snippets"
1350
+ msgstr ""
1351
+ "La mise en surbrillance n'est pas disponible tant que vous n'avez pas activé "
1352
+ "l'utilisation de snippets personnalisés."
1353
+
1354
+ # @ relevanssi
1355
+ #: lib/interface.php:1120
1356
+ msgid "Highlight query terms in result titles too:"
1357
+ msgstr "Mettre en surbrillance les mots recherchés dans le titre également:"
1358
+
1359
+ # @ relevanssi
1360
+ #: lib/interface.php:1126
1361
+ msgid "Highlight query terms in documents from local searches:"
1362
+ msgstr "Mettre en évidence les termes de la requête dans les documents:"
1363
+
1364
+ # @ relevanssi
1365
+ #: lib/interface.php:1128
1366
+ msgid ""
1367
+ "Highlights hits when user opens the post from search results. This is based "
1368
+ "on HTTP referrer, so if that's blocked, there'll be no highlights."
1369
+ msgstr ""
1370
+ "Surligne les mots choisis quand l'utilisateur ouvre le billet à partir des "
1371
+ "résultats de recherche. La fonction est basée sur HTTP referrer ainsi, en "
1372
+ "cas de blocage, il y aura pas de surlignage."
1373
+
1374
+ # @ relevanssi
1375
+ #: lib/interface.php:1134
1376
+ msgid "Highlight query terms in comments:"
1377
+ msgstr "Surligner les termes recherchés dans les commentaires:"
1378
+
1379
+ # @ relevanssi
1380
+ #: lib/interface.php:1136
1381
+ msgid ""
1382
+ "Highlights hits in comments when user opens the post from search results."
1383
+ msgstr ""
1384
+ "Surligner les résultats affichés dans les commentaires quand l'utilisateur "
1385
+ "ouvre le billet à partir des résultats de recherche."
1386
+
1387
+ # @ relevanssi
1388
+ #: lib/interface.php:1147
1389
+ msgid "Then adjust the settings for your chosen type:"
1390
+ msgstr "Ensuite ajustez les réglages du type choisi:"
1391
+
1392
+ # @ relevanssi
1393
+ #: lib/interface.php:1151
1394
+ msgid "Text color for highlights:"
1395
+ msgstr "Couleur du texte pour la surbrillance:"
1396
+
1397
+ # @ relevanssi
1398
+ #: lib/interface.php:1153 lib/interface.php:1159
1399
+ msgid "Use HTML color codes (#rgb or #rrggbb)"
1400
+ msgstr "Utiliser les codes de couleurs HTML (#rgb ou #rrggbb)"
1401
+
1402
+ # @ relevanssi
1403
+ #: lib/interface.php:1157
1404
+ msgid "Background color for highlights:"
1405
+ msgstr "Couleur du fond pour la surbrillance:"
1406
+
1407
+ # @ relevanssi
1408
+ #: lib/interface.php:1163
1409
+ msgid "CSS style for highlights:"
1410
+ msgstr "Style CSS pour la surbrillance:"
1411
+
1412
+ # @ relevanssi
1413
+ #: lib/interface.php:1165
1414
+ msgid ""
1415
+ "You can use any CSS styling here, style will be inserted with a &lt;span&gt;"
1416
+ msgstr ""
1417
+ "Vous pouvez utiliser tout habillage CSS ici. Le style sera inséré avec un "
1418
+ "&lt;span&gt;"
1419
+
1420
+ # @ relevanssi
1421
+ #: lib/interface.php:1169
1422
+ msgid "CSS class for highlights:"
1423
+ msgstr "Classe CSS pour la surbrillance:"
1424
+
1425
+ # @ relevanssi
1426
+ #: lib/interface.php:1171
1427
+ msgid ""
1428
+ "Name a class here, search results will be wrapped in a &lt;span&gt; with the "
1429
+ "class"
1430
+ msgstr ""
1431
+ "Nommez une classe ici. Les résultats seront encadrés dans un &lt;span&gt; "
1432
+ "avec cette classe"
1433
+
1434
+ # @ relevanssi
1435
+ #: lib/interface.php:1178 lib/interface.php:1336
1436
+ msgid "Save the options"
1437
+ msgstr "Sauvegarder les options"
1438
+
1439
+ # @ relevanssi
1440
+ #: lib/interface.php:1274
1441
+ msgid "Minimum word length to index"
1442
+ msgstr "Longueur minimum des mots à indexer"
1443
+
1444
+ # @ relevanssi
1445
+ #: lib/interface.php:1276
1446
+ msgid "Words shorter than this number will not be indexed."
1447
+ msgstr "Les mots plus courts que ce nombre ne seront pas indexés."
1448
+
1449
+ # @ relevanssi
1450
+ #: lib/interface.php:1282
1451
+ msgid "Expand shortcodes in post content:"
1452
+ msgstr "Traduire les shortcodes dans le contenu des billets:"
1453
+
1454
+ # @ relevanssi
1455
+ #: lib/interface.php:1284
1456
+ msgid ""
1457
+ "If checked, Relevanssi will expand shortcodes in post content before "
1458
+ "indexing. Otherwise shortcodes will be stripped. If you use shortcodes to "
1459
+ "include dynamic content, Relevanssi will not keep the index updated, the "
1460
+ "index will reflect the status of the shortcode content at the moment of "
1461
+ "indexing."
1462
+ msgstr ""
1463
+ "Si coché, Relevanssi traduira tous les shortcodes des contenu de billets "
1464
+ "avec l'indexation. Dans le cas contraire, les shortcodes seront ignorés. Si "
1465
+ "vous utilisez des shortcodes pour générer du contenu dynamique, Relevanssi "
1466
+ "ne mettra pas l'index à jour. Ce dernier présentera le statut du contenu du "
1467
+ "shortcode au moment de l'indexation."
1468
+
1469
+ # @ relevanssi
1470
+ #: lib/interface.php:1290
1471
+ msgid "Index and search your posts' authors:"
1472
+ msgstr "Indexer et rechercher les auteurs des billets:"
1473
+
1474
+ # @ relevanssi
1475
+ #: lib/interface.php:1292
1476
+ msgid ""
1477
+ "If checked, Relevanssi will also index and search the authors of your posts. "
1478
+ "Author display name will be indexed. Remember to rebuild the index if you "
1479
+ "change this option!"
1480
+ msgstr ""
1481
+ "Si coché, Relevanssi indexera et cherchera aussi dans les auteurs de vos "
1482
+ "billets. Le nom affiché des auteurs sera indexé. N'oubliez pas de "
1483
+ "reconstruire l'index si vous modifiez cette option !"
1484
+
1485
+ # @ relevanssi
1486
+ #: lib/interface.php:1296
1487
+ msgid "Index and search post excerpts:"
1488
+ msgstr "Indexer et rechercher dans les extraits de billets:"
1489
+
1490
+ # @ relevanssi
1491
+ #: lib/interface.php:1298
1492
+ msgid ""
1493
+ "If checked, Relevanssi will also index and search the excerpts of your posts."
1494
+ "Remember to rebuild the index if you change this option!"
1495
+ msgstr ""
1496
+ "Si coché, Relevanssi indexera et cherchera dans les extraits de vos billets. "
1497
+ "N'oubliez pas de reconstruire l'index si vous modifiez cette option !"
1498
+
1499
+ # @ relevanssi
1500
+ #: lib/interface.php:1302
1501
+ msgid "Index and search these comments:"
1502
+ msgstr "Indexer et rechercher ces commentaires:"
1503
+
1504
+ # @ relevanssi
1505
+ #: lib/interface.php:1304
1506
+ msgid "none"
1507
+ msgstr "aucun"
1508
+
1509
+ # @ relevanssi
1510
+ #: lib/interface.php:1305
1511
+ msgid "normal"
1512
+ msgstr "normal"
1513
+
1514
+ # @ relevanssi
1515
+ #: lib/interface.php:1306
1516
+ msgid "all"
1517
+ msgstr "tout"
1518
+
1519
+ # @ relevanssi
1520
+ #: lib/interface.php:1308
1521
+ msgid ""
1522
+ "Relevanssi will index and search ALL (all comments including track- &amp; "
1523
+ "pingbacks and custom comment types), NONE (no comments) or NORMAL (manually "
1524
+ "posted comments on your blog).<br />Remember to rebuild the index if you "
1525
+ "change this option!"
1526
+ msgstr ""
1527
+ "Relevanssi indexera et cherchera dans TOUT (tous les commentaires incluant "
1528
+ "track- &amp; pingbacks et types de commentaires personnalisés), AUCUN (aucun "
1529
+ "commentaire) ou NORMAL (commentaires postés manuellement sur votre blog).<br "
1530
+ "/>N'oubliez pas de reconstruire l'index si vous modifiez cette option !"
1531
+
1532
+ # @ relevanssi
1533
+ #: lib/interface.php:1312
1534
+ msgid "Custom fields to index:"
1535
+ msgstr "Champs personnalisés à indexer:"
1536
+
1537
+ # @ relevanssi
1538
+ #: lib/interface.php:1332
1539
+ msgid ""
1540
+ "Add synonyms here in 'key = value' format. When searching with the OR "
1541
+ "operator, any search of 'key' will be expanded to include 'value' as well. "
1542
+ "Using phrases is possible. The key-value pairs work in one direction only, "
1543
+ "but you can of course repeat the same pair reversed."
1544
+ msgstr ""
1545
+ "Ajouter les synonymes ici au format «clef = valeur». Lors d’une recherche "
1546
+ "avec l’opérateur logique OU, toute recherche de «clef» sera étendue pour "
1547
+ "inclure aussi «valeur». Il est possible d’utiliser des phrases. Les paires "
1548
+ "clef-valeur ne fonctionnent que dans un sens mais, évidemment, vous pouvez "
1549
+ "répéter la même clef à l’envers."
1550
+
1551
+ # @ relevanssi
1552
+ #: lib/interface.php:1357
1553
+ msgid ""
1554
+ "<p>Enter a word here to add it to the list of stopwords. The word will "
1555
+ "automatically be removed from the index, so re-indexing is not necessary. "
1556
+ "You can enter many words at the same time, separate words with commas.</p>"
1557
+ msgstr ""
1558
+ "<p>Entrez un mot ici pour l'ajouter dans la liste des stopwords. Le mot sera "
1559
+ "automatiquement retiré de l'index, de cette manière il est inutile de "
1560
+ "réindexer. Si vous entrez plusieurs mots d'un coup, séparez les mots avec "
1561
+ "une virgule.</p>"
1562
+
1563
+ # @ relevanssi
1564
+ #: lib/interface.php:1359
1565
+ msgid "Stopword(s) to add: "
1566
+ msgstr "Stopword(s) à ajouter: "
1567
+
1568
+ # @ relevanssi
1569
+ #: lib/interface.php:1360
1570
+ msgid "Add"
1571
+ msgstr "Ajouter"
1572
+
1573
+ # @ relevanssi
1574
+ #: lib/interface.php:1363
1575
+ msgid ""
1576
+ "<p>Here's a list of stopwords in the database. Click a word to remove it "
1577
+ "from stopwords. Removing stopwords won't automatically return them to index, "
1578
+ "so you need to re-index all posts after removing stopwords to get those "
1579
+ "words back to index."
1580
+ msgstr ""
1581
+ "<p>Voici une liste des stopwords de la base de données. Cliquez sur un mot "
1582
+ "pour le retirer des stopwords. Retirer de la liste des stopwords ne les "
1583
+ "réinjectera pas automatiquement dans l'index aussi vous devez réindexer tous "
1584
+ "les billet après retrait de stopwords pour les réinjecter dans l'index."
1585
+
1586
+ # @ relevanssi
1587
+ #: lib/interface.php:1389
1588
+ msgid "Remove all stopwords"
1589
+ msgstr "Retirer tous les stopwords"
lib/admin_ajax.php ADDED
@@ -0,0 +1,142 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ add_action( 'wp_ajax_relevanssi_truncate_index', 'relevanssi_truncate_index_ajax_wrapper' );
4
+ add_action( 'wp_ajax_relevanssi_index_taxonomies', 'relevanssi_index_taxonomies_ajax_wrapper' );
5
+ add_action( 'wp_ajax_relevanssi_index_users', 'relevanssi_index_users_ajax_wrapper' );
6
+ add_action( 'wp_ajax_relevanssi_index_posts', 'relevanssi_index_posts_ajax_wrapper' );
7
+ add_action( 'wp_ajax_relevanssi_count_posts', 'relevanssi_count_posts_ajax_wrapper' );
8
+ add_action( 'wp_ajax_relevanssi_count_missing_posts', 'relevanssi_count_missing_posts_ajax_wrapper' );
9
+ add_action( 'wp_ajax_relevanssi_count_taxonomies', 'relevanssi_count_taxonomies_ajax_wrapper' );
10
+ add_action( 'wp_ajax_relevanssi_list_categories', 'relevanssi_list_categories' );
11
+ add_action( 'wp_ajax_relevanssi_list_taxonomies', 'relevanssi_list_taxonomies_wrapper' );
12
+
13
+ function relevanssi_truncate_index_ajax_wrapper() {
14
+ $response = relevanssi_truncate_index();
15
+ echo json_encode($response);
16
+ wp_die();
17
+ }
18
+
19
+ function relevanssi_list_taxonomies_wrapper() {
20
+ $taxonomies = array();
21
+ if (function_exists('relevanssi_list_taxonomies')) {
22
+ $taxonomies = relevanssi_list_taxonomies();
23
+ }
24
+ echo json_encode($taxonomies);
25
+ wp_die();
26
+ }
27
+
28
+ function relevanssi_index_taxonomies_ajax_wrapper() {
29
+ $completed = absint( $_POST['completed'] );
30
+ $total = absint( $_POST['total'] );
31
+ $taxonomy = $_POST['taxonomy'];
32
+
33
+ $response = array();
34
+
35
+ $indexing_response = relevanssi_index_taxonomies_ajax($taxonomy);
36
+
37
+ $completed += $indexing_response['indexed'];
38
+ if ($completed === $total) {
39
+ $response['completed'] = "done";
40
+ $response['total_posts'] = $completed;
41
+ $response['percentage'] = 100;
42
+ $response['feedback'] = sprintf(_n("%d taxonomy term, total %d / %d.", "%d taxonomy terms, total %d / %d.", $indexing_response['indexed'], 'relevanssi'), $indexing_response['indexed'], $completed, $total) . "\n";
43
+ }
44
+ else {
45
+ $response['completed'] = $completed;
46
+ $response['feedback'] = sprintf(_n("%d taxonomy term, total %d / %d.", "%d taxonomy terms, total %d / %d.", $indexing_response['indexed'], 'relevanssi'), $indexing_response['indexed'], $completed, $total) . "\n";
47
+ $total > 0 ? $response['percentage'] = $completed / $total * 100 : $response['percentage'] = 0;
48
+ }
49
+ $response['offset'] = $offset;
50
+
51
+ echo json_encode($response);
52
+ wp_die();
53
+ }
54
+
55
+ function relevanssi_index_users_ajax_wrapper() {
56
+ $is_ajax = true;
57
+ if (get_option('relevanssi_index_users') === 'on') {
58
+ $response = relevanssi_index_users($is_ajax);
59
+ }
60
+ else {
61
+ $response = __("User indexing is disabled.", "relevanssi");
62
+ }
63
+ echo json_encode($response);
64
+ wp_die();
65
+ }
66
+
67
+ function relevanssi_index_posts_ajax_wrapper() {
68
+ $completed = absint( $_POST['completed'] );
69
+ $total = absint( $_POST['total'] );
70
+ $offset = absint( $_POST['offset'] );
71
+ $limit = absint( $_POST['limit'] );
72
+ $extend = strval($_POST['extend']);
73
+ $extend === 'true' ? $extend = true : $extend = false;
74
+
75
+ if ($limit < 1) $limit = 1;
76
+
77
+ $response = array();
78
+
79
+ $is_ajax = true;
80
+ $verbose = false;
81
+ //$limit = apply_filters('relevanssi_ajax_indexing_limit', 50);
82
+ if ($extend) $offset = true;
83
+
84
+ $indexing_response = relevanssi_build_index($offset, $verbose, $limit, $is_ajax);
85
+
86
+ if ($indexing_response['indexing_complete']) {
87
+ $response['completed'] = "done";
88
+ $response['percentage'] = 100;
89
+ $completed += $indexing_response['indexed'];
90
+ $response['total_posts'] = $completed;
91
+ $processed = $total;
92
+ }
93
+ else {
94
+ $completed += $indexing_response['indexed'];
95
+ $response['completed'] = $completed;
96
+
97
+ if ($offset === true) {
98
+ $processed = $completed;
99
+ }
100
+ else {
101
+ $offset = $offset + $limit;
102
+ $processed = $offset;
103
+ }
104
+
105
+ $total > 0 ? $response['percentage'] = $processed / $total * 100 : $response['percentage'] = 0;
106
+ }
107
+
108
+ $response['feedback'] .= sprintf(_n("Indexed %d post (total %d), processed %d / %d.", "Indexed %d posts (total %d), processed %d / %d.", $indexing_response['indexed'], 'relevanssi'), $indexing_response['indexed'], $completed, $processed, $total) . "\n";
109
+ $response['offset'] = $offset;
110
+
111
+ echo json_encode($response);
112
+ wp_die();
113
+ }
114
+
115
+ function relevanssi_count_taxonomies_ajax_wrapper() {
116
+ $count = -1;
117
+ if (function_exists('relevanssi_count_taxonomy_terms')) {
118
+ $count = relevanssi_count_taxonomy_terms();
119
+ }
120
+ echo json_encode($count);
121
+ wp_die();
122
+ }
123
+
124
+ function relevanssi_count_posts_ajax_wrapper() {
125
+ $count = relevanssi_count_total_posts();
126
+ echo json_encode($count);
127
+ wp_die();
128
+ }
129
+
130
+ function relevanssi_count_missing_posts_ajax_wrapper() {
131
+ $count = relevanssi_count_missing_posts();
132
+ echo json_encode($count);
133
+ wp_die();
134
+ }
135
+
136
+ function relevanssi_list_categories() {
137
+ $categories = get_categories(array('taxonomy' => 'category', 'hide_empty' => false));
138
+ echo json_encode($categories);
139
+ wp_die();
140
+ }
141
+
142
+ ?>
lib/admin_scripts.js ADDED
@@ -0,0 +1,304 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /* Confirmation for copying options between blogs */
2
+
3
+ jQuery(document).ready(function($) {
4
+ $('#copy_config').submit(function() {
5
+ var c = confirm(relevanssi.confirm);
6
+ return c; //you can just return c because it will be true or false
7
+ });
8
+
9
+ $('#removeallstopwords').click(function() {
10
+ var c = confirm(relevanssi.confirm_stopwords);
11
+ return c; //you can just return c because it will be true or false
12
+ });
13
+ });
14
+
15
+ jQuery(document).ready(function($){
16
+ $('.color-field').wpColorPicker();
17
+
18
+ var txtcol_control = $("#relevanssi_txt_col");
19
+ var bgcol_control = $("#relevanssi_bg_col");
20
+ var class_control = $("#relevanssi_class");
21
+ var css_control = $("#relevanssi_css");
22
+
23
+ $("#relevanssi_highlight").change(function() {
24
+ txtcol_control.addClass('screen-reader-text');
25
+ bgcol_control.addClass('screen-reader-text');
26
+ class_control.addClass('screen-reader-text');
27
+ css_control.addClass('screen-reader-text');
28
+
29
+ if (this.value == "col") txtcol_control.toggleClass('screen-reader-text');
30
+ if (this.value == "bgcol") bgcol_control.toggleClass('screen-reader-text');
31
+ if (this.value == "class") class_control.toggleClass('screen-reader-text');
32
+ if (this.value == "css") css_control.toggleClass('screen-reader-text');
33
+ });
34
+
35
+ $("#relevanssi_hilite_title").click(function() {
36
+ $("#title_description").toggleClass('screen-reader-text', !this.checked);
37
+ });
38
+
39
+ var or_fallback = $("#orfallback");
40
+ $("#relevanssi_implicit_operator").change(function() {
41
+ or_fallback.toggleClass('screen-reader-text');
42
+ });
43
+
44
+ var index_subscribers = $("#index_subscribers");
45
+ var user_extra_fields = $("#user_extra_fields");
46
+ $("#relevanssi_index_users").click(function() {
47
+ $("#user_profile_notice").toggleClass('screen-reader-text', !this.checked);
48
+ index_subscribers.toggleClass('screen-reader-text', !this.checked);
49
+ user_extra_fields.toggleClass('screen-reader-text', !this.checked);
50
+ });
51
+
52
+ var taxonomies = $("#taxonomies");
53
+ $("#relevanssi_index_taxonomies").click(function() {
54
+ taxonomies.toggleClass('screen-reader-text', !this.checked);
55
+ });
56
+
57
+ var fields_content = $("#index_field_input");
58
+ var fields_select = $("#relevanssi_index_fields_select");
59
+ fields_select.change(function() {
60
+ if (this.value == "some") fields_content.show();
61
+ if (this.value != "some") fields_content.hide();
62
+ });
63
+
64
+ $("#show_advanced_indexing").click(function(e) {
65
+ $("#advanced_indexing").toggleClass('screen-reader-text');
66
+ $("#hide_advanced_indexing").show();
67
+ $("#show_advanced_indexing").hide();
68
+ });
69
+
70
+ $("#hide_advanced_indexing").click(function(e) {
71
+ $("#advanced_indexing").toggleClass('screen-reader-text');
72
+ $("#show_advanced_indexing").show();
73
+ $("#hide_advanced_indexing").hide();
74
+ });
75
+
76
+ $("#indexing_tab :input").change(function(e) {
77
+ $("#build_index").attr("disabled", "disabled");
78
+ var relevanssi_note = $("#relevanssi-note");
79
+ relevanssi_note.show();
80
+ relevanssi_note.html(relevanssi.options_changed);
81
+ });
82
+
83
+ $("#relevanssi_default_orderby").change(function(e) {
84
+ if (this.value == "post_date") {
85
+ $("#relevanssi_throttle").prop("checked", false);
86
+ }
87
+ $("#throttle_disabled").toggleClass('screen-reader-text');
88
+ $("#throttle_enabled").toggleClass('screen-reader-text');
89
+ });
90
+
91
+ $("#relevanssi_show_pdf_errors").click(function(e) {
92
+ var error_box = $("#relevanssi_pdf_errors");
93
+ error_box.toggle();
94
+ var data = {
95
+ 'action': 'relevanssi_get_pdf_errors',
96
+ };
97
+ jQuery.post(ajaxurl, data, function(response) {
98
+ error_box.val(JSON.parse(response));
99
+ });
100
+ });
101
+
102
+ $("#relevanssi_excerpts").click(function() {
103
+ $("#relevanssi_breakdown").toggleClass('relevanssi_disabled', !this.checked);
104
+ $("#relevanssi_highlighting").toggleClass('relevanssi_disabled', !this.checked);
105
+ $("#tr_excerpt_custom_fields").toggleClass('relevanssi_disabled', !this.checked);
106
+ $("#tr_excerpt_allowable_tags").toggleClass('relevanssi_disabled', !this.checked);
107
+ $("#tr_excerpt_length").toggleClass('relevanssi_disabled', !this.checked);
108
+ $("#relevanssi_excerpt_length").attr('disabled', !this.checked);
109
+ $("#relevanssi_excerpt_type").attr('disabled', !this.checked);
110
+ $("#relevanssi_excerpt_allowable_tags").attr('disabled', !this.checked);
111
+ $("#relevanssi_excerpt_custom_fields").attr('disabled', !this.checked);
112
+ $("#relevanssi_highlight").attr('disabled', !this.checked);
113
+ $("#relevanssi_txt_col").attr('disabled', !this.checked);
114
+ $("#relevanssi_bg_col").attr('disabled', !this.checked);
115
+ $("#relevanssi_css").attr('disabled', !this.checked);
116
+ $("#relevanssi_class").attr('disabled', !this.checked);
117
+ $("#relevanssi_hilite_title").attr('disabled', !this.checked);
118
+ $("#relevanssi_highlight_docs").attr('disabled', !this.checked);
119
+ $("#relevanssi_highlight_comments").attr('disabled', !this.checked);
120
+ $("#relevanssi_word_boundaries").attr('disabled', !this.checked);
121
+ $("#relevanssi_show_matches").attr('disabled', !this.checked);
122
+ $("#relevanssi_show_matches_text").attr('disabled', !this.checked);
123
+ $("#relevanssi_highlight_docs_external").attr('disabled', !this.checked);
124
+ });
125
+ });
126
+
127
+ var time = 0;
128
+ var intervalID = 0;
129
+
130
+ function relevanssiUpdateClock() {
131
+ time++;
132
+ var time_formatted = rlv_format_time(Math.round(time));
133
+ document.getElementById("relevanssi_elapsed").innerHTML = time_formatted;
134
+ }
135
+
136
+ jQuery(document).ready(function($) {
137
+ $("#continue_indexing").click(function() {
138
+ $("#relevanssi-progress").show();
139
+ $("#results").show();
140
+ $("#relevanssi-timer").show();
141
+ $("#stateoftheindex").html(relevanssi.reload_state);
142
+ $("#indexing_button_instructions").hide();
143
+ var results = document.getElementById("results");
144
+ results.value = "";
145
+
146
+ intervalID = window.setInterval(relevanssiUpdateClock, 1000);
147
+
148
+ var data = {
149
+ 'action': 'relevanssi_count_missing_posts',
150
+ };
151
+ console.log("Counting posts.");
152
+ results.value += relevanssi.counting_posts + " ";
153
+ jQuery.post(ajaxurl, data, function(response) {
154
+ count_response = JSON.parse(response);
155
+ console.log("Counted " + count_response + " posts.");
156
+ results.value += count_response + " " + relevanssi.posts_found + "\n";
157
+
158
+ if (count_response > 0) {
159
+ var args = {
160
+ 'completed' : 0,
161
+ 'total' : count_response,
162
+ 'offset' : 0,
163
+ 'total_seconds' : 0,
164
+ 'limit' : 10,
165
+ 'extend' : true,
166
+ };
167
+ process_indexing_step(args);
168
+ }
169
+ else {
170
+ clearInterval(intervalID);
171
+ }
172
+ });
173
+ });
174
+ });
175
+
176
+ function process_indexing_step(args) {
177
+ // console.log(args.completed + " / " + args.total);
178
+ var t0 = performance.now();
179
+ jQuery.ajax({
180
+ type: 'POST',
181
+ url: ajaxurl,
182
+ data: {
183
+ action: 'relevanssi_index_posts',
184
+ completed: args.completed,
185
+ total: args.total,
186
+ offset: args.offset,
187
+ limit: args.limit,
188
+ extend: args.extend,
189
+ },
190
+ dataType: 'json',
191
+ success: function(response) {
192
+ console.log(response);
193
+ if (response.completed == "done") {
194
+ //console.log("response " + parseInt(response.total_posts));
195
+ var results_textarea = document.getElementById("results");
196
+ results_textarea.value += response.feedback;
197
+
198
+ document.getElementById("relevanssi_estimated").innerHTML = relevanssi.notimeremaining;
199
+
200
+ var hidden_posts = args.total - parseInt(response.total_posts);
201
+ results_textarea.value += relevanssi.indexing_complete + " " + hidden_posts + " " + relevanssi.excluded_posts;
202
+ results_textarea.scrollTop = results_textarea.scrollHeight;
203
+ jQuery('.rpi-progress div').animate({
204
+ width: response.percentage + '%',
205
+ }, 50, function() {
206
+ // Animation complete.
207
+ });
208
+
209
+ clearInterval(intervalID);
210
+ }
211
+ else {
212
+ var t1 = performance.now();
213
+ var time_seconds = (t1 - t0) / 1000;
214
+ time_seconds = Math.round(time_seconds * 100) / 100;
215
+ args.total_seconds += time_seconds;
216
+
217
+ var estimated_time = rlv_format_approximate_time(Math.round(args.total_seconds / response.percentage * 100 - args.total_seconds));
218
+
219
+ document.getElementById("relevanssi_estimated").innerHTML = estimated_time;
220
+
221
+ /*console.log("total time: " + total_seconds);
222
+ console.log("estimated time: " + Math.round(total_seconds / response.percentage * 100));
223
+ console.log("estimated remaining: " + Math.round((total_seconds / response.percentage * 100) - total_seconds));
224
+ console.log("estimated formatted: " + estimated_time);
225
+ */
226
+ if (time_seconds < 2) {
227
+ args.limit = args.limit * 2;
228
+ // current limit can be indexed in less than two seconds; double the limit
229
+ }
230
+ if (time_seconds < 5) {
231
+ args.limit += 5;
232
+ // current limit can be indexed in less than five seconds; up the limit
233
+ }
234
+ if (time_seconds > 20) {
235
+ args.limit = Math.round(args.limit / 2);
236
+ if (args.limit < 1) args.limit = 1;
237
+ // current limit takes more than twenty seconds; halve the limit
238
+ }
239
+ if (time_seconds > 10) {
240
+ args.limit -= 5;
241
+ if (args.limit < 1) args.limit = 1;
242
+ // current limit takes more than ten seconds; reduce the limit
243
+ }
244
+
245
+ var results_textarea = document.getElementById("results");
246
+ results_textarea.value += response.feedback;
247
+ results_textarea.scrollTop = results_textarea.scrollHeight;
248
+ var percentage_rounded = Math.round(response.percentage);
249
+
250
+ jQuery('.rpi-progress div').animate({
251
+ width: percentage_rounded + '%',
252
+ }, 50, function() {
253
+ // Animation complete.
254
+ });
255
+ //console.log("Next step.");
256
+ var new_args = {
257
+ 'completed' : parseInt(response.completed),
258
+ 'total' : args.total,
259
+ 'offset' : response.offset,
260
+ 'total_seconds' : args.total_seconds,
261
+ 'limit' : args.limit,
262
+ 'extend' : args.extend,
263
+ };
264
+
265
+ process_indexing_step(new_args);
266
+ }
267
+ }
268
+ })
269
+ }
270
+
271
+ function rlv_format_time(total_seconds) {
272
+ var hours = Math.floor(total_seconds / 3600);
273
+ var minutes = Math.floor((total_seconds - (hours * 3600)) / 60);
274
+ var seconds = total_seconds - (hours * 3600) - (minutes * 60);
275
+
276
+ if (minutes < 10) minutes = "0" + minutes;
277
+ if (seconds < 10) seconds = "0" + seconds;
278
+
279
+ return hours + ":" + minutes + ":" + seconds;
280
+ }
281
+
282
+ function rlv_format_approximate_time(total_seconds) {
283
+ var hours = Math.floor(total_seconds / 3600);
284
+ var minutes = Math.floor(total_seconds / 60);
285
+ var seconds = total_seconds - (hours * 3600) - (minutes * 60);
286
+
287
+ var time = ""
288
+ if (minutes > 99) {
289
+ hour_word = relevanssi.hours;
290
+ if (hours == 1) hour_word = relevanssi.hour;
291
+ time = relevanssi.about + " " + hours + " " + hour_word;
292
+ }
293
+ if (minutes > 79 && minutes < 100) time = relevanssi.ninety_min;
294
+ if (minutes > 49 && minutes < 80) time = relevanssi.sixty_min;
295
+ if (minutes < 50) {
296
+ if (seconds > 30) minutes += 1;
297
+ minute_word = relevanssi.minutes;
298
+ if (minutes == 1) minute_word = relevanssi.minute;
299
+ time = relevanssi.about + " " + minutes + " " + minute_word;
300
+ }
301
+ if (minutes < 1) time = relevanssi.underminute;
302
+
303
+ return time;
304
+ }
lib/admin_scripts_free.js ADDED
@@ -0,0 +1,49 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ jQuery(document).ready(function($) {
2
+ $("#build_index").click(function() {
3
+ $("#relevanssi-progress").show();
4
+ $("#results").show();
5
+ $("#relevanssi-timer").show();
6
+ $("#stateoftheindex").html(relevanssi.reload_state);
7
+ $("#indexing_button_instructions").hide();
8
+ var results = document.getElementById("results");
9
+ results.value = "";
10
+
11
+ var data = {
12
+ 'action': 'relevanssi_truncate_index',
13
+ };
14
+
15
+ intervalID = window.setInterval(relevanssiUpdateClock, 1000);
16
+
17
+ console.log("Truncating index.");
18
+ results.value += relevanssi.truncating_index + " ";
19
+ jQuery.post(ajaxurl, data, function(response) {
20
+ truncate_response = JSON.parse(response);
21
+ console.log("Truncate index: " + truncate_response);
22
+ if (truncate_response == true) {
23
+ results.value += relevanssi.done + "\n";
24
+ }
25
+
26
+ var data = {
27
+ 'action': 'relevanssi_count_posts',
28
+ };
29
+ console.log("Counting posts.");
30
+ results.value += relevanssi.counting_posts + " ";
31
+ jQuery.post(ajaxurl, data, function(response) {
32
+ count_response = JSON.parse(response);
33
+ console.log("Counted " + count_response + " posts.");
34
+ var post_total = parseInt(count_response);
35
+ results.value += count_response + " " + relevanssi.posts_found + "\n";
36
+
37
+ var args = {
38
+ 'completed' : 0,
39
+ 'total' : post_total,
40
+ 'offset' : 0,
41
+ 'total_seconds' : 0,
42
+ 'limit' : 10,
43
+ 'extend' : false,
44
+ };
45
+ process_indexing_step(args);
46
+ });
47
+ });
48
+ });
49
+ });
lib/admin_styles.css ADDED
@@ -0,0 +1,103 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ p.important {
2
+ color: #dd3300;
3
+ }
4
+
5
+ table.form-table table.widefat th {
6
+ padding-left: 8px;
7
+ }
8
+
9
+ #relevanssi_min_word_length {
10
+ width: 3em;
11
+ }
12
+
13
+ #relevanssi_trim_logs {
14
+ width: 4em;
15
+ }
16
+
17
+ #index_field_input {
18
+ margin-top: 1em;
19
+ }
20
+
21
+ #indexing_tab #results {
22
+ display: none;
23
+ width: 100%;
24
+ }
25
+
26
+ #relevanssi-progress {
27
+ display: none;
28
+ margin-bottom: 2em;
29
+ width: 100%;
30
+ height: 20px;
31
+ background-color: white;
32
+ }
33
+
34
+ .rpi-indicator {
35
+ width: 0;
36
+ height: 20px;
37
+ background-color: #afe240;
38
+ }
39
+
40
+ .relevanssi-weights-table {
41
+ min-width: 400px;
42
+ }
43
+
44
+ .relevanssi-weights-table td {
45
+ padding: 0;
46
+ }
47
+
48
+ .relevanssi-weights-table td.col-2, .relevanssi-weights-table th.col-2 {
49
+ width: 25%;
50
+ }
51
+
52
+ .rpi-progress {
53
+ display: none;
54
+ margin: 0.5em 0 2em 0;
55
+ width: 100%;
56
+ height: 20px;
57
+ background-color: white;
58
+ }
59
+
60
+ .rpi-progress div {
61
+ width: 0;
62
+ height: 20px;
63
+ background-color: #afe240;
64
+ }
65
+
66
+ #relevanssi_results {
67
+ display: none;
68
+ width: 100%;
69
+ }
70
+
71
+ #relevanssi_show_pdf_errors {
72
+ text-decoration: underline;
73
+ cursor: pointer;
74
+ color: #0073aa;
75
+ }
76
+
77
+ #relevanssi_pdf_errors {
78
+ display: none;
79
+ }
80
+
81
+ .visually_hidden {
82
+ margin: -1px;
83
+ padding: 0;
84
+ width: 1px;
85
+ height: 1px;
86
+ overflow: hidden;
87
+ clip: rect(0 0 0 0);
88
+ clip: rect(0,0,0,0);
89
+ position: absolute;
90
+ }
91
+
92
+ .relevanssi_disabled, .relevanssi_disabled td, .relevanssi_disabled th, .relevanssi_disabled p {
93
+ color: #999;
94
+ }
95
+
96
+ #relevanssi-timer {
97
+ display: none;
98
+ }
99
+
100
+ .relevanssi_ul {
101
+ list-style-type: square;
102
+ margin-left: 2em;
103
+ }
lib/common.php CHANGED
@@ -37,6 +37,36 @@ function relevanssi_wpml_filter($data) {
37
  return $data;
38
  }
39
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
40
  /*
41
  * Fetches a key-direction pair from the orderby array. Converts key names to match the post object parameters
42
  * when necessary and seeds the random generator, if required.
@@ -89,7 +119,7 @@ function relevanssi_get_next_key(&$orderby) {
89
  function relevanssi_get_compare_values($key, $item_1, $item_2) {
90
  function_exists('mb_strtolower') ? $strtolower = 'mb_strtolower' : $strtolower = 'strtolower';
91
 
92
- if ($key == "rand") {
93
  do {
94
  $key1 = rand();
95
  $key2 = rand();
@@ -104,7 +134,7 @@ function relevanssi_get_compare_values($key, $item_1, $item_2) {
104
  $key1 = "";
105
  $key2 = "";
106
 
107
- if ($key == "meta_value" || $key == "meta_value_num") {
108
  global $wp_query;
109
  $key = $wp_query->query_vars['meta_key'];
110
  if (!isset($key)) return array("", "");
@@ -139,7 +169,7 @@ function relevanssi_get_compare_values($key, $item_1, $item_2) {
139
 
140
  function relevanssi_compare_values($key1, $key2, $compare) {
141
  $val = 0;
142
- if ($compare == "date") {
143
  if (strtotime($key1) > strtotime($key2)) {
144
  $val = 1;
145
  }
@@ -147,7 +177,7 @@ function relevanssi_compare_values($key1, $key2, $compare) {
147
  $val = -1;
148
  }
149
  }
150
- else if ($compare == "string") {
151
  $val = relevanssi_mb_strcasecmp($key1, $key2);
152
  }
153
  else {
@@ -171,64 +201,55 @@ function relevanssi_mb_strcasecmp($str1, $str2, $encoding = null) {
171
  }
172
  }
173
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
174
  /**
175
  * Function by Matthew Hood http://my.php.net/manual/en/function.sort.php#75036
176
  */
177
  function relevanssi_object_sort(&$data, $orderby) {
178
- $keys = array();
179
- $dirs = array();
180
- $compares = array();
 
 
 
181
  do {
182
  $values = relevanssi_get_next_key($orderby);
183
  if (!empty($values['key'])) {
184
- $keys[] = $values['key'];
185
- $dirs[] = $values['dir'];
186
- $compares[] = $values['compare'];
187
  }
188
  } while (!empty($values['key']));
189
 
190
- $primary_key = $keys[0];
191
  if (!isset($data[0]->$primary_key)) return; // trying to sort by a non-existent key
192
 
193
- for ($i = count($data) - 1; $i >= 0; $i--) {
194
- $swapped = false;
195
- for ($j = 0; $j < $i; $j++) {
196
- $key1 = "";
197
- $key2 = "";
198
-
199
- $level = -1;
200
- $val = 0;
201
-
202
- while ($val == 0) {
203
- $level++;
204
- if (!isset($keys[$level])) {
205
- $level--;
206
- break; // give up – we can't sort these two
207
- }
208
- $compare = $compares[$level];
209
- $compare_values = relevanssi_get_compare_values($keys[$level], $data[$j], $data[$j + 1]);
210
- $val = relevanssi_compare_values($compare_values['key1'], $compare_values['key2'], $compare);
211
- }
212
-
213
- if ('asc' == $dirs[$level]) {
214
- if ($val > 0) {
215
- $tmp = $data[$j];
216
- $data[$j] = $data[$j + 1];
217
- $data[$j + 1] = $tmp;
218
- $swapped = true;
219
- }
220
- }
221
- else {
222
- if ($val < 1) {
223
- $tmp = $data[$j];
224
- $data[$j] = $data[$j + 1];
225
- $data[$j + 1] = $tmp;
226
- $swapped = true;
227
- }
228
- }
229
- }
230
- if (!$swapped) return;
231
- }
232
  }
233
 
234
  function relevanssi_show_matches($data, $hit) {
@@ -291,6 +312,14 @@ function relevanssi_update_log($query, $hits) {
291
  }
292
  }
293
 
 
 
 
 
 
 
 
 
294
  /**
295
  * Do note that while this function takes $post_ok as a parameter, it actually doesn't care much
296
  * about the previous value, and will instead overwrite it. If you want to make sure your value
@@ -319,12 +348,18 @@ function relevanssi_default_post_ok($post_ok, $doc) {
319
  else if (defined('GROUPS_CORE_VERSION')) {
320
  // Groups
321
  $current_user = wp_get_current_user();
322
- $access = Groups_Post_Access::user_can_read_post($doc, $current_user->ID);
323
  }
324
  else if (defined('SIMPLE_WP_MEMBERSHIP_VER')) {
325
  // Simple Membership
326
- $access_ctrl = SwpmAccessControl::get_instance();
327
- $access = $access_ctrl->can_i_read_post($post);
 
 
 
 
 
 
328
  }
329
  else {
330
  // Basic WordPress version
@@ -455,6 +490,14 @@ function relevanssi_recognize_phrases($q) {
455
  if (count($phrases) > 0) {
456
  foreach ($phrases as $phrase) {
457
  $queries = array();
 
 
 
 
 
 
 
 
458
  $phrase = esc_sql($phrase);
459
  "on" == get_option("relevanssi_index_excerpt") ? $excerpt = " OR post_excerpt LIKE '%$phrase%'" : $excerpt = "";
460
  $query = "(SELECT ID FROM $wpdb->posts
@@ -547,37 +590,77 @@ function relevanssi_remove_punct($a) {
547
 
548
  $a = preg_replace ('/<[^>]*>/', ' ', $a);
549
 
550
- $a = str_replace("\r", '', $a); // --- replace with empty space
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
551
  $a = str_replace("\n", ' ', $a); // --- replace with space
552
  $a = str_replace("\t", ' ', $a); // --- replace with space
553
 
554
  $a = stripslashes($a);
555
 
556
- $a = str_replace('ß', 'ss', $a);
557
-
558
- $a = str_replace("·", '', $a);
559
- $a = str_replace("…", '', $a);
560
- $a = str_replace("€", '', $a);
561
- $a = str_replace("&shy;", '', $a);
562
-
563
- $a = str_replace(chr(194) . chr(160), ' ', $a);
564
- $a = str_replace("&nbsp;", ' ', $a);
565
- $a = str_replace('&#8217;', ' ', $a);
566
- $a = str_replace("'", ' ', $a);
567
- $a = str_replace("’", ' ', $a);
568
- $a = str_replace("‘", ' ', $a);
569
- $a = str_replace("”", ' ', $a);
570
- $a = str_replace("“", ' ', $a);
571
- $a = str_replace("„", ' ', $a);
572
- $a = str_replace("´", ' ', $a);
573
- $a = str_replace("—", ' ', $a);
574
- $a = str_replace("–", ' ', $a);
575
- $a = str_replace("×", ' ', $a);
576
- $a = preg_replace('/[[:punct:]]+/u', ' ', $a);
577
 
578
  $a = preg_replace('/[[:space:]]+/', ' ', $a);
579
- $a = trim($a);
580
 
 
 
 
 
 
 
581
  return $a;
582
  }
583
 
@@ -894,3 +977,168 @@ function relevanssi_debug_echo($s) {
894
  echo $s . "\n";
895
  }
896
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
37
  return $data;
38
  }
39
 
40
+ /*
41
+ * If the Polylang allow all option is enabled, removes the Polylang language filter.
42
+ */
43
+ function relevanssi_polylang_filter($query) {
44
+ $polylang_allow_all = get_option('relevanssi_polylang_all_languages');
45
+ if ($polylang_allow_all == "on") {
46
+ $ok_queries = array();
47
+
48
+ foreach ($query->tax_query->queries as $tax_query) {
49
+ if ($tax_query['taxonomy'] != 'language') $ok_queries[] = $tax_query;
50
+ }
51
+ $query->tax_query->queries = $ok_queries;
52
+
53
+ if (isset($query->query_vars['tax_query'])) {
54
+ $ok_queries = array();
55
+ foreach ($query->query_vars['tax_query'] as $tax_query) {
56
+ if ($tax_query['taxonomy'] != 'language') $ok_queries[] = $tax_query;
57
+ }
58
+ $query->query_vars['tax_query'] = $ok_queries;
59
+ }
60
+
61
+ if (isset($query->query_vars['taxonomy']) && $query->query_vars['taxonomy'] === 'language') {
62
+ unset($query->query_vars['taxonomy']);
63
+ unset($query->query_vars['term']);
64
+ }
65
+ }
66
+
67
+ return $query;
68
+ }
69
+
70
  /*
71
  * Fetches a key-direction pair from the orderby array. Converts key names to match the post object parameters
72
  * when necessary and seeds the random generator, if required.
119
  function relevanssi_get_compare_values($key, $item_1, $item_2) {
120
  function_exists('mb_strtolower') ? $strtolower = 'mb_strtolower' : $strtolower = 'strtolower';
121
 
122
+ if ($key === "rand") {
123
  do {
124
  $key1 = rand();
125
  $key2 = rand();
134
  $key1 = "";
135
  $key2 = "";
136
 
137
+ if ($key === "meta_value" || $key === "meta_value_num") {
138
  global $wp_query;
139
  $key = $wp_query->query_vars['meta_key'];
140
  if (!isset($key)) return array("", "");
169
 
170
  function relevanssi_compare_values($key1, $key2, $compare) {
171
  $val = 0;
172
+ if ($compare === "date") {
173
  if (strtotime($key1) > strtotime($key2)) {
174
  $val = 1;
175
  }
177
  $val = -1;
178
  }
179
  }
180
+ else if ($compare === "string") {
181
  $val = relevanssi_mb_strcasecmp($key1, $key2);
182
  }
183
  else {
201
  }
202
  }
203
 
204
+ function relevanssi_cmp_function($a, $b) {
205
+ global $relevanssi_keys, $relevanssi_dirs, $relevanssi_compares;
206
+ $level = -1;
207
+ $val = 0;
208
+
209
+ while ($val === 0) {
210
+ $level++;
211
+ if (!isset($relevanssi_keys[$level])) {
212
+ $level--;
213
+ break; // give up – we can't sort these two
214
+ }
215
+ $compare = $relevanssi_compares[$level];
216
+ $compare_values = relevanssi_get_compare_values($relevanssi_keys[$level], $a, $b);
217
+ $val = relevanssi_compare_values($compare_values['key1'], $compare_values['key2'], $compare);
218
+ }
219
+
220
+ if ('asc' === $relevanssi_dirs[$level]) {
221
+ return $val;
222
+ }
223
+ else {
224
+ return $val * -1;
225
+ }
226
+ }
227
+
228
  /**
229
  * Function by Matthew Hood http://my.php.net/manual/en/function.sort.php#75036
230
  */
231
  function relevanssi_object_sort(&$data, $orderby) {
232
+ global $relevanssi_keys, $relevanssi_dirs, $relevanssi_compares;
233
+
234
+ $relevanssi_keys = array();
235
+ $relevanssi_dirs = array();
236
+ $relevanssi_compares = array();
237
+
238
  do {
239
  $values = relevanssi_get_next_key($orderby);
240
  if (!empty($values['key'])) {
241
+ $relevanssi_keys[] = $values['key'];
242
+ $relevanssi_dirs[] = $values['dir'];
243
+ $relevanssi_compares[] = $values['compare'];
244
  }
245
  } while (!empty($values['key']));
246
 
247
+ $primary_key = $relevanssi_keys[0];
248
  if (!isset($data[0]->$primary_key)) return; // trying to sort by a non-existent key
249
 
250
+ usort($data, "relevanssi_cmp_function");
251
+
252
+ return;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
253
  }
254
 
255
  function relevanssi_show_matches($data, $hit) {
312
  }
313
  }
314
 
315
+ function relevanssi_trim_logs() {
316
+ global $wpdb, $relevanssi_variables;
317
+ $interval = get_option('relevanssi_trim_logs');
318
+ $query = "DELETE FROM " . $relevanssi_variables['log_table'] . " WHERE time < TIMESTAMP(DATE_SUB(NOW(), INTERVAL $interval DAY))";
319
+
320
+ $wpdb->query($query);
321
+ }
322
+
323
  /**
324
  * Do note that while this function takes $post_ok as a parameter, it actually doesn't care much
325
  * about the previous value, and will instead overwrite it. If you want to make sure your value
348
  else if (defined('GROUPS_CORE_VERSION')) {
349
  // Groups
350
  $current_user = wp_get_current_user();
351
+ $post_ok = Groups_Post_Access::user_can_read_post($doc, $current_user->ID);
352
  }
353
  else if (defined('SIMPLE_WP_MEMBERSHIP_VER')) {
354
  // Simple Membership
355
+ $logged_in = SwpmMemberUtils::is_member_logged_in();
356
+ if (!$logged_in) {
357
+ $post_ok = false;
358
+ }
359
+ else {
360
+ $access_ctrl = SwpmAccessControl::get_instance();
361
+ $post_ok = $access_ctrl->can_i_read_post($doc);
362
+ }
363
  }
364
  else {
365
  // Basic WordPress version
490
  if (count($phrases) > 0) {
491
  foreach ($phrases as $phrase) {
492
  $queries = array();
493
+ $phrase = str_replace(“‘”, ‘_’, $phrase);
494
+ $phrase = str_replace(“’”, ‘_’, $phrase);
495
+ $phrase = str_replace(“‘”, ‘_’, $phrase);
496
+ $phrase = str_replace(“””, ‘_’, $phrase);
497
+ $phrase = str_replace(““”, ‘_’, $phrase);
498
+ $phrase = str_replace(“„”, ‘_’, $phrase);
499
+ $phrase = str_replace(“´”, ‘_’, $phrase);
500
+ $phrase = $wpdb->esc_like($phrase);
501
  $phrase = esc_sql($phrase);
502
  "on" == get_option("relevanssi_index_excerpt") ? $excerpt = " OR post_excerpt LIKE '%$phrase%'" : $excerpt = "";
503
  $query = "(SELECT ID FROM $wpdb->posts
590
 
591
  $a = preg_replace ('/<[^>]*>/', ' ', $a);
592
 
593
+ $punct_options = get_option('relevanssi_punctuation');
594
+
595
+ $hyphen_replacement = " ";
596
+ $endash_replacement = " ";
597
+ $emdash_replacement = " ";
598
+ if (isset($punct_options['hyphens']) && $punct_options['hyphens'] === "remove") {
599
+ $hyphen_replacement = "";
600
+ $endash_replacement = "";
601
+ $emdash_replacement = "";
602
+ }
603
+ if (isset($punct_options['hyphens']) && $punct_options['hyphens'] === "keep") {
604
+ $hyphen_replacement = "HYPHENTAIKASANA";
605
+ $endash_replacement = "ENDASHTAIKASANA";
606
+ $emdash_replacement = "EMDASHTAIKASANA";
607
+ }
608
+
609
+ $quote_replacement = " ";
610
+ if (isset($punct_options['quote']) && $punct_options['quotes'] === "remove") $quote_replacement = "";
611
+
612
+ $ampersand_replacement = " ";
613
+ if (isset($punct_options['ampersands']) && $punct_options['ampersands'] === "remove") {
614
+ $ampersand_replacement = "";
615
+ }
616
+ if (isset($punct_options['ampersands']) && $punct_options['ampersands'] === "keep") {
617
+ $ampersand_replacement = "AMPERSANDTAIKASANA";
618
+ }
619
+
620
+ $replacement_array = array(
621
+ "ß" => 'ss',
622
+ "·" => '',
623
+ "…" => '',
624
+ "€" => '',
625
+ "&shy;" => '',
626
+ "&nbsp;" => ' ',
627
+ '&#8217;' => ' ',
628
+ chr(194) . chr(160) => ' ',
629
+ "×" => ' ',
630
+ "'" => $quote_replacement,
631
+ "’" => $quote_replacement,
632
+ "‘" => $quote_replacement,
633
+ "”" => $quote_replacement,
634
+ "“" => $quote_replacement,
635
+ "„" => $quote_replacement,
636
+ "´" => $quote_replacement,
637
+ "-" => $hyphen_replacement,
638
+ "–" => $endash_replacement,
639
+ "—" => $emdash_replacement,
640
+ "&amp;" => $ampersand_replacement,
641
+ "&" => $ampersand_replacement,
642
+ );
643
+
644
+ $replacement_array = apply_filters('relevanssi_punctuation_filter', $replacement_array);
645
+
646
+ $a = str_replace("\r", ' ', $a); // --- replace with empty space
647
  $a = str_replace("\n", ' ', $a); // --- replace with space
648
  $a = str_replace("\t", ' ', $a); // --- replace with space
649
 
650
  $a = stripslashes($a);
651
 
652
+ $a = str_replace(array_keys($replacement_array), array_values($replacement_array), $a);
653
+
654
+ $a = preg_replace('/[[:punct:]]+/u', apply_filters('relevanssi_default_punctuation_replacement', ' '), $a);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
655
 
656
  $a = preg_replace('/[[:space:]]+/', ' ', $a);
 
657
 
658
+ $a = str_replace('AMPERSANDTAIKASANA', '&', $a);
659
+ $a = str_replace('HYPHENTAIKASANA', '-', $a);
660
+ $a = str_replace('ENDASHTAIKASANA', '–', $a);
661
+ $a = str_replace('EMDASHTAIKASANA', '—', $a);
662
+
663
+ $a = trim($a);
664
  return $a;
665
  }
666
 
977
  echo $s . "\n";
978
  }
979
  }
980
+
981
+ function get_Relevanssi_Taxonomy_Walker() {
982
+ if (!class_exists("Relevanssi_Taxonomy_Walker")) {
983
+ class Relevanssi_Taxonomy_Walker extends Walker_Category_Checklist {
984
+ public $name;
985
+
986
+ public function start_el( &$output, $category, $depth = 0, $args = array(), $id = 0 ) {
987
+ if ( empty( $args['taxonomy'] ) ) {
988
+ $taxonomy = 'category';
989
+ } else {
990
+ $taxonomy = $args['taxonomy'];
991
+ }
992
+
993
+ $name = $this->name;
994
+
995
+ $args['popular_cats'] = empty( $args['popular_cats'] ) ? array() : $args['popular_cats'];
996
+ $class = in_array( $category->term_id, $args['popular_cats'] ) ? ' class="popular-category"' : '';
997
+
998
+ $args['selected_cats'] = empty( $args['selected_cats'] ) ? array() : $args['selected_cats'];
999
+
1000
+ if ( ! empty( $args['list_only'] ) ) {
1001
+ $aria_checked = 'false';
1002
+ $inner_class = 'category';
1003
+
1004
+ if ( in_array( $category->term_id, $args['selected_cats'] ) ) {
1005
+ $inner_class .= ' selected';
1006
+ $aria_checked = 'true';
1007
+ }
1008
+
1009
+ /** This filter is documented in wp-includes/category-template.php */
1010
+ $output .= "\n" . '<li' . $class . '>' .
1011
+ '<div class="' . $inner_class . '" data-term-id=' . $category->term_id .
1012
+ ' tabindex="0" role="checkbox" aria-checked="' . $aria_checked . '">' .
1013
+ esc_html( apply_filters( 'the_category', $category->name ) ) . '</div>';
1014
+ } else {
1015
+ /** This filter is documented in wp-includes/category-template.php */
1016
+ $output .= "\n<li id='{$taxonomy}-{$category->term_id}'$class>" .
1017
+ '<label class="selectit"><input value="' . $category->term_id . '" type="checkbox" name="'.$name.'[]" id="in-'.$taxonomy.'-' . $category->term_id . '"' .
1018
+ checked( in_array( $category->term_id, $args['selected_cats'] ), true, false ) .
1019
+ disabled( empty( $args['disabled'] ), false, false ) . ' /> ' .
1020
+ esc_html( apply_filters( 'the_category', $category->name ) ) . '</label>';
1021
+ }
1022
+ }
1023
+ }
1024
+ }
1025
+
1026
+ return new Relevanssi_Taxonomy_Walker;
1027
+ }
1028
+
1029
+ // Thanks to Teemu Muikku
1030
+ add_action('switch_blog', 'relevanssi_switch_blog', 1, 2 );
1031
+ function relevanssi_switch_blog($new_blog, $prev_blog) {
1032
+ global $relevanssi_variables, $wpdb;
1033
+
1034
+ if (!isset($relevanssi_variables) || !isset($relevanssi_variables['relevanssi_table'] ))
1035
+ return;
1036
+
1037
+ $relevanssi_variables['relevanssi_table'] = $wpdb->prefix . "relevanssi";
1038
+ $relevanssi_variables['stopword_table'] = $wpdb->prefix . "relevanssi_stopwords";
1039
+ $relevanssi_variables['log_table'] = $wpdb->prefix . "relevanssi_log";
1040
+ }
1041
+
1042
+ function relevanssi_get_permalink() {
1043
+ $permalink = apply_filters('relevanssi_permalink', get_permalink());
1044
+ $highlight_docs = get_option('relevanssi_highlight_docs');
1045
+ if (isset($highlight_docs) && $highlight_docs != "off") {
1046
+ $permalink = esc_attr(add_query_arg(array(
1047
+ 'highlight' => urlencode(get_search_query())
1048
+ ), $permalink )
1049
+ );
1050
+ }
1051
+ return $permalink;
1052
+ }
1053
+
1054
+ function relevanssi_the_permalink() {
1055
+ echo relevanssi_get_permalink();
1056
+ }
1057
+
1058
+ function relevanssi_permalink($content, $link_post = NULL) {
1059
+ if ($link_post == NULL) {
1060
+ global $post;
1061
+ if (isset($post->link))
1062
+ $content = $post->link;
1063
+ }
1064
+ $query = get_search_query();
1065
+ return $content;
1066
+ }
1067
+
1068
+ function relevanssi_didyoumean($query, $pre, $post, $n = 5, $echo = true) {
1069
+ if (function_exists('relevanssi_premium_didyoumean')) {
1070
+ $result = relevanssi_premium_didyoumean($query, $pre, $post, $n);
1071
+ }
1072
+ else {
1073
+ $result = relevanssi_simple_didyoumean($query, $pre, $post, $n);
1074
+ }
1075
+
1076
+ if ($echo) echo $result;
1077
+
1078
+ return $result;
1079
+ }
1080
+
1081
+ function relevanssi_simple_didyoumean($query, $pre, $post, $n = 5) {
1082
+ global $wpdb, $relevanssi_variables, $wp_query;
1083
+
1084
+ $total_results = $wp_query->found_posts;
1085
+
1086
+ if ($total_results > $n) return;
1087
+
1088
+ $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";
1089
+ $q = apply_filters('relevanssi_didyoumean_query', $q);
1090
+
1091
+ $data = $wpdb->get_results($q);
1092
+
1093
+ $distance = -1;
1094
+ $closest = "";
1095
+
1096
+ foreach ($data as $row) {
1097
+ if ($row->c < 2) break;
1098
+ $lev = levenshtein($query, $row->query);
1099
+
1100
+ if ($lev < $distance || $distance < 0) {
1101
+ if ($row->a > 0) {
1102
+ $distance = $lev;
1103
+ $closest = $row->query;
1104
+ if ($lev == 1) break; // get the first with distance of 1 and go
1105
+ }
1106
+ }
1107
+ }
1108
+
1109
+ $result = null;
1110
+ if ($distance > 0) {
1111
+ $url = get_bloginfo('url');
1112
+ $url = esc_attr(add_query_arg(array(
1113
+ 's' => urlencode($closest)
1114
+
1115
+ ), $url ));
1116
+ $url = apply_filters('relevanssi_didyoumean_url', $url, $query, $closest);
1117
+ $closest = htmlspecialchars($closest);
1118
+ $result = apply_filters('relevanssi_didyoumean_suggestion', "$pre<a href='$url'>$closest</a>$post");
1119
+ }
1120
+
1121
+ return $result;
1122
+ }
1123
+
1124
+ function relevanssi_wpmu_drop($tables) {
1125
+ global $relevanssi_variables;
1126
+ $tables[] = $relevanssi_variables['relevanssi_table'];
1127
+ $tables[] = $relevanssi_variables['stopword_table'];
1128
+ $tables[] = $relevanssi_variables['log_table'];
1129
+ return $tables;
1130
+ }
1131
+
1132
+ function relevanssi_get_post($id) {
1133
+ if (function_exists('relevanssi_premium_get_post')) return relevanssi_premium_get_post($id);
1134
+
1135
+ global $relevanssi_post_array;
1136
+
1137
+ if (isset($relevanssi_post_array[$id])) {
1138
+ $post = $relevanssi_post_array[$id];
1139
+ }
1140
+ else {
1141
+ $post = get_post($id);
1142
+ }
1143
+ return $post;
1144
+ }
lib/excerpts-highlights.php CHANGED
@@ -23,13 +23,16 @@ function relevanssi_do_excerpt($t_post, $query) {
23
 
24
  // These shortcodes cause problems with Relevanssi excerpts
25
  $problem_shortcodes = apply_filters('relevanssi_disable_shortcodes_excerpt',
26
- array('layerslider', 'responsive-flipbook', 'breadcrumb', 'maxmegamenu', 'robogallery')
27
  );
28
  foreach ($problem_shortcodes as $shortcode) {
29
  remove_shortcode($shortcode);
30
  }
31
 
32
  $content = apply_filters('relevanssi_pre_excerpt_content', $post->post_content, $post, $query);
 
 
 
33
  $content = apply_filters('the_content', $content);
34
  $content = apply_filters('relevanssi_excerpt_content', $content, $post, $query);
35
 
@@ -40,7 +43,9 @@ function relevanssi_do_excerpt($t_post, $query) {
40
  $content = preg_replace("/\n\r|\r\n|\n|\r/", " ", $content);
41
  // $content = trim(preg_replace("/\s\s+/", " ", $content));
42
 
43
- $query = relevanssi_add_synonyms($query);
 
 
44
 
45
  $excerpt_data = relevanssi_create_excerpt($content, $terms, $query);
46
 
@@ -73,14 +78,13 @@ function relevanssi_do_excerpt($t_post, $query) {
73
  $excerpt = apply_filters('relevanssi_excerpt', $excerpt);
74
 
75
  if (empty($excerpt) && !empty($post->post_excerpt)) $excerpt = $post->post_excerpt;
76
- $excerpt == $post->post_content ? $whole_post_excerpted = true : $whole_post_excerpted = false;
77
 
78
  $ellipsis = apply_filters('relevanssi_ellipsis', '...');
79
 
80
  $highlight = get_option('relevanssi_highlight');
81
  if ("none" != $highlight) {
82
  if ( !is_admin() || ( defined( 'DOING_AJAX' ) && DOING_AJAX ) ) {
83
- $query = relevanssi_add_synonyms($query);
84
  $excerpt = relevanssi_highlight_terms($excerpt, $query);
85
  }
86
  }
@@ -97,7 +101,7 @@ function relevanssi_do_excerpt($t_post, $query) {
97
  $excerpt = $excerpt . $ellipsis;
98
  }
99
 
100
- if (relevanssi_s2member_level($post->ID) == 1) $excerpt = $post->post_excerpt;
101
 
102
  if ($old_global_post != NULL) $post = $old_global_post;
103
 
@@ -140,7 +144,7 @@ function relevanssi_create_excerpt($content, $terms, $query) {
140
  uksort($terms, 'relevanssi_strlen_sort');
141
 
142
  $start = false;
143
- if ("chars" == $type) {
144
  $prev_count = floor($excerpt_length / 2);
145
  list($excerpt, $best_excerpt_term_hits, $start) = relevanssi_extract_relevant(array_keys($terms), $content, $excerpt_length, $prev_count);
146
  }
@@ -148,6 +152,7 @@ function relevanssi_create_excerpt($content, $terms, $query) {
148
  $words = explode(' ', $content);
149
  $i = 0;
150
 
 
151
  while ($i < count($words)) {
152
  if ($i + $excerpt_length > count($words)) {
153
  $i = count($words) - $excerpt_length;
@@ -160,16 +165,23 @@ function relevanssi_create_excerpt($content, $terms, $query) {
160
  $excerpt_slice = " $excerpt_slice";
161
  $term_hits = 0;
162
  $count = relevanssi_count_matches(array_keys($terms), $excerpt_slice);
163
-
 
 
164
  if ($count > 0 && $count > $best_excerpt_term_hits) {
165
  $best_excerpt_term_hits = $count;
166
  $excerpt = $excerpt_slice;
167
  }
168
 
 
 
 
 
 
169
  $i += $excerpt_length;
170
  }
171
 
172
- if ("" == $excerpt) {
173
  $excerpt = explode(' ', $content, $excerpt_length);
174
  array_pop($excerpt);
175
  $excerpt = implode(' ', $excerpt);
@@ -184,28 +196,18 @@ function relevanssi_create_excerpt($content, $terms, $query) {
184
 
185
  function relevanssi_highlight_in_docs($content) {
186
  global $wp_query;
187
- if (is_singular() && in_the_loop()) {
188
- if (isset($_SERVER['HTTP_REFERER'])) {
189
- $referrer = preg_replace('@(http|https)://@', '', stripslashes(urldecode($_SERVER['HTTP_REFERER'])));
190
- $args = explode('?', $referrer);
191
- $query = array();
192
-
193
- if ( count( $args ) > 1 )
194
- parse_str( $args[1], $query );
195
-
196
- if (stripos($referrer, $_SERVER['SERVER_NAME']) !== false) {
197
- // Local search
198
- if (isset($query['s'])) {
199
- $q = relevanssi_add_synonyms($query['s']);
200
- $in_docs = true;
201
- $highlighted_content = relevanssi_highlight_terms($content, $q, $in_docs);
202
- if (!empty($highlighted_content)) $content = $highlighted_content;
203
- // Sometimes the content comes back empty; until I figure out why, this tries to be a solution.
204
- }
205
- }
206
- if (function_exists('relevanssi_nonlocal_highlighting')) {
207
- $content = relevanssi_nonlocal_highlighting($referrer, $content, $query);
208
- }
209
  }
210
  }
211
 
@@ -214,7 +216,7 @@ function relevanssi_highlight_in_docs($content) {
214
 
215
  function relevanssi_highlight_terms($excerpt, $query, $in_docs = false) {
216
  $type = get_option("relevanssi_highlight");
217
- if ("none" == $type) {
218
  return $excerpt;
219
  }
220
 
@@ -290,7 +292,7 @@ function relevanssi_highlight_terms($excerpt, $query, $in_docs = false) {
290
 
291
  uksort($terms, 'relevanssi_strlen_sort');
292
 
293
- get_option('relevanssi_word_boundaries', 'on') == 'on' ? $word_boundaries = true : $word_boundaries = false;
294
  foreach ($terms as $term) {
295
  // $pr_term = relevanssi_replace_punctuation(preg_quote($term, '/'));
296
  $pr_term = preg_quote($term, '/');
@@ -457,7 +459,7 @@ function relevanssi_remove_nested_highlights($s, $a, $b) {
457
  $new_bits = array($bits[0]);
458
  $in = false;
459
  for ($i = 1; $i < count($bits); $i++) {
460
- if ($bits[$i] == '') continue;
461
 
462
  if (!$in) {
463
  array_push($new_bits, $a);
@@ -473,7 +475,7 @@ function relevanssi_remove_nested_highlights($s, $a, $b) {
473
  $whole_bit = "";
474
  foreach ($more_bits as $bit) {
475
  $whole_bit .= $bit;
476
- if ($j == $k) $whole_bit .= $b;
477
  $j++;
478
  }
479
  $bits[$i] = $whole_bit;
@@ -494,27 +496,33 @@ function relevanssi_remove_nested_highlights($s, $a, $b) {
494
  // Nothing exciting here. The array_unique is required
495
  // unless you decide to make the words unique before passing in
496
  function relevanssi_extract_locations($words, $fulltext) {
497
- $locations = array();
498
  foreach($words as $word) {
 
499
  $wordlen = relevanssi_strlen($word);
500
  $loc = relevanssi_stripos($fulltext, $word, 0);
501
  while($loc !== FALSE) {
502
  $locations[] = $loc;
503
- $loc = relevanssi_stripos($fulltext, $word, $loc + $wordlen);
 
 
 
 
 
504
  }
505
  }
506
  $locations = array_unique($locations);
507
- sort($locations);
508
-
509
  return $locations;
510
  }
511
 
512
  function relevanssi_count_matches($words, $fulltext) {
513
- $count = 0;
514
  foreach( $words as $word ) {
515
  $word = relevanssi_add_accent_variations($word);
516
 
517
- if (get_option('relevanssi_fuzzy') == 'never') {
518
  $pattern = '/([\s,\.:;\?!\']'.$word.'[\s,\.:;\?!\'])/i';
519
  if (preg_match($pattern, $fulltext, $matches, PREG_OFFSET_CAPTURE)) {
520
  $count += count($matches) - 1;
@@ -531,6 +539,7 @@ function relevanssi_count_matches($words, $fulltext) {
531
  }
532
  }
533
  }
 
534
  return $count;
535
  }
536
 
@@ -552,7 +561,7 @@ function relevanssi_determine_snip_location($locations, $prevcount) {
552
  if(count($locations) > 2) {
553
  // skip the first as we check 1 behind
554
  for($i=1; $i < $loccount; $i++) {
555
- if($i == $loccount-1) { // at the end
556
  $diff = $locations[$i] - $locations[$i-1];
557
  }
558
  else {
@@ -567,7 +576,8 @@ function relevanssi_determine_snip_location($locations, $prevcount) {
567
  }
568
 
569
  $startpos = $startpos > $prevcount ? $startpos - $prevcount : 0;
570
- return $startpos;
 
571
  }
572
 
573
  // 1/6 ratio on prevcount tends to work pretty well and puts the terms
@@ -598,7 +608,7 @@ function relevanssi_extract_relevant($words, $fulltext, $rellength=300, $prevcou
598
  }
599
 
600
  $start = false;
601
- if($startpos == 0) $start = true;
602
 
603
  $besthits = count(relevanssi_extract_locations($words, $reltext));
604
 
@@ -616,4 +626,54 @@ function relevanssi_add_accent_variations($word) {
616
  return $word;
617
  }
618
 
619
- ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
23
 
24
  // These shortcodes cause problems with Relevanssi excerpts
25
  $problem_shortcodes = apply_filters('relevanssi_disable_shortcodes_excerpt',
26
+ array('layerslider', 'responsive-flipbook', 'breadcrumb', 'maxmegamenu', 'robogallery', 'gravityview')
27
  );
28
  foreach ($problem_shortcodes as $shortcode) {
29
  remove_shortcode($shortcode);
30
  }
31
 
32
  $content = apply_filters('relevanssi_pre_excerpt_content', $post->post_content, $post, $query);
33
+ if (get_option('relevanssi_excerpt_custom_fields') === "on") {
34
+ $content .= relevanssi_get_custom_field_content($post->ID);
35
+ }
36
  $content = apply_filters('the_content', $content);
37
  $content = apply_filters('relevanssi_excerpt_content', $content, $post, $query);
38
 
43
  $content = preg_replace("/\n\r|\r\n|\n|\r/", " ", $content);
44
  // $content = trim(preg_replace("/\s\s+/", " ", $content));
45
 
46
+ if (get_option('relevanssi_implicit_operator') === "OR" || get_option('relevanssi_index_synonyms') === "on") {
47
+ $query = relevanssi_add_synonyms($query);
48
+ }
49
 
50
  $excerpt_data = relevanssi_create_excerpt($content, $terms, $query);
51
 
78
  $excerpt = apply_filters('relevanssi_excerpt', $excerpt);
79
 
80
  if (empty($excerpt) && !empty($post->post_excerpt)) $excerpt = $post->post_excerpt;
81
+ $excerpt === $post->post_content ? $whole_post_excerpted = true : $whole_post_excerpted = false;
82
 
83
  $ellipsis = apply_filters('relevanssi_ellipsis', '...');
84
 
85
  $highlight = get_option('relevanssi_highlight');
86
  if ("none" != $highlight) {
87
  if ( !is_admin() || ( defined( 'DOING_AJAX' ) && DOING_AJAX ) ) {
 
88
  $excerpt = relevanssi_highlight_terms($excerpt, $query);
89
  }
90
  }
101
  $excerpt = $excerpt . $ellipsis;
102
  }
103
 
104
+ if (relevanssi_s2member_level($post->ID) === 1) $excerpt = $post->post_excerpt;
105
 
106
  if ($old_global_post != NULL) $post = $old_global_post;
107
 
144
  uksort($terms, 'relevanssi_strlen_sort');
145
 
146
  $start = false;
147
+ if ("chars" === $type) {
148
  $prev_count = floor($excerpt_length / 2);
149
  list($excerpt, $best_excerpt_term_hits, $start) = relevanssi_extract_relevant(array_keys($terms), $content, $excerpt_length, $prev_count);
150
  }
152
  $words = explode(' ', $content);
153
  $i = 0;
154
 
155
+ $tries = 0;
156
  while ($i < count($words)) {
157
  if ($i + $excerpt_length > count($words)) {
158
  $i = count($words) - $excerpt_length;
165
  $excerpt_slice = " $excerpt_slice";
166
  $term_hits = 0;
167
  $count = relevanssi_count_matches(array_keys($terms), $excerpt_slice);
168
+ if ($count > 0) {
169
+ $tries++;
170
+ }
171
  if ($count > 0 && $count > $best_excerpt_term_hits) {
172
  $best_excerpt_term_hits = $count;
173
  $excerpt = $excerpt_slice;
174
  }
175
 
176
+ if (apply_filters('relevanssi_optimize_excerpts', false)) {
177
+ if ($tries > 50) break;
178
+ // An optimization trick.
179
+ }
180
+
181
  $i += $excerpt_length;
182
  }
183
 
184
+ if ("" === $excerpt) {
185
  $excerpt = explode(' ', $content, $excerpt_length);
186
  array_pop($excerpt);
187
  $excerpt = implode(' ', $excerpt);
196
 
197
  function relevanssi_highlight_in_docs($content) {
198
  global $wp_query;
199
+ if (is_singular() && is_main_query()) {
200
+ if (isset($wp_query->query_vars['highlight'])) {
201
+ // Local search
202
+ $q = relevanssi_add_synonyms($wp_query->query_vars['highlight']);
203
+ $in_docs = true;
204
+ $highlighted_content = relevanssi_highlight_terms($content, $q, $in_docs);
205
+ if (!empty($highlighted_content)) $content = $highlighted_content;
206
+ // Sometimes the content comes back empty; until I figure out why, this tries to be a solution.
207
+ }
208
+
209
+ if (function_exists('relevanssi_nonlocal_highlighting')) {
210
+ $content = relevanssi_nonlocal_highlighting($content);
 
 
 
 
 
 
 
 
 
 
211
  }
212
  }
213
 
216
 
217
  function relevanssi_highlight_terms($excerpt, $query, $in_docs = false) {
218
  $type = get_option("relevanssi_highlight");
219
+ if ("none" === $type) {
220
  return $excerpt;
221
  }
222
 
292
 
293
  uksort($terms, 'relevanssi_strlen_sort');
294
 
295
+ get_option('relevanssi_word_boundaries', 'on') === 'on' ? $word_boundaries = true : $word_boundaries = false;
296
  foreach ($terms as $term) {
297
  // $pr_term = relevanssi_replace_punctuation(preg_quote($term, '/'));
298
  $pr_term = preg_quote($term, '/');
459
  $new_bits = array($bits[0]);
460
  $in = false;
461
  for ($i = 1; $i < count($bits); $i++) {
462
+ if ($bits[$i] === '') continue;
463
 
464
  if (!$in) {
465
  array_push($new_bits, $a);
475
  $whole_bit = "";
476
  foreach ($more_bits as $bit) {
477
  $whole_bit .= $bit;
478
+ if ($j === $k) $whole_bit .= $b;
479
  $j++;
480
  }
481
  $bits[$i] = $whole_bit;
496
  // Nothing exciting here. The array_unique is required
497
  // unless you decide to make the words unique before passing in
498
  function relevanssi_extract_locations($words, $fulltext) {
499
+ $locations = array();
500
  foreach($words as $word) {
501
+ $count_locations = 0;
502
  $wordlen = relevanssi_strlen($word);
503
  $loc = relevanssi_stripos($fulltext, $word, 0);
504
  while($loc !== FALSE) {
505
  $locations[] = $loc;
506
+ $loc = relevanssi_stripos($fulltext, $word, $loc + $wordlen);
507
+ $count_locations++;
508
+ if (apply_filters('relevanssi_optimize_excerpts', false)) {
509
+ if ($count_locations > 10) break;
510
+ // If more than ten locations are found, quit: there's probably a good one in there, and this saves plenty of time
511
+ }
512
  }
513
  }
514
  $locations = array_unique($locations);
515
+ sort($locations);
516
+
517
  return $locations;
518
  }
519
 
520
  function relevanssi_count_matches($words, $fulltext) {
521
+ $count = 0;
522
  foreach( $words as $word ) {
523
  $word = relevanssi_add_accent_variations($word);
524
 
525
+ if (get_option('relevanssi_fuzzy') === 'never') {
526
  $pattern = '/([\s,\.:;\?!\']'.$word.'[\s,\.:;\?!\'])/i';
527
  if (preg_match($pattern, $fulltext, $matches, PREG_OFFSET_CAPTURE)) {
528
  $count += count($matches) - 1;
539
  }
540
  }
541
  }
542
+
543
  return $count;
544
  }
545
 
561
  if(count($locations) > 2) {
562
  // skip the first as we check 1 behind
563
  for($i=1; $i < $loccount; $i++) {
564
+ if($i === $loccount-1) { // at the end
565
  $diff = $locations[$i] - $locations[$i-1];
566
  }
567
  else {
576
  }
577
 
578
  $startpos = $startpos > $prevcount ? $startpos - $prevcount : 0;
579
+
580
+ return $startpos;
581
  }
582
 
583
  // 1/6 ratio on prevcount tends to work pretty well and puts the terms
608
  }
609
 
610
  $start = false;
611
+ if($startpos === 0) $start = true;
612
 
613
  $besthits = count(relevanssi_extract_locations($words, $reltext));
614
 
626
  return $word;
627
  }
628
 
629
+ function relevanssi_get_custom_field_content($post_id) {
630
+ $custom_field_content = "";
631
+ $remove_underscore_fields = false;
632
+
633
+ $custom_fields = relevanssi_get_custom_fields();
634
+ if (isset($custom_fields) && $custom_fields === 'all')
635
+ $custom_fields = get_post_custom_keys($post_id);
636
+ if (isset($custom_fields) && $custom_fields === 'visible') {
637
+ $custom_fields = get_post_custom_keys($post_id);
638
+ $remove_underscore_fields = true;
639
+ }
640
+ $custom_fields = apply_filters('relevanssi_index_custom_fields', $custom_fields);
641
+
642
+ if (function_exists('relevanssi_get_child_pdf_content')) $custom_field_content .= " " . relevanssi_get_child_pdf_content($post_id);
643
+
644
+ if (is_array($custom_fields)) {
645
+ $custom_fields = array_unique($custom_fields); // no reason to index duplicates
646
+
647
+ $repeater_fields = array();
648
+ if (function_exists('relevanssi_add_repeater_fields')) relevanssi_add_repeater_fields($custom_fields, $post_id);
649
+
650
+ foreach ($custom_fields as $field) {
651
+ if ($remove_underscore_fields) {
652
+ if (substr($field, 0, 1) === '_') continue;
653
+ }
654
+ $values = get_post_meta($post_id, $field, false);
655
+ if ("" === $values) continue;
656
+ foreach ($values as $value) {
657
+ // Quick hack : allow indexing of PODS relationship custom fields // TMV
658
+ if (is_array($value) && isset($value['post_title'])) $value = $value['post_title'];
659
+ $custom_field_content .= " " . $value;
660
+ }
661
+ }
662
+ }
663
+ return apply_filters('relevanssi_excerpt_custom_field_content', $custom_field_content);
664
+ }
665
+
666
+ function relevanssi_remove_page_builder_shortcodes($content) {
667
+ $search_array = apply_filters('relevanssi_page_builder_shortcodes', array(
668
+ '/\[et_pb_code.*?\].*\[\/et_pb_code\]/', // Code and sidebars:
669
+ '/\[et_pb_sidebar.*?\].*\[\/et_pb_sidebar\]/', // remove contents and tags
670
+ '/\[\/?et_pb.*?\]/', // Everything else: keep content
671
+ '/\[vc_raw_html.*?\].*\[\/vc_raw_html\]/', // Raw HTML: remove contents
672
+ '/\[\/?vc.*?\]/',
673
+ '/\[\/?mk.*?\]/',
674
+ ));
675
+ $content = preg_replace($search_array, '', $content);
676
+ return $content;
677
+ }
678
+
679
+ ?>
lib/indexing.php CHANGED
@@ -1,15 +1,90 @@
1
  <?php
2
 
3
- function relevanssi_build_index($extend = false, $verbose = true, $post_limit = null) {
4
- if (function_exists('wp_suspend_cache_addition'))
5
- wp_suspend_cache_addition(true); // Thanks to Julien Mession
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6
 
 
7
  global $wpdb, $relevanssi_variables;
8
  $relevanssi_table = $relevanssi_variables['relevanssi_table'];
 
 
 
 
9
 
10
- set_time_limit(0);
 
 
 
 
 
11
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
12
  $post_types = array();
 
 
13
  $types = get_option("relevanssi_index_post_types");
14
  if (!is_array($types)) $types = array();
15
  foreach ($types as $type) {
@@ -24,9 +99,14 @@ function relevanssi_build_index($extend = false, $verbose = true, $post_limit =
24
  $restriction = "";
25
  }
26
 
 
 
 
 
27
  $valid_status_array = apply_filters('relevanssi_valid_status', array('publish', 'draft', 'private', 'pending', 'future'));
 
 
28
  if (is_array($valid_status_array) && count($valid_status_array) > 0) {
29
- $valid_status = array();
30
  foreach ($valid_status_array as $status) {
31
  $valid_status[] = "'$status'";
32
  }
@@ -37,10 +117,26 @@ function relevanssi_build_index($extend = false, $verbose = true, $post_limit =
37
  $valid_status = "'publish', 'draft', 'private', 'pending', 'future'";
38
  }
39
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
40
  $n = 0;
41
  $size = 0;
42
 
43
- if (!$extend) {
44
  // truncate table first
45
  relevanssi_truncate_index();
46
 
@@ -63,23 +159,11 @@ function relevanssi_build_index($extend = false, $verbose = true, $post_limit =
63
  $limit = " LIMIT $post_limit";
64
  }
65
 
66
- $q = "SELECT post.ID
67
- FROM $wpdb->posts post
68
- LEFT JOIN $wpdb->posts parent ON (post.post_parent=parent.ID)
69
- WHERE
70
- (post.post_status IN ($valid_status)
71
- OR
72
- (post.post_status='inherit'
73
- AND(
74
- (parent.ID is not null AND (parent.post_status IN ($valid_status)))
75
- OR (post.post_parent=0)
76
- )
77
- ))
78
- $restriction $limit";
79
 
80
  update_option('relevanssi_index', '');
81
  }
82
- else {
83
  // extending, so no truncate and skip the posts already in the index
84
  $limit = get_option('relevanssi_index_limit', 200);
85
 
@@ -93,23 +177,27 @@ function relevanssi_build_index($extend = false, $verbose = true, $post_limit =
93
  else {
94
  $limit = "";
95
  }
96
- $q = "SELECT post.ID
97
- FROM $wpdb->posts post
98
- LEFT JOIN $wpdb->posts parent ON (post.post_parent=parent.ID)
99
- LEFT JOIN $relevanssi_table r ON (post.ID=r.doc)
100
- WHERE
101
- r.doc is null
102
- AND
103
- (post.post_status IN ($valid_status)
104
- OR
105
- (post.post_status='inherit'
106
- AND(
107
- (parent.ID is not null AND (parent.post_status IN ($valid_status)))
108
- OR (post.post_parent=0)
109
- )
110
- )
111
- )
112
- $restriction $limit";
 
 
 
 
113
  }
114
 
115
  $custom_fields = relevanssi_get_custom_fields();
@@ -154,6 +242,14 @@ function relevanssi_build_index($extend = false, $verbose = true, $post_limit =
154
  if (function_exists('wp_suspend_cache_addition'))
155
  wp_suspend_cache_addition(false); // Thanks to Julien Mession
156
 
 
 
 
 
 
 
 
 
157
  return array($complete, $n);
158
  }
159
 
@@ -360,6 +456,11 @@ function relevanssi_index_doc($indexpost, $remove_first = false, $custom_fields
360
  $insert_data = relevanssi_index_mysql_columns($insert_data, $post->ID);
361
  }
362
 
 
 
 
 
 
363
  $index_titles = true;
364
  if (!empty($post->post_title)) {
365
  if (apply_filters('relevanssi_index_titles', $index_titles)) {
@@ -828,4 +929,21 @@ function relevanssi_truncate_index() {
828
  return $wpdb->query("TRUNCATE TABLE $relevanssi_table");
829
  }
830
 
831
- ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  <?php
2
 
3
+ function relevanssi_count_total_posts() {
4
+ global $wpdb, $relevanssi_variables;
5
+ $relevanssi_table = $relevanssi_variables['relevanssi_table'];
6
+ $restriction = relevanssi_post_type_restriction();
7
+ $valid_status = relevanssi_valid_status_array();
8
+ $limit = "";
9
+ $extend = false;
10
+
11
+ $q = relevanssi_generate_indexing_query($valid_status, $extend, $restriction, $limit);
12
+ $q = str_replace('SELECT post.ID', 'SELECT COUNT(post.ID)', $q);
13
+
14
+ do_action('relevanssi_pre_indexing_query');
15
+ $count = $wpdb->get_var($q);
16
+
17
+ if (empty($count)) $count = 0;
18
+
19
+ return $count;
20
+ }
21
 
22
+ function relevanssi_count_missing_posts() {
23
  global $wpdb, $relevanssi_variables;
24
  $relevanssi_table = $relevanssi_variables['relevanssi_table'];
25
+ $restriction = relevanssi_post_type_restriction();
26
+ $valid_status = relevanssi_valid_status_array();
27
+ $limit = "";
28
+ $extend = true;
29
 
30
+ $q = relevanssi_generate_indexing_query($valid_status, $extend, $restriction, $limit);
31
+ $q = str_replace('SELECT post.ID', 'SELECT COUNT(post.ID)', $q);
32
+
33
+ error_log($q);
34
+ do_action('relevanssi_pre_indexing_query');
35
+ $count = $wpdb->get_var($q);
36
 
37
+ if (empty($count)) $count = 0;
38
+
39
+ return $count;
40
+ }
41
+
42
+ function relevanssi_generate_indexing_query($valid_status, $extend = false, $restriction = "", $limit = "") {
43
+ global $wpdb, $relevanssi_variables;
44
+ $relevanssi_table = $relevanssi_variables['relevanssi_table'];
45
+
46
+ if (!$extend) {
47
+ $q = "SELECT post.ID
48
+ FROM $wpdb->posts post
49
+ LEFT JOIN $wpdb->posts parent ON (post.post_parent=parent.ID)
50
+ WHERE
51
+ (post.post_status IN ($valid_status)
52
+ OR
53
+ (post.post_status='inherit'
54
+ AND(
55
+ (parent.ID is not null AND (parent.post_status IN ($valid_status)))
56
+ OR (post.post_parent=0)
57
+ )
58
+ ))
59
+ $restriction ORDER BY post.ID DESC $limit";
60
+ }
61
+ else {
62
+ $q = "SELECT post.ID
63
+ FROM $wpdb->posts post
64
+ LEFT JOIN $wpdb->posts parent ON (post.post_parent=parent.ID)
65
+ LEFT JOIN $relevanssi_table r ON (post.ID=r.doc)
66
+ WHERE
67
+ r.doc is null
68
+ AND
69
+ (post.post_status IN ($valid_status)
70
+ OR
71
+ (post.post_status='inherit'
72
+ AND(
73
+ (parent.ID is not null AND (parent.post_status IN ($valid_status)))
74
+ OR (post.post_parent=0)
75
+ )
76
+ )
77
+ )
78
+ $restriction ORDER BY post.ID DESC $limit";
79
+ }
80
+
81
+ return $q;
82
+ }
83
+
84
+ function relevanssi_post_type_restriction() {
85
  $post_types = array();
86
+ $restriction = "";
87
+
88
  $types = get_option("relevanssi_index_post_types");
89
  if (!is_array($types)) $types = array();
90
  foreach ($types as $type) {
99
  $restriction = "";
100
  }
101
 
102
+ return $restriction;
103
+ }
104
+
105
+ function relevanssi_valid_status_array() {
106
  $valid_status_array = apply_filters('relevanssi_valid_status', array('publish', 'draft', 'private', 'pending', 'future'));
107
+ $valid_status = array();
108
+
109
  if (is_array($valid_status_array) && count($valid_status_array) > 0) {
 
110
  foreach ($valid_status_array as $status) {
111
  $valid_status[] = "'$status'";
112
  }
117
  $valid_status = "'publish', 'draft', 'private', 'pending', 'future'";
118
  }
119
 
120
+ return $valid_status;
121
+ }
122
+
123
+ function relevanssi_build_index($extend_offset = false, $verbose = true, $post_limit = null, $is_ajax = false) {
124
+ if (function_exists('wp_suspend_cache_addition'))
125
+ wp_suspend_cache_addition(true); // Thanks to Julien Mession
126
+
127
+ global $wpdb, $relevanssi_variables;
128
+ $relevanssi_table = $relevanssi_variables['relevanssi_table'];
129
+
130
+ set_time_limit(0);
131
+
132
+ $restriction = relevanssi_post_type_restriction();
133
+
134
+ $valid_status = relevanssi_valid_status_array();
135
+
136
  $n = 0;
137
  $size = 0;
138
 
139
+ if ($extend_offset === false) {
140
  // truncate table first
141
  relevanssi_truncate_index();
142
 
159
  $limit = " LIMIT $post_limit";
160
  }
161
 
162
+ $q = relevanssi_generate_indexing_query($valid_status, $extend_offset, $restriction, $limit);
 
 
 
 
 
 
 
 
 
 
 
 
163
 
164
  update_option('relevanssi_index', '');
165
  }
166
+ else if (!is_numeric($extend_offset)) {
167
  // extending, so no truncate and skip the posts already in the index
168
  $limit = get_option('relevanssi_index_limit', 200);
169
 
177
  else {
178
  $limit = "";
179
  }
180
+
181
+ $extend = true;
182
+
183
+ $q = relevanssi_generate_indexing_query($valid_status, $extend, $restriction, $limit);
184
+ }
185
+ else {
186
+ // extending, so no truncate and skip the posts already in the index
187
+ $limit = get_option('relevanssi_index_limit', 200);
188
+
189
+ // if post limit parameter is present, numeric and > 0, use that
190
+ if (isset($post_limit) && is_numeric($post_limit) && $post_limit > 0) $limit = $post_limit;
191
+
192
+ if (is_numeric($limit) && $limit > 0) {
193
+ $size = $limit;
194
+ $limit = " LIMIT $limit OFFSET $extend_offset";
195
+ }
196
+ else {
197
+ $limit = "";
198
+ }
199
+
200
+ $q = relevanssi_generate_indexing_query($valid_status, $extend, $restriction, $limit);
201
  }
202
 
203
  $custom_fields = relevanssi_get_custom_fields();
242
  if (function_exists('wp_suspend_cache_addition'))
243
  wp_suspend_cache_addition(false); // Thanks to Julien Mession
244
 
245
+ if ($is_ajax) {
246
+ $response = array(
247
+ 'indexing_complete' => $complete,
248
+ 'indexed' => $n,
249
+ );
250
+ return $response;
251
+ }
252
+
253
  return array($complete, $n);
254
  }
255
 
456
  $insert_data = relevanssi_index_mysql_columns($insert_data, $post->ID);
457
  }
458
 
459
+ if (function_exists('relevanssi_index_pdf_for_parent')) {
460
+ if ($debug) relevanssi_debug_echo("Indexing PDF content for parent post.");
461
+ $insert_data = relevanssi_index_pdf_for_parent($insert_data, $post->ID);
462
+ }
463
+
464
  $index_titles = true;
465
  if (!empty($post->post_title)) {
466
  if (apply_filters('relevanssi_index_titles', $index_titles)) {
929
  return $wpdb->query("TRUNCATE TABLE $relevanssi_table");
930
  }
931
 
932
+ function relevanssi_remove_doc($id, $keep_internal_links = false) {
933
+ if (function_exists('relevanssi_premium_remove_doc')) {
934
+ relevanssi_premium_remove_doc($id, $keep_internal_links);
935
+ }
936
+ else {
937
+ global $wpdb, $relevanssi_variables;
938
+
939
+ $D = get_option( 'relevanssi_doc_count');
940
+
941
+ $q = "DELETE FROM " . $relevanssi_variables['relevanssi_table'] . " WHERE doc=$id";
942
+ $wpdb->query($q);
943
+ $rows_updated = $wpdb->query($q);
944
+
945
+ if($rows_updated && $rows_updated > 0) {
946
+ update_option('relevanssi_doc_count', $D - $rows_updated);
947
+ }
948
+ }
949
+ }
lib/init.php CHANGED
@@ -16,14 +16,17 @@ add_action('edit_attachment', 'relevanssi_edit');
16
  add_action('transition_post_status', 'relevanssi_update_child_posts',99,3);
17
  // END added by renaissancehack
18
  add_action('init', 'relevanssi_init');
19
- add_action('admin_head', 'relevanssi_check_old_data', 99);
20
  add_filter('relevanssi_hits_filter', 'relevanssi_wpml_filter');
 
21
  add_filter('posts_request', 'relevanssi_prevent_default_request', 10, 2 );
22
  add_filter('relevanssi_remove_punctuation', 'relevanssi_remove_punct');
23
  add_filter('relevanssi_post_ok', 'relevanssi_default_post_ok', 9, 2);
24
  add_filter('relevanssi_query_filter', 'relevanssi_limit_filter');
25
  add_filter('query_vars', 'relevanssi_query_vars');
26
  add_filter('relevanssi_indexing_values', 'relevanssi_update_doc_count', 98, 2);
 
 
27
 
28
  global $relevanssi_variables;
29
  register_activation_hook($relevanssi_variables['file'], 'relevanssi_install');
@@ -31,10 +34,10 @@ register_activation_hook($relevanssi_variables['file'], 'relevanssi_install');
31
  function relevanssi_init() {
32
  global $pagenow, $relevanssi_variables, $wpdb;
33
  $plugin_dir = dirname(plugin_basename($relevanssi_variables['file']));
34
- load_plugin_textdomain('relevanssi', false, $plugin_dir);
35
 
36
  isset($_POST['index']) ? $index = true : $index = false;
37
- if (!get_option('relevanssi_indexed') && !$index) {
38
  function relevanssi_warning() {
39
  RELEVANSSI_PREMIUM ? $plugin = 'relevanssi-premium' : $plugin = 'relevanssi';
40
  echo "<div id='relevanssi-warning' class='update-nag'><p><strong>"
@@ -68,13 +71,24 @@ function relevanssi_init() {
68
  add_filter('comment_text', 'relevanssi_highlight_in_docs', 11);
69
  }
70
 
 
 
 
 
 
 
 
 
 
 
 
71
  return;
72
  }
73
 
74
  function relevanssi_menu() {
75
  global $relevanssi_variables;
76
  RELEVANSSI_PREMIUM ? $name = "Relevanssi Premium" : $name = "Relevanssi";
77
- add_options_page(
78
  $name,
79
  $name,
80
  apply_filters('relevanssi_options_capability', 'manage_options'),
@@ -88,6 +102,8 @@ function relevanssi_menu() {
88
  $relevanssi_variables['file'],
89
  'relevanssi_search_stats'
90
  );
 
 
91
  }
92
 
93
  function relevanssi_query_vars($qv) {
@@ -95,6 +111,7 @@ function relevanssi_query_vars($qv) {
95
  $qv[] = 'tags';
96
  $qv[] = 'post_types';
97
  $qv[] = 'by_date';
 
98
 
99
  return $qv;
100
  }
@@ -124,15 +141,9 @@ function relevanssi_create_database_tables($relevanssi_db_version) {
124
  $relevanssi_stopword_table = $wpdb->prefix . "relevanssi_stopwords";
125
  $relevanssi_log_table = $wpdb->prefix . "relevanssi_log";
126
 
127
- if(get_option('relevanssi_db_version') != $relevanssi_db_version) {
128
- if ($relevanssi_db_version == 1) {
129
- if($wpdb->get_var("SHOW TABLES LIKE '$relevanssi_table'") == $relevanssi_table) {
130
- $sql = "DROP TABLE $relevanssi_table";
131
- $wpdb->query($sql);
132
- }
133
- delete_option('relevanssi_indexed');
134
- }
135
-
136
  $sql = "CREATE TABLE " . $relevanssi_table . " (doc bigint(20) NOT NULL DEFAULT '0',
137
  term varchar(50) NOT NULL DEFAULT '0',
138
  term_reverse varchar(50) NOT NULL DEFAULT '0',
@@ -205,40 +216,6 @@ function relevanssi_create_database_tables($relevanssi_db_version) {
205
 
206
  dbDelta($sql);
207
 
208
- if (RELEVANSSI_PREMIUM && get_option('relevanssi_db_version') < 12) {
209
- $charset_collate_bin_column = '';
210
- $charset_collate = '';
211
-
212
- if (!empty($wpdb->charset)) {
213
- $charset_collate_bin_column = "CHARACTER SET $wpdb->charset";
214
- $charset_collate = "DEFAULT $charset_collate_bin_column";
215
- }
216
- if (strpos($wpdb->collate, "_") > 0) {
217
- $charset_collate_bin_column .= " COLLATE " . substr($wpdb->collate, 0, strpos($wpdb->collate, '_')) . "_bin";
218
- $charset_collate .= " COLLATE $wpdb->collate";
219
- } else {
220
- if ($wpdb->collate == '' && $wpdb->charset == "utf8") {
221
- $charset_collate_bin_column .= " COLLATE utf8_bin";
222
- }
223
- }
224
-
225
- $sql = "ALTER TABLE $relevanssi_stopword_table MODIFY COLUMN stopword varchar(50) $charset_collate_bin_column NOT NULL";
226
- $wpdb->query($sql);
227
- $sql = "ALTER TABLE $relevanssi_log_table ADD COLUMN user_id bigint(20) NOT NULL DEFAULT '0'";
228
- $wpdb->query($sql);
229
- $sql = "ALTER TABLE $relevanssi_log_table ADD COLUMN ip varchar(40) NOT NULL DEFAULT ''";
230
- $wpdb->query($sql);
231
- }
232
-
233
- if (get_option('relevanssi_db_version') < 16) {
234
- $sql = "ALTER TABLE $relevanssi_table ADD COLUMN term_reverse VARCHAR(50);";
235
- $wpdb->query($sql);
236
- $sql = "UPDATE $relevanssi_table SET term_reverse = REVERSE(term);";
237
- $wpdb->query($sql);
238
- $sql = "CREATE INDEX relevanssi_term_reverse_idx ON $relevanssi_table (term_reverse(10));";
239
- $wpdb->query($sql);
240
- }
241
-
242
  update_option('relevanssi_db_version', $relevanssi_db_version);
243
  }
244
 
@@ -259,4 +236,8 @@ function relevanssi_action_links ($links) {
259
  return array_merge($links, $relevanssi_links);
260
  }
261
 
262
- ?>
 
 
 
 
16
  add_action('transition_post_status', 'relevanssi_update_child_posts',99,3);
17
  // END added by renaissancehack
18
  add_action('init', 'relevanssi_init');
19
+ add_action('relevanssi_trim_logs', 'relevanssi_trim_logs');
20
  add_filter('relevanssi_hits_filter', 'relevanssi_wpml_filter');
21
+ add_filter('relevanssi_modify_wp_query', 'relevanssi_polylang_filter');
22
  add_filter('posts_request', 'relevanssi_prevent_default_request', 10, 2 );
23
  add_filter('relevanssi_remove_punctuation', 'relevanssi_remove_punct');
24
  add_filter('relevanssi_post_ok', 'relevanssi_default_post_ok', 9, 2);
25
  add_filter('relevanssi_query_filter', 'relevanssi_limit_filter');
26
  add_filter('query_vars', 'relevanssi_query_vars');
27
  add_filter('relevanssi_indexing_values', 'relevanssi_update_doc_count', 98, 2);
28
+ add_filter('relevanssi_pre_excerpt_content', 'relevanssi_remove_page_builder_shortcodes', 9);
29
+ add_filter('rest_api_init', 'relevanssi_rest_api_disable');
30
 
31
  global $relevanssi_variables;
32
  register_activation_hook($relevanssi_variables['file'], 'relevanssi_install');
34
  function relevanssi_init() {
35
  global $pagenow, $relevanssi_variables, $wpdb;
36
  $plugin_dir = dirname(plugin_basename($relevanssi_variables['file']));
37
+ load_plugin_textdomain('relevanssi', false, $plugin_dir . '/languages');
38
 
39
  isset($_POST['index']) ? $index = true : $index = false;
40
+ if (get_option('relevanssi_indexed') != "done" && !$index) {
41
  function relevanssi_warning() {
42
  RELEVANSSI_PREMIUM ? $plugin = 'relevanssi-premium' : $plugin = 'relevanssi';
43
  echo "<div id='relevanssi-warning' class='update-nag'><p><strong>"
71
  add_filter('comment_text', 'relevanssi_highlight_in_docs', 11);
72
  }
73
 
74
+ if (get_option('relevanssi_trim_logs') > 0) {
75
+ if (! wp_next_scheduled ( 'relevanssi_trim_logs' )) {
76
+ wp_schedule_event(time(), 'daily', 'relevanssi_trim_logs');
77
+ }
78
+ }
79
+ else {
80
+ if (wp_next_scheduled ( 'relevanssi_trim_logs' )) {
81
+ wp_clear_scheduled_hook('relevanssi_trim_logs');
82
+ }
83
+ }
84
+
85
  return;
86
  }
87
 
88
  function relevanssi_menu() {
89
  global $relevanssi_variables;
90
  RELEVANSSI_PREMIUM ? $name = "Relevanssi Premium" : $name = "Relevanssi";
91
+ $plugin_page = add_options_page(
92
  $name,
93
  $name,
94
  apply_filters('relevanssi_options_capability', 'manage_options'),
102
  $relevanssi_variables['file'],
103
  'relevanssi_search_stats'
104
  );
105
+ add_action( 'load-' . $plugin_page, 'relevanssi_admin_help' );
106
+ if (function_exists('relevanssi_premium_plugin_page_actions')) relevanssi_premium_plugin_page_actions($plugin_page);
107
  }
108
 
109
  function relevanssi_query_vars($qv) {
111
  $qv[] = 'tags';
112
  $qv[] = 'post_types';
113
  $qv[] = 'by_date';
114
+ $qv[] = 'highlight';
115
 
116
  return $qv;
117
  }
141
  $relevanssi_stopword_table = $wpdb->prefix . "relevanssi_stopwords";
142
  $relevanssi_log_table = $wpdb->prefix . "relevanssi_log";
143
 
144
+ $current_db_version = get_option('relevanssi_db_version');
145
+
146
+ if($current_db_version != $relevanssi_db_version) {
 
 
 
 
 
 
147
  $sql = "CREATE TABLE " . $relevanssi_table . " (doc bigint(20) NOT NULL DEFAULT '0',
148
  term varchar(50) NOT NULL DEFAULT '0',
149
  term_reverse varchar(50) NOT NULL DEFAULT '0',
216
 
217
  dbDelta($sql);
218
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
219
  update_option('relevanssi_db_version', $relevanssi_db_version);
220
  }
221
 
236
  return array_merge($links, $relevanssi_links);
237
  }
238
 
239
+ /** Disable Relevanssi in REST API searches */
240
+ function relevanssi_rest_api_disable() {
241
+ remove_filter('posts_request', 'relevanssi_prevent_default_request');
242
+ remove_filter('the_posts', 'relevanssi_query', 99);
243
+ }
lib/install.php ADDED
@@ -0,0 +1,95 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ function relevanssi_new_blog($blog_id, $user_id, $domain, $path, $site_id, $meta ) {
4
+ global $wpdb;
5
+
6
+ if (is_plugin_active_for_network('relevanssi-premium/relevanssi.php') || is_plugin_active_for_network('relevanssi/relevanssi.php')) {
7
+ switch_to_blog($blog_id);
8
+ _relevanssi_install();
9
+ restore_current_blog();
10
+ }
11
+ }
12
+
13
+ function relevanssi_install($network_wide = false) {
14
+ global $wpdb;
15
+
16
+ if ($network_wide) {
17
+ $blogids = $wpdb->get_col($wpdb->prepare("
18
+ SELECT blog_id
19
+ FROM $wpdb->blogs
20
+ WHERE site_id = %d
21
+ AND deleted = 0
22
+ AND spam = 0
23
+ ", $wpdb->siteid));
24
+
25
+ foreach ($blogids as $blog_id) {
26
+ switch_to_blog($blog_id);
27
+ _relevanssi_install();
28
+ restore_current_blog();
29
+ }
30
+
31
+ } else {
32
+ _relevanssi_install();
33
+ }
34
+ }
35
+
36
+ function _relevanssi_install() {
37
+ global $relevanssi_variables;
38
+
39
+ add_option('relevanssi_content_boost', $relevanssi_variables['content_boost_default']);
40
+ add_option('relevanssi_title_boost', $relevanssi_variables['title_boost_default']);
41
+ add_option('relevanssi_comment_boost', $relevanssi_variables['comment_boost_default']);
42
+ add_option('relevanssi_admin_search', 'off');
43
+ add_option('relevanssi_highlight', 'strong');
44
+ add_option('relevanssi_txt_col', '#ff0000');
45
+ add_option('relevanssi_bg_col', '#ffaf75');
46
+ add_option('relevanssi_css', 'text-decoration: underline; text-color: #ff0000');
47
+ add_option('relevanssi_class', 'relevanssi-query-term');
48
+ add_option('relevanssi_excerpts', 'on');
49
+ add_option('relevanssi_excerpt_length', '30');
50
+ add_option('relevanssi_excerpt_type', 'words');
51
+ add_option('relevanssi_excerpt_allowable_tags', '');
52
+ add_option('relevanssi_excerpt_custom_fields', 'off');
53
+ add_option('relevanssi_log_queries', 'off');
54
+ add_option('relevanssi_log_queries_with_ip', 'off');
55
+ add_option('relevanssi_cat', '0');
56
+ add_option('relevanssi_excat', '0');
57
+ add_option('relevanssi_extag', '0');
58
+ add_option('relevanssi_index_fields', '');
59
+ add_option('relevanssi_exclude_posts', ''); //added by OdditY
60
+ add_option('relevanssi_hilite_title', ''); //added by OdditY
61
+ add_option('relevanssi_highlight_docs', 'off');
62
+ add_option('relevanssi_highlight_docs_external', 'off');
63
+ add_option('relevanssi_highlight_comments', 'off');
64
+ add_option('relevanssi_index_comments', 'none'); //added by OdditY
65
+ add_option('relevanssi_show_matches', '');
66
+ add_option('relevanssi_show_matches_text', '(Search hits: %body% in body, %title% in title, %categories% in categories, %tags% in tags, %taxonomies% in other taxonomies, %comments% in comments. Score: %score%)');
67
+ add_option('relevanssi_fuzzy', 'sometimes');
68
+ add_option('relevanssi_indexed', '');
69
+ add_option('relevanssi_expand_shortcodes', 'on');
70
+ add_option('relevanssi_index_author', '');
71
+ add_option('relevanssi_implicit_operator', 'OR');
72
+ add_option('relevanssi_omit_from_logs', '');
73
+ add_option('relevanssi_synonyms', '');
74
+ add_option('relevanssi_index_excerpt', 'off');
75
+ add_option('relevanssi_index_limit', '500');
76
+ add_option('relevanssi_disable_or_fallback', 'off');
77
+ add_option('relevanssi_respect_exclude', 'on');
78
+ add_option('relevanssi_min_word_length', '3');
79
+ add_option('relevanssi_throttle', 'on');
80
+ add_option('relevanssi_throttle_limit', '500');
81
+ add_option('relevanssi_db_version', '0');
82
+ add_option('relevanssi_wpml_only_current', 'on');
83
+ add_option('relevanssi_polylang_all_languages', 'off');
84
+ add_option('relevanssi_post_type_weights', '');
85
+ add_option('relevanssi_index_taxonomies_list', array());
86
+ add_option('relevanssi_word_boundaries', 'on');
87
+ add_option('relevanssi_default_orderby', 'relevance');
88
+ add_option('relevanssi_index_post_types', array('post', 'page'));
89
+
90
+ if (function_exists('relevanssi_premium_install')) relevanssi_premium_install();
91
+
92
+ do_action('relevanssi_update_options');
93
+
94
+ relevanssi_create_database_tables($relevanssi_variables['database_version']);
95
+ }
lib/interface.php CHANGED
@@ -41,7 +41,7 @@ function relevanssi_options() {
41
  }
42
 
43
  if (isset($_REQUEST['dowhat'])) {
44
- if ("add_stopword" == $_REQUEST['dowhat']) {
45
  if (isset($_REQUEST['term'])) {
46
  check_admin_referer(plugin_basename($relevanssi_variables['file']), 'relevanssi_options');
47
  relevanssi_add_stopword($_REQUEST['term']);
@@ -66,9 +66,6 @@ function relevanssi_options() {
66
  }
67
  relevanssi_options_form();
68
 
69
- if (apply_filters('relevanssi_display_common_words', true))
70
- relevanssi_common_words(25);
71
-
72
  echo "<div style='clear:both'></div>";
73
 
74
  echo "</div>";
@@ -77,7 +74,7 @@ function relevanssi_options() {
77
  function relevanssi_search_stats() {
78
  $relevanssi_hide_branding = get_option( 'relevanssi_hide_branding' );
79
 
80
- if ( 'on' == $relevanssi_hide_branding )
81
  $options_txt = __('User Searches', 'relevanssi');
82
  else
83
  $options_txt = __('Relevanssi User Searches', 'relevanssi');
@@ -85,7 +82,7 @@ function relevanssi_search_stats() {
85
  if (isset($_REQUEST['relevanssi_reset']) and current_user_can('manage_options')) {
86
  check_admin_referer('relevanssi_reset_logs', '_relresnonce');
87
  if (isset($_REQUEST['relevanssi_reset_code'])) {
88
- if ($_REQUEST['relevanssi_reset_code'] == 'reset') {
89
  $verbose = true;
90
  relevanssi_truncate_logs($verbose);
91
  }
@@ -99,23 +96,16 @@ function relevanssi_search_stats() {
99
 
100
  printf("<div class='wrap'><h2>%s</h2>", $options_txt);
101
 
102
- if ( 'on' == $relevanssi_hide_branding )
103
- echo '<div class="postbox-container">';
104
- else
105
- echo '<div class="postbox-container" style="width:70%;">';
106
 
107
-
108
- if ('on' == get_option('relevanssi_log_queries')) {
109
  relevanssi_query_log();
110
  }
111
  else {
112
  echo "<p>" . __('Enable query logging to see stats here.', 'relevanssi') . "</p>";
113
  }
114
 
115
- echo "</div>";
116
-
117
- if ('on' != $relevanssi_hide_branding )
118
- relevanssi_sidebar();
119
  }
120
 
121
  function relevanssi_truncate_logs($verbose = true) {
@@ -137,6 +127,11 @@ function relevanssi_truncate_logs($verbose = true) {
137
  }
138
 
139
  function update_relevanssi_options() {
 
 
 
 
 
140
  if (isset($_REQUEST['relevanssi_title_boost'])) {
141
  $boost = floatval($_REQUEST['relevanssi_title_boost']);
142
  update_option('relevanssi_title_boost', $boost);
@@ -149,72 +144,88 @@ function update_relevanssi_options() {
149
 
150
  if (isset($_REQUEST['relevanssi_min_word_length'])) {
151
  $value = intval($_REQUEST['relevanssi_min_word_length']);
152
- if ($value == 0) $value = 3;
153
  update_option('relevanssi_min_word_length', $value);
154
  }
155
 
156
- if (!isset($_REQUEST['relevanssi_admin_search'])) {
157
- $_REQUEST['relevanssi_admin_search'] = "off";
158
- }
159
-
160
- if (!isset($_REQUEST['relevanssi_excerpts'])) {
161
- $_REQUEST['relevanssi_excerpts'] = "off";
162
- }
163
-
164
- if (!isset($_REQUEST['relevanssi_show_matches'])) {
165
- $_REQUEST['relevanssi_show_matches'] = "off";
166
- }
167
-
168
- if (!isset($_REQUEST['relevanssi_throttle'])) {
169
- $_REQUEST['relevanssi_throttle'] = "off";
170
- }
171
-
172
- if (!isset($_REQUEST['relevanssi_index_author'])) {
173
- $_REQUEST['relevanssi_index_author'] = "off";
174
- }
175
 
176
- if (!isset($_REQUEST['relevanssi_index_excerpt'])) {
177
- $_REQUEST['relevanssi_index_excerpt'] = "off";
 
178
  }
179
 
180
- if (!isset($_REQUEST['relevanssi_log_queries'])) {
181
- $_REQUEST['relevanssi_log_queries'] = "off";
182
- }
 
183
 
184
- if (!isset($_REQUEST['relevanssi_log_queries_with_ip'])) {
185
- $_REQUEST['relevanssi_log_queries_with_ip'] = "off";
186
- }
187
 
188
- if (!isset($_REQUEST['relevanssi_disable_or_fallback'])) {
189
- $_REQUEST['relevanssi_disable_or_fallback'] = "off";
190
- }
191
 
192
- if (!isset($_REQUEST['relevanssi_hilite_title'])) {
193
- $_REQUEST['relevanssi_hilite_title'] = "off";
 
 
 
 
 
 
 
 
 
194
  }
195
 
196
- if (!isset($_REQUEST['relevanssi_highlight_docs'])) {
197
- $_REQUEST['relevanssi_highlight_docs'] = "off";
 
 
 
 
 
 
198
  }
199
 
200
- if (!isset($_REQUEST['relevanssi_highlight_comments'])) {
201
- $_REQUEST['relevanssi_highlight_comments'] = "off";
202
- }
 
203
 
204
- if (!isset($_REQUEST['relevanssi_expand_shortcodes'])) {
205
- $_REQUEST['relevanssi_expand_shortcodes'] = "off";
206
- }
207
 
208
- if (!isset($_REQUEST['relevanssi_respect_exclude'])) {
209
- $_REQUEST['relevanssi_respect_exclude'] = "off";
210
- }
 
 
 
 
 
 
 
 
211
 
212
- if (!isset($_REQUEST['relevanssi_wpml_only_current'])) {
213
- $_REQUEST['relevanssi_wpml_only_current'] = "off";
214
- }
215
 
216
- if (!isset($_REQUEST['relevanssi_word_boundaries'])) {
217
- $_REQUEST['relevanssi_word_boundaries'] = "off";
 
218
  }
219
 
220
  if (isset($_REQUEST['relevanssi_excerpt_length'])) {
@@ -238,26 +249,32 @@ function update_relevanssi_options() {
238
  update_option('relevanssi_show_matches_text', $value);
239
  }
240
 
 
 
 
 
 
 
241
  $post_type_weights = array();
242
  $index_post_types = array();
243
  $index_taxonomies_list = array();
244
  $index_terms_list = array();
245
  foreach ($_REQUEST as $key => $value) {
246
- if (substr($key, 0, strlen('relevanssi_weight_')) == 'relevanssi_weight_') {
247
  $type = substr($key, strlen('relevanssi_weight_'));
248
- $post_type_weights[$type] = floatval($value);
249
  }
250
- if (substr($key, 0, strlen('relevanssi_index_type_')) == 'relevanssi_index_type_') {
251
  $type = substr($key, strlen('relevanssi_index_type_'));
252
- if ('on' == $value) $index_post_types[$type] = true;
253
  }
254
- if (substr($key, 0, strlen('relevanssi_index_taxonomy_')) == 'relevanssi_index_taxonomy_') {
255
  $type = substr($key, strlen('relevanssi_index_taxonomy_'));
256
- if ('on' == $value) $index_taxonomies_list[$type] = true;
257
  }
258
- if (substr($key, 0, strlen('relevanssi_index_terms_')) == 'relevanssi_index_terms_') {
259
  $type = substr($key, strlen('relevanssi_index_terms_'));
260
- if ('on' == $value) $index_terms_list[$type] = true;
261
  }
262
  }
263
 
@@ -272,6 +289,50 @@ function update_relevanssi_options() {
272
  update_option('relevanssi_index_taxonomies_list', array_keys($index_taxonomies_list));
273
  if (RELEVANSSI_PREMIUM) update_option('relevanssi_index_terms', array_keys($index_terms_list));
274
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
275
  if (isset($_REQUEST['relevanssi_admin_search'])) update_option('relevanssi_admin_search', $_REQUEST['relevanssi_admin_search']);
276
  if (isset($_REQUEST['relevanssi_excerpts'])) update_option('relevanssi_excerpts', $_REQUEST['relevanssi_excerpts']);
277
  if (isset($_REQUEST['relevanssi_excerpt_type'])) update_option('relevanssi_excerpt_type', $_REQUEST['relevanssi_excerpt_type']);
@@ -285,10 +346,6 @@ function update_relevanssi_options() {
285
  if (isset($_REQUEST['relevanssi_bg_col'])) update_option('relevanssi_bg_col', $_REQUEST['relevanssi_bg_col']);
286
  if (isset($_REQUEST['relevanssi_css'])) update_option('relevanssi_css', $_REQUEST['relevanssi_css']);
287
  if (isset($_REQUEST['relevanssi_class'])) update_option('relevanssi_class', $_REQUEST['relevanssi_class']);
288
- if (isset($_REQUEST['relevanssi_cat'])) update_option('relevanssi_cat', $_REQUEST['relevanssi_cat']);
289
- if (isset($_REQUEST['relevanssi_excat'])) update_option('relevanssi_excat', $_REQUEST['relevanssi_excat']);
290
- if (isset($_REQUEST['relevanssi_extag'])) update_option('relevanssi_extag', $_REQUEST['relevanssi_extag']);
291
- if (isset($_REQUEST['relevanssi_index_fields'])) update_option('relevanssi_index_fields', $_REQUEST['relevanssi_index_fields']);
292
  if (isset($_REQUEST['relevanssi_expst'])) update_option('relevanssi_exclude_posts', $_REQUEST['relevanssi_expst']); //added by OdditY
293
  if (isset($_REQUEST['relevanssi_hilite_title'])) update_option('relevanssi_hilite_title', $_REQUEST['relevanssi_hilite_title']); //added by OdditY
294
  if (isset($_REQUEST['relevanssi_index_comments'])) update_option('relevanssi_index_comments', $_REQUEST['relevanssi_index_comments']); //added by OdditY
@@ -303,9 +360,11 @@ function update_relevanssi_options() {
303
  if (isset($_REQUEST['relevanssi_respect_exclude'])) update_option('relevanssi_respect_exclude', $_REQUEST['relevanssi_respect_exclude']);
304
  if (isset($_REQUEST['relevanssi_throttle'])) update_option('relevanssi_throttle', $_REQUEST['relevanssi_throttle']);
305
  if (isset($_REQUEST['relevanssi_wpml_only_current'])) update_option('relevanssi_wpml_only_current', $_REQUEST['relevanssi_wpml_only_current']);
 
306
  if (isset($_REQUEST['relevanssi_word_boundaries'])) update_option('relevanssi_word_boundaries', $_REQUEST['relevanssi_word_boundaries']);
307
  if (isset($_REQUEST['relevanssi_default_orderby'])) update_option('relevanssi_default_orderby', $_REQUEST['relevanssi_default_orderby']);
308
-
 
309
  if (function_exists('relevanssi_update_premium_options')) {
310
  relevanssi_update_premium_options();
311
  }
@@ -313,7 +372,7 @@ function update_relevanssi_options() {
313
 
314
  function relevanssi_add_stopword($term) {
315
  global $wpdb;
316
- if ('' == $term) return; // do not add empty $term to stopwords - added by renaissancehack
317
 
318
  $n = 0;
319
  $s = 0;
@@ -343,7 +402,7 @@ function relevanssi_add_stopword($term) {
343
 
344
  function relevanssi_add_single_stopword($term) {
345
  global $wpdb, $relevanssi_variables;
346
- if ('' == $term) return;
347
 
348
  $term = stripslashes($term);
349
 
@@ -417,37 +476,31 @@ function relevanssi_common_words($limit = 25, $wp_cli = false) {
417
  // Clean: $limit is numeric.
418
 
419
  if (!$wp_cli) {
420
- echo "<div style='float:left; width: 45%'>";
421
- echo "<h3>" . __("25 most common words in the index", 'relevanssi') . "</h3>";
422
  echo "<p>" . __("These words are excellent stopword material. A word that appears in most of the posts in the database is quite pointless when searching. This is also an easy way to create a completely new stopword list, if one isn't available in your language. Click the icon after the word to add the word to the stopword list. The word will also be removed from the index, so rebuilding the index is not necessary.", 'relevanssi') . "</p>";
423
 
424
  ?>
425
- <form method="post">
426
- <?php wp_nonce_field(plugin_basename($relevanssi_variables['file']), 'relevanssi_options'); ?>
427
  <input type="hidden" name="dowhat" value="add_stopword" />
 
 
 
 
428
  <ul>
429
  <?php
430
 
431
- if (function_exists("plugins_url")) {
432
- if (version_compare($wp_version, '2.8dev', '>' )) {
433
- $src = plugins_url('delete.png', $relevanssi_variables['file']);
434
- }
435
- else {
436
- $src = plugins_url($plugin . '/delete.png');
437
- }
438
- }
439
- else {
440
- // We can't check, so let's assume something sensible
441
- $src = '/wp-content/plugins/' . $plugin . '/delete.png';
442
- }
443
 
444
  foreach ($words as $word) {
445
  $stop = __('Add to stopwords', 'relevanssi');
446
  printf('<li>%s (%d) <input style="padding: 0; margin: 0" type="image" src="%s" alt="%s" name="term" value="%s"/></li>', $word->term, $word->cnt, $src, $stop, $word->term);
447
  }
448
- echo "</ul>\n</form>";
 
 
 
 
 
449
 
450
- echo "</div>";
451
  }
452
  else {
453
  // WP CLI gets the list of words
@@ -462,7 +515,7 @@ function relevanssi_query_log() {
462
 
463
  echo '<h3>' . __("Total Searches", 'relevanssi') . '</h3>';
464
 
465
- echo "<div style='width: 30%; float: left; margin-right: 2%; overflow: scroll'>";
466
  relevanssi_total_queries( __("Totals", 'relevanssi') );
467
  echo '</div>';
468
 
@@ -471,20 +524,18 @@ function relevanssi_query_log() {
471
  echo '<h3>' . __("Common Queries", 'relevanssi') . '</h3>';
472
 
473
  $limit = apply_filters('relevanssi_user_searches_limit', 20);
474
- $lead = __("Here you can see the %d most common user search queries, how many times those
475
- queries were made and how many results were found for those queries.", 'relevanssi');
476
 
477
- sprintf("<p>" . $lead . "</p>", $limit);
478
-
479
- echo "<div style='width: 30%; float: left; margin-right: 2%; overflow: scroll'>";
480
  relevanssi_date_queries(1, __("Today and yesterday", 'relevanssi'));
481
  echo '</div>';
482
 
483
- echo "<div style='width: 30%; float: left; margin-right: 2%; overflow: scroll'>";
484
  relevanssi_date_queries(7, __("Last 7 days", 'relevanssi'));
485
  echo '</div>';
486
 
487
- echo "<div style='width: 30%; float: left; margin-right: 2%; overflow: scroll'>";
488
  relevanssi_date_queries($days30, sprintf(__("Last %d days", 'relevanssi'), $days30));
489
  echo '</div>';
490
 
@@ -492,15 +543,15 @@ function relevanssi_query_log() {
492
 
493
  echo '<h3>' . __("Unsuccessful Queries", 'relevanssi') . '</h3>';
494
 
495
- echo "<div style='width: 30%; float: left; margin-right: 2%; overflow: scroll'>";
496
  relevanssi_date_queries(1, __("Today and yesterday", 'relevanssi'), 'bad');
497
  echo '</div>';
498
 
499
- echo "<div style='width: 30%; float: left; margin-right: 2%; overflow: scroll'>";
500
  relevanssi_date_queries(7, __("Last 7 days", 'relevanssi'), 'bad');
501
  echo '</div>';
502
 
503
- echo "<div style='width: 30%; float: left; margin-right: 2%; overflow: scroll'>";
504
  relevanssi_date_queries($days30, sprintf(__("Last %d days", 'relevanssi'), $days30), 'bad');
505
  echo '</div>';
506
 
@@ -530,9 +581,9 @@ function relevanssi_total_queries( $title ) {
530
  $count[__('Last 30 days', 'relevanssi')] = $wpdb->get_var("SELECT COUNT(id) FROM $log_table WHERE TIMESTAMPDIFF(DAY, time, NOW()) <= 30;");
531
  $count[__('Forever', 'relevanssi')] = $wpdb->get_var("SELECT COUNT(id) FROM $log_table;");
532
 
533
- echo "<table class='widefat'><thead><tr><th colspan='2'>$title</th></tr></thead><tbody><tr><th>" . __('When', 'relevanssi') . "</th><th>" . __('Searches', 'relevanssi') . "</th></tr>";
534
  foreach ($count as $when => $searches) {
535
- echo "<tr><td style='padding: 3px 5px'>$when</td><td style='padding: 3px 5px;'>$searches</td></tr>";
536
  }
537
  echo "</tbody></table>";
538
 
@@ -544,7 +595,7 @@ function relevanssi_date_queries($d, $title, $version = 'good') {
544
 
545
  $limit = apply_filters('relevanssi_user_searches_limit', 20);
546
 
547
- if ($version == 'good')
548
  $queries = $wpdb->get_results("SELECT COUNT(DISTINCT(id)) as cnt, query, hits
549
  FROM $log_table
550
  WHERE TIMESTAMPDIFF(DAY, time, NOW()) <= $d
@@ -552,7 +603,7 @@ function relevanssi_date_queries($d, $title, $version = 'good') {
552
  ORDER BY cnt DESC
553
  LIMIT $limit");
554
 
555
- if ($version == 'bad')
556
  $queries = $wpdb->get_results("SELECT COUNT(DISTINCT(id)) as cnt, query, hits
557
  FROM $log_table
558
  WHERE TIMESTAMPDIFF(DAY, time, NOW()) <= $d
@@ -562,11 +613,11 @@ function relevanssi_date_queries($d, $title, $version = 'good') {
562
  LIMIT $limit");
563
 
564
  if (count($queries) > 0) {
565
- echo "<table class='widefat'><thead><tr><th colspan='3'>$title</th></tr></thead><tbody><tr><th>" . __('Query', 'relevanssi') . "</th><th>#</th><th>" . __('Hits', 'relevanssi') . "</th></tr>";
566
  foreach ($queries as $query) {
567
  $url = get_bloginfo('url');
568
  $u_q = urlencode($query->query);
569
- echo "<tr><td style='padding: 3px 5px'><a href='$url/?s=$u_q'>" . esc_attr($query->query) . "</a></td><td style='padding: 3px 5px; text-align: center'>" . $query->cnt . "</td><td style='padding: 3px 5px; text-align: center'>" . $query->hits . "</td></tr>";
570
  }
571
  echo "</tbody></table>";
572
  }
@@ -580,19 +631,17 @@ function relevanssi_options_form() {
580
  wp_enqueue_script('dashboard');
581
  wp_print_scripts('dashboard');
582
 
583
- $docs_count = $wpdb->get_var("SELECT COUNT(DISTINCT doc) FROM " . $relevanssi_variables['relevanssi_table']);
584
- $terms_count = $wpdb->get_var("SELECT COUNT(*) FROM " . $relevanssi_variables['relevanssi_table']);
585
- $biggest_doc = $wpdb->get_var("SELECT doc FROM " . $relevanssi_variables['relevanssi_table'] . " ORDER BY doc DESC LIMIT 1");
586
-
587
  $serialize_options = array();
588
 
 
 
589
  $title_boost = get_option('relevanssi_title_boost');
590
  $serialize_options['relevanssi_title_boost'] = $title_boost;
591
  $comment_boost = get_option('relevanssi_comment_boost');
592
  $serialize_options['relevanssi_comment_boost'] = $comment_boost;
593
  $admin_search = get_option('relevanssi_admin_search');
594
  $serialize_options['relevanssi_admin_search'] = $admin_search;
595
- if ('on' == $admin_search) {
596
  $admin_search = 'checked="checked"';
597
  }
598
  else {
@@ -604,7 +653,7 @@ function relevanssi_options_form() {
604
 
605
  $excerpts = get_option('relevanssi_excerpts');
606
  $serialize_options['relevanssi_excerpts'] = $excerpts;
607
- if ('on' == $excerpts) {
608
  $excerpts = 'checked="checked"';
609
  }
610
  else {
@@ -628,9 +677,12 @@ function relevanssi_options_form() {
628
  $excerpt_allowable_tags = get_option('relevanssi_excerpt_allowable_tags');
629
  $serialize_options['relevanssi_excerpt_allowable_tags'] = $excerpt_allowable_tags;
630
 
 
 
 
631
  $log_queries = get_option('relevanssi_log_queries');
632
  $serialize_options['relevanssi_log_queries'] = $log_queries;
633
- if ('on' == $log_queries) {
634
  $log_queries = 'checked="checked"';
635
  }
636
  else {
@@ -639,16 +691,19 @@ function relevanssi_options_form() {
639
 
640
  $log_queries_with_ip = get_option('relevanssi_log_queries_with_ip');
641
  $serialize_options['relevanssi_log_queries_with_ip'] = $log_queries_with_ip;
642
- if ('on' == $log_queries_with_ip) {
643
  $log_queries_with_ip = 'checked="checked"';
644
  }
645
  else {
646
  $log_queries_with_ip = '';
647
  }
648
 
 
 
 
649
  $hide_branding = get_option('relevanssi_hide_branding');
650
  $serialize_options['relevanssi_hide_branding'] = $hide_branding;
651
- if ('on' == $hide_branding) {
652
  $hide_branding = 'checked="checked"';
653
  }
654
  else {
@@ -665,6 +720,10 @@ function relevanssi_options_form() {
665
  $highlight_bgcol = "";
666
  $highlight_style = "";
667
  $highlight_class = "";
 
 
 
 
668
  switch ($highlight) {
669
  case "no":
670
  $highlight_none = 'selected="selected"';
@@ -680,25 +739,56 @@ function relevanssi_options_form() {
680
  break;
681
  case "col":
682
  $highlight_col = 'selected="selected"';
 
683
  break;
684
  case "bgcol":
685
  $highlight_bgcol = 'selected="selected"';
 
686
  break;
687
  case "css":
688
  $highlight_style = 'selected="selected"';
 
689
  break;
690
  case "class":
691
  $highlight_class = 'selected="selected"';
 
692
  break;
693
  }
694
 
695
  $index_fields = get_option('relevanssi_index_fields');
696
  $serialize_options['relevanssi_index_fields'] = $index_fields;
697
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
698
  $txt_col = get_option('relevanssi_txt_col');
 
 
699
  $serialize_options['relevanssi_txt_col'] = $txt_col;
 
700
  $bg_col = get_option('relevanssi_bg_col');
 
 
701
  $serialize_options['relevanssi_bg_col'] = $bg_col;
 
702
  $css = get_option('relevanssi_css');
703
  $serialize_options['relevanssi_css'] = $css;
704
  $class = get_option('relevanssi_class');
@@ -708,26 +798,26 @@ function relevanssi_options_form() {
708
  $serialize_options['relevanssi_cat'] = $cat;
709
  $excat = get_option('relevanssi_excat');
710
  $serialize_options['relevanssi_excat'] = $excat;
711
- $extag = get_option('relevanssi_extag');
712
- $serialize_options['relevanssi_extag'] = $extag;
713
 
714
  $fuzzy = get_option('relevanssi_fuzzy');
715
  $serialize_options['relevanssi_fuzzy'] = $fuzzy;
716
- $fuzzy_sometimes = ('sometimes' == $fuzzy ? 'selected="selected"' : '');
717
- $fuzzy_always = ('always' == $fuzzy ? 'selected="selected"' : '');
718
- $fuzzy_never = ('never' == $fuzzy ? 'selected="selected"' : '');
719
 
720
  $implicit = get_option('relevanssi_implicit_operator');
721
  $serialize_options['relevanssi_implicit_operator'] = $implicit;
722
- $implicit_and = ('AND' == $implicit ? 'selected="selected"' : '');
723
- $implicit_or = ('OR' == $implicit ? 'selected="selected"' : '');
 
 
724
 
725
- $expand_shortcodes = ('on' == get_option('relevanssi_expand_shortcodes') ? 'checked="checked"' : '');
726
  $serialize_options['relevanssi_expand_shortcodes'] = get_option('relevanssi_expand_shortcodes');
727
- $disablefallback = ('on' == get_option('relevanssi_disable_or_fallback') ? 'checked="checked"' : '');
728
  $serialize_options['relevanssi_disable_or_fallback'] = get_option('relevanssi_disable_or_fallback');
729
 
730
- $throttle = ('on' == get_option('relevanssi_throttle') ? 'checked="checked"' : '');
731
  $serialize_options['relevanssi_throttle'] = get_option('relevanssi_throttle');
732
 
733
  $throttle_limit = get_option('relevanssi_throttle_limit');
@@ -743,7 +833,7 @@ function relevanssi_options_form() {
743
  //Added by OdditY ->
744
  $expst = get_option('relevanssi_exclude_posts');
745
  $serialize_options['relevanssi_exclude_posts'] = $expst;
746
- $hititle = ('on' == get_option('relevanssi_hilite_title') ? 'checked="checked"' : '');
747
  $serialize_options['relevanssi_hilite_title'] = get_option('relevanssi_hilite_title');
748
  $incom_type = get_option('relevanssi_index_comments');
749
  $serialize_options['relevanssi_index_comments'] = $incom_type;
@@ -762,31 +852,34 @@ function relevanssi_options_form() {
762
  break;
763
  }//added by OdditY END <-
764
 
765
- $highlight_docs = ('on' == get_option('relevanssi_highlight_docs') ? 'checked="checked"' : '');
766
- $highlight_coms = ('on' == get_option('relevanssi_highlight_comments') ? 'checked="checked"' : '');
767
  $serialize_options['relevanssi_highlight_docs'] = get_option('relevanssi_highlight_docs');
768
  $serialize_options['relevanssi_highlight_comments'] = get_option('relevanssi_highlight_comments');
769
 
770
- $respect_exclude = ('on' == get_option('relevanssi_respect_exclude') ? 'checked="checked"' : '');
771
  $serialize_options['relevanssi_respect_exclude'] = get_option('relevanssi_respect_exclude');
772
 
773
  $min_word_length = get_option('relevanssi_min_word_length');
774
  $serialize_options['relevanssi_min_word_length'] = $min_word_length;
775
 
776
- $index_author = ('on' == get_option('relevanssi_index_author') ? 'checked="checked"' : '');
777
  $serialize_options['relevanssi_index_author'] = get_option('relevanssi_index_author');
778
- $index_excerpt = ('on' == get_option('relevanssi_index_excerpt') ? 'checked="checked"' : '');
779
  $serialize_options['relevanssi_index_excerpt'] = get_option('relevanssi_index_excerpt');
780
 
781
- $show_matches = ('on' == get_option('relevanssi_show_matches') ? 'checked="checked"' : '');
782
  $serialize_options['relevanssi_show_matches'] = get_option('relevanssi_show_matches');
783
  $show_matches_text = stripslashes(get_option('relevanssi_show_matches_text'));
784
  $serialize_options['relevanssi_show_matches_text'] = get_option('relevanssi_show_matches_text');
785
 
786
- $wpml_only_current = ('on' == get_option('relevanssi_wpml_only_current') ? 'checked="checked"' : '');
787
  $serialize_options['relevanssi_wpml_only_current'] = get_option('relevanssi_wpml_only_current');
788
 
789
- $word_boundaries = ('on' == get_option('relevanssi_word_boundaries') ? 'checked="checked"' : '');
 
 
 
790
  $serialize_options['relevanssi_word_boundaries'] = get_option('relevanssi_word_boundaries');
791
 
792
  $post_type_weights = get_option('relevanssi_post_type_weights');
@@ -802,9 +895,83 @@ function relevanssi_options_form() {
802
 
803
  $orderby = get_option('relevanssi_default_orderby');
804
  $serialize_options['relevanssi_default_orderby'] = $orderby;
805
- $orderby_relevance = ('relevance' == $orderby ? 'selected="selected"' : '');
806
- $orderby_date = ('post_date' == $orderby ? 'selected="selected"' : '');
807
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
808
  if (RELEVANSSI_PREMIUM) {
809
  $api_key = get_option('relevanssi_api_key');
810
  $serialize_options['relevanssi_api_key'] = $api_key;
@@ -814,11 +981,11 @@ function relevanssi_options_form() {
814
 
815
  $intlinks = get_option('relevanssi_internal_links');
816
  $serialize_options['relevanssi_internal_links'] = $intlinks;
817
- $intlinks_strip = ('strip' == $intlinks ? 'selected="selected"' : '');
818
- $intlinks_nostrip = ('nostrip' == $intlinks ? 'selected="selected"' : '');
819
- $intlinks_noindex = ('noindex' == $intlinks ? 'selected="selected"' : '');
820
 
821
- $highlight_docs_ext = ('on' == get_option('relevanssi_highlight_docs_external') ? 'checked="checked"' : '');
822
  $serialize_options['relevanssi_highlight_docs_external'] = get_option('relevanssi_highlight_docs_external');
823
 
824
  $thousand_separator = get_option('relevanssi_thousand_separator');
@@ -827,26 +994,26 @@ function relevanssi_options_form() {
827
  $disable_shortcodes = get_option('relevanssi_disable_shortcodes');
828
  $serialize_options['relevanssi_disable_shortcodes'] = $disable_shortcodes;
829
 
830
- $index_users = ('on' == get_option('relevanssi_index_users') ? 'checked="checked"' : '');
831
  $serialize_options['relevanssi_index_users'] = get_option('relevanssi_index_users');
832
 
833
  $index_user_fields = get_option('relevanssi_index_user_fields');
834
  $serialize_options['relevanssi_index_user_fields'] = $index_user_fields;
835
 
836
- $index_subscribers = ('on' == get_option('relevanssi_index_subscribers') ? 'checked="checked"' : '');
837
  $serialize_options['relevanssi_index_subscribers'] = get_option('relevanssi_index_subscribers');
838
 
839
- $index_synonyms = ('on' == get_option('relevanssi_index_synonyms') ? 'checked="checked"' : '');
840
  $serialize_options['relevanssi_index_synonyms'] = get_option('relevanssi_index_synonyms');
841
 
842
- $index_taxonomies = ('on' == get_option('relevanssi_index_taxonomies') ? 'checked="checked"' : '');
843
  $serialize_options['relevanssi_index_taxonomies'] = get_option('relevanssi_index_taxonomies');
844
 
845
  $index_terms = get_option('relevanssi_index_terms');
846
  if (empty($index_terms)) $index_terms = array();
847
  $serialize_options['relevanssi_index_terms'] = $index_terms;
848
 
849
- $hide_post_controls = ('on' == get_option('relevanssi_hide_post_controls') ? 'checked="checked"' : '');
850
  $serialize_options['relevanssi_hide_post_controls'] = get_option('relevanssi_hide_post_controls');
851
 
852
  $recency_bonus_array = get_option('relevanssi_recency_bonus');
@@ -857,20 +1024,56 @@ function relevanssi_options_form() {
857
  $mysql_columns = get_option('relevanssi_mysql_columns');
858
  $serialize_options['relevanssi_mysql_columns'] = $mysql_columns;
859
 
 
 
 
 
 
 
860
  $serialized_options = json_encode($serialize_options);
861
  }
862
 
863
- echo "<div class='postbox-container' style='width:70%;'>";
864
 
 
865
  if (RELEVANSSI_PREMIUM) {
866
  echo "<form method='post' action='options-general.php?page=relevanssi-premium/relevanssi.php'>";
 
867
  }
868
  else {
869
  echo "<form method='post'>";
870
  }
871
 
872
- wp_nonce_field(plugin_basename($relevanssi_variables['file']), 'relevanssi_options'); ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
873
 
 
874
  <p><a href="#basic"><?php _e("Basic options", "relevanssi"); ?></a> |
875
  <a href="#weights"><?php _e("Weights", "relevanssi"); ?></a> |
876
  <a href="#logs"><?php _e("Logs", "relevanssi"); ?></a> |
@@ -889,327 +1092,698 @@ function relevanssi_options_form() {
889
  }
890
  ?>
891
  </p>
 
 
 
 
 
 
892
 
893
- <h3><?php _e('Quick tools', 'relevanssi') ?></h3>
894
- <p>
895
- <input type='submit' name='submit' value='<?php esc_attr_e('Save options', 'relevanssi'); ?>' class='button-primary' />
896
- <input type="submit" name="index" value="<?php esc_attr_e('Build the index', 'relevanssi'); ?>" class='button-primary' />
897
- <input type="submit" name="index_extend" value="<?php esc_attr_e('Continue indexing', 'relevanssi'); ?>" class='button-secondary' />, <?php _e('add', 'relevanssi'); ?> <input type="text" size="4" name="relevanssi_index_limit" value="<?php echo $index_limit ?>" /> <?php _e('documents.', 'relevanssi'); ?></p>
898
 
 
899
  <?php
900
- if (empty($index_post_types)) {
901
- echo "<p><strong>" . __("WARNING: You've chosen no post types to index. Nothing will be indexed. <a href='#indexing'>Choose some post types to index</a>.", 'relevanssi') . "</strong></p>";
902
- }
903
  ?>
904
-
905
- <p><?php _e("Use 'Build the index' to build the index with current <a href='#indexing'>indexing options</a>. If you can't finish indexing with one go, use 'Continue indexing' to finish the job. You can change the number of documents to add until you find the largest amount you can add with one go. See 'State of the Index' below to find out how many documents actually go into the index.", 'relevanssi') ?></p>
906
-
907
- <h3><?php _e("State of the Index", "relevanssi"); ?></h3>
908
- <p>
909
- <?php _e("Documents in the index", "relevanssi"); ?>: <strong><?php echo $docs_count ?></strong><br />
910
- <?php _e("Terms in the index", "relevanssi"); ?>: <strong><?php echo $terms_count ?></strong><br />
911
- <?php _e("Highest post ID indexed", "relevanssi"); ?>: <strong><?php echo $biggest_doc ?></strong>
912
- </p>
913
-
914
- <h3 id="basic"><?php _e("Basic options", "relevanssi"); ?></h3>
915
-
916
  <?php
917
- if (function_exists('relevanssi_form_api_key')) relevanssi_form_api_key($api_key);
918
  ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
919
 
920
- <label for='relevanssi_admin_search'><?php _e('Use search for admin:', 'relevanssi'); ?>
921
- <input type='checkbox' name='relevanssi_admin_search' id='relevanssi_admin_search' <?php echo $admin_search ?> /></label>
922
- <small><?php _e('If checked, Relevanssi will be used for searches in the admin interface', 'relevanssi'); ?></small>
923
-
924
- <br /><br />
925
-
926
- <label for='relevanssi_implicit_operator'><?php _e("Default operator for the search?", "relevanssi"); ?>
927
- <select name='relevanssi_implicit_operator' id='relevanssi_implicit_operator'>
928
- <option value='AND' <?php echo $implicit_and ?>><?php _e("AND - require all terms", "relevanssi"); ?></option>
929
- <option value='OR' <?php echo $implicit_or ?>><?php _e("OR - any term present is enough", "relevanssi"); ?></option>
930
- </select></label><br />
931
- <small><?php _e("If you choose AND and the search finds no matches, it will automatically do an OR search.", "relevanssi"); ?></small>
932
-
933
- <br /><br />
934
-
935
- <label for='relevanssi_disable_or_fallback'><?php _e("Disable OR fallback:", "relevanssi"); ?>
936
- <input type='checkbox' name='relevanssi_disable_or_fallback' id='relevanssi_disable_or_fallback' <?php echo $disablefallback ?> /></label><br />
937
- <small><?php _e("If you don't want Relevanssi to fall back to OR search when AND search gets no hits, check this option. For most cases, leave this one unchecked.", 'relevanssi'); ?></small>
938
-
939
- <br /><br />
940
-
941
- <label for='relevanssi_default_orderby'><?php _e('Default order for results:', 'relevanssi'); ?>
942
- <select name='relevanssi_default_orderby' id='relevanssi_default_orderby'>
943
- <option value='relevance' <?php echo $orderby_relevance ?>><?php _e("Relevance (highly recommended)", "relevanssi"); ?></option>
944
- <option value='post_date' <?php echo $orderby_date ?>><?php _e("Post date", "relevanssi"); ?></option>
945
- </select></label><br />
946
- <small><?php _e("If you want date-based results, see the recent post bonus in the Weights section.", "relevanssi"); ?></small>
947
-
948
- <br /><br />
949
-
950
- <label for='relevanssi_fuzzy'><?php _e('When to use fuzzy matching?', 'relevanssi'); ?>
951
- <select name='relevanssi_fuzzy' id='relevanssi_fuzzy'>
952
- <option value='sometimes' <?php echo $fuzzy_sometimes ?>><?php _e("When straight search gets no hits", "relevanssi"); ?></option>
953
- <option value='always' <?php echo $fuzzy_always ?>><?php _e("Always", "relevanssi"); ?></option>
954
- <option value='never' <?php echo $fuzzy_never ?>><?php _e("Don't use fuzzy search", "relevanssi"); ?></option>
955
- </select></label><br />
956
- <small><?php _e("Straight search matches just the term. Fuzzy search matches everything that begins or ends with the search term.", "relevanssi"); ?></small>
957
-
958
- <br /><br />
959
 
960
- <?php
961
- if (function_exists('relevanssi_form_internal_links')) relevanssi_form_internal_links($intlinks_noindex, $intlinks_strip, $intlinks_nostrip);
962
- ?>
963
 
964
- <label for='relevanssi_throttle'><?php _e("Limit searches:", "relevanssi"); ?>
965
- <input type='checkbox' name='relevanssi_throttle' id='relevanssi_throttle' <?php echo $throttle ?> /></label><br />
966
- <small><?php _e("If this option is checked, Relevanssi will limit search results to at most 500 results per term (this number can be adjusted by changing the 'relevanssi_throttle_limit' option). This will improve performance, but may cause some relevant documents to go unfound. However, Relevanssi tries to prioritize the most relevant documents. <strong>This does not work when sorting results by date.</strong> The throttle can end up cutting off recent posts to favour more relevant posts.", 'relevanssi'); ?></small>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
967
 
968
- <br /><br />
969
 
970
- <?php
971
- if (function_exists('relevanssi_form_hide_post_controls')) relevanssi_form_hide_post_controls($hide_post_controls);
972
- ?>
973
 
974
- <h3 id="weights"><?php _e('Weights', 'relevanssi'); ?></h3>
 
 
975
 
976
- <p><?php _e('These values affect the weights of the documents. These are all multipliers, so 1 means no change in weight, less than 1 means less weight, and more than 1 means more weight. Setting something to zero makes that worthless. For example, if title weight is more than 1, words in titles are more significant than words elsewhere. If title weight is 0, words in titles won\'t make any difference to the search results.', 'relevanssi'); ?></p>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
977
 
978
- <table class="widefat">
979
- <thead>
980
- <tr>
981
- <th><?php _e('Element', 'relevanssi'); ?></th>
982
- <th><?php _e('Weight', 'relevanssi'); ?></th>
983
- <th><?php _e('Default weight', 'relevanssi'); ?></th>
984
- </tr>
985
- </thead>
986
  <tr>
 
 
 
987
  <td>
988
- <?php _e('Post titles', 'relevanssi'); ?>
 
 
 
 
 
 
 
989
  </td>
 
 
 
 
 
 
 
990
  <td>
991
- <input type='text' name='relevanssi_title_boost' id='relevanssi_title_boost' size='4' value='<?php echo $title_boost ?>' />
 
 
 
 
 
 
 
992
  </td>
 
 
 
 
 
 
993
  <td>
994
- <?php echo $relevanssi_variables['title_boost_default']; ?>
 
 
 
 
 
 
 
995
  </td>
996
  </tr>
997
- <?php if (function_exists('relevanssi_form_link_weight')) relevanssi_form_link_weight($link_boost); ?>
998
  <tr>
 
 
 
999
  <td>
1000
- <?php _e('Comment text', 'relevanssi'); ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1001
  </td>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1002
  <td>
1003
- <input type='text' name='relevanssi_comment_boost' id='relevanssi_comment_boost' size='4' value='<?php echo $comment_boost ?>' />
 
 
 
 
 
 
 
 
 
 
 
 
 
1004
  </td>
 
 
 
 
 
1005
  <td>
1006
- <?php echo $relevanssi_variables['comment_boost_default']; ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1007
  </td>
1008
  </tr>
1009
- <?php
1010
- if (function_exists('relevanssi_form_post_type_weights')) relevanssi_form_post_type_weights($post_type_weights);
1011
- if (function_exists('relevanssi_form_taxonomy_weights')) relevanssi_form_taxonomy_weights($post_type_weights);
1012
- if (function_exists('relevanssi_form_tag_weight')) relevanssi_form_tag_weight($post_type_weights);
1013
- ?>
1014
  </table>
1015
 
1016
- <br /><br />
1017
-
1018
- <?php if (function_exists('relevanssi_form_recency')) relevanssi_form_recency($recency_bonus, $recency_bonus_days); ?>
1019
 
1020
- <?php if (function_exists('icl_object_id')) : ?>
1021
- <h3 id="wpml"><?php _e('WPML/Polylang compatibility', 'relevanssi'); ?></h3>
1022
 
1023
- <label for='relevanssi_wpml_only_current'><?php _e("Limit results to current language:", "relevanssi"); ?>
1024
- <input type='checkbox' name='relevanssi_wpml_only_current' id='relevanssi_wpml_only_current' <?php echo $wpml_only_current ?> /></label>
1025
- <small><?php _e("If this option is checked, Relevanssi will only return results in the current active language. Otherwise results will include posts in every language.", "relevanssi");?></small>
1026
 
1027
- <?php endif; ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1028
 
1029
- <h3 id="logs"><?php _e('Logs', 'relevanssi'); ?></h3>
1030
 
1031
- <label for='relevanssi_log_queries'><?php _e("Keep a log of user queries:", "relevanssi"); ?>
1032
- <input type='checkbox' name='relevanssi_log_queries' id='relevanssi_log_queries' <?php echo $log_queries ?> /></label>
1033
- <small><?php _e("If checked, Relevanssi will log user queries. The log appears in 'User searches' on the Dashboard admin menu.", 'relevanssi'); ?></small>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1034
 
1035
- <br /><br />
1036
 
1037
- <label for='relevanssi_log_queries_with_ip'><?php _e("Log the user's IP with the queries:", "relevanssi"); ?>
1038
- <input type='checkbox' name='relevanssi_log_queries_with_ip' id='relevanssi_log_queries_with_ip' <?php echo $log_queries_with_ip ?> /></label>
1039
- <small><?php _e("If checked, Relevanssi will log user's IP-Adress with the queries.", 'relevanssi'); ?></small>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1040
 
1041
- <br /><br />
1042
 
1043
- <label for='relevanssi_omit_from_logs'><?php _e("Don't log queries from these users:", "relevanssi"); ?>
1044
- <input type='text' name='relevanssi_omit_from_logs' id='relevanssi_omit_from_logs' size='20' value='<?php echo esc_attr($omit_from_logs); ?>' /></label>
1045
- <small><?php _e("Comma-separated list of numeric user IDs or user login names that will not be logged.", "relevanssi"); ?></small>
1046
 
1047
- <?php
1048
- echo "<p>" . __("If you enable logs, you can see what your users are searching for. You can prevent your own searches from getting in the logs with the omit feature.", "relevanssi");
1049
- if (!RELEVANSSI_PREMIUM) {
1050
- echo " " . __("Logs are also needed to use the 'Did you mean?' feature.", "relevanssi");
 
 
 
 
 
1051
  }
1052
- echo "</p>";
1053
- ?>
1054
-
1055
- <?php if (function_exists('relevanssi_form_hide_branding')) relevanssi_form_hide_branding($hide_branding); ?>
1056
-
1057
- <h3 id="exclusions"><?php _e("Exclusions and restrictions", "relevanssi"); ?></h3>
1058
-
1059
- <label for='relevanssi_cat'><?php _e('Restrict search to these categories and tags:', 'relevanssi'); ?>
1060
- <input type='text' name='relevanssi_cat' id='relevanssi_cat' size='20' value='<?php echo esc_attr($cat); ?>' /></label><br />
1061
- <small><?php _e("Enter a comma-separated list of category and tag IDs to restrict search to those categories or tags. You can also use <code>&lt;input type='hidden' name='cats' value='list of cats and tags' /&gt;</code> in your search form. The input field will overrun this setting.", 'relevanssi'); ?></small>
1062
-
1063
- <br /><br />
1064
-
1065
- <label for='relevanssi_excat'><?php _e('Exclude these categories from search:', 'relevanssi'); ?>
1066
- <input type='text' name='relevanssi_excat' id='relevanssi_excat' size='20' value='<?php echo esc_attr($excat); ?>' /></label><br />
1067
- <small><?php _e("Enter a comma-separated list of category IDs that are excluded from search results.", 'relevanssi'); ?></small>
1068
-
1069
- <br /><br />
1070
-
1071
- <label for='relevanssi_extag'><?php _e('Exclude these tags from search:', 'relevanssi'); ?>
1072
- <input type='text' name='relevanssi_extag' id='relevanssi_extag' size='20' value='<?php echo esc_attr($extag); ?>' /></label><br />
1073
- <small><?php _e("Enter a comma-separated list of tag IDs that are excluded from search results.", 'relevanssi'); ?></small>
1074
 
1075
- <br /><br />
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1076
 
1077
- <label for='relevanssi_expst'><?php _e('Exclude these posts/pages from search:', 'relevanssi'); ?>
1078
- <input type='text' name='relevanssi_expst' id='relevanssi_expst' size='20' value='<?php echo esc_attr($expst); ?>' /></label><br />
1079
  <?php
1080
- echo "<small>" . __("Enter a comma-separated list of post/page IDs that are excluded from search results. This only works here, you can't use the input field option (WordPress doesn't pass custom parameters there).", 'relevanssi');
1081
- if (RELEVANSSI_PREMIUM) {
1082
- echo " " . __("You can also use a checkbox on post/page edit pages to remove posts from index. This setting doesn't work in multisite searches, but the checkbox does.", 'relevanssi');
1083
  }
1084
- echo "</small>";
1085
  ?>
1086
 
1087
- <br /><br />
1088
-
1089
- <label for='relevanssi_respect_exclude'><?php _e('Respect exclude_from_search for custom post types:', 'relevanssi'); ?>
1090
- <input type='checkbox' name='relevanssi_respect_exclude' id='relevanssi_respect_exclude' <?php echo $respect_exclude ?> /></label><br />
1091
- <small><?php _e("If checked, Relevanssi won't display posts of custom post types that have 'exclude_from_search' set to true. If not checked, Relevanssi will display anything that is indexed.", 'relevanssi'); ?></small>
1092
-
1093
- <h3 id="excerpts"><?php _e("Custom excerpts/snippets", "relevanssi"); ?></h3>
1094
-
1095
- <label for='relevanssi_excerpts'><?php _e("Create custom search result snippets:", "relevanssi"); ?>
1096
- <input type='checkbox' name='relevanssi_excerpts' id='relevanssi_excerpts' <?php echo $excerpts ?> /></label><br />
1097
- <small><?php _e("If checked, Relevanssi will create excerpts that contain the search term hits. To make them work, make sure your search result template uses the_excerpt() to display post excerpts.", 'relevanssi'); ?></small>
1098
-
1099
- <p><?php _e('Note: Building custom excerpts can be slow. If you are not actually using the excerpts, make sure you disable the option.', 'relevanssi'); ?></p>
1100
-
1101
- <label for='relevanssi_excerpt_length'><?php _e("Length of the snippet:", "relevanssi"); ?>
1102
- <input type='text' name='relevanssi_excerpt_length' id='relevanssi_excerpt_length' size='4' value='<?php echo esc_attr($excerpt_length); ?>' /></label>
1103
- <select name='relevanssi_excerpt_type' id='relevanssi_excerpt_type'>
1104
- <option value='chars' <?php echo $excerpt_chars ?>><?php _e("characters", "relevanssi"); ?></option>
1105
- <option value='words' <?php echo $excerpt_words ?>><?php _e("words", "relevanssi"); ?></option>
1106
- </select><br />
1107
- <small><?php _e("This must be an integer.", "relevanssi"); ?></small>
1108
-
1109
- <br /><br />
1110
-
1111
- <label for='relevanssi_excerpt_allowable_tags'><?php _e("Allowable tags in excerpts:", "relevanssi"); ?>
1112
- <input type='text' name='relevanssi_excerpt_allowable_tags' id='relevanssi_excerpt_allowable_tags' size='20' value='<?php echo esc_attr($excerpt_allowable_tags); ?>' /></label>
1113
- <br />
1114
- <small><?php _e("List all tags you want to allow in excerpts, without any whitespace. For example: '&lt;p&gt;&lt;a&gt;&lt;strong&gt;'.", "relevanssi"); ?></small>
1115
-
1116
- <br /><br />
1117
-
1118
- <label for='relevanssi_show_matches'><?php _e("Show breakdown of search hits in excerpts:", "relevanssi"); ?>
1119
- <input type='checkbox' name='relevanssi_show_matches' id='relevanssi_show_matches' <?php echo $show_matches ?> /></label>
1120
- <small><?php _e("Check this to show more information on where the search hits were made. Requires custom snippets to work.", "relevanssi"); ?></small>
1121
-
1122
- <br /><br />
1123
-
1124
- <label for='relevanssi_show_matches_text'><?php _e("The breakdown format:", "relevanssi"); ?>
1125
- <input type='text' name='relevanssi_show_matches_text' id='relevanssi_show_matches_text' value="<?php echo esc_attr($show_matches_text) ?>" size='20' /></label>
1126
- <small><?php _e("Use %body%, %title%, %tags% and %comments% to display the number of hits (in different parts of the post), %total% for total hits, %score% to display the document weight and %terms% to show how many hits each search term got. No double quotes (\") allowed!", "relevanssi"); ?></small>
1127
-
1128
- <h3 id="highlighting"><?php _e("Search hit highlighting", "relevanssi"); ?></h3>
1129
-
1130
- <?php _e("First, choose the type of highlighting used:", "relevanssi"); ?><br />
1131
-
1132
- <div style='margin-left: 2em'>
1133
- <label for='relevanssi_highlight'><?php _e("Highlight query terms in search results:", 'relevanssi'); ?>
1134
- <select name='relevanssi_highlight' id='relevanssi_highlight'>
1135
- <option value='no' <?php echo $highlight_none ?>><?php _e('No highlighting', 'relevanssi'); ?></option>
1136
- <option value='mark' <?php echo $highlight_mark ?>>&lt;mark&gt;</option>
1137
- <option value='em' <?php echo $highlight_em ?>>&lt;em&gt;</option>
1138
- <option value='strong' <?php echo $highlight_strong ?>>&lt;strong&gt;</option>
1139
- <option value='col' <?php echo $highlight_col ?>><?php _e('Text color', 'relevanssi'); ?></option>
1140
- <option value='bgcol' <?php echo $highlight_bgcol ?>><?php _e('Background color', 'relevanssi'); ?></option>
1141
- <option value='css' <?php echo $highlight_style ?>><?php _e("CSS Style", 'relevanssi'); ?></option>
1142
- <option value='class' <?php echo $highlight_class ?>><?php _e("CSS Class", 'relevanssi'); ?></option>
1143
- </select></label>
1144
- <small><?php _e("Highlighting isn't available unless you use custom snippets", 'relevanssi'); ?></small>
1145
-
1146
- <br />
1147
-
1148
- <label for='relevanssi_hilite_title'><?php _e("Highlight query terms in result titles too:", 'relevanssi'); ?>
1149
- <input type='checkbox' name='relevanssi_hilite_title' id='relevanssi_hilite_title' <?php echo $hititle ?> /></label>
1150
- <small><?php _e("Highlight hits in titles of the search results. This doesn't work automatically but requires you to replace the_title() on the template with relevanssi_the_title().", 'relevanssi'); ?></small>
1151
-
1152
- <br />
1153
 
1154
- <label for='relevanssi_highlight_docs'><?php _e("Highlight query terms in documents from local searches:", 'relevanssi'); ?>
1155
- <input type='checkbox' name='relevanssi_highlight_docs' id='relevanssi_highlight_docs' <?php echo $highlight_docs ?> /></label>
1156
- <small><?php _e("Highlights hits when user opens the post from search results. This is based on HTTP referrer, so if that's blocked, there'll be no highlights.", "relevanssi"); ?></small>
1157
 
1158
- <br />
1159
-
1160
- <?php if (function_exists('relevanssi_form_highlight_external')) relevanssi_form_highlight_external($highlight_docs_ext); ?>
1161
-
1162
- <label for='relevanssi_highlight_comments'><?php _e("Highlight query terms in comments:", 'relevanssi'); ?>
1163
- <input type='checkbox' name='relevanssi_highlight_comments' id='relevanssi_highlight_comments' <?php echo $highlight_coms ?> /></label>
1164
- <small><?php _e("Highlights hits in comments when user opens the post from search results.", "relevanssi"); ?></small>
1165
-
1166
- <br />
1167
-
1168
- <label for='relevanssi_word_boundaries'><?php _e("Uncheck this if you use non-ASCII characters:", 'relevanssi'); ?>
1169
- <input type='checkbox' name='relevanssi_word_boundaries' id='relevanssi_word_boundaries' <?php echo $word_boundaries ?> /></label>
1170
- <small><?php _e("If you use non-ASCII characters (like Cyrillic alphabet) and the highlights don't work, uncheck this option to make highlights work.", "relevanssi"); ?></small>
1171
-
1172
- <br /><br />
1173
- </div>
1174
-
1175
- <?php _e("Then adjust the settings for your chosen type:", "relevanssi"); ?><br />
1176
-
1177
- <div style='margin-left: 2em'>
1178
-
1179
- <label for='relevanssi_txt_col'><?php _e("Text color for highlights:", "relevanssi"); ?>
1180
- <input type='text' name='relevanssi_txt_col' id='relevanssi_txt_col' size='7' value='<?php echo esc_attr($txt_col); ?>' /></label>
1181
- <small><?php _e("Use HTML color codes (#rgb or #rrggbb)", "relevanssi"); ?></small>
1182
-
1183
- <br />
1184
-
1185
- <label for='relevanssi_bg_col'><?php _e("Background color for highlights:", "relevanssi"); ?>
1186
- <input type='text' name='relevanssi_bg_col' id='relevanssi_bg_col' size='7' value='<?php echo esc_attr($bg_col); ?>' /></label>
1187
- <small><?php _e("Use HTML color codes (#rgb or #rrggbb)", "relevanssi"); ?></small>
1188
-
1189
- <br />
1190
-
1191
- <label for='relevanssi_css'><?php _e("CSS style for highlights:", "relevanssi"); ?>
1192
- <input type='text' name='relevanssi_css' id='relevanssi_css' size='30' value='<?php echo esc_attr($css); ?>' /></label>
1193
- <small><?php _e("You can use any CSS styling here, style will be inserted with a &lt;span&gt;", "relevanssi"); ?></small>
1194
-
1195
- <br />
1196
-
1197
- <label for='relevanssi_class'><?php _e("CSS class for highlights:", "relevanssi"); ?>
1198
- <input type='text' name='relevanssi_class' id='relevanssi_class' size='10' value='<?php echo esc_attr($class); ?>' /></label>
1199
- <small><?php _e("Name a class here, search results will be wrapped in a &lt;span&gt; with the class", "relevanssi"); ?></small>
1200
-
1201
- </div>
1202
-
1203
- <br />
1204
- <br />
1205
-
1206
- <input type='submit' name='submit' value='<?php esc_attr_e('Save the options', 'relevanssi'); ?>' class='button button-primary' />
1207
-
1208
- <h3 id="indexing"><?php _e('Indexing options', 'relevanssi'); ?></h3>
1209
-
1210
- <p><?php _e('Choose post types to index:', 'relevanssi'); ?></p>
1211
 
1212
- <table class="widefat" id="index_post_types_table">
1213
  <thead>
1214
  <tr>
1215
  <th><?php _e('Type', 'relevanssi'); ?></th>
@@ -1223,8 +1797,8 @@ function relevanssi_options_form() {
1223
  $public_types = array_merge($pt_1, $pt_2);
1224
  $post_types = get_post_types();
1225
  foreach ($post_types as $type) {
1226
- if ('nav_menu_item' == $type) continue;
1227
- if ('revision' == $type) continue;
1228
  if (in_array($type, $index_post_types)) {
1229
  $checked = 'checked="checked"';
1230
  }
@@ -1261,25 +1835,30 @@ EOH;
1261
  </td>
1262
  </tr>
1263
  </table>
 
 
 
1264
 
1265
- <p><?php printf(__('If you choose to index a post type that is excluded from the search, you may need to uncheck the "%s" option.', 'relevanssi'), __('Respect exclude_from_search for custom post types', 'relevanssi')); ?></p>
1266
- <br /><br />
 
 
 
1267
 
1268
- <p><?php _e('Choose taxonomies to index:', 'relevanssi'); ?></p>
 
 
 
 
 
 
 
1269
 
1270
- <table class="widefat" id="custom_taxonomies_table">
1271
- <thead>
1272
- <tr>
1273
- <th><?php _e('Taxonomy', 'relevanssi'); ?></th>
1274
- <th><?php _e('Index', 'relevanssi'); ?></th>
1275
- <th><?php _e('Public?', 'relevanssi'); ?></th>
1276
- </tr>
1277
- </thead>
1278
  <?php
1279
  $taxos = get_taxonomies('', 'objects');
1280
  foreach ($taxos as $taxonomy) {
1281
- if ($taxonomy->name == 'nav_menu') continue;
1282
- if ($taxonomy->name == 'link_category') continue;
1283
  if (in_array($taxonomy->name, $index_taxonomies_list)) {
1284
  $checked = 'checked="checked"';
1285
  }
@@ -1305,88 +1884,281 @@ EOH;
1305
  EOH;
1306
  }
1307
  ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1308
  </table>
1309
 
1310
- <p><?php _e('If you check a taxonomy here, the terms for that taxonomy are indexed with the posts. If you for example choose "post_tag", searching for tags will find all posts that have the tag.', 'relevanssi'); ?>
1311
 
1312
- <br /><br />
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1313
 
1314
- <label for='relevanssi_min_word_length'><?php _e("Minimum word length to index", "relevanssi"); ?>:
1315
- <input type='text' name='relevanssi_min_word_length' id='relevanssi_min_word_length' size='30' value='<?php echo esc_attr($min_word_length); ?>' /></label><br />
1316
- <small><?php _e("Words shorter than this number will not be indexed.", "relevanssi"); ?></small>
1317
 
1318
- <br /><br />
1319
 
1320
- <?php if (function_exists('relevanssi_form_thousep')) relevanssi_form_thousep($thousand_separator); ?>
 
 
 
 
 
 
 
 
1321
 
1322
- <label for='relevanssi_expand_shortcodes'><?php _e("Expand shortcodes in post content:", "relevanssi"); ?>
1323
- <input type='checkbox' name='relevanssi_expand_shortcodes' id='relevanssi_expand_shortcodes' <?php echo $expand_shortcodes ?> /></label><br />
1324
- <small><?php _e("If checked, Relevanssi will expand shortcodes in post content before indexing. Otherwise shortcodes will be stripped. If you use shortcodes to include dynamic content, Relevanssi will not keep the index updated, the index will reflect the status of the shortcode content at the moment of indexing.", "relevanssi"); ?></small>
1325
 
1326
- <br /><br />
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1327
 
1328
- <?php if (function_exists('relevanssi_form_disable_shortcodes')) relevanssi_form_disable_shortcodes($disable_shortcodes); ?>
 
 
 
 
 
 
 
 
 
 
 
 
1329
 
1330
- <label for='relevanssi_index_author'><?php _e('Index and search your posts\' authors:', 'relevanssi'); ?>
1331
- <input type='checkbox' name='relevanssi_index_author' id='relevanssi_index_author' <?php echo $index_author ?> /></label><br />
1332
- <small><?php _e("If checked, Relevanssi will also index and search the authors of your posts. Author display name will be indexed. Remember to rebuild the index if you change this option!", 'relevanssi'); ?></small>
1333
 
1334
- <br /><br />
1335
 
1336
- <label for='relevanssi_index_excerpt'><?php _e('Index and search post excerpts:', 'relevanssi'); ?>
1337
- <input type='checkbox' name='relevanssi_index_excerpt' id='relevanssi_index_excerpt' <?php echo $index_excerpt ?> /></label><br />
1338
- <small><?php _e("If checked, Relevanssi will also index and search the excerpts of your posts. Remember to rebuild the index if you change this option!", 'relevanssi'); ?></small>
1339
 
1340
- <br /><br />
1341
 
1342
- <label for='relevanssi_index_comments'><?php _e("Index and search these comments:", "relevanssi"); ?>
1343
- <select name='relevanssi_index_comments' id='relevanssi_index_comments'>
1344
- <option value='none' <?php echo $incom_type_none ?>><?php _e("none", "relevanssi"); ?></option>
1345
- <option value='normal' <?php echo $incom_type_normal ?>><?php _e("normal", "relevanssi"); ?></option>
1346
- <option value='all' <?php echo $incom_type_all ?>><?php _e("all", "relevanssi"); ?></option>
1347
- </select></label><br />
1348
- <small><?php _e("Relevanssi will index and search ALL (all comments including track- &amp; pingbacks and custom comment types), NONE (no comments) or NORMAL (manually posted comments on your blog).<br />Remember to rebuild the index if you change this option!", 'relevanssi'); ?></small>
1349
 
1350
- <br /><br />
1351
 
1352
- <label for='relevanssi_index_fields'><?php _e("Custom fields to index:", "relevanssi"); ?>
1353
- <input type='text' name='relevanssi_index_fields' id='relevanssi_index_fields' size='30' value='<?php echo esc_attr($index_fields) ?>' /></label><br />
1354
- <small><?php _e("A comma-separated list of custom fields to include in the index. Set to 'visible' to index all visible custom fields and to 'all' to index all custom fields, also those starting with a '_' character. With Relevanssi Premium, you can also use 'fieldname_%_subfieldname' notation for ACF repeater fields. You can use 'relevanssi_index_custom_fields' filter hook to adjust which custom fields are indexed.", "relevanssi"); ?></small>
1355
 
1356
- <br /><br />
1357
 
1358
- <?php if (function_exists('relevanssi_form_mysql_columns')) relevanssi_form_mysql_columns($mysql_columns); ?>
 
 
 
 
 
 
1359
 
1360
- <?php if (function_exists('relevanssi_form_index_users')) relevanssi_form_index_users($index_users, $index_subscribers, $index_user_fields); ?>
1361
 
1362
- <?php if (function_exists('relevanssi_form_index_taxonomies')) relevanssi_form_index_taxonomies($index_taxonomies, $index_terms); ?>
 
 
1363
 
1364
- <input type='submit' name='index' value='<?php esc_attr_e("Save indexing options, erase index and rebuild the index", 'relevanssi'); ?>' class='button button-primary' />
1365
 
1366
- <input type='submit' name='index_extend' value='<?php esc_attr_e("Continue indexing", 'relevanssi'); ?>' class='button' />
1367
 
1368
  <h3 id="synonyms"><?php _e("Synonyms", "relevanssi"); ?></h3>
1369
 
1370
- <p><textarea name='relevanssi_synonyms' id='relevanssi_synonyms' rows='9' cols='60'><?php echo htmlspecialchars($synonyms); ?></textarea></p>
 
 
 
 
 
 
 
 
 
 
 
 
1371
 
1372
- <p><small><?php _e("Add synonyms here in 'key = value' format. When searching with the OR operator, any search of 'key' will be expanded to include 'value' as well. Using phrases is possible. The key-value pairs work in one direction only, but you can of course repeat the same pair reversed.", "relevanssi"); ?></small></p>
1373
 
1374
- <?php if (function_exists('relevanssi_form_index_synonyms')) relevanssi_form_index_synonyms($index_synonyms); ?>
1375
 
1376
- <input type='submit' name='submit' value='<?php esc_attr_e('Save the options', 'relevanssi'); ?>' class='button' />
 
 
 
 
 
 
 
 
 
1377
 
1378
  <h3 id="stopwords"><?php _e("Stopwords", "relevanssi"); ?></h3>
1379
 
1380
  <?php relevanssi_show_stopwords(); ?>
1381
 
1382
- <?php if (function_exists('relevanssi_form_importexport')) relevanssi_form_importexport($serialized_options); ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1383
 
1384
  </form>
1385
  </div>
1386
 
1387
  <?php
1388
 
1389
- relevanssi_sidebar();
1390
  }
1391
 
1392
  function relevanssi_show_stopwords() {
@@ -1398,26 +2170,31 @@ function relevanssi_show_stopwords() {
1398
  _e("Enter a word here to add it to the list of stopwords. The word will automatically be removed from the index, so re-indexing is not necessary. You can enter many words at the same time, separate words with commas.", 'relevanssi');
1399
  echo "</p>";
1400
 
1401
- ?><label for="addstopword"><p><?php _e("Stopword(s) to add: ", 'relevanssi'); ?><textarea name="addstopword" id="addstopword" rows="2" cols="40"></textarea>
1402
- <input type="submit" value="<?php esc_attr_e("Add", 'relevanssi'); ?>" class='button' /></p></label>
 
 
 
 
 
 
 
 
 
 
1403
  <p><?php
1404
-
1405
  _e("Here's a list of stopwords in the database. Click a word to remove it from stopwords. Removing stopwords won't automatically return them to index, so you need to re-index all posts after removing stopwords to get those words back to index.", 'relevanssi');
 
 
 
 
 
 
 
 
 
1406
 
1407
- if (function_exists("plugins_url")) {
1408
- if (version_compare($wp_version, '2.8dev', '>' )) {
1409
- $src = plugins_url('delete.png', $relevanssi_variables['file']);
1410
- }
1411
- else {
1412
- $src = plugins_url($plugin . '/delete.png');
1413
- }
1414
- }
1415
- else {
1416
- // We can't check, so let's assume something sensible
1417
- $src = '/wp-content/plugins/' . $plugin . '/delete.png';
1418
- }
1419
-
1420
- echo "</p><ul>";
1421
  $results = $wpdb->get_results("SELECT * FROM " . $relevanssi_variables['stopword_table']);
1422
  $exportlist = array();
1423
  foreach ($results as $stopword) {
@@ -1427,17 +2204,183 @@ function relevanssi_show_stopwords() {
1427
  }
1428
  echo "</ul>";
1429
 
 
1430
  ?>
1431
- <p><input type="submit" name="removeallstopwords" value="<?php esc_attr_e('Remove all stopwords', 'relevanssi'); ?>" class='button' /></p>
 
 
 
 
 
 
 
 
 
 
 
 
 
1432
  <?php
1433
 
1434
- $exportlist = htmlspecialchars(implode(", ", $exportlist));
1435
 
1436
- ?>
1437
- <p><?php _e("Here's a list of stopwords you can use to export the stopwords to another blog.", "relevanssi"); ?></p>
1438
 
1439
- <textarea name="stopwords" id="stopwords" rows="2" cols="40"><?php echo $exportlist; ?></textarea>
1440
- <?php
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1441
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1442
  }
1443
- ?>
41
  }
42
 
43
  if (isset($_REQUEST['dowhat'])) {
44
+ if ("add_stopword" === $_REQUEST['dowhat']) {
45
  if (isset($_REQUEST['term'])) {
46
  check_admin_referer(plugin_basename($relevanssi_variables['file']), 'relevanssi_options');
47
  relevanssi_add_stopword($_REQUEST['term']);
66
  }
67
  relevanssi_options_form();
68
 
 
 
 
69
  echo "<div style='clear:both'></div>";
70
 
71
  echo "</div>";
74
  function relevanssi_search_stats() {
75
  $relevanssi_hide_branding = get_option( 'relevanssi_hide_branding' );
76
 
77
+ if ( 'on' === $relevanssi_hide_branding )
78
  $options_txt = __('User Searches', 'relevanssi');
79
  else
80
  $options_txt = __('Relevanssi User Searches', 'relevanssi');
82
  if (isset($_REQUEST['relevanssi_reset']) and current_user_can('manage_options')) {
83
  check_admin_referer('relevanssi_reset_logs', '_relresnonce');
84
  if (isset($_REQUEST['relevanssi_reset_code'])) {
85
+ if ($_REQUEST['relevanssi_reset_code'] === 'reset') {
86
  $verbose = true;
87
  relevanssi_truncate_logs($verbose);
88
  }
96
 
97
  printf("<div class='wrap'><h2>%s</h2>", $options_txt);
98
 
99
+ //echo '<div class="postbox-container">';
 
 
 
100
 
101
+ if ('on' === get_option('relevanssi_log_queries')) {
 
102
  relevanssi_query_log();
103
  }
104
  else {
105
  echo "<p>" . __('Enable query logging to see stats here.', 'relevanssi') . "</p>";
106
  }
107
 
108
+ //echo "</div>";
 
 
 
109
  }
110
 
111
  function relevanssi_truncate_logs($verbose = true) {
127
  }
128
 
129
  function update_relevanssi_options() {
130
+ if (isset($_REQUEST['relevanssi_content_boost'])) {
131
+ $boost = floatval($_REQUEST['relevanssi_content_boost']);
132
+ update_option('relevanssi_content_boost', $boost);
133
+ }
134
+
135
  if (isset($_REQUEST['relevanssi_title_boost'])) {
136
  $boost = floatval($_REQUEST['relevanssi_title_boost']);
137
  update_option('relevanssi_title_boost', $boost);
144
 
145
  if (isset($_REQUEST['relevanssi_min_word_length'])) {
146
  $value = intval($_REQUEST['relevanssi_min_word_length']);
147
+ if ($value === 0) $value = 3;
148
  update_option('relevanssi_min_word_length', $value);
149
  }
150
 
151
+ if ($_REQUEST['tab'] === "indexing") {
152
+ if (!isset($_REQUEST['relevanssi_index_author'])) {
153
+ $_REQUEST['relevanssi_index_author'] = "off";
154
+ }
155
+
156
+ if (!isset($_REQUEST['relevanssi_index_excerpt'])) {
157
+ $_REQUEST['relevanssi_index_excerpt'] = "off";
158
+ }
 
 
 
 
 
 
 
 
 
 
 
159
 
160
+ if (!isset($_REQUEST['relevanssi_expand_shortcodes'])) {
161
+ $_REQUEST['relevanssi_expand_shortcodes'] = "off";
162
+ }
163
  }
164
 
165
+ if ($_REQUEST['tab'] === "searching") {
166
+ if (!isset($_REQUEST['relevanssi_admin_search'])) {
167
+ $_REQUEST['relevanssi_admin_search'] = "off";
168
+ }
169
 
170
+ if (!isset($_REQUEST['relevanssi_throttle'])) {
171
+ $_REQUEST['relevanssi_throttle'] = "off";
172
+ }
173
 
174
+ if (!isset($_REQUEST['relevanssi_disable_or_fallback'])) {
175
+ $_REQUEST['relevanssi_disable_or_fallback'] = "off";
176
+ }
177
 
178
+ if (!isset($_REQUEST['relevanssi_respect_exclude'])) {
179
+ $_REQUEST['relevanssi_respect_exclude'] = "off";
180
+ }
181
+
182
+ if (!isset($_REQUEST['relevanssi_wpml_only_current'])) {
183
+ $_REQUEST['relevanssi_wpml_only_current'] = "off";
184
+ }
185
+
186
+ if (!isset($_REQUEST['relevanssi_polylang_all_languages'])) {
187
+ $_REQUEST['relevanssi_polylang_all_languages'] = "off";
188
+ }
189
  }
190
 
191
+ if ($_REQUEST['tab'] === "logging") {
192
+ if (!isset($_REQUEST['relevanssi_log_queries'])) {
193
+ $_REQUEST['relevanssi_log_queries'] = "off";
194
+ }
195
+
196
+ if (!isset($_REQUEST['relevanssi_log_queries_with_ip'])) {
197
+ $_REQUEST['relevanssi_log_queries_with_ip'] = "off";
198
+ }
199
  }
200
 
201
+ if ($_REQUEST['tab'] === "excerpts") {
202
+ if (!isset($_REQUEST['relevanssi_excerpts'])) {
203
+ $_REQUEST['relevanssi_excerpts'] = "off";
204
+ }
205
 
206
+ if (!isset($_REQUEST['relevanssi_show_matches'])) {
207
+ $_REQUEST['relevanssi_show_matches'] = "off";
208
+ }
209
 
210
+ if (!isset($_REQUEST['relevanssi_hilite_title'])) {
211
+ $_REQUEST['relevanssi_hilite_title'] = "off";
212
+ }
213
+
214
+ if (!isset($_REQUEST['relevanssi_highlight_docs'])) {
215
+ $_REQUEST['relevanssi_highlight_docs'] = "off";
216
+ }
217
+
218
+ if (!isset($_REQUEST['relevanssi_highlight_comments'])) {
219
+ $_REQUEST['relevanssi_highlight_comments'] = "off";
220
+ }
221
 
222
+ if (!isset($_REQUEST['relevanssi_excerpt_custom_fields'])) {
223
+ $_REQUEST['relevanssi_excerpt_custom_fields'] = "off";
224
+ }
225
 
226
+ if (!isset($_REQUEST['relevanssi_word_boundaries'])) {
227
+ $_REQUEST['relevanssi_word_boundaries'] = "off";
228
+ }
229
  }
230
 
231
  if (isset($_REQUEST['relevanssi_excerpt_length'])) {
249
  update_option('relevanssi_show_matches_text', $value);
250
  }
251
 
252
+ $relevanssi_punct = array();
253
+ if (isset($_REQUEST['relevanssi_punct_quotes'])) $relevanssi_punct['quotes'] = $_REQUEST['relevanssi_punct_quotes'];
254
+ if (isset($_REQUEST['relevanssi_punct_hyphens'])) $relevanssi_punct['hyphens'] = $_REQUEST['relevanssi_punct_hyphens'];
255
+ if (isset($_REQUEST['relevanssi_punct_ampersands'])) $relevanssi_punct['ampersands'] = $_REQUEST['relevanssi_punct_ampersands'];
256
+ if (!empty($relevanssi_punct)) update_option('relevanssi_punctuation', $relevanssi_punct);
257
+
258
  $post_type_weights = array();
259
  $index_post_types = array();
260
  $index_taxonomies_list = array();
261
  $index_terms_list = array();
262
  foreach ($_REQUEST as $key => $value) {
263
+ if (substr($key, 0, strlen('relevanssi_weight_')) === 'relevanssi_weight_') {
264
  $type = substr($key, strlen('relevanssi_weight_'));
265
+ $post_type_weights[$type] = $value;
266
  }
267
+ if (substr($key, 0, strlen('relevanssi_index_type_')) === 'relevanssi_index_type_') {
268
  $type = substr($key, strlen('relevanssi_index_type_'));
269
+ if ('on' === $value) $index_post_types[$type] = true;
270
  }
271
+ if (substr($key, 0, strlen('relevanssi_index_taxonomy_')) === 'relevanssi_index_taxonomy_') {
272
  $type = substr($key, strlen('relevanssi_index_taxonomy_'));
273
+ if ('on' === $value) $index_taxonomies_list[$type] = true;
274
  }
275
+ if (substr($key, 0, strlen('relevanssi_index_terms_')) === 'relevanssi_index_terms_') {
276
  $type = substr($key, strlen('relevanssi_index_terms_'));
277
+ if ('on' === $value) $index_terms_list[$type] = true;
278
  }
279
  }
280
 
289
  update_option('relevanssi_index_taxonomies_list', array_keys($index_taxonomies_list));
290
  if (RELEVANSSI_PREMIUM) update_option('relevanssi_index_terms', array_keys($index_terms_list));
291
 
292
+ if (isset($_REQUEST['relevanssi_index_fields_select'])) {
293
+ $fields_option = "";
294
+ if ($_REQUEST['relevanssi_index_fields_select'] === "all") {
295
+ $fields_option = "all";
296
+ }
297
+ if ($_REQUEST['relevanssi_index_fields_select'] === "visible") {
298
+ $fields_option = "visible";
299
+ }
300
+ if ($_REQUEST['relevanssi_index_fields_select'] === "some") {
301
+ if (isset($_REQUEST['relevanssi_index_fields'])) $fields_option = $_REQUEST['relevanssi_index_fields'];
302
+ }
303
+ update_option('relevanssi_index_fields', $fields_option);
304
+ }
305
+
306
+ if (isset($_REQUEST['relevanssi_trim_logs'])) {
307
+ $trim_logs = $_REQUEST['relevanssi_trim_logs'];
308
+ if (!is_numeric($trim_logs)) $trim_logs = 0;
309
+ if ($trim_logs < 0) $trim_logs = 0;
310
+ update_option('relevanssi_trim_logs', $trim_logs);
311
+ }
312
+
313
+ if (isset($_REQUEST['relevanssi_cat'])) {
314
+ if (is_array($_REQUEST['relevanssi_cat'])) {
315
+ $csv_cats = implode(",", $_REQUEST['relevanssi_cat']);
316
+ update_option('relevanssi_cat', $csv_cats);
317
+ }
318
+ } else {
319
+ if (isset($_REQUEST['relevanssi_cat_active'])) {
320
+ update_option('relevanssi_cat', "");
321
+ }
322
+ }
323
+
324
+ if (isset($_REQUEST['relevanssi_excat'])) {
325
+ if (is_array($_REQUEST['relevanssi_excat'])) {
326
+ $csv_cats = implode(",", $_REQUEST['relevanssi_excat']);
327
+ update_option('relevanssi_excat', $csv_cats);
328
+ }
329
+ } else {
330
+ if (isset($_REQUEST['relevanssi_excat_active'])) {
331
+ update_option('relevanssi_excat', "");
332
+ }
333
+ }
334
+
335
+
336
  if (isset($_REQUEST['relevanssi_admin_search'])) update_option('relevanssi_admin_search', $_REQUEST['relevanssi_admin_search']);
337
  if (isset($_REQUEST['relevanssi_excerpts'])) update_option('relevanssi_excerpts', $_REQUEST['relevanssi_excerpts']);
338
  if (isset($_REQUEST['relevanssi_excerpt_type'])) update_option('relevanssi_excerpt_type', $_REQUEST['relevanssi_excerpt_type']);
346
  if (isset($_REQUEST['relevanssi_bg_col'])) update_option('relevanssi_bg_col', $_REQUEST['relevanssi_bg_col']);
347
  if (isset($_REQUEST['relevanssi_css'])) update_option('relevanssi_css', $_REQUEST['relevanssi_css']);
348
  if (isset($_REQUEST['relevanssi_class'])) update_option('relevanssi_class', $_REQUEST['relevanssi_class']);
 
 
 
 
349
  if (isset($_REQUEST['relevanssi_expst'])) update_option('relevanssi_exclude_posts', $_REQUEST['relevanssi_expst']); //added by OdditY
350
  if (isset($_REQUEST['relevanssi_hilite_title'])) update_option('relevanssi_hilite_title', $_REQUEST['relevanssi_hilite_title']); //added by OdditY
351
  if (isset($_REQUEST['relevanssi_index_comments'])) update_option('relevanssi_index_comments', $_REQUEST['relevanssi_index_comments']); //added by OdditY
360
  if (isset($_REQUEST['relevanssi_respect_exclude'])) update_option('relevanssi_respect_exclude', $_REQUEST['relevanssi_respect_exclude']);
361
  if (isset($_REQUEST['relevanssi_throttle'])) update_option('relevanssi_throttle', $_REQUEST['relevanssi_throttle']);
362
  if (isset($_REQUEST['relevanssi_wpml_only_current'])) update_option('relevanssi_wpml_only_current', $_REQUEST['relevanssi_wpml_only_current']);
363
+ if (isset($_REQUEST['relevanssi_polylang_all_languages'])) update_option('relevanssi_polylang_all_languages', $_REQUEST['relevanssi_polylang_all_languages']);
364
  if (isset($_REQUEST['relevanssi_word_boundaries'])) update_option('relevanssi_word_boundaries', $_REQUEST['relevanssi_word_boundaries']);
365
  if (isset($_REQUEST['relevanssi_default_orderby'])) update_option('relevanssi_default_orderby', $_REQUEST['relevanssi_default_orderby']);
366
+ if (isset($_REQUEST['relevanssi_excerpt_custom_fields'])) update_option('relevanssi_excerpt_custom_fields', $_REQUEST['relevanssi_excerpt_custom_fields']);
367
+
368
  if (function_exists('relevanssi_update_premium_options')) {
369
  relevanssi_update_premium_options();
370
  }
372
 
373
  function relevanssi_add_stopword($term) {
374
  global $wpdb;
375
+ if ('' === $term) return; // do not add empty $term to stopwords - added by renaissancehack
376
 
377
  $n = 0;
378
  $s = 0;
402
 
403
  function relevanssi_add_single_stopword($term) {
404
  global $wpdb, $relevanssi_variables;
405
+ if ('' === $term) return;
406
 
407
  $term = stripslashes($term);
408
 
476
  // Clean: $limit is numeric.
477
 
478
  if (!$wp_cli) {
479
+ echo "<h2>" . __("25 most common words in the index", 'relevanssi') . "</h2>";
 
480
  echo "<p>" . __("These words are excellent stopword material. A word that appears in most of the posts in the database is quite pointless when searching. This is also an easy way to create a completely new stopword list, if one isn't available in your language. Click the icon after the word to add the word to the stopword list. The word will also be removed from the index, so rebuilding the index is not necessary.", 'relevanssi') . "</p>";
481
 
482
  ?>
 
 
483
  <input type="hidden" name="dowhat" value="add_stopword" />
484
+ <table class="form-table">
485
+ <tr>
486
+ <th scope="row"><?php _e("Stopword Candidates", "relevanssi"); ?></th>
487
+ <td>
488
  <ul>
489
  <?php
490
 
491
+ $src = plugins_url('delete.png', $relevanssi_variables['file']);
 
 
 
 
 
 
 
 
 
 
 
492
 
493
  foreach ($words as $word) {
494
  $stop = __('Add to stopwords', 'relevanssi');
495
  printf('<li>%s (%d) <input style="padding: 0; margin: 0" type="image" src="%s" alt="%s" name="term" value="%s"/></li>', $word->term, $word->cnt, $src, $stop, $word->term);
496
  }
497
+ ?>
498
+ </ul>
499
+ </td>
500
+ </tr>
501
+ </table>
502
+ <?php
503
 
 
504
  }
505
  else {
506
  // WP CLI gets the list of words
515
 
516
  echo '<h3>' . __("Total Searches", 'relevanssi') . '</h3>';
517
 
518
+ echo "<div style='width: 50%; overflow: auto'>";
519
  relevanssi_total_queries( __("Totals", 'relevanssi') );
520
  echo '</div>';
521
 
524
  echo '<h3>' . __("Common Queries", 'relevanssi') . '</h3>';
525
 
526
  $limit = apply_filters('relevanssi_user_searches_limit', 20);
527
+
528
+ printf("<p>" . __("Here you can see the %d most common user search queries, how many times those queries were made and how many results were found for those queries.", 'relevanssi') . "</p>", $limit);
529
 
530
+ echo "<div style='width: 30%; float: left; margin-right: 2%; overflow: auto'>";
 
 
531
  relevanssi_date_queries(1, __("Today and yesterday", 'relevanssi'));
532
  echo '</div>';
533
 
534
+ echo "<div style='width: 30%; float: left; margin-right: 2%; overflow: auto'>";
535
  relevanssi_date_queries(7, __("Last 7 days", 'relevanssi'));
536
  echo '</div>';
537
 
538
+ echo "<div style='width: 30%; float: left; margin-right: 2%; overflow: auto'>";
539
  relevanssi_date_queries($days30, sprintf(__("Last %d days", 'relevanssi'), $days30));
540
  echo '</div>';
541
 
543
 
544
  echo '<h3>' . __("Unsuccessful Queries", 'relevanssi') . '</h3>';
545
 
546
+ echo "<div style='width: 30%; float: left; margin-right: 2%; overflow: auto'>";
547
  relevanssi_date_queries(1, __("Today and yesterday", 'relevanssi'), 'bad');
548
  echo '</div>';
549
 
550
+ echo "<div style='width: 30%; float: left; margin-right: 2%; overflow: auto'>";
551
  relevanssi_date_queries(7, __("Last 7 days", 'relevanssi'), 'bad');
552
  echo '</div>';
553
 
554
+ echo "<div style='width: 30%; float: left; margin-right: 2%; overflow: auto'>";
555
  relevanssi_date_queries($days30, sprintf(__("Last %d days", 'relevanssi'), $days30), 'bad');
556
  echo '</div>';
557
 
581
  $count[__('Last 30 days', 'relevanssi')] = $wpdb->get_var("SELECT COUNT(id) FROM $log_table WHERE TIMESTAMPDIFF(DAY, time, NOW()) <= 30;");
582
  $count[__('Forever', 'relevanssi')] = $wpdb->get_var("SELECT COUNT(id) FROM $log_table;");
583
 
584
+ echo "<table class='widefat'><thead><tr><th colspan='2'>$title</th></tr></thead><tbody><tr><th>" . __('When', 'relevanssi') . "</th><th style='text-align: center'>" . __('Searches', 'relevanssi') . "</th></tr>";
585
  foreach ($count as $when => $searches) {
586
+ echo "<tr><td>$when</td><td style='text-align: center'>$searches</td></tr>";
587
  }
588
  echo "</tbody></table>";
589
 
595
 
596
  $limit = apply_filters('relevanssi_user_searches_limit', 20);
597
 
598
+ if ($version === 'good')
599
  $queries = $wpdb->get_results("SELECT COUNT(DISTINCT(id)) as cnt, query, hits
600
  FROM $log_table
601
  WHERE TIMESTAMPDIFF(DAY, time, NOW()) <= $d
603
  ORDER BY cnt DESC
604
  LIMIT $limit");
605
 
606
+ if ($version === 'bad')
607
  $queries = $wpdb->get_results("SELECT COUNT(DISTINCT(id)) as cnt, query, hits
608
  FROM $log_table
609
  WHERE TIMESTAMPDIFF(DAY, time, NOW()) <= $d
613
  LIMIT $limit");
614
 
615
  if (count($queries) > 0) {
616
+ echo "<table class='widefat'><thead><tr><th colspan='3'>$title</th></tr></thead><tbody><tr><th>" . __('Query', 'relevanssi') . "</th><th style='text-align: center'>#</th><th style='text-align: center'>" . __('Hits', 'relevanssi') . "</th></tr>";
617
  foreach ($queries as $query) {
618
  $url = get_bloginfo('url');
619
  $u_q = urlencode($query->query);
620
+ echo "<tr><td><a href='$url/?s=$u_q'>" . esc_attr($query->query) . "</a></td><td style='padding: 3px 5px; text-align: center'>" . $query->cnt . "</td><td style='padding: 3px 5px; text-align: center'>" . $query->hits . "</td></tr>";
621
  }
622
  echo "</tbody></table>";
623
  }
631
  wp_enqueue_script('dashboard');
632
  wp_print_scripts('dashboard');
633
 
 
 
 
 
634
  $serialize_options = array();
635
 
636
+ $content_boost = get_option('relevanssi_content_boost');
637
+ $serialize_options['relevanssi_content_boost'] = $content_boost;
638
  $title_boost = get_option('relevanssi_title_boost');
639
  $serialize_options['relevanssi_title_boost'] = $title_boost;
640
  $comment_boost = get_option('relevanssi_comment_boost');
641
  $serialize_options['relevanssi_comment_boost'] = $comment_boost;
642
  $admin_search = get_option('relevanssi_admin_search');
643
  $serialize_options['relevanssi_admin_search'] = $admin_search;
644
+ if ('on' === $admin_search) {
645
  $admin_search = 'checked="checked"';
646
  }
647
  else {
653
 
654
  $excerpts = get_option('relevanssi_excerpts');
655
  $serialize_options['relevanssi_excerpts'] = $excerpts;
656
+ if ('on' === $excerpts) {
657
  $excerpts = 'checked="checked"';
658
  }
659
  else {
677
  $excerpt_allowable_tags = get_option('relevanssi_excerpt_allowable_tags');
678
  $serialize_options['relevanssi_excerpt_allowable_tags'] = $excerpt_allowable_tags;
679
 
680
+ $excerpt_custom_fields = ('on' === get_option('relevanssi_excerpt_custom_fields') ? 'checked="checked"' : '');
681
+ $serialize_options['relevanssi_excerpt_custom_fields'] = get_option('relevanssi_excerpt_custom_fields');
682
+
683
  $log_queries = get_option('relevanssi_log_queries');
684
  $serialize_options['relevanssi_log_queries'] = $log_queries;
685
+ if ('on' === $log_queries) {
686
  $log_queries = 'checked="checked"';
687
  }
688
  else {
691
 
692
  $log_queries_with_ip = get_option('relevanssi_log_queries_with_ip');
693
  $serialize_options['relevanssi_log_queries_with_ip'] = $log_queries_with_ip;
694
+ if ('on' === $log_queries_with_ip) {
695
  $log_queries_with_ip = 'checked="checked"';
696
  }
697
  else {
698
  $log_queries_with_ip = '';
699
  }
700
 
701
+ $trim_logs = get_option('relevanssi_trim_logs');
702
+ $serialize_options['relevanssi_trim_logs'] = $trim_logs;
703
+
704
  $hide_branding = get_option('relevanssi_hide_branding');
705
  $serialize_options['relevanssi_hide_branding'] = $hide_branding;
706
+ if ('on' === $hide_branding) {
707
  $hide_branding = 'checked="checked"';
708
  }
709
  else {
720
  $highlight_bgcol = "";
721
  $highlight_style = "";
722
  $highlight_class = "";
723
+ $txt_col_display = "class='screen-reader-text'";
724
+ $bg_col_display = "class='screen-reader-text'";
725
+ $css_display = "class='screen-reader-text'";
726
+ $class_display = "class='screen-reader-text'";
727
  switch ($highlight) {
728
  case "no":
729
  $highlight_none = 'selected="selected"';
739
  break;
740
  case "col":
741
  $highlight_col = 'selected="selected"';
742
+ $txt_col_display = '';
743
  break;
744
  case "bgcol":
745
  $highlight_bgcol = 'selected="selected"';
746
+ $bg_col_display = '';
747
  break;
748
  case "css":
749
  $highlight_style = 'selected="selected"';
750
+ $css_display = '';
751
  break;
752
  case "class":
753
  $highlight_class = 'selected="selected"';
754
+ $class_display = '';
755
  break;
756
  }
757
 
758
  $index_fields = get_option('relevanssi_index_fields');
759
  $serialize_options['relevanssi_index_fields'] = $index_fields;
760
 
761
+ $fields_select_all = "";
762
+ $fields_select_none = "";
763
+ $fields_select_some = "selected='selected'";
764
+ $fields_select_visible = "";
765
+ $original_index_fields = $index_fields;
766
+
767
+ if (empty($index_fields)) {
768
+ $fields_select_none = "selected='selected'";
769
+ $fields_select_some = "";
770
+ }
771
+ if ($index_fields === "all") {
772
+ $fields_select_all = "selected='selected'";
773
+ $fields_select_some = "";
774
+ $index_fields = "";
775
+ }
776
+ if ($index_fields === "visible") {
777
+ $fields_select_visible = "selected='selected'";
778
+ $fields_select_some = "";
779
+ $index_fields = "";
780
+ }
781
+
782
  $txt_col = get_option('relevanssi_txt_col');
783
+ if (substr($txt_col, 0, 1) != "#") $txt_col = "#" . $txt_col;
784
+ $txt_col = sanitize_hex_color($txt_col);
785
  $serialize_options['relevanssi_txt_col'] = $txt_col;
786
+
787
  $bg_col = get_option('relevanssi_bg_col');
788
+ if (substr($bg_col, 0, 1) != "#") $bg_col = "#" . $bg_col;
789
+ $bg_col = sanitize_hex_color($bg_col);
790
  $serialize_options['relevanssi_bg_col'] = $bg_col;
791
+
792
  $css = get_option('relevanssi_css');
793
  $serialize_options['relevanssi_css'] = $css;
794
  $class = get_option('relevanssi_class');
798
  $serialize_options['relevanssi_cat'] = $cat;
799
  $excat = get_option('relevanssi_excat');
800
  $serialize_options['relevanssi_excat'] = $excat;
 
 
801
 
802
  $fuzzy = get_option('relevanssi_fuzzy');
803
  $serialize_options['relevanssi_fuzzy'] = $fuzzy;
804
+ $fuzzy_sometimes = ('sometimes' === $fuzzy ? 'selected="selected"' : '');
805
+ $fuzzy_always = ('always' === $fuzzy ? 'selected="selected"' : '');
806
+ $fuzzy_never = ('never' === $fuzzy ? 'selected="selected"' : '');
807
 
808
  $implicit = get_option('relevanssi_implicit_operator');
809
  $serialize_options['relevanssi_implicit_operator'] = $implicit;
810
+ $implicit_and = ('AND' === $implicit ? 'selected="selected"' : '');
811
+ $implicit_or = ('OR' === $implicit ? 'selected="selected"' : '');
812
+ $orfallback_visibility = "class='screen-reader-text'";
813
+ if ($implicit === "AND") $orfallback_visibility = "";
814
 
815
+ $expand_shortcodes = ('on' === get_option('relevanssi_expand_shortcodes') ? 'checked="checked"' : '');
816
  $serialize_options['relevanssi_expand_shortcodes'] = get_option('relevanssi_expand_shortcodes');
817
+ $disablefallback = ('on' === get_option('relevanssi_disable_or_fallback') ? 'checked="checked"' : '');
818
  $serialize_options['relevanssi_disable_or_fallback'] = get_option('relevanssi_disable_or_fallback');
819
 
820
+ $throttle = ('on' === get_option('relevanssi_throttle') ? 'checked="checked"' : '');
821
  $serialize_options['relevanssi_throttle'] = get_option('relevanssi_throttle');
822
 
823
  $throttle_limit = get_option('relevanssi_throttle_limit');
833
  //Added by OdditY ->
834
  $expst = get_option('relevanssi_exclude_posts');
835
  $serialize_options['relevanssi_exclude_posts'] = $expst;
836
+ $hititle = ('on' === get_option('relevanssi_hilite_title') ? 'checked="checked"' : '');
837
  $serialize_options['relevanssi_hilite_title'] = get_option('relevanssi_hilite_title');
838
  $incom_type = get_option('relevanssi_index_comments');
839
  $serialize_options['relevanssi_index_comments'] = $incom_type;
852
  break;
853
  }//added by OdditY END <-
854
 
855
+ $highlight_docs = ('on' === get_option('relevanssi_highlight_docs') ? 'checked="checked"' : '');
856
+ $highlight_coms = ('on' === get_option('relevanssi_highlight_comments') ? 'checked="checked"' : '');
857
  $serialize_options['relevanssi_highlight_docs'] = get_option('relevanssi_highlight_docs');
858
  $serialize_options['relevanssi_highlight_comments'] = get_option('relevanssi_highlight_comments');
859
 
860
+ $respect_exclude = ('on' === get_option('relevanssi_respect_exclude') ? 'checked="checked"' : '');
861
  $serialize_options['relevanssi_respect_exclude'] = get_option('relevanssi_respect_exclude');
862
 
863
  $min_word_length = get_option('relevanssi_min_word_length');
864
  $serialize_options['relevanssi_min_word_length'] = $min_word_length;
865
 
866
+ $index_author = ('on' === get_option('relevanssi_index_author') ? 'checked="checked"' : '');
867
  $serialize_options['relevanssi_index_author'] = get_option('relevanssi_index_author');
868
+ $index_excerpt = ('on' === get_option('relevanssi_index_excerpt') ? 'checked="checked"' : '');
869
  $serialize_options['relevanssi_index_excerpt'] = get_option('relevanssi_index_excerpt');
870
 
871
+ $show_matches = ('on' === get_option('relevanssi_show_matches') ? 'checked="checked"' : '');
872
  $serialize_options['relevanssi_show_matches'] = get_option('relevanssi_show_matches');
873
  $show_matches_text = stripslashes(get_option('relevanssi_show_matches_text'));
874
  $serialize_options['relevanssi_show_matches_text'] = get_option('relevanssi_show_matches_text');
875
 
876
+ $wpml_only_current = ('on' === get_option('relevanssi_wpml_only_current') ? 'checked="checked"' : '');
877
  $serialize_options['relevanssi_wpml_only_current'] = get_option('relevanssi_wpml_only_current');
878
 
879
+ $polylang_allow_all = ('on' === get_option('relevanssi_polylang_all_languages') ? 'checked="checked"' : '');
880
+ $serialize_options['relevanssi_polylang_all_languages'] = get_option('relevanssi_polylang_all_languages');
881
+
882
+ $word_boundaries = ('on' === get_option('relevanssi_word_boundaries') ? 'checked="checked"' : '');
883
  $serialize_options['relevanssi_word_boundaries'] = get_option('relevanssi_word_boundaries');
884
 
885
  $post_type_weights = get_option('relevanssi_post_type_weights');
895
 
896
  $orderby = get_option('relevanssi_default_orderby');
897
  $serialize_options['relevanssi_default_orderby'] = $orderby;
898
+ $orderby_relevance = ('relevance' === $orderby ? 'selected="selected"' : '');
899
+ $orderby_date = ('post_date' === $orderby ? 'selected="selected"' : '');
900
+
901
+ $punctuation = get_option('relevanssi_punctuation');
902
+ $serialize_options['relevanssi_punctuation'] = $punctuation;
903
+ $punct_quotes_remove = "";
904
+ $punct_quotes_replace = "";
905
+ $punct_ampersands_keep = "";
906
+ $punct_ampersands_remove = "";
907
+ $punct_ampersands_replace = "";
908
+ $punct_hyphens_keep = "";
909
+ $punct_hyphens_remove = "";
910
+ $punct_hyphens_replace = "";
911
+ if (isset($punctuation['quotes'])) {
912
+ $quotes = $punctuation['quotes'];
913
+ switch ($quotes) {
914
+ case 'replace':
915
+ $punct_quotes_remove = "";
916
+ $punct_quotes_replace = 'selected="selected"';
917
+ break;
918
+ case 'remove':
919
+ $punct_quotes_remove = 'selected="selected"';
920
+ $punct_quotes_replace = "";
921
+ break;
922
+ default:
923
+ $punct_quotes_remove = 'selected="selected"';
924
+ $punct_quotes_replace = "";
925
+ }
926
+ }
927
+ if (isset($punctuation['ampersands'])) {
928
+ $ampersands = $punctuation['ampersands'];
929
+ switch ($ampersands) {
930
+ case 'replace':
931
+ $punct_ampersands_keep = "";
932
+ $punct_ampersands_remove = "";
933
+ $punct_ampersands_replace = 'selected="selected"';
934
+ break;
935
+ case 'remove':
936
+ $punct_ampersands_keep = "";
937
+ $punct_ampersands_remove = 'selected="selected"';
938
+ $punct_ampersands_replace = "";
939
+ break;
940
+ case 'keep':
941
+ $punct_ampersands_keep = 'selected="selected"';
942
+ $punct_ampersands_remove = "";
943
+ $punct_ampersands_replace = "";
944
+ break;
945
+ default:
946
+ $punct_ampersands_keep = "";
947
+ $punct_ampersands_remove = "";
948
+ $punct_ampersands_replace = 'selected="selected"';
949
+ }
950
+ }
951
+ if (isset($punctuation['hyphens'])) {
952
+ $hyphens = $punctuation['hyphens'];
953
+ switch ($hyphens) {
954
+ case 'replace':
955
+ $punct_hyphens_keep = "";
956
+ $punct_hyphens_remove = "";
957
+ $punct_hyphens_replace = 'selected="selected"';
958
+ break;
959
+ case 'remove':
960
+ $punct_hyphens_keep = "";
961
+ $punct_hyphens_remove = 'selected="selected"';
962
+ $punct_hyphens_replace = "";
963
+ break;
964
+ case 'keep':
965
+ $punct_hyphens_keep = 'selected="selected"';
966
+ $punct_hyphens_remove = "";
967
+ $punct_hyphens_replace = "";
968
+ break;
969
+ default:
970
+ $punct_hyphens_keep = "";
971
+ $punct_hyphens_remove = "";
972
+ $punct_hyphens_replace = 'selected="selected"';
973
+ }
974
+ }
975
  if (RELEVANSSI_PREMIUM) {
976
  $api_key = get_option('relevanssi_api_key');
977
  $serialize_options['relevanssi_api_key'] = $api_key;
981
 
982
  $intlinks = get_option('relevanssi_internal_links');
983
  $serialize_options['relevanssi_internal_links'] = $intlinks;
984
+ $intlinks_strip = ('strip' === $intlinks ? 'selected="selected"' : '');
985
+ $intlinks_nostrip = ('nostrip' === $intlinks ? 'selected="selected"' : '');
986
+ $intlinks_noindex = ('noindex' === $intlinks ? 'selected="selected"' : '');
987
 
988
+ $highlight_docs_ext = ('on' === get_option('relevanssi_highlight_docs_external') ? 'checked="checked"' : '');
989
  $serialize_options['relevanssi_highlight_docs_external'] = get_option('relevanssi_highlight_docs_external');
990
 
991
  $thousand_separator = get_option('relevanssi_thousand_separator');
994
  $disable_shortcodes = get_option('relevanssi_disable_shortcodes');
995
  $serialize_options['relevanssi_disable_shortcodes'] = $disable_shortcodes;
996
 
997
+ $index_users = ('on' === get_option('relevanssi_index_users') ? 'checked="checked"' : '');
998
  $serialize_options['relevanssi_index_users'] = get_option('relevanssi_index_users');
999
 
1000
  $index_user_fields = get_option('relevanssi_index_user_fields');
1001
  $serialize_options['relevanssi_index_user_fields'] = $index_user_fields;
1002
 
1003
+ $index_subscribers = ('on' === get_option('relevanssi_index_subscribers') ? 'checked="checked"' : '');
1004
  $serialize_options['relevanssi_index_subscribers'] = get_option('relevanssi_index_subscribers');
1005
 
1006
+ $index_synonyms = ('on' === get_option('relevanssi_index_synonyms') ? 'checked="checked"' : '');
1007
  $serialize_options['relevanssi_index_synonyms'] = get_option('relevanssi_index_synonyms');
1008
 
1009
+ $index_taxonomies = ('on' === get_option('relevanssi_index_taxonomies') ? 'checked="checked"' : '');
1010
  $serialize_options['relevanssi_index_taxonomies'] = get_option('relevanssi_index_taxonomies');
1011
 
1012
  $index_terms = get_option('relevanssi_index_terms');
1013
  if (empty($index_terms)) $index_terms = array();
1014
  $serialize_options['relevanssi_index_terms'] = $index_terms;
1015
 
1016
+ $hide_post_controls = ('on' === get_option('relevanssi_hide_post_controls') ? 'checked="checked"' : '');
1017
  $serialize_options['relevanssi_hide_post_controls'] = get_option('relevanssi_hide_post_controls');
1018
 
1019
  $recency_bonus_array = get_option('relevanssi_recency_bonus');
1024
  $mysql_columns = get_option('relevanssi_mysql_columns');
1025
  $serialize_options['relevanssi_mysql_columns'] = $mysql_columns;
1026
 
1027
+ $index_pdf_parent = ('on' === get_option('relevanssi_index_pdf_parent') ? 'checked="checked"' : '');
1028
+ $serialize_options['relevanssi_index_pdf_parent'] = get_option('relevanssi_index_pdf_parent');
1029
+
1030
+ $serialize_options['relevanssi_send_pdf_files'] = get_option('relevanssi_send_pdf_files');
1031
+ $serialize_options['relevanssi_link_pdf_files'] = get_option('relevanssi_link_pdf_files');
1032
+
1033
  $serialized_options = json_encode($serialize_options);
1034
  }
1035
 
1036
+ echo "<div class='postbox-container'>";
1037
 
1038
+ $this_page = "?page=relevanssi/relevanssi.php";
1039
  if (RELEVANSSI_PREMIUM) {
1040
  echo "<form method='post' action='options-general.php?page=relevanssi-premium/relevanssi.php'>";
1041
+ $this_page = "?page=relevanssi-premium/relevanssi.php";
1042
  }
1043
  else {
1044
  echo "<form method='post'>";
1045
  }
1046
 
1047
+ wp_nonce_field(plugin_basename($relevanssi_variables['file']), 'relevanssi_options');
1048
+
1049
+ $display_save_button = true;
1050
+
1051
+ $active_tab = "overview";
1052
+ if( isset( $_REQUEST[ 'tab' ] ) ) {
1053
+ $active_tab = $_REQUEST[ 'tab' ];
1054
+ } // end if
1055
+
1056
+ if ($active_tab === "stopwords") $display_save_button = false;
1057
+
1058
+ echo "<input type='hidden' name='tab' value='$active_tab' />";
1059
+
1060
+ ?>
1061
+
1062
+ <h2 class="nav-tab-wrapper">
1063
+ <a href="<?php echo $this_page; ?>&amp;tab=overview" class="nav-tab <?php echo $active_tab === 'overview' ? 'nav-tab-active' : ''; ?>"><?php _e('Overview', 'relevanssi'); ?></a>
1064
+ <a href="<?php echo $this_page; ?>&amp;tab=indexing" class="nav-tab <?php echo $active_tab === 'indexing' ? 'nav-tab-active' : ''; ?>"><?php _e('Indexing', 'relevanssi'); ?></a>
1065
+ <a href="<?php echo $this_page; ?>&amp;tab=attachments" class="nav-tab <?php echo $active_tab === 'attachments' ? 'nav-tab-active' : ''; ?>"><?php _e('Attachments', 'relevanssi'); ?></a>
1066
+ <a href="<?php echo $this_page; ?>&amp;tab=searching" class="nav-tab <?php echo $active_tab === 'searching' ? 'nav-tab-active' : ''; ?>"><?php _e('Searching', 'relevanssi'); ?></a>
1067
+ <a href="<?php echo $this_page; ?>&amp;tab=logging" class="nav-tab <?php echo $active_tab === 'logging' ? 'nav-tab-active' : ''; ?>"><?php _e('Logging', 'relevanssi'); ?></a>
1068
+ <a href="<?php echo $this_page; ?>&amp;tab=excerpts" class="nav-tab <?php echo $active_tab === 'excerpts' ? 'nav-tab-active' : ''; ?>"><?php _e('Excerpts and highlights', 'relevanssi'); ?></a>
1069
+ <a href="<?php echo $this_page; ?>&amp;tab=synonyms" class="nav-tab <?php echo $active_tab === 'synonyms' ? 'nav-tab-active' : ''; ?>"><?php _e('Synonyms', 'relevanssi'); ?></a>
1070
+ <a href="<?php echo $this_page; ?>&amp;tab=stopwords" class="nav-tab <?php echo $active_tab === 'stopwords' ? 'nav-tab-active' : ''; ?>"><?php _e('Stopwords', 'relevanssi'); ?></a>
1071
+ <?php if (function_exists('relevanssi_form_importexport')) : ?>
1072
+ <a href="<?php echo $this_page; ?>&amp;tab=importexport" class="nav-tab <?php echo $active_tab === 'importexport' ? 'nav-tab-active' : ''; ?>"><?php _e('Import / Export options', 'relevanssi'); ?></a>
1073
+ <?php endif; ?>
1074
+ </h2>
1075
 
1076
+ <?php /*
1077
  <p><a href="#basic"><?php _e("Basic options", "relevanssi"); ?></a> |
1078
  <a href="#weights"><?php _e("Weights", "relevanssi"); ?></a> |
1079
  <a href="#logs"><?php _e("Logs", "relevanssi"); ?></a> |
1092
  }
1093
  ?>
1094
  </p>
1095
+ */ ?>
1096
+
1097
+ <?php
1098
+ if ($active_tab === "overview") :
1099
+ if (!RELEVANSSI_PREMIUM) $display_save_button = false;
1100
+ ?>
1101
 
1102
+ <h2><?php _e("Welcome to Relevanssi!", "relevanssi"); ?></h2>
 
 
 
 
1103
 
1104
+ <table class="form-table">
1105
  <?php
1106
+ if (!is_multisite() && function_exists('relevanssi_form_api_key')) relevanssi_form_api_key($api_key);
 
 
1107
  ?>
 
 
 
 
 
 
 
 
 
 
 
 
1108
  <?php
1109
+ if (function_exists('relevanssi_form_hide_post_controls')) relevanssi_form_hide_post_controls($hide_post_controls);
1110
  ?>
1111
+ <tr>
1112
+ <th scope="row"><?php _e("Getting started", "relevanssi"); ?></th>
1113
+ <td>
1114
+ <p><?php _e("You've already installed Relevanssi. That's a great first step towards good search experience!", "relevanssi"); ?></p>
1115
+ <ol>
1116
+ <?php if (get_option('relevanssi_indexed') !== 'done') : ?>
1117
+ <li><p><?php printf(__("Now, you need an index. Head over to the %s%s%s tab to set up the basic indexing options and to build the index.", "relevanssi"), "<a href='{$this_page}&amp;tab=indexing'>", "Indexing", "</a>"); ?></p>
1118
+ <p><?php _e("You need to check at least the following options:", "relevanssi"); ?><br />
1119
+ – <?php _e("Make sure the post types you want to include in the index are indexed.", "relevanssi"); ?><br />
1120
+ – <?php printf(__("Do you use custom fields to store content you want included? If so, add those too. WooCommerce user? You probably want to include %s.", "relevanssi"), "<code>_sku</code>"); ?></p>
1121
+ <p><?php _e("Then just save the options and build the index. First time you have to do it manually, but after that, it's fully automatic: all changes are reflected in the index without reindexing. (That said, it's a good idea to rebuild the index once a year.)", "relevanssi"); ?></p>
1122
+ </li>
1123
+ <?php else : ?>
1124
+ <li><p><?php _e("Great, you already have an index!", "relevanssi"); ?></p></li>
1125
+ <?php endif; ?>
1126
+ <li>
1127
+ <p><?php printf(__("On the %s%s%s tab, choose whether you want the default operator to be AND (less results, but more precise) or OR (more results, less precise).", "relevanssi"), "<a href='{$this_page}&amp;tab=searching'>", "Searching", "</a>"); ?></p>
1128
+ </li>
1129
+ <li>
1130
+ <p><?php printf(__("The next step is the %s%s%s tab, where you can enable the custom excerpts that show the relevant part of post in the search results pages.", "relevanssi"), "<a href='{$this_page}&amp;tab=excerpts'>", "Excerpts", "</a>"); ?></p>
1131
+ <p><?php _e("There are couple of options related to that, so if you want highlighting in the results, you can adjust the styles for that to suit the look of your site.", "relevanssi"); ?></p>
1132
+ </li>
1133
+ <li>
1134
+ <p><?php _e("That's about it! Now you should have Relevanssi up and running. The rest of the options is mostly fine-tuning.", "relevanssi"); ?></p>
1135
+ </li>
1136
+ </ol>
1137
+ <p><?php _e("Relevanssi doesn't have a separate search widget. Instead, Relevanssi uses the default search widget. Any standard search form will do!", "relevanssi"); ?></p>
1138
+ </td>
1139
+ </tr>
1140
+ <tr>
1141
+ <th scope="row"><?php _e("For more information", "relevanssi"); ?></th>
1142
+ <td>
1143
+ <p><?php _e("Relevanssi uses the WordPress contextual help. Click 'Help' on the top right corner for more information on many Relevanssi topics.", "relevanssi"); ?></p>
1144
+ <p><?php printf(__("%sRelevanssi knowledge base%s has lots of information about advanced Relevanssi use, including plenty of code samples.", "relevanssi"), "<a href='https://www.relevanssi.com/knowledge-base/'>", "</a>"); ?></p>
1145
+ </td>
1146
+ </tr>
1147
+ <tr>
1148
+ <th scope="row">
1149
+ <?php _e('Relevanssi on Facebook', 'relevanssi');?>
1150
+ </th>
1151
+ <td>
1152
+ <p><a href="http://www.facebook.com/relevanssi"><?php _e('Check out the Relevanssi page on Facebook for news and updates about Relevanssi.', 'relevanssi'); ?></a></p>
1153
+ </td>
1154
+ </tr>
1155
+ <?php if (!RELEVANSSI_PREMIUM) : ?>
1156
+ <tr>
1157
+ <th scope="row">
1158
+ <?php _e('Buy Relevanssi Premium', 'relevanssi');?>
1159
+ </th>
1160
+ <td>
1161
+ <p><a href="https://www.relevanssi.com/buy-premium"><?php _e('Buy Relevanssi Premium now', 'relevanssi'); ?></a> – <?php printf(__("use coupon code %s for 20%% discount (valid at least until the end of %s)", "relevanssi"), "<strong>FREE2018</strong>", "2018"); ?></p>
1162
+ <p><?php _e("Here are some improvements Relevanssi Premium offers:", "relevanssi"); ?></p>
1163
+ <ul class="relevanssi_ul">
1164
+ <li><?php _e("PDF content indexing", "relevanssi"); ?></li>
1165
+ <li><?php _e("Index and search user profile pages", "relevanssi"); ?></li>
1166
+ <li><?php _e("Index and search taxonomy term pages", "relevanssi"); ?></li>
1167
+ <li><?php _e("Multisite searches across many subsites", "relevanssi"); ?></li>
1168
+ <li><?php _e("WP CLI commands", "relevanssi"); ?></li>
1169
+ <li><?php _e("Adjust weights separately for each post type and taxonomy", "relevanssi"); ?></li>
1170
+ <li><?php _e("Internal link anchors can be search terms for the target posts", "relevanssi"); ?></li>
1171
+ <li><?php _e("Index and search any columns in the wp_posts database", "relevanssi"); ?></li>
1172
+ <li><?php _e("Hide Relevanssi branding from the User Searches page on a client installation", "relevanssi"); ?></li>
1173
+ </ul>
1174
+ </td>
1175
+ </tr>
1176
+ <?php endif; ?>
1177
+ </table>
1178
 
1179
+ <?php endif; // active tab: basic ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1180
 
1181
+ <?php if ($active_tab === "logging") : ?>
 
 
1182
 
1183
+ <table class="form-table">
1184
+ <tr>
1185
+ <th scope="row">
1186
+ <label for='relevanssi_log_queries'><?php _e("Enable logs", "relevanssi"); ?></label>
1187
+ </th>
1188
+ <td>
1189
+ <fieldset>
1190
+ <legend class="screen-reader-text"><?php _e("Keep a log of user queries.", "relevanssi"); ?></legend>
1191
+ <label for='relevanssi_log_queries'>
1192
+ <input type='checkbox' name='relevanssi_log_queries' id='relevanssi_log_queries' <?php echo $log_queries ?> />
1193
+ <?php _e("Keep a log of user queries.", "relevanssi"); ?>
1194
+ </label>
1195
+ </fieldset>
1196
+ <p class="description"><?php global $wpdb; printf(__("If enabled, Relevanssi will log user queries. The logs can be examined under '%s' on the Dashboard admin menu and are stored in the %s database table.", "relevanssi"), __('User searches', 'relevanssi'), $wpdb->prefix . 'relevanssi_log'); ?></p>
1197
+ </td>
1198
+ </tr>
1199
+ <tr>
1200
+ <th scope="row">
1201
+ <label for='relevanssi_log_queries_with_ip'><?php _e("Log user IP", "relevanssi"); ?></label>
1202
+ </th>
1203
+ <td>
1204
+ <fieldset>
1205
+ <legend class="screen-reader-text"><?php _e("Log the user's IP with the queries.", "relevanssi"); ?></legend>
1206
+ <label for='relevanssi_log_queries_with_ip'>
1207
+ <input type='checkbox' name='relevanssi_log_queries_with_ip' id='relevanssi_log_queries_with_ip' <?php echo $log_queries_with_ip ?> />
1208
+ <?php _e("Log the user's IP with the queries.", "relevanssi"); ?>
1209
+ </label>
1210
+ </fieldset>
1211
+ <p class="description"><?php _e("If enabled, Relevanssi will log user's IP adress with the queries.", "relevanssi"); ?></p>
1212
+ </td>
1213
+ </tr>
1214
+ <tr>
1215
+ <th scope="row">
1216
+ <label for='relevanssi_omit_from_logs'><?php _e("Exclude users", "relevanssi"); ?></label>
1217
+ </th>
1218
+ <td>
1219
+ <input type='text' name='relevanssi_omit_from_logs' id='relevanssi_omit_from_logs' size='60' value='<?php echo esc_attr($omit_from_logs); ?>' />
1220
+ <p class="description"><?php _e("Comma-separated list of numeric user IDs or user login names that will not be logged.", "relevanssi"); ?></p>
1221
+ </td>
1222
+ </tr>
1223
+ <?php if (function_exists('relevanssi_form_hide_branding')) relevanssi_form_hide_branding($hide_branding); ?>
1224
+ <tr>
1225
+ <th scope="row">
1226
+ <label for='relevanssi_trim_logs'><?php _e("Trim logs", "relevanssi"); ?></label>
1227
+ </th>
1228
+ <td>
1229
+ <input type='number' name='relevanssi_trim_logs' id='relevanssi_trim_logs' value='<?php echo $trim_logs; ?>' />
1230
+ <?php _e("How many days of logs to keep in the database.", "relevanssi"); ?>
1231
+ <p class="description"><?php printf(__(" Set to %d for no trimming.", "relevanssi"), 0); ?></p>
1232
+ </td>
1233
+ </tr>
1234
 
1235
+ </table>
1236
 
1237
+ <?php endif; // active tag: logging ?>
 
 
1238
 
1239
+ <?php if ($active_tab === "searching") :
1240
+ $docs_count = $wpdb->get_var("SELECT COUNT(DISTINCT doc) FROM " . $relevanssi_variables['relevanssi_table'] . " WHERE doc != -1");
1241
+ ?>
1242
 
1243
+ <table class="form-table">
1244
+ <tr>
1245
+ <th scope="row">
1246
+ <label for='relevanssi_implicit_operator'><?php _e("Default operator", "relevanssi"); ?></label>
1247
+ </th>
1248
+ <td>
1249
+ <select name='relevanssi_implicit_operator' id='relevanssi_implicit_operator'>
1250
+ <option value='AND' <?php echo $implicit_and ?>><?php _e("AND - require all terms", "relevanssi"); ?></option>
1251
+ <option value='OR' <?php echo $implicit_or ?>><?php _e("OR - any term present is enough", "relevanssi"); ?></option>
1252
+ </select>
1253
+ <p class="description"><?php _e("This setting determines the default operator for the search.", "relevanssi"); ?></p>
1254
+ <?php if (RELEVANSSI_PREMIUM) echo "<p class='description'>" . sprintf(__("You can override this setting with the %s query parameter, like this: %s", "relevanssi"), "<code>operator</code>", "http://www.example.com/?s=term&amp;operator=or") . "</p>"; ?>
1255
+ </td>
1256
+ </tr>
1257
+ <tr id="orfallback" <?php echo $orfallback_visibility; ?>>
1258
+ <th scope="row">
1259
+ <label for='relevanssi_disable_or_fallback'><?php _e("Fallback to OR", "relevanssi"); ?></label>
1260
+ </th>
1261
+ <td>
1262
+ <fieldset>
1263
+ <legend class="screen-reader-text"><?php _e("Disable the OR fallback.", "relevanssi"); ?></legend>
1264
+ <label for='relevanssi_disable_or_fallback'>
1265
+ <input type='checkbox' name='relevanssi_disable_or_fallback' id='relevanssi_disable_or_fallback' <?php echo $disablefallback ?> />
1266
+ <?php _e("Disable the OR fallback.", "relevanssi"); ?>
1267
+ </label>
1268
+ </fieldset>
1269
+ <p class="description"><?php _e("By default, if AND search fails to find any results, Relevanssi will switch the operator to OR and run the search again. You can prevent that by checking this option.", "relevanssi"); ?></p>
1270
+ </td>
1271
+ </tr>
1272
+ <tr>
1273
+ <th scope="row">
1274
+ <label for='relevanssi_default_orderby'><?php _e("Default order", "relevanssi"); ?></label>
1275
+ </th>
1276
+ <td>
1277
+ <select name='relevanssi_default_orderby' id='relevanssi_default_orderby'>
1278
+ <option value='relevance' <?php echo $orderby_relevance ?>><?php _e("Relevance (highly recommended)", "relevanssi"); ?></option>
1279
+ <option value='post_date' <?php echo $orderby_date ?>><?php _e("Post date", "relevanssi"); ?></option>
1280
+ </select>
1281
+ <p class="description"><?php printf(__("If you want to override this or use multi-layered ordering (eg. first order by relevance, but sort ties by post title), you can use the %s query variable. See Help for more information.", "relevanssi"), "<code>orderby</code>"); ?></p>
1282
+ <?php if (RELEVANSSI_PREMIUM) : ?>
1283
+ <p class="description"><?php _e(" If you want date-based results, see the recent post bonus in the Weights section.", "relevanssi"); ?></p>
1284
+ <?php endif; ?>
1285
+ </td>
1286
+ </tr>
1287
+ <tr>
1288
+ <th scope="row">
1289
+ <label for='relevanssi_fuzzy'><?php _e("Keyword matching", "relevanssi"); ?></label>
1290
+ </th>
1291
+ <td>
1292
+ <select name='relevanssi_fuzzy' id='relevanssi_fuzzy'>
1293
+ <option value='never' <?php echo $fuzzy_never ?>><?php _e("Whole words", "relevanssi"); ?></option>
1294
+ <option value='always' <?php echo $fuzzy_always ?>><?php _e("Partial words", "relevanssi"); ?></option>
1295
+ <option value='sometimes' <?php echo $fuzzy_sometimes ?>><?php _e("Partial words if no hits for whole words", "relevanssi"); ?></option>
1296
+ </select>
1297
+ <p class="description"><?php _e("Whole words means Relevanssi only finds posts that include the whole search term.", "relevanssi"); ?></p>
1298
+ <p class="description"><?php _e("Partial words also includes cases where the word in the index begins or ends with the search term (searching for 'ana' will match 'anaconda' or 'banana', but not 'banal'). See Help, if you want to make Relevanssi match also inside words.", "relevanssi"); ?></p>
1299
+ </td>
1300
+ </tr>
1301
+ <tr>
1302
+ <th scope="row">
1303
+ <?php _e("Weights", "relevanssi"); ?>
1304
+ </th>
1305
+ <td>
1306
+ <p class="description"><?php _e("All the weights in the table are multipliers. To increase the weight of an element, use a higher number. To make an element less significant, use a number lower than 1.", "relevanssi"); ?></p>
1307
+ <table class="relevanssi-weights-table">
1308
+ <thead>
1309
+ <tr>
1310
+ <th><?php _e('Element', 'relevanssi'); ?></th>
1311
+ <th class="col-2"><?php _e('Weight', 'relevanssi'); ?></th>
1312
+ </tr>
1313
+ </thead>
1314
+ <tr>
1315
+ <td>
1316
+ <?php _e('Post content', 'relevanssi'); ?>
1317
+ </td>
1318
+ <td class="col-2">
1319
+ <input type='text' name='relevanssi_content_boost' id='relevanssi_content_boost' size='4' value='<?php echo $content_boost ?>' />
1320
+ </td>
1321
+ </tr>
1322
+ <tr>
1323
+ <td>
1324
+ <?php _e('Post titles', 'relevanssi'); ?>
1325
+ </td>
1326
+ <td class="col-2">
1327
+ <input type='text' name='relevanssi_title_boost' id='relevanssi_title_boost' size='4' value='<?php echo $title_boost ?>' />
1328
+ </td>
1329
+ </tr>
1330
+ <?php if (function_exists('relevanssi_form_link_weight')) relevanssi_form_link_weight($link_boost); ?>
1331
+ <tr>
1332
+ <td>
1333
+ <?php _e('Comment text', 'relevanssi'); ?>
1334
+ </td>
1335
+ <td class="col-2">
1336
+ <input type='text' name='relevanssi_comment_boost' id='relevanssi_comment_boost' size='4' value='<?php echo $comment_boost ?>' />
1337
+ </td>
1338
+ </tr>
1339
+ <?php
1340
+ if (function_exists('relevanssi_form_post_type_weights')) relevanssi_form_post_type_weights($post_type_weights);
1341
+ if (function_exists('relevanssi_form_taxonomy_weights')) relevanssi_form_taxonomy_weights($post_type_weights);
1342
+ if (function_exists('relevanssi_form_tag_weight')) relevanssi_form_tag_weight($post_type_weights);
1343
+ if (function_exists('relevanssi_form_recency_weight')) relevanssi_form_recency_weight($recency_bonus);
1344
+ ?>
1345
+ </table>
1346
+ </td>
1347
+ </tr>
1348
+ <?php if (function_exists('relevanssi_form_recency_cutoff')) relevanssi_form_recency_cutoff($recency_bonus_days); ?>
1349
 
1350
+ <?php if (function_exists('icl_object_id') && !function_exists('pll_get_post')) : ?>
 
 
 
 
 
 
 
1351
  <tr>
1352
+ <th scope="row">
1353
+ <label for='relevanssi_wpml_only_current'><?php _e("WPML", "relevanssi"); ?></label>
1354
+ </th>
1355
  <td>
1356
+ <fieldset>
1357
+ <legend class="screen-reader-text"><?php _e("Limit results to current language.", "relevanssi"); ?></legend>
1358
+ <label for='relevanssi_wpml_only_current'>
1359
+ <input type='checkbox' name='relevanssi_wpml_only_current' id='relevanssi_wpml_only_current' <?php echo $wpml_only_current ?> />
1360
+ <?php _e("Limit results to current language.", "relevanssi"); ?>
1361
+ </label>
1362
+ </fieldset>
1363
+ <p class="description"><?php _e("Enabling this option will restrict the results to the currently active language. If the option is disabled, results will include posts in all languages.", "relevanssi"); ?></p>
1364
  </td>
1365
+ </tr>
1366
+ <?php endif; ?>
1367
+ <?php if (function_exists('pll_get_post')) : ?>
1368
+ <tr>
1369
+ <th scope="row">
1370
+ <label for='relevanssi_polylang_all_languages'><?php _e("Polylang", "relevanssi"); ?></label>
1371
+ </th>
1372
  <td>
1373
+ <fieldset>
1374
+ <legend class="screen-reader-text"><?php _e("Allow results from all languages.", "relevanssi"); ?></legend>
1375
+ <label for='relevanssi_polylang_all_languages'>
1376
+ <input type='checkbox' name='relevanssi_polylang_all_languages' id='relevanssi_polylang_all_languages' <?php echo $polylang_allow_all ?> />
1377
+ <?php _e("Allow results from all languages.", "relevanssi"); ?>
1378
+ </label>
1379
+ </fieldset>
1380
+ <p class="description"><?php _e("By default Polylang restricts the search to the current language. Enabling this option will lift this restriction.", "relevanssi"); ?></p>
1381
  </td>
1382
+ </tr>
1383
+ <?php endif; ?>
1384
+ <tr>
1385
+ <th scope="row">
1386
+ <label for='relevanssi_admin_search'><?php _e("Admin search", "relevanssi"); ?></label>
1387
+ </th>
1388
  <td>
1389
+ <fieldset>
1390
+ <legend class="screen-reader-text"><?php _e("Use Relevanssi for admin searches.", "relevanssi"); ?></legend>
1391
+ <label for='relevanssi_admin_search'>
1392
+ <input type='checkbox' name='relevanssi_admin_search' id='relevanssi_admin_search' <?php echo $admin_search ?> />
1393
+ <?php _e("Use Relevanssi for admin searches.", "relevanssi"); ?>
1394
+ </label>
1395
+ </fieldset>
1396
+ <p class="description"><?php _e("If checked, Relevanssi will be used for searches in the admin interface. The page search doesn't use Relevanssi, because WordPress works like that.", "relevanssi"); ?></p>
1397
  </td>
1398
  </tr>
 
1399
  <tr>
1400
+ <th scope="row">
1401
+ <label for='relevanssi_respect_exclude'><?php printf(__('Respect %s', 'relevanssi'), 'exclude_from_search' ); ?></label>
1402
+ </th>
1403
  <td>
1404
+ <fieldset>
1405
+ <legend class="screen-reader-text"><?php _e("Respect exclude_from_search for custom post types", "relevanssi"); ?></legend>
1406
+ <label for='relevanssi_respect_exclude'>
1407
+ <input type='checkbox' name='relevanssi_respect_exclude' id='relevanssi_respect_exclude' <?php echo $respect_exclude ?> />
1408
+ <?php printf(__("Respect %s for custom post types", "relevanssi"), '<code>exclude_from_search</code>' ); ?>
1409
+ </label>
1410
+ <p class="description"><?php _e("If checked, Relevanssi won't display posts of custom post types that have 'exclude_from_search' set to true.", 'relevanssi'); ?></p>
1411
+ <?php
1412
+ if (!empty($respect_exclude)) {
1413
+ $pt_1 = get_post_types(array('exclude_from_search' => '1'));
1414
+ $pt_2 = get_post_types(array('exclude_from_search' => true));
1415
+ $private_types = array_merge($pt_1, $pt_2);
1416
+ $problem_post_types = array_intersect($index_post_types, $private_types);
1417
+ if (!empty($problem_post_types)) : ?>
1418
+ <p class="description important"><?php _e("You probably should uncheck this option, because you've set Relevanssi to index the following non-public post types:", "relevanssi"); echo " " . implode(", ", $problem_post_types); ?></p>
1419
+ <?php endif;
1420
+ }
1421
+ ?>
1422
+ </fieldset>
1423
  </td>
1424
+ </tr>
1425
+ <tr>
1426
+ <th scope="row">
1427
+ <label for='relevanssi_throttle'><?php _e("Throttle searches", "relevanssi"); ?></label>
1428
+ </th>
1429
+ <td id="throttlesearches">
1430
+ <div id="throttle_disabled" <?php if (!$orderby_date) echo "class='screen-reader-text'" ?>>
1431
+ <p class="description"><?php _e("Throttling the search does not work when sorting the posts by date.", 'relevanssi'); ?></p>
1432
+ </div>
1433
+ <div id="throttle_enabled" <?php if (!$orderby_relevance) echo "class='screen-reader-text'" ?>>
1434
+ <fieldset>
1435
+ <legend class="screen-reader-text"><?php _e("Throttle searches.", "relevanssi"); ?></legend>
1436
+ <label for='relevanssi_throttle'>
1437
+ <input type='checkbox' name='relevanssi_throttle' id='relevanssi_throttle' <?php echo $throttle ?> />
1438
+ <?php _e("Throttle searches.", "relevanssi"); ?>
1439
+ </label>
1440
+ </fieldset>
1441
+ <?php if ($docs_count < 1000) : ?>
1442
+ <p class="description important"><?php _e("Your database is so small that you don't need to enable this.", 'relevanssi'); ?></p>
1443
+ <?php endif; ?>
1444
+ <p class="description"><?php _e("If this option is checked, Relevanssi will limit search results to at most 500 results per term. This will improve performance, but may cause some relevant documents to go unfound. See Help for more details.", 'relevanssi'); ?></p>
1445
+ </div>
1446
+ </td>
1447
+ </tr>
1448
+ <tr>
1449
+ <th scope="row">
1450
+ <label for='relevanssi_cat'><?php _e('Category restriction', 'relevanssi'); ?></label>
1451
+ </th>
1452
  <td>
1453
+ <div class="categorydiv" style="max-width: 400px">
1454
+ <div class="tabs-panel">
1455
+ <ul id="categorychecklist">
1456
+ <?php
1457
+ $selected_cats = explode(',', $cat);
1458
+ $walker = get_Relevanssi_Taxonomy_Walker();
1459
+ $walker->name = "relevanssi_cat";
1460
+ wp_terms_checklist(0, array('taxonomy' => 'category', 'selected_cats' => $selected_cats, 'walker' => $walker));
1461
+ ?>
1462
+ </ul>
1463
+ <input type="hidden" name="relevanssi_cat_active" value="1" />
1464
+ </div>
1465
+ </div>
1466
+ <p class="description"><?php _e("You can restrict search results to a category for all searches. For restricting on a per-search basis and more options (eg. tag restrictions), see Help.", 'relevanssi'); ?></p>
1467
  </td>
1468
+ </tr>
1469
+ <tr>
1470
+ <th scope="row">
1471
+ <label for='relevanssi_excat'><?php _e('Category exclusion', 'relevanssi'); ?></label>
1472
+ </th>
1473
  <td>
1474
+ <div class="categorydiv" style="max-width: 400px">
1475
+ <div class="tabs-panel">
1476
+ <ul id="categorychecklist">
1477
+ <?php
1478
+ $selected_cats = explode(',', $excat);
1479
+ $walker = get_Relevanssi_Taxonomy_Walker();
1480
+ $walker->name = "relevanssi_excat";
1481
+ wp_terms_checklist(0, array('taxonomy' => 'category', 'selected_cats' => $selected_cats, 'walker' => $walker));
1482
+ ?>
1483
+ </ul>
1484
+ <input type="hidden" name="relevanssi_excat_active" value="1" />
1485
+ </div>
1486
+ </div>
1487
+ <p class="description"><?php _e("Posts in these categories are not included in search results. To exclude the posts completely from the index, see Help.", 'relevanssi'); ?></p>
1488
+ </td>
1489
+ </tr>
1490
+ <tr>
1491
+ <th scope="row">
1492
+ <label for='relevanssi_expst'><?php _e('Post exclusion', 'relevanssi'); ?>
1493
+ </th>
1494
+ <td>
1495
+ <input type='text' name='relevanssi_expst' id='relevanssi_expst' size='60' value='<?php echo esc_attr($expst); ?>' />
1496
+ <p class="description"><?php _e("Enter a comma-separated list of post or page ID's to exclude those pages from the search results.", 'relevanssi'); ?></p>
1497
+ <?php if (RELEVANSSI_PREMIUM) : ?>
1498
+ <p class="description"><?php _e("With Relevanssi Premium, it's better to use the check box on post edit pages. That will remove the posts completely from the index, and will work with multisite searches unlike this setting.", "relevanssi"); ?></p>
1499
+ <?php endif; ?>
1500
  </td>
1501
  </tr>
 
 
 
 
 
1502
  </table>
1503
 
1504
+ <?php endif; // active tab: searching ?>
 
 
1505
 
1506
+ <?php if ($active_tab === "excerpts") : ?>
 
1507
 
1508
+ <h2 id="excerpts"><?php _e("Custom excerpts/snippets", "relevanssi"); ?></h2>
 
 
1509
 
1510
+ <table class="form-table">
1511
+ <tr>
1512
+ <th scope="row">
1513
+ <label for='relevanssi_excerpts'><?php _e("Custom search result snippets", "relevanssi"); ?>
1514
+ </th>
1515
+ <td>
1516
+ <fieldset>
1517
+ <legend class="screen-reader-text"><?php _e("Create custom search results snippets", "relevanssi"); ?></legend>
1518
+ <label for='relevanssi_excerpts'>
1519
+ <input type='checkbox' name='relevanssi_excerpts' id='relevanssi_excerpts' <?php echo $excerpts ?> />
1520
+ <?php _e("Create custom search result snippets", "relevanssi"); ?>
1521
+ </label>
1522
+ </fieldset>
1523
+ <p class="description"><?php _e("Only enable this if you actually use the custom excerpts.", "relevanssi"); ?></p>
1524
+ </td>
1525
+ </tr>
1526
+ <tr id="tr_excerpt_length" <?php if (empty($excerpts)) echo "class='relevanssi_disabled'" ?>>
1527
+ <th scope="row">
1528
+ <label for='relevanssi_excerpt_length'><?php _e("Length of the snippet", "relevanssi"); ?></label>
1529
+ </th>
1530
+ <td>
1531
+ <input type='text' name='relevanssi_excerpt_length' id='relevanssi_excerpt_length' size='4' value='<?php echo esc_attr($excerpt_length); ?>' <?php if (empty($excerpts)) echo "disabled='disabled'"; ?>/>
1532
+ <select name='relevanssi_excerpt_type' id='relevanssi_excerpt_type' <?php if (empty($excerpts)) echo "disabled='disabled'"; ?>>
1533
+ <option value='chars' <?php echo $excerpt_chars ?>><?php _e("characters", "relevanssi"); ?></option>
1534
+ <option value='words' <?php echo $excerpt_words ?>><?php _e("words", "relevanssi"); ?></option>
1535
+ </select>
1536
+ <p class="description"><?php _e("Using words is much faster than characters. Don't use characters, unless you have a really good reason and your posts are short.", "relevanssi"); ?></p>
1537
+ </td>
1538
+ </tr>
1539
+ <tr id="tr_excerpt_allowable_tags" <?php if (empty($excerpts)) echo "class='relevanssi_disabled'" ?>>
1540
+ <th scope="row">
1541
+ <label for='relevanssi_excerpt_allowable_tags'><?php _e("Allowable tags in excerpts", "relevanssi"); ?></label>
1542
+ </th>
1543
+ <td>
1544
+ <input type='text' name='relevanssi_excerpt_allowable_tags' id='relevanssi_excerpt_allowable_tags' size='60' value='<?php echo esc_attr($excerpt_allowable_tags); ?>' <?php if (empty($excerpts)) echo "disabled='disabled'"; ?>/>
1545
+ <p class="description"><?php _e("List all tags you want to allow in excerpts. For example: &lt;p&gt;&lt;a&gt;&lt;strong&gt;.", "relevanssi"); ?></p>
1546
+ </td>
1547
+ </tr>
1548
+ <tr id="tr_excerpt_custom_fields" <?php if (empty($excerpts) || empty($original_index_fields)) echo "class='relevanssi_disabled'"; ?>>
1549
+ <th scope="row">
1550
+ <label for='relevanssi_excerpt_custom_fields'><?php _e("Use custom fields for excerpts", "relevanssi"); ?>
1551
+ </th>
1552
+ <td>
1553
+ <fieldset>
1554
+ <legend class="screen-reader-text"><?php _e("Use custom field content for building excerpts", "relevanssi"); ?></legend>
1555
+ <label for='relevanssi_excerpts'>
1556
+ <input type='checkbox' name='relevanssi_excerpt_custom_fields' id='relevanssi_excerpt_custom_fields' <?php echo $excerpt_custom_fields ?> <?php if (empty($excerpts) || empty($original_index_fields)) echo "disabled='disabled'"; ?>/>
1557
+ <?php _e("Use custom field content for building excerpts", "relevanssi"); ?>
1558
+ </label>
1559
+ </fieldset>
1560
+ <p class="description"><?php _e("Use the custom fields setting for indexing for excerpt-making as well. Enabling this option will show custom field content in Relevanssi-generated excerpts.", "relevanssi"); ?></p>
1561
+
1562
+ <p class="description"><?php _e("Current custom field setting", 'relevanssi'); ?>:
1563
+ <?php
1564
+ if ($original_index_fields === "visible") _e("all visible custom fields", 'relevanssi');
1565
+ else if ($original_index_fields === "all") _e("all custom fields", 'relevanssi');
1566
+ else if (!empty($original_index_fields)) echo "<code>$original_index_fields</code>";
1567
+ else _e('None selected', 'relevanssi');
1568
+ ?></p>
1569
+ </td>
1570
+ </tr>
1571
+ </table>
1572
 
1573
+ <h2><?php _e("Search hit highlighting", "relevanssi"); ?></h2>
1574
 
1575
+ <table id="relevanssi_highlighting" class="form-table <?php if (empty($excerpts)) echo "relevanssi_disabled" ?>">
1576
+ <tr>
1577
+ <th scope="row">
1578
+ <label for='relevanssi_highlight'><?php _e("Highlight type", 'relevanssi'); ?></label>
1579
+ </th>
1580
+ <td>
1581
+ <select name='relevanssi_highlight' id='relevanssi_highlight' <?php if (empty($excerpts)) echo "disabled='disabled'"; ?>>
1582
+ <option value='no' <?php echo $highlight_none ?>><?php _e('No highlighting', 'relevanssi'); ?></option>
1583
+ <option value='mark' <?php echo $highlight_mark ?>>&lt;mark&gt;</option>
1584
+ <option value='em' <?php echo $highlight_em ?>>&lt;em&gt;</option>
1585
+ <option value='strong' <?php echo $highlight_strong ?>>&lt;strong&gt;</option>
1586
+ <option value='col' <?php echo $highlight_col ?>><?php _e('Text color', 'relevanssi'); ?></option>
1587
+ <option value='bgcol' <?php echo $highlight_bgcol ?>><?php _e('Background color', 'relevanssi'); ?></option>
1588
+ <option value='css' <?php echo $highlight_style ?>><?php _e("CSS Style", 'relevanssi'); ?></option>
1589
+ <option value='class' <?php echo $highlight_class ?>><?php _e("CSS Class", 'relevanssi'); ?></option>
1590
+ </select>
1591
+ <p class="description"><?php _e("Requires custom snippets to work.", "relevanssi"); ?></p>
1592
+ </td>
1593
+ </tr>
1594
+ <tr id="relevanssi_txt_col" <?php echo $txt_col_display; ?>>
1595
+ <th scope="row">
1596
+ <label for="relevanssi_txt_col"><?php _e("Text color", "relevanssi"); ?></label>
1597
+ </th>
1598
+ <td>
1599
+ <input type='text' name='relevanssi_txt_col' id='relevanssi_txt_col' size='7' class="color-field" data-default-color="#ff0000" value='<?php echo esc_attr($txt_col); ?>' <?php if (empty($excerpts)) echo "disabled='disabled'"; ?>/>
1600
+ </td>
1601
+ </tr>
1602
+ <tr id="relevanssi_bg_col" <?php echo $bg_col_display; ?>>
1603
+ <th scope="row">
1604
+ <label for="relevanssi_bg_col"><?php _e("Background color", "relevanssi"); ?></label>
1605
+ </th>
1606
+ <td>
1607
+ <input type='text' name='relevanssi_bg_col' id='relevanssi_bg_col' size='7' class="color-field" data-default-color="#ffaf75" value='<?php echo esc_attr($bg_col); ?>' <?php if (empty($excerpts)) echo "disabled='disabled'"; ?>/>
1608
+ </td>
1609
+ </tr>
1610
+ <tr id="relevanssi_css" <?php echo $css_display; ?>>
1611
+ <th scope="row">
1612
+ <label for='relevanssi_css'><?php _e("CSS style for highlights", "relevanssi"); ?></label>
1613
+ </th>
1614
+ <td>
1615
+ <input type='text' name='relevanssi_css' id='relevanssi_css' size='60' value='<?php echo esc_attr($css); ?>' <?php if (empty($excerpts)) echo "disabled='disabled'"; ?>/>
1616
+ <p class="description"><?php printf(__("The highlights will be wrapped in a %s with this CSS in the style parameter.", "relevanssi"), "&lt;span&gt;"); ?></p>
1617
+ </td>
1618
+ </tr>
1619
+ <tr id="relevanssi_class" <?php echo $class_display; ?>>
1620
+ <th scope="row">
1621
+ <label for='relevanssi_class'><?php _e("CSS class for highlights", "relevanssi"); ?></label>
1622
+ </th>
1623
+ <td>
1624
+ <input type='text' name='relevanssi_class' id='relevanssi_class' size='60' value='<?php echo esc_attr($class); ?>' <?php if (empty($excerpts)) echo "disabled='disabled'"; ?>/>
1625
+ <p class="description"><?php printf(__("The highlights will be wrapped in a %s with this class.", "relevanssi"), "&lt;span&gt;"); ?></p>
1626
+ </td>
1627
+ </tr>
1628
+ <tr>
1629
+ <th scope="row">
1630
+ <label for='relevanssi_hilite_title'><?php _e("Highlight in titles", 'relevanssi'); ?></label>
1631
+ </th>
1632
+ <td>
1633
+ <fieldset>
1634
+ <legend class="screen-reader-text"><?php _e("Highlight query terms in titles", "relevanssi"); ?></legend>
1635
+ <label for='relevanssi_hilite_title'>
1636
+ <input type='checkbox' name='relevanssi_hilite_title' id='relevanssi_hilite_title' <?php echo $hititle ?> <?php if (empty($excerpts)) echo "disabled='disabled'"; ?>/>
1637
+ <?php _e("Highlight query terms in titles", "relevanssi"); ?>
1638
+ </label>
1639
+ </fieldset>
1640
+ <p class="description"><?php printf(__("Highlights in titles require changes to the search results template. You need to replace %s in the search results template with %s. For more information, see the contextual help.", "relevanssi"), "<code>the_title()</code>", "<code>relevanssi_the_title()</code>"); ?></p>
1641
+ </td>
1642
+ </tr>
1643
+ <tr>
1644
+ <th scope="row">
1645
+ <label for='relevanssi_highlight_docs'><?php _e("Highlight in documents", 'relevanssi'); ?></label>
1646
+ </th>
1647
+ <td>
1648
+ <fieldset>
1649
+ <legend class="screen-reader-text"><?php _e("Highlight query terms in documents", "relevanssi"); ?></legend>
1650
+ <label for='relevanssi_highlight_docs'>
1651
+ <input type='checkbox' name='relevanssi_highlight_docs' id='relevanssi_highlight_docs' <?php echo $highlight_docs ?> <?php if (empty($excerpts)) echo "disabled='disabled'"; ?>/>
1652
+ <?php _e("Highlight query terms in documents", "relevanssi"); ?>
1653
+ </label>
1654
+ </fieldset>
1655
+ <p class="description"><?php printf(__("Highlights hits when user opens the post from search results. This requires an extra parameter (%s) to the links from the search results pages so in order to get these highlights, you need to use %s or %s to print out the permalinks on the search results templates.", "relevanssi"), "<code>highlight</code>", "<code>relevanssi_get_permalink()</code>", "<code>relevanssi_the_permalink()</code>"); ?></p>
1656
+ </td>
1657
+ </tr>
1658
+ <?php if (function_exists('relevanssi_form_highlight_external')) relevanssi_form_highlight_external($highlight_docs_ext, $excerpts); ?>
1659
+ <tr>
1660
+ <th scope="row">
1661
+ <label for='relevanssi_highlight_comments'><?php _e("Highlight in comments", 'relevanssi'); ?></label>
1662
+ </th>
1663
+ <td>
1664
+ <fieldset>
1665
+ <legend class="screen-reader-text"><?php _e("Highlight query terms in comments", "relevanssi"); ?></legend>
1666
+ <label for='relevanssi_highlight_comments'>
1667
+ <input type='checkbox' name='relevanssi_highlight_comments' id='relevanssi_highlight_comments' <?php echo $highlight_coms ?> <?php if (empty($excerpts)) echo "disabled='disabled'"; ?>/>
1668
+ <?php _e("Highlight query terms in comments", "relevanssi"); ?>
1669
+ </label>
1670
+ </fieldset>
1671
+ <p class="description"><?php _e("Highlights hits in comments when user opens the post from search results.", "relevanssi"); ?></p>
1672
+ </td>
1673
+ </tr>
1674
+ <tr>
1675
+ <th scope="row">
1676
+ <label for='relevanssi_word_boundaries'><?php _e("Highlighting problems with non-ASCII alphabet?", 'relevanssi'); ?></label>
1677
+ </th>
1678
+ <td>
1679
+ <fieldset>
1680
+ <legend class="screen-reader-text"><?php _e("Uncheck this if you use non-ASCII characters", "relevanssi"); ?></legend>
1681
+ <label for='relevanssi_word_boundaries'>
1682
+ <input type='checkbox' name='relevanssi_word_boundaries' id='relevanssi_word_boundaries' <?php echo $word_boundaries ?> <?php if (empty($excerpts)) echo "disabled='disabled'"; ?>/>
1683
+ <?php _e("Uncheck this if you use non-ASCII characters", "relevanssi"); ?>
1684
+ </label>
1685
+ </fieldset>
1686
+ <p class="description"><?php _e("If you use non-ASCII characters (like Cyrillic alphabet) and the highlights don't work, unchecking this option may make the highlights work.", "relevanssi"); ?></p>
1687
+ </td>
1688
+ </tr>
1689
+ </table>
1690
 
1691
+ <h2><?php _e("Breakdown of search results", "relevanssi"); ?></h2>
1692
 
1693
+ <table id="relevanssi_breakdown" class="form-table <?php if (empty($excerpts)) echo "relevanssi_disabled" ?>">
1694
+ <tr>
1695
+ <th scope="row">
1696
+ <label for='relevanssi_show_matches'><?php _e("Breakdown of search hits in excerpts", "relevanssi"); ?></label>
1697
+ </th>
1698
+ <td>
1699
+ <fieldset>
1700
+ <legend class="screen-reader-text"><?php _e("Show the breakdown of search hits in the excerpts", "relevanssi"); ?></legend>
1701
+ <label for='relevanssi_show_matches'>
1702
+ <input type='checkbox' name='relevanssi_show_matches' id='relevanssi_show_matches' <?php echo $show_matches ?> <?php if (empty($excerpts)) echo "disabled='disabled'"; ?>/>
1703
+ <?php _e("Show the breakdown of search hits in the excerpts.", "relevanssi"); ?>
1704
+ </label>
1705
+ </fieldset>
1706
+ <p class="description"><?php _e("Requires custom snippets to work.", "relevanssi"); ?></p>
1707
+ </td>
1708
+ </tr>
1709
+ <tr>
1710
+ <th scope="row">
1711
+ <label for='relevanssi_show_matches_text'><?php _e("The breakdown format", "relevanssi"); ?></label>
1712
+ </th>
1713
+ <td>
1714
+ <textarea name='relevanssi_show_matches_text' id='relevanssi_show_matches_text' cols="80" rows="4" <?php if (empty($excerpts)) echo "disabled='disabled'"; ?>><?php echo esc_attr($show_matches_text) ?></textarea>
1715
+ <p class="description"><?php _e("Use %body%, %title%, %tags% and %comments% to display the number of hits (in different parts of the post), %total% for total hits, %score% to display the document weight and %terms% to show how many hits each search term got.", "relevanssi"); ?></p>
1716
+ </td>
1717
+ </tr>
1718
+ </table>
1719
 
1720
+ <?php endif; // active tab: excerpts & highlights ?>
1721
 
1722
+ <?php if ($active_tab === "indexing") : ?>
 
 
1723
 
1724
+ <?php
1725
+
1726
+ $docs_count = $wpdb->get_var("SELECT COUNT(DISTINCT doc) FROM " . $relevanssi_variables['relevanssi_table'] . " WHERE doc != -1");
1727
+ $terms_count = $wpdb->get_var("SELECT COUNT(*) FROM " . $relevanssi_variables['relevanssi_table']);
1728
+ $biggest_doc = $wpdb->get_var("SELECT doc FROM " . $relevanssi_variables['relevanssi_table'] . " ORDER BY doc DESC LIMIT 1");
1729
+
1730
+ if (RELEVANSSI_PREMIUM) {
1731
+ $user_count = $wpdb->get_var("SELECT COUNT(DISTINCT item) FROM " . $relevanssi_variables['relevanssi_table'] . " WHERE type = 'user'");
1732
+ $taxterm_count = $wpdb->get_var("SELECT COUNT(DISTINCT item) FROM " . $relevanssi_variables['relevanssi_table'] . " WHERE (type != 'post' AND type != 'attachment' AND type != 'user')");
1733
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1734
 
1735
+ ?>
1736
+ <div id="indexing_tab">
1737
+
1738
+ <table class="form-table">
1739
+ <tr>
1740
+ <th scope="row">
1741
+ <input type='submit' name='submit' value='<?php esc_attr_e('Save the options', 'relevanssi'); ?>' class='button button-primary' /><br /><br />
1742
+ <input type="button" id="build_index" name="index" value="<?php esc_attr_e('Build the index', 'relevanssi'); ?>" class='button-primary' /><br /><br />
1743
+ <input type="button" id="continue_indexing" name="continue" value="<?php esc_attr_e('Index unindexed posts', 'relevanssi'); ?>" class='button-primary' />
1744
+ </th>
1745
+ <td>
1746
+ <div id='indexing_button_instructions'>
1747
+ <p class="description"><?php printf(__("%s empties the existing index and rebuilds it from scratch.", "relevanssi"), "<strong>" . __("Build the index", "relevanssi") . "</strong>");?></p>
1748
+ <p class="description"><?php printf(__("%s doesn't empty the index and only indexes those posts that are not indexed. You can use it if you have to interrupt building the index.", "relevanssi"), "<strong>" . __("Index unindexed posts", "relevanssi") . "</strong>");?>
1749
+ <?php if (RELEVANSSI_PREMIUM) _e("This doesn't index any taxonomy terms or users.", "relevanssi"); ?></p>
1750
+ </div>
1751
+ <div id='relevanssi-note' style='display: none'></div>
1752
+ <div id='relevanssi-progress' class='rpi-progress'><div class="rpi-indicator"></div></div>
1753
+ <div id='relevanssi-timer'><?php _e("Time elapsed", "relevanssi"); ?>: <span id="relevanssi_elapsed">0:00:00</span> | <?php _e("Time remaining", "relevanssi"); ?>: <span id="relevanssi_estimated"><?php _e("some time", "relevanssi"); ?></span></div>
1754
+ <textarea id='results' rows='10' cols='80'></textarea>
1755
+ </td>
1756
+ </tr>
1757
+ <tr>
1758
+ <th scope="row"><?php _e("State of the index", "relevanssi"); ?></td>
1759
+ <td id="stateoftheindex"><p><?php echo $docs_count ?> <?php echo _n("document in the index.", "documents in the index.", $docs_count, "relevanssi"); ?>
1760
+ <?php if (RELEVANSSI_PREMIUM) : ?>
1761
+ <br /><?php echo $user_count ?> <?php echo _n("user in the index.", "users in the index.", $user_count, "relevanssi"); ?><br />
1762
+ <?php echo $taxterm_count ?> <?php echo _n("taxonomy term in the index.", "taxonomy terms in the index.", $taxterm_count, "relevanssi"); ?>
1763
+ <?php endif; ?>
1764
+ </p>
1765
+ <p><?php echo $terms_count; ?> <?php echo _n("term in the index.", "terms in the index.", $terms_count, "relevanssi"); ?><br />
1766
+ <?php echo $biggest_doc ?> <?php _e("is the highest post ID indexed.", "relevanssi"); ?></p>
1767
+ </td>
1768
+ </tr>
1769
+ </table>
1770
 
 
 
1771
  <?php
1772
+ if (count($index_post_types) < 2) {
1773
+ echo "<p><strong>" . __("WARNING: You've chosen no post types to index. Nothing will be indexed. Choose some post types to index.", 'relevanssi') . "</strong></p>";
 
1774
  }
 
1775
  ?>
1776
 
1777
+ <h2 id="indexing"><?php _e('Indexing options', 'relevanssi'); ?></h2>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1778
 
1779
+ <p><?php _e("Any changes to the settings on this page require reindexing before they take effect.", "relevanssi"); ?></p>
 
 
1780
 
1781
+ <table class="form-table">
1782
+ <tr>
1783
+ <th scope="row"><?php _e("Post types", "relevanssi"); ?></th>
1784
+ <td>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1785
 
1786
+ <table class="widefat" id="index_post_types_table">
1787
  <thead>
1788
  <tr>
1789
  <th><?php _e('Type', 'relevanssi'); ?></th>
1797
  $public_types = array_merge($pt_1, $pt_2);
1798
  $post_types = get_post_types();
1799
  foreach ($post_types as $type) {
1800
+ if ('nav_menu_item' === $type) continue;
1801
+ if ('revision' === $type) continue;
1802
  if (in_array($type, $index_post_types)) {
1803
  $checked = 'checked="checked"';
1804
  }
1835
  </td>
1836
  </tr>
1837
  </table>
1838
+ <p class="description"><?php printf(__("%s includes all attachment types. If you want to index only some attachments, see %sControlling attachment types in the Knowledge base%s.", "relevanssi"), '<code>attachment</code>', '<a href="https://www.relevanssi.com/knowledge-base/controlling-attachment-types-index/">', '</a>'); ?></p>
1839
+ </td>
1840
+ </tr>
1841
 
1842
+ <tr>
1843
+ <th scope="row">
1844
+ <?php _e('Taxonomies', 'relevanssi'); ?>
1845
+ </th>
1846
+ <td>
1847
 
1848
+ <table class="widefat" id="custom_taxonomies_table">
1849
+ <thead>
1850
+ <tr>
1851
+ <th><?php _e('Taxonomy', 'relevanssi'); ?></th>
1852
+ <th><?php _e('Index', 'relevanssi'); ?></th>
1853
+ <th><?php _e('Public?', 'relevanssi'); ?></th>
1854
+ </tr>
1855
+ </thead>
1856
 
 
 
 
 
 
 
 
 
1857
  <?php
1858
  $taxos = get_taxonomies('', 'objects');
1859
  foreach ($taxos as $taxonomy) {
1860
+ if ($taxonomy->name === 'nav_menu') continue;
1861
+ if ($taxonomy->name === 'link_category') continue;
1862
  if (in_array($taxonomy->name, $index_taxonomies_list)) {
1863
  $checked = 'checked="checked"';
1864
  }
1884
  EOH;
1885
  }
1886
  ?>
1887
+ </table>
1888
+
1889
+ <p class="description"><?php _e('If you check a taxonomy here, the terms for that taxonomy are indexed with the posts. If you for example choose "post_tag", searching for a tag will find all posts that have the tag.', 'relevanssi'); ?>
1890
+
1891
+ </td>
1892
+ </tr>
1893
+
1894
+ <tr>
1895
+ <th scope="row">
1896
+ <label for='relevanssi_index_comments'><?php _e("Comments", "relevanssi"); ?></label>
1897
+ </th>
1898
+ <td>
1899
+ <select name='relevanssi_index_comments' id='relevanssi_index_comments'>
1900
+ <option value='none' <?php echo $incom_type_none ?>><?php _e("none", "relevanssi"); ?></option>
1901
+ <option value='normal' <?php echo $incom_type_normal ?>><?php _e("comments", "relevanssi"); ?></option>
1902
+ <option value='all' <?php echo $incom_type_all ?>><?php _e("comments and pingbacks", "relevanssi"); ?></option>
1903
+ </select>
1904
+ <p class="description"><?php _e("If you choose to index comments, you can choose if you want to index just comments, or everything including comments and track- and pingbacks.", 'relevanssi'); ?></p>
1905
+ </td>
1906
+ </tr>
1907
+
1908
+ <tr>
1909
+ <th scope="row">
1910
+ <label for='relevanssi_index_fields'><?php _e("Custom fields", "relevanssi"); ?></label>
1911
+ </th>
1912
+ <td>
1913
+ <select name='relevanssi_index_fields_select' id='relevanssi_index_fields_select'>
1914
+ <option value='none' <?php echo $fields_select_none; ?>><?php _e("none", "relevanssi"); ?></option>
1915
+ <option value='all' <?php echo $fields_select_all ?>><?php _e("all", "relevanssi"); ?></option>
1916
+ <option value='visible' <?php echo $fields_select_visible ?>><?php _e("visible", "relevanssi"); ?></option>
1917
+ <option value='some' <?php echo $fields_select_some ?>><?php _e("some", "relevanssi"); ?></option>
1918
+ </select>
1919
+ <p class="description"><?php _e("'All' indexes all custom fields for posts.", "relevanssi"); echo "<br/>";
1920
+ _e("'Visible' only includes the custom fields that are visible in the user interface (with names that don't start with an underscore).", "relevanssi"); echo "<br />";
1921
+ _e("'Some' lets you choose individual custom fields to index.", "relevanssi"); ?></p>
1922
+ <div id="index_field_input" <?php if (empty($fields_select_some)) echo 'style="display: none"'; ?>>
1923
+ <input type='text' name='relevanssi_index_fields' id='relevanssi_index_fields' size='60' value='<?php echo esc_attr($index_fields) ?>' />
1924
+ <p class="description"><?php _e("Enter a comma-separated list of custom fields to include in the index. With Relevanssi Premium, you can also use 'fieldname_%_subfieldname' notation for ACF repeater fields.", "relevanssi"); ?></p>
1925
+ <p class="description"><?php _e("You can use 'relevanssi_index_custom_fields' filter hook to adjust which custom fields are indexed.", "relevanssi"); ?></p>
1926
+ </div>
1927
+ <?php if ( is_plugin_active( 'woocommerce/woocommerce.php' ) ) : ?>
1928
+ <p class="description"><?php printf(__("If you want the SKU included, choose %s and enter %s. Also see the contextual help for more details.", "relevanssi"), "'" . __('some', "relevanssi") . "'", '<code>_sku</code>'); ?></p>
1929
+ <?php endif; ?>
1930
+ </td>
1931
+ </tr>
1932
+
1933
+
1934
+
1935
+ <tr>
1936
+ <th scope="row">
1937
+ <label for='relevanssi_index_author'><?php _e('Author display names', 'relevanssi'); ?></label>
1938
+ </th>
1939
+ <td>
1940
+ <fieldset>
1941
+ <legend class="screen-reader-text"><?php _e("Index the post author display name", "relevanssi"); ?></legend>
1942
+ <label for='relevanssi_index_author'>
1943
+ <input type='checkbox' name='relevanssi_index_author' id='relevanssi_index_author' <?php echo $index_author ?> />
1944
+ <?php _e("Index the post author display name", "relevanssi"); ?>
1945
+ </label>
1946
+ <p class="description"><?php _e("Searching for the post author display name will return posts by that author.", 'relevanssi'); ?></p>
1947
+ </fieldset>
1948
+ </td>
1949
+ </tr>
1950
+
1951
+ <tr>
1952
+ <th scope="row">
1953
+ <label for='relevanssi_index_excerpt'><?php _e('Excerpts', 'relevanssi'); ?></label>
1954
+ </th>
1955
+ <td>
1956
+ <fieldset>
1957
+ <legend class="screen-reader-text"><?php _e("Index the post excerpt", "relevanssi"); ?></legend>
1958
+ <label for='relevanssi_index_excerpt'>
1959
+ <input type='checkbox' name='relevanssi_index_excerpt' id='relevanssi_index_excerpt' <?php echo $index_excerpt ?> />
1960
+ <?php _e("Index the post excerpt") ?>
1961
+ </label>
1962
+ <p class="description"><?php _e("Relevanssi will find posts by the content in the excerpt.", 'relevanssi'); ?></p>
1963
+ <?php if ( is_plugin_active( 'woocommerce/woocommerce.php' ) ) : ?>
1964
+ <p class="description"><?php _e("WooCommerce stores the product short description in the excerpt, so it's a good idea to index excerpts.", "relevanssi"); ?></p>
1965
+ <?php endif; ?>
1966
+ </fieldset>
1967
+ </td>
1968
+ </tr>
1969
+
1970
  </table>
1971
 
1972
+ <h2><?php _e("Shortcodes", "relevanssi"); ?></h2>
1973
 
1974
+ <table class="form-table">
1975
+ <tr>
1976
+ <th scope="row">
1977
+ <label for='relevanssi_expand_shortcodes'><?php _e("Expand shortcodes", "relevanssi"); ?></label>
1978
+ </th>
1979
+ <td>
1980
+ <fieldset>
1981
+ <legend class="screen-reader-text"><?php _e("Index the post excerpt", "relevanssi"); ?></legend>
1982
+ <label for='relevanssi_expand_shortcodes'>
1983
+ <input type='checkbox' name='relevanssi_expand_shortcodes' id='relevanssi_expand_shortcodes' <?php echo $expand_shortcodes ?> />
1984
+ <?php _e("Expand shortcodes when indexing", "relevanssi"); ?>
1985
+ </label>
1986
+ <?php if ( is_plugin_active( 'woocommerce/woocommerce.php' ) ) : ?>
1987
+ <p class="description important"><?php _e("WooCommerce has shortcodes that don't work well with Relevanssi. With WooCommerce, make sure the option is disabled.", "relevanssi"); ?></p>
1988
+ <?php endif; ?>
1989
+ <p class="description"><?php _e("If checked, Relevanssi will expand shortcodes in post content before indexing. Otherwise shortcodes will be stripped.", "relevanssi"); ?></p>
1990
+ <p class="description"><?php _e("If you use shortcodes to include dynamic content, Relevanssi will not keep the index updated, the index will reflect the status of the shortcode content at the moment of indexing.", "relevanssi"); ?></p>
1991
+ </fieldset>
1992
+ </td>
1993
+ </tr>
1994
 
1995
+ <?php if (function_exists('relevanssi_form_disable_shortcodes')) relevanssi_form_disable_shortcodes($disable_shortcodes); ?>
 
 
1996
 
1997
+ </table>
1998
 
1999
+ <?php if (function_exists('relevanssi_form_index_users')) relevanssi_form_index_users($index_users, $index_subscribers, $index_user_fields); ?>
2000
+
2001
+ <?php if (function_exists('relevanssi_form_index_synonyms')) relevanssi_form_index_synonyms($index_synonyms); ?>
2002
+
2003
+ <?php if (function_exists('relevanssi_form_index_taxonomies')) relevanssi_form_index_taxonomies($index_taxonomies, $index_terms); ?>
2004
+
2005
+ <?php if (function_exists('relevanssi_form_index_pdf_parent')) relevanssi_form_index_pdf_parent($index_pdf_parent, $index_post_types); ?>
2006
+
2007
+ <h2><?php _e("Advanced indexing settings", "relevanssi"); ?></h2>
2008
 
2009
+ <p><button type="button" id="show_advanced_indexing"><?php _e("Show advanced settings", "relevanssi"); ?></button></p>
 
 
2010
 
2011
+ <table class="form-table screen-reader-text" id="advanced_indexing">
2012
+ <tr>
2013
+ <th scope="row">
2014
+ <label for='relevanssi_min_word_length'><?php _e("Minimum word length", "relevanssi"); ?></label>
2015
+ </th>
2016
+ <td>
2017
+ <input type='number' name='relevanssi_min_word_length' id='relevanssi_min_word_length' value='<?php echo esc_attr($min_word_length); ?>' />
2018
+ <p class="description"><?php _e("Words shorter than this many letters will not be indexed.", "relevanssi"); ?></p>
2019
+ </td>
2020
+ </tr>
2021
+ <tr>
2022
+ <th scope="row"><?php _e("Punctuation control"); ?></th>
2023
+ <td><p class="description"><?php _e("Here you can adjust how the punctuation is controlled. For more information, see help. Remember that any changes here require reindexing, otherwise searches will fail to find posts they should.", "relevanssi"); ?></p></td>
2024
+ </tr>
2025
+ <tr>
2026
+ <th scope="row">
2027
+ <label for='relevanssi_punct_hyphens'><?php _e("Hyphens and dashes", "relevanssi"); ?></label>
2028
+ </th>
2029
+ <td>
2030
+ <select name='relevanssi_punct_hyphens' id='relevanssi_punct_hyphens'>
2031
+ <option value='keep' <?php echo $punct_hyphens_keep ?>><?php _e("Keep", "relevanssi"); ?></option>
2032
+ <option value='replace' <?php echo $punct_hyphens_replace ?>><?php _e("Replace with spaces", "relevanssi"); ?></option>
2033
+ <option value='remove' <?php echo $punct_hyphens_remove ?>><?php _e("Remove", "relevanssi"); ?></option>
2034
+ </select>
2035
+ <p class="description"><?php _e("How Relevanssi should handle hyphens and dashes (en and em dashes)? Replacing with spaces is generally the best option, but in some cases removing completely is the best option. Keeping them is rarely the best option.", "relevanssi"); ?></p>
2036
+
2037
+ </td>
2038
+ </tr>
2039
+ <tr>
2040
+ <th scope="row">
2041
+ <label for='relevanssi_punct_quotes'><?php _e("Apostrophes and quotes", "relevanssi"); ?></label>
2042
+ </th>
2043
+ <td>
2044
+ <select name='relevanssi_punct_quotes' id='relevanssi_punct_quotes'>
2045
+ <option value='replace' <?php echo $punct_quotes_replace ?>><?php _e("Replace with spaces", "relevanssi"); ?></option>
2046
+ <option value='remove' <?php echo $punct_quotes_remove ?>><?php _e("Remove", "relevanssi"); ?></option>
2047
+ </select>
2048
+ <p class="description"><?php _e("How Relevanssi should handle apostrophes and quotes? It's not possible to keep them; that would lead to problems. Default behaviour is to replace with spaces, but sometimes removing makes sense.", "relevanssi"); ?></p>
2049
 
2050
+ </td>
2051
+ </tr>
2052
+ <tr>
2053
+ <th scope="row">
2054
+ <label for='relevanssi_punct_ampersands'><?php _e("Ampersands", "relevanssi"); ?></label>
2055
+ </th>
2056
+ <td>
2057
+ <select name='relevanssi_punct_ampersands' id='relevanssi_punct_ampersands'>
2058
+ <option value='keep' <?php echo $punct_ampersands_keep ?>><?php _e("Keep", "relevanssi"); ?></option>
2059
+ <option value='replace' <?php echo $punct_ampersands_replace ?>><?php _e("Replace with spaces", "relevanssi"); ?></option>
2060
+ <option value='remove' <?php echo $punct_ampersands_remove ?>><?php _e("Remove", "relevanssi"); ?></option>
2061
+ </select>
2062
+ <p class="description"><?php _e("How Relevanssi should handle ampersands? Replacing with spaces is generally the best option, but if you talk a lot about D&amp;D, for example, keeping the ampersands is useful.", "relevanssi"); ?></p>
2063
 
2064
+ </td>
2065
+ </tr>
 
2066
 
2067
+ <?php if (function_exists('relevanssi_form_thousep')) relevanssi_form_thousep($thousand_separator); ?>
2068
 
2069
+ <?php if (function_exists('relevanssi_form_mysql_columns')) relevanssi_form_mysql_columns($mysql_columns); ?>
 
 
2070
 
2071
+ <?php if (function_exists('relevanssi_form_internal_links')) relevanssi_form_internal_links($intlinks_noindex, $intlinks_strip, $intlinks_nostrip); ?>
2072
 
2073
+ </table>
 
 
 
 
 
 
2074
 
2075
+ <p><button type="button" style="display: none" id="hide_advanced_indexing"><?php _e("Hide advanced settings", "relevanssi"); ?></button></p>
2076
 
2077
+ </div> <?php // #indexing_tab ?>
 
 
2078
 
2079
+ <?php endif; // active tab: indexing ?>
2080
 
2081
+ <?php if ($active_tab === "attachments") : ?>
2082
+
2083
+ <?php if (function_exists('relevanssi_form_attachments')) { relevanssi_form_attachments($index_post_types, $index_pdf_parent); }
2084
+ else {
2085
+ $display_save_button = false; ?>
2086
+
2087
+ <h2><?php _e("Indexing attachment content", "relevanssi"); ?></h2>
2088
 
2089
+ <p><?php _e("With Relevanssi Premium, you can index the text contents of PDF attachments. The contents of the attachments are processed on an external service, which makes the feature reliable and light on your own server performance.", "relevanssi"); ?></p>
2090
 
2091
+ <p><?php printf(__("In order to access this and many other delightful Premium features, %s buy Relevanssi Premium here%s.", "relevanssi"), '<a href="https://www.relevanssi.com/buy-premium/">', '</a>'); ?></p>
2092
+
2093
+ <?php } ?>
2094
 
2095
+ <?php endif; // active tab: attachments ?>
2096
 
2097
+ <?php if ($active_tab === "synonyms") : ?>
2098
 
2099
  <h3 id="synonyms"><?php _e("Synonyms", "relevanssi"); ?></h3>
2100
 
2101
+ <table class="form-table">
2102
+ <tr>
2103
+ <th scope="row">
2104
+ <?php _e("Synonyms", "relevanssi"); ?>
2105
+ </th>
2106
+ <td>
2107
+ <p class="description"><?php _e("Add synonyms here to make the searches find better results. If you notice your users frequently misspelling a product name, or for other reasons use many names for one thing, adding synonyms will make the results better.", "relevanssi"); ?></p>
2108
+
2109
+ <p class="description"><?php _e("Do not go overboard, though, as too many synonyms can make the search confusing: users understand if a search query doesn't match everything, but they get confused if the searches match to unexpected things.", "relevanssi"); ?></p>
2110
+ <br />
2111
+ <textarea name='relevanssi_synonyms' id='relevanssi_synonyms' rows='9' cols='60'><?php echo htmlspecialchars($synonyms); ?></textarea>
2112
+
2113
+ <p class="description"><?php _e("The format here is <code>key = value</code>. If you add <code>dog = hound</code> to the list of synonyms, searches for <code>dog</code> automatically become a search for <code>dog hound</code> and will thus match to posts that include either <code>dog</code> or <code>hound</code>. This only works in OR searches: in AND searches the synonyms only restrict the search, as now the search only finds posts that contain <strong>both</strong> <code>dog</code> and <code>hound</code>.", "relevanssi"); ?></p>
2114
 
2115
+ <p class="description"><?php _e("The synonyms are one direction only. If you want both directions, add the synonym again, reversed: <code>hound = dog</code>.", "relevanssi"); ?></p>
2116
 
2117
+ <p class="description"><?php _e("It's possible to use phrases for the value, but not for the key. <code>dog = \"great dane\"</code> works, but <code>\"great dane\" = dog</code> doesn't.", "relevanssi"); ?></p>
2118
 
2119
+ <?php if (RELEVANSSI_PREMIUM) : ?>
2120
+ <p class="description"><?php _e("If you want to use synonyms in AND searches, enable synonym indexing on the Indexing tab.", "relevanssi"); ?></p>
2121
+ <?php endif; ?>
2122
+ </td>
2123
+ </tr>
2124
+ </table>
2125
+
2126
+ <?php endif; // active tab: synonyms ?>
2127
+
2128
+ <?php if ($active_tab === "stopwords") : ?>
2129
 
2130
  <h3 id="stopwords"><?php _e("Stopwords", "relevanssi"); ?></h3>
2131
 
2132
  <?php relevanssi_show_stopwords(); ?>
2133
 
2134
+ <?php
2135
+ if (apply_filters('relevanssi_display_common_words', true))
2136
+ relevanssi_common_words(25);
2137
+ ?>
2138
+
2139
+ <?php endif; // active tab: stopwords ?>
2140
+
2141
+ <?php if ($active_tab === "importexport") : ?>
2142
+
2143
+ <?php if (function_exists('relevanssi_form_importexport')) :
2144
+ relevanssi_form_importexport($serialized_options);
2145
+ endif;
2146
+ ?>
2147
+
2148
+ <?php endif; ?>
2149
+
2150
+ <?php if ($display_save_button) : ?>
2151
+
2152
+ <input type='submit' name='submit' value='<?php esc_attr_e('Save the options', 'relevanssi'); ?>' class='button button-primary' />
2153
+
2154
+ <?php endif; ?>
2155
 
2156
  </form>
2157
  </div>
2158
 
2159
  <?php
2160
 
2161
+ //relevanssi_sidebar();
2162
  }
2163
 
2164
  function relevanssi_show_stopwords() {
2170
  _e("Enter a word here to add it to the list of stopwords. The word will automatically be removed from the index, so re-indexing is not necessary. You can enter many words at the same time, separate words with commas.", 'relevanssi');
2171
  echo "</p>";
2172
 
2173
+ ?>
2174
+ <table class="form-table">
2175
+ <tr>
2176
+ <th scope="row">
2177
+ <label for="addstopword"><p><?php _e("Stopword(s) to add", 'relevanssi'); ?>
2178
+ </th>
2179
+ <td>
2180
+ <textarea name="addstopword" id="addstopword" rows="2" cols="80"></textarea>
2181
+ <p><input type="submit" value="<?php esc_attr_e("Add", 'relevanssi'); ?>" class='button' /></p>
2182
+ </td>
2183
+ </tr>
2184
+ </table>
2185
  <p><?php
 
2186
  _e("Here's a list of stopwords in the database. Click a word to remove it from stopwords. Removing stopwords won't automatically return them to index, so you need to re-index all posts after removing stopwords to get those words back to index.", 'relevanssi');
2187
+ ?></p>
2188
+
2189
+ <table class="form-table">
2190
+ <tr>
2191
+ <th scope="row">
2192
+ <?php _e("Current stopwords", "relevanssi"); ?>
2193
+ </th>
2194
+ <td>
2195
+ <?php
2196
 
2197
+ echo "<ul>";
 
 
 
 
 
 
 
 
 
 
 
 
 
2198
  $results = $wpdb->get_results("SELECT * FROM " . $relevanssi_variables['stopword_table']);
2199
  $exportlist = array();
2200
  foreach ($results as $stopword) {
2204
  }
2205
  echo "</ul>";
2206
 
2207
+ $exportlist = htmlspecialchars(implode(", ", $exportlist));
2208
  ?>
2209
+ <p><input type="submit" id="removeallstopwords" name="removeallstopwords" value="<?php esc_attr_e('Remove all stopwords', 'relevanssi'); ?>" class='button' /></p>
2210
+ </td>
2211
+ </tr>
2212
+ <tr>
2213
+ <th scope="row">
2214
+ <?php _e("Exportable list of stopwords", "relevanssi");?>
2215
+ </th>
2216
+ <td>
2217
+ <textarea name="stopwords" id="stopwords" rows="2" cols="80"><?php echo $exportlist; ?></textarea>
2218
+ <p class="description"><?php _e("You can copy the list of stopwords here if you want to back up the list, copy it to a different blog or otherwise need the list.", "relevanssi"); ?></p>
2219
+ </td>
2220
+ </tr>
2221
+ </table>
2222
+
2223
  <?php
2224
 
2225
+ }
2226
 
2227
+ function relevanssi_admin_help() {
2228
+ global $wpdb;
2229
 
2230
+ $screen = get_current_screen();
2231
+ $screen->add_help_tab( array(
2232
+ 'id' => 'relevanssi-searching',
2233
+ 'title' => __( 'Searching', 'relevanssi' ),
2234
+ 'content' => "<ul>" .
2235
+ "<li>" . sprintf(__("To adjust the post order, you can use the %s query parameter. With %s, you can use multiple layers of different sorting methods. See <a href='%s'>WordPress Codex</a> for more details on using arrays for orderby.", 'relevanssi'), "<code>orderby</code>", "<code>orderby</code>", "https://codex.wordpress.org/Class_Reference/WP_Query#Order_.26_Orderby_Parameters") . "</li>" .
2236
+ "<li>" . __("Inside-word matching is disabled by default, because it increases garbage results that don't really match the search term. If you want to enable it, add the following function to your theme functions.php:", 'relevanssi') .
2237
+ '<pre>add_filter("relevanssi_fuzzy_query", "rlv_partial_inside_words");
2238
+ function rlv_partial_inside_words($query) {
2239
+ return "(term LIKE \'%#term#%\')";
2240
+ }</pre></li>' .
2241
+ "<li>" . sprintf(__("In order to adjust the throttle limit, you can use the %s filter hook.", 'relevanssi'), "<code>relevanssi_throttle_limit</code>") .
2242
+ '<pre>add_filter("relevanssi_throttle_limit", function( $limit ) { return 200; } );</pre>' .
2243
+ "<li>" . __("It's not usually necessary to adjust the limit from 500, but in some cases performance gains can be achieved by setting a lower limit. We don't suggest going under 200, as low values will make the results worse.", "relevanssi") . "</li>" .
2244
+ "</ul>",
2245
+ ));
2246
+ $screen->add_help_tab( array(
2247
+ 'id' => 'relevanssi-search-restrictions',
2248
+ 'title' => __( 'Restrictions', 'relevanssi' ),
2249
+ 'content' => "<ul>" .
2250
+ "<li>" . __("If you want the general search to target all posts, but have a single search form target only certain posts, you can add a hidden input variable to the search form. ", 'relevanssi') . "</li>" .
2251
+ "<li>" . __("For example in order to restrict the search to categories 10, 14 and 17, you could add this to the search form:", 'relevanssi') .
2252
+ '<pre>&lt;input type="hidden" name="cats" value="10,14,17" /&gt;</pre></li>' .
2253
+ "<li>" . __("To restrict the search to posts tagged with alfa AND beta, you could add this to the search form:", 'relevanssi') .
2254
+ '<pre>&lt;input type="hidden" name="tag" value="alfa+beta" /&gt;</pre></li>' .
2255
+ "<li>" . sprintf(__("For all the possible options, see the Codex documentation for %s.", "relevanssi"), '<a href="https://codex.wordpress.org/Class_Reference/WP_Query">WP_Query</a>') . "</li>" .
2256
+ "</ul>",
2257
+ ));
2258
+ $screen->add_help_tab( array(
2259
+ 'id' => 'relevanssi-search-exclusions',
2260
+ 'title' => __( 'Exclusions', 'relevanssi' ),
2261
+ 'content' => "<ul>" .
2262
+ "<li>" . sprintf(__("For more exclusion options, see the Codex documentation for %s. For example, to exclude tag ID 10, use", "relevanssi"), '<a href="https://codex.wordpress.org/Class_Reference/WP_Query">WP_Query</a>') .
2263
+ '<pre>&lt;input type="hidden" name="tag__not_in" value="10" /&gt;</pre></li>' .
2264
+ "<li>" . sprintf(__("To exclude posts from the index and not just from the search, you can use the %s filter hook. This would not index posts that have a certain taxonomy term:", 'relevanssi'), '<code>relevanssi_do_not_index</code>') .
2265
+ '<pre>add_filter("relevanssi_do_not_index", "rlv_index_filter", 10, 2);
2266
+ function rlv_index_filter($block, $post_id) {
2267
+ if (has_term("jazz", "genre", $post_id)) $block = true;
2268
+ return $block;
2269
+ }
2270
+ </pre></li>' .
2271
+ "<li>" . sprintf(__("For more examples, see <a href='%s'>the related knowledge base posts</a>.", "relevanssi"), 'https://www.relevanssi.com/tag/relevanssi_do_not_index/') . "</li>" .
2272
+ "</ul>",
2273
+ ));
2274
+ $screen->add_help_tab( array(
2275
+ 'id' => 'relevanssi-logging',
2276
+ 'title' => __( 'Logs', 'relevanssi' ),
2277
+ 'content' => "<ul>" .
2278
+ "<li>" . sprintf(__('By default, the User searches page shows 20 most common keywords. In order to see more, you can adjust the value with the %s filter hook, like this:', 'relevanssi'), '<code>relevanssi_user_searches_limit</code>') .
2279
+ "<pre>add_filter('relevanssi_user_searches_limit', function() { return 50; });</pre></li>" .
2280
+ "<li>" . sprintf(__("The complete logs are stored in the %s database table, where you can access them if you need more information than what the User searches page provides.", "relevanssi"), '<code>' . $wpdb->prefix . "relevanssi_log</code>") . "</li>" .
2281
+ "</ul>",
2282
+ ));
2283
+ $screen->add_help_tab( array(
2284
+ 'id' => 'relevanssi-excerpts',
2285
+ 'title' => __( 'Excerpts', 'relevanssi' ),
2286
+ 'content' => "<ul>" .
2287
+ "<li>" . __('Building custom excerpts can be slow. If you are not actually using the excerpts, make sure you disable the option.', 'relevanssi') . "</li>" .
2288
+ "<li>" . sprintf(__('Custom snippets require that the search results template uses %s to print out the excerpts.', 'relevanssi'), "<code>the_excerpt()</code>") . "</li>" .
2289
+ "<li>" . __("Generally, Relevanssi generates the excerpts from post content. If you want to include custom field content in the excerpt-building, this can be done with a simple setting from the excerpt settings.", "relevanssi") . "</li>" .
2290
+ "<li>" . sprintf(__("If you want more control over what content Relevanssi uses to create the excerpts, you can use the %s and %s filter hooks to adjust the content.", "relevanssi"), "<code>relevanssi_pre_excerpt_content</code>", "<code>relevanssi_pre_excerpt_content</code>") . "</li>" .
2291
+ "<li>" . sprintf(__("Some shortcode do not work well with Relevanssi excerpt-generation. Relevanssi disables some shortcodes automatically to prevent problems. This can be adjusted with the %s filter hook.", "relevanssi"), "<code>relevanssi_disable_shortcodes_excerpt</code>") . "</li>" .
2292
+ "<li>" . sprintf(__("If you want Relevanssi to build excerpts faster and don't mind that they may be less than perfect in quality, add a filter that returns true on hook %s.", "relevanssi"), '<code>relevanssi_optimize_excerpts</code>') .
2293
+ "<pre>add_filter('relevanssi_optimize_excerpts', '__return_true');</pre></li>" .
2294
+ "</ul>",
2295
+ ));
2296
+ $screen->add_help_tab( array(
2297
+ 'id' => 'relevanssi-highlights',
2298
+ 'title' => __( 'Highlights', 'relevanssi' ),
2299
+ 'content' => "<ul>" .
2300
+ "<li>" . __("Title highlights don't appear automatically, because that led to problems with highlights appearing in wrong places and messing up navigation menus, for example.", 'relevanssi') . "</li>" .
2301
+ "<li>" . sprintf(__("In order to see title highlights from Relevanssi, replace %s in the search results template with %s. It does the same thing, but supports Relevanssi title highlights.", 'relevanssi'), "<code>the_title()</code>", "<code>relevanssi_the_title()</code>") . "</li>" .
2302
+ "</ul>",
2303
+ ));
2304
+ $screen->add_help_tab( array(
2305
+ 'id' => 'relevanssi-punctuation',
2306
+ 'title' => __( 'Punctuation', 'relevanssi' ),
2307
+ 'content' => "<ul>" .
2308
+ "<li>" . __("Relevanssi removes punctuation. Some punctuation is removed, some replaced with spaces. Advanced indexing settings include some of the more common settings people want to change.", "relevanssi") . "</li>" .
2309
+ "<li>" . sprintf(__("For more fine-tuned changes, you can use %s filter hook to adjust what is replaced with what, and %s filter hook to completely override the default punctuation control.", 'relevanssi'), '<code>relevanssi_punctuation_filter</code>', '<code>relevanssi_remove_punctuation</code>') . "</li>" .
2310
+ "<li>" . sprintf(__("For more examples, see <a href='%s'>the related knowledge base posts</a>.", "relevanssi"), 'https://www.relevanssi.com/tag/relevanssi_remove_punct/') . "</li>" .
2311
+ "</ul>",
2312
+ ));
2313
+ $screen->add_help_tab( array(
2314
+ 'id' => 'relevanssi-helpful-shortcodes',
2315
+ 'title' => __( 'Helpful shortcodes', 'relevanssi' ),
2316
+ 'content' => "<ul>" .
2317
+ "<li>" . sprintf(__("If you have content that you don't want indexed, you can wrap that content in a %s shortcode.", 'relevanssi'), '<code>[noindex]</code>') . "</li>" .
2318
+ "<li>" . sprintf(__("If you need a search form on some page on your site, you can use the %s shortcode to print out a basic search form.", "relevanssi"), '<code>[searchform]</code>') . "</li>" .
2319
+ "</ul>",
2320
+ ));
2321
+ $screen->add_help_tab( array(
2322
+ 'id' => 'relevanssi-title-woocommerce',
2323
+ 'title' => __( 'WooCommerce', 'relevanssi' ),
2324
+ 'content' => "<ul>" .
2325
+ "<li>" . __("If your SKUs include hyphens or other punctuation, do note that Relevanssi replaces most punctuation with spaces. That's going to cause issues with SKU searches.", 'relevanssi') . "</li>" .
2326
+ "<li>" . sprintf(__("For more details how to fix that issue, see <a href='%s'>WooCommerce tips in Relevanssi user manual</a>.", 'relevanssi'), "https://www.relevanssi.com/user-manual/woocommerce/") . "</li>" .
2327
+ "</ul>",
2328
+ ));
2329
+ $screen->set_help_sidebar(
2330
+ '<p><strong>' . __( 'For more information:', 'relevanssi' ) . '</strong></p>' .
2331
+ '<p><a href="http://www.relevanssi.com/knowledge-base/" target="_blank">' . __( 'Plugin knowledge base', 'relevanssi' ) . '</a></p>' .
2332
+ '<p><a href="http://wordpress.org/tags/relevanssi?forum_id=10" target="_blank">' . __( 'WordPress.org forum', 'relevanssi' ) . '</a></p>'
2333
+ );
2334
+ }
2335
 
2336
+ add_action( 'admin_enqueue_scripts', 'relevanssi_add_admin_scripts' );
2337
+ function relevanssi_add_admin_scripts($hook) {
2338
+ global $relevanssi_variables;
2339
+
2340
+ $plugin_dir_url = plugin_dir_url($relevanssi_variables['file']);
2341
+
2342
+ // Only enqueue on Relevanssi pages.
2343
+ $acceptable_hooks = array(
2344
+ 'toplevel_page_relevanssi-premium/relevanssi', 'settings_page_relevanssi-premium/relevanssi',
2345
+ 'toplevel_page_relevanssi/relevanssi', 'settings_page_relevanssi/relevanssi',
2346
+ );
2347
+ if (!in_array($hook, $acceptable_hooks)) return;
2348
+
2349
+ wp_enqueue_style( 'wp-color-picker' );
2350
+ wp_enqueue_script( 'relevanssi_admin_js', $plugin_dir_url . 'lib/admin_scripts.js', array( 'wp-color-picker' ) );
2351
+ if (!RELEVANSSI_PREMIUM) wp_enqueue_script( 'relevanssi_admin_js_free', $plugin_dir_url . 'lib/admin_scripts_free.js', array( 'relevanssi_admin_js' ) );
2352
+ if (RELEVANSSI_PREMIUM) wp_enqueue_script( 'relevanssi_admin_js_premium', $plugin_dir_url . 'premium/admin_scripts_premium.js', array( 'relevanssi_admin_js' ) );
2353
+ wp_enqueue_style( 'relevanssi_admin_css', $plugin_dir_url . 'lib/admin_styles.css' );
2354
+
2355
+ $translation = array(
2356
+ 'confirm' => __('Click OK to copy Relevanssi options to all subsites', 'relevanssi'),
2357
+ 'confirm_stopwords' => __('Are you sure you want to remove all stopwords?', 'relevanssi'),
2358
+ 'truncating_index' => __("Wiping out the index...", "relevanssi"),
2359
+ 'done' => __('Done.', 'relevanssi'),
2360
+ 'indexing_users' => __('Indexing users...', 'relevanssi'),
2361
+ 'indexing_taxonomies' => __('Indexing the following taxonomies:', 'relevanssi'),
2362
+ 'counting_posts' => __('Counting posts...', 'relevanssi'),
2363
+ 'counting_terms' => __('Counting taxonomy terms...', 'relevanssi'),
2364
+ 'posts_found' => __('posts found.', 'relevanssi'),
2365
+ 'terms_found' => __('taxonomy terms found.', 'relevanssi'),
2366
+ 'taxonomy_disabled' => __('Taxonomy term indexing is disabled.', "relevanssi"),
2367
+ 'indexing_complete' => __('Indexing complete.', 'relevanssi'),
2368
+ 'excluded_posts' => __('posts excluded.', 'relevanssi'),
2369
+ 'options_changed' => __("Settings have changed, please save the options before indexing.", 'relevanssi'),
2370
+ 'reload_state' => __("Reload the page to refresh the state of the index.", 'relevanssi'),
2371
+ 'pdf_reset_confirm' => __("Are you sure you want to delete all PDF content from the index?", 'relevanssi'),
2372
+ 'pdf_reset_done' => __("Relevanssi PDF data wiped clean. Removed entries: ", 'relevanssi'),
2373
+ 'hour' => __("hour", "relevanssi"),
2374
+ 'hours' => __("hours", "relevanssi"),
2375
+ 'about' => __("about", "relevanssi"),
2376
+ 'sixty_min' => __("about an hour", "relevanssi"),
2377
+ 'ninety_min' => __("about an hour and a half", "relevanssi"),
2378
+ 'minute' => __("minute", "relevanssi"),
2379
+ 'minutes' => __("minutes", "relevanssi"),
2380
+ 'underminute' => __("less than a minute", "relevanssi"),
2381
+ 'notimeremaining' => __("we're done!", "relevanssi"),
2382
+
2383
+ );
2384
+
2385
+ wp_localize_script( 'relevanssi_admin_js', 'relevanssi', $translation );
2386
  }
 
lib/search.php CHANGED
@@ -472,7 +472,10 @@ function relevanssi_search($args) {
472
  }
473
  $min_length = get_option('relevanssi_min_word_length');
474
  $search_again = false;
475
-
 
 
 
476
  $title_boost = floatval(get_option('relevanssi_title_boost'));
477
  $link_boost = floatval(get_option('relevanssi_link_boost'));
478
  $comment_boost = floatval(get_option('relevanssi_comment_boost'));
@@ -502,7 +505,7 @@ function relevanssi_search($args) {
502
  !empty($post_type_weights['category']) ? $cat = $post_type_weights['category'] : $cat = $relevanssi_variables['post_type_weight_defaults']['category'];
503
 
504
  $query = "SELECT DISTINCT(relevanssi.doc), relevanssi.*, relevanssi.title * $title_boost +
505
- relevanssi.content + relevanssi.comment * $comment_boost +
506
  relevanssi.tag * $tag + relevanssi.link * $link_boost +
507
  relevanssi.author + relevanssi.category * $cat + relevanssi.excerpt +
508
  relevanssi.taxonomy + relevanssi.customfield + relevanssi.mysqlcolumn AS tf
@@ -511,7 +514,7 @@ function relevanssi_search($args) {
511
 
512
  $query = apply_filters('relevanssi_query_filter', $query);
513
  $matches = $wpdb->get_results($query);
514
-
515
  if (count($matches) < 1) {
516
  continue;
517
  }
@@ -589,7 +592,7 @@ function relevanssi_search($args) {
589
 
590
  $match->tf =
591
  $match->title * $title_boost +
592
- $match->content +
593
  $match->comment * $comment_boost +
594
  $match->link * $link_boost +
595
  $match->author +
@@ -651,7 +654,10 @@ function relevanssi_search($args) {
651
  }
652
  }
653
 
654
- if (!isset($doc_weight)) $no_matches = true;
 
 
 
655
  if ($no_matches) {
656
  if ($search_again) {
657
  // no hits even with fuzzy search!
@@ -667,6 +673,19 @@ function relevanssi_search($args) {
667
  else {
668
  $search_again = false;
669
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
670
  } while ($search_again);
671
 
672
  $strip_stops = true;
@@ -722,6 +741,13 @@ function relevanssi_search($args) {
722
  $return = relevanssi_search($or_args);
723
  extract($return);
724
  }
 
 
 
 
 
 
 
725
  }
726
 
727
  global $wp;
@@ -1276,6 +1302,13 @@ function relevanssi_limit_filter($query) {
1276
 
1277
  function relevanssi_get_negative_post_type() {
1278
  $negative_post_type = NULL;
 
 
 
 
 
 
 
1279
 
1280
  if (get_option('relevanssi_respect_exclude') == 'on') {
1281
  // If Relevanssi is set to respect exclude_from_search, find out which
@@ -1283,19 +1316,14 @@ function relevanssi_get_negative_post_type() {
1283
  if (function_exists('get_post_types')) {
1284
  $pt_1 = get_post_types(array('exclude_from_search' => '1'));
1285
  $pt_2 = get_post_types(array('exclude_from_search' => true));
1286
- $negative_post_type_list = implode(',', array_merge($pt_1, $pt_2));
1287
  }
 
1288
 
1289
- // Post types to exclude.
1290
- if ($negative_post_type_list) {
1291
- if (!is_array($negative_post_type_list)) {
1292
- $negative_post_types = esc_sql(explode(',', $negative_post_type_list));
1293
- }
1294
- else {
1295
- $negative_post_types = esc_sql($negative_post_type_list);
1296
- }
1297
- $negative_post_type = count($negative_post_types) ? "'" . implode( "', '", $negative_post_types) . "'" : NULL;
1298
- }
1299
  }
1300
 
1301
  return $negative_post_type;
472
  }
473
  $min_length = get_option('relevanssi_min_word_length');
474
  $search_again = false;
475
+
476
+ $content_option = get_option('relevanssi_content_boost');
477
+ if (empty($content_option)) $content_option = 1;
478
+ $content_boost = floatval($content_option);
479
  $title_boost = floatval(get_option('relevanssi_title_boost'));
480
  $link_boost = floatval(get_option('relevanssi_link_boost'));
481
  $comment_boost = floatval(get_option('relevanssi_comment_boost'));
505
  !empty($post_type_weights['category']) ? $cat = $post_type_weights['category'] : $cat = $relevanssi_variables['post_type_weight_defaults']['category'];
506
 
507
  $query = "SELECT DISTINCT(relevanssi.doc), relevanssi.*, relevanssi.title * $title_boost +
508
+ relevanssi.content * $content_boost + relevanssi.comment * $comment_boost +
509
  relevanssi.tag * $tag + relevanssi.link * $link_boost +
510
  relevanssi.author + relevanssi.category * $cat + relevanssi.excerpt +
511
  relevanssi.taxonomy + relevanssi.customfield + relevanssi.mysqlcolumn AS tf
514
 
515
  $query = apply_filters('relevanssi_query_filter', $query);
516
  $matches = $wpdb->get_results($query);
517
+
518
  if (count($matches) < 1) {
519
  continue;
520
  }
592
 
593
  $match->tf =
594
  $match->title * $title_boost +
595
+ $match->content * $content_boost +
596
  $match->comment * $comment_boost +
597
  $match->link * $link_boost +
598
  $match->author +
654
  }
655
  }
656
 
657
+ if (!isset($doc_weight)) {
658
+ $doc_weight = array();
659
+ $no_matches = true;
660
+ }
661
  if ($no_matches) {
662
  if ($search_again) {
663
  // no hits even with fuzzy search!
673
  else {
674
  $search_again = false;
675
  }
676
+ $params = array(
677
+ 'no_matches' => $no_matches,
678
+ 'doc_weight' => $doc_weight,
679
+ 'terms' => $terms,
680
+ 'o_term_cond' => $o_term_cond,
681
+ 'search_again' => $search_again,
682
+ );
683
+ $params = apply_filters('relevanssi_search_again', $params);
684
+ $search_again = $params['search_again'];
685
+ $terms = $params['terms'];
686
+ $o_term_cond = $params['o_term_cond'];
687
+ $doc_weight = $params['doc_weight'];
688
+ $no_matches = $params['no_matches'];
689
  } while ($search_again);
690
 
691
  $strip_stops = true;
741
  $return = relevanssi_search($or_args);
742
  extract($return);
743
  }
744
+ $params = array('args' => $args);
745
+ $params = apply_filters('relevanssi_fallback', $params);
746
+ $args = $params['args'];
747
+ if (isset($params['return'])) {
748
+ $return = $params['return'];
749
+ extract($return);
750
+ }
751
  }
752
 
753
  global $wp;
1302
 
1303
  function relevanssi_get_negative_post_type() {
1304
  $negative_post_type = NULL;
1305
+ global $wp_query;
1306
+
1307
+ $negative_post_type_list = array();
1308
+
1309
+ if (isset($wp_query->query_vars['include_attachments']) && in_array($wp_query->query_vars['include_attachments'], array("0", "off", "false"))) {
1310
+ $negative_post_type_list[] = "attachment";
1311
+ }
1312
 
1313
  if (get_option('relevanssi_respect_exclude') == 'on') {
1314
  // If Relevanssi is set to respect exclude_from_search, find out which
1316
  if (function_exists('get_post_types')) {
1317
  $pt_1 = get_post_types(array('exclude_from_search' => '1'));
1318
  $pt_2 = get_post_types(array('exclude_from_search' => true));
1319
+ $negative_post_type_list = array_merge($negative_post_type_list, $pt_1, $pt_2);
1320
  }
1321
+ }
1322
 
1323
+ // Post types to exclude.
1324
+ if (count($negative_post_type_list) > 0) {
1325
+ $negative_post_types = esc_sql(array_unique($negative_post_type_list));
1326
+ $negative_post_type = count($negative_post_types) ? "'" . implode( "', '", $negative_post_types) . "'" : NULL;
 
 
 
 
 
 
1327
  }
1328
 
1329
  return $negative_post_type;
lib/shortcodes.php CHANGED
@@ -2,6 +2,7 @@
2
 
3
  add_shortcode('search', 'relevanssi_shortcode');
4
  add_shortcode('noindex', 'relevanssi_noindex_shortcode');
 
5
 
6
  function relevanssi_shortcode($atts, $content, $name) {
7
  global $wpdb;
@@ -37,4 +38,8 @@ function relevanssi_noindex_shortcode_indexing($atts, $content) {
37
  return '';
38
  }
39
 
 
 
 
 
40
  ?>
2
 
3
  add_shortcode('search', 'relevanssi_shortcode');
4
  add_shortcode('noindex', 'relevanssi_noindex_shortcode');
5
+ add_shortcode('searchform', 'relevanssi_search_form');
6
 
7
  function relevanssi_shortcode($atts, $content, $name) {
8
  global $wpdb;
38
  return '';
39
  }
40
 
41
+ function relevanssi_search_form() {
42
+ return get_search_form();
43
+ }
44
+
45
  ?>
readme.txt CHANGED
@@ -3,9 +3,9 @@ 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.9
7
  Requires PHP: 5.6
8
- Stable tag: 3.6.2.2
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
@@ -25,6 +25,7 @@ This is the free version of Relevanssi. There's also Relevanssi Premium, which h
25
  * Create custom excerpts that show where the hit was made, with the search terms highlighted.
26
  * Highlight search terms in the documents when user clicks through search results.
27
  * Search comments, tags, categories and custom fields.
 
28
 
29
  = Advanced features =
30
  * Adjust the weighting for titles, tags and comments.
@@ -42,8 +43,9 @@ This is the free version of Relevanssi. There's also Relevanssi Premium, which h
42
  Relevanssi is available in two versions, regular and Premium. Regular Relevanssi is and will remain free to download and use. Relevanssi Premium comes with a cost, but will get all the new features. Standard Relevanssi will be updated to fix bugs, but new features will mostly appear in Premium. Also, support for standard Relevanssi depends very much on my mood and available time. Premium pricing includes support.
43
 
44
  = Premium features (only in Relevanssi Premium) =
 
45
  * Improved spelling correction in "Did you mean?" suggestions.
46
- * Multisite support.
47
  * Search and index user profiles.
48
  * Search and index taxonomy term pages (categories, tags, custom taxonomies).
49
  * Search and index arbitrary columns in wp_posts MySQL table.
@@ -62,7 +64,15 @@ Relevanssi owes a lot to [wpSearch](https://wordpress.org/extend/plugins/wpsearc
62
 
63
  Search Unleashed is a popular search plugin, but it hasn't been updated since 2010. Relevanssi is in active development and does what Search Unleashed does.
64
 
 
65
 
 
 
 
 
 
 
 
66
 
67
  == Installation ==
68
 
@@ -266,9 +276,34 @@ Each document database is full of useless words. All the little words that appea
266
  * Marcus Dalgren for UTF-8 fixing.
267
  * Warren Tape for 2.5.5 fixes.
268
  * Mohib Ebrahim for relentless bug hunting.
 
269
 
270
  == Changelog ==
271
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
272
  = 3.6.2.2 =
273
  * A bug in post sorting broke string sorting (mostly post title sorting).
274
 
@@ -1094,6 +1129,9 @@ Each document database is full of useless words. All the little words that appea
1094
 
1095
  == Upgrade notice ==
1096
 
 
 
 
1097
  = 3.6.2.2 =
1098
  * Fixes a bug in string sorting (for example post title ordering).
1099
 
@@ -1200,4 +1238,4 @@ Each document database is full of useless words. All the little words that appea
1200
  * WordPress 3.7 compatibility, couple of minor bug fixes.
1201
 
1202
  = 3.1.8 =
1203
- * 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.9.1
7
  Requires PHP: 5.6
8
+ Stable tag: 4.0
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
25
  * Create custom excerpts that show where the hit was made, with the search terms highlighted.
26
  * Highlight search terms in the documents when user clicks through search results.
27
  * Search comments, tags, categories and custom fields.
28
+ * Multisite friendly.
29
 
30
  = Advanced features =
31
  * Adjust the weighting for titles, tags and comments.
43
  Relevanssi is available in two versions, regular and Premium. Regular Relevanssi is and will remain free to download and use. Relevanssi Premium comes with a cost, but will get all the new features. Standard Relevanssi will be updated to fix bugs, but new features will mostly appear in Premium. Also, support for standard Relevanssi depends very much on my mood and available time. Premium pricing includes support.
44
 
45
  = Premium features (only in Relevanssi Premium) =
46
+ * Indexing PDF content.
47
  * Improved spelling correction in "Did you mean?" suggestions.
48
+ * Searching across multiple sites in the same multisite installation.
49
  * Search and index user profiles.
50
  * Search and index taxonomy term pages (categories, tags, custom taxonomies).
51
  * Search and index arbitrary columns in wp_posts MySQL table.
64
 
65
  Search Unleashed is a popular search plugin, but it hasn't been updated since 2010. Relevanssi is in active development and does what Search Unleashed does.
66
 
67
+ == Screenshots ==
68
 
69
+ 1. Overview page
70
+ 2. Indexing settings
71
+ 3. Searching settings
72
+ 4. Logging settings
73
+ 5. Excerpts and highlights
74
+ 6. Synonym settings
75
+ 7. Stopword settings
76
 
77
  == Installation ==
78
 
276
  * Marcus Dalgren for UTF-8 fixing.
277
  * Warren Tape for 2.5.5 fixes.
278
  * Mohib Ebrahim for relentless bug hunting.
279
+ * John Calahan for extensive 4.0 beta testing.
280
 
281
  == Changelog ==
282
 
283
+ = 4.0 =
284
+ * Legacy code has been removed. If you have a version older than 3.6, update first to 3.6.2.2 to guarantee smooth upgrade process.
285
+ * Improved indexing: no more clicking "Continue indexing" again and again!
286
+ * Settings pages have been completely rewritten.
287
+ * There's documentation in the WordPress contextual help: just click Help on the top right corner.
288
+ * Better Polylang support. A new option to remove the Polylang language filter.
289
+ * Logs can be automatically trimmed. Old log entries are removed to save space.
290
+ * Finally a setting to adjust content weight!
291
+ * Excerpts can use the custom field content.
292
+ * Highlighting in documents is changed: it now requires a `highlight` query parameter. This helps getting pass caching and makes the highlighting more reliable. To get the query parameter active, use `relevanssi_get_permalink()` to print out the permalinks on the search results templates.
293
+ * Relevanssi added synonyms to highlighting even if synonyms were not used for searching. In some cases, synonyms were added twice.
294
+ * The User Searches page got a makeover, too.
295
+ * Relevanssi is automatically disabled in REST API searches.
296
+ * Groups and Simple Membership support has been improved.
297
+ * Sorting search results is now up to 300 times faster than before.
298
+ * Lots of improvements all over the place.
299
+ * New filter: `relevanssi_excerpt_custom_field_content` lets you modify custom field content that is used for excerpts.
300
+ * New filter: `relevanssi_punctuation_filter` allows for easy modification of punctuation handling.
301
+ * New filter: `relevanssi_default_punctuation_replacement` changes the default way to handle the rest of the punctuation.
302
+ * New filter: `relevanssi_search_again` lets you run the search again if no results are found and to modify the parameters between search runs.
303
+ * New filter: `relevanssi_fallback` allows you to do fallback searches.
304
+ * New filter: `relevanssi_page_builder_shortcodes` lets you control which page builder shortcodes Relevanssi removes before building the excerpts.
305
+ * New filter: `relevanssi_optimize_excerpts` makes excerpt-building faster, if you make the filter return `true`.
306
+
307
  = 3.6.2.2 =
308
  * A bug in post sorting broke string sorting (mostly post title sorting).
309
 
1129
 
1130
  == Upgrade notice ==
1131
 
1132
+ = 4.0 =
1133
+ * Major new release. Testing at staging is recommended. Deactivate and reactivate after upgrade!
1134
+
1135
  = 3.6.2.2 =
1136
  * Fixes a bug in string sorting (for example post title ordering).
1137
 
1238
  * WordPress 3.7 compatibility, couple of minor bug fixes.
1239
 
1240
  = 3.1.8 =
1241
+ * Recommended for users of WPML and BBpress. Category exclusions and restrictions are also fixed.
relevanssi-cz_CZ.mo DELETED
Binary file
relevanssi-cz_CZ.po DELETED
@@ -1,748 +0,0 @@
1
- # Translation of Plugins - Relevanssi - A Better Search - Stable (latest release) in Czech
2
- # This file is distributed under the same license as the Plugins - Relevanssi - A Better Search - Stable (latest release) package.
3
- msgid ""
4
- msgstr ""
5
- "PO-Revision-Date: 2017-01-03 20:33-0600\n"
6
- "MIME-Version: 1.0\n"
7
- "Content-Type: text/plain; charset=UTF-8\n"
8
- "Content-Transfer-Encoding: 8bit\n"
9
- "Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n"
10
- "X-Generator: Poedit 1.8.11\n"
11
- "Language: cs_CZ\n"
12
- "Project-Id-Version: Plugins - Relevanssi - A Better Search - Stable (latest release)\n"
13
- "POT-Creation-Date: \n"
14
- "Last-Translator: \n"
15
- "Language-Team: Mik013\n"
16
- "X-Poedit-SourceCharset: UTF-8\n"
17
-
18
- #. Author URI of the plugin/theme
19
- msgid "http://www.mikkosaari.fi/"
20
- msgstr "http://www.mikkosaari.fi/"
21
-
22
- #. Author of the plugin/theme
23
- msgid "Mikko Saari"
24
- msgstr "Mikko Saari"
25
-
26
- #. Description of the plugin/theme
27
- msgid "This plugin replaces WordPress search with a relevance-sorting search."
28
- msgstr "Tento plugin nahrazuje WordPress hledání s vyhledáváním a tříděním podle relevance."
29
-
30
- #. Plugin URI of the plugin/theme
31
- msgid "http://www.relevanssi.com/"
32
- msgstr "http://www.relevanssi.com/"
33
-
34
- #. Plugin Name of the plugin/theme
35
- msgid "Relevanssi"
36
- msgstr "Relevanssi"
37
-
38
- #: relevanssi.php:332
39
- msgid "Category weight:"
40
- msgstr "Váha kategorie:"
41
-
42
- #: relevanssi.php:317
43
- msgid "Tag weight:"
44
- msgstr "Váha tagu:"
45
-
46
- #: lib/uninstall.php:29
47
- msgid "Data wiped clean, you can now delete the plugin."
48
- msgstr "Data vyčištěna dočista, plugin nyní můžete smazat."
49
-
50
- #: lib/interface.php:1395
51
- msgid "Here's a list of stopwords you can use to export the stopwords to another blog."
52
- msgstr "Zde je seznam stopslov, který může být použít k exportu do jiného blogu."
53
-
54
- #: lib/interface.php:1389
55
- msgid "Remove all stopwords"
56
- msgstr "Odstranit všechna stopslova"
57
-
58
- #: lib/interface.php:1363
59
- msgid "<p>Here's a list of stopwords in the database. Click a word to remove it from stopwords. Removing stopwords won't automatically return them to index, so you need to re-index all posts after removing stopwords to get those words back to index."
60
- msgstr "<p>Zde je seznam stopslov v databázi. Kliknutím na slovo jej ze zakázaných odeberete. Po odebrání stopslov se tato automaticky nevrací do indexu, takže po odebrání stopslov je třeba re-indexovat všechny příspěvky, aby se tato slova dostala zpět do indexu."
61
-
62
- #: lib/interface.php:1360
63
- msgid "Add"
64
- msgstr "Přidat"
65
-
66
- #: lib/interface.php:1359
67
- msgid "Stopword(s) to add: "
68
- msgstr "Stopslova k přidání: "
69
-
70
- #: lib/interface.php:1357
71
- msgid "<p>Enter a word here to add it to the list of stopwords. The word will automatically be removed from the index, so re-indexing is not necessary. You can enter many words at the same time, separate words with commas.</p>"
72
- msgstr "<p>Sem zadejte slovo, které chcete přidat do negativního slovníku. Slovo bude automaticky odstraněno z indexu a re-indexování nebude nutné. Můžete zadat více slov najednou, jednotlivá slova oddělujte čárkami.</p>"
73
-
74
- #: lib/interface.php:1332
75
- msgid "Add synonyms here in 'key = value' format. When searching with the OR operator, any search of 'key' will be expanded to include 'value' as well. Using phrases is possible. The key-value pairs work in one direction only, but you can of course repeat the same pair reversed."
76
- msgstr "Zde přidejte synonyma formou 'klíč = hodnota\". Při vyhledávání s operátorem OR, budou všechna hledání \"klíče\" rozšířena také o \"hodnotu\". Také použití frází je možné. Dvojice klíč-hodnota fungují pouze v jednom směru, ale můžete samozřejmě uvést stejný pár opačně."
77
-
78
- #: lib/interface.php:1324
79
- msgid "Save indexing options, erase index and rebuild the index"
80
- msgstr "Uložit nastavení indexování, smazat index a znovu vytvořit index"
81
-
82
- #: lib/interface.php:1314
83
- msgid "A comma-separated list of custom fields to include in the index. Set to 'visible' to index all visible custom fields and to 'all' to index all custom fields, also those starting with a '_' character."
84
- msgstr "Seznam vlastních polí oddělený čárkami, které budou zahrnuty do indexu. Pro indexování všech viditelných vlastních polí nastavte na \"visible\" anebo \"vše\" pro indexaci všech vlastních polí, tedy i těch, které začínající znakem \"_\"."
85
-
86
- #: lib/interface.php:1312
87
- msgid "Custom fields to index:"
88
- msgstr "Vlastní pole k indexování:"
89
-
90
- #: lib/interface.php:1308
91
- msgid "Relevanssi will index and search ALL (all comments including track- &amp; pingbacks and custom comment types), NONE (no comments) or NORMAL (manually posted comments on your blog).<br />Remember to rebuild the index if you change this option!"
92
- msgstr "Relevanssi bude indexovat a prohledávat VŠE (všechny komentáře včetně track- &amp; pingbacks a vlastní typy komentářů), NIC (žádné komentáře) nebo NORMÁLNÍ (ručně odeslané komentáře).<br />Nezapomeňte znovu vytvořit index, pokud tuto možnost změníte!"
93
-
94
- #: lib/interface.php:1306
95
- msgid "all"
96
- msgstr "vše"
97
-
98
- #: lib/interface.php:1305
99
- msgid "normal"
100
- msgstr "normální"
101
-
102
- #: lib/interface.php:1304
103
- msgid "none"
104
- msgstr "nic"
105
-
106
- #: lib/interface.php:1302
107
- msgid "Index and search these comments:"
108
- msgstr "Indexovat a vyhledávat tyto komentáře:"
109
-
110
- #: lib/interface.php:1298
111
- msgid "If checked, Relevanssi will also index and search the excerpts of your posts.Remember to rebuild the index if you change this option!"
112
- msgstr "Je-li zaškrtnuto, Relevanssi bude indexovat a hledat také Stručný obsah vašich příspěvků. Nezapomeňte znovu vytvořit index, pokud tuto možnost změníte!"
113
-
114
- #: lib/interface.php:1296
115
- msgid "Index and search post excerpts:"
116
- msgstr "Indexovat a hledat Stručný obsah příspěvků:"
117
-
118
- #: lib/interface.php:1292
119
- msgid "If checked, Relevanssi will also index and search the authors of your posts. Author display name will be indexed. Remember to rebuild the index if you change this option!"
120
- msgstr "Je-li zaškrtnuto, Relevanssi bude indexovat a hledat také autory vašich příspěvků. Zobrazované jméno autora bude indexováno. Nezapomeňte znovu vytvořit index, pokud tuto možnost změníte!"
121
-
122
- #: lib/interface.php:1290
123
- msgid "Index and search your posts' authors:"
124
- msgstr "Indexovat a hledat vaše příspěvky autorů:"
125
-
126
- #: lib/interface.php:1284
127
- msgid "If checked, Relevanssi will expand shortcodes in post content before indexing. Otherwise shortcodes will be stripped. If you use shortcodes to include dynamic content, Relevanssi will not keep the index updated, the index will reflect the status of the shortcode content at the moment of indexing."
128
- msgstr "Je-li zaškrtnuto, Relevanssi bude před indexováním vykonávat zkrácené kódy v obsahu příspěvků. Jinak by byly vynechány. Pokud používáte zkrácené kódy ke zobrazení dynamického obsahu, Relevanssi nebude udržovat index aktualizovaný, index bude odrážet pouze stav obsahu zkráceného kódu v okamžiku indexování."
129
-
130
- #: lib/interface.php:1282
131
- msgid "Expand shortcodes in post content:"
132
- msgstr "Vykonávat zkrácené kódy v obsahu příspěvku:"
133
-
134
- #: lib/interface.php:1276
135
- msgid "Words shorter than this number will not be indexed."
136
- msgstr "Slova kratší než tento počet nebudou indexována."
137
-
138
- #: lib/interface.php:1274
139
- msgid "Minimum word length to index"
140
- msgstr "Minimální délka slova k indexování"
141
-
142
- #: lib/interface.php:1270
143
- msgid "If you check a taxonomy here, the terms for that taxonomy are indexed with the posts. If you for example choose \"post_tag\", searching for tags will find all posts that have the tag."
144
- msgstr "Pokud zde zaškrtnete taxonomii, výrazy pro tuto taxonomii jsou indexovány spolu s příspěvky. Pokud například zvolíte \"post_tag\" hledal tagů najdete všechny příspěvky, které mají takový tag."
145
-
146
- #: lib/interface.php:1233
147
- msgid "Taxonomy"
148
- msgstr "Taxonomie"
149
-
150
- #: lib/interface.php:1228
151
- msgid "Choose taxonomies to index:"
152
- msgstr "Vyberte taxonomii k indexování:"
153
-
154
- #: lib/interface.php:1207 lib/interface.php:1250
155
- msgid "no"
156
- msgstr "ne"
157
-
158
- #: lib/interface.php:1207 lib/interface.php:1250
159
- msgid "yes"
160
- msgstr "ano"
161
-
162
- #: lib/interface.php:1206 lib/interface.php:1249
163
- msgid "%s"
164
- msgstr "%s"
165
-
166
- #: lib/interface.php:1189 lib/interface.php:1235
167
- msgid "Public?"
168
- msgstr "Veřejné?"
169
-
170
- #: lib/interface.php:1188 lib/interface.php:1234
171
- msgid "Index"
172
- msgstr "Index"
173
-
174
- #: lib/interface.php:1187
175
- msgid "Type"
176
- msgstr "Typ"
177
-
178
- #: lib/interface.php:1182
179
- msgid "Choose post types to index:"
180
- msgstr "Vyberte typy příspěvků k indexování:"
181
-
182
- #: lib/interface.php:1178 lib/interface.php:1336
183
- msgid "Save the options"
184
- msgstr "Uložit nastavení"
185
-
186
- #: lib/interface.php:1171
187
- msgid "Name a class here, search results will be wrapped in a &lt;span&gt; with the class"
188
- msgstr "Uveďte třídu zde, výsledky vyhledávání budou zabaleny v &lt;span&gt; se třídou"
189
-
190
- #: lib/interface.php:1169
191
- msgid "CSS class for highlights:"
192
- msgstr "CSS třída pro zvýraznění"
193
-
194
- #: lib/interface.php:1165
195
- msgid "You can use any CSS styling here, style will be inserted with a &lt;span&gt;"
196
- msgstr "Zde můžete použít jakýkoli CSS styl , styl bude vložen pomocí &lt;span&gt;"
197
-
198
- #: lib/interface.php:1163
199
- msgid "CSS style for highlights:"
200
- msgstr "CSS styl pro zvýraznění"
201
-
202
- #: lib/interface.php:1157
203
- msgid "Background color for highlights:"
204
- msgstr "Barva pozadí pro zvýraznění"
205
-
206
- #: lib/interface.php:1153 lib/interface.php:1159
207
- msgid "Use HTML color codes (#rgb or #rrggbb)"
208
- msgstr "Použijte HTML kódy barev (#rgb či #rrggbb)"
209
-
210
- #: lib/interface.php:1151
211
- msgid "Text color for highlights:"
212
- msgstr "Barva textu pro zvýraznění"
213
-
214
- #: lib/interface.php:1147
215
- msgid "Then adjust the settings for your chosen type:"
216
- msgstr "Poté upravte nastavení pro zvolený typ:"
217
-
218
- #: lib/interface.php:1142
219
- msgid "If you use non-ASCII characters (like Cyrillic alphabet) and the highlights don't work, uncheck this option to make highlights work."
220
- msgstr "Pokud používáte jiné znaky než ASCII (např. azbuku) a zvýraznění nefungují, odškrtněte tuto volbu, aby zvýraznění začalo fungovat."
221
-
222
- #: lib/interface.php:1140
223
- msgid "Uncheck this if you use non-ASCII characters:"
224
- msgstr "Odškrtněte tuto možnost, pokud používáte jiné znaky než ASCII:"
225
-
226
- #: lib/interface.php:1136
227
- msgid "Highlights hits in comments when user opens the post from search results."
228
- msgstr "Zvýraznit shody v komentářích, když uživatel příspěvek otevře z výsledků vyhledávání."
229
-
230
- #: lib/interface.php:1134
231
- msgid "Highlight query terms in comments:"
232
- msgstr "Zvýraznit hledané výrazy v komentářích:"
233
-
234
- #: lib/interface.php:1128
235
- msgid "Highlights hits when user opens the post from search results. This is based on HTTP referrer, so if that's blocked, there'll be no highlights."
236
- msgstr "Zvýraznit shody, když uživatel příspěvek otevře z výsledků vyhledávání. To je založeno na HTTP referreru, takže pokud bude blokován, nic nebude zvýrazněno."
237
-
238
- #: lib/interface.php:1126
239
- msgid "Highlight query terms in documents from local searches:"
240
- msgstr "Zvýraznit hledané výrazy v dokumentech z místního vyhledávání:"
241
-
242
- #: lib/interface.php:1120
243
- msgid "Highlight query terms in result titles too:"
244
- msgstr "Zvýraznit hledané výrazy také v názvech výsledků:"
245
-
246
- #: lib/interface.php:1116
247
- msgid "Highlighting isn't available unless you use custom snippets"
248
- msgstr "Zvýraznění není k dispozici, pokud budete používat vlastní úryvky"
249
-
250
- #: lib/interface.php:1114
251
- msgid "CSS Class"
252
- msgstr "CSS Třída"
253
-
254
- #: lib/interface.php:1113
255
- msgid "CSS Style"
256
- msgstr "CSS Kaskádový styl"
257
-
258
- #: lib/interface.php:1112
259
- msgid "Background color"
260
- msgstr "Barva pozadí"
261
-
262
- #: lib/interface.php:1111
263
- msgid "Text color"
264
- msgstr "Barva textu"
265
-
266
- #: lib/interface.php:1107
267
- msgid "No highlighting"
268
- msgstr "Žádné zvýraznění"
269
-
270
- #: lib/interface.php:1105
271
- msgid "Highlight query terms in search results:"
272
- msgstr "Zvýraznit hledané výrazy ve výsledcích vyhledávání:"
273
-
274
- #: lib/interface.php:1102
275
- msgid "First, choose the type of highlighting used:"
276
- msgstr "Nejprve vyberte jaký typ zvýraznění používat:"
277
-
278
- #: lib/interface.php:1100
279
- msgid "Search hit highlighting"
280
- msgstr "Zvýraznění nalezené shody"
281
-
282
- #: lib/interface.php:1098
283
- msgid "Use %body%, %title%, %tags% and %comments% to display the number of hits (in different parts of the post), %total% for total hits, %score% to display the document weight and %terms% to show how many hits each search term got. No double quotes (\") allowed!"
284
- msgstr "Použijte %body%, %title%, %tags% a %comments% pro zobrazení počtu shod (v různých částech příspěvku), %total% pro součet shod, %score% pro zobrazení váhy dokumentu a %terms% pro zobrazení kolik měl hledaný výraz shod. Nejsou povoleny žádné uvozovky (\")!"
285
-
286
- #: lib/interface.php:1096
287
- msgid "The breakdown format:"
288
- msgstr "Formát členění:"
289
-
290
- #: lib/interface.php:1092
291
- msgid "Check this to show more information on where the search hits were made. Requires custom snippets to work."
292
- msgstr "Zaškrtněte, pro více informací o tom, kde došlo ke shodě při vyhledávaní. Pro správnou funkci jsou vyžadovány vlastní úryvky."
293
-
294
- #: lib/interface.php:1090
295
- msgid "Show breakdown of search hits in excerpts:"
296
- msgstr "Zobrazit náhledy nalezených výsledků shod:"
297
-
298
- #: lib/interface.php:1086
299
- msgid "List all tags you want to allow in excerpts, without any whitespace. For example: '&lt;p&gt;&lt;a&gt;&lt;strong&gt;'."
300
- msgstr "Vyjmenovat všechny tagy, které chcete povolit ve Stručných obsazích, a to bez jakékoliv mezery. Například: '&lt;p&gt;&lt;a&gt;&lt;strong&gt;'."
301
-
302
- #: lib/interface.php:1083
303
- msgid "Allowable tags in excerpts:"
304
- msgstr "Přípustné tagy ve Stručných obsazích"
305
-
306
- #: lib/interface.php:1079
307
- msgid "This must be an integer."
308
- msgstr "Zde musí být číslo."
309
-
310
- #: lib/interface.php:1077
311
- msgid "words"
312
- msgstr "slov"
313
-
314
- #: lib/interface.php:1076
315
- msgid "characters"
316
- msgstr "znaků"
317
-
318
- #: lib/interface.php:1073
319
- msgid "Length of the snippet:"
320
- msgstr "Délka úryvku:"
321
-
322
- #: lib/interface.php:1071
323
- msgid "Note: Building custom excerpts can be slow. If you are not actually using the excerpts, make sure you disable the option."
324
- msgstr "Poznámka: Vytváření vlastních stručných seznamů může být pomalé. Pokud vlastní stručné seznamy nepoužíváte, ujistěte se, že tato volba zůstane vypnutá."
325
-
326
- #: lib/interface.php:1069
327
- msgid "If checked, Relevanssi will create excerpts that contain the search term hits. To make them work, make sure your search result template uses the_excerpt() to display post excerpts."
328
- msgstr "Je-li zaškrtnuto, Relevanssi vytvoří náhled, který obsahuje shodu hledaného výrazu. Pro správnou funkcionalitu se ujistěte, že vaše šablona výsledků vyhledávání používá the_excerpt() pro zobrazení stručných seznamů."
329
-
330
- #: lib/interface.php:1067
331
- msgid "Create custom search result snippets:"
332
- msgstr "Vytvářet vlastní výsledky vyhledávání úryvků:"
333
-
334
- #: lib/interface.php:1065
335
- msgid "Custom excerpts/snippets"
336
- msgstr "Vlastní Náhledy / úryvky"
337
-
338
- #: lib/interface.php:1063
339
- msgid "If checked, Relevanssi won't display posts of custom post types that have 'exclude_from_search' set to true. If not checked, Relevanssi will display anything that is indexed."
340
- msgstr "Je-li zaškrtnuto, Relevanssi nezobrazí příspěvky vlastních typů, které mají nastaveno \"exclude_from_search\" na true. Pokud není zaškrtnuto, Relevanssi zobrazí vše, co je indexováno."
341
-
342
- #: lib/interface.php:1061
343
- msgid "Respect exclude_from_search for custom post types:"
344
- msgstr "Respektovat exclude_from_search pro vlastní typy příspěvků:"
345
-
346
- #: lib/interface.php:1055
347
- msgid "Enter a comma-separated list of post/page IDs that are excluded from search results. This only works here, you can't use the input field option (WordPress doesn't pass custom parameters there)."
348
- msgstr "Zadejte seznam ID příspěvků / stránek oddělených čárkami, které mají být vyloučeny z výsledků vyhledávání. Toto funguje jen zde, nemůžete použít volbu u vstupního pole (WordPress tam nepovoluje vlastní parametry)."
349
-
350
- #: lib/interface.php:1052
351
- msgid "Enter a comma-separated list of post/page IDs that are excluded from search results. This only works here, you can't use the input field option (WordPress doesn't pass custom parameters there). You can also use a checkbox on post/page edit pages to remove posts from index."
352
- msgstr "Zadejte seznam ID příspěvků / stránek oddělených čárkami, které mají být vyloučeny z výsledků vyhledávání. Toto funguje jen zde, nemůžete použít volbu u vstupního pole (WordPress tam nepovoluje vlastní parametry). Můžete také použít zaškrtávací políčko na příspěvku / stránce při editaci - odstranit příspěvek z indexu."
353
-
354
- #: lib/interface.php:1048
355
- msgid "Exclude these posts/pages from search:"
356
- msgstr "Vyloučit tyto příspěvky / stránky z vyhledávání:"
357
-
358
- #: lib/interface.php:1044
359
- msgid "Enter a comma-separated list of tag IDs that are excluded from search results."
360
- msgstr "Zadejte seznam ID tagů oddělených čárkami, které mají být vyloučeny z výsledků vyhledávání."
361
-
362
- #: lib/interface.php:1042
363
- msgid "Exclude these tags from search:"
364
- msgstr "Vyloučit tyto tagy z vyhledávání:"
365
-
366
- #: lib/interface.php:1038
367
- msgid "Enter a comma-separated list of category IDs that are excluded from search results."
368
- msgstr "Zadejte seznam ID kategorií oddělených čárkami, které mají být vyloučeny z výsledků vyhledávání."
369
-
370
- #: lib/interface.php:1036
371
- msgid "Exclude these categories from search:"
372
- msgstr "Vyloučit tyto kategorie z vyhledávání:"
373
-
374
- #: lib/interface.php:1032
375
- msgid "Enter a comma-separated list of category and tag IDs to restrict search to those categories or tags. You can also use <code>&lt;input type='hidden' name='cats' value='list of cats and tags' /&gt;</code> in your search form. The input field will \toverrun this setting."
376
- msgstr "Zadejte seznam kategorií a ID tagů oddělený čárkami pro omezení vyhledávání na pouze na tyto kategorie nebo tagy. Můžete také použít <code>&lt;input type='hidden' name='cats' value='list of cats and tags' /&gt;</code> ve vyhledávacím formuláři. Vstupní pole bude převáží toto nastavení."
377
-
378
- #: lib/interface.php:1030
379
- msgid "Restrict search to these categories and tags:"
380
- msgstr "Omezit vyhledávání pouze těchto kategorií a tagů:"
381
-
382
- #: lib/interface.php:1022
383
- msgid "If you enable logs, you can see what your users are searching for. Logs are also needed to use the 'Did you mean?' feature. You can prevent your own searches from getting in the logs with the omit feature."
384
- msgstr "Pokud povolíte logování, můžete vidět, co vaši uživatelé hledají. Protokoly jsou zapotřebí také pro funkci \"Měli jste na mysli?\". Můžete však zabránit tomu, aby vaše vlastní vyhledávání byla logována."
385
-
386
- #: lib/interface.php:1019
387
- msgid "If you enable logs, you can see what your users are searching for. You can prevent your own searches from getting in the logs with the omit feature."
388
- msgstr "Pokud povolíte logování, můžete vidět, co vaši uživatelé hledají. Můžete však zabránit tomu, aby vaše vlastní vyhledávání byla logována."
389
-
390
- #: lib/interface.php:1015
391
- msgid "Comma-separated list of numeric user IDs or user login names that will not be logged."
392
- msgstr "Čárkou oddělený seznam uživatelských jmen, nebo jejich číselných ID, jejichž hledání nebude logováno."
393
-
394
- #: lib/interface.php:1013
395
- msgid "Don't log queries from these users:"
396
- msgstr "Nelogovat dotazy od těchto uživatelů:"
397
-
398
- #: lib/interface.php:1009
399
- msgid "If checked, Relevanssi will log user's IP-Adress with the queries."
400
- msgstr "Je-li zaškrtnuto, Relevanssi bude spolu s u6ivatelovými dotazy logovat i jeho IP adresu."
401
-
402
- #: lib/interface.php:1007
403
- msgid "Log the user's IP with the queries:"
404
- msgstr "Spolu s dotazy logovat i uživatelovu IP:"
405
-
406
- #: lib/interface.php:1003
407
- msgid "If checked, Relevanssi will log user queries. The log appears in 'User searches' on the Dashboard admin menu."
408
- msgstr "Je-li zaškrtnuto, Relevanssi bude logovat uživatelské dotazy. Log se objeví v \"Návštěvník vyhledává\" v admin menu Nástěnka."
409
-
410
- #: lib/interface.php:1001
411
- msgid "Keep a log of user queries:"
412
- msgstr "Zachovat log uživatelských dotazů:"
413
-
414
- #: lib/interface.php:995
415
- msgid "If this option is checked, Relevanssi will only return results in the current active language. Otherwise results will include posts in every language."
416
- msgstr ""
417
-
418
- #: lib/interface.php:993
419
- msgid "Limit results to current language:"
420
- msgstr "Omezit výsledky pouze pro aktuální jazyk:"
421
-
422
- #: lib/interface.php:991
423
- msgid "WPML/Polylang compatibility"
424
- msgstr "WPML kompatibilita"
425
-
426
- #: lib/interface.php:970
427
- msgid "Comment text"
428
- msgstr "Text komentáře"
429
-
430
- #: lib/interface.php:958
431
- msgid "Post titles"
432
- msgstr "Názvy příspěvků"
433
-
434
- #: lib/interface.php:953
435
- msgid "Default weight"
436
- msgstr "Výchozí váha"
437
-
438
- #: lib/interface.php:952
439
- msgid "Weight"
440
- msgstr "Váha"
441
-
442
- #: lib/interface.php:951
443
- msgid "Element"
444
- msgstr "Prvek"
445
-
446
- #: lib/interface.php:946
447
- msgid "These values affect the weights of the documents. These are all multipliers, so 1 means no change in weight, less than 1 means less weight, and more than 1 means more weight. Setting something to zero makes that worthless. For example, if title weight is more than 1, words in titles are more significant than words elsewhere. If title weight is 0, words in titles won't make any difference to the search results."
448
- msgstr "Tyto hodnoty ovlivňují váhu dokumentů. Všechno jsou to násobky, takže 1 znamená žádnou změnu váhy, menší než 1, znamená snížení váhy a více než 1 znamená větší váhu. Nastavení položky na nulu z ní udělá bezcennou. Například, pokud váha názvu je větší než 1, slova v názvech budou mnohem významnější než slova jinde. Pokud bude váha názvu 0, nebudou mít slova v názvech žádnou hodnotu pro výsledky vyhledávání."
449
-
450
- #: lib/interface.php:936
451
- msgid "For better performance, adjust the limit to a smaller number. Adjusting the limit to 100 or 200 should be safe for good results, and might bring a boost in search speed. DO NOT use this feature to limit the number of search results on search results pages, as that will lead to problems. For adjusting the number of search results displayed, see <a href='%s'>this knowledge base entry</a>."
452
- msgstr "Pro lepší výkon, nastavte limit na menší číslo. Nastavení limitu na 100 nebo 200 by mělo být bezpečné pro dobré výsledky, zároveň může přinést zvýšení rychlosti vyhledávání. NEPOUŽÍVEJTE tuto funkci pro omezení počtu výsledků na stránce výsledků vyhledávání, protože to povede k problémům. Pro nastavení počtu zobrazených výsledků vyhledávání na stránku si přečtěte <a href='%s'>článek v této znalostní bázi</a>."
453
-
454
- #: lib/interface.php:934
455
- msgid "Limit:"
456
- msgstr "Limit:"
457
-
458
- #: lib/interface.php:930
459
- msgid "If this option is checked, Relevanssi will limit search results to at most 500 results per term. This will improve performance, but may cause some relevant documents to go unfound. However, Relevanssi tries to prioritize the most relevant documents. <strong>This does not work well when sorting results by date.</strong> The throttle can end up cutting off recent posts to favour more relevant posts."
460
- msgstr "Pokud je tato volba aktivní, Relevanssi omezí výsledky vyhledávání na maximálně 500 výsledků na výraz. Tím se zlepší výkon, ale může to způsobit, že některé relevantní dokumenty nebudou nalezeny. Nicméně, Relevanssi se snaží upřednostnit nejrelevantnější dokumenty. <strong>Což úplně neplatí, pokud jsou výsledky řazeny podle data.</strong> Nastavení tak může upřednostnit nedávné příspěvkz před jinak relevantnějšími."
461
-
462
- #: lib/interface.php:928
463
- msgid "Limit searches:"
464
- msgstr "Limit hledání"
465
-
466
- #: lib/interface.php:920
467
- msgid "Straight search matches just the term. Fuzzy search matches everything that begins or ends with the search term."
468
- msgstr "Přímé vyhledávání najde jen přesný výraz. Přibližné vyhledávání najde vše, co začíná nebo končí hledaným výrazem."
469
-
470
- #: lib/interface.php:918
471
- msgid "Don't use fuzzy search"
472
- msgstr "Nepoužívat přibližné vyhledávání"
473
-
474
- #: lib/interface.php:917
475
- msgid "Always"
476
- msgstr "Vždy"
477
-
478
- #: lib/interface.php:916
479
- msgid "When straight search gets no hits"
480
- msgstr "Když přímé hledání nevrátí žádný výsledek"
481
-
482
- #: lib/interface.php:914
483
- msgid "When to use fuzzy matching?"
484
- msgstr "Kdy použít přibližnou shodu?"
485
-
486
- #: lib/interface.php:910
487
- msgid "If you want date-based results, see the recent post bonus in the Weights section."
488
- msgstr "Chcete-li výsledky na základě data vytvoření, přejděte na sekci Váhy."
489
-
490
- #: lib/interface.php:908
491
- msgid "Post date"
492
- msgstr "Datum příspěvku"
493
-
494
- #: lib/interface.php:907
495
- msgid "Relevance (highly recommended)"
496
- msgstr "Relevance (výrazně doporučeno)"
497
-
498
- #: lib/interface.php:905
499
- msgid "Default order for results:"
500
- msgstr "Výchozí řazení výsledků"
501
-
502
- #: lib/interface.php:901
503
- msgid "If you don't want Relevanssi to fall back to OR search when AND search gets no hits, check this option. For most cases, leave this one unchecked."
504
- msgstr "Pokud nechcete aby Relevanssi přešlo do hledání s OR, pokud hledání AND nenajde žádný výsledek, zaškrtněte tuto volbu. Ve většině případů ponechte nezaškrtnuté."
505
-
506
- #: lib/interface.php:899
507
- msgid "Disable OR fallback:"
508
- msgstr "Zakázat automatické přepnutí na OR"
509
-
510
- #: lib/interface.php:895
511
- msgid "If you choose AND and the search finds no matches, it will automatically do an OR search."
512
- msgstr "Zvolíte-li AND a hledání najde žádnou shodu, bude automaticky provedeno hledání s operátorem OR."
513
-
514
- #: lib/interface.php:893
515
- msgid "OR - any term present is enough"
516
- msgstr "OR - výskyt jakéhokoli výrazu je dostatečný"
517
-
518
- #: lib/interface.php:892
519
- msgid "AND - require all terms"
520
- msgstr "AND - vyžaduje všechny výrazy"
521
-
522
- #: lib/interface.php:890
523
- msgid "Default operator for the search?"
524
- msgstr "Výchozí operátor pro vyhledávání?"
525
-
526
- #: lib/interface.php:886
527
- msgid "If checked, Relevanssi will be used for searches in the admin interface"
528
- msgstr "Je-li zaškrtnuto, bude Relevanssi použito i pro vyhledávání v administrátorském rozhraní"
529
-
530
- #: lib/interface.php:884
531
- msgid "Use search for admin:"
532
- msgstr "Použít vyhledávání pro admin:"
533
-
534
- #: lib/interface.php:875
535
- msgid "Highest post ID indexed"
536
- msgstr "Nejvyšší ID zaindexovaného příspěvku"
537
-
538
- #: lib/interface.php:874
539
- msgid "Terms in the index"
540
- msgstr "Výrazy v indexu"
541
-
542
- #: lib/interface.php:873
543
- msgid "Documents in the index"
544
- msgstr "Dokumentů v indexu"
545
-
546
- #: lib/interface.php:871
547
- msgid "State of the Index"
548
- msgstr "Stav indexu"
549
-
550
- #: lib/interface.php:869
551
- msgid "Use 'Build the index' to build the index with current <a href='#indexing'>indexing options</a>. If you can't finish indexing with one go, use 'Continue indexing' to finish the job. You can change the number of documents to add until you find the largest amount you can add with one go. See 'State of the Index' below to find out how many documents actually go into the index."
552
- msgstr "Použijte 'Vytvořit index' k vytvoření indexu s aktuálním <a href='#indexing'>nastavením indexování</a>. Pokud nemůže dokončit indexování najednou, použijte \"Pokračovat v indexování\", pro dokončení úlohy. Můžete měnit počet dokumentů, které přidáváte, dokud nenajdete největší počet, který můžete zpracovat na jeden zátah. Viz \"Stav Indexu\" kde zjistíte, kolik dokumentů je skutečně zaindexováno."
553
-
554
- #: lib/interface.php:865
555
- msgid "WARNING: You've chosen no post types to index. Nothing will be indexed. <a href='#indexing'>Choose some post types to index</a>."
556
- msgstr "POZOR: Nevybrali jste žádný typ příspěvků k indexování. Nic nebude indexováno. <a href='#indexing'>Vyberte k indexování některé typy příspěvků</a>."
557
-
558
- #: lib/interface.php:861
559
- msgid "documents."
560
- msgstr "dokumentů."
561
-
562
- #: lib/interface.php:861
563
- msgid "add"
564
- msgstr "přidat"
565
-
566
- #: lib/interface.php:861 lib/interface.php:1326
567
- msgid "Continue indexing"
568
- msgstr "Pokračovat v indexování"
569
-
570
- #: lib/interface.php:860
571
- msgid "Build the index"
572
- msgstr "Vytvořit index"
573
-
574
- #: lib/interface.php:859
575
- msgid "Save options"
576
- msgstr "Uložit nastavení"
577
-
578
- #: lib/interface.php:857
579
- msgid "Quick tools"
580
- msgstr "Rychlé nástroje"
581
-
582
- #: lib/interface.php:852
583
- msgid "Buy Relevanssi Premium"
584
- msgstr "Koupit Relevanssi Premium"
585
-
586
- #: lib/interface.php:849
587
- msgid "Import/export options"
588
- msgstr "Import/export nastavení"
589
-
590
- #: lib/interface.php:846 lib/interface.php:1338
591
- msgid "Stopwords"
592
- msgstr "Stopslova"
593
-
594
- #: lib/interface.php:845 lib/interface.php:1328
595
- msgid "Synonyms"
596
- msgstr "Synonyma"
597
-
598
- #: lib/interface.php:844 lib/interface.php:1180
599
- msgid "Indexing options"
600
- msgstr "Možnosti indexování"
601
-
602
- #: lib/interface.php:843
603
- msgid "Highlighting search results"
604
- msgstr "Zvýraznění výsledků hledání"
605
-
606
- #: lib/interface.php:842
607
- msgid "Custom excerpts"
608
- msgstr "Vlastní náhledy"
609
-
610
- #: lib/interface.php:841 lib/interface.php:1028
611
- msgid "Exclusions and restrictions"
612
- msgstr "Výjimky a omezení"
613
-
614
- #: lib/interface.php:840 lib/interface.php:999
615
- msgid "Logs"
616
- msgstr "Logy"
617
-
618
- #: lib/interface.php:839 lib/interface.php:944
619
- msgid "Weights"
620
- msgstr "Váhy"
621
-
622
- #: lib/interface.php:838 lib/interface.php:878
623
- msgid "Basic options"
624
- msgstr "Základní nastavení"
625
-
626
- #: lib/interface.php:529
627
- msgid "Hits"
628
- msgstr "Hity"
629
-
630
- #: lib/interface.php:529
631
- msgid "Query"
632
- msgstr "Dotaz"
633
-
634
- #: lib/interface.php:499
635
- msgid "Searches"
636
- msgstr "Vyhledávání"
637
-
638
- #: lib/interface.php:499
639
- msgid "When"
640
- msgstr "Kdy"
641
-
642
- #: lib/interface.php:497
643
- msgid "Forever"
644
- msgstr "Od počátku"
645
-
646
- #: lib/interface.php:480
647
- msgid "To reset the logs, type \"reset\" into the box here %s and click %s"
648
- msgstr "Logy lze promazat zapsáním řetězce \"reset\" do tohoto pole %s a kliknutím na tlačítko %s"
649
-
650
- #: lib/interface.php:477
651
- msgid "Reset Logs"
652
- msgstr "Vymazat logy"
653
-
654
- #: lib/interface.php:459
655
- msgid "Unsuccessful Queries"
656
- msgstr "Neúspěšné vyhledávací dotazy"
657
-
658
- #: lib/interface.php:454 lib/interface.php:470 lib/interface.php:496
659
- msgid "Last 30 days"
660
- msgstr "Posledních 30 dní"
661
-
662
- #: lib/interface.php:450 lib/interface.php:466 lib/interface.php:495
663
- msgid "Last 7 days"
664
- msgstr "Posledních 7 dní"
665
-
666
- #: lib/interface.php:446 lib/interface.php:462 lib/interface.php:494
667
- msgid "Today and yesterday"
668
- msgstr "Dnes a včera"
669
-
670
- #: lib/interface.php:440
671
- msgid "Here you can see the 20 most common user search queries, how many times those queries were made and how many results were found for those queries."
672
- msgstr "Zde můžete vidět 20 nejčastěji vyhledávaných výrazů, kolikrát byly tyto, řetězce hledány a kolik výsledků bylo u těch dotazů nalezeno."
673
-
674
- #: lib/interface.php:438
675
- msgid "Common Queries"
676
- msgstr "Často vyhledávané dotazy"
677
-
678
- #: lib/interface.php:433
679
- msgid "Totals"
680
- msgstr "Celkem"
681
-
682
- #: lib/interface.php:430
683
- msgid "Total Searches"
684
- msgstr "Souhrn vyhledávání"
685
-
686
- #: lib/interface.php:419
687
- msgid "Add to stopwords"
688
- msgstr "Přidat do negativního slovníku"
689
-
690
- #: lib/interface.php:393
691
- msgid "These words are excellent stopword material. A word that appears in most of the posts in the database is quite pointless when searching. This is also an easy way to create a completely new stopword list, if one isn't available in your language. Click the icon after the word to add the word to the stopword list. The word will also be removed from the index, so rebuilding the index is not necessary."
692
- msgstr "Tato slova jsou vynikající materiál pro negativní slovník. Slovo, které se objeví ve většině příspěvků, je v databázi zcela nesmyslné pro vyhledávání. Toto je také snadný způsob, jak vytvořit zcela nový negativní slovník, pokud už nějaký není k dispozici pro váš jazyk. Klikněte na ikonu za slovem a přidejte jej tak do negativního slovníku. Slovo bude také odstraněno z indexu, takže opětovné re-indexování není nutné."
693
-
694
- #: lib/interface.php:391
695
- msgid "25 most common words in the index"
696
- msgstr "25 nejčastějších slov v indexu"
697
-
698
- #: lib/interface.php:380
699
- msgid "<div id='message' class='updated fade'><p>Couldn't remove term '%s' from stopwords!</p></div>"
700
- msgstr "<div id='message' class='updated fade'><p>Výraz nelze odebrat '%s' z negativního slovníku!</p></div>"
701
-
702
- #: lib/interface.php:377
703
- msgid "<div id='message' class='updated fade'><p>Term '%s' removed from stopwords! Re-index to get it back to index.</p></div>"
704
- msgstr "<div id='message' class='updated fade'><p>Výraz '%s' byl odebrán z negativního slovníku! Pro jeho vrácení do indexu je nutno re-indexovat.</p></div>"
705
-
706
- #: lib/interface.php:367
707
- msgid "<div id='message' class='updated fade'><p>Stopwords removed! Remember to re-index.</p></div>"
708
- msgstr "<div id='message' class='updated fade'><p>Stopslova byla odebrána! Nezapomeňte re-indexovat.</p></div>"
709
-
710
- #: lib/interface.php:330
711
- msgid "<div id='message' class='updated fade'><p>Couldn't add term '%s' to stopwords!</p></div>"
712
- msgstr "<div id='message' class='updated fade'><p>Výraz '%s' se nepodařilo přidat do negativního slovníku!</p></div>"
713
-
714
- #: lib/interface.php:327
715
- msgid "<div id='message' class='updated fade'><p>Term '%s' added to stopwords!</p></div>"
716
- msgstr "<div id='message' class='updated fade'><p>Výraz '%s' byl přidán do negativního slovníku!</p></div>"
717
-
718
- #: lib/interface.php:320
719
- msgid "<div id='message' class='updated fade'><p>Successfully added %d/%d terms to stopwords!</p></div>"
720
- msgstr "<div id='message' class='updated fade'><p> %d/%d výrazů bylo úspěšně přidáno do negativního slovníku!</p></div>"
721
-
722
- #: lib/interface.php:83
723
- msgid "Relevanssi User Searches"
724
- msgstr "Relevanssi - Vyhledávání návštěvníků"
725
-
726
- #: lib/interface.php:81
727
- msgid "User Searches"
728
- msgstr "Návštěvník vyhledává"
729
-
730
- #: lib/interface.php:9
731
- msgid "Relevanssi Search Options"
732
- msgstr "Relevanssi možnosti vyhledávání"
733
-
734
- #: lib/interface.php:6
735
- msgid "Relevanssi Premium Search Options"
736
- msgstr "Relevanssi možnosti vyhledávání Premium verze"
737
-
738
- #: lib/init.php:86 lib/init.php:87
739
- msgid "User searches"
740
- msgstr "Návštěvník vyhledává"
741
-
742
- #: lib/init.php:41
743
- msgid "You do not have an index! Remember to build the index (click the \"Build the index\" button), otherwise searching won't work."
744
- msgstr "Nemáte index! Nezapomeňte vytvořit index (kliknutím na tlačítko \"Vytvořit index\"), jinak nebude vyhledávání fungovat."
745
-
746
- #: lib/excerpts-highlights.php:11
747
- msgid "There is no excerpt because this is a protected post."
748
- msgstr "Neexistuje žádný Stručný obsah, protože se jedná o chráněný příspěvek."
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
relevanssi-de_DE.mo DELETED
Binary file
relevanssi-de_DE.po DELETED
@@ -1,961 +0,0 @@
1
- msgid ""
2
- msgstr ""
3
- "Project-Id-Version: Relevanssi v3.1.8\n"
4
- "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: \n"
6
- "PO-Revision-Date: 2016-05-11 06:11+0300\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
- "Plural-Forms: nplurals=2; plural=n != 1;\n"
13
- "X-Generator: Poedit 1.8.7\n"
14
- "X-Poedit-SourceCharset: utf-8\n"
15
- "X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;_n_noop:1,2;_c,_nc:4c,1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2\n"
16
- "X-Textdomain-Support: yes\n"
17
- "Language: de_DE\n"
18
- "X-Poedit-SearchPath-0: .\n"
19
-
20
- # @ default
21
- #: lib/excerpts-highlights.php:11
22
- msgid "There is no excerpt because this is a protected post."
23
- msgstr "Es gibt keinen Auszug, da dies eine geschütze Seite ist."
24
-
25
- # @ default
26
- #: lib/init.php:40
27
- #, php-format
28
- msgid ""
29
- "Relevanssi needs attention: Remember to build the index (you can do it at <a href=\"%1$s\">the\n"
30
- "\t\t\t settings page</a>), otherwise searching won't work."
31
- msgstr "Relevanssi benötigt Ihre Aufmerksamkeit. Bitte denken Sie daran, den Index aufzubauen. (Unter <a href=\"%1$s\">Einstellungen</a>). Andernfalls funktioniert die Suche nicht."
32
-
33
- # @ relevanssi
34
- #: lib/init.php:84 lib/init.php:85
35
- msgid "User searches"
36
- msgstr "Suchanfragen"
37
-
38
- # @ relevanssi
39
- #: lib/interface.php:6
40
- msgid "Relevanssi Premium Search Options"
41
- msgstr "Relevanssi Premium Such-Einstellungen"
42
-
43
- # @ relevanssi
44
- #: lib/interface.php:9
45
- msgid "Relevanssi Search Options"
46
- msgstr "Relevanssi Such-Einstellungen"
47
-
48
- # @ relevanssi
49
- #: lib/interface.php:86
50
- msgid "User Searches"
51
- msgstr "Suchanfragen"
52
-
53
- # @ relevanssi
54
- #: lib/interface.php:88
55
- msgid "Relevanssi User Searches"
56
- msgstr "Relevanssi Suchanfragen"
57
-
58
- # @ relevanssi
59
- #: lib/interface.php:335
60
- #, php-format
61
- msgid "<div id='message' class='updated fade'><p>Successfully added %d/%d terms to stopwords!</p></div>"
62
- msgstr "<div id='message' class='updated fade'><p>%d/%d erfolgreich zur Stoppwort-Liste hinzugefügt!</p></div>"
63
-
64
- # @ relevanssi
65
- #: lib/interface.php:342
66
- #, php-format
67
- msgid "<div id='message' class='updated fade'><p>Term '%s' added to stopwords!</p></div>"
68
- msgstr "<div id='message' class='updated fade'><p>Begriff '%s' zur Stoppwort-Liste hinzugefügt!</p></div>"
69
-
70
- # @ relevanssi
71
- #: lib/interface.php:345
72
- #, php-format
73
- msgid "<div id='message' class='updated fade'><p>Couldn't add term '%s' to stopwords!</p></div>"
74
- msgstr "<div id='message' class='updated fade'><p>Konnte Begriff '%s' nicht zur Stoppwort-Liste hinzufügen!</p></div>"
75
-
76
- # @ relevanssi
77
- #: lib/interface.php:374
78
- msgid "<div id='message' class='updated fade'><p>Stopwords removed! Remember to re-index.</p></div>"
79
- msgstr "<div id='message' class='updated fade'><p>Stoppwörter entfernt! Bitte den Index neu erstellen.</p></div>"
80
-
81
- # @ relevanssi
82
- #: lib/interface.php:384
83
- #, php-format
84
- msgid "<div id='message' class='updated fade'><p>Term '%s' removed from stopwords! Re-index to get it back to index.</p></div>"
85
- msgstr "<div id='message' class='updated fade'><p>Begriff '%s' aus aus der Stoppwort-Liste entfernt! Bitte den Index neu erstellen, um es in den Suchindex aufzunehmen.</p></div>"
86
-
87
- # @ relevanssi
88
- #: lib/interface.php:387
89
- #, php-format
90
- msgid "<div id='message' class='updated fade'><p>Couldn't remove term '%s' from stopwords!</p></div>"
91
- msgstr "<div id='message' class='updated fade'><p>Konnte Begriff '%s' nicht aus der Stoppwort-Liste entfernen!</p></div>"
92
-
93
- # @ relevanssi
94
- #: lib/interface.php:398
95
- msgid "25 most common words in the index"
96
- msgstr "Die 25 häufigsten Begriffe im Index"
97
-
98
- # @ relevanssi
99
- #: lib/interface.php:400
100
- msgid "These words are excellent stopword material. A word that appears in most of the posts in the database is quite pointless when searching. This is also an easy way to create a completely new stopword list, if one isn't available in your language. Click the icon after the word to add the word to the stopword list. The word will also be removed from the index, so rebuilding the index is not necessary."
101
- msgstr "Diese Wörter bilden hervorragendes Stoppwort-Material. Ein Wort, das auf den meisten Ihrer Seiten erscheint, ist für die Suche nutzlos. Auf diese Weise können Sie außerdem eine neue Stoppwort-Liste erstellen, falls in Ihrer Sprache keine solche Liste vorhanden ist. Klicken Sie auf das Icon hinter dem Wort um ein Wort in die Stoppwort-Liste aufzunehmen. Das Wort wird danach auch aus dem Index entfernt, daher müssen Sie den Such-Index nicht neu erstellen."
102
-
103
- # @ relevanssi
104
- #: lib/interface.php:426
105
- msgid "Add to stopwords"
106
- msgstr "Zu den Stoppwörtern hinzufügen"
107
-
108
- # @ relevanssi
109
- #: lib/interface.php:437
110
- msgid "Total Searches"
111
- msgstr "Alle Suchanfragen"
112
-
113
- # @ relevanssi
114
- #: lib/interface.php:440
115
- msgid "Totals"
116
- msgstr "Summe"
117
-
118
- # @ relevanssi
119
- #: lib/interface.php:445
120
- msgid "Common Queries"
121
- msgstr "Häufige Suchbegriffe"
122
-
123
- # @ relevanssi
124
- #: lib/interface.php:447
125
- msgid ""
126
- "Here you can see the 20 most common user search queries, how many times those \n"
127
- "\t\tqueries were made and how many results were found for those queries."
128
- msgstr "Hier sehen Sie die 20 häufigsten Suchanfragen Ihrer Besucher, wie oft diese ausgeführt wurden, und wieviele Ergebnisse dafür gefunden wurden."
129
-
130
- # @ relevanssi
131
- #: lib/interface.php:453 lib/interface.php:469 lib/interface.php:501
132
- msgid "Today and yesterday"
133
- msgstr "Heute und gestern"
134
-
135
- # @ relevanssi
136
- #: lib/interface.php:457 lib/interface.php:473 lib/interface.php:502
137
- msgid "Last 7 days"
138
- msgstr "Die letzten 7 Tage"
139
-
140
- # @ relevanssi
141
- #: lib/interface.php:461 lib/interface.php:477 lib/interface.php:503
142
- msgid "Last 30 days"
143
- msgstr "Die letzten 30 Tage"
144
-
145
- # @ relevanssi
146
- #: lib/interface.php:466
147
- msgid "Unsuccessful Queries"
148
- msgstr "Erfolglose Suchanfragen"
149
-
150
- # @ relevanssi
151
- #: lib/interface.php:484
152
- msgid "Reset Logs"
153
- msgstr "Protokoll zurücksetzen"
154
-
155
- # @ relevanssi
156
- #: lib/interface.php:487
157
- #, php-format
158
- msgid "To reset the logs, type \"reset\" into the box here %s and click %s"
159
- msgstr "Zum Zurücksetzen der Protokolle bitte \"reset\" in dieses Textfeld %s eintragen und %s klicken."
160
-
161
- # @ relevanssi
162
- #: lib/interface.php:504
163
- msgid "Forever"
164
- msgstr "Für immer"
165
-
166
- # @ relevanssi
167
- #: lib/interface.php:506
168
- msgid "When"
169
- msgstr "Wenn"
170
-
171
- # @ relevanssi
172
- #: lib/interface.php:506
173
- msgid "Searches"
174
- msgstr "Suchanfragen"
175
-
176
- # @ relevanssi
177
- #: lib/interface.php:536
178
- msgid "Query"
179
- msgstr "Suchanfrage"
180
-
181
- # @ relevanssi
182
- #: lib/interface.php:536
183
- msgid "Hits"
184
- msgstr "Treffer"
185
-
186
- # @ relevanssi
187
- #: lib/interface.php:846 lib/interface.php:891
188
- msgid "Basic options"
189
- msgstr "Grundeinstellungen"
190
-
191
- # @ relevanssi
192
- #: lib/interface.php:847 lib/interface.php:957
193
- msgid "Weights"
194
- msgstr "Gewichtungen"
195
-
196
- # @ relevanssi
197
- #: lib/interface.php:848 lib/interface.php:1012
198
- msgid "Logs"
199
- msgstr "Protokolle"
200
-
201
- # @ relevanssi
202
- #: lib/interface.php:849 lib/interface.php:1041
203
- msgid "Exclusions and restrictions"
204
- msgstr "Ausschließen oder Beschränkungen"
205
-
206
- # @ relevanssi
207
- #: lib/interface.php:850
208
- msgid "Custom excerpts"
209
- msgstr "Eigene Zusammenfassungen"
210
-
211
- # @ relevanssi
212
- #: lib/interface.php:851
213
- msgid "Highlighting search results"
214
- msgstr "Suchbegriffe hervorheben"
215
-
216
- # @ relevanssi
217
- #: lib/interface.php:852 lib/interface.php:1187
218
- msgid "Indexing options"
219
- msgstr "Indizierungs-Einstellungen"
220
-
221
- # @ relevanssi
222
- #: lib/interface.php:853 lib/interface.php:1335
223
- msgid "Caching"
224
- msgstr "Cache"
225
-
226
- # @ relevanssi
227
- #: lib/interface.php:854 lib/interface.php:1358
228
- msgid "Synonyms"
229
- msgstr "Synonyme"
230
-
231
- # @ relevanssi
232
- #: lib/interface.php:855 lib/interface.php:1366
233
- msgid "Stopwords"
234
- msgstr "Stoppwörter"
235
-
236
- # @ relevanssi
237
- #: lib/interface.php:858
238
- msgid "Import/export options"
239
- msgstr "Einstellungen importieren/exportieren"
240
-
241
- # @ relevanssi
242
- #: lib/interface.php:861
243
- msgid "Buy Relevanssi Premium"
244
- msgstr "Relevanssi Premium kaufen"
245
-
246
- # @ relevanssi
247
- #: lib/interface.php:866
248
- msgid "Quick tools"
249
- msgstr "Quick tools"
250
-
251
- # @ relevanssi
252
- #: lib/interface.php:868
253
- msgid "Save options"
254
- msgstr "Einstellungen sichern"
255
-
256
- # @ relevanssi
257
- #: lib/interface.php:869
258
- msgid "Build the index"
259
- msgstr "Index aufbauen"
260
-
261
- # @ relevanssi
262
- #: lib/interface.php:870 lib/interface.php:1333
263
- msgid "Continue indexing"
264
- msgstr "Weiter indizieren"
265
-
266
- # @ relevanssi
267
- #: lib/interface.php:870
268
- msgid "add"
269
- msgstr "hinzufügen"
270
-
271
- # @ relevanssi
272
- #: lib/interface.php:870
273
- msgid "documents."
274
- msgstr "Dokumente."
275
-
276
- # @ relevanssi
277
- #: lib/interface.php:874
278
- msgid "WARNING: You've chosen no post types to index. Nothing will be indexed. <a href='#indexing'>Choose some post types to index</a>."
279
- msgstr "WARNUNG: Sie haben keine Post-Typen für die Indizierung bestimmt. Es wird nichts indiziert werden. <a href='#indexing'>Wählen Sie ein paar Post-Typen aus.</a>."
280
-
281
- # @ relevanssi
282
- #: lib/interface.php:878
283
- msgid "Use 'Build the index' to build the index with current <a href='#indexing'>indexing options</a>. If you can't finish indexing with one go, use 'Continue indexing' to finish the job. You can change the number of documents to add until you find the largest amount you can add with one go. See 'State of the Index' below to find out how many documents actually go into the index."
284
- msgstr "Klicken Sie 'Index aufbauen' um den Index mit den derzeitigen <a href='#indexing'>Index-Einstellungen</a> zu erzeugen. Wenn es nicht auf Anhieb funktioniert, klicken Sie 'Weiter indizieren' um den Vorgang abzuschließen. Erhöhen Sie die Anzahl der Dokumente bis Sie die größte Anzahl an Dokumenten erreichte haben, die Sie in einem Zug indizieren können. Sehen Sie auch bei 'Zustand des Index' weiter unten nach, um herauszufinden, wie viele Dokumente sich gegenwärtig im Index befinden."
285
-
286
- # @ relevanssi
287
- #: lib/interface.php:880
288
- msgid ""
289
- "If Relevanssi doesn't index anything and you have upgraded from a 2.x version, it's likely the changes in\n"
290
- "\tthe database structure haven't gone through in the upgrade. In that case all you need to do is to deactivate the\n"
291
- "\tplugin and then activate it again."
292
- msgstr "Falls Relevanssi nichts indiziert und Sie von einer 2.x-Version upgedated haben, sind wahrscheinlich die Änderungen in der Datenbank nicht durch das Update gegangen. In diesem Fall genügt es, wenn Sie das Plugin einmal deaktivieren, und anschließend wieder aktivieren."
293
-
294
- # @ relevanssi
295
- #: lib/interface.php:884
296
- msgid "State of the Index"
297
- msgstr "Zustand des Index"
298
-
299
- # @ relevanssi
300
- #: lib/interface.php:886
301
- msgid "Documents in the index"
302
- msgstr "Dokumente im Index"
303
-
304
- # @ relevanssi
305
- #: lib/interface.php:887
306
- msgid "Terms in the index"
307
- msgstr "Suchbegriffe im Index"
308
-
309
- # @ relevanssi
310
- #: lib/interface.php:888
311
- msgid "Highest post ID indexed"
312
- msgstr "Höchste indizierte Post-ID"
313
-
314
- # @ relevanssi
315
- #: lib/interface.php:897
316
- msgid "Use search for admin:"
317
- msgstr "Suchen im Admin-Bereich"
318
-
319
- # @ relevanssi
320
- #: lib/interface.php:899
321
- msgid "If checked, Relevanssi will be used for searches in the admin interface"
322
- msgstr "Wenn aktiviert, wird Relevanssi auch für die Suche innerhalb des Admin-Bereichs verwendet."
323
-
324
- # @ relevanssi
325
- #: lib/interface.php:903
326
- msgid "Default operator for the search?"
327
- msgstr "Standard-Operator für Suchanfragen?"
328
-
329
- # @ relevanssi
330
- #: lib/interface.php:905
331
- msgid "AND - require all terms"
332
- msgstr "AND – Alle Begriffe müssen vorkommen"
333
-
334
- # @ relevanssi
335
- #: lib/interface.php:906
336
- msgid "OR - any term present is enough"
337
- msgstr "OR – einer der Begriffe muß vorkommen"
338
-
339
- # @ relevanssi
340
- #: lib/interface.php:908
341
- msgid "If you choose AND and the search finds no matches, it will automatically do an OR search."
342
- msgstr "Wenn AND ausgewählt ist, und die Suche ergibt keine Treffer, wird automatisch auf OR umgeschaltet."
343
-
344
- # @ relevanssi
345
- #: lib/interface.php:912
346
- msgid "Disable OR fallback:"
347
- msgstr "OR-Fallback deaktivieren"
348
-
349
- # @ relevanssi
350
- #: lib/interface.php:914
351
- msgid "If you don't want Relevanssi to fall back to OR search when AND search gets no hits, check this option. For most cases, leave this one unchecked."
352
- msgstr "Wenn Sie nicht möchten, das bei einer erfolglosen AND-Suche auf OR zurückgegriffen wird, aktivieren Sie diese Option. In den meisten Fällen sollten Sie diese Option deaktiviert lassen."
353
-
354
- # @ relevanssi
355
- #: lib/interface.php:918
356
- msgid "Default order for results:"
357
- msgstr "Standard-Reihenfolge für Suchergebnisse:"
358
-
359
- # @ relevanssi
360
- #: lib/interface.php:920
361
- msgid "Relevance (highly recommended)"
362
- msgstr "Relevanz (Hochgradig empfohlen)"
363
-
364
- # @ relevanssi
365
- #: lib/interface.php:921
366
- msgid "Post date"
367
- msgstr "Datum des Beitrags"
368
-
369
- # @ relevanssi
370
- #: lib/interface.php:923
371
- msgid "If you want date-based results, see the recent post bonus in the Weights section."
372
- msgstr "Bei Datums-Basierten Suchergebnissen, see the recent post bonus im Abschnitt 'Gewichtung'."
373
-
374
- # @ relevanssi
375
- #: lib/interface.php:927
376
- msgid "When to use fuzzy matching?"
377
- msgstr "Wann sollen unscharfe Vergleiche benutzt werden?"
378
-
379
- # @ relevanssi
380
- #: lib/interface.php:929
381
- msgid "When straight search gets no hits"
382
- msgstr "Wenn die normale Suche keine Treffer ausgibt"
383
-
384
- # @ relevanssi
385
- #: lib/interface.php:930
386
- msgid "Always"
387
- msgstr "Immer"
388
-
389
- # @ relevanssi
390
- #: lib/interface.php:931
391
- msgid "Don't use fuzzy search"
392
- msgstr "Unscharfe Vergleiche nicht verwenden"
393
-
394
- # @ relevanssi
395
- #: lib/interface.php:933
396
- msgid "Straight search matches just the term. Fuzzy search matches everything that begins or ends with the search term."
397
- msgstr "Die normale Suche sucht nur nach direkten Übereinstimmungen mit dem Suchbegriff. Die unscharfe Suche findet alles, was mit dem Suchbegriff beginnt oder endet."
398
-
399
- # @ relevanssi
400
- #: lib/interface.php:941
401
- msgid "Limit searches:"
402
- msgstr "Suchergebnisse begrenzen:"
403
-
404
- # @ relevanssi
405
- #: lib/interface.php:943
406
- msgid "If this option is checked, Relevanssi will limit search results to at most 500 results per term. This will improve performance, but may cause some relevant documents to go unfound. However, Relevanssi tries to prioritize the most relevant documents. <strong>This does not work well when sorting results by date.</strong> The throttle can end up cutting off recent posts to favour more relevant posts."
407
- msgstr "Wenn diese Option aktiviert ist, wird Relevanssi die Suchergebnisse auf 500 Treffer pro Suchbegriff begrenzen. Dadurch wird die Leistungsfähigkeit verbessert, kann aber dazu führen, dass einige Relevante Dokumente nicht gefunden werden. Relevanssi wird trotzdem versuchen, die relevantesten Dokumente zu priorisieren. <strong>Dies funktioniert aber nicht besonders gut bei Sortierung nach Datum,</strong> und kann dazu führen dass neuere Dokumente zugunsten relevanterer Dokumente ausgelassen werden."
408
-
409
- # @ relevanssi
410
- #: lib/interface.php:947
411
- msgid "Limit:"
412
- msgstr "Begrenzung:"
413
-
414
- # @ relevanssi
415
- #: lib/interface.php:949
416
- msgid "For better performance, adjust the limit to a smaller number. Adjusting the limit to 100 - or even lower - should be safe for good results, and might bring a boost in search speed."
417
- msgstr "Zur Erhöhung der Leistungsfähigkeit tragen Sie einer kleinere Zahl ein. Ein Limit von 100 oder weniger sollte noch immer gute Suchergebnisse bringen und die Effizienz einer Suche deutlich erhöhen."
418
-
419
- # @ relevanssi
420
- #: lib/interface.php:959
421
- msgid "These values affect the weights of the documents. These are all multipliers, so 1 means no change in weight, less than 1 means less weight, and more than 1 means more weight. Setting something to zero makes that worthless. For example, if title weight is more than 1, words in titles are more significant than words elsewhere. If title weight is 0, words in titles won't make any difference to the search results."
422
- msgstr "Diese Werte betreffen die Gewichtung von Dokumenten. Es sind Faktoren, 1 bedeutet keine Änderung in der Gewichtung, weniger als 1 hat eine geringere Gewichtung zur Folge und mehr als 1 eine höhere. Null macht das Element irrelevant bei der Gewichtung. Wenn zum Beispiel die Gewichtung des Titels mehr als 1 beträgt, dann werden Suchwörter die im Titel auftauchen als aussagekräftiger angesehen als wenn die Wörter woanders auftauche würden. Wenn die Gewichtung des Titels 0 ist, haben Suchbegriffe im Titel keinerlei Auswirkung auf die Gewichtung der Suchergebnisse."
423
-
424
- # @ relevanssi
425
- #: lib/interface.php:964
426
- msgid "Element"
427
- msgstr "Element"
428
-
429
- # @ relevanssi
430
- #: lib/interface.php:965
431
- msgid "Weight"
432
- msgstr "Gewichtung"
433
-
434
- # @ relevanssi
435
- #: lib/interface.php:966
436
- msgid "Default weight"
437
- msgstr "Standard Gewichtung"
438
-
439
- # @ relevanssi
440
- #: lib/interface.php:971
441
- msgid "Post titles"
442
- msgstr "Beitrags-Titel"
443
-
444
- # @ relevanssi
445
- #: lib/interface.php:983
446
- msgid "Comment text"
447
- msgstr "Kommentar-Texte"
448
-
449
- # @ relevanssi
450
- #: lib/interface.php:1006
451
- msgid "Limit results to current language:"
452
- msgstr "Resultate nur auf die gegenwärtige Sprache einschränken"
453
-
454
- # @ relevanssi
455
- #: lib/interface.php:1008
456
- msgid "If this option is checked, Relevanssi will only return results in the current active language. Otherwise results will include posts in every language."
457
- msgstr "Wenn diese Option aktiviert ist, zeigt Relevanssi nur Ergebnisse in der aktuell gewählten Sprache an. Andernfalls werden Resultate in allen Sprachen angezeigt."
458
-
459
- # @ relevanssi
460
- #: lib/interface.php:1014
461
- msgid "Keep a log of user queries:"
462
- msgstr "Suchanfragen der Besucher protokollieren:"
463
-
464
- # @ relevanssi
465
- #: lib/interface.php:1016
466
- msgid "If checked, Relevanssi will log user queries. The log appears in 'User searches' on the Dashboard admin menu."
467
- msgstr "Wenn aktiviert wird Relevanssi die Such-Anfragen Ihrer Besucher protokollieren. Das Protokoll finden Sie unter 'Suchanfragen' im Administrations-Menu Ihres Dashboards. "
468
-
469
- # @ relevanssi
470
- #: lib/interface.php:1020
471
- msgid "Log the user's IP with the queries:"
472
- msgstr "Die IP-Adresse der Besucher ebenfalls Protokollieren:"
473
-
474
- # @ relevanssi
475
- #: lib/interface.php:1022
476
- msgid "If checked, Relevanssi will log user's IP-Adress with the queries."
477
- msgstr "Wenn aktiviert, speichert Relevanssi die IP-Adressen Ihrer Besucher zusammen mit den Suchanfragen. (Diese Option verstößt gegen mehrere Datenschutzrichtlinien, Sie sollten sie nicht aktivieren)"
478
-
479
- # @ relevanssi
480
- #: lib/interface.php:1026
481
- msgid "Don't log queries from these users:"
482
- msgstr "Suchanfragen von diesen Benutzern nicht protokollieren:"
483
-
484
- # @ relevanssi
485
- #: lib/interface.php:1028
486
- msgid "Comma-separated list of numeric user IDs or user login names that will not be logged."
487
- msgstr "Komma-getrennte Liste mit numerischen IDs oder Login-Namen der Benutzer, die nicht Protokolliert werden sollen. "
488
-
489
- # @ relevanssi
490
- #: lib/interface.php:1032
491
- msgid "If you enable logs, you can see what your users are searching for. You can prevent your own searches from getting in the logs with the omit feature."
492
- msgstr "Durch die Protokollierung können Sie einsehen, was Ihre Besucher auf Ihrer Seite suchen. Durch die Eingabe 'Suchanfragen von...' können Sie Suchanfragen Ihrer eigenen Benutzer von der Protokollierung ausnehmen."
493
-
494
- # @ relevanssi
495
- #: lib/interface.php:1035
496
- msgid "If you enable logs, you can see what your users are searching for. Logs are also needed to use the 'Did you mean?' feature. You can prevent your own searches from getting in the logs with the omit feature."
497
- msgstr "Durch die Protokollierung können Sie einsehen, was Ihre Besucher auf Ihrer Seite suchen. Die Protokolle werden ebenso für die 'meinten Sie vielleicht'-Funktion benötigt. Durch die Eingabe 'Suchanfragen von...' können Sie Suchanfragen Ihrer eigenen Benutzer von der Protokollierung ausnehmen."
498
-
499
- # @ relevanssi
500
- #: lib/interface.php:1043
501
- msgid "Restrict search to these categories and tags:"
502
- msgstr "Suche nur in diesen Kategorien und Schlagwörtern:"
503
-
504
- # @ relevanssi
505
- #: lib/interface.php:1045
506
- msgid "Enter a comma-separated list of category and tag IDs to restrict search to those categories or tags. You can also use <code>&lt;input type='hidden' name='cats' value='list of cats and tags' /&gt;</code> in your search form. The input field will \toverrun this setting."
507
- msgstr "Tragen Sie eine Komma-getrennte Liste der numerischen Kategorie- oder Schlagwort-IDs ein, auf die Sie die Suche einschränken wollen. Sie können auch <code>&lt;input type='hidden' name='cats' value='Liste der Kategorien und Schlagwörter' /&gt;</code> in Ihr Suchformular einfügen. Das Eingabefeld wird die hier getätigten Einstelllungen überschreiben."
508
-
509
- # @ relevanssi
510
- #: lib/interface.php:1049
511
- msgid "Exclude these categories and tags from search:"
512
- msgstr "Diese Kategorien und Schlagwörter aus der Suche ausschließen:"
513
-
514
- # @ relevanssi
515
- #: lib/interface.php:1051
516
- msgid "Enter a comma-separated list of category and tag IDs that are excluded from search results. You can exclude categories with the 'cat' input field by using negative values."
517
- msgstr "Tragen Sie eine Komma-getrennte Liste der numerischen Kategorie- oder Schlagwort-IDs ein, die aus der Suche ausgeschlossen werden sollen. Sie können Kategorien auch durch negative IDs unter 'Suche nur in …' ausschließen."
518
-
519
- # @ relevanssi
520
- #: lib/interface.php:1055
521
- msgid "Exclude these posts/pages from search:"
522
- msgstr "Diese Beiträge / Seiten aus der Suche ausschließen:"
523
-
524
- # @ relevanssi
525
- #: lib/interface.php:1059
526
- msgid "Enter a comma-separated list of post/page IDs that are excluded from search results. This only works here, you can't use the input field option (WordPress doesn't pass custom parameters there). You can also use a checkbox on post/page edit pages to remove posts from index."
527
- msgstr "Komma-getrennte Liste von numerischen Seiten- / Beitrags-IDs, die von der Suche ausgenommen werden sollen. Sie können auch die Checkbox beim Bearbeiten eines Beitrags / einer Seite benutzen um Dokumente aus dem Suchindex auszuschließen."
528
-
529
- # @ relevanssi
530
- #: lib/interface.php:1062
531
- msgid "Enter a comma-separated list of post/page IDs that are excluded from search results. This only works here, you can't use the input field option (WordPress doesn't pass custom parameters there)."
532
- msgstr "Komma-Separierte Liste von numerischen Seiten- / Beitrags-IDs, die von der Suche ausgenommen werden sollen."
533
-
534
- # @ relevanssi
535
- #: lib/interface.php:1068
536
- msgid "Respect exclude_from_search for custom post types:"
537
- msgstr "exclude_from_search auch auf Benutzerdefinierte Beiträge anwenden:"
538
-
539
- # @ relevanssi
540
- #: lib/interface.php:1070
541
- msgid "If checked, Relevanssi won't display posts of custom post types that have 'exclude_from_search' set to true. If not checked, Relevanssi will display anything that is indexed."
542
- msgstr "Wenn aktiviert wird Relevanssi keine Benutzerdefinierten Betrags-Typen anzeigen, bei denen exclude_from_search auf true gesetzt ist. Andernfalls zeigt Relevanssi alles an, was indiziert worden ist."
543
-
544
- # @ relevanssi
545
- #: lib/interface.php:1072
546
- msgid "Custom excerpts/snippets"
547
- msgstr "Benutzerdefinierte Auszüge/Snippets"
548
-
549
- # @ relevanssi
550
- #: lib/interface.php:1074
551
- msgid "Create custom search result snippets:"
552
- msgstr "Neues Benutzerdefiniertes Suchergebnis-Snippet:"
553
-
554
- # @ relevanssi
555
- #: lib/interface.php:1076
556
- msgid "If checked, Relevanssi will create excerpts that contain the search term hits. To make them work, make sure your search result template uses the_excerpt() to display post excerpts."
557
- msgstr "Wenn aktiviert zeigt Relevanssi Auszüge an, in denen der Suchtreffer zu sehen ist. Das funktioniert nur, wenn Ihr Theme die Funktion 'the_excerpt()' benutzt um Textauszüge anzuzeigen."
558
-
559
- # @ relevanssi
560
- #: lib/interface.php:1078
561
- msgid "Note: Building custom excerpts can be slow. If you are not actually using the excerpts, make sure you disable the option."
562
- msgstr "Anmerkung: Benutzerdefinierte Auszüge zu erzeugen kann ziemlich lange dauern. Wenn Sie ohnehin keine Textauszüge eintragen, sollten Sie diese Option deaktivieren."
563
-
564
- # @ relevanssi
565
- #: lib/interface.php:1080
566
- msgid "Length of the snippet:"
567
- msgstr "Länge des Snippets:"
568
-
569
- # @ relevanssi
570
- #: lib/interface.php:1083
571
- msgid "characters"
572
- msgstr "Zeichen"
573
-
574
- # @ relevanssi
575
- #: lib/interface.php:1084
576
- msgid "words"
577
- msgstr "Wörter"
578
-
579
- # @ relevanssi
580
- #: lib/interface.php:1086
581
- msgid "This must be an integer."
582
- msgstr "Bitte eine ganze Zahl eintragen"
583
-
584
- # @ relevanssi
585
- #: lib/interface.php:1090
586
- msgid "Allowable tags in excerpts:"
587
- msgstr "Erlaubte HTML-Tags in Auszügen:"
588
-
589
- # @ relevanssi
590
- #: lib/interface.php:1093
591
- msgid "List all tags you want to allow in excerpts, without any whitespace. For example: '&lt;p&gt;&lt;a&gt;&lt;strong&gt;'."
592
- msgstr "Liste alle HTML-Tags, die Sie in Auszügen erlauben wollen, ohne Leerzeichen dazwischen. Z.B.: '&lt;p&gt;&lt;a&gt;&lt;strong&gt;'."
593
-
594
- # @ relevanssi
595
- #: lib/interface.php:1097
596
- msgid "Show breakdown of search hits in excerpts:"
597
- msgstr "Alle Trefferstellen in den Auszügen anzeigen:"
598
-
599
- # @ relevanssi
600
- #: lib/interface.php:1099
601
- msgid "Check this to show more information on where the search hits were made. Requires custom snippets to work."
602
- msgstr "Zeigt mehr Informationen, an welchen Stellen die Suchbegriffe im Text gefunden wurden. Erfordert benutzerdefinierte Snippets."
603
-
604
- # @ relevanssi
605
- #: lib/interface.php:1103
606
- msgid "The breakdown format:"
607
- msgstr "Format der Trefferstellen:"
608
-
609
- # @ relevanssi
610
- #: lib/interface.php:1105
611
- #, php-format
612
- msgid "Use %body%, %title%, %tags% and %comments% to display the number of hits (in different parts of the post), %total% for total hits, %score% to display the document weight and %terms% to show how many hits each search term got. No double quotes (\") allowed!"
613
- msgstr "Benutzen Sie %body%, %title%, %tags% und %comments% um die Anzahl der Treffen anzuzeigen (in den unterschiedlichen Stellen des Dokuments), %total% für die Gesamte Anzahl an Treffern, %score% für die Gewichtung des Dokuments, %terms% zur Anzeige, wieviele Treffer jeder Suchbegriff erbracht hat. Es sind keine Doppelten Anführungszeichen (\") erlaubt!"
614
-
615
- # @ relevanssi
616
- #: lib/interface.php:1107
617
- msgid "Search hit highlighting"
618
- msgstr "Suchergebnis hervorheben"
619
-
620
- # @ relevanssi
621
- #: lib/interface.php:1109
622
- msgid "First, choose the type of highlighting used:"
623
- msgstr "Erstens: Art der Hervorhebung auswählen:"
624
-
625
- # @ relevanssi
626
- #: lib/interface.php:1112
627
- msgid "Highlight query terms in search results:"
628
- msgstr "Suchbegriffe in den Ergebnissen hervorheben:"
629
-
630
- # @ relevanssi
631
- #: lib/interface.php:1114
632
- msgid "No highlighting"
633
- msgstr "Keine Hervorhebung"
634
-
635
- # @ relevanssi
636
- #: lib/interface.php:1118
637
- msgid "Text color"
638
- msgstr "Textfarbe"
639
-
640
- # @ relevanssi
641
- #: lib/interface.php:1119
642
- msgid "Background color"
643
- msgstr "Hintergrundfarbe"
644
-
645
- # @ relevanssi
646
- #: lib/interface.php:1120
647
- msgid "CSS Style"
648
- msgstr "CSS-Style"
649
-
650
- # @ relevanssi
651
- #: lib/interface.php:1121
652
- msgid "CSS Class"
653
- msgstr "CSS-Klasse"
654
-
655
- # @ relevanssi
656
- #: lib/interface.php:1123
657
- msgid "Highlighting isn't available unless you use custom snippets"
658
- msgstr "Hervorhebung ist ohne Benutzerdefinierte Snippets nicht verfügbar"
659
-
660
- # @ relevanssi
661
- #: lib/interface.php:1127
662
- msgid "Highlight query terms in result titles too:"
663
- msgstr "Suchbegriffe im Titel ebenfalls hervorheben:"
664
-
665
- # @ relevanssi
666
- #: lib/interface.php:1133
667
- msgid "Highlight query terms in documents from local searches:"
668
- msgstr "Suchbegriffe in aufgerufenen Dokumenten ebenfalls hervorheben:"
669
-
670
- # @ relevanssi
671
- #: lib/interface.php:1135
672
- msgid "Highlights hits when user opens the post from search results. This is based on HTTP referrer, so if that's blocked, there'll be no highlights."
673
- msgstr "Hebt die Suchbegriffe hervor, wenn der Besucher ein Dokument aus einem Suchergebnis heraus öffnet. Diese Funktion basiert auf Abfrage des HTTP-Referrers, wenn der blockiert wird, gibt es auch keine Hervorhebung."
674
-
675
- # @ relevanssi
676
- #: lib/interface.php:1141
677
- msgid "Highlight query terms in comments:"
678
- msgstr "Suchbegriffe in Kommentaren hervorheben:"
679
-
680
- # @ relevanssi
681
- #: lib/interface.php:1143
682
- msgid "Highlights hits in comments when user opens the post from search results."
683
- msgstr "Hebt die Suchbegriffe auch in den Kommentaren hervor, wenn der Besucher eine Seite aus dem Suchergebnis heraus öffnet."
684
-
685
- # @ relevanssi
686
- #: lib/interface.php:1147
687
- msgid "Uncheck this if you use non-ASCII characters:"
688
- msgstr "Deaktivieren, wenn Sie nicht-ASCII-Zeichen verwenden."
689
-
690
- # @ relevanssi
691
- #: lib/interface.php:1149
692
- msgid "If you use non-ASCII characters (like Cyrillic alphabet) and the highlights don't work, uncheck this option to make highlights work."
693
- msgstr "Wenn Sie Nicht-ASCII-Zeichen verwenden (wie z.B. im kyrillischen Alphabet) und die Hervorhebung nicht funktioniert, deaktivieren Sie diese Option bitte."
694
-
695
- # @ relevanssi
696
- #: lib/interface.php:1154
697
- msgid "Then adjust the settings for your chosen type:"
698
- msgstr "Dann: nehmen Sie die Einstellungen für die gewählte Hervorhebung vor"
699
-
700
- # @ relevanssi
701
- #: lib/interface.php:1158
702
- msgid "Text color for highlights:"
703
- msgstr "Textfarbe für Hervorhebungen:"
704
-
705
- # @ relevanssi
706
- #: lib/interface.php:1160 lib/interface.php:1166
707
- msgid "Use HTML color codes (#rgb or #rrggbb)"
708
- msgstr "Bitte HTML-Farbcodes verwenden (#rgb oder #rrggbb)"
709
-
710
- # @ relevanssi
711
- #: lib/interface.php:1164
712
- msgid "Background color for highlights:"
713
- msgstr "Hintergrundfarbe für Hervorhebungen:"
714
-
715
- # @ relevanssi
716
- #: lib/interface.php:1170
717
- msgid "CSS style for highlights:"
718
- msgstr "CSS-Style für Hervorhebungen:"
719
-
720
- # @ relevanssi
721
- #: lib/interface.php:1172
722
- msgid "You can use any CSS styling here, style will be inserted with a &lt;span&gt;"
723
- msgstr "Sie können beliebiges CSS eintragen. Die Styles werden durch ein &lt;span&gt; eingefügt."
724
-
725
- # @ relevanssi
726
- #: lib/interface.php:1176
727
- msgid "CSS class for highlights:"
728
- msgstr "CSS-Klasse für Hervorhebungen:"
729
-
730
- # @ relevanssi
731
- #: lib/interface.php:1178
732
- msgid "Name a class here, search results will be wrapped in a &lt;span&gt; with the class"
733
- msgstr "Benennen Sie hier eine CSS-Klasse. Der Suchbegriff wird von einem &lt;span&gt; mit dieser Klasse umschlossen werden."
734
-
735
- # @ relevanssi
736
- #: lib/interface.php:1185 lib/interface.php:1364
737
- msgid "Save the options"
738
- msgstr "Einstellungen sichern"
739
-
740
- # @ relevanssi
741
- #: lib/interface.php:1189
742
- msgid "Choose post types to index:"
743
- msgstr "Welche Beitrags-Typen sollen indiziert werden:"
744
-
745
- # @ relevanssi
746
- #: lib/interface.php:1194
747
- msgid "Type"
748
- msgstr "Typ"
749
-
750
- # @ relevanssi
751
- #: lib/interface.php:1195 lib/interface.php:1241
752
- msgid "Index"
753
- msgstr "Index"
754
-
755
- # @ relevanssi
756
- #: lib/interface.php:1196 lib/interface.php:1242
757
- msgid "Public?"
758
- msgstr "Öffentlich?"
759
-
760
- # @ relevanssi
761
- #: lib/interface.php:1213 lib/interface.php:1256
762
- #, php-format
763
- msgid "%s"
764
- msgstr "%s"
765
-
766
- # @ relevanssi
767
- #: lib/interface.php:1214 lib/interface.php:1257
768
- msgid "yes"
769
- msgstr "Ja"
770
-
771
- # @ relevanssi
772
- #: lib/interface.php:1214 lib/interface.php:1257
773
- msgid "no"
774
- msgstr "Nein"
775
-
776
- # @ relevanssi
777
- #: lib/interface.php:1235
778
- msgid "Choose taxonomies to index:"
779
- msgstr "Taxonomien für die Indizierung auswählen:"
780
-
781
- # @ relevanssi
782
- #: lib/interface.php:1240
783
- msgid "Taxonomy"
784
- msgstr "Taxonomie"
785
-
786
- # @ relevanssi
787
- #: lib/interface.php:1277
788
- msgid "If you check a taxonomy here, the terms for that taxonomy are indexed with the posts. If you for example choose \"post_tag\", searching for tags will find all posts that have the tag."
789
- msgstr "Wenn Sie eine Taxonomie hier aktivieren, werden all ihre Begriffe zusammen mit dem Beitrag indiziert. Wenn Sie z.B. \"post_tag\" auswählen, wird die Suche nach einem Tag auch die Beiträge finden, die diesem Tag zugeordnet sind."
790
-
791
- # @ relevanssi
792
- #: lib/interface.php:1281
793
- msgid "Minimum word length to index"
794
- msgstr "Mindestlänge von Wörtern im Index"
795
-
796
- # @ relevanssi
797
- #: lib/interface.php:1283
798
- msgid "Words shorter than this number will not be indexed."
799
- msgstr "Kürzere Wörter werden nicht indiziert."
800
-
801
- # @ relevanssi
802
- #: lib/interface.php:1289
803
- msgid "Expand shortcodes in post content:"
804
- msgstr "Shortcodes im Beitrags-Inhalt ausführen:"
805
-
806
- # @ relevanssi
807
- #: lib/interface.php:1291
808
- msgid "If checked, Relevanssi will expand shortcodes in post content before indexing. Otherwise shortcodes will be stripped. If you use shortcodes to include dynamic content, Relevanssi will not keep the index updated, the index will reflect the status of the shortcode content at the moment of indexing."
809
- msgstr "Wenn aktiviert wird Relevanssi die Shortcodes in den Beiträgen ausführen. Z.B. gelangen Bildzuschriften in Galerien dadurch in den Suchindex. Ein nachträgliches aktivieren dieser Option aktualisiert nicht den Suchindex, in dem Fall müssen Sie den Index aktualisieren. "
810
-
811
- # @ relevanssi
812
- #: lib/interface.php:1297
813
- msgid "Index and search your posts' authors:"
814
- msgstr "Beitrags-Autoren indizieren und suchen:"
815
-
816
- # @ relevanssi
817
- #: lib/interface.php:1299
818
- msgid "If checked, Relevanssi will also index and search the authors of your posts. Author display name will be indexed. Remember to rebuild the index if you change this option!"
819
- msgstr "Wenn aktiviert wird Relavanssi auch auf den Autorenseiten suchen. Die Namen der Autoren werden dabei indiziert. Bitte denken Sie daran den Index neu aufzubauen, wenn Sie diese Option aktivieren."
820
-
821
- # @ relevanssi
822
- #: lib/interface.php:1303
823
- msgid "Index and search post excerpts:"
824
- msgstr "Auszüge indizieren und durchsuchen:"
825
-
826
- # @ relevanssi
827
- #: lib/interface.php:1305
828
- msgid "If checked, Relevanssi will also index and search the excerpts of your posts.Remember to rebuild the index if you change this option!"
829
- msgstr "Wenn aktiviert wird Relavanssi auch auf den Auszügen Ihrer Beiträge. Bitte denken Sie daran den Index neu aufzubauen, wenn Sie diese Option aktivieren."
830
-
831
- # @ relevanssi
832
- #: lib/interface.php:1309
833
- msgid "Index and search these comments:"
834
- msgstr "Diese Kommentaren indizieren und durchsuchen:"
835
-
836
- # @ relevanssi
837
- #: lib/interface.php:1311
838
- msgid "none"
839
- msgstr "keine"
840
-
841
- # @ relevanssi
842
- #: lib/interface.php:1312
843
- msgid "normal"
844
- msgstr "Normal"
845
-
846
- # @ relevanssi
847
- #: lib/interface.php:1313
848
- msgid "all"
849
- msgstr "Alle"
850
-
851
- # @ relevanssi
852
- #: lib/interface.php:1315
853
- msgid "Relevanssi will index and search ALL (all comments including track- &amp; pingbacks and custom comment types), NONE (no comments) or NORMAL (manually posted comments on your blog).<br />Remember to rebuild the index if you change this option!"
854
- msgstr "Relevanssi wird ALLE (alle Kommentare einschließlich Track- &amp; Pingbacks und Benutzerdefinierte Kommentartype), KEINE (Keine Kommentare) der NORMAL (von Besuchern gepostete Kommentare).<br />Bitte denken Sie daran den Index neu aufzubauen, wenn Sie diese Option aktivieren."
855
-
856
- # @ relevanssi
857
- #: lib/interface.php:1319
858
- msgid "Custom fields to index:"
859
- msgstr "Benutzerdefinierte Felder indizieren:"
860
-
861
- # @ relevanssi
862
- #: lib/interface.php:1321
863
- msgid "A comma-separated list of custom fields to include in the index. Set to 'visible' to index all visible custom fields and to 'all' to index all custom fields, also those starting with a '_' character."
864
- msgstr "Eine Komma-getrennte Liste von Benutzerdefinierten Feldern die in den Index aufgenommen werden sollen. Wählen Sie ’visible’ um alle sichtbaren Benutzerd. Felder aufzunehmen, oder ’all’ um auch solche aufzunehmen, die mit einem '_' anfangen."
865
-
866
- # @ relevanssi
867
- #: lib/interface.php:1331
868
- msgid "Save indexing options and build the index"
869
- msgstr "Einstellungen sichern und Index aufbauen"
870
-
871
- # @ relevanssi
872
- #: lib/interface.php:1337
873
- msgid ""
874
- "Warning: In many cases caching is not useful, and in some cases can be even harmful. Do not\n"
875
- "\tactivate cache unless you have a good reason to do so."
876
- msgstr "Warnung: In vielen Fällen ist das Caching nicht sehr vorteilhaft und manchen Fälle sogar nachteilig. Aktivieren Sie den Cache bitte nicht ohne einen sehr guten Grund!"
877
-
878
- # @ relevanssi
879
- #: lib/interface.php:1340
880
- msgid "Enable result and excerpt caching:"
881
- msgstr "Ergebnis- und Auszugs-Cache aktivieren:"
882
-
883
- # @ relevanssi
884
- #: lib/interface.php:1342
885
- msgid "If checked, Relevanssi will cache search results and post excerpts."
886
- msgstr "Wenn aktiviert wird Relevanssi Suchergebnisse und Auszüge cachen."
887
-
888
- # @ relevanssi
889
- #: lib/interface.php:1346
890
- msgid "Cache expire (in seconds):"
891
- msgstr "Cache läuft ab (in Sekunden):"
892
-
893
- # @ relevanssi
894
- #: lib/interface.php:1348
895
- msgid "86400 = day"
896
- msgstr "86400 = 1 Tag"
897
-
898
- # @ relevanssi
899
- #: lib/interface.php:1352
900
- msgid "Entries in the cache"
901
- msgstr "Einträge im Cache"
902
-
903
- # @ relevanssi
904
- #: lib/interface.php:1356
905
- msgid "Clear all caches"
906
- msgstr "Cache löschen"
907
-
908
- # @ relevanssi
909
- #: lib/interface.php:1362
910
- msgid "Add synonyms here in 'key = value' format. When searching with the OR operator, any search of 'key' will be expanded to include 'value' as well. Using phrases is possible. The key-value pairs work in one direction only, but you can of course repeat the same pair reversed."
911
- msgstr "Synonyme im 'key = value' Format hinzufügen. Wenn mit dem OR-Operator gesucht wird, wird jede Suche nach 'key' auch auf 'value' ausgedehnt. Die Benutzung von Sätzen oder Phrasen ist auch möglich. Die Key-Value-Paare funktionieren nur in eine Richtung, aber Sie können natürlich weitere Paare mit vertauschten Werten eintragen."
912
-
913
- # @ relevanssi
914
- #: lib/interface.php:1385
915
- msgid "<p>Enter a word here to add it to the list of stopwords. The word will automatically be removed from the index, so re-indexing is not necessary. You can enter many words at the same time, separate words with commas.</p>"
916
- msgstr "<p>Tragen Sie ein Wort ein um der Liste der Stoppwörter anzufügen. Das Wort wird automatisch aus dem Index gelöscht, daher brauchen Sie den Index nicht erneut aufzubauen. Sie können mehrere Wörter auf einmal durch Kommata getrennt eintragen.</p>"
917
-
918
- # @ relevanssi
919
- #: lib/interface.php:1387
920
- msgid "Stopword(s) to add: "
921
- msgstr "Stoppwörter hinzufügen:"
922
-
923
- # @ relevanssi
924
- #: lib/interface.php:1388
925
- msgid "Add"
926
- msgstr "Hinzufügen"
927
-
928
- # @ relevanssi
929
- #: lib/interface.php:1391
930
- msgid "<p>Here's a list of stopwords in the database. Click a word to remove it from stopwords. Removing stopwords won't automatically return them to index, so you need to re-index all posts after removing stopwords to get those words back to index."
931
- msgstr "Liste der Stoppwörter in der Datenbank. Klicken Sie auf ein Wort um es aus der Stoppwort-Liste zu entfernen. Das Entfernen bringt die Stoppwörter nicht automatisch zurück in den Index, Sie müssen daher nach dem Entfernen der Stoppwörter den Index neu aufbauen.."
932
-
933
- # @ relevanssi
934
- #: lib/interface.php:1417
935
- msgid "Remove all stopwords"
936
- msgstr "Alle Stoppwörter entfernen"
937
-
938
- # @ relevanssi
939
- #: lib/interface.php:1423
940
- msgid "Here's a list of stopwords you can use to export the stopwords to another blog."
941
- msgstr "Eine Liste von Stoppwörtern zum Export in einen anderen Blog."
942
-
943
- # @ relevanssi
944
- #: lib/uninstall.php:41
945
- msgid "Data wiped clean, you can now delete the plugin."
946
- msgstr "Alle Daten sauber gelöscht. Sie können das Plugin jetzt löschen."
947
-
948
- # @ relevanssi
949
- #: relevanssi.php:296
950
- msgid "Tag weight:"
951
- msgstr "Schlüsselwort Gewichtung:"
952
-
953
- # @ relevanssi
954
- #: relevanssi.php:311
955
- msgid "Category weight:"
956
- msgstr "Kategorie Gewichtung:"
957
-
958
- # @ relevanssi
959
- #: lib/interface.php:1004
960
- msgid "WPML/Polylang compatibility"
961
- msgstr "WPML/Polylang Kompatibilität"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
relevanssi-fr_FR.mo DELETED
Binary file
relevanssi-fr_FR.po DELETED
@@ -1,1635 +0,0 @@
1
- msgid ""
2
- msgstr ""
3
- "Project-Id-Version: Relevanssi v1.4\n"
4
- "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2016-08-22 19:01+0100\n"
6
- "PO-Revision-Date: 2016-08-25 14:31+0100\n"
7
- "Last-Translator: Li-An <lian00@gmail.com>\n"
8
- "Language-Team: \n"
9
- "Language: fr_FR\n"
10
- "MIME-Version: 1.0\n"
11
- "Content-Type: text/plain; charset=UTF-8\n"
12
- "Content-Transfer-Encoding: 8bit\n"
13
- "Plural-Forms: nplurals=2; plural=n != 1;\n"
14
- "X-Poedit-SourceCharset: UTF-8\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;"
17
- "esc_attr_e\n"
18
- "X-Textdomain-Support: yes\n"
19
- "X-Generator: Poedit 1.7.5\n"
20
- "X-Poedit-Basepath: .\n"
21
- "X-Poedit-SearchPath-0: .\n"
22
-
23
- # @ default
24
- #: lib/excerpts-highlights.php:11
25
- msgid "There is no excerpt because this is a protected post."
26
- msgstr "Il n'y a aucun extrait parce que le billet est protégé."
27
-
28
- # @ relevanssi
29
- #: lib/indexing.php:118
30
- msgid "Indexing complete!"
31
- msgstr "Indexation terminée !"
32
-
33
- #: lib/init.php:41
34
- msgid ""
35
- "You do not have an index! Remember to build the index (click the \"Build the "
36
- "index\" button), otherwise searching won't work."
37
- msgstr ""
38
- "Vous n'avez pas d’index ! Pensez à générer l’index (cliquer sur le bouton "
39
- "« Générer l’index »), sinon la recherche ne fonctionnera pas."
40
-
41
- #: lib/init.php:57
42
- msgid ""
43
- "Multibyte string functions are not available. Relevanssi may not work well "
44
- "without them. Please install (or ask your host to install) the mbstring "
45
- "extension."
46
- msgstr ""
47
- "Les fonctions Multibyte string ne sont pas disponibles. Relevanssi risque de "
48
- "ne pas fonctionner correctement sans elles. Veuillez installer (ou demander "
49
- "à votre hébergeur de le faire) l'extension mbstring."
50
-
51
- # @ relevanssi
52
- #: lib/init.php:85 lib/init.php:86
53
- msgid "User searches"
54
- msgstr "Recherches utilisateurs"
55
-
56
- # @ relevanssi
57
- #: lib/interface.php:6
58
- msgid "Relevanssi Premium Search Options"
59
- msgstr "Options de recherche de Relevanssi Premium"
60
-
61
- # @ relevanssi
62
- #: lib/interface.php:9
63
- msgid "Relevanssi Search Options"
64
- msgstr "Options de recherche de Relevanssi Premium"
65
-
66
- # @ relevanssi
67
- #: lib/interface.php:81
68
- msgid "User Searches"
69
- msgstr "Recherches utilisateurs"
70
-
71
- # @ relevanssi
72
- #: lib/interface.php:83
73
- msgid "Relevanssi User Searches"
74
- msgstr "Recherches Relevanssi par les utilisateurs"
75
-
76
- #: lib/interface.php:111
77
- msgid "Enable query logging to see stats here."
78
- msgstr "Activer le journal des recherches pour voir les statistiques ici."
79
-
80
- #: lib/interface.php:126
81
- msgid "Logs clear!"
82
- msgstr "Journal vide !"
83
-
84
- # @ relevanssi
85
- #: lib/interface.php:320
86
- #, php-format
87
- msgid ""
88
- "<div id='message' class='updated fade'><p>Successfully added %d/%d terms to "
89
- "stopwords!</p></div>"
90
- msgstr ""
91
- "<div id='message' class='updated fade'><p>Ajout réussi de %d/%d termes aux "
92
- "stopwords !</p></div>"
93
-
94
- # @ relevanssi
95
- #: lib/interface.php:327
96
- #, php-format
97
- msgid ""
98
- "<div id='message' class='updated fade'><p>Term '%s' added to stopwords!</p></"
99
- "div>"
100
- msgstr ""
101
- "<div id='message' class='updated fade'><p>Terme « %s » ajouté aux stopwords !"
102
- "</p></div>"
103
-
104
- # @ relevanssi
105
- #: lib/interface.php:330
106
- #, php-format
107
- msgid ""
108
- "<div id='message' class='updated fade'><p>Couldn't add term '%s' to "
109
- "stopwords!</p></div>"
110
- msgstr ""
111
- "<div id='message' class='updated fade'><p>Impossible d’ajouter « %s » aux "
112
- "stopwords !</p></div>"
113
-
114
- # @ relevanssi
115
- #: lib/interface.php:369
116
- msgid ""
117
- "<div id='message' class='updated fade'><p>Stopwords removed! Remember to re-"
118
- "index.</p></div>"
119
- msgstr ""
120
- "<div id='message' class='updated fade'><p>Stopwords retirés ! N’oubliez pas "
121
- "de réindexer.</p></div>"
122
-
123
- # @ relevanssi
124
- #: lib/interface.php:379
125
- #, php-format
126
- msgid ""
127
- "<div id='message' class='updated fade'><p>Term '%s' removed from stopwords! "
128
- "Re-index to get it back to index.</p></div>"
129
- msgstr ""
130
- "<div id='message' class='updated fade'><p>Terme « %s » retiré des "
131
- "stopwords ! Réindexer pour le récupérer dans l’index.</p></div>"
132
-
133
- # @ relevanssi
134
- #: lib/interface.php:382
135
- #, php-format
136
- msgid ""
137
- "<div id='message' class='updated fade'><p>Couldn't remove term '%s' from "
138
- "stopwords!</p></div>"
139
- msgstr ""
140
- "<div id='message' class='updated fade'><p>Impossible de retirer « %s » des "
141
- "stopwords !</p></div>"
142
-
143
- # @ relevanssi
144
- #: lib/interface.php:393
145
- msgid "25 most common words in the index"
146
- msgstr "Les 25 mots des plus fréquents de l’index"
147
-
148
- # @ relevanssi
149
- #: lib/interface.php:395
150
- msgid ""
151
- "These words are excellent stopword material. A word that appears in most of "
152
- "the posts in the database is quite pointless when searching. This is also an "
153
- "easy way to create a completely new stopword list, if one isn't available in "
154
- "your language. Click the icon after the word to add the word to the stopword "
155
- "list. The word will also be removed from the index, so rebuilding the index "
156
- "is not necessary."
157
- msgstr ""
158
- "Ces mots font d'excellents stopwords. Un mot qui apparaît dans la plupart "
159
- "des billets de la base de données ne sert pas à grand chose pour une "
160
- "recherche. C’est aussi une manière simple de créer une nouvelle liste de "
161
- "stopwords si celle-ci n'est pas disponible dans votre langue. Cliquez "
162
- "l’icône après le mot pour l’ajouter dans la liste de stopwords. Le mot sera "
163
- "retiré de l’index, aussi est-il inutile de régénérer l’index."
164
-
165
- # @ relevanssi
166
- #: lib/interface.php:421
167
- msgid "Add to stopwords"
168
- msgstr "Ajouter aux stopwords"
169
-
170
- #: lib/interface.php:434
171
- msgid "Total Searches"
172
- msgstr "Recherches totales"
173
-
174
- #: lib/interface.php:437
175
- msgid "Totals"
176
- msgstr "Totaux"
177
-
178
- #: lib/interface.php:442
179
- msgid "Common Queries"
180
- msgstr "Requêtes communes"
181
-
182
- # @ relevanssi
183
- #: lib/interface.php:451 lib/interface.php:467 lib/interface.php:499
184
- msgid "Today and yesterday"
185
- msgstr "Aujourd’hui et hier"
186
-
187
- # @ relevanssi
188
- #: lib/interface.php:455 lib/interface.php:471 lib/interface.php:500
189
- msgid "Last 7 days"
190
- msgstr "Sept derniers jours"
191
-
192
- # @ relevanssi
193
- #: lib/interface.php:459 lib/interface.php:475
194
- #, php-format
195
- msgid "Last %d days"
196
- msgstr "Derniers %s jours"
197
-
198
- #: lib/interface.php:464
199
- msgid "Unsuccessful Queries"
200
- msgstr "Requêtes infructueuses"
201
-
202
- #: lib/interface.php:482
203
- msgid "Reset Logs"
204
- msgstr "Réinitialiser le journal"
205
-
206
- #: lib/interface.php:485
207
- #, php-format
208
- msgid "To reset the logs, type \"reset\" into the box here %s and click %s"
209
- msgstr ""
210
- "Pour réinitialiser le journal, saisissez « reset » dans cette boite %s et "
211
- "cliquez %s"
212
-
213
- # @ relevanssi
214
- #: lib/interface.php:501
215
- msgid "Last 30 days"
216
- msgstr "Trente derniers jours"
217
-
218
- #: lib/interface.php:502
219
- msgid "Forever"
220
- msgstr "Toujours"
221
-
222
- #: lib/interface.php:504
223
- msgid "When"
224
- msgstr "Lorsque"
225
-
226
- #: lib/interface.php:504
227
- msgid "Searches"
228
- msgstr "Recherches"
229
-
230
- #: lib/interface.php:536
231
- msgid "Query"
232
- msgstr "Requête"
233
-
234
- #: lib/interface.php:536
235
- msgid "Hits"
236
- msgstr "Occurrences"
237
-
238
- # @ relevanssi
239
- #: lib/interface.php:845 lib/interface.php:885
240
- msgid "Basic options"
241
- msgstr "Options basiques"
242
-
243
- #: lib/interface.php:846 lib/interface.php:951
244
- msgid "Weights"
245
- msgstr "Importance"
246
-
247
- # @ relevanssi
248
- #: lib/interface.php:847 lib/interface.php:1006
249
- msgid "Logs"
250
- msgstr "Journal"
251
-
252
- # @ relevanssi
253
- #: lib/interface.php:848 lib/interface.php:1035
254
- msgid "Exclusions and restrictions"
255
- msgstr "Exclusions et restrictions"
256
-
257
- # @ relevanssi
258
- #: lib/interface.php:849
259
- msgid "Custom excerpts"
260
- msgstr "Extraits personnalisés"
261
-
262
- # @ relevanssi
263
- #: lib/interface.php:850
264
- msgid "Highlighting search results"
265
- msgstr "Mise en évidence des résultats de recherche"
266
-
267
- # @ relevanssi
268
- #: lib/interface.php:851 lib/interface.php:1187
269
- msgid "Indexing options"
270
- msgstr "Options d’indexation"
271
-
272
- # @ relevanssi
273
- #: lib/interface.php:852 lib/interface.php:1346
274
- msgid "Synonyms"
275
- msgstr "Synonymes"
276
-
277
- # @ relevanssi
278
- #: lib/interface.php:853 lib/interface.php:1356
279
- msgid "Stopwords"
280
- msgstr "Stopwords"
281
-
282
- #: lib/interface.php:856
283
- msgid "Import/export options"
284
- msgstr "Importer/exporter les options"
285
-
286
- # @ relevanssi
287
- #: lib/interface.php:859
288
- msgid "Buy Relevanssi Premium"
289
- msgstr "Acheter Relevanssi Premium"
290
-
291
- # @ relevanssi
292
- #: lib/interface.php:864
293
- msgid "Quick tools"
294
- msgstr "Outils rapides"
295
-
296
- # @ relevanssi
297
- #: lib/interface.php:866
298
- msgid "Save options"
299
- msgstr "Enregistrer les options"
300
-
301
- # @ relevanssi
302
- #: lib/interface.php:867
303
- msgid "Build the index"
304
- msgstr "Générer l’index"
305
-
306
- # @ relevanssi
307
- #: lib/interface.php:868 lib/interface.php:1344
308
- msgid "Continue indexing"
309
- msgstr "Continuer l'indexation"
310
-
311
- # @ relevanssi
312
- #: lib/interface.php:868
313
- msgid "add"
314
- msgstr "ajouter"
315
-
316
- # @ relevanssi
317
- #: lib/interface.php:868
318
- msgid "documents."
319
- msgstr "documents."
320
-
321
- #: lib/interface.php:872
322
- msgid ""
323
- "WARNING: You've chosen no post types to index. Nothing will be indexed. <a "
324
- "href='#indexing'>Choose some post types to index</a>."
325
- msgstr ""
326
- "AVERTISSEMENT : vous n’avez sélectionné aucun type de billet à indexer. Rien "
327
- "ne sera indexé. <a href='#indexing'>Choisir des types de billets à indexer</"
328
- "a>."
329
-
330
- # @ relevanssi
331
- #: lib/interface.php:876
332
- msgid ""
333
- "Use 'Build the index' to build the index with current <a "
334
- "href='#indexing'>indexing options</a>. If you can't finish indexing with one "
335
- "go, use 'Continue indexing' to finish the job. You can change the number of "
336
- "documents to add until you find the largest amount you can add with one go. "
337
- "See 'State of the Index' below to find out how many documents actually go "
338
- "into the index."
339
- msgstr ""
340
- "Utiliser « Générer l’index » pour construire l’index avec les <a "
341
- "href='#indexing'>options d’indexation</a> actuelles. Si vous ne pouvez pas "
342
- "terminer l’indexation en une passe, utilisez « Continuer l’indexation » pour "
343
- "finir le travail. Vous pouvez modifier le nombre de documents à ajouter "
344
- "jusqu'à ce que vous trouviez le maximum que vous pouvez ajouter en une "
345
- "passe. Regardez « État de l’indexation » ci-dessous pour déterminer le "
346
- "nombre de documents actuellement indexés."
347
-
348
- # @ relevanssi
349
- #: lib/interface.php:878
350
- msgid "State of the Index"
351
- msgstr "État de l’indexation"
352
-
353
- # @ relevanssi
354
- #: lib/interface.php:880
355
- msgid "Documents in the index"
356
- msgstr "Documents dans l’index"
357
-
358
- # @ relevanssi
359
- #: lib/interface.php:881
360
- msgid "Terms in the index"
361
- msgstr "Termes dans l’index"
362
-
363
- # @ relevanssi
364
- #: lib/interface.php:882
365
- msgid "Highest post ID indexed"
366
- msgstr "ID de billet le plus élevé indexé"
367
-
368
- # @ relevanssi
369
- #: lib/interface.php:891
370
- msgid "Use search for admin:"
371
- msgstr "Utiliser la recherche pour l'administration :"
372
-
373
- # @ relevanssi
374
- #: lib/interface.php:893
375
- msgid "If checked, Relevanssi will be used for searches in the admin interface"
376
- msgstr ""
377
- "Si coché, Relevanssi sera utilisé pour les recherches dans l’interface "
378
- "d’administration"
379
-
380
- # @ relevanssi
381
- #: lib/interface.php:897
382
- msgid "Default operator for the search?"
383
- msgstr "Opérateur logique par défaut pour la recherche ?"
384
-
385
- # @ relevanssi
386
- #: lib/interface.php:899
387
- msgid "AND - require all terms"
388
- msgstr "AND - nécessite tous les termes"
389
-
390
- # @ relevanssi
391
- #: lib/interface.php:900
392
- msgid "OR - any term present is enough"
393
- msgstr "OR - n’importe lequel des termes présents est suffisant"
394
-
395
- # @ relevanssi
396
- #: lib/interface.php:902
397
- msgid ""
398
- "If you choose AND and the search finds no matches, it will automatically do "
399
- "an OR search."
400
- msgstr ""
401
- "Si vous choisissez AND et la recherche ne trouve rien, une recherche OR sera "
402
- "lancée automatiquement."
403
-
404
- # @ relevanssi
405
- #: lib/interface.php:906
406
- msgid "Disable OR fallback:"
407
- msgstr "Désactiver l’alternative OR :"
408
-
409
- # @ relevanssi
410
- #: lib/interface.php:908
411
- msgid ""
412
- "If you don't want Relevanssi to fall back to OR search when AND search gets "
413
- "no hits, check this option. For most cases, leave this one unchecked."
414
- msgstr ""
415
- "Si vous ne désirez pas que Relevanssi se rabatte sur une recherche OR quand "
416
- "la recherche AND ne donne aucun résultat, cochez cette option. Dans la "
417
- "plupart des cas, laissez-la décochée."
418
-
419
- # @ relevanssi
420
- #: lib/interface.php:912
421
- msgid "Default order for results:"
422
- msgstr "Ordre par défaut des résultats :"
423
-
424
- #: lib/interface.php:914
425
- msgid "Relevance (highly recommended)"
426
- msgstr "Pertinence (fortement recommandé)"
427
-
428
- #: lib/interface.php:915
429
- msgid "Post date"
430
- msgstr "Date du billet"
431
-
432
- #: lib/interface.php:917
433
- msgid ""
434
- "If you want date-based results, see the recent post bonus in the Weights "
435
- "section."
436
- msgstr ""
437
- "Si vous souhaitez des résultats basés sur la date, voyez le bonus de billet "
438
- "récent dans la section « Importance »."
439
-
440
- # @ relevanssi
441
- #: lib/interface.php:921
442
- msgid "When to use fuzzy matching?"
443
- msgstr "Quand utiliser la correspondance approximative ?"
444
-
445
- # @ relevanssi
446
- #: lib/interface.php:923
447
- msgid "When straight search gets no hits"
448
- msgstr "Quand la recherche directe ne donne pas de résultat"
449
-
450
- # @ relevanssi
451
- #: lib/interface.php:924
452
- msgid "Always"
453
- msgstr "Toujours"
454
-
455
- # @ relevanssi
456
- #: lib/interface.php:925
457
- msgid "Don't use fuzzy search"
458
- msgstr "Ne pas utiliser l’approximation"
459
-
460
- # @ relevanssi
461
- #: lib/interface.php:927
462
- msgid ""
463
- "Straight search matches just the term. Fuzzy search matches everything that "
464
- "begins or ends with the search term."
465
- msgstr ""
466
- "La recherche directe prend en compte juste le terme. La recherche "
467
- "approximative prend en compte tout ce qui commence ou finit par le terme "
468
- "recherché."
469
-
470
- #: lib/interface.php:935
471
- msgid "Limit searches:"
472
- msgstr "Limite des recherche :"
473
-
474
- #: lib/interface.php:937
475
- msgid ""
476
- "If this option is checked, Relevanssi will limit search results to at most "
477
- "500 results per term. This will improve performance, but may cause some "
478
- "relevant documents to go unfound. However, Relevanssi tries to prioritize "
479
- "the most relevant documents. <strong>This does not work well when sorting "
480
- "results by date.</strong> The throttle can end up cutting off recent posts "
481
- "to favour more relevant posts."
482
- msgstr ""
483
- "Si cette option est cochée, Relevanssi limitera les résultats de recherche "
484
- "au maximum à 500 résultats par terme. Cela améliorera les performances mais "
485
- "peut conduire à ce que certains documents correspondants ne soient pas "
486
- "trouvés. Quoiqu’il en soit, Relevanssi essaie d'afficher en priorité les "
487
- "documents avec les meilleures correspondances. <strong>Cela ne fonctionne "
488
- "pas bien lors du tri des résultats par date.</strong> L'accélération peut "
489
- "conduire à la réduction des billets récents en faveur des billets plus "
490
- "pertinents."
491
-
492
- #: lib/interface.php:941
493
- msgid "Limit:"
494
- msgstr "Limite :"
495
-
496
- #: lib/interface.php:943
497
- #, php-format
498
- msgid ""
499
- "For better performance, adjust the limit to a smaller number. Adjusting the "
500
- "limit to 100 or 200 should be safe for good results, and might bring a boost "
501
- "in search speed. DO NOT use this feature to limit the number of search "
502
- "results on search results pages, as that will lead to problems. For "
503
- "adjusting the number of search results displayed, see <a href='%s'>this "
504
- "knowledge base entry</a>."
505
- msgstr ""
506
- "Pour de meilleures performances, ajustez la limite à un nombre plus petit. "
507
- "Ajuster la limite à 100 ou 200 devrait être correct pour de bons résultats "
508
- "et accélèrera la vitesse de recherche. N’utilisez PAS cette fonctionnalité "
509
- "pour limiter le nombre de résultats sur la page de recherche, puisque cela "
510
- "conduira à des problèmes. Pour ajuster l'affichage du nombre de résultats, "
511
- "voyez <a href='%s'>cette entrée de la base de connaissance</a>."
512
-
513
- #: lib/interface.php:953
514
- msgid ""
515
- "These values affect the weights of the documents. These are all multipliers, "
516
- "so 1 means no change in weight, less than 1 means less weight, and more than "
517
- "1 means more weight. Setting something to zero makes that worthless. For "
518
- "example, if title weight is more than 1, words in titles are more "
519
- "significant than words elsewhere. If title weight is 0, words in titles "
520
- "won't make any difference to the search results."
521
- msgstr ""
522
- "Ces valeurs affectent l’importance des documents. Ce sont des coefficients, "
523
- "ainsi, 1 signifie aucune modification de l’importance, moins de 1 signifie "
524
- "moins d’importance et plus de 1 signifie plus d’importance. Un réglage "
525
- "proche de zéro correspond à une partie négligeable. Par exemple, si "
526
- "l’importance du titre vaut plus que 1, les mots dans le titre sont plus "
527
- "significatifs que les mêmes mots partout ailleurs. Si l’importance du titre "
528
- "vaut 0, les mots dans le titre n’affecteront pas les résultats de recherche."
529
-
530
- #: lib/interface.php:958
531
- msgid "Element"
532
- msgstr "Élément"
533
-
534
- #: lib/interface.php:959
535
- msgid "Weight"
536
- msgstr "Importance"
537
-
538
- #: lib/interface.php:960
539
- msgid "Default weight"
540
- msgstr "Importance par défaut"
541
-
542
- #: lib/interface.php:965
543
- msgid "Post titles"
544
- msgstr "Titres de billets"
545
-
546
- #: lib/interface.php:977
547
- msgid "Comment text"
548
- msgstr "Texte de commentaire"
549
-
550
- #: lib/interface.php:998
551
- msgid "WPML/Polylang compatibility"
552
- msgstr "Compatibilité WPML / Polylang"
553
-
554
- #: lib/interface.php:1000
555
- msgid "Limit results to current language:"
556
- msgstr "Limiter les résultats à la langue en cours :"
557
-
558
- #: lib/interface.php:1002
559
- msgid ""
560
- "If this option is checked, Relevanssi will only return results in the "
561
- "current active language. Otherwise results will include posts in every "
562
- "language."
563
- msgstr ""
564
- "Si cette option est cochée, Relevanssi donnera uniquement des résultats dans "
565
- "la langue en cours activée. Sinon, les résultats contiendront les billets de "
566
- "toutes les langues."
567
-
568
- # @ relevanssi
569
- #: lib/interface.php:1008
570
- msgid "Keep a log of user queries:"
571
- msgstr "Conserver les recherches des utilisateurs dans le journal :"
572
-
573
- # @ relevanssi
574
- #: lib/interface.php:1010
575
- msgid ""
576
- "If checked, Relevanssi will log user queries. The log appears in 'User "
577
- "searches' on the Dashboard admin menu."
578
- msgstr ""
579
- "Si coché, Relevanssi conservera dans le journal les requêtes d'utilisateur. "
580
- "Les statistiques apparaissent dans « Recherches d'utilisateur » dans le menu "
581
- "du tableau de bord de l'administration."
582
-
583
- #: lib/interface.php:1014
584
- msgid "Log the user's IP with the queries:"
585
- msgstr "Conserver l’IP des utilisateurs dans le journal avec les requêtes :"
586
-
587
- # @ relevanssi
588
- #: lib/interface.php:1016
589
- msgid "If checked, Relevanssi will log user's IP-Adress with the queries."
590
- msgstr ""
591
- "Si coché, Relevanssi ajoutera l’adresse IP des utilisateurs avec les "
592
- "requêtes dans le journal."
593
-
594
- # @ relevanssi
595
- #: lib/interface.php:1020
596
- msgid "Don't log queries from these users:"
597
- msgstr "Ne pas conserver les statistiques de recherche de ces utilisateur :"
598
-
599
- #: lib/interface.php:1022
600
- msgid ""
601
- "Comma-separated list of numeric user IDs or user login names that will not "
602
- "be logged."
603
- msgstr ""
604
- "Liste des ID utilisateurs, séparés par une virgule, qui ne seront pas "
605
- "ajoutés au journal."
606
-
607
- # @ relevanssi
608
- #: lib/interface.php:1026
609
- msgid ""
610
- "If you enable logs, you can see what your users are searching for. You can "
611
- "prevent your own searches from getting in the logs with the omit feature."
612
- msgstr ""
613
- "Si vous activez le journal, vous pouvez voir ce que les utilisateurs "
614
- "recherchent. Vous pouvez empêcher l’ajout de vos propres recherches dans le "
615
- "journal avec la fonctionnalité d’exception."
616
-
617
- # @ relevanssi
618
- #: lib/interface.php:1029
619
- msgid ""
620
- "If you enable logs, you can see what your users are searching for. Logs are "
621
- "also needed to use the 'Did you mean?' feature. You can prevent your own "
622
- "searches from getting in the logs with the omit feature."
623
- msgstr ""
624
- "Si vous activez le journal, vous pouvez voir ce que les utilisateurs "
625
- "recherchent. Le journal est aussi utilisé pour la fonction « Vous vouliez "
626
- "dire ? ». Vous pouvez empêcher l’enregistrement de vos propres recherches à "
627
- "l’aide de la fonction d'exception."
628
-
629
- # @ relevanssi
630
- #: lib/interface.php:1037
631
- msgid "Restrict search to these categories and tags:"
632
- msgstr "Restreindre la recherche à ces catégories et mots-clés :"
633
-
634
- #: lib/interface.php:1039
635
- msgid ""
636
- "Enter a comma-separated list of category and tag IDs to restrict search to "
637
- "those categories or tags. You can also use <code>&lt;input type='hidden' "
638
- "name='cats' value='list of cats and tags' /&gt;</code> in your search form. "
639
- "The input field will \toverrun this setting."
640
- msgstr ""
641
- "Saisissez une liste d’IDs de catégories et de mots-clés, séparés par une "
642
- "virgule, pour restreindre la recherche à ces catégories ou mots-clés. Vous "
643
- "pouvez aussi utiliser <code>&lt;input type='hidden' name='cats' value='list "
644
- "of cats and tags' /&gt;</code> dans votre formulaire de recherche. Ce champ "
645
- "de saisie sera prioritaire sur le réglage."
646
-
647
- #: lib/interface.php:1043
648
- msgid "Exclude these categories from search:"
649
- msgstr "Exclure ces catégories de la recherche :"
650
-
651
- #: lib/interface.php:1045
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’IDs de catégories, séparés par une virgule, à exclure des "
657
- "résultats de recherche."
658
-
659
- # @ relevanssi
660
- #: lib/interface.php:1049
661
- msgid "Exclude these tags from search:"
662
- msgstr "Exclure ces mots-clés de la recherche :"
663
-
664
- #: lib/interface.php:1051
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’IDs de mots-clés, séparés par une virgule, à exclure des "
670
- "résultats de recherche."
671
-
672
- # @ relevanssi
673
- #: lib/interface.php:1055
674
- msgid "Exclude these posts/pages from search:"
675
- msgstr "Exclure ces billets/pages de la recherche :"
676
-
677
- # @ relevanssi
678
- #: lib/interface.php:1059
679
- msgid ""
680
- "Enter a comma-separated list of post/page IDs that are excluded from search "
681
- "results. This only works here, you can't use the input field option "
682
- "(WordPress doesn't pass custom parameters there). You can also use a "
683
- "checkbox on post/page edit pages to remove posts from index."
684
- msgstr ""
685
- "Entrez une liste d’ID de billets et de pages à exclure des résultats de "
686
- "recherche. Cela ne fonctionne qu’ici, vous ne pouvez pas utiliser l’option "
687
- "de champ d'insertion (WordPress ne gèrera pas les paramètres personnalisés "
688
- "dans ce cas). Vous pouvez également utiliser une case à cocher sur les pages "
689
- "d’éditions des billets / pages pour retirer des billets de l'index."
690
-
691
- # @ relevanssi
692
- #: lib/interface.php:1062
693
- msgid ""
694
- "Enter a comma-separated list of post/page IDs that are excluded from search "
695
- "results. This only works here, you can't use the input field option "
696
- "(WordPress doesn't pass custom parameters there)."
697
- msgstr ""
698
- "Entrez une liste d’ID de billets et de pages à exclure des résultats de "
699
- "recherche. Cela ne fonctionne qu’ici, vous ne pouvez pas utiliser l'option "
700
- "de champ d’insertion (WordPress ne gèrera pas les paramètres personnalisés "
701
- "dans ce cas)."
702
-
703
- # @ relevanssi
704
- #: lib/interface.php:1068
705
- msgid "Respect exclude_from_search for custom post types:"
706
- msgstr ""
707
- "Respecter exclude_from_search pour les types de billets personnalisés :"
708
-
709
- # @ relevanssi
710
- #: lib/interface.php:1070
711
- msgid ""
712
- "If checked, Relevanssi won't display posts of custom post types that have "
713
- "'exclude_from_search' set to true. If not checked, Relevanssi will display "
714
- "anything that is indexed."
715
- msgstr ""
716
- "Si coché, Relevanssi n'affichera aucun billet de types de billets "
717
- "personnalisés pour lesquels 'exclude_from_search' a été indiqué. Si non "
718
- "coché, Relevanssi affichera tout ce qui est indexé."
719
-
720
- # @ relevanssi
721
- #: lib/interface.php:1072
722
- msgid "Custom excerpts/snippets"
723
- msgstr "Extraits/snippets personnalisés"
724
-
725
- # @ relevanssi
726
- #: lib/interface.php:1074
727
- msgid "Create custom search result snippets:"
728
- msgstr "Créer des snippets personnalisés de résultats de recherche :"
729
-
730
- # @ relevanssi
731
- #: lib/interface.php:1076
732
- msgid ""
733
- "If checked, Relevanssi will create excerpts that contain the search term "
734
- "hits. To make them work, make sure your search result template uses "
735
- "the_excerpt() to display post excerpts."
736
- msgstr ""
737
- "Si coché, Relevanssi créera des extraits qui contiennent les occurrences du "
738
- "terme recherché. Pour que cela fonctionne, vérifiez bien que le fichier de "
739
- "thème de résultat de recherche utilise <code>the_excerpt()</code> pour "
740
- "afficher les extraits de billet."
741
-
742
- #: lib/interface.php:1078
743
- msgid ""
744
- "Note: Building custom excerpts can be slow. If you are not actually using "
745
- "the excerpts, make sure you disable the option."
746
- msgstr ""
747
- "REMARQUE : la génération d'extraits personnalisés peut prendre du temps. Si "
748
- "vous n’utilisez pas vraiment d'extraits, désactivez cette option."
749
-
750
- # @ relevanssi
751
- #: lib/interface.php:1080
752
- msgid "Length of the snippet:"
753
- msgstr "Longueur du snippet :"
754
-
755
- # @ relevanssi
756
- #: lib/interface.php:1083
757
- msgid "characters"
758
- msgstr "caractères"
759
-
760
- # @ relevanssi
761
- #: lib/interface.php:1084
762
- msgid "words"
763
- msgstr "mots"
764
-
765
- # @ relevanssi
766
- #: lib/interface.php:1086
767
- msgid "This must be an integer."
768
- msgstr "Ceci doit être un nombre entier."
769
-
770
- #: lib/interface.php:1090
771
- msgid "Allowable tags in excerpts:"
772
- msgstr "Balises autorisées dans les extraits :"
773
-
774
- #: lib/interface.php:1093
775
- msgid ""
776
- "List all tags you want to allow in excerpts, without any whitespace. For "
777
- "example: '&lt;p&gt;&lt;a&gt;&lt;strong&gt;'."
778
- msgstr ""
779
- "Listez toutes les balises que vous souhaitez autoriser dans les extraits "
780
- "sans aucun espace. Par exemple : '&lt;p&gt;&lt;a&gt;&lt;strong&gt;'."
781
-
782
- # @ relevanssi
783
- #: lib/interface.php:1097
784
- msgid "Show breakdown of search hits in excerpts:"
785
- msgstr "Montrer la répartition des résultats de recherche dans les extraits :"
786
-
787
- # @ relevanssi
788
- #: lib/interface.php:1099
789
- msgid ""
790
- "Check this to show more information on where the search hits were made. "
791
- "Requires custom snippets to work."
792
- msgstr ""
793
- "Cochez ceci pour afficher plus d'informations sur la répartition des "
794
- "résultats de recherche. Nécessite l'activation des snippets personnalisés "
795
- "pour fonctionner."
796
-
797
- # @ relevanssi
798
- #: lib/interface.php:1103
799
- msgid "The breakdown format:"
800
- msgstr "Mise en forme des répartitions :"
801
-
802
- # @ relevanssi
803
- #: lib/interface.php:1105
804
- msgid ""
805
- "Use %body%, %title%, %tags% and %comments% to display the number of hits (in "
806
- "different parts of the post), %total% for total hits, %score% to display the "
807
- "document weight and %terms% to show how many hits each search term got. No "
808
- "double quotes (\") allowed!"
809
- msgstr ""
810
- "Utilisez %body%, %title%, %tags% et %comments% pour afficher le nombre "
811
- "d'occurrences trouvées (en différents endroits du billet), %total% pour le "
812
- "nombre total d'occurrences, %score% pour afficher l’importance du document "
813
- "et %terms% pour montrer combien d’occurrences correspondent à chacun des "
814
- "termes recherchés. Interdit d’utiliser des guillemets (\") !"
815
-
816
- # @ relevanssi
817
- #: lib/interface.php:1107
818
- msgid "Search hit highlighting"
819
- msgstr "Mise en évidence des résultats de recherche"
820
-
821
- # @ relevanssi
822
- #: lib/interface.php:1109
823
- msgid "First, choose the type of highlighting used:"
824
- msgstr "D’abord, veuillez choisir le type de mise en évidence utilisée :"
825
-
826
- # @ relevanssi
827
- #: lib/interface.php:1112
828
- msgid "Highlight query terms in search results:"
829
- msgstr ""
830
- "Mettre en évidence les termes de recherche dans les résultats de recherche :"
831
-
832
- # @ relevanssi
833
- #: lib/interface.php:1114
834
- msgid "No highlighting"
835
- msgstr "Pas de mise en évidence"
836
-
837
- # @ relevanssi
838
- #: lib/interface.php:1118
839
- msgid "Text color"
840
- msgstr "Couleur du texte"
841
-
842
- # @ relevanssi
843
- #: lib/interface.php:1119
844
- msgid "Background color"
845
- msgstr "Couleur du fond"
846
-
847
- # @ relevanssi
848
- #: lib/interface.php:1120
849
- msgid "CSS Style"
850
- msgstr "Style CSS"
851
-
852
- # @ relevanssi
853
- #: lib/interface.php:1121
854
- msgid "CSS Class"
855
- msgstr "Classe CSS"
856
-
857
- # @ relevanssi
858
- #: lib/interface.php:1123
859
- msgid "Highlighting isn't available unless you use custom snippets"
860
- msgstr ""
861
- "La mise en évidence n’est pas disponible tant que vous n’avez pas activé "
862
- "l'utilisation de snippets personnalisés."
863
-
864
- # @ relevanssi
865
- #: lib/interface.php:1127
866
- msgid "Highlight query terms in result titles too:"
867
- msgstr "Mettre en évidence les mots recherchés dans le titre également :"
868
-
869
- # @ relevanssi
870
- #: lib/interface.php:1133
871
- msgid "Highlight query terms in documents from local searches:"
872
- msgstr ""
873
- "Mettre en évidence les termes de la requête dans les documents à partir de "
874
- "recherches locales :"
875
-
876
- # @ relevanssi
877
- #: lib/interface.php:1135
878
- msgid ""
879
- "Highlights hits when user opens the post from search results. This is based "
880
- "on HTTP referrer, so if that's blocked, there'll be no highlights."
881
- msgstr ""
882
- "Met en évidence les occurrences lorsque l’utilisateur ouvre le billet à "
883
- "partir des résultats de recherche. La fonction est basée sur HTTP referrer, "
884
- "ainsi, en cas de blocage, il n'y aura pas mise en évidence."
885
-
886
- # @ relevanssi
887
- #: lib/interface.php:1141
888
- msgid "Highlight query terms in comments:"
889
- msgstr "Mettre en évidence les termes recherchés dans les commentaires :"
890
-
891
- # @ relevanssi
892
- #: lib/interface.php:1143
893
- msgid ""
894
- "Highlights hits in comments when user opens the post from search results."
895
- msgstr ""
896
- "Met en évidence les résultats affichés dans les commentaires quand "
897
- "l’utilisateur ouvre le billet à partir des résultats de recherche."
898
-
899
- #: lib/interface.php:1147
900
- msgid "Uncheck this if you use non-ASCII characters:"
901
- msgstr "Décochez cela si vous utilisez des caractères non-ASCII :"
902
-
903
- #: lib/interface.php:1149
904
- msgid ""
905
- "If you use non-ASCII characters (like Cyrillic alphabet) and the highlights "
906
- "don't work, uncheck this option to make highlights work."
907
- msgstr ""
908
- "Si vous utilisez des caractères non-ASCII (comme l'alphabet Cyrillic) et que "
909
- "la mise en évidence ne fonctionne pas, décochez cette option pour que cela "
910
- "fonctionne à nouveau."
911
-
912
- # @ relevanssi
913
- #: lib/interface.php:1154
914
- msgid "Then adjust the settings for your chosen type:"
915
- msgstr "Ensuite ajustez les réglages du type choisi :"
916
-
917
- # @ relevanssi
918
- #: lib/interface.php:1158
919
- msgid "Text color for highlights:"
920
- msgstr "Couleur du texte pour la mise en évidence :"
921
-
922
- # @ relevanssi
923
- #: lib/interface.php:1160 lib/interface.php:1166
924
- msgid "Use HTML color codes (#rgb or #rrggbb)"
925
- msgstr "Utiliser des codes de couleurs HTML (#rgb ou #rrggbb)"
926
-
927
- # @ relevanssi
928
- #: lib/interface.php:1164
929
- msgid "Background color for highlights:"
930
- msgstr "Couleur du fond pour la mise en évidence :"
931
-
932
- # @ relevanssi
933
- #: lib/interface.php:1170
934
- msgid "CSS style for highlights:"
935
- msgstr "Style CSS pour la mise en évidence :"
936
-
937
- # @ relevanssi
938
- #: lib/interface.php:1172
939
- msgid ""
940
- "You can use any CSS styling here, style will be inserted with a &lt;span&gt;"
941
- msgstr ""
942
- "Vous pouvez utiliser tout habillage CSS ici. Le style sera inséré avec un "
943
- "&lt;span&gt;."
944
-
945
- # @ relevanssi
946
- #: lib/interface.php:1176
947
- msgid "CSS class for highlights:"
948
- msgstr "Classe CSS pour la mise en évidence :"
949
-
950
- # @ relevanssi
951
- #: lib/interface.php:1178
952
- msgid ""
953
- "Name a class here, search results will be wrapped in a &lt;span&gt; with the "
954
- "class"
955
- msgstr ""
956
- "Indiquez une classe ici. Les résultats seront encadrés dans un &lt;span&gt; "
957
- "avec cette classe."
958
-
959
- # @ relevanssi
960
- #: lib/interface.php:1185 lib/interface.php:1354
961
- msgid "Save the options"
962
- msgstr "Enregistrer les options"
963
-
964
- #: lib/interface.php:1189
965
- msgid "Choose post types to index:"
966
- msgstr "Choisissez les types de billets à indexer :"
967
-
968
- #: lib/interface.php:1194
969
- msgid "Type"
970
- msgstr "Type"
971
-
972
- #: lib/interface.php:1195 lib/interface.php:1252 relevanssi.php:1690
973
- msgid "Index"
974
- msgstr "Index"
975
-
976
- #: lib/interface.php:1196 lib/interface.php:1253 relevanssi.php:1691
977
- msgid "Public?"
978
- msgstr "Public ?"
979
-
980
- #: lib/interface.php:1213 lib/interface.php:1267 relevanssi.php:1705
981
- #, php-format
982
- msgid "%s"
983
- msgstr "%s"
984
-
985
- #: lib/interface.php:1214 lib/interface.php:1268 relevanssi.php:1706
986
- msgid "yes"
987
- msgstr "oui"
988
-
989
- # @ relevanssi
990
- #: lib/interface.php:1214 lib/interface.php:1268 relevanssi.php:1706
991
- msgid "no"
992
- msgstr "non"
993
-
994
- #: lib/interface.php:1246
995
- msgid "Choose taxonomies to index:"
996
- msgstr "Choisissez les taxonomies à indexer :"
997
-
998
- #: lib/interface.php:1251 relevanssi.php:1689
999
- msgid "Taxonomy"
1000
- msgstr "Taxonomie"
1001
-
1002
- #: lib/interface.php:1288
1003
- msgid ""
1004
- "If you check a taxonomy here, the terms for that taxonomy are indexed with "
1005
- "the posts. If you for example choose \"post_tag\", searching for tags will "
1006
- "find all posts that have the tag."
1007
- msgstr ""
1008
- "Si vous cochez une taxonomie ici, les termes pour cette taxonomie sont "
1009
- "indexés avec les billets. Si vous choisissez par exemple « post_tag », la "
1010
- "recherche par mots-clés donnera tous les billets comportant le mot-clé."
1011
-
1012
- # @ relevanssi
1013
- #: lib/interface.php:1292
1014
- msgid "Minimum word length to index"
1015
- msgstr "Longueur minimum des mots à indexer"
1016
-
1017
- # @ relevanssi
1018
- #: lib/interface.php:1294
1019
- msgid "Words shorter than this number will not be indexed."
1020
- msgstr "Les mots plus courts que ce nombre ne seront pas indexés."
1021
-
1022
- # @ relevanssi
1023
- #: lib/interface.php:1300
1024
- msgid "Expand shortcodes in post content:"
1025
- msgstr "Générer les shortcodes dans le contenu des billets :"
1026
-
1027
- # @ relevanssi
1028
- #: lib/interface.php:1302
1029
- msgid ""
1030
- "If checked, Relevanssi will expand shortcodes in post content before "
1031
- "indexing. Otherwise shortcodes will be stripped. If you use shortcodes to "
1032
- "include dynamic content, Relevanssi will not keep the index updated, the "
1033
- "index will reflect the status of the shortcode content at the moment of "
1034
- "indexing."
1035
- msgstr ""
1036
- "Si coché, Relevanssi générerara tous les shortcodes des contenu de billets "
1037
- "avant indexation. Dans le cas contraire, les shortcodes seront ignorés. Si "
1038
- "vous utilisez des shortcodes pour générer du contenu dynamique, Relevanssi "
1039
- "ne mettra pas l’index à jour. Ce dernier présentera l’état du contenu du "
1040
- "shortcode au moment de l’indexation."
1041
-
1042
- # @ relevanssi
1043
- #: lib/interface.php:1308
1044
- msgid "Index and search your posts' authors:"
1045
- msgstr "Indexer et rechercher les auteurs des billets :"
1046
-
1047
- # @ relevanssi
1048
- #: lib/interface.php:1310
1049
- msgid ""
1050
- "If checked, Relevanssi will also index and search the authors of your posts. "
1051
- "Author display name will be indexed. Remember to rebuild the index if you "
1052
- "change this option!"
1053
- msgstr ""
1054
- "Si coché, Relevanssi indexera et cherchera aussi dans les auteurs de vos "
1055
- "billets. Le nom affiché des auteurs sera indexé. N’oubliez pas de régénérer "
1056
- "l'index si vous modifiez cette option !"
1057
-
1058
- # @ relevanssi
1059
- #: lib/interface.php:1314
1060
- msgid "Index and search post excerpts:"
1061
- msgstr "Indexer et rechercher dans les extraits de billets :"
1062
-
1063
- # @ relevanssi
1064
- #: lib/interface.php:1316
1065
- msgid ""
1066
- "If checked, Relevanssi will also index and search the excerpts of your posts."
1067
- "Remember to rebuild the index if you change this option!"
1068
- msgstr ""
1069
- "Si coché, Relevanssi indexera et cherchera dans les extraits de vos billets. "
1070
- "N'oubliez pas de régénérer l'index si vous modifiez cette option !"
1071
-
1072
- # @ relevanssi
1073
- #: lib/interface.php:1320
1074
- msgid "Index and search these comments:"
1075
- msgstr "Indexer et rechercher ces commentaires :"
1076
-
1077
- # @ relevanssi
1078
- #: lib/interface.php:1322
1079
- msgid "none"
1080
- msgstr "aucun"
1081
-
1082
- # @ relevanssi
1083
- #: lib/interface.php:1323
1084
- msgid "normal"
1085
- msgstr "normal"
1086
-
1087
- # @ relevanssi
1088
- #: lib/interface.php:1324
1089
- msgid "all"
1090
- msgstr "tout"
1091
-
1092
- # @ relevanssi
1093
- #: lib/interface.php:1326
1094
- msgid ""
1095
- "Relevanssi will index and search ALL (all comments including track- &amp; "
1096
- "pingbacks and custom comment types), NONE (no comments) or NORMAL (manually "
1097
- "posted comments on your blog).<br />Remember to rebuild the index if you "
1098
- "change this option!"
1099
- msgstr ""
1100
- "Relevanssi indexera et cherchera dans TOUT (tous les commentaires incluant "
1101
- "track- &amp; pingbacks et types de commentaires personnalisés), AUCUN (aucun "
1102
- "commentaire) ou NORMAL (commentaires postés manuellement sur votre blog)."
1103
- "<br />N'oubliez pas de régénérer l'index si vous modifiez cette option !"
1104
-
1105
- # @ relevanssi
1106
- #: lib/interface.php:1330
1107
- msgid "Custom fields to index:"
1108
- msgstr "Champs personnalisés à indexer :"
1109
-
1110
- #: lib/interface.php:1332
1111
- msgid ""
1112
- "A comma-separated list of custom fields to include in the index. Set to "
1113
- "'visible' to index all visible custom fields and to 'all' to index all "
1114
- "custom fields, also those starting with a '_' character."
1115
- msgstr ""
1116
- "Une liste de champs personnalisés, séparés par une virgule, à inclure à "
1117
- "l'index. Définissez à « Visible » pour indexer les champs personnalisés "
1118
- "visibles et à « Tout » pour indexer tous les champs personnalisés, également "
1119
- "ceux commençant par le caractère « _ »."
1120
-
1121
- #: lib/interface.php:1342
1122
- msgid "Save indexing options, erase index and rebuild the index"
1123
- msgstr ""
1124
- "Enregistrer les options d’indexation, supprimer l’index et le régénérer."
1125
-
1126
- # @ relevanssi
1127
- #: lib/interface.php:1350
1128
- msgid ""
1129
- "Add synonyms here in 'key = value' format. When searching with the OR "
1130
- "operator, any search of 'key' will be expanded to include 'value' as well. "
1131
- "Using phrases is possible. The key-value pairs work in one direction only, "
1132
- "but you can of course repeat the same pair reversed."
1133
- msgstr ""
1134
- "Ajouter les synonymes ici au format 'clé = valeur'. Lors d'une recherche "
1135
- "avec l’opérateur logique OR, toute recherche de 'clé' sera étendue pour "
1136
- "inclure aussi la 'valeur'. Il est possible d’utiliser des phrases. Les "
1137
- "paires clé-valeur ne fonctionnent que dans un sens mais, évidemment, vous "
1138
- "pouvez répéter la même paire à l'envers."
1139
-
1140
- # @ relevanssi
1141
- #: lib/interface.php:1375
1142
- msgid ""
1143
- "<p>Enter a word here to add it to the list of stopwords. The word will "
1144
- "automatically be removed from the index, so re-indexing is not necessary. "
1145
- "You can enter many words at the same time, separate words with commas.</p>"
1146
- msgstr ""
1147
- "<p>Entrez un mot ici pour l'ajouter dans la liste des stopwords. Le mot sera "
1148
- "automatiquement retiré de l’index, de cette manière il est inutile de "
1149
- "réindexer. Si vous entrez plusieurs mots d’un coup, séparez les mots par une "
1150
- "virgule.</p>"
1151
-
1152
- # @ relevanssi
1153
- #: lib/interface.php:1377
1154
- msgid "Stopword(s) to add: "
1155
- msgstr "Stopword(s) à ajouter : "
1156
-
1157
- # @ relevanssi
1158
- #: lib/interface.php:1378
1159
- msgid "Add"
1160
- msgstr "Ajouter"
1161
-
1162
- # @ relevanssi
1163
- #: lib/interface.php:1381
1164
- msgid ""
1165
- "<p>Here's a list of stopwords in the database. Click a word to remove it "
1166
- "from stopwords. Removing stopwords won't automatically return them to index, "
1167
- "so you need to re-index all posts after removing stopwords to get those "
1168
- "words back to index."
1169
- msgstr ""
1170
- "<p>Voici une liste des stopwords de la base de données. Cliquez sur un mot "
1171
- "pour le retirer des stopwords. Retirer de la liste des stopwords ne les "
1172
- "réinjectera pas automatiquement dans l’index, aussi vous devez réindexer "
1173
- "tous les billet après retrait de stopwords pour les réinjecter dans l'index."
1174
-
1175
- # @ relevanssi
1176
- #: lib/interface.php:1407
1177
- msgid "Remove all stopwords"
1178
- msgstr "Supprimer tous les stopwords"
1179
-
1180
- #: lib/interface.php:1413
1181
- msgid ""
1182
- "Here's a list of stopwords you can use to export the stopwords to another "
1183
- "blog."
1184
- msgstr ""
1185
- "Ici une liste de stopwords que vous pouvez utiliser pour les exporter vers "
1186
- "un autre blog."
1187
-
1188
- #: lib/uninstall.php:27
1189
- msgid "Data wiped clean, you can now delete the plugin."
1190
- msgstr "Données effacées, vous pouvez désormais supprimer le plugin."
1191
-
1192
- #: relevanssi.php:112
1193
- #, php-format
1194
- msgid ""
1195
- "Thanks for updating the plugin. After the update, Relevanssi requires re-"
1196
- "indexing in order to handle taxonomy terms better. You can reindex at <a "
1197
- "href=\"%1$s\">the\n"
1198
- "\t\t\t settings page</a>. If you just completed indexing, disregard this "
1199
- "message - all is good and this message should not appear again. Thanks!"
1200
- msgstr ""
1201
- "Merci d’avoir mis à jour le plugin. Après la mise à jour, Relevanssi "
1202
- "nécessite une réindexation afin de mieux traiter les termes de taxonomie. "
1203
- "Vous pouvez réindexer sur <a href=\"%1$s\">la\n"
1204
- "\t\t\t page des options</a>. Si vous venez juste de terminer la "
1205
- "réindexation, ne tenez pas compte de ce message, il ne réapparaîtra plus. "
1206
- "Merci !"
1207
-
1208
- #: relevanssi.php:1411
1209
- msgid "Options updated!"
1210
- msgstr "Options mises à jour !"
1211
-
1212
- #: relevanssi.php:1477
1213
- msgid "Change API key:"
1214
- msgstr "Modifier la clé d’API :"
1215
-
1216
- #: relevanssi.php:1478
1217
- msgid "(No API key set.)"
1218
- msgstr "(aucune clé d’API définie)"
1219
-
1220
- #: relevanssi.php:1478
1221
- msgid "(API key is set.)"
1222
- msgstr "(la clé d’API est définie)"
1223
-
1224
- #: relevanssi.php:1479
1225
- msgid ""
1226
- "API key is required to use the automatic update feature. Get yours from "
1227
- "Relevanssi.com."
1228
- msgstr ""
1229
- "La clé d’API est requise afin d'obtenir les mises à jour automatiques. "
1230
- "Obtenez la vôtre sur Relevanssi.com."
1231
-
1232
- #: relevanssi.php:1487
1233
- msgid "How to index internal links:"
1234
- msgstr "Comment indexer les liens internes :"
1235
-
1236
- #: relevanssi.php:1489
1237
- msgid "No special processing for internal links"
1238
- msgstr "Aucun traitement particulier pour les liens internes"
1239
-
1240
- #: relevanssi.php:1490
1241
- msgid "Index internal links for target documents only"
1242
- msgstr "Indexer les liens internes pour les documents ciblés uniquement"
1243
-
1244
- #: relevanssi.php:1491
1245
- msgid "Index internal links for both target and source"
1246
- msgstr "Indexer les liens internes à la fois pour la cible et la source"
1247
-
1248
- #: relevanssi.php:1493
1249
- msgid ""
1250
- "Internal link anchor tags can be indexed for target document (so the text "
1251
- "will match the document the link points to), both target and source or "
1252
- "source only (with no extra significance for the links). See Relevanssi "
1253
- "Knowledge Base for more details. Changing this option requires reindexing."
1254
- msgstr ""
1255
- "Les balises de lien d'ancrage interne peuvent être indexées pour les "
1256
- "documents ciblés (de cette manière, le texte correspondra au document vers "
1257
- "lequel pointe le lien), soit pour la cible et la source ou uniquement pour "
1258
- "la source (sans importance supplémentaire particulière pour les liens). "
1259
- "Veuillez consulter la base de connaissance de Relevanssi pour plus de "
1260
- "détails. Modifier cette option nécessite une réindexation."
1261
-
1262
- #: relevanssi.php:1501
1263
- msgid "Hide Relevanssi on edit pages:"
1264
- msgstr "Masquer Relevanssi sur les pages d'édition :"
1265
-
1266
- #: relevanssi.php:1503
1267
- msgid ""
1268
- "If you check this option, all Relevanssi features are removed from edit "
1269
- "pages."
1270
- msgstr ""
1271
- "Si vous cochez cette option, toutes les fonctionnalités Relevanssi seront "
1272
- "supprimées des pages d'édition."
1273
-
1274
- #: relevanssi.php:1512
1275
- msgid "Internal links"
1276
- msgstr "Liens internes"
1277
-
1278
- #: relevanssi.php:1535
1279
- #, php-format
1280
- msgid "Post type '%s':"
1281
- msgstr "Type de billet « %s » :"
1282
-
1283
- #: relevanssi.php:1563
1284
- #, php-format
1285
- msgid "Taxonomy '%s':"
1286
- msgstr "Taxonomie « %s » :"
1287
-
1288
- #: relevanssi.php:1581
1289
- msgid "Weight multiplier for new posts:"
1290
- msgstr "Coefficient d’importance pour les nouveaux billets :"
1291
-
1292
- #: relevanssi.php:1583
1293
- msgid "Assign bonus for posts newer than:"
1294
- msgstr "Assigner un bonus pour les billets datant de moins de :"
1295
-
1296
- #: relevanssi.php:1584
1297
- msgid "days"
1298
- msgstr "jour(s)"
1299
-
1300
- #: relevanssi.php:1585
1301
- msgid ""
1302
- "Posts newer than the day cutoff specified here will have their weight "
1303
- "multiplied with the bonus above."
1304
- msgstr ""
1305
- "Les billets récents datant de moins du nombre de jours indiqués ici "
1306
- "obtiendront une importance multipliée par le bonus ci-dessus."
1307
-
1308
- #: relevanssi.php:1591
1309
- msgid "Don't show Relevanssi branding on the 'User Searches' screen:"
1310
- msgstr ""
1311
- "Ne pas afficher la mise en forme Relevanssi sur l'écran de recherche "
1312
- "d'utilisateurs :"
1313
-
1314
- # @ relevanssi
1315
- #: relevanssi.php:1598
1316
- msgid "Highlight query terms in documents from external searches:"
1317
- msgstr ""
1318
- "Mettre en évidence les termes de la requête dans les documents à partir des "
1319
- "recherches externes :"
1320
-
1321
- #: relevanssi.php:1600
1322
- msgid ""
1323
- "Highlights hits when user arrives from external search. Currently supports "
1324
- "Bing, Ask, Yahoo and AOL Search."
1325
- msgstr ""
1326
- "Met en évidence les occurrences quand l'utilisateur arrive d'une recherche "
1327
- "extérieure. Prend en charge actuellement Bing, Ask, Yahoo et AOL Search."
1328
-
1329
- #: relevanssi.php:1608
1330
- msgid "Thousands separator"
1331
- msgstr "Séparateur de milliers"
1332
-
1333
- #: relevanssi.php:1610
1334
- msgid ""
1335
- "If Relevanssi sees this character between numbers, it'll stick the numbers "
1336
- "together no matter how the character would otherwise be handled. Especially "
1337
- "useful if a space is used as a thousands separator."
1338
- msgstr ""
1339
- "Si Relevanssi détecte ce caractère entre des nombres, il collera ces nombres "
1340
- "ensemble et ne prendra pas en compte ce caractère. Particulièrement utile si "
1341
- "un espace est utilisé comme séparateur de milliers."
1342
-
1343
- #: relevanssi.php:1618
1344
- msgid "Disable these shortcodes"
1345
- msgstr "Désactiver ces shortcodes"
1346
-
1347
- #: relevanssi.php:1620
1348
- msgid ""
1349
- "These shortcodes will not be expanded if expand shortcodes above is enabled. "
1350
- "This is useful if a particular shortcode is causing problems in indexing."
1351
- msgstr ""
1352
- "Ces shortcodes ne seront pas générés si « Générer les shortcodes » est "
1353
- "activé ci-dessus. Cela est utile si un shortcode particulier pose problème "
1354
- "lors de l’indexation."
1355
-
1356
- # @ relevanssi
1357
- #: relevanssi.php:1636
1358
- msgid "Custom MySQL columns to index:"
1359
- msgstr "Colonnes MySQL personnalisées à indexer :"
1360
-
1361
- #: relevanssi.php:1638
1362
- msgid ""
1363
- "A comma-separated list of wp_posts MySQL table columns to include in the "
1364
- "index. Following columns are available: "
1365
- msgstr ""
1366
- "Une liste de colonnes de table MySQL wp_posts séparées par une virgule à "
1367
- "inclure dans l’index. les colonnes suivantes sont disponibles :"
1368
-
1369
- # @ relevanssi
1370
- #: relevanssi.php:1646
1371
- msgid "Index and search user profiles:"
1372
- msgstr "Indexer et rechercher les profils d’utilisateurs :"
1373
-
1374
- #: relevanssi.php:1648
1375
- msgid ""
1376
- "If checked, Relevanssi will also index and search user profiles (first name, "
1377
- "last name, display name and user description). Requires changes to search "
1378
- "results template, see Relevanssi Knowledge Base."
1379
- msgstr ""
1380
- "Si coché, Relevanssi indexera et cherchera aussi dans les profils des "
1381
- "utilisateurs (prénom, nom, nom affiché et description de l'utilisateur). "
1382
- "Nécessite de modifier le template de résultats de recherche, cf. la base de "
1383
- "connaissance Relevanssi."
1384
-
1385
- #: relevanssi.php:1652
1386
- msgid "Index subscriber profiles:"
1387
- msgstr "Indexer les profils des abonnés :"
1388
-
1389
- #: relevanssi.php:1654
1390
- msgid ""
1391
- "If checked, Relevanssi will index subscriber profiles as well, otherwise "
1392
- "only authors, editors, contributors and admins are indexed."
1393
- msgstr ""
1394
- "Si coché, Relevanssi indexera aussi le profil des abonnés, sinon, seul celui "
1395
- "des auteurs, éditeurs, contributeurs et administrateurs est indexé."
1396
-
1397
- # @ relevanssi
1398
- #: relevanssi.php:1658
1399
- msgid "Extra user fields to index:"
1400
- msgstr "Champs utilisateur supplémentaires à indexer :"
1401
-
1402
- #: relevanssi.php:1660
1403
- msgid ""
1404
- "A comma-separated list of user profile field names (names of the database "
1405
- "columns) to include in the index."
1406
- msgstr ""
1407
- "Une liste de noms de champs de profils utilisateurs séparés par une virgule "
1408
- "(noms des colonnes de la base de données) à inclure dans l’index."
1409
-
1410
- # @ relevanssi
1411
- #: relevanssi.php:1668
1412
- msgid "Index synonyms:"
1413
- msgstr "Indexer les synonymes :"
1414
-
1415
- #: relevanssi.php:1670
1416
- msgid ""
1417
- "If checked, Relevanssi will use the synonyms in indexing. If you add "
1418
- "'apple=pear' to the synonym list and enable this feature, every time the "
1419
- "indexer sees 'pear' it will index it both as 'apple' and as 'pear'. Thus, "
1420
- "the post will be found when searching with either word. This makes it "
1421
- "possible to use synonyms with AND searches, but will slow down indexing, "
1422
- "especially with large databases and large lists of synonyms. This only works "
1423
- "for post titles and post content. You can use multi-word keys and values, "
1424
- "but phrases do not work."
1425
- msgstr ""
1426
- "Si cochée, Relevanssi utilisera les synonymes lors de l’indexation. Si vous "
1427
- "ajoutez « pomme=poire » à la liste des synonymes et que vous activez cette "
1428
- "fonctionnalité, chaque fois que l’indexeur verra « poire », il l’indexera en "
1429
- "tant que « pomme » et « poire ». Ainsi, le billet sera retrouvé par l’un des "
1430
- "deux mots. Cela permet d’utiliser des synonymes pour des recherches AND, "
1431
- "mais ralentira l’indexation, surtout avec des bases de données volumineuses "
1432
- "et de longues listes de synonymes. Cela ne fonctionne que pour le titre et "
1433
- "le contenu des billets. Vous pouvez utiliser plusieurs mots et valeurs mais "
1434
- "les phrases ne fonctionnent pas."
1435
-
1436
- #: relevanssi.php:1678
1437
- msgid "Index and search taxonomy pages:"
1438
- msgstr "Indexer et rechercher les pages de taxonomies :"
1439
-
1440
- #: relevanssi.php:1680
1441
- msgid ""
1442
- "If checked, Relevanssi will also index and search taxonomy pages "
1443
- "(categories, tags, custom taxonomies)."
1444
- msgstr ""
1445
- "Si coché, Relevanssi indexera et recherchera aussi les pages de taxonomies "
1446
- "(catégories, mots-clés, taxonomies personnalisées)."
1447
-
1448
- #: relevanssi.php:1684
1449
- msgid ""
1450
- "Choose taxonomies to index – for these taxonomies, the terms are included in "
1451
- "search results:"
1452
- msgstr ""
1453
- "Choisissez les taxonomies à indexer - pour ces taxonomies, les termes sont "
1454
- "inclus aux résultats de recherche :"
1455
-
1456
- #: relevanssi.php:1726
1457
- msgid ""
1458
- "If you check a taxonomy here, the terms in that taxonomy will be indexed and "
1459
- "will appear as itself in the search results."
1460
- msgstr ""
1461
- "Si vous cochez ici une taxonomie, les termes dans cette taxonomie seront "
1462
- "indexés et apparaîtront dans les résultats de recherche."
1463
-
1464
- #: relevanssi.php:1734
1465
- msgid "Import or export options"
1466
- msgstr "Importer ou exporter les options"
1467
-
1468
- #: relevanssi.php:1736
1469
- msgid ""
1470
- "Here you find the current Relevanssi Premium options in a text format. Copy "
1471
- "the contents of the text field to make a backup of your settings. You can "
1472
- "also paste new settings here to change all settings at the same time. This "
1473
- "is useful if you have default settings you want to use on every system."
1474
- msgstr ""
1475
- "Ici vous trouvez les options actuelles de Relevanssi Premium au format "
1476
- "texte. Copiez le contenu du champ pour faire une sauvegarde de vos "
1477
- "paramètres. Vous pouvez également coller les nouveaux paramètres ici afin de "
1478
- "modifier d’une seule traite tous les paramètres. Cela est utile si vous avez "
1479
- "des paramètres par défaut que vous souhaitez utiliser sur tous les systèmes."
1480
-
1481
- #: relevanssi.php:1740
1482
- msgid "Import settings"
1483
- msgstr "Importer les paramètres"
1484
-
1485
- #: relevanssi.php:1742
1486
- msgid ""
1487
- "Note! Make sure you've got correct settings from a right version of "
1488
- "Relevanssi. Settings from a different version of Relevanssi may or may not "
1489
- "work and may or may not mess your settings."
1490
- msgstr ""
1491
- "Remarque ! Vérifiez que vous avez des paramètres corrects provenant de la "
1492
- "bonne version de Relevanssi. Des paramètres d’une version différente de "
1493
- "Relevanssi pourront ou ne pourront pas fonctionner et pourront ou ne "
1494
- "pourront pas endommager vos réglages."
1495
-
1496
- #: relevanssi.php:1761
1497
- msgid "Thank you!"
1498
- msgstr "Merci !"
1499
-
1500
- #: relevanssi.php:1762
1501
- msgid ""
1502
- "Thank you for buying Relevanssi Premium! Your support makes it possible for "
1503
- "me to keep working on this plugin."
1504
- msgstr ""
1505
- "Merci d’avoir acheté Relevanssi Premium ! Votre soutien me permet de "
1506
- "continuer à travailler sur ce plugin."
1507
-
1508
- #: relevanssi.php:1763
1509
- msgid ""
1510
- "I can do custom hacks based on Relevanssi and other WordPress development. "
1511
- "If you need someone to fix your WordPress, just ask me for a quote."
1512
- msgstr ""
1513
- "Je peux réaliser des adaptations personnalisées basées sur Relevanssi et "
1514
- "d’autres développement WordPress. Si vous cherchez quelqu’un pour réparer "
1515
- "votre WordPress, demandez-moi une analyse."
1516
-
1517
- # @ relevanssi
1518
- #: relevanssi.php:1765
1519
- msgid "Relevanssi on Facebook"
1520
- msgstr "Relevanssi sur Facebook"
1521
-
1522
- #: relevanssi.php:1766
1523
- msgid "Check out the Relevanssi page on Facebook"
1524
- msgstr "Visiter la page Relevanssi sur Facebook"
1525
-
1526
- #: relevanssi.php:1767
1527
- msgid "for news and updates about your favourite plugin."
1528
- msgstr ""
1529
- "pour obtenir des actualités et des mises à jour de votre plugin favori."
1530
-
1531
- #: relevanssi.php:1769
1532
- msgid "Help and support"
1533
- msgstr "Aide et support"
1534
-
1535
- # @ relevanssi
1536
- #: relevanssi.php:1770
1537
- msgid "For Relevanssi support, see:"
1538
- msgstr "Pour une aide sur Relevanssi, voyez :"
1539
-
1540
- #: relevanssi.php:1771
1541
- msgid "Plugin support page"
1542
- msgstr "Page d'aide du plugin"
1543
-
1544
- #: relevanssi.php:1772
1545
- msgid "WordPress.org forum"
1546
- msgstr "Forum WordPress.org"
1547
-
1548
- #: relevanssi.php:1774
1549
- msgid "Did you know this feature?"
1550
- msgstr "Connaissiez-vous cette fonctionnalité ?"
1551
-
1552
- #: relevanssi.php:1775
1553
- msgid ""
1554
- "Wrap the parts of the posts you don't want to include in the index in "
1555
- "[noindex] shortcode."
1556
- msgstr ""
1557
- "Entourez les parties du billet que vous ne souhaitez pas voir indexer par le "
1558
- "shortcode [noindex]."
1559
-
1560
- #: relevanssi.php:1776
1561
- msgid "Use the [search] shortcode to build easy links to search results."
1562
- msgstr ""
1563
- "Utilisez le shortcode [search] pour générer facilement des liens pointant "
1564
- "vers les résultats de recherche."
1565
-
1566
- #: relevanssi.php:1777
1567
- msgid ""
1568
- "Enable the English-language stemmer by adding this line in your functions."
1569
- "php:"
1570
- msgstr ""
1571
- "Activez la racinisation de langue anglaise en ajoutant cette ligne dans "
1572
- "votre fichier <code>functions.php</code> :"
1573
-
1574
- #: relevanssi.php:1778
1575
- msgid "Boolean NOT"
1576
- msgstr "Booléen NOT"
1577
-
1578
- #: relevanssi.php:1779
1579
- msgid "To get results without particular word, use the minus operator"
1580
- msgstr ""
1581
- "Pour obtenir les résultats dépourvus d'un mot précis, utiliser l’opérateur "
1582
- "moins"
1583
-
1584
- #: relevanssi.php:1780
1585
- msgid "cats -dogs"
1586
- msgstr "chats -chiens"
1587
-
1588
- #: relevanssi.php:1781
1589
- msgid "Boolean AND"
1590
- msgstr "Booléen AND"
1591
-
1592
- #: relevanssi.php:1782
1593
- msgid "To force a particular term in an OR search, use the plus operator"
1594
- msgstr ""
1595
- "Pour forcer un terme particulier dans une recherche OR, utilisez l’opérateur "
1596
- "plus"
1597
-
1598
- #: relevanssi.php:1783
1599
- msgid "+cats dogs mice"
1600
- msgstr "+chats chiens souris"
1601
-
1602
- #: relevanssi.php:1784
1603
- msgid ""
1604
- "would require that all results include the term 'cats', and results "
1605
- "including all three terms will be favoured. The plus operator has no effect "
1606
- "in an AND search, where all terms have an implicit + before them."
1607
- msgstr ""
1608
- "nécessitera que tous les résultats de recherche incluent le terme « chats » "
1609
- "et les résultats incluant les trois termes seront favorisés. L'opérateur "
1610
- "plus n’a aucun effet dans une recherche AND puisque tous les termes "
1611
- "comportent implicitement un plus."
1612
-
1613
- # @ relevanssi
1614
- #: relevanssi.php:1869
1615
- msgid "Relevanssi post controls"
1616
- msgstr "Réglages Relevanssi des billets"
1617
-
1618
- # @ relevanssi
1619
- #: relevanssi.php:1887
1620
- msgid "Exclude this post or page from the index."
1621
- msgstr "Exclure ces billets/pages de l’index."
1622
-
1623
- #: relevanssi.php:1890
1624
- msgid "Pin this post"
1625
- msgstr "Épingler ce billet"
1626
-
1627
- #: relevanssi.php:1891
1628
- msgid ""
1629
- "A comma-separated list of single word keywords. If any of these keywords are "
1630
- "present in the search query, this post will be moved on top of the search "
1631
- "results."
1632
- msgstr ""
1633
- "Une liste de mots-clés de mots séparés par des virgules. Si un de ces mots-"
1634
- "clés est présent dans la requête de recherche, ce billet sera déplacé vers "
1635
- "le haut des résultats de recherche."
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
relevanssi-it_IT.mo DELETED
Binary file
relevanssi-it_IT.po DELETED
@@ -1,321 +0,0 @@
1
- msgid ""
2
- msgstr ""
3
- "Project-Id-Version: Relevanssi\n"
4
- "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2009-08-14 14:06+0200\n"
6
- "PO-Revision-Date: \n"
7
- "Last-Translator: Alessandro Fiorotto <alex@fiorotto.com>\n"
8
- "Language-Team: Fiorotto <alex@fiorotto.com>\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-Language: Italian\n"
13
- "X-Poedit-Country: ITALY\n"
14
- "X-Poedit-SourceCharset: utf-8\n"
15
-
16
- #: relevanssi.php:703
17
- msgid "There is no excerpt because this is a protected post."
18
- msgstr "Non c'è alcun estratto perché il post è protetto."
19
-
20
- #: relevanssi.php:994
21
- msgid "Indexing complete!"
22
- msgstr "Indicizzazione completata!"
23
-
24
- #: relevanssi.php:1183
25
- msgid "Relevanssi Search Options"
26
- msgstr "Opzioni per Relevanssi Search"
27
-
28
- #: relevanssi.php:1294
29
- #, php-format
30
- msgid "<div id='message' class='update fade'><p>Term '%s' added to stopwords!</p></div>"
31
- msgstr "<div id='message' class='update fade'><p>Termine '%s' aggiunto alle parole inutili ai fini della ricerca!</p></div>"
32
-
33
- #: relevanssi.php:1297
34
- #, php-format
35
- msgid "<div id='message' class='update fade'><p>Couldn't add term '%s' to stopwords!</p></div>"
36
- msgstr "<div id='message' class='update fade'><p>Non posso aggiungere il termine '%s' alle parole inutili ai fini della ricerca!</p></div>"
37
-
38
- #: relevanssi.php:1306
39
- msgid "25 most common words in the index"
40
- msgstr "Le 25 parole più comuni nell'indice"
41
-
42
- #: relevanssi.php:1308
43
- msgid "These words are excellent stopword material. A word that appears in most of the posts in the database is quite pointless when searching. This is also an easy way to create a completely new stopword list, if one isn't available in your language. Click the icon after the word to add the word to the stopword list. The word will also be removed from the index, so rebuilding the index is not necessary."
44
- msgstr "Queste parole possono dimostrarsi inutili ai fini della ricerca. Una parola che compare nella maggior parte dei posti nel database è piuttosto inutile ai fini di una buona ricerca. Questo è anche un modo semplice per creare un nuovo elenco di parole non significative, se non è disponibile nella tua lingua. Fare clic sull'icona dopo la parola per aggiungere la parola alla lista delle parole non significative. La parola sarà rimossa dall'indice e non sarà necessario ricostruire l'indice se si effettua una modifica."
45
-
46
- #: relevanssi.php:1331
47
- msgid "Add to stopwords"
48
- msgstr "Aggiungi alle parole inutili ai fini della ricerca"
49
-
50
- #: relevanssi.php:1344
51
- msgid "25 most popular queries"
52
- msgstr "25 ricerche più effettuate"
53
-
54
- #: relevanssi.php:1356
55
- msgid "Recent queries that got 0 hits"
56
- msgstr "Recenti ricerche che non hanno dato risultati"
57
-
58
- #: relevanssi.php:1491
59
- msgid "Title boost:"
60
- msgstr "Potenziamento dal titolo:"
61
-
62
- #: relevanssi.php:1492
63
- #, php-format
64
- msgid "Default: %d. 0 means titles are ignored, 1 means no boost, more than 1 gives extra value."
65
- msgstr "Predefinito %d. 0 significa che i titoli sono ignorati, 1 significa non aumentare, mentre più di 1 da un valore in più."
66
-
67
- #: relevanssi.php:1493
68
- msgid "Tag boost:"
69
- msgstr "Potenziamento da TAG"
70
-
71
- #: relevanssi.php:1494
72
- #, php-format
73
- msgid "Default: %d. 0 means tags are ignored, 1 means no boost, more than 1 gives extra value."
74
- msgstr "Predefinito %d. 0 significa che i tag sono ignorati, 1 significa non aumentare, mentre più di 1 da un valore in più."
75
-
76
- #: relevanssi.php:1495
77
- msgid "Comment boost:"
78
- msgstr "Potenziamento dai commenti:"
79
-
80
- #: relevanssi.php:1496
81
- #, php-format
82
- msgid "Default: %d. 0 means comments are ignored, 1 means no boost, more than 1 gives extra value."
83
- msgstr "Predefinito %d. 0 significa che i commenti sono ignorati, 1 significa non aumentare, mentre più di 1 da un valore in più."
84
-
85
- #: relevanssi.php:1497
86
- msgid "Use search for admin:"
87
- msgstr "Usa ricerca per admin:"
88
-
89
- #: relevanssi.php:1498
90
- msgid "If checked, Relevanssi will be used for searches in the admin interface"
91
- msgstr "Se selezionato, Relevanssi sarà usato anche per le ricerche nell'interfaccia di amministrazione"
92
-
93
- #: relevanssi.php:1499
94
- msgid "Restrict search to these categories and tags:"
95
- msgstr "Circoscrivi la ricerca a queste categorie e tag:"
96
-
97
- #: relevanssi.php:1500
98
- msgid "Enter a comma-separated list of category and tag IDs to restrict search to those categories or tags. You can also use <code>&lt;input type='hidden' name='cat' value='list of cats and tags' /&gt;</code> in your search form. The input field will overrun this setting."
99
- msgstr "Inserire un elenco separato da virgola, con gli id degli articoli e/o delle pagine a cui sarà circoscritto l'ambito di ricerca. Si può anche usare il codice <code>&lt;input type='hidden' name='cat' value='list of cats and tags' /&gt;</code> nel modulo di ricerca e quello che si inserirà nel modulo sovrascriverà quanto impostato qui."
100
-
101
- #: relevanssi.php:1501
102
- msgid "Exclude these categories and tags from search:"
103
- msgstr "Escludi queste categorie e tag dalla ricerca:"
104
-
105
- #: relevanssi.php:1502
106
- msgid "Enter a comma-separated list of category and tag IDs that are excluded from search results. This only works here, you can't use the input field option (WordPress doesn't pass custom parameters there)."
107
- msgstr "Inserire un elenco separato da virgola, con gli id delle categorie e dei tag esclusi dai risultati della ricerca. Non è possibile sovrascrivere o cambiare questa impostazione inserendo dell'apposito codice nel modulo di ricerca."
108
-
109
- #: relevanssi.php:1505
110
- msgid "Exclude these posts/pages from search:"
111
- msgstr "Escludi questi articoli/pagine dalla ricerca:"
112
-
113
- #: relevanssi.php:1506
114
- msgid "Enter a comma-separated list of post/page IDs that are excluded from search results. This only works here, you can't use the input field option (WordPress doesn't pass custom parameters there)."
115
- msgstr "Inserire un elenco separato da virgola, con gli id degli articoli e/o delle pagine esclusi dai risultati della ricerca. Non è possibile sovrascrivere o cambiare questa impostazione inserendo dell'apposito codice nel modulo di ricerca."
116
-
117
- #: relevanssi.php:1507
118
- msgid "Index and search your posts' tags:"
119
- msgstr "Indicizza e cerca i tag degli articoli:"
120
-
121
- #: relevanssi.php:1508
122
- msgid "If checked, Relevanssi will also index and search the tags of your posts. Remember to rebuild the index if you change this option!"
123
- msgstr "Se selezionato, Relevanssi indicizzerà anche i tag degli articoli. Ricordati di ricostruire l'indice se cambi questa opzione!"
124
-
125
- #: relevanssi.php:1509
126
- msgid "Index and search these comments:"
127
- msgstr "Indicizza e ricerca questi commenti:"
128
-
129
- #: relevanssi.php:1510
130
- msgid "Relevanssi will index and search ALL (all comments including track- &amp; pingbacks and custom comment types), NONE (no comments) or NORMAL (manually posted comments on your blog).<br />Remember to rebuild the index if you change this option!"
131
- msgstr "Relevanssi consente di indicizzare e di effettuare le ricerche su TUTTO (compresi tutti i commenti, track & pingbacks e i commenti personalizzati), NESSUNO (commenti esclusi) o NORMALE (solo i commenti inseriti manualmente nel tuo blog). <br /> Ricordati di ricostruire l'indice, se modifichi questa opzione!"
132
-
133
- #: relevanssi.php:1511
134
- msgid "all"
135
- msgstr "tutto"
136
-
137
- #: relevanssi.php:1512
138
- msgid "normal"
139
- msgstr "normale"
140
-
141
- #: relevanssi.php:1513
142
- msgid "none"
143
- msgstr "nessuno"
144
-
145
- #: relevanssi.php:1516
146
- msgid "Create custom search result snippets:"
147
- msgstr "Crea un frammento di ricerca personalizzato:"
148
-
149
- #: relevanssi.php:1517
150
- msgid "If checked, Relevanssi will create excerpts that contain the search term hits. To make them work, make sure your search result template uses the_excerpt() to display post excerpts."
151
- msgstr "Se selezionato, Relevanssi creerà un estratto che conterrà la parola cercata. Affinché funzioni, assicurarsi che il template utilizzi la funzione the_excerpt() per visualizzare il risultato della ricerca."
152
-
153
- #: relevanssi.php:1518
154
- msgid "Length of the snippet:"
155
- msgstr "Lunghezza del frammento:"
156
-
157
- #: relevanssi.php:1519
158
- msgid "This must be an integer."
159
- msgstr "Deve essere un numero intero."
160
-
161
- #: relevanssi.php:1520
162
- msgid "words"
163
- msgstr "parole"
164
-
165
- #: relevanssi.php:1521
166
- msgid "characters"
167
- msgstr "caratteri"
168
-
169
- #: relevanssi.php:1522
170
- msgid "Keep a log of user queries:"
171
- msgstr "Conserva un log delle ricerche:"
172
-
173
- #: relevanssi.php:1523
174
- msgid "If checked, Relevanssi will log user queries."
175
- msgstr "Se selezionato, Relevanssi terrà traccia delle ricerche effettuate."
176
-
177
- #: relevanssi.php:1524
178
- msgid "Highlight query terms in search results:"
179
- msgstr "Evidenzia i termini di ricerca nei risultati:"
180
-
181
- #: relevanssi.php:1525
182
- msgid "Highlighting isn't available unless you use custom snippets"
183
- msgstr "L'evidenziazione non è disponibile se non si utilizzano degli snippet personalizzati"
184
-
185
- #: relevanssi.php:1526
186
- msgid "Highlight query terms in result titles too:"
187
- msgstr "Evidenzia i termini di ricerca anche nei titoli dei risultati:"
188
-
189
- #: relevanssi.php:1529
190
- msgid "Save"
191
- msgstr "Salva"
192
-
193
- #: relevanssi.php:1530
194
- msgid "Building the index and indexing options"
195
- msgstr "Costruisci l'indice e salva le opzioni di indicizzazione"
196
-
197
- #: relevanssi.php:1531
198
- msgid "After installing the plugin, you need to build the index. This generally needs to be done once, you don't have to re-index unless something goes wrong. Indexing is a heavy task and might take more time than your servers allow. If the indexing cannot be finished - for example you get a blank screen or something like that after indexing - you can continue indexing from where you left by clicking 'Continue indexing'. Clicking 'Build the index' will delete the old index, so you can't use that."
199
- msgstr "Dopo aver installato il plugin, è necessario costruire l'indice. Questo genere deve essere fatto una volta solo e non si deve reindicizzare fino a che qualcosa non funziona bene. L'indicizzazione è un compito pesante e potrebbe richiedere più tempo di quanto i server consentono. Se l'indicizzazione non viene completata e si ottine ad esempio una pagina bianca o qualcosa del genere, è possibile continuare l'indicizzazione dal punto in cui è stata interrotta semplicemente premendo il tasto 'Continua indicizzazione'. Cliccando invece su 'costruisci l'indice' si reinizierà da zero la creazione dell'indicie."
200
-
201
- #: relevanssi.php:1532
202
- msgid "So, if you build the index and don't get the 'Indexing complete' in the end, keep on clicking the 'Continue indexing' button until you do. On my blogs, I was able to index ~400 pages on one go, but had to continue indexing twice to index ~950 pages."
203
- msgstr "Se si crea l'indice e alla fine non si ottiene il risultato di 'indicizzazione completa', cliccare nuovamente sul pulsante 'Continua indicizzazione' fino a quando non si otterrà tale risultato. Il mo blog ad esempio è stato in grado di indicizzare circa 400 pagine in una volta sola, ma ha dovuto continuare l'indicizzazione due volte per completare l'indice di circa 950 pagine."
204
-
205
- #: relevanssi.php:1533
206
- msgid "Save indexing options and build the index"
207
- msgstr "Salva le opzioni di indicizzazione e costruisci l'indice"
208
-
209
- #: relevanssi.php:1534
210
- msgid "Continue indexing"
211
- msgstr "Continua indicizzazione"
212
-
213
- #: relevanssi.php:1535
214
- msgid "No highlighting"
215
- msgstr "No evidenziazione"
216
-
217
- #: relevanssi.php:1536
218
- msgid "Text color"
219
- msgstr "Colore del testo"
220
-
221
- #: relevanssi.php:1537
222
- msgid "Background color"
223
- msgstr "Colore di sfondo"
224
-
225
- #: relevanssi.php:1538
226
- msgid "CSS Style"
227
- msgstr "Stile CSS"
228
-
229
- #: relevanssi.php:1539
230
- msgid "CSS Class"
231
- msgstr "Classe CSS"
232
-
233
- #: relevanssi.php:1541
234
- msgid "Text color for highlights:"
235
- msgstr "Colore del testo delle evidenziazioni:"
236
-
237
- #: relevanssi.php:1542
238
- msgid "Background color for highlights:"
239
- msgstr "Colore di sfondo delle evidenziazioni:"
240
-
241
- #: relevanssi.php:1543
242
- msgid "CSS style for highlights:"
243
- msgstr "Stile CSS per le evidenziazioni:"
244
-
245
- #: relevanssi.php:1544
246
- msgid "CSS class for highlights:"
247
- msgstr "Classe CSS per le evidenziazioni:"
248
-
249
- #: relevanssi.php:1546
250
- #: relevanssi.php:1547
251
- msgid "Use HTML color codes (#rgb or #rrggbb)"
252
- msgstr "Usare il codice colore HTML (#rgb o #rrggbb)"
253
-
254
- #: relevanssi.php:1548
255
- msgid "You can use any CSS styling here, style will be inserted with a &lt;span&gt;"
256
- msgstr "È possibile usare qualsiasi stile CSS, lo stile sarà inserito con &lt;span&gt;"
257
-
258
- #: relevanssi.php:1549
259
- msgid "Name a class here, search results will be wrapped in a &lt;span&gt; with the class"
260
- msgstr "Nome della classe qui. I risultati di ricerca saranno compresi in &lt;span&gt; con la classe"
261
-
262
- #: relevanssi.php:1551
263
- msgid "What to include in the index"
264
- msgstr "Cosa includere nell'indice"
265
-
266
- #: relevanssi.php:1552
267
- msgid "Everything"
268
- msgstr "Ogni cosa"
269
-
270
- #: relevanssi.php:1553
271
- msgid "Just posts"
272
- msgstr "Solo articoli"
273
-
274
- #: relevanssi.php:1554
275
- msgid "Just pages"
276
- msgstr "Solo pagine"
277
-
278
- #: relevanssi.php:1556
279
- msgid "Custom fields to index:"
280
- msgstr "Campi personalizzati da indicizzare:"
281
-
282
- #: relevanssi.php:1557
283
- msgid "A comma-separated list of custom field names to include in the index."
284
- msgstr "Una lista separata da virgola dei nomi personalizzati da includere nell'indice."
285
-
286
- #: relevanssi.php:1559
287
- msgid "Show breakdown of search hits in excerpts:"
288
- msgstr "Viusalizza un separatore nei risultati di ricerca:"
289
-
290
- #: relevanssi.php:1560
291
- msgid "Check this to show more information on where the search hits were made. Requires custom snippets to work."
292
- msgstr "Seleziona qui per mostrare più informazioni o per definire dove sarà effettuata la ricerca. Per attivarlo richiede uno snippet personalizzato."
293
-
294
- #: relevanssi.php:1561
295
- msgid "The breakdown format:"
296
- msgstr "Formato dell'interruzione:"
297
-
298
- #: relevanssi.php:1562
299
- msgid "Use %body%, %title%, %tags%, %comments% and %score% to display the number of hits and the document weight."
300
- msgstr "Usa %body%, %title%, %tags%, %comments% e %score% per visualizzare il numero di ricorrenze e il peso del documento."
301
-
302
- #: relevanssi.php:1564
303
- msgid "When to use fuzzy matching?"
304
- msgstr "Quando usare la ricerca per parola simile?"
305
-
306
- #: relevanssi.php:1565
307
- msgid "When straight search gets no hits"
308
- msgstr "Quando la ricerca regolare non produce risultati"
309
-
310
- #: relevanssi.php:1566
311
- msgid "Always"
312
- msgstr "Sempre"
313
-
314
- #: relevanssi.php:1567
315
- msgid "Don't use fuzzy search"
316
- msgstr "Non usare la ricerca per similitudini"
317
-
318
- #: relevanssi.php:1568
319
- msgid "Straight search matches just the term. Fuzzy search matches everything that begins or ends with the search term."
320
- msgstr "La ricerca regolare cerca semplicemente un termine. La ricerca per similitudine trova anche tutti i termini che iniziano o finiscono come il termine di ricerca."
321
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
relevanssi-pl_PL.mo DELETED
Binary file
relevanssi-pl_PL.po DELETED
@@ -1,1452 +0,0 @@
1
- msgid ""
2
- msgstr ""
3
- "Project-Id-Version: Relevanssi\n"
4
- "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2012-12-12 12:11+0100\n"
6
- "PO-Revision-Date: \n"
7
- "Last-Translator: Bartosz Arendt <info@digitalfactory.pl>\n"
8
- "Language-Team: Digital Factory <info@digitalfactory.pl>\n"
9
- "Language: pl_PL\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\n"
14
- "X-Poedit-Basepath: .\n"
15
- "X-Generator: Poedit 1.5.4\n"
16
- "X-Poedit-SourceCharset: UTF-8\n"
17
- "X-Poedit-SearchPath-0: .\n"
18
-
19
- #: relevanssi.php:1233
20
- msgid "Options updated!"
21
- msgstr "Ustawienia zostały zaktualizowane!"
22
-
23
- #: relevanssi.php:1289
24
- msgid "API key:"
25
- msgstr "Klucz API:"
26
-
27
- #: relevanssi.php:1291
28
- msgid ""
29
- "API key is required to use the automatic update feature. Get yours from "
30
- "Relevanssi.com."
31
- msgstr ""
32
- "Klucz API jest wymagany aby umożliwić automatyczne aktualizacje. Zdobądź go "
33
- "na stronie Relevanssi.com."
34
-
35
- #: relevanssi.php:1299
36
- msgid "How to index internal links:"
37
- msgstr "Sposób indeksowania linków wewnętrznych:"
38
-
39
- #: relevanssi.php:1301
40
- msgid "No special processing for internal links"
41
- msgstr "Bez specjalnego indeksowania linków wewnętrznych"
42
-
43
- #: relevanssi.php:1302
44
- msgid "Index internal links for target documents only"
45
- msgstr "Indeksowanie linków wewnętrznych tylko dla dokumentów docelowych"
46
-
47
- #: relevanssi.php:1303
48
- msgid "Index internal links for both target and source"
49
- msgstr ""
50
- "Indeksowanie linków wewnętrznych zarówno dla źródeł jak i dokumentów "
51
- "docelowych"
52
-
53
- #: relevanssi.php:1305
54
- msgid ""
55
- "Internal link anchor tags can be indexed for target document (so the text "
56
- "will match the document the link points to), both target and source or "
57
- "source only (with no extra significance for the links). See Relevanssi "
58
- "Knowledge Base for more details. Changing this option requires reindexing."
59
- msgstr ""
60
- "Linki wewnętrzne mogą być indeksowane dla dokumentów docelowych (tak aby "
61
- "tekst pasował do dokumentu na który wskazuje), zarówno dla docelowyc jak i "
62
- "źródeł lub tylko dla źródeł (bez dodatkowego wpływu na linki). Zobacz bazę "
63
- "wiedzy Relevanssi aby dowiedzieć się więcej. Zmiana tego ustawienia wymaga "
64
- "ponownego indeksowania."
65
-
66
- #: relevanssi.php:1313
67
- msgid "Hide Relevanssi on edit pages:"
68
- msgstr "Ukryj Relevanssi na stronach edycji:"
69
-
70
- #: relevanssi.php:1315
71
- msgid ""
72
- "If you check this option, all Relevanssi features are removed from edit "
73
- "pages."
74
- msgstr ""
75
- "Jeśli zaznaczysz tę opcję, wszystkie funkcje Relevanssi zostaną usunięte z "
76
- "ekranów edycji."
77
-
78
- #: relevanssi.php:1324
79
- msgid "Internal links"
80
- msgstr "Linki wewnętrzne"
81
-
82
- #: relevanssi.php:1347
83
- #, php-format
84
- msgid "Post type '%s':"
85
- msgstr "Typ wpisu '%s':"
86
-
87
- #: relevanssi.php:1375
88
- #, php-format
89
- msgid "Taxonomy '%s':"
90
- msgstr "Taksonomia '%s':"
91
-
92
- #: relevanssi.php:1393
93
- msgid "Weight multiplier for new posts:"
94
- msgstr "Mnożnik wagi dla nowych wpisów:"
95
-
96
- #: relevanssi.php:1395
97
- msgid "Assign bonus for posts newer than:"
98
- msgstr "Przyznaj bonus dla wpisów nowszych niż:"
99
-
100
- #: relevanssi.php:1396
101
- msgid "days"
102
- msgstr "dni"
103
-
104
- #: relevanssi.php:1397
105
- msgid ""
106
- "Posts newer than the day cutoff specified here will have their weight "
107
- "multiplied with the bonus above."
108
- msgstr ""
109
- "Wpisy nowsze niż określona tutaj liczba dni będą miały wagę pomnożoną przez "
110
- "podaną liczbę."
111
-
112
- #: relevanssi.php:1403
113
- msgid "Don't show Relevanssi branding on the 'User Searches' screen:"
114
- msgstr ""
115
- "Nie wyświetlaj informacji o Relevanssi na ekranie 'Statystyk wyszukiwania':"
116
-
117
- #: relevanssi.php:1410
118
- msgid "Highlight query terms in documents from external searches:"
119
- msgstr "Podświetl wyszukiwane frazy w dokumentach z zewnętrznych wyszukiwarek:"
120
-
121
- #: relevanssi.php:1412
122
- msgid ""
123
- "Highlights hits when user arrives from external search. Currently supports "
124
- "Google, Bing, Ask, Yahoo and AOL Search."
125
- msgstr ""
126
- "Podświetl trafienia jeśli użytkownik pochodzi z zewnętrznych wyszukiwarek. "
127
- "Aktualnie wspierane są Google, Bing, Ask, Yahoo i AOL Search."
128
-
129
- #: relevanssi.php:1420
130
- msgid "Thousands separator"
131
- msgstr "Separator liczb (tysięcy)"
132
-
133
- #: relevanssi.php:1422
134
- msgid ""
135
- "If Relevanssi sees this character between numbers, it'll stick the numbers "
136
- "together no matter how the character would otherwise be handled. Especially "
137
- "useful if a space is used as a thousands separator."
138
- msgstr ""
139
- "Jeśli Relevanssi znajdzie ten znak między cyframi, zignoruje go i rozpozna "
140
- "całą liczbę. Jest to szczególnie przydatne gdy jako separator stosowana jest "
141
- "spacja."
142
-
143
- #: relevanssi.php:1438
144
- msgid "Custom MySQL columns to index:"
145
- msgstr "Własne kolumny MySQL do zaindeksowania:"
146
-
147
- #: relevanssi.php:1440
148
- msgid ""
149
- "A comma-separated list of wp_posts MySQL table columns to include in the "
150
- "index. Following columns are available: "
151
- msgstr ""
152
- "Oddzielona przecinkami lista kolumn MySQL z tabeli wp_posts, które mają być "
153
- "zaindeksowane. Dostępne są następujące kolumny:"
154
-
155
- #: relevanssi.php:1448
156
- msgid "Index and search user profiles:"
157
- msgstr "Indeksowanie i przeszukiwanie profili użytkowników:"
158
-
159
- #: relevanssi.php:1450
160
- msgid ""
161
- "If checked, Relevanssi will also index and search user profiles (first name, "
162
- "last name, display name and user description). Requires changes to search "
163
- "results template, see Relevanssi Knowledge Base."
164
- msgstr ""
165
- "Jeśli zostanie zaznaczone, Relevanssi będzie indeksować i przeszukiwać "
166
- "profile użytkowników (imię, nazwisko, wyświetlana nazwa i opis użytkownika). "
167
- "Wymaga to zmian w szablonie wyszukiwania (zobacz w bazie wiedzy Relevansii)."
168
-
169
- #: relevanssi.php:1454
170
- msgid "Index subscriber profiles:"
171
- msgstr "Indeksowanie profili subskrybentów:"
172
-
173
- #: relevanssi.php:1456
174
- msgid ""
175
- "If checked, Relevanssi will index subscriber profiles as well, otherwise "
176
- "only authors, editors, contributors and admins are indexed."
177
- msgstr ""
178
- "Jeśli zostanie zaznaczone, Relevanssi będzie indeksować także profile "
179
- "subskrybentów. W przeciwnym wypadku indeksowane będą tylko profile autorów, "
180
- "redaktorów, współpracowników i administratorów."
181
-
182
- #: relevanssi.php:1460
183
- msgid "Extra user fields to index:"
184
- msgstr "Dodatkowe pola użytkowników do zaindeksowania:"
185
-
186
- #: relevanssi.php:1462
187
- msgid ""
188
- "A comma-separated list of user profile field names (names of the database "
189
- "columns) to include in the index."
190
- msgstr ""
191
- "Oddzielona przecinkami lista nazw pól w profilach użytkownika (nazw kolumn w "
192
- "bazie danych), które mają być zaindeksowane."
193
-
194
- #: relevanssi.php:1470
195
- msgid "Index and search taxonomy pages:"
196
- msgstr "Indeksowanie i przeszukiwanie stron taksonomii:"
197
-
198
- #: relevanssi.php:1472
199
- msgid ""
200
- "If checked, Relevanssi will also index and search taxonomy pages "
201
- "(categories, tags, custom taxonomies)."
202
- msgstr ""
203
- "Jeśli zostanie zaznaczone, Relevanssi będzie indeksować i przeszukiwać także "
204
- "strony taksonomii (kategorii, tagów, własnych taksonomii)."
205
-
206
- #: relevanssi.php:1476
207
- msgid "Taxonomy pages to index:"
208
- msgstr "Strony taksonomi do zaindeksowania:"
209
-
210
- #: relevanssi.php:1478
211
- msgid ""
212
- "A comma-separated list of taxonomies to include in the taxonomy page index "
213
- "('all' indexes all custom taxonomies. If you don't use 'all', remember to "
214
- "list 'category' and 'post_tag')."
215
- msgstr ""
216
- "Oddzielona przecinkami lista taksonomii, które mają być ujęte w indeksie "
217
- "stron taksonomii (wpisanie 'all' spowoduje zaindeksowanie wszystkich "
218
- "taksonomii. Jeśli nie użyjesz 'all' dodaj przynajmniej 'category' i "
219
- "'post_tag')."
220
-
221
- #: relevanssi.php:1486
222
- msgid "Import or export options"
223
- msgstr "Importowanie i eksportowanie ustawień"
224
-
225
- #: relevanssi.php:1488
226
- msgid ""
227
- "Here you find the current Relevanssi Premium options in a text format. Copy "
228
- "the contents of the text field to make a backup of your settings. You can "
229
- "also paste new settings here to change all settings at the same time. This "
230
- "is useful if you have default settings you want to use on every system."
231
- msgstr ""
232
- "Możesz tu znaleźć ustawienia Relevanssi Premium w formie tekstowej. Skopiuj "
233
- "zawartość tego pola aby utworzyć kopię zapasową ustawień. Możesz także "
234
- "wkleić tutaj nowe ustawienia aby je w prosty sposób zmienić. Jest to "
235
- "przydatne jeśli masz domyślne ustawienia, któe stosujesz na wielu stronach."
236
-
237
- #: relevanssi.php:1492
238
- msgid "Import settings"
239
- msgstr "Importuj ustawienia"
240
-
241
- #: relevanssi.php:1494
242
- msgid ""
243
- "Note! Make sure you've got correct settings from a right version of "
244
- "Relevanssi. Settings from a different version of Relevanssi may or may not "
245
- "work and may or may not mess your settings."
246
- msgstr ""
247
- "Uwaga! Upewnij się że używasz ustawień odpowiednich dla konkretnej wersji "
248
- "Relevansii. Ustawienia z wersji innej niż stosowana mogą nie działać i "
249
- "powodować problemy."
250
-
251
- #: relevanssi.php:1513
252
- msgid "Thank you!"
253
- msgstr "Dziękujemy!"
254
-
255
- #: relevanssi.php:1514
256
- msgid ""
257
- "Thank you for buying Relevanssi Premium! Your support makes it possible for "
258
- "me to keep working on this plugin."
259
- msgstr ""
260
- "Dziękujemy za wybranie Relevanssi Premium. Twoje wsparcie umożliwia dalsze "
261
- "prace nad tą wtyczką."
262
-
263
- #: relevanssi.php:1515
264
- msgid ""
265
- "I can do custom hacks based on Relevanssi and other WordPress development. "
266
- "If you need someone to fix your WordPress, just ask me for a quote."
267
- msgstr ""
268
- "Mogę przygotować dowolną modyfikację opartą o Relevanssi i WordPress. Jeśli "
269
- "szukasz kogoś, kto popracowałby nad Twoją stroną, wyślij zapytanie."
270
-
271
- #: relevanssi.php:1517
272
- msgid "Relevanssi on Facebook"
273
- msgstr "Relevanssi na Facebooku"
274
-
275
- #: relevanssi.php:1518
276
- msgid "Check out the Relevanssi page on Facebook"
277
- msgstr "Sprawdź stronę Relevanssi na Facebooku"
278
-
279
- #: relevanssi.php:1519
280
- msgid "for news and updates about your favourite plugin."
281
- msgstr ""
282
- "aby być na bierząco informowanym o aktualnościach i innych wydarzeniach "
283
- "związanych z Twoją ulubioną wtyczką."
284
-
285
- #: relevanssi.php:1521
286
- msgid "Help and support"
287
- msgstr "Pomoc"
288
-
289
- #: relevanssi.php:1522
290
- msgid "For Relevanssi support, see:"
291
- msgstr "Aby uzyskać pomoc, zobacz:"
292
-
293
- #: relevanssi.php:1523
294
- msgid "Plugin support page"
295
- msgstr "Strona pomocy"
296
-
297
- #: relevanssi.php:1524
298
- msgid "WordPress.org forum"
299
- msgstr "Forum na Wordpress.com"
300
-
301
- #: relevanssi.php:1526
302
- msgid "Did you know this feature?"
303
- msgstr "Czy znałeś tę funkcję?"
304
-
305
- #: relevanssi.php:1527
306
- msgid ""
307
- "Wrap the parts of the posts you don't want to include in the index in "
308
- "[noindex] shortcode."
309
- msgstr ""
310
- "Zaznacz fragmenty treści, których nie chcesz zaindeksować w skrót [noindex]."
311
-
312
- #: relevanssi.php:1528
313
- msgid "Use the [search] shortcode to build easy links to search results."
314
- msgstr ""
315
- "Użyj skrótu [search] aby w prosty sposób utworzyć linki do wyników "
316
- "wyszukiwania."
317
-
318
- #: relevanssi.php:1529
319
- msgid ""
320
- "Enable the English-language stemmer by adding this line in your functions."
321
- "php:"
322
- msgstr ""
323
- "Włącz odmiany zwrotów w języku angielskim dodają tę linię kodu do pliku "
324
- "functions.php:"
325
-
326
- #: relevanssi.php:1530
327
- msgid "Boolean NOT"
328
- msgstr "Warunek boolean NOT"
329
-
330
- #: relevanssi.php:1531
331
- msgid "To get results without particular word, use the minus operator"
332
- msgstr "Aby uzyskać wyniki bez określnoego zwrotu użyj operatora minus (-)"
333
-
334
- #: relevanssi.php:1532
335
- msgid "cats -dogs"
336
- msgstr "koty-psy"
337
-
338
- #: relevanssi.php:1533
339
- msgid "Boolean AND"
340
- msgstr "Warunek boolean AND"
341
-
342
- #: relevanssi.php:1534
343
- msgid "To force a particular term in an OR search, use the plus operator"
344
- msgstr ""
345
- "Aby wymusić określony termin w wyszukiwaniu w trybie OR, użyj operatora plus "
346
- "(+)"
347
-
348
- #: relevanssi.php:1535
349
- msgid "+cats dogs mice"
350
- msgstr "+koty psy myszy"
351
-
352
- #: relevanssi.php:1536
353
- msgid ""
354
- "would require that all results include the term 'cats', and results "
355
- "including all three terms will be favoured. The plus operator has no effect "
356
- "in an AND search, where all terms have an implicit + before them."
357
- msgstr ""
358
- "będzie wymagać aby wszystkie wyniki zawierały zwrot 'cats' a wyniki "
359
- "zawierające każdy z tych trzech zwrotów będą faworyzowane. Operator plus nie "
360
- "ma żadnego działania w wyszukiwaniu w trybie OR, ponieważ wówczas wszystkie "
361
- "zwroty mają taki operator."
362
-
363
- #: relevanssi.php:1620
364
- msgid "Relevanssi post controls"
365
- msgstr "Ustawienia wyszukiwania"
366
-
367
- #: relevanssi.php:1639
368
- msgid "Exclude this post or page from the index."
369
- msgstr "Wyklucz ten wpis lub stronę z indeksowania i wyszukiwania"
370
-
371
- #: lib/excerpts-highlights.php:11
372
- msgid "There is no excerpt because this is a protected post."
373
- msgstr "Wypis nie istnieje, ponieważ ten wpis jest strzeżony hasłem."
374
-
375
- #: lib/indexing.php:83
376
- msgid "Indexing complete!"
377
- msgstr "Indeksowanie zostało zakończone!"
378
-
379
- #: lib/init.php:41
380
- #, php-format
381
- msgid ""
382
- "Relevanssi needs attention: Remember to build the index (you can do it at <a "
383
- "href=\"%1$s\">the\n"
384
- "\t\t\t settings page</a>), otherwise searching won't work."
385
- msgstr ""
386
- "Relevanssi wymaga Twojej uwagi: Pamiętaj o przebudowaniu indeksu (możesz "
387
- "zrobić to na <a href=\"%1$s\">stronie\n"
388
- "\t\t\t ustawień</a>), ponieważ w przeciwnym wypadku wyszukiwanie nie "
389
- "będzie działać."
390
-
391
- #: lib/init.php:85 lib/init.php:86
392
- msgid "User searches"
393
- msgstr "Wyszukiwania"
394
-
395
- #: lib/interface.php:6
396
- msgid "Relevanssi Premium Search Options"
397
- msgstr "Ustawienia wyszukiwania"
398
-
399
- #: lib/interface.php:9
400
- msgid "Relevanssi Search Options"
401
- msgstr "Ustawienia wyszukiwania"
402
-
403
- #: lib/interface.php:86
404
- msgid "User Searches"
405
- msgstr "Statystyki wyszukiwania"
406
-
407
- #: lib/interface.php:88
408
- msgid "Relevanssi User Searches"
409
- msgstr "Statystyki wyszukiwania"
410
-
411
- #: lib/interface.php:333
412
- #, php-format
413
- msgid ""
414
- "<div id='message' class='updated fade'><p>Successfully added %d/%d terms to "
415
- "stopwords!</p></div>"
416
- msgstr ""
417
- "<div id='message' class='updated fade'><p>Zwroty %d/%d zostały dodane do "
418
- "liczby słów pomijanych!</p></div>"
419
-
420
- #: lib/interface.php:340
421
- #, php-format
422
- msgid ""
423
- "<div id='message' class='updated fade'><p>Term '%s' added to stopwords!</p></"
424
- "div>"
425
- msgstr ""
426
- "<div id='message' class='updated fade'><p>Zwrot '%s' został dodany do liczby "
427
- "słów pomijanych!</p></div>"
428
-
429
- #: lib/interface.php:343
430
- #, php-format
431
- msgid ""
432
- "<div id='message' class='updated fade'><p>Couldn't add term '%s' to "
433
- "stopwords!</p></div>"
434
- msgstr ""
435
- "<div id='message' class='updated fade'><p>Nie udało się dodać zwrotu '%s' do "
436
- "listy słów pomijanych!</p></div>"
437
-
438
- #: lib/interface.php:372
439
- msgid ""
440
- "<div id='message' class='updated fade'><p>Stopwords removed! Remember to re-"
441
- "index.</p></div>"
442
- msgstr ""
443
- "<div id='message' class='updated fade'><p>Słowa pomijane zostały usunięte! "
444
- "Pamiętaj o przebudowaniu indeku.</p></div>"
445
-
446
- #: lib/interface.php:382
447
- #, php-format
448
- msgid ""
449
- "<div id='message' class='updated fade'><p>Term '%s' removed from stopwords! "
450
- "Re-index to get it back to index.</p></div>"
451
- msgstr ""
452
- "<div id='message' class='updated fade'><p>Zwrot '%s' został usunięty z listy "
453
- "słów pomijanych! Przebuduj indeks aby dodać je do indeksu.</p></div>"
454
-
455
- #: lib/interface.php:385
456
- #, php-format
457
- msgid ""
458
- "<div id='message' class='updated fade'><p>Couldn't remove term '%s' from "
459
- "stopwords!</p></div>"
460
- msgstr ""
461
- "<div id='message' class='updated fade'><p>Nie udało się usunąć zwrotu '%s' z "
462
- "listy słów pomijanych!</p></div>"
463
-
464
- #: lib/interface.php:396
465
- msgid "25 most common words in the index"
466
- msgstr "25 najczęściej występujących słów w indeksie"
467
-
468
- #: lib/interface.php:398
469
- msgid ""
470
- "These words are excellent stopword material. A word that appears in most of "
471
- "the posts in the database is quite pointless when searching. This is also an "
472
- "easy way to create a completely new stopword list, if one isn't available in "
473
- "your language. Click the icon after the word to add the word to the stopword "
474
- "list. The word will also be removed from the index, so rebuilding the index "
475
- "is not necessary."
476
- msgstr ""
477
- "Te zwroty są doskonałym materiałem na słowa do pominięcia. Słowa, które w "
478
- "bazie danych występują najczęściej są mało przydatne w wyszukiwaniu. Możesz "
479
- "więc potraktować tę listę jako propozycję nowej listy słów do pominięcia w "
480
- "Twoim języku. Kliknij ikonę znajdującą się za danym słowem aby dodać dany "
481
- "zwrot do listy słów pominięcia. Taki zwrot zostanie usunięty z indeksu, więc "
482
- "musisz go przebudować."
483
-
484
- #: lib/interface.php:424
485
- msgid "Add to stopwords"
486
- msgstr "Dodaj do słów do pominięcia"
487
-
488
- #: lib/interface.php:435
489
- msgid "Total Searches"
490
- msgstr "Podsumowanie wyszukiwania"
491
-
492
- #: lib/interface.php:438
493
- msgid "Totals"
494
- msgstr "Ogółem"
495
-
496
- #: lib/interface.php:443
497
- msgid "Common Queries"
498
- msgstr "Najczęściej wyszukiwane frazy"
499
-
500
- #: lib/interface.php:445
501
- msgid ""
502
- "Here you can see the 20 most common user search queries, how many times "
503
- "those \n"
504
- "\t\tqueries were made and how many results were found for those queries."
505
- msgstr ""
506
- "Możesz tutaj sprawdzić listę 20 najczęściej wyszukiwanych fraz, jak wiele "
507
- "razy \n"
508
- "\t\tdana fraza była wyszukiwana oraz ile wyników dla danej frazy znaleziono ."
509
-
510
- #: lib/interface.php:451 lib/interface.php:467 lib/interface.php:499
511
- msgid "Today and yesterday"
512
- msgstr "Dziś i wczoraj"
513
-
514
- #: lib/interface.php:455 lib/interface.php:471 lib/interface.php:500
515
- msgid "Last 7 days"
516
- msgstr "W ciągu ostatnich 7 dni"
517
-
518
- #: lib/interface.php:459 lib/interface.php:475 lib/interface.php:501
519
- msgid "Last 30 days"
520
- msgstr "W ciągu ostatnich 30 dni"
521
-
522
- #: lib/interface.php:464
523
- msgid "Unsuccessful Queries"
524
- msgstr "Zapytania bez wyników"
525
-
526
- #: lib/interface.php:482
527
- msgid "Reset Logs"
528
- msgstr "Resetuj dziennik"
529
-
530
- #: lib/interface.php:485
531
- #, php-format
532
- msgid "To reset the logs, type \"reset\" into the box here %s and click %s"
533
- msgstr ""
534
- "Aby zresetować dziennik wpisz słowo \"reset\" w to pole %s i kliknij %s"
535
-
536
- #: lib/interface.php:502
537
- msgid "Forever"
538
- msgstr "Zawsze"
539
-
540
- #: lib/interface.php:504
541
- msgid "When"
542
- msgstr "Okres"
543
-
544
- #: lib/interface.php:504
545
- msgid "Searches"
546
- msgstr "Wyszukiwania"
547
-
548
- #: lib/interface.php:534
549
- msgid "Query"
550
- msgstr "Fraza"
551
-
552
- #: lib/interface.php:534
553
- msgid "Hits"
554
- msgstr "Trafienia"
555
-
556
- #: lib/interface.php:842 lib/interface.php:887
557
- msgid "Basic options"
558
- msgstr "Ustawienia podstawowe"
559
-
560
- #: lib/interface.php:843 lib/interface.php:953
561
- msgid "Weights"
562
- msgstr "Ważenie"
563
-
564
- #: lib/interface.php:844 lib/interface.php:1008
565
- msgid "Logs"
566
- msgstr "Dziennik"
567
-
568
- #: lib/interface.php:845 lib/interface.php:1037
569
- msgid "Exclusions and restrictions"
570
- msgstr "Wykluczanie i ograniczenia"
571
-
572
- #: lib/interface.php:846
573
- msgid "Custom excerpts"
574
- msgstr "Własne wypisy"
575
-
576
- #: lib/interface.php:847
577
- msgid "Highlighting search results"
578
- msgstr "Podświetlanie wyników wyszukiwania"
579
-
580
- #: lib/interface.php:848 lib/interface.php:1183
581
- msgid "Indexing options"
582
- msgstr "Ustawienia indeksowania"
583
-
584
- #: lib/interface.php:849 lib/interface.php:1301
585
- msgid "Caching"
586
- msgstr "Cachowanie"
587
-
588
- #: lib/interface.php:850 lib/interface.php:1324
589
- msgid "Synonyms"
590
- msgstr "Synonimy"
591
-
592
- #: lib/interface.php:851 lib/interface.php:1332
593
- msgid "Stopwords"
594
- msgstr "Słowa pomijane"
595
-
596
- #: lib/interface.php:854
597
- msgid "Import/export options"
598
- msgstr "Importowanie i eksportowanie ustawień"
599
-
600
- #: lib/interface.php:857
601
- msgid "Buy Relevanssi Premium"
602
- msgstr "Kup Relevanssi Premium"
603
-
604
- #: lib/interface.php:862
605
- msgid "Quick tools"
606
- msgstr "Szybkie narzędzia"
607
-
608
- #: lib/interface.php:864
609
- msgid "Save options"
610
- msgstr "Zapisz ustawienia"
611
-
612
- #: lib/interface.php:865
613
- msgid "Build the index"
614
- msgstr "Zbuduj indeks"
615
-
616
- #: lib/interface.php:866 lib/interface.php:1299
617
- msgid "Continue indexing"
618
- msgstr "Kontynuuj indeksowanie"
619
-
620
- #: lib/interface.php:866
621
- msgid "add"
622
- msgstr "dodaj"
623
-
624
- #: lib/interface.php:866
625
- msgid "documents."
626
- msgstr "dokumentów."
627
-
628
- #: lib/interface.php:870
629
- msgid ""
630
- "WARNING: You've chosen no post types to index. Nothing will be indexed. <a "
631
- "href='#indexing'>Choose some post types to index</a>."
632
- msgstr ""
633
- "UWAGA: Jeśli nie wybrałeś do zaindeksowania żadnych typów wpisów, nic nie "
634
- "zostanie zaindeksowane. <a href='#indexing'>Wybierz typy wpisów</a>."
635
-
636
- #: lib/interface.php:874
637
- msgid ""
638
- "Use 'Build the index' to build the index with current <a "
639
- "href='#indexing'>indexing options</a>. If you can't finish indexing with one "
640
- "go, use 'Continue indexing' to finish the job. You can change the number of "
641
- "documents to add until you find the largest amount you can add with one go. "
642
- "See 'State of the Index' below to find out how many documents actually go "
643
- "into the index."
644
- msgstr ""
645
- "Użyj 'Buduj indeks' aby zbudować indeks z wykorzystaniem aktualnych <a "
646
- "href='#indexing'>ustawień indeksowania</a>."
647
-
648
- #: lib/interface.php:876
649
- msgid ""
650
- "If Relevanssi doesn't index anything and you have upgraded from a 2.x "
651
- "version, it's likely the changes in\n"
652
- "\tthe database structure haven't gone through in the upgrade. In that case "
653
- "all you need to do is to deactivate the\n"
654
- "\tplugin and then activate it again."
655
- msgstr ""
656
- "Jeśli Relevanssi niczego nie zaindeksuje a robiłeś aktualizację z wersji 2."
657
- "x, prawdopodobnie zmiany\n"
658
- "\tstruktury bazy danych nie zostały wykonane. W takim wypadku należy "
659
- "deaktywować\n"
660
- "\twtyczkę i aktywować ją ponownie."
661
-
662
- #: lib/interface.php:880
663
- msgid "State of the Index"
664
- msgstr "Stan indeksu"
665
-
666
- #: lib/interface.php:882
667
- msgid "Documents in the index"
668
- msgstr "Dokumenty w indeksie"
669
-
670
- #: lib/interface.php:883
671
- msgid "Terms in the index"
672
- msgstr "Zwroty w indeksie"
673
-
674
- #: lib/interface.php:884
675
- msgid "Highest post ID indexed"
676
- msgstr "Zaindeksowany wpis o najwyższym ID"
677
-
678
- #: lib/interface.php:893
679
- msgid "Use search for admin:"
680
- msgstr "Wyszukiwanie w panelu administracyjnym:"
681
-
682
- #: lib/interface.php:895
683
- msgid "If checked, Relevanssi will be used for searches in the admin interface"
684
- msgstr ""
685
- "Jeśli zaznaczysz tę opcję, Relevanssi zostanie zastosowane do wyszukiwania w "
686
- "panelu administracyjnym"
687
-
688
- #: lib/interface.php:899
689
- msgid "Default operator for the search?"
690
- msgstr "Domyślny operator wyszukiwania?"
691
-
692
- #: lib/interface.php:901
693
- msgid "AND - require all terms"
694
- msgstr "AND - szukaj wszystkich fraz"
695
-
696
- #: lib/interface.php:902
697
- msgid "OR - any term present is enough"
698
- msgstr "OR - szukaj którejkolwiek z fraz"
699
-
700
- #: lib/interface.php:904
701
- msgid ""
702
- "If you choose AND and the search finds no matches, it will automatically do "
703
- "an OR search."
704
- msgstr ""
705
- "Jeśli wybierzez AND a wyszukiwanie nie przyniesie rezultatu, automatycznie "
706
- "przejdzie w tryb wyszukiwania OR."
707
-
708
- #: lib/interface.php:908
709
- msgid "Disable OR fallback:"
710
- msgstr "Przejście w tryb OR:"
711
-
712
- #: lib/interface.php:910
713
- msgid ""
714
- "If you don't want Relevanssi to fall back to OR search when AND search gets "
715
- "no hits, check this option. For most cases, leave this one unchecked."
716
- msgstr ""
717
- "Jeśli nie chcesz aby Relevanssi przechodziło w tryb OR w sytuacji gdy "
718
- "wyszukiwanuie w trybie AND nie przyniesie rezultatu, zaznacz tę opcję. W "
719
- "większości wypadków zaznaczanie tej opcji nie jest rekomendowane."
720
-
721
- #: lib/interface.php:914
722
- msgid "Default order for results:"
723
- msgstr "Domyślne sortowanie wyników:"
724
-
725
- #: lib/interface.php:916
726
- msgid "Relevance (highly recommended)"
727
- msgstr "Wg trafności (mocno rekomendowane)"
728
-
729
- #: lib/interface.php:917
730
- msgid "Post date"
731
- msgstr "Wg daty wpisu"
732
-
733
- #: lib/interface.php:919
734
- msgid ""
735
- "If you want date-based results, see the recent post bonus in the Weights "
736
- "section."
737
- msgstr ""
738
- "Jeśli chcesz aby wyniki wyszukiwania opierały się na dacie dodania wpisu, "
739
- "sprawdź mnożnik wagi dla nowych wpisów."
740
-
741
- #: lib/interface.php:923
742
- msgid "When to use fuzzy matching?"
743
- msgstr "Kiedy stosować przybliżone porównywanie fraz?"
744
-
745
- #: lib/interface.php:925
746
- msgid "When straight search gets no hits"
747
- msgstr "Kiedy brak wyników wyszukiwania"
748
-
749
- #: lib/interface.php:926
750
- msgid "Always"
751
- msgstr "Zawsze"
752
-
753
- #: lib/interface.php:927
754
- msgid "Don't use fuzzy search"
755
- msgstr "Nie używaj przybliżonego porównywania"
756
-
757
- #: lib/interface.php:929
758
- msgid ""
759
- "Straight search matches just the term. Fuzzy search matches everything that "
760
- "begins or ends with the search term."
761
- msgstr ""
762
- "Normalne wyszukiwanie po prostu porównuje zwroty. Porównywanie przybliżone "
763
- "sprawdza wszystkie zwroty, które zaczynają się lub kończą wyszukiwaną frazą."
764
-
765
- #: lib/interface.php:937
766
- msgid "Limit searches:"
767
- msgstr "Limit wyników wyszukiwania:"
768
-
769
- #: lib/interface.php:939
770
- msgid ""
771
- "If this option is checked, Relevanssi will limit search results to at most "
772
- "500 results per term. This will improve performance, but may cause some "
773
- "relevant documents to go unfound. However, Relevanssi tries to prioritize "
774
- "the most relevant documents. <strong>This does not work well when sorting "
775
- "results by date.</strong> The throttle can end up cutting off recent posts "
776
- "to favour more relevant posts."
777
- msgstr ""
778
- "Jeśli zostanie zaznaczone, Relevanssi ograniczy listę wyników wyszukiwania "
779
- "do maksymalnie 500. Pozwala to na poprawienie wydajności wyszukiwania, "
780
- "natomiast może spowodować, że niektóre trafienia nie zostaną wyświetlone. Z "
781
- "drugiej strony Relevanssi udostępnia narzędzia do określania priorytetów "
782
- "wyszukiwania, dzięki którym najbardziej trafne wyniki zostaną wyświetlone w "
783
- "pierwszej kolejności. <strong>Niestety, nie działa to dobrze, jeżeli "
784
- "wybierzesz sortowanie wg daty wpisu.</strong> Wówczas najnowsze wpisy mogą "
785
- "zostać pominięte w wynikach wyszukiwania na rzecz tych, najbardziej trafnych."
786
-
787
- #: lib/interface.php:943
788
- msgid "Limit:"
789
- msgstr "Limit:"
790
-
791
- #: lib/interface.php:945
792
- msgid ""
793
- "For better performance, adjust the limit to a smaller number. Adjusting the "
794
- "limit to 100 - or even lower - should be safe for good results, and might "
795
- "bring a boost in search speed."
796
- msgstr ""
797
- "Aby uzyskać lepszą wydajność wyszukiwania zmień limit na mniejszy. "
798
- "Ustawienie na 100 - lub nawet mniej - powinno być bezpieczne w kontekście "
799
- "uzyskiwanych wyników a przyniesie znaczną poprawę szybkości wyszukiwania."
800
-
801
- #: lib/interface.php:955
802
- msgid ""
803
- "These values affect the weights of the documents. These are all multipliers, "
804
- "so 1 means no change in weight, less than 1 means less weight, and more than "
805
- "1 means more weight. Setting something to zero makes that worthless. For "
806
- "example, if title weight is more than 1, words in titles are more "
807
- "significant than words elsewhere. If title weight is 0, words in titles "
808
- "won't make any difference to the search results."
809
- msgstr ""
810
- "Poniższe wartości mają wpływ na sposób ważenia dokumentów. Te liczby "
811
- "oznaczają wielokrotność, a więc 1 oznacza brak zmiany w wadze, mniej niż 1 "
812
- "oznacza zmniejszenie wagi a więcej niż 1 jej zwiększenie. Ustawienie "
813
- "wartości zbliżonej do zera powoduje że dane kryterium praktycznie przestaje "
814
- "być brane pod uwagę. Na przykład, jeśli waga tytułu jest większa niż 1 "
815
- "słowa zawarte w tytułach mają większe znaczenie niż te same słowa znajdujące "
816
- "się w innych miejscach. Jeśli waga tytułu byłaby ustawiona na 0, słowa "
817
- "zawarte w tytułach nie miałyby żadnego wpływu na wyniki wyszukiwania."
818
-
819
- #: lib/interface.php:960
820
- msgid "Element"
821
- msgstr "Element"
822
-
823
- #: lib/interface.php:961
824
- msgid "Weight"
825
- msgstr "Waga"
826
-
827
- #: lib/interface.php:962
828
- msgid "Default weight"
829
- msgstr "Waga domyślna"
830
-
831
- #: lib/interface.php:967
832
- msgid "Post titles"
833
- msgstr "Tutuły wpisów"
834
-
835
- #: lib/interface.php:979
836
- msgid "Comment text"
837
- msgstr "Treść komentarza"
838
-
839
- #: lib/interface.php:1000
840
- msgid "WPML compatibility"
841
- msgstr "Kompatybilność z WPML"
842
-
843
- #: lib/interface.php:1002
844
- msgid "Limit results to current language:"
845
- msgstr "Ogranicz wyniki wyszukiwania do aktualnego języka:"
846
-
847
- #: lib/interface.php:1004
848
- msgid ""
849
- "If this option is checked, Relevanssi will only return results in the "
850
- "current active language. Otherwise results will include posts in every "
851
- "language."
852
- msgstr ""
853
- "Jeśli ta opcja zostanie zaznaczona, Relevanssi zwróci tylko wyniki dla "
854
- "aktualnego jezyka. W przeciwnym wypadku wyniki wyszukiwania będą zawierać w "
855
- "wpisy w każdym języku."
856
-
857
- #: lib/interface.php:1010
858
- msgid "Keep a log of user queries:"
859
- msgstr "Zapisywanie wyszukiwanych fraz:"
860
-
861
- #: lib/interface.php:1012
862
- msgid ""
863
- "If checked, Relevanssi will log user queries. The log appears in 'User "
864
- "searches' on the Dashboard admin menu."
865
- msgstr ""
866
- "Jeśli zostanie zaznaczone, Relevanssi będzie zapisywać frazy wyszukiwane "
867
- "przez użytkowników. Dziennik wyszukiwanych będzie dostępny w zakładce "
868
- "'Wyszukiwania' w Kokpicie panelu administracyjnego."
869
-
870
- #: lib/interface.php:1016
871
- msgid "Log the user's IP with the queries:"
872
- msgstr "Zapisuj IP użytkowników"
873
-
874
- #: lib/interface.php:1018
875
- msgid "If checked, Relevanssi will log user's IP-Adress with the queries."
876
- msgstr ""
877
- "Jeśli zaznaczysz tę opcję, Relevanssi będzie zapisywać adresy IP "
878
- "użytkowników wraz z zapytaniami."
879
-
880
- #: lib/interface.php:1022
881
- msgid "Don't log queries from these users:"
882
- msgstr "Nie zapisuj fraz wyszukiwanych przez:"
883
-
884
- #: lib/interface.php:1024
885
- msgid ""
886
- "Comma-separated list of numeric user IDs or user login names that will not "
887
- "be logged."
888
- msgstr ""
889
- "Oddzielona przecinkami lista ID użytkowników lub nazw użytkowników, których "
890
- "wyszukiwania nie będą zapisywane."
891
-
892
- #: lib/interface.php:1028
893
- msgid ""
894
- "If you enable logs, you can see what your users are searching for. You can "
895
- "prevent your own searches from getting in the logs with the omit feature."
896
- msgstr ""
897
- "Jeśli włączysz zapisywanie, możesz sprawdzić czego szukają Twoi użytkownicy. "
898
- "Możesz także wykluczyć wyszukiwania, których sam dokonujesz na stronie."
899
-
900
- #: lib/interface.php:1031
901
- msgid ""
902
- "If you enable logs, you can see what your users are searching for. Logs are "
903
- "also needed to use the 'Did you mean?' feature. You can prevent your own "
904
- "searches from getting in the logs with the omit feature."
905
- msgstr ""
906
- "Jeśli włączysz zapisywanie, możesz sprawdzić czego szukają Twoi użytkownicy. "
907
- "Zapisywanie wyszukiwanych fraz jest także niezbędne, aby móc skorzystać z "
908
- "funkcji 'Czy miałeś na myśli?'. Możesz także wykluczyć wyszukiwania, których "
909
- "sam dokonujesz na stronie."
910
-
911
- #: lib/interface.php:1039
912
- msgid "Restrict search to these categories and tags:"
913
- msgstr "Ogranicz wyszukiwanie do następujących kategorii i tagów:"
914
-
915
- #: lib/interface.php:1041
916
- msgid ""
917
- "Enter a comma-separated list of category and tag IDs to restrict search to "
918
- "those categories or tags. You can also use <code>&lt;input type='hidden' "
919
- "name='cats' value='list of cats and tags' /&gt;</code> in your search form. "
920
- "The input field will \toverrun this setting."
921
- msgstr ""
922
- "Wpisz oddzieloną przecinkami listę ID kategorii i tagów do których chcesz "
923
- "ograniczyć wyszukiwanie. Możesz także użyć kodu <code>&lt;input "
924
- "type='hidden' name='cats' value='list of cats and tags' /&gt;</code> w "
925
- "formularzu wyszukiwania. Pole wyszukiwarki nadpisze te przykładowe "
926
- "ustawienia."
927
-
928
- #: lib/interface.php:1045
929
- msgid "Exclude these categories and tags from search:"
930
- msgstr "Wyklucz następujące kategorie i tagi z wyszukiwania:"
931
-
932
- #: lib/interface.php:1047
933
- msgid ""
934
- "Enter a comma-separated list of category and tag IDs that are excluded from "
935
- "search results. You can exclude categories with the 'cat' input field by "
936
- "using negative values."
937
- msgstr ""
938
- "Wpisz oddzieloną przecinkami listę ID kategorii i tagów, które chcesz "
939
- "wykluczyć z wyników wyszukiwania. Możesz także wykluczyć kategorie dodając w "
940
- "formularzy wyszukiwania pole 'cat' i ujemne wartości ID."
941
-
942
- #: lib/interface.php:1051
943
- msgid "Exclude these posts/pages from search:"
944
- msgstr "Wyklucz następujące wpisy/strony z wyszukiwania:"
945
-
946
- #: lib/interface.php:1055
947
- msgid ""
948
- "Enter a comma-separated list of post/page IDs that are excluded from search "
949
- "results. This only works here, you can't use the input field option "
950
- "(WordPress doesn't pass custom parameters there). You can also use a "
951
- "checkbox on post/page edit pages to remove posts from index."
952
- msgstr ""
953
- "Wpisz oddzieloną przecinkami listę ID wpisów/stron, któe chcesz wykluczyć z "
954
- "wyników wyszukiwania. Działa to wyłącznie w tym miejscu, nie dodając "
955
- "dodatkowego pola do formularza wyszukiwania (WordPress nie umożliwia "
956
- "przesyłania w nim własnych parametrów). Aby wykluczyć poszczególne wpisy z "
957
- "indeksowania możesz także użyć zaznaczania poszczególnych wpisów/stron w "
958
- "bloku Ustawienia wyszukiwania dodanego przez Relevanssi do stron edycji."
959
-
960
- #: lib/interface.php:1058
961
- msgid ""
962
- "Enter a comma-separated list of post/page IDs that are excluded from search "
963
- "results. This only works here, you can't use the input field option "
964
- "(WordPress doesn't pass custom parameters there)."
965
- msgstr ""
966
- "Wpisz oddzieloną przecinkami listę ID wpisów/stron, któe chcesz wykluczyć z "
967
- "wyników wyszukiwania. Działa to wyłącznie w tym miejscu, nie dodając "
968
- "dodatkowego pola do formularza wyszukiwania (WordPress nie umożliwia "
969
- "przesyłania w nim własnych parametrów)."
970
-
971
- #: lib/interface.php:1064
972
- msgid "Respect exclude_from_search for custom post types:"
973
- msgstr "Uwzględniaj ustawienia exclude_from_search dla własnych typów wpisów:"
974
-
975
- #: lib/interface.php:1066
976
- msgid ""
977
- "If checked, Relevanssi won't display posts of custom post types that have "
978
- "'exclude_from_search' set to true. If not checked, Relevanssi will display "
979
- "anything that is indexed."
980
- msgstr ""
981
- "Jeśli zostanie zaznaczone, Relevanssi nie będzie wyświetlać własnych typów "
982
- "wpisów dla których określono parametr 'exclude_from_search'. Jeśli nie "
983
- "będzie zaznaczone, Relevanssi będzie wyświetlać wszystko co zostało "
984
- "zaindeksowane."
985
-
986
- #: lib/interface.php:1068
987
- msgid "Custom excerpts/snippets"
988
- msgstr "Własne wypisy"
989
-
990
- #: lib/interface.php:1070
991
- msgid "Create custom search result snippets:"
992
- msgstr "Utwórz własne wypisy w kodzie wyników wyszukiwania:"
993
-
994
- #: lib/interface.php:1072
995
- msgid ""
996
- "If checked, Relevanssi will create excerpts that contain the search term "
997
- "hits. To make them work, make sure your search result template uses "
998
- "the_excerpt() to display post excerpts."
999
- msgstr ""
1000
- "Jeśli zostanie zaznaczone, Relevanssi utworzy własne wypisy, zawierające "
1001
- "znalezione frazy. Aby ta funkcja działała prawidłowo upewnij się, że Twój "
1002
- "szablon wyników wyszukiwania do wyświetlania wypisów używa funkcji "
1003
- "the_excerpt()."
1004
-
1005
- #: lib/interface.php:1074
1006
- msgid ""
1007
- "Note: Building custom excerpts can be slow. If you are not actually using "
1008
- "the excerpts, make sure you disable the option."
1009
- msgstr ""
1010
- "Uwaga: Tworzenie własnych wypisów może być spowolnić stronę. Jeśli nie "
1011
- "używasz wypisów, upewnij się że wyłączyłeś tę opcję."
1012
-
1013
- #: lib/interface.php:1076
1014
- msgid "Length of the snippet:"
1015
- msgstr "Długość wypisu:"
1016
-
1017
- #: lib/interface.php:1079
1018
- msgid "characters"
1019
- msgstr "liter"
1020
-
1021
- #: lib/interface.php:1080
1022
- msgid "words"
1023
- msgstr "słów"
1024
-
1025
- #: lib/interface.php:1082
1026
- msgid "This must be an integer."
1027
- msgstr "Musi to być liczba dodatnia."
1028
-
1029
- #: lib/interface.php:1086
1030
- msgid "Allowable tags in excerpts:"
1031
- msgstr "Znaczniki dostępne w wypisach:"
1032
-
1033
- #: lib/interface.php:1089
1034
- msgid ""
1035
- "List all tags you want to allow in excerpts, without any whitespace. For "
1036
- "example: '&lt;p&gt;&lt;a&gt;&lt;strong&gt;'."
1037
- msgstr ""
1038
- "Wpisz listę znaczników, na które chcesz pozwolić w wypisach. Nie używaj "
1039
- "spacji, np. '&lt;p&gt;&lt;a&gt;&lt;strong&gt;'."
1040
-
1041
- #: lib/interface.php:1093
1042
- msgid "Show breakdown of search hits in excerpts:"
1043
- msgstr "Wyświetl dodatkowe informacje w wypisie:"
1044
-
1045
- #: lib/interface.php:1095
1046
- msgid ""
1047
- "Check this to show more information on where the search hits were made. "
1048
- "Requires custom snippets to work."
1049
- msgstr ""
1050
- "Zaznacz tę funkcję, jeśli chcesz pokazać więcej informacji na temat tego, w "
1051
- "którym miejscu znajdowała się wyszukiwana fraza. Wymaga włączenia własnych "
1052
- "wypisów."
1053
-
1054
- #: lib/interface.php:1099
1055
- msgid "The breakdown format:"
1056
- msgstr "Format dodatkowych informacji:"
1057
-
1058
- #: lib/interface.php:1101
1059
- msgid ""
1060
- "Use %body%, %title%, %tags% and %comments% to display the number of hits (in "
1061
- "different parts of the post), %total% for total hits, %score% to display the "
1062
- "document weight and %terms% to show how many hits each search term got. No "
1063
- "double quotes (\") allowed!"
1064
- msgstr ""
1065
- "Możesz użyć znaczników %body%, %title%, %tags% i %comments% aby wyświetlić "
1066
- "liczbę trafień (w określonych częściach wpisu), %total% dla ogólnej liczby "
1067
- "trafień, %score% aby wyświetlić wagę danego dokumentu lub %terms% aby "
1068
- "pokazać ilość trafień dla danej frazy. Podwójne myślniki (\") są zabronione!"
1069
-
1070
- #: lib/interface.php:1103
1071
- msgid "Search hit highlighting"
1072
- msgstr "Podświetlanie trafień"
1073
-
1074
- #: lib/interface.php:1105
1075
- msgid "First, choose the type of highlighting used:"
1076
- msgstr "Najpierw wybierz rodzaj stosowanego podświetlenia:"
1077
-
1078
- #: lib/interface.php:1108
1079
- msgid "Highlight query terms in search results:"
1080
- msgstr "Podświetl każdą frazę w wynikach wyszukiwania:"
1081
-
1082
- #: lib/interface.php:1110
1083
- msgid "No highlighting"
1084
- msgstr "Bez podświetlania"
1085
-
1086
- #: lib/interface.php:1114
1087
- msgid "Text color"
1088
- msgstr "Kolor tekstu"
1089
-
1090
- #: lib/interface.php:1115
1091
- msgid "Background color"
1092
- msgstr "Kolor tła"
1093
-
1094
- #: lib/interface.php:1116
1095
- msgid "CSS Style"
1096
- msgstr "Styl CSS"
1097
-
1098
- #: lib/interface.php:1117
1099
- msgid "CSS Class"
1100
- msgstr "Klasa CSS"
1101
-
1102
- #: lib/interface.php:1119
1103
- msgid "Highlighting isn't available unless you use custom snippets"
1104
- msgstr ""
1105
- "Podświetlanie nie zawsze jest dostępne, jeśli nie używasz własnych wypisów"
1106
-
1107
- #: lib/interface.php:1123
1108
- msgid "Highlight query terms in result titles too:"
1109
- msgstr "Podświetl wyszukiwane frazy także w tytułach:"
1110
-
1111
- #: lib/interface.php:1129
1112
- msgid "Highlight query terms in documents from local searches:"
1113
- msgstr "Podświetl wyszukiwane frazy w dokumentach z lokalnych wyszukiwań:"
1114
-
1115
- #: lib/interface.php:1131
1116
- msgid ""
1117
- "Highlights hits when user opens the post from search results. This is based "
1118
- "on HTTP referrer, so if that's blocked, there'll be no highlights."
1119
- msgstr ""
1120
- "Podświetla trafienia jeśli użytkownik otworzył dany wpis na stronie wyników "
1121
- "wyszukiwania. Funkcja ta bazuje na odnośnikach HTTP, więc jeśli są one "
1122
- "zablokowane, podświetlenie nie będzie działać."
1123
-
1124
- #: lib/interface.php:1137
1125
- msgid "Highlight query terms in comments:"
1126
- msgstr "Podświetl wyszukiwane frazy w komentarzach:"
1127
-
1128
- #: lib/interface.php:1139
1129
- msgid ""
1130
- "Highlights hits in comments when user opens the post from search results."
1131
- msgstr ""
1132
- "Podświetla trafienia w komentarzach jeśli użytkownik otworzył dany wpis ze "
1133
- "strony wyników wyszukiwania."
1134
-
1135
- #: lib/interface.php:1143
1136
- msgid "Uncheck this if you use non-ASCII characters:"
1137
- msgstr "Odznacz tę opcję, jeśli używasz znaków spoza ASCII:"
1138
-
1139
- #: lib/interface.php:1145
1140
- msgid ""
1141
- "If you use non-ASCII characters (like Cyrillic alphabet) and the highlights "
1142
- "don't work, uncheck this option to make highlights work."
1143
- msgstr ""
1144
- "Jeśli używasz znaków spoza ASCII (np. cyrylicy) a podświetlanie nie działa "
1145
- "poprawnie, odznacz tę opcję i wszystko powinno działać."
1146
-
1147
- #: lib/interface.php:1150
1148
- msgid "Then adjust the settings for your chosen type:"
1149
- msgstr "Następnie dopasuj ustawienia w zależności od wybranego typu:"
1150
-
1151
- #: lib/interface.php:1154
1152
- msgid "Text color for highlights:"
1153
- msgstr "Kolor tekstu w podświetleniu:"
1154
-
1155
- #: lib/interface.php:1156 lib/interface.php:1162
1156
- msgid "Use HTML color codes (#rgb or #rrggbb)"
1157
- msgstr "Użyj kodów koloru jak w HTML (#rgb lub #rrggbb)"
1158
-
1159
- #: lib/interface.php:1160
1160
- msgid "Background color for highlights:"
1161
- msgstr "Kolor tła w podświetleniu:"
1162
-
1163
- #: lib/interface.php:1166
1164
- msgid "CSS style for highlights:"
1165
- msgstr "Styl CSS w podświetleniu:"
1166
-
1167
- #: lib/interface.php:1168
1168
- msgid ""
1169
- "You can use any CSS styling here, style will be inserted with a &lt;span&gt;"
1170
- msgstr ""
1171
- "Możesz użyć dowolnego ostylowania CSS (będzie dodane wraz z &lt;span&gt;)"
1172
-
1173
- #: lib/interface.php:1172
1174
- msgid "CSS class for highlights:"
1175
- msgstr "Klasa CSS w podświetleniu:"
1176
-
1177
- #: lib/interface.php:1174
1178
- msgid ""
1179
- "Name a class here, search results will be wrapped in a &lt;span&gt; with the "
1180
- "class"
1181
- msgstr ""
1182
- "Jeśli podasz nazwę klasy, zostanie dodana do wyników wyszukiwania wraz z &lt;"
1183
- "span&gt;"
1184
-
1185
- #: lib/interface.php:1181 lib/interface.php:1330
1186
- msgid "Save the options"
1187
- msgstr "Zapisz ustawienia"
1188
-
1189
- #: lib/interface.php:1185
1190
- msgid "Choose post types to index:"
1191
- msgstr "Wybierz typy wpisów do zaindeksowania:"
1192
-
1193
- #: lib/interface.php:1190
1194
- msgid "Type"
1195
- msgstr "Typ wpisu"
1196
-
1197
- #: lib/interface.php:1191
1198
- msgid "Index"
1199
- msgstr "Indeksowany"
1200
-
1201
- #: lib/interface.php:1192
1202
- msgid "Public?"
1203
- msgstr "Dostępny publicznie?"
1204
-
1205
- #: lib/interface.php:1209
1206
- #, php-format
1207
- msgid "%s"
1208
- msgstr "%s"
1209
-
1210
- #: lib/interface.php:1210
1211
- msgid "yes"
1212
- msgstr "tak"
1213
-
1214
- #: lib/interface.php:1210
1215
- msgid "no"
1216
- msgstr "nie"
1217
-
1218
- #: lib/interface.php:1231
1219
- msgid "Minimum word length to index"
1220
- msgstr "Minimalna długość indeksowanych słów"
1221
-
1222
- #: lib/interface.php:1233
1223
- msgid "Words shorter than this number will not be indexed."
1224
- msgstr "Słowa o długości krótszej niż określona powyżej nie będą indeksowane."
1225
-
1226
- #: lib/interface.php:1239
1227
- msgid "Expand shortcodes in post content:"
1228
- msgstr "Wykonywanie skrótów w treści wpisów:"
1229
-
1230
- #: lib/interface.php:1241
1231
- msgid ""
1232
- "If checked, Relevanssi will expand shortcodes in post content before "
1233
- "indexing. Otherwise shortcodes will be stripped. If you use shortcodes to "
1234
- "include dynamic content, Relevanssi will not keep the index updated, the "
1235
- "index will reflect the status of the shortcode content at the moment of "
1236
- "indexing."
1237
- msgstr ""
1238
- "Jeśli zostanie zaznaczone, Relevanssi w trakcie indeksowania będzie "
1239
- "wykonywać skróty zawarte w treści wpisów. W przeciwnym wypadku skróty "
1240
- "zostaną pominięte. Jeśli używasz skrótów do wstawiania dynamicznie "
1241
- "generowanej treści, Relevanssi nie będzie w stanie automatycznie "
1242
- "aktualizować indeksu o tę treść a zawartość indeksu będzie zawierać treść "
1243
- "wygenerowaną przez dany skrót w momencie indeksowania."
1244
-
1245
- #: lib/interface.php:1245
1246
- msgid "Index and search your posts' tags:"
1247
- msgstr "Indeksowanie i wyszukiwanie tagów:"
1248
-
1249
- #: lib/interface.php:1247
1250
- msgid ""
1251
- "If checked, Relevanssi will also index and search the tags of your posts. "
1252
- "Remember to rebuild the index if you change this option!"
1253
- msgstr ""
1254
- "Jeśli zostanie zaznaczone, Relevanssi będzie także indeksować i wyszukiwać "
1255
- "tagów znajdujących się we wpisach. Pamiętaj o przebudowaniu indeksu, jeśli "
1256
- "zmienisz te ustawienia."
1257
-
1258
- #: lib/interface.php:1251
1259
- msgid "Index and search your posts' categories:"
1260
- msgstr "Indeksowanie i wyszukiwanie kategorii:"
1261
-
1262
- #: lib/interface.php:1253
1263
- msgid ""
1264
- "If checked, Relevanssi will also index and search the categories of your "
1265
- "posts. Category titles will pass through 'single_cat_title' filter. Remember "
1266
- "to rebuild the index if you change this option!"
1267
- msgstr ""
1268
- "Jeśli zostanie zaznaczone, Relevanssi będzie także indeksować i wyszukiwać "
1269
- "kategorie znajdujące się we wpisach. Tytuły kategorii będą przetwarzane z "
1270
- "wykorzystaniem filtru single_cat_title'. Pamiętaj o przebudowaniu indeksu, "
1271
- "jeśli zmienisz te ustawienia."
1272
-
1273
- #: lib/interface.php:1257
1274
- msgid "Index and search your posts' authors:"
1275
- msgstr "Indeksowanie i wyszukiwanie autorów:"
1276
-
1277
- #: lib/interface.php:1259
1278
- msgid ""
1279
- "If checked, Relevanssi will also index and search the authors of your posts. "
1280
- "Author display name will be indexed. Remember to rebuild the index if you "
1281
- "change this option!"
1282
- msgstr ""
1283
- "Jeśli zostanie zaznaczone, Relevanssi będzie także indeksować i wyszukiwać "
1284
- "autorów wpisów. Indeksowana będzie wyświetlana nazwa autora. Pamiętaj o "
1285
- "przebudowaniu indeksu, jeśli zmienisz te ustawienia."
1286
-
1287
- #: lib/interface.php:1263
1288
- msgid "Index and search post excerpts:"
1289
- msgstr "Indeksowanie i wyszukiwanie wypisów:"
1290
-
1291
- #: lib/interface.php:1265
1292
- msgid ""
1293
- "If checked, Relevanssi will also index and search the excerpts of your posts."
1294
- "Remember to rebuild the index if you change this option!"
1295
- msgstr ""
1296
- "Jeśli zostanie zaznaczone, Relevanssi będzie także indeksować i wyszukiwać "
1297
- "wypisy znajdujące się we wpisach. Pamiętaj o przebudowaniu indeksu, jeśli "
1298
- "zmienisz te ustawienia."
1299
-
1300
- #: lib/interface.php:1269
1301
- msgid "Index and search these comments:"
1302
- msgstr "Indeksowanie i wyszukiwanie komentarzy:"
1303
-
1304
- #: lib/interface.php:1271
1305
- msgid "none"
1306
- msgstr "brak"
1307
-
1308
- #: lib/interface.php:1272
1309
- msgid "normal"
1310
- msgstr "normalne"
1311
-
1312
- #: lib/interface.php:1273
1313
- msgid "all"
1314
- msgstr "wszystko"
1315
-
1316
- #: lib/interface.php:1275
1317
- msgid ""
1318
- "Relevanssi will index and search ALL (all comments including track- &amp; "
1319
- "pingbacks and custom comment types), NONE (no comments) or NORMAL (manually "
1320
- "posted comments on your blog).<br />Remember to rebuild the index if you "
1321
- "change this option!"
1322
- msgstr ""
1323
- "Relevanssi będzie indeksować i wyszukiwać WSZYSTKO (wszystkie komentarze, "
1324
- "trackbacki, pingbacki oraz własne typy komentarzy), BRAK (żadnych "
1325
- "komentarzy) lub NORMALNE (ręcznie dodane komentarze).<br />Pamiętaj o "
1326
- "przebudowaniu indeksu, jeśli zmienisz te ustawienia."
1327
-
1328
- #: lib/interface.php:1279
1329
- msgid "Custom fields to index:"
1330
- msgstr "Indeksowanie własnych pól:"
1331
-
1332
- #: lib/interface.php:1281
1333
- msgid ""
1334
- "A comma-separated list of custom fields to include in the index. Set to "
1335
- "'visible' to index all visible custom fields and to 'all' to index all "
1336
- "custom fields, also those starting with a '_' character."
1337
- msgstr ""
1338
- "Oddzielona przecinkami lista własnych pól, które mają być uwzględnione w "
1339
- "indeksie. Ustaw na 'visible', aby indeksować wszystkie widoczne własne pola, "
1340
- "'all' aby indeksować wszystkie własne pola, także te niewidoczne, "
1341
- "zaczynające się od znaku '_'."
1342
-
1343
- #: lib/interface.php:1285
1344
- msgid "Custom taxonomies to index:"
1345
- msgstr "Indeksowanie własnych taksonomii:"
1346
-
1347
- #: lib/interface.php:1287
1348
- msgid ""
1349
- "A comma-separated list of custom taxonomy names to include in the index."
1350
- msgstr ""
1351
- "Oddzielona przecinkami lista własnych taksonomii, które mają być "
1352
- "uwzględnione w indeksie."
1353
-
1354
- #: lib/interface.php:1297
1355
- msgid "Save indexing options and build the index"
1356
- msgstr "Zapisz ustawienia indeksowania i przebuduj indeks"
1357
-
1358
- #: lib/interface.php:1303
1359
- msgid ""
1360
- "Warning: In many cases caching is not useful, and in some cases can be even "
1361
- "harmful. Do not\n"
1362
- "\tactivate cache unless you have a good reason to do so."
1363
- msgstr ""
1364
- "Ostrzeżenie: W wielu wypadkach cachowanie nie jest przydatne, a w niektórych "
1365
- "przypadkach może być nawet szkodliwe. Nie uaktywniaj cachowania o ile nie "
1366
- "masz dobrego powodu aby to zrobić."
1367
-
1368
- #: lib/interface.php:1306
1369
- msgid "Enable result and excerpt caching:"
1370
- msgstr "Cachowanie wyników wyszukiwania i wypisów:"
1371
-
1372
- #: lib/interface.php:1308
1373
- msgid "If checked, Relevanssi will cache search results and post excerpts."
1374
- msgstr ""
1375
- "Jeśli zostanie zaznaczone, Relevanssi będzie cachować wyniki wyszukiwania i "
1376
- "wypisy."
1377
-
1378
- #: lib/interface.php:1312
1379
- msgid "Cache expire (in seconds):"
1380
- msgstr "Czas trwania cache (w sekundach):"
1381
-
1382
- #: lib/interface.php:1314
1383
- msgid "86400 = day"
1384
- msgstr "86400 = 1 dzień"
1385
-
1386
- #: lib/interface.php:1318
1387
- msgid "Entries in the cache"
1388
- msgstr "Liczba dokumentów w cache:"
1389
-
1390
- #: lib/interface.php:1322
1391
- msgid "Clear all caches"
1392
- msgstr "Wyczyść cache"
1393
-
1394
- #: lib/interface.php:1328
1395
- msgid ""
1396
- "Add synonyms here in 'key = value' format. When searching with the OR "
1397
- "operator, any search of 'key' will be expanded to include 'value' as well. "
1398
- "Using phrases is possible. The key-value pairs work in one direction only, "
1399
- "but you can of course repeat the same pair reversed."
1400
- msgstr ""
1401
- "Możesz tu dodać synonimy słów używając formatu 'klucz = wartość'. Jeśli "
1402
- "stosujesz wyszukiwanie z wykorzystaniem operatora OR, każdy znaleziony "
1403
- "'klucz' spowoduje równoczesne ujęcie w wynikach każdej z odpowiadających mu "
1404
- "'wartości'. Dozwolone jest stosowanie zarówno słów jak i całych zdań. Pary "
1405
- "klucz-wartość działają tylko w jednym kierunku, ale oczywiście możesz "
1406
- "powtórzyć daną parę zamieniając klucze z wartościami."
1407
-
1408
- #: lib/interface.php:1351
1409
- msgid ""
1410
- "<p>Enter a word here to add it to the list of stopwords. The word will "
1411
- "automatically be removed from the index, so re-indexing is not necessary. "
1412
- "You can enter many words at the same time, separate words with commas.</p>"
1413
- msgstr ""
1414
- "<p>Wpisz zwrot, który chcesz dodać do listy słów pomijanych. Taki zwrot "
1415
- "zostanie automatycznie usunięty z indeksu, więc konieczne będzie jego "
1416
- "przebudowanie. Możesz dodać dowolną liczbę słów, oddzielając je przecinkami."
1417
- "</p>"
1418
-
1419
- #: lib/interface.php:1353
1420
- msgid "Stopword(s) to add: "
1421
- msgstr "Słowa do dodania:"
1422
-
1423
- #: lib/interface.php:1354
1424
- msgid "Add"
1425
- msgstr "Dodaj "
1426
-
1427
- #: lib/interface.php:1357
1428
- msgid ""
1429
- "<p>Here's a list of stopwords in the database. Click a word to remove it "
1430
- "from stopwords. Removing stopwords won't automatically return them to index, "
1431
- "so you need to re-index all posts after removing stopwords to get those "
1432
- "words back to index."
1433
- msgstr ""
1434
- "<p>Jest to lista wszystkich pomijanych słów w bazie danych. Kliknij dane "
1435
- "słowo aby je usunąć. Usuwanie słów nie powoduje automatycznego przywrócenia "
1436
- "ich do indeksu, więc konieczne jest jego przebudowanie."
1437
-
1438
- #: lib/interface.php:1383
1439
- msgid "Remove all stopwords"
1440
- msgstr "Usuń wszystkie pomijane słowa"
1441
-
1442
- #: lib/interface.php:1389
1443
- msgid ""
1444
- "Here's a list of stopwords you can use to export the stopwords to another "
1445
- "blog."
1446
- msgstr ""
1447
- "Jest to lista wszystkich pomijanych słów, które można wyeksportować i użyć "
1448
- "na innej stronie."
1449
-
1450
- #: lib/uninstall.php:39
1451
- msgid "Data wiped clean, you can now delete the plugin."
1452
- msgstr "Wszystkie dane zostały usunięte, możesz teraz usunąć wtycznkę."
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
relevanssi-pt_BR.mo DELETED
Binary file
relevanssi-pt_BR.po DELETED
@@ -1,578 +0,0 @@
1
- msgid ""
2
- msgstr ""
3
- "Project-Id-Version: Relevanssi\n"
4
- "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: \n"
6
- "PO-Revision-Date: \n"
7
- "Last-Translator: Pedro Padron <ppadron@w3p.com.br>\n"
8
- "Language-Team: W3P Projetos Web <contato@w3p.com.br>\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-Language: Portuguese\n"
13
- "X-Poedit-Country: BRAZIL\n"
14
- "X-Poedit-Basepath: /\n"
15
- "X-Poedit-SearchPath-0: /home/ppadron/Projects/wordpress-vanilla/wp-content/plugins/relevanssi\n"
16
-
17
- #: relevanssi.php:1032
18
- msgid "There is no excerpt because this is a protected post."
19
- msgstr "Não há resumo porque esse é um post protegido."
20
-
21
- #: relevanssi.php:1746
22
- msgid "Relevanssi Search Options"
23
- msgstr "Opções de Busca do Relevanssi"
24
-
25
- #: relevanssi.php:1915
26
- msgid "25 most common words in the index"
27
- msgstr "25 palavras mais comuns no &iacute;ndice"
28
-
29
- #: relevanssi.php:1917
30
- msgid "These words are excellent stopword material. A word that appears in most of the posts in the database is quite pointless when searching. This is also an easy way to create a completely new stopword list, if one isn't available in your language. Click the icon after the word to add the word to the stopword list. The word will also be removed from the index, so rebuilding the index is not necessary."
31
- msgstr "Estas palavras são excelentes para formar uma lista de stopwords. Uma palavra que aparece na maioria dos posts é um tanto quanto inútil em uma busca. Esta também é uma maneira fácil de criar uma nova lista de stopwords, caso uma não esteja disponível em seu idioma. Clique no ícone após a palavra para adicioná-la à lista de stopwords. A palavra também será removida do índice, então não é necessário reconstruí-lo."
32
-
33
- #: relevanssi.php:1940
34
- msgid "Add to stopwords"
35
- msgstr "Adicionar à lista de stopwords"
36
-
37
- #: relevanssi.php:1953
38
- msgid "25 most popular queries"
39
- msgstr "25 buscas mais populares"
40
-
41
- #: relevanssi.php:1965
42
- msgid "Recent queries that got 0 hits"
43
- msgstr "Buscas recentes que não retornaram resultados"
44
-
45
- #: relevanssi.php:2126
46
- msgid "Title boost:"
47
- msgstr "Prioridade do Título:"
48
-
49
- #: relevanssi.php:2135
50
- msgid "Use search for admin:"
51
- msgstr "Usar a busca para o admin:"
52
-
53
- #: relevanssi.php:2138
54
- msgid "Restrict search to these categories and tags:"
55
- msgstr "Restringir a busca para essas categorias e tags:"
56
-
57
- #: relevanssi.php:2182
58
- msgid "Create custom search result snippets:"
59
- msgstr "Criar resumos de resultado de busca personalizados:"
60
-
61
- #: relevanssi.php:2186
62
- msgid "Length of the snippet:"
63
- msgstr "Tamanho do resumo:"
64
-
65
- #: relevanssi.php:2190
66
- msgid "Keep a log of user queries:"
67
- msgstr "Manter um histórico de buscas dos usuários:"
68
-
69
- #: relevanssi.php:2191
70
- msgid "If checked, Relevanssi will log user queries."
71
- msgstr "Se ativada, Relevanssi irá armazenar as buscas feitas pelos usuários."
72
-
73
- #: relevanssi.php:2195
74
- msgid "Highlight query terms in search results:"
75
- msgstr "Usar efeito marca-texto nos termos da busca nos resultados:"
76
-
77
- #: relevanssi.php:2196
78
- msgid "Highlighting isn't available unless you use custom snippets"
79
- msgstr "Esta opção só está disponível se você utilizar resumos de resultados de busca personalizados"
80
-
81
- #: relevanssi.php:2214
82
- msgid "Continue indexing"
83
- msgstr "Continuar Indexação"
84
-
85
- #: relevanssi.php:2215
86
- msgid "No highlighting"
87
- msgstr "Sem efeito marca-texto"
88
-
89
- #: relevanssi.php:2216
90
- msgid "Text color"
91
- msgstr "Cor do texto"
92
-
93
- #: relevanssi.php:2217
94
- msgid "Background color"
95
- msgstr "Cor de fundo"
96
-
97
- #: relevanssi.php:2218
98
- msgid "CSS Style"
99
- msgstr "CSS Style"
100
-
101
- #: relevanssi.php:2219
102
- msgid "CSS Class"
103
- msgstr "Classe CSS"
104
-
105
- #: relevanssi.php:2221
106
- msgid "Text color for highlights:"
107
- msgstr "Cor de texto para efeito marca-texto:"
108
-
109
- #: relevanssi.php:2222
110
- msgid "Background color for highlights:"
111
- msgstr "Cor de fundo para efeito marca-texto:"
112
-
113
- #: relevanssi.php:2223
114
- msgid "CSS style for highlights:"
115
- msgstr "Estilo CSS para efeito marca-texto:"
116
-
117
- #: relevanssi.php:2224
118
- msgid "CSS class for highlights:"
119
- msgstr "Classe CSS para efeito marca-texto:"
120
-
121
- #: relevanssi.php:2226
122
- #: relevanssi.php:2227
123
- msgid "Use HTML color codes (#rgb or #rrggbb)"
124
- msgstr "Use cores em hexadecimal (#rgb ou #rrggbb)"
125
-
126
- # @ default
127
- #: relevanssi.php:94
128
- #, php-format
129
- msgid "Relevanssi needs attention: Remember to build the index (you can do it at <a href=\"%1$s\">the settings page</a>), otherwise searching won't work."
130
- msgstr "Relevanssi precisa de atenção: Lembre-se de construir o índice (você pode fazê-lo na <a href=\"%1$s\">página de opções</a>), caso contrário a busca não irá funcionar."
131
-
132
- #: relevanssi.php:1430
133
- msgid "Indexing complete!"
134
- msgstr "Indexação concluída!"
135
-
136
- #: relevanssi.php:1903
137
- #, php-format
138
- msgid "<div id='message' class='update fade'><p>Term '%s' added to stopwords!</p></div>"
139
- msgstr "<div id='message' class='update fade'><p>Termo '%s' adicionado à lista de stopwords!</p></div>"
140
-
141
- #: relevanssi.php:1906
142
- #, php-format
143
- msgid "<div id='message' class='update fade'><p>Couldn't add term '%s' to stopwords!</p></div>"
144
- msgstr "<div id='message' class='update fade'><p>Não foi possível adicionar '%s' à lista de stopwords!</p></div>"
145
-
146
- #: relevanssi.php:2129
147
- msgid "Tag boost:"
148
- msgstr "Prioridade da Tag:"
149
-
150
- #: relevanssi.php:2132
151
- msgid "Comment boost:"
152
- msgstr "Prioridade dos Comentários:"
153
-
154
- #: relevanssi.php:2143
155
- msgid "Exclude these categories and tags from search:"
156
- msgstr "Excluir da busca essas categorias e tags:"
157
-
158
- # @ relevanssi
159
- #: relevanssi.php:2147
160
- msgid "Exclusions and restrictions"
161
- msgstr "Restrições"
162
-
163
- #: relevanssi.php:2150
164
- msgid "Exclude these posts/pages from search:"
165
- msgstr "Excluir esses posts/páginas da busca:"
166
-
167
- #: relevanssi.php:2154
168
- msgid "Index and search your posts' tags:"
169
- msgstr "Indexar e buscar as tags dos posts:"
170
-
171
- #: relevanssi.php:2157
172
- msgid "Index and search these comments:"
173
- msgstr "Indexar e buscar nestes Comentários:"
174
-
175
- #: relevanssi.php:2162
176
- msgid "all"
177
- msgstr "todos"
178
-
179
- #: relevanssi.php:2163
180
- msgid "normal"
181
- msgstr "normal"
182
-
183
- #: relevanssi.php:2164
184
- msgid "none"
185
- msgstr "nenhum"
186
-
187
- #: relevanssi.php:2181
188
- msgid "Custom excerpts/snippets"
189
- msgstr "Resumos de resultado de busca personalizados"
190
-
191
- #: relevanssi.php:2187
192
- msgid "This must be an integer."
193
- msgstr "O valor deve ser um número inteiro."
194
-
195
- #: relevanssi.php:2188
196
- msgid "words"
197
- msgstr "palavras"
198
-
199
- #: relevanssi.php:2189
200
- msgid "characters"
201
- msgstr "caracteres"
202
-
203
- #: relevanssi.php:2192
204
- msgid "Search hit highlighting"
205
- msgstr "Efeito marca-texto"
206
-
207
- # @ relevanssi
208
- #: relevanssi.php:2193
209
- msgid "First, choose the type of highlighting used:"
210
- msgstr "Primeiramente, escolha o tipo de efeito marca-texto a ser utilizado:"
211
-
212
- # @ relevanssi
213
- #: relevanssi.php:2194
214
- msgid "Then adjust the settings for your chosen type:"
215
- msgstr "Ajuste as opções para o tipo escolhido:"
216
-
217
- #: relevanssi.php:2198
218
- msgid "Highlight query terms in result titles too:"
219
- msgstr "Usar efeito marca-texto também nos títulos dos resultados:"
220
-
221
- # @ relevanssi
222
- #: relevanssi.php:2201
223
- msgid "Save the options"
224
- msgstr "Gravar as opções"
225
-
226
- #: relevanssi.php:2202
227
- msgid "Building the index and indexing options"
228
- msgstr "Construindo o índice e opções de indexação"
229
-
230
- #: relevanssi.php:2213
231
- msgid "Save indexing options and build the index"
232
- msgstr "Gravar opções de indexação e construir o índice"
233
-
234
- #: relevanssi.php:2233
235
- msgid "What to include in the index"
236
- msgstr "O que incluir no índice"
237
-
238
- #: relevanssi.php:2234
239
- msgid "Everything"
240
- msgstr "Tudo"
241
-
242
- #: relevanssi.php:2235
243
- msgid "Just posts"
244
- msgstr "Apenas posts"
245
-
246
- #: relevanssi.php:2236
247
- msgid "Just pages"
248
- msgstr "Apenas páginas"
249
-
250
- #: relevanssi.php:2251
251
- msgid "Custom fields to index:"
252
- msgstr "Campos personalizados a serem indexados:"
253
-
254
- #: relevanssi.php:2259
255
- msgid "Show breakdown of search hits in excerpts:"
256
- msgstr "Exibir mais informações de hits no resumo:"
257
-
258
- #: relevanssi.php:2262
259
- msgid "The breakdown format:"
260
- msgstr "Formato das informações:"
261
-
262
- #: relevanssi.php:2267
263
- msgid "When to use fuzzy matching?"
264
- msgstr "Quando utilizar busca fuzzy"
265
-
266
- #: relevanssi.php:2268
267
- msgid "When straight search gets no hits"
268
- msgstr "Quando a busca direta não encontra resultados"
269
-
270
- #: relevanssi.php:2269
271
- msgid "Always"
272
- msgstr "Sempre"
273
-
274
- #: relevanssi.php:2270
275
- msgid "Don't use fuzzy search"
276
- msgstr "Não utilizar busca fuzzy"
277
-
278
- # @ relevanssi
279
- #: relevanssi.php:311
280
- msgid "Data wiped clean, you can now delete the plugin."
281
- msgstr "Dados removidos! Você pode remover o plugin agora."
282
-
283
- # @ relevanssi
284
- #: relevanssi.php:2280
285
- msgid "Uninstall"
286
- msgstr "Desinstalar"
287
-
288
- # @ relevanssi
289
- #: relevanssi.php:2284
290
- msgid "Remove plugin data"
291
- msgstr "Remover todos os dados do plugin"
292
-
293
- # @ relevanssi
294
- #: relevanssi.php:2274
295
- msgid "Expand shortcodes in post content:"
296
- msgstr "Converter os shortcodes "
297
-
298
- #: relevanssi.php:2167
299
- msgid "Index and search your posts' categories:"
300
- msgstr "Indexar e buscar as categorias dos posts:"
301
-
302
- #: relevanssi.php:2243
303
- msgid "Custom post types to index"
304
- msgstr "Tipos de Posts (custom post types) a serem indexados"
305
-
306
- #: relevanssi.php:2255
307
- msgid "Custom taxonomies to index:"
308
- msgstr "Taxonomias personalizadas a serem indexadas:"
309
-
310
- #: relevanssi.php:2127
311
- #, php-format
312
- msgid ""
313
- "Default: %d. 0 means titles are ignored, 1 means no boost, more\n"
314
- "\t\tthan 1 gives extra value."
315
- msgstr "Padrão: %d. 0 significa que os títulos são ignorados, 1 significa nenhuma prioridade, mais de 1 aumenta a prioridade."
316
-
317
- #: relevanssi.php:2130
318
- #, php-format
319
- msgid ""
320
- "Default: %d. 0 means tags are ignored, 1 means no boost, more\n"
321
- "\t\tthan 1 gives extra value."
322
- msgstr "Padrão: %d. 0 significa que as tags são ignoradas, 1 significa nenhuma prioridade, mais de 1 aumenta a prioridade."
323
-
324
- #: relevanssi.php:2133
325
- #, php-format
326
- msgid ""
327
- "Default: %d. 0 means comments are ignored, 1 means no boost,\n"
328
- "\t\tmore than 1 gives extra value."
329
- msgstr "Padrão: %d. 0 significa que os comentários são ignorados, 1 significa nenhuma prioridade, mais de 1 aumenta a prioridade."
330
-
331
- #: relevanssi.php:2136
332
- msgid ""
333
- "If checked, Relevanssi will be used for searches in the admin\n"
334
- "\t\tinterface"
335
- msgstr "Se a opção estiver marcada, Relevanssi será usado nas buscas no painel do admin"
336
-
337
- #: relevanssi.php:2139
338
- msgid ""
339
- "Enter a comma-separated list of category and tag IDs to restrict search to\n"
340
- "\t\tthose categories or tags. You can also use <code>&lt;input type='hidden' name='cat'\n"
341
- "\t\tvalue='list of cats and tags' /&gt;</code> in your search form. The input field will\n"
342
- "\t\toverrun this setting."
343
- msgstr "Insira uma lista separada por vírgulas de categorias e IDs de tags para restringir a busca apenas nelas. Você também pode usar <code>&lt;input type='hidden' name='cat' value='lista de categorias e tags' /&gt;</code> em seu formulário. O campo no formulário tem prioridade sobre esta opção no painel."
344
-
345
- #: relevanssi.php:2144
346
- msgid ""
347
- "Enter a comma-separated list of category and tag IDs that are excluded from\n"
348
- "\t\tsearch results. This only works here, you can't use the input field option (WordPress\n"
349
- "\t\tdoesn't pass custom parameters there)."
350
- msgstr "Insira uma lista separada por vírgulas de categorias e IDs de tags que serão excluídos dos resultados da busca. Essa opção só pode ser definida aqui, você não pode usar um campo adicional no formulário (WordPress não passa parâmetros personalizados lá)."
351
-
352
- #: relevanssi.php:2151
353
- msgid ""
354
- "Enter a comma-separated list of post/page IDs that are excluded from search\n"
355
- "\t\tresults. This only works here, you can't use the input field option (WordPress doesn't pass\n"
356
- "\t\tcustom parameters there)."
357
- msgstr "Insira uma lista separada por vírgulas de IDs de posts/páginas que serão excluídos dos resultados da busca. Essa opção só pode ser definida aqui, você não pode usar um campo adicional no formulário (WordPress não passa parâmetros personalizados lá)."
358
-
359
- #: relevanssi.php:2155
360
- msgid ""
361
- "If checked, Relevanssi will also index and search the tags of your posts.\n"
362
- "\t\tRemember to rebuild the index if you change this option!"
363
- msgstr "Se esta opção estiver marcada, Relevanssi irá indexar e realizar buscas nas tags de seus posts. Lembre-se de reconstruir o índice se você mudar esta opção!"
364
-
365
- #: relevanssi.php:2158
366
- msgid ""
367
- "Relevanssi will index and search ALL (all comments including track-\n"
368
- "\t\t&amp; pingbacks and custom comment types), NONE (no comments) or NORMAL (manually posted\n"
369
- "\t\tcomments on your blog).<br />Remember to rebuild the index if you change this option!"
370
- msgstr "Relevanssi irá indexar e buscar em TODOS (comentários, trackbacks, pingbacks e tipos personalizados de comentários), NENHUM (nenhum comentário) ou NORMAL (comentários postados manualmente no blog).<br/> Lembre-se de reconstruir o índice se você mudar esta opção!"
371
-
372
- #: relevanssi.php:2168
373
- msgid ""
374
- "If checked, Relevanssi will also index and search the categories of your\n"
375
- "\t\tposts. Category titles will pass through 'single_cat_title' filter. Remember to rebuild the\n"
376
- "\t\tindex if you change this option!"
377
- msgstr "Se esta opção estiver marcada, Relevanssi irá indexar e realizar buscas nas categorias de seus posts. Lembre-se de reconstruir o índice se você mudar esta opção!"
378
-
379
- #: relevanssi.php:2183
380
- msgid ""
381
- "If checked, Relevanssi will create excerpts that contain the search term\n"
382
- "\t\thits. To make them work, make sure your search result template uses the_excerpt() to\n"
383
- "\t\tdisplay post excerpts."
384
- msgstr "Se esta opção estiver marcada, Relevanssi irá criar resumos que contém o(s) termo(s) buscado(s). Para que isso funcione, certifique-se de que seu template de resultado de busca utiliza <code>the_excerpt()</code> para exibir resumos de posts."
385
-
386
- #: relevanssi.php:2203
387
- msgid ""
388
- "After installing the plugin, you need to build the index. This generally needs\n"
389
- "\t\tto be done once, you don't have to re-index unless something goes wrong. Indexing is a heavy\n"
390
- "\t\ttask and might take more time than your servers allow. If the indexing cannot be finished -\n"
391
- "\t\tfor example you get a blank screen or something like that after indexing - you can continue\n"
392
- "\t\tindexing from where you left by clicking 'Continue indexing'. Clicking 'Build the index'\n"
393
- "\t\twill delete the old index, so you can't use that."
394
- msgstr "Após a instalação do plugin, é preciso construir o índice. Isso normalmente precisa ser feito apenas uma vez. Não é necessário reconstruir o índice a não ser que algo de errado aconteça. A indexação é uma tarefa pesada e pode levar mais tempo do que seus servidores permitam. Se a indexação não puder ser concluída - por exemplo, você encontrar uma tela branca ou algo parecido após a indexação - você pode continuar o processo a partir de onde parou ao clicar em \"Continuar Indexação\". Ao clicar em \"Construir o Índice\" o índice atual será removido, portanto não clique nele para continuar uma indexação interrompida."
395
-
396
- #: relevanssi.php:2209
397
- msgid ""
398
- "So, if you build the index and don't get the 'Indexing complete' in the end,\n"
399
- "\t\tkeep on clicking the 'Continue indexing' button until you do. On my blogs, I was able to\n"
400
- "\t\tindex ~400 pages on one go, but had to continue indexing twice to index ~950 pages."
401
- msgstr "Portanto, se você construir o índice e não receber a mensagem \"Indexação Concluída\" no final, continue clicando em \"Continuar Indexação\" até que isso aconteça. Em meus blogs consegui indexar cerca de 400 páginas de uma só vez, mas precisei continuar o processo mais duas vezes para chegar a cerca de 950 páginas."
402
-
403
- #: relevanssi.php:2228
404
- msgid ""
405
- "You can use any CSS styling here, style will be inserted with a\n"
406
- "\t\t&lt;span&gt;"
407
- msgstr "Você pode usar qualquer estilo CSS aqui, ele será inserido com a tag <code>&lt;span&gt;</code>"
408
-
409
- #: relevanssi.php:2230
410
- msgid ""
411
- "Name a class here, search results will be wrapped in a &lt;span&gt;\n"
412
- "\t\twith the class"
413
- msgstr "Insira aqui o nome da classe e os resultados da busca serão encapsulados por uma tag <code>&lt;span&gt;</code> com esta classe"
414
-
415
- # @ relevanssi
416
- #: relevanssi.php:2237
417
- msgid "All public post types"
418
- msgstr "Todos os tipos de post públicos"
419
-
420
- # @ relevanssi
421
- #: relevanssi.php:2238
422
- msgid ""
423
- "This determines which post types are included in the index. Choosing\n"
424
- "\t\t'everything' will include posts, pages and all custom post types. 'All public post types'\n"
425
- "\t\tincludes all registered post types that don't have the 'exclude_from_search' set to true.\n"
426
- "\t\tThis includes post, page, attachment, and possible custom types. 'All public types'\n"
427
- "\t\trequires at least WP 2.9, otherwise it's the same as 'everything'."
428
- msgstr "Isso determina quais tipos de posts serão indexados. Ao escolher \"Tudo\" serão incluídos todos os posts, páginas e posts personalizados. \"Todos os tipos de post públicos\" inclui todos os tipos de posts públicos que não possuam o atributo \"exclude_from_search\" definido como verdadeiro, o que inclui posts, páginas, anexos e possivelmente posts personalizados. A opção \"Todos os tipos de post públicos\" requer Wordpress 2.9 ou superior, caso contrário será o mesmo que \"Tudo\"."
429
-
430
- # @ relevanssi
431
- #: relevanssi.php:2244
432
- msgid ""
433
- "If you don't want to index all custom post types, list here the custom\n"
434
- "\t\tpost types you want to see indexed. List comma-separated post type names (as used in the\n"
435
- "\t\tdatabase). You can also use a hidden field in the search form to restrict the search to a\n"
436
- "\t\tcertain post type: <code>&lt;input type='hidden' name='post_type' value='comma-separated\n"
437
- "\t\tlist of post types' /&gt;</code>. If you choose 'All public post types' or 'Everything'\n"
438
- "\t\tabove, this option has no effect."
439
- msgstr "Se você não quiser indexar todos os tipos de post personalizados, liste aqui quais são os tipos que você quer indexar. Insira os nomes dos tipos de posts em uma lista separada por vírgula. Você pode também usar um campo hidden no formário de busca para restringir a busca em um determinado tipo de post: <code>&lt;input type='hidden' name='post_type' value='lista de tipos de posts' /&gt;</code>. Se na opção anterior você escolheu \"Todos os tipos de posts públicos\" ou \"Tudo\", essa opção não terá efeito."
440
-
441
- #: relevanssi.php:2252
442
- msgid ""
443
- "A comma-separated list of custom field names to include in the\n"
444
- "\t\tindex."
445
- msgstr "Uma lista separada por vírgula de nomes de campos personalizados a serem incluídos no índice."
446
-
447
- #: relevanssi.php:2256
448
- msgid ""
449
- "A comma-separated list of custom taxonomies to include in the\n"
450
- "\t\tindex."
451
- msgstr "Uma lista separada por vírgula de nomes de taxonomias personalizadas a serem incluídos no índice."
452
-
453
- #: relevanssi.php:2260
454
- msgid ""
455
- "Check this to show more information on where the search hits were\n"
456
- "\t\tmade. Requires custom snippets to work."
457
- msgstr "Marque esta opção para exibir mais informações sobre onde os termos buscados foram encontrados. Para essa opção funcionar, é preciso habilitar os resumos personalizados."
458
-
459
- #: relevanssi.php:2271
460
- msgid ""
461
- "Straight search matches just the term. Fuzzy search matches everything\n"
462
- "\t\tthat begins or ends with the search term."
463
- msgstr "Busca direta encontra apenas o termo buscado. Busca fuzzy irá encontrar tudo que começa ou termina com o termo buscado."
464
-
465
- # @ relevanssi
466
- #: relevanssi.php:2275
467
- msgid ""
468
- "If checked, Relevanssi will expand shortcodes in post content\n"
469
- "\t\tbefore indexing. Otherwise shortcodes will be stripped. If you use shortcodes to\n"
470
- "\t\tinclude dynamic content, Relevanssi will not keep the index updated, the index will\n"
471
- "\t\treflect the status of the shortcode content at the moment of indexing."
472
- msgstr "Se esta opção estiver marcada, Relevanssi irá converter os shortcodes no conteúdo do post antes de indexar. Caso contrário, os shortcodes serão removidos. Se você utiliza shortcodes para incluir conteúdo dinâmico, Relevanssi não manterá o índice atualizado. Ou seja, será utilizado o conteúdo gerado pelo shortcode no momento da indexação."
473
-
474
- # @ relevanssi
475
- #: relevanssi.php:2281
476
- msgid ""
477
- "If you want to uninstall the plugin, start by clicking the button\n"
478
- "\t\tbelow to wipe clean the options and tables created by the plugin, then remove it from\n"
479
- "\t\tthe plugins list."
480
- msgstr "Se quiser desinstalar o plugin, comece clicando no botão abaixo para remover todas as opções e todas as tabelas criadas pelo plugin, e então remova-o da lista de plugins."
481
-
482
- #: relevanssi.php:2172
483
- msgid "Index and search your posts' authors:"
484
- msgstr "Indexar e buscar os autores dos posts:"
485
-
486
- #: relevanssi.php:2173
487
- msgid ""
488
- "If checked, Relevanssi will also index and search the authors of your\n"
489
- "\t\tposts. Author display name will be indexed. Remember to rebuild the index if you change\n"
490
- "\t\tthis option!"
491
- msgstr "Se esta opção estiver marcada, Relevanssi irá indexar e realizar buscas nos autores de seus posts. Lembre-se de reconstruir o índice se você mudar esta opção!"
492
-
493
- # @ relevanssi
494
- #: relevanssi.php:2286
495
- msgid "State of the Index"
496
- msgstr "Estatísticas do Índice"
497
-
498
- # @ relevanssi
499
- #: relevanssi.php:2287
500
- msgid "Highest post ID indexed"
501
- msgstr "Último ID indexado"
502
-
503
- #: relevanssi.php:2288
504
- msgid "Documents in the index"
505
- msgstr "Registros no índice"
506
-
507
- # @ relevanssi
508
- #: relevanssi.php:2289
509
- msgid "Basic options"
510
- msgstr "Opções Básicas"
511
-
512
- # @ relevanssi
513
- #: relevanssi.php:2291
514
- msgid "Default operator for the search?"
515
- msgstr "Operador padrão para a busca?"
516
-
517
- # @ relevanssi
518
- #: relevanssi.php:2292
519
- msgid "AND - require all terms"
520
- msgstr "E - necessita de todos os termos"
521
-
522
- # @ relevanssi
523
- #: relevanssi.php:2293
524
- msgid "OR - any term present is enough"
525
- msgstr "OU - qualquer termo presente é o bastante"
526
-
527
- # @ relevanssi
528
- #: relevanssi.php:2294
529
- msgid "If you choose AND and the search finds no matches, it will automatically do an OR search."
530
- msgstr "Se escolher E e a busca não encontrar resultados, uma nova busca do tipo OU será feita automaticamente."
531
-
532
- # @ relevanssi
533
- #: relevanssi.php:2296
534
- msgid "Don't log queries from these users:"
535
- msgstr "Não armazenar registros de buscas destes usuários:"
536
-
537
- #: relevanssi.php:2297
538
- msgid "Comma-separated list of user ids that will not be logged."
539
- msgstr "Uma lista separada por vírgula de usuários que não terão suas buscas registradas."
540
-
541
- # @ relevanssi
542
- #: relevanssi.php:2299
543
- msgid "Synonyms"
544
- msgstr "Sinônimos"
545
-
546
- # @ relevanssi
547
- #: relevanssi.php:2300
548
- msgid "Add synonyms here in 'key = value' format. When searching with the OR operator, any search of 'key' will be expanded to include 'value' as well. Using phrases is possible. The key-value pairs work in one direction only, but you can of course repeat the same pair reversed."
549
- msgstr "Adicione sinônimos no formato \"chave = valor\". Quando for feita uma busca do tipo OU, qualquer busca por <strong>\"chave\"</strong> será expandida para incluir <strong>\"valor\"</strong> também. É possível utilizar frases. Os pares chave-valor funcionam apenas em uma direção, mas claro que você pode repetir o mesmo par em ordem inversa."
550
-
551
- #: relevanssi.php:2177
552
- msgid "Index and search post excerpts:"
553
- msgstr "Indexar e buscar os resumos dos posts:"
554
-
555
- #: relevanssi.php:2178
556
- msgid ""
557
- "If checked, Relevanssi will also index and search the excerpts of your\n"
558
- "\t\tposts.Remember to rebuild the index if you change this option!"
559
- msgstr "Se esta opção estiver marcada, Relevanssi irá indexar e realizar buscas nos resumos de seus posts. Lembre-se de reconstruir o índice se você mudar esta opção!"
560
-
561
- # @ relevanssi
562
- #: relevanssi.php:2263
563
- #, php-format
564
- msgid ""
565
- "Use %body%, %title%, %tags% and %comments% to display the number of\n"
566
- "\t\thits (in different parts of the post), %total% for total hits, %score% to display the document weight and %terms% to\n"
567
- "\t\tshow how many hits each search term got. No double quotes (\") allowed!"
568
- msgstr "Utilize %body%, %title%, %tags% e %comments% para exibir o número de hits, %total% para o total de hits, %score% para exibir a relevância e %terms% para exibir quantas vezes cada termo buscado foi encontrado. Aspas duplas (\") não são permitidas aqui!"
569
-
570
- #~ msgid "Save"
571
- #~ msgstr "Gravar"
572
- #~ msgid ""
573
- #~ "Use %body%, %title%, %tags%, %comments% and %score% to display the number "
574
- #~ "of hits and the document weight."
575
- #~ msgstr ""
576
- #~ "Use %body%, %title%, %tags%, %comments% e %score% para exibir o número de "
577
- #~ "hits e o peso do resultado."
578
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
relevanssi-ro_RO.mo DELETED
Binary file
relevanssi-ro_RO.po DELETED
@@ -1,1123 +0,0 @@
1
- msgid ""
2
- msgstr ""
3
- "Project-Id-Version: Relevanssi Premium\n"
4
- "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2011-08-28 16:16+0200\n"
6
- "PO-Revision-Date: \n"
7
- "Last-Translator: Richard Vencu <richard.vencu@richardconsulting.ro>\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: _e;__\n"
13
- "X-Poedit-Basepath: .\n"
14
- "X-Poedit-Language: English\n"
15
- "X-Poedit-SearchPath-0: .\n"
16
- "X-Poedit-SearchPath-1: ../relevanssi\n"
17
-
18
- #: relevanssi.php:114
19
- #: relevanssi.php:115
20
- #: ../relevanssi/relevanssi.php:94
21
- #: ../relevanssi/relevanssi.php:95
22
- msgid "User searches"
23
- msgstr "Căutări utilizatori"
24
-
25
- #: relevanssi.php:128
26
- #: ../relevanssi/relevanssi.php:107
27
- #, php-format
28
- msgid "Relevanssi needs attention: Remember to build the index (you can do it at <a href=\"%1$s\">the settings page</a>), otherwise searching won't work."
29
- msgstr "Relevanssi are nevoie de atenție: Amintiți-vă să construiți indexul (aceasta se poate face la <a href=\"%1$s\">pagina de configurație</a>), altfel căutările nu vor funcționa."
30
-
31
- #: relevanssi.php:2112
32
- #: ../relevanssi/relevanssi.php:1480
33
- msgid "There is no excerpt because this is a protected post."
34
- msgstr "Nu există rezumat pentru că acesta este un articol protejat."
35
-
36
- #: relevanssi.php:2871
37
- #: ../relevanssi/relevanssi.php:2000
38
- msgid "Indexing complete!"
39
- msgstr "Indexare reușită!"
40
-
41
- #: relevanssi.php:3323
42
- msgid "Relevanssi Premium Search Options"
43
- msgstr "Opțiuni de căutare Relevanssi Premium"
44
-
45
- #: relevanssi.php:3390
46
- msgid "Options updated!"
47
- msgstr "Opțiuni actualizate!"
48
-
49
- #: relevanssi.php:3398
50
- msgid "User Searches"
51
- msgstr "Căutări utilizatori"
52
-
53
- #: relevanssi.php:3400
54
- #: ../relevanssi/relevanssi.php:2458
55
- msgid "Relevanssi User Searches"
56
- msgstr "Căutări utilizatori Relevanssi"
57
-
58
- #: relevanssi.php:3673
59
- #: ../relevanssi/relevanssi.php:2673
60
- #, php-format
61
- msgid "<div id='message' class='updated fade'><p>Successfully added %d/%d terms to stopwords!</p></div>"
62
- msgstr "<div id='message' class='updated fade'><p>Termenii %d/%d au fost adăugați cu succes la lista de cuvinte ignorate!</p></div>"
63
-
64
- #: relevanssi.php:3680
65
- #: ../relevanssi/relevanssi.php:2680
66
- #, php-format
67
- msgid "<div id='message' class='updated fade'><p>Term '%s' added to stopwords!</p></div>"
68
- msgstr "<div id='message' class='updated fade'><p>Termenul '%s' a fost adăugat la lista de cuvinte ignorate!</p></div>"
69
-
70
- #: relevanssi.php:3683
71
- #: ../relevanssi/relevanssi.php:2683
72
- #, php-format
73
- msgid "<div id='message' class='updated fade'><p>Couldn't add term '%s' to stopwords!</p></div>"
74
- msgstr "<div id='message' class='updated fade'><p>Nu am putut adăuga termenul '%s' la lista de cuvinte ignorate!</p></div>"
75
-
76
- #: relevanssi.php:3712
77
- #: ../relevanssi/relevanssi.php:2712
78
- msgid "<div id='message' class='updated fade'><p>Stopwords removed! Remember to re-index.</p></div>"
79
- msgstr "<div id='message' class='updated fade'><p>Cuvintele ignorate au fost eliminate din listă! Amintiți-vă că trebuie să reindexați.</p></div>"
80
-
81
- #: relevanssi.php:3722
82
- #: ../relevanssi/relevanssi.php:2722
83
- #, php-format
84
- msgid "<div id='message' class='updated fade'><p>Term '%s' removed from stopwords! Re-index to get it back to index.</p></div>"
85
- msgstr "<div id='message' class='updated fade'><p>Termenul '%s' a fost eliminat din lista de cuvinte ignorate! Re-indexați pentru a îl reintroduce în index.</p></div>"
86
-
87
- #: relevanssi.php:3725
88
- #: ../relevanssi/relevanssi.php:2725
89
- #, php-format
90
- msgid "<div id='message' class='updated fade'><p>Couldn't remove term '%s' from stopwords!</p></div>"
91
- msgstr "<div id='message' class='updated fade'><p>NU am putut elimina termenul '%s' din lista de cuvinte ignorate!</p></div>"
92
-
93
- #: relevanssi.php:3734
94
- #: ../relevanssi/relevanssi.php:2734
95
- msgid "25 most common words in the index"
96
- msgstr "Cele mai frecvente 25 de cuvinte din index"
97
-
98
- #: relevanssi.php:3736
99
- #: ../relevanssi/relevanssi.php:2736
100
- msgid "These words are excellent stopword material. A word that appears in most of the posts in the database is quite pointless when searching. This is also an easy way to create a completely new stopword list, if one isn't available in your language. Click the icon after the word to add the word to the stopword list. The word will also be removed from the index, so rebuilding the index is not necessary."
101
- msgstr "Aceste cuvinte reprezintă candidați ideali pentru lista de cuvinte ignorate. Un cuvânt care apare în majoritatea articolelor din blog nu prea mai are sens să fie folosit ca termen de căutare. În plus aceasta este o modalitate ușoară de a construi o listă nouă de cuvinte ignorate dacă nu există deja una în limba dumneavoastră. Apăsați pe icoana de după cuvânt pentru a adăuga cuvântul la listă. Totodată cuvântul va fi eliminat și din index, așa că reindexarea nu mai este necesară."
102
-
103
- #: relevanssi.php:3759
104
- #: ../relevanssi/relevanssi.php:2759
105
- msgid "Add to stopwords"
106
- msgstr "Adăugare la lista de cuvinte ignorate"
107
-
108
- #: relevanssi.php:3770
109
- msgid "Total Searches"
110
- msgstr "Total căutări"
111
-
112
- #: relevanssi.php:3773
113
- msgid "Totals"
114
- msgstr "Totaluri"
115
-
116
- #: relevanssi.php:3778
117
- msgid "Common Queries"
118
- msgstr "Căutări frecvente"
119
-
120
- #: relevanssi.php:3780
121
- #: ../relevanssi/relevanssi.php:2770
122
- msgid ""
123
- "Here you can see the 20 most common user search queries, how many times those \n"
124
- "\t\tqueries were made and how many results were found for those queries."
125
- msgstr ""
126
- "Aici puteți vizualiza cele mai utilizate 20 de căutări ale utilizatorilor, de câte ori aceste \n"
127
- "\t\tcăutări au fost rulate și câte rezultate au fost descoperite prin rularea lor."
128
-
129
- #: relevanssi.php:3786
130
- #: relevanssi.php:3802
131
- #: ../relevanssi/relevanssi.php:2776
132
- #: ../relevanssi/relevanssi.php:2792
133
- msgid "Today and yesterday"
134
- msgstr "Astăzi și ieri"
135
-
136
- #: relevanssi.php:3790
137
- #: relevanssi.php:3806
138
- #: ../relevanssi/relevanssi.php:2780
139
- #: ../relevanssi/relevanssi.php:2796
140
- msgid "Last 7 days"
141
- msgstr "Ultimele 7 zile"
142
-
143
- #: relevanssi.php:3794
144
- #: relevanssi.php:3810
145
- #: ../relevanssi/relevanssi.php:2784
146
- #: ../relevanssi/relevanssi.php:2800
147
- msgid "Last 30 days"
148
- msgstr "Ultimele 30 de zile"
149
-
150
- #: relevanssi.php:3799
151
- #: ../relevanssi/relevanssi.php:2789
152
- msgid "Unsuccessful Queries"
153
- msgstr "Căutări eșuate"
154
-
155
- #: relevanssi.php:4125
156
- #: relevanssi.php:4152
157
- #: ../relevanssi/relevanssi.php:3048
158
- #: ../relevanssi/relevanssi.php:3075
159
- msgid "Basic options"
160
- msgstr "Opțiuni de bază"
161
-
162
- #: relevanssi.php:4126
163
- #: relevanssi.php:4214
164
- msgid "Weights"
165
- msgstr "Greutăți"
166
-
167
- #: relevanssi.php:4127
168
- #: relevanssi.php:4307
169
- #: ../relevanssi/relevanssi.php:3049
170
- #: ../relevanssi/relevanssi.php:3138
171
- msgid "Logs"
172
- msgstr "Jurnale"
173
-
174
- #: relevanssi.php:4128
175
- #: relevanssi.php:4324
176
- #: ../relevanssi/relevanssi.php:3050
177
- #: ../relevanssi/relevanssi.php:3152
178
- msgid "Exclusions and restrictions"
179
- msgstr "Excluderi și restricții"
180
-
181
- #: relevanssi.php:4129
182
- #: ../relevanssi/relevanssi.php:3051
183
- msgid "Custom excerpts"
184
- msgstr "Rezumate personalizate"
185
-
186
- #: relevanssi.php:4130
187
- #: ../relevanssi/relevanssi.php:3052
188
- msgid "Highlighting search results"
189
- msgstr "Evidențierea rezultatelor căutării"
190
-
191
- #: relevanssi.php:4131
192
- #: relevanssi.php:4460
193
- #: ../relevanssi/relevanssi.php:3053
194
- #: ../relevanssi/relevanssi.php:3282
195
- msgid "Indexing options"
196
- msgstr "Opțiuni de indexare"
197
-
198
- #: relevanssi.php:4132
199
- #: relevanssi.php:4607
200
- #: ../relevanssi/relevanssi.php:3054
201
- #: ../relevanssi/relevanssi.php:3381
202
- msgid "Caching"
203
- msgstr "Utilizare cache"
204
-
205
- #: relevanssi.php:4133
206
- #: relevanssi.php:4630
207
- #: ../relevanssi/relevanssi.php:3055
208
- #: ../relevanssi/relevanssi.php:3404
209
- msgid "Synonyms"
210
- msgstr "Sinonime"
211
-
212
- #: relevanssi.php:4134
213
- #: relevanssi.php:4638
214
- #: ../relevanssi/relevanssi.php:3056
215
- #: ../relevanssi/relevanssi.php:3412
216
- msgid "Stopwords"
217
- msgstr "Cuvinte ignorate"
218
-
219
- #: relevanssi.php:4135
220
- msgid "Import/export options"
221
- msgstr "Import/export opțiuni"
222
-
223
- #: relevanssi.php:4138
224
- #: ../relevanssi/relevanssi.php:3061
225
- msgid "Quick tools"
226
- msgstr "Unelte rapide"
227
-
228
- #: relevanssi.php:4140
229
- #: ../relevanssi/relevanssi.php:3063
230
- msgid "Save options"
231
- msgstr "Salvare opțiuni"
232
-
233
- #: relevanssi.php:4141
234
- #: ../relevanssi/relevanssi.php:3064
235
- msgid "Build the index"
236
- msgstr "Construire index"
237
-
238
- #: relevanssi.php:4142
239
- #: relevanssi.php:4605
240
- #: ../relevanssi/relevanssi.php:3065
241
- #: ../relevanssi/relevanssi.php:3379
242
- msgid "Continue indexing"
243
- msgstr "Continuare indexare"
244
-
245
- #: relevanssi.php:4142
246
- #: ../relevanssi/relevanssi.php:3065
247
- msgid "add"
248
- msgstr "adăugare"
249
-
250
- #: relevanssi.php:4142
251
- #: ../relevanssi/relevanssi.php:3065
252
- msgid "documents."
253
- msgstr "documente."
254
-
255
- #: relevanssi.php:4144
256
- #: ../relevanssi/relevanssi.php:3067
257
- msgid "Use 'Build the index' to build the index with current <a href='#indexing'>indexing options</a>. If you can't finish indexing with one go, use 'Continue indexing' to finish the job. You can change the number of documents to add until you find the largest amount you can add with one go. See 'State of the Index' below to find out how many documents actually go into the index."
258
- msgstr "Utilizați „Construire index” pentru a construi indexul folosind <a href='#indexing'>opțiunile curente</a>. Dacă nu puteți finaliza indexarea dintr-o singură rulare folosiți „Continuare indexare” pentru a finaliza indexul. Puteți midifica numărul de documente care sunt adăugate până aflați numărul maxim de documente pe care îl puteți indexa la o rulare. Verificați „Starea indexului” pentru a vedea câte documente au intrat în index la orice moment de timp."
259
-
260
- #: relevanssi.php:4146
261
- #: ../relevanssi/relevanssi.php:3069
262
- msgid "State of the Index"
263
- msgstr "Starea indexului"
264
-
265
- #: relevanssi.php:4148
266
- #: ../relevanssi/relevanssi.php:3071
267
- msgid "Documents in the index"
268
- msgstr "Documente în index"
269
-
270
- #: relevanssi.php:4149
271
- #: ../relevanssi/relevanssi.php:3072
272
- msgid "Highest post ID indexed"
273
- msgstr "Cel mai mare ID de document din index"
274
-
275
- #: relevanssi.php:4154
276
- msgid "API key:"
277
- msgstr "Cheie API:"
278
-
279
- #: relevanssi.php:4156
280
- msgid "API key is required to use the automatic update feature. Get yours from Relevanssi.com."
281
- msgstr "Cheia API este necesară atunci când se utilizează facilitatea de upgrade automat. Obțineți una de la Relevanssi.com."
282
-
283
- #: relevanssi.php:4160
284
- #: ../relevanssi/relevanssi.php:3092
285
- msgid "Use search for admin:"
286
- msgstr "Utilizare căutări în admin:"
287
-
288
- #: relevanssi.php:4162
289
- #: ../relevanssi/relevanssi.php:3094
290
- msgid "If checked, Relevanssi will be used for searches in the admin interface"
291
- msgstr "Dacă opțiunea este bifată, Relevanssi va fi folosit pentru căutări în interfața de administrare"
292
-
293
- #: relevanssi.php:4166
294
- #: ../relevanssi/relevanssi.php:3098
295
- msgid "Default operator for the search?"
296
- msgstr "Operatorul implicit pentru căutare?"
297
-
298
- #: relevanssi.php:4168
299
- #: ../relevanssi/relevanssi.php:3100
300
- msgid "AND - require all terms"
301
- msgstr "ȘI - toți termenii sunt necesari"
302
-
303
- #: relevanssi.php:4169
304
- #: ../relevanssi/relevanssi.php:3101
305
- msgid "OR - any term present is enough"
306
- msgstr "SAU - un singur termen este suficient"
307
-
308
- #: relevanssi.php:4171
309
- #: ../relevanssi/relevanssi.php:3103
310
- msgid "If you choose AND and the search finds no matches, it will automatically do an OR search."
311
- msgstr "Dacă selectați operatorul ȘI și căutarea nu produce rezultate, atunci se va efectua în mod automat o altă căutare cu operatorul SAU."
312
-
313
- #: relevanssi.php:4175
314
- #: ../relevanssi/relevanssi.php:3107
315
- msgid "Disable OR fallback:"
316
- msgstr "Invalidarea folosirii lui SAU ca operator de rezervă:"
317
-
318
- #: relevanssi.php:4177
319
- #: ../relevanssi/relevanssi.php:3109
320
- msgid "If you don't want Relevanssi to fall back to OR search when AND search gets no hits, check this option. For most cases, leave this one unchecked."
321
- msgstr "Dacă nu doriți ca Relevanssi să efectueze căutarea cu operatorul de rezervă SAU atunci când operatorul ȘI nu produce rezultate, bifați această opțiune. În cele mai multe cazuri această opțiune rămâne nebifată."
322
-
323
- #: relevanssi.php:4181
324
- #: ../relevanssi/relevanssi.php:3113
325
- msgid "Default order for results:"
326
- msgstr "Odinea implicită pentru rezultate:"
327
-
328
- #: relevanssi.php:4183
329
- #: ../relevanssi/relevanssi.php:3115
330
- msgid "Relevance (highly recommended)"
331
- msgstr "Relevanță (foarte recomandat)"
332
-
333
- #: relevanssi.php:4184
334
- #: ../relevanssi/relevanssi.php:3116
335
- msgid "Post date"
336
- msgstr "Dată publicate"
337
-
338
- #: relevanssi.php:4186
339
- msgid "If you want date-based results, you really should do what <a href='http://www.relevanssi.com/knowledge-base/relevanssi-match/'>this knowledge base entry</a> says instead of changing this option."
340
- msgstr "Dacă doriți rezultate ordonate după dată, ar trebui <a href='http://www.relevanssi.com/knowledge-base/relevanssi-match/'>să citiți acest articol (în engleză)</a>"
341
-
342
- #: relevanssi.php:4190
343
- #: ../relevanssi/relevanssi.php:3121
344
- msgid "When to use fuzzy matching?"
345
- msgstr "Când să se utilizeze căutarea aproximativă?"
346
-
347
- #: relevanssi.php:4192
348
- #: ../relevanssi/relevanssi.php:3123
349
- msgid "When straight search gets no hits"
350
- msgstr "Atunci când căutarea simplă nu produce nici un rezultat."
351
-
352
- #: relevanssi.php:4193
353
- #: ../relevanssi/relevanssi.php:3124
354
- msgid "Always"
355
- msgstr "Întotdeauna"
356
-
357
- #: relevanssi.php:4194
358
- #: ../relevanssi/relevanssi.php:3125
359
- msgid "Don't use fuzzy search"
360
- msgstr "Nu folosi căutări aproximative."
361
-
362
- #: relevanssi.php:4196
363
- #: ../relevanssi/relevanssi.php:3127
364
- msgid "Straight search matches just the term. Fuzzy search matches everything that begins or ends with the search term."
365
- msgstr "Căutarea simplă identifică numai termenul căutat. Căutarea aproximativă identifică termenul căutat și orice alte cuvinte care încep sau se termină cu termenul căutat."
366
-
367
- #: relevanssi.php:4200
368
- msgid "How to index internal links:"
369
- msgstr "Cum se indexează linkurile interne?"
370
-
371
- #: relevanssi.php:4202
372
- msgid "No special processing for internal links"
373
- msgstr "Nu se procesează în mod special linkurile interne"
374
-
375
- #: relevanssi.php:4203
376
- msgid "Index internal links for target documents only"
377
- msgstr "Indexare linkuri interne numai pentru documentele țintă"
378
-
379
- #: relevanssi.php:4204
380
- msgid "Index internal links for both target and source"
381
- msgstr "Indexare linkuri interne atât pentru sursă cât și pentru țintă"
382
-
383
- #: relevanssi.php:4206
384
- msgid "Internal link anchor tags can be indexed for target document (so the text will match the document the link points to), both target and source or source only (with no extra significance for the links). See Relevanssi Knowledge Base for more details. Changing this option requires reindexing."
385
- msgstr "Etichetele linkurilor interne pot fi folosite la indexarea documentelor țintă (textul va fi luat în considerare pentru documentul țintă), pentru ambele documente sursă și țintă sau numai pentru sursă (moment în care linkul nu mai contează). Vedeți Knowledge Base de la relevanssi.com pentru mai multe detalii. Schimbarea acestei opțiuni are efect numai după reindexare."
386
-
387
- #: relevanssi.php:4210
388
- msgid "Limit searches:"
389
- msgstr "Limitare căutări:"
390
-
391
- #: relevanssi.php:4212
392
- msgid "If this option is checked, Relevanssi will limit search results to at most 500 results per term. This will improve performance, but may cause some relevant documents to go unfound. However, Relevanssi tries to priorize the most relevant documents."
393
- msgstr "Dacă această opțiune este bifată, Relevanssi va limita rezultatele la cel mult 500 pentru fiecare termen de căutare. Aceasta va îmbunătăți performanța, însă multe din documentele relevante nu vor fi găsite. Cu toate acestea Relevanssi urmărește să prioritizeze cele mai relevante documente."
394
-
395
- #: relevanssi.php:4216
396
- #: ../relevanssi/relevanssi.php:3077
397
- msgid "These values affect the weights of the documents. These are all multipliers, so 1 means no change in weight, less than 1 means less weight, and more than 1 means more weight. Setting something to zero makes that worthless. For example, if title weight is more than 1, words in titles are more significant than words elsewhere. If title weight is 0, words in titles won't make any difference to the search results."
398
- msgstr "Aceste valori afectează greutatea documentelor. Aceste valori sunt toate multiplicatori, prin urmare 1 înseamnă că greutatea rămâne neschimbată, o valoare mai mare decât 1 înseamnă creșterea greutății. Setând o valoare cu zero face acel criteriu nesemnificativ."
399
-
400
- #: relevanssi.php:4221
401
- msgid "Element"
402
- msgstr "Element"
403
-
404
- #: relevanssi.php:4222
405
- msgid "Weight"
406
- msgstr "Greutate"
407
-
408
- #: relevanssi.php:4223
409
- msgid "Default weight"
410
- msgstr "Greutatea implicită"
411
-
412
- #: relevanssi.php:4228
413
- msgid "Post titles"
414
- msgstr "Titlu document"
415
-
416
- #: relevanssi.php:4239
417
- msgid "Tags"
418
- msgstr "Etichete"
419
-
420
- #: relevanssi.php:4250
421
- msgid "Internal links"
422
- msgstr "Linkuri interne"
423
-
424
- #: relevanssi.php:4261
425
- msgid "Comment text"
426
- msgstr "Text comentariu"
427
-
428
- #: relevanssi.php:4281
429
- #, php-format
430
- msgid "Post type '%s':"
431
- msgstr "Tip document '%s':"
432
-
433
- #: relevanssi.php:4299
434
- #: ../relevanssi/relevanssi.php:3130
435
- msgid "WPML compatibility"
436
- msgstr "Compatibilitate WPML"
437
-
438
- #: relevanssi.php:4301
439
- #: ../relevanssi/relevanssi.php:3132
440
- msgid "Limit results to current language:"
441
- msgstr "Limitare rezultate la limba curentă:"
442
-
443
- #: relevanssi.php:4303
444
- #: ../relevanssi/relevanssi.php:3134
445
- msgid "If this option is checked, Relevanssi will only return results in the current active language. Otherwise results will include posts in every language."
446
- msgstr "Dacă această opțiune este bifată, Relevanssi va returna numai rezultatele în limba curentă. Altfel se vor returna rezultatele din toate limbile instalate."
447
-
448
- #: relevanssi.php:4309
449
- #: ../relevanssi/relevanssi.php:3140
450
- msgid "Keep a log of user queries:"
451
- msgstr "Păstrează un jurnal cu căutările utilizatorilor:"
452
-
453
- #: relevanssi.php:4311
454
- #: ../relevanssi/relevanssi.php:3142
455
- msgid "If checked, Relevanssi will log user queries. The log appears in 'User searches' on the Dashboard admin menu."
456
- msgstr "Dacă această opțiune este bifată, atunci Relevanssi va jurnaliza căutările utilizatorilor. Jurnalul va apare în meniul „Căutari utilizatori” din Panoul de control."
457
-
458
- #: relevanssi.php:4315
459
- #: ../relevanssi/relevanssi.php:3146
460
- msgid "Don't log queries from these users:"
461
- msgstr "Nu jurnaliza căutările următorilor utilizatori:"
462
-
463
- #: relevanssi.php:4317
464
- #: ../relevanssi/relevanssi.php:3148
465
- msgid "Comma-separated list of user ids that will not be logged."
466
- msgstr "Lisă separată cu virgule a ID-urilor utilizatorilor care nu vor fi jurnalizați."
467
-
468
- #: relevanssi.php:4319
469
- #: ../relevanssi/relevanssi.php:3150
470
- msgid "If you enable logs, you can see what your users are searching for. Logs are also needed to use the 'Did you mean?' feature. You can prevent your own searches from getting in the logs with the omit feature."
471
- msgstr "Dacă permiteți jurnalizarea puteți afla ce anume caută utilizatorii. Jurnalele sunt de asemenea utilizate în funcția „Ați vrut să căutați...”. Puteți preveni ca propriile dumneavoastră căutări să fie incluse în jurnal prin folosirea funcției de excludere."
472
-
473
- #: relevanssi.php:4321
474
- msgid "Don't show Relevanssi branding on the 'User Searches' screen:"
475
- msgstr "Nu afișa logo Relevanssi în ecranul de „Căuterile utilizatorilor”:"
476
-
477
- #: relevanssi.php:4326
478
- #: ../relevanssi/relevanssi.php:3154
479
- msgid "Restrict search to these categories and tags:"
480
- msgstr "Restricționare căutări numai la aceste categorii și etichete:"
481
-
482
- #: relevanssi.php:4328
483
- #: ../relevanssi/relevanssi.php:3156
484
- msgid "Enter a comma-separated list of category and tag IDs to restrict search to those categories or tags. You can also use <code>&lt;input type='hidden' name='cat' value='list of cats and tags' /&gt;</code> in your search form. The input field will \toverrun this setting."
485
- msgstr "Introduceți o listă separată prin virgule a ID-urilor categoriilor și etichetelor de restricționat la căutare. Puteți folosi și <code>&lt;input type='hidden' name='cat' value='listă categorii și etichete' /&gt;</code> în formularul de căutare. Valorile introduse aici vor suprascrie valorile din formularul de căutare."
486
-
487
- #: relevanssi.php:4332
488
- #: ../relevanssi/relevanssi.php:3160
489
- msgid "Exclude these categories and tags from search:"
490
- msgstr "Excludere categorii și etichete din căutări:"
491
-
492
- #: relevanssi.php:4334
493
- msgid "Enter a comma-separated list of category and tag IDs that are excluded from search results. You can exclude categories with the 'cat' input field by using negative values."
494
- msgstr "Introduceți o listă separată prin virgule cu ID-urile categoriilor și a etichetelor care să fie excluse din rezultatele căutării. Mai puteți exclude categorii prin listarea categoriilor de căutat în câmpul corespunzător, punând semnul minus înainte de ID-ul categoriei."
495
-
496
- #: relevanssi.php:4338
497
- #: ../relevanssi/relevanssi.php:3166
498
- msgid "Exclude these posts/pages from search:"
499
- msgstr "Excludere pagini/articole din căutări:"
500
-
501
- #: relevanssi.php:4340
502
- msgid "Enter a comma-separated list of post/page IDs that are excluded from search results. This only works here, you can't use the input field option (WordPress doesn't pass custom parameters there). You can also use a checkbox on post/page edit pages to remove posts from index."
503
- msgstr "Introduceți o listă separată prin virgule a ID-urilor documentelor care doriți să fie excluse din lista de rezultate. Puteți utiliza și opțiunea din ecranul de editare a documentelor pentru a le elimina, în mod individual, din index."
504
-
505
- #: relevanssi.php:4344
506
- #: ../relevanssi/relevanssi.php:3172
507
- msgid "Respect exclude_from_search for custom post types:"
508
- msgstr "Respectă atributul <i>exclude_from_search</i> așa cum este definit la tipurile personalizate de articole:"
509
-
510
- #: relevanssi.php:4346
511
- #: ../relevanssi/relevanssi.php:3174
512
- msgid "If checked, Relevanssi won't display posts of custom post types that have 'exclude_from_search' set to true. If not checked, Relevanssi will display anything that is indexed."
513
- msgstr "Dacă opțiunea este bifată Relevanssi nu va afișa articolele din tipurile de articole care au atributul <i>exclude_from_search</i> cu valoarea true. Dacă opțiunea nu este bifată, Relevanssi va afișa orice găsește în index."
514
-
515
- #: relevanssi.php:4348
516
- #: ../relevanssi/relevanssi.php:3176
517
- msgid "Custom excerpts/snippets"
518
- msgstr "Rezumate/fragmente personalizate"
519
-
520
- #: relevanssi.php:4350
521
- #: ../relevanssi/relevanssi.php:3178
522
- msgid "Create custom search result snippets:"
523
- msgstr "Creare fragmente personalizate pentru rezultatele căutării:"
524
-
525
- #: relevanssi.php:4352
526
- #: ../relevanssi/relevanssi.php:3180
527
- msgid "If checked, Relevanssi will create excerpts that contain the search term hits. To make them work, make sure your search result template uses the_excerpt() to display post excerpts."
528
- msgstr "Dacă opțiunea este bifată Relevanssi va crea rezumate care conțin termenii de căutare găsiți în document. Pentru a funcționa verificați dacă macheta de afișare a rezultatelor căutărilor folosește funcția <code>the_excerpt()</code> pentru afișarea rezumatelor."
529
-
530
- #: relevanssi.php:4356
531
- #: ../relevanssi/relevanssi.php:3184
532
- msgid "Length of the snippet:"
533
- msgstr "Lungimea fragmentului:"
534
-
535
- #: relevanssi.php:4359
536
- #: ../relevanssi/relevanssi.php:3187
537
- msgid "characters"
538
- msgstr "caractere"
539
-
540
- #: relevanssi.php:4360
541
- #: ../relevanssi/relevanssi.php:3188
542
- msgid "words"
543
- msgstr "cuvinte"
544
-
545
- #: relevanssi.php:4362
546
- #: ../relevanssi/relevanssi.php:3190
547
- msgid "This must be an integer."
548
- msgstr "Această valoare trebuie să fie un număr întreg."
549
-
550
- #: relevanssi.php:4366
551
- #: ../relevanssi/relevanssi.php:3194
552
- msgid "Show breakdown of search hits in excerpts:"
553
- msgstr "Afișare structură rezultate căutare în rezumate:"
554
-
555
- #: relevanssi.php:4368
556
- #: ../relevanssi/relevanssi.php:3196
557
- msgid "Check this to show more information on where the search hits were made. Requires custom snippets to work."
558
- msgstr "Bifați această opțiune pentru a afișa mai multe informații în rezultatele căutărilor. Necesită fragmente personalizate pentru a funcționa."
559
-
560
- #: relevanssi.php:4372
561
- #: ../relevanssi/relevanssi.php:3200
562
- msgid "The breakdown format:"
563
- msgstr "Formatul structurii:"
564
-
565
- #: relevanssi.php:4374
566
- #: ../relevanssi/relevanssi.php:3202
567
- msgid "Use %body%, %title%, %tags% and %comments% to display the number of hits (in different parts of the post), %total% for total hits, %score% to display the document weight and %terms% to show how many hits each search term got. No double quotes (\") allowed!"
568
- msgstr "Utilizați %body%, %title%, %tags% și %comments% pentru a afișa numărul de rezultate (în diverse locuri ale documentului), %total% pentru numărul total de rezultate, %score% pentru afișarea greutății documentului, %terms% pentru afișarea numărului rezultatelor pentru fiecare termen de căutare. Nu se permit glilimele duble (\")!"
569
-
570
- #: relevanssi.php:4376
571
- #: ../relevanssi/relevanssi.php:3204
572
- msgid "Search hit highlighting"
573
- msgstr "Evidențiere termeni căutați în rezultate"
574
-
575
- #: relevanssi.php:4378
576
- #: ../relevanssi/relevanssi.php:3206
577
- msgid "First, choose the type of highlighting used:"
578
- msgstr "La început, alegeți tipul de evidențiere utilizat:"
579
-
580
- #: relevanssi.php:4381
581
- #: ../relevanssi/relevanssi.php:3209
582
- msgid "Highlight query terms in search results:"
583
- msgstr "Evidențierea termenilor căutați în rezultate:"
584
-
585
- #: relevanssi.php:4383
586
- #: ../relevanssi/relevanssi.php:3211
587
- msgid "No highlighting"
588
- msgstr "Fără evidențiere"
589
-
590
- #: relevanssi.php:4387
591
- #: ../relevanssi/relevanssi.php:3215
592
- msgid "Text color"
593
- msgstr "Text colorat"
594
-
595
- #: relevanssi.php:4388
596
- #: ../relevanssi/relevanssi.php:3216
597
- msgid "Background color"
598
- msgstr "Fundal colorat"
599
-
600
- #: relevanssi.php:4389
601
- #: ../relevanssi/relevanssi.php:3217
602
- msgid "CSS Style"
603
- msgstr "Stil CSS"
604
-
605
- #: relevanssi.php:4390
606
- #: ../relevanssi/relevanssi.php:3218
607
- msgid "CSS Class"
608
- msgstr "Clasa CSS"
609
-
610
- #: relevanssi.php:4392
611
- #: ../relevanssi/relevanssi.php:3220
612
- msgid "Highlighting isn't available unless you use custom snippets"
613
- msgstr "Evidențierea nu este disponibilă decât dacă utilizați fragmente personalizate"
614
-
615
- #: relevanssi.php:4396
616
- #: ../relevanssi/relevanssi.php:3224
617
- msgid "Highlight query terms in result titles too:"
618
- msgstr "Evidențierea termenilor de căutare și în titluri:"
619
-
620
- #: relevanssi.php:4402
621
- msgid "Highlight query terms in documents from local searches:"
622
- msgstr "Evidențierea termenilor de căutare în documente pentru căutările locale:"
623
-
624
- #: relevanssi.php:4404
625
- #: ../relevanssi/relevanssi.php:3232
626
- msgid "Highlights hits when user opens the post from search results. This is based on HTTP referrer, so if that's blocked, there'll be no highlights."
627
- msgstr "Evidențierea se face atunci când utilizatorul deschide un rezultat din lista de rezultate ale unei căutări. Această funcționalitate se bazează pe HTTP referrer, prin urmare dacă acesta este blocat nu va apare nici o evidențiere."
628
-
629
- #: relevanssi.php:4408
630
- msgid "Highlight query terms in documents from external searches:"
631
- msgstr "Evidențierea termenilor de căutare în documente și pentru căutările externe:"
632
-
633
- #: relevanssi.php:4410
634
- msgid "Highlights hits when user arrives from external search. Currently supports Google, Bing, Ask, Yahoo and AOL Search."
635
- msgstr "Se evidențiază termenii căutați atunci când căutarea este efectuată extern. Sunt suportate Google, Bing, Ask, Yahoo și AOL."
636
-
637
- #: relevanssi.php:4414
638
- #: ../relevanssi/relevanssi.php:3236
639
- msgid "Highlight query terms in comments:"
640
- msgstr "Evidențierea termenilor de căutare în comentarii:"
641
-
642
- #: relevanssi.php:4416
643
- #: ../relevanssi/relevanssi.php:3238
644
- msgid "Highlights hits in comments when user opens the post from search results."
645
- msgstr "Evidențierea în comentarii are loc atunci când utilizatorul deschide documentul din lista de rezultate ale căutării."
646
-
647
- #: relevanssi.php:4420
648
- #: ../relevanssi/relevanssi.php:3242
649
- msgid "Uncheck this if you use non-ASCII characters:"
650
- msgstr "Debifați dacă utilizați caractere non-ASCII:"
651
-
652
- #: relevanssi.php:4422
653
- #: ../relevanssi/relevanssi.php:3244
654
- msgid "If you use non-ASCII characters (like Cyrillic alphabet) and the highlights don't work, uncheck this option to make highlights work."
655
- msgstr "Dacă utilizați caractere non-ASCII (ex. alfabet chirilic) și doriți ca evidențierea termenilor să funcționeze trebuie să debifați această opțiune."
656
-
657
- #: relevanssi.php:4427
658
- #: ../relevanssi/relevanssi.php:3249
659
- msgid "Then adjust the settings for your chosen type:"
660
- msgstr "Apoi ajustați setările pentru tipul ales:"
661
-
662
- #: relevanssi.php:4431
663
- #: ../relevanssi/relevanssi.php:3253
664
- msgid "Text color for highlights:"
665
- msgstr "Culoare text pentru evidențiere:"
666
-
667
- #: relevanssi.php:4433
668
- #: relevanssi.php:4439
669
- #: ../relevanssi/relevanssi.php:3255
670
- #: ../relevanssi/relevanssi.php:3261
671
- msgid "Use HTML color codes (#rgb or #rrggbb)"
672
- msgstr "Utilizare coduri de culori HTML (#rgb sau #rrggbb)"
673
-
674
- #: relevanssi.php:4437
675
- #: ../relevanssi/relevanssi.php:3259
676
- msgid "Background color for highlights:"
677
- msgstr "Culoare fundal pentru evidențiere:"
678
-
679
- #: relevanssi.php:4443
680
- #: ../relevanssi/relevanssi.php:3265
681
- msgid "CSS style for highlights:"
682
- msgstr "Stil CSS pentru evidențiere:"
683
-
684
- #: relevanssi.php:4445
685
- #: ../relevanssi/relevanssi.php:3267
686
- msgid "You can use any CSS styling here, style will be inserted with a &lt;span&gt;"
687
- msgstr "Puteți utiliza orice stil CSS aici, stilurile vor fi inserate cu un &lt;span&gt;"
688
-
689
- #: relevanssi.php:4449
690
- #: ../relevanssi/relevanssi.php:3271
691
- msgid "CSS class for highlights:"
692
- msgstr "Clasă CSS pentru evidențiere:"
693
-
694
- #: relevanssi.php:4451
695
- #: ../relevanssi/relevanssi.php:3273
696
- msgid "Name a class here, search results will be wrapped in a &lt;span&gt; with the class"
697
- msgstr "Numiți o clasă CSS aici, rezultatele vor fi învelite într-un &lt;span&gt; cu clasa respectivă"
698
-
699
- #: relevanssi.php:4458
700
- #: relevanssi.php:4636
701
- #: ../relevanssi/relevanssi.php:3280
702
- #: ../relevanssi/relevanssi.php:3410
703
- msgid "Save the options"
704
- msgstr "Salvare opțiuni"
705
-
706
- #: relevanssi.php:4462
707
- msgid "Choose post types to index:"
708
- msgstr "Tipurile de documente de inclus în index:"
709
-
710
- #: relevanssi.php:4467
711
- msgid "Type"
712
- msgstr "Tip"
713
-
714
- #: relevanssi.php:4468
715
- msgid "Index"
716
- msgstr "Index"
717
-
718
- #: relevanssi.php:4469
719
- msgid "Public?"
720
- msgstr "Public?"
721
-
722
- #: relevanssi.php:4486
723
- #, php-format
724
- msgid "%s"
725
- msgstr "%s"
726
-
727
- #: relevanssi.php:4487
728
- msgid "yes"
729
- msgstr "da"
730
-
731
- #: relevanssi.php:4487
732
- msgid "no"
733
- msgstr "nu"
734
-
735
- #: relevanssi.php:4508
736
- #: ../relevanssi/relevanssi.php:3313
737
- msgid "Minimum word length to index"
738
- msgstr "Lungimea minimă a cuvintelor de inclus în index"
739
-
740
- #: relevanssi.php:4510
741
- #: ../relevanssi/relevanssi.php:3315
742
- msgid "Words shorter than this number will not be indexed."
743
- msgstr "Cuvintele cu lungimea mai scurtă decât acest număr nu vor fi indexate."
744
-
745
- #: relevanssi.php:4514
746
- msgid "Thousands separator"
747
- msgstr "Separator mii"
748
-
749
- #: relevanssi.php:4516
750
- msgid "If Relevanssi sees this character between numbers, it'll stick the numbers together no matter how the character would otherwise be handled. Especially useful if a space is used as a thousands separator."
751
- msgstr "Dacă Relevanssi descoperă acest caracter între numere va menține numerele împreună, indiferent de modul în care acest caracter poate fi folosit în alt context. Este util în mod special atunci când se folosește un spațiu liber pe post de separator de mii."
752
-
753
- #: relevanssi.php:4520
754
- #: ../relevanssi/relevanssi.php:3325
755
- msgid "Expand shortcodes in post content:"
756
- msgstr "Expanadare shortcode-uri în conținut:"
757
-
758
- #: relevanssi.php:4522
759
- #: ../relevanssi/relevanssi.php:3327
760
- msgid "If checked, Relevanssi will expand shortcodes in post content before indexing. Otherwise shortcodes will be stripped. If you use shortcodes to include dynamic content, Relevanssi will not keep the index updated, the index will reflect the status of the shortcode content at the moment of indexing."
761
- msgstr "Dacă opțiunea este bifată Relevanssi va expanda shortcode-urile în conținutul documentelor înainte de a le indexa. În caz contrar shortcode-urile vor fi șterse înainte de indexare. Dacă utilizați shortcode-uri pentru a afișa conținut dinamic, Relevanssi nu va menține indexul actualizat în mod automat atunci când respectivul conținut se modifică, ci va reflecta starea găsită la momentul indexării."
762
-
763
- #: relevanssi.php:4526
764
- #: ../relevanssi/relevanssi.php:3331
765
- msgid "Index and search your posts' tags:"
766
- msgstr "Indexare și căutare după etichete:"
767
-
768
- #: relevanssi.php:4528
769
- #: ../relevanssi/relevanssi.php:3333
770
- msgid "If checked, Relevanssi will also index and search the tags of your posts. Remember to rebuild the index if you change this option!"
771
- msgstr "Dacă opțiunea este bifată Relevanssi va indexa și va căuta etichetele documentelor. Amintiți-vă să reconstruiți indexul dacă modificați această opțiune!"
772
-
773
- #: relevanssi.php:4532
774
- #: ../relevanssi/relevanssi.php:3337
775
- msgid "Index and search your posts' categories:"
776
- msgstr "Indexare și căutare după categorii:"
777
-
778
- #: relevanssi.php:4534
779
- #: ../relevanssi/relevanssi.php:3339
780
- msgid "If checked, Relevanssi will also index and search the categories of your posts. Category titles will pass through 'single_cat_title' filter. Remember to rebuild the index if you change this option!"
781
- msgstr "Dacă opțiunea este bifată Relevanssi va indexa și va căuta categoriile documentelor. Titlurile categoriilor vor fi trecute prin filtrul <code>single_cat_title</code>. Amintiți-vă să reconstruiți indexul dacă modificați această opțiune!"
782
-
783
- #: relevanssi.php:4538
784
- #: ../relevanssi/relevanssi.php:3343
785
- msgid "Index and search your posts' authors:"
786
- msgstr "Indexare și căutare după autor:"
787
-
788
- #: relevanssi.php:4540
789
- #: ../relevanssi/relevanssi.php:3345
790
- msgid "If checked, Relevanssi will also index and search the authors of your posts. Author display name will be indexed. Remember to rebuild the index if you change this option!"
791
- msgstr "Dacă opțiunea este bifată Relevanssi va indexa și căuta autorii documentelor. Se va indexa numele afișabil al autorului. Amintiți-vă să reconstruiți indexul dacă modificați această opțiune!"
792
-
793
- #: relevanssi.php:4544
794
- #: ../relevanssi/relevanssi.php:3349
795
- msgid "Index and search post excerpts:"
796
- msgstr "Indexare și căutare după rezumate:"
797
-
798
- #: relevanssi.php:4546
799
- #: ../relevanssi/relevanssi.php:3351
800
- msgid "If checked, Relevanssi will also index and search the excerpts of your posts.Remember to rebuild the index if you change this option!"
801
- msgstr "Dacă opțiunea este bifată Relevanssi va indexa și va căuta în rezumatele documentelor. Amintiți-vă să reconstruiți indexul dacă modificați această opțiune!"
802
-
803
- #: relevanssi.php:4550
804
- #: ../relevanssi/relevanssi.php:3355
805
- msgid "Index and search these comments:"
806
- msgstr "Indexare și căutare în aceste comentarii:"
807
-
808
- #: relevanssi.php:4552
809
- #: ../relevanssi/relevanssi.php:3357
810
- msgid "none"
811
- msgstr "nici unul"
812
-
813
- #: relevanssi.php:4553
814
- #: ../relevanssi/relevanssi.php:3358
815
- msgid "normal"
816
- msgstr "normal"
817
-
818
- #: relevanssi.php:4554
819
- #: ../relevanssi/relevanssi.php:3359
820
- msgid "all"
821
- msgstr "toate"
822
-
823
- #: relevanssi.php:4556
824
- #: ../relevanssi/relevanssi.php:3361
825
- msgid "Relevanssi will index and search ALL (all comments including track- &amp; pingbacks and custom comment types), NONE (no comments) or NORMAL (manually posted comments on your blog).<br />Remember to rebuild the index if you change this option!"
826
- msgstr "Relevanssi va indexa și va căuta TOTUL (toate comentariile inclusiv trackback-uri, pingback-uri și tipurile personalizate de comentarii), NICI UNUL (nici un comentariu) sau NORMAL (numai comentariile introduse manual în blog).<br />Amintiți-vă să reconstruiți indexul dacă modificați această opțiune!"
827
-
828
- #: relevanssi.php:4560
829
- #: ../relevanssi/relevanssi.php:3365
830
- msgid "Custom fields to index:"
831
- msgstr "Câmpuri personalizate de indexat:"
832
-
833
- #: relevanssi.php:4562
834
- #: ../relevanssi/relevanssi.php:3367
835
- msgid "A comma-separated list of custom field names to include in the index."
836
- msgstr "O listă separată prin virgule a numelor câmpurilor personalizate care să fie incluse în index."
837
-
838
- #: relevanssi.php:4566
839
- #: ../relevanssi/relevanssi.php:3371
840
- msgid "Custom taxonomies to index:"
841
- msgstr "Taxonomii personalizate de indexat:"
842
-
843
- #: relevanssi.php:4568
844
- #: ../relevanssi/relevanssi.php:3373
845
- msgid "A comma-separated list of custom taxonomies to include in the index."
846
- msgstr "O listă separată prin virgule a taxonomiilor personalizate care să fie incluse în index."
847
-
848
- #: relevanssi.php:4572
849
- msgid "Index and search user profiles:"
850
- msgstr "Indexare și căutare în profilele utilizatorilor:"
851
-
852
- #: relevanssi.php:4574
853
- msgid "If checked, Relevanssi will also index and search user profiles (first name, last name, display name and user description). Requires changes to search results template, see Relevanssi Knowledge Base."
854
- msgstr "Dacă opțiunea este bifată Relevanssi va indexa și va căuta în profilele utilizatorilor (prenume, nume, nume afișabil, descriere). Afișarea necesită modificări ale machetei de rezultate ale căutării, vedeți Knowledge Base de la relevanssi.com pentru detalii."
855
-
856
- #: relevanssi.php:4578
857
- msgid "Index subscriber profiles:"
858
- msgstr "Indexare și căutare în profilele abonaților:"
859
-
860
- #: relevanssi.php:4580
861
- msgid "If checked, Relevanssi will index subscriber profiles as well, otherwise only authors, editors, contributors and admins are indexed."
862
- msgstr "Dacă opțiunea este bifată Relevansii va indexa și va căuta în profilele abonaților. În caz contrar numai profilele autorilor, contributorilor și a administratorilor sunt indexate."
863
-
864
- #: relevanssi.php:4584
865
- msgid "Extra user fields to index:"
866
- msgstr "Câmpuri profil utilizatori suplimentare de indexat:"
867
-
868
- #: relevanssi.php:4586
869
- msgid "A comma-separated list of user profile field names (names of the database columns) to include in the index."
870
- msgstr "O listă separată prin virgule a numelor câmpurilor din profilul utilizatorilor (nume de coloane din baza de date) care să fie incluse în index."
871
-
872
- #: relevanssi.php:4590
873
- msgid "Index and search taxonomy pages:"
874
- msgstr "Indexare și căutare după paginile taxonomiilor:"
875
-
876
- #: relevanssi.php:4592
877
- msgid "If checked, Relevanssi will also index and search taxonomy pages (categories, tags, custom taxonomies)."
878
- msgstr "Dacă opțiunea este bifată Relevanssi va indexa și va căuta paginile taxonomiilor (categorii, etichete, taxonomii personalizate). Amintiți-vă să reconstruiți indexul dacă modificați această opțiune!"
879
-
880
- #: relevanssi.php:4596
881
- msgid "Taxonomy pages to index:"
882
- msgstr "Pagini cu taxonomii de indexat:"
883
-
884
- #: relevanssi.php:4598
885
- msgid "A comma-separated list of taxonomies to include in the taxonomy page index ('all' indexes all custom taxonomies. If you don't use 'all', remember to list 'category' and 'post_tag')."
886
- msgstr "O listă separată prin virgule a taxonomiilor care să fie incluse în indexul de pagini de taxonomii ('all' indexează toate taxonomiile. Dacă nu utilizați 'all', nu uitați să adăugați 'category' și 'post_tag' pentru categorii și respectiv etichete)."
887
-
888
- #: relevanssi.php:4603
889
- #: ../relevanssi/relevanssi.php:3377
890
- msgid "Save indexing options and build the index"
891
- msgstr "Salvare opțiuni și construire index"
892
-
893
- #: relevanssi.php:4609
894
- #: ../relevanssi/relevanssi.php:3383
895
- msgid ""
896
- "Warning: In many cases caching is not useful, and in some cases can be even harmful. Do not\n"
897
- "\tactivate cache unless you have a good reason to do so."
898
- msgstr ""
899
- "Atenție: în multe cazuri memoria cache nu este utilă, iar uneori poate fi chiar dăunătoare. Nu activați\n"
900
- "\tmemoria cache decât dacă aveți un motiv clar să o faceți."
901
-
902
- #: relevanssi.php:4612
903
- #: ../relevanssi/relevanssi.php:3386
904
- msgid "Enable result and excerpt caching:"
905
- msgstr "Permite salvarea în memoria cache a rezultatelor și a rezumatelor:"
906
-
907
- #: relevanssi.php:4614
908
- #: ../relevanssi/relevanssi.php:3388
909
- msgid "If checked, Relevanssi will cache search results and post excerpts."
910
- msgstr "Dacă opțiunea este bifată, Relevanssi va memora rezultatele și rezumatele în memoria cache."
911
-
912
- #: relevanssi.php:4618
913
- #: ../relevanssi/relevanssi.php:3392
914
- msgid "Cache expire (in seconds):"
915
- msgstr "Memoria cache expiră în (secunde):"
916
-
917
- #: relevanssi.php:4620
918
- #: ../relevanssi/relevanssi.php:3394
919
- msgid "86400 = day"
920
- msgstr "86400 = o zi"
921
-
922
- #: relevanssi.php:4624
923
- #: ../relevanssi/relevanssi.php:3398
924
- msgid "Entries in the cache"
925
- msgstr "Înregistrări în memoria cache"
926
-
927
- #: relevanssi.php:4628
928
- #: ../relevanssi/relevanssi.php:3402
929
- msgid "Clear all caches"
930
- msgstr "Ștergere completă cache"
931
-
932
- #: relevanssi.php:4634
933
- #: ../relevanssi/relevanssi.php:3408
934
- msgid "Add synonyms here in 'key = value' format. When searching with the OR operator, any search of 'key' will be expanded to include 'value' as well. Using phrases is possible. The key-value pairs work in one direction only, but you can of course repeat the same pair reversed."
935
- msgstr "Adăugați aici sinonime în formatul „cheie = valoare”. Atunci când se folosește operatorul SAU, orice termen de căutare din lista de chei va fi expandat și cu valorile corespunzătoare. Se pot utiliza și fraze. Perechea cheie-valoare funționează unidirecțional, puteți bineînțeles să introduceți și perechea inversată în listă."
936
-
937
- #: relevanssi.php:4642
938
- msgid "Import or export options"
939
- msgstr "Import și export opțiuni"
940
-
941
- #: relevanssi.php:4644
942
- msgid "Here you find the current Relevanssi Premium options in a text format. Copy the contents of the text field to make a backup of your settings. You can also paste new settings here to change all settings at the same time. This is useful if you have default settings you want to use on every system."
943
- msgstr "Aici găsiți setările curente ale modulului Relevanssi Premium în format text. Puteți copia conținutul câmpului pentru a face backup setărilor. Puteți de asemenea copia setări noi în acest câmp pentru a modifica toate setările dintr-o singură mișcare. Aceasta este util când aveți un set implicit de opțiuni pe care doriți să îl replicați pe toate blogurile."
944
-
945
- #: relevanssi.php:4648
946
- msgid "Import settings"
947
- msgstr "Import setări"
948
-
949
- #: relevanssi.php:4650
950
- msgid "Note! Make sure you've got correct settings from a right version of Relevanssi. Settings from a different version of Relevanssi may or may not work and may or may not mess your settings."
951
- msgstr "Notă: Asigurați-vă că introduceți setările de la o versiune corectă de Relevanssi. Setările de la o altă versiune ar putea sau nu să funcționeze sau ar putea să vă strice setările curente."
952
-
953
- #: relevanssi.php:4663
954
- #: ../relevanssi/relevanssi.php:3433
955
- msgid "<p>Enter a word here to add it to the list of stopwords. The word will automatically be removed from the index, so re-indexing is not necessary. You can enter many words at the same time, separate words with commas.</p>"
956
- msgstr "<p>Introduceți aici un cuvânt care să fie adăugat la lista de cuvinte ignorate. Cuvântul va fi eliminat automat din index, nu mai este necesară reindexarea. Pentru a introduce mai multe cuvinte simultan, separați-le cu virgule.</p>"
957
-
958
- #: relevanssi.php:4665
959
- #: ../relevanssi/relevanssi.php:3435
960
- msgid "Stopword(s) to add: "
961
- msgstr "Cuvinte de adăugat la lista de cuvinte ignorate:"
962
-
963
- #: relevanssi.php:4666
964
- #: ../relevanssi/relevanssi.php:3436
965
- msgid "Add"
966
- msgstr "Adăugare"
967
-
968
- #: relevanssi.php:4669
969
- #: ../relevanssi/relevanssi.php:3439
970
- msgid "<p>Here's a list of stopwords in the database. Click a word to remove it from stopwords. Removing stopwords won't automatically return them to index, so you need to re-index all posts after removing stopwords to get those words back to index."
971
- msgstr "<p>Aceasta este o listă de cuvinte ignorate din baza de date. Apăsați pe un cuvânt pentru a-l elimina din listă. Eliminarea cuvintelor nu se va reflecta în mod automat în index, va trebui să reconstruiți indexul pentru ca modificările să aibă efect."
972
-
973
- #: relevanssi.php:4695
974
- #: ../relevanssi/relevanssi.php:3465
975
- msgid "Remove all stopwords"
976
- msgstr "Eliminarea tuturor cuvintelor ignorate"
977
-
978
- #: relevanssi.php:4701
979
- #: ../relevanssi/relevanssi.php:3471
980
- msgid "Here's a list of stopwords you can use to export the stopwords to another blog."
981
- msgstr "Aceasta este o listă de cuvinte de ignorat pe care o puteți exporta pentru utilizarea în alt blog."
982
-
983
- #: relevanssi.php:4781
984
- msgid "Relevanssi post controls"
985
- msgstr "Controale articole Relevanssi"
986
-
987
- #: relevanssi.php:4787
988
- msgid "Relevanssi page controls"
989
- msgstr "Controale pagini Relevanssi"
990
-
991
- #: relevanssi.php:4805
992
- msgid "Exclude this post or page from the index."
993
- msgstr "Exclude acest document din index."
994
-
995
- #: ../relevanssi/relevanssi.php:474
996
- msgid "Data wiped clean, you can now delete the plugin."
997
- msgstr "Datele modulului au fost curățate, acum se poate elimina modului."
998
-
999
- #: ../relevanssi/relevanssi.php:2393
1000
- msgid "Relevanssi Search Options"
1001
- msgstr "Opțiuni de căutare Relevanssi"
1002
-
1003
- #: ../relevanssi/relevanssi.php:3057
1004
- msgid "Uninstalling"
1005
- msgstr "Dezinastalare"
1006
-
1007
- #: ../relevanssi/relevanssi.php:3079
1008
- msgid "Title weight:"
1009
- msgstr "Greutate titlu:"
1010
-
1011
- #: ../relevanssi/relevanssi.php:3081
1012
- #: ../relevanssi/relevanssi.php:3085
1013
- #: ../relevanssi/relevanssi.php:3089
1014
- #, php-format
1015
- msgid "Default: %s"
1016
- msgstr "Implicit: %s"
1017
-
1018
- #: ../relevanssi/relevanssi.php:3083
1019
- msgid "Tag weight:"
1020
- msgstr "Greutate etichetă:"
1021
-
1022
- #: ../relevanssi/relevanssi.php:3087
1023
- msgid "Comment weight:"
1024
- msgstr "Greutate comentariu:"
1025
-
1026
- #: ../relevanssi/relevanssi.php:3162
1027
- msgid "Enter a comma-separated list of category and tag IDs that are excluded from search results. This only works here, you can't use the input field option (WordPress doesn't pass custom parameters there)."
1028
- msgstr "Introduceți o listă separată prin virgule a ID-urilor categoriilor și etichetelor care doriți să fie excluse din lista de rezultate."
1029
-
1030
- #: ../relevanssi/relevanssi.php:3168
1031
- msgid "Enter a comma-separated list of post/page IDs that are excluded from search results. This only works here, you can't use the input field option (WordPress doesn't pass custom parameters there)."
1032
- msgstr "Introduceți o listă separată prin virgule a ID-urilor documentelor care doriți să fie excluse din lista de rezultate."
1033
-
1034
- #: ../relevanssi/relevanssi.php:3230
1035
- msgid "Highlight query terms in documents:"
1036
- msgstr "Evidențierea termenilor de căutare în documente:"
1037
-
1038
- #: ../relevanssi/relevanssi.php:3284
1039
- msgid "What to include in the index"
1040
- msgstr "Ce să fie înclus în index"
1041
-
1042
- #: ../relevanssi/relevanssi.php:3286
1043
- msgid "Everything"
1044
- msgstr "Totul"
1045
-
1046
- #: ../relevanssi/relevanssi.php:3287
1047
- msgid "All public post types"
1048
- msgstr "Toate tipurile de documente publice"
1049
-
1050
- #: ../relevanssi/relevanssi.php:3288
1051
- msgid "Posts"
1052
- msgstr "Articole"
1053
-
1054
- #: ../relevanssi/relevanssi.php:3289
1055
- msgid "Pages"
1056
- msgstr "Pagini"
1057
-
1058
- #: ../relevanssi/relevanssi.php:3290
1059
- msgid "Custom, set below"
1060
- msgstr "Personalizat, setați mai jos"
1061
-
1062
- #: ../relevanssi/relevanssi.php:3292
1063
- msgid ""
1064
- "This determines which post types are included in the index. Choosing 'everything'\n"
1065
- "\twill include posts, pages and all custom post types. 'All public post types' includes all\n"
1066
- "\tregistered post types that don't have the 'exclude_from_search' set to true. This includes post,\n"
1067
- "\tpage, and possible custom types. 'All public types' requires at least WP 2.9, otherwise it's the\n"
1068
- "\tsame as 'everything'. If you choose 'Custom', only the post types listed below are indexed.\n"
1069
- "\tNote: attachments are covered with a separate option below."
1070
- msgstr ""
1071
- "Această opțiune determină ce tipuri de documente sunt incluse în index. Alegând „Totul” va include toate articolele,\n"
1072
- "\tpaginile și documentele de tip personalizat. „Toate tipurile de documente publice” va include toate tipurile de documente\n"
1073
- "\tpersonalizate care nu au atributul <i>exclude_fom_search</i> cu valoarea true. Aceasta va include articolele, paginile și\n"
1074
- "\tposibile tipuri de documente personalizate. „Toate tipurile de documente publice” necesită cel puțin WP 2.9, altfel setarea va\n"
1075
- "\tfuncționa la fel cu „Totul”. Dacă alegeți „Personalizat” numai tipurile de documente listate mai jos sunt indexate.\n"
1076
- "\t Notă: atașamentele sunt acoperite cu altă opțiune aflată mai jos."
1077
-
1078
- #: ../relevanssi/relevanssi.php:3301
1079
- msgid "Custom post types to index"
1080
- msgstr "Tipurile de documente de inclus în index"
1081
-
1082
- #: ../relevanssi/relevanssi.php:3303
1083
- msgid ""
1084
- "If you don't want to index all custom post types, list here the custom post types\n"
1085
- "\tyou want to see indexed. List comma-separated post type names (as used in the database). You can\n"
1086
- "\talso use a hidden field in the search form to restrict the search to a certain post type:\n"
1087
- "\t<code>&lt;input type='hidden' name='post_type' value='comma-separated list of post types'\n"
1088
- "\t/&gt;</code>. If you choose 'All public post types' or 'Everything' above, this option has no\n"
1089
- "\teffect. You can exclude custom post types with the minus notation, for example '-foo,bar,-baz'\n"
1090
- "\twould include 'bar' and exclude 'foo' and 'baz'."
1091
- msgstr ""
1092
- "Dacă nu doriți să indexați toate tipurile de documente personalizate, listați aici tipurile pe care doriți\n"
1093
- "\tsă le introduceți în index. Listați numele tipurilor de documente separate prin virgule. În formularul de căutare\n"
1094
- "\tse poate folosi un câmp ascuns pentru a restricționa căutarea la un singur tip de document personalizat:\n"
1095
- "\t<code>&lt;input type='hidden' name='post_type' value='listă separată prin virgule ale tipurilor de documente dorite' /&gt;</code>.\n"
1096
- "\tDacă ați ales mai sus „Toate tipurile de documente publice” sau „Totul”, această opțiune nu mai are efect. Puteți exclude tipuri de documente\n"
1097
- "\tprin notare cu minus în cadrul listei, de exemplu '-foo,bar,-baz' va include 'bar' și va exclude 'foo' și 'baz'."
1098
-
1099
- #: ../relevanssi/relevanssi.php:3319
1100
- msgid "Index and search your posts' attachments:"
1101
- msgstr "Indexare și căutare în atașamente:"
1102
-
1103
- #: ../relevanssi/relevanssi.php:3321
1104
- msgid "If checked, Relevanssi will also index and search attachments of your posts (pictures, files and so on). Remember to rebuild the index if you change this option!"
1105
- msgstr "Dacă opțiunea este bifată Relevanssi va indexa și va căuta și atașamentele documentelor (imagini, fișiere, etc). Amintiți-vă să reconstruiți indexul dacă modificați această opțiune!"
1106
-
1107
- #: ../relevanssi/relevanssi.php:3416
1108
- msgid "Uninstalling the plugin"
1109
- msgstr "Dezinstalarea modulului"
1110
-
1111
- #: ../relevanssi/relevanssi.php:3418
1112
- msgid "If you want to uninstall the plugin, start by clicking the button below to wipe clean the options and tables created by the plugin, then remove it from the plugins list."
1113
- msgstr "Dacă doriți să dezinstalați modulul, începeți prin apăsarea butornului de mai jos pentru a șterge opțiunile și tabelele specifice din baza de date, apoi eliminați modulul din listă."
1114
-
1115
- #: ../relevanssi/relevanssi.php:3420
1116
- msgid "Remove plugin data"
1117
- msgstr "Eliminarea datelor modulului"
1118
-
1119
- #~ msgid "Just posts"
1120
- #~ msgstr "Numai articolele"
1121
-
1122
- #~ msgid "Just pages"
1123
- #~ msgstr "Numai paginile"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
relevanssi-ru_RU.mo DELETED
Binary file
relevanssi-ru_RU.po DELETED
@@ -1,1392 +0,0 @@
1
- msgid ""
2
- msgstr ""
3
- "Project-Id-Version: Relevanssi-ru_RU\n"
4
- "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2013-07-24 16:58+0400\n"
6
- "PO-Revision-Date: \n"
7
- "Last-Translator: Flector <rlector@gmail.com>\n"
8
- "Language-Team: Flector <rlector@gmail.com>\n"
9
- "Language: ru_RU\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\n"
14
- "X-Poedit-Basepath: .\n"
15
- "X-Generator: Poedit 1.5.7\n"
16
- "X-Poedit-SourceCharset: UTF-8\n"
17
- "X-Poedit-SearchPath-0: .\n"
18
-
19
- #: relevanssi.php:296
20
- msgid "Tag weight:"
21
- msgstr "Вес меток:"
22
-
23
- #: relevanssi.php:311
24
- msgid "Category weight:"
25
- msgstr "Вес рубрик:"
26
-
27
- #: lib/excerpts-highlights.php:11
28
- msgid "There is no excerpt because this is a protected post."
29
- msgstr "Отсутствует цитата, так как это защищенная запись."
30
-
31
- #: lib/indexing.php:93
32
- msgid "Indexing complete!"
33
- msgstr "Индексирование завершено!"
34
-
35
- #: lib/init.php:40
36
- #, php-format
37
- msgid ""
38
- "Relevanssi needs attention: Remember to build the index (you can do it at <a "
39
- "href=\"%1$s\">the\n"
40
- "\t\t\t settings page</a>), otherwise searching won't work."
41
- msgstr ""
42
- "Relevanssi сообщает: Помните, что без построения индекса (для его создания "
43
- "<a href=\"%1$s\">перейдите\n"
44
- "\t\t\t на страницу настроек</a>) поиск работать не будет."
45
-
46
- #: lib/init.php:84 lib/init.php:85
47
- msgid "User searches"
48
- msgstr "История поиска"
49
-
50
- #: lib/interface.php:6
51
- msgid "Relevanssi Premium Search Options"
52
- msgstr "Настройки плагина Relevanssi Premium"
53
-
54
- #: lib/interface.php:9
55
- msgid "Relevanssi Search Options"
56
- msgstr "Настройки плагина Relevanssi"
57
-
58
- #: lib/interface.php:86
59
- msgid "User Searches"
60
- msgstr "История поиска"
61
-
62
- #: lib/interface.php:88
63
- msgid "Relevanssi User Searches"
64
- msgstr "Поисковые запросы"
65
-
66
- #: lib/interface.php:335
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>Слова %d из %d добавлены в черный "
73
- "список!</p></div>"
74
-
75
- #: lib/interface.php:342
76
- #, php-format
77
- msgid ""
78
- "<div id='message' class='updated fade'><p>Term '%s' added to stopwords!</p></"
79
- "div>"
80
- msgstr ""
81
- "<div id='message' class='updated fade'><p>Слово '%s' добавлено в чёрный "
82
- "список!</p></div>"
83
-
84
- #: lib/interface.php:345
85
- #, php-format
86
- msgid ""
87
- "<div id='message' class='updated fade'><p>Couldn't add term '%s' to "
88
- "stopwords!</p></div>"
89
- msgstr ""
90
- "<div id='message' class='updated fade'><p>Не удалось добавить слово '%s' в "
91
- "черный список!</p></div>"
92
-
93
- #: lib/interface.php:374
94
- msgid ""
95
- "<div id='message' class='updated fade'><p>Stopwords removed! Remember to re-"
96
- "index.</p></div>"
97
- msgstr ""
98
- "<div id='message' class='updated fade'><p>Черный список очищен. Не забудьте "
99
- "выполнить переиндексацию!</p></div>"
100
-
101
- #: lib/interface.php:384
102
- #, php-format
103
- msgid ""
104
- "<div id='message' class='updated fade'><p>Term '%s' removed from stopwords! "
105
- "Re-index to get it back to index.</p></div>"
106
- msgstr ""
107
- "<div id='message' class='updated fade'><p>Слово '%s' удалено из черного "
108
- "списка! Выполните переиндексацию, чтобы включить его обратно в поиск.</p></"
109
- "div>"
110
-
111
- #: lib/interface.php:387
112
- #, php-format
113
- msgid ""
114
- "<div id='message' class='updated fade'><p>Couldn't remove term '%s' from "
115
- "stopwords!</p></div>"
116
- msgstr ""
117
- "<div id='message' class='updated fade'><p>Не удалось удалить слово '%s' из "
118
- "черного списка!</p></div>"
119
-
120
- #: lib/interface.php:398
121
- msgid "25 most common words in the index"
122
- msgstr "25 самых частых слов в индексе"
123
-
124
- #: lib/interface.php:400
125
- msgid ""
126
- "These words are excellent stopword material. A word that appears in most of "
127
- "the posts in the database is quite pointless when searching. This is also an "
128
- "easy way to create a completely new stopword list, if one isn't available in "
129
- "your language. Click the icon after the word to add the word to the stopword "
130
- "list. The word will also be removed from the index, so rebuilding the index "
131
- "is not necessary."
132
- msgstr ""
133
- "Эти слова необходимо поместить в черный список, так как они не несут "
134
- "смысловой нагрузки при поиске (частицы, союзы, предлоги и тому подобное). "
135
- "Кликните на иконку рядом с выбранным словом, чтобы добавить его в черный "
136
- "список. Переиндексацию при этом делать нет необходимости."
137
-
138
- #: lib/interface.php:426
139
- msgid "Add to stopwords"
140
- msgstr "Добавить в черный список"
141
-
142
- #: lib/interface.php:437
143
- msgid "Total Searches"
144
- msgstr "Общая статистика"
145
-
146
- #: lib/interface.php:440
147
- msgid "Totals"
148
- msgstr "Всего"
149
-
150
- #: lib/interface.php:445
151
- msgid "Common Queries"
152
- msgstr "Частые запросы"
153
-
154
- #: lib/interface.php:447
155
- msgid ""
156
- "Here you can see the 20 most common user search queries, how many times "
157
- "those \n"
158
- "\t\tqueries were made and how many results were found for those queries."
159
- msgstr ""
160
- "Здесь выведен список из 20 наиболее частых запросов пользователей. Первая "
161
- "колонка: поисковый запрос. Вторая колонка: сколько раз использовали данный "
162
- "поисковый запрос. Третья колонка: количество результатов поиска по этому "
163
- "поисковому запросу."
164
-
165
- #: lib/interface.php:453 lib/interface.php:469 lib/interface.php:501
166
- msgid "Today and yesterday"
167
- msgstr "Сегодня и вчера"
168
-
169
- #: lib/interface.php:457 lib/interface.php:473 lib/interface.php:502
170
- msgid "Last 7 days"
171
- msgstr "За последние 7 дней"
172
-
173
- #: lib/interface.php:461 lib/interface.php:477 lib/interface.php:503
174
- msgid "Last 30 days"
175
- msgstr "За последние 30 дней"
176
-
177
- #: lib/interface.php:466
178
- msgid "Unsuccessful Queries"
179
- msgstr "Неудачные запросы"
180
-
181
- #: lib/interface.php:484
182
- msgid "Reset Logs"
183
- msgstr "Обнуление логов"
184
-
185
- #: lib/interface.php:487
186
- #, php-format
187
- msgid "To reset the logs, type \"reset\" into the box here %s and click %s"
188
- msgstr "Чтобы обнулить логи наберите слово \"reset\" в этом поле: %s %s"
189
-
190
- #: lib/interface.php:504
191
- msgid "Forever"
192
- msgstr "За все время"
193
-
194
- #: lib/interface.php:506
195
- msgid "When"
196
- msgstr "Когда"
197
-
198
- #: lib/interface.php:506
199
- msgid "Searches"
200
- msgstr "Поиски"
201
-
202
- #: lib/interface.php:536
203
- msgid "Query"
204
- msgstr "Запрос"
205
-
206
- #: lib/interface.php:536
207
- msgid "Hits"
208
- msgstr "Найдено"
209
-
210
- #: lib/interface.php:846 lib/interface.php:891
211
- msgid "Basic options"
212
- msgstr "Основные настройки"
213
-
214
- #: lib/interface.php:847 lib/interface.php:957
215
- msgid "Weights"
216
- msgstr "Важность"
217
-
218
- #: lib/interface.php:848 lib/interface.php:1012
219
- msgid "Logs"
220
- msgstr "Логи"
221
-
222
- #: lib/interface.php:849 lib/interface.php:1041
223
- msgid "Exclusions and restrictions"
224
- msgstr "Исключения и ограничения"
225
-
226
- #: lib/interface.php:850
227
- msgid "Custom excerpts"
228
- msgstr "Свои цитаты"
229
-
230
- #: lib/interface.php:851
231
- msgid "Highlighting search results"
232
- msgstr "Подсветка результатов поиска"
233
-
234
- #: lib/interface.php:852 lib/interface.php:1187
235
- msgid "Indexing options"
236
- msgstr "Настройки индексирования"
237
-
238
- #: lib/interface.php:853 lib/interface.php:1335
239
- msgid "Caching"
240
- msgstr "Кэширование"
241
-
242
- #: lib/interface.php:854 lib/interface.php:1358
243
- msgid "Synonyms"
244
- msgstr "Синонимы"
245
-
246
- #: lib/interface.php:855 lib/interface.php:1366
247
- msgid "Stopwords"
248
- msgstr "Черный список"
249
-
250
- #: lib/interface.php:858
251
- msgid "Import/export options"
252
- msgstr "Импорт/Экспорт настроек"
253
-
254
- #: lib/interface.php:861
255
- msgid "Buy Relevanssi Premium"
256
- msgstr "Купить Relevanssi Premium"
257
-
258
- #: lib/interface.php:866
259
- msgid "Quick tools"
260
- msgstr "Быстрый старт"
261
-
262
- #: lib/interface.php:868
263
- msgid "Save options"
264
- msgstr "Сохранить настройки"
265
-
266
- #: lib/interface.php:869
267
- msgid "Build the index"
268
- msgstr "Создать индекс"
269
-
270
- #: lib/interface.php:870 lib/interface.php:1333
271
- msgid "Continue indexing"
272
- msgstr "Продолжить индексирование"
273
-
274
- #: lib/interface.php:870
275
- msgid "add"
276
- msgstr "добавить"
277
-
278
- #: lib/interface.php:870
279
- msgid "documents."
280
- msgstr "документ(ов)."
281
-
282
- #: lib/interface.php:874
283
- msgid ""
284
- "WARNING: You've chosen no post types to index. Nothing will be indexed. <a "
285
- "href='#indexing'>Choose some post types to index</a>."
286
- msgstr ""
287
- "ВНИМАНИЕ: Вы не выбрали ни один тип записей для включения в поисковый "
288
- "индекс, поэтому нечего индексировать. <a href='#indexing'>Выбрать типы "
289
- "записей для включения в индекс</a>."
290
-
291
- #: lib/interface.php:878
292
- msgid ""
293
- "Use 'Build the index' to build the index with current <a "
294
- "href='#indexing'>indexing options</a>. If you can't finish indexing with one "
295
- "go, use 'Continue indexing' to finish the job. You can change the number of "
296
- "documents to add until you find the largest amount you can add with one go. "
297
- "See 'State of the Index' below to find out how many documents actually go "
298
- "into the index."
299
- msgstr ""
300
- "Используйте кнопку <strong>Создать индекс</strong> для построения поискового "
301
- "индекса на основе выбранных <a href='#indexing'>настроек индексирования</a>. "
302
- "Если индексирование не будет завершено за один проход, то нажмите кнопку "
303
- "<strong>Продолжить индексирование</strong> для завершения процесса. Вы "
304
- "можете самостоятельно контролировать число документов, обрабатываемых за "
305
- "один раз, указав нужное значение в текстовом поле. <strong>Состояние "
306
- "индекса</strong> показывает, сколько документов уже проиндексировано."
307
-
308
- #: lib/interface.php:880
309
- msgid ""
310
- "If Relevanssi doesn't index anything and you have upgraded from a 2.x "
311
- "version, it's likely the changes in\n"
312
- "\tthe database structure haven't gone through in the upgrade. In that case "
313
- "all you need to do is to deactivate the\n"
314
- "\tplugin and then activate it again."
315
- msgstr ""
316
- "При апгрейде с версий 2.x плагина вам необходимо деактивировать и заново "
317
- "активировать плагин. В противном случае, плагин не сможет построить "
318
- "поисковый индекс."
319
-
320
- #: lib/interface.php:884
321
- msgid "State of the Index"
322
- msgstr "Состояние индекса"
323
-
324
- #: lib/interface.php:886
325
- msgid "Documents in the index"
326
- msgstr "Документов в индексе"
327
-
328
- #: lib/interface.php:887
329
- msgid "Terms in the index"
330
- msgstr "Слов в индексе"
331
-
332
- #: lib/interface.php:888
333
- msgid "Highest post ID indexed"
334
- msgstr "ID последней проиндексированной записи"
335
-
336
- #: lib/interface.php:897
337
- msgid "Use search for admin:"
338
- msgstr "Админ. панель"
339
-
340
- #: lib/interface.php:899
341
- msgid "If checked, Relevanssi will be used for searches in the admin interface"
342
- msgstr ""
343
- "Если выбрано, то Relevanssi заменит собой стандартный поиск в админ. панели."
344
-
345
- #: lib/interface.php:903
346
- msgid "Default operator for the search?"
347
- msgstr "Как обрабатывать поисковый запрос?"
348
-
349
- #: lib/interface.php:905
350
- msgid "AND - require all terms"
351
- msgstr "И - искать все слова"
352
-
353
- #: lib/interface.php:906
354
- msgid "OR - any term present is enough"
355
- msgstr "ИЛИ - достаточно присутствия любого слова"
356
-
357
- #: lib/interface.php:908
358
- msgid ""
359
- "If you choose AND and the search finds no matches, it will automatically do "
360
- "an OR search."
361
- msgstr ""
362
- "Если поиск с условием \"И\" не даст результата, то автоматически будет "
363
- "произведен поиск с условием \"ИЛИ\"."
364
-
365
- #: lib/interface.php:912
366
- msgid "Disable OR fallback:"
367
- msgstr "Отключить замену на ИЛИ:"
368
-
369
- #: lib/interface.php:914
370
- msgid ""
371
- "If you don't want Relevanssi to fall back to OR search when AND search gets "
372
- "no hits, check this option. For most cases, leave this one unchecked."
373
- msgstr ""
374
- "Если поиск с оператором \"И\" не даст результатов, то плагин не будет "
375
- "производить поиск с оператором \"ИЛИ\"."
376
-
377
- #: lib/interface.php:918
378
- msgid "Default order for results:"
379
- msgstr "Сортировка результатов:"
380
-
381
- #: lib/interface.php:920
382
- msgid "Relevance (highly recommended)"
383
- msgstr "По релевантности (рекомендуется)"
384
-
385
- #: lib/interface.php:921
386
- msgid "Post date"
387
- msgstr "По дате публикации"
388
-
389
- #: lib/interface.php:923
390
- msgid ""
391
- "If you want date-based results, see the recent post bonus in the Weights "
392
- "section."
393
- msgstr ""
394
- "Если вы хотите, чтобы в результатах поиска приоритет отдавался новым "
395
- "статьям, то задайте им нужный вес в секции <a href='#weights'>Важность</a> "
396
- "(только в Premium версии плагина)."
397
-
398
- #: lib/interface.php:927
399
- msgid "When to use fuzzy matching?"
400
- msgstr "Когда использовать нечеткое соответствие?"
401
-
402
- #: lib/interface.php:929
403
- msgid "When straight search gets no hits"
404
- msgstr "Когда точные совпадения не найдены"
405
-
406
- #: lib/interface.php:930
407
- msgid "Always"
408
- msgstr "Всегда"
409
-
410
- #: lib/interface.php:931
411
- msgid "Don't use fuzzy search"
412
- msgstr "Не использовать"
413
-
414
- #: lib/interface.php:933
415
- msgid ""
416
- "Straight search matches just the term. Fuzzy search matches everything that "
417
- "begins or ends with the search term."
418
- msgstr ""
419
- "Точное соответствие проверяет слово целиком, а нечеткое соответствие ищет "
420
- "совпадения в начале и конце слов."
421
-
422
- #: lib/interface.php:941
423
- msgid "Limit searches:"
424
- msgstr "Ограничение результатов:"
425
-
426
- #: lib/interface.php:943
427
- msgid ""
428
- "If this option is checked, Relevanssi will limit search results to at most "
429
- "500 results per term. This will improve performance, but may cause some "
430
- "relevant documents to go unfound. However, Relevanssi tries to prioritize "
431
- "the most relevant documents. <strong>This does not work well when sorting "
432
- "results by date.</strong> The throttle can end up cutting off recent posts "
433
- "to favour more relevant posts."
434
- msgstr ""
435
- "При включении данной опции плагин не будет искать более 500 результатов на "
436
- "один поисковый запрос. Включение данной опции улучшает производительность, "
437
- "но часть релевантных документов может быть упущена."
438
-
439
- #: lib/interface.php:947
440
- msgid "Limit:"
441
- msgstr "Лимит:"
442
-
443
- #: lib/interface.php:949
444
- msgid ""
445
- "For better performance, adjust the limit to a smaller number. Adjusting the "
446
- "limit to 100 - or even lower - should be safe for good results, and might "
447
- "bring a boost in search speed."
448
- msgstr ""
449
- "Чем меньше число, тем выше производительность поиска. При лимите в 100 (или "
450
- "даже меньше) результатов поиска можно сохранить приемлимые результаты выдачи "
451
- "при хорошей скорости поиска."
452
-
453
- #: lib/interface.php:959
454
- msgid ""
455
- "These values affect the weights of the documents. These are all multipliers, "
456
- "so 1 means no change in weight, less than 1 means less weight, and more than "
457
- "1 means more weight. Setting something to zero makes that worthless. For "
458
- "example, if title weight is more than 1, words in titles are more "
459
- "significant than words elsewhere. If title weight is 0, words in titles "
460
- "won't make any difference to the search results."
461
- msgstr ""
462
- "В этом разделе вы можете указать вес (приоритет, важность) различным "
463
- "элементам сайта. Чем выше вес - тем значимей данный элемент и тем больше "
464
- "шансов у страницы с этим элементом оказаться среди первых результатов "
465
- "поиска. На практике это значит, что если в заголовке записи есть искомое "
466
- "слово, а у заголовка установлен вес в 5 единиц, то практически наверняка эта "
467
- "запись будет первой среди других результатов поиска (если, конечно, другие "
468
- "записи тоже не содержат в заголовке искомое слово)."
469
-
470
- #: lib/interface.php:964
471
- msgid "Element"
472
- msgstr "Элемент"
473
-
474
- #: lib/interface.php:965
475
- msgid "Weight"
476
- msgstr "Вес"
477
-
478
- #: lib/interface.php:966
479
- msgid "Default weight"
480
- msgstr "Вес по умолчанию"
481
-
482
- #: lib/interface.php:971
483
- msgid "Post titles"
484
- msgstr "Вес заголовков"
485
-
486
- #: lib/interface.php:983
487
- msgid "Comment text"
488
- msgstr "Вес комментариев"
489
-
490
- #: lib/interface.php:1004
491
- msgid "WPML compatibility"
492
- msgstr "WPML совместимость"
493
-
494
- #: lib/interface.php:1006
495
- msgid "Limit results to current language:"
496
- msgstr "Ограничить результаты для текущего языка:"
497
-
498
- #: lib/interface.php:1008
499
- msgid ""
500
- "If this option is checked, Relevanssi will only return results in the "
501
- "current active language. Otherwise results will include posts in every "
502
- "language."
503
- msgstr ""
504
- "Если опция включена, то Relevanssi будет возвращать результаты только для "
505
- "текущего языка блога."
506
-
507
- #: lib/interface.php:1014
508
- msgid "Keep a log of user queries:"
509
- msgstr "Записывать поисковые запросы пользователей:"
510
-
511
- #: lib/interface.php:1016
512
- msgid ""
513
- "If checked, Relevanssi will log user queries. The log appears in 'User "
514
- "searches' on the Dashboard admin menu."
515
- msgstr ""
516
- "Если опция включена, то Relevanssi будет записывать все поисковые запросы "
517
- "пользователей. Найти их можно будет по ссылке \"История поиска\" в разделе "
518
- "\"Консоль\" ."
519
-
520
- #: lib/interface.php:1020
521
- msgid "Log the user's IP with the queries:"
522
- msgstr "Записывать IP пользователей"
523
-
524
- #: lib/interface.php:1022
525
- msgid "If checked, Relevanssi will log user's IP-Adress with the queries."
526
- msgstr ""
527
- "Если опция включена, то Relevanssi будет записывать IP пользователей вместе "
528
- "с их поисковыми запросами."
529
-
530
- #: lib/interface.php:1026
531
- msgid "Don't log queries from these users:"
532
- msgstr "Не записывать поисковые запросы этих пользователей:"
533
-
534
- #: lib/interface.php:1028
535
- msgid ""
536
- "Comma-separated list of numeric user IDs or user login names that will not "
537
- "be logged."
538
- msgstr ""
539
- "Введите через запятую ID или логины пользователей, чьи запросы не надо "
540
- "записывать в журнал."
541
-
542
- #: lib/interface.php:1032
543
- msgid ""
544
- "If you enable logs, you can see what your users are searching for. You can "
545
- "prevent your own searches from getting in the logs with the omit feature."
546
- msgstr ""
547
- "Если вы включите запись поисковых запросов пользователей, то сможете "
548
- "увидеть, что они ищут на вашем сайте. Вы можете исключить из логов свои "
549
- "собственные поисковые запросы."
550
-
551
- #: lib/interface.php:1035
552
- msgid ""
553
- "If you enable logs, you can see what your users are searching for. Logs are "
554
- "also needed to use the 'Did you mean?' feature. You can prevent your own "
555
- "searches from getting in the logs with the omit feature."
556
- msgstr ""
557
- "Если вы включите запись поисковых запросов пользователей, то сможете "
558
- "увидеть, что они ищут на вашем сайте. Запись поисковых запросов также "
559
- "необходима для использования функции \"Возможно, вы имели в виду:\". Вы "
560
- "можете исключить из логов свои собственные поисковые запросы."
561
-
562
- #: lib/interface.php:1043
563
- msgid "Restrict search to these categories and tags:"
564
- msgstr "Искать только среди этих рубрик и меток:"
565
-
566
- #: lib/interface.php:1045
567
- msgid ""
568
- "Enter a comma-separated list of category and tag IDs to restrict search to "
569
- "those categories or tags. You can also use <code>&lt;input type='hidden' "
570
- "name='cats' value='list of cats and tags' /&gt;</code> in your search form. "
571
- "The input field will \toverrun this setting."
572
- msgstr ""
573
- "Введите через запятую ID рубрик и меток, чтобы поиск велся только по ним. "
574
-
575
- #: lib/interface.php:1049
576
- msgid "Exclude these categories and tags from search:"
577
- msgstr "Исключить из поиска эти рубрики и метки:"
578
-
579
- #: lib/interface.php:1051
580
- msgid ""
581
- "Enter a comma-separated list of category and tag IDs that are excluded from "
582
- "search results. You can exclude categories with the 'cat' input field by "
583
- "using negative values."
584
- msgstr ""
585
- "Введите через запятую ID рубрик и меток, которые необходимо исключить из "
586
- "результатов поиска. "
587
-
588
- #: lib/interface.php:1055
589
- msgid "Exclude these posts/pages from search:"
590
- msgstr "Исключить эти записи/страницы из поиска:"
591
-
592
- #: lib/interface.php:1059
593
- msgid ""
594
- "Enter a comma-separated list of post/page IDs that are excluded from search "
595
- "results. This only works here, you can't use the input field option "
596
- "(WordPress doesn't pass custom parameters there). You can also use a "
597
- "checkbox on post/page edit pages to remove posts from index."
598
- msgstr ""
599
- "Введите через запятую ID записей/страниц, которые необходимо исключить из "
600
- "результатов поиска. Также вы можете использовать для этого чекбокс на "
601
- "странице редактирования записи/страницы."
602
-
603
- #: lib/interface.php:1062
604
- msgid ""
605
- "Enter a comma-separated list of post/page IDs that are excluded from search "
606
- "results. This only works here, you can't use the input field option "
607
- "(WordPress doesn't pass custom parameters there)."
608
- msgstr ""
609
- "Введите через запятую ID записей/страниц, которые необходимо исключить из "
610
- "результатов поиска."
611
-
612
- #: lib/interface.php:1068
613
- msgid "Respect exclude_from_search for custom post types:"
614
- msgstr "Учитывать <i>exclude_from_search</i> в произвольных типах записей:"
615
-
616
- #: lib/interface.php:1070
617
- msgid ""
618
- "If checked, Relevanssi won't display posts of custom post types that have "
619
- "'exclude_from_search' set to true. If not checked, Relevanssi will display "
620
- "anything that is indexed."
621
- msgstr ""
622
- "Если опция включена, то Relevanssi не будет показывать записи произвольных "
623
- "типов, в которых значение 'exclude_from_search' равно true. Если опция "
624
- "отключена, то Relevanssi будет показывать все проиндексированные записи."
625
-
626
- #: lib/interface.php:1072
627
- msgid "Custom excerpts/snippets"
628
- msgstr "Свои цитаты/сниппеты "
629
-
630
- #: lib/interface.php:1074
631
- msgid "Create custom search result snippets:"
632
- msgstr "Создавать свои цитаты для результатов поиска:"
633
-
634
- #: lib/interface.php:1076
635
- msgid ""
636
- "If checked, Relevanssi will create excerpts that contain the search term "
637
- "hits. To make them work, make sure your search result template uses "
638
- "the_excerpt() to display post excerpts."
639
- msgstr ""
640
- "Если опция включена, то Relevanssi будет создавать свои цитаты, содержащие "
641
- "искомый запрос. Данная опция будет работать только, если в теме блога в "
642
- "файле search.php используется функция the_excerpt для вывода цитат записей."
643
-
644
- #: lib/interface.php:1078
645
- msgid ""
646
- "Note: Building custom excerpts can be slow. If you are not actually using "
647
- "the excerpts, make sure you disable the option."
648
- msgstr ""
649
- "Примечание: создание своих цитат может быть очень медленным. Если вы в своей "
650
- "теме блога не используете вывод цитат, то вам лучше отключить данную опцию."
651
-
652
- #: lib/interface.php:1080
653
- msgid "Length of the snippet:"
654
- msgstr "Длина цитаты:"
655
-
656
- #: lib/interface.php:1083
657
- msgid "characters"
658
- msgstr "символов"
659
-
660
- #: lib/interface.php:1084
661
- msgid "words"
662
- msgstr "слов"
663
-
664
- #: lib/interface.php:1086
665
- msgid "This must be an integer."
666
- msgstr "Значение должно быть целым числом."
667
-
668
- #: lib/interface.php:1090
669
- msgid "Allowable tags in excerpts:"
670
- msgstr "Разрешенные теги:"
671
-
672
- #: lib/interface.php:1093
673
- msgid ""
674
- "List all tags you want to allow in excerpts, without any whitespace. For "
675
- "example: '&lt;p&gt;&lt;a&gt;&lt;strong&gt;'."
676
- msgstr ""
677
- "Список тегов, которые не будут вырезаться парсером из цитат. Указывать без "
678
- "пробелов и запятых, например: '&lt;p&gt;&lt;a&gt;&lt;strong&gt;'."
679
-
680
- #: lib/interface.php:1097
681
- msgid "Show breakdown of search hits in excerpts:"
682
- msgstr "Показывать выдержку с числом совпадений: "
683
-
684
- #: lib/interface.php:1099
685
- msgid ""
686
- "Check this to show more information on where the search hits were made. "
687
- "Requires custom snippets to work."
688
- msgstr ""
689
- "Включите эту опцию, чтобы вывести в своей цитате выдержку с числом поисковых "
690
- "совпадений."
691
-
692
- #: lib/interface.php:1103
693
- msgid "The breakdown format:"
694
- msgstr "Шаблон выдержки:"
695
-
696
- #: lib/interface.php:1105
697
- msgid ""
698
- "Use %body%, %title%, %tags% and %comments% to display the number of hits (in "
699
- "different parts of the post), %total% for total hits, %score% to display the "
700
- "document weight and %terms% to show how many hits each search term got. No "
701
- "double quotes (\") allowed!"
702
- msgstr ""
703
- "Используйте %body%, %title%, %tags% и %comments% для вывода числа поисковых "
704
- "совпадений (в различных частях записи), %total% для общего числа поисковых "
705
- "совпадений, %score% для отображения веса элемента и %terms% для вывода числа "
706
- "переходов на каждое поисковое слово. Нельзя использовать кавычки вида "
707
- "\" (знаки дюйма)!"
708
-
709
- #: lib/interface.php:1107
710
- msgid "Search hit highlighting"
711
- msgstr "Подсветка совпадений в результатах поиска"
712
-
713
- #: lib/interface.php:1109
714
- msgid "First, choose the type of highlighting used:"
715
- msgstr "Сначала выберите используемый тип подсветки:"
716
-
717
- #: lib/interface.php:1112
718
- msgid "Highlight query terms in search results:"
719
- msgstr "Тип подсветки:"
720
-
721
- #: lib/interface.php:1114
722
- msgid "No highlighting"
723
- msgstr "Без подсветки"
724
-
725
- #: lib/interface.php:1118
726
- msgid "Text color"
727
- msgstr "Цвет текста"
728
-
729
- #: lib/interface.php:1119
730
- msgid "Background color"
731
- msgstr "Цвет фона"
732
-
733
- #: lib/interface.php:1120
734
- msgid "CSS Style"
735
- msgstr "Стиль CSS"
736
-
737
- #: lib/interface.php:1121
738
- msgid "CSS Class"
739
- msgstr "Класс CSS"
740
-
741
- #: lib/interface.php:1123
742
- msgid "Highlighting isn't available unless you use custom snippets"
743
- msgstr ""
744
- "Подсветка в тексте цитат будет работать только при использовании своих цитат."
745
-
746
- #: lib/interface.php:1127
747
- msgid "Highlight query terms in result titles too:"
748
- msgstr "Подсвечивать совпадения в заголовках записей:"
749
-
750
- #: lib/interface.php:1133
751
- msgid "Highlight query terms in documents from local searches:"
752
- msgstr "Подсвечивать совпадения в записях:"
753
-
754
- #: lib/interface.php:1135
755
- msgid ""
756
- "Highlights hits when user opens the post from search results. This is based "
757
- "on HTTP referrer, so if that's blocked, there'll be no highlights."
758
- msgstr ""
759
- "Подсвечивать совпадения, если пользователь открывает запись со страницы с "
760
- "результатами поиска. Не будет работать, если передача HTTP referrer у "
761
- "пользователя запрещена."
762
-
763
- #: lib/interface.php:1141
764
- msgid "Highlight query terms in comments:"
765
- msgstr "Подсвечивать совпадения в комментариях:"
766
-
767
- #: lib/interface.php:1143
768
- msgid ""
769
- "Highlights hits in comments when user opens the post from search results."
770
- msgstr ""
771
- "Подсвечивать совпадения в комментариях, если пользователь открывает запись "
772
- "со страницы с результатами поиска. Не будет работать, если передача HTTP "
773
- "referrer у пользователя запрещена."
774
-
775
- #: lib/interface.php:1147
776
- msgid "Uncheck this if you use non-ASCII characters:"
777
- msgstr "Снимите галку, если вы используете не ASCII символы."
778
-
779
- #: lib/interface.php:1149
780
- msgid ""
781
- "If you use non-ASCII characters (like Cyrillic alphabet) and the highlights "
782
- "don't work, uncheck this option to make highlights work."
783
- msgstr "Для русского языка отключение данной опции обязательно!"
784
-
785
- #: lib/interface.php:1154
786
- msgid "Then adjust the settings for your chosen type:"
787
- msgstr "Теперь укажите параметры выбранного типа подсветки:"
788
-
789
- #: lib/interface.php:1158
790
- msgid "Text color for highlights:"
791
- msgstr "Цвет текста для подсветки:"
792
-
793
- #: lib/interface.php:1160 lib/interface.php:1166
794
- msgid "Use HTML color codes (#rgb or #rrggbb)"
795
- msgstr "Используйте цвета в кодах HTML (#rgb или #rrggbb)"
796
-
797
- #: lib/interface.php:1164
798
- msgid "Background color for highlights:"
799
- msgstr "Цвет фона подсветки:"
800
-
801
- #: lib/interface.php:1170
802
- msgid "CSS style for highlights:"
803
- msgstr "Стиль CSS для подсветки:"
804
-
805
- #: lib/interface.php:1172
806
- msgid ""
807
- "You can use any CSS styling here, style will be inserted with a &lt;span&gt;"
808
- msgstr ""
809
- "Вы можете использовать любую CSS-стилизацию. Стиль будет обернут с помощью "
810
- "тегов &lt;span&gt;."
811
-
812
- #: lib/interface.php:1176
813
- msgid "CSS class for highlights:"
814
- msgstr "Класс CSS для подсветки:"
815
-
816
- #: lib/interface.php:1178
817
- msgid ""
818
- "Name a class here, search results will be wrapped in a &lt;span&gt; with the "
819
- "class"
820
- msgstr ""
821
- "Укажите имя класса CSS для элемента &lt;span&gt;, который будет "
822
- "использоваться для подсветки результата поиска."
823
-
824
- #: lib/interface.php:1185 lib/interface.php:1364
825
- msgid "Save the options"
826
- msgstr "Сохранить настройки"
827
-
828
- #: lib/interface.php:1189
829
- msgid "Choose post types to index:"
830
- msgstr "Выберите типы записей для индексирования:"
831
-
832
- #: lib/interface.php:1194
833
- msgid "Type"
834
- msgstr "Тип"
835
-
836
- #: lib/interface.php:1195 lib/interface.php:1241
837
- msgid "Index"
838
- msgstr "Индекс"
839
-
840
- #: lib/interface.php:1196 lib/interface.php:1242
841
- msgid "Public?"
842
- msgstr "Открыт?"
843
-
844
- #: lib/interface.php:1213 lib/interface.php:1256
845
- #, php-format
846
- msgid "%s"
847
- msgstr "%s"
848
-
849
- #: lib/interface.php:1214 lib/interface.php:1257
850
- msgid "yes"
851
- msgstr "да"
852
-
853
- #: lib/interface.php:1214 lib/interface.php:1257
854
- msgid "no"
855
- msgstr "нет"
856
-
857
- #: lib/interface.php:1235
858
- msgid "Choose taxonomies to index:"
859
- msgstr "Выберите таксономии для индексирования:"
860
-
861
- #: lib/interface.php:1240
862
- msgid "Taxonomy"
863
- msgstr "Таксономия"
864
-
865
- #: lib/interface.php:1277
866
- msgid ""
867
- "If you check a taxonomy here, the terms for that taxonomy are indexed with "
868
- "the posts. If you for example choose \"post_tag\", searching for tags will "
869
- "find all posts that have the tag."
870
- msgstr ""
871
- "Если вы выбрали таксономии, то термины этих таксономий будут "
872
- "проиндексированы вместе с записями. Например, при поиске \"метка_записи\" "
873
- "будут найдены все записи с данной меткой."
874
-
875
- #: lib/interface.php:1281
876
- msgid "Minimum word length to index"
877
- msgstr "Минимальная длина слов для включения в индекс"
878
-
879
- #: lib/interface.php:1283
880
- msgid "Words shorter than this number will not be indexed."
881
- msgstr ""
882
- "Слова, которые короче указанного значения будут проигнорированы при "
883
- "построении индекса. Для русского языка (UTF-8) необходимо увеличить данное "
884
- "число в 2 раза (из-за особенностей кодировки)."
885
-
886
- #: lib/interface.php:1289
887
- msgid "Expand shortcodes in post content:"
888
- msgstr "Выполнять шорткоды в тексте записей:"
889
-
890
- #: lib/interface.php:1291
891
- msgid ""
892
- "If checked, Relevanssi will expand shortcodes in post content before "
893
- "indexing. Otherwise shortcodes will be stripped. If you use shortcodes to "
894
- "include dynamic content, Relevanssi will not keep the index updated, the "
895
- "index will reflect the status of the shortcode content at the moment of "
896
- "indexing."
897
- msgstr ""
898
- "Если опция включена, то Relevanssi будет выполнять выполнять шорткоды в "
899
- "тексте записей перед тем, как провести индексирование. В противном случае "
900
- "содержимое шорткодов будет исключено из поискового индекса. Если вы "
901
- "используете шорткоды с динамическим контентом, то Relevanssi сохранит в "
902
- "индексе только ту информацию, которая была там в момент индексирования."
903
-
904
- #: lib/interface.php:1297
905
- msgid "Index and search your posts' authors:"
906
- msgstr "Индексировать и искать авторов:"
907
-
908
- #: lib/interface.php:1299
909
- msgid ""
910
- "If checked, Relevanssi will also index and search the authors of your posts. "
911
- "Author display name will be indexed. Remember to rebuild the index if you "
912
- "change this option!"
913
- msgstr ""
914
- "Если опция включена, то Relevanssi будет индексировать и искать авторов "
915
- "записей (будут проиндексированы отображаемые имена авторов). Не забудьте "
916
- "произвести переиндексацию при изменении данной опции!"
917
-
918
- #: lib/interface.php:1303
919
- msgid "Index and search post excerpts:"
920
- msgstr "Индексировать и искать в цитатах:"
921
-
922
- #: lib/interface.php:1305
923
- msgid ""
924
- "If checked, Relevanssi will also index and search the excerpts of your posts."
925
- "Remember to rebuild the index if you change this option!"
926
- msgstr ""
927
- "Если опция включена, то Relevanssi будет индексировать и искать в цитатах "
928
- "записей. Не забудьте произвести переиндексацию при изменении данной опции!"
929
-
930
- #: lib/interface.php:1309
931
- msgid "Index and search these comments:"
932
- msgstr "Индексировать и искать в комментариях:"
933
-
934
- #: lib/interface.php:1311
935
- msgid "none"
936
- msgstr "нет"
937
-
938
- #: lib/interface.php:1312
939
- msgid "normal"
940
- msgstr "обычно"
941
-
942
- #: lib/interface.php:1313
943
- msgid "all"
944
- msgstr "все"
945
-
946
- #: lib/interface.php:1315
947
- msgid ""
948
- "Relevanssi will index and search ALL (all comments including track- &amp; "
949
- "pingbacks and custom comment types), NONE (no comments) or NORMAL (manually "
950
- "posted comments on your blog).<br />Remember to rebuild the index if you "
951
- "change this option!"
952
- msgstr ""
953
- "Relevanssi будет индексировать и искать по комментариям в зависимости от "
954
- "выбранной опции: НЕТ (не искать), ОБЫЧНО (учитываются только комментарии от "
955
- "пользователей), ВСЕ (учитываются все комментарии, включая обратные ссылки и "
956
- "уведомления). Не забудьте произвести переиндексацию при изменении данной "
957
- "опции!"
958
-
959
- #: lib/interface.php:1319
960
- msgid "Custom fields to index:"
961
- msgstr "Произвольные поля для индексирования:"
962
-
963
- #: lib/interface.php:1321
964
- msgid ""
965
- "A comma-separated list of custom fields to include in the index. Set to "
966
- "'visible' to index all visible custom fields and to 'all' to index all "
967
- "custom fields, also those starting with a '_' character."
968
- msgstr ""
969
- "Перечислите через запятую произвольные поля, которые необходимо "
970
- "проиндексировать. Введите 'visible' для индексирования всех видимых "
971
- "произвольных полей или 'all' - для индексирования всех полей, включая "
972
- "невидимые (начинающиеся с символа '_')."
973
-
974
- #: lib/interface.php:1331
975
- msgid "Save indexing options and build the index"
976
- msgstr "Сохранить настройки и создать индекс"
977
-
978
- #: lib/interface.php:1337
979
- msgid ""
980
- "Warning: In many cases caching is not useful, and in some cases can be even "
981
- "harmful. Do not\n"
982
- "\tactivate cache unless you have a good reason to do so."
983
- msgstr ""
984
- "Внимание: в большинстве случаев кэширование может работать некорректно. Не "
985
- "используйте его без серьезных на то причин."
986
-
987
- #: lib/interface.php:1340
988
- msgid "Enable result and excerpt caching:"
989
- msgstr "Включить кэширование:"
990
-
991
- #: lib/interface.php:1342
992
- msgid "If checked, Relevanssi will cache search results and post excerpts."
993
- msgstr ""
994
- "Если опция включена, то Relevanssi будет будет кэшировать результаты "
995
- "поисковых запросов."
996
-
997
- #: lib/interface.php:1346
998
- msgid "Cache expire (in seconds):"
999
- msgstr "Время жизни кэша (в секундах):"
1000
-
1001
- #: lib/interface.php:1348
1002
- msgid "86400 = day"
1003
- msgstr "86400 = день"
1004
-
1005
- #: lib/interface.php:1352
1006
- msgid "Entries in the cache"
1007
- msgstr "Записей в кэше"
1008
-
1009
- #: lib/interface.php:1356
1010
- msgid "Clear all caches"
1011
- msgstr "Очистить кэш"
1012
-
1013
- #: lib/interface.php:1362
1014
- msgid ""
1015
- "Add synonyms here in 'key = value' format. When searching with the OR "
1016
- "operator, any search of 'key' will be expanded to include 'value' as well. "
1017
- "Using phrases is possible. The key-value pairs work in one direction only, "
1018
- "but you can of course repeat the same pair reversed."
1019
- msgstr ""
1020
- "Добавьте синонимы в формате 'ключ = значение' (один на строку). При поиске с "
1021
- "условием 'ИЛИ' результаты поиска будут учитывать значение ключа. Можно "
1022
- "использовать фразы. Пары \"ключ-значение\" работают только в одну сторону, "
1023
- "поэтому не забывайте (при необходимости) добавлять обратные пары ('значение-"
1024
- "ключ')."
1025
-
1026
- #: lib/interface.php:1385
1027
- msgid ""
1028
- "<p>Enter a word here to add it to the list of stopwords. The word will "
1029
- "automatically be removed from the index, so re-indexing is not necessary. "
1030
- "You can enter many words at the same time, separate words with commas.</p>"
1031
- msgstr ""
1032
- "<p>Введите слово, чтобы добавить его в черный список. Несколько слов "
1033
- "необходимо разделить запятыми. Из поискового индекса они будут исключены "
1034
- "автоматически и проводить переиндексирование нет нужды.</p>"
1035
-
1036
- #: lib/interface.php:1387
1037
- msgid "Stopword(s) to add: "
1038
- msgstr "Добавить в черный список:"
1039
-
1040
- #: lib/interface.php:1388
1041
- msgid "Add"
1042
- msgstr "Добавить"
1043
-
1044
- #: lib/interface.php:1391
1045
- msgid ""
1046
- "<p>Here's a list of stopwords in the database. Click a word to remove it "
1047
- "from stopwords. Removing stopwords won't automatically return them to index, "
1048
- "so you need to re-index all posts after removing stopwords to get those "
1049
- "words back to index."
1050
- msgstr ""
1051
- "<p>Здесь указаны все слова, находящиеся в черном списке. Кликните на слово, "
1052
- "чтобы удалить его из черного списка. Удаление слов из черного списка не "
1053
- "означает, что оно автоматически вернется в индекс, а поэтому вам необходимо "
1054
- "будет произвести переиндексацию."
1055
-
1056
- #: lib/interface.php:1417
1057
- msgid "Remove all stopwords"
1058
- msgstr "Очистить черный список"
1059
-
1060
- #: lib/interface.php:1423
1061
- msgid ""
1062
- "Here's a list of stopwords you can use to export the stopwords to another "
1063
- "blog."
1064
- msgstr "Данный черный список можно использовать для экспорта в другой блог."
1065
-
1066
- #: lib/uninstall.php:39
1067
- msgid "Data wiped clean, you can now delete the plugin."
1068
- msgstr "Информация плагина была очищена, тперь вы можете удалить плагин."
1069
-
1070
- #~ msgid "Options updated!"
1071
- #~ msgstr "Ustawienia zostały zaktualizowane!"
1072
-
1073
- #~ msgid "API key:"
1074
- #~ msgstr "Klucz API:"
1075
-
1076
- #~ msgid ""
1077
- #~ "API key is required to use the automatic update feature. Get yours from "
1078
- #~ "Relevanssi.com."
1079
- #~ msgstr ""
1080
- #~ "Klucz API jest wymagany aby umożliwić automatyczne aktualizacje. Zdobądź "
1081
- #~ "go na stronie Relevanssi.com."
1082
-
1083
- #~ msgid "How to index internal links:"
1084
- #~ msgstr "Sposób indeksowania linków wewnętrznych:"
1085
-
1086
- #~ msgid "No special processing for internal links"
1087
- #~ msgstr "Bez specjalnego indeksowania linków wewnętrznych"
1088
-
1089
- #~ msgid "Index internal links for target documents only"
1090
- #~ msgstr "Indeksowanie linków wewnętrznych tylko dla dokumentów docelowych"
1091
-
1092
- #~ msgid "Index internal links for both target and source"
1093
- #~ msgstr ""
1094
- #~ "Indeksowanie linków wewnętrznych zarówno dla źródeł jak i dokumentów "
1095
- #~ "docelowych"
1096
-
1097
- #~ msgid ""
1098
- #~ "Internal link anchor tags can be indexed for target document (so the text "
1099
- #~ "will match the document the link points to), both target and source or "
1100
- #~ "source only (with no extra significance for the links). See Relevanssi "
1101
- #~ "Knowledge Base for more details. Changing this option requires reindexing."
1102
- #~ msgstr ""
1103
- #~ "Linki wewnętrzne mogą być indeksowane dla dokumentów docelowych (tak aby "
1104
- #~ "tekst pasował do dokumentu na który wskazuje), zarówno dla docelowyc jak "
1105
- #~ "i źródeł lub tylko dla źródeł (bez dodatkowego wpływu na linki). Zobacz "
1106
- #~ "bazę wiedzy Relevanssi aby dowiedzieć się więcej. Zmiana tego ustawienia "
1107
- #~ "wymaga ponownego indeksowania."
1108
-
1109
- #~ msgid "Hide Relevanssi on edit pages:"
1110
- #~ msgstr "Ukryj Relevanssi na stronach edycji:"
1111
-
1112
- #~ msgid ""
1113
- #~ "If you check this option, all Relevanssi features are removed from edit "
1114
- #~ "pages."
1115
- #~ msgstr ""
1116
- #~ "Jeśli zaznaczysz tę opcję, wszystkie funkcje Relevanssi zostaną usunięte "
1117
- #~ "z ekranów edycji."
1118
-
1119
- #~ msgid "Internal links"
1120
- #~ msgstr "Linki wewnętrzne"
1121
-
1122
- #~ msgid "Post type '%s':"
1123
- #~ msgstr "Typ wpisu '%s':"
1124
-
1125
- #~ msgid "Weight multiplier for new posts:"
1126
- #~ msgstr "Mnożnik wagi dla nowych wpisów:"
1127
-
1128
- #~ msgid "Assign bonus for posts newer than:"
1129
- #~ msgstr "Przyznaj bonus dla wpisów nowszych niż:"
1130
-
1131
- #~ msgid "days"
1132
- #~ msgstr "dni"
1133
-
1134
- #~ msgid ""
1135
- #~ "Posts newer than the day cutoff specified here will have their weight "
1136
- #~ "multiplied with the bonus above."
1137
- #~ msgstr ""
1138
- #~ "Wpisy nowsze niż określona tutaj liczba dni będą miały wagę pomnożoną "
1139
- #~ "przez podaną liczbę."
1140
-
1141
- #~ msgid "Don't show Relevanssi branding on the 'User Searches' screen:"
1142
- #~ msgstr ""
1143
- #~ "Nie wyświetlaj informacji o Relevanssi na ekranie 'Statystyk "
1144
- #~ "wyszukiwania':"
1145
-
1146
- #~ msgid "Highlight query terms in documents from external searches:"
1147
- #~ msgstr ""
1148
- #~ "Podświetl wyszukiwane frazy w dokumentach z zewnętrznych wyszukiwarek:"
1149
-
1150
- #~ msgid ""
1151
- #~ "Highlights hits when user arrives from external search. Currently "
1152
- #~ "supports Google, Bing, Ask, Yahoo and AOL Search."
1153
- #~ msgstr ""
1154
- #~ "Podświetl trafienia jeśli użytkownik pochodzi z zewnętrznych "
1155
- #~ "wyszukiwarek. Aktualnie wspierane są Google, Bing, Ask, Yahoo i AOL "
1156
- #~ "Search."
1157
-
1158
- #~ msgid "Thousands separator"
1159
- #~ msgstr "Separator liczb (tysięcy)"
1160
-
1161
- #~ msgid ""
1162
- #~ "If Relevanssi sees this character between numbers, it'll stick the "
1163
- #~ "numbers together no matter how the character would otherwise be handled. "
1164
- #~ "Especially useful if a space is used as a thousands separator."
1165
- #~ msgstr ""
1166
- #~ "Jeśli Relevanssi znajdzie ten znak między cyframi, zignoruje go i "
1167
- #~ "rozpozna całą liczbę. Jest to szczególnie przydatne gdy jako separator "
1168
- #~ "stosowana jest spacja."
1169
-
1170
- #~ msgid "Custom MySQL columns to index:"
1171
- #~ msgstr "Własne kolumny MySQL do zaindeksowania:"
1172
-
1173
- #~ msgid ""
1174
- #~ "A comma-separated list of wp_posts MySQL table columns to include in the "
1175
- #~ "index. Following columns are available: "
1176
- #~ msgstr ""
1177
- #~ "Oddzielona przecinkami lista kolumn MySQL z tabeli wp_posts, które mają "
1178
- #~ "być zaindeksowane. Dostępne są następujące kolumny:"
1179
-
1180
- #~ msgid "Index and search user profiles:"
1181
- #~ msgstr "Indeksowanie i przeszukiwanie profili użytkowników:"
1182
-
1183
- #~ msgid ""
1184
- #~ "If checked, Relevanssi will also index and search user profiles (first "
1185
- #~ "name, last name, display name and user description). Requires changes to "
1186
- #~ "search results template, see Relevanssi Knowledge Base."
1187
- #~ msgstr ""
1188
- #~ "Jeśli zostanie zaznaczone, Relevanssi będzie indeksować i przeszukiwać "
1189
- #~ "profile użytkowników (imię, nazwisko, wyświetlana nazwa i opis "
1190
- #~ "użytkownika). Wymaga to zmian w szablonie wyszukiwania (zobacz w bazie "
1191
- #~ "wiedzy Relevansii)."
1192
-
1193
- #~ msgid "Index subscriber profiles:"
1194
- #~ msgstr "Indeksowanie profili subskrybentów:"
1195
-
1196
- #~ msgid ""
1197
- #~ "If checked, Relevanssi will index subscriber profiles as well, otherwise "
1198
- #~ "only authors, editors, contributors and admins are indexed."
1199
- #~ msgstr ""
1200
- #~ "Jeśli zostanie zaznaczone, Relevanssi będzie indeksować także profile "
1201
- #~ "subskrybentów. W przeciwnym wypadku indeksowane będą tylko profile "
1202
- #~ "autorów, redaktorów, współpracowników i administratorów."
1203
-
1204
- #~ msgid "Extra user fields to index:"
1205
- #~ msgstr "Dodatkowe pola użytkowników do zaindeksowania:"
1206
-
1207
- #~ msgid ""
1208
- #~ "A comma-separated list of user profile field names (names of the database "
1209
- #~ "columns) to include in the index."
1210
- #~ msgstr ""
1211
- #~ "Oddzielona przecinkami lista nazw pól w profilach użytkownika (nazw "
1212
- #~ "kolumn w bazie danych), które mają być zaindeksowane."
1213
-
1214
- #~ msgid "Index and search taxonomy pages:"
1215
- #~ msgstr "Indeksowanie i przeszukiwanie stron taksonomii:"
1216
-
1217
- #~ msgid ""
1218
- #~ "If checked, Relevanssi will also index and search taxonomy pages "
1219
- #~ "(categories, tags, custom taxonomies)."
1220
- #~ msgstr ""
1221
- #~ "Jeśli zostanie zaznaczone, Relevanssi będzie indeksować i przeszukiwać "
1222
- #~ "także strony taksonomii (kategorii, tagów, własnych taksonomii)."
1223
-
1224
- #~ msgid "Taxonomy pages to index:"
1225
- #~ msgstr "Strony taksonomi do zaindeksowania:"
1226
-
1227
- #~ msgid ""
1228
- #~ "A comma-separated list of taxonomies to include in the taxonomy page "
1229
- #~ "index ('all' indexes all custom taxonomies. If you don't use 'all', "
1230
- #~ "remember to list 'category' and 'post_tag')."
1231
- #~ msgstr ""
1232
- #~ "Oddzielona przecinkami lista taksonomii, które mają być ujęte w indeksie "
1233
- #~ "stron taksonomii (wpisanie 'all' spowoduje zaindeksowanie wszystkich "
1234
- #~ "taksonomii. Jeśli nie użyjesz 'all' dodaj przynajmniej 'category' i "
1235
- #~ "'post_tag')."
1236
-
1237
- #~ msgid "Import or export options"
1238
- #~ msgstr "Importowanie i eksportowanie ustawień"
1239
-
1240
- #~ msgid ""
1241
- #~ "Here you find the current Relevanssi Premium options in a text format. "
1242
- #~ "Copy the contents of the text field to make a backup of your settings. "
1243
- #~ "You can also paste new settings here to change all settings at the same "
1244
- #~ "time. This is useful if you have default settings you want to use on "
1245
- #~ "every system."
1246
- #~ msgstr ""
1247
- #~ "Możesz tu znaleźć ustawienia Relevanssi Premium w formie tekstowej. "
1248
- #~ "Skopiuj zawartość tego pola aby utworzyć kopię zapasową ustawień. Możesz "
1249
- #~ "także wkleić tutaj nowe ustawienia aby je w prosty sposób zmienić. Jest "
1250
- #~ "to przydatne jeśli masz domyślne ustawienia, któe stosujesz na wielu "
1251
- #~ "stronach."
1252
-
1253
- #~ msgid "Import settings"
1254
- #~ msgstr "Importuj ustawienia"
1255
-
1256
- #~ msgid ""
1257
- #~ "Note! Make sure you've got correct settings from a right version of "
1258
- #~ "Relevanssi. Settings from a different version of Relevanssi may or may "
1259
- #~ "not work and may or may not mess your settings."
1260
- #~ msgstr ""
1261
- #~ "Uwaga! Upewnij się że używasz ustawień odpowiednich dla konkretnej wersji "
1262
- #~ "Relevansii. Ustawienia z wersji innej niż stosowana mogą nie działać i "
1263
- #~ "powodować problemy."
1264
-
1265
- #~ msgid "Thank you!"
1266
- #~ msgstr "Dziękujemy!"
1267
-
1268
- #~ msgid ""
1269
- #~ "Thank you for buying Relevanssi Premium! Your support makes it possible "
1270
- #~ "for me to keep working on this plugin."
1271
- #~ msgstr ""
1272
- #~ "Dziękujemy za wybranie Relevanssi Premium. Twoje wsparcie umożliwia "
1273
- #~ "dalsze prace nad tą wtyczką."
1274
-
1275
- #~ msgid ""
1276
- #~ "I can do custom hacks based on Relevanssi and other WordPress "
1277
- #~ "development. If you need someone to fix your WordPress, just ask me for a "
1278
- #~ "quote."
1279
- #~ msgstr ""
1280
- #~ "Mogę przygotować dowolną modyfikację opartą o Relevanssi i WordPress. "
1281
- #~ "Jeśli szukasz kogoś, kto popracowałby nad Twoją stroną, wyślij zapytanie."
1282
-
1283
- #~ msgid "Relevanssi on Facebook"
1284
- #~ msgstr "Relevanssi na Facebooku"
1285
-
1286
- #~ msgid "Check out the Relevanssi page on Facebook"
1287
- #~ msgstr "Sprawdź stronę Relevanssi na Facebooku"
1288
-
1289
- #~ msgid "for news and updates about your favourite plugin."
1290
- #~ msgstr ""
1291
- #~ "aby być na bierząco informowanym o aktualnościach i innych wydarzeniach "
1292
- #~ "związanych z Twoją ulubioną wtyczką."
1293
-
1294
- #~ msgid "Help and support"
1295
- #~ msgstr "Pomoc"
1296
-
1297
- #~ msgid "For Relevanssi support, see:"
1298
- #~ msgstr "Aby uzyskać pomoc, zobacz:"
1299
-
1300
- #~ msgid "Plugin support page"
1301
- #~ msgstr "Strona pomocy"
1302
-
1303
- #~ msgid "WordPress.org forum"
1304
- #~ msgstr "Forum na Wordpress.com"
1305
-
1306
- #~ msgid "Did you know this feature?"
1307
- #~ msgstr "Czy znałeś tę funkcję?"
1308
-
1309
- #~ msgid ""
1310
- #~ "Wrap the parts of the posts you don't want to include in the index in "
1311
- #~ "[noindex] shortcode."
1312
- #~ msgstr ""
1313
- #~ "Zaznacz fragmenty treści, których nie chcesz zaindeksować w skrót "
1314
- #~ "[noindex]."
1315
-
1316
- #~ msgid "Use the [search] shortcode to build easy links to search results."
1317
- #~ msgstr ""
1318
- #~ "Użyj skrótu [search] aby w prosty sposób utworzyć linki do wyników "
1319
- #~ "wyszukiwania."
1320
-
1321
- #~ msgid ""
1322
- #~ "Enable the English-language stemmer by adding this line in your functions."
1323
- #~ "php:"
1324
- #~ msgstr ""
1325
- #~ "Włącz odmiany zwrotów w języku angielskim dodają tę linię kodu do pliku "
1326
- #~ "functions.php:"
1327
-
1328
- #~ msgid "Boolean NOT"
1329
- #~ msgstr "Warunek boolean NOT"
1330
-
1331
- #~ msgid "To get results without particular word, use the minus operator"
1332
- #~ msgstr "Aby uzyskać wyniki bez określnoego zwrotu użyj operatora minus (-)"
1333
-
1334
- #~ msgid "cats -dogs"
1335
- #~ msgstr "koty-psy"
1336
-
1337
- #~ msgid "Boolean AND"
1338
- #~ msgstr "Warunek boolean AND"
1339
-
1340
- #~ msgid "To force a particular term in an OR search, use the plus operator"
1341
- #~ msgstr ""
1342
- #~ "Aby wymusić określony termin w wyszukiwaniu w trybie OR, użyj operatora "
1343
- #~ "plus (+)"
1344
-
1345
- #~ msgid "+cats dogs mice"
1346
- #~ msgstr "+koty psy myszy"
1347
-
1348
- #~ msgid ""
1349
- #~ "would require that all results include the term 'cats', and results "
1350
- #~ "including all three terms will be favoured. The plus operator has no "
1351
- #~ "effect in an AND search, where all terms have an implicit + before them."
1352
- #~ msgstr ""
1353
- #~ "będzie wymagać aby wszystkie wyniki zawierały zwrot 'cats' a wyniki "
1354
- #~ "zawierające każdy z tych trzech zwrotów będą faworyzowane. Operator plus "
1355
- #~ "nie ma żadnego działania w wyszukiwaniu w trybie OR, ponieważ wówczas "
1356
- #~ "wszystkie zwroty mają taki operator."
1357
-
1358
- #~ msgid "Relevanssi post controls"
1359
- #~ msgstr "Ustawienia wyszukiwania"
1360
-
1361
- #~ msgid "Exclude this post or page from the index."
1362
- #~ msgstr "Wyklucz ten wpis lub stronę z indeksowania i wyszukiwania"
1363
-
1364
- #~ msgid "Index and search your posts' tags:"
1365
- #~ msgstr "Indeksowanie i wyszukiwanie tagów:"
1366
-
1367
- #~ msgid ""
1368
- #~ "If checked, Relevanssi will also index and search the tags of your posts. "
1369
- #~ "Remember to rebuild the index if you change this option!"
1370
- #~ msgstr ""
1371
- #~ "Jeśli zostanie zaznaczone, Relevanssi będzie także indeksować i "
1372
- #~ "wyszukiwać tagów znajdujących się we wpisach. Pamiętaj o przebudowaniu "
1373
- #~ "indeksu, jeśli zmienisz te ustawienia."
1374
-
1375
- #~ msgid "Index and search your posts' categories:"
1376
- #~ msgstr "Indeksowanie i wyszukiwanie kategorii:"
1377
-
1378
- #~ msgid ""
1379
- #~ "If checked, Relevanssi will also index and search the categories of your "
1380
- #~ "posts. Category titles will pass through 'single_cat_title' filter. "
1381
- #~ "Remember to rebuild the index if you change this option!"
1382
- #~ msgstr ""
1383
- #~ "Jeśli zostanie zaznaczone, Relevanssi będzie także indeksować i "
1384
- #~ "wyszukiwać kategorie znajdujące się we wpisach. Tytuły kategorii będą "
1385
- #~ "przetwarzane z wykorzystaniem filtru single_cat_title'. Pamiętaj o "
1386
- #~ "przebudowaniu indeksu, jeśli zmienisz te ustawienia."
1387
-
1388
- #~ msgid ""
1389
- #~ "A comma-separated list of custom taxonomy names to include in the index."
1390
- #~ msgstr ""
1391
- #~ "Oddzielona przecinkami lista własnych taksonomii, które mają być "
1392
- #~ "uwzględnione w indeksie."
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
relevanssi.php CHANGED
@@ -1,11 +1,12 @@
1
  <?php
2
  /*
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.6.2.2
7
  Author: Mikko Saari
8
  Author URI: http://www.mikkosaari.fi/
 
9
  */
10
 
11
  /* Copyright 2017 Mikko Saari (email: mikko@mikkosaari.fi)
@@ -27,21 +28,22 @@ Author URI: http://www.mikkosaari.fi/
27
  */
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();
35
 
36
  define('RELEVANSSI_PREMIUM', false);
37
 
38
  add_filter('plugin_action_links_' . plugin_basename(__FILE__), 'relevanssi_action_links');
39
 
40
  global $relevanssi_variables;
 
41
 
42
  $relevanssi_variables['relevanssi_table'] = $wpdb->prefix . "relevanssi";
43
  $relevanssi_variables['stopword_table'] = $wpdb->prefix . "relevanssi_stopwords";
44
  $relevanssi_variables['log_table'] = $wpdb->prefix . "relevanssi_log";
 
 
45
  $relevanssi_variables['title_boost_default'] = 5;
46
  $relevanssi_variables['comment_boost_default'] = 0.75;
47
  $relevanssi_variables['post_type_weight_defaults']['post_tag'] = 0.75;
@@ -51,6 +53,7 @@ $relevanssi_variables['database_version'] = 5;
51
  $relevanssi_variables['file'] = __FILE__;
52
  $relevanssi_variables['plugin_dir'] = plugin_dir_path(__FILE__);
53
 
 
54
  require_once('lib/init.php');
55
  require_once('lib/interface.php');
56
  require_once('lib/indexing.php');
@@ -59,400 +62,4 @@ require_once('lib/search.php');
59
  require_once('lib/excerpts-highlights.php');
60
  require_once('lib/shortcodes.php');
61
  require_once('lib/common.php');
62
-
63
- function relevanssi_didyoumean($query, $pre, $post, $n = 5, $echo = true) {
64
- global $wpdb, $relevanssi_variables, $wp_query;
65
-
66
- $total_results = $wp_query->found_posts;
67
-
68
- if ($total_results > $n) return;
69
-
70
- $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";
71
- $q = apply_filters('relevanssi_didyoumean_query', $q);
72
-
73
- $data = $wpdb->get_results($q);
74
-
75
- $distance = -1;
76
- $closest = "";
77
-
78
- foreach ($data as $row) {
79
- if ($row->c < 2) break;
80
- $lev = levenshtein($query, $row->query);
81
-
82
- if ($lev < $distance || $distance < 0) {
83
- if ($row->a > 0) {
84
- $distance = $lev;
85
- $closest = $row->query;
86
- if ($lev == 1) break; // get the first with distance of 1 and go
87
- }
88
- }
89
- }
90
-
91
- $result = null;
92
- if ($distance > 0) {
93
- $url = get_bloginfo('url');
94
- $url = esc_attr(add_query_arg(array(
95
- 's' => urlencode($closest)
96
-
97
- ), $url ));
98
- $url = apply_filters('relevanssi_didyoumean_url', $url, $query, $closest);
99
- $closest = htmlspecialchars($closest);
100
- $result = apply_filters('relevanssi_didyoumean_suggestion', "$pre<a href='$url'>$closest</a>$post");
101
- if ($echo) echo $result;
102
- }
103
-
104
- return $result;
105
- }
106
-
107
- function relevanssi_check_old_data() {
108
- if (function_exists('get_current_screen')) {
109
- $screen = get_current_screen();
110
- if ($screen->base != 'settings_page_relevanssi/relevanssi') return;
111
- }
112
- else {
113
- // Can't tell if we're on Relevanssi settings page, so we're not.
114
- return;
115
- }
116
-
117
- if (is_admin()) {
118
- // Version 3.3 removes the cache feature
119
- $cache = get_option('relevanssi_enable_cache', 'nothing');
120
- if ($cache != 'nothing') {
121
- global $wpdb;
122
- $relevanssi_cache = $wpdb->prefix . "relevanssi_cache";
123
- $relevanssi_excerpt_cache = $wpdb->prefix . "relevanssi_excerpt_cache";
124
-
125
- $wpdb->query("DROP TABLE $relevanssi_cache");
126
- $wpdb->query("DROP TABLE $relevanssi_excerpt_cache");
127
-
128
- delete_option('relevanssi_enable_cache');
129
- delete_option('relevanssi_cache_seconds');
130
- wp_clear_scheduled_hook('relevanssi_truncate_cache');
131
- }
132
-
133
- // Version 3.1.4 combined taxonomy indexing options
134
- $inctags = get_option('relevanssi_include_tags', 'nothing');
135
- if ($inctags == 'on') {
136
- $taxonomies = get_option('relevanssi_index_taxonomies_list');
137
- if (!is_array($taxonomies)) $taxonomies = array();
138
- $taxonomies[] = 'post_tag';
139
- update_option('relevanssi_index_taxonomies_list', $taxonomies);
140
- delete_option('relevanssi_include_tags');
141
- }
142
- $inccats = get_option('relevanssi_include_cats', 'nothing');
143
- if ($inccats == 'on') {
144
- $taxonomies = get_option('relevanssi_index_taxonomies_list');
145
- if (!is_array($taxonomies)) $taxonomies = array();
146
- $taxonomies[] = 'category';
147
- update_option('relevanssi_index_taxonomies_list', $taxonomies);
148
- delete_option('relevanssi_include_cats');
149
- }
150
- $custom = get_option('relevanssi_custom_taxonomies', 'nothing');
151
- if ($custom != 'nothing') {
152
- $cts = explode(",", $custom);
153
- $taxonomies = get_option('relevanssi_index_taxonomies_list');
154
- if (!is_array($taxonomies)) $taxonomies = array();
155
- foreach ($cts as $taxonomy) {
156
- $taxonomy = trim($taxonomy);
157
- $taxonomies[] = $taxonomy;
158
- }
159
- update_option('relevanssi_index_taxonomies_list', $taxonomies);
160
- delete_option('relevanssi_custom_taxonomies');
161
- }
162
-
163
- $limit = get_option('relevanssi_throttle_limit');
164
- if (empty($limit)) update_option('relevanssi_throttle_limit', 500);
165
-
166
- global $wpdb, $relevanssi_variables;
167
-
168
- if ($relevanssi_variables['database_version'] == 3) {
169
- $res = $wpdb->query("SHOW INDEX FROM " . $relevanssi_variables['relevanssi_table'] . " WHERE Key_name = 'typeitem'");
170
- if ($res == 0) $wpdb->query("ALTER TABLE " . $relevanssi_variables['relevanssi_table'] . " ADD INDEX `typeitem` (`type`, `item`)");
171
- }
172
-
173
- // Version 3.0 removed relevanssi_tag_boost
174
- $tag_boost = get_option('relevanssi_tag_boost', 'nothing');
175
- if ($tag_boost != 'nothing') {
176
- $post_type_weights = get_option('relevanssi_post_type_weights');
177
- if (!is_array($post_type_weights)) {
178
- $post_type_weights = array();
179
- }
180
- $post_type_weights['post_tag'] = $tag_boost;
181
- delete_option('relevanssi_tag_boost');
182
- update_option('relevanssi_post_type_weights', $post_type_weights);
183
- }
184
-
185
- $index_type = get_option('relevanssi_index_type', 'nothing');
186
- if ($index_type != 'nothing') {
187
- // Delete unused options from versions < 3
188
- $post_types = get_option('relevanssi_index_post_types');
189
-
190
- if (!is_array($post_types)) $post_types = array();
191
-
192
- switch ($index_type) {
193
- case "posts":
194
- array_push($post_types, 'post');
195
- break;
196
- case "pages":
197
- array_push($post_types, 'page');
198
- break;
199
- case 'public':
200
- if (function_exists('get_post_types')) {
201
- $pt_1 = get_post_types(array('exclude_from_search' => '0'));
202
- $pt_2 = get_post_types(array('exclude_from_search' => false));
203
- foreach (array_merge($pt_1, $pt_2) as $type) {
204
- array_push($post_types, $type);
205
- }
206
- }
207
- break;
208
- case "both": // really should be "everything"
209
- $pt = get_post_types();
210
- foreach ($pt as $type) {
211
- array_push($post_types, $type);
212
- }
213
- break;
214
- }
215
-
216
- $attachments = get_option('relevanssi_index_attachments');
217
- if ('on' == $attachments) array_push($post_types, 'attachment');
218
-
219
- $custom_types = get_option('relevanssi_custom_types');
220
- $custom_types = explode(',', $custom_types);
221
- if (is_array($custom_types)) {
222
- foreach ($custom_types as $type) {
223
- $type = trim($type);
224
- if (substr($type, 0, 1) != '-') {
225
- array_push($post_types, $type);
226
- }
227
- }
228
- }
229
-
230
- update_option('relevanssi_index_post_types', $post_types);
231
-
232
- delete_option('relevanssi_index_type');
233
- delete_option('relevanssi_index_attachments');
234
- delete_option('relevanssi_custom_types');
235
- }
236
- }
237
- }
238
-
239
- function _relevanssi_install() {
240
- global $relevanssi_variables;
241
-
242
- add_option('relevanssi_title_boost', $relevanssi_variables['title_boost_default']);
243
- add_option('relevanssi_comment_boost', $relevanssi_variables['comment_boost_default']);
244
- add_option('relevanssi_admin_search', 'off');
245
- add_option('relevanssi_highlight', 'strong');
246
- add_option('relevanssi_txt_col', '#ff0000');
247
- add_option('relevanssi_bg_col', '#ffaf75');
248
- add_option('relevanssi_css', 'text-decoration: underline; text-color: #ff0000');
249
- add_option('relevanssi_class', 'relevanssi-query-term');
250
- add_option('relevanssi_excerpts', 'on');
251
- add_option('relevanssi_excerpt_length', '30');
252
- add_option('relevanssi_excerpt_type', 'words');
253
- add_option('relevanssi_excerpt_allowable_tags', '');
254
- add_option('relevanssi_log_queries', 'off');
255
- add_option('relevanssi_log_queries_with_ip', 'off');
256
- add_option('relevanssi_cat', '0');
257
- add_option('relevanssi_excat', '0');
258
- add_option('relevanssi_extag', '0');
259
- add_option('relevanssi_index_fields', '');
260
- add_option('relevanssi_exclude_posts', ''); //added by OdditY
261
- add_option('relevanssi_hilite_title', ''); //added by OdditY
262
- add_option('relevanssi_highlight_docs', 'off');
263
- add_option('relevanssi_highlight_comments', 'off');
264
- add_option('relevanssi_index_comments', 'none'); //added by OdditY
265
- add_option('relevanssi_show_matches', '');
266
- add_option('relevanssi_show_matches_text', '(Search hits: %body% in body, %title% in title, %categories% in categories, %tags% in tags, %taxonomies% in other taxonomies, %comments% in comments. Score: %score%)');
267
- add_option('relevanssi_fuzzy', 'sometimes');
268
- add_option('relevanssi_indexed', '');
269
- add_option('relevanssi_expand_shortcodes', 'on');
270
- add_option('relevanssi_custom_taxonomies', '');
271
- add_option('relevanssi_index_author', '');
272
- add_option('relevanssi_implicit_operator', 'OR');
273
- add_option('relevanssi_omit_from_logs', '');
274
- add_option('relevanssi_synonyms', '');
275
- add_option('relevanssi_index_excerpt', 'off');
276
- add_option('relevanssi_index_limit', '500');
277
- add_option('relevanssi_disable_or_fallback', 'off');
278
- add_option('relevanssi_respect_exclude', 'on');
279
- add_option('relevanssi_min_word_length', '3');
280
- add_option('relevanssi_wpml_only_current', 'on');
281
- add_option('relevanssi_word_boundaries', 'on');
282
- add_option('relevanssi_default_orderby', 'relevance');
283
- add_option('relevanssi_db_version', '0');
284
- add_option('relevanssi_post_type_weights', $relevanssi_variables['post_type_weight_defaults']);
285
- add_option('relevanssi_throttle', 'on');
286
- add_option('relevanssi_throttle_limit', '500');
287
- add_option('relevanssi_index_post_types', $relevanssi_variables['post_type_index_defaults']);
288
- add_option('relevanssi_index_taxonomies_list', array());
289
-
290
- do_action('relevanssi_update_options');
291
-
292
- relevanssi_create_database_tables($relevanssi_variables['database_version']);
293
- }
294
-
295
- if (function_exists('register_uninstall_hook')) {
296
- register_uninstall_hook(__FILE__, 'relevanssi_uninstall');
297
- // this doesn't seem to work
298
- }
299
-
300
- function relevanssi_get_post($id) {
301
- global $relevanssi_post_array;
302
-
303
- if (isset($relevanssi_post_array[$id])) {
304
- $post = $relevanssi_post_array[$id];
305
- }
306
- else {
307
- $post = get_post($id);
308
- }
309
- return $post;
310
- }
311
-
312
- function relevanssi_remove_doc($id) {
313
- global $wpdb, $relevanssi_variables;
314
-
315
- $D = get_option( 'relevanssi_doc_count');
316
-
317
- $q = "DELETE FROM " . $relevanssi_variables['relevanssi_table'] . " WHERE doc=$id";
318
- $wpdb->query($q);
319
- $rows_updated = $wpdb->query($q);
320
-
321
- if($rows_updated && $rows_updated > 0) {
322
- update_option('relevanssi_doc_count', $D - $rows_updated);
323
- }
324
- }
325
-
326
- /*****
327
- * Interface functions
328
- */
329
-
330
- function relevanssi_form_tag_weight($post_type_weights) {
331
- $label = __("Tag weight:", 'relevanssi');
332
- $value = $post_type_weights['post_tag'];
333
-
334
- echo <<<EOH
335
- <tr>
336
- <td>
337
- $label
338
- </td>
339
- <td>
340
- <input type='text' name='relevanssi_weight_post_tag' id='relevanssi_weight_post_tag' size='4' value='$value' />
341
- </td>
342
- <td>&nbsp;</td>
343
- </tr>
344
- EOH;
345
-
346
- $label = __("Category weight:", 'relevanssi');
347
- $value = $post_type_weights['category'];
348
-
349
- echo <<<EOH
350
- <tr>
351
- <td>
352
- $label
353
- </td>
354
- <td>
355
- <input type='text' id='relevanssi_weight_category' name='relevanssi_weight_category' size='4' value='$value' />
356
- </td>
357
- <td>&nbsp;</td>
358
- </tr>
359
- EOH;
360
- }
361
-
362
- function relevanssi_sidebar() {
363
- $tweet = 'http://twitter.com/home?status=' . urlencode("I'm using Relevanssi, a better search for WordPress. http://wordpress.org/extend/plugins/relevanssi/ #relevanssi #wordpress");
364
- $facebooklogo = plugins_url('facebooklogo.jpg', __FILE__);
365
-
366
- echo <<<EOH
367
- <div class="postbox-container" style="width:20%; margin-top: 35px; margin-left: 15px;">
368
- <div class="metabox-holder">
369
- <div class="meta-box-sortables" style="min-height: 0">
370
- <div id="relevanssi_buy" class="postbox">
371
- EOH;
372
- printf('<h3 class="hndle"><span>%s!</span></h3>', __('Buy Relevanssi Premium', 'relevanssi'));
373
- echo <<<EOH
374
- <div class="inside">
375
- <p>
376
- EOH;
377
- _e('Do you want more features? Support Relevanssi development? Get a better search experience for your users?', 'relevanssi');
378
- echo "</p>";
379
-
380
- printf('<p><strong>%s</strong> ', __('Go Premium!', 'relevanssi'));
381
- printf(__('Buy Relevanssi Premium. See <a href="%s">feature comparison</a> and <a href="%s">license prices</a>.', 'relevanssi'), 'https://www.relevanssi.com/features/?utm_source=plugin&utm_medium=link&utm_campaign=features', 'https://www.relevanssi.com/buy-premium/?utm_source=plugin&utm_medium=link&utm_campaign=license');
382
- echo "</p>";
383
-
384
- printf('<p><strong><a href="https://www.relevanssi.com/buy-premium/?utm_source=plugin&utm_medium=link&utm_campaign=license">%s &raquo;</a></strong></p>', __('Buy Premium now', 'relevanssi'));
385
-
386
- printf('<p>' . __('Use the coupon %s to get 20%% off the price (valid through 2017).', 'relevanssi') . '</p>', '<strong>FREE2017</strong>');
387
- echo <<<EOH
388
- </div>
389
- </div>
390
- </div>
391
-
392
- <div class="meta-box-sortables" style="min-height: 0">
393
- <div id="relevanssi_premium" class="postbox">
394
- EOH;
395
- printf('<h3 class="hndle"><span>%s</span></h3>', __('Some Premium features', 'relevanssi'));
396
- echo <<<EOH
397
- <div class="inside">
398
- EOH;
399
- printf('<p>%s</p>', __('With Relevanssi Premium, you would have more options:', 'relevanssi'));
400
-
401
- printf('– %s<br />', __('Internal link anchors are search terms for the target posts, if you wish', 'relevanssi'));
402
- printf('– %s<br />', __('Hiding Relevanssi branding from the User Searches page on a client installation', 'relevanssi'));
403
- printf('– %s<br />', __('Adjust weights separately for each post type and taxonomy', 'relevanssi'));
404
- printf('– %s<br />', __('Give extra weight to recent posts', 'relevanssi'));
405
- printf('– %s<br />', __('Make Relevanssi understand thousand separators to handle big numbers better', 'relevanssi'));
406
- printf('– %s<br />', __('Index and search any columns in the wp_posts database', 'relevanssi'));
407
- printf('– %s<br />', __('Index and search user profile pages', 'relevanssi'));
408
- printf('– %s<br />', __('Index and search taxonomy term pages', 'relevanssi'));
409
- printf('– %s<br />', __('Import and export options', 'relevanssi'));
410
- printf('– %s<br />', __('WP CLI commands', 'relevanssi'));
411
- printf('– %s<br />', __('And more!', 'relevanssi'));
412
-
413
- echo <<<EOH
414
- </p>
415
- </div>
416
- </div>
417
- </div>
418
-
419
- <div class="meta-box-sortables" style="min-height: 0">
420
- <div id="relevanssi_facebook" class="postbox">
421
- EOH;
422
- printf('<h3 class="hndle"><span>%s</span></h3>', __('Relevanssi on Facebook', 'relevanssi'));
423
- echo <<<EOH
424
- <div class="inside">
425
- <div style="float: left; margin-right: 5px"><img src="$facebooklogo" width="45" height="43" alt="Facebook" /></div>
426
- EOH;
427
- 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');
428
- echo <<<EOH
429
- </div>
430
- </div>
431
- </div>
432
-
433
- <div class="meta-box-sortables" style="min-height: 0">
434
- <div id="relevanssi_help" class="postbox">
435
- EOH;
436
- printf('<h3 class="hndle"><span>%s</span></h3>', __('Help and support', 'relevanssi'));
437
- echo '<div class="inside">';
438
- printf('<p>%s</p>', __('For Relevanssi support, see:', 'relevanssi'));
439
- printf('<p>– <a href="http://wordpress.org/tags/relevanssi?forum_id=10">%s</a><br />', __('WordPress.org forum', 'relevanssi'));
440
- printf('– <a href="https://www.relevanssi.com/category/knowledge-base/?utm_source=plugin&utm_medium=link&utm_campaign=kb">%s</a></p>', __('Knowledge base', 'relevanssi'));
441
- echo <<<EOH
442
- </div>
443
- </div>
444
- </div>
445
-
446
- </div>
447
- </div>
448
- EOH;
449
- }
450
-
451
- /**
452
- * Wrapper function for Premium compatibility.
453
- */
454
- function relevanssi_install() {
455
- _relevanssi_install();
456
- }
457
-
458
- ?>
1
  <?php
2
  /*
3
  Plugin Name: Relevanssi
4
+ Plugin URI: https://www.relevanssi.com/
5
  Description: This plugin replaces WordPress search with a relevance-sorting search.
6
+ Version: 4.0
7
  Author: Mikko Saari
8
  Author URI: http://www.mikkosaari.fi/
9
+ Text Domain: relevanssi
10
  */
11
 
12
  /* Copyright 2017 Mikko Saari (email: mikko@mikkosaari.fi)
28
  */
29
 
30
  // For debugging purposes
31
+ // error_reporting(E_ALL);
32
+ // ini_set("display_errors", 1);
33
+ // define('WP-DEBUG', true);
 
 
34
 
35
  define('RELEVANSSI_PREMIUM', false);
36
 
37
  add_filter('plugin_action_links_' . plugin_basename(__FILE__), 'relevanssi_action_links');
38
 
39
  global $relevanssi_variables;
40
+ global $wpdb;
41
 
42
  $relevanssi_variables['relevanssi_table'] = $wpdb->prefix . "relevanssi";
43
  $relevanssi_variables['stopword_table'] = $wpdb->prefix . "relevanssi_stopwords";
44
  $relevanssi_variables['log_table'] = $wpdb->prefix . "relevanssi_log";
45
+ $relevanssi_variables['content_boost_default'] = 1;
46
+ $relevanssi_variables['comment_boost_default'] = 0.75;
47
  $relevanssi_variables['title_boost_default'] = 5;
48
  $relevanssi_variables['comment_boost_default'] = 0.75;
49
  $relevanssi_variables['post_type_weight_defaults']['post_tag'] = 0.75;
53
  $relevanssi_variables['file'] = __FILE__;
54
  $relevanssi_variables['plugin_dir'] = plugin_dir_path(__FILE__);
55
 
56
+ require_once('lib/install.php');
57
  require_once('lib/init.php');
58
  require_once('lib/interface.php');
59
  require_once('lib/indexing.php');
62
  require_once('lib/excerpts-highlights.php');
63
  require_once('lib/shortcodes.php');
64
  require_once('lib/common.php');
65
+ require_once('lib/admin_ajax.php');
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
relevanssi.po CHANGED
@@ -2,7 +2,7 @@ msgid ""
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"
@@ -10,37 +10,53 @@ msgstr ""
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"
 
 
 
 
 
18
 
19
  #: lib/excerpts-highlights.php:11
20
  msgid "There is no excerpt because this is a protected post."
21
  msgstr ""
22
 
23
- #: lib/indexing.php:137
24
  msgid "Indexing complete!"
25
  msgstr ""
26
 
27
- #: lib/init.php:41
 
 
 
 
28
  msgid ""
29
  "You do not have an index! Remember to build the index (click the \"Build the "
30
  "index\" button), otherwise searching won't work."
31
  msgstr ""
32
 
33
- #: lib/init.php:57
34
  msgid ""
35
  "Multibyte string functions are not available. Relevanssi may not work well "
36
  "without them. Please install (or ask your host to install) the mbstring "
37
  "extension."
38
  msgstr ""
39
 
40
- #: lib/init.php:85 lib/init.php:86
41
  msgid "User searches"
42
  msgstr ""
43
 
 
 
 
 
 
 
 
 
44
  #: lib/interface.php:6
45
  msgid "Relevanssi Premium Search Options"
46
  msgstr ""
@@ -49,68 +65,68 @@ msgstr ""
49
  msgid "Relevanssi Search Options"
50
  msgstr ""
51
 
52
- #: lib/interface.php:81
53
  msgid "User Searches"
54
  msgstr ""
55
 
56
- #: lib/interface.php:83
57
  msgid "Relevanssi User Searches"
58
  msgstr ""
59
 
60
- #: lib/interface.php:112
61
  msgid "Enable query logging to see stats here."
62
  msgstr ""
63
 
64
- #: lib/interface.php:129
65
  msgid "Logs clear!"
66
  msgstr ""
67
 
68
- #: lib/interface.php:132
69
  msgid "Clearing the logs failed."
70
  msgstr ""
71
 
72
- #: lib/interface.php:329
73
  #, php-format
74
  msgid ""
75
  "<div id='message' class='updated fade'><p>Successfully added %d/%d terms to "
76
  "stopwords!</p></div>"
77
  msgstr ""
78
 
79
- #: lib/interface.php:336
80
  #, php-format
81
  msgid ""
82
  "<div id='message' class='updated fade'><p>Term '%s' added to stopwords!</p></"
83
  "div>"
84
  msgstr ""
85
 
86
- #: lib/interface.php:339
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
 
93
- #: lib/interface.php:378
94
  msgid ""
95
  "<div id='message' class='updated fade'><p>Stopwords removed! Remember to re-"
96
  "index.</p></div>"
97
  msgstr ""
98
 
99
- #: lib/interface.php:390
100
  #, php-format
101
  msgid "Term '%s' removed from stopwords! Re-index to get it back to index."
102
  msgstr ""
103
 
104
- #: lib/interface.php:400
105
  #, php-format
106
  msgid "Couldn't remove term '%s' from stopwords!"
107
  msgstr ""
108
 
109
- #: lib/interface.php:421
110
  msgid "25 most common words in the index"
111
  msgstr ""
112
 
113
- #: lib/interface.php:422
114
  msgid ""
115
  "These words are excellent stopword material. A word that appears in most of "
116
  "the posts in the database is quite pointless when searching. This is also an "
@@ -120,758 +136,1197 @@ msgid ""
120
  "is not necessary."
121
  msgstr ""
122
 
123
- #: lib/interface.php:445
 
 
 
 
124
  msgid "Add to stopwords"
125
  msgstr ""
126
 
127
- #: lib/interface.php:463
128
  msgid "Total Searches"
129
  msgstr ""
130
 
131
- #: lib/interface.php:466
132
  msgid "Totals"
133
  msgstr ""
134
 
135
- #: lib/interface.php:471
136
  msgid "Common Queries"
137
  msgstr ""
138
 
139
- #: lib/interface.php:474
140
  #, php-format
141
  msgid ""
142
  "Here you can see the %d most common user search queries, how many times "
143
- "those\n"
144
- "\t\tqueries were made and how many results were found for those queries."
145
  msgstr ""
146
 
147
- #: lib/interface.php:480 lib/interface.php:496 lib/interface.php:528
148
  msgid "Today and yesterday"
149
  msgstr ""
150
 
151
- #: lib/interface.php:484 lib/interface.php:500 lib/interface.php:529
152
  msgid "Last 7 days"
153
  msgstr ""
154
 
155
- #: lib/interface.php:488 lib/interface.php:504
156
  #, php-format
157
  msgid "Last %d days"
158
  msgstr ""
159
 
160
- #: lib/interface.php:493
161
  msgid "Unsuccessful Queries"
162
  msgstr ""
163
 
164
- #: lib/interface.php:511
165
  msgid "Reset Logs"
166
  msgstr ""
167
 
168
- #: lib/interface.php:514
169
  #, php-format
170
  msgid "To reset the logs, type \"reset\" into the box here %s and click %s"
171
  msgstr ""
172
 
173
- #: lib/interface.php:530
174
  msgid "Last 30 days"
175
  msgstr ""
176
 
177
- #: lib/interface.php:531
178
  msgid "Forever"
179
  msgstr ""
180
 
181
- #: lib/interface.php:533
182
  msgid "When"
183
  msgstr ""
184
 
185
- #: lib/interface.php:533
186
  msgid "Searches"
187
  msgstr ""
188
 
189
- #: lib/interface.php:565
190
  msgid "Query"
191
  msgstr ""
192
 
193
- #: lib/interface.php:565
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 "
464
- "prevent your own searches from getting in the logs with the omit feature."
465
  msgstr ""
466
 
467
- #: lib/interface.php:1050
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 "
510
- "results. This only works here, you can't use the input field option "
511
- "(WordPress doesn't pass custom parameters there)."
512
  msgstr ""
513
 
514
- #: lib/interface.php:1082
515
- msgid ""
516
- "You can also use a checkbox on post/page edit pages to remove posts from "
517
- "index. This setting doesn't work in multisite searches, but the checkbox "
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 ""
735
 
736
- #: lib/interface.php:1235 lib/interface.php:1290
737
  msgid "yes"
738
  msgstr ""
739
 
740
- #: lib/interface.php:1265
741
  #, php-format
742
  msgid ""
743
- "If you choose to index a post type that is excluded from the search, you may "
744
- "need to uncheck the \"%s\" option."
745
  msgstr ""
746
 
747
- #: lib/interface.php:1265
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 "
@@ -879,129 +1334,346 @@ msgid ""
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 ""
2
  msgstr ""
3
  "Project-Id-Version: Relevanssi\n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2017-12-01 06:51+0200\n"
6
  "PO-Revision-Date: \n"
7
  "Last-Translator: Mikko Saari <mikko@mikkosaari.fi>\n"
8
  "Language-Team: \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;__\n"
 
14
  "X-Poedit-Basepath: .\n"
15
+ "X-Generator: Poedit 2.0.4\n"
16
  "X-Poedit-SearchPath-0: .\n"
17
+ "X-Poedit-SearchPath-1: lib\n"
18
+
19
+ #: lib/admin_ajax.php:61
20
+ msgid "User indexing is disabled."
21
+ msgstr ""
22
 
23
  #: lib/excerpts-highlights.php:11
24
  msgid "There is no excerpt because this is a protected post."
25
  msgstr ""
26
 
27
+ #: lib/indexing.php:225
28
  msgid "Indexing complete!"
29
  msgstr ""
30
 
31
+ #: lib/indexing.php:228
32
+ msgid "More to index..."
33
+ msgstr ""
34
+
35
+ #: lib/init.php:44
36
  msgid ""
37
  "You do not have an index! Remember to build the index (click the \"Build the "
38
  "index\" button), otherwise searching won't work."
39
  msgstr ""
40
 
41
+ #: lib/init.php:60
42
  msgid ""
43
  "Multibyte string functions are not available. Relevanssi may not work well "
44
  "without them. Please install (or ask your host to install) the mbstring "
45
  "extension."
46
  msgstr ""
47
 
48
+ #: lib/init.php:99 lib/init.php:100 lib/interface.php:1196
49
  msgid "User searches"
50
  msgstr ""
51
 
52
+ #: lib/init.php:231
53
+ msgid "Settings"
54
+ msgstr ""
55
+
56
+ #: lib/init.php:234
57
+ msgid "Go Premium!"
58
+ msgstr ""
59
+
60
  #: lib/interface.php:6
61
  msgid "Relevanssi Premium Search Options"
62
  msgstr ""
65
  msgid "Relevanssi Search Options"
66
  msgstr ""
67
 
68
+ #: lib/interface.php:78
69
  msgid "User Searches"
70
  msgstr ""
71
 
72
+ #: lib/interface.php:80
73
  msgid "Relevanssi User Searches"
74
  msgstr ""
75
 
76
+ #: lib/interface.php:105
77
  msgid "Enable query logging to see stats here."
78
  msgstr ""
79
 
80
+ #: lib/interface.php:119
81
  msgid "Logs clear!"
82
  msgstr ""
83
 
84
+ #: lib/interface.php:122
85
  msgid "Clearing the logs failed."
86
  msgstr ""
87
 
88
+ #: lib/interface.php:388
89
  #, php-format
90
  msgid ""
91
  "<div id='message' class='updated fade'><p>Successfully added %d/%d terms to "
92
  "stopwords!</p></div>"
93
  msgstr ""
94
 
95
+ #: lib/interface.php:395
96
  #, php-format
97
  msgid ""
98
  "<div id='message' class='updated fade'><p>Term '%s' added to stopwords!</p></"
99
  "div>"
100
  msgstr ""
101
 
102
+ #: lib/interface.php:398
103
  #, php-format
104
  msgid ""
105
  "<div id='message' class='updated fade'><p>Couldn't add term '%s' to "
106
  "stopwords!</p></div>"
107
  msgstr ""
108
 
109
+ #: lib/interface.php:437
110
  msgid ""
111
  "<div id='message' class='updated fade'><p>Stopwords removed! Remember to re-"
112
  "index.</p></div>"
113
  msgstr ""
114
 
115
+ #: lib/interface.php:449
116
  #, php-format
117
  msgid "Term '%s' removed from stopwords! Re-index to get it back to index."
118
  msgstr ""
119
 
120
+ #: lib/interface.php:459
121
  #, php-format
122
  msgid "Couldn't remove term '%s' from stopwords!"
123
  msgstr ""
124
 
125
+ #: lib/interface.php:479
126
  msgid "25 most common words in the index"
127
  msgstr ""
128
 
129
+ #: lib/interface.php:480
130
  msgid ""
131
  "These words are excellent stopword material. A word that appears in most of "
132
  "the posts in the database is quite pointless when searching. This is also an "
136
  "is not necessary."
137
  msgstr ""
138
 
139
+ #: lib/interface.php:486
140
+ msgid "Stopword Candidates"
141
+ msgstr ""
142
+
143
+ #: lib/interface.php:494
144
  msgid "Add to stopwords"
145
  msgstr ""
146
 
147
+ #: lib/interface.php:516
148
  msgid "Total Searches"
149
  msgstr ""
150
 
151
+ #: lib/interface.php:519
152
  msgid "Totals"
153
  msgstr ""
154
 
155
+ #: lib/interface.php:524
156
  msgid "Common Queries"
157
  msgstr ""
158
 
159
+ #: lib/interface.php:528
160
  #, php-format
161
  msgid ""
162
  "Here you can see the %d most common user search queries, how many times "
163
+ "those queries were made and how many results were found for those queries."
 
164
  msgstr ""
165
 
166
+ #: lib/interface.php:531 lib/interface.php:547 lib/interface.php:579
167
  msgid "Today and yesterday"
168
  msgstr ""
169
 
170
+ #: lib/interface.php:535 lib/interface.php:551 lib/interface.php:580
171
  msgid "Last 7 days"
172
  msgstr ""
173
 
174
+ #: lib/interface.php:539 lib/interface.php:555
175
  #, php-format
176
  msgid "Last %d days"
177
  msgstr ""
178
 
179
+ #: lib/interface.php:544
180
  msgid "Unsuccessful Queries"
181
  msgstr ""
182
 
183
+ #: lib/interface.php:562
184
  msgid "Reset Logs"
185
  msgstr ""
186
 
187
+ #: lib/interface.php:565
188
  #, php-format
189
  msgid "To reset the logs, type \"reset\" into the box here %s and click %s"
190
  msgstr ""
191
 
192
+ #: lib/interface.php:581
193
  msgid "Last 30 days"
194
  msgstr ""
195
 
196
+ #: lib/interface.php:582
197
  msgid "Forever"
198
  msgstr ""
199
 
200
+ #: lib/interface.php:584
201
  msgid "When"
202
  msgstr ""
203
 
204
+ #: lib/interface.php:584
205
  msgid "Searches"
206
  msgstr ""
207
 
208
+ #: lib/interface.php:616
209
  msgid "Query"
210
  msgstr ""
211
 
212
+ #: lib/interface.php:616
213
  msgid "Hits"
214
  msgstr ""
215
 
216
+ #: lib/interface.php:1063
217
+ msgid "Overview"
218
  msgstr ""
219
 
220
+ #: lib/interface.php:1064
221
+ msgid "Indexing"
222
  msgstr ""
223
 
224
+ #: lib/interface.php:1065
225
+ msgid "Attachments"
 
 
 
 
226
  msgstr ""
227
 
228
+ #: lib/interface.php:1066 lib/interface.php:2233
229
+ msgid "Searching"
230
  msgstr ""
231
 
232
+ #: lib/interface.php:1067
233
+ msgid "Logging"
234
  msgstr ""
235
 
236
+ #: lib/interface.php:1068
237
+ msgid "Excerpts and highlights"
238
  msgstr ""
239
 
240
+ #: lib/interface.php:1069 lib/interface.php:2099 lib/interface.php:2104
241
  msgid "Synonyms"
242
  msgstr ""
243
 
244
+ #: lib/interface.php:1070 lib/interface.php:2130
245
  msgid "Stopwords"
246
  msgstr ""
247
 
248
+ #: lib/interface.php:1072
249
+ msgid "Import / Export options"
250
+ msgstr ""
251
+
252
+ #: lib/interface.php:1102
253
+ msgid "Welcome to Relevanssi!"
254
+ msgstr ""
255
+
256
+ #: lib/interface.php:1112
257
+ msgid "Getting started"
258
+ msgstr ""
259
+
260
+ #: lib/interface.php:1114
261
+ msgid ""
262
+ "You've already installed Relevanssi. That's a great first step towards good "
263
+ "search experience!"
264
+ msgstr ""
265
+
266
+ #: lib/interface.php:1117
267
+ #, php-format
268
+ msgid ""
269
+ "Now, you need an index. Head over to the %s%s%s tab to set up the basic "
270
+ "indexing options and to build the index."
271
+ msgstr ""
272
+
273
+ #: lib/interface.php:1118
274
+ msgid "You need to check at least the following options:"
275
+ msgstr ""
276
+
277
+ #: lib/interface.php:1119
278
+ msgid "Make sure the post types you want to include in the index are indexed."
279
+ msgstr ""
280
+
281
+ #: lib/interface.php:1120
282
+ #, php-format
283
+ msgid ""
284
+ "Do you use custom fields to store content you want included? If so, add "
285
+ "those too. WooCommerce user? You probably want to include %s."
286
+ msgstr ""
287
+
288
+ #: lib/interface.php:1121
289
+ msgid ""
290
+ "Then just save the options and build the index. First time you have to do it "
291
+ "manually, but after that, it's fully automatic: all changes are reflected in "
292
+ "the index without reindexing. (That said, it's a good idea to rebuild the "
293
+ "index once a year.)"
294
+ msgstr ""
295
+
296
+ #: lib/interface.php:1124
297
+ msgid "Great, you already have an index!"
298
+ msgstr ""
299
+
300
+ #: lib/interface.php:1127
301
+ #, php-format
302
+ msgid ""
303
+ "On the %s%s%s tab, choose whether you want the default operator to be AND "
304
+ "(less results, but more precise) or OR (more results, less precise)."
305
+ msgstr ""
306
+
307
+ #: lib/interface.php:1130
308
+ #, php-format
309
+ msgid ""
310
+ "The next step is the %s%s%s tab, where you can enable the custom excerpts "
311
+ "that show the relevant part of post in the search results pages."
312
+ msgstr ""
313
+
314
+ #: lib/interface.php:1131
315
+ msgid ""
316
+ "There are couple of options related to that, so if you want highlighting in "
317
+ "the results, you can adjust the styles for that to suit the look of your "
318
+ "site."
319
+ msgstr ""
320
+
321
+ #: lib/interface.php:1134
322
+ msgid ""
323
+ "That's about it! Now you should have Relevanssi up and running. The rest of "
324
+ "the options is mostly fine-tuning."
325
  msgstr ""
326
 
327
+ #: lib/interface.php:1137
328
+ msgid ""
329
+ "Relevanssi doesn't have a separate search widget. Instead, Relevanssi uses "
330
+ "the default search widget. Any standard search form will do!"
331
+ msgstr ""
332
+
333
+ #: lib/interface.php:1141
334
+ msgid "For more information"
335
+ msgstr ""
336
+
337
+ #: lib/interface.php:1143
338
+ msgid ""
339
+ "Relevanssi uses the WordPress contextual help. Click 'Help' on the top right "
340
+ "corner for more information on many Relevanssi topics."
341
+ msgstr ""
342
+
343
+ #: lib/interface.php:1144
344
+ #, php-format
345
+ msgid ""
346
+ "%sRelevanssi knowledge base%s has lots of information about advanced "
347
+ "Relevanssi use, including plenty of code samples."
348
+ msgstr ""
349
+
350
+ #: lib/interface.php:1149
351
+ msgid "Relevanssi on Facebook"
352
+ msgstr ""
353
+
354
+ #: lib/interface.php:1152
355
+ msgid ""
356
+ "Check out the Relevanssi page on Facebook for news and updates about "
357
+ "Relevanssi."
358
+ msgstr ""
359
+
360
+ #: lib/interface.php:1158
361
  msgid "Buy Relevanssi Premium"
362
  msgstr ""
363
 
364
+ #: lib/interface.php:1161
365
+ msgid "Buy Relevanssi Premium now"
366
  msgstr ""
367
 
368
+ #: lib/interface.php:1161
369
+ #, php-format
370
+ msgid ""
371
+ "use coupon code %s for 20%% discount (valid at least until the end of %s)"
372
  msgstr ""
373
 
374
+ #: lib/interface.php:1162
375
+ msgid "Here are some improvements Relevanssi Premium offers:"
376
+ msgstr ""
377
+
378
+ #: lib/interface.php:1164
379
+ msgid "PDF content indexing"
380
+ msgstr ""
381
+
382
+ #: lib/interface.php:1165
383
+ msgid "Index and search user profile pages"
384
+ msgstr ""
385
+
386
+ #: lib/interface.php:1166
387
+ msgid "Index and search taxonomy term pages"
388
+ msgstr ""
389
+
390
+ #: lib/interface.php:1167
391
+ msgid "Multisite searches across many subsites"
392
+ msgstr ""
393
+
394
+ #: lib/interface.php:1168
395
+ msgid "WP CLI commands"
396
  msgstr ""
397
 
398
+ #: lib/interface.php:1169
399
+ msgid "Adjust weights separately for each post type and taxonomy"
400
  msgstr ""
401
 
402
+ #: lib/interface.php:1170
403
+ msgid "Internal link anchors can be search terms for the target posts"
404
  msgstr ""
405
 
406
+ #: lib/interface.php:1171
407
+ msgid "Index and search any columns in the wp_posts database"
408
  msgstr ""
409
 
410
+ #: lib/interface.php:1172
411
  msgid ""
412
+ "Hide Relevanssi branding from the User Searches page on a client installation"
413
+ msgstr ""
414
+
415
+ #: lib/interface.php:1186
416
+ msgid "Enable logs"
417
+ msgstr ""
418
+
419
+ #: lib/interface.php:1190 lib/interface.php:1193
420
+ msgid "Keep a log of user queries."
421
  msgstr ""
422
 
423
+ #: lib/interface.php:1196
424
+ #, php-format
425
  msgid ""
426
+ "If enabled, Relevanssi will log user queries. The logs can be examined under "
427
+ "'%s' on the Dashboard admin menu and are stored in the %s database table."
428
+ msgstr ""
429
+
430
+ #: lib/interface.php:1201
431
+ msgid "Log user IP"
432
+ msgstr ""
433
+
434
+ #: lib/interface.php:1205 lib/interface.php:1208
435
+ msgid "Log the user's IP with the queries."
436
  msgstr ""
437
 
438
+ #: lib/interface.php:1211
439
+ msgid "If enabled, Relevanssi will log user's IP adress with the queries."
440
  msgstr ""
441
 
442
+ #: lib/interface.php:1216
443
+ msgid "Exclude users"
444
  msgstr ""
445
 
446
+ #: lib/interface.php:1220
447
+ msgid ""
448
+ "Comma-separated list of numeric user IDs or user login names that will not "
449
+ "be logged."
450
  msgstr ""
451
 
452
+ #: lib/interface.php:1226
453
+ msgid "Trim logs"
454
  msgstr ""
455
 
456
+ #: lib/interface.php:1230
457
+ msgid "How many days of logs to keep in the database."
458
  msgstr ""
459
 
460
+ #: lib/interface.php:1231
461
+ #, php-format
462
+ msgid " Set to %d for no trimming."
463
  msgstr ""
464
 
465
+ #: lib/interface.php:1246
466
+ msgid "Default operator"
467
  msgstr ""
468
 
469
+ #: lib/interface.php:1250
470
  msgid "AND - require all terms"
471
  msgstr ""
472
 
473
+ #: lib/interface.php:1251
474
  msgid "OR - any term present is enough"
475
  msgstr ""
476
 
477
+ #: lib/interface.php:1253
478
+ msgid "This setting determines the default operator for the search."
479
+ msgstr ""
480
+
481
+ #: lib/interface.php:1254
482
+ #, php-format
483
  msgid ""
484
+ "You can override this setting with the %s query parameter, like this: %s"
 
485
  msgstr ""
486
 
487
+ #: lib/interface.php:1259
488
+ msgid "Fallback to OR"
489
  msgstr ""
490
 
491
+ #: lib/interface.php:1263 lib/interface.php:1266
492
+ msgid "Disable the OR fallback."
493
+ msgstr ""
494
+
495
+ #: lib/interface.php:1269
496
  msgid ""
497
+ "By default, if AND search fails to find any results, Relevanssi will switch "
498
+ "the operator to OR and run the search again. You can prevent that by "
499
+ "checking this option."
500
  msgstr ""
501
 
502
+ #: lib/interface.php:1274
503
+ msgid "Default order"
504
  msgstr ""
505
 
506
+ #: lib/interface.php:1278
507
  msgid "Relevance (highly recommended)"
508
  msgstr ""
509
 
510
+ #: lib/interface.php:1279
511
  msgid "Post date"
512
  msgstr ""
513
 
514
+ #: lib/interface.php:1281
515
+ #, php-format
516
  msgid ""
517
+ "If you want to override this or use multi-layered ordering (eg. first order "
518
+ "by relevance, but sort ties by post title), you can use the %s query "
519
+ "variable. See Help for more information."
520
+ msgstr ""
521
+
522
+ #: lib/interface.php:1283
523
+ msgid ""
524
+ " If you want date-based results, see the recent post bonus in the Weights "
525
  "section."
526
  msgstr ""
527
 
528
+ #: lib/interface.php:1289
529
+ msgid "Keyword matching"
530
  msgstr ""
531
 
532
+ #: lib/interface.php:1293
533
+ msgid "Whole words"
534
  msgstr ""
535
 
536
+ #: lib/interface.php:1294
537
+ msgid "Partial words"
538
  msgstr ""
539
 
540
+ #: lib/interface.php:1295
541
+ msgid "Partial words if no hits for whole words"
542
  msgstr ""
543
 
544
+ #: lib/interface.php:1297
545
  msgid ""
546
+ "Whole words means Relevanssi only finds posts that include the whole search "
547
+ "term."
548
  msgstr ""
549
 
550
+ #: lib/interface.php:1298
551
+ msgid ""
552
+ "Partial words also includes cases where the word in the index begins or ends "
553
+ "with the search term (searching for 'ana' will match 'anaconda' or 'banana', "
554
+ "but not 'banal'). See Help, if you want to make Relevanssi match also inside "
555
+ "words."
556
  msgstr ""
557
 
558
+ #: lib/interface.php:1303
559
+ msgid "Weights"
 
 
 
 
 
 
 
560
  msgstr ""
561
 
562
+ #: lib/interface.php:1306
563
  msgid ""
564
+ "All the weights in the table are multipliers. To increase the weight of an "
565
+ "element, use a higher number. To make an element less significant, use a "
566
+ "number lower than 1."
 
 
 
567
  msgstr ""
568
 
569
+ #: lib/interface.php:1310
570
  msgid "Element"
571
  msgstr ""
572
 
573
+ #: lib/interface.php:1311
574
  msgid "Weight"
575
  msgstr ""
576
 
577
+ #: lib/interface.php:1316
578
+ msgid "Post content"
579
  msgstr ""
580
 
581
+ #: lib/interface.php:1324
582
  msgid "Post titles"
583
  msgstr ""
584
 
585
+ #: lib/interface.php:1333
586
  msgid "Comment text"
587
  msgstr ""
588
 
589
+ #: lib/interface.php:1353
590
+ msgid "WPML"
591
  msgstr ""
592
 
593
+ #: lib/interface.php:1357 lib/interface.php:1360
594
+ msgid "Limit results to current language."
595
  msgstr ""
596
 
597
+ #: lib/interface.php:1363
598
  msgid ""
599
+ "Enabling this option will restrict the results to the currently active "
600
+ "language. If the option is disabled, results will include posts in all "
601
+ "languages."
602
+ msgstr ""
603
+
604
+ #: lib/interface.php:1370
605
+ msgid "Polylang"
606
  msgstr ""
607
 
608
+ #: lib/interface.php:1374 lib/interface.php:1377
609
+ msgid "Allow results from all languages."
610
  msgstr ""
611
 
612
+ #: lib/interface.php:1380
613
  msgid ""
614
+ "By default Polylang restricts the search to the current language. Enabling "
615
+ "this option will lift this restriction."
616
  msgstr ""
617
 
618
+ #: lib/interface.php:1386
619
+ msgid "Admin search"
620
  msgstr ""
621
 
622
+ #: lib/interface.php:1390 lib/interface.php:1393
623
+ msgid "Use Relevanssi for admin searches."
624
  msgstr ""
625
 
626
+ #: lib/interface.php:1396
627
+ msgid ""
628
+ "If checked, Relevanssi will be used for searches in the admin interface. The "
629
+ "page search doesn't use Relevanssi, because WordPress works like that."
630
  msgstr ""
631
 
632
+ #: lib/interface.php:1401
633
+ #, php-format
634
+ msgid "Respect %s"
635
+ msgstr ""
636
+
637
+ #: lib/interface.php:1405
638
+ msgid "Respect exclude_from_search for custom post types"
639
+ msgstr ""
640
+
641
+ #: lib/interface.php:1408
642
+ #, php-format
643
+ msgid "Respect %s for custom post types"
644
+ msgstr ""
645
+
646
+ #: lib/interface.php:1410
647
  msgid ""
648
+ "If checked, Relevanssi won't display posts of custom post types that have "
649
+ "'exclude_from_search' set to true."
650
  msgstr ""
651
 
652
+ #: lib/interface.php:1418
653
  msgid ""
654
+ "You probably should uncheck this option, because you've set Relevanssi to "
655
+ "index the following non-public post types:"
656
  msgstr ""
657
 
658
+ #: lib/interface.php:1427
659
+ msgid "Throttle searches"
660
  msgstr ""
661
 
662
+ #: lib/interface.php:1431
663
+ msgid "Throttling the search does not work when sorting the posts by date."
664
  msgstr ""
665
 
666
+ #: lib/interface.php:1435 lib/interface.php:1438
667
+ msgid "Throttle searches."
 
 
 
 
668
  msgstr ""
669
 
670
+ #: lib/interface.php:1442
671
+ msgid "Your database is so small that you don't need to enable this."
672
  msgstr ""
673
 
674
+ #: lib/interface.php:1444
675
  msgid ""
676
+ "If this option is checked, Relevanssi will limit search results to at most "
677
+ "500 results per term. This will improve performance, but may cause some "
678
+ "relevant documents to go unfound. See Help for more details."
679
  msgstr ""
680
 
681
+ #: lib/interface.php:1450
682
+ msgid "Category restriction"
683
  msgstr ""
684
 
685
+ #: lib/interface.php:1466
686
  msgid ""
687
+ "You can restrict search results to a category for all searches. For "
688
+ "restricting on a per-search basis and more options (eg. tag restrictions), "
689
+ "see Help."
690
  msgstr ""
691
 
692
+ #: lib/interface.php:1471
693
+ msgid "Category exclusion"
694
  msgstr ""
695
 
696
+ #: lib/interface.php:1487
697
  msgid ""
698
+ "Posts in these categories are not included in search results. To exclude the "
699
+ "posts completely from the index, see Help."
 
700
  msgstr ""
701
 
702
+ #: lib/interface.php:1492
703
+ msgid "Post exclusion"
 
 
 
704
  msgstr ""
705
 
706
+ #: lib/interface.php:1496
707
+ msgid ""
708
+ "Enter a comma-separated list of post or page ID's to exclude those pages "
709
+ "from the search results."
710
  msgstr ""
711
 
712
+ #: lib/interface.php:1498
713
  msgid ""
714
+ "With Relevanssi Premium, it's better to use the check box on post edit "
715
+ "pages. That will remove the posts completely from the index, and will work "
716
+ "with multisite searches unlike this setting."
717
  msgstr ""
718
 
719
+ #: lib/interface.php:1508
720
  msgid "Custom excerpts/snippets"
721
  msgstr ""
722
 
723
+ #: lib/interface.php:1513
724
+ msgid "Custom search result snippets"
725
  msgstr ""
726
 
727
+ #: lib/interface.php:1517
728
+ msgid "Create custom search results snippets"
 
 
 
729
  msgstr ""
730
 
731
+ #: lib/interface.php:1520
732
+ msgid "Create custom search result snippets"
733
+ msgstr ""
734
+
735
+ #: lib/interface.php:1523
736
+ msgid "Only enable this if you actually use the custom excerpts."
737
  msgstr ""
738
 
739
+ #: lib/interface.php:1528
740
+ msgid "Length of the snippet"
741
  msgstr ""
742
 
743
+ #: lib/interface.php:1533
744
  msgid "characters"
745
  msgstr ""
746
 
747
+ #: lib/interface.php:1534
748
  msgid "words"
749
  msgstr ""
750
 
751
+ #: lib/interface.php:1536
752
+ msgid ""
753
+ "Using words is much faster than characters. Don't use characters, unless you "
754
+ "have a really good reason and your posts are short."
755
  msgstr ""
756
 
757
+ #: lib/interface.php:1541
758
+ msgid "Allowable tags in excerpts"
759
  msgstr ""
760
 
761
+ #: lib/interface.php:1545
762
  msgid ""
763
+ "List all tags you want to allow in excerpts. For example: &lt;p&gt;&lt;a&gt;"
764
+ "&lt;strong&gt;."
765
  msgstr ""
766
 
767
+ #: lib/interface.php:1550
768
+ msgid "Use custom fields for excerpts"
769
  msgstr ""
770
 
771
+ #: lib/interface.php:1554 lib/interface.php:1557
772
+ msgid "Use custom field content for building excerpts"
773
+ msgstr ""
774
+
775
+ #: lib/interface.php:1560
776
  msgid ""
777
+ "Use the custom fields setting for indexing for excerpt-making as well. "
778
+ "Enabling this option will show custom field content in Relevanssi-generated "
779
+ "excerpts."
780
  msgstr ""
781
 
782
+ #: lib/interface.php:1562
783
+ msgid "Current custom field setting"
784
  msgstr ""
785
 
786
+ #: lib/interface.php:1564
787
+ msgid "all visible custom fields"
 
 
 
 
788
  msgstr ""
789
 
790
+ #: lib/interface.php:1565
791
+ msgid "all custom fields"
792
  msgstr ""
793
 
794
+ #: lib/interface.php:1567
795
+ msgid "None selected"
796
+ msgstr ""
797
+
798
+ #: lib/interface.php:1573
799
+ msgid "Search hit highlighting"
800
  msgstr ""
801
 
802
+ #: lib/interface.php:1578
803
+ msgid "Highlight type"
804
  msgstr ""
805
 
806
+ #: lib/interface.php:1582
807
  msgid "No highlighting"
808
  msgstr ""
809
 
810
+ #: lib/interface.php:1586 lib/interface.php:1596
811
  msgid "Text color"
812
  msgstr ""
813
 
814
+ #: lib/interface.php:1587 lib/interface.php:1604
815
  msgid "Background color"
816
  msgstr ""
817
 
818
+ #: lib/interface.php:1588
819
  msgid "CSS Style"
820
  msgstr ""
821
 
822
+ #: lib/interface.php:1589
823
  msgid "CSS Class"
824
  msgstr ""
825
 
826
+ #: lib/interface.php:1591 lib/interface.php:1706
827
+ msgid "Requires custom snippets to work."
828
  msgstr ""
829
 
830
+ #: lib/interface.php:1612
831
+ msgid "CSS style for highlights"
832
  msgstr ""
833
 
834
+ #: lib/interface.php:1616
835
+ #, php-format
836
  msgid ""
837
+ "The highlights will be wrapped in a %s with this CSS in the style parameter."
 
 
838
  msgstr ""
839
 
840
+ #: lib/interface.php:1621
841
+ msgid "CSS class for highlights"
842
  msgstr ""
843
 
844
+ #: lib/interface.php:1625
845
+ #, php-format
846
+ msgid "The highlights will be wrapped in a %s with this class."
847
+ msgstr ""
848
+
849
+ #: lib/interface.php:1630
850
+ msgid "Highlight in titles"
851
+ msgstr ""
852
+
853
+ #: lib/interface.php:1634 lib/interface.php:1637
854
+ msgid "Highlight query terms in titles"
855
+ msgstr ""
856
+
857
+ #: lib/interface.php:1640
858
+ #, php-format
859
  msgid ""
860
+ "Highlights in titles require changes to the search results template. You "
861
+ "need to replace %s in the search results template with %s. For more "
862
+ "information, see the contextual help."
863
  msgstr ""
864
 
865
+ #: lib/interface.php:1645
866
+ msgid "Highlight in documents"
867
  msgstr ""
868
 
869
+ #: lib/interface.php:1649 lib/interface.php:1652
870
+ msgid "Highlight query terms in documents"
871
+ msgstr ""
872
+
873
+ #: lib/interface.php:1655
874
+ #, php-format
875
+ msgid ""
876
+ "Highlights hits when user opens the post from search results. This requires "
877
+ "an extra parameter (%s) to the links from the search results pages so in "
878
+ "order to get these highlights, you need to use %s or %s to print out the "
879
+ "permalinks on the search results templates."
880
+ msgstr ""
881
+
882
+ #: lib/interface.php:1661
883
+ msgid "Highlight in comments"
884
+ msgstr ""
885
+
886
+ #: lib/interface.php:1665 lib/interface.php:1668
887
+ msgid "Highlight query terms in comments"
888
+ msgstr ""
889
+
890
+ #: lib/interface.php:1671
891
  msgid ""
892
  "Highlights hits in comments when user opens the post from search results."
893
  msgstr ""
894
 
895
+ #: lib/interface.php:1676
896
+ msgid "Highlighting problems with non-ASCII alphabet?"
897
  msgstr ""
898
 
899
+ #: lib/interface.php:1680 lib/interface.php:1683
900
+ msgid "Uncheck this if you use non-ASCII characters"
901
+ msgstr ""
902
+
903
+ #: lib/interface.php:1686
904
  msgid ""
905
  "If you use non-ASCII characters (like Cyrillic alphabet) and the highlights "
906
+ "don't work, unchecking this option may make the highlights work."
907
+ msgstr ""
908
+
909
+ #: lib/interface.php:1691
910
+ msgid "Breakdown of search results"
911
+ msgstr ""
912
+
913
+ #: lib/interface.php:1696
914
+ msgid "Breakdown of search hits in excerpts"
915
  msgstr ""
916
 
917
+ #: lib/interface.php:1700
918
+ msgid "Show the breakdown of search hits in the excerpts"
919
  msgstr ""
920
 
921
+ #: lib/interface.php:1703
922
+ msgid "Show the breakdown of search hits in the excerpts."
923
  msgstr ""
924
 
925
+ #: lib/interface.php:1711
926
+ msgid "The breakdown format"
927
+ msgstr ""
928
+
929
+ #: lib/interface.php:1715
930
+ msgid ""
931
+ "Use %body%, %title%, %tags% and %comments% to display the number of hits (in "
932
+ "different parts of the post), %total% for total hits, %score% to display the "
933
+ "document weight and %terms% to show how many hits each search term got."
934
  msgstr ""
935
 
936
+ #: lib/interface.php:1747
937
+ #, php-format
938
+ msgid "%s empties the existing index and rebuilds it from scratch."
939
  msgstr ""
940
 
941
+ #: lib/interface.php:1747
942
+ msgid "Build the index"
943
  msgstr ""
944
 
945
+ #: lib/interface.php:1748
946
+ #, php-format
947
  msgid ""
948
+ "%s doesn't empty the index and only indexes those posts that are not "
949
+ "indexed. You can use it if you have to interrupt building the index."
950
+ msgstr ""
951
+
952
+ #: lib/interface.php:1748
953
+ msgid "Index unindexed posts"
954
+ msgstr ""
955
+
956
+ #: lib/interface.php:1749
957
+ msgid "This doesn't index any taxonomy terms or users."
958
+ msgstr ""
959
+
960
+ #: lib/interface.php:1753
961
+ msgid "Time elapsed"
962
+ msgstr ""
963
+
964
+ #: lib/interface.php:1753
965
+ msgid "Time remaining"
966
+ msgstr ""
967
+
968
+ #: lib/interface.php:1753
969
+ msgid "some time"
970
  msgstr ""
971
 
972
+ #: lib/interface.php:1758
973
+ msgid "State of the index"
974
  msgstr ""
975
 
976
+ #: lib/interface.php:1766
977
+ msgid "is the highest post ID indexed."
978
+ msgstr ""
979
+
980
+ #: lib/interface.php:1773
981
  msgid ""
982
+ "WARNING: You've chosen no post types to index. Nothing will be indexed. "
983
+ "Choose some post types to index."
984
+ msgstr ""
985
+
986
+ #: lib/interface.php:1777
987
+ msgid "Indexing options"
988
  msgstr ""
989
 
990
+ #: lib/interface.php:1779
991
+ msgid ""
992
+ "Any changes to the settings on this page require reindexing before they take "
993
+ "effect."
994
  msgstr ""
995
 
996
+ #: lib/interface.php:1783
997
+ msgid "Post types"
998
  msgstr ""
999
 
1000
+ #: lib/interface.php:1789
1001
  msgid "Type"
1002
  msgstr ""
1003
 
1004
+ #: lib/interface.php:1790 lib/interface.php:1852
1005
  msgid "Index"
1006
  msgstr ""
1007
 
1008
+ #: lib/interface.php:1791
1009
  msgid "Excluded from search?"
1010
  msgstr ""
1011
 
1012
+ #: lib/interface.php:1809 lib/interface.php:1869
1013
  msgid "no"
1014
  msgstr ""
1015
 
1016
+ #: lib/interface.php:1809 lib/interface.php:1869
1017
  msgid "yes"
1018
  msgstr ""
1019
 
1020
+ #: lib/interface.php:1838
1021
  #, php-format
1022
  msgid ""
1023
+ "%s includes all attachment types. If you want to index only some "
1024
+ "attachments, see %sControlling attachment types in the Knowledge base%s."
1025
  msgstr ""
1026
 
1027
+ #: lib/interface.php:1844
1028
+ msgid "Taxonomies"
1029
  msgstr ""
1030
 
1031
+ #: lib/interface.php:1851
 
 
 
 
1032
  msgid "Taxonomy"
1033
  msgstr ""
1034
 
1035
+ #: lib/interface.php:1853
1036
  msgid "Public?"
1037
  msgstr ""
1038
 
1039
+ #: lib/interface.php:1889
1040
  msgid ""
1041
  "If you check a taxonomy here, the terms for that taxonomy are indexed with "
1042
+ "the posts. If you for example choose \"post_tag\", searching for a tag will "
1043
  "find all posts that have the tag."
1044
  msgstr ""
1045
 
1046
+ #: lib/interface.php:1896
1047
+ msgid "Comments"
1048
  msgstr ""
1049
 
1050
+ #: lib/interface.php:1900 lib/interface.php:1914
1051
+ msgid "none"
1052
  msgstr ""
1053
 
1054
+ #: lib/interface.php:1901
1055
+ msgid "comments"
1056
  msgstr ""
1057
 
1058
+ #: lib/interface.php:1902
1059
+ msgid "comments and pingbacks"
1060
+ msgstr ""
1061
+
1062
+ #: lib/interface.php:1904
1063
+ msgid ""
1064
+ "If you choose to index comments, you can choose if you want to index just "
1065
+ "comments, or everything including comments and track- and pingbacks."
1066
+ msgstr ""
1067
+
1068
+ #: lib/interface.php:1910
1069
+ msgid "Custom fields"
1070
+ msgstr ""
1071
+
1072
+ #: lib/interface.php:1915
1073
+ msgid "all"
1074
+ msgstr ""
1075
+
1076
+ #: lib/interface.php:1916
1077
+ msgid "visible"
1078
+ msgstr ""
1079
+
1080
+ #: lib/interface.php:1917 lib/interface.php:1928
1081
+ msgid "some"
1082
+ msgstr ""
1083
+
1084
+ #: lib/interface.php:1919
1085
+ msgid "'All' indexes all custom fields for posts."
1086
+ msgstr ""
1087
+
1088
+ #: lib/interface.php:1920
1089
+ msgid ""
1090
+ "'Visible' only includes the custom fields that are visible in the user "
1091
+ "interface (with names that don't start with an underscore)."
1092
+ msgstr ""
1093
+
1094
+ #: lib/interface.php:1921
1095
+ msgid "'Some' lets you choose individual custom fields to index."
1096
+ msgstr ""
1097
+
1098
+ #: lib/interface.php:1924
1099
+ msgid ""
1100
+ "Enter a comma-separated list of custom fields to include in the index. With "
1101
+ "Relevanssi Premium, you can also use 'fieldname_%_subfieldname' notation for "
1102
+ "ACF repeater fields."
1103
+ msgstr ""
1104
+
1105
+ #: lib/interface.php:1925
1106
+ msgid ""
1107
+ "You can use 'relevanssi_index_custom_fields' filter hook to adjust which "
1108
+ "custom fields are indexed."
1109
+ msgstr ""
1110
+
1111
+ #: lib/interface.php:1928
1112
+ #, php-format
1113
+ msgid ""
1114
+ "If you want the SKU included, choose %s and enter %s. Also see the "
1115
+ "contextual help for more details."
1116
+ msgstr ""
1117
+
1118
+ #: lib/interface.php:1937
1119
+ msgid "Author display names"
1120
+ msgstr ""
1121
+
1122
+ #: lib/interface.php:1941 lib/interface.php:1944
1123
+ msgid "Index the post author display name"
1124
+ msgstr ""
1125
+
1126
+ #: lib/interface.php:1946
1127
+ msgid ""
1128
+ "Searching for the post author display name will return posts by that author."
1129
+ msgstr ""
1130
+
1131
+ #: lib/interface.php:1953 lib/interface.php:2285
1132
+ msgid "Excerpts"
1133
+ msgstr ""
1134
+
1135
+ #: lib/interface.php:1957 lib/interface.php:1960 lib/interface.php:1981
1136
+ msgid "Index the post excerpt"
1137
+ msgstr ""
1138
+
1139
+ #: lib/interface.php:1962
1140
+ msgid "Relevanssi will find posts by the content in the excerpt."
1141
+ msgstr ""
1142
+
1143
+ #: lib/interface.php:1964
1144
+ msgid ""
1145
+ "WooCommerce stores the product short description in the excerpt, so it's a "
1146
+ "good idea to index excerpts."
1147
+ msgstr ""
1148
+
1149
+ #: lib/interface.php:1972
1150
+ msgid "Shortcodes"
1151
+ msgstr ""
1152
+
1153
+ #: lib/interface.php:1977
1154
+ msgid "Expand shortcodes"
1155
+ msgstr ""
1156
+
1157
+ #: lib/interface.php:1984
1158
+ msgid "Expand shortcodes when indexing"
1159
+ msgstr ""
1160
+
1161
+ #: lib/interface.php:1987
1162
+ msgid ""
1163
+ "WooCommerce has shortcodes that don't work well with Relevanssi. With "
1164
+ "WooCommerce, make sure the option is disabled."
1165
+ msgstr ""
1166
+
1167
+ #: lib/interface.php:1989
1168
  msgid ""
1169
  "If checked, Relevanssi will expand shortcodes in post content before "
1170
+ "indexing. Otherwise shortcodes will be stripped."
1171
+ msgstr ""
1172
+
1173
+ #: lib/interface.php:1990
1174
+ msgid ""
1175
+ "If you use shortcodes to include dynamic content, Relevanssi will not keep "
1176
+ "the index updated, the index will reflect the status of the shortcode "
1177
+ "content at the moment of indexing."
1178
  msgstr ""
1179
 
1180
+ #: lib/interface.php:2007
1181
+ msgid "Advanced indexing settings"
1182
  msgstr ""
1183
 
1184
+ #: lib/interface.php:2009
1185
+ msgid "Show advanced settings"
1186
+ msgstr ""
1187
+
1188
+ #: lib/interface.php:2014
1189
+ msgid "Minimum word length"
1190
+ msgstr ""
1191
+
1192
+ #: lib/interface.php:2018
1193
+ msgid "Words shorter than this many letters will not be indexed."
1194
+ msgstr ""
1195
+
1196
+ #: lib/interface.php:2022
1197
+ msgid "Punctuation control"
1198
+ msgstr ""
1199
+
1200
+ #: lib/interface.php:2023
1201
  msgid ""
1202
+ "Here you can adjust how the punctuation is controlled. For more information, "
1203
+ "see help. Remember that any changes here require reindexing, otherwise "
1204
+ "searches will fail to find posts they should."
1205
+ msgstr ""
1206
+
1207
+ #: lib/interface.php:2027
1208
+ msgid "Hyphens and dashes"
1209
+ msgstr ""
1210
+
1211
+ #: lib/interface.php:2031 lib/interface.php:2058
1212
+ msgid "Keep"
1213
+ msgstr ""
1214
+
1215
+ #: lib/interface.php:2032 lib/interface.php:2045 lib/interface.php:2059
1216
+ msgid "Replace with spaces"
1217
  msgstr ""
1218
 
1219
+ #: lib/interface.php:2033 lib/interface.php:2046 lib/interface.php:2060
1220
+ msgid "Remove"
1221
  msgstr ""
1222
 
1223
+ #: lib/interface.php:2035
1224
  msgid ""
1225
+ "How Relevanssi should handle hyphens and dashes (en and em dashes)? "
1226
+ "Replacing with spaces is generally the best option, but in some cases "
1227
+ "removing completely is the best option. Keeping them is rarely the best "
1228
+ "option."
1229
  msgstr ""
1230
 
1231
+ #: lib/interface.php:2041
1232
+ msgid "Apostrophes and quotes"
1233
  msgstr ""
1234
 
1235
+ #: lib/interface.php:2048
1236
+ msgid ""
1237
+ "How Relevanssi should handle apostrophes and quotes? It's not possible to "
1238
+ "keep them; that would lead to problems. Default behaviour is to replace with "
1239
+ "spaces, but sometimes removing makes sense."
1240
  msgstr ""
1241
 
1242
+ #: lib/interface.php:2054
1243
+ msgid "Ampersands"
1244
  msgstr ""
1245
 
1246
+ #: lib/interface.php:2062
1247
+ msgid ""
1248
+ "How Relevanssi should handle ampersands? Replacing with spaces is generally "
1249
+ "the best option, but if you talk a lot about D&amp;D, for example, keeping "
1250
+ "the ampersands is useful."
1251
+ msgstr ""
1252
+
1253
+ #: lib/interface.php:2075
1254
+ msgid "Hide advanced settings"
1255
+ msgstr ""
1256
+
1257
+ #: lib/interface.php:2087
1258
+ msgid "Indexing attachment content"
1259
+ msgstr ""
1260
+
1261
+ #: lib/interface.php:2089
1262
+ msgid ""
1263
+ "With Relevanssi Premium, you can index the text contents of PDF attachments. "
1264
+ "The contents of the attachments are processed on an external service, which "
1265
+ "makes the feature reliable and light on your own server performance."
1266
+ msgstr ""
1267
+
1268
+ #: lib/interface.php:2091
1269
+ #, php-format
1270
+ msgid ""
1271
+ "In order to access this and many other delightful Premium features, %s buy "
1272
+ "Relevanssi Premium here%s."
1273
  msgstr ""
1274
 
1275
+ #: lib/interface.php:2107
1276
  msgid ""
1277
+ "Add synonyms here to make the searches find better results. If you notice "
1278
+ "your users frequently misspelling a product name, or for other reasons use "
1279
+ "many names for one thing, adding synonyms will make the results better."
 
1280
  msgstr ""
1281
 
1282
+ #: lib/interface.php:2109
1283
+ msgid ""
1284
+ "Do not go overboard, though, as too many synonyms can make the search "
1285
+ "confusing: users understand if a search query doesn't match everything, but "
1286
+ "they get confused if the searches match to unexpected things."
1287
  msgstr ""
1288
 
1289
+ #: lib/interface.php:2113
1290
  msgid ""
1291
+ "The format here is <code>key = value</code>. If you add <code>dog = hound</"
1292
+ "code> to the list of synonyms, searches for <code>dog</code> automatically "
1293
+ "become a search for <code>dog hound</code> and will thus match to posts that "
1294
+ "include either <code>dog</code> or <code>hound</code>. This only works in OR "
1295
+ "searches: in AND searches the synonyms only restrict the search, as now the "
1296
+ "search only finds posts that contain <strong>both</strong> <code>dog</code> "
1297
+ "and <code>hound</code>."
1298
  msgstr ""
1299
 
1300
+ #: lib/interface.php:2115
1301
+ msgid ""
1302
+ "The synonyms are one direction only. If you want both directions, add the "
1303
+ "synonym again, reversed: <code>hound = dog</code>."
1304
  msgstr ""
1305
 
1306
+ #: lib/interface.php:2117
1307
  msgid ""
1308
+ "It's possible to use phrases for the value, but not for the key. <code>dog = "
1309
+ "\"great dane\"</code> works, but <code>\"great dane\" = dog</code> doesn't."
 
 
1310
  msgstr ""
1311
 
1312
+ #: lib/interface.php:2120
1313
+ msgid ""
1314
+ "If you want to use synonyms in AND searches, enable synonym indexing on the "
1315
+ "Indexing tab."
1316
+ msgstr ""
1317
+
1318
+ #: lib/interface.php:2170
1319
  msgid ""
1320
  "Enter a word here to add it to the list of stopwords. The word will "
1321
  "automatically be removed from the index, so re-indexing is not necessary. "
1322
  "You can enter many words at the same time, separate words with commas."
1323
  msgstr ""
1324
 
1325
+ #: lib/interface.php:2177
1326
+ msgid "Stopword(s) to add"
 
 
 
 
1327
  msgstr ""
1328
 
1329
+ #: lib/interface.php:2186
1330
  msgid ""
1331
  "Here's a list of stopwords in the database. Click a word to remove it from "
1332
  "stopwords. Removing stopwords won't automatically return them to index, so "
1334
  "back to index."
1335
  msgstr ""
1336
 
1337
+ #: lib/interface.php:2192
1338
+ msgid "Current stopwords"
1339
+ msgstr ""
1340
+
1341
+ #: lib/interface.php:2214
1342
+ msgid "Exportable list of stopwords"
1343
+ msgstr ""
1344
+
1345
+ #: lib/interface.php:2218
1346
+ msgid ""
1347
+ "You can copy the list of stopwords here if you want to back up the list, "
1348
+ "copy it to a different blog or otherwise need the list."
1349
  msgstr ""
1350
 
1351
+ #: lib/interface.php:2235
1352
+ #, php-format
1353
  msgid ""
1354
+ "To adjust the post order, you can use the %s query parameter. With %s, you "
1355
+ "can use multiple layers of different sorting methods. See <a "
1356
+ "href='%s'>WordPress Codex</a> for more details on using arrays for orderby."
1357
  msgstr ""
1358
 
1359
+ #: lib/interface.php:2236
1360
+ msgid ""
1361
+ "Inside-word matching is disabled by default, because it increases garbage "
1362
+ "results that don't really match the search term. If you want to enable it, "
1363
+ "add the following function to your theme functions.php:"
1364
  msgstr ""
1365
 
1366
+ #: lib/interface.php:2241
1367
+ #, php-format
1368
+ msgid "In order to adjust the throttle limit, you can use the %s filter hook."
1369
  msgstr ""
1370
 
1371
+ #: lib/interface.php:2243
1372
  msgid ""
1373
+ "It's not usually necessary to adjust the limit from 500, but in some cases "
1374
+ "performance gains can be achieved by setting a lower limit. We don't suggest "
1375
+ "going under 200, as low values will make the results worse."
1376
  msgstr ""
1377
 
1378
+ #: lib/interface.php:2248
1379
+ msgid "Restrictions"
1380
+ msgstr ""
1381
+
1382
+ #: lib/interface.php:2250
1383
+ msgid ""
1384
+ "If you want the general search to target all posts, but have a single search "
1385
+ "form target only certain posts, you can add a hidden input variable to the "
1386
+ "search form. "
1387
+ msgstr ""
1388
+
1389
+ #: lib/interface.php:2251
1390
+ msgid ""
1391
+ "For example in order to restrict the search to categories 10, 14 and 17, you "
1392
+ "could add this to the search form:"
1393
+ msgstr ""
1394
+
1395
+ #: lib/interface.php:2253
1396
+ msgid ""
1397
+ "To restrict the search to posts tagged with alfa AND beta, you could add "
1398
+ "this to the search form:"
1399
  msgstr ""
1400
 
1401
+ #: lib/interface.php:2255
1402
+ #, php-format
1403
+ msgid "For all the possible options, see the Codex documentation for %s."
1404
+ msgstr ""
1405
+
1406
+ #: lib/interface.php:2260
1407
+ msgid "Exclusions"
1408
+ msgstr ""
1409
+
1410
+ #: lib/interface.php:2262
1411
  #, php-format
1412
  msgid ""
1413
+ "For more exclusion options, see the Codex documentation for %s. For example, "
1414
+ "to exclude tag ID 10, use"
1415
  msgstr ""
1416
 
1417
+ #: lib/interface.php:2264
1418
+ #, php-format
1419
+ msgid ""
1420
+ "To exclude posts from the index and not just from the search, you can use "
1421
+ "the %s filter hook. This would not index posts that have a certain taxonomy "
1422
+ "term:"
1423
  msgstr ""
1424
 
1425
+ #: lib/interface.php:2271 lib/interface.php:2310
1426
  #, php-format
1427
+ msgid ""
1428
+ "For more examples, see <a href='%s'>the related knowledge base posts</a>."
1429
  msgstr ""
1430
 
1431
+ #: lib/interface.php:2276
1432
+ msgid "Logs"
1433
  msgstr ""
1434
 
1435
+ #: lib/interface.php:2278
1436
+ #, php-format
1437
+ msgid ""
1438
+ "By default, the User searches page shows 20 most common keywords. In order "
1439
+ "to see more, you can adjust the value with the %s filter hook, like this:"
1440
  msgstr ""
1441
 
1442
+ #: lib/interface.php:2280
1443
+ #, php-format
1444
  msgid ""
1445
+ "The complete logs are stored in the %s database table, where you can access "
1446
+ "them if you need more information than what the User searches page provides."
1447
  msgstr ""
1448
 
1449
+ #: lib/interface.php:2287
1450
  msgid ""
1451
+ "Building custom excerpts can be slow. If you are not actually using the "
1452
+ "excerpts, make sure you disable the option."
1453
  msgstr ""
1454
 
1455
+ #: lib/interface.php:2288
1456
+ #, php-format
1457
+ msgid ""
1458
+ "Custom snippets require that the search results template uses %s to print "
1459
+ "out the excerpts."
1460
  msgstr ""
1461
 
1462
+ #: lib/interface.php:2289
1463
+ msgid ""
1464
+ "Generally, Relevanssi generates the excerpts from post content. If you want "
1465
+ "to include custom field content in the excerpt-building, this can be done "
1466
+ "with a simple setting from the excerpt settings."
1467
  msgstr ""
1468
 
1469
+ #: lib/interface.php:2290
1470
+ #, php-format
1471
  msgid ""
1472
+ "If you want more control over what content Relevanssi uses to create the "
1473
+ "excerpts, you can use the %s and %s filter hooks to adjust the content."
1474
  msgstr ""
1475
 
1476
+ #: lib/interface.php:2291
1477
+ #, php-format
1478
+ msgid ""
1479
+ "Some shortcode do not work well with Relevanssi excerpt-generation. "
1480
+ "Relevanssi disables some shortcodes automatically to prevent problems. This "
1481
+ "can be adjusted with the %s filter hook."
1482
  msgstr ""
1483
 
1484
+ #: lib/interface.php:2292
1485
+ #, php-format
1486
+ msgid ""
1487
+ "If you want Relevanssi to build excerpts faster and don't mind that they may "
1488
+ "be less than perfect in quality, add a filter that returns true on hook %s."
1489
  msgstr ""
1490
 
1491
+ #: lib/interface.php:2298
1492
+ msgid "Highlights"
1493
  msgstr ""
1494
 
1495
+ #: lib/interface.php:2300
1496
+ msgid ""
1497
+ "Title highlights don't appear automatically, because that led to problems "
1498
+ "with highlights appearing in wrong places and messing up navigation menus, "
1499
+ "for example."
1500
  msgstr ""
1501
 
1502
+ #: lib/interface.php:2301
1503
+ #, php-format
1504
+ msgid ""
1505
+ "In order to see title highlights from Relevanssi, replace %s in the search "
1506
+ "results template with %s. It does the same thing, but supports Relevanssi "
1507
+ "title highlights."
1508
  msgstr ""
1509
 
1510
+ #: lib/interface.php:2306
1511
+ msgid "Punctuation"
1512
  msgstr ""
1513
 
1514
+ #: lib/interface.php:2308
1515
+ msgid ""
1516
+ "Relevanssi removes punctuation. Some punctuation is removed, some replaced "
1517
+ "with spaces. Advanced indexing settings include some of the more common "
1518
+ "settings people want to change."
1519
+ msgstr ""
1520
+
1521
+ #: lib/interface.php:2309
1522
+ #, php-format
1523
+ msgid ""
1524
+ "For more fine-tuned changes, you can use %s filter hook to adjust what is "
1525
+ "replaced with what, and %s filter hook to completely override the default "
1526
+ "punctuation control."
1527
+ msgstr ""
1528
+
1529
+ #: lib/interface.php:2315
1530
+ msgid "Helpful shortcodes"
1531
+ msgstr ""
1532
+
1533
+ #: lib/interface.php:2317
1534
+ #, php-format
1535
+ msgid ""
1536
+ "If you have content that you don't want indexed, you can wrap that content "
1537
+ "in a %s shortcode."
1538
+ msgstr ""
1539
+
1540
+ #: lib/interface.php:2318
1541
+ #, php-format
1542
+ msgid ""
1543
+ "If you need a search form on some page on your site, you can use the %s "
1544
+ "shortcode to print out a basic search form."
1545
+ msgstr ""
1546
+
1547
+ #: lib/interface.php:2323
1548
+ msgid "WooCommerce"
1549
  msgstr ""
1550
 
1551
+ #: lib/interface.php:2325
1552
+ msgid ""
1553
+ "If your SKUs include hyphens or other punctuation, do note that Relevanssi "
1554
+ "replaces most punctuation with spaces. That's going to cause issues with SKU "
1555
+ "searches."
1556
+ msgstr ""
1557
+
1558
+ #: lib/interface.php:2326
1559
  #, php-format
1560
  msgid ""
1561
+ "For more details how to fix that issue, see <a href='%s'>WooCommerce tips in "
1562
+ "Relevanssi user manual</a>."
1563
  msgstr ""
1564
 
1565
+ #: lib/interface.php:2330
1566
+ msgid "For more information:"
1567
  msgstr ""
1568
 
1569
+ #: lib/interface.php:2331
1570
+ msgid "Plugin knowledge base"
1571
  msgstr ""
1572
 
1573
+ #: lib/interface.php:2332
1574
  msgid "WordPress.org forum"
1575
  msgstr ""
1576
 
1577
+ #: lib/interface.php:2356
1578
+ msgid "Click OK to copy Relevanssi options to all subsites"
1579
+ msgstr ""
1580
+
1581
+ #: lib/interface.php:2357
1582
+ msgid "Are you sure you want to remove all stopwords?"
1583
+ msgstr ""
1584
+
1585
+ #: lib/interface.php:2358
1586
+ msgid "Wiping out the index..."
1587
+ msgstr ""
1588
+
1589
+ #: lib/interface.php:2359
1590
+ msgid "Done."
1591
+ msgstr ""
1592
+
1593
+ #: lib/interface.php:2360
1594
+ msgid "Indexing users..."
1595
+ msgstr ""
1596
+
1597
+ #: lib/interface.php:2361
1598
+ msgid "Indexing the following taxonomies:"
1599
+ msgstr ""
1600
+
1601
+ #: lib/interface.php:2362
1602
+ msgid "Counting posts..."
1603
+ msgstr ""
1604
+
1605
+ #: lib/interface.php:2363
1606
+ msgid "Counting taxonomy terms..."
1607
+ msgstr ""
1608
+
1609
+ #: lib/interface.php:2364
1610
+ msgid "posts found."
1611
+ msgstr ""
1612
+
1613
+ #: lib/interface.php:2365
1614
+ msgid "taxonomy terms found."
1615
+ msgstr ""
1616
+
1617
+ #: lib/interface.php:2366
1618
+ msgid "Taxonomy term indexing is disabled."
1619
+ msgstr ""
1620
+
1621
+ #: lib/interface.php:2367
1622
+ msgid "Indexing complete."
1623
+ msgstr ""
1624
+
1625
+ #: lib/interface.php:2368
1626
+ msgid "posts excluded."
1627
+ msgstr ""
1628
+
1629
+ #: lib/interface.php:2369
1630
+ msgid "Settings have changed, please save the options before indexing."
1631
+ msgstr ""
1632
+
1633
+ #: lib/interface.php:2370
1634
+ msgid "Reload the page to refresh the state of the index."
1635
+ msgstr ""
1636
+
1637
+ #: lib/interface.php:2371
1638
+ msgid "Are you sure you want to delete all PDF content from the index?"
1639
+ msgstr ""
1640
+
1641
+ #: lib/interface.php:2372
1642
+ msgid "Relevanssi PDF data wiped clean. Removed entries: "
1643
+ msgstr ""
1644
+
1645
+ #: lib/interface.php:2373
1646
+ msgid "hour"
1647
+ msgstr ""
1648
+
1649
+ #: lib/interface.php:2374
1650
+ msgid "hours"
1651
+ msgstr ""
1652
+
1653
+ #: lib/interface.php:2375
1654
+ msgid "about"
1655
+ msgstr ""
1656
+
1657
+ #: lib/interface.php:2376
1658
+ msgid "about an hour"
1659
+ msgstr ""
1660
+
1661
+ #: lib/interface.php:2377
1662
+ msgid "about an hour and a half"
1663
+ msgstr ""
1664
+
1665
+ #: lib/interface.php:2378
1666
+ msgid "minute"
1667
+ msgstr ""
1668
+
1669
+ #: lib/interface.php:2379
1670
+ msgid "minutes"
1671
+ msgstr ""
1672
+
1673
+ #: lib/interface.php:2380
1674
+ msgid "less than a minute"
1675
+ msgstr ""
1676
+
1677
+ #: lib/interface.php:2381
1678
+ msgid "we're done!"
1679
  msgstr ""
stopwords/stopwords.en_GB CHANGED
@@ -34,7 +34,7 @@ $stopwords = array(
34
  "are",
35
  "around",
36
  "as",
37
- "at",
38
  "back",
39
  "be",
40
  "became",
34
  "are",
35
  "around",
36
  "as",
37
+ "at",
38
  "back",
39
  "be",
40
  "became",
stopwords/stopwords.en_US CHANGED
@@ -34,7 +34,7 @@ $stopwords = array(
34
  "are",
35
  "around",
36
  "as",
37
- "at",
38
  "back",
39
  "be",
40
  "became",
34
  "are",
35
  "around",
36
  "as",
37
+ "at",
38
  "back",
39
  "be",
40
  "became",
stopwords/stopwords.it_IT ADDED
@@ -0,0 +1,666 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ $stopwords = array(
3
+ "a",
4
+ "abbastanza",
5
+ "abbia",
6
+ "abbiamo",
7
+ "abbiano",
8
+ "abbiate",
9
+ "accanto",
10
+ "acciocché",
11
+ "ad",
12
+ "adesso",
13
+ "affinché",
14
+ "agl",
15
+ "agli",
16
+ "agosto",
17
+ "ah",
18
+ "ahimè",
19
+ "ai",
20
+ "al",
21
+ "alcune",
22
+ "alcuni",
23
+ "alcuno",
24
+ "all",
25
+ "alla",
26
+ "alle",
27
+ "allo",
28
+ "allora",
29
+ "almeno",
30
+ "alquanto",
31
+ "altre",
32
+ "altresì",
33
+ "altrettanto",
34
+ "altri",
35
+ "altrimenti",
36
+ "altro",
37
+ "altrove",
38
+ "anche",
39
+ "ancora",
40
+ "anni",
41
+ "anno",
42
+ "anzi",
43
+ "aperto",
44
+ "appunto",
45
+ "aprile",
46
+ "assai",
47
+ "assieme",
48
+ "attraverso",
49
+ "attuale",
50
+ "attualmente",
51
+ "avanti",
52
+ "avemmo",
53
+ "avendo",
54
+ "avere",
55
+ "avesse",
56
+ "avessero",
57
+ "avessi",
58
+ "avessimo",
59
+ "aveste",
60
+ "avesti",
61
+ "avete",
62
+ "aveva",
63
+ "avevamo",
64
+ "avevano",
65
+ "avevate",
66
+ "avevi",
67
+ "avevo",
68
+ "avrà",
69
+ "avrai",
70
+ "avranno",
71
+ "avrebbe",
72
+ "avrebbero",
73
+ "avrei",
74
+ "avremmo",
75
+ "avremo",
76
+ "avreste",
77
+ "avresti",
78
+ "avrete",
79
+ "avrò",
80
+ "avuta",
81
+ "avute",
82
+ "avuti",
83
+ "avuto",
84
+ "b",
85
+ "basta",
86
+ "ben",
87
+ "benché",
88
+ "bene",
89
+ "breve",
90
+ "buono",
91
+ "c",
92
+ "ce",
93
+ "cento",
94
+ "certamente",
95
+ "certo",
96
+ "che",
97
+ "chi",
98
+ "chiunque",
99
+ "chiuso",
100
+ "ci",
101
+ "ciascuno",
102
+ "cinquanta",
103
+ "cinque",
104
+ "ciò",
105
+ "cioè",
106
+ "circa",
107
+ "codesta",
108
+ "codesto",
109
+ "coi",
110
+ "col",
111
+ "colei",
112
+ "colui",
113
+ "come",
114
+ "comprare",
115
+ "comunque",
116
+ "con",
117
+ "consecutivi",
118
+ "consecutivo",
119
+ "contro",
120
+ "corto",
121
+ "cosa",
122
+ "cose",
123
+ "così",
124
+ "cotesta",
125
+ "cotesto",
126
+ "cui",
127
+ "d",
128
+ "da",
129
+ "dagl",
130
+ "dagli",
131
+ "dai",
132
+ "dai",
133
+ "dal",
134
+ "dall",
135
+ "dalla",
136
+ "dalle",
137
+ "dallo",
138
+ "data",
139
+ "davanti",
140
+ "decimo",
141
+ "degl",
142
+ "degli",
143
+ "dei",
144
+ "dei",
145
+ "del",
146
+ "dell",
147
+ "della",
148
+ "della",
149
+ "delle",
150
+ "dello",
151
+ "dentro",
152
+ "deve",
153
+ "devo",
154
+ "di",
155
+ "dicembre",
156
+ "dieci",
157
+ "dietro",
158
+ "difatti",
159
+ "differente",
160
+ "difficile",
161
+ "dissimile",
162
+ "diverso",
163
+ "domenica",
164
+ "dopo",
165
+ "doppio",
166
+ "dov",
167
+ "dove",
168
+ "dovrà",
169
+ "dovrebbe",
170
+ "dovunque",
171
+ "dovuto",
172
+ "due",
173
+ "dunque",
174
+ "durante",
175
+ "e",
176
+ "è",
177
+ "ebbe",
178
+ "ebbene",
179
+ "ebbero",
180
+ "ebbi",
181
+ "eccetto",
182
+ "ecco",
183
+ "ed",
184
+ "effettivamente",
185
+ "egli",
186
+ "eh",
187
+ "ella",
188
+ "entrambe",
189
+ "entrambi",
190
+ "era",
191
+ "erano",
192
+ "eravamo",
193
+ "eravate",
194
+ "eri",
195
+ "ero",
196
+ "esempio",
197
+ "essa",
198
+ "esse",
199
+ "essendo",
200
+ "essi",
201
+ "esso",
202
+ "esterno",
203
+ "f",
204
+ "faccia",
205
+ "facciamo",
206
+ "facciano",
207
+ "facciate",
208
+ "faccio",
209
+ "facemmo",
210
+ "facendo",
211
+ "facesse",
212
+ "facessero",
213
+ "facessi",
214
+ "facessimo",
215
+ "faceste",
216
+ "facesti",
217
+ "faceva",
218
+ "facevamo",
219
+ "facevano",
220
+ "facevate",
221
+ "facevi",
222
+ "facevo",
223
+ "facile",
224
+ "fai",
225
+ "falso",
226
+ "fanno",
227
+ "farà",
228
+ "farai",
229
+ "faranno",
230
+ "fare",
231
+ "farebbe",
232
+ "farebbero",
233
+ "farei",
234
+ "faremmo",
235
+ "faremo",
236
+ "fareste",
237
+ "faresti",
238
+ "farete",
239
+ "farò",
240
+ "febbraio",
241
+ "fece",
242
+ "fecero",
243
+ "feci",
244
+ "finanche",
245
+ "finché",
246
+ "fine",
247
+ "fino",
248
+ "forse",
249
+ "fosse",
250
+ "fossero",
251
+ "fossi",
252
+ "fossimo",
253
+ "foste",
254
+ "fosti",
255
+ "fra",
256
+ "frattanto",
257
+ "fu",
258
+ "fui",
259
+ "fummo",
260
+ "fuorché",
261
+ "fuori",
262
+ "furono",
263
+ "g",
264
+ "generalmente",
265
+ "gennaio",
266
+ "gente",
267
+ "già",
268
+ "giacché",
269
+ "giovedì",
270
+ "giu",
271
+ "giugno",
272
+ "gli",
273
+ "grande",
274
+ "h",
275
+ "ha",
276
+ "ha",
277
+ "hai",
278
+ "hanno",
279
+ "ho",
280
+ "ho",
281
+ "ho",
282
+ "i",
283
+ "il",
284
+ "impossibile",
285
+ "improbabile",
286
+ "in",
287
+ "indietro ",
288
+ "infatti",
289
+ "inoltre",
290
+ "insieme",
291
+ "insolito",
292
+ "insomma",
293
+ "insufficiente",
294
+ "insufficientemente",
295
+ "intanto",
296
+ "interno",
297
+ "intorno",
298
+ "inusuale",
299
+ "inutile",
300
+ "inutilmente",
301
+ "invece",
302
+ "invero",
303
+ "io",
304
+ "j",
305
+ "k",
306
+ "l",
307
+ "la",
308
+ "là",
309
+ "laddove",
310
+ "lavoro",
311
+ "le",
312
+ "lei",
313
+ "li",
314
+ "lì",
315
+ "lo",
316
+ "lontano",
317
+ "loro",
318
+ "luglio",
319
+ "lui",
320
+ "lunedì",
321
+ "lungo",
322
+ "m",
323
+ "ma",
324
+ "maggio",
325
+ "maggior",
326
+ "maggiore",
327
+ "mai",
328
+ "male",
329
+ "malgrado",
330
+ "martedì",
331
+ "marzo",
332
+ "me",
333
+ "mediante",
334
+ "meglio",
335
+ "meno",
336
+ "mentre",
337
+ "mercoledì",
338
+ "mi",
339
+ "mia",
340
+ "mie",
341
+ "miei",
342
+ "minor",
343
+ "minore",
344
+ "mio",
345
+ "modo",
346
+ "molta",
347
+ "molti",
348
+ "molto",
349
+ "n",
350
+ "naturalmente",
351
+ "ne",
352
+ "né",
353
+ "neanche",
354
+ "negl",
355
+ "negli",
356
+ "nei",
357
+ "nel",
358
+ "nell",
359
+ "nella",
360
+ "nelle",
361
+ "nello",
362
+ "nemmeno",
363
+ "neppure",
364
+ "nessun",
365
+ "nessuno",
366
+ "new",
367
+ "news",
368
+ "niente",
369
+ "no",
370
+ "noi",
371
+ "nome",
372
+ "non",
373
+ "nondimeno",
374
+ "nono",
375
+ "nonostante",
376
+ "nostra",
377
+ "nostre",
378
+ "nostri",
379
+ "nostro",
380
+ "novanta",
381
+ "nove",
382
+ "novembre",
383
+ "nulla",
384
+ "nuovamente",
385
+ "nuovi",
386
+ "nuovo",
387
+ "o",
388
+ "ogni",
389
+ "ognuno",
390
+ "oh",
391
+ "oltre",
392
+ "oltre",
393
+ "oppure",
394
+ "ora",
395
+ "orbene",
396
+ "orsù",
397
+ "ossia",
398
+ "ottanta",
399
+ "ottavo",
400
+ "otto",
401
+ "ottobre",
402
+ "ovunque",
403
+ "ovviamente",
404
+ "ovvio",
405
+ "p",
406
+ "parecchi",
407
+ "parecchio",
408
+ "peggio",
409
+ "per",
410
+ "perch",
411
+ "perché",
412
+ "perciò",
413
+ "perfino",
414
+ "pero",
415
+ "però",
416
+ "persino",
417
+ "persone",
418
+ "pertanto",
419
+ "pi",
420
+ "piccolo",
421
+ "pieno",
422
+ "piu",
423
+ "più",
424
+ "piuttosto",
425
+ "po",
426
+ "pochi",
427
+ "poco",
428
+ "poi",
429
+ "poiché",
430
+ "possibile",
431
+ "potrà",
432
+ "potrebbe",
433
+ "potuto",
434
+ "precedente",
435
+ "precedentemente",
436
+ "presso",
437
+ "presto",
438
+ "prima",
439
+ "primi",
440
+ "primo",
441
+ "probabile",
442
+ "probabilmente",
443
+ "promesso",
444
+ "pronto",
445
+ "propri",
446
+ "proprio",
447
+ "prossimo",
448
+ "può",
449
+ "purché",
450
+ "pure",
451
+ "q",
452
+ "qua",
453
+ "qual",
454
+ "qualche",
455
+ "qualcosa",
456
+ "qualcuno",
457
+ "quale",
458
+ "quali",
459
+ "qualora",
460
+ "qualunque",
461
+ "quando",
462
+ "quanta",
463
+ "quante",
464
+ "quanti",
465
+ "quanto",
466
+ "quantunque",
467
+ "quaranta",
468
+ "quarto",
469
+ "quasi",
470
+ "quattro",
471
+ "quell",
472
+ "quella",
473
+ "quelle",
474
+ "quelli",
475
+ "quello",
476
+ "questa",
477
+ "queste",
478
+ "questi",
479
+ "questo",
480
+ "qui",
481
+ "qui",
482
+ "quindi",
483
+ "quinto",
484
+ "r",
485
+ "reale",
486
+ "realmente",
487
+ "rispetto",
488
+ "s",
489
+ "sabato",
490
+ "salvo",
491
+ "sara",
492
+ "sarà",
493
+ "sarai",
494
+ "saranno",
495
+ "sarebbe",
496
+ "sarebbero",
497
+ "sarei",
498
+ "saremmo",
499
+ "saremo",
500
+ "sareste",
501
+ "saresti",
502
+ "sarete",
503
+ "sarò",
504
+ "scelta",
505
+ "scelto",
506
+ "se",
507
+ "sebbene",
508
+ "secondo",
509
+ "sei",
510
+ "sembra ",
511
+ "sembrava",
512
+ "semplice",
513
+ "semplicemente",
514
+ "sempre",
515
+ "senza",
516
+ "sessanta",
517
+ "sesto",
518
+ "settanta",
519
+ "sette",
520
+ "settembre",
521
+ "settimo",
522
+ "si",
523
+ "sì",
524
+ "sia",
525
+ "siamo",
526
+ "siano",
527
+ "siate",
528
+ "siete",
529
+ "siffatto",
530
+ "simile",
531
+ "soli",
532
+ "solitamente",
533
+ "solito",
534
+ "solo",
535
+ "soltanto",
536
+ "sono",
537
+ "sopra",
538
+ "soprattutto",
539
+ "sotto",
540
+ "specificamente",
541
+ "specifico",
542
+ "spesso",
543
+ "sta",
544
+ "stai",
545
+ "stando",
546
+ "stanno",
547
+ "stante",
548
+ "starà",
549
+ "starai",
550
+ "staranno",
551
+ "starebbe",
552
+ "starebbero",
553
+ "starei",
554
+ "staremmo",
555
+ "staremo",
556
+ "stareste",
557
+ "staresti",
558
+ "starete",
559
+ "starò",
560
+ "stati",
561
+ "stato",
562
+ "stava",
563
+ "stavamo",
564
+ "stavano",
565
+ "stavate",
566
+ "stavi",
567
+ "stavo",
568
+ "stemmo",
569
+ "stesse",
570
+ "stessero",
571
+ "stessi",
572
+ "stessimo",
573
+ "stesso",
574
+ "steste",
575
+ "stesti",
576
+ "stette",
577
+ "stettero",
578
+ "stetti",
579
+ "stia",
580
+ "stiamo",
581
+ "stiano",
582
+ "stiate",
583
+ "sto",
584
+ "su",
585
+ "sua",
586
+ "subito",
587
+ "successivamente",
588
+ "successivo",
589
+ "sue",
590
+ "sufficiente",
591
+ "sufficientemente",
592
+ "sugl",
593
+ "sugli",
594
+ "sui",
595
+ "sul",
596
+ "sull",
597
+ "sulla",
598
+ "sulle",
599
+ "sullo",
600
+ "suo",
601
+ "suoi",
602
+ "super",
603
+ "suvvia",
604
+ "t",
605
+ "tale",
606
+ "talvolta",
607
+ "tanto",
608
+ "tardi",
609
+ "te",
610
+ "tempo",
611
+ "terzo",
612
+ "ti",
613
+ "totale",
614
+ "totali",
615
+ "tra",
616
+ "tranne",
617
+ "tre",
618
+ "trenta",
619
+ "triplo",
620
+ "troppo",
621
+ "tu",
622
+ "tua",
623
+ "tue",
624
+ "tuo",
625
+ "tuoi",
626
+ "tuttavia",
627
+ "tutti",
628
+ "tutto",
629
+ "u",
630
+ "uguale",
631
+ "uguali",
632
+ "ulteriore",
633
+ "ultimi",
634
+ "ultimo",
635
+ "un",
636
+ "una",
637
+ "uno",
638
+ "urrà",
639
+ "usuale",
640
+ "utile",
641
+ "v",
642
+ "va",
643
+ "vai",
644
+ "vari",
645
+ "vario",
646
+ "ve",
647
+ "venerdì",
648
+ "venti",
649
+ "veramente",
650
+ "vero",
651
+ "verso",
652
+ "vi",
653
+ "via",
654
+ "vicino",
655
+ "voi",
656
+ "volte",
657
+ "vostra",
658
+ "vostre",
659
+ "vostri",
660
+ "vostro",
661
+ "vuoto",
662
+ "w",
663
+ "x",
664
+ "y",
665
+ "z"
666
+ );
uninstall.php CHANGED
@@ -4,63 +4,107 @@ if (!defined('WP_UNINSTALL_PLUGIN'))
4
  exit();
5
 
6
  global $wpdb;
7
- require_once('lib/uninstall.php');
 
8
 
9
- if (!defined('RELEVANSSI_PREMIUM')) relevanssi_uninstall();
10
- // if Relevanssi Premium is installed, options will not be deleted
 
 
 
 
 
 
11
 
12
- function relevanssi_uninstall() {
13
- delete_option('relevanssi_title_boost');
14
- delete_option('relevanssi_tag_boost');
15
- delete_option('relevanssi_comment_boost');
 
 
 
16
  delete_option('relevanssi_admin_search');
17
- delete_option('relevanssi_highlight');
18
- delete_option('relevanssi_txt_col');
19
  delete_option('relevanssi_bg_col');
 
 
 
20
  delete_option('relevanssi_css');
21
  delete_option('relevanssi_class');
22
- delete_option('relevanssi_excerpts');
 
 
 
 
 
 
 
 
23
  delete_option('relevanssi_excerpt_length');
24
  delete_option('relevanssi_excerpt_type');
25
  delete_option('relevanssi_excerpt_allowable_tags');
26
- delete_option('relevanssi_log_queries');
27
- delete_option('relevanssi_log_queries_with_ip');
28
- delete_option('relevanssi_excat');
29
- delete_option('relevanssi_extag');
30
- delete_option('relevanssi_cat');
31
- delete_option('relevanssi_index_fields');
32
  delete_option('relevanssi_exclude_posts'); //added by OdditY
33
- delete_option('relevanssi_hilite_title'); //added by OdditY
34
- delete_option('relevanssi_index_comments'); //added by OdditY
35
- delete_option('relevanssi_show_matches');
36
- delete_option('relevanssi_show_matches_text');
37
  delete_option('relevanssi_fuzzy');
 
 
 
 
 
 
 
 
38
  delete_option('relevanssi_index');
39
- delete_option('relevanssi_indexed');
40
- delete_option('relevanssi_expand_shortcodes');
41
  delete_option('relevanssi_index_author');
42
- delete_option('relevanssi_implicit_operator');
43
- delete_option('relevanssi_omit_from_logs');
44
- delete_option('relevanssi_synonyms');
45
  delete_option('relevanssi_index_excerpt');
46
- delete_option('relevanssi_highlight_docs');
47
- delete_option('relevanssi_highlight_comments');
48
  delete_option('relevanssi_index_limit');
49
- delete_option('relevanssi_disable_or_fallback');
50
- delete_option('relevanssi_respect_exclude');
 
 
 
 
 
 
 
 
 
 
 
 
 
51
  delete_option('relevanssi_min_word_length');
52
- delete_option('relevanssi_options');
53
- delete_option('relevanssi_wpml_only_current');
54
- delete_option('relevanssi_word_boundaries');
55
- delete_option('relevanssi_default_orderby');
56
- delete_option('relevanssi_db_version');
 
 
 
 
 
 
 
57
  delete_option('relevanssi_throttle');
58
  delete_option('relevanssi_throttle_limit');
59
- delete_option('relevanssi_index_post_types');
60
- delete_option('relevanssi_post_type_weights');
61
- delete_option('relevanssi_index_taxonomies_list');
62
- delete_option('relevanssi_doc_count');
63
 
 
 
 
 
 
 
 
64
  // Unused options, removed in case they are still left
65
  delete_option('relevanssi_custom_types');
66
  delete_option('relevanssi_hidesponsor');
@@ -68,14 +112,12 @@ function relevanssi_uninstall() {
68
  delete_option('relevanssi_index_type');
69
  delete_option('relevanssi_show_matches_txt');
70
  delete_option('relevanssi_tag_boost');
71
- delete_option('relevanssi_include_tags'); //added by OdditY
72
- delete_option('relevanssi_custom_taxonomies');
73
  delete_option('relevanssi_include_cats');
74
- delete_option('relevanssi_cache_seconds');
75
- delete_option('relevanssi_enable_cache');
76
- delete_option('relevanssi_show_matches_txt');
77
 
78
  relevanssi_clear_database_tables();
79
  }
80
-
81
- ?>
4
  exit();
5
 
6
  global $wpdb;
7
+ define('RELEVANSSI_PREMIUM', true);
8
+ require_once('premium/uninstall.php');
9
 
10
+ if (function_exists('is_multisite') && is_multisite()) {
11
+ $blogids = $wpdb->get_col($wpdb->prepare("SELECT blog_id FROM $wpdb->blogs"));
12
+ $old_blogid = $wpdb->blogid;
13
+ foreach ($blogids as $blog_id) {
14
+ switch_to_blog($blog_id);
15
+ _relevanssi_uninstall();
16
+ }
17
+ switch_to_blog($old_blogid);
18
 
19
+ delete_site_option('relevanssi_api_key');
20
+ }
21
+ else {
22
+ _relevanssi_uninstall();
23
+ }
24
+
25
+ function _relevanssi_uninstall() {
26
  delete_option('relevanssi_admin_search');
27
+ delete_option('relevanssi_api_key');
 
28
  delete_option('relevanssi_bg_col');
29
+ delete_option('relevanssi_cache_seconds');
30
+ delete_option('relevanssi_cat');
31
+ delete_option('relevanssi_comment_boost');
32
  delete_option('relevanssi_css');
33
  delete_option('relevanssi_class');
34
+ delete_option('relevanssi_content_boost');
35
+ delete_option('relevanssi_db_version');
36
+ delete_option('relevanssi_default_orderby');
37
+ delete_option('relevanssi_disable_or_fallback');
38
+ delete_option('relevanssi_disable_shortcodes');
39
+ delete_option('relevanssi_doc_count');
40
+ delete_option('relevanssi_enable_cache');
41
+ delete_option('relevanssi_excat');
42
+ delete_option('relevanssi_extag');
43
  delete_option('relevanssi_excerpt_length');
44
  delete_option('relevanssi_excerpt_type');
45
  delete_option('relevanssi_excerpt_allowable_tags');
46
+ delete_option('relevanssi_excerpt_custom_fields');
47
+ delete_option('relevanssi_excerpts');
 
 
 
 
48
  delete_option('relevanssi_exclude_posts'); //added by OdditY
49
+ delete_option('relevanssi_expand_shortcodes');
 
 
 
50
  delete_option('relevanssi_fuzzy');
51
+ delete_option('relevanssi_hide_branding');
52
+ delete_option('relevanssi_hide_post_controls');
53
+ delete_option('relevanssi_highlight_comments');
54
+ delete_option('relevanssi_highlight_docs_external');
55
+ delete_option('relevanssi_highlight_docs');
56
+ delete_option('relevanssi_highlight');
57
+ delete_option('relevanssi_hilite_title'); //added by OdditY
58
+ delete_option('relevanssi_implicit_operator');
59
  delete_option('relevanssi_index');
 
 
60
  delete_option('relevanssi_index_author');
61
+ delete_option('relevanssi_index_comments'); //added by OdditY
62
+ delete_option('relevanssi_index_drafts');
 
63
  delete_option('relevanssi_index_excerpt');
64
+ delete_option('relevanssi_index_fields');
 
65
  delete_option('relevanssi_index_limit');
66
+ delete_option('relevanssi_index_pdf_parent');
67
+ delete_option('relevanssi_index_post_types');
68
+ delete_option('relevanssi_index_subscribers');
69
+ delete_option('relevanssi_index_synonyms');
70
+ delete_option('relevanssi_index_taxonomies');
71
+ delete_option('relevanssi_index_taxonomies_list');
72
+ delete_option('relevanssi_index_terms');
73
+ delete_option('relevanssi_index_users');
74
+ delete_option('relevanssi_index_user_fields');
75
+ delete_option('relevanssi_indexed');
76
+ delete_option('relevanssi_internal_links');
77
+ delete_option('relevanssi_link_boost');
78
+ delete_option('relevanssi_link_pdf_files');
79
+ delete_option('relevanssi_log_queries');
80
+ delete_option('relevanssi_log_queries_with_ip');
81
  delete_option('relevanssi_min_word_length');
82
+ delete_option('relevanssi_mysql_columns');
83
+ delete_option('relevanssi_omit_from_logs');
84
+ delete_option('relevanssi_polylang_all_languages');
85
+ delete_option('relevanssi_post_type_weights');
86
+ delete_option('relevanssi_punctuation');
87
+ delete_option('relevanssi_recency_bonus');
88
+ delete_option('relevanssi_respect_exclude');
89
+ delete_option('relevanssi_send_pdf_files');
90
+ delete_option('relevanssi_show_matches_text');
91
+ delete_option('relevanssi_show_matches');
92
+ delete_option('relevanssi_synonyms');
93
+ delete_option('relevanssi_thousand_separator');
94
  delete_option('relevanssi_throttle');
95
  delete_option('relevanssi_throttle_limit');
96
+ delete_option('relevanssi_title_boost');
97
+ delete_option('relevanssi_txt_col');
98
+ delete_option('relevanssi_word_boundaries');
99
+ delete_option('relevanssi_wpml_only_current');
100
 
101
+ global $wpdb;
102
+ $wpdb->query("DELETE FROM $wpdb->postmeta WHERE meta_key = '_relevanssi_hide_post'");
103
+ $wpdb->query("DELETE FROM $wpdb->postmeta WHERE meta_key = '_relevanssi_pin'");
104
+ $wpdb->query("DELETE FROM $wpdb->postmeta WHERE meta_key = '_relevanssi_unpin'");
105
+ $wpdb->query("DELETE FROM $wpdb->postmeta WHERE meta_key = '_relevanssi_pdf_content'");
106
+ $wpdb->query("DELETE FROM $wpdb->postmeta WHERE meta_key = '_relevanssi_pdf_error'");
107
+
108
  // Unused options, removed in case they are still left
109
  delete_option('relevanssi_custom_types');
110
  delete_option('relevanssi_hidesponsor');
112
  delete_option('relevanssi_index_type');
113
  delete_option('relevanssi_show_matches_txt');
114
  delete_option('relevanssi_tag_boost');
 
 
115
  delete_option('relevanssi_include_cats');
116
+ delete_option('relevanssi_include_tags'); //added by OdditY
117
+ delete_option('relevanssi_custom_taxonomies');
118
+ delete_option('relevanssi_taxonomies_to_index');
119
 
120
  relevanssi_clear_database_tables();
121
  }
122
+
123
+ ?>