diff --git a/CHANGELOG.md b/CHANGELOG.md index 5f634a5339..e70a503b6e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,30 +13,49 @@ All notable changes to this project will be documented in this file, per [the Ke ### Security --> +## [4.5.0] - 2023-03-09 + +**Note that starting from the ElasticPress 5.0.0 release the `Users` feature will be moved to the [ElasticPress Labs](https://github.com/10up/ElasticPressLabs) plugin. The `Terms` and `Comments` features will remain in ElasticPress but will be available only if enabled via code. Check [our blog post](https://www.elasticpress.io/blog/2023/03/enabling-comments-and-terms-in-elasticpress-5-0) for more info.** + +ElasticPress 4.5.0 release highlights: +* Autosuggest for WooCommerce Orders ([#3175](https://github.com/10up/ElasticPress/pull/3175), [#3308](https://github.com/10up/ElasticPress/pull/3308), [#3321](https://github.com/10up/ElasticPress/pull/3321), [#3324](https://github.com/10up/ElasticPress/pull/3324), [#3323](https://github.com/10up/ElasticPress/pull/3323), [#3310](https://github.com/10up/ElasticPress/pull/3310), [#3349](https://github.com/10up/ElasticPress/pull/3349), [#3339](https://github.com/10up/ElasticPress/pull/3339), and [#3363](https://github.com/10up/ElasticPress/pull/3363)) +* New Facet by Meta Range block ([#3289](https://github.com/10up/ElasticPress/pull/3289), [#3342](https://github.com/10up/ElasticPress/pull/3342), [#3337](https://github.com/10up/ElasticPress/pull/3337), [#3361](https://github.com/10up/ElasticPress/pull/3361), [#3364](https://github.com/10up/ElasticPress/pull/3364), [#3368](https://github.com/10up/ElasticPress/pull/3368), and [#3365](https://github.com/10up/ElasticPress/pull/3365)) +* ElasticPress.io messages system ([#3162](https://github.com/10up/ElasticPress/pull/3162) and [#3376](https://github.com/10up/ElasticPress/pull/3376)) +* Indices of disabled features will be deleted during a full sync ([#3261](https://github.com/10up/ElasticPress/pull/3261)) +* WooCommerce Queries ([#3259](https://github.com/10up/ElasticPress/pull/3259) and [#3362](https://github.com/10up/ElasticPress/pull/3362)) + ### Added -- Autosuggest for WooCommerce Orders. Props [@JakePT](https://github.com/JakePT) via [#3175](https://github.com/10up/ElasticPress/pull/3175), [#3308](https://github.com/10up/ElasticPress/pull/3308), and [#3321](https://github.com/10up/ElasticPress/pull/3321). -- New Facet by Meta Range block (currently available only using custom code.) Props [@felipeelia](https://github.com/felipeelia) via [#3289](https://github.com/10up/ElasticPress/pull/3289). +- Autosuggest for WooCommerce Orders. Props [@JakePT](https://github.com/JakePT) and [@felipeelia](https://github.com/felipeelia) via [#3175](https://github.com/10up/ElasticPress/pull/3175), [#3308](https://github.com/10up/ElasticPress/pull/3308), [#3321](https://github.com/10up/ElasticPress/pull/3321), [#3324](https://github.com/10up/ElasticPress/pull/3324), [#3323](https://github.com/10up/ElasticPress/pull/3323), [#3310](https://github.com/10up/ElasticPress/pull/3310), [#3349](https://github.com/10up/ElasticPress/pull/3349), and [#3339](https://github.com/10up/ElasticPress/pull/3339). +- New Facet by Meta Range block (currently in Beta.) Props [@felipeelia](https://github.com/felipeelia) via [#3289](https://github.com/10up/ElasticPress/pull/3289), [#3342](https://github.com/10up/ElasticPress/pull/3342), [#3337](https://github.com/10up/ElasticPress/pull/3337), [#3361](https://github.com/10up/ElasticPress/pull/3361), [#3363](https://github.com/10up/ElasticPress/pull/3363), [#3364](https://github.com/10up/ElasticPress/pull/3364), [#3368](https://github.com/10up/ElasticPress/pull/3368), and [#3365](https://github.com/10up/ElasticPress/pull/3365). - Option to display term counts in Facets blocks. Props [@felipeelia](https://github.com/felipeelia) via [#3309](https://github.com/10up/ElasticPress/pull/3309). - New capability for managing ElasticPress. Props [@tlovett1](https://github.com/tlovett1), [@tott](https://github.com/tott), and [@felipeelia](https://github.com/felipeelia) via [#3313](https://github.com/10up/ElasticPress/pull/3313). - New "Download report" button in the Status Report page. Props [@felipeelia](https://github.com/felipeelia) via [#3319](https://github.com/10up/ElasticPress/pull/3319). +- ElasticPress.io messages system. Props [@felipeelia](https://github.com/felipeelia) and [@JakePT](https://github.com/JakePT) via [#3162](https://github.com/10up/ElasticPress/pull/3162) and [#3376](https://github.com/10up/ElasticPress/pull/3376). - WP CLI commands `get-search-template`, `put-search-template`, and `delete-search-template`. Props [@oscarssanchez](https://github.com/oscarssanchez) via [#3216](https://github.com/10up/ElasticPress/pull/3216). - New `--status` parameter to the `get-indices` WP-CLI command. Props [@felipeelia](https://github.com/felipeelia) via [#3261](https://github.com/10up/ElasticPress/pull/3261). - New `ep_instant_results_per_page` filter for changing the number of results per page in Instant Results. Props [@JakePT](https://github.com/JakePT) via [#3292](https://github.com/10up/ElasticPress/pull/3292). - Support for `post_parent__in` and `post_parent__not_in`. Props [@MARQAS](https://github.com/MARQAS) via [#3300](https://github.com/10up/ElasticPress/pull/3300). - New `ep_sync_args` filter. Props [@felipeelia](https://github.com/felipeelia) and [@nickchomey](https://github.com/nickchomey) via [#3317](https://github.com/10up/ElasticPress/pull/3317). - "Full Sync" (Yes/No) to the Last Sync section in Status Report. Props [@felipeelia](https://github.com/felipeelia) via [#3304](https://github.com/10up/ElasticPress/pull/3304). +- New `ep_user_register_feature` and `ep_feature_is_visible` filters. Props [@felipeelia](https://github.com/felipeelia) via [#3334](https://github.com/10up/ElasticPress/pull/3334). - Requests now have a new header called `X-ElasticPress-Request-ID` to help with debugging. Props [@felipeelia](https://github.com/felipeelia) via [#3307](https://github.com/10up/ElasticPress/pull/3307). - Compatibility with `'orderby' => 'none'` in WP_Query. Props [@felipeelia](https://github.com/felipeelia) via [#3318](https://github.com/10up/ElasticPress/pull/3318). - Unit tests related to the `ep_weighting_configuration_for_search` filter. Props [@felipeelia](https://github.com/felipeelia) via [#3303](https://github.com/10up/ElasticPress/pull/3303). +- New Unit tests for the WooCoomerce feature. Props [@burhandodhy](https://github.com/burhandodhy) and [@felipeelia](https://github.com/felipeelia) via [#3259](https://github.com/10up/ElasticPress/pull/3259). +- Description for the `--network-wide` flag in WP-CLI commands. Props [@MARQAS](https://github.com/MARQAS) via [#3350](https://github.com/10up/ElasticPress/pull/3350). +- New `is_available()` helper method in the Feature class. Props [@burhandodhy](https://github.com/burhandodhy) via [#3356](https://github.com/10up/ElasticPress/pull/3356). ### Changed - Indices of disabled features will be deleted during a full sync. Mappings of needed but non-existent indices will be added even during a regular sync. Props [@felipeelia](https://github.com/felipeelia) via [#3261](https://github.com/10up/ElasticPress/pull/3261). +- Reduced number of WooCommerce product queries automatically integrated with ElasticPress. Props [@burhandodhy](https://github.com/burhandodhy) and [@felipeelia](https://github.com/felipeelia) via [#3259](https://github.com/10up/ElasticPress/pull/3259) and [#3362](https://github.com/10up/ElasticPress/pull/3362). - The number of results per page in Instant Results now matches the site's posts per page setting. Props [@JakePT](https://github.com/JakePT) via [#3292](https://github.com/10up/ElasticPress/pull/3292). - Under the hood improvements to the structure of Instant Results. Props [@JakePT](https://github.com/JakePT) via [#3159](https://github.com/10up/ElasticPress/pull/3159) and [#3293](https://github.com/10up/ElasticPress/pull/3293). - Apply the "Exclude from Search" filter directly on ES Query. Props [@burhandodhy](https://github.com/burhandodhy) via [#3266](https://github.com/10up/ElasticPress/pull/3266). - Avoid using Elasticsearch if query has an unsupported orderby clause. Props [@burhandodhy](https://github.com/burhandodhy) via [#3273](https://github.com/10up/ElasticPress/pull/3273). - E2e tests split into 2 groups to be executed in parallel. Props [@iamchughmayank](https://github.com/iamchughmayank), [@burhandodhy](https://github.com/burhandodhy), and [@felipeelia](https://github.com/felipeelia) via [#3283](https://github.com/10up/ElasticPress/pull/3283). - Filter command flags using `get_flag_value()`. Props [@oscarssanchez](https://github.com/oscarssanchez) and [@felipeelia](https://github.com/felipeelia) via [#3301](https://github.com/10up/ElasticPress/pull/3301). +- Code Standards are now applied to the test suite as well. Props [@felipeelia](https://github.com/felipeelia) via [#3351](https://github.com/10up/ElasticPress/pull/3351). +- Text displayed when a feature that requires a sync is about to be enabled. Props [@felipeelia](https://github.com/felipeelia) and [@brandwaffle](https://github.com/brandwaffle) via [#3380](https://github.com/10up/ElasticPress/pull/3380). ### Removed - Remove legacy filters `woocommerce_layered_nav_query_post_ids`, `woocommerce_unfiltered_product_ids`, and `ep_wp_query_search_cached_posts`. Props [@burhandodhy](https://github.com/burhandodhy) via [#3230](https://github.com/10up/ElasticPress/pull/3230). @@ -50,6 +69,18 @@ All notable changes to this project will be documented in this file, per [the Ke - Sanitization of Meta Queries. Props [@MARQAS](https://github.com/MARQAS) via [#3271](https://github.com/10up/ElasticPress/pull/3271). - Facets styles not enqueued more than once. Props [@felipeelia](https://github.com/felipeelia) and [@MediaMaquina](https://github.com/MediaMaquina) via [#3306](https://github.com/10up/ElasticPress/pull/3306). - Duplicate terms listed in Instant Results facets. Props [@felipeelia](https://github.com/felipeelia) via [#3335](https://github.com/10up/ElasticPress/pull/3335). +- Not setting the post context when indexing a post. Props [@tomjn](https://github.com/tomjn) via [#3333](https://github.com/10up/ElasticPress/pull/3333). +- Some utilitary methods in the Command class treated as WP-CLI Commands. Props [@burhandodhy](https://github.com/burhandodhy) and [@felipeelia](https://github.com/felipeelia) via [#3320](https://github.com/10up/ElasticPress/pull/3320). +- Make the "Failed Queries" notice dismissible. Props [@oscarssanchez](https://github.com/oscarssanchez) and [@felipeelia](https://github.com/felipeelia) via [#3348](https://github.com/10up/ElasticPress/pull/3348). +- Undefined index `'elasticpress'` in the Status Report page. Props [@MARQAS](https://github.com/MARQAS) via [#3374](https://github.com/10up/ElasticPress/pull/3374). +- Undefined array key `'displayCount'` error for facet. Props [@burhandodhy](https://github.com/burhandodhy) via [#3373](https://github.com/10up/ElasticPress/pull/3373). +- Warnings on the feature setup page. Props [@burhandodhy](https://github.com/burhandodhy) via [#3377](https://github.com/10up/ElasticPress/pull/3377). + +### Security +- Bumped `http-cache-semantics` from 4.1.0 to 4.1.1. Props [@dependabot](https://github.com/dependabot) via [#3295](https://github.com/10up/ElasticPress/pull/3295). +- Bumped `got` from 9.6.0 to 11.8.5 and `simple-bin-help` from 1.7.7 to 1.8.0. Props [@dependabot](https://github.com/dependabot) via [#3290](https://github.com/10up/ElasticPress/pull/3290). +- Bumped `simple-git` from 3.15.1 to 3.16.0. Props [@dependabot](https://github.com/dependabot) via [#3278](https://github.com/10up/ElasticPress/pull/3278). +- Bumped `json5` from 1.0.1 to 1.0.2. Props [@dependabot](https://github.com/dependabot) via [#3251](https://github.com/10up/ElasticPress/pull/3251). ## [4.4.1] - 2023-01-10 @@ -1729,6 +1760,7 @@ This is a bug fix release with some filter additions. - Initial plugin release [Unreleased]: https://github.com/10up/ElasticPress/compare/trunk...develop +[4.5.0]: https://github.com/10up/ElasticPress/compare/4.4.1...4.5.0 [4.4.1]: https://github.com/10up/ElasticPress/compare/4.4.0...4.4.1 [4.4.0]: https://github.com/10up/ElasticPress/compare/4.3.1...4.4.0 [4.3.1]: https://github.com/10up/ElasticPress/compare/4.3.0...4.3.1 diff --git a/assets/js/blocks/facets/meta-range/edit.js b/assets/js/blocks/facets/meta-range/edit.js index 8d5e066895..33b16a8774 100644 --- a/assets/js/blocks/facets/meta-range/edit.js +++ b/assets/js/blocks/facets/meta-range/edit.js @@ -70,6 +70,7 @@ const PreviewUnavailable = ({ value }) => { return ( {sprintf( + /* translators: %s: Field name. */ __( 'Preview unavailable. The "%s" field does not appear to contain numeric values. Select a new meta field key or populate the field with numeric values to enable filtering by range.', 'elasticpress', diff --git a/elasticpress.php b/elasticpress.php index 355a49acdc..80b0898f39 100644 --- a/elasticpress.php +++ b/elasticpress.php @@ -3,7 +3,7 @@ * Plugin Name: ElasticPress * Plugin URI: https://github.com/10up/ElasticPress * Description: A fast and flexible search and query engine for WordPress. - * Version: 4.4.1 + * Version: 4.5.0 * Requires at least: 5.6 * Requires PHP: 7.0 * Author: 10up @@ -32,7 +32,7 @@ define( 'EP_URL', plugin_dir_url( __FILE__ ) ); define( 'EP_PATH', plugin_dir_path( __FILE__ ) ); define( 'EP_FILE', plugin_basename( __FILE__ ) ); -define( 'EP_VERSION', '4.4.1' ); +define( 'EP_VERSION', '4.5.0' ); /** * PSR-4-ish autoloading diff --git a/lang/elasticpress.pot b/lang/elasticpress.pot index 512bd62f22..1f9ea0cfac 100644 --- a/lang/elasticpress.pot +++ b/lang/elasticpress.pot @@ -2,14 +2,14 @@ # This file is distributed under the GPL v2 or later. msgid "" msgstr "" -"Project-Id-Version: ElasticPress 4.4.1\n" +"Project-Id-Version: ElasticPress 4.5.0\n" "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/elasticpress\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"POT-Creation-Date: 2023-01-10T13:30:59+00:00\n" +"POT-Creation-Date: 2023-03-09T20:06:32+00:00\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "X-Generator: WP-CLI 2.7.1\n" "X-Domain: elasticpress\n" @@ -130,7 +130,7 @@ msgstr "" #: includes/classes/AdminNotices.php:801 #: includes/classes/AdminNotices.php:817 #: includes/classes/StatusReport/ElasticPressIo.php:30 -#: includes/classes/StatusReport/FailedQueries.php:211 +#: includes/classes/StatusReport/FailedQueries.php:212 #: assets/js/sync/index.js:187 #: dist/js/sync-script.js:1 msgid "ElasticPress.io" @@ -138,7 +138,7 @@ msgstr "" #: includes/classes/AdminNotices.php:801 #: includes/classes/AdminNotices.php:817 -#: includes/classes/StatusReport/FailedQueries.php:211 +#: includes/classes/StatusReport/FailedQueries.php:212 #: assets/js/sync/index.js:188 #: dist/js/sync-script.js:1 msgid "Elasticsearch" @@ -149,236 +149,238 @@ msgstr "" msgid "Your website content seems to have more public custom fields than %1$s is able to store. Check our articles about Elasticsearch field limitations and how to index just the custom fields you need if you receive any errors while syncing." msgstr "" -#: includes/classes/Command.php:98 -#: includes/classes/Command.php:143 +#: includes/classes/Command.php:99 +#: includes/classes/Command.php:144 msgid "No feature with that slug is registered" msgstr "" -#: includes/classes/Command.php:102 +#: includes/classes/Command.php:103 msgid "This feature is already active" msgstr "" #. translators: Error message -#: includes/classes/Command.php:109 +#: includes/classes/Command.php:110 msgid "Feature requirements are not met: %s" msgstr "" #. translators: Warning message -#: includes/classes/Command.php:112 +#: includes/classes/Command.php:113 msgid "Feature is usable but there are warnings: %s" msgstr "" -#: includes/classes/Command.php:118 +#: includes/classes/Command.php:119 msgid "This feature requires a re-index. You may want to run the index command next." msgstr "" -#: includes/classes/Command.php:121 +#: includes/classes/Command.php:122 msgid "Feature activated" msgstr "" -#: includes/classes/Command.php:151 +#: includes/classes/Command.php:152 msgid "Feature is not active" msgstr "" -#: includes/classes/Command.php:156 +#: includes/classes/Command.php:157 msgid "Feature deactivated" msgstr "" -#: includes/classes/Command.php:177 +#: includes/classes/Command.php:179 msgid "Active features:" msgstr "" -#: includes/classes/Command.php:187 +#: includes/classes/Command.php:189 msgid "Registered features:" msgstr "" #. translators: 1. Indexable; 2. Site ID -#: includes/classes/Command.php:269 +#: includes/classes/Command.php:271 msgid "Adding %1$s mapping for site %2$d…" msgstr "" -#: includes/classes/Command.php:285 -#: includes/classes/Command.php:325 -#: includes/classes/Command.php:366 +#: includes/classes/Command.php:287 +#: includes/classes/Command.php:327 +#: includes/classes/Command.php:368 #: includes/classes/IndexHelper.php:389 msgid "Mapping sent" msgstr "" #. translators: Error message -#: includes/classes/Command.php:290 -#: includes/classes/Command.php:330 -#: includes/classes/Command.php:371 -#: includes/classes/IndexHelper.php:1216 +#: includes/classes/Command.php:292 +#: includes/classes/Command.php:332 +#: includes/classes/Command.php:373 +#: includes/classes/IndexHelper.php:1290 msgid "Mapping failed: %s" msgstr "" #. translators: Indexable label -#: includes/classes/Command.php:309 -#: includes/classes/Command.php:350 +#: includes/classes/Command.php:311 +#: includes/classes/Command.php:352 msgid "Adding %s mapping…" msgstr "" -#: includes/classes/Command.php:499 +#: includes/classes/Command.php:494 msgid "Are you sure you want to delete your Elasticsearch index?" msgstr "" -#: includes/classes/Command.php:506 -#: includes/classes/Command.php:533 -#: includes/classes/Command.php:549 -#: includes/classes/Command.php:563 +#: includes/classes/Command.php:501 +#: includes/classes/Command.php:528 +#: includes/classes/Command.php:544 +#: includes/classes/Command.php:558 msgid "Index deleted" msgstr "" -#: includes/classes/Command.php:508 -#: includes/classes/Command.php:551 -#: includes/classes/Command.php:565 +#: includes/classes/Command.php:503 +#: includes/classes/Command.php:546 +#: includes/classes/Command.php:560 msgid "Index delete failed" msgstr "" #. translators: 1. Indexable label; 2. Site ID -#: includes/classes/Command.php:528 +#: includes/classes/Command.php:523 msgid "Deleting %1$s index for site %2$d…" msgstr "" -#: includes/classes/Command.php:535 +#: includes/classes/Command.php:530 msgid "Delete index failed" msgstr "" #. translators: Index Label (plural) -#: includes/classes/Command.php:544 -#: includes/classes/Command.php:558 +#: includes/classes/Command.php:539 +#: includes/classes/Command.php:553 msgid "Deleting index for %s…" msgstr "" -#: includes/classes/Command.php:585 +#: includes/classes/Command.php:580 msgid "ElasticPress is not network activated." msgstr "" #. translators: Index Label -#: includes/classes/Command.php:592 +#: includes/classes/Command.php:587 msgid "Recreating %s network alias…" msgstr "" -#: includes/classes/Command.php:599 -#: includes/classes/Command.php:625 -#: includes/classes/Command.php:1186 -#: includes/classes/Command.php:1244 +#: includes/classes/Command.php:594 +#: includes/classes/Command.php:620 +#: includes/classes/Command.php:1153 +#: includes/classes/Command.php:1211 +#: includes/classes/Command.php:1536 +#: includes/classes/Command.php:1548 msgid "Done." msgstr "" -#: includes/classes/Command.php:601 +#: includes/classes/Command.php:596 msgid "An error occurred" msgstr "" -#: includes/classes/Command.php:618 +#: includes/classes/Command.php:613 msgid "Autosuggest is not enabled." msgstr "" -#: includes/classes/Command.php:663 -msgid "Indexing cleaned up." -msgstr "" - -#: includes/classes/Command.php:737 +#: includes/classes/Command.php:727 msgid "Indexing with setup option needs to delete Elasticsearch index first, are you sure you want to delete your Elasticsearch index?" msgstr "" -#: includes/classes/Command.php:741 +#: includes/classes/Command.php:731 msgid "Function pcntl_signal not available. Make sure to run `wp elasticpress clear-sync` in case the process is killed." msgstr "" -#: includes/classes/Command.php:845 +#: includes/classes/Command.php:837 msgid "Total time elapsed: " msgstr "" -#: includes/classes/Command.php:849 +#: includes/classes/Command.php:841 msgid "Done!" msgstr "" -#: includes/classes/Command.php:877 +#: includes/classes/Command.php:869 msgid "Failed to return status." msgstr "" -#: includes/classes/Command.php:922 +#: includes/classes/Command.php:914 msgid "Failed to return stats." msgstr "" -#: includes/classes/Command.php:948 +#: includes/classes/Command.php:940 msgid "Elasticsearch host is not set." msgstr "" -#: includes/classes/Command.php:950 +#: includes/classes/Command.php:942 msgid "Could not connect to Elasticsearch." msgstr "" -#: includes/classes/Command.php:961 +#: includes/classes/Command.php:953 msgid "An index is already occurring. Try again later." msgstr "" -#: includes/classes/Command.php:1012 +#: includes/classes/Command.php:997 msgid "Index cleared." msgstr "" -#: includes/classes/Command.php:1158 -msgid "Sync was interrupted" -msgstr "" - -#: includes/classes/Command.php:1176 +#: includes/classes/Command.php:1143 msgid "There is no indexing operation running." msgstr "" -#: includes/classes/Command.php:1178 +#: includes/classes/Command.php:1145 msgid "Stopping indexing…" msgstr "" -#: includes/classes/Command.php:1224 +#: includes/classes/Command.php:1191 msgid "This command expects a version number or the --default flag." msgstr "" -#: includes/classes/Command.php:1371 +#: includes/classes/Command.php:1313 msgid "Time elapsed: " msgstr "" -#: includes/classes/Command.php:1375 +#: includes/classes/Command.php:1317 msgid "Memory Usage: " msgstr "" -#: includes/classes/Command.php:1391 -msgid "Mapping Failed." -msgstr "" - #. translators: URL of the request -#: includes/classes/Command.php:1468 +#: includes/classes/Command.php:1396 msgid "URL: %s" msgstr "" #. translators: Request arguments (outputted with print_r()) -#: includes/classes/Command.php:1475 +#: includes/classes/Command.php:1403 msgid "Request Args: %s" msgstr "" #. translators: HTTP transport used -#: includes/classes/Command.php:1482 +#: includes/classes/Command.php:1410 msgid "Transport: %s" msgstr "" #. translators: Context under which the http_api_debug hook is fired -#: includes/classes/Command.php:1489 +#: includes/classes/Command.php:1417 msgid "Context: %s" msgstr "" #. translators: HTTP response (outputted with print_r()) -#: includes/classes/Command.php:1496 +#: includes/classes/Command.php:1424 msgid "Response: %s" msgstr "" -#: includes/classes/Command.php:1533 +#: includes/classes/Command.php:1461 msgid "Are you sure you want to delete all ElasticPress settings?" msgstr "" -#: includes/classes/Command.php:1538 +#: includes/classes/Command.php:1466 msgid "Settings deleted." msgstr "" +#: includes/classes/Command/Utility.php:37 +msgid "Indexing cleaned up." +msgstr "" + +#: includes/classes/Command/Utility.php:85 +msgid "Sync was interrupted" +msgstr "" + +#: includes/classes/Command/Utility.php:114 +msgid "Mapping Failed." +msgstr "" + #. translators: New command name #: includes/classes/DeprecatedCommand.php:46 #: includes/classes/DeprecatedCommand.php:75 @@ -390,79 +392,81 @@ msgstr "" msgid "This command is deprecated. Please use %s instead." msgstr "" -#: includes/classes/Elasticsearch.php:1317 +#: includes/classes/Elasticsearch.php:1322 msgid "Site not indexed.

Please run: wp elasticpress index --setup --network-wide using WP-CLI. Or use the index button on the left of this screen.

" msgstr "" -#: includes/classes/Elasticsearch.php:1321 +#: includes/classes/Elasticsearch.php:1326 msgid "Site not indexed.

Please run: wp elasticpress index --setup using WP-CLI. Or use the index button on the left of this screen.

" msgstr "" -#: includes/classes/Elasticsearch.php:1503 +#: includes/classes/Elasticsearch.php:1508 msgid "Elasticsearch Host is not available." msgstr "" -#: includes/classes/Feature.php:243 +#: includes/classes/Feature.php:291 #: assets/js/sync/components/sync/controls.js:96 #: dist/js/sync-script.js:1 msgid "Learn more" msgstr "" -#: includes/classes/Feature.php:248 +#: includes/classes/Feature.php:296 msgid "Collapse" msgstr "" -#: includes/classes/Feature.php:305 -msgid "Enabling this feature will require re-indexing your content." +#: includes/classes/Feature.php:353 +msgid "Enabling this feature will require re-syncing your content." msgstr "" -#: includes/classes/Feature.php:313 +#: includes/classes/Feature.php:361 msgid "Settings not saved. Cannot save settings while a sync is in progress." msgstr "" -#: includes/classes/Feature.php:315 +#: includes/classes/Feature.php:363 msgid "View sync status." msgstr "" -#: includes/classes/Feature.php:320 +#: includes/classes/Feature.php:368 #: includes/classes/StatusReport/ElasticPress.php:79 -#: includes/dashboard.php:693 +#: includes/dashboard.php:682 #: includes/partials/settings-page.php:38 msgid "Settings" msgstr "" -#: includes/classes/Feature.php:324 +#: includes/classes/Feature.php:372 msgid "Status" msgstr "" -#: includes/classes/Feature.php:326 +#: includes/classes/Feature.php:374 #: includes/classes/Feature/Autosuggest/Autosuggest.php:124 -#: includes/classes/Feature/InstantResults/InstantResults.php:181 -#: includes/classes/Feature/Search/Search.php:630 -#: includes/classes/Feature/Search/Search.php:637 -#: includes/classes/Feature/Search/Search.php:658 +#: includes/classes/Feature/InstantResults/InstantResults.php:182 +#: includes/classes/Feature/Search/Search.php:631 +#: includes/classes/Feature/Search/Search.php:638 +#: includes/classes/Feature/Search/Search.php:659 +#: includes/classes/Feature/WooCommerce/WooCommerce.php:914 msgid "Enabled" msgstr "" -#: includes/classes/Feature.php:327 +#: includes/classes/Feature.php:375 #: includes/classes/Feature/Autosuggest/Autosuggest.php:125 -#: includes/classes/Feature/InstantResults/InstantResults.php:184 -#: includes/classes/Feature/Search/Search.php:631 -#: includes/classes/Feature/Search/Search.php:638 -#: includes/classes/Feature/Search/Search.php:659 +#: includes/classes/Feature/InstantResults/InstantResults.php:185 +#: includes/classes/Feature/Search/Search.php:632 +#: includes/classes/Feature/Search/Search.php:639 +#: includes/classes/Feature/Search/Search.php:660 +#: includes/classes/Feature/WooCommerce/WooCommerce.php:915 msgid "Disabled" msgstr "" -#: includes/classes/Feature.php:338 +#: includes/classes/Feature.php:386 msgid "Setting adjustments to this feature require a re-sync. Use WP-CLI." msgstr "" -#: includes/classes/Feature.php:348 +#: includes/classes/Feature.php:398 msgid "Save" msgstr "" #: includes/classes/Feature/Autosuggest/Autosuggest.php:45 -#: includes/classes/Feature/Autosuggest/Autosuggest.php:913 +#: includes/classes/Feature/Autosuggest/Autosuggest.php:899 msgid "Autosuggest" msgstr "" @@ -506,25 +510,25 @@ msgstr "" msgid "This address will be exposed to the public." msgstr "" -#: includes/classes/Feature/Autosuggest/Autosuggest.php:704 +#: includes/classes/Feature/Autosuggest/Autosuggest.php:686 msgid "This feature modifies the site’s default user experience by presenting a list of suggestions below detected search fields as text is entered into the field." msgstr "" -#: includes/classes/Feature/Autosuggest/Autosuggest.php:708 +#: includes/classes/Feature/Autosuggest/Autosuggest.php:690 msgid "You aren't using ElasticPress.io so we can't be sure your host is properly secured. Autosuggest requires a publicly accessible endpoint, which can expose private content and allow data modification if improperly configured." msgstr "" -#: includes/classes/Feature/Autosuggest/Autosuggest.php:857 +#: includes/classes/Feature/Autosuggest/Autosuggest.php:839 msgid "Connection" msgstr "" #. translators: 1: tag (ElasticPress.io); 2. ; 3: tag (KB article); 4. ; 5: tag (Site Health Debug Section); 6. ; -#: includes/classes/Feature/Autosuggest/Autosuggest.php:866 +#: includes/classes/Feature/Autosuggest/Autosuggest.php:848 msgid "You are directly connected to %1$sElasticPress.io%2$s, ensuring the most performant Autosuggest experience. %3$sLearn more about what this means%4$s or %5$sclick here for debug information%6$s." msgstr "" #. translators: 1. elasticpress.io logo; -#: includes/classes/Feature/Autosuggest/Autosuggest.php:917 +#: includes/classes/Feature/Autosuggest/Autosuggest.php:903 msgid "Autosuggest By %s" msgstr "" @@ -542,11 +546,11 @@ msgstr "" msgid "https://elasticpress.zendesk.com/hc/en-us/articles/360050447492-Configuring-ElasticPress-via-the-Plugin-Dashboard#comments" msgstr "" -#: includes/classes/Feature/Comments/Comments.php:95 +#: includes/classes/Feature/Comments/Comments.php:97 msgid "This feature will empower your website to overcome traditional WordPress comment search and query limitations that can present themselves at scale." msgstr "" -#: includes/classes/Feature/Comments/Comments.php:310 +#: includes/classes/Feature/Comments/Comments.php:312 msgid "We could not find any results" msgstr "" @@ -606,7 +610,7 @@ msgid "Document Content" msgstr "" #: includes/classes/Feature/Facets/Facets.php:40 -#: includes/classes/Feature/InstantResults/InstantResults.php:158 +#: includes/classes/Feature/InstantResults/InstantResults.php:159 msgid "Facets" msgstr "" @@ -618,75 +622,84 @@ msgstr "" msgid "https://elasticpress.zendesk.com/hc/en-us/articles/360050447492-Configuring-ElasticPress-via-the-Plugin-Dashboard#facets" msgstr "" -#: includes/classes/Feature/Facets/Facets.php:128 -#: includes/classes/Feature/InstantResults/InstantResults.php:164 +#: includes/classes/Feature/Facets/Facets.php:130 +#: includes/classes/Feature/InstantResults/InstantResults.php:165 msgid "Match Type" msgstr "" -#: includes/classes/Feature/Facets/Facets.php:130 -#: includes/classes/Feature/InstantResults/InstantResults.php:168 +#: includes/classes/Feature/Facets/Facets.php:132 +#: includes/classes/Feature/InstantResults/InstantResults.php:169 msgid "Show any content tagged to all selected terms" msgstr "" -#: includes/classes/Feature/Facets/Facets.php:131 -#: includes/classes/Feature/InstantResults/InstantResults.php:172 +#: includes/classes/Feature/Facets/Facets.php:133 +#: includes/classes/Feature/InstantResults/InstantResults.php:173 msgid "Show all content tagged to any selected term" msgstr "" -#: includes/classes/Feature/Facets/Facets.php:132 -#: includes/classes/Feature/InstantResults/InstantResults.php:174 +#: includes/classes/Feature/Facets/Facets.php:134 +#: includes/classes/Feature/InstantResults/InstantResults.php:175 msgid "\"All\" will only show content that matches all facets. \"Any\" will show content that matches any facet." msgstr "" #. translators: URL -#: includes/classes/Feature/Facets/Facets.php:502 +#: includes/classes/Feature/Facets/Facets.php:498 msgid "Adds a Facet widget that administrators can add to the website's sidebars (widgetized areas), so that visitors can filter applicable content and search results by one or more taxonomy terms." msgstr "" -#: includes/classes/Feature/Facets/Types/Meta/Block.php:76 -#: includes/classes/Feature/Facets/Types/Taxonomy/Block.php:73 +#: includes/classes/Feature/Facets/Types/Meta/Block.php:79 +#: includes/classes/Feature/Facets/Types/MetaRange/Block.php:104 +#: includes/classes/Feature/Facets/Types/Taxonomy/Block.php:76 msgid "Sorry, you cannot view this resource." msgstr "" -#: includes/classes/Feature/Facets/Types/Meta/Block.php:202 +#: includes/classes/Feature/Facets/Types/Meta/Block.php:205 msgid "Preview not available" msgstr "" #. translators: Meta field name -#: includes/classes/Feature/Facets/Types/Meta/Block.php:207 +#: includes/classes/Feature/Facets/Types/Meta/Block.php:210 msgid "Preview for %s not available" msgstr "" -#: includes/classes/Feature/Facets/Types/Meta/Block.php:226 +#: includes/classes/Feature/Facets/Types/Meta/Block.php:229 msgctxt "Facet by meta search placeholder" msgid "Search" msgstr "" #. translators: %s: Filter term name. -#: includes/classes/Feature/Facets/Types/Meta/Renderer.php:214 -#: includes/classes/Feature/Facets/Types/Taxonomy/Renderer.php:399 +#: includes/classes/Feature/Facets/Types/Meta/Renderer.php:227 +#: includes/classes/Feature/Facets/Types/Taxonomy/Renderer.php:413 #: assets/js/instant-results/components/tools/active-constraints.js:35 #: dist/js/instant-results-script.js:1 msgid "Remove filter: %s" msgstr "" #. translators: %s: Filter term name. -#: includes/classes/Feature/Facets/Types/Meta/Renderer.php:216 -#: includes/classes/Feature/Facets/Types/Taxonomy/Renderer.php:401 +#: includes/classes/Feature/Facets/Types/Meta/Renderer.php:229 +#: includes/classes/Feature/Facets/Types/Taxonomy/Renderer.php:415 msgid "Apply filter: %s" msgstr "" -#: includes/classes/Feature/Facets/Types/Taxonomy/Block.php:209 +#: includes/classes/Feature/Facets/Types/MetaRange/Renderer.php:38 +msgid "Preview not available. Make sure you select a field." +msgstr "" + +#: includes/classes/Feature/Facets/Types/MetaRange/Renderer.php:57 +msgid "Could not get min and max values. Is this a numeric field?" +msgstr "" + +#: includes/classes/Feature/Facets/Types/Taxonomy/Block.php:212 msgid "Invalid taxonomy selected." msgstr "" #. translators: Taxonomy name -#: includes/classes/Feature/Facets/Types/Taxonomy/Block.php:213 +#: includes/classes/Feature/Facets/Types/Taxonomy/Block.php:216 msgid "Term preview for %s not available" msgstr "" #. translators: Taxonomy Name -#: includes/classes/Feature/Facets/Types/Taxonomy/Renderer.php:201 +#: includes/classes/Feature/Facets/Types/Taxonomy/Renderer.php:210 msgid "Search %s" msgstr "" @@ -709,8 +722,8 @@ msgid "any" msgstr "" #: includes/classes/Feature/Facets/Types/Taxonomy/Widget.php:117 -#: assets/js/blocks/facets/meta/edit.js:88 -#: assets/js/blocks/facets/taxonomy/edit.js:65 +#: assets/js/blocks/facets/meta/edit.js:95 +#: assets/js/blocks/facets/taxonomy/edit.js:72 #: dist/js/facets-block-script.js:1 #: dist/js/facets-meta-block-script.js:1 msgid "Count" @@ -746,7 +759,7 @@ msgid "Faceting will filter out any content that is not tagged to all selected msgstr "" #: includes/classes/Feature/InstantResults/InstantResults.php:72 -#: includes/classes/Feature/InstantResults/InstantResults.php:1005 +#: includes/classes/Feature/InstantResults/InstantResults.php:1016 msgid "Instant Results" msgstr "" @@ -759,66 +772,66 @@ msgid "https://elasticpress.zendesk.com/hc/en-us/articles/360050447492-Configuri msgstr "" #. translators: %s: ElasticPress.io link. -#: includes/classes/Feature/InstantResults/InstantResults.php:113 +#: includes/classes/Feature/InstantResults/InstantResults.php:114 msgid "WordPress search forms will display results instantly. When the search query is submitted, a modal will open that populates results by querying ElasticPress directly, bypassing WordPress. As the user refines their search, results are refreshed. Requires an %s or a custom proxy to function." msgstr "" -#: includes/classes/Feature/InstantResults/InstantResults.php:117 +#: includes/classes/Feature/InstantResults/InstantResults.php:118 msgid "ElasticPress.io plan" msgstr "" -#: includes/classes/Feature/InstantResults/InstantResults.php:139 -#: includes/classes/Feature/Search/Search.php:643 +#: includes/classes/Feature/InstantResults/InstantResults.php:140 +#: includes/classes/Feature/Search/Search.php:644 msgid "Highlight tag " msgstr "" -#: includes/classes/Feature/InstantResults/InstantResults.php:142 +#: includes/classes/Feature/InstantResults/InstantResults.php:143 msgid "None" msgstr "" -#: includes/classes/Feature/InstantResults/InstantResults.php:154 +#: includes/classes/Feature/InstantResults/InstantResults.php:155 msgid "Highlight search terms in results with the selected HTML tag." msgstr "" -#: includes/classes/Feature/InstantResults/InstantResults.php:178 +#: includes/classes/Feature/InstantResults/InstantResults.php:179 msgid "Term Count" msgstr "" -#: includes/classes/Feature/InstantResults/InstantResults.php:186 +#: includes/classes/Feature/InstantResults/InstantResults.php:187 msgid "When enabled, it will show the term count in the instant results widget." msgstr "" -#: includes/classes/Feature/InstantResults/InstantResults.php:218 +#: includes/classes/Feature/InstantResults/InstantResults.php:219 msgid "You are using a custom proxy. Make sure you implement all security measures needed." msgstr "" -#: includes/classes/Feature/InstantResults/InstantResults.php:220 +#: includes/classes/Feature/InstantResults/InstantResults.php:221 msgid "To use this feature you need to be an ElasticPress.io customer or implement a custom proxy." msgstr "" #. translators: Article URL -#: includes/classes/Feature/InstantResults/InstantResults.php:230 +#: includes/classes/Feature/InstantResults/InstantResults.php:231 msgid "ElasticPress is network activated. Additional steps are required to ensure Instant Results works for all sites on the network. See our article on running ElasticPress in network mode for more details." msgstr "" -#: includes/classes/Feature/InstantResults/InstantResults.php:799 +#: includes/classes/Feature/InstantResults/InstantResults.php:801 msgid "Post type" msgstr "" -#: includes/classes/Feature/InstantResults/InstantResults.php:800 +#: includes/classes/Feature/InstantResults/InstantResults.php:802 msgid "Type" msgstr "" -#: includes/classes/Feature/InstantResults/InstantResults.php:867 +#: includes/classes/Feature/InstantResults/InstantResults.php:869 msgid "Price range" msgstr "" -#: includes/classes/Feature/InstantResults/InstantResults.php:868 +#: includes/classes/Feature/InstantResults/InstantResults.php:870 msgid "Price" msgstr "" #. translators: 1. elasticpress.io logo; -#: includes/classes/Feature/InstantResults/InstantResults.php:1009 +#: includes/classes/Feature/InstantResults/InstantResults.php:1020 msgid "Instant Results By %s" msgstr "" @@ -884,48 +897,48 @@ msgstr "" msgid "https://elasticpress.zendesk.com/hc/en-us/articles/360050447492-Configuring-ElasticPress-via-the-Plugin-Dashboard#post-search" msgstr "" -#: includes/classes/Feature/Search/Search.php:570 +#: includes/classes/Feature/Search/Search.php:571 msgid "Overcome higher-end performance and functional limits posed by the traditional WordPress structured (SQL) database to deliver superior keyword search, instantly. ElasticPress indexes custom fields, tags, and other metadata to improve search results. Fuzzy matching accounts for misspellings and verb tenses." msgstr "" -#: includes/classes/Feature/Search/Search.php:628 +#: includes/classes/Feature/Search/Search.php:629 msgid "Weight results by date" msgstr "" -#: includes/classes/Feature/Search/Search.php:635 +#: includes/classes/Feature/Search/Search.php:636 msgid "Highlighting status" msgstr "" -#: includes/classes/Feature/Search/Search.php:656 +#: includes/classes/Feature/Search/Search.php:657 msgid "Excerpt highlighting" msgstr "" -#: includes/classes/Feature/Search/Search.php:660 +#: includes/classes/Feature/Search/Search.php:661 msgid "By default, WordPress strips HTML from content excerpts. Enable when using the_excerpt() to display search results. " msgstr "" -#: includes/classes/Feature/Search/Search.php:666 +#: includes/classes/Feature/Search/Search.php:667 msgid "Advanced fields and weighting settings" msgstr "" -#: includes/classes/Feature/Search/Search.php:667 +#: includes/classes/Feature/Search/Search.php:668 msgid "Add synonyms to your post searches" msgstr "" -#: includes/classes/Feature/Search/Search.php:774 +#: includes/classes/Feature/Search/Search.php:759 #: assets/js/search/editor/plugins/exclude-from-search.js:23 #: dist/js/search-editor-script.js:1 msgid "Exclude from search results" msgstr "" -#: includes/classes/Feature/Search/Search.php:775 +#: includes/classes/Feature/Search/Search.php:760 #: assets/js/search/editor/plugins/exclude-from-search.js:24 #: dist/js/search-editor-script.js:1 msgid "Excludes this post from the results of your site's search form while ElasticPress is active." msgstr "" #: includes/classes/Feature/Search/Synonyms.php:89 -#: includes/classes/Feature/SearchOrdering/SearchOrdering.php:182 +#: includes/classes/Feature/SearchOrdering/SearchOrdering.php:186 msgid "This feature requires the \"Post Search\" feature to be enabled" msgstr "" @@ -1097,194 +1110,194 @@ msgstr "" msgid "Weight: " msgstr "" -#: includes/classes/Feature/SearchOrdering/SearchOrdering.php:51 +#: includes/classes/Feature/SearchOrdering/SearchOrdering.php:55 msgid "Custom Search Results" msgstr "" -#: includes/classes/Feature/SearchOrdering/SearchOrdering.php:53 +#: includes/classes/Feature/SearchOrdering/SearchOrdering.php:57 msgid "Insert specific posts into search results for specific search queries." msgstr "" -#: includes/classes/Feature/SearchOrdering/SearchOrdering.php:55 +#: includes/classes/Feature/SearchOrdering/SearchOrdering.php:59 msgid "https://elasticpress.zendesk.com/hc/en-us/articles/360050447492-Configuring-ElasticPress-via-the-Plugin-Dashboard#custom-search-results" msgstr "" -#: includes/classes/Feature/SearchOrdering/SearchOrdering.php:146 -#: includes/classes/Feature/SearchOrdering/SearchOrdering.php:149 +#: includes/classes/Feature/SearchOrdering/SearchOrdering.php:150 +#: includes/classes/Feature/SearchOrdering/SearchOrdering.php:153 msgid "Custom result updated." msgstr "" -#: includes/classes/Feature/SearchOrdering/SearchOrdering.php:147 +#: includes/classes/Feature/SearchOrdering/SearchOrdering.php:151 msgid "Custom field updated." msgstr "" -#: includes/classes/Feature/SearchOrdering/SearchOrdering.php:148 +#: includes/classes/Feature/SearchOrdering/SearchOrdering.php:152 msgid "Custom field deleted." msgstr "" #. translators: %s: date and time of the revision -#: includes/classes/Feature/SearchOrdering/SearchOrdering.php:151 +#: includes/classes/Feature/SearchOrdering/SearchOrdering.php:155 msgid "Custom result restored to revision from %s" msgstr "" -#: includes/classes/Feature/SearchOrdering/SearchOrdering.php:152 +#: includes/classes/Feature/SearchOrdering/SearchOrdering.php:156 msgid "Custom result published." msgstr "" -#: includes/classes/Feature/SearchOrdering/SearchOrdering.php:153 +#: includes/classes/Feature/SearchOrdering/SearchOrdering.php:157 msgid "Custom result saved." msgstr "" -#: includes/classes/Feature/SearchOrdering/SearchOrdering.php:154 +#: includes/classes/Feature/SearchOrdering/SearchOrdering.php:158 msgid "Custom result submitted." msgstr "" #. translators: Scheduled date. -#: includes/classes/Feature/SearchOrdering/SearchOrdering.php:157 +#: includes/classes/Feature/SearchOrdering/SearchOrdering.php:161 msgid "Custom result scheduled for: %1$s." msgstr "" #. translators: Publish box date format, see https://php.net/date -#: includes/classes/Feature/SearchOrdering/SearchOrdering.php:159 +#: includes/classes/Feature/SearchOrdering/SearchOrdering.php:163 msgid "M j, Y @ G:i" msgstr "" -#: includes/classes/Feature/SearchOrdering/SearchOrdering.php:161 +#: includes/classes/Feature/SearchOrdering/SearchOrdering.php:165 msgid "Custom result draft updated." msgstr "" -#: includes/classes/Feature/SearchOrdering/SearchOrdering.php:193 +#: includes/classes/Feature/SearchOrdering/SearchOrdering.php:197 msgid "Selected posts will be inserted into search results in the specified position." msgstr "" -#: includes/classes/Feature/SearchOrdering/SearchOrdering.php:216 -#: includes/classes/Feature/SearchOrdering/SearchOrdering.php:217 -#: includes/classes/Feature/SearchOrdering/SearchOrdering.php:323 +#: includes/classes/Feature/SearchOrdering/SearchOrdering.php:220 +#: includes/classes/Feature/SearchOrdering/SearchOrdering.php:221 +#: includes/classes/Feature/SearchOrdering/SearchOrdering.php:327 msgid "Custom Results" msgstr "" -#: includes/classes/Feature/SearchOrdering/SearchOrdering.php:275 +#: includes/classes/Feature/SearchOrdering/SearchOrdering.php:279 msgctxt "post type general name" msgid "Custom Search Results" msgstr "" -#: includes/classes/Feature/SearchOrdering/SearchOrdering.php:276 +#: includes/classes/Feature/SearchOrdering/SearchOrdering.php:280 msgctxt "post type singular name" msgid "Custom Search Result" msgstr "" -#: includes/classes/Feature/SearchOrdering/SearchOrdering.php:277 +#: includes/classes/Feature/SearchOrdering/SearchOrdering.php:281 msgctxt "admin menu" msgid "Custom Search Results" msgstr "" -#: includes/classes/Feature/SearchOrdering/SearchOrdering.php:278 +#: includes/classes/Feature/SearchOrdering/SearchOrdering.php:282 msgctxt "add new on admin bar" msgid "Custom Search Result" msgstr "" -#: includes/classes/Feature/SearchOrdering/SearchOrdering.php:279 +#: includes/classes/Feature/SearchOrdering/SearchOrdering.php:283 msgctxt "book" msgid "Add New" msgstr "" -#: includes/classes/Feature/SearchOrdering/SearchOrdering.php:280 +#: includes/classes/Feature/SearchOrdering/SearchOrdering.php:284 msgid "Add New Custom Search Result" msgstr "" -#: includes/classes/Feature/SearchOrdering/SearchOrdering.php:281 +#: includes/classes/Feature/SearchOrdering/SearchOrdering.php:285 msgid "New Custom Search Result" msgstr "" -#: includes/classes/Feature/SearchOrdering/SearchOrdering.php:282 +#: includes/classes/Feature/SearchOrdering/SearchOrdering.php:286 msgid "Edit Custom Search Result" msgstr "" -#: includes/classes/Feature/SearchOrdering/SearchOrdering.php:283 +#: includes/classes/Feature/SearchOrdering/SearchOrdering.php:287 msgid "View Custom Search Result" msgstr "" -#: includes/classes/Feature/SearchOrdering/SearchOrdering.php:284 +#: includes/classes/Feature/SearchOrdering/SearchOrdering.php:288 msgid "All Custom Search Results" msgstr "" -#: includes/classes/Feature/SearchOrdering/SearchOrdering.php:285 +#: includes/classes/Feature/SearchOrdering/SearchOrdering.php:289 msgid "Search Custom Search Results" msgstr "" -#: includes/classes/Feature/SearchOrdering/SearchOrdering.php:286 +#: includes/classes/Feature/SearchOrdering/SearchOrdering.php:290 msgid "Parent Custom Search Result:" msgstr "" -#: includes/classes/Feature/SearchOrdering/SearchOrdering.php:287 +#: includes/classes/Feature/SearchOrdering/SearchOrdering.php:291 #: assets/js/ordering/pointers.js:265 #: dist/js/ordering-script.js:1 msgid "No results found." msgstr "" -#: includes/classes/Feature/SearchOrdering/SearchOrdering.php:288 +#: includes/classes/Feature/SearchOrdering/SearchOrdering.php:292 msgid "No results found in Trash." msgstr "" -#: includes/classes/Feature/SearchOrdering/SearchOrdering.php:293 +#: includes/classes/Feature/SearchOrdering/SearchOrdering.php:297 msgid "Posts to inject into search results" msgstr "" -#: includes/classes/Feature/SearchOrdering/SearchOrdering.php:313 +#: includes/classes/Feature/SearchOrdering/SearchOrdering.php:317 msgctxt "taxonomy general name" msgid "Custom Results" msgstr "" -#: includes/classes/Feature/SearchOrdering/SearchOrdering.php:314 +#: includes/classes/Feature/SearchOrdering/SearchOrdering.php:318 msgctxt "taxonomy singular name" msgid "Custom Result" msgstr "" -#: includes/classes/Feature/SearchOrdering/SearchOrdering.php:315 +#: includes/classes/Feature/SearchOrdering/SearchOrdering.php:319 msgid "Search Custom Results" msgstr "" -#: includes/classes/Feature/SearchOrdering/SearchOrdering.php:316 +#: includes/classes/Feature/SearchOrdering/SearchOrdering.php:320 msgid "All Custom Results" msgstr "" -#: includes/classes/Feature/SearchOrdering/SearchOrdering.php:317 +#: includes/classes/Feature/SearchOrdering/SearchOrdering.php:321 msgid "Parent Custom Result" msgstr "" -#: includes/classes/Feature/SearchOrdering/SearchOrdering.php:318 +#: includes/classes/Feature/SearchOrdering/SearchOrdering.php:322 msgid "Parent Custom Result:" msgstr "" -#: includes/classes/Feature/SearchOrdering/SearchOrdering.php:319 +#: includes/classes/Feature/SearchOrdering/SearchOrdering.php:323 msgid "Edit Custom Result" msgstr "" -#: includes/classes/Feature/SearchOrdering/SearchOrdering.php:320 +#: includes/classes/Feature/SearchOrdering/SearchOrdering.php:324 msgid "Update Custom Result" msgstr "" -#: includes/classes/Feature/SearchOrdering/SearchOrdering.php:321 +#: includes/classes/Feature/SearchOrdering/SearchOrdering.php:325 msgid "Add New Custom Result" msgstr "" -#: includes/classes/Feature/SearchOrdering/SearchOrdering.php:322 +#: includes/classes/Feature/SearchOrdering/SearchOrdering.php:326 msgid "New Custom Result Name" msgstr "" -#: includes/classes/Feature/SearchOrdering/SearchOrdering.php:350 +#: includes/classes/Feature/SearchOrdering/SearchOrdering.php:354 msgid "Manage Results" msgstr "" -#: includes/classes/Feature/SearchOrdering/SearchOrdering.php:623 +#: includes/classes/Feature/SearchOrdering/SearchOrdering.php:627 msgid "Enter Search Query" msgstr "" -#: includes/classes/Feature/SearchOrdering/SearchOrdering.php:637 +#: includes/classes/Feature/SearchOrdering/SearchOrdering.php:641 msgid "Search Query" msgstr "" -#: includes/classes/Feature/SearchOrdering/SearchOrdering.php:884 +#: includes/classes/Feature/SearchOrdering/SearchOrdering.php:888 msgid "ElasticPress Custom Search Results" msgstr "" @@ -1302,7 +1315,7 @@ msgstr "" msgid "https://elasticpress.zendesk.com/hc/en-us/articles/360050447492-Configuring-ElasticPress-via-the-Plugin-Dashboard#terms" msgstr "" -#: includes/classes/Feature/Terms/Terms.php:68 +#: includes/classes/Feature/Terms/Terms.php:70 msgid "This feature will empower your website to overcome traditional WordPress term search and query limitations that can present themselves at scale." msgstr "" @@ -1320,44 +1333,64 @@ msgstr "" msgid "https://elasticpress.zendesk.com/hc/en-us/articles/360050447492-Configuring-ElasticPress-via-the-Plugin-Dashboard#users" msgstr "" -#: includes/classes/Feature/Users/Users.php:67 +#: includes/classes/Feature/Users/Users.php:70 msgid "This feature will empower your website to overcome traditional WordPress user search and query limitations that can present themselves at scale." msgstr "" -#: includes/classes/Feature/Users/Users.php:68 +#: includes/classes/Feature/Users/Users.php:71 msgid "Be aware that storing user data may bound you to certain legal obligations depending on your local government regulations." msgstr "" -#: includes/classes/Feature/WooCommerce/WooCommerce.php:33 +#. translators: ElasticPress Labs URL +#: includes/classes/Feature/Users/Users.php:109 +#: includes/classes/Feature/Users/Users.php:137 +msgid "Due to the potential for inadvertently exposing user data on non-ElasticPress.io installations, the Users Feature will be moving to the ElasticPress Labs plugin as of ElasticPress 5.0." +msgstr "" + +#: includes/classes/Feature/WooCommerce/WooCommerce.php:41 msgid "WooCommerce" msgstr "" -#: includes/classes/Feature/WooCommerce/WooCommerce.php:35 +#: includes/classes/Feature/WooCommerce/WooCommerce.php:43 msgid "“I want a cotton, woman’s t-shirt, for under $15 that’s in stock.” Faceted product browsing strains servers and increases load times. Your buyers can find the perfect product quickly, and buy it quickly." msgstr "" -#: includes/classes/Feature/WooCommerce/WooCommerce.php:37 +#: includes/classes/Feature/WooCommerce/WooCommerce.php:45 msgid "https://elasticpress.zendesk.com/hc/en-us/articles/360050447492-Configuring-ElasticPress-via-the-Plugin-Dashboard#woocommerce" msgstr "" -#: includes/classes/Feature/WooCommerce/WooCommerce.php:796 +#: includes/classes/Feature/WooCommerce/WooCommerce.php:795 msgid "SKU" msgstr "" -#: includes/classes/Feature/WooCommerce/WooCommerce.php:803 +#: includes/classes/Feature/WooCommerce/WooCommerce.php:802 msgid "Variations SKUs" msgstr "" -#: includes/classes/Feature/WooCommerce/WooCommerce.php:893 +#: includes/classes/Feature/WooCommerce/WooCommerce.php:898 msgid "Most caching and performance tools can’t keep up with the nearly infinite ways your visitors might filter or navigate your products. No matter how many products, filters, or customers you have, ElasticPress will keep your online store performing quickly. If used in combination with the Protected Content feature, ElasticPress will also accelerate order searches and back end product management." msgstr "" -#: includes/classes/Feature/WooCommerce/WooCommerce.php:925 +#: includes/classes/Feature/WooCommerce/WooCommerce.php:912 +msgid "Orders Autosuggest" +msgstr "" + +#. translators: 1: tag (ElasticPress.io); 2. ; 3: tag (KB article); 4. ; +#: includes/classes/Feature/WooCommerce/WooCommerce.php:922 +msgid "You are directly connected to %1$sElasticPress.io%2$s! Enable Orders Autosuggest to enhance Dashboard results and quickly find WooCommerce Orders. %3$sLearn More%4$s." +msgstr "" + +#. translators: 1: tag (ElasticPress.io); 2. ; 3: tag (KB article); 4. ; +#: includes/classes/Feature/WooCommerce/WooCommerce.php:924 +msgid "Due to the sensitive nature of orders, this autosuggest feature is available only to %1$sElasticPress.io%2$s customers. %3$sLearn More%4$s." +msgstr "" + +#: includes/classes/Feature/WooCommerce/WooCommerce.php:968 msgid "WooCommerce not installed." msgstr "" #. translators: Sync Page URL -#: includes/classes/Feature/WooCommerce/WooCommerce.php:1270 +#: includes/classes/Feature/WooCommerce/WooCommerce.php:1311 msgid "Due to the number of products in the site, you will need to resync after applying a custom sort order." msgstr "" @@ -1420,12 +1453,17 @@ msgid "Error while fetching the mapping version." msgstr "" #. translators: Sync Page URL -#: includes/classes/Indexable/Post/SyncManager.php:405 +#: includes/classes/Indexable/Post/SyncManager.php:411 +msgid "Due to the number of posts associated with its child terms, you will need to resync after editing or deleting it." +msgstr "" + +#. translators: Sync Page URL +#: includes/classes/Indexable/Post/SyncManager.php:426 msgid "Due to the number of posts associated with this term, you will need to resync after editing or deleting it." msgstr "" #. translators: Sync Page URL -#: includes/classes/Indexable/Post/SyncManager.php:439 +#: includes/classes/Indexable/Post/SyncManager.php:460 msgid "Depending on the number of posts associated with a term, you may need to resync after editing or deleting it." msgstr "" @@ -1440,51 +1478,55 @@ msgid "User" msgstr "" #. translators: 1: Indexable name, 2: Site ID -#: includes/classes/IndexHelper.php:293 +#: includes/classes/IndexHelper.php:291 msgid "Indexing %1$s on site %2$d…" msgstr "" #. translators: 1: Indexable name -#: includes/classes/IndexHelper.php:301 +#: includes/classes/IndexHelper.php:299 msgid "Indexing %1$s (globally)…" msgstr "" #. translators: 1: Indexable name -#: includes/classes/IndexHelper.php:303 +#: includes/classes/IndexHelper.php:301 msgid "Indexing %1$s…" msgstr "" +#: includes/classes/IndexHelper.php:391 +msgid "Index not present. Mapping sent" +msgstr "" + #. translators: 1. Number of objects skipped 2. Indexable type -#: includes/classes/IndexHelper.php:417 +#: includes/classes/IndexHelper.php:422 msgid "Skipping %1$d %2$s…" msgstr "" #. translators: 1. Indexable type 2. Offset start, 3. Offset end, 4. Found items 5. Last object ID -#: includes/classes/IndexHelper.php:705 +#: includes/classes/IndexHelper.php:711 msgid "Processed %1$s %2$d - %3$d of %4$d. Last Object ID: %5$d" msgstr "" #. translators: 1: indexable (plural), 2: Blog ID, 3: number of failed objects -#: includes/classes/IndexHelper.php:768 +#: includes/classes/IndexHelper.php:774 msgid "Number of %1$s index errors on site %2$d: %3$d" msgstr "" #. translators: 1: indexable (plural), 2: number of failed objects -#: includes/classes/IndexHelper.php:776 +#: includes/classes/IndexHelper.php:782 msgid "Number of %1$s index errors: %2$d" msgstr "" #. translators: 1: indexable (plural), 2: Blog ID, 3: number of synced objects -#: includes/classes/IndexHelper.php:790 +#: includes/classes/IndexHelper.php:796 msgid "Number of %1$s indexed on site %2$d: %3$d" msgstr "" #. translators: 1: indexable (plural), 2: number of synced objects -#: includes/classes/IndexHelper.php:798 +#: includes/classes/IndexHelper.php:804 msgid "Number of %1$s indexed: %2$d" msgstr "" -#: includes/classes/IndexHelper.php:856 +#: includes/classes/IndexHelper.php:864 #: includes/classes/Screen/Sync.php:228 #: assets/js/sync/components/sync/progress.js:58 #: dist/js/sync-script.js:1 @@ -1492,21 +1534,26 @@ msgid "Sync complete" msgstr "" #. translators: 1: Indexable name -#: includes/classes/IndexHelper.php:897 +#: includes/classes/IndexHelper.php:905 msgid "Network alias created for %1$s" msgstr "" #. translators: 1: Indexable name -#: includes/classes/IndexHelper.php:905 +#: includes/classes/IndexHelper.php:913 msgid "Network alias creation failed for %1$s" msgstr "" -#: includes/classes/IndexHelper.php:1218 +#. translators: Index name +#: includes/classes/IndexHelper.php:1142 +msgid "Index %s deleted" +msgstr "" + +#: includes/classes/IndexHelper.php:1292 msgid "Mapping has failed, which will cause ElasticPress search results to be incorrect. Please click `Delete all Data and Start a Fresh Sync` to retry mapping." msgstr "" #. translators: Error message -#: includes/classes/IndexHelper.php:1222 +#: includes/classes/IndexHelper.php:1296 msgid "Index failed: %s" msgstr "" @@ -1516,7 +1563,7 @@ msgid "ElasticPress Setup ‹ %s — WordPress" msgstr "" #. translators: Status Report URL -#: includes/classes/QueryLogger.php:235 +#: includes/classes/QueryLogger.php:245 msgid "Some ElasticPress queries failed in the last 24 hours. Please visit the Status Report page for more details." msgstr "" @@ -1528,18 +1575,29 @@ msgstr "" msgid "ElasticPress.io - Autosuggest" msgstr "" -#: includes/classes/Screen/StatusReport.php:143 +#: includes/classes/Screen/StatusReport.php:139 msgid "This screen provides a list of information related to ElasticPress and synced content that can be helpful during troubleshooting. This list can also be copy/pasted and shared as needed." msgstr "" -#: includes/classes/Screen/StatusReport.php:146 +#: includes/classes/Screen/StatusReport.php:142 +msgid "Download report" +msgstr "" + +#: includes/classes/Screen/StatusReport.php:145 msgid "Copy status report to clipboard" msgstr "" -#: includes/classes/Screen/StatusReport.php:149 +#: includes/classes/Screen/StatusReport.php:148 msgid "Copied!" msgstr "" +#. translators: %d: Number of messages. +#: includes/classes/Screen/StatusReport.php:240 +msgid "%s message from ElasticPress.io" +msgid_plural "%s messages from ElasticPress.io" +msgstr[0] "" +msgstr[1] "" + #. translators: 1. Number of objects indexed, 2. Total number of objects, 3. Last object ID #: includes/classes/Screen/Sync.php:57 msgid "Processed %1$d/%2$d. Last Object ID: %3$d" @@ -1643,25 +1701,29 @@ msgstr "" msgid "Timeouts" msgstr "" -#: includes/classes/StatusReport/ElasticPressIo.php:59 -#: includes/classes/StatusReport/ElasticPressIo.php:64 +#: includes/classes/StatusReport/ElasticPressIo.php:60 +#: includes/classes/StatusReport/ElasticPressIo.php:65 msgid "Allowed Autosuggest Parameters" msgstr "" -#: includes/classes/StatusReport/ElasticPressIo.php:65 +#: includes/classes/StatusReport/ElasticPressIo.php:66 msgid "Allowed autosuggest parameters info not available." msgstr "" -#: includes/classes/StatusReport/ElasticPressIo.php:85 #: includes/classes/StatusReport/ElasticPressIo.php:86 #: includes/classes/StatusReport/ElasticPressIo.php:87 +#: includes/classes/StatusReport/ElasticPressIo.php:88 msgid "%l" msgstr "" -#: includes/classes/StatusReport/ElasticPressIo.php:118 +#: includes/classes/StatusReport/ElasticPressIo.php:119 msgid "Instant Results Template" msgstr "" +#: includes/classes/StatusReport/ElasticPressIo.php:164 +msgid "Orders Search Template" +msgstr "" + #: includes/classes/StatusReport/FailedQueries.php:45 msgid "Failed Queries" msgstr "" @@ -1675,68 +1737,72 @@ msgid "Elasticsearch Request" msgstr "" #: includes/classes/StatusReport/FailedQueries.php:61 -msgid "Time" +msgid "Request ID" msgstr "" #: includes/classes/StatusReport/FailedQueries.php:62 -msgid "Time Spent (ms)" +msgid "Time" msgstr "" #: includes/classes/StatusReport/FailedQueries.php:63 -msgid "WP Query Args" +msgid "Time Spent (ms)" msgstr "" #: includes/classes/StatusReport/FailedQueries.php:64 -msgid "HTTP Status Code" +msgid "WP Query Args" msgstr "" #: includes/classes/StatusReport/FailedQueries.php:65 -msgid "Query Body" +msgid "HTTP Status Code" msgstr "" #: includes/classes/StatusReport/FailedQueries.php:66 +msgid "Query Body" +msgstr "" + +#: includes/classes/StatusReport/FailedQueries.php:67 msgid "Query Result" msgstr "" -#: includes/classes/StatusReport/FailedQueries.php:75 +#: includes/classes/StatusReport/FailedQueries.php:76 msgid "Error" msgstr "" -#: includes/classes/StatusReport/FailedQueries.php:79 +#: includes/classes/StatusReport/FailedQueries.php:80 msgid "Recommended Solution" msgstr "" -#: includes/classes/StatusReport/FailedQueries.php:119 +#: includes/classes/StatusReport/FailedQueries.php:120 msgid "Clear query log" msgstr "" #. translators: 1. Index name; 2. Sync Page URL -#: includes/classes/StatusReport/FailedQueries.php:177 +#: includes/classes/StatusReport/FailedQueries.php:178 msgid "It seems the %1$s index is missing. Delete all data and sync to fix the issue." msgstr "" #. translators: 1. Index name; 2. Sync Page URL -#: includes/classes/StatusReport/FailedQueries.php:186 +#: includes/classes/StatusReport/FailedQueries.php:187 msgid "The field %1$s was not found. Make sure it is added to the list of indexed fields and run a new sync to fix the issue." msgstr "" #. translators: 1. Field name; 2. Sync Page URL -#: includes/classes/StatusReport/FailedQueries.php:193 +#: includes/classes/StatusReport/FailedQueries.php:194 msgid "It seems you saved a post without doing a full sync first because %1$s is missing the correct mapping type. Delete all data and sync to fix the issue." msgstr "" #. translators: Elasticsearch or ElasticPress.io; 2. Link to article; 3. Link to article -#: includes/classes/StatusReport/FailedQueries.php:210 +#: includes/classes/StatusReport/FailedQueries.php:211 msgid "Your website content has more public custom fields than %1$s is able to store. Check our articles about Elasticsearch field limitations and how to index just the custom fields you need and sync again." msgstr "" #. translators: ElasticPress.io My Account URL -#: includes/classes/StatusReport/FailedQueries.php:222 +#: includes/classes/StatusReport/FailedQueries.php:223 msgid "We did not recognize this error. Please open an ElasticPress.io support ticket so we can troubleshoot further." msgstr "" #. translators: New GitHub issue URL -#: includes/classes/StatusReport/FailedQueries.php:229 +#: includes/classes/StatusReport/FailedQueries.php:230 msgid "We did not recognize this error. Please consider opening a GitHub Issue so we can add it to our list of supported errors. " msgstr "" @@ -1782,48 +1848,60 @@ msgid "WP-CLI" msgstr "" #: includes/classes/StatusReport/LastSync.php:75 +msgid "Yes" +msgstr "" + +#: includes/classes/StatusReport/LastSync.php:75 +msgid "No" +msgstr "" + +#: includes/classes/StatusReport/LastSync.php:79 msgid "Total" msgstr "" -#: includes/classes/StatusReport/LastSync.php:76 +#: includes/classes/StatusReport/LastSync.php:80 msgid "Synced" msgstr "" -#: includes/classes/StatusReport/LastSync.php:77 +#: includes/classes/StatusReport/LastSync.php:81 msgid "Skipped" msgstr "" -#: includes/classes/StatusReport/LastSync.php:78 +#: includes/classes/StatusReport/LastSync.php:82 msgid "Failed" msgstr "" -#: includes/classes/StatusReport/LastSync.php:79 +#: includes/classes/StatusReport/LastSync.php:83 msgid "Errors" msgstr "" -#: includes/classes/StatusReport/LastSync.php:80 +#: includes/classes/StatusReport/LastSync.php:84 msgid "Method" msgstr "" -#: includes/classes/StatusReport/LastSync.php:81 +#: includes/classes/StatusReport/LastSync.php:85 +msgid "Full Sync" +msgstr "" + +#: includes/classes/StatusReport/LastSync.php:86 msgid "End Date Time" msgstr "" -#: includes/classes/StatusReport/LastSync.php:82 +#: includes/classes/StatusReport/LastSync.php:87 msgid "Start Date Time" msgstr "" -#: includes/classes/StatusReport/LastSync.php:83 +#: includes/classes/StatusReport/LastSync.php:88 msgid "Total Time" msgstr "" -#: includes/classes/StatusReport/LastSync.php:97 +#: includes/classes/StatusReport/LastSync.php:102 msgctxt "Sync info not available" msgid "N/A" msgstr "" #. translators: last sync title -#: includes/classes/StatusReport/LastSync.php:112 +#: includes/classes/StatusReport/LastSync.php:117 msgid "%s (In Progress)" msgstr "" @@ -1884,12 +1962,12 @@ msgid "Server Environment" msgstr "" #. translators: 1: tag (Zendesk article); 2. ; 3: tag (link to Features screen); 4. ; -#: includes/classes/Upgrades.php:226 +#: includes/classes/Upgrades.php:238 msgid "%1$sInstant Results%2$s is now available in ElasticPress, but requires a re-sync before activation. If you would like to use Instant Results, click %3$shere%4$s to activate the feature and start your sync." msgstr "" #. translators: 1: tag (Zendesk article about Instant Results); 2. ; 3: tag (Zendesk article about self hosted Elasticsearch setups); 4. ; -#: includes/classes/Upgrades.php:237 +#: includes/classes/Upgrades.php:249 msgid "%1$sInstant Results%2$s is now available in ElasticPress, but requires a re-sync before activation. If you would like to use Instant Results, since you are not using ElasticPress.io, you will also need to %3$sinstall and configure a PHP proxy%4$s." msgstr "" @@ -1897,46 +1975,46 @@ msgstr "" msgid "Feature registration API" msgstr "" -#: includes/dashboard.php:285 +#: includes/dashboard.php:289 msgid "Dashboard" msgstr "" -#: includes/dashboard.php:683 +#: includes/dashboard.php:672 msgid "ElasticPress Features" msgstr "" -#: includes/dashboard.php:684 +#: includes/dashboard.php:673 msgid "Features" msgstr "" -#: includes/dashboard.php:692 +#: includes/dashboard.php:681 msgid "ElasticPress Settings" msgstr "" -#: includes/dashboard.php:701 -#: includes/dashboard.php:702 +#: includes/dashboard.php:690 +#: includes/dashboard.php:691 msgid "Sync" msgstr "" -#: includes/dashboard.php:710 +#: includes/dashboard.php:699 msgid "ElasticPress Index Health" msgstr "" -#: includes/dashboard.php:711 +#: includes/dashboard.php:700 #: includes/partials/stats-page.php:35 msgid "Index Health" msgstr "" -#: includes/dashboard.php:719 +#: includes/dashboard.php:708 msgid "ElasticPress Status Report" msgstr "" -#: includes/dashboard.php:720 -#: includes/partials/status-report-page.php:19 +#: includes/dashboard.php:709 +#: includes/partials/status-report-page.php:17 msgid "Status Report" msgstr "" -#: includes/dashboard.php:854 +#: includes/dashboard.php:843 msgid "ElasticPress Indexing" msgstr "" @@ -1944,7 +2022,7 @@ msgstr "" msgid "List of features" msgstr "" -#: includes/partials/dashboard-page.php:68 +#: includes/partials/dashboard-page.php:73 msgid "settings" msgstr "" @@ -2152,71 +2230,122 @@ msgstr "" msgid "Search comments on %s" msgstr "" -#: assets/js/blocks/facets/meta/edit.js:58 -#: assets/js/blocks/facets/taxonomy/edit.js:48 -#: dist/js/facets-block-script.js:1 +#: assets/js/blocks/facets/meta-range/components/range-facet.js:50 +#: dist/js/facets-meta-range-block-script.js:1 +#: dist/js/facets-meta-range-block-view-script.js:1 +msgid "Clear" +msgstr "" + +#: assets/js/blocks/facets/meta-range/components/range-facet.js:51 +#: dist/js/facets-meta-range-block-script.js:1 +#: dist/js/facets-meta-range-block-view-script.js:1 +msgid "Filter" +msgstr "" + +#. translators: %s: Field name. +#: assets/js/blocks/facets/meta-range/edit.js:74 +#: dist/js/facets-meta-range-block-script.js:1 +msgid "Preview unavailable. The \"%s\" field does not appear to contain numeric values. Select a new meta field key or populate the field with numeric values to enable filtering by range." +msgstr "" + +#: assets/js/blocks/facets/meta-range/edit.js:98 +#: assets/js/blocks/facets/meta/edit.js:69 #: dist/js/facets-meta-block-script.js:1 -msgid "Facet Settings" +#: dist/js/facets-meta-range-block-script.js:1 +msgid "This is the list of meta fields indexed in Elasticsearch. If your desired field does not appear in this list please try to sync your content" +msgstr "" + +#: assets/js/blocks/facets/meta-range/edit.js:105 +#: assets/js/blocks/facets/meta/edit.js:67 +#: dist/js/facets-meta-block-script.js:1 +#: dist/js/facets-meta-range-block-script.js:1 +msgid "Meta Field Key" msgstr "" +#: assets/js/blocks/facets/meta-range/edit.js:121 +#: dist/js/facets-meta-range-block-script.js:1 +msgid "Facet by Meta Range" +msgstr "" + +#: assets/js/blocks/facets/meta-range/edit.js:151 +#: dist/js/facets-meta-range-block-script.js:1 +msgid "Select key" +msgstr "" + +#: assets/js/blocks/facets/meta-range/edit.js:232 #: assets/js/blocks/facets/meta/edit.js:60 +#: assets/js/blocks/facets/taxonomy/edit.js:50 +#: dist/js/facets-block-script.js:1 #: dist/js/facets-meta-block-script.js:1 -msgid "Search Placeholder" +#: dist/js/facets-meta-range-block-script.js:1 +msgid "Facet Settings" +msgstr "" + +#: assets/js/blocks/facets/meta-range/edit.js:235 +#: dist/js/facets-meta-range-block-script.js:1 +msgid "Value prefix" +msgstr "" + +#: assets/js/blocks/facets/meta-range/edit.js:240 +#: dist/js/facets-meta-range-block-script.js:1 +msgid "Value suffix" msgstr "" -#: assets/js/blocks/facets/meta/edit.js:65 +#: assets/js/blocks/facets/meta/edit.js:62 #: dist/js/facets-meta-block-script.js:1 -msgid "Meta Field Key" +msgid "Search Placeholder" msgstr "" -#: assets/js/blocks/facets/meta/edit.js:67 +#: assets/js/blocks/facets/meta/edit.js:88 +#: assets/js/blocks/facets/taxonomy/edit.js:65 +#: dist/js/facets-block-script.js:1 #: dist/js/facets-meta-block-script.js:1 -msgid "This is the list of meta fields indexed in Elasticsearch. If your desired field does not appear in this list please try to sync your content" +msgid "Display Term Count" msgstr "" -#: assets/js/blocks/facets/meta/edit.js:84 -#: assets/js/blocks/facets/taxonomy/edit.js:61 +#: assets/js/blocks/facets/meta/edit.js:91 +#: assets/js/blocks/facets/taxonomy/edit.js:68 #: dist/js/facets-block-script.js:1 #: dist/js/facets-meta-block-script.js:1 msgid "Order By" msgstr "" -#: assets/js/blocks/facets/meta/edit.js:85 -#: assets/js/blocks/facets/taxonomy/edit.js:62 +#: assets/js/blocks/facets/meta/edit.js:92 +#: assets/js/blocks/facets/taxonomy/edit.js:69 #: dist/js/facets-block-script.js:1 #: dist/js/facets-meta-block-script.js:1 msgid "The field used to order available options" msgstr "" -#: assets/js/blocks/facets/meta/edit.js:89 -#: assets/js/blocks/facets/taxonomy/edit.js:66 +#: assets/js/blocks/facets/meta/edit.js:96 +#: assets/js/blocks/facets/taxonomy/edit.js:73 #: dist/js/facets-block-script.js:1 #: dist/js/facets-meta-block-script.js:1 msgid "Name" msgstr "" -#: assets/js/blocks/facets/meta/edit.js:94 -#: assets/js/blocks/facets/taxonomy/edit.js:71 +#: assets/js/blocks/facets/meta/edit.js:101 +#: assets/js/blocks/facets/taxonomy/edit.js:78 #: dist/js/facets-block-script.js:1 #: dist/js/facets-meta-block-script.js:1 msgid "Order" msgstr "" -#: assets/js/blocks/facets/meta/edit.js:97 -#: assets/js/blocks/facets/taxonomy/edit.js:74 +#: assets/js/blocks/facets/meta/edit.js:104 +#: assets/js/blocks/facets/taxonomy/edit.js:81 #: dist/js/facets-block-script.js:1 #: dist/js/facets-meta-block-script.js:1 msgid "ASC" msgstr "" -#: assets/js/blocks/facets/meta/edit.js:98 -#: assets/js/blocks/facets/taxonomy/edit.js:75 +#: assets/js/blocks/facets/meta/edit.js:105 +#: assets/js/blocks/facets/taxonomy/edit.js:82 #: dist/js/facets-block-script.js:1 #: dist/js/facets-meta-block-script.js:1 msgid "DESC" msgstr "" -#: assets/js/blocks/facets/taxonomy/edit.js:50 +#: assets/js/blocks/facets/taxonomy/edit.js:52 #: dist/js/facets-block-script.js:1 msgid "Taxonomy" msgstr "" @@ -2236,12 +2365,12 @@ msgstr "" msgid "(Untitled)" msgstr "" -#: assets/js/dashboard.js:48 +#: assets/js/dashboard.js:60 #: dist/js/dashboard-script.js:1 -msgid "Enabling this feature will begin re-indexing your content. Do you wish to proceed?" +msgid "Enabling this feature will begin re-syncing your content. Do you wish to proceed?" msgstr "" -#: assets/js/dashboard.js:164 +#: assets/js/dashboard.js:180 #: dist/js/dashboard-script.js:1 msgid "It looks like you’re trying to use ElasticPress’s advanced features only. If you’d like to activate basic search, please select Cancel and activate the Post Search Feature. Otherwise, please click Ok to configure advanced features." msgstr "" @@ -2251,71 +2380,76 @@ msgstr "" msgid "Select facets" msgstr "" -#: assets/js/instant-results/components/common/checkbox-list.js:230 +#: assets/js/instant-results/apps/modal.js:89 +#: dist/js/instant-results-script.js:1 +msgid "Search results" +msgstr "" + +#: assets/js/instant-results/components/common/checkbox-list.js:231 #: dist/js/instant-results-script.js:1 msgid "Show fewer options" msgstr "" #. translators: %d: Number of additional options available. -#: assets/js/instant-results/components/common/checkbox-list.js:233 +#: assets/js/instant-results/components/common/checkbox-list.js:234 #: dist/js/instant-results-script.js:1 msgid "Show %d more option" msgid_plural "Show %d more options" msgstr[0] "" msgstr[1] "" -#: assets/js/instant-results/components/common/modal.js:96 +#: assets/js/instant-results/components/common/modal.js:90 #: dist/js/instant-results-script.js:1 msgid "Close" msgstr "" #. translators: %1$f Rating. %2$d Max rating. -#: assets/js/instant-results/components/common/star-rating.js:18 +#: assets/js/instant-results/components/common/star-rating.js:17 #: dist/js/instant-results-script.js:1 msgid "Rated %1$f out of %2$d" msgstr "" -#: assets/js/instant-results/components/facets/post-type-facet.js:98 +#: assets/js/instant-results/components/facets/post-type-facet.js:96 #: dist/js/instant-results-script.js:1 msgid "Select content type" msgstr "" #. translators: %1$s: Minimum price. %2$s: Maximum price. -#: assets/js/instant-results/components/facets/price-range-facet.js:137 +#: assets/js/instant-results/components/facets/price-range-facet.js:143 #: dist/js/instant-results-script.js:1 msgid "%1$s — %2$s" msgstr "" -#: assets/js/instant-results/components/facets/search-term-facet.js:71 +#: assets/js/instant-results/components/facets/search-term-facet.js:65 #: dist/js/instant-results-script.js:1 msgid "Search…" msgstr "" #. translators: %s: Search term. -#: assets/js/instant-results/components/facets/search-term-facet.js:80 +#: assets/js/instant-results/components/facets/search-term-facet.js:74 #: dist/js/instant-results-script.js:1 msgid "“%s”" msgstr "" -#: assets/js/instant-results/components/facets/taxonomy-terms-facet.js:44 +#: assets/js/instant-results/components/facets/taxonomy-terms-facet.js:42 #: dist/js/instant-results-script.js:1 msgid ", " msgstr "" #. translators: %1$s: Facet label. $2$s: Facet post types. -#: assets/js/instant-results/components/facets/taxonomy-terms-facet.js:49 +#: assets/js/instant-results/components/facets/taxonomy-terms-facet.js:47 #: dist/js/instant-results-script.js:1 msgid "%1$s (%2$s)" msgstr "" #. translators: %s: Taxonomy name. -#: assets/js/instant-results/components/facets/taxonomy-terms-facet.js:139 +#: assets/js/instant-results/components/facets/taxonomy-terms-facet.js:137 #: dist/js/instant-results-script.js:1 msgid "Select %s" msgstr "" #. translators: %1$d: results count. %2$s: Search term. -#: assets/js/instant-results/components/layout/results.js:61 +#: assets/js/instant-results/components/layout/results.js:60 #: dist/js/instant-results-script.js:1 msgid "%1$d result for “%2$s“" msgid_plural "%1$d results for “%2$s“" @@ -2323,7 +2457,7 @@ msgstr[0] "" msgstr[1] "" #. translators: %d: results count. -#: assets/js/instant-results/components/layout/results.js:72 +#: assets/js/instant-results/components/layout/results.js:71 #: dist/js/instant-results-script.js:1 msgid "%d result" msgid_plural "%d results" @@ -2346,51 +2480,46 @@ msgstr "" msgid "Next" msgstr "" -#: assets/js/instant-results/components/tools/clear-constraints.js:59 +#: assets/js/instant-results/components/tools/clear-constraints.js:56 #: dist/js/instant-results-script.js:1 msgid "Clear filters" msgstr "" -#: assets/js/instant-results/components/tools/sidebar-toggle.js:39 +#: assets/js/instant-results/components/tools/sidebar-toggle.js:24 #: dist/js/instant-results-script.js:1 msgid "Close filters" msgstr "" -#: assets/js/instant-results/components/tools/sort.js:48 +#: assets/js/instant-results/components/tools/sort.js:46 #: dist/js/instant-results-script.js:1 msgid "Sort by" msgstr "" -#: assets/js/instant-results/config.js:29 +#: assets/js/instant-results/config.js:30 #: dist/js/instant-results-script.js:1 msgid "Most relevant" msgstr "" -#: assets/js/instant-results/config.js:35 +#: assets/js/instant-results/config.js:36 #: dist/js/instant-results-script.js:1 msgid "Date, newest to oldest" msgstr "" -#: assets/js/instant-results/config.js:40 +#: assets/js/instant-results/config.js:41 #: dist/js/instant-results-script.js:1 msgid "Date, oldest to newest" msgstr "" -#: assets/js/instant-results/config.js:51 +#: assets/js/instant-results/config.js:52 #: dist/js/instant-results-script.js:1 msgid "Price, highest to lowest" msgstr "" -#: assets/js/instant-results/config.js:57 +#: assets/js/instant-results/config.js:58 #: dist/js/instant-results-script.js:1 msgid "Price, lowest to highest" msgstr "" -#: assets/js/instant-results/index.js:265 -#: dist/js/instant-results-script.js:1 -msgid "Search results" -msgstr "" - #: assets/js/ordering/pointers.js:184 #: dist/js/ordering-script.js:1 msgid "You have added the maximum number of custom results." @@ -2637,11 +2766,32 @@ msgstr "" msgid "Starting sync…" msgstr "" +#. translators: %d: Number of options in the list. +#: assets/js/woocommerce/admin/orders/app/components/combobox.js:42 +#: dist/js/woocommerce-order-search-script.js:1 +msgid "%d suggestion available, use the up and down keys to browse and the enter key to open" +msgid_plural "%d suggestions available, use the up and down keys to browse and the enter key to open" +msgstr[0] "" +msgstr[1] "" + +#. translators: %1$d: Order item count. %2$s: Order time. +#: assets/js/woocommerce/admin/orders/app/components/suggestion.js:59 +#: dist/js/woocommerce-order-search-script.js:1 +msgid "%1$d item @ %2$s" +msgid_plural "%1$d items @ %2$s" +msgstr[0] "" +msgstr[1] "" + #: assets/js/blocks/comments/block.json msgctxt "block title" msgid "Search Comments (ElasticPress)" msgstr "" +#: assets/js/blocks/facets/meta-range/block.json +msgctxt "block title" +msgid "Facet by Meta Range - Beta (ElasticPress)" +msgstr "" + #: assets/js/blocks/facets/meta/block.json msgctxt "block title" msgid "Facet by Meta (ElasticPress)" diff --git a/package-lock.json b/package-lock.json index 3c187198f2..74b5ff058a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "elasticpress", - "version": "4.4.1", + "version": "4.5.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "elasticpress", - "version": "4.4.1", + "version": "4.5.0", "license": "GPL-2.0-or-later", "dependencies": { "@10up/component-tooltip": "^2.0.0", diff --git a/package.json b/package.json index 5f6268f2aa..adf0991c26 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "elasticpress", - "version": "4.4.1", + "version": "4.5.0", "license": "GPL-2.0-or-later", "description": "A fast and flexible search and query engine for WordPress.", "devDependencies": { diff --git a/readme.txt b/readme.txt index 8259818736..2436479819 100644 --- a/readme.txt +++ b/readme.txt @@ -2,7 +2,7 @@ Contributors: 10up, tlovett1, vhauri, tott, oscarssanchez, cmmarslender Tags: performance, slow, search, elasticsearch, fuzzy, facet, aggregation, searching, autosuggest, suggest, elastic, advanced search, woocommerce, related posts, woocommerce Tested up to: 6.1 -Stable tag: 4.4.1 +Stable tag: 4.5.0 License: GPLv2 or later License URI: https://www.gnu.org/licenses/gpl-2.0.html @@ -77,6 +77,81 @@ For sure! Feel free to submit ideas or feedback in general to our [GitHub repo]( == Changelog == += 4.5.0 - 2023-03-09 = + +**Note that starting from the ElasticPress 5.0.0 release the `Users` feature will be moved to the [ElasticPress Labs](https://github.com/10up/ElasticPressLabs) plugin. The `Terms` and `Comments` features will remain in ElasticPress but will be available only if enabled via code. Check [our blog post](https://www.elasticpress.io/blog/2023/03/enabling-comments-and-terms-in-elasticpress-5-0) for more info.** + +ElasticPress 4.5.0 release highlights: + +* Autosuggest for WooCommerce Orders ([#3175](https://github.com/10up/ElasticPress/pull/3175), [#3308](https://github.com/10up/ElasticPress/pull/3308), [#3321](https://github.com/10up/ElasticPress/pull/3321), [#3324](https://github.com/10up/ElasticPress/pull/3324), [#3323](https://github.com/10up/ElasticPress/pull/3323), [#3310](https://github.com/10up/ElasticPress/pull/3310), [#3349](https://github.com/10up/ElasticPress/pull/3349), [#3339](https://github.com/10up/ElasticPress/pull/3339), and [#3363](https://github.com/10up/ElasticPress/pull/3363)) +* New Facet by Meta Range block ([#3289](https://github.com/10up/ElasticPress/pull/3289), [#3342](https://github.com/10up/ElasticPress/pull/3342), [#3337](https://github.com/10up/ElasticPress/pull/3337), [#3361](https://github.com/10up/ElasticPress/pull/3361), [#3364](https://github.com/10up/ElasticPress/pull/3364), [#3368](https://github.com/10up/ElasticPress/pull/3368), and [#3365](https://github.com/10up/ElasticPress/pull/3365)) +* ElasticPress.io messages system ([#3162](https://github.com/10up/ElasticPress/pull/3162) and [#3376](https://github.com/10up/ElasticPress/pull/3376)) +* Indices of disabled features will be deleted during a full sync ([#3261](https://github.com/10up/ElasticPress/pull/3261)) +* WooCommerce Queries ([#3259](https://github.com/10up/ElasticPress/pull/3259) and [#3362](https://github.com/10up/ElasticPress/pull/3362)) + +__Added:__ + +* Autosuggest for WooCommerce Orders. Props [@JakePT](https://github.com/JakePT) and [@felipeelia](https://github.com/felipeelia). +* New Facet by Meta Range block (currently in Beta.) Props [@felipeelia](https://github.com/felipeelia). +* Option to display term counts in Facets blocks. Props [@felipeelia](https://github.com/felipeelia). +* New capability for managing ElasticPress. Props [@tlovett1](https://github.com/tlovett1), [@tott](https://github.com/tott), and [@felipeelia](https://github.com/felipeelia). +* New "Download report" button in the Status Report page. Props [@felipeelia](https://github.com/felipeelia). +* ElasticPress.io messages system. Props [@felipeelia](https://github.com/felipeelia) and [@JakePT](https://github.com/JakePT). +* WP CLI commands `get-search-template`, `put-search-template`, and `delete-search-template`. Props [@oscarssanchez](https://github.com/oscarssanchez). +* New `--status` parameter to the `get-indices` WP-CLI command. Props [@felipeelia](https://github.com/felipeelia). +* New `ep_instant_results_per_page` filter for changing the number of results per page in Instant Results. Props [@JakePT](https://github.com/JakePT). +* Support for `post_parent__in` and `post_parent__not_in`. Props [@MARQAS](https://github.com/MARQAS). +* New `ep_sync_args` filter. Props [@felipeelia](https://github.com/felipeelia) and [@nickchomey](https://github.com/nickchomey). +* "Full Sync" (Yes/No) to the Last Sync section in Status Report. Props [@felipeelia](https://github.com/felipeelia). +* New `ep_user_register_feature` and `ep_feature_is_visible` filters. Props [@felipeelia](https://github.com/felipeelia). +* Requests now have a new header called `X-ElasticPress-Request-ID` to help with debugging. Props [@felipeelia](https://github.com/felipeelia). +* Compatibility with `'orderby' => 'none'` in WP_Query. Props [@felipeelia](https://github.com/felipeelia). +* Unit tests related to the `ep_weighting_configuration_for_search` filter. Props [@felipeelia](https://github.com/felipeelia). +* New Unit tests for the WooCoomerce feature. Props [@burhandodhy](https://github.com/burhandodhy) and [@felipeelia](https://github.com/felipeelia). +* Description for the `--network-wide` flag in WP-CLI commands. Props [@MARQAS](https://github.com/MARQAS). +* New `is_available()` helper method in the Feature class. Props [@burhandodhy](https://github.com/burhandodhy). + +__Changed:__ + +* Indices of disabled features will be deleted during a full sync. Mappings of needed but non-existent indices will be added even during a regular sync. Props [@felipeelia](https://github.com/felipeelia). +* Reduced number of WooCommerce product queries automatically integrated with ElasticPress. Props [@burhandodhy](https://github.com/burhandodhy) and [@felipeelia](https://github.com/felipeelia). +* The number of results per page in Instant Results now matches the site's posts per page setting. Props [@JakePT](https://github.com/JakePT). +* Under the hood improvements to the structure of Instant Results. Props [@JakePT](https://github.com/JakePT). +* Apply the "Exclude from Search" filter directly on ES Query. Props [@burhandodhy](https://github.com/burhandodhy). +* Avoid using Elasticsearch if query has an unsupported orderby clause. Props [@burhandodhy](https://github.com/burhandodhy). +* E2e tests split into 2 groups to be executed in parallel. Props [@iamchughmayank](https://github.com/iamchughmayank), [@burhandodhy](https://github.com/burhandodhy), and [@felipeelia](https://github.com/felipeelia). +* Filter command flags using `get_flag_value()`. Props [@oscarssanchez](https://github.com/oscarssanchez) and [@felipeelia](https://github.com/felipeelia). +* Code Standards are now applied to the test suite as well. Props [@felipeelia](https://github.com/felipeelia). +* Text displayed when a feature that requires a sync is about to be enabled. Props [@felipeelia](https://github.com/felipeelia) and [@brandwaffle](https://github.com/brandwaffle). + +__Removed:__ + +* Remove legacy filters `woocommerce_layered_nav_query_post_ids`, `woocommerce_unfiltered_product_ids`, and `ep_wp_query_search_cached_posts`. Props [@burhandodhy](https://github.com/burhandodhy). + +__Fixed:__ + +* API requests for Instant Results sent on page load before the modal has been opened. Props [@JakePT](https://github.com/JakePT). +* Prevent search queries for coupons from using Elasticsearch. Props [@burhandodhy](https://github.com/burhandodhy). +* Thumbnails are not removed from indexed WooCommerce Products when the attachments are deleted. Props [@burhandodhy](https://github.com/burhandodhy) and [@JakePT](https://github.com/JakePT). +* Auto sync posts associated with a child term when the term parent is changed. Props [@MARQAS](https://github.com/MARQAS) and [@felipeelia](https://github.com/felipeelia). +* Status Report page firing requests to ES twice. Props [@felipeelia](https://github.com/felipeelia). +* Sanitization of Meta Queries. Props [@MARQAS](https://github.com/MARQAS). +* Facets styles not enqueued more than once. Props [@felipeelia](https://github.com/felipeelia) and [@MediaMaquina](https://github.com/MediaMaquina). +* Duplicate terms listed in Instant Results facets. Props [@felipeelia](https://github.com/felipeelia). +* Not setting the post context when indexing a post. Props [@tomjn](https://github.com/tomjn). +* Some utilitary methods in the Command class treated as WP-CLI Commands. Props [@burhandodhy](https://github.com/burhandodhy) and [@felipeelia](https://github.com/felipeelia). +* Make the "Failed Queries" notice dismissible. Props [@oscarssanchez](https://github.com/oscarssanchez) and [@felipeelia](https://github.com/felipeelia). +* Undefined index `'elasticpress'` in the Status Report page. Props [@MARQAS](https://github.com/MARQAS). +* Undefined array key `'displayCount'` error for facet. Props [@burhandodhy](https://github.com/burhandodhy). +* Warnings on the feature setup page. Props [@burhandodhy](https://github.com/burhandodhy). + +__Security:__ + +* Bumped `http-cache-semantics` from 4.1.0 to 4.1.1. Props [@dependabot](https://github.com/dependabot). +* Bumped `got` from 9.6.0 to 11.8.5 and `simple-bin-help` from 1.7.7 to 1.8.0. Props [@dependabot](https://github.com/dependabot). +* Bumped `simple-git` from 3.15.1 to 3.16.0. Props [@dependabot](https://github.com/dependabot). +* Bumped `json5` from 1.0.1 to 1.0.2. Props [@dependabot](https://github.com/dependabot). + = 4.4.1 - 2023-01-10 = **Note that starting from the ElasticPress 5.0.0 release the `Users` feature will be moved to the [ElasticPress Labs](https://github.com/10up/ElasticPressLabs) plugin. The `Terms` and `Comments` features will remain in ElasticPress but will be available only if enabled via code.**